[03:17:52]OFD Sender: No OFD packet to send [03:17:57]OFD Sender: No OFD packet to send [03:18:02]OFD Sender: No OFD packet to send [03:18:07]OFD Sender: No OFD packet to send [03:18:12]OFD Sender: No OFD packet to send [03:18:17]OFD Sender: No OFD packet to send [03:18:22]OFD Sender: No OFD packet to send [03:18:27]OFD Sender: No OFD packet to send [03:18:32]OFD Sender: No OFD packet to send [03:18:37]OFD Sender: No OFD packet to send [03:18:42]OFD Sender: No OFD packet to send [03:18:47]OFD Sender: No OFD packet to send [03:18:52]OFD Sender: No OFD packet to send [03:18:57]OFD Sender: No OFD packet to send [03:19:02]OFD Sender: No OFD packet to send [03:19:07]OFD Sender: No OFD packet to send [03:19:12]OFD Sender: No OFD packet to send [03:19:17]OFD Sender: No OFD packet to send [03:19:22]OFD Sender: No OFD packet to send [03:19:27]OFD Sender: No OFD packet to send [03:19:32]OFD Sender: No OFD packet to send [03:19:37]OFD Sender: No OFD packet to send [03:19:42]OFD Sender: No OFD packet to send [03:19:47]OFD Sender: No OFD packet to send [03:19:52]OFD Sender: No OFD packet to send [03:19:57]OFD Sender: No OFD packet to send [03:20:02]OFD Sender: No OFD packet to send [03:20:07]OFD Sender: No OFD packet to send [03:20:12]OFD Sender: No OFD packet to send [03:20:17]OFD Sender: No OFD packet to send [03:20:22]OFD Sender: No OFD packet to send [03:20:27]OFD Sender: No OFD packet to send [03:20:32]OFD Sender: No OFD packet to send [03:20:37]OFD Sender: No OFD packet to send [03:20:42]OFD Sender: No OFD packet to send [03:20:47]OFD Sender: No OFD packet to send [03:20:52]OFD Sender: No OFD packet to send [03:20:57]OFD Sender: No OFD packet to send [03:21:02]OFD Sender: No OFD packet to send [03:21:07]OFD Sender: No OFD packet to send [03:21:12]OFD Sender: No OFD packet to send [03:21:17]OFD Sender: No OFD packet to send [03:21:22]OFD Sender: No OFD packet to send [03:21:27]OFD Sender: No OFD packet to send [03:21:32]OFD Sender: No OFD packet to send [03:21:37]OFD Sender: No OFD packet to send [03:21:42]OFD Sender: No OFD packet to send [03:21:47]OFD Sender: No OFD packet to send [03:21:52]OFD Sender: No OFD packet to send [03:21:57]OFD Sender: No OFD packet to send [03:22:02]OFD Sender: No OFD packet to send [03:22:07]OFD Sender: No OFD packet to send [03:22:12]OFD Sender: No OFD packet to send [03:22:17]OFD Sender: No OFD packet to send [03:22:22]OFD Sender: No OFD packet to send [03:22:27]OFD Sender: No OFD packet to send [03:22:32]OFD Sender: No OFD packet to send [03:22:37]OFD Sender: No OFD packet to send [03:22:42]OFD Sender: No OFD packet to send [03:22:47]OFD Sender: No OFD packet to send [03:22:52]OFD Sender: No OFD packet to send [03:22:57]OFD Sender: No OFD packet to send [03:23:02]OFD Sender: No OFD packet to send [03:23:07]OFD Sender: No OFD packet to send [03:23:12]OFD Sender: No OFD packet to send [03:23:17]OFD Sender: No OFD packet to send [03:23:22]OFD Sender: No OFD packet to send [03:23:27]OFD Sender: No OFD packet to send [03:23:32]OFD Sender: No OFD packet to send [03:23:37]OFD Sender: No OFD packet to send [03:23:42]OFD Sender: No OFD packet to send [03:23:47]OFD Sender: No OFD packet to send [03:23:52]OFD Sender: No OFD packet to send [03:23:57]OFD Sender: No OFD packet to send [03:24:02]OFD Sender: No OFD packet to send [03:24:07]OFD Sender: No OFD packet to send [03:24:12]OFD Sender: No OFD packet to send [03:24:17]OFD Sender: No OFD packet to send [03:24:22]OFD Sender: No OFD packet to send [03:24:27]OFD Sender: No OFD packet to send [03:24:32]OFD Sender: No OFD packet to send [03:24:38]OFD Sender: No OFD packet to send [03:24:43]OFD Sender: No OFD packet to send [03:24:48]OFD Sender: No OFD packet to send [03:24:53]OFD Sender: No OFD packet to send [03:24:58]OFD Sender: No OFD packet to send [03:25:03]OFD Sender: No OFD packet to send [03:25:08]OFD Sender: No OFD packet to send [03:25:13]OFD Sender: No OFD packet to send [03:25:18]OFD Sender: No OFD packet to send [03:25:23]OFD Sender: No OFD packet to send [03:25:28]OFD Sender: No OFD packet to send [03:25:33]OFD Sender: No OFD packet to send [03:25:38]OFD Sender: No OFD packet to send [03:25:43]OFD Sender: No OFD packet to send [03:25:48]OFD Sender: No OFD packet to send [03:25:53]OFD Sender: No OFD packet to send [03:25:58]OFD Sender: No OFD packet to send [03:26:03]OFD Sender: No OFD packet to send [03:26:08]OFD Sender: No OFD packet to send [03:26:13]OFD Sender: No OFD packet to send [03:26:18]OFD Sender: No OFD packet to send [03:26:23]OFD Sender: No OFD packet to send [03:26:28]OFD Sender: No OFD packet to send [03:26:33]OFD Sender: No OFD packet to send [03:26:38]OFD Sender: No OFD packet to send [03:26:43]OFD Sender: No OFD packet to send [03:26:48]OFD Sender: No OFD packet to send [03:26:53]OFD Sender: No OFD packet to send [03:26:58]OFD Sender: No OFD packet to send [03:27:03]OFD Sender: No OFD packet to send [03:27:08]OFD Sender: No OFD packet to send [03:27:13]OFD Sender: No OFD packet to send [03:27:18]OFD Sender: No OFD packet to send [03:27:23]OFD Sender: No OFD packet to send [03:27:28]OFD Sender: No OFD packet to send [03:27:33]OFD Sender: No OFD packet to send [03:27:38]OFD Sender: No OFD packet to send [03:27:43]OFD Sender: No OFD packet to send [03:27:48]OFD Sender: No OFD packet to send [03:27:53]OFD Sender: No OFD packet to send [03:27:58]OFD Sender: No OFD packet to send [03:28:03]OFD Sender: No OFD packet to send [03:28:08]OFD Sender: No OFD packet to send [03:28:13]OFD Sender: No OFD packet to send [03:28:18]OFD Sender: No OFD packet to send [03:28:23]OFD Sender: No OFD packet to send [03:28:28]OFD Sender: No OFD packet to send [03:28:33]OFD Sender: No OFD packet to send [03:28:38]OFD Sender: No OFD packet to send [03:28:43]OFD Sender: No OFD packet to send [03:28:48]OFD Sender: No OFD packet to send [03:28:53]OFD Sender: No OFD packet to send [03:28:58]OFD Sender: No OFD packet to send [03:29:03]OFD Sender: No OFD packet to send [03:29:08]OFD Sender: No OFD packet to send [03:29:13]OFD Sender: No OFD packet to send [03:29:18]OFD Sender: No OFD packet to send [03:29:23]OFD Sender: No OFD packet to send [03:29:28]OFD Sender: No OFD packet to send [03:29:33]OFD Sender: No OFD packet to send [03:29:38]OFD Sender: No OFD packet to send [03:29:43]OFD Sender: No OFD packet to send [03:29:48]OFD Sender: No OFD packet to send [03:29:53]OFD Sender: No OFD packet to send [03:29:58]OFD Sender: No OFD packet to send [03:30:03]OFD Sender: No OFD packet to send [03:30:08]OFD Sender: No OFD packet to send [03:30:13]OFD Sender: No OFD packet to send [03:30:18]OFD Sender: No OFD packet to send [03:30:23]OFD Sender: No OFD packet to send [03:30:28]OFD Sender: No OFD packet to send [03:30:33]OFD Sender: No OFD packet to send [03:30:38]OFD Sender: No OFD packet to send [03:30:43]OFD Sender: No OFD packet to send [03:30:48]OFD Sender: No OFD packet to send [03:30:53]OFD Sender: No OFD packet to send [03:30:58]OFD Sender: No OFD packet to send [03:31:03]OFD Sender: No OFD packet to send [03:31:08]OFD Sender: No OFD packet to send [03:31:13]OFD Sender: No OFD packet to send [03:31:18]OFD Sender: No OFD packet to send [03:31:23]OFD Sender: No OFD packet to send [03:31:28]OFD Sender: No OFD packet to send [03:31:33]OFD Sender: No OFD packet to send [03:31:38]OFD Sender: No OFD packet to send [03:31:43]OFD Sender: No OFD packet to send [03:31:48]OFD Sender: No OFD packet to send [03:31:53]OFD Sender: No OFD packet to send [03:31:58]OFD Sender: No OFD packet to send [03:32:03]OFD Sender: No OFD packet to send [03:32:08]OFD Sender: No OFD packet to send [03:32:13]OFD Sender: No OFD packet to send [03:32:18]OFD Sender: No OFD packet to send [03:32:23]OFD Sender: No OFD packet to send [03:32:28]OFD Sender: No OFD packet to send [03:32:33]OFD Sender: No OFD packet to send [03:32:38]OFD Sender: No OFD packet to send [03:32:43]OFD Sender: No OFD packet to send [03:32:48]OFD Sender: No OFD packet to send [03:32:53]OFD Sender: No OFD packet to send [03:32:58]OFD Sender: No OFD packet to send [03:33:03]OFD Sender: No OFD packet to send [03:33:08]OFD Sender: No OFD packet to send [03:33:13]OFD Sender: No OFD packet to send [03:33:18]OFD Sender: No OFD packet to send [03:33:23]OFD Sender: No OFD packet to send [03:33:28]OFD Sender: No OFD packet to send [03:33:33]OFD Sender: No OFD packet to send [03:33:38]OFD Sender: No OFD packet to send [03:33:43]OFD Sender: No OFD packet to send [03:33:48]OFD Sender: No OFD packet to send [03:33:53]OFD Sender: No OFD packet to send [03:33:58]OFD Sender: No OFD packet to send [03:34:03]OFD Sender: No OFD packet to send [03:34:08]OFD Sender: No OFD packet to send [03:34:13]OFD Sender: No OFD packet to send [03:34:18]OFD Sender: No OFD packet to send [03:34:23]OFD Sender: No OFD packet to send [03:34:28]OFD Sender: No OFD packet to send [03:34:33]OFD Sender: No OFD packet to send [03:34:38]OFD Sender: No OFD packet to send [03:34:43]OFD Sender: No OFD packet to send [03:34:48]OFD Sender: No OFD packet to send [03:34:53]OFD Sender: No OFD packet to send [03:34:58]OFD Sender: No OFD packet to send [03:35:03]OFD Sender: No OFD packet to send [03:35:08]OFD Sender: No OFD packet to send [03:35:13]OFD Sender: No OFD packet to send [03:35:18]OFD Sender: No OFD packet to send [03:35:23]OFD Sender: No OFD packet to send [03:35:28]OFD Sender: No OFD packet to send [03:35:33]OFD Sender: No OFD packet to send [03:35:38]OFD Sender: No OFD packet to send [03:35:43]OFD Sender: No OFD packet to send [03:35:48]OFD Sender: No OFD packet to send [03:35:53]OFD Sender: No OFD packet to send [03:35:58]OFD Sender: No OFD packet to send [03:36:03]OFD Sender: No OFD packet to send [03:36:08]OFD Sender: No OFD packet to send [03:36:13]OFD Sender: No OFD packet to send [03:36:18]OFD Sender: No OFD packet to send [03:36:23]OFD Sender: No OFD packet to send [03:36:28]OFD Sender: No OFD packet to send [03:36:33]OFD Sender: No OFD packet to send [03:36:38]OFD Sender: No OFD packet to send [03:36:43]OFD Sender: No OFD packet to send [03:36:48]OFD Sender: No OFD packet to send [03:36:53]OFD Sender: No OFD packet to send [03:36:58]OFD Sender: No OFD packet to send [03:37:03]OFD Sender: No OFD packet to send [03:37:08]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:19]OFD Sender: No OFD packet to send [03:43:24]OFD Sender: No OFD packet to send [03:43:29]OFD Sender: No OFD packet to send [03:43:34]OFD Sender: No OFD packet to send [03:43:39]OFD Sender: No OFD packet to send [03:43:44]OFD Sender: No OFD packet to send [03:43:49]OFD Sender: No OFD packet to send [03:43:54]OFD Sender: No OFD packet to send [03:43:59]OFD Sender: No OFD packet to send [03:44:04]OFD Sender: No OFD packet to send [03:44:09]OFD Sender: No OFD packet to send [03:44:14]OFD Sender: No OFD packet to send [03:44:19]OFD Sender: No OFD packet to send [03:44:24]OFD Sender: No OFD packet to send [03:44:29]OFD Sender: No OFD packet to send [03:44:34]OFD Sender: No OFD packet to send [03:44:39]OFD Sender: No OFD packet to send [03:44:44]OFD Sender: No OFD packet to send [03:44:49]OFD Sender: No OFD packet to send [03:44:54]OFD Sender: No OFD packet to send [03:44:59]OFD Sender: No OFD packet to send [03:45:04]OFD Sender: No OFD packet to send [03:45:09]OFD Sender: No OFD packet to send [03:45:14]OFD Sender: No OFD packet to send [03:45:19]OFD Sender: No OFD packet to send [03:45:24]OFD Sender: No OFD packet to send [03:45:29]OFD Sender: No OFD packet to send [03:45:34]OFD Sender: No OFD packet to send [03:45:39]OFD Sender: No OFD packet to send [03:45:44]OFD Sender: No OFD packet to send [03:45:49]OFD Sender: No OFD packet to send [03:45:54]OFD Sender: No OFD packet to send [03:45:59]OFD Sender: No OFD packet to send [03:46:04]OFD Sender: No OFD packet to send [03:46:09]OFD Sender: No OFD packet to send [03:46:14]OFD Sender: No OFD packet to send [03:46:19]OFD Sender: No OFD packet to send [03:46:24]OFD Sender: No OFD packet to send [03:46:29]OFD Sender: No OFD packet to send [03:46:34]OFD Sender: No OFD packet to send [03:46:39]OFD Sender: No OFD packet to send [03:46:44]OFD Sender: No OFD packet to send [03:46:49]OFD Sender: No OFD packet to send [03:46:54]OFD Sender: No OFD packet to send [03:46:59]OFD Sender: No OFD packet to send [03:47:04]OFD Sender: No OFD packet to send [03:47:09]OFD Sender: No OFD packet to send [03:47:14]OFD Sender: No OFD packet to send [03:47:19]OFD Sender: No OFD packet to send [03:47:24]OFD Sender: No OFD packet to send [03:47:29]OFD Sender: No OFD packet to send [03:47:34]OFD Sender: No OFD packet to send [03:47:39]OFD Sender: No OFD packet to send [03:47:44]OFD Sender: No OFD packet to send [03:47:49]OFD Sender: No OFD packet to send [03:47:54]OFD Sender: No OFD packet to send [03:47:59]OFD Sender: No OFD packet to send [03:48:04]OFD Sender: No OFD packet to send [03:48:09]OFD Sender: No OFD packet to send [03:48:14]OFD Sender: No OFD packet to send [03:48:19]OFD Sender: No OFD packet to send [03:48:24]OFD Sender: No OFD packet to send [03:48:29]OFD Sender: No OFD packet to send [03:48:34]OFD Sender: No OFD packet to send [03:48:39]OFD Sender: No OFD packet to send [03:48:44]OFD Sender: No OFD packet to send [03:48:49]OFD Sender: No OFD packet to send [03:48:54]OFD Sender: No OFD packet to send [03:48:59]OFD Sender: No OFD packet to send [03:49:04]OFD Sender: No OFD packet to send [03:49:09]OFD Sender: No OFD packet to send [03:49:14]OFD Sender: No OFD packet to send [03:49:19]OFD Sender: No OFD packet to send [03:49:24]OFD Sender: No OFD packet to send [03:49:29]OFD Sender: No OFD packet to send [03:49:34]OFD Sender: No OFD packet to send [03:49:39]OFD Sender: No OFD packet to send [03:49:44]OFD Sender: No OFD packet to send [03:49:49]OFD Sender: No OFD packet to send [03:49:54]OFD Sender: No OFD packet to send [03:49:59]OFD Sender: No OFD packet to send [03:50:04]OFD Sender: No OFD packet to send [03:50:09]OFD Sender: No OFD packet to send [03:50:14]OFD Sender: No OFD packet to send [03:50:19]OFD Sender: No OFD packet to send [03:50:24]OFD Sender: No OFD packet to send [03:50:29]OFD Sender: No OFD packet to send [03:50:34]OFD Sender: No OFD packet to send [03:50:39]OFD Sender: No OFD packet to send [03:50:44]OFD Sender: No OFD packet to send [03:50:49]OFD Sender: No OFD packet to send [03:50:54]OFD Sender: No OFD packet to send [03:50:59]OFD Sender: No OFD packet to send [03:51:04]OFD Sender: No OFD packet to send [03:51:09]OFD Sender: No OFD packet to send [03:51:14]OFD Sender: No OFD packet to send [03:51:19]OFD Sender: No OFD packet to send [03:51:24]OFD Sender: No OFD packet to send [03:51:29]OFD Sender: No OFD packet to send [03:51:34]OFD Sender: No OFD packet to send [03:51:39]OFD Sender: No OFD packet to send [03:51:44]OFD Sender: No OFD packet to send [03:51:49]OFD Sender: No OFD packet to send [03:51:54]OFD Sender: No OFD packet to send [03:51:59]OFD Sender: No OFD packet to send [03:52:04]OFD Sender: No OFD packet to send [03:52:09]OFD Sender: No OFD packet to send [03:52:14]OFD Sender: No OFD packet to send [03:52:19]OFD Sender: No OFD packet to send [03:52:24]OFD Sender: No OFD packet to send [03:52:29]OFD Sender: No OFD packet to send [03:52:34]OFD Sender: No OFD packet to send [03:52:39]OFD Sender: No OFD packet to send [03:52:44]OFD Sender: No OFD packet to send [03:52:49]OFD Sender: No OFD packet to send [03:52:54]OFD Sender: No OFD packet to send [03:52:59]OFD Sender: No OFD packet to send [03:53:04]OFD Sender: No OFD packet to send [03:53:09]OFD Sender: No OFD packet to send [03:53:14]OFD Sender: No OFD packet to send [03:53:19]OFD Sender: No OFD packet to send [03:53:24]OFD Sender: No OFD packet to send [03:53:29]OFD Sender: No OFD packet to send [03:53:34]OFD Sender: No OFD packet to send [03:53:39]OFD Sender: No OFD packet to send [03:53:44]OFD Sender: No OFD packet to send [03:53:49]OFD Sender: No OFD packet to send [03:53:54]OFD Sender: No OFD packet to send [03:53:59]OFD Sender: No OFD packet to send [03:54:04]OFD Sender: No OFD packet to send [03:54:09]OFD Sender: No OFD packet to send [03:54:14]OFD Sender: No OFD packet to send [03:54:19]OFD Sender: No OFD packet to send [03:54:24]OFD Sender: No OFD packet to send [03:54:29]OFD Sender: No OFD packet to send [03:54:34]OFD Sender: No OFD packet to send [03:54:39]OFD Sender: No OFD packet to send [03:54:44]OFD Sender: No OFD packet to send [03:54:49]OFD Sender: No OFD packet to send [03:54:54]OFD Sender: No OFD packet to send [03:54:59]OFD Sender: No OFD packet to send [03:55:04]OFD Sender: No OFD packet to send [03:55:09]OFD Sender: No OFD packet to send [03:55:14]OFD Sender: No OFD packet to send [03:55:19]OFD Sender: No OFD packet to send [03:55:24]OFD Sender: No OFD packet to send [03:55:29]OFD Sender: No OFD packet to send [03:55:34]OFD Sender: No OFD packet to send [03:55:39]OFD Sender: No OFD packet to send [03:55:44]OFD Sender: No OFD packet to send [03:55:49]OFD Sender: No OFD packet to send [03:55:54]OFD Sender: No OFD packet to send [03:55:59]OFD Sender: No OFD packet to send [03:56:04]OFD Sender: No OFD packet to send [03:56:09]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:29]OFD Sender: No OFD packet to send [04:00:34]OFD Sender: No OFD packet to send [04:00:39]OFD Sender: No OFD packet to send [04:00:44]OFD Sender: No OFD packet to send [04:00:49]OFD Sender: No OFD packet to send [04:00:54]OFD Sender: No OFD packet to send [04:00:59]OFD Sender: No OFD packet to send [04:01:04]OFD Sender: No OFD packet to send [04:01:09]OFD Sender: No OFD packet to send [04:01:14]OFD Sender: No OFD packet to send [04:01:19]OFD Sender: No OFD packet to send [04:01:24]OFD Sender: No OFD packet to send [04:01:29]OFD Sender: No OFD packet to send [04:01:34]OFD Sender: No OFD packet to send [04:01:39]OFD Sender: No OFD packet to send [04:01:44]OFD Sender: No OFD packet to send [04:01:49]OFD Sender: No OFD packet to send [04:01:54]OFD Sender: No OFD packet to send [04:02:00]OFD Sender: No OFD packet to send [04:02:05]OFD Sender: No OFD packet to send [04:02:10]OFD Sender: No OFD packet to send [04:02:15]OFD Sender: No OFD packet to send [04:02:20]OFD Sender: No OFD packet to send [04:02:25]OFD Sender: No OFD packet to send [04:02:30]OFD Sender: No OFD packet to send [04:02:35]OFD Sender: No OFD packet to send [04:02:40]OFD Sender: No OFD packet to send [04:02:45]OFD Sender: No OFD packet to send [04:02:50]OFD Sender: No OFD packet to send [04:02:55]OFD Sender: No OFD packet to send [04:03:00]OFD Sender: No OFD packet to send [04:03:05]OFD Sender: No OFD packet to send [04:03:10]OFD Sender: No OFD packet to send [04:03:15]OFD Sender: No OFD packet to send [04:03:20]OFD Sender: No OFD packet to send [04:03:25]OFD Sender: No OFD packet to send [04:03:30]OFD Sender: No OFD packet to send [04:03:35]OFD Sender: No OFD packet to send [04:03:40]OFD Sender: No OFD packet to send [04:03:45]OFD Sender: No OFD packet to send [04:03:50]OFD Sender: No OFD packet to send [04:03:55]OFD Sender: No OFD packet to send [04:04:00]OFD Sender: No OFD packet to send [04:04:05]OFD Sender: No OFD packet to send [04:04:10]OFD Sender: No OFD packet to send [04:04:15]OFD Sender: No OFD packet to send [04:04:20]OFD Sender: No OFD packet to send [04:04:25]OFD Sender: No OFD packet to send [04:04:30]OFD Sender: No OFD packet to send [04:04:35]OFD Sender: No OFD packet to send [04:04:40]OFD Sender: No OFD packet to send [04:04:45]OFD Sender: No OFD packet to send [04:04:50]OFD Sender: No OFD packet to send [04:04:55]OFD Sender: No OFD packet to send [04:05:00]OFD Sender: No OFD packet to send [04:05:05]OFD Sender: No OFD packet to send [04:05:10]OFD Sender: No OFD packet to send [04:05:15]OFD Sender: No OFD packet to send [04:05:20]OFD Sender: No OFD packet to send [04:05:25]OFD Sender: No OFD packet to send [04:05:30]OFD Sender: No OFD packet to send [04:05:35]OFD Sender: No OFD packet to send [04:05:40]OFD Sender: No OFD packet to send [04:05:45]OFD Sender: No OFD packet to send [04:05:50]OFD Sender: No OFD packet to send [04:05:55]OFD Sender: No OFD packet to send [04:06:00]OFD Sender: No OFD packet to send [04:06:05]OFD Sender: No OFD packet to send [04:06:10]OFD Sender: No OFD packet to send [04:06:15]OFD Sender: No OFD packet to send [04:06:20]OFD Sender: No OFD packet to send [04:06:25]OFD Sender: No OFD packet to send [04:06:30]OFD Sender: No OFD packet to send [04:06:35]OFD Sender: No OFD packet to send [04:06:40]OFD Sender: No OFD packet to send [04:06:45]OFD Sender: No OFD packet to send [04:06:50]OFD Sender: No OFD packet to send [04:06:55]OFD Sender: No OFD packet to send [04:07:00]OFD Sender: No OFD packet to send [04:07:05]OFD Sender: No OFD packet to send [04:07:10]OFD Sender: No OFD packet to send [04:07:15]OFD Sender: No OFD packet to send [04:07:20]OFD Sender: No OFD packet to send [04:07:25]OFD Sender: No OFD packet to send [04:07:30]OFD Sender: No OFD packet to send [04:07:35]OFD Sender: No OFD packet to send [04:07:40]OFD Sender: No OFD packet to send [04:07:45]OFD Sender: No OFD packet to send [04:07:50]OFD Sender: No OFD packet to send [04:07:55]OFD Sender: No OFD packet to send [04:08:00]OFD Sender: No OFD packet to send [04:08:05]OFD Sender: No OFD packet to send [04:08:10]OFD Sender: No OFD packet to send [04:08:15]OFD Sender: No OFD packet to send [04:08:20]OFD Sender: No OFD packet to send [04:08:25]OFD Sender: No OFD packet to send [04:08:30]OFD Sender: No OFD packet to send [04:08:35]OFD Sender: No OFD packet to send [04:08:40]OFD Sender: No OFD packet to send [04:08:45]OFD Sender: No OFD packet to send [04:08:50]OFD Sender: No OFD packet to send [04:08:55]OFD Sender: No OFD packet to send [04:09:00]OFD Sender: No OFD packet to send [04:09:05]OFD Sender: No OFD packet to send [04:09:10]OFD Sender: No OFD packet to send [04:09:15]OFD Sender: No OFD packet to send [04:09:20]OFD Sender: No OFD packet to send [04:09:25]OFD Sender: No OFD packet to send [04:09:30]OFD Sender: No OFD packet to send [04:09:35]OFD Sender: No OFD packet to send [04:09:40]OFD Sender: No OFD packet to send [04:09:45]OFD Sender: No OFD packet to send [04:09:50]OFD Sender: No OFD packet to send [04:09:55]OFD Sender: No OFD packet to send [04:10:00]OFD Sender: No OFD packet to send [04:10:05]OFD Sender: No OFD packet to send [04:10:10]OFD Sender: No OFD packet to send [04:10:15]OFD Sender: No OFD packet to send [04:10:20]OFD Sender: No OFD packet to send [04:10:25]OFD Sender: No OFD packet to send [04:10:30]OFD Sender: No OFD packet to send [04:10:35]OFD Sender: No OFD packet to send [04:10:40]OFD Sender: No OFD packet to send [04:10:45]OFD Sender: No OFD packet to send [04:10:50]OFD Sender: No OFD packet to send [04:10:55]OFD Sender: No OFD packet to send [04:11:00]OFD Sender: No OFD packet to send [04:11:05]OFD Sender: No OFD packet to send [04:11:10]OFD Sender: No OFD packet to send [04:11:15]OFD Sender: No OFD packet to send [04:11:20]OFD Sender: No OFD packet to send [04:11:25]OFD Sender: No OFD packet to send [04:11:30]OFD Sender: No OFD packet to send [04:11:35]OFD Sender: No OFD packet to send [04:11:40]OFD Sender: No OFD packet to send [04:11:45]OFD Sender: No OFD packet to send [04:11:50]OFD Sender: No OFD packet to send [04:11:55]OFD Sender: No OFD packet to send [04:12:00]OFD Sender: No OFD packet to send [04:12:05]OFD Sender: No OFD packet to send [04:12:10]OFD Sender: No OFD packet to send [04:12:15]OFD Sender: No OFD packet to send [04:12:20]OFD Sender: No OFD packet to send [04:12:25]OFD Sender: No OFD packet to send [04:12:30]OFD Sender: No OFD packet to send [04:12:35]OFD Sender: No OFD packet to send [04:12:40]OFD Sender: No OFD packet to send [04:12:45]OFD Sender: No OFD packet to send [04:12:50]OFD Sender: No OFD packet to send [04:12:55]OFD Sender: No OFD packet to send [04:13:00]OFD Sender: No OFD packet to send [04:13:05]OFD Sender: No OFD packet to send [04:13:10]OFD Sender: No OFD packet to send [04:13:15]OFD Sender: No OFD packet to send [04:13:20]OFD Sender: No OFD packet to send [04:13:25]OFD Sender: No OFD packet to send [04:13:30]OFD Sender: No OFD packet to send [04:13:35]OFD Sender: No OFD packet to send [04:13:40]OFD Sender: No OFD packet to send [04:13:45]OFD Sender: No OFD packet to send [04:13:50]OFD Sender: No OFD packet to send [04:13:55]OFD Sender: No OFD packet to send [04:14:00]OFD Sender: No OFD packet to send [04:14:05]OFD Sender: No OFD packet to send [04:14:10]OFD Sender: No OFD packet to send [04:14:15]OFD Sender: No OFD packet to send [04:14:20]OFD Sender: No OFD packet to send [04:14:25]OFD Sender: No OFD packet to send [04:14:30]OFD Sender: No OFD packet to send [04:14:35]OFD Sender: No OFD packet to send [04:14:40]OFD Sender: No OFD packet to send [04:14:45]OFD Sender: No OFD packet to send [04:14:50]OFD Sender: No OFD packet to send [04:14:55]OFD Sender: No OFD packet to send [04:15:00]OFD Sender: No OFD packet to send [04:15:05]OFD Sender: No OFD packet to send [04:15:10]OFD Sender: No OFD packet to send [04:15:15]OFD Sender: No OFD packet to send [04:15:20]OFD Sender: No OFD packet to send [04:15:25]OFD Sender: No OFD packet to send [04:15:30]OFD Sender: No OFD packet to send [04:15:35]OFD Sender: No OFD packet to send [04:15:40]OFD Sender: No OFD packet to send [04:15:45]OFD Sender: No OFD packet to send [04:15:50]OFD Sender: No OFD packet to send [04:15:55]OFD Sender: No OFD packet to send [04:16:00]OFD Sender: No OFD packet to send [04:16:05]OFD Sender: No OFD packet to send [04:16:10]OFD Sender: No OFD packet to send [04:16:15]OFD Sender: No OFD packet to send [04:16:20]OFD Sender: No OFD packet to send [04:16:25]OFD Sender: No OFD packet to send [04:16:30]OFD Sender: No OFD packet to send [04:16:35]OFD Sender: No OFD packet to send [04:16:40]OFD Sender: No OFD packet to send [04:16:45]OFD Sender: No OFD packet to send [04:16:50]OFD Sender: No OFD packet to send [04:16:55]OFD Sender: No OFD packet to send [04:17:00]OFD Sender: No OFD packet to send [04:17:05]OFD Sender: No OFD packet to send [04:17:10]OFD Sender: No OFD packet to send [04:17:15]OFD Sender: No OFD packet to send [04:17:20]OFD Sender: No OFD packet to send [04:17:25]OFD Sender: No OFD packet to send [04:17:30]OFD Sender: No OFD packet to send [04:17:35]OFD Sender: No OFD packet to send [04:17:40]OFD Sender: No OFD packet to send [04:17:45]OFD Sender: No OFD packet to send [04:17:50]OFD Sender: No OFD packet to send [04:17:55]OFD Sender: No OFD packet to send [04:18:00]OFD Sender: No OFD packet to send [04:18:05]OFD Sender: No OFD packet to send [04:18:10]OFD Sender: No OFD packet to send [04:18:15]OFD Sender: No OFD packet to send [04:18:20]OFD Sender: No OFD packet to send [04:18:25]OFD Sender: No OFD packet to send [04:18:30]OFD Sender: No OFD packet to send [04:18:35]OFD Sender: No OFD packet to send [04:18:40]OFD Sender: No OFD packet to send [04:18:45]OFD Sender: No OFD packet to send [04:18:50]OFD Sender: No OFD packet to send [04:18:55]OFD Sender: No OFD packet to send [04:19:00]OFD Sender: No OFD packet to send [04:19:05]OFD Sender: No OFD packet to send [04:19:10]OFD Sender: No OFD packet to send [04:19:15]OFD Sender: No OFD packet to send [04:19:20]OFD Sender: No OFD packet to send [04:19:25]OFD Sender: No OFD packet to send [04:19:30]OFD Sender: No OFD packet to send [04:19:35]OFD Sender: No OFD packet to send [04:19:40]OFD Sender: No OFD packet to send [04:19:45]OFD Sender: No OFD packet to send [04:19:50]OFD Sender: No OFD packet to send [04:19:55]OFD Sender: No OFD packet to send [04:20:00]OFD Sender: No OFD packet to send [04:20:05]OFD Sender: No OFD packet to send [04:20:10]OFD Sender: No OFD packet to send [04:20:15]OFD Sender: No OFD packet to send [04:20:20]OFD Sender: No OFD packet to send [04:20:25]OFD Sender: No OFD packet to send [04:20:30]OFD Sender: No OFD packet to send [04:20:35]OFD Sender: No OFD packet to send [04:20:41]OFD Sender: No OFD packet to send [04:20:46]OFD Sender: No OFD packet to send [04:20:51]OFD Sender: No OFD packet to send [04:20:56]OFD Sender: No OFD packet to send [04:21:01]OFD Sender: No OFD packet to send [04:21:06]OFD Sender: No OFD packet to send [04:21:11]OFD Sender: No OFD packet to send [04:21:16]OFD Sender: No OFD packet to send [04:21:21]OFD Sender: No OFD packet to send [04:21:26]OFD Sender: No OFD packet to send [04:21:31]OFD Sender: No OFD packet to send [04:21:36]OFD Sender: No OFD packet to send [04:21:41]OFD Sender: No OFD packet to send [04:21:46]OFD Sender: No OFD packet to send [04:21:51]OFD Sender: No OFD packet to send [04:21:56]OFD Sender: No OFD packet to send [04:22:01]OFD Sender: No OFD packet to send [04:22:06]OFD Sender: No OFD packet to send [04:22:11]OFD Sender: No OFD packet to send [04:22:16]OFD Sender: No OFD packet to send [04:22:21]OFD Sender: No OFD packet to send [04:22:26]OFD Sender: No OFD packet to send [04:22:31]OFD Sender: No OFD packet to send [04:22:36]OFD Sender: No OFD packet to send [04:22:41]OFD Sender: No OFD packet to send [04:22:46]OFD Sender: No OFD packet to send [04:22:51]OFD Sender: No OFD packet to send [04:22:56]OFD Sender: No OFD packet to send [04:23:01]OFD Sender: No OFD packet to send [04:23:06]OFD Sender: No OFD packet to send [04:23:11]OFD Sender: No OFD packet to send [04:23:16]OFD Sender: No OFD packet to send [04:23:21]OFD Sender: No OFD packet to send [04:23:26]OFD Sender: No OFD packet to send [04:23:31]OFD Sender: No OFD packet to send [04:23:36]OFD Sender: No OFD packet to send [04:23:41]OFD Sender: No OFD packet to send [04:23:46]OFD Sender: No OFD packet to send [04:23:51]OFD Sender: No OFD packet to send [04:23:56]OFD Sender: No OFD packet to send [04:24:01]OFD Sender: No OFD packet to send [04:24:06]OFD Sender: No OFD packet to send [04:24:11]OFD Sender: No OFD packet to send [04:24:16]OFD Sender: No OFD packet to send [04:24:21]OFD Sender: No OFD packet to send [04:24:26]OFD Sender: No OFD packet to send [04:24:31]OFD Sender: No OFD packet to send [04:24:36]OFD Sender: No OFD packet to send [04:24:41]OFD Sender: No OFD packet to send [04:24:46]OFD Sender: No OFD packet to send [04:24:51]OFD Sender: No OFD packet to send [04:24:56]OFD Sender: No OFD packet to send [04:25:01]OFD Sender: No OFD packet to send [04:25:06]OFD Sender: No OFD packet to send [04:25:11]OFD Sender: No OFD packet to send [04:25:16]OFD Sender: No OFD packet to send [04:25:21]OFD Sender: No OFD packet to send [04:25:26]OFD Sender: No OFD packet to send [04:25:31]OFD Sender: No OFD packet to send [04:25:36]OFD Sender: No OFD packet to send [04:25:41]OFD Sender: No OFD packet to send [04:25:46]OFD Sender: No OFD packet to send [04:25:51]OFD Sender: No OFD packet to send [04:25:56]OFD Sender: No OFD packet to send [04:26:01]OFD Sender: No OFD packet to send [04:26:06]OFD Sender: No OFD packet to send [04:26:11]OFD Sender: No OFD packet to send [04:26:16]OFD Sender: No OFD packet to send [04:26:21]OFD Sender: No OFD packet to send [04:26:26]OFD Sender: No OFD packet to send [04:26:31]OFD Sender: No OFD packet to send [04:26:36]OFD Sender: No OFD packet to send [04:26:41]OFD Sender: No OFD packet to send [04:26:46]OFD Sender: No OFD packet to send [04:26:51]OFD Sender: No OFD packet to send [04:26:56]OFD Sender: No OFD packet to send [04:27:01]OFD Sender: No OFD packet to send [04:27:06]OFD Sender: No OFD packet to send [04:27:11]OFD Sender: No OFD packet to send [04:27:16]OFD Sender: No OFD packet to send [04:27:21]OFD Sender: No OFD packet to send [04:27:26]OFD Sender: No OFD packet to send [04:27:31]OFD Sender: No OFD packet to send [04:27:36]OFD Sender: No OFD packet to send [04:27:41]OFD Sender: No OFD packet to send [04:27:46]OFD Sender: No OFD packet to send [04:27:51]OFD Sender: No OFD packet to send [04:27:56]OFD Sender: No OFD packet to send [04:28:01]OFD Sender: No OFD packet to send [04:28:06]OFD Sender: No OFD packet to send [04:28:11]OFD Sender: No OFD packet to send [04:28:16]OFD Sender: No OFD packet to send [04:28:21]OFD Sender: No OFD packet to send [04:28:26]OFD Sender: No OFD packet to send [04:28:31]OFD Sender: No OFD packet to send [04:28:36]OFD Sender: No OFD packet to send [04:28:41]OFD Sender: No OFD packet to send [04:28:46]OFD Sender: No OFD packet to send [04:28:51]OFD Sender: No OFD packet to send [04:28:56]OFD Sender: No OFD packet to send [04:29:01]OFD Sender: No OFD packet to send [04:29:06]OFD Sender: No OFD packet to send [04:29:11]OFD Sender: No OFD packet to send [04:29:16]OFD Sender: No OFD packet to send [04:29:21]OFD Sender: No OFD packet to send [04:29:26]OFD Sender: No OFD packet to send [04:29:31]OFD Sender: No OFD packet to send [04:29:36]OFD Sender: No OFD packet to send [04:29:41]OFD Sender: No OFD packet to send [04:29:46]OFD Sender: No OFD packet to send [04:29:51]OFD Sender: No OFD packet to send [04:29:56]OFD Sender: No OFD packet to send [04:30:01]OFD Sender: No OFD packet to send [04:30:06]OFD Sender: No OFD packet to send [04:30:11]OFD Sender: No OFD packet to send [04:30:16]OFD Sender: No OFD packet to send [04:30:21]OFD Sender: No OFD packet to send [04:30:26]OFD Sender: No OFD packet to send [04:30:31]OFD Sender: No OFD packet to send [04:30:36]OFD Sender: No OFD packet to send [04:30:41]OFD Sender: No OFD packet to send [04:30:46]OFD Sender: No OFD packet to send [04:30:51]OFD Sender: No OFD packet to send [04:30:56]OFD Sender: No OFD packet to send [04:31:01]OFD Sender: No OFD packet to send [04:31:06]OFD Sender: No OFD packet to send [04:31:11]OFD Sender: No OFD packet to send [04:31:16]OFD Sender: No OFD packet to send [04:31:21]OFD Sender: No OFD packet to send [04:31:26]OFD Sender: No OFD packet to send [04:31:31]OFD Sender: No OFD packet to send [04:31:36]OFD Sender: No OFD packet to send [04:31:41]OFD Sender: No OFD packet to send [04:31:46]OFD Sender: No OFD packet to send [04:31:51]OFD Sender: No OFD packet to send [04:31:56]OFD Sender: No OFD packet to send [04:32:01]OFD Sender: No OFD packet to send [04:32:06]OFD Sender: No OFD packet to send [04:32:11]OFD Sender: No OFD packet to send [04:32:16]OFD Sender: No OFD packet to send [04:32:21]OFD Sender: No OFD packet to send [04:32:26]OFD Sender: No OFD packet to send [04:32:31]OFD Sender: No OFD packet to send [04:32:36]OFD Sender: No OFD packet to send [04:32:41]OFD Sender: No OFD packet to send [04:32:46]OFD Sender: No OFD packet to send [04:32:51]OFD Sender: No OFD packet to send [04:32:56]OFD Sender: No OFD packet to send [04:33:01]OFD Sender: No OFD packet to send [04:33:06]OFD Sender: No OFD packet to send [04:33:11]OFD Sender: No OFD packet to send [04:33:16]OFD Sender: No OFD packet to send [04:33:21]OFD Sender: No OFD packet to send [04:33:26]OFD Sender: No OFD packet to send [04:33:31]OFD Sender: No OFD packet to send [04:33:36]OFD Sender: No OFD packet to send [04:33:41]OFD Sender: No OFD packet to send [04:33:46]OFD Sender: No OFD packet to send [04:33:51]OFD Sender: No OFD packet to send [04:33:56]OFD Sender: No OFD packet to send [04:34:01]OFD Sender: No OFD packet to send [04:34:06]OFD Sender: No OFD packet to send [04:34:11]OFD Sender: No OFD packet to send [04:34:16]OFD Sender: No OFD packet to send [04:34:21]OFD Sender: No OFD packet to send [04:34:26]OFD Sender: No OFD packet to send [04:34:31]OFD Sender: No OFD packet to send [04:34:36]OFD Sender: No OFD packet to send [04:34:41]OFD Sender: No OFD packet to send [04:34:46]OFD Sender: No OFD packet to send [04:34:51]OFD Sender: No OFD packet to send [04:34:56]OFD Sender: No OFD packet to send [04:35:01]OFD Sender: No OFD packet to send [04:35:06]OFD Sender: No OFD packet to send [04:35:11]OFD Sender: No OFD packet to send [04:35:16]OFD Sender: No OFD packet to send [04:35:21]OFD Sender: No OFD packet to send [04:35:26]OFD Sender: No OFD packet to send [04:35:31]OFD Sender: No OFD packet to send [04:35:36]OFD Sender: No OFD packet to send [04:35:41]OFD Sender: No OFD packet to send [04:35:46]OFD Sender: No OFD packet to send [04:35:51]OFD Sender: No OFD packet to send [04:35:56]OFD Sender: No OFD packet to send [04:36:01]OFD Sender: No OFD packet to send [04:36:06]OFD Sender: No OFD packet to send [04:36:11]OFD Sender: No OFD packet to send [04:36:16]OFD Sender: No OFD packet to send [04:36:21]OFD Sender: No OFD packet to send [04:36:26]OFD Sender: No OFD packet to send [04:36:31]OFD Sender: No OFD packet to send [04:36:36]OFD Sender: No OFD packet to send [04:36:41]OFD Sender: No OFD packet to send [04:36:46]OFD Sender: No OFD packet to send [04:36:51]OFD Sender: No OFD packet to send [04:36:56]OFD Sender: No OFD packet to send [04:37:01]OFD Sender: No OFD packet to send [04:37:06]OFD Sender: No OFD packet to send [04:37:11]OFD Sender: No OFD packet to send [04:37:16]OFD Sender: No OFD packet to send [04:37:21]OFD Sender: No OFD packet to send [04:37:26]OFD Sender: No OFD packet to send [04:37:31]OFD Sender: No OFD packet to send [04:37:36]OFD Sender: No OFD packet to send [04:37:41]OFD Sender: No OFD packet to send [04:37:46]OFD Sender: No OFD packet to send [04:37:51]OFD Sender: No OFD packet to send [04:37:56]OFD Sender: No OFD packet to send [04:38:01]OFD Sender: No OFD packet to send [04:38:06]OFD Sender: No OFD packet to send [04:38:11]OFD Sender: No OFD packet to send [04:38:16]OFD Sender: No OFD packet to send [04:38:21]OFD Sender: No OFD packet to send [04:38:26]OFD Sender: No OFD packet to send [04:38:31]OFD Sender: No OFD packet to send [04:38:36]OFD Sender: No OFD packet to send [04:38:41]OFD Sender: No OFD packet to send [04:38:46]OFD Sender: No OFD packet to send [04:38:51]OFD Sender: No OFD packet to send [04:38:56]OFD Sender: No OFD packet to send [04:39:01]OFD Sender: No OFD packet to send [04:39:06]OFD Sender: No OFD packet to send [04:39:11]OFD Sender: No OFD packet to send [04:39:16]OFD Sender: No OFD packet to send [04:39:21]OFD Sender: No OFD packet to send [04:39:27]OFD Sender: No OFD packet to send [04:39:32]OFD Sender: No OFD packet to send [04:39:37]OFD Sender: No OFD packet to send [04:39:42]OFD Sender: No OFD packet to send [04:39:47]OFD Sender: No OFD packet to send [04:39:52]OFD Sender: No OFD packet to send [04:39:57]OFD Sender: No OFD packet to send [04:40:02]OFD Sender: No OFD packet to send [04:40:07]OFD Sender: No OFD packet to send [04:40:12]OFD Sender: No OFD packet to send [04:40:17]OFD Sender: No OFD packet to send [04:40:22]OFD Sender: No OFD packet to send [04:40:27]OFD Sender: No OFD packet to send [04:40:32]OFD Sender: No OFD packet to send [04:40:37]OFD Sender: No OFD packet to send [04:40:42]OFD Sender: No OFD packet to send [04:40:47]OFD Sender: No OFD packet to send [04:40:52]OFD Sender: No OFD packet to send [04:40:57]OFD Sender: No OFD packet to send [04:41:02]OFD Sender: No OFD packet to send [04:41:07]OFD Sender: No OFD packet to send [04:41:12]OFD Sender: No OFD packet to send [04:41:17]OFD Sender: No OFD packet to send [04:41:22]OFD Sender: No OFD packet to send [04:41:27]OFD Sender: No OFD packet to send [04:41:32]OFD Sender: No OFD packet to send [04:41:37]OFD Sender: No OFD packet to send [04:41:42]OFD Sender: No OFD packet to send [04:41:47]OFD Sender: No OFD packet to send [04:41:52]OFD Sender: No OFD packet to send [04:41:57]OFD Sender: No OFD packet to send [04:42:02]OFD Sender: No OFD packet to send [04:42:07]OFD Sender: No OFD packet to send [04:42:12]OFD Sender: No OFD packet to send [04:42:17]OFD Sender: No OFD packet to send [04:42:22]OFD Sender: No OFD packet to send [04:42:27]OFD Sender: No OFD packet to send [04:42:32]OFD Sender: No OFD packet to send [04:42:37]OFD Sender: No OFD packet to send [04:42:42]OFD Sender: No OFD packet to send [04:42:47]OFD Sender: No OFD packet to send [04:42:52]OFD Sender: No OFD packet to send [04:42:57]OFD Sender: No OFD packet to send [04:43:02]OFD Sender: No OFD packet to send [04:43:07]OFD Sender: No OFD packet to send [04:43:12]OFD Sender: No OFD packet to send [04:43:17]OFD Sender: No OFD packet to send [04:43:22]OFD Sender: No OFD packet to send [04:43:27]OFD Sender: No OFD packet to send [04:43:32]OFD Sender: No OFD packet to send [04:43:37]OFD Sender: No OFD packet to send [04:43:42]OFD Sender: No OFD packet to send [04:43:47]OFD Sender: No OFD packet to send [04:43:52]OFD Sender: No OFD packet to send [04:43:57]OFD Sender: No OFD packet to send [04:44:02]OFD Sender: No OFD packet to send [04:44:07]OFD Sender: No OFD packet to send [04:44:12]OFD Sender: No OFD packet to send [04:44:17]OFD Sender: No OFD packet to send [04:44:22]OFD Sender: No OFD packet to send [04:44:27]OFD Sender: No OFD packet to send [04:44:32]OFD Sender: No OFD packet to send [04:44:37]OFD Sender: No OFD packet to send [04:44:42]OFD Sender: No OFD packet to send [04:44:47]OFD Sender: No OFD packet to send [04:44:52]OFD Sender: No OFD packet to send [04:44:57]OFD Sender: No OFD packet to send [04:45:02]OFD Sender: No OFD packet to send [04:45:07]OFD Sender: No OFD packet to send [04:45:12]OFD Sender: No OFD packet to send [04:45:17]OFD Sender: No OFD packet to send [04:45:22]OFD Sender: No OFD packet to send [04:45:27]OFD Sender: No OFD packet to send [04:45:32]OFD Sender: No OFD packet to send [04:45:37]OFD Sender: No OFD packet to send [04:45:42]OFD Sender: No OFD packet to send [04:45:47]OFD Sender: No OFD packet to send [04:45:52]OFD Sender: No OFD packet to send [04:45:57]OFD Sender: No OFD packet to send [04:46:02]OFD Sender: No OFD packet to send [04:46:07]OFD Sender: No OFD packet to send [04:46:12]OFD Sender: No OFD packet to send [04:46:17]OFD Sender: No OFD packet to send [04:46:22]OFD Sender: No OFD packet to send [04:46:27]OFD Sender: No OFD packet to send [04:46:32]OFD Sender: No OFD packet to send [04:46:37]OFD Sender: No OFD packet to send [04:46:42]OFD Sender: No OFD packet to send [04:46:47]OFD Sender: No OFD packet to send [04:46:52]OFD Sender: No OFD packet to send [04:46:57]OFD Sender: No OFD packet to send [04:47:02]OFD Sender: No OFD packet to send [04:47:07]OFD Sender: No OFD packet to send [04:47:12]OFD Sender: No OFD packet to send [04:47:17]OFD Sender: No OFD packet to send [04:47:22]OFD Sender: No OFD packet to send [04:47:27]OFD Sender: No OFD packet to send [04:47:32]OFD Sender: No OFD packet to send [04:47:37]OFD Sender: No OFD packet to send [04:47:42]OFD Sender: No OFD packet to send [04:47:47]OFD Sender: No OFD packet to send [04:47:52]OFD Sender: No OFD packet to send [04:47:57]OFD Sender: No OFD packet to send [04:48:02]OFD Sender: No OFD packet to send [04:48:07]OFD Sender: No OFD packet to send [04:48:12]OFD Sender: No OFD packet to send [04:48:17]OFD Sender: No OFD packet to send [04:48:22]OFD Sender: No OFD packet to send [04:48:27]OFD Sender: No OFD packet to send [04:48:32]OFD Sender: No OFD packet to send [04:48:37]OFD Sender: No OFD packet to send [04:48:42]OFD Sender: No OFD packet to send [04:48:47]OFD Sender: No OFD packet to send [04:48:52]OFD Sender: No OFD packet to send [04:48:57]OFD Sender: No OFD packet to send [04:49:02]OFD Sender: No OFD packet to send [04:49:07]OFD Sender: No OFD packet to send [04:49:12]OFD Sender: No OFD packet to send [04:49:17]OFD Sender: No OFD packet to send [04:49:22]OFD Sender: No OFD packet to send [04:49:27]OFD Sender: No OFD packet to send [04:49:32]OFD Sender: No OFD packet to send [04:49:37]OFD Sender: No OFD packet to send [04:49:42]OFD Sender: No OFD packet to send [04:49:47]OFD Sender: No OFD packet to send [04:49:52]OFD Sender: No OFD packet to send [04:49:57]OFD Sender: No OFD packet to send [04:50:02]OFD Sender: No OFD packet to send [04:50:07]OFD Sender: No OFD packet to send [04:50:12]OFD Sender: No OFD packet to send [04:50:17]OFD Sender: No OFD packet to send [04:50:22]OFD Sender: No OFD packet to send [04:50:27]OFD Sender: No OFD packet to send [04:50:32]OFD Sender: No OFD packet to send [04:50:37]OFD Sender: No OFD packet to send [04:50:42]OFD Sender: No OFD packet to send [04:50:47]OFD Sender: No OFD packet to send [04:50:52]OFD Sender: No OFD packet to send [04:50:57]OFD Sender: No OFD packet to send [04:51:02]OFD Sender: No OFD packet to send [04:51:07]OFD Sender: No OFD packet to send [04:51:12]OFD Sender: No OFD packet to send [04:51:17]OFD Sender: No OFD packet to send [04:51:22]OFD Sender: No OFD packet to send [04:51:27]OFD Sender: No OFD packet to send [04:51:32]OFD Sender: No OFD packet to send [04:51:37]OFD Sender: No OFD packet to send [04:51:42]OFD Sender: No OFD packet to send [04:51:47]OFD Sender: No OFD packet to send [04:51:52]OFD Sender: No OFD packet to send [04:51:57]OFD Sender: No OFD packet to send [04:52:02]OFD Sender: No OFD packet to send [04:52:07]OFD Sender: No OFD packet to send [04:52:12]OFD Sender: No OFD packet to send [04:52:17]OFD Sender: No OFD packet to send [04:52:22]OFD Sender: No OFD packet to send [04:52:27]OFD Sender: No OFD packet to send [04:52:32]OFD Sender: No OFD packet to send [04:52:37]OFD Sender: No OFD packet to send [04:52:42]OFD Sender: No OFD packet to send [04:52:47]OFD Sender: No OFD packet to send [04:52:52]OFD Sender: No OFD packet to send [04:52:57]OFD Sender: No OFD packet to send [04:53:02]OFD Sender: No OFD packet to send [04:53:07]OFD Sender: No OFD packet to send [04:53:12]OFD Sender: No OFD packet to send [04:53:17]OFD Sender: No OFD packet to send [04:53:22]OFD Sender: No OFD packet to send [04:53:27]OFD Sender: No OFD packet to send [04:53:32]OFD Sender: No OFD packet to send [04:53:37]OFD Sender: No OFD packet to send [04:53:42]OFD Sender: No OFD packet to send [04:53:47]OFD Sender: No OFD packet to send [04:53:52]OFD Sender: No OFD packet to send [04:53:57]OFD Sender: No OFD packet to send [04:54:02]OFD Sender: No OFD packet to send [04:54:07]OFD Sender: No OFD packet to send [04:54:12]OFD Sender: No OFD packet to send [04:54:17]OFD Sender: No OFD packet to send [04:54:22]OFD Sender: No OFD packet to send [04:54:27]OFD Sender: No OFD packet to send [04:54:32]OFD Sender: No OFD packet to send [04:54:37]OFD Sender: No OFD packet to send [04:54:42]OFD Sender: No OFD packet to send [04:54:47]OFD Sender: No OFD packet to send [04:54:52]OFD Sender: No OFD packet to send [04:54:57]OFD Sender: No OFD packet to send [04:55:02]OFD Sender: No OFD packet to send [04:55:07]OFD Sender: No OFD packet to send [04:55:12]OFD Sender: No OFD packet to send [04:55:17]OFD Sender: No OFD packet to send [04:55:22]OFD Sender: No OFD packet to send [04:55:27]OFD Sender: No OFD packet to send [04:55:32]OFD Sender: No OFD packet to send [04:55:37]OFD Sender: No OFD packet to send [04:55:42]OFD Sender: No OFD packet to send [04:55:47]OFD Sender: No OFD packet to send [04:55:52]OFD Sender: No OFD packet to send [04:55:57]OFD Sender: No OFD packet to send [04:56:02]OFD Sender: No OFD packet to send [04:56:07]OFD Sender: No OFD packet to send [04:56:12]OFD Sender: No OFD packet to send [04:56:17]OFD Sender: No OFD packet to send [04:56:22]OFD Sender: No OFD packet to send [04:56:27]OFD Sender: No OFD packet to send [04:56:32]OFD Sender: No OFD packet to send [04:56:37]OFD Sender: No OFD packet to send [04:56:42]OFD Sender: No OFD packet to send [04:56:47]OFD Sender: No OFD packet to send [04:56:52]OFD Sender: No OFD packet to send [04:56:57]OFD Sender: No OFD packet to send [04:57:02]OFD Sender: No OFD packet to send [04:57:07]OFD Sender: No OFD packet to send [04:57:12]OFD Sender: No OFD packet to send [04:57:17]OFD Sender: No OFD packet to send [04:57:22]OFD Sender: No OFD packet to send [04:57:27]OFD Sender: No OFD packet to send [04:57:32]OFD Sender: No OFD packet to send [04:57:37]OFD Sender: No OFD packet to send [04:57:42]OFD Sender: No OFD packet to send [04:57:47]OFD Sender: No OFD packet to send [04:57:52]OFD Sender: No OFD packet to send [04:57:57]OFD Sender: No OFD packet to send [04:58:03]OFD Sender: No OFD packet to send [04:58:08]OFD Sender: No OFD packet to send [04:58:13]OFD Sender: No OFD packet to send [04:58:18]OFD Sender: No OFD packet to send [04:58:23]OFD Sender: No OFD packet to send [04:58:28]OFD Sender: No OFD packet to send [04:58:33]OFD Sender: No OFD packet to send [04:58:38]OFD Sender: No OFD packet to send [04:58:43]OFD Sender: No OFD packet to send [04:58:48]OFD Sender: No OFD packet to send [04:58:53]OFD Sender: No OFD packet to send [04:58:58]OFD Sender: No OFD packet to send [04:59:03]OFD Sender: No OFD packet to send [04:59:08]OFD Sender: No OFD packet to send [04:59:13]OFD Sender: No OFD packet to send [04:59:18]OFD Sender: No OFD packet to send [04:59:23]OFD Sender: No OFD packet to send [04:59:28]OFD Sender: No OFD packet to send [04:59:33]OFD Sender: No OFD packet to send [04:59:38]OFD Sender: No OFD packet to send [04:59:43]OFD Sender: No OFD packet to send [04:59:48]OFD Sender: No OFD packet to send [04:59:53]OFD Sender: No OFD packet to send [04:59:58]OFD Sender: No OFD packet to send [05:00:03]OFD Sender: No OFD packet to send [05:00:08]OFD Sender: No OFD packet to send [05:00:13]OFD Sender: No OFD packet to send [05:00:18]OFD Sender: No OFD packet to send [05:00:23]OFD Sender: No OFD packet to send [05:00:28]OFD Sender: No OFD packet to send [05:00:33]OFD Sender: No OFD packet to send [05:00:38]OFD Sender: No OFD packet to send [05:00:43]OFD Sender: No OFD packet to send [05:00:48]OFD Sender: No OFD packet to send [05:00:53]OFD Sender: No OFD packet to send [05:00:58]OFD Sender: No OFD packet to send [05:01:03]OFD Sender: No OFD packet to send [05:01:08]OFD Sender: No OFD packet to send [05:01:13]OFD Sender: No OFD packet to send [05:01:18]OFD Sender: No OFD packet to send [05:01:23]OFD Sender: No OFD packet to send [05:01:28]OFD Sender: No OFD packet to send [05:01:33]OFD Sender: No OFD packet to send [05:01:38]OFD Sender: No OFD packet to send [05:01:43]OFD Sender: No OFD packet to send [05:01:48]OFD Sender: No OFD packet to send [05:01:53]OFD Sender: No OFD packet to send [05:01:58]OFD Sender: No OFD packet to send [05:02:03]OFD Sender: No OFD packet to send [05:02:08]OFD Sender: No OFD packet to send [05:02:13]OFD Sender: No OFD packet to send [05:02:18]OFD Sender: No OFD packet to send [05:02:23]OFD Sender: No OFD packet to send [05:02:28]OFD Sender: No OFD packet to send [05:02:33]OFD Sender: No OFD packet to send [05:02:38]OFD Sender: No OFD packet to send [05:02:43]OFD Sender: No OFD packet to send [05:02:48]OFD Sender: No OFD packet to send [05:02:53]OFD Sender: No OFD packet to send [05:02:58]OFD Sender: No OFD packet to send [05:03:03]OFD Sender: No OFD packet to send [05:03:08]OFD Sender: No OFD packet to send [05:03:13]OFD Sender: No OFD packet to send [05:03:18]OFD Sender: No OFD packet to send [05:03:23]OFD Sender: No OFD packet to send [05:03:28]OFD Sender: No OFD packet to send [05:03:33]OFD Sender: No OFD packet to send [05:03:38]OFD Sender: No OFD packet to send [05:03:43]OFD Sender: No OFD packet to send [05:03:48]OFD Sender: No OFD packet to send [05:03:53]OFD Sender: No OFD packet to send [05:03:58]OFD Sender: No OFD packet to send [05:04:03]OFD Sender: No OFD packet to send [05:04:08]OFD Sender: No OFD packet to send [05:04:13]OFD Sender: No OFD packet to send [05:04:18]OFD Sender: No OFD packet to send [05:04:23]OFD Sender: No OFD packet to send [05:04:28]OFD Sender: No OFD packet to send [05:04:33]OFD Sender: No OFD packet to send [05:04:38]OFD Sender: No OFD packet to send [05:04:43]OFD Sender: No OFD packet to send [05:04:48]OFD Sender: No OFD packet to send [05:04:53]OFD Sender: No OFD packet to send [05:04:58]OFD Sender: No OFD packet to send [05:05:03]OFD Sender: No OFD packet to send [05:05:08]OFD Sender: No OFD packet to send [05:05:13]OFD Sender: No OFD packet to send [05:05:18]OFD Sender: No OFD packet to send [05:05:23]OFD Sender: No OFD packet to send [05:05:28]OFD Sender: No OFD packet to send [05:05:33]OFD Sender: No OFD packet to send [05:05:38]OFD Sender: No OFD packet to send [05:05:43]OFD Sender: No OFD packet to send [05:05:48]OFD Sender: No OFD packet to send [05:05:53]OFD Sender: No OFD packet to send [05:05:58]OFD Sender: No OFD packet to send [05:06:03]OFD Sender: No OFD packet to send [05:06:08]OFD Sender: No OFD packet to send [05:06:13]OFD Sender: No OFD packet to send [05:06:18]OFD Sender: No OFD packet to send [05:06:23]OFD Sender: No OFD packet to send [05:06:28]OFD Sender: No OFD packet to send [05:06:33]OFD Sender: No OFD packet to send [05:06:38]OFD Sender: No OFD packet to send [05:06:43]OFD Sender: No OFD packet to send [05:06:48]OFD Sender: No OFD packet to send [05:06:53]OFD Sender: No OFD packet to send [05:06:58]OFD Sender: No OFD packet to send [05:07:03]OFD Sender: No OFD packet to send [05:07:08]OFD Sender: No OFD packet to send [05:07:13]OFD Sender: No OFD packet to send [05:07:18]OFD Sender: No OFD packet to send [05:07:23]OFD Sender: No OFD packet to send [05:07:28]OFD Sender: No OFD packet to send [05:07:33]OFD Sender: No OFD packet to send [05:07:38]OFD Sender: No OFD packet to send [05:07:43]OFD Sender: No OFD packet to send [05:07:48]OFD Sender: No OFD packet to send [05:07:53]OFD Sender: No OFD packet to send [05:07:58]OFD Sender: No OFD packet to send [05:08:03]OFD Sender: No OFD packet to send [05:08:08]OFD Sender: No OFD packet to send [05:08:13]OFD Sender: No OFD packet to send [05:08:18]OFD Sender: No OFD packet to send [05:08:23]OFD Sender: No OFD packet to send [05:08:28]OFD Sender: No OFD packet to send [05:08:33]OFD Sender: No OFD packet to send [05:08:38]OFD Sender: No OFD packet to send [05:08:43]OFD Sender: No OFD packet to send [05:08:48]OFD Sender: No OFD packet to send [05:08:53]OFD Sender: No OFD packet to send [05:08:58]OFD Sender: No OFD packet to send [05:09:03]OFD Sender: No OFD packet to send [05:09:08]OFD Sender: No OFD packet to send [05:09:13]OFD Sender: No OFD packet to send [05:09:18]OFD Sender: No OFD packet to send [05:09:23]OFD Sender: No OFD packet to send [05:09:28]OFD Sender: No OFD packet to send [05:09:33]OFD Sender: No OFD packet to send [05:09:38]OFD Sender: No OFD packet to send [05:09:43]OFD Sender: No OFD packet to send [05:09:48]OFD Sender: No OFD packet to send [05:09:53]OFD Sender: No OFD packet to send [05:09:58]OFD Sender: No OFD packet to send [05:10:03]OFD Sender: No OFD packet to send [05:10:08]OFD Sender: No OFD packet to send [05:10:13]OFD Sender: No OFD packet to send [05:10:18]OFD Sender: No OFD packet to send [05:10:23]OFD Sender: No OFD packet to send [05:10:28]OFD Sender: No OFD packet to send [05:10:33]OFD Sender: No OFD packet to send [05:10:38]OFD Sender: No OFD packet to send [05:10:43]OFD Sender: No OFD packet to send [05:10:48]OFD Sender: No OFD packet to send [05:10:53]OFD Sender: No OFD packet to send [05:10:58]OFD Sender: No OFD packet to send [05:11:03]OFD Sender: No OFD packet to send [05:11:08]OFD Sender: No OFD packet to send [05:11:13]OFD Sender: No OFD packet to send [05:11:18]OFD Sender: No OFD packet to send [05:11:23]OFD Sender: No OFD packet to send [05:11:28]OFD Sender: No OFD packet to send [05:11:33]OFD Sender: No OFD packet to send [05:11:38]OFD Sender: No OFD packet to send [05:11:43]OFD Sender: No OFD packet to send [05:11:48]OFD Sender: No OFD packet to send [05:11:53]OFD Sender: No OFD packet to send [05:11:58]OFD Sender: No OFD packet to send [05:12:03]OFD Sender: No OFD packet to send [05:12:08]OFD Sender: No OFD packet to send [05:12:13]OFD Sender: No OFD packet to send [05:12:18]OFD Sender: No OFD packet to send [05:12:23]OFD Sender: No OFD packet to send [05:12:28]OFD Sender: No OFD packet to send [05:12:33]OFD Sender: No OFD packet to send [05:12:38]OFD Sender: No OFD packet to send [05:12:43]OFD Sender: No OFD packet to send [05:12:48]OFD Sender: No OFD packet to send [05:12:53]OFD Sender: No OFD packet to send [05:12:58]OFD Sender: No OFD packet to send [05:13:03]OFD Sender: No OFD packet to send [05:13:08]OFD Sender: No OFD packet to send [05:13:13]OFD Sender: No OFD packet to send [05:13:18]OFD Sender: No OFD packet to send [05:13:23]OFD Sender: No OFD packet to send [05:13:28]OFD Sender: No OFD packet to send [05:13:33]OFD Sender: No OFD packet to send [05:13:38]OFD Sender: No OFD packet to send [05:13:43]OFD Sender: No OFD packet to send [05:13:48]OFD Sender: No OFD packet to send [05:13:53]OFD Sender: No OFD packet to send [05:13:58]OFD Sender: No OFD packet to send [05:14:03]OFD Sender: No OFD packet to send [05:14:08]OFD Sender: No OFD packet to send [05:14:13]OFD Sender: No OFD packet to send [05:14:18]OFD Sender: No OFD packet to send [05:14:23]OFD Sender: No OFD packet to send [05:14:28]OFD Sender: No OFD packet to send [05:14:33]OFD Sender: No OFD packet to send [05:14:38]OFD Sender: No OFD packet to send [05:14:43]OFD Sender: No OFD packet to send [05:14:48]OFD Sender: No OFD packet to send [05:14:53]OFD Sender: No OFD packet to send [05:14:58]OFD Sender: No OFD packet to send [05:15:03]OFD Sender: No OFD packet to send [05:15:08]OFD Sender: No OFD packet to send [05:15:13]OFD Sender: No OFD packet to send [05:15:18]OFD Sender: No OFD packet to send [05:15:23]OFD Sender: No OFD packet to send [05:15:28]OFD Sender: No OFD packet to send [05:15:33]OFD Sender: No OFD packet to send [05:15:38]OFD Sender: No OFD packet to send [05:15:43]OFD Sender: No OFD packet to send [05:15:48]OFD Sender: No OFD packet to send [05:15:53]OFD Sender: No OFD packet to send [05:15:58]OFD Sender: No OFD packet to send [05:16:03]OFD Sender: No OFD packet to send [05:16:08]OFD Sender: No OFD packet to send [05:16:13]OFD Sender: No OFD packet to send [05:16:18]OFD Sender: No OFD packet to send [05:16:23]OFD Sender: No OFD packet to send [05:16:28]OFD Sender: No OFD packet to send [05:16:34]OFD Sender: No OFD packet to send [05:16:39]OFD Sender: No OFD packet to send [05:16:44]OFD Sender: No OFD packet to send [05:16:49]OFD Sender: No OFD packet to send [05:16:54]OFD Sender: No OFD packet to send [05:16:59]OFD Sender: No OFD packet to send [05:17:04]OFD Sender: No OFD packet to send [05:17:09]OFD Sender: No OFD packet to send [05:17:14]OFD Sender: No OFD packet to send [05:17:19]OFD Sender: No OFD packet to send [05:17:24]OFD Sender: No OFD packet to send [05:17:29]OFD Sender: No OFD packet to send [05:17:34]OFD Sender: No OFD packet to send [05:17:39]OFD Sender: No OFD packet to send [05:17:44]OFD Sender: No OFD packet to send [05:17:49]OFD Sender: No OFD packet to send [05:17:54]OFD Sender: No OFD packet to send [05:17:59]OFD Sender: No OFD packet to send [05:18:04]OFD Sender: No OFD packet to send [05:18:09]OFD Sender: No OFD packet to send [05:18:14]OFD Sender: No OFD packet to send [05:18:19]OFD Sender: No OFD packet to send [05:18:24]OFD Sender: No OFD packet to send [05:18:29]OFD Sender: No OFD packet to send [05:18:34]OFD Sender: No OFD packet to send [05:18:39]OFD Sender: No OFD packet to send [05:18:44]OFD Sender: No OFD packet to send [05:18:49]OFD Sender: No OFD packet to send [05:18:54]OFD Sender: No OFD packet to send [05:18:59]OFD Sender: No OFD packet to send [05:19:04]OFD Sender: No OFD packet to send [05:19:09]OFD Sender: No OFD packet to send [05:19:14]OFD Sender: No OFD packet to send [05:19:19]OFD Sender: No OFD packet to send [05:19:24]OFD Sender: No OFD packet to send [05:19:29]OFD Sender: No OFD packet to send [05:19:34]OFD Sender: No OFD packet to send [05:19:39]OFD Sender: No OFD packet to send [05:19:44]OFD Sender: No OFD packet to send [05:19:49]OFD Sender: No OFD packet to send [05:19:54]OFD Sender: No OFD packet to send [05:19:59]OFD Sender: No OFD packet to send [05:20:04]OFD Sender: No OFD packet to send [05:20:09]OFD Sender: No OFD packet to send [05:20:14]OFD Sender: No OFD packet to send [05:20:19]OFD Sender: No OFD packet to send [05:20:24]OFD Sender: No OFD packet to send [05:20:29]OFD Sender: No OFD packet to send [05:20:34]OFD Sender: No OFD packet to send [05:20:39]OFD Sender: No OFD packet to send [05:20:44]OFD Sender: No OFD packet to send [05:20:49]OFD Sender: No OFD packet to send [05:20:54]OFD Sender: No OFD packet to send [05:20:59]OFD Sender: No OFD packet to send [05:21:04]OFD Sender: No OFD packet to send [05:21:09]OFD Sender: No OFD packet to send [05:21:14]OFD Sender: No OFD packet to send [05:21:19]OFD Sender: No OFD packet to send [05:21:24]OFD Sender: No OFD packet to send [05:21:29]OFD Sender: No OFD packet to send [05:21:34]OFD Sender: No OFD packet to send [05:21:39]OFD Sender: No OFD packet to send [05:21:44]OFD Sender: No OFD packet to send [05:21:49]OFD Sender: No OFD packet to send [05:21:54]OFD Sender: No OFD packet to send [05:21:59]OFD Sender: No OFD packet to send [05:22:04]OFD Sender: No OFD packet to send [05:22:09]OFD Sender: No OFD packet to send [05:22:14]OFD Sender: No OFD packet to send [05:22:19]OFD Sender: No OFD packet to send [05:22:24]OFD Sender: No OFD packet to send [05:22:29]OFD Sender: No OFD packet to send [05:22:34]OFD Sender: No OFD packet to send [05:22:39]OFD Sender: No OFD packet to send [05:22:44]OFD Sender: No OFD packet to send [05:22:49]OFD Sender: No OFD packet to send [05:22:54]OFD Sender: No OFD packet to send [05:22:59]OFD Sender: No OFD packet to send [05:23:04]OFD Sender: No OFD packet to send [05:23:09]OFD Sender: No OFD packet to send [05:23:14]OFD Sender: No OFD packet to send [05:23:19]OFD Sender: No OFD packet to send [05:23:24]OFD Sender: No OFD packet to send [05:23:29]OFD Sender: No OFD packet to send [05:23:34]OFD Sender: No OFD packet to send [05:23:39]OFD Sender: No OFD packet to send [05:23:44]OFD Sender: No OFD packet to send [05:23:49]OFD Sender: No OFD packet to send [05:23:54]OFD Sender: No OFD packet to send [05:23:59]OFD Sender: No OFD packet to send [05:24:04]OFD Sender: No OFD packet to send [05:24:09]OFD Sender: No OFD packet to send [05:24:14]OFD Sender: No OFD packet to send [05:24:19]OFD Sender: No OFD packet to send [05:24:24]OFD Sender: No OFD packet to send [05:24:29]OFD Sender: No OFD packet to send [05:24:34]OFD Sender: No OFD packet to send [05:24:39]OFD Sender: No OFD packet to send [05:24:44]OFD Sender: No OFD packet to send [05:24:49]OFD Sender: No OFD packet to send [05:24:54]OFD Sender: No OFD packet to send [05:24:59]OFD Sender: No OFD packet to send [05:25:04]OFD Sender: No OFD packet to send [05:25:09]OFD Sender: No OFD packet to send [05:25:14]OFD Sender: No OFD packet to send [05:25:19]OFD Sender: No OFD packet to send [05:25:24]OFD Sender: No OFD packet to send [05:25:29]OFD Sender: No OFD packet to send [05:25:34]OFD Sender: No OFD packet to send [05:25:39]OFD Sender: No OFD packet to send [05:25:44]OFD Sender: No OFD packet to send [05:25:49]OFD Sender: No OFD packet to send [05:25:54]OFD Sender: No OFD packet to send [05:25:59]OFD Sender: No OFD packet to send [05:26:04]OFD Sender: No OFD packet to send [05:26:09]OFD Sender: No OFD packet to send [05:26:14]OFD Sender: No OFD packet to send [05:26:19]OFD Sender: No OFD packet to send [05:26:24]OFD Sender: No OFD packet to send [05:26:29]OFD Sender: No OFD packet to send [05:26:34]OFD Sender: No OFD packet to send [05:26:39]OFD Sender: No OFD packet to send [05:26:44]OFD Sender: No OFD packet to send [05:26:49]OFD Sender: No OFD packet to send [05:26:54]OFD Sender: No OFD packet to send [05:26:59]OFD Sender: No OFD packet to send [05:27:04]OFD Sender: No OFD packet to send [05:27:09]OFD Sender: No OFD packet to send [05:27:14]OFD Sender: No OFD packet to send [05:27:19]OFD Sender: No OFD packet to send [05:27:24]OFD Sender: No OFD packet to send [05:27:29]OFD Sender: No OFD packet to send [05:27:34]OFD Sender: No OFD packet to send [05:27:39]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:10]accept exits with 8 [05:28:10]New connection [05:28:10]New thread 3066871140 created [05:28:10]Thread 3067014500 joined [05:28:10]Waiting for new connection... [05:28:10] Sock 8.Parse request [05:28:10]Sock 8.Check first char [05:28:10]Sock 8.First char is OK [05:28:10]request: POST /json_proto HTTP/1.0 [05:28:10]Method: POST [05:28:10]URL: /json_proto [05:28:10]Method is POST - this is cgi request [05:28:10]url: /json_proto [05:28:10]query_string will be loaded in cgi processing [05:28:10]execute_cgi json_proto POST (null) [05:28:10]execute_cgi path=json_proto method=POST [05:28:10]POST find Content-Length [05:28:10]Host: 172.17.35.3:8080 [05:28:10]Content-Length: 801 [05:28:10]Content-Type: application/json [05:28:10] [05:28:10]POST finish read [05:28:10]Found Content-Length = 801 [05:28:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359450", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 12.620, "sum" : 800.11, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 800.11 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:28:10]execute_script... [05:28: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 : (1)359450", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 12.620, "sum" : 800.11, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 800.11 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:28:10]POST & json_proto [05:28:10]process_json_proto [05:28:10]json parsed OK: [05:28:10]protocol is kg_v1.0 [05:28:10]action value=close_receipt [05:28:10]process_action close_receipt [05:28:10]cmd_close_receipt [05:28:10]MH_GetDate [05:28:10]Write to MH i2c: F0 00 00 82 1A 8B [05:28:10]Write i2c OK [05:28:10]MH_I2C_Read... [05:28:10]Read from MH i2c: F0 [05:28:10]MH_I2C_Read... [05:28:10]Read from MH i2c: F0 09 00 [05:28:10]MH_I2C_Read... [05:28:10]Read from MH i2c: F0 09 00 82 1A 00 F2 2E 12 66 2B 11 66 64 32 [05:28:10]GetLastDocTimeStamp 1712452219 [05:28:10]current date 1712467698 [05:28:10]FM_GetShiftState [05:28:10]SAM_PROTO_GetShiftState [05:28:10]wFMCommunicate request_size=4 [05:28:10]MH_SAM_APDU [05:28:10]CAPDU: 80 13 01 00 [05:28:10]Write to MH i2c: E2 08 00 83 1A 80 13 01 00 00 00 00 00 1A [05:28:10]Write i2c OK [05:28:10]MH_I2C_Read... [05:28:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:28:10]Read from MH i2c: E2 [05:28:10]MH_I2C_Read... [05:28:10]Read from MH i2c: E2 0E 00 [05:28:10]MH_I2C_Read... [05:28:10]Read from MH i2c: E2 0E 00 83 1A 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 AE [05:28:10]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [05:28:10]wFMCommunicate OK [05:28:10]SAM_PROTO_GetShiftState done [05:28:10]FM_GetShiftState done [05:28:10]opened in 1712450087 [05:28:10]opened+sec_in_day 1712536487 [05:28:10]quantity*price = 80010 [05:28:10]sum+1 = 80012 [05:28:10]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 800.11 НСП 1% : 7.08 НДС 12% : 84.97 Наличными: 0.00 Безнал.: 800.11 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 6 07.04.2024 05:28 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000874657 ФД: 26707 ФПД: 59978788803355 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T052818&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26707&fm=59978788803355&tin=02508201610067®Number=0000000000091578&sum=80011 [05:28:11]StoreToDocumentArchive [05:28:11]shift 313 fd 26707 [05:28:11]save to /storage/0313/doc_00026707 [05:28:11]save last doc name /storage/0313/doc_00026707 to /storage/kkm_last_doc_name [05:28:11]save OK [05:28:11]Clear old archive folders... [05:28:11]ProcessDocumentItem done err = 0, tmpTLVsize=251 [05:28:11]tlvbuf is 00EF7020 [05:28:11]SAM_PROTO_ClearQueue [05:28:11]wFMCommunicate request_size=4 [05:28:11]MH_SAM_APDU [05:28:11]CAPDU: 80 09 00 00 [05:28:11]Write to MH i2c: E2 08 00 90 1A 80 09 00 00 00 00 00 00 1C [05:28:11]Write i2c OK [05:28:11]MH_I2C_Read... [05:28:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:28:11]Read from MH i2c: E2 [05:28:11]MH_I2C_Read... [05:28:11]Read from MH i2c: E2 03 00 [05:28:11]MH_I2C_Read... [05:28:11]Read from MH i2c: E2 03 00 90 1A 00 90 00 1E [05:28:11]RAPDU: 90 00 [05:28:11]wFMCommunicate OK [05:28:11]SAM_PROTO_ClearQueue done [05:28:11]KKMCreateOFDPacket [05:28:11]OFDProtocolAddRootSTLVToBuf [05:28:11]FM_MakeSignedData [05:28:11]FM_MakeSignedData [05:28:11]SAM_PROTO_SignData [05:28:11]wFMCommunicate request_size=4 [05:28:11]MH_SAM_APDU [05:28:11]CAPDU: 80 0D 01 02 [05:28:11]Write to MH i2c: E2 08 00 91 1A 80 0D 01 02 00 00 00 00 24 [05:28:11]Write i2c OK [05:28:11]MH_I2C_Read... [05:28:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:28:11]Read from MH i2c: E2 [05:28:11]MH_I2C_Read... [05:28:11]Read from MH i2c: E2 03 00 [05:28:11]MH_I2C_Read... [05:28:11]Read from MH i2c: E2 03 00 91 1A 00 90 00 1F [05:28:11]RAPDU: 90 00 [05:28:11]wFMCommunicate OK [05:28:11]wFMCommunicate request_size=255 [05:28:11]MH_SAM_APDU [05:28:11]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 4C 31 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 8B 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8B 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 31 21 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 8B 38 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 F2 2E 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 53 68 00 00 35 04 06 00 36 [05:28:11]Write to MH i2c: E2 02 01 92 1A 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 4C 31 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 8B 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8B 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 31 21 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 8B 38 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 F2 2E 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 53 68 00 00 35 04 06 00 36 00 00 BE [05:28:12]Write i2c OK [05:28:12]MH_I2C_Read... [05:28:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:28:12]Read from MH i2c: E2 [05:28:12]MH_I2C_Read... [05:28:12]Read from MH i2c: E2 03 00 [05:28:12]MH_I2C_Read... [05:28:12]Read from MH i2c: E2 03 00 92 1A 00 90 00 20 [05:28:12]RAPDU: 90 00 [05:28:12]wFMCommunicate OK [05:28:12]wFMCommunicate request_size=10 [05:28:12]MH_SAM_APDU [05:28:12]CAPDU: 80 0D 02 02 05 8C E6 66 93 1B [05:28:12]Write to MH i2c: E2 0D 00 93 1A 80 0D 02 02 05 00 8C E6 66 93 1B 00 00 B7 [05:28:12]Write i2c OK [05:28:12]MH_I2C_Read... [05:28:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:28:12]Read from MH i2c: E2 [05:28:12]MH_I2C_Read... [05:28:12]Read from MH i2c: E2 03 00 [05:28:12]MH_I2C_Read... [05:28:12]Read from MH i2c: E2 03 00 93 1A 00 90 00 21 [05:28:12]RAPDU: 90 00 [05:28:12]wFMCommunicate OK [05:28:12]wFMCommunicate request_size=4 [05:28:12]MH_SAM_APDU [05:28:12]CAPDU: 80 0D 03 02 [05:28:12]Write to MH i2c: E2 08 00 94 1A 80 0D 03 02 00 00 00 00 29 [05:28:12]Write i2c OK [05:28:12]MH_I2C_Read... [05:28:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:28:12]Read from MH i2c: E2 [05:28:12]MH_I2C_Read... [05:28:12]Read from MH i2c: E2 0B 00 [05:28:12]MH_I2C_Read... [05:28:12]Read from MH i2c: E2 0B 00 94 1A 00 5D CF 9F 86 5D B0 78 07 90 00 07 [05:28:12]RAPDU: 5D CF 9F 86 5D B0 78 07 90 00 [05:28:12]wFMCommunicate OK [05:28:12]SAM_PROTO_SignData done [05:28:12]FM_MakeSignedData done [05:28:12]CreateOFDProtocolMessage [05:28:12]wFMCommunicate request_size=4 [05:28:12]MH_SAM_APDU [05:28:12]CAPDU: 80 11 00 00 [05:28:12]Write to MH i2c: E2 08 00 95 1A 80 11 00 00 00 00 00 00 29 [05:28:12]Write i2c OK [05:28:12]MH_I2C_Read... [05:28:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:28:12]Read from MH i2c: E2 [05:28:12]MH_I2C_Read... [05:28:12]Read from MH i2c: E2 17 00 [05:28:12]MH_I2C_Read... [05:28:12]Read from MH i2c: E2 17 00 95 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 81 [05:28:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [05:28:12]wFMCommunicate OK [05:28:12]CreateOFDProtocolMessage done [05:28:12]OFDSenderStorePacket 26707 [05:28:12]StoreOFDPacket docnum=26707 [05:28:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 0C 5C 07 01 9E 0F 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 4C 31 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 8B 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8B 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 31 21 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 8B 38 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 F2 2E 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 53 68 00 00 35 04 06 00 36 8C E6 66 93 1B 5D CF 9F 86 5D B0 78 07 [05:28:12]CheckFolder [05:28:12]dirname=/storage/ofd_packets [05:28:12]CheckFolder done [05:28:12]ProducePacketName [05:28:12]name=ofd_packets/00026707 [05:28:12]NVStorageSaveData ofd_packets/00026707 [05:28:12]File name is /storage/ofd_packets/00026707 [05:28:12]Write 301 bytes [05:28:12]NVStorageSaveData done [05:28:12]OFDSenderStorePacket done [05:28:12]KKMCreateOFDPacket done [05:28:12]NVStorageSaveData kkm_last_timestamp [05:28:12]File name is /storage/kkm_last_timestamp [05:28:12]Write 4 bytes [05:28:12]NVStorageSaveData done [05:28:12]ExternCall_PrintAddStr [05:28:12]wPrintStart [05:28:12]Write to MH i2c: 01 00 00 96 1A B0 [05:28:12]Write i2c OK [05:28:12]MH_I2C_Read... [05:28:12]Read from MH i2c: 01 [05:28:12]MH_I2C_Read... [05:28:12]Read from MH i2c: 01 07 00 [05:28:12]MH_I2C_Read... [05:28:12]Read from MH i2c: 01 07 00 96 1A 00 00 00 00 00 FF 0F C5 [05:28:12]RasterBufferAndPrint [05:28:12]line Счет N : (1)359450 [05:28:12]line ИНН: 02508201610067 [05:28:12]line Контрольно-Кассовый Чек [05:28:12]line ПРОДАЖА [05:28:12]line ТРК (МРК, ГНК) : 61 [05:28:12]line Товар: 2710124130 [05:28:12]line Аи-92-К-5 [05:28:12]line 12.620 * 63.40 [05:28:12]line = 800.11 [05:28:12]line НДС 12% НСП 1% [05:28:12]line > о реализуемом товаре [05:28:12]line ИТОГО: 800.11 [05:28:12]line НСП 1% : 7.08 [05:28:12]line НДС 12% : 84.97 [05:28:12]line Наличными: 0.00 [05:28:12]line Безнал.: 800.11 [05:28:12]line Место: АЗС № 122 "Партнер Нефть" [05:28:12]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [05:28:12]line СНО: Общий режим [05:28:12]line Чек 6 07.04.2024 05:28 [05:28:12]line Смена: 313 ФФД: 1.0 [05:28:12]line ЗНМ: 0300000147 [05:28:12]line РНМ: 0000000000091578 [05:28:12]line Версия ККМ: 001 [05:28:12]line Платежная система: O! деньги [05:28:12]line ФМ: 0000000000874657 [05:28:12]line ФД: 26707 [05:28:12]line ФПД: 59978788803355 [05:28:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T052818&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26707&fm=59978788803355&tin=02508201610067®Number=0000000000091578&sum=80011 [05:28:12]written 0, free lines is 4095 [05:28:12]OFD Sender: Processing packet 26707 [packets to send 44, broken 43] [05:28:12]ProducePacketName [05:28:12]name=ofd_packets/00026707 [05:28:12]OFD Sender: To server: pG, [05:28:12]CommunicateWithHost lk.salyk.kg:30040 [05:28:12]ConnectInit lk.salyk.kg [05:28:12]Connected sock=10 [05:28:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 0C 5C 07 01 9E 0F 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 4C 31 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 8B 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8B 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 31 21 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 8B 38 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 F2 2E 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 53 68 00 00 35 04 06 00 36 8C E6 66 93 1B 5D CF 9F 86 5D B0 78 07 [05:28:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 36 ED 47 00 93 69 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 37 10 04 04 00 53 68 00 00 F4 03 04 00 60 D6 11 66 B6 04 01 00 00 E2 09 F9 83 B6 F3 BB 00 [05:28:12]CommunicateWithHost err = 0 [05:28:12]CheckOFDResponse [05:28:12]1017 (14) - 77093643461234 [05:28:12]1041 (16) - 0000000000874657 [05:28:12]1040 (4) - 26707 [05:28:12]1012 (4) - 06.04.2024 23:10 [05:28:12]1206 (1) - 0 [05:28:12]OFD Sender: Remove packet 26707 [05:28:12]ProducePacketName [05:28:12]name=ofd_packets/00026707 [05:28:12]NVStorageDeleteData [05:28:12]Write to MH i2c: 01 00 00 C0 1A DA [05:28:12]Write i2c OK [05:28:12]MH_I2C_Read... [05:28:12]Read from MH i2c: 01 [05:28:12]MH_I2C_Read... [05:28:12]Read from MH i2c: 01 07 00 [05:28:12]MH_I2C_Read... [05:28:12]Read from MH i2c: 01 07 00 C0 1A 00 00 00 00 00 8C 0C 79 [05:28:12]RasterBufferAndPrint [05:28:12]line [05:28:12]line [05:28:12]line [05:28:12]line [05:28:12]line [05:28:12]written 0, free lines is 3215 [05:28:12]MH_Cut [05:28:12]Write to MH i2c: D1 01 00 C7 1A 01 B3 [05:28:12]Write i2c OK [05:28:12]MH_I2C_Read... [05:28:12]Read from MH i2c: D1 [05:28:12]MH_I2C_Read... [05:28:12]Read from MH i2c: D1 01 00 [05:28:12]MH_I2C_Read... [05:28:12]Read from MH i2c: D1 01 00 C7 1A 00 B2 [05:28:12]Write to MH i2c: 01 00 00 C8 1A E2 [05:28:12]Write i2c OK [05:28:12]MH_I2C_Read... [05:28:13]OFD Sender: No OFD packet to send [05:28:13]*** Cut start [05:28:13]*** Partial cut [05:28:13]*** CUTSNS_PIN = 1 [05:28:14]*** CUTSNS_PIN = 0 [05:28:14]*** Brake cut motor [05:28:14]Read from MH i2c: 01 [05:28:14]MH_I2C_Read... [05:28:14]*** Stop cut motor [05:28:14]*** Cut end [05:28:14]Read from MH i2c: 01 07 00 [05:28:14]MH_I2C_Read... [05:28:14]Read from MH i2c: 01 07 00 C8 1A 00 00 00 00 00 FF 0F F7 [05:28:14]process_action close_receipt done [05:28:14]requested_data is exist [05:28:14]produce_requested_data [05:28:14]requested_item fm.sn is exist - process it [05:28:14]wFMCommunicate request_size=4 [05:28:14]MH_SAM_APDU [05:28:14]CAPDU: 80 11 00 00 [05:28:14]Write to MH i2c: E2 08 00 C9 1A 80 11 00 00 00 00 00 00 5D [05:28:14]Write i2c OK [05:28:14]MH_I2C_Read... [05:28:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:28:14]Read from MH i2c: E2 [05:28:14]MH_I2C_Read... [05:28:14]Read from MH i2c: E2 17 00 [05:28:14]MH_I2C_Read... [05:28:14]Read from MH i2c: E2 17 00 C9 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 B5 [05:28:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [05:28:14]wFMCommunicate OK [05:28:14]requested_item fd.num is exist - process it [05:28:14]SAM_PROTO_GetFieldsCounters [05:28:14]wFMCommunicate request_size=4 [05:28:14]MH_SAM_APDU [05:28:14]CAPDU: 80 13 00 00 [05:28:14]Write to MH i2c: E2 08 00 CA 1A 80 13 00 00 00 00 00 00 60 [05:28:14]Write i2c OK [05:28:14]MH_I2C_Read... [05:28:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:28:14]Read from MH i2c: E2 [05:28:14]MH_I2C_Read... [05:28:14]Read from MH i2c: E2 62 00 [05:28:14]MH_I2C_Read... [05:28:14]Read from MH i2c: E2 62 00 CA 1A 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 53 68 00 00 0E 04 04 00 39 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 92 [05:28: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 53 68 00 00 0E 04 04 00 39 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 [05:28:14]wFMCommunicate OK [05:28:14]SAM_PROTO_GetFieldsCounters done [05:28:14]requested_item shift.num is exist - process it [05:28:14]requested_item shift.opened is exist - process it [05:28:14]req_shift_opened [05:28:14]FM_GetShiftState [05:28:14]SAM_PROTO_GetShiftState [05:28:14]wFMCommunicate request_size=4 [05:28:14]MH_SAM_APDU [05:28:14]CAPDU: 80 13 01 00 [05:28:14]Write to MH i2c: E2 08 00 CB 1A 80 13 01 00 00 00 00 00 62 [05:28:14]Write i2c OK [05:28:14]MH_I2C_Read... [05:28:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:28:14]Read from MH i2c: E2 [05:28:14]MH_I2C_Read... [05:28:14]Read from MH i2c: E2 0E 00 [05:28:14]MH_I2C_Read... [05:28:14]Read from MH i2c: E2 0E 00 CB 1A 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 F6 [05:28:14]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [05:28:14]wFMCommunicate OK [05:28:14]SAM_PROTO_GetShiftState done [05:28:14]FM_GetShiftState done [05:28:14]req_shift_opened done [05:28:14]requested_item shift.open_date is exist - process it [05:28:14]req_shift_open_date [05:28:14]req_shift_open_date done [05:28:14]produce_requested_data done [05:28:14]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26707,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [05:28:14]process_action_free close_receipt [05:28:14]json_value_free [05:28:14]json_value_free done [05:28:14]process_json_proto returns [05:28:14]Send response to host [05:28:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26707,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [05:28:14]free response buf [05:28:14]execute_script done [05:28:14]execute_script returns [05:28:14]free content buf [05:28:14]Sock 8.Close socket [05:28:14]Sock 8.Thread stoped [05:28:18]OFD Sender: No OFD packet to send [05:28:23]OFD Sender: No OFD packet to send [05:28:28]OFD Sender: No OFD packet to send [05:28:33]OFD Sender: No OFD packet to send [05:28:38]OFD Sender: No OFD packet to send [05:28:43]OFD Sender: No OFD packet to send [05:28:48]OFD Sender: No OFD packet to send [05:28:53]OFD Sender: No OFD packet to send [05:28:58]OFD Sender: No OFD packet to send [05:29:03]OFD Sender: No OFD packet to send [05:29:08]OFD Sender: No OFD packet to send [05:29:13]OFD Sender: No OFD packet to send [05:29:18]OFD Sender: No OFD packet to send [05:29:23]OFD Sender: No OFD packet to send [05:29:28]OFD Sender: No OFD packet to send [05:29:33]OFD Sender: No OFD packet to send [05:29:38]OFD Sender: No OFD packet to send [05:29:43]OFD Sender: No OFD packet to send [05:29:48]OFD Sender: No OFD packet to send [05:29:53]OFD Sender: No OFD packet to send [05:29:58]OFD Sender: No OFD packet to send [05:30:03]OFD Sender: No OFD packet to send [05:30:08]OFD Sender: No OFD packet to send [05:30:13]OFD Sender: No OFD packet to send [05:30:18]OFD Sender: No OFD packet to send [05:30:23]OFD Sender: No OFD packet to send [05:30:28]OFD Sender: No OFD packet to send [05:30:33]OFD Sender: No OFD packet to send [05:30:38]OFD Sender: No OFD packet to send [05:30:43]OFD Sender: No OFD packet to send [05:30:48]OFD Sender: No OFD packet to send [05:30:53]OFD Sender: No OFD packet to send [05:30:58]OFD Sender: No OFD packet to send [05:31:03]OFD Sender: No OFD packet to send [05:31:08]OFD Sender: No OFD packet to send [05:31:13]OFD Sender: No OFD packet to send [05:31:18]OFD Sender: No OFD packet to send [05:31:23]OFD Sender: No OFD packet to send [05:31:28]OFD Sender: No OFD packet to send [05:31:33]OFD Sender: No OFD packet to send [05:31:38]OFD Sender: No OFD packet to send [05:31:43]OFD Sender: No OFD packet to send [05:31:48]OFD Sender: No OFD packet to send [05:31:53]OFD Sender: No OFD packet to send [05:31:58]OFD Sender: No OFD packet to send [05:32:03]OFD Sender: No OFD packet to send [05:32:08]OFD Sender: No OFD packet to send [05:32:13]OFD Sender: No OFD packet to send [05:32:18]OFD Sender: No OFD packet to send [05:32:23]OFD Sender: No OFD packet to send [05:32:28]OFD Sender: No OFD packet to send [05:32:33]OFD Sender: No OFD packet to send [05:32:38]OFD Sender: No OFD packet to send [05:32:43]OFD Sender: No OFD packet to send [05:32:48]OFD Sender: No OFD packet to send [05:32:53]OFD Sender: No OFD packet to send [05:32:58]OFD Sender: No OFD packet to send [05:33:03]OFD Sender: No OFD packet to send [05:33:08]OFD Sender: No OFD packet to send [05:33:13]OFD Sender: No OFD packet to send [05:33:18]OFD Sender: No OFD packet to send [05:33:23]OFD Sender: No OFD packet to send [05:33:28]OFD Sender: No OFD packet to send [05:33:33]OFD Sender: No OFD packet to send [05:33:38]OFD Sender: No OFD packet to send [05:33:43]OFD Sender: No OFD packet to send [05:33:48]OFD Sender: No OFD packet to send [05:33:53]OFD Sender: No OFD packet to send [05:33:58]OFD Sender: No OFD packet to send [05:34:03]OFD Sender: No OFD packet to send [05:34:08]OFD Sender: No OFD packet to send [05:34:13]OFD Sender: No OFD packet to send [05:34:18]OFD Sender: No OFD packet to send [05:34:23]OFD Sender: No OFD packet to send [05:34:28]OFD Sender: No OFD packet to send [05:34:33]OFD Sender: No OFD packet to send [05:34:38]OFD Sender: No OFD packet to send [05:34:43]OFD Sender: No OFD packet to send [05:34:48]OFD Sender: No OFD packet to send [05:34:53]OFD Sender: No OFD packet to send [05:34:58]OFD Sender: No OFD packet to send [05:35:03]OFD Sender: No OFD packet to send [05:35:08]OFD Sender: No OFD packet to send [05:35:13]OFD Sender: No OFD packet to send [05:35:18]OFD Sender: No OFD packet to send [05:35:23]OFD Sender: No OFD packet to send [05:35:28]OFD Sender: No OFD packet to send [05:35:33]OFD Sender: No OFD packet to send [05:35:38]OFD Sender: No OFD packet to send [05:35:43]OFD Sender: No OFD packet to send [05:35:48]OFD Sender: No OFD packet to send [05:35:53]OFD Sender: No OFD packet to send [05:35:58]OFD Sender: No OFD packet to send [05:36:03]OFD Sender: No OFD packet to send [05:36:08]OFD Sender: No OFD packet to send [05:36:13]OFD Sender: No OFD packet to send [05:36:18]OFD Sender: No OFD packet to send [05:36:23]OFD Sender: No OFD packet to send [05:36:28]OFD Sender: No OFD packet to send [05:36:33]OFD Sender: No OFD packet to send [05:36:38]OFD Sender: No OFD packet to send [05:36:43]OFD Sender: No OFD packet to send [05:36:48]OFD Sender: No OFD packet to send [05:36:53]OFD Sender: No OFD packet to send [05:36:58]OFD Sender: No OFD packet to send [05:37:03]OFD Sender: No OFD packet to send [05:37:08]OFD Sender: No OFD packet to send [05:37:13]OFD Sender: No OFD packet to send [05:37:18]OFD Sender: No OFD packet to send [05:37:23]OFD Sender: No OFD packet to send [05:37:28]OFD Sender: No OFD packet to send [05:37:33]OFD Sender: No OFD packet to send [05:37:38]OFD Sender: No OFD packet to send [05:37:43]OFD Sender: No OFD packet to send [05:37:48]OFD Sender: No OFD packet to send [05:37:53]accept exits with 9 [05:37:53]New connection [05:37:53]New thread 3067014500 created [05:37:53]Thread 3066871140 joined [05:37:53]Waiting for new connection... [05:37:53] Sock 9.Parse request [05:37:53]Sock 9.Check first char [05:37:53]Sock 9.First char is OK [05:37:53]request: POST /json_proto HTTP/1.0 [05:37:53]Method: POST [05:37:53]URL: /json_proto [05:37:53]Method is POST - this is cgi request [05:37:53]url: /json_proto [05:37:53]query_string will be loaded in cgi processing [05:37:53]execute_cgi json_proto POST (null) [05:37:53]execute_cgi path=json_proto method=POST [05:37:53]POST find Content-Length [05:37:53]Host: 172.17.35.3:8080 [05:37:53]Content-Length: 687 [05:37:53]Content-Type: application/json [05:37:53] [05:37:53]POST finish read [05:37:53]Found Content-Length = 687 [05:37:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359451", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 27.860, "sum" : 2000.35, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:37:53]execute_script... [05:37: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 : (1)359451", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 27.860, "sum" : 2000.35, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:37:53]POST & json_proto [05:37:53]process_json_proto [05:37:53]json parsed OK: [05:37:53]protocol is kg_v1.0 [05:37:53]action value=close_receipt [05:37:53]process_action close_receipt [05:37:53]cmd_close_receipt [05:37:53]MH_GetDate [05:37:53]Write to MH i2c: F0 00 00 CC 1A D5 [05:37:53]Write i2c OK [05:37:53]MH_I2C_Read... [05:37:53]Read from MH i2c: F0 [05:37:53]MH_I2C_Read... [05:37:53]Read from MH i2c: F0 09 00 [05:37:53]MH_I2C_Read... [05:37:53]Read from MH i2c: F0 09 00 CC 1A 00 39 31 12 66 2B 11 66 64 C6 [05:37:53]GetLastDocTimeStamp 1712467698 [05:37:53]current date 1712468281 [05:37:53]FM_GetShiftState [05:37:53]SAM_PROTO_GetShiftState [05:37:53]wFMCommunicate request_size=4 [05:37:53]MH_SAM_APDU [05:37:53]CAPDU: 80 13 01 00 [05:37:53]Write to MH i2c: E2 08 00 CD 1A 80 13 01 00 00 00 00 00 64 [05:37:53]Write i2c OK [05:37:53]MH_I2C_Read... [05:37:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:37:53]Read from MH i2c: E2 [05:37:53]MH_I2C_Read... [05:37:53]Read from MH i2c: E2 0E 00 [05:37:53]MH_I2C_Read... [05:37:53]Read from MH i2c: E2 0E 00 CD 1A 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 F8 [05:37:53]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [05:37:53]wFMCommunicate OK [05:37:53]SAM_PROTO_GetShiftState done [05:37:53]FM_GetShiftState done [05:37:53]opened in 1712450087 [05:37:53]opened+sec_in_day 1712536487 [05:37:53]quantity*price = 200034 [05:37:53]sum+1 = 200036 [05:37:53]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.35 ИТОГО: 2000.00 Внесено: 2000.00 СДАЧА: 0.00 НСП 1% : 17.70 НДС 12% : 212.43 Наличными: 2000.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 7 07.04.2024 05:38 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26708 ФПД: 135810175734466 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T053801&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26708&fm=135810175734466&tin=02508201610067®Number=0000000000091578&sum=200000 [05:37:54]StoreToDocumentArchive [05:37:54]shift 313 fd 26708 [05:37:54]save to /storage/0313/doc_00026708 [05:37:54]save last doc name /storage/0313/doc_00026708 to /storage/kkm_last_doc_name [05:37:54]save OK [05:37:54]Clear old archive folders... [05:37:54]ProcessDocumentItem done err = 0, tmpTLVsize=252 [05:37:54]tlvbuf is B6ED0C40 [05:37:54]SAM_PROTO_ClearQueue [05:37:54]wFMCommunicate request_size=4 [05:37:54]MH_SAM_APDU [05:37:54]CAPDU: 80 09 00 00 [05:37:54]Write to MH i2c: E2 08 00 DA 1A 80 09 00 00 00 00 00 00 66 [05:37:54]Write i2c OK [05:37:54]MH_I2C_Read... [05:37:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:37:54]Read from MH i2c: E2 [05:37:54]MH_I2C_Read... [05:37:54]Read from MH i2c: E2 03 00 [05:37:54]MH_I2C_Read... [05:37:54]Read from MH i2c: E2 03 00 DA 1A 00 90 00 68 [05:37:54]RAPDU: 90 00 [05:37:54]wFMCommunicate OK [05:37:54]SAM_PROTO_ClearQueue done [05:37:54]KKMCreateOFDPacket [05:37:54]OFDProtocolAddRootSTLVToBuf [05:37:54]FM_MakeSignedData [05:37:54]FM_MakeSignedData [05:37:54]SAM_PROTO_SignData [05:37:54]wFMCommunicate request_size=4 [05:37:54]MH_SAM_APDU [05:37:54]CAPDU: 80 0D 01 02 [05:37:54]Write to MH i2c: E2 08 00 DB 1A 80 0D 01 02 00 00 00 00 6E [05:37:54]Write i2c OK [05:37:54]MH_I2C_Read... [05:37:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:37:54]Read from MH i2c: E2 [05:37:54]MH_I2C_Read... [05:37:54]Read from MH i2c: E2 03 00 [05:37:54]MH_I2C_Read... [05:37:54]Read from MH i2c: E2 03 00 DB 1A 00 90 00 69 [05:37:54]RAPDU: 90 00 [05:37:54]wFMCommunicate OK [05:37:54]wFMCommunicate request_size=255 [05:37:54]MH_SAM_APDU [05:37:54]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 D4 6C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 63 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 52 00 00 00 00 07 04 06 00 40 0D 03 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 39 31 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 54 68 00 00 35 04 06 00 [05:37:54]Write to MH i2c: E2 02 01 DC 1A 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 D4 6C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 63 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 52 00 00 00 00 07 04 06 00 40 0D 03 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 39 31 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 54 68 00 00 35 04 06 00 00 00 54 [05:37:54]Write i2c OK [05:37:54]MH_I2C_Read... [05:37:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:37:55]Read from MH i2c: E2 [05:37:55]MH_I2C_Read... [05:37:55]Read from MH i2c: E2 03 00 [05:37:55]MH_I2C_Read... [05:37:55]Read from MH i2c: E2 03 00 DC 1A 00 90 00 6A [05:37:55]RAPDU: 90 00 [05:37:55]wFMCommunicate OK [05:37:55]wFMCommunicate request_size=11 [05:37:55]MH_SAM_APDU [05:37:55]CAPDU: 80 0D 02 02 06 7B 84 C5 48 12 C2 [05:37:55]Write to MH i2c: E2 0E 00 DD 1A 80 0D 02 02 06 00 7B 84 C5 48 12 C2 00 00 5D [05:37:55]Write i2c OK [05:37:55]MH_I2C_Read... [05:37:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:37:55]Read from MH i2c: E2 [05:37:55]MH_I2C_Read... [05:37:55]Read from MH i2c: E2 03 00 [05:37:55]MH_I2C_Read... [05:37:55]Read from MH i2c: E2 03 00 DD 1A 00 90 00 6B [05:37:55]RAPDU: 90 00 [05:37:55]wFMCommunicate OK [05:37:55]wFMCommunicate request_size=4 [05:37:55]MH_SAM_APDU [05:37:55]CAPDU: 80 0D 03 02 [05:37:55]Write to MH i2c: E2 08 00 DE 1A 80 0D 03 02 00 00 00 00 73 [05:37:55]Write i2c OK [05:37:55]MH_I2C_Read... [05:37:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:37:55]Read from MH i2c: E2 [05:37:55]MH_I2C_Read... [05:37:55]Read from MH i2c: E2 0B 00 [05:37:55]MH_I2C_Read... [05:37:55]Read from MH i2c: E2 0B 00 DE 1A 00 8B A9 CF 6E 6C D8 45 91 90 00 FF [05:37:55]RAPDU: 8B A9 CF 6E 6C D8 45 91 90 00 [05:37:55]wFMCommunicate OK [05:37:55]SAM_PROTO_SignData done [05:37:55]FM_MakeSignedData done [05:37:55]CreateOFDProtocolMessage [05:37:55]wFMCommunicate request_size=4 [05:37:55]MH_SAM_APDU [05:37:55]CAPDU: 80 11 00 00 [05:37:55]Write to MH i2c: E2 08 00 DF 1A 80 11 00 00 00 00 00 00 73 [05:37:55]Write i2c OK [05:37:55]MH_I2C_Read... [05:37:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:37:55]Read from MH i2c: E2 [05:37:55]MH_I2C_Read... [05:37:55]Read from MH i2c: E2 17 00 [05:37:55]MH_I2C_Read... [05:37:55]Read from MH i2c: E2 17 00 DF 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 CB [05:37:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [05:37:55]wFMCommunicate OK [05:37:55]CreateOFDProtocolMessage done [05:37:55]OFDSenderStorePacket 26708 [05:37:55]StoreOFDPacket docnum=26708 [05:37:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 BE A1 08 01 B0 CB 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 D4 6C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 63 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 52 00 00 00 00 07 04 06 00 40 0D 03 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 39 31 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 54 68 00 00 35 04 06 00 7B 84 C5 48 12 C2 8B A9 CF 6E 6C D8 45 91 [05:37:55]CheckFolder [05:37:55]dirname=/storage/ofd_packets [05:37:55]CheckFolder done [05:37:55]ProducePacketName [05:37:55]name=ofd_packets/00026708 [05:37:55]NVStorageSaveData ofd_packets/00026708 [05:37:55]File name is /storage/ofd_packets/00026708 [05:37:55]Write 302 bytes [05:37:55]NVStorageSaveData done [05:37:55]OFDSenderStorePacket done [05:37:55]KKMCreateOFDPacket done [05:37:55]NVStorageSaveData kkm_last_timestamp [05:37:55]File name is /storage/kkm_last_timestamp [05:37:55]Write 4 bytes [05:37:55]NVStorageSaveData done [05:37:55]ExternCall_PrintAddStr [05:37:55]wPrintStart [05:37:55]Write to MH i2c: 01 00 00 E0 1A FA [05:37:55]Write i2c OK [05:37:55]MH_I2C_Read... [05:37:55]Read from MH i2c: 01 [05:37:55]MH_I2C_Read... [05:37:55]Read from MH i2c: 01 07 00 [05:37:55]MH_I2C_Read... [05:37:55]Read from MH i2c: 01 07 00 E0 1A 00 00 00 00 00 FF 0F 0F [05:37:55]RasterBufferAndPrint [05:37:55]line Счет N : (1)359451 [05:37:55]line ИНН: 02508201610067 [05:37:55]line Контрольно-Кассовый Чек [05:37:55]line ПРОДАЖА [05:37:55]line ТРК (МРК, ГНК) : 11 [05:37:55]line Товар: 2710194210 [05:37:55]line ДТ(л)-К-5 [05:37:55]line 27.860 * 71.80 [05:37:55]line = 2000.35 [05:37:55]line НДС 12% НСП 1% [05:37:55]line > о реализуемом товаре [05:37:55]line ОКРУГЛЕНИЕ: -0.35 [05:37:55]line ИТОГО: 2000.00 [05:37:55]line Внесено: 2000.00 [05:37:55]line СДАЧА: 0.00 [05:37:55]line НСП 1% : 17.70 [05:37:55]line НДС 12% : 212.43 [05:37:55]line Наличными: 2000.00 [05:37:55]line Безнал.: 0.00 [05:37:55]line Место: АЗС № 122 "Партнер Нефть" [05:37:55]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [05:37:55]line СНО: Общий режим [05:37:55]line Чек 7 07.04.2024 05:38 [05:37:55]line Смена: 313 ФФД: 1.0 [05:37:55]line ЗНМ: 0300000147 [05:37:55]line РНМ: 0000000000091578 [05:37:55]line Версия ККМ: 001 [05:37:55]line ФМ: 0000000000874657 [05:37:55]line ФД: 26708 [05:37:55]line ФПД: 135810175734466 [05:37:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T053801&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26708&fm=135810175734466&tin=02508201610067®Number=0000000000091578&sum=200000 [05:37:55]written 0, free lines is 4095 [05:37:55]OFD Sender: Processing packet 26708 [packets to send 44, broken 43] [05:37:55]ProducePacketName [05:37:55]name=ofd_packets/00026708 [05:37:55]OFD Sender: To server: pG, [05:37:55]CommunicateWithHost lk.salyk.kg:30040 [05:37:55]ConnectInit lk.salyk.kg [05:37:55]Connected sock=11 [05:37: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 36 35 37 10 01 00 00 BE A1 08 01 B0 CB 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 D4 6C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 63 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 52 00 00 00 00 07 04 06 00 40 0D 03 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 39 31 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 54 68 00 00 35 04 06 00 7B 84 C5 48 12 C2 8B A9 CF 6E 6C D8 45 91 [05:37:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 87 6A 47 00 1C 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 36 35 37 10 04 04 00 54 68 00 00 F4 03 04 00 A6 D8 11 66 B6 04 01 00 00 88 1F B7 59 B5 CD 73 B7 [05:37:55]CommunicateWithHost err = 0 [05:37:55]CheckOFDResponse [05:37:55]1017 (14) - 77093643461234 [05:37:55]1041 (16) - 0000000000874657 [05:37:55]1040 (4) - 26708 [05:37:55]1012 (4) - 06.04.2024 23:20 [05:37:55]1206 (1) - 0 [05:37:55]OFD Sender: Remove packet 26708 [05:37:55]ProducePacketName [05:37:55]name=ofd_packets/00026708 [05:37:55]NVStorageDeleteData [05:37:55]Write to MH i2c: 01 00 00 0B 1B 26 [05:37:55]Write i2c OK [05:37:55]MH_I2C_Read... [05:37:55]Read from MH i2c: 01 [05:37:55]MH_I2C_Read... [05:37:55]Read from MH i2c: 01 07 00 [05:37:55]MH_I2C_Read... [05:37:55]Read from MH i2c: 01 07 00 0B 1B 00 00 00 00 00 79 0C B2 [05:37:55]RasterBufferAndPrint [05:37:55]line [05:37:55]line [05:37:55]line [05:37:55]line [05:37:55]line [05:37:55]written 0, free lines is 3196 [05:37:55]MH_Cut [05:37:55]Write to MH i2c: D1 01 00 12 1B 01 FF [05:37:55]Write i2c OK [05:37:55]MH_I2C_Read... [05:37:55]Read from MH i2c: D1 [05:37:55]MH_I2C_Read... [05:37:55]Read from MH i2c: D1 01 00 [05:37:55]MH_I2C_Read... [05:37:55]Read from MH i2c: D1 01 00 12 1B 00 FE [05:37:55]Write to MH i2c: 01 00 00 13 1B 2E [05:37:55]Write i2c OK [05:37:55]MH_I2C_Read... [05:37:56]OFD Sender: No OFD packet to send [05:37:56]*** Cut start [05:37:56]*** Partial cut [05:37:56]*** CUTSNS_PIN = 1 [05:37:56]*** CUTSNS_PIN = 0 [05:37:57]*** Brake cut motor [05:37:57]Read from MH i2c: 01 [05:37:57]MH_I2C_Read... [05:37:57]*** Stop cut motor [05:37:57]*** Cut end [05:37:57]Read from MH i2c: 01 07 00 [05:37:57]MH_I2C_Read... [05:37:57]Read from MH i2c: 01 07 00 13 1B 00 00 00 00 00 FF 0F 43 [05:37:57]process_action close_receipt done [05:37:57]requested_data is exist [05:37:57]produce_requested_data [05:37:57]requested_item fm.sn is exist - process it [05:37:57]wFMCommunicate request_size=4 [05:37:57]MH_SAM_APDU [05:37:57]CAPDU: 80 11 00 00 [05:37:57]Write to MH i2c: E2 08 00 14 1B 80 11 00 00 00 00 00 00 A9 [05:37:57]Write i2c OK [05:37:57]MH_I2C_Read... [05:37:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:37:57]Read from MH i2c: E2 [05:37:57]MH_I2C_Read... [05:37:57]Read from MH i2c: E2 17 00 [05:37:57]MH_I2C_Read... [05:37:57]Read from MH i2c: E2 17 00 14 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 01 [05:37:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [05:37:57]wFMCommunicate OK [05:37:57]requested_item fd.num is exist - process it [05:37:57]SAM_PROTO_GetFieldsCounters [05:37:57]wFMCommunicate request_size=4 [05:37:57]MH_SAM_APDU [05:37:57]CAPDU: 80 13 00 00 [05:37:57]Write to MH i2c: E2 08 00 15 1B 80 13 00 00 00 00 00 00 AC [05:37:57]Write i2c OK [05:37:57]MH_I2C_Read... [05:37:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:37:57]Read from MH i2c: E2 [05:37:57]MH_I2C_Read... [05:37:57]Read from MH i2c: E2 62 00 [05:37:57]MH_I2C_Read... [05:37:57]Read from MH i2c: E2 62 00 15 1B 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 54 68 00 00 0E 04 04 00 39 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 E2 [05:37: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 54 68 00 00 0E 04 04 00 39 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 [05:37:57]wFMCommunicate OK [05:37:57]SAM_PROTO_GetFieldsCounters done [05:37:57]requested_item shift.num is exist - process it [05:37:57]requested_item shift.opened is exist - process it [05:37:57]req_shift_opened [05:37:57]FM_GetShiftState [05:37:57]SAM_PROTO_GetShiftState [05:37:57]wFMCommunicate request_size=4 [05:37:57]MH_SAM_APDU [05:37:57]CAPDU: 80 13 01 00 [05:37:57]Write to MH i2c: E2 08 00 16 1B 80 13 01 00 00 00 00 00 AE [05:37:57]Write i2c OK [05:37:57]MH_I2C_Read... [05:37:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:37:57]Read from MH i2c: E2 [05:37:57]MH_I2C_Read... [05:37:57]Read from MH i2c: E2 0E 00 [05:37:57]MH_I2C_Read... [05:37:57]Read from MH i2c: E2 0E 00 16 1B 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 42 [05:37:57]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [05:37:57]wFMCommunicate OK [05:37:57]SAM_PROTO_GetShiftState done [05:37:57]FM_GetShiftState done [05:37:57]req_shift_opened done [05:37:57]requested_item shift.open_date is exist - process it [05:37:57]req_shift_open_date [05:37:57]req_shift_open_date done [05:37:57]produce_requested_data done [05:37:57]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26708,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [05:37:57]process_action_free close_receipt [05:37:57]json_value_free [05:37:57]json_value_free done [05:37:57]process_json_proto returns [05:37:57]Send response to host [05:37:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26708,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [05:37:57]free response buf [05:37:57]execute_script done [05:37:57]execute_script returns [05:37:57]free content buf [05:37:57]Sock 9.Close socket [05:37:57]Sock 9.Thread stoped [05:38:01]OFD Sender: No OFD packet to send [05:38:06]OFD Sender: No OFD packet to send [05:38:11]OFD Sender: No OFD packet to send [05:38:16]OFD Sender: No OFD packet to send [05:38:21]OFD Sender: No OFD packet to send [05:38:26]OFD Sender: No OFD packet to send [05:38:31]OFD Sender: No OFD packet to send [05:38:36]OFD Sender: No OFD packet to send [05:38:41]OFD Sender: No OFD packet to send [05:38:46]OFD Sender: No OFD packet to send [05:38:51]OFD Sender: No OFD packet to send [05:38:56]OFD Sender: No OFD packet to send [05:39:01]OFD Sender: No OFD packet to send [05:39:06]OFD Sender: No OFD packet to send [05:39:11]OFD Sender: No OFD packet to send [05:39:16]OFD Sender: No OFD packet to send [05:39:21]OFD Sender: No OFD packet to send [05:39:26]OFD Sender: No OFD packet to send [05:39:31]OFD Sender: No OFD packet to send [05:39:36]OFD Sender: No OFD packet to send [05:39:41]OFD Sender: No OFD packet to send [05:39:46]OFD Sender: No OFD packet to send [05:39:51]OFD Sender: No OFD packet to send [05:39:56]OFD Sender: No OFD packet to send [05:40:01]OFD Sender: No OFD packet to send [05:40:06]OFD Sender: No OFD packet to send [05:40:11]OFD Sender: No OFD packet to send [05:40:16]OFD Sender: No OFD packet to send [05:40:21]OFD Sender: No OFD packet to send [05:40:26]OFD Sender: No OFD packet to send [05:40:31]OFD Sender: No OFD packet to send [05:40:36]OFD Sender: No OFD packet to send [05:40:41]OFD Sender: No OFD packet to send [05:40:46]OFD Sender: No OFD packet to send [05:40:51]OFD Sender: No OFD packet to send [05:40:56]OFD Sender: No OFD packet to send [05:41:01]OFD Sender: No OFD packet to send [05:41:06]OFD Sender: No OFD packet to send [05:41:11]OFD Sender: No OFD packet to send [05:41:16]OFD Sender: No OFD packet to send [05:41:21]OFD Sender: No OFD packet to send [05:41:26]OFD Sender: No OFD packet to send [05:41:31]OFD Sender: No OFD packet to send [05:41:36]OFD Sender: No OFD packet to send [05:41:41]OFD Sender: No OFD packet to send [05:41:46]OFD Sender: No OFD packet to send [05:41:51]OFD Sender: No OFD packet to send [05:41:56]OFD Sender: No OFD packet to send [05:42:01]OFD Sender: No OFD packet to send [05:42:06]OFD Sender: No OFD packet to send [05:42:11]OFD Sender: No OFD packet to send [05:42:16]OFD Sender: No OFD packet to send [05:42:21]OFD Sender: No OFD packet to send [05:42:26]OFD Sender: No OFD packet to send [05:42:31]OFD Sender: No OFD packet to send [05:42:36]OFD Sender: No OFD packet to send [05:42:41]OFD Sender: No OFD packet to send [05:42:46]OFD Sender: No OFD packet to send [05:42:51]OFD Sender: No OFD packet to send [05:42:56]OFD Sender: No OFD packet to send [05:43:01]OFD Sender: No OFD packet to send [05:43:06]OFD Sender: No OFD packet to send [05:43:11]OFD Sender: No OFD packet to send [05:43:16]OFD Sender: No OFD packet to send [05:43:21]OFD Sender: No OFD packet to send [05:43:26]OFD Sender: No OFD packet to send [05:43:31]OFD Sender: No OFD packet to send [05:43:36]OFD Sender: No OFD packet to send [05:43:41]OFD Sender: No OFD packet to send [05:43:46]OFD Sender: No OFD packet to send [05:43:51]OFD Sender: No OFD packet to send [05:43:56]OFD Sender: No OFD packet to send [05:44:01]OFD Sender: No OFD packet to send [05:44:06]OFD Sender: No OFD packet to send [05:44:11]OFD Sender: No OFD packet to send [05:44:16]OFD Sender: No OFD packet to send [05:44:21]OFD Sender: No OFD packet to send [05:44:26]OFD Sender: No OFD packet to send [05:44:31]OFD Sender: No OFD packet to send [05:44:36]OFD Sender: No OFD packet to send [05:44:41]OFD Sender: No OFD packet to send [05:44:46]OFD Sender: No OFD packet to send [05:44:51]OFD Sender: No OFD packet to send [05:44:56]OFD Sender: No OFD packet to send [05:45:01]OFD Sender: No OFD packet to send [05:45:06]OFD Sender: No OFD packet to send [05:45:11]OFD Sender: No OFD packet to send [05:45:16]OFD Sender: No OFD packet to send [05:45:21]OFD Sender: No OFD packet to send [05:45:26]OFD Sender: No OFD packet to send [05:45:31]OFD Sender: No OFD packet to send [05:45:36]OFD Sender: No OFD packet to send [05:45:41]OFD Sender: No OFD packet to send [05:45:46]OFD Sender: No OFD packet to send [05:45:51]OFD Sender: No OFD packet to send [05:45:56]OFD Sender: No OFD packet to send [05:46:01]OFD Sender: No OFD packet to send [05:46:06]OFD Sender: No OFD packet to send [05:46:11]OFD Sender: No OFD packet to send [05:46:16]OFD Sender: No OFD packet to send [05:46:21]OFD Sender: No OFD packet to send [05:46:26]OFD Sender: No OFD packet to send [05:46:31]OFD Sender: No OFD packet to send [05:46:36]OFD Sender: No OFD packet to send [05:46:41]OFD Sender: No OFD packet to send [05:46:46]OFD Sender: No OFD packet to send [05:46:51]OFD Sender: No OFD packet to send [05:46:56]OFD Sender: No OFD packet to send [05:47:01]OFD Sender: No OFD packet to send [05:47:06]OFD Sender: No OFD packet to send [05:47:11]OFD Sender: No OFD packet to send [05:47:16]OFD Sender: No OFD packet to send [05:47:21]OFD Sender: No OFD packet to send [05:47:26]OFD Sender: No OFD packet to send [05:47:31]OFD Sender: No OFD packet to send [05:47:36]OFD Sender: No OFD packet to send [05:47:41]OFD Sender: No OFD packet to send [05:47:46]OFD Sender: No OFD packet to send [05:47:51]OFD Sender: No OFD packet to send [05:47:56]OFD Sender: No OFD packet to send [05:48:01]OFD Sender: No OFD packet to send [05:48:06]OFD Sender: No OFD packet to send [05:48:11]OFD Sender: No OFD packet to send [05:48:16]OFD Sender: No OFD packet to send [05:48:21]OFD Sender: No OFD packet to send [05:48:26]OFD Sender: No OFD packet to send [05:48:31]OFD Sender: No OFD packet to send [05:48:36]OFD Sender: No OFD packet to send [05:48:41]OFD Sender: No OFD packet to send [05:48:46]OFD Sender: No OFD packet to send [05:48:51]OFD Sender: No OFD packet to send [05:48:56]OFD Sender: No OFD packet to send [05:49:01]OFD Sender: No OFD packet to send [05:49:06]OFD Sender: No OFD packet to send [05:49:11]OFD Sender: No OFD packet to send [05:49:16]OFD Sender: No OFD packet to send [05:49:21]OFD Sender: No OFD packet to send [05:49:26]OFD Sender: No OFD packet to send [05:49:31]OFD Sender: No OFD packet to send [05:49:36]OFD Sender: No OFD packet to send [05:49:41]OFD Sender: No OFD packet to send [05:49:46]OFD Sender: No OFD packet to send [05:49:51]OFD Sender: No OFD packet to send [05:49:56]OFD Sender: No OFD packet to send [05:50:01]OFD Sender: No OFD packet to send [05:50:06]OFD Sender: No OFD packet to send [05:50:11]OFD Sender: No OFD packet to send [05:50:16]OFD Sender: No OFD packet to send [05:50:21]OFD Sender: No OFD packet to send [05:50:26]OFD Sender: No OFD packet to send [05:50:31]OFD Sender: No OFD packet to send [05:50:36]OFD Sender: No OFD packet to send [05:50:41]OFD Sender: No OFD packet to send [05:50:46]OFD Sender: No OFD packet to send [05:50:51]OFD Sender: No OFD packet to send [05:50:56]OFD Sender: No OFD packet to send [05:51:01]OFD Sender: No OFD packet to send [05:51:06]OFD Sender: No OFD packet to send [05:51:11]OFD Sender: No OFD packet to send [05:51:16]OFD Sender: No OFD packet to send [05:51:21]OFD Sender: No OFD packet to send [05:51:26]OFD Sender: No OFD packet to send [05:51:31]OFD Sender: No OFD packet to send [05:51:36]OFD Sender: No OFD packet to send [05:51:41]OFD Sender: No OFD packet to send [05:51:46]OFD Sender: No OFD packet to send [05:51:51]OFD Sender: No OFD packet to send [05:51:56]OFD Sender: No OFD packet to send [05:52:01]OFD Sender: No OFD packet to send [05:52:06]OFD Sender: No OFD packet to send [05:52:11]OFD Sender: No OFD packet to send [05:52:16]OFD Sender: No OFD packet to send [05:52:21]OFD Sender: No OFD packet to send [05:52:26]OFD Sender: No OFD packet to send [05:52:31]OFD Sender: No OFD packet to send [05:52:36]OFD Sender: No OFD packet to send [05:52:41]OFD Sender: No OFD packet to send [05:52:46]OFD Sender: No OFD packet to send [05:52:51]OFD Sender: No OFD packet to send [05:52:56]OFD Sender: No OFD packet to send [05:53:01]OFD Sender: No OFD packet to send [05:53:06]OFD Sender: No OFD packet to send [05:53:11]OFD Sender: No OFD packet to send [05:53:16]OFD Sender: No OFD packet to send [05:53:21]OFD Sender: No OFD packet to send [05:53:26]OFD Sender: No OFD packet to send [05:53:31]OFD Sender: No OFD packet to send [05:53:36]OFD Sender: No OFD packet to send [05:53:41]OFD Sender: No OFD packet to send [05:53:46]OFD Sender: No OFD packet to send [05:53:51]OFD Sender: No OFD packet to send [05:53:56]OFD Sender: No OFD packet to send [05:54:01]OFD Sender: No OFD packet to send [05:54:06]OFD Sender: No OFD packet to send [05:54:11]OFD Sender: No OFD packet to send [05:54:16]OFD Sender: No OFD packet to send [05:54:21]OFD Sender: No OFD packet to send [05:54:27]OFD Sender: No OFD packet to send [05:54:32]OFD Sender: No OFD packet to send [05:54:37]OFD Sender: No OFD packet to send [05:54:42]OFD Sender: No OFD packet to send [05:54:47]OFD Sender: No OFD packet to send [05:54:52]OFD Sender: No OFD packet to send [05:54:57]OFD Sender: No OFD packet to send [05:55:02]OFD Sender: No OFD packet to send [05:55:07]OFD Sender: No OFD packet to send [05:55:12]OFD Sender: No OFD packet to send [05:55:17]OFD Sender: No OFD packet to send [05:55:22]OFD Sender: No OFD packet to send [05:55:27]OFD Sender: No OFD packet to send [05:55:32]OFD Sender: No OFD packet to send [05:55:37]OFD Sender: No OFD packet to send [05:55:42]OFD Sender: No OFD packet to send [05:55:47]OFD Sender: No OFD packet to send [05:55:52]OFD Sender: No OFD packet to send [05:55:57]OFD Sender: No OFD packet to send [05:56:02]OFD Sender: No OFD packet to send [05:56:07]OFD Sender: No OFD packet to send [05:56:12]OFD Sender: No OFD packet to send [05:56:17]OFD Sender: No OFD packet to send [05:56:22]OFD Sender: No OFD packet to send [05:56:27]OFD Sender: No OFD packet to send [05:56:32]OFD Sender: No OFD packet to send [05:56:37]OFD Sender: No OFD packet to send [05:56:42]OFD Sender: No OFD packet to send [05:56:47]OFD Sender: No OFD packet to send [05:56:52]OFD Sender: No OFD packet to send [05:56:57]OFD Sender: No OFD packet to send [05:57:02]OFD Sender: No OFD packet to send [05:57:07]OFD Sender: No OFD packet to send [05:57:12]OFD Sender: No OFD packet to send [05:57:17]OFD Sender: No OFD packet to send [05:57:22]OFD Sender: No OFD packet to send [05:57:27]OFD Sender: No OFD packet to send [05:57:32]OFD Sender: No OFD packet to send [05:57:37]OFD Sender: No OFD packet to send [05:57:42]OFD Sender: No OFD packet to send [05:57:47]OFD Sender: No OFD packet to send [05:57:52]OFD Sender: No OFD packet to send [05:57:57]OFD Sender: No OFD packet to send [05:58:02]OFD Sender: No OFD packet to send [05:58:07]OFD Sender: No OFD packet to send [05:58:12]OFD Sender: No OFD packet to send [05:58:17]OFD Sender: No OFD packet to send [05:58:22]OFD Sender: No OFD packet to send [05:58:27]OFD Sender: No OFD packet to send [05:58:32]OFD Sender: No OFD packet to send [05:58:37]OFD Sender: No OFD packet to send [05:58:42]OFD Sender: No OFD packet to send [05:58:47]OFD Sender: No OFD packet to send [05:58:52]OFD Sender: No OFD packet to send [05:58:57]OFD Sender: No OFD packet to send [05:59:02]OFD Sender: No OFD packet to send [05:59:07]OFD Sender: No OFD packet to send [05:59:12]OFD Sender: No OFD packet to send [05:59:17]OFD Sender: No OFD packet to send [05:59:22]OFD Sender: No OFD packet to send [05:59:27]OFD Sender: No OFD packet to send [05:59:32]OFD Sender: No OFD packet to send [05:59:37]OFD Sender: No OFD packet to send [05:59:42]OFD Sender: No OFD packet to send [05:59:47]OFD Sender: No OFD packet to send [05:59:52]OFD Sender: No OFD packet to send [05:59:57]OFD Sender: No OFD packet to send [06:00:02]OFD Sender: No OFD packet to send [06:00:07]OFD Sender: No OFD packet to send [06:00:12]OFD Sender: No OFD packet to send [06:00:17]OFD Sender: No OFD packet to send [06:00:22]OFD Sender: No OFD packet to send [06:00:27]OFD Sender: No OFD packet to send [06:00:32]OFD Sender: No OFD packet to send [06:00:37]OFD Sender: No OFD packet to send [06:00:42]OFD Sender: No OFD packet to send [06:00:47]OFD Sender: No OFD packet to send [06:00:52]OFD Sender: No OFD packet to send [06:00:57]OFD Sender: No OFD packet to send [06:01:02]OFD Sender: No OFD packet to send [06:01:07]OFD Sender: No OFD packet to send [06:01:12]OFD Sender: No OFD packet to send [06:01:17]OFD Sender: No OFD packet to send [06:01:22]OFD Sender: No OFD packet to send [06:01:27]OFD Sender: No OFD packet to send [06:01:32]OFD Sender: No OFD packet to send [06:01:37]OFD Sender: No OFD packet to send [06:01:42]OFD Sender: No OFD packet to send [06:01:47]OFD Sender: No OFD packet to send [06:01:52]OFD Sender: No OFD packet to send [06:01:57]OFD Sender: No OFD packet to send [06:02:02]OFD Sender: No OFD packet to send [06:02:07]OFD Sender: No OFD packet to send [06:02:12]OFD Sender: No OFD packet to send [06:02:17]OFD Sender: No OFD packet to send [06:02:22]OFD Sender: No OFD packet to send [06:02:27]OFD Sender: No OFD packet to send [06:02:32]OFD Sender: No OFD packet to send [06:02:37]OFD Sender: No OFD packet to send [06:02:42]OFD Sender: No OFD packet to send [06:02:47]OFD Sender: No OFD packet to send [06:02:52]OFD Sender: No OFD packet to send [06:02:57]OFD Sender: No OFD packet to send [06:03:02]OFD Sender: No OFD packet to send [06:03:07]OFD Sender: No OFD packet to send [06:03:12]OFD Sender: No OFD packet to send [06:03:17]OFD Sender: No OFD packet to send [06:03:22]OFD Sender: No OFD packet to send [06:03:27]OFD Sender: No OFD packet to send [06:03:32]OFD Sender: No OFD packet to send [06:03:37]OFD Sender: No OFD packet to send [06:03:42]OFD Sender: No OFD packet to send [06:03:47]OFD Sender: No OFD packet to send [06:03:52]OFD Sender: No OFD packet to send [06:03:57]OFD Sender: No OFD packet to send [06:04:02]OFD Sender: No OFD packet to send [06:04:07]OFD Sender: No OFD packet to send [06:04:12]OFD Sender: No OFD packet to send [06:04:17]OFD Sender: No OFD packet to send [06:04:22]OFD Sender: No OFD packet to send [06:04:27]OFD Sender: No OFD packet to send [06:04:32]OFD Sender: No OFD packet to send [06:04:37]OFD Sender: No OFD packet to send [06:04:42]OFD Sender: No OFD packet to send [06:04:47]OFD Sender: No OFD packet to send [06:04:52]OFD Sender: No OFD packet to send [06:04:57]OFD Sender: No OFD packet to send [06:05:02]OFD Sender: No OFD packet to send [06:05:07]OFD Sender: No OFD packet to send [06:05:12]OFD Sender: No OFD packet to send [06:05:17]OFD Sender: No OFD packet to send [06:05:22]OFD Sender: No OFD packet to send [06:05:27]OFD Sender: No OFD packet to send [06:05:32]OFD Sender: No OFD packet to send [06:05:37]OFD Sender: No OFD packet to send [06:05:42]OFD Sender: No OFD packet to send [06:05:47]OFD Sender: No OFD packet to send [06:05:52]OFD Sender: No OFD packet to send [06:05:57]OFD Sender: No OFD packet to send [06:06:02]OFD Sender: No OFD packet to send [06:06:07]OFD Sender: No OFD packet to send [06:06:12]OFD Sender: No OFD packet to send [06:06:17]OFD Sender: No OFD packet to send [06:06:22]OFD Sender: No OFD packet to send [06:06:27]OFD Sender: No OFD packet to send [06:06:32]OFD Sender: No OFD packet to send [06:06:37]OFD Sender: No OFD packet to send [06:06:42]OFD Sender: No OFD packet to send [06:06:47]OFD Sender: No OFD packet to send [06:06:52]OFD Sender: No OFD packet to send [06:06:57]OFD Sender: No OFD packet to send [06:07:02]OFD Sender: No OFD packet to send [06:07:07]OFD Sender: No OFD packet to send [06:07:12]OFD Sender: No OFD packet to send [06:07:17]OFD Sender: No OFD packet to send [06:07:22]OFD Sender: No OFD packet to send [06:07:27]OFD Sender: No OFD packet to send [06:07:32]OFD Sender: No OFD packet to send [06:07:37]OFD Sender: No OFD packet to send [06:07:42]OFD Sender: No OFD packet to send [06:07:47]OFD Sender: No OFD packet to send [06:07:52]OFD Sender: No OFD packet to send [06:07:57]OFD Sender: No OFD packet to send [06:08:02]OFD Sender: No OFD packet to send [06:08:07]OFD Sender: No OFD packet to send [06:08:12]OFD Sender: No OFD packet to send [06:08:17]OFD Sender: No OFD packet to send [06:08:22]OFD Sender: No OFD packet to send [06:08:27]OFD Sender: No OFD packet to send [06:08:32]OFD Sender: No OFD packet to send [06:08:37]OFD Sender: No OFD packet to send [06:08:42]OFD Sender: No OFD packet to send [06:08:47]OFD Sender: No OFD packet to send [06:08:52]OFD Sender: No OFD packet to send [06:08:57]OFD Sender: No OFD packet to send [06:09:02]OFD Sender: No OFD packet to send [06:09:07]OFD Sender: No OFD packet to send [06:09:12]OFD Sender: No OFD packet to send [06:09:17]OFD Sender: No OFD packet to send [06:09:22]OFD Sender: No OFD packet to send [06:09:27]OFD Sender: No OFD packet to send [06:09:32]OFD Sender: No OFD packet to send [06:09:37]OFD Sender: No OFD packet to send [06:09:42]OFD Sender: No OFD packet to send [06:09:47]OFD Sender: No OFD packet to send [06:09:52]OFD Sender: No OFD packet to send [06:09:57]OFD Sender: No OFD packet to send [06:10:02]OFD Sender: No OFD packet to send [06:10:07]OFD Sender: No OFD packet to send [06:10:12]OFD Sender: No OFD packet to send [06:10:17]OFD Sender: No OFD packet to send [06:10:22]OFD Sender: No OFD packet to send [06:10:27]OFD Sender: No OFD packet to send [06:10:32]OFD Sender: No OFD packet to send [06:10:37]OFD Sender: No OFD packet to send [06:10:42]OFD Sender: No OFD packet to send [06:10:47]OFD Sender: No OFD packet to send [06:10:52]OFD Sender: No OFD packet to send [06:10:57]OFD Sender: No OFD packet to send [06:11:02]OFD Sender: No OFD packet to send [06:11:07]OFD Sender: No OFD packet to send [06:11:12]OFD Sender: No OFD packet to send [06:11:17]OFD Sender: No OFD packet to send [06:11:22]OFD Sender: No OFD packet to send [06:11:27]OFD Sender: No OFD packet to send [06:11:32]OFD Sender: No OFD packet to send [06:11:37]OFD Sender: No OFD packet to send [06:11:42]OFD Sender: No OFD packet to send [06:11:47]OFD Sender: No OFD packet to send [06:11:52]OFD Sender: No OFD packet to send [06:11:58]OFD Sender: No OFD packet to send [06:12:03]OFD Sender: No OFD packet to send [06:12:08]OFD Sender: No OFD packet to send [06:12:13]OFD Sender: No OFD packet to send [06:12:18]OFD Sender: No OFD packet to send [06:12:23]OFD Sender: No OFD packet to send [06:12:28]OFD Sender: No OFD packet to send [06:12:33]OFD Sender: No OFD packet to send [06:12:38]OFD Sender: No OFD packet to send [06:12:43]OFD Sender: No OFD packet to send [06:12:48]OFD Sender: No OFD packet to send [06:12:53]OFD Sender: No OFD packet to send [06:12:58]OFD Sender: No OFD packet to send [06:13:03]OFD Sender: No OFD packet to send [06:13:08]OFD Sender: No OFD packet to send [06:13:13]OFD Sender: No OFD packet to send [06:13:18]OFD Sender: No OFD packet to send [06:13:23]OFD Sender: No OFD packet to send [06:13:28]OFD Sender: No OFD packet to send [06:13:33]OFD Sender: No OFD packet to send [06:13:38]OFD Sender: No OFD packet to send [06:13:43]OFD Sender: No OFD packet to send [06:13:48]OFD Sender: No OFD packet to send [06:13:48]accept exits with 8 [06:13:48]New connection [06:13:48]New thread 3066871140 created [06:13:48]Thread 3067014500 joined [06:13:48]Waiting for new connection... [06:13:48] Sock 8.Parse request [06:13:48]Sock 8.Check first char [06:13:48]Sock 8.First char is OK [06:13:48]request: POST /json_proto HTTP/1.0 [06:13:48]Method: POST [06:13:48]URL: /json_proto [06:13:48]Method is POST - this is cgi request [06:13:48]url: /json_proto [06:13:48]query_string will be loaded in cgi processing [06:13:48]execute_cgi json_proto POST (null) [06:13:48]execute_cgi path=json_proto method=POST [06:13:48]POST find Content-Length [06:13:48]Host: 172.17.35.3:8080 [06:13:48]Content-Length: 808 [06:13:48]Content-Type: application/json [06:13:48] [06:13:48]POST finish read [06:13:48]Found Content-Length = 808 [06:13:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359452", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 41.790, "sum" : 3000.52, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 3000.52 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:13:48]execute_script... [06:13: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 : (1)359452", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 41.790, "sum" : 3000.52, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 3000.52 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:13:48]POST & json_proto [06:13:48]process_json_proto [06:13:48]json parsed OK: [06:13:48]protocol is kg_v1.0 [06:13:48]action value=close_receipt [06:13:48]process_action close_receipt [06:13:48]cmd_close_receipt [06:13:48]MH_GetDate [06:13:48]Write to MH i2c: F0 00 00 17 1B 21 [06:13:48]Write i2c OK [06:13:48]MH_I2C_Read... [06:13:48]Read from MH i2c: F0 [06:13:48]MH_I2C_Read... [06:13:48]Read from MH i2c: F0 09 00 [06:13:48]MH_I2C_Read... [06:13:48]Read from MH i2c: F0 09 00 17 1B 00 A4 39 12 66 2B 11 66 64 85 [06:13:48]GetLastDocTimeStamp 1712468281 [06:13:48]current date 1712470436 [06:13:48]FM_GetShiftState [06:13:48]SAM_PROTO_GetShiftState [06:13:48]wFMCommunicate request_size=4 [06:13:48]MH_SAM_APDU [06:13:48]CAPDU: 80 13 01 00 [06:13:48]Write to MH i2c: E2 08 00 18 1B 80 13 01 00 00 00 00 00 B0 [06:13:48]Write i2c OK [06:13:48]MH_I2C_Read... [06:13:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:13:48]Read from MH i2c: E2 [06:13:48]MH_I2C_Read... [06:13:48]Read from MH i2c: E2 0E 00 [06:13:48]MH_I2C_Read... [06:13:48]Read from MH i2c: E2 0E 00 18 1B 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 44 [06:13:48]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [06:13:48]wFMCommunicate OK [06:13:48]SAM_PROTO_GetShiftState done [06:13:48]FM_GetShiftState done [06:13:48]opened in 1712450087 [06:13:48]opened+sec_in_day 1712536487 [06:13:48]quantity*price = 300052 [06:13:48]sum+1 = 300053 [06:13:48]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 3000.52 НСП 1% : 26.55 НДС 12% : 318.64 Наличными: 0.00 Безнал.: 3000.52 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 8 07.04.2024 06:13 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000874657 ФД: 26709 ФПД: 174005015991841 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T061356&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26709&fm=174005015991841&tin=02508201610067®Number=0000000000091578&sum=300052 [06:13:49]StoreToDocumentArchive [06:13:49]shift 313 fd 26709 [06:13:49]save to /storage/0313/doc_00026709 [06:13:49]save last doc name /storage/0313/doc_00026709 to /storage/kkm_last_doc_name [06:13:49]save OK [06:13:49]Clear old archive folders... [06:13:49]ProcessDocumentItem done err = 0, tmpTLVsize=252 [06:13:49]tlvbuf is 00EDF380 [06:13:49]SAM_PROTO_ClearQueue [06:13:49]wFMCommunicate request_size=4 [06:13:49]MH_SAM_APDU [06:13:49]CAPDU: 80 09 00 00 [06:13:49]Write to MH i2c: E2 08 00 25 1B 80 09 00 00 00 00 00 00 B2 [06:13:49]Write i2c OK [06:13:49]MH_I2C_Read... [06:13:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:13:49]Read from MH i2c: E2 [06:13:49]MH_I2C_Read... [06:13:49]Read from MH i2c: E2 03 00 [06:13:49]MH_I2C_Read... [06:13:49]Read from MH i2c: E2 03 00 25 1B 00 90 00 B4 [06:13:49]RAPDU: 90 00 [06:13:49]wFMCommunicate OK [06:13:49]SAM_PROTO_ClearQueue done [06:13:49]KKMCreateOFDPacket [06:13:49]OFDProtocolAddRootSTLVToBuf [06:13:49]FM_MakeSignedData [06:13:49]FM_MakeSignedData [06:13:49]SAM_PROTO_SignData [06:13:49]wFMCommunicate request_size=4 [06:13:49]MH_SAM_APDU [06:13:49]CAPDU: 80 0D 01 02 [06:13:49]Write to MH i2c: E2 08 00 26 1B 80 0D 01 02 00 00 00 00 BA [06:13:49]Write i2c OK [06:13:49]MH_I2C_Read... [06:13:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:13:49]Read from MH i2c: E2 [06:13:49]MH_I2C_Read... [06:13:49]Read from MH i2c: E2 03 00 [06:13:49]MH_I2C_Read... [06:13:49]Read from MH i2c: E2 03 00 26 1B 00 90 00 B5 [06:13:49]RAPDU: 90 00 [06:13:49]wFMCommunicate OK [06:13:49]wFMCommunicate request_size=255 [06:13:49]MH_SAM_APDU [06:13:49]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 3E A3 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 14 94 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 94 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 78 7C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 14 94 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 A4 39 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 55 68 00 00 35 04 06 00 [06:13:49]Write to MH i2c: E2 02 01 27 1B 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 3E A3 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 14 94 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 94 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 78 7C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 14 94 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 A4 39 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 55 68 00 00 35 04 06 00 00 00 C7 [06:13:49]Write i2c OK [06:13:49]MH_I2C_Read... [06:13:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:13:50]Read from MH i2c: E2 [06:13:50]MH_I2C_Read... [06:13:50]Read from MH i2c: E2 03 00 [06:13:50]MH_I2C_Read... [06:13:50]Read from MH i2c: E2 03 00 27 1B 00 90 00 B6 [06:13:50]RAPDU: 90 00 [06:13:50]wFMCommunicate OK [06:13:50]wFMCommunicate request_size=11 [06:13:50]MH_SAM_APDU [06:13:50]CAPDU: 80 0D 02 02 06 9E 41 B3 2A D6 21 [06:13:50]Write to MH i2c: E2 0E 00 28 1B 80 0D 02 02 06 00 9E 41 B3 2A D6 21 00 00 7C [06:13:50]Write i2c OK [06:13:50]MH_I2C_Read... [06:13:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:13:50]Read from MH i2c: E2 [06:13:50]MH_I2C_Read... [06:13:50]Read from MH i2c: E2 03 00 [06:13:50]MH_I2C_Read... [06:13:50]Read from MH i2c: E2 03 00 28 1B 00 90 00 B7 [06:13:50]RAPDU: 90 00 [06:13:50]wFMCommunicate OK [06:13:50]wFMCommunicate request_size=4 [06:13:50]MH_SAM_APDU [06:13:50]CAPDU: 80 0D 03 02 [06:13:50]Write to MH i2c: E2 08 00 29 1B 80 0D 03 02 00 00 00 00 BF [06:13:50]Write i2c OK [06:13:50]MH_I2C_Read... [06:13:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:13:50]Read from MH i2c: E2 [06:13:50]MH_I2C_Read... [06:13:50]Read from MH i2c: E2 0B 00 [06:13:50]MH_I2C_Read... [06:13:50]Read from MH i2c: E2 0B 00 29 1B 00 30 2B 6A B4 BC AB FD BB 90 00 58 [06:13:50]RAPDU: 30 2B 6A B4 BC AB FD BB 90 00 [06:13:50]wFMCommunicate OK [06:13:50]SAM_PROTO_SignData done [06:13:50]FM_MakeSignedData done [06:13:50]CreateOFDProtocolMessage [06:13:50]wFMCommunicate request_size=4 [06:13:50]MH_SAM_APDU [06:13:50]CAPDU: 80 11 00 00 [06:13:50]Write to MH i2c: E2 08 00 2A 1B 80 11 00 00 00 00 00 00 BF [06:13:50]Write i2c OK [06:13:50]MH_I2C_Read... [06:13:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:13:50]Read from MH i2c: E2 [06:13:50]MH_I2C_Read... [06:13:50]Read from MH i2c: E2 17 00 [06:13:50]MH_I2C_Read... [06:13:50]Read from MH i2c: E2 17 00 2A 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 17 [06:13:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [06:13:50]wFMCommunicate OK [06:13:50]CreateOFDProtocolMessage done [06:13:50]OFDSenderStorePacket 26709 [06:13:50]StoreOFDPacket docnum=26709 [06:13:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 6E 7E 08 01 B0 E3 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 3E A3 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 14 94 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 94 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 78 7C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 14 94 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 A4 39 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 55 68 00 00 35 04 06 00 9E 41 B3 2A D6 21 30 2B 6A B4 BC AB FD BB [06:13:50]CheckFolder [06:13:50]dirname=/storage/ofd_packets [06:13:50]CheckFolder done [06:13:50]ProducePacketName [06:13:50]name=ofd_packets/00026709 [06:13:50]NVStorageSaveData ofd_packets/00026709 [06:13:50]File name is /storage/ofd_packets/00026709 [06:13:50]Write 302 bytes [06:13:50]NVStorageSaveData done [06:13:50]OFDSenderStorePacket done [06:13:50]KKMCreateOFDPacket done [06:13:50]NVStorageSaveData kkm_last_timestamp [06:13:50]File name is /storage/kkm_last_timestamp [06:13:50]Write 4 bytes [06:13:50]NVStorageSaveData done [06:13:50]ExternCall_PrintAddStr [06:13:50]wPrintStart [06:13:50]Write to MH i2c: 01 00 00 2B 1B 46 [06:13:50]Write i2c OK [06:13:50]MH_I2C_Read... [06:13:50]Read from MH i2c: 01 [06:13:50]MH_I2C_Read... [06:13:50]Read from MH i2c: 01 07 00 [06:13:50]MH_I2C_Read... [06:13:50]Read from MH i2c: 01 07 00 2B 1B 00 00 00 00 00 FF 0F 5B [06:13:50]RasterBufferAndPrint [06:13:50]line Счет N : (1)359452 [06:13:50]line ИНН: 02508201610067 [06:13:50]line Контрольно-Кассовый Чек [06:13:50]line ПРОДАЖА [06:13:50]line ТРК (МРК, ГНК) : 21 [06:13:50]line Товар: 2710194210 [06:13:50]line ДТ(л)-К-5 [06:13:50]line 41.790 * 71.80 [06:13:50]line = 3000.52 [06:13:50]line НДС 12% НСП 1% [06:13:50]line > о реализуемом товаре [06:13:50]line ИТОГО: 3000.52 [06:13:50]line НСП 1% : 26.55 [06:13:50]line НДС 12% : 318.64 [06:13:50]line Наличными: 0.00 [06:13:50]line Безнал.: 3000.52 [06:13:50]line Место: АЗС № 122 "Партнер Нефть" [06:13:50]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [06:13:50]line СНО: Общий режим [06:13:50]line Чек 8 07.04.2024 06:13 [06:13:50]line Смена: 313 ФФД: 1.0 [06:13:50]line ЗНМ: 0300000147 [06:13:50]line РНМ: 0000000000091578 [06:13:50]line Версия ККМ: 001 [06:13:50]line Платежная система: O! деньги [06:13:50]line ФМ: 0000000000874657 [06:13:50]line ФД: 26709 [06:13:50]line ФПД: 174005015991841 [06:13:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T061356&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26709&fm=174005015991841&tin=02508201610067®Number=0000000000091578&sum=300052 [06:13:50]OFD Sender: Processing packet 26709 [packets to send 44, broken 43] [06:13:50]ProducePacketName [06:13:50]name=ofd_packets/00026709 [06:13:50]OFD Sender: To server: pG, [06:13:50]CommunicateWithHost lk.salyk.kg:30040 [06:13:50]ConnectInit lk.salyk.kg [06:13:50]written 0, free lines is 4095 [06:13:50]Connected sock=10 [06:13: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 36 35 37 10 01 00 00 6E 7E 08 01 B0 E3 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 3E A3 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 14 94 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 94 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 78 7C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 14 94 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 A4 39 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 55 68 00 00 35 04 06 00 9E 41 B3 2A D6 21 30 2B 6A B4 BC AB FD BB [06:13:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 1E 66 47 00 87 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 36 35 37 10 04 04 00 55 68 00 00 F4 03 04 00 12 E1 11 66 B6 04 01 00 00 3F F5 B4 03 3C E9 47 CF [06:13:50]CommunicateWithHost err = 0 [06:13:50]CheckOFDResponse [06:13:50]1017 (14) - 77093643461234 [06:13:50]1041 (16) - 0000000000874657 [06:13:50]1040 (4) - 26709 [06:13:50]1012 (4) - 06.04.2024 23:56 [06:13:50]1206 (1) - 0 [06:13:50]OFD Sender: Remove packet 26709 [06:13:50]ProducePacketName [06:13:50]name=ofd_packets/00026709 [06:13:50]NVStorageDeleteData [06:13:51]Write to MH i2c: 01 00 00 55 1B 70 [06:13:51]Write i2c OK [06:13:51]MH_I2C_Read... [06:13:51]Read from MH i2c: 01 [06:13:51]MH_I2C_Read... [06:13:51]Read from MH i2c: 01 07 00 [06:13:51]MH_I2C_Read... [06:13:51]Read from MH i2c: 01 07 00 55 1B 00 00 00 00 00 91 0C 14 [06:13:51]RasterBufferAndPrint [06:13:51]line [06:13:51]line [06:13:51]line [06:13:51]line [06:13:51]line [06:13:51]written 0, free lines is 3220 [06:13:51]MH_Cut [06:13:51]Write to MH i2c: D1 01 00 5C 1B 01 49 [06:13:51]Write i2c OK [06:13:51]MH_I2C_Read... [06:13:51]Read from MH i2c: D1 [06:13:51]MH_I2C_Read... [06:13:51]Read from MH i2c: D1 01 00 [06:13:51]MH_I2C_Read... [06:13:51]Read from MH i2c: D1 01 00 5C 1B 00 48 [06:13:51]Write to MH i2c: 01 00 00 5D 1B 78 [06:13:51]Write i2c OK [06:13:51]MH_I2C_Read... [06:13:51]OFD Sender: No OFD packet to send [06:13:52]*** Cut start [06:13:52]*** Partial cut [06:13:52]*** CUTSNS_PIN = 1 [06:13:52]*** CUTSNS_PIN = 0 [06:13:52]*** Brake cut motor [06:13:53]Read from MH i2c: 01 [06:13:53]MH_I2C_Read... [06:13:53]*** Stop cut motor [06:13:53]*** Cut end [06:13:53]Read from MH i2c: 01 07 00 [06:13:53]MH_I2C_Read... [06:13:53]Read from MH i2c: 01 07 00 5D 1B 00 00 00 00 00 FF 0F 8D [06:13:53]process_action close_receipt done [06:13:53]requested_data is exist [06:13:53]produce_requested_data [06:13:53]requested_item fm.sn is exist - process it [06:13:53]wFMCommunicate request_size=4 [06:13:53]MH_SAM_APDU [06:13:53]CAPDU: 80 11 00 00 [06:13:53]Write to MH i2c: E2 08 00 5E 1B 80 11 00 00 00 00 00 00 F3 [06:13:53]Write i2c OK [06:13:53]MH_I2C_Read... [06:13:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:13:53]Read from MH i2c: E2 [06:13:53]MH_I2C_Read... [06:13:53]Read from MH i2c: E2 17 00 [06:13:53]MH_I2C_Read... [06:13:53]Read from MH i2c: E2 17 00 5E 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 4B [06:13:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [06:13:53]wFMCommunicate OK [06:13:53]requested_item fd.num is exist - process it [06:13:53]SAM_PROTO_GetFieldsCounters [06:13:53]wFMCommunicate request_size=4 [06:13:53]MH_SAM_APDU [06:13:53]CAPDU: 80 13 00 00 [06:13:53]Write to MH i2c: E2 08 00 5F 1B 80 13 00 00 00 00 00 00 F6 [06:13:53]Write i2c OK [06:13:53]MH_I2C_Read... [06:13:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:13:53]Read from MH i2c: E2 [06:13:53]MH_I2C_Read... [06:13:53]Read from MH i2c: E2 62 00 [06:13:53]MH_I2C_Read... [06:13:53]Read from MH i2c: E2 62 00 5F 1B 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 55 68 00 00 0E 04 04 00 39 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 30 [06:13: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 55 68 00 00 0E 04 04 00 39 01 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 [06:13:53]wFMCommunicate OK [06:13:53]SAM_PROTO_GetFieldsCounters done [06:13:53]requested_item shift.num is exist - process it [06:13:53]requested_item shift.opened is exist - process it [06:13:53]req_shift_opened [06:13:53]FM_GetShiftState [06:13:53]SAM_PROTO_GetShiftState [06:13:53]wFMCommunicate request_size=4 [06:13:53]MH_SAM_APDU [06:13:53]CAPDU: 80 13 01 00 [06:13:53]Write to MH i2c: E2 08 00 60 1B 80 13 01 00 00 00 00 00 F8 [06:13:53]Write i2c OK [06:13:53]MH_I2C_Read... [06:13:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:13:53]Read from MH i2c: E2 [06:13:53]MH_I2C_Read... [06:13:53]Read from MH i2c: E2 0E 00 [06:13:53]MH_I2C_Read... [06:13:53]Read from MH i2c: E2 0E 00 60 1B 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 8C [06:13:53]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [06:13:53]wFMCommunicate OK [06:13:53]SAM_PROTO_GetShiftState done [06:13:53]FM_GetShiftState done [06:13:53]req_shift_opened done [06:13:53]requested_item shift.open_date is exist - process it [06:13:53]req_shift_open_date [06:13:53]req_shift_open_date done [06:13:53]produce_requested_data done [06:13:53]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26709,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [06:13:53]process_action_free close_receipt [06:13:53]json_value_free [06:13:53]json_value_free done [06:13:53]process_json_proto returns [06:13:53]Send response to host [06:13:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26709,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [06:13:53]free response buf [06:13:53]execute_script done [06:13:53]execute_script returns [06:13:53]free content buf [06:13:53]Sock 8.Close socket [06:13:53]Sock 8.Thread stoped [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:51]OFD Sender: No OFD packet to send [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:07]OFD Sender: No OFD packet to send [06:23:12]OFD Sender: No OFD packet to send [06:23:17]OFD Sender: No OFD packet to send [06:23:22]OFD Sender: No OFD packet to send [06:23:27]OFD Sender: No OFD packet to send [06:23:32]OFD Sender: No OFD packet to send [06:23:37]OFD Sender: No OFD packet to send [06:23:42]OFD Sender: No OFD packet to send [06:23:47]OFD Sender: No OFD packet to send [06:23:52]OFD Sender: No OFD packet to send [06:23:57]OFD Sender: No OFD packet to send [06:24:02]OFD Sender: No OFD packet to send [06:24:07]OFD Sender: No OFD packet to send [06:24:12]OFD Sender: No OFD packet to send [06:24:17]OFD Sender: No OFD packet to send [06:24:22]OFD Sender: No OFD packet to send [06:24:27]OFD Sender: No OFD packet to send [06:24:32]OFD Sender: No OFD packet to send [06:24:37]OFD Sender: No OFD packet to send [06:24:42]OFD Sender: No OFD packet to send [06:24:47]OFD Sender: No OFD packet to send [06:24:52]OFD Sender: No OFD packet to send [06:24:57]OFD Sender: No OFD packet to send [06:25:02]OFD Sender: No OFD packet to send [06:25:07]OFD Sender: No OFD packet to send [06:25:12]OFD Sender: No OFD packet to send [06:25:17]OFD Sender: No OFD packet to send [06:25:22]OFD Sender: No OFD packet to send [06:25:27]OFD Sender: No OFD packet to send [06:25:32]OFD Sender: No OFD packet to send [06:25:37]OFD Sender: No OFD packet to send [06:25:42]OFD Sender: No OFD packet to send [06:25:47]OFD Sender: No OFD packet to send [06:25:52]OFD Sender: No OFD packet to send [06:25:57]OFD Sender: No OFD packet to send [06:26:02]OFD Sender: No OFD packet to send [06:26:07]OFD Sender: No OFD packet to send [06:26:12]OFD Sender: No OFD packet to send [06:26:17]OFD Sender: No OFD packet to send [06:26:22]OFD Sender: No OFD packet to send [06:26:27]OFD Sender: No OFD packet to send [06:26:32]OFD Sender: No OFD packet to send [06:26:37]OFD Sender: No OFD packet to send [06:26:42]OFD Sender: No OFD packet to send [06:26:47]OFD Sender: No OFD packet to send [06:26:52]OFD Sender: No OFD packet to send [06:26:57]OFD Sender: No OFD packet to send [06:27:02]OFD Sender: No OFD packet to send [06:27:07]OFD Sender: No OFD packet to send [06:27:12]OFD Sender: No OFD packet to send [06:27:17]OFD Sender: No OFD packet to send [06:27:22]OFD Sender: No OFD packet to send [06:27:27]OFD Sender: No OFD packet to send [06:27:32]OFD Sender: No OFD packet to send [06:27:37]OFD Sender: No OFD packet to send [06:27:42]OFD Sender: No OFD packet to send [06:27:47]OFD Sender: No OFD packet to send [06:27:52]OFD Sender: No OFD packet to send [06:27:57]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:23]accept exits with 9 [06:31:23]New connection [06:31:23]New thread 3067014500 created [06:31:23]Thread 3066871140 joined [06:31:23]Waiting for new connection... [06:31:23] Sock 9.Parse request [06:31:23]Sock 9.Check first char [06:31:23]Sock 9.First char is OK [06:31:23]request: POST /json_proto HTTP/1.0 [06:31:23]Method: POST [06:31:23]URL: /json_proto [06:31:23]Method is POST - this is cgi request [06:31:23]url: /json_proto [06:31:23]query_string will be loaded in cgi processing [06:31:23]execute_cgi json_proto POST (null) [06:31:23]execute_cgi path=json_proto method=POST [06:31:23]POST find Content-Length [06:31:23]Host: 172.17.35.3:8080 [06:31:23]Content-Length: 687 [06:31:23]Content-Type: application/json [06:31:23] [06:31:23]POST finish read [06:31:23]Found Content-Length = 687 [06:31:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359453", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "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" ] } } [06:31:23]execute_script... [06:31: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 : (1)359453", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "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" ] } } [06:31:23]POST & json_proto [06:31:23]process_json_proto [06:31:23]json parsed OK: [06:31:23]protocol is kg_v1.0 [06:31:23]action value=close_receipt [06:31:23]process_action close_receipt [06:31:23]cmd_close_receipt [06:31:23]MH_GetDate [06:31:23]Write to MH i2c: F0 00 00 61 1B 6B [06:31:23]Write i2c OK [06:31:23]MH_I2C_Read... [06:31:23]Read from MH i2c: F0 [06:31:23]MH_I2C_Read... [06:31:23]Read from MH i2c: F0 09 00 [06:31:23]MH_I2C_Read... [06:31:23]Read from MH i2c: F0 09 00 61 1B 00 C3 3D 12 66 2B 11 66 64 F2 [06:31:23]GetLastDocTimeStamp 1712470436 [06:31:23]current date 1712471491 [06:31:23]FM_GetShiftState [06:31:23]SAM_PROTO_GetShiftState [06:31:23]wFMCommunicate request_size=4 [06:31:23]MH_SAM_APDU [06:31:23]CAPDU: 80 13 01 00 [06:31:23]Write to MH i2c: E2 08 00 62 1B 80 13 01 00 00 00 00 00 FA [06:31:23]Write i2c OK [06:31:23]MH_I2C_Read... [06:31:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:31:23]Read from MH i2c: E2 [06:31:23]MH_I2C_Read... [06:31:23]Read from MH i2c: E2 0E 00 [06:31:23]MH_I2C_Read... [06:31:23]Read from MH i2c: E2 0E 00 62 1B 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 8E [06:31:23]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [06:31:23]wFMCommunicate OK [06:31:23]SAM_PROTO_GetShiftState done [06:31:23]FM_GetShiftState done [06:31:23]opened in 1712450087 [06:31:23]opened+sec_in_day 1712536487 [06:31:23]quantity*price = 100017 [06:31:23]sum+1 = 100018 [06:31:23]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.17 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.21 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 9 07.04.2024 06:31 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26710 ФПД: 280877526716164 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T063131&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26710&fm=280877526716164&tin=02508201610067®Number=0000000000091578&sum=100000 [06:31:24]StoreToDocumentArchive [06:31:24]shift 313 fd 26710 [06:31:24]save to /storage/0313/doc_00026710 [06:31:24]save last doc name /storage/0313/doc_00026710 to /storage/kkm_last_doc_name [06:31:24]save OK [06:31:24]Clear old archive folders... [06:31:24]ProcessDocumentItem done err = 0, tmpTLVsize=252 [06:31:24]tlvbuf is B6F64160 [06:31:24]SAM_PROTO_ClearQueue [06:31:24]wFMCommunicate request_size=4 [06:31:24]MH_SAM_APDU [06:31:24]CAPDU: 80 09 00 00 [06:31:24]Write to MH i2c: E2 08 00 6F 1B 80 09 00 00 00 00 00 00 FC [06:31:24]Write i2c OK [06:31:24]MH_I2C_Read... [06:31:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:31:25]Read from MH i2c: E2 [06:31:25]MH_I2C_Read... [06:31:25]Read from MH i2c: E2 03 00 [06:31:25]MH_I2C_Read... [06:31:25]Read from MH i2c: E2 03 00 6F 1B 00 90 00 FE [06:31:25]RAPDU: 90 00 [06:31:25]wFMCommunicate OK [06:31:25]SAM_PROTO_ClearQueue done [06:31:25]KKMCreateOFDPacket [06:31:25]OFDProtocolAddRootSTLVToBuf [06:31:25]FM_MakeSignedData [06:31:25]FM_MakeSignedData [06:31:25]SAM_PROTO_SignData [06:31:25]wFMCommunicate request_size=4 [06:31:25]MH_SAM_APDU [06:31:25]CAPDU: 80 0D 01 02 [06:31:25]Write to MH i2c: E2 08 00 70 1B 80 0D 01 02 00 00 00 00 04 [06:31:25]Write i2c OK [06:31:25]MH_I2C_Read... [06:31:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:31:25]Read from MH i2c: E2 [06:31:25]MH_I2C_Read... [06:31:25]Read from MH i2c: E2 03 00 [06:31:25]MH_I2C_Read... [06:31:25]Read from MH i2c: E2 03 00 70 1B 00 90 00 FF [06:31:25]RAPDU: 90 00 [06:31:25]wFMCommunicate OK [06:31:25]wFMCommunicate request_size=255 [06:31:25]MH_SAM_APDU [06:31:25]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 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 7D 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 09 00 00 00 F4 03 04 00 C3 3D 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 56 68 00 00 35 04 06 00 [06:31:25]Write to MH i2c: E2 02 01 71 1B 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 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 7D 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 09 00 00 00 F4 03 04 00 C3 3D 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 56 68 00 00 35 04 06 00 00 00 38 [06:31:25]Write i2c OK [06:31:25]MH_I2C_Read... [06:31:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:31:25]Read from MH i2c: E2 [06:31:25]MH_I2C_Read... [06:31:25]Read from MH i2c: E2 03 00 [06:31:25]MH_I2C_Read... [06:31:25]Read from MH i2c: E2 03 00 71 1B 00 90 00 00 [06:31:25]RAPDU: 90 00 [06:31:25]wFMCommunicate OK [06:31:25]wFMCommunicate request_size=11 [06:31:25]MH_SAM_APDU [06:31:25]CAPDU: 80 0D 02 02 06 FF 74 E5 34 8F 04 [06:31:25]Write to MH i2c: E2 0E 00 72 1B 80 0D 02 02 06 00 FF 74 E5 34 8F 04 00 00 32 [06:31:25]Write i2c OK [06:31:25]MH_I2C_Read... [06:31:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:31:25]Read from MH i2c: E2 [06:31:25]MH_I2C_Read... [06:31:25]Read from MH i2c: E2 03 00 [06:31:25]MH_I2C_Read... [06:31:25]Read from MH i2c: E2 03 00 72 1B 00 90 00 01 [06:31:25]RAPDU: 90 00 [06:31:25]wFMCommunicate OK [06:31:25]wFMCommunicate request_size=4 [06:31:25]MH_SAM_APDU [06:31:25]CAPDU: 80 0D 03 02 [06:31:25]Write to MH i2c: E2 08 00 73 1B 80 0D 03 02 00 00 00 00 09 [06:31:25]Write i2c OK [06:31:25]MH_I2C_Read... [06:31:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:31:25]Read from MH i2c: E2 [06:31:25]MH_I2C_Read... [06:31:25]Read from MH i2c: E2 0B 00 [06:31:25]MH_I2C_Read... [06:31:25]Read from MH i2c: E2 0B 00 73 1B 00 4F 39 92 C0 96 3B AB 9B 90 00 FB [06:31:25]RAPDU: 4F 39 92 C0 96 3B AB 9B 90 00 [06:31:25]wFMCommunicate OK [06:31:25]SAM_PROTO_SignData done [06:31:25]FM_MakeSignedData done [06:31:25]CreateOFDProtocolMessage [06:31:25]wFMCommunicate request_size=4 [06:31:25]MH_SAM_APDU [06:31:25]CAPDU: 80 11 00 00 [06:31:25]Write to MH i2c: E2 08 00 74 1B 80 11 00 00 00 00 00 00 09 [06:31:25]Write i2c OK [06:31:25]MH_I2C_Read... [06:31:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:31:25]Read from MH i2c: E2 [06:31:25]MH_I2C_Read... [06:31:25]Read from MH i2c: E2 17 00 [06:31:25]MH_I2C_Read... [06:31:25]Read from MH i2c: E2 17 00 74 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 61 [06:31:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [06:31:25]wFMCommunicate OK [06:31:25]CreateOFDProtocolMessage done [06:31:25]OFDSenderStorePacket 26710 [06:31:25]StoreOFDPacket docnum=26710 [06:31:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 D9 12 08 01 FA D0 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 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 7D 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 09 00 00 00 F4 03 04 00 C3 3D 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 56 68 00 00 35 04 06 00 FF 74 E5 34 8F 04 4F 39 92 C0 96 3B AB 9B [06:31:25]CheckFolder [06:31:25]dirname=/storage/ofd_packets [06:31:25]CheckFolder done [06:31:25]ProducePacketName [06:31:25]name=ofd_packets/00026710 [06:31:25]NVStorageSaveData ofd_packets/00026710 [06:31:25]File name is /storage/ofd_packets/00026710 [06:31:25]Write 302 bytes [06:31:25]NVStorageSaveData done [06:31:25]OFDSenderStorePacket done [06:31:25]KKMCreateOFDPacket done [06:31:25]NVStorageSaveData kkm_last_timestamp [06:31:25]File name is /storage/kkm_last_timestamp [06:31:25]Write 4 bytes [06:31:25]NVStorageSaveData done [06:31:25]ExternCall_PrintAddStr [06:31:25]wPrintStart [06:31:25]Write to MH i2c: 01 00 00 75 1B 90 [06:31:25]Write i2c OK [06:31:25]MH_I2C_Read... [06:31:25]Read from MH i2c: 01 [06:31:25]MH_I2C_Read... [06:31:25]Read from MH i2c: 01 07 00 [06:31:25]MH_I2C_Read... [06:31:25]Read from MH i2c: 01 07 00 75 1B 00 00 00 00 00 FF 0F A5 [06:31:25]RasterBufferAndPrint [06:31:25]line Счет N : (1)359453 [06:31:25]line ИНН: 02508201610067 [06:31:25]line Контрольно-Кассовый Чек [06:31:25]line ПРОДАЖА [06:31:25]line ТРК (МРК, ГНК) : 21 [06:31:25]line Товар: 2710194210 [06:31:25]line ДТ(л)-К-5 [06:31:25]line 13.930 * 71.80 [06:31:25]line = 1000.17 [06:31:25]line НДС 12% НСП 1% [06:31:25]line > о реализуемом товаре [06:31:25]line ОКРУГЛЕНИЕ: -0.17 [06:31:25]line ИТОГО: 1000.00 [06:31:25]line Внесено: 1000.00 [06:31:25]line СДАЧА: 0.00 [06:31:25]line НСП 1% : 8.85 [06:31:25]line НДС 12% : 106.21 [06:31:25]line Наличными: 1000.00 [06:31:25]line Безнал.: 0.00 [06:31:25]line Место: АЗС № 122 "Партнер Нефть" [06:31:25]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [06:31:25]line СНО: Общий режим [06:31:25]line Чек 9 07.04.2024 06:31 [06:31:25]line Смена: 313 ФФД: 1.0 [06:31:25]line ЗНМ: 0300000147 [06:31:25]line РНМ: 0000000000091578 [06:31:25]line Версия ККМ: 001 [06:31:25]line ФМ: 0000000000874657 [06:31:25]line ФД: 26710 [06:31:25]line ФПД: 280877526716164 [06:31:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T063131&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26710&fm=280877526716164&tin=02508201610067®Number=0000000000091578&sum=100000 [06:31:25]OFD Sender: Processing packet 26710 [packets to send 44, broken 43] [06:31:25]ProducePacketName [06:31:25]name=ofd_packets/00026710 [06:31:25]OFD Sender: To server: pG, [06:31:25]CommunicateWithHost lk.salyk.kg:30040 [06:31:25]ConnectInit lk.salyk.kg [06:31:25]written 0, free lines is 4095 [06:31:25]Connected sock=10 [06:31: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 36 35 37 10 01 00 00 D9 12 08 01 FA D0 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 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 7D 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 09 00 00 00 F4 03 04 00 C3 3D 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 56 68 00 00 35 04 06 00 FF 74 E5 34 8F 04 4F 39 92 C0 96 3B AB 9B [06:31:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 26 D3 47 00 D1 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 36 35 37 10 04 04 00 56 68 00 00 F4 03 04 00 31 E5 11 66 B6 04 01 00 00 CD C5 3B 03 6A 70 AC 19 [06:31:26]CommunicateWithHost err = 0 [06:31:26]CheckOFDResponse [06:31:26]1017 (14) - 77093643461234 [06:31:26]1041 (16) - 0000000000874657 [06:31:26]1040 (4) - 26710 [06:31:26]1012 (4) - 07.04.2024 00:13 [06:31:26]1206 (1) - 0 [06:31:26]OFD Sender: Remove packet 26710 [06:31:26]ProducePacketName [06:31:26]name=ofd_packets/00026710 [06:31:26]NVStorageDeleteData [06:31:26]Write to MH i2c: 01 00 00 A0 1B BB [06:31:26]Write i2c OK [06:31:26]MH_I2C_Read... [06:31:26]Read from MH i2c: 01 [06:31:26]MH_I2C_Read... [06:31:26]Read from MH i2c: 01 07 00 [06:31:26]MH_I2C_Read... [06:31:26]Read from MH i2c: 01 07 00 A0 1B 00 00 00 00 00 74 0C 42 [06:31:26]RasterBufferAndPrint [06:31:26]line [06:31:26]line [06:31:26]line [06:31:26]line [06:31:26]line [06:31:26]written 0, free lines is 3192 [06:31:26]MH_Cut [06:31:26]Write to MH i2c: D1 01 00 A7 1B 01 94 [06:31:26]Write i2c OK [06:31:26]MH_I2C_Read... [06:31:26]Read from MH i2c: D1 [06:31:26]MH_I2C_Read... [06:31:26]Read from MH i2c: D1 01 00 [06:31:26]MH_I2C_Read... [06:31:26]Read from MH i2c: D1 01 00 A7 1B 00 93 [06:31:26]Write to MH i2c: 01 00 00 A8 1B C3 [06:31:26]Write i2c OK [06:31:26]MH_I2C_Read... [06:31:26]OFD Sender: No OFD packet to send [06:31:27]*** Cut start [06:31:27]*** Partial cut [06:31:27]*** CUTSNS_PIN = 1 [06:31:27]*** CUTSNS_PIN = 0 [06:31:27]*** Brake cut motor [06:31:28]Read from MH i2c: 01 [06:31:28]MH_I2C_Read... [06:31:28]*** Stop cut motor [06:31:28]*** Cut end [06:31:28]Read from MH i2c: 01 07 00 [06:31:28]MH_I2C_Read... [06:31:28]Read from MH i2c: 01 07 00 A8 1B 00 00 00 00 00 FF 0F D8 [06:31:28]process_action close_receipt done [06:31:28]requested_data is exist [06:31:28]produce_requested_data [06:31:28]requested_item fm.sn is exist - process it [06:31:28]wFMCommunicate request_size=4 [06:31:28]MH_SAM_APDU [06:31:28]CAPDU: 80 11 00 00 [06:31:28]Write to MH i2c: E2 08 00 A9 1B 80 11 00 00 00 00 00 00 3E [06:31:28]Write i2c OK [06:31:28]MH_I2C_Read... [06:31:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:31:28]Read from MH i2c: E2 [06:31:28]MH_I2C_Read... [06:31:28]Read from MH i2c: E2 17 00 [06:31:28]MH_I2C_Read... [06:31:28]Read from MH i2c: E2 17 00 A9 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 96 [06:31:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [06:31:28]wFMCommunicate OK [06:31:28]requested_item fd.num is exist - process it [06:31:28]SAM_PROTO_GetFieldsCounters [06:31:28]wFMCommunicate request_size=4 [06:31:28]MH_SAM_APDU [06:31:28]CAPDU: 80 13 00 00 [06:31:28]Write to MH i2c: E2 08 00 AA 1B 80 13 00 00 00 00 00 00 41 [06:31:28]Write i2c OK [06:31:28]MH_I2C_Read... [06:31:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:31:28]Read from MH i2c: E2 [06:31:28]MH_I2C_Read... [06:31:28]Read from MH i2c: E2 62 00 [06:31:28]MH_I2C_Read... [06:31:28]Read from MH i2c: E2 62 00 AA 1B 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 56 68 00 00 0E 04 04 00 39 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 7F [06:31: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 56 68 00 00 0E 04 04 00 39 01 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 [06:31:28]wFMCommunicate OK [06:31:28]SAM_PROTO_GetFieldsCounters done [06:31:28]requested_item shift.num is exist - process it [06:31:28]requested_item shift.opened is exist - process it [06:31:28]req_shift_opened [06:31:28]FM_GetShiftState [06:31:28]SAM_PROTO_GetShiftState [06:31:28]wFMCommunicate request_size=4 [06:31:28]MH_SAM_APDU [06:31:28]CAPDU: 80 13 01 00 [06:31:28]Write to MH i2c: E2 08 00 AB 1B 80 13 01 00 00 00 00 00 43 [06:31:28]Write i2c OK [06:31:28]MH_I2C_Read... [06:31:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:31:28]Read from MH i2c: E2 [06:31:28]MH_I2C_Read... [06:31:28]Read from MH i2c: E2 0E 00 [06:31:28]MH_I2C_Read... [06:31:28]Read from MH i2c: E2 0E 00 AB 1B 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 D7 [06:31:28]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [06:31:28]wFMCommunicate OK [06:31:28]SAM_PROTO_GetShiftState done [06:31:28]FM_GetShiftState done [06:31:28]req_shift_opened done [06:31:28]requested_item shift.open_date is exist - process it [06:31:28]req_shift_open_date [06:31:28]req_shift_open_date done [06:31:28]produce_requested_data done [06:31:28]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26710,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [06:31:28]process_action_free close_receipt [06:31:28]json_value_free [06:31:28]json_value_free done [06:31:28]process_json_proto returns [06:31:28]Send response to host [06:31:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26710,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [06:31:28]free response buf [06:31:28]execute_script done [06:31:28]execute_script returns [06:31:28]free content buf [06:31:28]Sock 9.Close socket [06:31:28]Sock 9.Thread stoped [06:31:31]OFD Sender: No OFD packet to send [06:31:36]OFD Sender: No OFD packet to send [06:31:41]OFD Sender: No OFD packet to send [06:31:46]OFD Sender: No OFD packet to send [06:31:51]OFD Sender: No OFD packet to send [06:31:56]OFD Sender: No OFD packet to send [06:32:01]OFD Sender: No OFD packet to send [06:32:06]OFD Sender: No OFD packet to send [06:32:11]OFD Sender: No OFD packet to send [06:32:16]OFD Sender: No OFD packet to send [06:32:21]OFD Sender: No OFD packet to send [06:32:26]OFD Sender: No OFD packet to send [06:32:31]OFD Sender: No OFD packet to send [06:32:36]OFD Sender: No OFD packet to send [06:32:41]OFD Sender: No OFD packet to send [06:32:46]OFD Sender: No OFD packet to send [06:32:51]OFD Sender: No OFD packet to send [06:32:56]OFD Sender: No OFD packet to send [06:33:01]OFD Sender: No OFD packet to send [06:33:06]OFD Sender: No OFD packet to send [06:33:11]OFD Sender: No OFD packet to send [06:33:16]OFD Sender: No OFD packet to send [06:33:21]OFD Sender: No OFD packet to send [06:33:26]OFD Sender: No OFD packet to send [06:33:31]OFD Sender: No OFD packet to send [06:33:36]OFD Sender: No OFD packet to send [06:33:41]OFD Sender: No OFD packet to send [06:33:46]OFD Sender: No OFD packet to send [06:33:51]OFD Sender: No OFD packet to send [06:33:56]OFD Sender: No OFD packet to send [06:34:01]OFD Sender: No OFD packet to send [06:34:06]OFD Sender: No OFD packet to send [06:34:11]OFD Sender: No OFD packet to send [06:34:16]OFD Sender: No OFD packet to send [06:34:21]OFD Sender: No OFD packet to send [06:34:26]OFD Sender: No OFD packet to send [06:34:31]OFD Sender: No OFD packet to send [06:34:36]OFD Sender: No OFD packet to send [06:34:41]OFD Sender: No OFD packet to send [06:34:46]OFD Sender: No OFD packet to send [06:34:51]OFD Sender: No OFD packet to send [06:34:56]OFD Sender: No OFD packet to send [06:35:01]OFD Sender: No OFD packet to send [06:35:06]OFD Sender: No OFD packet to send [06:35:11]OFD Sender: No OFD packet to send [06:35:16]OFD Sender: No OFD packet to send [06:35:21]OFD Sender: No OFD packet to send [06:35:26]OFD Sender: No OFD packet to send [06:35:31]OFD Sender: No OFD packet to send [06:35:36]OFD Sender: No OFD packet to send [06:35:41]OFD Sender: No OFD packet to send [06:35:46]OFD Sender: No OFD packet to send [06:35:51]OFD Sender: No OFD packet to send [06:35:56]OFD Sender: No OFD packet to send [06:36:01]OFD Sender: No OFD packet to send [06:36:06]OFD Sender: No OFD packet to send [06:36:11]OFD Sender: No OFD packet to send [06:36:16]OFD Sender: No OFD packet to send [06:36:21]OFD Sender: No OFD packet to send [06:36:26]OFD Sender: No OFD packet to send [06:36:31]OFD Sender: No OFD packet to send [06:36:36]OFD Sender: No OFD packet to send [06:36:41]OFD Sender: No OFD packet to send [06:36:46]OFD Sender: No OFD packet to send [06:36:51]OFD Sender: No OFD packet to send [06:36:56]OFD Sender: No OFD packet to send [06:37:01]OFD Sender: No OFD packet to send [06:37:06]OFD Sender: No OFD packet to send [06:37:11]OFD Sender: No OFD packet to send [06:37:16]OFD Sender: No OFD packet to send [06:37:21]OFD Sender: No OFD packet to send [06:37:26]OFD Sender: No OFD packet to send [06:37:31]OFD Sender: No OFD packet to send [06:37:36]OFD Sender: No OFD packet to send [06:37:41]OFD Sender: No OFD packet to send [06:37:46]OFD Sender: No OFD packet to send [06:37:51]OFD Sender: No OFD packet to send [06:37:56]OFD Sender: No OFD packet to send [06:38:01]OFD Sender: No OFD packet to send [06:38:06]OFD Sender: No OFD packet to send [06:38:11]OFD Sender: No OFD packet to send [06:38:16]OFD Sender: No OFD packet to send [06:38:21]OFD Sender: No OFD packet to send [06:38:26]OFD Sender: No OFD packet to send [06:38:31]OFD Sender: No OFD packet to send [06:38:36]OFD Sender: No OFD packet to send [06:38: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:47]OFD Sender: No OFD packet to send [06:46:52]OFD Sender: No OFD packet to send [06:46:57]OFD Sender: No OFD packet to send [06:47:02]OFD Sender: No OFD packet to send [06:47:07]OFD Sender: No OFD packet to send [06:47:12]OFD Sender: No OFD packet to send [06:47:17]OFD Sender: No OFD packet to send [06:47:22]OFD Sender: No OFD packet to send [06:47:27]OFD Sender: No OFD packet to send [06:47:32]OFD Sender: No OFD packet to send [06:47:37]OFD Sender: No OFD packet to send [06:47:42]OFD Sender: No OFD packet to send [06:47:47]OFD Sender: No OFD packet to send [06:47:52]OFD Sender: No OFD packet to send [06:47:57]OFD Sender: No OFD packet to send [06:48:02]OFD Sender: No OFD packet to send [06:48:07]OFD Sender: No OFD packet to send [06:48:12]OFD Sender: No OFD packet to send [06:48:17]OFD Sender: No OFD packet to send [06:48:22]OFD Sender: No OFD packet to send [06:48:27]OFD Sender: No OFD packet to send [06:48:32]OFD Sender: No OFD packet to send [06:48:37]OFD Sender: No OFD packet to send [06:48:42]OFD Sender: No OFD packet to send [06:48:47]OFD Sender: No OFD packet to send [06:48:52]OFD Sender: No OFD packet to send [06:48:57]OFD Sender: No OFD packet to send [06:49:02]OFD Sender: No OFD packet to send [06:49:07]OFD Sender: No OFD packet to send [06:49:12]OFD Sender: No OFD packet to send [06:49:17]OFD Sender: No OFD packet to send [06:49:22]OFD Sender: No OFD packet to send [06:49:27]OFD Sender: No OFD packet to send [06:49:32]OFD Sender: No OFD packet to send [06:49:37]OFD Sender: No OFD packet to send [06:49:42]OFD Sender: No OFD packet to send [06:49:47]OFD Sender: No OFD packet to send [06:49:52]OFD Sender: No OFD packet to send [06:49:57]OFD Sender: No OFD packet to send [06:50:02]OFD Sender: No OFD packet to send [06:50:07]OFD Sender: No OFD packet to send [06:50:12]OFD Sender: No OFD packet to send [06:50:17]OFD Sender: No OFD packet to send [06:50:22]OFD Sender: No OFD packet to send [06:50:27]OFD Sender: No OFD packet to send [06:50:32]OFD Sender: No OFD packet to send [06:50:37]OFD Sender: No OFD packet to send [06:50:42]OFD Sender: No OFD packet to send [06:50:47]OFD Sender: No OFD packet to send [06:50:52]OFD Sender: No OFD packet to send [06:50:57]OFD Sender: No OFD packet to send [06:51:02]OFD Sender: No OFD packet to send [06:51:07]OFD Sender: No OFD packet to send [06:51:12]OFD Sender: No OFD packet to send [06:51:17]OFD Sender: No OFD packet to send [06:51:22]OFD Sender: No OFD packet to send [06:51:27]OFD Sender: No OFD packet to send [06:51:32]OFD Sender: No OFD packet to send [06:51:37]OFD Sender: No OFD packet to send [06:51:42]OFD Sender: No OFD packet to send [06:51:47]OFD Sender: No OFD packet to send [06:51:52]OFD Sender: No OFD packet to send [06:51:57]OFD Sender: No OFD packet to send [06:52:02]OFD Sender: No OFD packet to send [06:52:07]OFD Sender: No OFD packet to send [06:52:12]OFD Sender: No OFD packet to send [06:52:17]OFD Sender: No OFD packet to send [06:52:22]OFD Sender: No OFD packet to send [06:52:27]OFD Sender: No OFD packet to send [06:52:32]OFD Sender: No OFD packet to send [06:52:37]OFD Sender: No OFD packet to send [06:52:42]OFD Sender: No OFD packet to send [06:52:47]OFD Sender: No OFD packet to send [06:52:52]OFD Sender: No OFD packet to send [06:52:57]OFD Sender: No OFD packet to send [06:53:02]OFD Sender: No OFD packet to send [06:53:07]OFD Sender: No OFD packet to send [06:53:12]OFD Sender: No OFD packet to send [06:53:17]OFD Sender: No OFD packet to send [06:53:22]OFD Sender: No OFD packet to send [06:53:27]OFD Sender: No OFD packet to send [06:53:32]OFD Sender: No OFD packet to send [06:53:37]OFD Sender: No OFD packet to send [06:53:42]OFD Sender: No OFD packet to send [06:53:47]OFD Sender: No OFD packet to send [06:53:52]OFD Sender: No OFD packet to send [06:53:57]OFD Sender: No OFD packet to send [06:54:02]OFD Sender: No OFD packet to send [06:54:07]OFD Sender: No OFD packet to send [06:54:12]OFD Sender: No OFD packet to send [06:54:17]OFD Sender: No OFD packet to send [06:54:22]OFD Sender: No OFD packet to send [06:54:27]OFD Sender: No OFD packet to send [06:54:32]OFD Sender: No OFD packet to send [06:54:37]OFD Sender: No OFD packet to send [06:54:42]OFD Sender: No OFD packet to send [06:54:47]OFD Sender: No OFD packet to send [06:54:52]OFD Sender: No OFD packet to send [06:54:57]OFD Sender: No OFD packet to send [06:55:02]OFD Sender: No OFD packet to send [06:55:07]OFD Sender: No OFD packet to send [06:55:12]OFD Sender: No OFD packet to send [06:55:17]OFD Sender: No OFD packet to send [06:55:22]OFD Sender: No OFD packet to send [06:55:27]OFD Sender: No OFD packet to send [06:55:32]OFD Sender: No OFD packet to send [06:55:37]OFD Sender: No OFD packet to send [06:55:42]OFD Sender: No OFD packet to send [06:55:47]OFD Sender: No OFD packet to send [06:55:52]OFD Sender: No OFD packet to send [06:55:57]OFD Sender: No OFD packet to send [06:56:02]OFD Sender: No OFD packet to send [06:56:07]OFD Sender: No OFD packet to send [06:56:12]OFD Sender: No OFD packet to send [06:56:17]OFD Sender: No OFD packet to send [06:56:22]OFD Sender: No OFD packet to send [06:56:27]OFD Sender: No OFD packet to send [06:56:32]OFD Sender: No OFD packet to send [06:56:37]OFD Sender: No OFD packet to send [06:56:42]OFD Sender: No OFD packet to send [06:56:47]OFD Sender: No OFD packet to send [06:56:52]OFD Sender: No OFD packet to send [06:56:57]OFD Sender: No OFD packet to send [06:57:02]OFD Sender: No OFD packet to send [06:57:07]OFD Sender: No OFD packet to send [06:57:12]OFD Sender: No OFD packet to send [06:57: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:38]OFD Sender: No OFD packet to send [07:05:43]OFD Sender: No OFD packet to send [07:05:48]OFD Sender: No OFD packet to send [07:05:53]OFD Sender: No OFD packet to send [07:05:58]OFD Sender: No OFD packet to send [07:06:03]OFD Sender: No OFD packet to send [07:06:08]OFD Sender: No OFD packet to send [07:06:13]OFD Sender: No OFD packet to send [07:06:18]OFD Sender: No OFD packet to send [07:06:23]OFD Sender: No OFD packet to send [07:06:28]OFD Sender: No OFD packet to send [07:06:33]OFD Sender: No OFD packet to send [07:06:38]OFD Sender: No OFD packet to send [07:06:43]OFD Sender: No OFD packet to send [07:06:48]OFD Sender: No OFD packet to send [07:06:53]OFD Sender: No OFD packet to send [07:06:58]OFD Sender: No OFD packet to send [07:07:03]OFD Sender: No OFD packet to send [07:07:08]OFD Sender: No OFD packet to send [07:07:13]OFD Sender: No OFD packet to send [07:07:18]OFD Sender: No OFD packet to send [07:07:23]OFD Sender: No OFD packet to send [07:07:28]OFD Sender: No OFD packet to send [07:07:33]OFD Sender: No OFD packet to send [07:07:38]OFD Sender: No OFD packet to send [07:07:43]OFD Sender: No OFD packet to send [07:07:48]OFD Sender: No OFD packet to send [07:07:53]OFD Sender: No OFD packet to send [07:07:58]OFD Sender: No OFD packet to send [07:08:03]OFD Sender: No OFD packet to send [07:08:08]OFD Sender: No OFD packet to send [07:08:13]OFD Sender: No OFD packet to send [07:08:18]OFD Sender: No OFD packet to send [07:08:23]OFD Sender: No OFD packet to send [07:08:28]OFD Sender: No OFD packet to send [07:08:33]OFD Sender: No OFD packet to send [07:08:38]OFD Sender: No OFD packet to send [07:08:43]OFD Sender: No OFD packet to send [07:08:48]OFD Sender: No OFD packet to send [07:08:53]OFD Sender: No OFD packet to send [07:08:58]OFD Sender: No OFD packet to send [07:09:03]OFD Sender: No OFD packet to send [07:09:08]OFD Sender: No OFD packet to send [07:09:13]OFD Sender: No OFD packet to send [07:09:18]OFD Sender: No OFD packet to send [07:09:23]OFD Sender: No OFD packet to send [07:09:28]OFD Sender: No OFD packet to send [07:09:33]OFD Sender: No OFD packet to send [07:09:38]OFD Sender: No OFD packet to send [07:09:43]OFD Sender: No OFD packet to send [07:09:48]OFD Sender: No OFD packet to send [07:09:53]OFD Sender: No OFD packet to send [07:09:58]OFD Sender: No OFD packet to send [07:10:03]OFD Sender: No OFD packet to send [07:10:08]OFD Sender: No OFD packet to send [07:10:13]OFD Sender: No OFD packet to send [07:10:18]OFD Sender: No OFD packet to send [07:10:23]OFD Sender: No OFD packet to send [07:10:28]OFD Sender: No OFD packet to send [07:10:33]OFD Sender: No OFD packet to send [07:10:38]OFD Sender: No OFD packet to send [07:10:43]OFD Sender: No OFD packet to send [07:10:48]OFD Sender: No OFD packet to send [07:10:53]OFD Sender: No OFD packet to send [07:10:58]OFD Sender: No OFD packet to send [07:11:03]OFD Sender: No OFD packet to send [07:11:08]OFD Sender: No OFD packet to send [07:11:13]OFD Sender: No OFD packet to send [07:11:18]OFD Sender: No OFD packet to send [07:11:23]OFD Sender: No OFD packet to send [07:11:28]OFD Sender: No OFD packet to send [07:11:33]OFD Sender: No OFD packet to send [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:43]OFD Sender: No OFD packet to send [07:12:48]OFD Sender: No OFD packet to send [07:12:53]OFD Sender: No OFD packet to send [07:12:58]OFD Sender: No OFD packet to send [07:13:03]OFD Sender: No OFD packet to send [07:13:08]OFD Sender: No OFD packet to send [07:13:13]OFD Sender: No OFD packet to send [07:13:18]OFD Sender: No OFD packet to send [07:13:23]OFD Sender: No OFD packet to send [07:13:28]OFD Sender: No OFD packet to send [07:13:33]OFD Sender: No OFD packet to send [07:13:38]OFD Sender: No OFD packet to send [07:13:43]OFD Sender: No OFD packet to send [07:13:48]OFD Sender: No OFD packet to send [07:13:53]OFD Sender: No OFD packet to send [07:13:58]OFD Sender: No OFD packet to send [07:14:03]OFD Sender: No OFD packet to send [07:14:08]OFD Sender: No OFD packet to send [07:14:13]OFD Sender: No OFD packet to send [07:14:18]OFD Sender: No OFD packet to send [07:14:23]OFD Sender: No OFD packet to send [07:14:28]OFD Sender: No OFD packet to send [07:14:33]OFD Sender: No OFD packet to send [07:14:38]OFD Sender: No OFD packet to send [07:14:43]OFD Sender: No OFD packet to send [07:14:48]OFD Sender: No OFD packet to send [07:14:53]OFD Sender: No OFD packet to send [07:14:58]OFD Sender: No OFD packet to send [07:14:59]accept exits with 8 [07:14:59]New connection [07:14:59]New thread 3066871140 created [07:14:59]Thread 3067014500 joined [07:14:59]Waiting for new connection... [07:14:59] Sock 8.Parse request [07:14:59]Sock 8.Check first char [07:14:59]Sock 8.First char is OK [07:14:59]request: POST /json_proto HTTP/1.0 [07:14:59]Method: POST [07:14:59]URL: /json_proto [07:14:59]Method is POST - this is cgi request [07:14:59]url: /json_proto [07:14:59]query_string will be loaded in cgi processing [07:14:59]execute_cgi json_proto POST (null) [07:14:59]execute_cgi path=json_proto method=POST [07:14:59]POST find Content-Length [07:14:59]Host: 172.17.35.3:8080 [07:14:59]Content-Length: 640 [07:14:59]Content-Type: application/json [07:14:59] [07:14:59]POST finish read [07:14:59]Found Content-Length = 640 [07:14:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359454", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 10.000, "sum" : 634.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 634.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:14:59]execute_script... [07:14: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 : (1)359454", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 10.000, "sum" : 634.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 634.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:14:59]POST & json_proto [07:14:59]process_json_proto [07:14:59]json parsed OK: [07:14:59]protocol is kg_v1.0 [07:14:59]action value=close_receipt [07:14:59]process_action close_receipt [07:14:59]cmd_close_receipt [07:14:59]MH_GetDate [07:14:59]Write to MH i2c: F0 00 00 AC 1B B6 [07:14:59]Write i2c OK [07:14:59]MH_I2C_Read... [07:14:59]Read from MH i2c: F0 [07:14:59]MH_I2C_Read... [07:14:59]Read from MH i2c: F0 09 00 [07:14:59]MH_I2C_Read... [07:14:59]Read from MH i2c: F0 09 00 AC 1B 00 FB 47 12 66 2B 11 66 64 7F [07:14:59]GetLastDocTimeStamp 1712471491 [07:14:59]current date 1712474107 [07:14:59]FM_GetShiftState [07:14:59]SAM_PROTO_GetShiftState [07:14:59]wFMCommunicate request_size=4 [07:14:59]MH_SAM_APDU [07:14:59]CAPDU: 80 13 01 00 [07:14:59]Write to MH i2c: E2 08 00 AD 1B 80 13 01 00 00 00 00 00 45 [07:14:59]Write i2c OK [07:14:59]MH_I2C_Read... [07:14:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:14:59]Read from MH i2c: E2 [07:14:59]MH_I2C_Read... [07:14:59]Read from MH i2c: E2 0E 00 [07:14:59]MH_I2C_Read... [07:14:59]Read from MH i2c: E2 0E 00 AD 1B 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 D9 [07:14:59]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [07:14:59]wFMCommunicate OK [07:14:59]SAM_PROTO_GetShiftState done [07:14:59]FM_GetShiftState done [07:14:59]opened in 1712450087 [07:14:59]opened+sec_in_day 1712536487 [07:14:59]quantity*price = 63400 [07:14:59]sum+1 = 63401 [07:14:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 634.00 НСП 1% : 5.61 НДС 12% : 67.33 Наличными: 634.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 10 07.04.2024 07:15 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26711 ФПД: 255105543764315 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T071507&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26711&fm=255105543764315&tin=02508201610067®Number=0000000000091578&sum=63400 [07:15:00]StoreToDocumentArchive [07:15:00]shift 313 fd 26711 [07:15:00]save to /storage/0313/doc_00026711 [07:15:00]save last doc name /storage/0313/doc_00026711 to /storage/kkm_last_doc_name [07:15:00]save OK [07:15:00]Clear old archive folders... [07:15:00]ProcessDocumentItem done err = 0, tmpTLVsize=251 [07:15:00]tlvbuf is 00EDF8E0 [07:15:00]SAM_PROTO_ClearQueue [07:15:00]wFMCommunicate request_size=4 [07:15:00]MH_SAM_APDU [07:15:00]CAPDU: 80 09 00 00 [07:15:00]Write to MH i2c: E2 08 00 BA 1B 80 09 00 00 00 00 00 00 47 [07:15:00]Write i2c OK [07:15:00]MH_I2C_Read... [07:15:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:15:00]Read from MH i2c: E2 [07:15:00]MH_I2C_Read... [07:15:00]Read from MH i2c: E2 03 00 [07:15:00]MH_I2C_Read... [07:15:00]Read from MH i2c: E2 03 00 BA 1B 00 90 00 49 [07:15:00]RAPDU: 90 00 [07:15:00]wFMCommunicate OK [07:15:00]SAM_PROTO_ClearQueue done [07:15:00]KKMCreateOFDPacket [07:15:00]OFDProtocolAddRootSTLVToBuf [07:15:00]FM_MakeSignedData [07:15:00]FM_MakeSignedData [07:15:00]SAM_PROTO_SignData [07:15:00]wFMCommunicate request_size=4 [07:15:00]MH_SAM_APDU [07:15:00]CAPDU: 80 0D 01 02 [07:15:00]Write to MH i2c: E2 08 00 BB 1B 80 0D 01 02 00 00 00 00 4F [07:15:00]Write i2c OK [07:15:00]MH_I2C_Read... [07:15:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:15:00]Read from MH i2c: E2 [07:15:00]MH_I2C_Read... [07:15:00]Read from MH i2c: E2 03 00 [07:15:00]MH_I2C_Read... [07:15:00]Read from MH i2c: E2 03 00 BB 1B 00 90 00 4A [07:15:00]RAPDU: 90 00 [07:15:00]wFMCommunicate OK [07:15:00]wFMCommunicate request_size=255 [07:15:00]MH_SAM_APDU [07:15:00]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 C4 18 00 00 00 00 13 04 06 00 A8 F7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 F7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4D 1A 00 00 00 00 07 04 06 00 A8 F7 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 FB 47 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 57 68 00 00 35 04 06 00 E8 [07:15:00]Write to MH i2c: E2 02 01 BC 1B 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 C4 18 00 00 00 00 13 04 06 00 A8 F7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 F7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4D 1A 00 00 00 00 07 04 06 00 A8 F7 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 FB 47 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 57 68 00 00 35 04 06 00 E8 00 00 92 [07:15:00]Write i2c OK [07:15:00]MH_I2C_Read... [07:15:01]Read from MH i2c: E2 [07:15:01]MH_I2C_Read... [07:15:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:15:01]Read from MH i2c: E2 03 00 [07:15:01]MH_I2C_Read... [07:15:01]Read from MH i2c: E2 03 00 BC 1B 00 90 00 4B [07:15:01]RAPDU: 90 00 [07:15:01]wFMCommunicate OK [07:15:01]wFMCommunicate request_size=10 [07:15:01]MH_SAM_APDU [07:15:01]CAPDU: 80 0D 02 02 05 04 63 50 F9 5B [07:15:01]Write to MH i2c: E2 0D 00 BD 1B 80 0D 02 02 05 00 04 63 50 F9 5B 00 00 67 [07:15:01]Write i2c OK [07:15:01]MH_I2C_Read... [07:15:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:15:01]Read from MH i2c: E2 [07:15:01]MH_I2C_Read... [07:15:01]Read from MH i2c: E2 03 00 [07:15:01]MH_I2C_Read... [07:15:01]Read from MH i2c: E2 03 00 BD 1B 00 90 00 4C [07:15:01]RAPDU: 90 00 [07:15:01]wFMCommunicate OK [07:15:01]wFMCommunicate request_size=4 [07:15:01]MH_SAM_APDU [07:15:01]CAPDU: 80 0D 03 02 [07:15:01]Write to MH i2c: E2 08 00 BE 1B 80 0D 03 02 00 00 00 00 54 [07:15:01]Write i2c OK [07:15:01]MH_I2C_Read... [07:15:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:15:01]Read from MH i2c: E2 [07:15:01]MH_I2C_Read... [07:15:01]Read from MH i2c: E2 0B 00 [07:15:01]MH_I2C_Read... [07:15:01]Read from MH i2c: E2 0B 00 BE 1B 00 C2 BC 8E CC 74 34 8B BE 90 00 1E [07:15:01]RAPDU: C2 BC 8E CC 74 34 8B BE 90 00 [07:15:01]wFMCommunicate OK [07:15:01]SAM_PROTO_SignData done [07:15:01]FM_MakeSignedData done [07:15:01]CreateOFDProtocolMessage [07:15:01]wFMCommunicate request_size=4 [07:15:01]MH_SAM_APDU [07:15:01]CAPDU: 80 11 00 00 [07:15:01]Write to MH i2c: E2 08 00 BF 1B 80 11 00 00 00 00 00 00 54 [07:15:01]Write i2c OK [07:15:01]MH_I2C_Read... [07:15:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:15:01]Read from MH i2c: E2 [07:15:01]MH_I2C_Read... [07:15:01]Read from MH i2c: E2 17 00 [07:15:01]MH_I2C_Read... [07:15:01]Read from MH i2c: E2 17 00 BF 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 AC [07:15:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [07:15:01]wFMCommunicate OK [07:15:01]CreateOFDProtocolMessage done [07:15:01]OFDSenderStorePacket 26711 [07:15:01]StoreOFDPacket docnum=26711 [07:15:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 56 DB 07 01 1A A3 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 C4 18 00 00 00 00 13 04 06 00 A8 F7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 F7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4D 1A 00 00 00 00 07 04 06 00 A8 F7 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 FB 47 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 57 68 00 00 35 04 06 00 E8 04 63 50 F9 5B C2 BC 8E CC 74 34 8B BE [07:15:01]CheckFolder [07:15:01]dirname=/storage/ofd_packets [07:15:01]CheckFolder done [07:15:01]ProducePacketName [07:15:01]name=ofd_packets/00026711 [07:15:01]NVStorageSaveData ofd_packets/00026711 [07:15:01]File name is /storage/ofd_packets/00026711 [07:15:01]Write 301 bytes [07:15:01]NVStorageSaveData done [07:15:01]OFDSenderStorePacket done [07:15:01]KKMCreateOFDPacket done [07:15:01]NVStorageSaveData kkm_last_timestamp [07:15:01]File name is /storage/kkm_last_timestamp [07:15:01]Write 4 bytes [07:15:01]NVStorageSaveData done [07:15:01]ExternCall_PrintAddStr [07:15:01]wPrintStart [07:15:01]Write to MH i2c: 01 00 00 C0 1B DB [07:15:01]Write i2c OK [07:15:01]MH_I2C_Read... [07:15:01]Read from MH i2c: 01 [07:15:01]MH_I2C_Read... [07:15:01]Read from MH i2c: 01 07 00 [07:15:01]MH_I2C_Read... [07:15:01]Read from MH i2c: 01 07 00 C0 1B 00 00 00 00 00 FF 0F F0 [07:15:01]RasterBufferAndPrint [07:15:01]line Счет N : (1)359454 [07:15:01]line ИНН: 02508201610067 [07:15:01]line Контрольно-Кассовый Чек [07:15:01]line ПРОДАЖА [07:15:01]line ТРК (МРК, ГНК) : 51 [07:15:01]line Товар: 2710124130 [07:15:01]line Аи-92-К-5 [07:15:01]line 10.000 * 63.40 [07:15:01]line = 634.00 [07:15:01]line НДС 12% НСП 1% [07:15:01]line > о реализуемом товаре [07:15:01]line ИТОГО: 634.00 [07:15:01]line НСП 1% : 5.61 [07:15:01]line НДС 12% : 67.33 [07:15:01]line Наличными: 634.00 [07:15:01]line Безнал.: 0.00 [07:15:01]line Место: АЗС № 122 "Партнер Нефть" [07:15:01]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [07:15:01]line СНО: Общий режим [07:15:01]line Чек 10 07.04.2024 07:15 [07:15:01]line Смена: 313 ФФД: 1.0 [07:15:01]line ЗНМ: 0300000147 [07:15:01]line РНМ: 0000000000091578 [07:15:01]line Версия ККМ: 001 [07:15:01]line ФМ: 0000000000874657 [07:15:01]line ФД: 26711 [07:15:01]line ФПД: 255105543764315 [07:15:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T071507&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26711&fm=255105543764315&tin=02508201610067®Number=0000000000091578&sum=63400 [07:15:01]OFD Sender: Processing packet 26711 [packets to send 44, broken 43] [07:15:01]ProducePacketName [07:15:01]name=ofd_packets/00026711 [07:15:01]OFD Sender: To server: pG, [07:15:01]CommunicateWithHost lk.salyk.kg:30040 [07:15:01]ConnectInit lk.salyk.kg [07:15:01]written 0, free lines is 4095 [07:15:01]Connected sock=10 [07:15:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 56 DB 07 01 1A A3 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 C4 18 00 00 00 00 13 04 06 00 A8 F7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 F7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4D 1A 00 00 00 00 07 04 06 00 A8 F7 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 FB 47 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 57 68 00 00 35 04 06 00 E8 04 63 50 F9 5B C2 BC 8E CC 74 34 8B BE [07:15:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 7D 81 47 00 B8 76 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 37 10 04 04 00 57 68 00 00 F4 03 04 00 69 EF 11 66 B6 04 01 00 00 0B 8E 64 6D 1F 13 85 9A [07:15:01]CommunicateWithHost err = 0 [07:15:01]CheckOFDResponse [07:15:01]1017 (14) - 77093643461234 [07:15:01]1041 (16) - 0000000000874657 [07:15:01]1040 (4) - 26711 [07:15:01]1012 (4) - 07.04.2024 00:57 [07:15:01]1206 (1) - 0 [07:15:01]OFD Sender: Remove packet 26711 [07:15:01]ProducePacketName [07:15:01]name=ofd_packets/00026711 [07:15:01]NVStorageDeleteData [07:15:02]Write to MH i2c: 01 00 00 E8 1B 03 [07:15:02]Write i2c OK [07:15:02]MH_I2C_Read... [07:15:02]Read from MH i2c: 01 [07:15:02]MH_I2C_Read... [07:15:02]Read from MH i2c: 01 07 00 [07:15:02]MH_I2C_Read... [07:15:02]Read from MH i2c: 01 07 00 E8 1B 00 00 00 00 00 B5 0C CB [07:15:02]RasterBufferAndPrint [07:15:02]line [07:15:02]line [07:15:02]line [07:15:02]line [07:15:02]line [07:15:02]written 0, free lines is 3258 [07:15:02]MH_Cut [07:15:02]Write to MH i2c: D1 01 00 EF 1B 01 DC [07:15:02]Write i2c OK [07:15:02]MH_I2C_Read... [07:15:02]Read from MH i2c: D1 [07:15:02]MH_I2C_Read... [07:15:02]Read from MH i2c: D1 01 00 [07:15:02]MH_I2C_Read... [07:15:02]Read from MH i2c: D1 01 00 EF 1B 00 DB [07:15:02]Write to MH i2c: 01 00 00 F0 1B 0B [07:15:02]Write i2c OK [07:15:02]MH_I2C_Read... [07:15:02]OFD Sender: No OFD packet to send [07:15:03]*** Cut start [07:15:03]*** Partial cut [07:15:03]*** CUTSNS_PIN = 1 [07:15:03]*** CUTSNS_PIN = 0 [07:15:03]*** Brake cut motor [07:15:03]Read from MH i2c: 01 [07:15:03]MH_I2C_Read... [07:15:03]*** Stop cut motor [07:15:03]*** Cut end [07:15:03]Read from MH i2c: 01 07 00 [07:15:03]MH_I2C_Read... [07:15:03]Read from MH i2c: 01 07 00 F0 1B 00 00 00 00 00 FF 0F 20 [07:15:03]process_action close_receipt done [07:15:03]requested_data is exist [07:15:03]produce_requested_data [07:15:03]requested_item fm.sn is exist - process it [07:15:03]wFMCommunicate request_size=4 [07:15:03]MH_SAM_APDU [07:15:03]CAPDU: 80 11 00 00 [07:15:03]Write to MH i2c: E2 08 00 F1 1B 80 11 00 00 00 00 00 00 86 [07:15:03]Write i2c OK [07:15:03]MH_I2C_Read... [07:15:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:15:03]Read from MH i2c: E2 [07:15:03]MH_I2C_Read... [07:15:03]Read from MH i2c: E2 17 00 [07:15:03]MH_I2C_Read... [07:15:03]Read from MH i2c: E2 17 00 F1 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 DE [07:15:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [07:15:03]wFMCommunicate OK [07:15:03]requested_item fd.num is exist - process it [07:15:03]SAM_PROTO_GetFieldsCounters [07:15:03]wFMCommunicate request_size=4 [07:15:03]MH_SAM_APDU [07:15:03]CAPDU: 80 13 00 00 [07:15:03]Write to MH i2c: E2 08 00 F2 1B 80 13 00 00 00 00 00 00 89 [07:15:03]Write i2c OK [07:15:03]MH_I2C_Read... [07:15:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:15:04]Read from MH i2c: E2 [07:15:04]MH_I2C_Read... [07:15:04]Read from MH i2c: E2 62 00 [07:15:04]MH_I2C_Read... [07:15:04]Read from MH i2c: E2 62 00 F2 1B 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 57 68 00 00 0E 04 04 00 39 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 CB [07:15: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 57 68 00 00 0E 04 04 00 39 01 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:15:04]wFMCommunicate OK [07:15:04]SAM_PROTO_GetFieldsCounters done [07:15:04]requested_item shift.num is exist - process it [07:15:04]requested_item shift.opened is exist - process it [07:15:04]req_shift_opened [07:15:04]FM_GetShiftState [07:15:04]SAM_PROTO_GetShiftState [07:15:04]wFMCommunicate request_size=4 [07:15:04]MH_SAM_APDU [07:15:04]CAPDU: 80 13 01 00 [07:15:04]Write to MH i2c: E2 08 00 F3 1B 80 13 01 00 00 00 00 00 8B [07:15:04]Write i2c OK [07:15:04]MH_I2C_Read... [07:15:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:15:04]Read from MH i2c: E2 [07:15:04]MH_I2C_Read... [07:15:04]Read from MH i2c: E2 0E 00 [07:15:04]MH_I2C_Read... [07:15:04]Read from MH i2c: E2 0E 00 F3 1B 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 1F [07:15:04]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [07:15:04]wFMCommunicate OK [07:15:04]SAM_PROTO_GetShiftState done [07:15:04]FM_GetShiftState done [07:15:04]req_shift_opened done [07:15:04]requested_item shift.open_date is exist - process it [07:15:04]req_shift_open_date [07:15:04]req_shift_open_date done [07:15:04]produce_requested_data done [07:15:04]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26711,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [07:15:04]process_action_free close_receipt [07:15:04]json_value_free [07:15:04]json_value_free done [07:15:04]process_json_proto returns [07:15:04]Send response to host [07:15:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26711,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [07:15:04]free response buf [07:15:04]execute_script done [07:15:04]execute_script returns [07:15:04]free content buf [07:15:04]Sock 8.Close socket [07:15:04]Sock 8.Thread stoped [07:15:07]OFD Sender: No OFD packet to send [07:15:12]OFD Sender: No OFD packet to send [07:15:17]OFD Sender: No OFD packet to send [07:15:22]OFD Sender: No OFD packet to send [07:15:27]OFD Sender: No OFD packet to send [07:15:32]OFD Sender: No OFD packet to send [07:15:37]OFD Sender: No OFD packet to send [07:15:42]OFD Sender: No OFD packet to send [07:15:47]OFD Sender: No OFD packet to send [07:15:52]OFD Sender: No OFD packet to send [07:15:57]OFD Sender: No OFD packet to send [07:16:02]OFD Sender: No OFD packet to send [07:16:07]OFD Sender: No OFD packet to send [07:16:12]OFD Sender: No OFD packet to send [07:16:17]OFD Sender: No OFD packet to send [07:16:22]OFD Sender: No OFD packet to send [07:16:27]OFD Sender: No OFD packet to send [07:16:32]OFD Sender: No OFD packet to send [07:16:37]OFD Sender: No OFD packet to send [07:16:42]OFD Sender: No OFD packet to send [07:16:47]OFD Sender: No OFD packet to send [07:16:52]OFD Sender: No OFD packet to send [07:16:57]OFD Sender: No OFD packet to send [07:17:02]OFD Sender: No OFD packet to send [07:17:07]OFD Sender: No OFD packet to send [07:17:12]OFD Sender: No OFD packet to send [07:17:17]OFD Sender: No OFD packet to send [07:17:22]OFD Sender: No OFD packet to send [07:17:27]OFD Sender: No OFD packet to send [07:17:32]OFD Sender: No OFD packet to send [07:17:37]OFD Sender: No OFD packet to send [07:17:42]OFD Sender: No OFD packet to send [07:17:47]OFD Sender: No OFD packet to send [07:17:52]OFD Sender: No OFD packet to send [07:17:57]OFD Sender: No OFD packet to send [07:18:02]OFD Sender: No OFD packet to send [07:18:07]OFD Sender: No OFD packet to send [07:18:12]OFD Sender: No OFD packet to send [07:18:17]OFD Sender: No OFD packet to send [07:18:22]OFD Sender: No OFD packet to send [07:18:27]OFD Sender: No OFD packet to send [07:18:32]OFD Sender: No OFD packet to send [07:18:37]OFD Sender: No OFD packet to send [07:18:42]OFD Sender: No OFD packet to send [07:18:47]OFD Sender: No OFD packet to send [07:18:52]OFD Sender: No OFD packet to send [07:18:57]OFD Sender: No OFD packet to send [07:19:02]OFD Sender: No OFD packet to send [07:19:07]OFD Sender: No OFD packet to send [07:19:12]OFD Sender: No OFD packet to send [07:19:17]OFD Sender: No OFD packet to send [07:19:22]OFD Sender: No OFD packet to send [07:19:27]OFD Sender: No OFD packet to send [07:19:32]OFD Sender: No OFD packet to send [07:19:37]OFD Sender: No OFD packet to send [07:19:42]OFD Sender: No OFD packet to send [07:19:47]OFD Sender: No OFD packet to send [07:19:52]OFD Sender: No OFD packet to send [07:19:57]OFD Sender: No OFD packet to send [07:20:02]OFD Sender: No OFD packet to send [07:20:07]OFD Sender: No OFD packet to send [07:20:12]OFD Sender: No OFD packet to send [07:20:17]OFD Sender: No OFD packet to send [07:20:22]OFD Sender: No OFD packet to send [07:20:27]OFD Sender: No OFD packet to send [07:20:32]OFD Sender: No OFD packet to send [07:20:37]OFD Sender: No OFD packet to send [07:20:42]OFD Sender: No OFD packet to send [07:20:47]OFD Sender: No OFD packet to send [07:20:52]OFD Sender: No OFD packet to send [07:20:57]OFD Sender: No OFD packet to send [07:21:02]OFD Sender: No OFD packet to send [07:21:07]OFD Sender: No OFD packet to send [07:21:12]OFD Sender: No OFD packet to send [07:21:17]OFD Sender: No OFD packet to send [07:21:22]OFD Sender: No OFD packet to send [07:21:27]OFD Sender: No OFD packet to send [07:21:32]OFD Sender: No OFD packet to send [07:21:37]OFD Sender: No OFD packet to send [07:21:42]OFD Sender: No OFD packet to send [07:21:47]OFD Sender: No OFD packet to send [07:21:52]OFD Sender: No OFD packet to send [07:21:57]OFD Sender: No OFD packet to send [07:22:02]OFD Sender: No OFD packet to send [07:22:07]OFD Sender: No OFD packet to send [07:22:12]OFD Sender: No OFD packet to send [07:22:17]OFD Sender: No OFD packet to send [07:22:22]OFD Sender: No OFD packet to send [07:22:27]OFD Sender: No OFD packet to send [07:22:32]OFD Sender: No OFD packet to send [07:22:37]OFD Sender: No OFD packet to send [07:22:42]OFD Sender: No OFD packet to send [07:22:47]OFD Sender: No OFD packet to send [07:22:52]OFD Sender: No OFD packet to send [07:22:57]OFD Sender: No OFD packet to send [07:23:02]OFD Sender: No OFD packet to send [07:23:07]OFD Sender: No OFD packet to send [07:23:12]OFD Sender: No OFD packet to send [07:23:17]OFD Sender: No OFD packet to send [07:23:22]OFD Sender: No OFD packet to send [07:23:27]OFD Sender: No OFD packet to send [07:23:32]OFD Sender: No OFD packet to send [07:23:37]OFD Sender: No OFD packet to send [07:23:42]OFD Sender: No OFD packet to send [07:23:47]OFD Sender: No OFD packet to send [07:23:52]OFD Sender: No OFD packet to send [07:23:57]OFD Sender: No OFD packet to send [07:24:02]OFD Sender: No OFD packet to send [07:24:07]OFD Sender: No OFD packet to send [07:24:12]OFD Sender: No OFD packet to send [07:24:17]OFD Sender: No OFD packet to send [07:24:22]OFD Sender: No OFD packet to send [07:24:27]OFD Sender: No OFD packet to send [07:24:32]OFD Sender: No OFD packet to send [07:24:37]OFD Sender: No OFD packet to send [07:24:42]OFD Sender: No OFD packet to send [07:24:47]OFD Sender: No OFD packet to send [07:24:52]OFD Sender: No OFD packet to send [07:24:57]OFD Sender: No OFD packet to send [07:25:02]OFD Sender: No OFD packet to send [07:25:07]OFD Sender: No OFD packet to send [07:25:12]OFD Sender: No OFD packet to send [07:25:17]OFD Sender: No OFD packet to send [07:25:22]OFD Sender: No OFD packet to send [07:25:27]OFD Sender: No OFD packet to send [07:25:32]OFD Sender: No OFD packet to send [07:25:37]OFD Sender: No OFD packet to send [07:25:42]OFD Sender: No OFD packet to send [07:25:47]OFD Sender: No OFD packet to send [07:25:53]OFD Sender: No OFD packet to send [07:25:58]OFD Sender: No OFD packet to send [07:26:03]OFD Sender: No OFD packet to send [07:26:08]OFD Sender: No OFD packet to send [07:26:13]OFD Sender: No OFD packet to send [07:26:18]OFD Sender: No OFD packet to send [07:26:23]OFD Sender: No OFD packet to send [07:26:28]OFD Sender: No OFD packet to send [07:26:33]OFD Sender: No OFD packet to send [07:26:38]OFD Sender: No OFD packet to send [07:26:43]OFD Sender: No OFD packet to send [07:26:48]OFD Sender: No OFD packet to send [07:26:53]OFD Sender: No OFD packet to send [07:26:58]OFD Sender: No OFD packet to send [07:27:03]OFD Sender: No OFD packet to send [07:27:08]OFD Sender: No OFD packet to send [07:27:13]OFD Sender: No OFD packet to send [07:27:18]OFD Sender: No OFD packet to send [07:27:23]OFD Sender: No OFD packet to send [07:27:28]OFD Sender: No OFD packet to send [07:27:33]OFD Sender: No OFD packet to send [07:27:38]OFD Sender: No OFD packet to send [07:27:43]OFD Sender: No OFD packet to send [07:27:48]OFD Sender: No OFD packet to send [07:27:53]OFD Sender: No OFD packet to send [07:27:58]OFD Sender: No OFD packet to send [07:28:03]OFD Sender: No OFD packet to send [07:28:08]OFD Sender: No OFD packet to send [07:28:13]OFD Sender: No OFD packet to send [07:28:18]OFD Sender: No OFD packet to send [07:28:23]OFD Sender: No OFD packet to send [07:28:28]OFD Sender: No OFD packet to send [07:28:33]OFD Sender: No OFD packet to send [07:28:38]OFD Sender: No OFD packet to send [07:28:43]OFD Sender: No OFD packet to send [07:28:48]OFD Sender: No OFD packet to send [07:28:53]OFD Sender: No OFD packet to send [07:28:58]OFD Sender: No OFD packet to send [07:29:03]OFD Sender: No OFD packet to send [07:29:08]OFD Sender: No OFD packet to send [07:29:13]OFD Sender: No OFD packet to send [07:29:18]OFD Sender: No OFD packet to send [07:29:23]OFD Sender: No OFD packet to send [07:29:28]OFD Sender: No OFD packet to send [07:29:33]OFD Sender: No OFD packet to send [07:29:38]OFD Sender: No OFD packet to send [07:29:43]OFD Sender: No OFD packet to send [07:29:48]OFD Sender: No OFD packet to send [07:29:53]OFD Sender: No OFD packet to send [07:29:58]OFD Sender: No OFD packet to send [07:30:03]OFD Sender: No OFD packet to send [07:30:08]OFD Sender: No OFD packet to send [07:30:13]OFD Sender: No OFD packet to send [07:30:18]OFD Sender: No OFD packet to send [07:30:23]OFD Sender: No OFD packet to send [07:30:28]OFD Sender: No OFD packet to send [07:30:33]OFD Sender: No OFD packet to send [07:30:38]OFD Sender: No OFD packet to send [07:30:43]OFD Sender: No OFD packet to send [07:30:48]OFD Sender: No OFD packet to send [07:30:53]OFD Sender: No OFD packet to send [07:30:58]OFD Sender: No OFD packet to send [07:31:03]OFD Sender: No OFD packet to send [07:31:08]OFD Sender: No OFD packet to send [07:31:13]OFD Sender: No OFD packet to send [07:31:18]OFD Sender: No OFD packet to send [07:31:23]OFD Sender: No OFD packet to send [07:31:28]OFD Sender: No OFD packet to send [07:31:33]OFD Sender: No OFD packet to send [07:31:38]OFD Sender: No OFD packet to send [07:31:43]OFD Sender: No OFD packet to send [07:31:48]OFD Sender: No OFD packet to send [07:31:53]OFD Sender: No OFD packet to send [07:31:58]OFD Sender: No OFD packet to send [07:32:03]OFD Sender: No OFD packet to send [07:32:08]OFD Sender: No OFD packet to send [07:32:13]OFD Sender: No OFD packet to send [07:32:18]OFD Sender: No OFD packet to send [07:32:23]OFD Sender: No OFD packet to send [07:32:28]OFD Sender: No OFD packet to send [07:32:33]OFD Sender: No OFD packet to send [07:32:38]OFD Sender: No OFD packet to send [07:32:43]OFD Sender: No OFD packet to send [07:32:48]OFD Sender: No OFD packet to send [07:32:53]OFD Sender: No OFD packet to send [07:32:58]OFD Sender: No OFD packet to send [07:33:03]OFD Sender: No OFD packet to send [07:33:08]OFD Sender: No OFD packet to send [07:33:13]OFD Sender: No OFD packet to send [07:33:18]OFD Sender: No OFD packet to send [07:33:23]OFD Sender: No OFD packet to send [07:33:28]OFD Sender: No OFD packet to send [07:33:33]OFD Sender: No OFD packet to send [07:33:38]OFD Sender: No OFD packet to send [07:33:43]OFD Sender: No OFD packet to send [07:33:48]OFD Sender: No OFD packet to send [07:33:53]OFD Sender: No OFD packet to send [07:33:58]OFD Sender: No OFD packet to send [07:34:03]OFD Sender: No OFD packet to send [07:34:08]OFD Sender: No OFD packet to send [07:34:13]OFD Sender: No OFD packet to send [07:34:18]OFD Sender: No OFD packet to send [07:34:23]OFD Sender: No OFD packet to send [07:34:28]OFD Sender: No OFD packet to send [07:34:33]OFD Sender: No OFD packet to send [07:34:38]OFD Sender: No OFD packet to send [07:34:43]OFD Sender: No OFD packet to send [07:34:48]OFD Sender: No OFD packet to send [07:34:53]OFD Sender: No OFD packet to send [07:34:58]OFD Sender: No OFD packet to send [07:35:03]OFD Sender: No OFD packet to send [07:35:08]OFD Sender: No OFD packet to send [07:35:13]OFD Sender: No OFD packet to send [07:35:18]OFD Sender: No OFD packet to send [07:35:23]OFD Sender: No OFD packet to send [07:35:28]OFD Sender: No OFD packet to send [07:35:33]OFD Sender: No OFD packet to send [07:35:38]OFD Sender: No OFD packet to send [07:35:43]OFD Sender: No OFD packet to send [07:35:48]OFD Sender: No OFD packet to send [07:35:53]OFD Sender: No OFD packet to send [07:35:58]OFD Sender: No OFD packet to send [07:36:03]OFD Sender: No OFD packet to send [07:36:08]OFD Sender: No OFD packet to send [07:36:13]OFD Sender: No OFD packet to send [07:36:18]OFD Sender: No OFD packet to send [07:36:23]OFD Sender: No OFD packet to send [07:36:28]OFD Sender: No OFD packet to send [07:36:33]OFD Sender: No OFD packet to send [07:36:38]OFD Sender: No OFD packet to send [07:36:43]OFD Sender: No OFD packet to send [07:36:48]OFD Sender: No OFD packet to send [07:36:53]OFD Sender: No OFD packet to send [07:36:58]OFD Sender: No OFD packet to send [07:37:03]OFD Sender: No OFD packet to send [07:37:08]OFD Sender: No OFD packet to send [07:37:13]OFD Sender: No OFD packet to send [07:37:18]OFD Sender: No OFD packet to send [07:37:23]OFD Sender: No OFD packet to send [07:37:28]OFD Sender: No OFD packet to send [07:37:33]OFD Sender: No OFD packet to send [07:37:38]OFD Sender: No OFD packet to send [07:37:43]OFD Sender: No OFD packet to send [07:37:48]OFD Sender: No OFD packet to send [07:37:53]OFD Sender: No OFD packet to send [07:37:58]OFD Sender: No OFD packet to send [07:38:03]OFD Sender: No OFD packet to send [07:38:08]OFD Sender: No OFD packet to send [07:38:13]OFD Sender: No OFD packet to send [07:38:18]OFD Sender: No OFD packet to send [07:38:23]OFD Sender: No OFD packet to send [07:38:28]OFD Sender: No OFD packet to send [07:38:33]OFD Sender: No OFD packet to send [07:38:38]OFD Sender: No OFD packet to send [07:38:43]OFD Sender: No OFD packet to send [07:38:48]OFD Sender: No OFD packet to send [07:38:53]OFD Sender: No OFD packet to send [07:38:58]OFD Sender: No OFD packet to send [07:39:03]OFD Sender: No OFD packet to send [07:39:08]OFD Sender: No OFD packet to send [07:39:13]OFD Sender: No OFD packet to send [07:39:18]OFD Sender: No OFD packet to send [07:39:23]OFD Sender: No OFD packet to send [07:39:28]OFD Sender: No OFD packet to send [07:39:33]OFD Sender: No OFD packet to send [07:39:38]OFD Sender: No OFD packet to send [07:39:43]OFD Sender: No OFD packet to send [07:39:48]OFD Sender: No OFD packet to send [07:39:53]OFD Sender: No OFD packet to send [07:39:58]OFD Sender: No OFD packet to send [07:40:03]OFD Sender: No OFD packet to send [07:40:08]OFD Sender: No OFD packet to send [07:40:13]OFD Sender: No OFD packet to send [07:40:18]OFD Sender: No OFD packet to send [07:40:23]OFD Sender: No OFD packet to send [07:40:28]OFD Sender: No OFD packet to send [07:40:33]OFD Sender: No OFD packet to send [07:40:38]OFD Sender: No OFD packet to send [07:40:43]OFD Sender: No OFD packet to send [07:40:48]OFD Sender: No OFD packet to send [07:40:53]OFD Sender: No OFD packet to send [07:40:58]OFD Sender: No OFD packet to send [07:41:03]OFD Sender: No OFD packet to send [07:41:08]OFD Sender: No OFD packet to send [07:41:13]OFD Sender: No OFD packet to send [07:41:18]OFD Sender: No OFD packet to send [07:41:23]OFD Sender: No OFD packet to send [07:41:28]OFD Sender: No OFD packet to send [07:41:33]OFD Sender: No OFD packet to send [07:41:38]OFD Sender: No OFD packet to send [07:41:43]OFD Sender: No OFD packet to send [07:41:48]OFD Sender: No OFD packet to send [07:41:53]OFD Sender: No OFD packet to send [07:41:58]OFD Sender: No OFD packet to send [07:42:03]OFD Sender: No OFD packet to send [07:42:08]OFD Sender: No OFD packet to send [07:42:13]OFD Sender: No OFD packet to send [07:42:18]OFD Sender: No OFD packet to send [07:42:23]OFD Sender: No OFD packet to send [07:42:28]OFD Sender: No OFD packet to send [07:42:33]OFD Sender: No OFD packet to send [07:42:38]OFD Sender: No OFD packet to send [07:42:43]OFD Sender: No OFD packet to send [07:42:48]OFD Sender: No OFD packet to send [07:42:53]OFD Sender: No OFD packet to send [07:42:58]OFD Sender: No OFD packet to send [07:43:03]OFD Sender: No OFD packet to send [07:43:08]OFD Sender: No OFD packet to send [07:43:13]OFD Sender: No OFD packet to send [07:43:18]OFD Sender: No OFD packet to send [07:43:23]OFD Sender: No OFD packet to send [07:43:28]OFD Sender: No OFD packet to send [07:43:33]OFD Sender: No OFD packet to send [07:43:38]OFD Sender: No OFD packet to send [07:43:43]OFD Sender: No OFD packet to send [07:43:48]OFD Sender: No OFD packet to send [07:43:53]OFD Sender: No OFD packet to send [07:43:58]OFD Sender: No OFD packet to send [07:44:03]OFD Sender: No OFD packet to send [07:44:08]OFD Sender: No OFD packet to send [07:44:13]OFD Sender: No OFD packet to send [07:44:18]OFD Sender: No OFD packet to send [07:44:23]OFD Sender: No OFD packet to send [07:44:29]OFD Sender: No OFD packet to send [07:44:34]OFD Sender: No OFD packet to send [07:44:39]OFD Sender: No OFD packet to send [07:44:44]OFD Sender: No OFD packet to send [07:44:49]OFD Sender: No OFD packet to send [07:44:54]OFD Sender: No OFD packet to send [07:44:59]OFD Sender: No OFD packet to send [07:45:04]OFD Sender: No OFD packet to send [07:45:09]OFD Sender: No OFD packet to send [07:45:14]OFD Sender: No OFD packet to send [07:45:19]OFD Sender: No OFD packet to send [07:45:24]OFD Sender: No OFD packet to send [07:45:29]OFD Sender: No OFD packet to send [07:45:34]OFD Sender: No OFD packet to send [07:45:39]OFD Sender: No OFD packet to send [07:45:44]OFD Sender: No OFD packet to send [07:45:54]OFD Sender: No OFD packet to send [07:45:54]recv_with_timeout no data received [07:45:59]OFD Sender: No OFD packet to send [07:46:04]OFD Sender: No OFD packet to send [07:46:09]OFD Sender: No OFD packet to send [07:46:14]OFD Sender: No OFD packet to send [07:46:19]OFD Sender: No OFD packet to send [07:46:24]OFD Sender: No OFD packet to send [07:46:29]OFD Sender: No OFD packet to send [07:46:34]OFD Sender: No OFD packet to send [07:46:39]OFD Sender: No OFD packet to send [07:46:44]OFD Sender: No OFD packet to send [07:46:49]OFD Sender: No OFD packet to send [07:46:54]OFD Sender: No OFD packet to send [07:46:59]OFD Sender: No OFD packet to send [07:47:04]OFD Sender: No OFD packet to send [07:47:09]OFD Sender: No OFD packet to send [07:47:14]OFD Sender: No OFD packet to send [07:47:19]OFD Sender: No OFD packet to send [07:47:24]OFD Sender: No OFD packet to send [07:47:29]OFD Sender: No OFD packet to send [07:47:34]OFD Sender: No OFD packet to send [07:47:39]OFD Sender: No OFD packet to send [07:47:44]OFD Sender: No OFD packet to send [07:47:49]OFD Sender: No OFD packet to send [07:47:54]OFD Sender: No OFD packet to send [07:47:59]OFD Sender: No OFD packet to send [07:48:04]OFD Sender: No OFD packet to send [07:48:09]OFD Sender: No OFD packet to send [07:48:14]OFD Sender: No OFD packet to send [07:48:19]OFD Sender: No OFD packet to send [07:48:24]OFD Sender: No OFD packet to send [07:48:29]OFD Sender: No OFD packet to send [07:48:34]OFD Sender: No OFD packet to send [07:48:39]OFD Sender: No OFD packet to send [07:48:44]OFD Sender: No OFD packet to send [07:48:49]OFD Sender: No OFD packet to send [07:48:54]OFD Sender: No OFD packet to send [07:48:59]OFD Sender: No OFD packet to send [07:49:04]OFD Sender: No OFD packet to send [07:49:09]OFD Sender: No OFD packet to send [07:49:14]OFD Sender: No OFD packet to send [07:49:17]int [07:49:17]Write to MH i2c: 01 00 00 F4 1B 0F [07:49:17]Write i2c OK [07:49:17]MH_I2C_Read... [07:49:17]Read from MH i2c: 01 [07:49:17]MH_I2C_Read... [07:49:17]Read from MH i2c: 01 07 00 [07:49:17]MH_I2C_Read... [07:49:17]Read from MH i2c: 01 07 00 F4 1B 00 00 00 00 00 FF 0F 24 [07:49:17]state=0 [07:49:17]int [07:49:17]Write to MH i2c: 01 00 00 F5 1B 10 [07:49:17]*** FLAG_PRN_PAP1 set [07:49:17]*** FLAG_PRN_PAP1 reset [07:49:17]*** FLAG_PRN_PAP1 set [07:49:17]Write i2c OK [07:49:17]MH_I2C_Read... [07:49:17]Read from MH i2c: 01 [07:49:17]MH_I2C_Read... [07:49:17]Read from MH i2c: 01 07 00 [07:49:17]MH_I2C_Read... [07:49:17]Read from MH i2c: 01 07 00 F5 1B 00 01 00 00 00 FF 0F 26 [07:49:17]state=0 [07:49:17]No paper [07:49:17]int [07:49:17]Write to MH i2c: 01 00 00 F6 1B 11 [07:49:17]*** FLAG_PRN_PAP2 set [07:49:17]Write i2c OK [07:49:17]MH_I2C_Read... [07:49:17]Read from MH i2c: 01 [07:49:17]MH_I2C_Read... [07:49:17]Read from MH i2c: 01 07 00 [07:49:17]MH_I2C_Read... [07:49:17]Read from MH i2c: 01 07 00 F6 1B 00 03 00 00 00 FF 0F 29 [07:49:17]state=0 [07:49:17]No paper [07:49:17]Cover opened [07:49:19]OFD Sender: No OFD packet to send [07:49:22]Write to MH i2c: 01 00 00 F7 1B 12 [07:49:22]Write i2c OK [07:49:22]MH_I2C_Read... [07:49:22]Read from MH i2c: 01 [07:49:22]MH_I2C_Read... [07:49:22]Read from MH i2c: 01 07 00 [07:49:22]MH_I2C_Read... [07:49:22]Read from MH i2c: 01 07 00 F7 1B 00 03 00 00 00 FF 0F 2A [07:49:22]state=3 [07:49:22]No paper [07:49:22]Cover opened [07:49:24]OFD Sender: No OFD packet to send [07:49:25]int [07:49:25]Write to MH i2c: 01 00 00 F8 1B 13 [07:49:25]*** FLAG_PRN_PAP1 reset [07:49:25]Write i2c OK [07:49:25]MH_I2C_Read... [07:49:25]Read from MH i2c: 01 [07:49:25]MH_I2C_Read... [07:49:25]Read from MH i2c: 01 07 00 [07:49:25]MH_I2C_Read... [07:49:25]Read from MH i2c: 01 07 00 F8 1B 00 02 00 00 00 FF 0F 2A [07:49:25]state=3 [07:49:25]Cover opened [07:49:25]int [07:49:25]Write to MH i2c: 01 00 00 F9 1B 14 [07:49:25]*** FLAG_PRN_PAP2 reset [07:49:25]Write i2c OK [07:49:25]MH_I2C_Read... [07:49:25]Read from MH i2c: 01 [07:49:25]MH_I2C_Read... [07:49:25]Read from MH i2c: 01 07 00 [07:49:25]MH_I2C_Read... [07:49:25]Read from MH i2c: 01 07 00 F9 1B 00 00 00 00 00 FF 0F 29 [07:49:25]state=3 [07:49:25]Cover closed [07:49:26]int [07:49:26]Write to MH i2c: 01 00 00 FA 1B 15 [07:49:26]*** FLAG_PRN_KEY set [07:49:26]Write i2c OK [07:49:26]MH_I2C_Read... [07:49:26]Read from MH i2c: 01 [07:49:26]MH_I2C_Read... [07:49:26]Read from MH i2c: 01 07 00 [07:49:26]MH_I2C_Read... [07:49:26]Read from MH i2c: 01 07 00 FA 1B 00 08 00 00 00 FF 0F 32 [07:49:26]state=0 [07:49:26]Key pressed [07:49:26]Feed [07:49:26]Write to MH i2c: D8 00 00 FB 1B ED [07:49:26]Write i2c OK [07:49:26]MH_I2C_Read... [07:49:26]Read from MH i2c: D8 [07:49:26]MH_I2C_Read... [07:49:26]Read from MH i2c: D8 01 00 [07:49:26]MH_I2C_Read... [07:49:26]Read from MH i2c: D8 01 00 FB 1B 00 EE [07:49:26]int [07:49:26]Write to MH i2c: 01 00 00 FC 1B 17 [07:49:26]Write i2c OK [07:49:26]MH_I2C_Read... [07:49:26]Read from MH i2c: 01 [07:49:26]MH_I2C_Read... [07:49:26]Read from MH i2c: 01 07 00 [07:49:26]MH_I2C_Read... [07:49:26]Read from MH i2c: 01 07 00 FC 1B 00 48 00 00 00 3C 00 A2 [07:49:26]state=2 [07:49:26]Key pressed [07:49:26]int [07:49:26]Write to MH i2c: 01 00 00 FD 1B 18 [07:49:27]*** FLAG_PRN_KEY reset [07:49:27]Write i2c OK [07:49:27]MH_I2C_Read... [07:49:27]Read from MH i2c: 01 [07:49:27]MH_I2C_Read... [07:49:27]Read from MH i2c: 01 07 00 [07:49:27]MH_I2C_Read... [07:49:27]Read from MH i2c: 01 07 00 FD 1B 00 00 00 00 00 FF 0F 2D [07:49:27]state=2 [07:49:27]Stop feed [07:49:29]OFD Sender: No OFD packet to send [07:49:34]OFD Sender: No OFD packet to send [07:49:39]OFD Sender: No OFD packet to send [07:49:44]OFD Sender: No OFD packet to send [07:49:49]OFD Sender: No OFD packet to send [07:49:54]OFD Sender: No OFD packet to send [07:49:59]OFD Sender: No OFD packet to send [07:50:04]OFD Sender: No OFD packet to send [07:50:09]OFD Sender: No OFD packet to send [07:50:14]OFD Sender: No OFD packet to send [07:50:19]OFD Sender: No OFD packet to send [07:50:24]OFD Sender: No OFD packet to send [07:50:29]OFD Sender: No OFD packet to send [07:50:34]OFD Sender: No OFD packet to send [07:50:39]OFD Sender: No OFD packet to send [07:50:44]OFD Sender: No OFD packet to send [07:50:49]OFD Sender: No OFD packet to send [07:50:54]OFD Sender: No OFD packet to send [07:50:59]OFD Sender: No OFD packet to send [07:51:04]OFD Sender: No OFD packet to send [07:51:09]OFD Sender: No OFD packet to send [07:51:14]OFD Sender: No OFD packet to send [07:51:19]OFD Sender: No OFD packet to send [07:51:24]OFD Sender: No OFD packet to send [07:51:29]OFD Sender: No OFD packet to send [07:51:34]OFD Sender: No OFD packet to send [07:51:39]OFD Sender: No OFD packet to send [07:51:44]OFD Sender: No OFD packet to send [07:51:49]OFD Sender: No OFD packet to send [07:51:54]OFD Sender: No OFD packet to send [07:51:59]OFD Sender: No OFD packet to send [07:52:04]OFD Sender: No OFD packet to send [07:52:09]OFD Sender: No OFD packet to send [07:52:14]OFD Sender: No OFD packet to send [07:52:19]OFD Sender: No OFD packet to send [07:52:24]OFD Sender: No OFD packet to send [07:52:29]OFD Sender: No OFD packet to send [07:52:34]OFD Sender: No OFD packet to send [07:52:39]OFD Sender: No OFD packet to send [07:52:44]OFD Sender: No OFD packet to send [07:52:49]OFD Sender: No OFD packet to send [07:52:54]OFD Sender: No OFD packet to send [07:52:59]OFD Sender: No OFD packet to send [07:53:04]OFD Sender: No OFD packet to send [07:53:09]OFD Sender: No OFD packet to send [07:53:14]OFD Sender: No OFD packet to send [07:53:19]OFD Sender: No OFD packet to send [07:53:24]OFD Sender: No OFD packet to send [07:53:29]OFD Sender: No OFD packet to send [07:53:34]OFD Sender: No OFD packet to send [07:53:39]OFD Sender: No OFD packet to send [07:53:44]OFD Sender: No OFD packet to send [07:53:49]OFD Sender: No OFD packet to send [07:53:54]OFD Sender: No OFD packet to send [07:53:59]OFD Sender: No OFD packet to send [07:54:04]OFD Sender: No OFD packet to send [07:54:09]OFD Sender: No OFD packet to send [07:54:14]OFD Sender: No OFD packet to send [07:54:19]OFD Sender: No OFD packet to send [07:54:24]OFD Sender: No OFD packet to send [07:54:29]OFD Sender: No OFD packet to send [07:54:34]OFD Sender: No OFD packet to send [07:54:39]OFD Sender: No OFD packet to send [07:54:44]OFD Sender: No OFD packet to send [07:54:49]OFD Sender: No OFD packet to send [07:54:54]OFD Sender: No OFD packet to send [07:54:59]OFD Sender: No OFD packet to send [07:55:04]OFD Sender: No OFD packet to send [07:55:09]OFD Sender: No OFD packet to send [07:55:14]OFD Sender: No OFD packet to send [07:55:19]OFD Sender: No OFD packet to send [07:55:24]OFD Sender: No OFD packet to send [07:55:29]OFD Sender: No OFD packet to send [07:55:34]OFD Sender: No OFD packet to send [07:55:39]OFD Sender: No OFD packet to send [07:55:44]OFD Sender: No OFD packet to send [07:55:49]OFD Sender: No OFD packet to send [07:55:54]OFD Sender: No OFD packet to send [07:55:59]OFD Sender: No OFD packet to send [07:56:04]OFD Sender: No OFD packet to send [07:56:09]OFD Sender: No OFD packet to send [07:56:14]OFD Sender: No OFD packet to send [07:56:19]OFD Sender: No OFD packet to send [07:56:24]OFD Sender: No OFD packet to send [07:56:29]OFD Sender: No OFD packet to send [07:56:34]OFD Sender: No OFD packet to send [07:56:39]OFD Sender: No OFD packet to send [07:56:44]OFD Sender: No OFD packet to send [07:56:49]OFD Sender: No OFD packet to send [07:56:54]OFD Sender: No OFD packet to send [07:56:59]OFD Sender: No OFD packet to send [07:57:04]OFD Sender: No OFD packet to send [07:57:09]OFD Sender: No OFD packet to send [07:57:14]OFD Sender: No OFD packet to send [07:57:19]OFD Sender: No OFD packet to send [07:57:24]OFD Sender: No OFD packet to send [07:57:29]OFD Sender: No OFD packet to send [07:57:34]OFD Sender: No OFD packet to send [07:57:39]OFD Sender: No OFD packet to send [07:57:44]OFD Sender: No OFD packet to send [07:57:49]OFD Sender: No OFD packet to send [07:57:54]OFD Sender: No OFD packet to send [07:57:59]OFD Sender: No OFD packet to send [07:58:04]OFD Sender: No OFD packet to send [07:58:09]OFD Sender: No OFD packet to send [07:58:14]OFD Sender: No OFD packet to send [07:58:19]OFD Sender: No OFD packet to send [07:58:24]OFD Sender: No OFD packet to send [07:58:29]OFD Sender: No OFD packet to send [07:58:34]OFD Sender: No OFD packet to send [07:58:39]OFD Sender: No OFD packet to send [07:58:44]OFD Sender: No OFD packet to send [07:58:49]OFD Sender: No OFD packet to send [07:58:54]OFD Sender: No OFD packet to send [07:58:59]OFD Sender: No OFD packet to send [07:59:04]OFD Sender: No OFD packet to send [07:59:09]OFD Sender: No OFD packet to send [07:59:14]OFD Sender: No OFD packet to send [07:59:19]OFD Sender: No OFD packet to send [07:59:24]OFD Sender: No OFD packet to send [07:59:29]OFD Sender: No OFD packet to send [07:59:34]OFD Sender: No OFD packet to send [07:59:39]OFD Sender: No OFD packet to send [07:59:44]OFD Sender: No OFD packet to send [07:59:49]OFD Sender: No OFD packet to send [07:59:54]OFD Sender: No OFD packet to send [07:59:59]OFD Sender: No OFD packet to send [08:00:04]OFD Sender: No OFD packet to send [08:00:09]OFD Sender: No OFD packet to send [08:00:14]OFD Sender: No OFD packet to send [08:00:19]OFD Sender: No OFD packet to send [08:00:24]OFD Sender: No OFD packet to send [08:00:29]OFD Sender: No OFD packet to send [08:00:34]OFD Sender: No OFD packet to send [08:00:39]OFD Sender: No OFD packet to send [08:00:44]OFD Sender: No OFD packet to send [08:00:49]OFD Sender: No OFD packet to send [08:00:54]OFD Sender: No OFD packet to send [08:00:59]OFD Sender: No OFD packet to send [08:01:04]OFD Sender: No OFD packet to send [08:01:09]OFD Sender: No OFD packet to send [08:01:14]OFD Sender: No OFD packet to send [08:01:19]OFD Sender: No OFD packet to send [08:01:24]OFD Sender: No OFD packet to send [08:01:29]OFD Sender: No OFD packet to send [08:01:34]OFD Sender: No OFD packet to send [08:01:39]OFD Sender: No OFD packet to send [08:01:44]OFD Sender: No OFD packet to send [08:01:49]OFD Sender: No OFD packet to send [08:01:54]OFD Sender: No OFD packet to send [08:01:59]OFD Sender: No OFD packet to send [08:02:04]OFD Sender: No OFD packet to send [08:02:09]OFD Sender: No OFD packet to send [08:02:14]OFD Sender: No OFD packet to send [08:02:19]OFD Sender: No OFD packet to send [08:02:24]OFD Sender: No OFD packet to send [08:02:29]OFD Sender: No OFD packet to send [08:02:34]OFD Sender: No OFD packet to send [08:02:39]OFD Sender: No OFD packet to send [08:02:44]OFD Sender: No OFD packet to send [08:02:49]OFD Sender: No OFD packet to send [08:02:55]OFD Sender: No OFD packet to send [08:03:00]OFD Sender: No OFD packet to send [08:03:05]OFD Sender: No OFD packet to send [08:03:10]OFD Sender: No OFD packet to send [08:03:15]OFD Sender: No OFD packet to send [08:03:20]OFD Sender: No OFD packet to send [08:03:25]OFD Sender: No OFD packet to send [08:03:30]OFD Sender: No OFD packet to send [08:03:35]OFD Sender: No OFD packet to send [08:03:40]OFD Sender: No OFD packet to send [08:03:45]OFD Sender: No OFD packet to send [08:03:50]OFD Sender: No OFD packet to send [08:03:55]OFD Sender: No OFD packet to send [08:04:00]OFD Sender: No OFD packet to send [08:04:05]OFD Sender: No OFD packet to send [08:04:10]OFD Sender: No OFD packet to send [08:04:15]OFD Sender: No OFD packet to send [08:04:20]OFD Sender: No OFD packet to send [08:04:25]OFD Sender: No OFD packet to send [08:04:30]OFD Sender: No OFD packet to send [08:04:35]OFD Sender: No OFD packet to send [08:04:40]OFD Sender: No OFD packet to send [08:04:45]OFD Sender: No OFD packet to send [08:04:50]OFD Sender: No OFD packet to send [08:04:55]OFD Sender: No OFD packet to send [08:05:00]OFD Sender: No OFD packet to send [08:05:05]OFD Sender: No OFD packet to send [08:05:10]OFD Sender: No OFD packet to send [08:05:15]OFD Sender: No OFD packet to send [08:05:20]OFD Sender: No OFD packet to send [08:05:25]OFD Sender: No OFD packet to send [08:05:30]OFD Sender: No OFD packet to send [08:05:35]OFD Sender: No OFD packet to send [08:05:40]OFD Sender: No OFD packet to send [08:05:45]OFD Sender: No OFD packet to send [08:05:50]OFD Sender: No OFD packet to send [08:05:55]OFD Sender: No OFD packet to send [08:06:00]OFD Sender: No OFD packet to send [08:06:05]OFD Sender: No OFD packet to send [08:06:10]OFD Sender: No OFD packet to send [08:06:15]OFD Sender: No OFD packet to send [08:06:20]OFD Sender: No OFD packet to send [08:06:25]OFD Sender: No OFD packet to send [08:06:30]OFD Sender: No OFD packet to send [08:06:35]OFD Sender: No OFD packet to send [08:06:40]OFD Sender: No OFD packet to send [08:06:45]OFD Sender: No OFD packet to send [08:06:50]OFD Sender: No OFD packet to send [08:06:55]OFD Sender: No OFD packet to send [08:07:00]OFD Sender: No OFD packet to send [08:07:05]OFD Sender: No OFD packet to send [08:07:10]OFD Sender: No OFD packet to send [08:07:15]OFD Sender: No OFD packet to send [08:07:20]OFD Sender: No OFD packet to send [08:07:25]OFD Sender: No OFD packet to send [08:07:30]OFD Sender: No OFD packet to send [08:07:35]OFD Sender: No OFD packet to send [08:07:40]OFD Sender: No OFD packet to send [08:07:45]OFD Sender: No OFD packet to send [08:07:50]OFD Sender: No OFD packet to send [08:07:55]OFD Sender: No OFD packet to send [08:08:00]OFD Sender: No OFD packet to send [08:08:05]OFD Sender: No OFD packet to send [08:08:10]OFD Sender: No OFD packet to send [08:08:15]OFD Sender: No OFD packet to send [08:08:20]OFD Sender: No OFD packet to send [08:08:25]OFD Sender: No OFD packet to send [08:08:30]OFD Sender: No OFD packet to send [08:08:35]OFD Sender: No OFD packet to send [08:08:40]OFD Sender: No OFD packet to send [08:08:45]OFD Sender: No OFD packet to send [08:08:50]OFD Sender: No OFD packet to send [08:08:55]OFD Sender: No OFD packet to send [08:09:00]OFD Sender: No OFD packet to send [08:09:05]OFD Sender: No OFD packet to send [08:09:10]OFD Sender: No OFD packet to send [08:09:15]OFD Sender: No OFD packet to send [08:09:20]OFD Sender: No OFD packet to send [08:09:25]OFD Sender: No OFD packet to send [08:09:30]OFD Sender: No OFD packet to send [08:09:35]OFD Sender: No OFD packet to send [08:09:40]OFD Sender: No OFD packet to send [08:09:45]OFD Sender: No OFD packet to send [08:09:50]OFD Sender: No OFD packet to send [08:09:55]OFD Sender: No OFD packet to send [08:10:00]OFD Sender: No OFD packet to send [08:10:05]OFD Sender: No OFD packet to send [08:10:10]OFD Sender: No OFD packet to send [08:10:15]OFD Sender: No OFD packet to send [08:10:20]OFD Sender: No OFD packet to send [08:10:25]OFD Sender: No OFD packet to send [08:10:30]OFD Sender: No OFD packet to send [08:10:35]OFD Sender: No OFD packet to send [08:10:40]OFD Sender: No OFD packet to send [08:10:45]OFD Sender: No OFD packet to send [08:10:50]OFD Sender: No OFD packet to send [08:10:55]OFD Sender: No OFD packet to send [08:11:00]OFD Sender: No OFD packet to send [08:11:05]OFD Sender: No OFD packet to send [08:11:10]OFD Sender: No OFD packet to send [08:11:15]OFD Sender: No OFD packet to send [08:11:20]OFD Sender: No OFD packet to send [08:11:25]OFD Sender: No OFD packet to send [08:11:30]OFD Sender: No OFD packet to send [08:11:35]OFD Sender: No OFD packet to send [08:11:40]OFD Sender: No OFD packet to send [08:11:45]OFD Sender: No OFD packet to send [08:11:50]OFD Sender: No OFD packet to send [08:11:55]OFD Sender: No OFD packet to send [08:12:00]OFD Sender: No OFD packet to send [08:12:05]OFD Sender: No OFD packet to send [08:12:10]OFD Sender: No OFD packet to send [08:12:15]OFD Sender: No OFD packet to send [08:12:20]OFD Sender: No OFD packet to send [08:12:25]OFD Sender: No OFD packet to send [08:12:30]OFD Sender: No OFD packet to send [08:12:35]OFD Sender: No OFD packet to send [08:12:40]OFD Sender: No OFD packet to send [08:12:45]OFD Sender: No OFD packet to send [08:12:50]OFD Sender: No OFD packet to send [08:12:55]OFD Sender: No OFD packet to send [08:13:00]OFD Sender: No OFD packet to send [08:13:05]OFD Sender: No OFD packet to send [08:13:10]OFD Sender: No OFD packet to send [08:13:15]OFD Sender: No OFD packet to send [08:13:20]OFD Sender: No OFD packet to send [08:13:25]OFD Sender: No OFD packet to send [08:13:30]OFD Sender: No OFD packet to send [08:13:35]OFD Sender: No OFD packet to send [08:13:40]OFD Sender: No OFD packet to send [08:13:45]OFD Sender: No OFD packet to send [08:13:50]OFD Sender: No OFD packet to send [08:13:55]OFD Sender: No OFD packet to send [08:14:00]OFD Sender: No OFD packet to send [08:14:05]OFD Sender: No OFD packet to send [08:14:10]OFD Sender: No OFD packet to send [08:14:15]OFD Sender: No OFD packet to send [08:14:20]OFD Sender: No OFD packet to send [08:14:25]OFD Sender: No OFD packet to send [08:14:30]OFD Sender: No OFD packet to send [08:14:35]OFD Sender: No OFD packet to send [08:14:40]OFD Sender: No OFD packet to send [08:14:45]OFD Sender: No OFD packet to send [08:14:50]OFD Sender: No OFD packet to send [08:14:55]OFD Sender: No OFD packet to send [08:15:00]OFD Sender: No OFD packet to send [08:15:05]OFD Sender: No OFD packet to send [08:15:10]OFD Sender: No OFD packet to send [08:15:15]OFD Sender: No OFD packet to send [08:15:20]OFD Sender: No OFD packet to send [08:15:25]OFD Sender: No OFD packet to send [08:15:30]OFD Sender: No OFD packet to send [08:15:35]OFD Sender: No OFD packet to send [08:15:40]OFD Sender: No OFD packet to send [08:15:45]OFD Sender: No OFD packet to send [08:15:50]OFD Sender: No OFD packet to send [08:15:55]OFD Sender: No OFD packet to send [08:16:00]OFD Sender: No OFD packet to send [08:16:05]OFD Sender: No OFD packet to send [08:16:10]OFD Sender: No OFD packet to send [08:16:15]OFD Sender: No OFD packet to send [08:16:20]OFD Sender: No OFD packet to send [08:16:20]accept exits with 9 [08:16:20]New connection [08:16:20]New thread 3067014500 created [08:16:20]Thread 3066871140 joined [08:16:20]Waiting for new connection... [08:16:20] Sock 9.Parse request [08:16:20]Sock 9.Check first char [08:16:20]Sock 9.First char is OK [08:16:20]request: POST /json_proto HTTP/1.0 [08:16:20]Method: POST [08:16:20]URL: /json_proto [08:16:20]Method is POST - this is cgi request [08:16:20]url: /json_proto [08:16:20]query_string will be loaded in cgi processing [08:16:20]execute_cgi json_proto POST (null) [08:16:20]execute_cgi path=json_proto method=POST [08:16:20]POST find Content-Length [08:16:20]Host: 172.17.35.3:8080 [08:16:20]Content-Length: 808 [08:16:20]Content-Type: application/json [08:16:20] [08:16:20]POST finish read [08:16:20]Found Content-Length = 808 [08:16:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359455", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 1000.17 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:16:20]execute_script... [08:16: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)359455", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 1000.17 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:16:20]POST & json_proto [08:16:20]process_json_proto [08:16:20]json parsed OK: [08:16:20]protocol is kg_v1.0 [08:16:20]action value=close_receipt [08:16:20]process_action close_receipt [08:16:20]cmd_close_receipt [08:16:20]MH_GetDate [08:16:20]Write to MH i2c: F0 00 00 FE 1B 08 [08:16:20]Write i2c OK [08:16:20]MH_I2C_Read... [08:16:20]Read from MH i2c: F0 [08:16:20]MH_I2C_Read... [08:16:20]Read from MH i2c: F0 09 00 [08:16:20]MH_I2C_Read... [08:16:20]Read from MH i2c: F0 09 00 FE 1B 00 5D 56 12 66 2B 11 66 64 42 [08:16:20]GetLastDocTimeStamp 1712474107 [08:16:20]current date 1712477789 [08:16:20]FM_GetShiftState [08:16:20]SAM_PROTO_GetShiftState [08:16:20]wFMCommunicate request_size=4 [08:16:20]MH_SAM_APDU [08:16:20]CAPDU: 80 13 01 00 [08:16:20]Write to MH i2c: E2 08 00 FF 1B 80 13 01 00 00 00 00 00 97 [08:16:20]Write i2c OK [08:16:20]MH_I2C_Read... [08:16:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:16:21]Read from MH i2c: E2 [08:16:21]MH_I2C_Read... [08:16:21]Read from MH i2c: E2 0E 00 [08:16:21]MH_I2C_Read... [08:16:21]Read from MH i2c: E2 0E 00 FF 1B 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 2B [08:16:21]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [08:16:21]wFMCommunicate OK [08:16:21]SAM_PROTO_GetShiftState done [08:16:21]FM_GetShiftState done [08:16:21]opened in 1712450087 [08:16:21]opened+sec_in_day 1712536487 [08:16:21]quantity*price = 100017 [08:16:21]sum+1 = 100018 [08:16:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.17 НСП 1% : 8.85 НДС 12% : 106.21 Наличными: 0.00 Безнал.: 1000.17 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 11 07.04.2024 08:16 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000874657 ФД: 26712 ФПД: 11830128455868 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T081629&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26712&fm=11830128455868&tin=02508201610067®Number=0000000000091578&sum=100017 [08:16:22]StoreToDocumentArchive [08:16:22]shift 313 fd 26712 [08:16:22]save to /storage/0313/doc_00026712 [08:16:22]save last doc name /storage/0313/doc_00026712 to /storage/kkm_last_doc_name [08:16:22]save OK [08:16:22]Clear old archive folders... [08:16:22]ProcessDocumentItem done err = 0, tmpTLVsize=252 [08:16:22]tlvbuf is B6DB75E0 [08:16:22]SAM_PROTO_ClearQueue [08:16:22]wFMCommunicate request_size=4 [08:16:22]MH_SAM_APDU [08:16:22]CAPDU: 80 09 00 00 [08:16:22]Write to MH i2c: E2 08 00 0C 1C 80 09 00 00 00 00 00 00 9A [08:16:22]Write i2c OK [08:16:22]MH_I2C_Read... [08:16:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:16:22]Read from MH i2c: E2 [08:16:22]MH_I2C_Read... [08:16:22]Read from MH i2c: E2 03 00 [08:16:22]MH_I2C_Read... [08:16:22]Read from MH i2c: E2 03 00 0C 1C 00 90 00 9C [08:16:22]RAPDU: 90 00 [08:16:22]wFMCommunicate OK [08:16:22]SAM_PROTO_ClearQueue done [08:16:22]KKMCreateOFDPacket [08:16:22]OFDProtocolAddRootSTLVToBuf [08:16:22]FM_MakeSignedData [08:16:22]FM_MakeSignedData [08:16:22]SAM_PROTO_SignData [08:16:22]wFMCommunicate request_size=4 [08:16:22]MH_SAM_APDU [08:16:22]CAPDU: 80 0D 01 02 [08:16:22]Write to MH i2c: E2 08 00 0D 1C 80 0D 01 02 00 00 00 00 A2 [08:16:22]Write i2c OK [08:16:22]MH_I2C_Read... [08:16:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:16:22]Read from MH i2c: E2 [08:16:22]MH_I2C_Read... [08:16:22]Read from MH i2c: E2 03 00 [08:16:22]MH_I2C_Read... [08:16:22]Read from MH i2c: E2 03 00 0D 1C 00 90 00 9D [08:16:22]RAPDU: 90 00 [08:16:22]wFMCommunicate OK [08:16:22]wFMCommunicate request_size=255 [08:16:22]MH_SAM_APDU [08:16:22]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 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 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 5D 56 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 58 68 00 00 35 04 06 00 [08:16:22]Write to MH i2c: E2 02 01 0E 1C 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 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 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 5D 56 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 58 68 00 00 35 04 06 00 00 00 AF [08:16:22]Write i2c OK [08:16:22]MH_I2C_Read... [08:16:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:16:22]Read from MH i2c: E2 [08:16:22]MH_I2C_Read... [08:16:22]Read from MH i2c: E2 03 00 [08:16:22]MH_I2C_Read... [08:16:22]Read from MH i2c: E2 03 00 0E 1C 00 90 00 9E [08:16:22]RAPDU: 90 00 [08:16:22]wFMCommunicate OK [08:16:22]wFMCommunicate request_size=11 [08:16:22]MH_SAM_APDU [08:16:22]CAPDU: 80 0D 02 02 06 0A C2 6A 9A B0 BC [08:16:22]Write to MH i2c: E2 0E 00 0F 1C 80 0D 02 02 06 00 0A C2 6A 9A B0 BC 00 00 ED [08:16:22]Write i2c OK [08:16:22]MH_I2C_Read... [08:16:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:16:22]Read from MH i2c: E2 [08:16:22]MH_I2C_Read... [08:16:22]Read from MH i2c: E2 03 00 [08:16:22]MH_I2C_Read... [08:16:22]Read from MH i2c: E2 03 00 0F 1C 00 90 00 9F [08:16:22]RAPDU: 90 00 [08:16:22]wFMCommunicate OK [08:16:22]wFMCommunicate request_size=4 [08:16:22]MH_SAM_APDU [08:16:22]CAPDU: 80 0D 03 02 [08:16:22]Write to MH i2c: E2 08 00 10 1C 80 0D 03 02 00 00 00 00 A7 [08:16:22]Write i2c OK [08:16:22]MH_I2C_Read... [08:16:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:16:22]Read from MH i2c: E2 [08:16:22]MH_I2C_Read... [08:16:22]Read from MH i2c: E2 0B 00 [08:16:22]MH_I2C_Read... [08:16:22]Read from MH i2c: E2 0B 00 10 1C 00 BC 9C 64 8D AB 07 57 F8 90 00 F2 [08:16:22]RAPDU: BC 9C 64 8D AB 07 57 F8 90 00 [08:16:22]wFMCommunicate OK [08:16:22]SAM_PROTO_SignData done [08:16:22]FM_MakeSignedData done [08:16:22]CreateOFDProtocolMessage [08:16:22]wFMCommunicate request_size=4 [08:16:22]MH_SAM_APDU [08:16:22]CAPDU: 80 11 00 00 [08:16:22]Write to MH i2c: E2 08 00 11 1C 80 11 00 00 00 00 00 00 A7 [08:16:22]Write i2c OK [08:16:22]MH_I2C_Read... [08:16:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:16:22]Read from MH i2c: E2 [08:16:22]MH_I2C_Read... [08:16:22]Read from MH i2c: E2 17 00 [08:16:22]MH_I2C_Read... [08:16:22]Read from MH i2c: E2 17 00 11 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 FF [08:16:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [08:16:22]wFMCommunicate OK [08:16:22]CreateOFDProtocolMessage done [08:16:22]OFDSenderStorePacket 26712 [08:16:22]StoreOFDPacket docnum=26712 [08:16:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 F8 39 08 01 7E 83 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 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 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 5D 56 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 58 68 00 00 35 04 06 00 0A C2 6A 9A B0 BC BC 9C 64 8D AB 07 57 F8 [08:16:22]CheckFolder [08:16:22]dirname=/storage/ofd_packets [08:16:22]CheckFolder done [08:16:22]ProducePacketName [08:16:22]name=ofd_packets/00026712 [08:16:22]NVStorageSaveData ofd_packets/00026712 [08:16:22]File name is /storage/ofd_packets/00026712 [08:16:22]Write 302 bytes [08:16:22]NVStorageSaveData done [08:16:22]OFDSenderStorePacket done [08:16:22]KKMCreateOFDPacket done [08:16:22]NVStorageSaveData kkm_last_timestamp [08:16:22]File name is /storage/kkm_last_timestamp [08:16:22]Write 4 bytes [08:16:22]NVStorageSaveData done [08:16:22]ExternCall_PrintAddStr [08:16:22]wPrintStart [08:16:22]Write to MH i2c: 01 00 00 12 1C 2E [08:16:22]Write i2c OK [08:16:22]MH_I2C_Read... [08:16:22]Read from MH i2c: 01 [08:16:22]MH_I2C_Read... [08:16:22]Read from MH i2c: 01 07 00 [08:16:22]MH_I2C_Read... [08:16:22]Read from MH i2c: 01 07 00 12 1C 00 00 00 00 00 FF 0F 43 [08:16:22]RasterBufferAndPrint [08:16:22]line Счет N : (1)359455 [08:16:22]line ИНН: 02508201610067 [08:16:22]line Контрольно-Кассовый Чек [08:16:22]line ПРОДАЖА [08:16:22]line ТРК (МРК, ГНК) : 21 [08:16:22]line Товар: 2710194210 [08:16:22]line ДТ(л)-К-5 [08:16:22]line 13.930 * 71.80 [08:16:22]line = 1000.17 [08:16:22]line НДС 12% НСП 1% [08:16:22]line > о реализуемом товаре [08:16:22]line ИТОГО: 1000.17 [08:16:22]line НСП 1% : 8.85 [08:16:22]line НДС 12% : 106.21 [08:16:22]line Наличными: 0.00 [08:16:22]line Безнал.: 1000.17 [08:16:22]line Место: АЗС № 122 "Партнер Нефть" [08:16:22]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [08:16:22]line СНО: Общий режим [08:16:22]line Чек 11 07.04.2024 08:16 [08:16:22]line Смена: 313 ФФД: 1.0 [08:16:22]line ЗНМ: 0300000147 [08:16:22]line РНМ: 0000000000091578 [08:16:22]line Версия ККМ: 001 [08:16:22]line Платежная система: O! деньги [08:16:22]line ФМ: 0000000000874657 [08:16:22]line ФД: 26712 [08:16:22]line ФПД: 11830128455868 [08:16:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T081629&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26712&fm=11830128455868&tin=02508201610067®Number=0000000000091578&sum=100017 [08:16:23]OFD Sender: Processing packet 26712 [packets to send 44, broken 43] [08:16:23]ProducePacketName [08:16:23]name=ofd_packets/00026712 [08:16:23]OFD Sender: To server: pG, [08:16:23]CommunicateWithHost lk.salyk.kg:30040 [08:16:23]ConnectInit lk.salyk.kg [08:16:23]written 0, free lines is 4095 [08:16:23]Connected sock=10 [08:16: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 36 35 37 10 01 00 00 F8 39 08 01 7E 83 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 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 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 5D 56 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 58 68 00 00 35 04 06 00 0A C2 6A 9A B0 BC BC 9C 64 8D AB 07 57 F8 [08:16:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 98 BF 47 00 33 C0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 37 10 04 04 00 58 68 00 00 F4 03 04 00 CA FD 11 66 B6 04 01 00 00 E2 6A 6E 91 B9 9D 98 2B [08:16:23]CommunicateWithHost err = 0 [08:16:23]CheckOFDResponse [08:16:23]1017 (14) - 77093643461234 [08:16:23]1041 (16) - 0000000000874657 [08:16:23]1040 (4) - 26712 [08:16:23]1012 (4) - 07.04.2024 01:58 [08:16:23]1206 (1) - 0 [08:16:23]OFD Sender: Remove packet 26712 [08:16:23]ProducePacketName [08:16:23]name=ofd_packets/00026712 [08:16:23]NVStorageDeleteData [08:16:23]Write to MH i2c: 01 00 00 3C 1C 58 [08:16:23]Write i2c OK [08:16:23]MH_I2C_Read... [08:16:23]Read from MH i2c: 01 [08:16:23]MH_I2C_Read... [08:16:23]Read from MH i2c: 01 07 00 [08:16:23]MH_I2C_Read... [08:16:23]Read from MH i2c: 01 07 00 3C 1C 00 00 00 00 00 92 0C FD [08:16:23]RasterBufferAndPrint [08:16:23]line [08:16:23]line [08:16:23]line [08:16:23]line [08:16:23]line [08:16:23]written 0, free lines is 3222 [08:16:23]MH_Cut [08:16:23]Write to MH i2c: D1 01 00 43 1C 01 31 [08:16:23]Write i2c OK [08:16:23]MH_I2C_Read... [08:16:23]Read from MH i2c: D1 [08:16:23]MH_I2C_Read... [08:16:23]Read from MH i2c: D1 01 00 [08:16:23]MH_I2C_Read... [08:16:23]Read from MH i2c: D1 01 00 43 1C 00 30 [08:16:23]Write to MH i2c: 01 00 00 44 1C 60 [08:16:23]Write i2c OK [08:16:23]MH_I2C_Read... [08:16:23]OFD Sender: No OFD packet to send [08:16:24]*** Cut start [08:16:24]*** Partial cut [08:16:24]*** CUTSNS_PIN = 1 [08:16:24]*** CUTSNS_PIN = 0 [08:16:24]*** Brake cut motor [08:16:25]Read from MH i2c: 01 [08:16:25]MH_I2C_Read... [08:16:25]*** Stop cut motor [08:16:25]*** Cut end [08:16:25]Read from MH i2c: 01 07 00 [08:16:25]MH_I2C_Read... [08:16:25]Read from MH i2c: 01 07 00 44 1C 00 00 00 00 00 FF 0F 75 [08:16:25]process_action close_receipt done [08:16:25]requested_data is exist [08:16:25]produce_requested_data [08:16:25]requested_item fm.sn is exist - process it [08:16:25]wFMCommunicate request_size=4 [08:16:25]MH_SAM_APDU [08:16:25]CAPDU: 80 11 00 00 [08:16:25]Write to MH i2c: E2 08 00 45 1C 80 11 00 00 00 00 00 00 DB [08:16:25]Write i2c OK [08:16:25]MH_I2C_Read... [08:16:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:16:25]Read from MH i2c: E2 [08:16:25]MH_I2C_Read... [08:16:25]Read from MH i2c: E2 17 00 [08:16:25]MH_I2C_Read... [08:16:25]Read from MH i2c: E2 17 00 45 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 33 [08:16:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [08:16:25]wFMCommunicate OK [08:16:25]requested_item fd.num is exist - process it [08:16:25]SAM_PROTO_GetFieldsCounters [08:16:25]wFMCommunicate request_size=4 [08:16:25]MH_SAM_APDU [08:16:25]CAPDU: 80 13 00 00 [08:16:25]Write to MH i2c: E2 08 00 46 1C 80 13 00 00 00 00 00 00 DE [08:16:25]Write i2c OK [08:16:25]MH_I2C_Read... [08:16:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:16:25]Read from MH i2c: E2 [08:16:25]MH_I2C_Read... [08:16:25]Read from MH i2c: E2 62 00 [08:16:25]MH_I2C_Read... [08:16:25]Read from MH i2c: E2 62 00 46 1C 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 58 68 00 00 0E 04 04 00 39 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 24 [08:16: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 58 68 00 00 0E 04 04 00 39 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 [08:16:25]wFMCommunicate OK [08:16:25]SAM_PROTO_GetFieldsCounters done [08:16:25]requested_item shift.num is exist - process it [08:16:25]requested_item shift.opened is exist - process it [08:16:25]req_shift_opened [08:16:25]FM_GetShiftState [08:16:25]SAM_PROTO_GetShiftState [08:16:25]wFMCommunicate request_size=4 [08:16:25]MH_SAM_APDU [08:16:25]CAPDU: 80 13 01 00 [08:16:25]Write to MH i2c: E2 08 00 47 1C 80 13 01 00 00 00 00 00 E0 [08:16:25]Write i2c OK [08:16:25]MH_I2C_Read... [08:16:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:16:25]Read from MH i2c: E2 [08:16:25]MH_I2C_Read... [08:16:25]Read from MH i2c: E2 0E 00 [08:16:25]MH_I2C_Read... [08:16:25]Read from MH i2c: E2 0E 00 47 1C 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 74 [08:16:25]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [08:16:25]wFMCommunicate OK [08:16:25]SAM_PROTO_GetShiftState done [08:16:25]FM_GetShiftState done [08:16:25]req_shift_opened done [08:16:25]requested_item shift.open_date is exist - process it [08:16:25]req_shift_open_date [08:16:25]req_shift_open_date done [08:16:25]produce_requested_data done [08:16:25]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26712,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [08:16:25]process_action_free close_receipt [08:16:25]json_value_free [08:16:25]json_value_free done [08:16:25]process_json_proto returns [08:16:25]Send response to host [08:16:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26712,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [08:16:25]free response buf [08:16:25]execute_script done [08:16:25]execute_script returns [08:16:25]free content buf [08:16:25]Sock 9.Close socket [08:16:25]Sock 9.Thread stoped [08:16:28]OFD Sender: No OFD packet to send [08:16:33]OFD Sender: No OFD packet to send [08:16:38]OFD Sender: No OFD packet to send [08:16:43]OFD Sender: No OFD packet to send [08:16:48]OFD Sender: No OFD packet to send [08:16:53]OFD Sender: No OFD packet to send [08:16:58]OFD Sender: No OFD packet to send [08:17:03]OFD Sender: No OFD packet to send [08:17:08]OFD Sender: No OFD packet to send [08:17:13]OFD Sender: No OFD packet to send [08:17:18]OFD Sender: No OFD packet to send [08:17:23]OFD Sender: No OFD packet to send [08:17:28]OFD Sender: No OFD packet to send [08:17:33]OFD Sender: No OFD packet to send [08:17:38]OFD Sender: No OFD packet to send [08:17:43]OFD Sender: No OFD packet to send [08:17:48]OFD Sender: No OFD packet to send [08:17:53]OFD Sender: No OFD packet to send [08:17:58]OFD Sender: No OFD packet to send [08:18:03]OFD Sender: No OFD packet to send [08:18:08]OFD Sender: No OFD packet to send [08:18:13]OFD Sender: No OFD packet to send [08:18:18]OFD Sender: No OFD packet to send [08:18:23]OFD Sender: No OFD packet to send [08:18:28]OFD Sender: No OFD packet to send [08:18:33]OFD Sender: No OFD packet to send [08:18:38]OFD Sender: No OFD packet to send [08:18:43]OFD Sender: No OFD packet to send [08:18:48]OFD Sender: No OFD packet to send [08:18:53]OFD Sender: No OFD packet to send [08:18:58]OFD Sender: No OFD packet to send [08:19:03]OFD Sender: No OFD packet to send [08:19:08]OFD Sender: No OFD packet to send [08:19:13]OFD Sender: No OFD packet to send [08:19:18]OFD Sender: No OFD packet to send [08:19:23]OFD Sender: No OFD packet to send [08:19:28]OFD Sender: No OFD packet to send [08:19:33]OFD Sender: No OFD packet to send [08:19:38]OFD Sender: No OFD packet to send [08:19:43]OFD Sender: No OFD packet to send [08:19:49]OFD Sender: No OFD packet to send [08:19:54]OFD Sender: No OFD packet to send [08:19:59]OFD Sender: No OFD packet to send [08:20:04]OFD Sender: No OFD packet to send [08:20:09]OFD Sender: No OFD packet to send [08:20:14]OFD Sender: No OFD packet to send [08:20:19]OFD Sender: No OFD packet to send [08:20:24]OFD Sender: No OFD packet to send [08:20:29]OFD Sender: No OFD packet to send [08:20:34]OFD Sender: No OFD packet to send [08:20:39]OFD Sender: No OFD packet to send [08:20:44]OFD Sender: No OFD packet to send [08:20:49]OFD Sender: No OFD packet to send [08:20:54]OFD Sender: No OFD packet to send [08:20:59]OFD Sender: No OFD packet to send [08:21:04]OFD Sender: No OFD packet to send [08:21:09]OFD Sender: No OFD packet to send [08:21:14]OFD Sender: No OFD packet to send [08:21:19]OFD Sender: No OFD packet to send [08:21:24]OFD Sender: No OFD packet to send [08:21:29]OFD Sender: No OFD packet to send [08:21:34]OFD Sender: No OFD packet to send [08:21:39]OFD Sender: No OFD packet to send [08:21:44]OFD Sender: No OFD packet to send [08:21:49]OFD Sender: No OFD packet to send [08:21:54]OFD Sender: No OFD packet to send [08:21:59]OFD Sender: No OFD packet to send [08:22:04]OFD Sender: No OFD packet to send [08:22:09]OFD Sender: No OFD packet to send [08:22:14]OFD Sender: No OFD packet to send [08:22:19]OFD Sender: No OFD packet to send [08:22:24]OFD Sender: No OFD packet to send [08:22:28]accept exits with 8 [08:22:28]New connection [08:22:28]New thread 3066871140 created [08:22:28]Thread 3067014500 joined [08:22:28]Waiting for new connection... [08:22:28] Sock 8.Parse request [08:22:28]Sock 8.Check first char [08:22:28]Sock 8.First char is OK [08:22:28]request: POST /json_proto HTTP/1.0 [08:22:28]Method: POST [08:22:28]URL: /json_proto [08:22:28]Method is POST - this is cgi request [08:22:28]url: /json_proto [08:22:28]query_string will be loaded in cgi processing [08:22:28]execute_cgi json_proto POST (null) [08:22:28]execute_cgi path=json_proto method=POST [08:22:28]POST find Content-Length [08:22:28]Host: 172.17.35.3:8080 [08:22:28]Content-Length: 803 [08:22:28]Content-Type: application/json [08:22:28] [08:22:28]POST finish read [08:22:28]Found Content-Length = 803 [08:22:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359456", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 1000.45 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:22:28]execute_script... [08:22: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 : (1)359456", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 1000.45 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:22:28]POST & json_proto [08:22:28]process_json_proto [08:22:28]json parsed OK: [08:22:28]protocol is kg_v1.0 [08:22:28]action value=close_receipt [08:22:28]process_action close_receipt [08:22:28]cmd_close_receipt [08:22:28]MH_GetDate [08:22:28]Write to MH i2c: F0 00 00 48 1C 53 [08:22:28]Write i2c OK [08:22:28]MH_I2C_Read... [08:22:28]Read from MH i2c: F0 [08:22:28]MH_I2C_Read... [08:22:28]Read from MH i2c: F0 09 00 [08:22:28]MH_I2C_Read... [08:22:28]Read from MH i2c: F0 09 00 48 1C 00 CC 57 12 66 2B 11 66 64 FD [08:22:28]GetLastDocTimeStamp 1712477789 [08:22:28]current date 1712478156 [08:22:28]FM_GetShiftState [08:22:28]SAM_PROTO_GetShiftState [08:22:28]wFMCommunicate request_size=4 [08:22:28]MH_SAM_APDU [08:22:28]CAPDU: 80 13 01 00 [08:22:28]Write to MH i2c: E2 08 00 49 1C 80 13 01 00 00 00 00 00 E2 [08:22:28]Write i2c OK [08:22:28]MH_I2C_Read... [08:22:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:22:28]Read from MH i2c: E2 [08:22:28]MH_I2C_Read... [08:22:28]Read from MH i2c: E2 0E 00 [08:22:28]MH_I2C_Read... [08:22:28]Read from MH i2c: E2 0E 00 49 1C 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 76 [08:22:28]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [08:22:28]wFMCommunicate OK [08:22:28]SAM_PROTO_GetShiftState done [08:22:28]FM_GetShiftState done [08:22:28]opened in 1712450087 [08:22:28]opened+sec_in_day 1712536487 [08:22:28]quantity*price = 100045 [08:22:28]sum+1 = 100046 [08:22:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.45 НСП 1% : 8.85 НДС 12% : 106.24 Наличными: 0.00 Безнал.: 1000.45 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 12 07.04.2024 08:22 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000874657 ФД: 26713 ФПД: 162401434184636 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T082236&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26713&fm=162401434184636&tin=02508201610067®Number=0000000000091578&sum=100045 [08:22:30]StoreToDocumentArchive [08:22:30]shift 313 fd 26713 [08:22:30]save to /storage/0313/doc_00026713 [08:22:30]save last doc name /storage/0313/doc_00026713 to /storage/kkm_last_doc_name [08:22:30]save OK [08:22:30]Clear old archive folders... [08:22:30]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:22:30]tlvbuf is 00EDF210 [08:22:30]SAM_PROTO_ClearQueue [08:22:30]wFMCommunicate request_size=4 [08:22:30]MH_SAM_APDU [08:22:30]CAPDU: 80 09 00 00 [08:22:30]Write to MH i2c: E2 08 00 56 1C 80 09 00 00 00 00 00 00 E4 [08:22:30]Write i2c OK [08:22:30]MH_I2C_Read... [08:22:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:22:30]Read from MH i2c: E2 [08:22:30]MH_I2C_Read... [08:22:30]Read from MH i2c: E2 03 00 [08:22:30]MH_I2C_Read... [08:22:30]Read from MH i2c: E2 03 00 56 1C 00 90 00 E6 [08:22:30]RAPDU: 90 00 [08:22:30]wFMCommunicate OK [08:22:30]SAM_PROTO_ClearQueue done [08:22:30]KKMCreateOFDPacket [08:22:30]OFDProtocolAddRootSTLVToBuf [08:22:30]FM_MakeSignedData [08:22:30]FM_MakeSignedData [08:22:30]SAM_PROTO_SignData [08:22:30]wFMCommunicate request_size=4 [08:22:30]MH_SAM_APDU [08:22:30]CAPDU: 80 0D 01 02 [08:22:30]Write to MH i2c: E2 08 00 57 1C 80 0D 01 02 00 00 00 00 EC [08:22:30]Write i2c OK [08:22:30]MH_I2C_Read... [08:22:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:22:30]Read from MH i2c: E2 [08:22:30]MH_I2C_Read... [08:22:30]Read from MH i2c: E2 03 00 [08:22:30]MH_I2C_Read... [08:22:30]Read from MH i2c: E2 03 00 57 1C 00 90 00 E7 [08:22:30]RAPDU: 90 00 [08:22:30]wFMCommunicate OK [08:22:30]wFMCommunicate request_size=255 [08:22:30]MH_SAM_APDU [08:22: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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CD 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 00 00 00 00 00 00 39 04 06 00 CD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 CC 57 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 59 68 00 00 35 04 06 00 93 [08:22:30]Write to MH i2c: E2 02 01 58 1C 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CD 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 00 00 00 00 00 00 39 04 06 00 CD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 CC 57 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 59 68 00 00 35 04 06 00 93 00 00 0F [08:22:30]Write i2c OK [08:22:30]MH_I2C_Read... [08:22:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:22:30]Read from MH i2c: E2 [08:22:30]MH_I2C_Read... [08:22:30]Read from MH i2c: E2 03 00 [08:22:30]MH_I2C_Read... [08:22:30]Read from MH i2c: E2 03 00 58 1C 00 90 00 E8 [08:22:30]RAPDU: 90 00 [08:22:30]wFMCommunicate OK [08:22:30]wFMCommunicate request_size=10 [08:22:30]MH_SAM_APDU [08:22:30]CAPDU: 80 0D 02 02 05 B4 07 CB AB BC [08:22:30]Write to MH i2c: E2 0D 00 59 1C 80 0D 02 02 05 00 B4 07 CB AB BC 00 00 E6 [08:22:30]Write i2c OK [08:22:30]MH_I2C_Read... [08:22:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:22:30]Read from MH i2c: E2 [08:22:30]MH_I2C_Read... [08:22:30]Read from MH i2c: E2 03 00 [08:22:30]MH_I2C_Read... [08:22:30]Read from MH i2c: E2 03 00 59 1C 00 90 00 E9 [08:22:30]RAPDU: 90 00 [08:22:30]wFMCommunicate OK [08:22:30]wFMCommunicate request_size=4 [08:22:30]MH_SAM_APDU [08:22:30]CAPDU: 80 0D 03 02 [08:22:30]Write to MH i2c: E2 08 00 5A 1C 80 0D 03 02 00 00 00 00 F1 [08:22:30]Write i2c OK [08:22:30]MH_I2C_Read... [08:22:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:22:30]Read from MH i2c: E2 [08:22:30]MH_I2C_Read... [08:22:30]Read from MH i2c: E2 0B 00 [08:22:30]MH_I2C_Read... [08:22:30]Read from MH i2c: E2 0B 00 5A 1C 00 0F 6B C4 46 6F 83 88 32 90 00 22 [08:22:30]RAPDU: 0F 6B C4 46 6F 83 88 32 90 00 [08:22:30]wFMCommunicate OK [08:22:30]SAM_PROTO_SignData done [08:22:30]FM_MakeSignedData done [08:22:30]CreateOFDProtocolMessage [08:22:30]wFMCommunicate request_size=4 [08:22:30]MH_SAM_APDU [08:22:30]CAPDU: 80 11 00 00 [08:22:30]Write to MH i2c: E2 08 00 5B 1C 80 11 00 00 00 00 00 00 F1 [08:22:30]Write i2c OK [08:22:30]MH_I2C_Read... [08:22:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:22:30]Read from MH i2c: E2 [08:22:30]MH_I2C_Read... [08:22:30]Read from MH i2c: E2 17 00 [08:22:30]MH_I2C_Read... [08:22:30]Read from MH i2c: E2 17 00 5B 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 49 [08:22:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [08:22:30]wFMCommunicate OK [08:22:30]CreateOFDProtocolMessage done [08:22:30]OFDSenderStorePacket 26713 [08:22:30]StoreOFDPacket docnum=26713 [08:22:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 E3 45 07 01 92 B6 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CD 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 00 00 00 00 00 00 39 04 06 00 CD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 CC 57 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 59 68 00 00 35 04 06 00 93 B4 07 CB AB BC 0F 6B C4 46 6F 83 88 32 [08:22:30]CheckFolder [08:22:30]dirname=/storage/ofd_packets [08:22:30]CheckFolder done [08:22:30]ProducePacketName [08:22:30]name=ofd_packets/00026713 [08:22:30]NVStorageSaveData ofd_packets/00026713 [08:22:30]File name is /storage/ofd_packets/00026713 [08:22:30]Write 301 bytes [08:22:30]NVStorageSaveData done [08:22:30]OFDSenderStorePacket done [08:22:30]KKMCreateOFDPacket done [08:22:30]NVStorageSaveData kkm_last_timestamp [08:22:30]File name is /storage/kkm_last_timestamp [08:22:30]Write 4 bytes [08:22:30]NVStorageSaveData done [08:22:30]ExternCall_PrintAddStr [08:22:30]wPrintStart [08:22:30]Write to MH i2c: 01 00 00 5C 1C 78 [08:22:30]Write i2c OK [08:22:30]MH_I2C_Read... [08:22:30]Read from MH i2c: 01 [08:22:30]MH_I2C_Read... [08:22:30]Read from MH i2c: 01 07 00 [08:22:30]MH_I2C_Read... [08:22:30]Read from MH i2c: 01 07 00 5C 1C 00 00 00 00 00 FF 0F 8D [08:22:30]RasterBufferAndPrint [08:22:30]line Счет N : (1)359456 [08:22:30]line ИНН: 02508201610067 [08:22:30]line Контрольно-Кассовый Чек [08:22:30]line ПРОДАЖА [08:22:30]line ТРК (МРК, ГНК) : 51 [08:22:30]line Товар: 2710124130 [08:22:30]line Аи-92-К-5 [08:22:30]line 15.780 * 63.40 [08:22:30]line = 1000.45 [08:22:30]line НДС 12% НСП 1% [08:22:30]line > о реализуемом товаре [08:22:30]line ИТОГО: 1000.45 [08:22:30]line НСП 1% : 8.85 [08:22:30]line НДС 12% : 106.24 [08:22:30]line Наличными: 0.00 [08:22:30]line Безнал.: 1000.45 [08:22:30]line Место: АЗС № 122 "Партнер Нефть" [08:22:30]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [08:22:30]line СНО: Общий режим [08:22:30]line Чек 12 07.04.2024 08:22 [08:22:30]line Смена: 313 ФФД: 1.0 [08:22:30]line ЗНМ: 0300000147 [08:22:30]line РНМ: 0000000000091578 [08:22:30]line Версия ККМ: 001 [08:22:30]line Платежная система: O! деньги [08:22:30]line ФМ: 0000000000874657 [08:22:30]line ФД: 26713 [08:22:30]line ФПД: 162401434184636 [08:22:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T082236&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26713&fm=162401434184636&tin=02508201610067®Number=0000000000091578&sum=100045 [08:22:30]OFD Sender: Processing packet 26713 [packets to send 44, broken 43] [08:22:30]ProducePacketName [08:22:30]name=ofd_packets/00026713 [08:22:30]OFD Sender: To server: pG, [08:22:30]CommunicateWithHost lk.salyk.kg:30040 [08:22:30]ConnectInit lk.salyk.kg [08:22:30]written 0, free lines is 4095 [08:22:30]Connected sock=10 [08:22: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 36 35 37 0F 01 00 00 E3 45 07 01 92 B6 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CD 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 00 00 00 00 00 00 39 04 06 00 CD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 CC 57 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 59 68 00 00 35 04 06 00 93 B4 07 CB AB BC 0F 6B C4 46 6F 83 88 32 [08:22:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 4C E6 47 00 E6 A3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 59 68 00 00 F4 03 04 00 3A FF 11 66 B6 04 01 00 00 57 4B 9A 29 18 BB 40 97 [08:22:31]CommunicateWithHost err = 0 [08:22:31]CheckOFDResponse [08:22:31]1017 (14) - 77093643461234 [08:22:31]1041 (16) - 0000000000874657 [08:22:31]1040 (4) - 26713 [08:22:31]1012 (4) - 07.04.2024 02:04 [08:22:31]1206 (1) - 0 [08:22:31]OFD Sender: Remove packet 26713 [08:22:31]ProducePacketName [08:22:31]name=ofd_packets/00026713 [08:22:31]NVStorageDeleteData [08:22:31]Write to MH i2c: 01 00 00 86 1C A2 [08:22:31]Write i2c OK [08:22:31]MH_I2C_Read... [08:22:31]Read from MH i2c: 01 [08:22:31]MH_I2C_Read... [08:22:31]Read from MH i2c: 01 07 00 [08:22:31]MH_I2C_Read... [08:22:31]Read from MH i2c: 01 07 00 86 1C 00 00 00 00 00 8D 0C 42 [08:22:31]RasterBufferAndPrint [08:22:31]line [08:22:31]line [08:22:31]line [08:22:31]line [08:22:31]line [08:22:31]written 0, free lines is 3217 [08:22:31]MH_Cut [08:22:31]Write to MH i2c: D1 01 00 8D 1C 01 7B [08:22:31]Write i2c OK [08:22:31]MH_I2C_Read... [08:22:31]Read from MH i2c: D1 [08:22:31]MH_I2C_Read... [08:22:31]Read from MH i2c: D1 01 00 [08:22:31]MH_I2C_Read... [08:22:31]Read from MH i2c: D1 01 00 8D 1C 00 7A [08:22:31]Write to MH i2c: 01 00 00 8E 1C AA [08:22:31]Write i2c OK [08:22:31]MH_I2C_Read... [08:22:31]OFD Sender: No OFD packet to send [08:22:32]*** Cut start [08:22:32]*** Partial cut [08:22:32]*** CUTSNS_PIN = 1 [08:22:32]*** CUTSNS_PIN = 0 [08:22:32]*** Brake cut motor [08:22:33]Read from MH i2c: 01 [08:22:33]MH_I2C_Read... [08:22:33]*** Stop cut motor [08:22:33]*** Cut end [08:22:33]Read from MH i2c: 01 07 00 [08:22:33]MH_I2C_Read... [08:22:33]Read from MH i2c: 01 07 00 8E 1C 00 00 00 00 00 FF 0F BF [08:22:33]process_action close_receipt done [08:22:33]requested_data is exist [08:22:33]produce_requested_data [08:22:33]requested_item fm.sn is exist - process it [08:22:33]wFMCommunicate request_size=4 [08:22:33]MH_SAM_APDU [08:22:33]CAPDU: 80 11 00 00 [08:22:33]Write to MH i2c: E2 08 00 8F 1C 80 11 00 00 00 00 00 00 25 [08:22:33]Write i2c OK [08:22:33]MH_I2C_Read... [08:22:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:22:33]Read from MH i2c: E2 [08:22:33]MH_I2C_Read... [08:22:33]Read from MH i2c: E2 17 00 [08:22:33]MH_I2C_Read... [08:22:33]Read from MH i2c: E2 17 00 8F 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 7D [08:22:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [08:22:33]wFMCommunicate OK [08:22:33]requested_item fd.num is exist - process it [08:22:33]SAM_PROTO_GetFieldsCounters [08:22:33]wFMCommunicate request_size=4 [08:22:33]MH_SAM_APDU [08:22:33]CAPDU: 80 13 00 00 [08:22:33]Write to MH i2c: E2 08 00 90 1C 80 13 00 00 00 00 00 00 28 [08:22:33]Write i2c OK [08:22:33]MH_I2C_Read... [08:22:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:22:33]Read from MH i2c: E2 [08:22:33]MH_I2C_Read... [08:22:33]Read from MH i2c: E2 62 00 [08:22:33]MH_I2C_Read... [08:22:33]Read from MH i2c: E2 62 00 90 1C 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 59 68 00 00 0E 04 04 00 39 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 72 [08:22: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 59 68 00 00 0E 04 04 00 39 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 [08:22:33]wFMCommunicate OK [08:22:33]SAM_PROTO_GetFieldsCounters done [08:22:33]requested_item shift.num is exist - process it [08:22:33]requested_item shift.opened is exist - process it [08:22:33]req_shift_opened [08:22:33]FM_GetShiftState [08:22:33]SAM_PROTO_GetShiftState [08:22:33]wFMCommunicate request_size=4 [08:22:33]MH_SAM_APDU [08:22:33]CAPDU: 80 13 01 00 [08:22:33]Write to MH i2c: E2 08 00 91 1C 80 13 01 00 00 00 00 00 2A [08:22:33]Write i2c OK [08:22:33]MH_I2C_Read... [08:22:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:22:33]Read from MH i2c: E2 [08:22:33]MH_I2C_Read... [08:22:33]Read from MH i2c: E2 0E 00 [08:22:33]MH_I2C_Read... [08:22:33]Read from MH i2c: E2 0E 00 91 1C 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 BE [08:22:33]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [08:22:33]wFMCommunicate OK [08:22:33]SAM_PROTO_GetShiftState done [08:22:33]FM_GetShiftState done [08:22:33]req_shift_opened done [08:22:33]requested_item shift.open_date is exist - process it [08:22:33]req_shift_open_date [08:22:33]req_shift_open_date done [08:22:33]produce_requested_data done [08:22:33]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26713,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [08:22:33]process_action_free close_receipt [08:22:33]json_value_free [08:22:33]json_value_free done [08:22:33]process_json_proto returns [08:22:33]Send response to host [08:22:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26713,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [08:22:33]free response buf [08:22:33]execute_script done [08:22:33]execute_script returns [08:22:33]free content buf [08:22:33]Sock 8.Close socket [08:22:33]Sock 8.Thread stoped [08:22:36]OFD Sender: No OFD packet to send [08:22:41]OFD Sender: No OFD packet to send [08:22:46]OFD Sender: No OFD packet to send [08:22:51]OFD Sender: No OFD packet to send [08:22:56]OFD Sender: No OFD packet to send [08:23:01]OFD Sender: No OFD packet to send [08:23:06]OFD Sender: No OFD packet to send [08:23:11]OFD Sender: No OFD packet to send [08:23:16]OFD Sender: No OFD packet to send [08:23:21]OFD Sender: No OFD packet to send [08:23:26]OFD Sender: No OFD packet to send [08:23:31]OFD Sender: No OFD packet to send [08:23:36]OFD Sender: No OFD packet to send [08:23:41]OFD Sender: No OFD packet to send [08:23:46]OFD Sender: No OFD packet to send [08:23:51]OFD Sender: No OFD packet to send [08:23:56]OFD Sender: No OFD packet to send [08:24:01]OFD Sender: No OFD packet to send [08:24:06]OFD Sender: No OFD packet to send [08:24:11]OFD Sender: No OFD packet to send [08:24:16]OFD Sender: No OFD packet to send [08:24:21]OFD Sender: No OFD packet to send [08:24:26]OFD Sender: No OFD packet to send [08:24:31]OFD Sender: No OFD packet to send [08:24:36]OFD Sender: No OFD packet to send [08:24:41]OFD Sender: No OFD packet to send [08:24:46]OFD Sender: No OFD packet to send [08:24:51]OFD Sender: No OFD packet to send [08:24:56]OFD Sender: No OFD packet to send [08:25:01]OFD Sender: No OFD packet to send [08:25:06]OFD Sender: No OFD packet to send [08:25:11]OFD Sender: No OFD packet to send [08:25:16]OFD Sender: No OFD packet to send [08:25:21]OFD Sender: No OFD packet to send [08:25:26]OFD Sender: No OFD packet to send [08:25:31]OFD Sender: No OFD packet to send [08:25:36]OFD Sender: No OFD packet to send [08:25:41]OFD Sender: No OFD packet to send [08:25:46]OFD Sender: No OFD packet to send [08:25:51]OFD Sender: No OFD packet to send [08:25:56]OFD Sender: No OFD packet to send [08:26:01]OFD Sender: No OFD packet to send [08:26:06]OFD Sender: No OFD packet to send [08:26:11]OFD Sender: No OFD packet to send [08:26:16]OFD Sender: No OFD packet to send [08:26:21]OFD Sender: No OFD packet to send [08:26:26]OFD Sender: No OFD packet to send [08:26:31]OFD Sender: No OFD packet to send [08:26:36]OFD Sender: No OFD packet to send [08:26:41]OFD Sender: No OFD packet to send [08:26:46]OFD Sender: No OFD packet to send [08:26:51]OFD Sender: No OFD packet to send [08:26:56]OFD Sender: No OFD packet to send [08:27:01]OFD Sender: No OFD packet to send [08:27:06]OFD Sender: No OFD packet to send [08:27:11]OFD Sender: No OFD packet to send [08:27:16]OFD Sender: No OFD packet to send [08:27:21]OFD Sender: No OFD packet to send [08:27:26]OFD Sender: No OFD packet to send [08:27:31]OFD Sender: No OFD packet to send [08:27:36]OFD Sender: No OFD packet to send [08:27:41]OFD Sender: No OFD packet to send [08:27:46]OFD Sender: No OFD packet to send [08:27:51]OFD Sender: No OFD packet to send [08:27:56]OFD Sender: No OFD packet to send [08:28:01]OFD Sender: No OFD packet to send [08:28:06]OFD Sender: No OFD packet to send [08:28:12]OFD Sender: No OFD packet to send [08:28:17]OFD Sender: No OFD packet to send [08:28:22]OFD Sender: No OFD packet to send [08:28:27]OFD Sender: No OFD packet to send [08:28:32]OFD Sender: No OFD packet to send [08:28:37]OFD Sender: No OFD packet to send [08:28:42]OFD Sender: No OFD packet to send [08:28:47]OFD Sender: No OFD packet to send [08:28:52]OFD Sender: No OFD packet to send [08:28:57]OFD Sender: No OFD packet to send [08:29:02]OFD Sender: No OFD packet to send [08:29:07]OFD Sender: No OFD packet to send [08:29:12]OFD Sender: No OFD packet to send [08:29:17]OFD Sender: No OFD packet to send [08:29:22]OFD Sender: No OFD packet to send [08:29:27]OFD Sender: No OFD packet to send [08:29:32]OFD Sender: No OFD packet to send [08:29:37]OFD Sender: No OFD packet to send [08:29:42]OFD Sender: No OFD packet to send [08:29:47]OFD Sender: No OFD packet to send [08:29:52]OFD Sender: No OFD packet to send [08:29:57]OFD Sender: No OFD packet to send [08:30:02]OFD Sender: No OFD packet to send [08:30:07]OFD Sender: No OFD packet to send [08:30:12]OFD Sender: No OFD packet to send [08:30:17]OFD Sender: No OFD packet to send [08:30:22]OFD Sender: No OFD packet to send [08:30:27]OFD Sender: No OFD packet to send [08:30:32]OFD Sender: No OFD packet to send [08:30:37]OFD Sender: No OFD packet to send [08:30:42]OFD Sender: No OFD packet to send [08:30:47]OFD Sender: No OFD packet to send [08:30:52]OFD Sender: No OFD packet to send [08:30:57]OFD Sender: No OFD packet to send [08:31:02]OFD Sender: No OFD packet to send [08:31:07]OFD Sender: No OFD packet to send [08:31:12]OFD Sender: No OFD packet to send [08:31:17]OFD Sender: No OFD packet to send [08:31:22]OFD Sender: No OFD packet to send [08:31:27]OFD Sender: No OFD packet to send [08:31:32]OFD Sender: No OFD packet to send [08:31:37]OFD Sender: No OFD packet to send [08:31:42]OFD Sender: No OFD packet to send [08:31:47]OFD Sender: No OFD packet to send [08:31:52]OFD Sender: No OFD packet to send [08:31:57]OFD Sender: No OFD packet to send [08:31:59]accept exits with 9 [08:31:59]New connection [08:31:59]New thread 3067014500 created [08:31:59]Thread 3066871140 joined [08:31:59]Waiting for new connection... [08:31:59] Sock 9.Parse request [08:31:59]Sock 9.Check first char [08:31:59]Sock 9.First char is OK [08:31:59]request: POST /json_proto HTTP/1.0 [08:31:59]Method: POST [08:31:59]URL: /json_proto [08:31:59]Method is POST - this is cgi request [08:31:59]url: /json_proto [08:31:59]query_string will be loaded in cgi processing [08:31:59]execute_cgi json_proto POST (null) [08:31:59]execute_cgi path=json_proto method=POST [08:31:59]POST find Content-Length [08:31:59]Host: 172.17.35.3:8080 [08:31:59]Content-Length: 816 [08:31:59]Content-Type: application/json [08:31:59] [08:31:59]POST finish read [08:31:59]Found Content-Length = 816 [08:31:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359457", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 7.890, "sum" : 500.23, "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" : 500.23 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:31:59]execute_script... [08:31: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 : (1)359457", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 7.890, "sum" : 500.23, "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" : 500.23 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:31:59]POST & json_proto [08:31:59]process_json_proto [08:31:59]json parsed OK: [08:31:59]protocol is kg_v1.0 [08:31:59]action value=close_receipt [08:31:59]process_action close_receipt [08:31:59]cmd_close_receipt [08:31:59]MH_GetDate [08:31:59]Write to MH i2c: F0 00 00 92 1C 9D [08:31:59]Write i2c OK [08:31:59]MH_I2C_Read... [08:31:59]Read from MH i2c: F0 [08:31:59]MH_I2C_Read... [08:31:59]Read from MH i2c: F0 09 00 [08:31:59]MH_I2C_Read... [08:31:59]Read from MH i2c: F0 09 00 92 1C 00 08 5A 12 66 2B 11 66 64 86 [08:31:59]GetLastDocTimeStamp 1712478156 [08:31:59]current date 1712478728 [08:31:59]FM_GetShiftState [08:31:59]SAM_PROTO_GetShiftState [08:31:59]wFMCommunicate request_size=4 [08:31:59]MH_SAM_APDU [08:31:59]CAPDU: 80 13 01 00 [08:31:59]Write to MH i2c: E2 08 00 93 1C 80 13 01 00 00 00 00 00 2C [08:31:59]Write i2c OK [08:31:59]MH_I2C_Read... [08:32:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:32:00]Read from MH i2c: E2 [08:32:00]MH_I2C_Read... [08:32:00]Read from MH i2c: E2 0E 00 [08:32:00]MH_I2C_Read... [08:32:00]Read from MH i2c: E2 0E 00 93 1C 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 C0 [08:32:00]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [08:32:00]wFMCommunicate OK [08:32:00]SAM_PROTO_GetShiftState done [08:32:00]FM_GetShiftState done [08:32:00]opened in 1712450087 [08:32:00]opened+sec_in_day 1712536487 [08:32:00]quantity*price = 50022 [08:32:00]sum+1 = 50024 [08:32:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 500.23 НСП 1% : 4.43 НДС 12% : 53.12 Наличными: 0.00 Безнал.: 500.23 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 13 07.04.2024 08:32 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000874657 ФД: 26714 ФПД: 50181567159248 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T083208&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26714&fm=50181567159248&tin=02508201610067®Number=0000000000091578&sum=50023 [08:32:01]StoreToDocumentArchive [08:32:01]shift 313 fd 26714 [08:32:01]save to /storage/0313/doc_00026714 [08:32:01]save last doc name /storage/0313/doc_00026714 to /storage/kkm_last_doc_name [08:32:01]save OK [08:32:01]Clear old archive folders... [08:32:01]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:32:01]tlvbuf is 00E29600 [08:32:01]SAM_PROTO_ClearQueue [08:32:01]wFMCommunicate request_size=4 [08:32:01]MH_SAM_APDU [08:32:01]CAPDU: 80 09 00 00 [08:32:01]Write to MH i2c: E2 08 00 A0 1C 80 09 00 00 00 00 00 00 2E [08:32:01]Write i2c OK [08:32:01]MH_I2C_Read... [08:32:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:32:01]Read from MH i2c: E2 [08:32:01]MH_I2C_Read... [08:32:01]Read from MH i2c: E2 03 00 [08:32:01]MH_I2C_Read... [08:32:01]Read from MH i2c: E2 03 00 A0 1C 00 90 00 30 [08:32:01]RAPDU: 90 00 [08:32:01]wFMCommunicate OK [08:32:01]SAM_PROTO_ClearQueue done [08:32:01]KKMCreateOFDPacket [08:32:01]OFDProtocolAddRootSTLVToBuf [08:32:01]FM_MakeSignedData [08:32:01]FM_MakeSignedData [08:32:01]SAM_PROTO_SignData [08:32:01]wFMCommunicate request_size=4 [08:32:01]MH_SAM_APDU [08:32:01]CAPDU: 80 0D 01 02 [08:32:01]Write to MH i2c: E2 08 00 A1 1C 80 0D 01 02 00 00 00 00 36 [08:32:01]Write i2c OK [08:32:01]MH_I2C_Read... [08:32:01]Read from MH i2c: E2 [08:32:01]MH_I2C_Read... [08:32:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:32:01]Read from MH i2c: E2 03 00 [08:32:01]MH_I2C_Read... [08:32:01]Read from MH i2c: E2 03 00 A1 1C 00 90 00 31 [08:32:01]RAPDU: 90 00 [08:32:01]wFMCommunicate OK [08:32:01]wFMCommunicate request_size=255 [08:32:01]MH_SAM_APDU [08:32: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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 67 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 00 00 00 00 00 00 39 04 06 00 67 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 08 5A 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 5A 68 00 00 35 04 06 00 2D [08:32:01]Write to MH i2c: E2 02 01 A2 1C 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 67 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 00 00 00 00 00 00 39 04 06 00 67 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 08 5A 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 5A 68 00 00 35 04 06 00 2D 00 00 34 [08:32:01]Write i2c OK [08:32:01]MH_I2C_Read... [08:32:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:32:01]Read from MH i2c: E2 [08:32:01]MH_I2C_Read... [08:32:01]Read from MH i2c: E2 03 00 [08:32:01]MH_I2C_Read... [08:32:01]Read from MH i2c: E2 03 00 A2 1C 00 90 00 32 [08:32:01]RAPDU: 90 00 [08:32:01]wFMCommunicate OK [08:32:01]wFMCommunicate request_size=10 [08:32:01]MH_SAM_APDU [08:32:01]CAPDU: 80 0D 02 02 05 A3 CE 7C 1B D0 [08:32:01]Write to MH i2c: E2 0D 00 A3 1C 80 0D 02 02 05 00 A3 CE 7C 1B D0 00 00 1B [08:32:01]Write i2c OK [08:32:01]MH_I2C_Read... [08:32:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:32:01]Read from MH i2c: E2 [08:32:01]MH_I2C_Read... [08:32:01]Read from MH i2c: E2 03 00 [08:32:01]MH_I2C_Read... [08:32:01]Read from MH i2c: E2 03 00 A3 1C 00 90 00 33 [08:32:01]RAPDU: 90 00 [08:32:01]wFMCommunicate OK [08:32:01]wFMCommunicate request_size=4 [08:32:01]MH_SAM_APDU [08:32:01]CAPDU: 80 0D 03 02 [08:32:01]Write to MH i2c: E2 08 00 A4 1C 80 0D 03 02 00 00 00 00 3B [08:32:01]Write i2c OK [08:32:01]MH_I2C_Read... [08:32:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:32:01]Read from MH i2c: E2 [08:32:01]MH_I2C_Read... [08:32:01]Read from MH i2c: E2 0B 00 [08:32:01]MH_I2C_Read... [08:32:01]Read from MH i2c: E2 0B 00 A4 1C 00 F4 11 D5 CC CB F2 30 54 90 00 23 [08:32:01]RAPDU: F4 11 D5 CC CB F2 30 54 90 00 [08:32:01]wFMCommunicate OK [08:32:01]SAM_PROTO_SignData done [08:32:01]FM_MakeSignedData done [08:32:01]CreateOFDProtocolMessage [08:32:01]wFMCommunicate request_size=4 [08:32:01]MH_SAM_APDU [08:32:01]CAPDU: 80 11 00 00 [08:32:01]Write to MH i2c: E2 08 00 A5 1C 80 11 00 00 00 00 00 00 3B [08:32:01]Write i2c OK [08:32:01]MH_I2C_Read... [08:32:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:32:01]Read from MH i2c: E2 [08:32:01]MH_I2C_Read... [08:32:01]Read from MH i2c: E2 17 00 [08:32:01]MH_I2C_Read... [08:32:01]Read from MH i2c: E2 17 00 A5 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 93 [08:32:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [08:32:01]wFMCommunicate OK [08:32:01]CreateOFDProtocolMessage done [08:32:01]OFDSenderStorePacket 26714 [08:32:01]StoreOFDPacket docnum=26714 [08:32:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 37 D0 07 01 E6 B3 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 67 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 00 00 00 00 00 00 39 04 06 00 67 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 08 5A 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 5A 68 00 00 35 04 06 00 2D A3 CE 7C 1B D0 F4 11 D5 CC CB F2 30 54 [08:32:01]CheckFolder [08:32:01]dirname=/storage/ofd_packets [08:32:01]CheckFolder done [08:32:01]ProducePacketName [08:32:01]name=ofd_packets/00026714 [08:32:01]NVStorageSaveData ofd_packets/00026714 [08:32:01]File name is /storage/ofd_packets/00026714 [08:32:01]Write 301 bytes [08:32:01]NVStorageSaveData done [08:32:01]OFDSenderStorePacket done [08:32:01]KKMCreateOFDPacket done [08:32:01]NVStorageSaveData kkm_last_timestamp [08:32:01]File name is /storage/kkm_last_timestamp [08:32:01]Write 4 bytes [08:32:01]NVStorageSaveData done [08:32:01]ExternCall_PrintAddStr [08:32:01]wPrintStart [08:32:01]Write to MH i2c: 01 00 00 A6 1C C2 [08:32:01]Write i2c OK [08:32:01]MH_I2C_Read... [08:32:01]Read from MH i2c: 01 [08:32:01]MH_I2C_Read... [08:32:01]Read from MH i2c: 01 07 00 [08:32:01]MH_I2C_Read... [08:32:01]Read from MH i2c: 01 07 00 A6 1C 00 00 00 00 00 FF 0F D7 [08:32:01]RasterBufferAndPrint [08:32:01]line Счет N : (1)359457 [08:32:01]line ИНН: 02508201610067 [08:32:01]line Контрольно-Кассовый Чек [08:32:01]line ПРОДАЖА [08:32:01]line ТРК (МРК, ГНК) : 61 [08:32:01]line Товар: 2710124130 [08:32:01]line Аи-92-К-5 [08:32:01]line 7.890 * 63.40 [08:32:01]line = 500.23 [08:32:01]line НДС 12% НСП 1% [08:32:01]line > о реализуемом товаре [08:32:01]line ИТОГО: 500.23 [08:32:01]line НСП 1% : 4.43 [08:32:01]line НДС 12% : 53.12 [08:32:01]line Наличными: 0.00 [08:32:01]line Безнал.: 500.23 [08:32:01]line Место: АЗС № 122 "Партнер Нефть" [08:32:01]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [08:32:01]line СНО: Общий режим [08:32:01]line Чек 13 07.04.2024 08:32 [08:32:01]line Смена: 313 ФФД: 1.0 [08:32:01]line ЗНМ: 0300000147 [08:32:01]line РНМ: 0000000000091578 [08:32:01]line Версия ККМ: 001 [08:32:01]line Платежная система: Бакай Банк [08:32:01]line ФМ: 0000000000874657 [08:32:01]line ФД: 26714 [08:32:01]line ФПД: 50181567159248 [08:32:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T083208&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26714&fm=50181567159248&tin=02508201610067®Number=0000000000091578&sum=50023 [08:32:02]OFD Sender: Processing packet 26714 [packets to send 44, broken 43] [08:32:02]ProducePacketName [08:32:02]name=ofd_packets/00026714 [08:32:02]OFD Sender: To server: pG, [08:32:02]CommunicateWithHost lk.salyk.kg:30040 [08:32:02]ConnectInit lk.salyk.kg [08:32:02]written 0, free lines is 4095 [08:32:02]Connected sock=10 [08:32: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 36 35 37 0F 01 00 00 37 D0 07 01 E6 B3 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 67 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 00 00 00 00 00 00 39 04 06 00 67 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 08 5A 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 5A 68 00 00 35 04 06 00 2D A3 CE 7C 1B D0 F4 11 D5 CC CB F2 30 54 [08:32:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 32 08 47 00 F8 27 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 5A 68 00 00 F4 03 04 00 75 01 12 66 B6 04 01 00 00 61 FA 2F 05 B5 61 9D 15 [08:32:02]CommunicateWithHost err = 0 [08:32:02]CheckOFDResponse [08:32:02]1017 (14) - 77093643461234 [08:32:02]1041 (16) - 0000000000874657 [08:32:02]1040 (4) - 26714 [08:32:02]1012 (4) - 07.04.2024 02:14 [08:32:02]1206 (1) - 0 [08:32:02]OFD Sender: Remove packet 26714 [08:32:02]ProducePacketName [08:32:02]name=ofd_packets/00026714 [08:32:02]NVStorageDeleteData [08:32:02]Write to MH i2c: 01 00 00 D0 1C EC [08:32:02]Write i2c OK [08:32:02]MH_I2C_Read... [08:32:02]Read from MH i2c: 01 [08:32:02]MH_I2C_Read... [08:32:02]Read from MH i2c: 01 07 00 [08:32:02]MH_I2C_Read... [08:32:02]Read from MH i2c: 01 07 00 D0 1C 00 00 00 00 00 96 0C 95 [08:32:02]RasterBufferAndPrint [08:32:02]line [08:32:02]line [08:32:02]line [08:32:02]line [08:32:02]line [08:32:02]written 0, free lines is 3224 [08:32:02]MH_Cut [08:32:02]Write to MH i2c: D1 01 00 D7 1C 01 C5 [08:32:02]Write i2c OK [08:32:02]MH_I2C_Read... [08:32:02]Read from MH i2c: D1 [08:32:02]MH_I2C_Read... [08:32:02]Read from MH i2c: D1 01 00 [08:32:02]MH_I2C_Read... [08:32:02]Read from MH i2c: D1 01 00 D7 1C 00 C4 [08:32:02]Write to MH i2c: 01 00 00 D8 1C F4 [08:32:02]Write i2c OK [08:32:02]MH_I2C_Read... [08:32:02]OFD Sender: No OFD packet to send [08:32:03]*** Cut start [08:32:03]*** Partial cut [08:32:03]*** CUTSNS_PIN = 1 [08:32:03]*** CUTSNS_PIN = 0 [08:32:03]*** Brake cut motor [08:32:04]Read from MH i2c: 01 [08:32:04]MH_I2C_Read... [08:32:04]*** Stop cut motor [08:32:04]*** Cut end [08:32:04]Read from MH i2c: 01 07 00 [08:32:04]MH_I2C_Read... [08:32:04]Read from MH i2c: 01 07 00 D8 1C 00 00 00 00 00 FF 0F 09 [08:32:04]process_action close_receipt done [08:32:04]requested_data is exist [08:32:04]produce_requested_data [08:32:04]requested_item fm.sn is exist - process it [08:32:04]wFMCommunicate request_size=4 [08:32:04]MH_SAM_APDU [08:32:04]CAPDU: 80 11 00 00 [08:32:04]Write to MH i2c: E2 08 00 D9 1C 80 11 00 00 00 00 00 00 6F [08:32:04]Write i2c OK [08:32:04]MH_I2C_Read... [08:32:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:32:04]Read from MH i2c: E2 [08:32:04]MH_I2C_Read... [08:32:04]Read from MH i2c: E2 17 00 [08:32:04]MH_I2C_Read... [08:32:04]Read from MH i2c: E2 17 00 D9 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 C7 [08:32:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [08:32:04]wFMCommunicate OK [08:32:04]requested_item fd.num is exist - process it [08:32:04]SAM_PROTO_GetFieldsCounters [08:32:04]wFMCommunicate request_size=4 [08:32:04]MH_SAM_APDU [08:32:04]CAPDU: 80 13 00 00 [08:32:04]Write to MH i2c: E2 08 00 DA 1C 80 13 00 00 00 00 00 00 72 [08:32:04]Write i2c OK [08:32:04]MH_I2C_Read... [08:32:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:32:04]Read from MH i2c: E2 [08:32:04]MH_I2C_Read... [08:32:04]Read from MH i2c: E2 62 00 [08:32:04]MH_I2C_Read... [08:32:04]Read from MH i2c: E2 62 00 DA 1C 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 5A 68 00 00 0E 04 04 00 39 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 C0 [08:32: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 5A 68 00 00 0E 04 04 00 39 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 [08:32:04]wFMCommunicate OK [08:32:04]SAM_PROTO_GetFieldsCounters done [08:32:04]requested_item shift.num is exist - process it [08:32:04]requested_item shift.opened is exist - process it [08:32:04]req_shift_opened [08:32:04]FM_GetShiftState [08:32:04]SAM_PROTO_GetShiftState [08:32:04]wFMCommunicate request_size=4 [08:32:04]MH_SAM_APDU [08:32:04]CAPDU: 80 13 01 00 [08:32:04]Write to MH i2c: E2 08 00 DB 1C 80 13 01 00 00 00 00 00 74 [08:32:04]Write i2c OK [08:32:04]MH_I2C_Read... [08:32:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:32:04]Read from MH i2c: E2 [08:32:04]MH_I2C_Read... [08:32:04]Read from MH i2c: E2 0E 00 [08:32:04]MH_I2C_Read... [08:32:04]Read from MH i2c: E2 0E 00 DB 1C 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 08 [08:32:04]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [08:32:04]wFMCommunicate OK [08:32:04]SAM_PROTO_GetShiftState done [08:32:04]FM_GetShiftState done [08:32:04]req_shift_opened done [08:32:04]requested_item shift.open_date is exist - process it [08:32:04]req_shift_open_date [08:32:04]req_shift_open_date done [08:32:04]produce_requested_data done [08:32:04]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26714,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [08:32:04]process_action_free close_receipt [08:32:04]json_value_free [08:32:04]json_value_free done [08:32:04]process_json_proto returns [08:32:04]Send response to host [08:32:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26714,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [08:32:04]free response buf [08:32:04]execute_script done [08:32:04]execute_script returns [08:32:04]free content buf [08:32:04]Sock 9.Close socket [08:32:04]Sock 9.Thread stoped [08:32:07]OFD Sender: No OFD packet to send [08:32:12]OFD Sender: No OFD packet to send [08:32:17]OFD Sender: No OFD packet to send [08:32:22]OFD Sender: No OFD packet to send [08:32:27]OFD Sender: No OFD packet to send [08:32:32]OFD Sender: No OFD packet to send [08:32:37]OFD Sender: No OFD packet to send [08:32:42]OFD Sender: No OFD packet to send [08:32:47]OFD Sender: No OFD packet to send [08:32:52]OFD Sender: No OFD packet to send [08:32:57]OFD Sender: No OFD packet to send [08:33:02]OFD Sender: No OFD packet to send [08:33:07]OFD Sender: No OFD packet to send [08:33:12]OFD Sender: No OFD packet to send [08:33:17]OFD Sender: No OFD packet to send [08:33:22]OFD Sender: No OFD packet to send [08:33:27]OFD Sender: No OFD packet to send [08:33:32]OFD Sender: No OFD packet to send [08:33:37]OFD Sender: No OFD packet to send [08:33:42]OFD Sender: No OFD packet to send [08:33:47]OFD Sender: No OFD packet to send [08:33:52]OFD Sender: No OFD packet to send [08:33:57]OFD Sender: No OFD packet to send [08:34:02]OFD Sender: No OFD packet to send [08:34:07]OFD Sender: No OFD packet to send [08:34:12]OFD Sender: No OFD packet to send [08:34:17]OFD Sender: No OFD packet to send [08:34:22]OFD Sender: No OFD packet to send [08:34:27]OFD Sender: No OFD packet to send [08:34:32]OFD Sender: No OFD packet to send [08:34:37]OFD Sender: No OFD packet to send [08:34:42]OFD Sender: No OFD packet to send [08:34:47]OFD Sender: No OFD packet to send [08:34:52]OFD Sender: No OFD packet to send [08:34:57]OFD Sender: No OFD packet to send [08:35:02]OFD Sender: No OFD packet to send [08:35:07]OFD Sender: No OFD packet to send [08:35:12]OFD Sender: No OFD packet to send [08:35:17]OFD Sender: No OFD packet to send [08:35:22]OFD Sender: No OFD packet to send [08:35:27]OFD Sender: No OFD packet to send [08:35:32]OFD Sender: No OFD packet to send [08:35:37]OFD Sender: No OFD packet to send [08:35:42]OFD Sender: No OFD packet to send [08:35:47]OFD Sender: No OFD packet to send [08:35:52]OFD Sender: No OFD packet to send [08:35:58]OFD Sender: No OFD packet to send [08:36:03]OFD Sender: No OFD packet to send [08:36:08]OFD Sender: No OFD packet to send [08:36:13]OFD Sender: No OFD packet to send [08:36:18]OFD Sender: No OFD packet to send [08:36:23]OFD Sender: No OFD packet to send [08:36:28]OFD Sender: No OFD packet to send [08:36:33]OFD Sender: No OFD packet to send [08:36:38]OFD Sender: No OFD packet to send [08:36:43]OFD Sender: No OFD packet to send [08:36:48]OFD Sender: No OFD packet to send [08:36:53]OFD Sender: No OFD packet to send [08:36:58]OFD Sender: No OFD packet to send [08:37:03]OFD Sender: No OFD packet to send [08:37:08]OFD Sender: No OFD packet to send [08:37:13]OFD Sender: No OFD packet to send [08:37:18]OFD Sender: No OFD packet to send [08:37:23]OFD Sender: No OFD packet to send [08:37:28]OFD Sender: No OFD packet to send [08:37:33]OFD Sender: No OFD packet to send [08:37:38]OFD Sender: No OFD packet to send [08:37:43]OFD Sender: No OFD packet to send [08:37:48]OFD Sender: No OFD packet to send [08:37:53]OFD Sender: No OFD packet to send [08:37:58]OFD Sender: No OFD packet to send [08:38:03]OFD Sender: No OFD packet to send [08:38:08]OFD Sender: No OFD packet to send [08:38:13]OFD Sender: No OFD packet to send [08:38:18]OFD Sender: No OFD packet to send [08:38:23]OFD Sender: No OFD packet to send [08:38:28]OFD Sender: No OFD packet to send [08:38:33]OFD Sender: No OFD packet to send [08:38:38]OFD Sender: No OFD packet to send [08:38:43]OFD Sender: No OFD packet to send [08:38:48]OFD Sender: No OFD packet to send [08:38:53]OFD Sender: No OFD packet to send [08:38:58]OFD Sender: No OFD packet to send [08:39:03]OFD Sender: No OFD packet to send [08:39:08]OFD Sender: No OFD packet to send [08:39:13]OFD Sender: No OFD packet to send [08:39:18]OFD Sender: No OFD packet to send [08:39:23]OFD Sender: No OFD packet to send [08:39:28]OFD Sender: No OFD packet to send [08:39:31]accept exits with 8 [08:39:31]New connection [08:39:31]New thread 3066871140 created [08:39:31]Thread 3067014500 joined [08:39:31]Waiting for new connection... [08:39:31] Sock 8.Parse request [08:39:31]Sock 8.Check first char [08:39:31]Sock 8.First char is OK [08:39:31]request: POST /json_proto HTTP/1.0 [08:39:31]Method: POST [08:39:31]URL: /json_proto [08:39:31]Method is POST - this is cgi request [08:39:31]url: /json_proto [08:39:31]query_string will be loaded in cgi processing [08:39:31]execute_cgi json_proto POST (null) [08:39:31]execute_cgi path=json_proto method=POST [08:39:31]POST find Content-Length [08:39:31]Host: 172.17.35.3:8080 [08:39:31]Content-Length: 682 [08:39:31]Content-Type: application/json [08:39:31] [08:39:31]POST finish read [08:39:31]Found Content-Length = 682 [08:39:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359458", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 6.970, "sum" : 500.45, "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" ] } } [08:39:31]execute_script... [08:39: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 : (1)359458", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 6.970, "sum" : 500.45, "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" ] } } [08:39:31]POST & json_proto [08:39:31]process_json_proto [08:39:31]json parsed OK: [08:39:31]protocol is kg_v1.0 [08:39:31]action value=close_receipt [08:39:31]process_action close_receipt [08:39:31]cmd_close_receipt [08:39:31]MH_GetDate [08:39:31]Write to MH i2c: F0 00 00 DC 1C E7 [08:39:31]Write i2c OK [08:39:31]MH_I2C_Read... [08:39:31]Read from MH i2c: F0 [08:39:31]MH_I2C_Read... [08:39:31]Read from MH i2c: F0 09 00 [08:39:31]MH_I2C_Read... [08:39:31]Read from MH i2c: F0 09 00 DC 1C 00 CB 5B 12 66 2B 11 66 64 94 [08:39:31]GetLastDocTimeStamp 1712478728 [08:39:31]current date 1712479179 [08:39:31]FM_GetShiftState [08:39:31]SAM_PROTO_GetShiftState [08:39:31]wFMCommunicate request_size=4 [08:39:31]MH_SAM_APDU [08:39:31]CAPDU: 80 13 01 00 [08:39:31]Write to MH i2c: E2 08 00 DD 1C 80 13 01 00 00 00 00 00 76 [08:39:31]Write i2c OK [08:39:31]MH_I2C_Read... [08:39:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:39:31]Read from MH i2c: E2 [08:39:31]MH_I2C_Read... [08:39:31]Read from MH i2c: E2 0E 00 [08:39:31]MH_I2C_Read... [08:39:31]Read from MH i2c: E2 0E 00 DD 1C 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 0A [08:39:31]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [08:39:31]wFMCommunicate OK [08:39:31]SAM_PROTO_GetShiftState done [08:39:31]FM_GetShiftState done [08:39:31]opened in 1712450087 [08:39:31]opened+sec_in_day 1712536487 [08:39:31]quantity*price = 50044 [08:39:31]sum+1 = 50046 [08:39:31]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.45 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.14 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 14 07.04.2024 08:39 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26715 ФПД: 107078700403235 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T083939&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26715&fm=107078700403235&tin=02508201610067®Number=0000000000091578&sum=50000 [08:39:32]StoreToDocumentArchive [08:39:32]shift 313 fd 26715 [08:39:32]save to /storage/0313/doc_00026715 [08:39:32]save last doc name /storage/0313/doc_00026715 to /storage/kkm_last_doc_name [08:39:32]save OK [08:39:32]Clear old archive folders... [08:39:32]ProcessDocumentItem done err = 0, tmpTLVsize=252 [08:39:32]tlvbuf is 00EEBD40 [08:39:32]SAM_PROTO_ClearQueue [08:39:32]wFMCommunicate request_size=4 [08:39:32]MH_SAM_APDU [08:39:32]CAPDU: 80 09 00 00 [08:39:32]Write to MH i2c: E2 08 00 EA 1C 80 09 00 00 00 00 00 00 78 [08:39:32]Write i2c OK [08:39:32]MH_I2C_Read... [08:39:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:39:32]Read from MH i2c: E2 [08:39:32]MH_I2C_Read... [08:39:32]Read from MH i2c: E2 03 00 [08:39:32]MH_I2C_Read... [08:39:32]Read from MH i2c: E2 03 00 EA 1C 00 90 00 7A [08:39:32]RAPDU: 90 00 [08:39:32]wFMCommunicate OK [08:39:32]SAM_PROTO_ClearQueue done [08:39:32]KKMCreateOFDPacket [08:39:32]OFDProtocolAddRootSTLVToBuf [08:39:32]FM_MakeSignedData [08:39:32]FM_MakeSignedData [08:39:32]SAM_PROTO_SignData [08:39:32]wFMCommunicate request_size=4 [08:39:32]MH_SAM_APDU [08:39:32]CAPDU: 80 0D 01 02 [08:39:32]Write to MH i2c: E2 08 00 EB 1C 80 0D 01 02 00 00 00 00 80 [08:39:32]Write i2c OK [08:39:32]MH_I2C_Read... [08:39:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:39:32]Read from MH i2c: E2 [08:39:32]MH_I2C_Read... [08:39:32]Read from MH i2c: E2 03 00 [08:39:32]MH_I2C_Read... [08:39:32]Read from MH i2c: E2 03 00 EB 1C 00 90 00 7B [08:39:32]RAPDU: 90 00 [08:39:32]wFMCommunicate OK [08:39:32]wFMCommunicate request_size=255 [08:39:32]MH_SAM_APDU [08:39:32]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 3A 1B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 7D C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 CB 5B 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 5B 68 00 00 35 04 06 00 [08:39:32]Write to MH i2c: E2 02 01 EC 1C 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 3A 1B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 7D C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 CB 5B 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 5B 68 00 00 35 04 06 00 00 00 ED [08:39:32]Write i2c OK [08:39:32]MH_I2C_Read... [08:39:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:39:33]Read from MH i2c: E2 [08:39:33]MH_I2C_Read... [08:39:33]Read from MH i2c: E2 03 00 [08:39:33]MH_I2C_Read... [08:39:33]Read from MH i2c: E2 03 00 EC 1C 00 90 00 7C [08:39:33]RAPDU: 90 00 [08:39:33]wFMCommunicate OK [08:39:33]wFMCommunicate request_size=11 [08:39:33]MH_SAM_APDU [08:39:33]CAPDU: 80 0D 02 02 06 61 63 33 E6 8A 23 [08:39:33]Write to MH i2c: E2 0E 00 ED 1C 80 0D 02 02 06 00 61 63 33 E6 8A 23 00 00 19 [08:39:33]Write i2c OK [08:39:33]MH_I2C_Read... [08:39:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:39:33]Read from MH i2c: E2 [08:39:33]MH_I2C_Read... [08:39:33]Read from MH i2c: E2 03 00 [08:39:33]MH_I2C_Read... [08:39:33]Read from MH i2c: E2 03 00 ED 1C 00 90 00 7D [08:39:33]RAPDU: 90 00 [08:39:33]wFMCommunicate OK [08:39:33]wFMCommunicate request_size=4 [08:39:33]MH_SAM_APDU [08:39:33]CAPDU: 80 0D 03 02 [08:39:33]Write to MH i2c: E2 08 00 EE 1C 80 0D 03 02 00 00 00 00 85 [08:39:33]Write i2c OK [08:39:33]MH_I2C_Read... [08:39:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:39:33]OFD Sender: No OFD packet to send [08:39:33]Read from MH i2c: E2 [08:39:33]MH_I2C_Read... [08:39:33]Read from MH i2c: E2 0B 00 [08:39:33]MH_I2C_Read... [08:39:33]Read from MH i2c: E2 0B 00 EE 1C 00 26 86 91 C9 57 07 FA D5 90 00 B9 [08:39:33]RAPDU: 26 86 91 C9 57 07 FA D5 90 00 [08:39:33]wFMCommunicate OK [08:39:33]SAM_PROTO_SignData done [08:39:33]FM_MakeSignedData done [08:39:33]CreateOFDProtocolMessage [08:39:33]wFMCommunicate request_size=4 [08:39:33]MH_SAM_APDU [08:39:33]CAPDU: 80 11 00 00 [08:39:33]Write to MH i2c: E2 08 00 EF 1C 80 11 00 00 00 00 00 00 85 [08:39:33]Write i2c OK [08:39:33]MH_I2C_Read... [08:39:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:39:33]Read from MH i2c: E2 [08:39:33]MH_I2C_Read... [08:39:33]Read from MH i2c: E2 17 00 [08:39:33]MH_I2C_Read... [08:39:33]Read from MH i2c: E2 17 00 EF 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 DD [08:39:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [08:39:33]wFMCommunicate OK [08:39:33]CreateOFDProtocolMessage done [08:39:33]OFDSenderStorePacket 26715 [08:39:33]StoreOFDPacket docnum=26715 [08:39:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 E6 21 08 01 6D 63 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 3A 1B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 7D C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 CB 5B 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 5B 68 00 00 35 04 06 00 61 63 33 E6 8A 23 26 86 91 C9 57 07 FA D5 [08:39:33]CheckFolder [08:39:33]dirname=/storage/ofd_packets [08:39:33]CheckFolder done [08:39:33]ProducePacketName [08:39:33]name=ofd_packets/00026715 [08:39:33]NVStorageSaveData ofd_packets/00026715 [08:39:33]File name is /storage/ofd_packets/00026715 [08:39:33]Write 302 bytes [08:39:33]NVStorageSaveData done [08:39:33]OFDSenderStorePacket done [08:39:33]KKMCreateOFDPacket done [08:39:33]NVStorageSaveData kkm_last_timestamp [08:39:33]File name is /storage/kkm_last_timestamp [08:39:33]Write 4 bytes [08:39:33]NVStorageSaveData done [08:39:33]ExternCall_PrintAddStr [08:39:33]wPrintStart [08:39:33]Write to MH i2c: 01 00 00 F0 1C 0C [08:39:33]Write i2c OK [08:39:33]MH_I2C_Read... [08:39:33]Read from MH i2c: 01 [08:39:33]MH_I2C_Read... [08:39:33]Read from MH i2c: 01 07 00 [08:39:33]MH_I2C_Read... [08:39:33]Read from MH i2c: 01 07 00 F0 1C 00 00 00 00 00 FF 0F 21 [08:39:33]RasterBufferAndPrint [08:39:33]line Счет N : (1)359458 [08:39:33]line ИНН: 02508201610067 [08:39:33]line Контрольно-Кассовый Чек [08:39:33]line ПРОДАЖА [08:39:33]line ТРК (МРК, ГНК) : 21 [08:39:33]line Товар: 2710194210 [08:39:33]line ДТ(л)-К-5 [08:39:33]line 6.970 * 71.80 [08:39:33]line = 500.45 [08:39:33]line НДС 12% НСП 1% [08:39:33]line > о реализуемом товаре [08:39:33]line ОКРУГЛЕНИЕ: -0.45 [08:39:33]line ИТОГО: 500.00 [08:39:33]line Внесено: 500.00 [08:39:33]line СДАЧА: 0.00 [08:39:33]line НСП 1% : 4.43 [08:39:33]line НДС 12% : 53.14 [08:39:33]line Наличными: 500.00 [08:39:33]line Безнал.: 0.00 [08:39:33]line Место: АЗС № 122 "Партнер Нефть" [08:39:33]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [08:39:33]line СНО: Общий режим [08:39:33]line Чек 14 07.04.2024 08:39 [08:39:33]line Смена: 313 ФФД: 1.0 [08:39:33]line ЗНМ: 0300000147 [08:39:33]line РНМ: 0000000000091578 [08:39:33]line Версия ККМ: 001 [08:39:33]line ФМ: 0000000000874657 [08:39:33]line ФД: 26715 [08:39:33]line ФПД: 107078700403235 [08:39:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T083939&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26715&fm=107078700403235&tin=02508201610067®Number=0000000000091578&sum=50000 [08:39:33]OFD Sender: Processing packet 26715 [packets to send 44, broken 43] [08:39:33]ProducePacketName [08:39:33]name=ofd_packets/00026715 [08:39:33]OFD Sender: To server: pG, [08:39:33]CommunicateWithHost lk.salyk.kg:30040 [08:39:33]ConnectInit lk.salyk.kg [08:39:33]written 0, free lines is 4095 [08:39:33]Connected sock=10 [08:39: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 36 35 37 10 01 00 00 E6 21 08 01 6D 63 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 3A 1B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 7D C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 CB 5B 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 5B 68 00 00 35 04 06 00 61 63 33 E6 8A 23 26 86 91 C9 57 07 FA D5 [08:39:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 AF 78 47 00 0B 19 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 37 10 04 04 00 5B 68 00 00 F4 03 04 00 39 03 12 66 B6 04 01 00 00 27 8E AC D4 B0 48 20 E4 [08:39:33]CommunicateWithHost err = 0 [08:39:33]CheckOFDResponse [08:39:33]1017 (14) - 77093643461234 [08:39:33]1041 (16) - 0000000000874657 [08:39:33]1040 (4) - 26715 [08:39:33]1012 (4) - 07.04.2024 02:21 [08:39:33]1206 (1) - 0 [08:39:33]OFD Sender: Remove packet 26715 [08:39:33]ProducePacketName [08:39:33]name=ofd_packets/00026715 [08:39:33]NVStorageDeleteData [08:39:34]Write to MH i2c: 01 00 00 1B 1D 38 [08:39:34]Write i2c OK [08:39:34]MH_I2C_Read... [08:39:34]Read from MH i2c: 01 [08:39:34]MH_I2C_Read... [08:39:34]Read from MH i2c: 01 07 00 [08:39:34]MH_I2C_Read... [08:39:34]Read from MH i2c: 01 07 00 1B 1D 00 00 00 00 00 72 0C BD [08:39:34]RasterBufferAndPrint [08:39:34]line [08:39:34]line [08:39:34]line [08:39:34]line [08:39:34]line [08:39:34]written 0, free lines is 3188 [08:39:34]MH_Cut [08:39:34]Write to MH i2c: D1 01 00 22 1D 01 11 [08:39:34]Write i2c OK [08:39:34]MH_I2C_Read... [08:39:34]Read from MH i2c: D1 [08:39:34]MH_I2C_Read... [08:39:34]Read from MH i2c: D1 01 00 [08:39:34]MH_I2C_Read... [08:39:34]Read from MH i2c: D1 01 00 22 1D 00 10 [08:39:34]Write to MH i2c: 01 00 00 23 1D 40 [08:39:34]Write i2c OK [08:39:34]MH_I2C_Read... [08:39:34]OFD Sender: No OFD packet to send [08:39:35]*** Cut start [08:39:35]*** Partial cut [08:39:35]*** CUTSNS_PIN = 1 [08:39:35]*** CUTSNS_PIN = 0 [08:39:35]*** Brake cut motor [08:39:35]Read from MH i2c: 01 [08:39:35]MH_I2C_Read... [08:39:35]*** Stop cut motor [08:39:35]*** Cut end [08:39:35]Read from MH i2c: 01 07 00 [08:39:35]MH_I2C_Read... [08:39:35]Read from MH i2c: 01 07 00 23 1D 00 00 00 00 00 FF 0F 55 [08:39:35]process_action close_receipt done [08:39:35]requested_data is exist [08:39:35]produce_requested_data [08:39:35]requested_item fm.sn is exist - process it [08:39:35]wFMCommunicate request_size=4 [08:39:35]MH_SAM_APDU [08:39:35]CAPDU: 80 11 00 00 [08:39:35]Write to MH i2c: E2 08 00 24 1D 80 11 00 00 00 00 00 00 BB [08:39:35]Write i2c OK [08:39:35]MH_I2C_Read... [08:39:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:39:35]Read from MH i2c: E2 [08:39:35]MH_I2C_Read... [08:39:35]Read from MH i2c: E2 17 00 [08:39:35]MH_I2C_Read... [08:39:35]Read from MH i2c: E2 17 00 24 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 13 [08:39:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [08:39:35]wFMCommunicate OK [08:39:35]requested_item fd.num is exist - process it [08:39:35]SAM_PROTO_GetFieldsCounters [08:39:35]wFMCommunicate request_size=4 [08:39:35]MH_SAM_APDU [08:39:35]CAPDU: 80 13 00 00 [08:39:35]Write to MH i2c: E2 08 00 25 1D 80 13 00 00 00 00 00 00 BE [08:39:35]Write i2c OK [08:39:35]MH_I2C_Read... [08:39:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:39:36]Read from MH i2c: E2 [08:39:36]MH_I2C_Read... [08:39:36]Read from MH i2c: E2 62 00 [08:39:36]MH_I2C_Read... [08:39:36]Read from MH i2c: E2 62 00 25 1D 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 5B 68 00 00 0E 04 04 00 39 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 10 [08:39:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 5B 68 00 00 0E 04 04 00 39 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 [08:39:36]wFMCommunicate OK [08:39:36]SAM_PROTO_GetFieldsCounters done [08:39:36]requested_item shift.num is exist - process it [08:39:36]requested_item shift.opened is exist - process it [08:39:36]req_shift_opened [08:39:36]FM_GetShiftState [08:39:36]SAM_PROTO_GetShiftState [08:39:36]wFMCommunicate request_size=4 [08:39:36]MH_SAM_APDU [08:39:36]CAPDU: 80 13 01 00 [08:39:36]Write to MH i2c: E2 08 00 26 1D 80 13 01 00 00 00 00 00 C0 [08:39:36]Write i2c OK [08:39:36]MH_I2C_Read... [08:39:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:39:36]Read from MH i2c: E2 [08:39:36]MH_I2C_Read... [08:39:36]Read from MH i2c: E2 0E 00 [08:39:36]MH_I2C_Read... [08:39:36]Read from MH i2c: E2 0E 00 26 1D 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 54 [08:39:36]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [08:39:36]wFMCommunicate OK [08:39:36]SAM_PROTO_GetShiftState done [08:39:36]FM_GetShiftState done [08:39:36]req_shift_opened done [08:39:36]requested_item shift.open_date is exist - process it [08:39:36]req_shift_open_date [08:39:36]req_shift_open_date done [08:39:36]produce_requested_data done [08:39:36]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26715,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [08:39:36]process_action_free close_receipt [08:39:36]json_value_free [08:39:36]json_value_free done [08:39:36]process_json_proto returns [08:39:36]Send response to host [08:39:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26715,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [08:39:36]free response buf [08:39:36]execute_script done [08:39:36]execute_script returns [08:39:36]free content buf [08:39:36]Sock 8.Close socket [08:39:36]Sock 8.Thread stoped [08:39:39]OFD Sender: No OFD packet to send [08:39:44]OFD Sender: No OFD packet to send [08:39:49]OFD Sender: No OFD packet to send [08:39:54]OFD Sender: No OFD packet to send [08:39:59]OFD Sender: No OFD packet to send [08:40:04]OFD Sender: No OFD packet to send [08:40:09]OFD Sender: No OFD packet to send [08:40:14]OFD Sender: No OFD packet to send [08:40:19]OFD Sender: No OFD packet to send [08:40:24]OFD Sender: No OFD packet to send [08:40:29]OFD Sender: No OFD packet to send [08:40:34]OFD Sender: No OFD packet to send [08:40:39]OFD Sender: No OFD packet to send [08:40:44]OFD Sender: No OFD packet to send [08:40:49]OFD Sender: No OFD packet to send [08:40:54]OFD Sender: No OFD packet to send [08:40:59]OFD Sender: No OFD packet to send [08:41:04]OFD Sender: No OFD packet to send [08:41:09]OFD Sender: No OFD packet to send [08:41:14]OFD Sender: No OFD packet to send [08:41:19]OFD Sender: No OFD packet to send [08:41:24]OFD Sender: No OFD packet to send [08:41:29]OFD Sender: No OFD packet to send [08:41:34]OFD Sender: No OFD packet to send [08:41:39]OFD Sender: No OFD packet to send [08:41:44]OFD Sender: No OFD packet to send [08:41:49]OFD Sender: No OFD packet to send [08:41:54]OFD Sender: No OFD packet to send [08:41:59]OFD Sender: No OFD packet to send [08:42:04]OFD Sender: No OFD packet to send [08:42:09]OFD Sender: No OFD packet to send [08:42:14]OFD Sender: No OFD packet to send [08:42:19]OFD Sender: No OFD packet to send [08:42:24]OFD Sender: No OFD packet to send [08:42:29]OFD Sender: No OFD packet to send [08:42:34]OFD Sender: No OFD packet to send [08:42:39]OFD Sender: No OFD packet to send [08:42:44]OFD Sender: No OFD packet to send [08:42:49]OFD Sender: No OFD packet to send [08:42:54]OFD Sender: No OFD packet to send [08:42:59]OFD Sender: No OFD packet to send [08:43:04]OFD Sender: No OFD packet to send [08:43:09]OFD Sender: No OFD packet to send [08:43:14]OFD Sender: No OFD packet to send [08:43:19]OFD Sender: No OFD packet to send [08:43:24]OFD Sender: No OFD packet to send [08:43:29]OFD Sender: No OFD packet to send [08:43:34]OFD Sender: No OFD packet to send [08:43:39]OFD Sender: No OFD packet to send [08:43:44]OFD Sender: No OFD packet to send [08:43:49]OFD Sender: No OFD packet to send [08:43:54]OFD Sender: No OFD packet to send [08:43:59]OFD Sender: No OFD packet to send [08:44:04]OFD Sender: No OFD packet to send [08:44:09]OFD Sender: No OFD packet to send [08:44:14]OFD Sender: No OFD packet to send [08:44:19]OFD Sender: No OFD packet to send [08:44:24]OFD Sender: No OFD packet to send [08:44:29]OFD Sender: No OFD packet to send [08:44:34]OFD Sender: No OFD packet to send [08:44:39]OFD Sender: No OFD packet to send [08:44:44]OFD Sender: No OFD packet to send [08:44:49]OFD Sender: No OFD packet to send [08:44:54]OFD Sender: No OFD packet to send [08:44:59]OFD Sender: No OFD packet to send [08:45:04]OFD Sender: No OFD packet to send [08:45:09]OFD Sender: No OFD packet to send [08:45:14]OFD Sender: No OFD packet to send [08:45:19]OFD Sender: No OFD packet to send [08:45:24]OFD Sender: No OFD packet to send [08:45:29]OFD Sender: No OFD packet to send [08:45:34]OFD Sender: No OFD packet to send [08:45:39]OFD Sender: No OFD packet to send [08:45:44]OFD Sender: No OFD packet to send [08:45:49]OFD Sender: No OFD packet to send [08:45:54]OFD Sender: No OFD packet to send [08:45:59]OFD Sender: No OFD packet to send [08:46:04]OFD Sender: No OFD packet to send [08:46:09]OFD Sender: No OFD packet to send [08:46:14]OFD Sender: No OFD packet to send [08:46:19]OFD Sender: No OFD packet to send [08:46:24]OFD Sender: No OFD packet to send [08:46:29]OFD Sender: No OFD packet to send [08:46:34]OFD Sender: No OFD packet to send [08:46:39]OFD Sender: No OFD packet to send [08:46:44]OFD Sender: No OFD packet to send [08:46:49]OFD Sender: No OFD packet to send [08:46:54]OFD Sender: No OFD packet to send [08:46:59]OFD Sender: No OFD packet to send [08:47:04]OFD Sender: No OFD packet to send [08:47:09]OFD Sender: No OFD packet to send [08:47:14]OFD Sender: No OFD packet to send [08:47:19]OFD Sender: No OFD packet to send [08:47:24]OFD Sender: No OFD packet to send [08:47:29]OFD Sender: No OFD packet to send [08:47:34]OFD Sender: No OFD packet to send [08:47:39]OFD Sender: No OFD packet to send [08:47:44]OFD Sender: No OFD packet to send [08:47:46]accept exits with 9 [08:47:46]New connection [08:47:46]New thread 3067014500 created [08:47:46]Thread 3066871140 joined [08:47:46]Waiting for new connection... [08:47:46] Sock 9.Parse request [08:47:46]Sock 9.Check first char [08:47:46]Sock 9.First char is OK [08:47:46]request: POST /json_proto HTTP/1.0 [08:47:46]Method: POST [08:47:46]URL: /json_proto [08:47:46]Method is POST - this is cgi request [08:47:46]url: /json_proto [08:47:46]query_string will be loaded in cgi processing [08:47:46]execute_cgi json_proto POST (null) [08:47:46]execute_cgi path=json_proto method=POST [08:47:46]POST find Content-Length [08:47:46]Host: 172.17.35.3:8080 [08:47:46]Content-Length: 808 [08:47:46]Content-Type: application/json [08:47:46] [08:47:46]POST finish read [08:47:46]Found Content-Length = 808 [08:47:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359459", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 27.860, "sum" : 2000.35, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 2000.35 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:47:46]execute_script... [08:47: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 : (1)359459", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 27.860, "sum" : 2000.35, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 2000.35 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:47:46]POST & json_proto [08:47:46]process_json_proto [08:47:46]json parsed OK: [08:47:46]protocol is kg_v1.0 [08:47:46]action value=close_receipt [08:47:46]process_action close_receipt [08:47:46]cmd_close_receipt [08:47:46]MH_GetDate [08:47:46]Write to MH i2c: F0 00 00 27 1D 33 [08:47:46]Write i2c OK [08:47:46]MH_I2C_Read... [08:47:46]Read from MH i2c: F0 [08:47:46]MH_I2C_Read... [08:47:46]Read from MH i2c: F0 09 00 [08:47:46]MH_I2C_Read... [08:47:46]Read from MH i2c: F0 09 00 27 1D 00 BA 5D 12 66 2B 11 66 64 D1 [08:47:46]GetLastDocTimeStamp 1712479179 [08:47:46]current date 1712479674 [08:47:46]FM_GetShiftState [08:47:46]SAM_PROTO_GetShiftState [08:47:46]wFMCommunicate request_size=4 [08:47:46]MH_SAM_APDU [08:47:46]CAPDU: 80 13 01 00 [08:47:46]Write to MH i2c: E2 08 00 28 1D 80 13 01 00 00 00 00 00 C2 [08:47:46]Write i2c OK [08:47:46]MH_I2C_Read... [08:47:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:47:46]Read from MH i2c: E2 [08:47:46]MH_I2C_Read... [08:47:46]Read from MH i2c: E2 0E 00 [08:47:46]MH_I2C_Read... [08:47:46]Read from MH i2c: E2 0E 00 28 1D 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 56 [08:47:46]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [08:47:46]wFMCommunicate OK [08:47:46]SAM_PROTO_GetShiftState done [08:47:46]FM_GetShiftState done [08:47:46]opened in 1712450087 [08:47:46]opened+sec_in_day 1712536487 [08:47:46]quantity*price = 200034 [08:47:46]sum+1 = 200036 [08:47:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 2000.35 НСП 1% : 17.70 НДС 12% : 212.43 Наличными: 0.00 Безнал.: 2000.35 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 15 07.04.2024 08:47 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000874657 ФД: 26716 ФПД: 122148217738248 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T084754&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26716&fm=122148217738248&tin=02508201610067®Number=0000000000091578&sum=200035 [08:47:47]StoreToDocumentArchive [08:47:47]shift 313 fd 26716 [08:47:47]save to /storage/0313/doc_00026716 [08:47:47]save last doc name /storage/0313/doc_00026716 to /storage/kkm_last_doc_name [08:47:47]save OK [08:47:47]Clear old archive folders... [08:47:47]ProcessDocumentItem done err = 0, tmpTLVsize=252 [08:47:47]tlvbuf is 00EB6C30 [08:47:47]SAM_PROTO_ClearQueue [08:47:47]wFMCommunicate request_size=4 [08:47:47]MH_SAM_APDU [08:47:47]CAPDU: 80 09 00 00 [08:47:47]Write to MH i2c: E2 08 00 35 1D 80 09 00 00 00 00 00 00 C4 [08:47:47]Write i2c OK [08:47:47]MH_I2C_Read... [08:47:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:47:47]Read from MH i2c: E2 [08:47:47]MH_I2C_Read... [08:47:47]Read from MH i2c: E2 03 00 [08:47:47]MH_I2C_Read... [08:47:47]Read from MH i2c: E2 03 00 35 1D 00 90 00 C6 [08:47:47]RAPDU: 90 00 [08:47:47]wFMCommunicate OK [08:47:47]SAM_PROTO_ClearQueue done [08:47:47]KKMCreateOFDPacket [08:47:47]OFDProtocolAddRootSTLVToBuf [08:47:47]FM_MakeSignedData [08:47:47]FM_MakeSignedData [08:47:47]SAM_PROTO_SignData [08:47:47]wFMCommunicate request_size=4 [08:47:47]MH_SAM_APDU [08:47:47]CAPDU: 80 0D 01 02 [08:47:47]Write to MH i2c: E2 08 00 36 1D 80 0D 01 02 00 00 00 00 CC [08:47:47]Write i2c OK [08:47:47]MH_I2C_Read... [08:47:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:47:47]Read from MH i2c: E2 [08:47:47]MH_I2C_Read... [08:47:47]Read from MH i2c: E2 03 00 [08:47:47]MH_I2C_Read... [08:47:47]Read from MH i2c: E2 03 00 36 1D 00 90 00 C7 [08:47:47]RAPDU: 90 00 [08:47:47]wFMCommunicate OK [08:47:47]wFMCommunicate request_size=255 [08:47:47]MH_SAM_APDU [08:47:47]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 D4 6C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 63 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 63 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 63 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 BA 5D 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 5C 68 00 00 35 04 06 00 [08:47:47]Write to MH i2c: E2 02 01 37 1D 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 D4 6C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 63 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 63 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 63 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 BA 5D 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 5C 68 00 00 35 04 06 00 00 00 B5 [08:47:47]Write i2c OK [08:47:47]MH_I2C_Read... [08:47:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:47:47]Read from MH i2c: E2 [08:47:47]MH_I2C_Read... [08:47:47]Read from MH i2c: E2 03 00 [08:47:47]MH_I2C_Read... [08:47:47]Read from MH i2c: E2 03 00 37 1D 00 90 00 C8 [08:47:47]RAPDU: 90 00 [08:47:47]wFMCommunicate OK [08:47:47]wFMCommunicate request_size=11 [08:47:47]MH_SAM_APDU [08:47:47]CAPDU: 80 0D 02 02 06 6F 17 D9 20 D4 08 [08:47:47]Write to MH i2c: E2 0E 00 38 1D 80 0D 02 02 06 00 6F 17 D9 20 D4 08 00 00 36 [08:47:47]Write i2c OK [08:47:47]MH_I2C_Read... [08:47:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:47:47]Read from MH i2c: E2 [08:47:47]MH_I2C_Read... [08:47:47]Read from MH i2c: E2 03 00 [08:47:47]MH_I2C_Read... [08:47:47]Read from MH i2c: E2 03 00 38 1D 00 90 00 C9 [08:47:47]RAPDU: 90 00 [08:47:47]wFMCommunicate OK [08:47:47]wFMCommunicate request_size=4 [08:47:47]MH_SAM_APDU [08:47:47]CAPDU: 80 0D 03 02 [08:47:47]Write to MH i2c: E2 08 00 39 1D 80 0D 03 02 00 00 00 00 D1 [08:47:47]Write i2c OK [08:47:47]MH_I2C_Read... [08:47:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:47:47]Read from MH i2c: E2 [08:47:47]MH_I2C_Read... [08:47:47]Read from MH i2c: E2 0B 00 [08:47:47]MH_I2C_Read... [08:47:47]Read from MH i2c: E2 0B 00 39 1D 00 70 F6 CA DA 4A 5D 0D 4D 90 00 DD [08:47:47]RAPDU: 70 F6 CA DA 4A 5D 0D 4D 90 00 [08:47:47]wFMCommunicate OK [08:47:47]SAM_PROTO_SignData done [08:47:47]FM_MakeSignedData done [08:47:47]CreateOFDProtocolMessage [08:47:47]wFMCommunicate request_size=4 [08:47:47]MH_SAM_APDU [08:47:47]CAPDU: 80 11 00 00 [08:47:47]Write to MH i2c: E2 08 00 3A 1D 80 11 00 00 00 00 00 00 D1 [08:47:47]Write i2c OK [08:47:47]MH_I2C_Read... [08:47:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:47:47]Read from MH i2c: E2 [08:47:47]MH_I2C_Read... [08:47:47]Read from MH i2c: E2 17 00 [08:47:47]MH_I2C_Read... [08:47:47]Read from MH i2c: E2 17 00 3A 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 29 [08:47:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [08:47:47]wFMCommunicate OK [08:47:47]CreateOFDProtocolMessage done [08:47:47]OFDSenderStorePacket 26716 [08:47:47]StoreOFDPacket docnum=26716 [08:47:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 BA 05 08 01 F3 F7 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 D4 6C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 63 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 63 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 63 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 BA 5D 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 5C 68 00 00 35 04 06 00 6F 17 D9 20 D4 08 70 F6 CA DA 4A 5D 0D 4D [08:47:47]CheckFolder [08:47:47]dirname=/storage/ofd_packets [08:47:47]CheckFolder done [08:47:47]ProducePacketName [08:47:47]name=ofd_packets/00026716 [08:47:47]NVStorageSaveData ofd_packets/00026716 [08:47:47]File name is /storage/ofd_packets/00026716 [08:47:47]Write 302 bytes [08:47:47]NVStorageSaveData done [08:47:47]OFDSenderStorePacket done [08:47:47]KKMCreateOFDPacket done [08:47:47]NVStorageSaveData kkm_last_timestamp [08:47:47]File name is /storage/kkm_last_timestamp [08:47:47]Write 4 bytes [08:47:47]NVStorageSaveData done [08:47:47]ExternCall_PrintAddStr [08:47:47]wPrintStart [08:47:47]Write to MH i2c: 01 00 00 3B 1D 58 [08:47:47]Write i2c OK [08:47:47]MH_I2C_Read... [08:47:47]Read from MH i2c: 01 [08:47:47]MH_I2C_Read... [08:47:47]Read from MH i2c: 01 07 00 [08:47:47]MH_I2C_Read... [08:47:47]Read from MH i2c: 01 07 00 3B 1D 00 00 00 00 00 FF 0F 6D [08:47:47]RasterBufferAndPrint [08:47:47]line Счет N : (1)359459 [08:47:47]line ИНН: 02508201610067 [08:47:47]line Контрольно-Кассовый Чек [08:47:47]line ПРОДАЖА [08:47:47]line ТРК (МРК, ГНК) : 21 [08:47:48]line Товар: 2710194210 [08:47:48]line ДТ(л)-К-5 [08:47:48]line 27.860 * 71.80 [08:47:48]line = 2000.35 [08:47:48]line НДС 12% НСП 1% [08:47:48]line > о реализуемом товаре [08:47:48]line ИТОГО: 2000.35 [08:47:48]line НСП 1% : 17.70 [08:47:48]line НДС 12% : 212.43 [08:47:48]line Наличными: 0.00 [08:47:48]line Безнал.: 2000.35 [08:47:48]line Место: АЗС № 122 "Партнер Нефть" [08:47:48]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [08:47:48]line СНО: Общий режим [08:47:48]line Чек 15 07.04.2024 08:47 [08:47:48]line Смена: 313 ФФД: 1.0 [08:47:48]line ЗНМ: 0300000147 [08:47:48]line РНМ: 0000000000091578 [08:47:48]line Версия ККМ: 001 [08:47:48]line Платежная система: O! деньги [08:47:48]line ФМ: 0000000000874657 [08:47:48]line ФД: 26716 [08:47:48]line ФПД: 122148217738248 [08:47:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T084754&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26716&fm=122148217738248&tin=02508201610067®Number=0000000000091578&sum=200035 [08:47:48]OFD Sender: Processing packet 26716 [packets to send 44, broken 43] [08:47:48]ProducePacketName [08:47:48]name=ofd_packets/00026716 [08:47:48]OFD Sender: To server: pG, [08:47:48]CommunicateWithHost lk.salyk.kg:30040 [08:47:48]ConnectInit lk.salyk.kg [08:47:48]written 0, free lines is 4095 [08:47:48]Connected sock=10 [08:47: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 36 35 37 10 01 00 00 BA 05 08 01 F3 F7 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 D4 6C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 63 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 63 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 63 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 BA 5D 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 5C 68 00 00 35 04 06 00 6F 17 D9 20 D4 08 70 F6 CA DA 4A 5D 0D 4D [08:47:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 AF 78 47 00 4D 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 36 35 37 10 04 04 00 5C 68 00 00 F4 03 04 00 28 05 12 66 B6 04 01 00 00 81 9B 1D EA D7 5F C4 BC [08:47:48]CommunicateWithHost err = 0 [08:47:48]CheckOFDResponse [08:47:48]1017 (14) - 77093643461234 [08:47:48]1041 (16) - 0000000000874657 [08:47:48]1040 (4) - 26716 [08:47:48]1012 (4) - 07.04.2024 02:30 [08:47:48]1206 (1) - 0 [08:47:48]OFD Sender: Remove packet 26716 [08:47:48]ProducePacketName [08:47:48]name=ofd_packets/00026716 [08:47:48]NVStorageDeleteData [08:47:48]Write to MH i2c: 01 00 00 65 1D 82 [08:47:48]Write i2c OK [08:47:48]MH_I2C_Read... [08:47:48]Read from MH i2c: 01 [08:47:48]MH_I2C_Read... [08:47:48]Read from MH i2c: 01 07 00 [08:47:48]MH_I2C_Read... [08:47:48]Read from MH i2c: 01 07 00 65 1D 00 00 00 00 00 8C 0C 21 [08:47:48]RasterBufferAndPrint [08:47:48]line [08:47:48]line [08:47:48]line [08:47:48]line [08:47:48]line [08:47:48]written 0, free lines is 3216 [08:47:48]MH_Cut [08:47:48]Write to MH i2c: D1 01 00 6C 1D 01 5B [08:47:48]Write i2c OK [08:47:48]MH_I2C_Read... [08:47:48]Read from MH i2c: D1 [08:47:48]MH_I2C_Read... [08:47:48]Read from MH i2c: D1 01 00 [08:47:48]MH_I2C_Read... [08:47:48]Read from MH i2c: D1 01 00 6C 1D 00 5A [08:47:48]Write to MH i2c: 01 00 00 6D 1D 8A [08:47:48]Write i2c OK [08:47:48]MH_I2C_Read... [08:47:49]OFD Sender: No OFD packet to send [08:47:49]*** Cut start [08:47:49]*** Partial cut [08:47:49]*** CUTSNS_PIN = 1 [08:47:49]*** CUTSNS_PIN = 0 [08:47:50]*** Brake cut motor [08:47:50]Read from MH i2c: 01 [08:47:50]MH_I2C_Read... [08:47:50]*** Stop cut motor [08:47:50]*** Cut end [08:47:50]Read from MH i2c: 01 07 00 [08:47:50]MH_I2C_Read... [08:47:50]Read from MH i2c: 01 07 00 6D 1D 00 00 00 00 00 FF 0F 9F [08:47:50]process_action close_receipt done [08:47:50]requested_data is exist [08:47:50]produce_requested_data [08:47:50]requested_item fm.sn is exist - process it [08:47:50]wFMCommunicate request_size=4 [08:47:50]MH_SAM_APDU [08:47:50]CAPDU: 80 11 00 00 [08:47:50]Write to MH i2c: E2 08 00 6E 1D 80 11 00 00 00 00 00 00 05 [08:47:50]Write i2c OK [08:47:50]MH_I2C_Read... [08:47:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:47:50]Read from MH i2c: E2 [08:47:50]MH_I2C_Read... [08:47:50]Read from MH i2c: E2 17 00 [08:47:50]MH_I2C_Read... [08:47:50]Read from MH i2c: E2 17 00 6E 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 5D [08:47:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [08:47:50]wFMCommunicate OK [08:47:50]requested_item fd.num is exist - process it [08:47:50]SAM_PROTO_GetFieldsCounters [08:47:50]wFMCommunicate request_size=4 [08:47:50]MH_SAM_APDU [08:47:50]CAPDU: 80 13 00 00 [08:47:50]Write to MH i2c: E2 08 00 6F 1D 80 13 00 00 00 00 00 00 08 [08:47:50]Write i2c OK [08:47:50]MH_I2C_Read... [08:47:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:47:50]Read from MH i2c: E2 [08:47:50]MH_I2C_Read... [08:47:50]Read from MH i2c: E2 62 00 [08:47:50]MH_I2C_Read... [08:47:50]Read from MH i2c: E2 62 00 6F 1D 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 5C 68 00 00 0E 04 04 00 39 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 5E [08:47: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 5C 68 00 00 0E 04 04 00 39 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 [08:47:50]wFMCommunicate OK [08:47:50]SAM_PROTO_GetFieldsCounters done [08:47:50]requested_item shift.num is exist - process it [08:47:50]requested_item shift.opened is exist - process it [08:47:50]req_shift_opened [08:47:50]FM_GetShiftState [08:47:50]SAM_PROTO_GetShiftState [08:47:50]wFMCommunicate request_size=4 [08:47:50]MH_SAM_APDU [08:47:50]CAPDU: 80 13 01 00 [08:47:50]Write to MH i2c: E2 08 00 70 1D 80 13 01 00 00 00 00 00 0A [08:47:50]Write i2c OK [08:47:50]MH_I2C_Read... [08:47:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:47:50]Read from MH i2c: E2 [08:47:50]MH_I2C_Read... [08:47:50]Read from MH i2c: E2 0E 00 [08:47:50]MH_I2C_Read... [08:47:50]Read from MH i2c: E2 0E 00 70 1D 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 9E [08:47:50]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [08:47:50]wFMCommunicate OK [08:47:50]SAM_PROTO_GetShiftState done [08:47:50]FM_GetShiftState done [08:47:50]req_shift_opened done [08:47:50]requested_item shift.open_date is exist - process it [08:47:50]req_shift_open_date [08:47:50]req_shift_open_date done [08:47:50]produce_requested_data done [08:47:50]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26716,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [08:47:50]process_action_free close_receipt [08:47:50]json_value_free [08:47:50]json_value_free done [08:47:50]process_json_proto returns [08:47:50]Send response to host [08:47:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26716,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [08:47:50]free response buf [08:47:50]execute_script done [08:47:50]execute_script returns [08:47:50]free content buf [08:47:50]Sock 9.Close socket [08:47:50]Sock 9.Thread stoped [08:47:54]OFD Sender: No OFD packet to send [08:47:59]OFD Sender: No OFD packet to send [08:48:04]OFD Sender: No OFD packet to send [08:48:09]OFD Sender: No OFD packet to send [08:48:14]OFD Sender: No OFD packet to send [08:48:19]OFD Sender: No OFD packet to send [08:48:24]OFD Sender: No OFD packet to send [08:48:29]OFD Sender: No OFD packet to send [08:48:34]OFD Sender: No OFD packet to send [08:48:39]OFD Sender: No OFD packet to send [08:48:44]OFD Sender: No OFD packet to send [08:48:49]OFD Sender: No OFD packet to send [08:48:54]OFD Sender: No OFD packet to send [08:48:59]OFD Sender: No OFD packet to send [08:49:04]OFD Sender: No OFD packet to send [08:49:09]OFD Sender: No OFD packet to send [08:49:14]OFD Sender: No OFD packet to send [08:49:19]OFD Sender: No OFD packet to send [08:49:24]OFD Sender: No OFD packet to send [08:49:29]OFD Sender: No OFD packet to send [08:49:34]OFD Sender: No OFD packet to send [08:49:39]OFD Sender: No OFD packet to send [08:49:44]OFD Sender: No OFD packet to send [08:49:49]OFD Sender: No OFD packet to send [08:49:54]OFD Sender: No OFD packet to send [08:49:59]OFD Sender: No OFD packet to send [08:50:04]OFD Sender: No OFD packet to send [08:50:09]OFD Sender: No OFD packet to send [08:50:14]OFD Sender: No OFD packet to send [08:50:19]OFD Sender: No OFD packet to send [08:50:24]OFD Sender: No OFD packet to send [08:50:29]OFD Sender: No OFD packet to send [08:50:34]OFD Sender: No OFD packet to send [08:50:39]OFD Sender: No OFD packet to send [08:50:44]OFD Sender: No OFD packet to send [08:50:49]OFD Sender: No OFD packet to send [08:50:54]OFD Sender: No OFD packet to send [08:50:59]OFD Sender: No OFD packet to send [08:51:04]OFD Sender: No OFD packet to send [08:51:09]OFD Sender: No OFD packet to send [08:51:14]OFD Sender: No OFD packet to send [08:51:19]OFD Sender: No OFD packet to send [08:51:24]OFD Sender: No OFD packet to send [08:51:29]OFD Sender: No OFD packet to send [08:51:34]OFD Sender: No OFD packet to send [08:51:39]OFD Sender: No OFD packet to send [08:51:44]OFD Sender: No OFD packet to send [08:51:49]OFD Sender: No OFD packet to send [08:51:54]OFD Sender: No OFD packet to send [08:51:59]OFD Sender: No OFD packet to send [08:52:04]OFD Sender: No OFD packet to send [08:52:09]OFD Sender: No OFD packet to send [08:52:14]OFD Sender: No OFD packet to send [08:52:19]OFD Sender: No OFD packet to send [08:52:24]OFD Sender: No OFD packet to send [08:52:29]OFD Sender: No OFD packet to send [08:52:34]OFD Sender: No OFD packet to send [08:52:39]OFD Sender: No OFD packet to send [08:52:44]OFD Sender: No OFD packet to send [08:52:49]OFD Sender: No OFD packet to send [08:52:54]OFD Sender: No OFD packet to send [08:52:59]OFD Sender: No OFD packet to send [08:53:04]OFD Sender: No OFD packet to send [08:53:09]OFD Sender: No OFD packet to send [08:53:14]OFD Sender: No OFD packet to send [08:53:19]OFD Sender: No OFD packet to send [08:53:24]OFD Sender: No OFD packet to send [08:53:29]OFD Sender: No OFD packet to send [08:53:34]OFD Sender: No OFD packet to send [08:53:39]OFD Sender: No OFD packet to send [08:53:44]OFD Sender: No OFD packet to send [08:53:49]OFD Sender: No OFD packet to send [08:53:54]OFD Sender: No OFD packet to send [08:53:59]OFD Sender: No OFD packet to send [08:54:04]OFD Sender: No OFD packet to send [08:54:09]OFD Sender: No OFD packet to send [08:54:14]OFD Sender: No OFD packet to send [08:54:19]OFD Sender: No OFD packet to send [08:54:24]OFD Sender: No OFD packet to send [08:54:26]accept exits with 8 [08:54:26]New connection [08:54:26]New thread 3066871140 created [08:54:26]Thread 3067014500 joined [08:54:26]Waiting for new connection... [08:54:26] Sock 8.Parse request [08:54:26]Sock 8.Check first char [08:54:26]Sock 8.First char is OK [08:54:26]request: POST /json_proto HTTP/1.0 [08:54:26]Method: POST [08:54:26]URL: /json_proto [08:54:26]Method is POST - this is cgi request [08:54:26]url: /json_proto [08:54:26]query_string will be loaded in cgi processing [08:54:26]execute_cgi json_proto POST (null) [08:54:26]execute_cgi path=json_proto method=POST [08:54:26]POST find Content-Length [08:54:26]Host: 172.17.35.3:8080 [08:54:26]Content-Length: 677 [08:54:26]Content-Type: application/json [08:54:26] [08:54:26]POST finish read [08:54:26]Found Content-Length = 677 [08:54:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359460", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 6.160, "sum" : 390.54, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 390.00, "total" : 390.00, "payments": [ { "type": 0, "sum" : 390.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:54:26]execute_script... [08:54: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)359460", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 6.160, "sum" : 390.54, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 390.00, "total" : 390.00, "payments": [ { "type": 0, "sum" : 390.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:54:26]POST & json_proto [08:54:26]process_json_proto [08:54:26]json parsed OK: [08:54:26]protocol is kg_v1.0 [08:54:26]action value=close_receipt [08:54:26]process_action close_receipt [08:54:26]cmd_close_receipt [08:54:26]MH_GetDate [08:54:26]Write to MH i2c: F0 00 00 71 1D 7D [08:54:26]Write i2c OK [08:54:26]MH_I2C_Read... [08:54:26]Read from MH i2c: F0 [08:54:26]MH_I2C_Read... [08:54:26]Read from MH i2c: F0 09 00 [08:54:26]MH_I2C_Read... [08:54:26]Read from MH i2c: F0 09 00 71 1D 00 4A 5F 12 66 2B 11 66 64 AD [08:54:26]GetLastDocTimeStamp 1712479674 [08:54:26]current date 1712480074 [08:54:26]FM_GetShiftState [08:54:26]SAM_PROTO_GetShiftState [08:54:26]wFMCommunicate request_size=4 [08:54:26]MH_SAM_APDU [08:54:26]CAPDU: 80 13 01 00 [08:54:26]Write to MH i2c: E2 08 00 72 1D 80 13 01 00 00 00 00 00 0C [08:54:26]Write i2c OK [08:54:26]MH_I2C_Read... [08:54:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:54:26]Read from MH i2c: E2 [08:54:26]MH_I2C_Read... [08:54:26]Read from MH i2c: E2 0E 00 [08:54:26]MH_I2C_Read... [08:54:26]Read from MH i2c: E2 0E 00 72 1D 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 A0 [08:54:26]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [08:54:26]wFMCommunicate OK [08:54:26]SAM_PROTO_GetShiftState done [08:54:26]FM_GetShiftState done [08:54:26]opened in 1712450087 [08:54:26]opened+sec_in_day 1712536487 [08:54:26]quantity*price = 39054 [08:54:26]sum+1 = 39055 [08:54:26]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.54 ИТОГО: 390.00 Внесено: 390.00 СДАЧА: 0.00 НСП 1% : 3.46 НДС 12% : 41.47 Наличными: 390.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 16 07.04.2024 08:54 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26717 ФПД: 84222542398738 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T085434&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26717&fm=84222542398738&tin=02508201610067®Number=0000000000091578&sum=39000 [08:54:27]StoreToDocumentArchive [08:54:27]shift 313 fd 26717 [08:54:27]save to /storage/0313/doc_00026717 [08:54:27]save last doc name /storage/0313/doc_00026717 to /storage/kkm_last_doc_name [08:54:27]save OK [08:54:27]Clear old archive folders... [08:54:27]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:54:27]tlvbuf is 00E3C0C0 [08:54:27]SAM_PROTO_ClearQueue [08:54:27]wFMCommunicate request_size=4 [08:54:27]MH_SAM_APDU [08:54:27]CAPDU: 80 09 00 00 [08:54:27]Write to MH i2c: E2 08 00 7F 1D 80 09 00 00 00 00 00 00 0E [08:54:27]Write i2c OK [08:54:27]MH_I2C_Read... [08:54:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:54:27]Read from MH i2c: E2 [08:54:27]MH_I2C_Read... [08:54:27]Read from MH i2c: E2 03 00 [08:54:27]MH_I2C_Read... [08:54:27]Read from MH i2c: E2 03 00 7F 1D 00 90 00 10 [08:54:27]RAPDU: 90 00 [08:54:27]wFMCommunicate OK [08:54:27]SAM_PROTO_ClearQueue done [08:54:27]KKMCreateOFDPacket [08:54:27]OFDProtocolAddRootSTLVToBuf [08:54:27]FM_MakeSignedData [08:54:27]FM_MakeSignedData [08:54:27]SAM_PROTO_SignData [08:54:27]wFMCommunicate request_size=4 [08:54:27]MH_SAM_APDU [08:54:27]CAPDU: 80 0D 01 02 [08:54:27]Write to MH i2c: E2 08 00 80 1D 80 0D 01 02 00 00 00 00 16 [08:54:27]Write i2c OK [08:54:27]MH_I2C_Read... [08:54:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:54:27]Read from MH i2c: E2 [08:54:27]MH_I2C_Read... [08:54:27]Read from MH i2c: E2 03 00 [08:54:27]MH_I2C_Read... [08:54:27]Read from MH i2c: E2 03 00 80 1D 00 90 00 11 [08:54:27]RAPDU: 90 00 [08:54:27]wFMCommunicate OK [08:54:27]wFMCommunicate request_size=255 [08:54:27]MH_SAM_APDU [08:54:27]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 18 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 8E 98 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 5A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 10 00 00 00 00 07 04 06 00 58 98 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 4A 5F 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 5D 68 00 00 35 04 06 00 4C [08:54:27]Write to MH i2c: E2 02 01 81 1D 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 18 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 8E 98 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 5A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 10 00 00 00 00 07 04 06 00 58 98 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 4A 5F 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 5D 68 00 00 35 04 06 00 4C 00 00 4E [08:54:27]Write i2c OK [08:54:27]MH_I2C_Read... [08:54:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:54:27]Read from MH i2c: E2 [08:54:27]MH_I2C_Read... [08:54:27]Read from MH i2c: E2 03 00 [08:54:27]MH_I2C_Read... [08:54:27]Read from MH i2c: E2 03 00 81 1D 00 90 00 12 [08:54:27]RAPDU: 90 00 [08:54:27]wFMCommunicate OK [08:54:27]wFMCommunicate request_size=10 [08:54:27]MH_SAM_APDU [08:54:27]CAPDU: 80 0D 02 02 05 99 96 B8 C5 12 [08:54:27]Write to MH i2c: E2 0D 00 82 1D 80 0D 02 02 05 00 99 96 B8 C5 12 00 00 E1 [08:54:27]Write i2c OK [08:54:27]MH_I2C_Read... [08:54:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:54:27]Read from MH i2c: E2 [08:54:27]MH_I2C_Read... [08:54:27]Read from MH i2c: E2 03 00 [08:54:27]MH_I2C_Read... [08:54:27]Read from MH i2c: E2 03 00 82 1D 00 90 00 13 [08:54:27]RAPDU: 90 00 [08:54:27]wFMCommunicate OK [08:54:27]wFMCommunicate request_size=4 [08:54:27]MH_SAM_APDU [08:54:27]CAPDU: 80 0D 03 02 [08:54:27]Write to MH i2c: E2 08 00 83 1D 80 0D 03 02 00 00 00 00 1B [08:54:27]Write i2c OK [08:54:27]MH_I2C_Read... [08:54:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:54:27]Read from MH i2c: E2 [08:54:27]MH_I2C_Read... [08:54:27]Read from MH i2c: E2 0B 00 [08:54:27]MH_I2C_Read... [08:54:27]Read from MH i2c: E2 0B 00 83 1D 00 D4 14 3D D3 5A 1C 70 8C 90 00 86 [08:54:27]RAPDU: D4 14 3D D3 5A 1C 70 8C 90 00 [08:54:27]wFMCommunicate OK [08:54:27]SAM_PROTO_SignData done [08:54:27]FM_MakeSignedData done [08:54:27]CreateOFDProtocolMessage [08:54:27]wFMCommunicate request_size=4 [08:54:27]MH_SAM_APDU [08:54:27]CAPDU: 80 11 00 00 [08:54:27]Write to MH i2c: E2 08 00 84 1D 80 11 00 00 00 00 00 00 1B [08:54:27]Write i2c OK [08:54:27]MH_I2C_Read... [08:54:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:54:27]Read from MH i2c: E2 [08:54:27]MH_I2C_Read... [08:54:27]Read from MH i2c: E2 17 00 [08:54:27]MH_I2C_Read... [08:54:27]Read from MH i2c: E2 17 00 84 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 73 [08:54:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [08:54:27]wFMCommunicate OK [08:54:27]CreateOFDProtocolMessage done [08:54:27]OFDSenderStorePacket 26717 [08:54:27]StoreOFDPacket docnum=26717 [08:54:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 8D 22 07 01 70 09 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 18 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 8E 98 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 5A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 10 00 00 00 00 07 04 06 00 58 98 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 4A 5F 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 5D 68 00 00 35 04 06 00 4C 99 96 B8 C5 12 D4 14 3D D3 5A 1C 70 8C [08:54:27]CheckFolder [08:54:27]dirname=/storage/ofd_packets [08:54:27]CheckFolder done [08:54:27]ProducePacketName [08:54:27]name=ofd_packets/00026717 [08:54:27]NVStorageSaveData ofd_packets/00026717 [08:54:27]File name is /storage/ofd_packets/00026717 [08:54:27]Write 301 bytes [08:54:27]NVStorageSaveData done [08:54:27]OFDSenderStorePacket done [08:54:27]KKMCreateOFDPacket done [08:54:27]NVStorageSaveData kkm_last_timestamp [08:54:27]File name is /storage/kkm_last_timestamp [08:54:27]Write 4 bytes [08:54:27]NVStorageSaveData done [08:54:27]ExternCall_PrintAddStr [08:54:27]wPrintStart [08:54:27]Write to MH i2c: 01 00 00 85 1D A2 [08:54:27]Write i2c OK [08:54:27]MH_I2C_Read... [08:54:27]Read from MH i2c: 01 [08:54:27]MH_I2C_Read... [08:54:27]Read from MH i2c: 01 07 00 [08:54:27]MH_I2C_Read... [08:54:27]Read from MH i2c: 01 07 00 85 1D 00 00 00 00 00 FF 0F B7 [08:54:27]RasterBufferAndPrint [08:54:27]line Счет N : (1)359460 [08:54:27]line ИНН: 02508201610067 [08:54:27]line Контрольно-Кассовый Чек [08:54:27]line ПРОДАЖА [08:54:27]line ТРК (МРК, ГНК) : 51 [08:54:27]line Товар: 2710124130 [08:54:27]line Аи-92-К-5 [08:54:27]line 6.160 * 63.40 [08:54:27]line = 390.54 [08:54:27]line НДС 12% НСП 1% [08:54:27]line > о реализуемом товаре [08:54:27]line ОКРУГЛЕНИЕ: -0.54 [08:54:27]line ИТОГО: 390.00 [08:54:27]line Внесено: 390.00 [08:54:27]line СДАЧА: 0.00 [08:54:27]line НСП 1% : 3.46 [08:54:27]line НДС 12% : 41.47 [08:54:27]line Наличными: 390.00 [08:54:27]line Безнал.: 0.00 [08:54:27]line Место: АЗС № 122 "Партнер Нефть" [08:54:27]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [08:54:27]line СНО: Общий режим [08:54:27]line Чек 16 07.04.2024 08:54 [08:54:27]line Смена: 313 ФФД: 1.0 [08:54:27]line ЗНМ: 0300000147 [08:54:27]line РНМ: 0000000000091578 [08:54:27]line Версия ККМ: 001 [08:54:27]line ФМ: 0000000000874657 [08:54:27]line ФД: 26717 [08:54:27]line ФПД: 84222542398738 [08:54:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T085434&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26717&fm=84222542398738&tin=02508201610067®Number=0000000000091578&sum=39000 [08:54:28]OFD Sender: Processing packet 26717 [packets to send 44, broken 43] [08:54:28]ProducePacketName [08:54:28]name=ofd_packets/00026717 [08:54:28]OFD Sender: To server: pG, [08:54:28]CommunicateWithHost lk.salyk.kg:30040 [08:54:28]ConnectInit lk.salyk.kg [08:54:28]written 0, free lines is 4095 [08:54:28]Connected sock=10 [08:54: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 36 35 37 0F 01 00 00 8D 22 07 01 70 09 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 18 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 8E 98 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 5A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 10 00 00 00 00 07 04 06 00 58 98 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 4A 5F 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 5D 68 00 00 35 04 06 00 4C 99 96 B8 C5 12 D4 14 3D D3 5A 1C 70 8C [08:54:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 D4 F0 47 00 AC 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 36 35 37 10 04 04 00 5D 68 00 00 F4 03 04 00 B8 06 12 66 B6 04 01 00 00 6D E5 E4 84 27 2E 8E 5C [08:54:28]CommunicateWithHost err = 0 [08:54:28]CheckOFDResponse [08:54:28]1017 (14) - 77093643461234 [08:54:28]1041 (16) - 0000000000874657 [08:54:28]1040 (4) - 26717 [08:54:28]1012 (4) - 07.04.2024 02:36 [08:54:28]1206 (1) - 0 [08:54:28]OFD Sender: Remove packet 26717 [08:54:28]ProducePacketName [08:54:28]name=ofd_packets/00026717 [08:54:28]NVStorageDeleteData [08:54:28]Write to MH i2c: 01 00 00 B0 1D CD [08:54:28]Write i2c OK [08:54:28]MH_I2C_Read... [08:54:28]Read from MH i2c: 01 [08:54:28]MH_I2C_Read... [08:54:28]Read from MH i2c: 01 07 00 [08:54:28]MH_I2C_Read... [08:54:28]Read from MH i2c: 01 07 00 B0 1D 00 00 00 00 00 78 0C 58 [08:54:28]RasterBufferAndPrint [08:54:28]line [08:54:28]line [08:54:28]line [08:54:28]line [08:54:28]line [08:54:28]written 0, free lines is 3194 [08:54:28]MH_Cut [08:54:28]Write to MH i2c: D1 01 00 B7 1D 01 A6 [08:54:28]Write i2c OK [08:54:28]MH_I2C_Read... [08:54:28]Read from MH i2c: D1 [08:54:28]MH_I2C_Read... [08:54:28]Read from MH i2c: D1 01 00 [08:54:28]MH_I2C_Read... [08:54:28]Read from MH i2c: D1 01 00 B7 1D 00 A5 [08:54:28]Write to MH i2c: 01 00 00 B8 1D D5 [08:54:28]Write i2c OK [08:54:28]MH_I2C_Read... [08:54:29]OFD Sender: No OFD packet to send [08:54:29]*** Cut start [08:54:29]*** Partial cut [08:54:29]*** CUTSNS_PIN = 1 [08:54:29]*** CUTSNS_PIN = 0 [08:54:30]*** Brake cut motor [08:54:30]Read from MH i2c: 01 [08:54:30]MH_I2C_Read... [08:54:30]*** Stop cut motor [08:54:30]*** Cut end [08:54:30]Read from MH i2c: 01 07 00 [08:54:30]MH_I2C_Read... [08:54:30]Read from MH i2c: 01 07 00 B8 1D 00 00 00 00 00 FF 0F EA [08:54:30]process_action close_receipt done [08:54:30]requested_data is exist [08:54:30]produce_requested_data [08:54:30]requested_item fm.sn is exist - process it [08:54:30]wFMCommunicate request_size=4 [08:54:30]MH_SAM_APDU [08:54:30]CAPDU: 80 11 00 00 [08:54:30]Write to MH i2c: E2 08 00 B9 1D 80 11 00 00 00 00 00 00 50 [08:54:30]Write i2c OK [08:54:30]MH_I2C_Read... [08:54:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:54:30]Read from MH i2c: E2 [08:54:30]MH_I2C_Read... [08:54:30]Read from MH i2c: E2 17 00 [08:54:30]MH_I2C_Read... [08:54:30]Read from MH i2c: E2 17 00 B9 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 A8 [08:54:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [08:54:30]wFMCommunicate OK [08:54:30]requested_item fd.num is exist - process it [08:54:30]SAM_PROTO_GetFieldsCounters [08:54:30]wFMCommunicate request_size=4 [08:54:30]MH_SAM_APDU [08:54:30]CAPDU: 80 13 00 00 [08:54:30]Write to MH i2c: E2 08 00 BA 1D 80 13 00 00 00 00 00 00 53 [08:54:30]Write i2c OK [08:54:30]MH_I2C_Read... [08:54:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:54:30]Read from MH i2c: E2 [08:54:30]MH_I2C_Read... [08:54:30]Read from MH i2c: E2 62 00 [08:54:30]MH_I2C_Read... [08:54:30]Read from MH i2c: E2 62 00 BA 1D 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 5D 68 00 00 0E 04 04 00 39 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 AD [08:54: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 5D 68 00 00 0E 04 04 00 39 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 [08:54:30]wFMCommunicate OK [08:54:30]SAM_PROTO_GetFieldsCounters done [08:54:30]requested_item shift.num is exist - process it [08:54:30]requested_item shift.opened is exist - process it [08:54:30]req_shift_opened [08:54:30]FM_GetShiftState [08:54:30]SAM_PROTO_GetShiftState [08:54:30]wFMCommunicate request_size=4 [08:54:30]MH_SAM_APDU [08:54:30]CAPDU: 80 13 01 00 [08:54:30]Write to MH i2c: E2 08 00 BB 1D 80 13 01 00 00 00 00 00 55 [08:54:30]Write i2c OK [08:54:30]MH_I2C_Read... [08:54:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:54:30]Read from MH i2c: E2 [08:54:30]MH_I2C_Read... [08:54:30]Read from MH i2c: E2 0E 00 [08:54:30]MH_I2C_Read... [08:54:30]Read from MH i2c: E2 0E 00 BB 1D 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 E9 [08:54:30]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [08:54:30]wFMCommunicate OK [08:54:30]SAM_PROTO_GetShiftState done [08:54:30]FM_GetShiftState done [08:54:30]req_shift_opened done [08:54:30]requested_item shift.open_date is exist - process it [08:54:30]req_shift_open_date [08:54:30]req_shift_open_date done [08:54:30]produce_requested_data done [08:54:30]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26717,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [08:54:30]process_action_free close_receipt [08:54:30]json_value_free [08:54:30]json_value_free done [08:54:30]process_json_proto returns [08:54:30]Send response to host [08:54:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26717,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [08:54:30]free response buf [08:54:30]execute_script done [08:54:30]execute_script returns [08:54:30]free content buf [08:54:30]Sock 8.Close socket [08:54:30]Sock 8.Thread stoped [08:54:34]OFD Sender: No OFD packet to send [08:54:39]OFD Sender: No OFD packet to send [08:54:44]OFD Sender: No OFD packet to send [08:54:49]OFD Sender: No OFD packet to send [08:54:54]OFD Sender: No OFD packet to send [08:54:59]OFD Sender: No OFD packet to send [08:54:59]accept exits with 9 [08:54:59]New connection [08:54:59]New thread 3067014500 created [08:54:59]Thread 3066871140 joined [08:54:59]Waiting for new connection... [08:54:59] Sock 9.Parse request [08:54:59]Sock 9.Check first char [08:54:59]Sock 9.First char is OK [08:54:59]request: POST /json_proto HTTP/1.0 [08:54:59]Method: POST [08:54:59]URL: /json_proto [08:54:59]Method is POST - this is cgi request [08:54:59]url: /json_proto [08:54:59]query_string will be loaded in cgi processing [08:54:59]execute_cgi json_proto POST (null) [08:54:59]execute_cgi path=json_proto method=POST [08:54:59]POST find Content-Length [08:54:59]Host: 172.17.35.3:8080 [08:54:59]Content-Length: 682 [08:54:59]Content-Type: application/json [08:54:59] [08:54:59]POST finish read [08:54:59]Found Content-Length = 682 [08:54:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359461", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "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" ] } } [08:54:59]execute_script... [08:54: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 : (1)359461", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "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" ] } } [08:54:59]POST & json_proto [08:54:59]process_json_proto [08:54:59]json parsed OK: [08:54:59]protocol is kg_v1.0 [08:54:59]action value=close_receipt [08:54:59]process_action close_receipt [08:54:59]cmd_close_receipt [08:54:59]MH_GetDate [08:54:59]Write to MH i2c: F0 00 00 BC 1D C8 [08:54:59]Write i2c OK [08:54:59]MH_I2C_Read... [08:54:59]Read from MH i2c: F0 [08:54:59]MH_I2C_Read... [08:54:59]Read from MH i2c: F0 09 00 [08:54:59]MH_I2C_Read... [08:54:59]Read from MH i2c: F0 09 00 BC 1D 00 6C 5F 12 66 2B 11 66 64 1A [08:54:59]GetLastDocTimeStamp 1712480074 [08:54:59]current date 1712480108 [08:54:59]FM_GetShiftState [08:54:59]SAM_PROTO_GetShiftState [08:54:59]wFMCommunicate request_size=4 [08:54:59]MH_SAM_APDU [08:54:59]CAPDU: 80 13 01 00 [08:54:59]Write to MH i2c: E2 08 00 BD 1D 80 13 01 00 00 00 00 00 57 [08:54:59]Write i2c OK [08:54:59]MH_I2C_Read... [08:54:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:54:59]Read from MH i2c: E2 [08:54:59]MH_I2C_Read... [08:54:59]Read from MH i2c: E2 0E 00 [08:54:59]MH_I2C_Read... [08:54:59]Read from MH i2c: E2 0E 00 BD 1D 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 EB [08:54:59]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [08:54:59]wFMCommunicate OK [08:54:59]SAM_PROTO_GetShiftState done [08:54:59]FM_GetShiftState done [08:54:59]opened in 1712450087 [08:54:59]opened+sec_in_day 1712536487 [08:54:59]quantity*price = 100045 [08:54:59]sum+1 = 100046 [08:54:59]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.45 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.24 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 17 07.04.2024 08:55 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26718 ФПД: 245932921963244 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T085508&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26718&fm=245932921963244&tin=02508201610067®Number=0000000000091578&sum=100000 [08:55:01]StoreToDocumentArchive [08:55:01]shift 313 fd 26718 [08:55:01]save to /storage/0313/doc_00026718 [08:55:01]save last doc name /storage/0313/doc_00026718 to /storage/kkm_last_doc_name [08:55:01]save OK [08:55:01]Clear old archive folders... [08:55:01]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:55:01]tlvbuf is 00EDF280 [08:55:01]SAM_PROTO_ClearQueue [08:55:01]wFMCommunicate request_size=4 [08:55:01]MH_SAM_APDU [08:55:01]CAPDU: 80 09 00 00 [08:55:01]Write to MH i2c: E2 08 00 CA 1D 80 09 00 00 00 00 00 00 59 [08:55:01]Write i2c OK [08:55:01]MH_I2C_Read... [08:55:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:55:01]Read from MH i2c: E2 [08:55:01]MH_I2C_Read... [08:55:01]Read from MH i2c: E2 03 00 [08:55:01]MH_I2C_Read... [08:55:01]Read from MH i2c: E2 03 00 CA 1D 00 90 00 5B [08:55:01]RAPDU: 90 00 [08:55:01]wFMCommunicate OK [08:55:01]SAM_PROTO_ClearQueue done [08:55:01]KKMCreateOFDPacket [08:55:01]OFDProtocolAddRootSTLVToBuf [08:55:01]FM_MakeSignedData [08:55:01]FM_MakeSignedData [08:55:01]SAM_PROTO_SignData [08:55:01]wFMCommunicate request_size=4 [08:55:01]MH_SAM_APDU [08:55:01]CAPDU: 80 0D 01 02 [08:55:01]Write to MH i2c: E2 08 00 CB 1D 80 0D 01 02 00 00 00 00 61 [08:55:01]Write i2c OK [08:55:01]MH_I2C_Read... [08:55:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:55:01]Read from MH i2c: E2 [08:55:01]MH_I2C_Read... [08:55:01]Read from MH i2c: E2 03 00 [08:55:01]MH_I2C_Read... [08:55:01]Read from MH i2c: E2 03 00 CB 1D 00 90 00 5C [08:55:01]RAPDU: 90 00 [08:55:01]wFMCommunicate OK [08:55:01]wFMCommunicate request_size=255 [08:55:01]MH_SAM_APDU [08:55: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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 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 11 00 00 00 F4 03 04 00 6C 5F 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 5E 68 00 00 35 04 06 00 DF [08:55:01]Write to MH i2c: E2 02 01 CC 1D 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 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 11 00 00 00 F4 03 04 00 6C 5F 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 5E 68 00 00 35 04 06 00 DF 00 00 28 [08:55:01]Write i2c OK [08:55:01]MH_I2C_Read... [08:55:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:55:01]Read from MH i2c: E2 [08:55:01]MH_I2C_Read... [08:55:01]Read from MH i2c: E2 03 00 [08:55:01]MH_I2C_Read... [08:55:01]Read from MH i2c: E2 03 00 CC 1D 00 90 00 5D [08:55:01]RAPDU: 90 00 [08:55:01]wFMCommunicate OK [08:55:01]wFMCommunicate request_size=10 [08:55:01]MH_SAM_APDU [08:55:01]CAPDU: 80 0D 02 02 05 AC B8 73 C2 EC [08:55:01]Write to MH i2c: E2 0D 00 CD 1D 80 0D 02 02 05 00 AC B8 73 C2 EC 00 00 F3 [08:55:01]Write i2c OK [08:55:01]MH_I2C_Read... [08:55:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:55:01]Read from MH i2c: E2 [08:55:01]MH_I2C_Read... [08:55:01]Read from MH i2c: E2 03 00 [08:55:01]MH_I2C_Read... [08:55:01]Read from MH i2c: E2 03 00 CD 1D 00 90 00 5E [08:55:01]RAPDU: 90 00 [08:55:01]wFMCommunicate OK [08:55:01]wFMCommunicate request_size=4 [08:55:01]MH_SAM_APDU [08:55:01]CAPDU: 80 0D 03 02 [08:55:01]Write to MH i2c: E2 08 00 CE 1D 80 0D 03 02 00 00 00 00 66 [08:55:01]Write i2c OK [08:55:01]MH_I2C_Read... [08:55:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:55:01]Read from MH i2c: E2 [08:55:01]MH_I2C_Read... [08:55:01]Read from MH i2c: E2 0B 00 [08:55:01]MH_I2C_Read... [08:55:01]Read from MH i2c: E2 0B 00 CE 1D 00 E0 D9 1F FA A8 9E 3A 76 90 00 2F [08:55:01]RAPDU: E0 D9 1F FA A8 9E 3A 76 90 00 [08:55:01]wFMCommunicate OK [08:55:01]SAM_PROTO_SignData done [08:55:01]FM_MakeSignedData done [08:55:01]CreateOFDProtocolMessage [08:55:01]wFMCommunicate request_size=4 [08:55:01]MH_SAM_APDU [08:55:01]CAPDU: 80 11 00 00 [08:55:01]Write to MH i2c: E2 08 00 CF 1D 80 11 00 00 00 00 00 00 66 [08:55:01]Write i2c OK [08:55:01]MH_I2C_Read... [08:55:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:55:01]Read from MH i2c: E2 [08:55:01]MH_I2C_Read... [08:55:01]Read from MH i2c: E2 17 00 [08:55:01]MH_I2C_Read... [08:55:01]Read from MH i2c: E2 17 00 CF 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 BE [08:55:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [08:55:01]wFMCommunicate OK [08:55:01]CreateOFDProtocolMessage done [08:55:01]OFDSenderStorePacket 26718 [08:55:01]StoreOFDPacket docnum=26718 [08:55:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 92 EF 07 01 A6 AB 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 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 11 00 00 00 F4 03 04 00 6C 5F 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 5E 68 00 00 35 04 06 00 DF AC B8 73 C2 EC E0 D9 1F FA A8 9E 3A 76 [08:55:01]CheckFolder [08:55:01]dirname=/storage/ofd_packets [08:55:01]CheckFolder done [08:55:01]ProducePacketName [08:55:01]name=ofd_packets/00026718 [08:55:01]NVStorageSaveData ofd_packets/00026718 [08:55:01]File name is /storage/ofd_packets/00026718 [08:55:01]Write 301 bytes [08:55:01]NVStorageSaveData done [08:55:01]OFDSenderStorePacket done [08:55:01]KKMCreateOFDPacket done [08:55:01]NVStorageSaveData kkm_last_timestamp [08:55:01]File name is /storage/kkm_last_timestamp [08:55:01]Write 4 bytes [08:55:01]NVStorageSaveData done [08:55:01]ExternCall_PrintAddStr [08:55:01]wPrintStart [08:55:01]Write to MH i2c: 01 00 00 D0 1D ED [08:55:01]Write i2c OK [08:55:01]MH_I2C_Read... [08:55:01]Read from MH i2c: 01 [08:55:01]MH_I2C_Read... [08:55:01]Read from MH i2c: 01 07 00 [08:55:01]MH_I2C_Read... [08:55:01]Read from MH i2c: 01 07 00 D0 1D 00 00 00 00 00 FF 0F 02 [08:55:01]RasterBufferAndPrint [08:55:01]line Счет N : (1)359461 [08:55:01]line ИНН: 02508201610067 [08:55:01]line Контрольно-Кассовый Чек [08:55:01]line ПРОДАЖА [08:55:01]line ТРК (МРК, ГНК) : 61 [08:55:01]line Товар: 2710124130 [08:55:01]line Аи-92-К-5 [08:55:01]line 15.780 * 63.40 [08:55:01]line = 1000.45 [08:55:01]line НДС 12% НСП 1% [08:55:01]line > о реализуемом товаре [08:55:01]line ОКРУГЛЕНИЕ: -0.45 [08:55:01]line ИТОГО: 1000.00 [08:55:01]line Внесено: 1000.00 [08:55:01]line СДАЧА: 0.00 [08:55:01]line НСП 1% : 8.85 [08:55:01]line НДС 12% : 106.24 [08:55:01]line Наличными: 1000.00 [08:55:01]line Безнал.: 0.00 [08:55:01]line Место: АЗС № 122 "Партнер Нефть" [08:55:01]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [08:55:01]line СНО: Общий режим [08:55:01]line Чек 17 07.04.2024 08:55 [08:55:01]line Смена: 313 ФФД: 1.0 [08:55:01]line ЗНМ: 0300000147 [08:55:01]line РНМ: 0000000000091578 [08:55:01]line Версия ККМ: 001 [08:55:01]line ФМ: 0000000000874657 [08:55:01]line ФД: 26718 [08:55:01]line ФПД: 245932921963244 [08:55:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T085508&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26718&fm=245932921963244&tin=02508201610067®Number=0000000000091578&sum=100000 [08:55:01]OFD Sender: Processing packet 26718 [packets to send 44, broken 43] [08:55:01]ProducePacketName [08:55:01]name=ofd_packets/00026718 [08:55:01]OFD Sender: To server: pG, [08:55:01]CommunicateWithHost lk.salyk.kg:30040 [08:55:01]ConnectInit lk.salyk.kg [08:55:01]written 0, free lines is 4095 [08:55:02]Connected sock=10 [08:55: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 36 35 37 0F 01 00 00 92 EF 07 01 A6 AB 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 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 11 00 00 00 F4 03 04 00 6C 5F 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 5E 68 00 00 35 04 06 00 DF AC B8 73 C2 EC E0 D9 1F FA A8 9E 3A 76 [08:55:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 62 B6 47 00 C8 FA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 5E 68 00 00 F4 03 04 00 D9 06 12 66 B6 04 01 00 00 62 44 A5 DA 25 D6 B0 EC [08:55:02]CommunicateWithHost err = 0 [08:55:02]CheckOFDResponse [08:55:02]1017 (14) - 77093643461234 [08:55:02]1041 (16) - 0000000000874657 [08:55:02]1040 (4) - 26718 [08:55:02]1012 (4) - 07.04.2024 02:37 [08:55:02]1206 (1) - 0 [08:55:02]OFD Sender: Remove packet 26718 [08:55:02]ProducePacketName [08:55:02]name=ofd_packets/00026718 [08:55:02]NVStorageDeleteData [08:55:02]Write to MH i2c: 01 00 00 FB 1D 18 [08:55:02]Write i2c OK [08:55:02]MH_I2C_Read... [08:55:02]Read from MH i2c: 01 [08:55:02]MH_I2C_Read... [08:55:02]Read from MH i2c: 01 07 00 [08:55:02]MH_I2C_Read... [08:55:02]Read from MH i2c: 01 07 00 FB 1D 00 00 00 00 00 74 0C 9F [08:55:02]RasterBufferAndPrint [08:55:02]line [08:55:02]line [08:55:02]line [08:55:02]line [08:55:02]line [08:55:02]written 0, free lines is 3191 [08:55:02]MH_Cut [08:55:02]Write to MH i2c: D1 01 00 02 1E 01 F2 [08:55:02]Write i2c OK [08:55:02]MH_I2C_Read... [08:55:02]Read from MH i2c: D1 [08:55:02]MH_I2C_Read... [08:55:02]Read from MH i2c: D1 01 00 [08:55:02]MH_I2C_Read... [08:55:02]Read from MH i2c: D1 01 00 02 1E 00 F1 [08:55:02]Write to MH i2c: 01 00 00 03 1E 21 [08:55:02]Write i2c OK [08:55:02]MH_I2C_Read... [08:55:02]OFD Sender: No OFD packet to send [08:55:03]*** Cut start [08:55:03]*** Partial cut [08:55:03]*** CUTSNS_PIN = 1 [08:55:03]*** CUTSNS_PIN = 0 [08:55:03]*** Brake cut motor [08:55:04]Read from MH i2c: 01 [08:55:04]MH_I2C_Read... [08:55:04]*** Stop cut motor [08:55:04]*** Cut end [08:55:04]Read from MH i2c: 01 07 00 [08:55:04]MH_I2C_Read... [08:55:04]Read from MH i2c: 01 07 00 03 1E 00 00 00 00 00 FF 0F 36 [08:55:04]process_action close_receipt done [08:55:04]requested_data is exist [08:55:04]produce_requested_data [08:55:04]requested_item fm.sn is exist - process it [08:55:04]wFMCommunicate request_size=4 [08:55:04]MH_SAM_APDU [08:55:04]CAPDU: 80 11 00 00 [08:55:04]Write to MH i2c: E2 08 00 04 1E 80 11 00 00 00 00 00 00 9C [08:55:04]Write i2c OK [08:55:04]MH_I2C_Read... [08:55:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:55:04]Read from MH i2c: E2 [08:55:04]MH_I2C_Read... [08:55:04]Read from MH i2c: E2 17 00 [08:55:04]MH_I2C_Read... [08:55:04]Read from MH i2c: E2 17 00 04 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 F4 [08:55:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [08:55:04]wFMCommunicate OK [08:55:04]requested_item fd.num is exist - process it [08:55:04]SAM_PROTO_GetFieldsCounters [08:55:04]wFMCommunicate request_size=4 [08:55:04]MH_SAM_APDU [08:55:04]CAPDU: 80 13 00 00 [08:55:04]Write to MH i2c: E2 08 00 05 1E 80 13 00 00 00 00 00 00 9F [08:55:04]Write i2c OK [08:55:04]MH_I2C_Read... [08:55:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:55:04]Read from MH i2c: E2 [08:55:04]MH_I2C_Read... [08:55:04]Read from MH i2c: E2 62 00 [08:55:04]MH_I2C_Read... [08:55:04]Read from MH i2c: E2 62 00 05 1E 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 5E 68 00 00 0E 04 04 00 39 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 FD [08:55: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 5E 68 00 00 0E 04 04 00 39 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 [08:55:04]wFMCommunicate OK [08:55:04]SAM_PROTO_GetFieldsCounters done [08:55:04]requested_item shift.num is exist - process it [08:55:04]requested_item shift.opened is exist - process it [08:55:04]req_shift_opened [08:55:04]FM_GetShiftState [08:55:04]SAM_PROTO_GetShiftState [08:55:04]wFMCommunicate request_size=4 [08:55:04]MH_SAM_APDU [08:55:04]CAPDU: 80 13 01 00 [08:55:04]Write to MH i2c: E2 08 00 06 1E 80 13 01 00 00 00 00 00 A1 [08:55:04]Write i2c OK [08:55:04]MH_I2C_Read... [08:55:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:55:04]Read from MH i2c: E2 [08:55:04]MH_I2C_Read... [08:55:04]Read from MH i2c: E2 0E 00 [08:55:04]MH_I2C_Read... [08:55:04]Read from MH i2c: E2 0E 00 06 1E 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 35 [08:55:04]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [08:55:04]wFMCommunicate OK [08:55:04]SAM_PROTO_GetShiftState done [08:55:04]FM_GetShiftState done [08:55:04]req_shift_opened done [08:55:04]requested_item shift.open_date is exist - process it [08:55:04]req_shift_open_date [08:55:04]req_shift_open_date done [08:55:04]produce_requested_data done [08:55:04]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26718,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [08:55:04]process_action_free close_receipt [08:55:04]json_value_free [08:55:04]json_value_free done [08:55:04]process_json_proto returns [08:55:04]Send response to host [08:55:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26718,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [08:55:04]free response buf [08:55:04]execute_script done [08:55:04]execute_script returns [08:55:04]free content buf [08:55:04]Sock 9.Close socket [08:55:04]Sock 9.Thread stoped [08:55:07]OFD Sender: No OFD packet to send [08:55:12]OFD Sender: No OFD packet to send [08:55:17]OFD Sender: No OFD packet to send [08:55:22]OFD Sender: No OFD packet to send [08:55:27]OFD Sender: No OFD packet to send [08:55:32]OFD Sender: No OFD packet to send [08:55:37]OFD Sender: No OFD packet to send [08:55:42]OFD Sender: No OFD packet to send [08:55:47]OFD Sender: No OFD packet to send [08:55:52]OFD Sender: No OFD packet to send [08:55:57]OFD Sender: No OFD packet to send [08:56:02]OFD Sender: No OFD packet to send [08:56:07]OFD Sender: No OFD packet to send [08:56:12]OFD Sender: No OFD packet to send [08:56:17]OFD Sender: No OFD packet to send [08:56:22]OFD Sender: No OFD packet to send [08:56:27]OFD Sender: No OFD packet to send [08:56:32]OFD Sender: No OFD packet to send [08:56:37]OFD Sender: No OFD packet to send [08:56:42]OFD Sender: No OFD packet to send [08:56:47]OFD Sender: No OFD packet to send [08:56:52]OFD Sender: No OFD packet to send [08:56:57]OFD Sender: No OFD packet to send [08:57:02]OFD Sender: No OFD packet to send [08:57:07]OFD Sender: No OFD packet to send [08:57:12]OFD Sender: No OFD packet to send [08:57:17]OFD Sender: No OFD packet to send [08:57:22]OFD Sender: No OFD packet to send [08:57:27]OFD Sender: No OFD packet to send [08:57:32]OFD Sender: No OFD packet to send [08:57:37]OFD Sender: No OFD packet to send [08:57:42]OFD Sender: No OFD packet to send [08:57:47]OFD Sender: No OFD packet to send [08:57:52]OFD Sender: No OFD packet to send [08:57:57]OFD Sender: No OFD packet to send [08:58:02]OFD Sender: No OFD packet to send [08:58:07]OFD Sender: No OFD packet to send [08:58:12]OFD Sender: No OFD packet to send [08:58:17]OFD Sender: No OFD packet to send [08:58:22]OFD Sender: No OFD packet to send [08:58:27]OFD Sender: No OFD packet to send [08:58:32]OFD Sender: No OFD packet to send [08:58:37]OFD Sender: No OFD packet to send [08:58:42]OFD Sender: No OFD packet to send [08:58:47]OFD Sender: No OFD packet to send [08:58:52]OFD Sender: No OFD packet to send [08:58:57]OFD Sender: No OFD packet to send [08:59:02]OFD Sender: No OFD packet to send [08:59:07]OFD Sender: No OFD packet to send [08:59:12]OFD Sender: No OFD packet to send [08:59:17]OFD Sender: No OFD packet to send [08:59:22]OFD Sender: No OFD packet to send [08:59:27]OFD Sender: No OFD packet to send [08:59:32]OFD Sender: No OFD packet to send [08:59:37]OFD Sender: No OFD packet to send [08:59:42]OFD Sender: No OFD packet to send [08:59:47]OFD Sender: No OFD packet to send [08:59:52]OFD Sender: No OFD packet to send [08:59:57]OFD Sender: No OFD packet to send [09:00:02]OFD Sender: No OFD packet to send [09:00:07]OFD Sender: No OFD packet to send [09:00:12]OFD Sender: No OFD packet to send [09:00:17]OFD Sender: No OFD packet to send [09:00:22]OFD Sender: No OFD packet to send [09:00:28]OFD Sender: No OFD packet to send [09:00:33]OFD Sender: No OFD packet to send [09:00:38]OFD Sender: No OFD packet to send [09:00:43]OFD Sender: No OFD packet to send [09:00:48]OFD Sender: No OFD packet to send [09:00:53]OFD Sender: No OFD packet to send [09:00:58]OFD Sender: No OFD packet to send [09:01:03]OFD Sender: No OFD packet to send [09:01:08]OFD Sender: No OFD packet to send [09:01:13]OFD Sender: No OFD packet to send [09:01:18]OFD Sender: No OFD packet to send [09:01:23]OFD Sender: No OFD packet to send [09:01:28]OFD Sender: No OFD packet to send [09:01:33]OFD Sender: No OFD packet to send [09:01:38]OFD Sender: No OFD packet to send [09:01:43]OFD Sender: No OFD packet to send [09:01:48]OFD Sender: No OFD packet to send [09:01:53]OFD Sender: No OFD packet to send [09:01:58]OFD Sender: No OFD packet to send [09:02:03]OFD Sender: No OFD packet to send [09:02:08]OFD Sender: No OFD packet to send [09:02:13]OFD Sender: No OFD packet to send [09:02:18]OFD Sender: No OFD packet to send [09:02:23]OFD Sender: No OFD packet to send [09:02:28]OFD Sender: No OFD packet to send [09:02:33]OFD Sender: No OFD packet to send [09:02:38]OFD Sender: No OFD packet to send [09:02:43]OFD Sender: No OFD packet to send [09:02:48]OFD Sender: No OFD packet to send [09:02:53]OFD Sender: No OFD packet to send [09:02:58]OFD Sender: No OFD packet to send [09:03:03]OFD Sender: No OFD packet to send [09:03:08]OFD Sender: No OFD packet to send [09:03:13]OFD Sender: No OFD packet to send [09:03:18]OFD Sender: No OFD packet to send [09:03:23]OFD Sender: No OFD packet to send [09:03:28]OFD Sender: No OFD packet to send [09:03:33]OFD Sender: No OFD packet to send [09:03:38]OFD Sender: No OFD packet to send [09:03:43]OFD Sender: No OFD packet to send [09:03:48]OFD Sender: No OFD packet to send [09:03:53]OFD Sender: No OFD packet to send [09:03:58]OFD Sender: No OFD packet to send [09:04:03]OFD Sender: No OFD packet to send [09:04:08]OFD Sender: No OFD packet to send [09:04:13]OFD Sender: No OFD packet to send [09:04:18]OFD Sender: No OFD packet to send [09:04:23]OFD Sender: No OFD packet to send [09:04:28]OFD Sender: No OFD packet to send [09:04:33]OFD Sender: No OFD packet to send [09:04:38]OFD Sender: No OFD packet to send [09:04:43]OFD Sender: No OFD packet to send [09:04:48]OFD Sender: No OFD packet to send [09:04:53]OFD Sender: No OFD packet to send [09:04:58]OFD Sender: No OFD packet to send [09:05:03]OFD Sender: No OFD packet to send [09:05:08]OFD Sender: No OFD packet to send [09:05:13]OFD Sender: No OFD packet to send [09:05:18]OFD Sender: No OFD packet to send [09:05:23]OFD Sender: No OFD packet to send [09:05:28]OFD Sender: No OFD packet to send [09:05:33]OFD Sender: No OFD packet to send [09:05:38]OFD Sender: No OFD packet to send [09:05:43]OFD Sender: No OFD packet to send [09:05:48]OFD Sender: No OFD packet to send [09:05:53]OFD Sender: No OFD packet to send [09:05:58]OFD Sender: No OFD packet to send [09:06:03]OFD Sender: No OFD packet to send [09:06:08]OFD Sender: No OFD packet to send [09:06:13]OFD Sender: No OFD packet to send [09:06:18]OFD Sender: No OFD packet to send [09:06:23]OFD Sender: No OFD packet to send [09:06:28]OFD Sender: No OFD packet to send [09:06:33]OFD Sender: No OFD packet to send [09:06:38]OFD Sender: No OFD packet to send [09:06:43]OFD Sender: No OFD packet to send [09:06:48]OFD Sender: No OFD packet to send [09:06:53]OFD Sender: No OFD packet to send [09:06:58]OFD Sender: No OFD packet to send [09:07:03]OFD Sender: No OFD packet to send [09:07:08]OFD Sender: No OFD packet to send [09:07:13]OFD Sender: No OFD packet to send [09:07:18]OFD Sender: No OFD packet to send [09:07:23]OFD Sender: No OFD packet to send [09:07:28]OFD Sender: No OFD packet to send [09:07:33]OFD Sender: No OFD packet to send [09:07:38]OFD Sender: No OFD packet to send [09:07:43]OFD Sender: No OFD packet to send [09:07:48]OFD Sender: No OFD packet to send [09:07:53]OFD Sender: No OFD packet to send [09:07:58]OFD Sender: No OFD packet to send [09:08:03]OFD Sender: No OFD packet to send [09:08:08]OFD Sender: No OFD packet to send [09:08:13]OFD Sender: No OFD packet to send [09:08:18]OFD Sender: No OFD packet to send [09:08:23]OFD Sender: No OFD packet to send [09:08:28]OFD Sender: No OFD packet to send [09:08:33]OFD Sender: No OFD packet to send [09:08:38]OFD Sender: No OFD packet to send [09:08:43]OFD Sender: No OFD packet to send [09:08:48]OFD Sender: No OFD packet to send [09:08:53]OFD Sender: No OFD packet to send [09:08:58]OFD Sender: No OFD packet to send [09:09:03]OFD Sender: No OFD packet to send [09:09:08]OFD Sender: No OFD packet to send [09:09:13]OFD Sender: No OFD packet to send [09:09:18]OFD Sender: No OFD packet to send [09:09:23]OFD Sender: No OFD packet to send [09:09:28]OFD Sender: No OFD packet to send [09:09:33]OFD Sender: No OFD packet to send [09:09:38]OFD Sender: No OFD packet to send [09:09:43]OFD Sender: No OFD packet to send [09:09:48]OFD Sender: No OFD packet to send [09:09:53]OFD Sender: No OFD packet to send [09:09:58]OFD Sender: No OFD packet to send [09:10:03]OFD Sender: No OFD packet to send [09:10:08]OFD Sender: No OFD packet to send [09:10:13]OFD Sender: No OFD packet to send [09:10:18]OFD Sender: No OFD packet to send [09:10:23]OFD Sender: No OFD packet to send [09:10:28]OFD Sender: No OFD packet to send [09:10:33]OFD Sender: No OFD packet to send [09:10:38]OFD Sender: No OFD packet to send [09:10:43]OFD Sender: No OFD packet to send [09:10:48]OFD Sender: No OFD packet to send [09:10:53]OFD Sender: No OFD packet to send [09:10:58]OFD Sender: No OFD packet to send [09:11:03]OFD Sender: No OFD packet to send [09:11:08]OFD Sender: No OFD packet to send [09:11:13]OFD Sender: No OFD packet to send [09:11:18]OFD Sender: No OFD packet to send [09:11:23]OFD Sender: No OFD packet to send [09:11:28]OFD Sender: No OFD packet to send [09:11:33]OFD Sender: No OFD packet to send [09:11:38]OFD Sender: No OFD packet to send [09:11:43]OFD Sender: No OFD packet to send [09:11:48]OFD Sender: No OFD packet to send [09:11:53]OFD Sender: No OFD packet to send [09:11:58]OFD Sender: No OFD packet to send [09:12:03]OFD Sender: No OFD packet to send [09:12:08]OFD Sender: No OFD packet to send [09:12:13]OFD Sender: No OFD packet to send [09:12:18]OFD Sender: No OFD packet to send [09:12:23]OFD Sender: No OFD packet to send [09:12:28]OFD Sender: No OFD packet to send [09:12:33]OFD Sender: No OFD packet to send [09:12:38]OFD Sender: No OFD packet to send [09:12:43]OFD Sender: No OFD packet to send [09:12:48]OFD Sender: No OFD packet to send [09:12:53]OFD Sender: No OFD packet to send [09:12:58]OFD Sender: No OFD packet to send [09:13:03]OFD Sender: No OFD packet to send [09:13:08]OFD Sender: No OFD packet to send [09:13:13]OFD Sender: No OFD packet to send [09:13:18]OFD Sender: No OFD packet to send [09:13:23]OFD Sender: No OFD packet to send [09:13:28]OFD Sender: No OFD packet to send [09:13:33]OFD Sender: No OFD packet to send [09:13:38]OFD Sender: No OFD packet to send [09:13:43]OFD Sender: No OFD packet to send [09:13:48]OFD Sender: No OFD packet to send [09:13:53]OFD Sender: No OFD packet to send [09:13:58]OFD Sender: No OFD packet to send [09:14:03]OFD Sender: No OFD packet to send [09:14:08]OFD Sender: No OFD packet to send [09:14:13]OFD Sender: No OFD packet to send [09:14:18]OFD Sender: No OFD packet to send [09:14:23]OFD Sender: No OFD packet to send [09:14:28]OFD Sender: No OFD packet to send [09:14:33]OFD Sender: No OFD packet to send [09:14:38]OFD Sender: No OFD packet to send [09:14:43]OFD Sender: No OFD packet to send [09:14:48]OFD Sender: No OFD packet to send [09:14:53]OFD Sender: No OFD packet to send [09:14:58]OFD Sender: No OFD packet to send [09:15:03]OFD Sender: No OFD packet to send [09:15:08]OFD Sender: No OFD packet to send [09:15:13]OFD Sender: No OFD packet to send [09:15:18]OFD Sender: No OFD packet to send [09:15:23]OFD Sender: No OFD packet to send [09:15:28]OFD Sender: No OFD packet to send [09:15:33]OFD Sender: No OFD packet to send [09:15:38]OFD Sender: No OFD packet to send [09:15:43]OFD Sender: No OFD packet to send [09:15:48]OFD Sender: No OFD packet to send [09:15:53]OFD Sender: No OFD packet to send [09:15:58]OFD Sender: No OFD packet to send [09:16:03]OFD Sender: No OFD packet to send [09:16:08]OFD Sender: No OFD packet to send [09:16:13]OFD Sender: No OFD packet to send [09:16:18]OFD Sender: No OFD packet to send [09:16:23]OFD Sender: No OFD packet to send [09:16:28]OFD Sender: No OFD packet to send [09:16:33]OFD Sender: No OFD packet to send [09:16:38]OFD Sender: No OFD packet to send [09:16:43]OFD Sender: No OFD packet to send [09:16:48]OFD Sender: No OFD packet to send [09:16:53]OFD Sender: No OFD packet to send [09:16:58]OFD Sender: No OFD packet to send [09:17:03]OFD Sender: No OFD packet to send [09:17:08]OFD Sender: No OFD packet to send [09:17:13]OFD Sender: No OFD packet to send [09:17:18]OFD Sender: No OFD packet to send [09:17:23]OFD Sender: No OFD packet to send [09:17:28]OFD Sender: No OFD packet to send [09:17:33]OFD Sender: No OFD packet to send [09:17:38]OFD Sender: No OFD packet to send [09:17:43]OFD Sender: No OFD packet to send [09:17:48]OFD Sender: No OFD packet to send [09:17:53]OFD Sender: No OFD packet to send [09:17:58]OFD Sender: No OFD packet to send [09:18:03]OFD Sender: No OFD packet to send [09:18:08]OFD Sender: No OFD packet to send [09:18:13]OFD Sender: No OFD packet to send [09:18:18]OFD Sender: No OFD packet to send [09:18:23]OFD Sender: No OFD packet to send [09:18:28]OFD Sender: No OFD packet to send [09:18:33]OFD Sender: No OFD packet to send [09:18:38]OFD Sender: No OFD packet to send [09:18:43]OFD Sender: No OFD packet to send [09:18:48]OFD Sender: No OFD packet to send [09:18:54]OFD Sender: No OFD packet to send [09:18:59]OFD Sender: No OFD packet to send [09:19:04]OFD Sender: No OFD packet to send [09:19:09]OFD Sender: No OFD packet to send [09:19:09]accept exits with 8 [09:19:09]New connection [09:19:09]New thread 3066871140 created [09:19:09]Thread 3067014500 joined [09:19:09]Waiting for new connection... [09:19:09] Sock 8.Parse request [09:19:09]Sock 8.Check first char [09:19:09]Sock 8.First char is OK [09:19:09]request: POST /json_proto HTTP/1.0 [09:19:09]Method: POST [09:19:09]URL: /json_proto [09:19:09]Method is POST - this is cgi request [09:19:09]url: /json_proto [09:19:09]query_string will be loaded in cgi processing [09:19:09]execute_cgi json_proto POST (null) [09:19:09]execute_cgi path=json_proto method=POST [09:19:09]POST find Content-Length [09:19:09]Host: 172.17.35.3:8080 [09:19:09]Content-Length: 808 [09:19:09]Content-Type: application/json [09:19:09] [09:19:09]POST finish read [09:19:09]Found Content-Length = 808 [09:19:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359462", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 1000.17 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:19:09]execute_script... [09:19:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359462", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 1000.17 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:19:09]POST & json_proto [09:19:09]process_json_proto [09:19:09]json parsed OK: [09:19:09]protocol is kg_v1.0 [09:19:09]action value=close_receipt [09:19:09]process_action close_receipt [09:19:09]cmd_close_receipt [09:19:09]MH_GetDate [09:19:09]Write to MH i2c: F0 00 00 07 1E 14 [09:19:09]Write i2c OK [09:19:09]MH_I2C_Read... [09:19:09]Read from MH i2c: F0 [09:19:09]MH_I2C_Read... [09:19:09]Read from MH i2c: F0 09 00 [09:19:09]MH_I2C_Read... [09:19:09]Read from MH i2c: F0 09 00 07 1E 00 15 65 12 66 2B 11 66 64 15 [09:19:09]GetLastDocTimeStamp 1712480108 [09:19:09]current date 1712481557 [09:19:09]FM_GetShiftState [09:19:09]SAM_PROTO_GetShiftState [09:19:09]wFMCommunicate request_size=4 [09:19:09]MH_SAM_APDU [09:19:09]CAPDU: 80 13 01 00 [09:19:09]Write to MH i2c: E2 08 00 08 1E 80 13 01 00 00 00 00 00 A3 [09:19:09]Write i2c OK [09:19:09]MH_I2C_Read... [09:19:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:19:09]Read from MH i2c: E2 [09:19:09]MH_I2C_Read... [09:19:09]Read from MH i2c: E2 0E 00 [09:19:09]MH_I2C_Read... [09:19:09]Read from MH i2c: E2 0E 00 08 1E 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 37 [09:19:09]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [09:19:09]wFMCommunicate OK [09:19:09]SAM_PROTO_GetShiftState done [09:19:09]FM_GetShiftState done [09:19:09]opened in 1712450087 [09:19:09]opened+sec_in_day 1712536487 [09:19:09]quantity*price = 100017 [09:19:09]sum+1 = 100018 [09:19:09]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.17 НСП 1% : 8.85 НДС 12% : 106.21 Наличными: 0.00 Безнал.: 1000.17 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 18 07.04.2024 09:19 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000874657 ФД: 26719 ФПД: 122515690124077 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T091917&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26719&fm=122515690124077&tin=02508201610067®Number=0000000000091578&sum=100017 [09:19:10]StoreToDocumentArchive [09:19:10]shift 313 fd 26719 [09:19:10]save to /storage/0313/doc_00026719 [09:19:10]save last doc name /storage/0313/doc_00026719 to /storage/kkm_last_doc_name [09:19:10]save OK [09:19:10]Clear old archive folders... [09:19:10]ProcessDocumentItem done err = 0, tmpTLVsize=252 [09:19:10]tlvbuf is 00EFE1E0 [09:19:10]SAM_PROTO_ClearQueue [09:19:10]wFMCommunicate request_size=4 [09:19:10]MH_SAM_APDU [09:19:10]CAPDU: 80 09 00 00 [09:19:10]Write to MH i2c: E2 08 00 15 1E 80 09 00 00 00 00 00 00 A5 [09:19:10]Write i2c OK [09:19:10]MH_I2C_Read... [09:19:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:19:10]Read from MH i2c: E2 [09:19:10]MH_I2C_Read... [09:19:10]Read from MH i2c: E2 03 00 [09:19:10]MH_I2C_Read... [09:19:10]Read from MH i2c: E2 03 00 15 1E 00 90 00 A7 [09:19:10]RAPDU: 90 00 [09:19:10]wFMCommunicate OK [09:19:10]SAM_PROTO_ClearQueue done [09:19:10]KKMCreateOFDPacket [09:19:10]OFDProtocolAddRootSTLVToBuf [09:19:10]FM_MakeSignedData [09:19:10]FM_MakeSignedData [09:19:10]SAM_PROTO_SignData [09:19:10]wFMCommunicate request_size=4 [09:19:10]MH_SAM_APDU [09:19:10]CAPDU: 80 0D 01 02 [09:19:10]Write to MH i2c: E2 08 00 16 1E 80 0D 01 02 00 00 00 00 AD [09:19:10]Write i2c OK [09:19:10]MH_I2C_Read... [09:19:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:19:10]Read from MH i2c: E2 [09:19:10]MH_I2C_Read... [09:19:10]Read from MH i2c: E2 03 00 [09:19:10]MH_I2C_Read... [09:19:10]Read from MH i2c: E2 03 00 16 1E 00 90 00 A8 [09:19:10]RAPDU: 90 00 [09:19:10]wFMCommunicate OK [09:19:10]wFMCommunicate request_size=255 [09:19:10]MH_SAM_APDU [09:19:10]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 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 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 15 65 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 5F 68 00 00 35 04 06 00 [09:19:10]Write to MH i2c: E2 02 01 17 1E 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 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 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 15 65 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 5F 68 00 00 35 04 06 00 00 00 8F [09:19:10]Write i2c OK [09:19:10]MH_I2C_Read... [09:19:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:19:10]Read from MH i2c: E2 [09:19:10]MH_I2C_Read... [09:19:10]Read from MH i2c: E2 03 00 [09:19:10]MH_I2C_Read... [09:19:10]Read from MH i2c: E2 03 00 17 1E 00 90 00 A9 [09:19:10]RAPDU: 90 00 [09:19:10]wFMCommunicate OK [09:19:10]wFMCommunicate request_size=11 [09:19:10]MH_SAM_APDU [09:19:10]CAPDU: 80 0D 02 02 06 6F 6D 68 30 73 2D [09:19:10]Write to MH i2c: E2 0E 00 18 1E 80 0D 02 02 06 00 6F 6D 68 30 73 2D 00 00 D0 [09:19:10]Write i2c OK [09:19:10]MH_I2C_Read... [09:19:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:19:10]Read from MH i2c: E2 [09:19:10]MH_I2C_Read... [09:19:10]Read from MH i2c: E2 03 00 [09:19:10]MH_I2C_Read... [09:19:10]Read from MH i2c: E2 03 00 18 1E 00 90 00 AA [09:19:10]RAPDU: 90 00 [09:19:10]wFMCommunicate OK [09:19:10]wFMCommunicate request_size=4 [09:19:10]MH_SAM_APDU [09:19:10]CAPDU: 80 0D 03 02 [09:19:10]Write to MH i2c: E2 08 00 19 1E 80 0D 03 02 00 00 00 00 B2 [09:19:10]Write i2c OK [09:19:10]MH_I2C_Read... [09:19:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:19:10]Read from MH i2c: E2 [09:19:10]MH_I2C_Read... [09:19:10]Read from MH i2c: E2 0B 00 [09:19:10]MH_I2C_Read... [09:19:10]Read from MH i2c: E2 0B 00 19 1E 00 C2 58 97 BC 06 8D 9A FE 90 00 4B [09:19:10]RAPDU: C2 58 97 BC 06 8D 9A FE 90 00 [09:19:10]wFMCommunicate OK [09:19:10]SAM_PROTO_SignData done [09:19:10]FM_MakeSignedData done [09:19:10]CreateOFDProtocolMessage [09:19:10]wFMCommunicate request_size=4 [09:19:10]MH_SAM_APDU [09:19:10]CAPDU: 80 11 00 00 [09:19:10]Write to MH i2c: E2 08 00 1A 1E 80 11 00 00 00 00 00 00 B2 [09:19:10]Write i2c OK [09:19:10]MH_I2C_Read... [09:19:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:19:10]Read from MH i2c: E2 [09:19:10]MH_I2C_Read... [09:19:10]Read from MH i2c: E2 17 00 [09:19:10]MH_I2C_Read... [09:19:10]Read from MH i2c: E2 17 00 1A 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 0A [09:19:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [09:19:10]wFMCommunicate OK [09:19:10]CreateOFDProtocolMessage done [09:19:10]OFDSenderStorePacket 26719 [09:19:10]StoreOFDPacket docnum=26719 [09:19:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 0C EC 08 01 C7 FD 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 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 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 15 65 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 5F 68 00 00 35 04 06 00 6F 6D 68 30 73 2D C2 58 97 BC 06 8D 9A FE [09:19:10]CheckFolder [09:19:10]dirname=/storage/ofd_packets [09:19:10]CheckFolder done [09:19:10]ProducePacketName [09:19:10]name=ofd_packets/00026719 [09:19:10]NVStorageSaveData ofd_packets/00026719 [09:19:10]File name is /storage/ofd_packets/00026719 [09:19:10]Write 302 bytes [09:19:10]NVStorageSaveData done [09:19:10]OFDSenderStorePacket done [09:19:10]KKMCreateOFDPacket done [09:19:10]NVStorageSaveData kkm_last_timestamp [09:19:10]File name is /storage/kkm_last_timestamp [09:19:10]Write 4 bytes [09:19:10]NVStorageSaveData done [09:19:10]ExternCall_PrintAddStr [09:19:10]wPrintStart [09:19:10]Write to MH i2c: 01 00 00 1B 1E 39 [09:19:10]Write i2c OK [09:19:10]MH_I2C_Read... [09:19:10]Read from MH i2c: 01 [09:19:10]MH_I2C_Read... [09:19:10]Read from MH i2c: 01 07 00 [09:19:10]MH_I2C_Read... [09:19:10]Read from MH i2c: 01 07 00 1B 1E 00 00 00 00 00 FF 0F 4E [09:19:10]RasterBufferAndPrint [09:19:10]line Счет N : (1)359462 [09:19:10]line ИНН: 02508201610067 [09:19:10]line Контрольно-Кассовый Чек [09:19:10]line ПРОДАЖА [09:19:10]line ТРК (МРК, ГНК) : 11 [09:19:10]line Товар: 2710194210 [09:19:10]line ДТ(л)-К-5 [09:19:10]line 13.930 * 71.80 [09:19:10]line = 1000.17 [09:19:10]line НДС 12% НСП 1% [09:19:10]line > о реализуемом товаре [09:19:10]line ИТОГО: 1000.17 [09:19:10]line НСП 1% : 8.85 [09:19:10]line НДС 12% : 106.21 [09:19:10]line Наличными: 0.00 [09:19:10]line Безнал.: 1000.17 [09:19:10]line Место: АЗС № 122 "Партнер Нефть" [09:19:10]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [09:19:10]line СНО: Общий режим [09:19:10]line Чек 18 07.04.2024 09:19 [09:19:10]line Смена: 313 ФФД: 1.0 [09:19:10]line ЗНМ: 0300000147 [09:19:10]line РНМ: 0000000000091578 [09:19:10]line Версия ККМ: 001 [09:19:10]line Платежная система: O! деньги [09:19:10]line ФМ: 0000000000874657 [09:19:10]line ФД: 26719 [09:19:10]line ФПД: 122515690124077 [09:19:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T091917&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26719&fm=122515690124077&tin=02508201610067®Number=0000000000091578&sum=100017 [09:19:11]OFD Sender: Processing packet 26719 [packets to send 44, broken 43] [09:19:11]ProducePacketName [09:19:11]name=ofd_packets/00026719 [09:19:11]OFD Sender: To server: pG, [09:19:11]CommunicateWithHost lk.salyk.kg:30040 [09:19:11]ConnectInit lk.salyk.kg [09:19:11]written 0, free lines is 4095 [09:19:11]Connected sock=10 [09:19:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 0C EC 08 01 C7 FD 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 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 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 15 65 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 5F 68 00 00 35 04 06 00 6F 6D 68 30 73 2D C2 58 97 BC 06 8D 9A FE [09:19:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 DE DB 47 00 9D 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 36 35 37 10 04 04 00 5F 68 00 00 F4 03 04 00 83 0C 12 66 B6 04 01 00 00 7A BA 67 76 70 3A 44 9D [09:19:11]CommunicateWithHost err = 0 [09:19:11]CheckOFDResponse [09:19:11]1017 (14) - 77093643461234 [09:19:11]1041 (16) - 0000000000874657 [09:19:11]1040 (4) - 26719 [09:19:11]1012 (4) - 07.04.2024 03:01 [09:19:11]1206 (1) - 0 [09:19:11]OFD Sender: Remove packet 26719 [09:19:11]ProducePacketName [09:19:11]name=ofd_packets/00026719 [09:19:11]NVStorageDeleteData [09:19:11]Write to MH i2c: 01 00 00 45 1E 63 [09:19:11]Write i2c OK [09:19:11]MH_I2C_Read... [09:19:11]Read from MH i2c: 01 [09:19:11]MH_I2C_Read... [09:19:11]Read from MH i2c: 01 07 00 [09:19:11]MH_I2C_Read... [09:19:11]Read from MH i2c: 01 07 00 45 1E 00 00 00 00 00 8E 0C 04 [09:19:11]RasterBufferAndPrint [09:19:11]line [09:19:11]line [09:19:11]line [09:19:11]line [09:19:11]line [09:19:11]written 0, free lines is 3216 [09:19:11]MH_Cut [09:19:11]Write to MH i2c: D1 01 00 4C 1E 01 3C [09:19:11]Write i2c OK [09:19:11]MH_I2C_Read... [09:19:11]Read from MH i2c: D1 [09:19:11]MH_I2C_Read... [09:19:11]Read from MH i2c: D1 01 00 [09:19:11]MH_I2C_Read... [09:19:11]Read from MH i2c: D1 01 00 4C 1E 00 3B [09:19:11]Write to MH i2c: 01 00 00 4D 1E 6B [09:19:11]Write i2c OK [09:19:11]MH_I2C_Read... [09:19:11]OFD Sender: No OFD packet to send [09:19:12]*** Cut start [09:19:12]*** Partial cut [09:19:12]*** CUTSNS_PIN = 1 [09:19:12]*** CUTSNS_PIN = 0 [09:19:13]*** Brake cut motor [09:19:13]Read from MH i2c: 01 [09:19:13]MH_I2C_Read... [09:19:13]*** Stop cut motor [09:19:13]*** Cut end [09:19:13]Read from MH i2c: 01 07 00 [09:19:13]MH_I2C_Read... [09:19:13]Read from MH i2c: 01 07 00 4D 1E 00 00 00 00 00 FF 0F 80 [09:19:13]process_action close_receipt done [09:19:13]requested_data is exist [09:19:13]produce_requested_data [09:19:13]requested_item fm.sn is exist - process it [09:19:13]wFMCommunicate request_size=4 [09:19:13]MH_SAM_APDU [09:19:13]CAPDU: 80 11 00 00 [09:19:13]Write to MH i2c: E2 08 00 4E 1E 80 11 00 00 00 00 00 00 E6 [09:19:13]Write i2c OK [09:19:13]MH_I2C_Read... [09:19:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:19:13]Read from MH i2c: E2 [09:19:13]MH_I2C_Read... [09:19:13]Read from MH i2c: E2 17 00 [09:19:13]MH_I2C_Read... [09:19:13]Read from MH i2c: E2 17 00 4E 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 3E [09:19:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [09:19:13]wFMCommunicate OK [09:19:13]requested_item fd.num is exist - process it [09:19:13]SAM_PROTO_GetFieldsCounters [09:19:13]wFMCommunicate request_size=4 [09:19:13]MH_SAM_APDU [09:19:13]CAPDU: 80 13 00 00 [09:19:13]Write to MH i2c: E2 08 00 4F 1E 80 13 00 00 00 00 00 00 E9 [09:19:13]Write i2c OK [09:19:13]MH_I2C_Read... [09:19:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:19:13]Read from MH i2c: E2 [09:19:13]MH_I2C_Read... [09:19:13]Read from MH i2c: E2 62 00 [09:19:13]MH_I2C_Read... [09:19:13]Read from MH i2c: E2 62 00 4F 1E 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 5F 68 00 00 0E 04 04 00 39 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 4B [09:19: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 5F 68 00 00 0E 04 04 00 39 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 [09:19:13]wFMCommunicate OK [09:19:13]SAM_PROTO_GetFieldsCounters done [09:19:13]requested_item shift.num is exist - process it [09:19:13]requested_item shift.opened is exist - process it [09:19:13]req_shift_opened [09:19:13]FM_GetShiftState [09:19:13]SAM_PROTO_GetShiftState [09:19:13]wFMCommunicate request_size=4 [09:19:13]MH_SAM_APDU [09:19:13]CAPDU: 80 13 01 00 [09:19:13]Write to MH i2c: E2 08 00 50 1E 80 13 01 00 00 00 00 00 EB [09:19:13]Write i2c OK [09:19:13]MH_I2C_Read... [09:19:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:19:13]Read from MH i2c: E2 [09:19:13]MH_I2C_Read... [09:19:13]Read from MH i2c: E2 0E 00 [09:19:13]MH_I2C_Read... [09:19:13]Read from MH i2c: E2 0E 00 50 1E 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 7F [09:19:13]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [09:19:13]wFMCommunicate OK [09:19:13]SAM_PROTO_GetShiftState done [09:19:13]FM_GetShiftState done [09:19:13]req_shift_opened done [09:19:13]requested_item shift.open_date is exist - process it [09:19:13]req_shift_open_date [09:19:13]req_shift_open_date done [09:19:13]produce_requested_data done [09:19:13]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26719,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [09:19:13]process_action_free close_receipt [09:19:13]json_value_free [09:19:13]json_value_free done [09:19:13]process_json_proto returns [09:19:13]Send response to host [09:19:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26719,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [09:19:13]free response buf [09:19:13]execute_script done [09:19:13]execute_script returns [09:19:13]free content buf [09:19:13]Sock 8.Close socket [09:19:13]Sock 8.Thread stoped [09:19:16]OFD Sender: No OFD packet to send [09:19:21]OFD Sender: No OFD packet to send [09:19:26]OFD Sender: No OFD packet to send [09:19:31]OFD Sender: No OFD packet to send [09:19:36]OFD Sender: No OFD packet to send [09:19:41]OFD Sender: No OFD packet to send [09:19:46]OFD Sender: No OFD packet to send [09:19:51]OFD Sender: No OFD packet to send [09:19:56]OFD Sender: No OFD packet to send [09:20:01]OFD Sender: No OFD packet to send [09:20:06]OFD Sender: No OFD packet to send [09:20:11]OFD Sender: No OFD packet to send [09:20:16]OFD Sender: No OFD packet to send [09:20:21]OFD Sender: No OFD packet to send [09:20:26]OFD Sender: No OFD packet to send [09:20:31]OFD Sender: No OFD packet to send [09:20:36]OFD Sender: No OFD packet to send [09:20:41]OFD Sender: No OFD packet to send [09:20:46]OFD Sender: No OFD packet to send [09:20:51]OFD Sender: No OFD packet to send [09:20:56]OFD Sender: No OFD packet to send [09:21:02]OFD Sender: No OFD packet to send [09:21:07]OFD Sender: No OFD packet to send [09:21:12]OFD Sender: No OFD packet to send [09:21:17]OFD Sender: No OFD packet to send [09:21:22]OFD Sender: No OFD packet to send [09:21:27]OFD Sender: No OFD packet to send [09:21:32]OFD Sender: No OFD packet to send [09:21:37]OFD Sender: No OFD packet to send [09:21:42]OFD Sender: No OFD packet to send [09:21:47]OFD Sender: No OFD packet to send [09:21:52]OFD Sender: No OFD packet to send [09:21:57]OFD Sender: No OFD packet to send [09:22:02]OFD Sender: No OFD packet to send [09:22:07]OFD Sender: No OFD packet to send [09:22:12]OFD Sender: No OFD packet to send [09:22:17]OFD Sender: No OFD packet to send [09:22:22]OFD Sender: No OFD packet to send [09:22:27]OFD Sender: No OFD packet to send [09:22:32]OFD Sender: No OFD packet to send [09:22:37]OFD Sender: No OFD packet to send [09:22:42]OFD Sender: No OFD packet to send [09:22:47]OFD Sender: No OFD packet to send [09:22:52]OFD Sender: No OFD packet to send [09:22:57]OFD Sender: No OFD packet to send [09:23:02]OFD Sender: No OFD packet to send [09:23:07]OFD Sender: No OFD packet to send [09:23:12]OFD Sender: No OFD packet to send [09:23:17]OFD Sender: No OFD packet to send [09:23:22]OFD Sender: No OFD packet to send [09:23:27]OFD Sender: No OFD packet to send [09:23:32]OFD Sender: No OFD packet to send [09:23:37]OFD Sender: No OFD packet to send [09:23:42]OFD Sender: No OFD packet to send [09:23:47]OFD Sender: No OFD packet to send [09:23:52]OFD Sender: No OFD packet to send [09:23:57]OFD Sender: No OFD packet to send [09:24:02]OFD Sender: No OFD packet to send [09:24:07]OFD Sender: No OFD packet to send [09:24:12]OFD Sender: No OFD packet to send [09:24:17]OFD Sender: No OFD packet to send [09:24:22]OFD Sender: No OFD packet to send [09:24:27]OFD Sender: No OFD packet to send [09:24:32]OFD Sender: No OFD packet to send [09:24:37]OFD Sender: No OFD packet to send [09:24:42]OFD Sender: No OFD packet to send [09:24:47]OFD Sender: No OFD packet to send [09:24:52]OFD Sender: No OFD packet to send [09:24:57]OFD Sender: No OFD packet to send [09:25:02]OFD Sender: No OFD packet to send [09:25:07]OFD Sender: No OFD packet to send [09:25:12]OFD Sender: No OFD packet to send [09:25:17]OFD Sender: No OFD packet to send [09:25:22]OFD Sender: No OFD packet to send [09:25:27]OFD Sender: No OFD packet to send [09:25:32]OFD Sender: No OFD packet to send [09:25:37]OFD Sender: No OFD packet to send [09:25:42]OFD Sender: No OFD packet to send [09:25:47]OFD Sender: No OFD packet to send [09:25:52]OFD Sender: No OFD packet to send [09:25:57]OFD Sender: No OFD packet to send [09:26:02]OFD Sender: No OFD packet to send [09:26:07]OFD Sender: No OFD packet to send [09:26:12]OFD Sender: No OFD packet to send [09:26:17]OFD Sender: No OFD packet to send [09:26:22]OFD Sender: No OFD packet to send [09:26:27]OFD Sender: No OFD packet to send [09:26:32]OFD Sender: No OFD packet to send [09:26:37]OFD Sender: No OFD packet to send [09:26:42]OFD Sender: No OFD packet to send [09:26:47]OFD Sender: No OFD packet to send [09:26:52]OFD Sender: No OFD packet to send [09:26:57]OFD Sender: No OFD packet to send [09:27:02]OFD Sender: No OFD packet to send [09:27:07]OFD Sender: No OFD packet to send [09:27:12]OFD Sender: No OFD packet to send [09:27:17]OFD Sender: No OFD packet to send [09:27:22]OFD Sender: No OFD packet to send [09:27:27]OFD Sender: No OFD packet to send [09:27:32]OFD Sender: No OFD packet to send [09:27:37]OFD Sender: No OFD packet to send [09:27:42]OFD Sender: No OFD packet to send [09:27:47]OFD Sender: No OFD packet to send [09:27:52]OFD Sender: No OFD packet to send [09:27:57]OFD Sender: No OFD packet to send [09:28:02]OFD Sender: No OFD packet to send [09:28:07]OFD Sender: No OFD packet to send [09:28:12]OFD Sender: No OFD packet to send [09:28:17]OFD Sender: No OFD packet to send [09:28:22]OFD Sender: No OFD packet to send [09:28:27]OFD Sender: No OFD packet to send [09:28:32]OFD Sender: No OFD packet to send [09:28:37]OFD Sender: No OFD packet to send [09:28:42]OFD Sender: No OFD packet to send [09:28:47]OFD Sender: No OFD packet to send [09:28:52]OFD Sender: No OFD packet to send [09:28:57]OFD Sender: No OFD packet to send [09:29:02]OFD Sender: No OFD packet to send [09:29:07]OFD Sender: No OFD packet to send [09:29:12]OFD Sender: No OFD packet to send [09:29:17]OFD Sender: No OFD packet to send [09:29:22]OFD Sender: No OFD packet to send [09:29:27]OFD Sender: No OFD packet to send [09:29:32]OFD Sender: No OFD packet to send [09:29:37]OFD Sender: No OFD packet to send [09:29:42]OFD Sender: No OFD packet to send [09:29:47]OFD Sender: No OFD packet to send [09:29:52]OFD Sender: No OFD packet to send [09:29:57]OFD Sender: No OFD packet to send [09:30:02]OFD Sender: No OFD packet to send [09:30:07]OFD Sender: No OFD packet to send [09:30:12]OFD Sender: No OFD packet to send [09:30:17]OFD Sender: No OFD packet to send [09:30:22]OFD Sender: No OFD packet to send [09:30:27]OFD Sender: No OFD packet to send [09:30:32]OFD Sender: No OFD packet to send [09:30:37]OFD Sender: No OFD packet to send [09:30:42]OFD Sender: No OFD packet to send [09:30:47]OFD Sender: No OFD packet to send [09:30:52]OFD Sender: No OFD packet to send [09:30:57]OFD Sender: No OFD packet to send [09:31:02]OFD Sender: No OFD packet to send [09:31:07]OFD Sender: No OFD packet to send [09:31:12]OFD Sender: No OFD packet to send [09:31:17]OFD Sender: No OFD packet to send [09:31:22]OFD Sender: No OFD packet to send [09:31:27]OFD Sender: No OFD packet to send [09:31:32]OFD Sender: No OFD packet to send [09:31:37]OFD Sender: No OFD packet to send [09:31:42]OFD Sender: No OFD packet to send [09:31:47]OFD Sender: No OFD packet to send [09:31:52]OFD Sender: No OFD packet to send [09:31:57]OFD Sender: No OFD packet to send [09:32:02]OFD Sender: No OFD packet to send [09:32:07]OFD Sender: No OFD packet to send [09:32:12]OFD Sender: No OFD packet to send [09:32:17]OFD Sender: No OFD packet to send [09:32:22]OFD Sender: No OFD packet to send [09:32:27]OFD Sender: No OFD packet to send [09:32:32]OFD Sender: No OFD packet to send [09:32:37]OFD Sender: No OFD packet to send [09:32:42]OFD Sender: No OFD packet to send [09:32:47]OFD Sender: No OFD packet to send [09:32:52]OFD Sender: No OFD packet to send [09:32:57]OFD Sender: No OFD packet to send [09:33:02]OFD Sender: No OFD packet to send [09:33:07]OFD Sender: No OFD packet to send [09:33:12]OFD Sender: No OFD packet to send [09:33:17]OFD Sender: No OFD packet to send [09:33:22]OFD Sender: No OFD packet to send [09:33:27]OFD Sender: No OFD packet to send [09:33:32]OFD Sender: No OFD packet to send [09:33:37]OFD Sender: No OFD packet to send [09:33:42]OFD Sender: No OFD packet to send [09:33:47]OFD Sender: No OFD packet to send [09:33:52]OFD Sender: No OFD packet to send [09:33:57]OFD Sender: No OFD packet to send [09:34:02]OFD Sender: No OFD packet to send [09:34:07]OFD Sender: No OFD packet to send [09:34:12]OFD Sender: No OFD packet to send [09:34:17]OFD Sender: No OFD packet to send [09:34:22]OFD Sender: No OFD packet to send [09:34:27]OFD Sender: No OFD packet to send [09:34:32]OFD Sender: No OFD packet to send [09:34:37]OFD Sender: No OFD packet to send [09:34:42]OFD Sender: No OFD packet to send [09:34:47]OFD Sender: No OFD packet to send [09:34:52]OFD Sender: No OFD packet to send [09:34:57]OFD Sender: No OFD packet to send [09:35:02]OFD Sender: No OFD packet to send [09:35:07]OFD Sender: No OFD packet to send [09:35:12]OFD Sender: No OFD packet to send [09:35:17]OFD Sender: No OFD packet to send [09:35:22]OFD Sender: No OFD packet to send [09:35:27]OFD Sender: No OFD packet to send [09:35:32]OFD Sender: No OFD packet to send [09:35:37]OFD Sender: No OFD packet to send [09:35:42]OFD Sender: No OFD packet to send [09:35:47]OFD Sender: No OFD packet to send [09:35:52]OFD Sender: No OFD packet to send [09:35:57]OFD Sender: No OFD packet to send [09:36:02]OFD Sender: No OFD packet to send [09:36:07]OFD Sender: No OFD packet to send [09:36:12]OFD Sender: No OFD packet to send [09:36:17]OFD Sender: No OFD packet to send [09:36:22]OFD Sender: No OFD packet to send [09:36:27]OFD Sender: No OFD packet to send [09:36:32]OFD Sender: No OFD packet to send [09:36:37]OFD Sender: No OFD packet to send [09:36:42]OFD Sender: No OFD packet to send [09:36:47]OFD Sender: No OFD packet to send [09:36:52]OFD Sender: No OFD packet to send [09:36:57]OFD Sender: No OFD packet to send [09:37:02]OFD Sender: No OFD packet to send [09:37:07]OFD Sender: No OFD packet to send [09:37:12]OFD Sender: No OFD packet to send [09:37:17]OFD Sender: No OFD packet to send [09:37:22]OFD Sender: No OFD packet to send [09:37:27]OFD Sender: No OFD packet to send [09:37:32]OFD Sender: No OFD packet to send [09:37:37]OFD Sender: No OFD packet to send [09:37:42]OFD Sender: No OFD packet to send [09:37:47]OFD Sender: No OFD packet to send [09:37:52]OFD Sender: No OFD packet to send [09:37:57]OFD Sender: No OFD packet to send [09:38:02]OFD Sender: No OFD packet to send [09:38:07]OFD Sender: No OFD packet to send [09:38:12]OFD Sender: No OFD packet to send [09:38:17]OFD Sender: No OFD packet to send [09:38:22]OFD Sender: No OFD packet to send [09:38:27]OFD Sender: No OFD packet to send [09:38:32]OFD Sender: No OFD packet to send [09:38:37]OFD Sender: No OFD packet to send [09:38:42]OFD Sender: No OFD packet to send [09:38:47]OFD Sender: No OFD packet to send [09:38:52]OFD Sender: No OFD packet to send [09:38:57]OFD Sender: No OFD packet to send [09:39:02]OFD Sender: No OFD packet to send [09:39:07]OFD Sender: No OFD packet to send [09:39:12]OFD Sender: No OFD packet to send [09:39:17]OFD Sender: No OFD packet to send [09:39:22]OFD Sender: No OFD packet to send [09:39:27]OFD Sender: No OFD packet to send [09:39:33]OFD Sender: No OFD packet to send [09:39:38]OFD Sender: No OFD packet to send [09:39:43]OFD Sender: No OFD packet to send [09:39:48]OFD Sender: No OFD packet to send [09:39:53]OFD Sender: No OFD packet to send [09:39:58]OFD Sender: No OFD packet to send [09:40:03]OFD Sender: No OFD packet to send [09:40:08]OFD Sender: No OFD packet to send [09:40:13]OFD Sender: No OFD packet to send [09:40:18]OFD Sender: No OFD packet to send [09:40:23]OFD Sender: No OFD packet to send [09:40:28]OFD Sender: No OFD packet to send [09:40:33]OFD Sender: No OFD packet to send [09:40:38]OFD Sender: No OFD packet to send [09:40:43]OFD Sender: No OFD packet to send [09:40:48]OFD Sender: No OFD packet to send [09:40:53]OFD Sender: No OFD packet to send [09:40:58]OFD Sender: No OFD packet to send [09:41:03]OFD Sender: No OFD packet to send [09:41:08]OFD Sender: No OFD packet to send [09:41:13]OFD Sender: No OFD packet to send [09:41:18]OFD Sender: No OFD packet to send [09:41:23]OFD Sender: No OFD packet to send [09:41:28]OFD Sender: No OFD packet to send [09:41:33]OFD Sender: No OFD packet to send [09:41:38]OFD Sender: No OFD packet to send [09:41:43]OFD Sender: No OFD packet to send [09:41:48]OFD Sender: No OFD packet to send [09:41:53]OFD Sender: No OFD packet to send [09:41:58]OFD Sender: No OFD packet to send [09:42:03]OFD Sender: No OFD packet to send [09:42:08]OFD Sender: No OFD packet to send [09:42:13]OFD Sender: No OFD packet to send [09:42:18]OFD Sender: No OFD packet to send [09:42:23]OFD Sender: No OFD packet to send [09:42:28]OFD Sender: No OFD packet to send [09:42:33]OFD Sender: No OFD packet to send [09:42:38]OFD Sender: No OFD packet to send [09:42:43]OFD Sender: No OFD packet to send [09:42:48]OFD Sender: No OFD packet to send [09:42:53]OFD Sender: No OFD packet to send [09:42:58]OFD Sender: No OFD packet to send [09:43:03]OFD Sender: No OFD packet to send [09:43:08]OFD Sender: No OFD packet to send [09:43:13]OFD Sender: No OFD packet to send [09:43:18]OFD Sender: No OFD packet to send [09:43:23]OFD Sender: No OFD packet to send [09:43:28]OFD Sender: No OFD packet to send [09:43:33]OFD Sender: No OFD packet to send [09:43:38]OFD Sender: No OFD packet to send [09:43:43]OFD Sender: No OFD packet to send [09:43:48]OFD Sender: No OFD packet to send [09:43:53]OFD Sender: No OFD packet to send [09:43:58]OFD Sender: No OFD packet to send [09:44:03]OFD Sender: No OFD packet to send [09:44:08]OFD Sender: No OFD packet to send [09:44:13]OFD Sender: No OFD packet to send [09:44:18]OFD Sender: No OFD packet to send [09:44:23]OFD Sender: No OFD packet to send [09:44:28]OFD Sender: No OFD packet to send [09:44:33]OFD Sender: No OFD packet to send [09:44:38]OFD Sender: No OFD packet to send [09:44:43]OFD Sender: No OFD packet to send [09:44:48]OFD Sender: No OFD packet to send [09:44:53]OFD Sender: No OFD packet to send [09:44:58]OFD Sender: No OFD packet to send [09:45:03]OFD Sender: No OFD packet to send [09:45:08]OFD Sender: No OFD packet to send [09:45:13]OFD Sender: No OFD packet to send [09:45:18]OFD Sender: No OFD packet to send [09:45:23]OFD Sender: No OFD packet to send [09:45:28]OFD Sender: No OFD packet to send [09:45:33]OFD Sender: No OFD packet to send [09:45:38]OFD Sender: No OFD packet to send [09:45:43]OFD Sender: No OFD packet to send [09:45:48]OFD Sender: No OFD packet to send [09:45:53]OFD Sender: No OFD packet to send [09:45:58]OFD Sender: No OFD packet to send [09:46:03]OFD Sender: No OFD packet to send [09:46:08]OFD Sender: No OFD packet to send [09:46:13]OFD Sender: No OFD packet to send [09:46:18]OFD Sender: No OFD packet to send [09:46:23]OFD Sender: No OFD packet to send [09:46:28]OFD Sender: No OFD packet to send [09:46:33]OFD Sender: No OFD packet to send [09:46:38]OFD Sender: No OFD packet to send [09:46:43]OFD Sender: No OFD packet to send [09:46:48]OFD Sender: No OFD packet to send [09:46:53]OFD Sender: No OFD packet to send [09:46:58]OFD Sender: No OFD packet to send [09:47:03]OFD Sender: No OFD packet to send [09:47:08]OFD Sender: No OFD packet to send [09:47:13]OFD Sender: No OFD packet to send [09:47:18]OFD Sender: No OFD packet to send [09:47:23]OFD Sender: No OFD packet to send [09:47:28]OFD Sender: No OFD packet to send [09:47:33]OFD Sender: No OFD packet to send [09:47:38]OFD Sender: No OFD packet to send [09:47:43]OFD Sender: No OFD packet to send [09:47:48]OFD Sender: No OFD packet to send [09:47:53]OFD Sender: No OFD packet to send [09:47:58]OFD Sender: No OFD packet to send [09:48:03]OFD Sender: No OFD packet to send [09:48:08]OFD Sender: No OFD packet to send [09:48:13]OFD Sender: No OFD packet to send [09:48:18]OFD Sender: No OFD packet to send [09:48:23]OFD Sender: No OFD packet to send [09:48:28]OFD Sender: No OFD packet to send [09:48:33]OFD Sender: No OFD packet to send [09:48:38]OFD Sender: No OFD packet to send [09:48:43]OFD Sender: No OFD packet to send [09:48:48]OFD Sender: No OFD packet to send [09:48:53]OFD Sender: No OFD packet to send [09:48:58]OFD Sender: No OFD packet to send [09:49:03]OFD Sender: No OFD packet to send [09:49:08]OFD Sender: No OFD packet to send [09:49:13]OFD Sender: No OFD packet to send [09:49:18]OFD Sender: No OFD packet to send [09:49:23]OFD Sender: No OFD packet to send [09:49:28]OFD Sender: No OFD packet to send [09:49:33]OFD Sender: No OFD packet to send [09:49:38]OFD Sender: No OFD packet to send [09:49:43]OFD Sender: No OFD packet to send [09:49:48]OFD Sender: No OFD packet to send [09:49:53]OFD Sender: No OFD packet to send [09:49:58]OFD Sender: No OFD packet to send [09:50:03]OFD Sender: No OFD packet to send [09:50:08]OFD Sender: No OFD packet to send [09:50:13]OFD Sender: No OFD packet to send [09:50:18]OFD Sender: No OFD packet to send [09:50:23]OFD Sender: No OFD packet to send [09:50:28]OFD Sender: No OFD packet to send [09:50:33]OFD Sender: No OFD packet to send [09:50:38]OFD Sender: No OFD packet to send [09:50:43]OFD Sender: No OFD packet to send [09:50:48]OFD Sender: No OFD packet to send [09:50:53]OFD Sender: No OFD packet to send [09:50:58]OFD Sender: No OFD packet to send [09:51:03]OFD Sender: No OFD packet to send [09:51:08]OFD Sender: No OFD packet to send [09:51:13]OFD Sender: No OFD packet to send [09:51:18]OFD Sender: No OFD packet to send [09:51:23]OFD Sender: No OFD packet to send [09:51:28]OFD Sender: No OFD packet to send [09:51:33]OFD Sender: No OFD packet to send [09:51:38]OFD Sender: No OFD packet to send [09:51:43]OFD Sender: No OFD packet to send [09:51:48]OFD Sender: No OFD packet to send [09:51:53]OFD Sender: No OFD packet to send [09:51:58]OFD Sender: No OFD packet to send [09:52:03]OFD Sender: No OFD packet to send [09:52:08]OFD Sender: No OFD packet to send [09:52:13]OFD Sender: No OFD packet to send [09:52:18]OFD Sender: No OFD packet to send [09:52:23]OFD Sender: No OFD packet to send [09:52:28]OFD Sender: No OFD packet to send [09:52:33]OFD Sender: No OFD packet to send [09:52:38]OFD Sender: No OFD packet to send [09:52:43]OFD Sender: No OFD packet to send [09:52:48]OFD Sender: No OFD packet to send [09:52:53]OFD Sender: No OFD packet to send [09:52:58]OFD Sender: No OFD packet to send [09:53:03]OFD Sender: No OFD packet to send [09:53:08]OFD Sender: No OFD packet to send [09:53:13]OFD Sender: No OFD packet to send [09:53:18]OFD Sender: No OFD packet to send [09:53:23]OFD Sender: No OFD packet to send [09:53:28]OFD Sender: No OFD packet to send [09:53:33]OFD Sender: No OFD packet to send [09:53:38]OFD Sender: No OFD packet to send [09:53:43]OFD Sender: No OFD packet to send [09:53:48]OFD Sender: No OFD packet to send [09:53:53]OFD Sender: No OFD packet to send [09:53:58]OFD Sender: No OFD packet to send [09:54:03]OFD Sender: No OFD packet to send [09:54:08]OFD Sender: No OFD packet to send [09:54:13]OFD Sender: No OFD packet to send [09:54:18]OFD Sender: No OFD packet to send [09:54:23]OFD Sender: No OFD packet to send [09:54:28]OFD Sender: No OFD packet to send [09:54:33]OFD Sender: No OFD packet to send [09:54:38]OFD Sender: No OFD packet to send [09:54:43]OFD Sender: No OFD packet to send [09:54:48]OFD Sender: No OFD packet to send [09:54:53]OFD Sender: No OFD packet to send [09:54:58]OFD Sender: No OFD packet to send [09:55:03]OFD Sender: No OFD packet to send [09:55:08]OFD Sender: No OFD packet to send [09:55:13]OFD Sender: No OFD packet to send [09:55:18]OFD Sender: No OFD packet to send [09:55:23]OFD Sender: No OFD packet to send [09:55:28]OFD Sender: No OFD packet to send [09:55:33]OFD Sender: No OFD packet to send [09:55:38]OFD Sender: No OFD packet to send [09:55:43]OFD Sender: No OFD packet to send [09:55:48]OFD Sender: No OFD packet to send [09:55:53]OFD Sender: No OFD packet to send [09:55:58]OFD Sender: No OFD packet to send [09:56:03]OFD Sender: No OFD packet to send [09:56:08]OFD Sender: No OFD packet to send [09:56:13]OFD Sender: No OFD packet to send [09:56:18]OFD Sender: No OFD packet to send [09:56:23]OFD Sender: No OFD packet to send [09:56:28]OFD Sender: No OFD packet to send [09:56:33]OFD Sender: No OFD packet to send [09:56:38]OFD Sender: No OFD packet to send [09:56:43]OFD Sender: No OFD packet to send [09:56:48]OFD Sender: No OFD packet to send [09:56:53]OFD Sender: No OFD packet to send [09:56:58]OFD Sender: No OFD packet to send [09:57:03]OFD Sender: No OFD packet to send [09:57:08]OFD Sender: No OFD packet to send [09:57:13]OFD Sender: No OFD packet to send [09:57:18]OFD Sender: No OFD packet to send [09:57:24]OFD Sender: No OFD packet to send [09:57:29]OFD Sender: No OFD packet to send [09:57:34]OFD Sender: No OFD packet to send [09:57:39]OFD Sender: No OFD packet to send [09:57:44]OFD Sender: No OFD packet to send [09:57:49]OFD Sender: No OFD packet to send [09:57:54]OFD Sender: No OFD packet to send [09:57:59]OFD Sender: No OFD packet to send [09:58:04]OFD Sender: No OFD packet to send [09:58:09]OFD Sender: No OFD packet to send [09:58:14]OFD Sender: No OFD packet to send [09:58:19]OFD Sender: No OFD packet to send [09:58:24]OFD Sender: No OFD packet to send [09:58:29]OFD Sender: No OFD packet to send [09:58:34]OFD Sender: No OFD packet to send [09:58:39]OFD Sender: No OFD packet to send [09:58:44]OFD Sender: No OFD packet to send [09:58:49]OFD Sender: No OFD packet to send [09:58:54]OFD Sender: No OFD packet to send [09:58:59]OFD Sender: No OFD packet to send [09:59:04]OFD Sender: No OFD packet to send [09:59:09]OFD Sender: No OFD packet to send [09:59:14]OFD Sender: No OFD packet to send [09:59:19]OFD Sender: No OFD packet to send [09:59:21]accept exits with 9 [09:59:21]New connection [09:59:21]New thread 3067014500 created [09:59:21]Thread 3066871140 joined [09:59:21]Waiting for new connection... [09:59:21] Sock 9.Parse request [09:59:21]Sock 9.Check first char [09:59:21]Sock 9.First char is OK [09:59:21]request: POST /json_proto HTTP/1.0 [09:59:21]Method: POST [09:59:21]URL: /json_proto [09:59:21]Method is POST - this is cgi request [09:59:21]url: /json_proto [09:59:21]query_string will be loaded in cgi processing [09:59:21]execute_cgi json_proto POST (null) [09:59:21]execute_cgi path=json_proto method=POST [09:59:21]POST find Content-Length [09:59:21]Host: 172.17.35.3:8080 [09:59:21]Content-Length: 677 [09:59:21]Content-Type: application/json [09:59:21] [09:59:21]POST finish read [09:59:21]Found Content-Length = 677 [09:59:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359463", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 7.890, "sum" : 500.23, "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" ] } } [09:59:21]execute_script... [09:59: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 : (1)359463", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 7.890, "sum" : 500.23, "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" ] } } [09:59:21]POST & json_proto [09:59:21]process_json_proto [09:59:21]json parsed OK: [09:59:21]protocol is kg_v1.0 [09:59:21]action value=close_receipt [09:59:21]process_action close_receipt [09:59:21]cmd_close_receipt [09:59:21]MH_GetDate [09:59:21]Write to MH i2c: F0 00 00 51 1E 5E [09:59:21]Write i2c OK [09:59:21]MH_I2C_Read... [09:59:21]Read from MH i2c: F0 [09:59:21]MH_I2C_Read... [09:59:21]Read from MH i2c: F0 09 00 [09:59:21]MH_I2C_Read... [09:59:21]Read from MH i2c: F0 09 00 51 1E 00 81 6E 12 66 2B 11 66 64 D4 [09:59:21]GetLastDocTimeStamp 1712481557 [09:59:21]current date 1712483969 [09:59:21]FM_GetShiftState [09:59:21]SAM_PROTO_GetShiftState [09:59:21]wFMCommunicate request_size=4 [09:59:21]MH_SAM_APDU [09:59:21]CAPDU: 80 13 01 00 [09:59:21]Write to MH i2c: E2 08 00 52 1E 80 13 01 00 00 00 00 00 ED [09:59:21]Write i2c OK [09:59:21]MH_I2C_Read... [09:59:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:59:21]Read from MH i2c: E2 [09:59:21]MH_I2C_Read... [09:59:21]Read from MH i2c: E2 0E 00 [09:59:21]MH_I2C_Read... [09:59:21]Read from MH i2c: E2 0E 00 52 1E 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 81 [09:59:21]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [09:59:21]wFMCommunicate OK [09:59:21]SAM_PROTO_GetShiftState done [09:59:21]FM_GetShiftState done [09:59:21]opened in 1712450087 [09:59:21]opened+sec_in_day 1712536487 [09:59:21]quantity*price = 50022 [09:59:21]sum+1 = 50024 [09:59:21]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.23 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.12 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 19 07.04.2024 09:59 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26720 ФПД: 73098334850484 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T095929&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26720&fm=73098334850484&tin=02508201610067®Number=0000000000091578&sum=50000 [09:59:22]StoreToDocumentArchive [09:59:22]shift 313 fd 26720 [09:59:22]save to /storage/0313/doc_00026720 [09:59:22]save last doc name /storage/0313/doc_00026720 to /storage/kkm_last_doc_name [09:59:22]save OK [09:59:22]Clear old archive folders... [09:59:22]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:59:22]tlvbuf is B6ED03B0 [09:59:22]SAM_PROTO_ClearQueue [09:59:22]wFMCommunicate request_size=4 [09:59:22]MH_SAM_APDU [09:59:22]CAPDU: 80 09 00 00 [09:59:22]Write to MH i2c: E2 08 00 5F 1E 80 09 00 00 00 00 00 00 EF [09:59:22]Write i2c OK [09:59:22]MH_I2C_Read... [09:59:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:59:22]Read from MH i2c: E2 [09:59:22]MH_I2C_Read... [09:59:22]Read from MH i2c: E2 03 00 [09:59:22]MH_I2C_Read... [09:59:22]Read from MH i2c: E2 03 00 5F 1E 00 90 00 F1 [09:59:22]RAPDU: 90 00 [09:59:22]wFMCommunicate OK [09:59:22]SAM_PROTO_ClearQueue done [09:59:22]KKMCreateOFDPacket [09:59:22]OFDProtocolAddRootSTLVToBuf [09:59:22]FM_MakeSignedData [09:59:22]FM_MakeSignedData [09:59:22]SAM_PROTO_SignData [09:59:22]wFMCommunicate request_size=4 [09:59:22]MH_SAM_APDU [09:59:22]CAPDU: 80 0D 01 02 [09:59:22]Write to MH i2c: E2 08 00 60 1E 80 0D 01 02 00 00 00 00 F7 [09:59:22]Write i2c OK [09:59:22]MH_I2C_Read... [09:59:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:59:22]Read from MH i2c: E2 [09:59:22]MH_I2C_Read... [09:59:22]Read from MH i2c: E2 03 00 [09:59:22]MH_I2C_Read... [09:59:22]Read from MH i2c: E2 03 00 60 1E 00 90 00 F2 [09:59:22]RAPDU: 90 00 [09:59:22]wFMCommunicate OK [09:59:22]wFMCommunicate request_size=255 [09:59:22]MH_SAM_APDU [09:59: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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 13 00 00 00 F4 03 04 00 81 6E 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 60 68 00 00 35 04 06 00 42 [09:59:22]Write to MH i2c: E2 02 01 61 1E 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 13 00 00 00 F4 03 04 00 81 6E 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 60 68 00 00 35 04 06 00 42 00 00 75 [09:59:22]Write i2c OK [09:59:22]MH_I2C_Read... [09:59:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:59:22]Read from MH i2c: E2 [09:59:22]MH_I2C_Read... [09:59:22]Read from MH i2c: E2 03 00 [09:59:22]MH_I2C_Read... [09:59:22]Read from MH i2c: E2 03 00 61 1E 00 90 00 F3 [09:59:22]RAPDU: 90 00 [09:59:22]wFMCommunicate OK [09:59:22]wFMCommunicate request_size=10 [09:59:22]MH_SAM_APDU [09:59:22]CAPDU: 80 0D 02 02 05 7B 88 48 4D B4 [09:59:22]Write to MH i2c: E2 0D 00 62 1E 80 0D 02 02 05 00 7B 88 48 4D B4 00 00 50 [09:59:22]Write i2c OK [09:59:22]MH_I2C_Read... [09:59:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:59:23]Read from MH i2c: E2 [09:59:23]MH_I2C_Read... [09:59:23]Read from MH i2c: E2 03 00 [09:59:23]MH_I2C_Read... [09:59:23]Read from MH i2c: E2 03 00 62 1E 00 90 00 F4 [09:59:23]RAPDU: 90 00 [09:59:23]wFMCommunicate OK [09:59:23]wFMCommunicate request_size=4 [09:59:23]MH_SAM_APDU [09:59:23]CAPDU: 80 0D 03 02 [09:59:23]Write to MH i2c: E2 08 00 63 1E 80 0D 03 02 00 00 00 00 FC [09:59:23]Write i2c OK [09:59:23]MH_I2C_Read... [09:59:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:59:23]Read from MH i2c: E2 [09:59:23]MH_I2C_Read... [09:59:23]Read from MH i2c: E2 0B 00 [09:59:23]MH_I2C_Read... [09:59:23]Read from MH i2c: E2 0B 00 63 1E 00 9F 57 64 73 4D C6 FD 25 90 00 FF [09:59:23]RAPDU: 9F 57 64 73 4D C6 FD 25 90 00 [09:59:23]wFMCommunicate OK [09:59:23]SAM_PROTO_SignData done [09:59:23]FM_MakeSignedData done [09:59:23]CreateOFDProtocolMessage [09:59:23]wFMCommunicate request_size=4 [09:59:23]MH_SAM_APDU [09:59:23]CAPDU: 80 11 00 00 [09:59:23]Write to MH i2c: E2 08 00 64 1E 80 11 00 00 00 00 00 00 FC [09:59:23]Write i2c OK [09:59:23]MH_I2C_Read... [09:59:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:59:23]Read from MH i2c: E2 [09:59:23]MH_I2C_Read... [09:59:23]Read from MH i2c: E2 17 00 [09:59:23]MH_I2C_Read... [09:59:23]Read from MH i2c: E2 17 00 64 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 54 [09:59:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [09:59:23]wFMCommunicate OK [09:59:23]CreateOFDProtocolMessage done [09:59:23]OFDSenderStorePacket 26720 [09:59:23]StoreOFDPacket docnum=26720 [09:59:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 EF 10 07 01 73 2E 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 13 00 00 00 F4 03 04 00 81 6E 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 60 68 00 00 35 04 06 00 42 7B 88 48 4D B4 9F 57 64 73 4D C6 FD 25 [09:59:23]CheckFolder [09:59:23]dirname=/storage/ofd_packets [09:59:23]CheckFolder done [09:59:23]ProducePacketName [09:59:23]name=ofd_packets/00026720 [09:59:23]NVStorageSaveData ofd_packets/00026720 [09:59:23]File name is /storage/ofd_packets/00026720 [09:59:23]Write 301 bytes [09:59:23]NVStorageSaveData done [09:59:23]OFDSenderStorePacket done [09:59:23]KKMCreateOFDPacket done [09:59:23]NVStorageSaveData kkm_last_timestamp [09:59:23]File name is /storage/kkm_last_timestamp [09:59:23]Write 4 bytes [09:59:23]NVStorageSaveData done [09:59:23]ExternCall_PrintAddStr [09:59:23]wPrintStart [09:59:23]Write to MH i2c: 01 00 00 65 1E 83 [09:59:23]Write i2c OK [09:59:23]MH_I2C_Read... [09:59:23]Read from MH i2c: 01 [09:59:23]MH_I2C_Read... [09:59:23]Read from MH i2c: 01 07 00 [09:59:23]MH_I2C_Read... [09:59:23]Read from MH i2c: 01 07 00 65 1E 00 00 00 00 00 FF 0F 98 [09:59:23]RasterBufferAndPrint [09:59:23]line Счет N : (1)359463 [09:59:23]line ИНН: 02508201610067 [09:59:23]line Контрольно-Кассовый Чек [09:59:23]line ПРОДАЖА [09:59:23]line ТРК (МРК, ГНК) : 61 [09:59:23]line Товар: 2710124130 [09:59:23]line Аи-92-К-5 [09:59:23]line 7.890 * 63.40 [09:59:23]line = 500.23 [09:59:23]line НДС 12% НСП 1% [09:59:23]line > о реализуемом товаре [09:59:23]line ОКРУГЛЕНИЕ: -0.23 [09:59:23]line ИТОГО: 500.00 [09:59:23]line Внесено: 500.00 [09:59:23]line СДАЧА: 0.00 [09:59:23]line НСП 1% : 4.43 [09:59:23]line НДС 12% : 53.12 [09:59:23]line Наличными: 500.00 [09:59:23]line Безнал.: 0.00 [09:59:23]line Место: АЗС № 122 "Партнер Нефть" [09:59:23]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [09:59:23]line СНО: Общий режим [09:59:23]line Чек 19 07.04.2024 09:59 [09:59:23]line Смена: 313 ФФД: 1.0 [09:59:23]line ЗНМ: 0300000147 [09:59:23]line РНМ: 0000000000091578 [09:59:23]line Версия ККМ: 001 [09:59:23]line ФМ: 0000000000874657 [09:59:23]line ФД: 26720 [09:59:23]line ФПД: 73098334850484 [09:59:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T095929&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26720&fm=73098334850484&tin=02508201610067®Number=0000000000091578&sum=50000 [09:59:23]OFD Sender: Processing packet 26720 [packets to send 44, broken 43] [09:59:23]ProducePacketName [09:59:23]name=ofd_packets/00026720 [09:59:23]OFD Sender: To server: pG, [09:59:23]CommunicateWithHost lk.salyk.kg:30040 [09:59:23]ConnectInit lk.salyk.kg [09:59:23]written 0, free lines is 4095 [09:59:23]Connected sock=10 [09:59: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 36 35 37 0F 01 00 00 EF 10 07 01 73 2E 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 13 00 00 00 F4 03 04 00 81 6E 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 60 68 00 00 35 04 06 00 42 7B 88 48 4D B4 9F 57 64 73 4D C6 FD 25 [09:59:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 EA E6 47 00 4B 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 36 35 37 10 04 04 00 60 68 00 00 F4 03 04 00 EF 15 12 66 B6 04 01 00 00 2C 3D C0 02 42 2C 1C B0 [09:59:23]CommunicateWithHost err = 0 [09:59:23]CheckOFDResponse [09:59:23]1017 (14) - 77093643461234 [09:59:23]1041 (16) - 0000000000874657 [09:59:23]1040 (4) - 26720 [09:59:23]1012 (4) - 07.04.2024 03:41 [09:59:23]1206 (1) - 0 [09:59:23]OFD Sender: Remove packet 26720 [09:59:23]ProducePacketName [09:59:23]name=ofd_packets/00026720 [09:59:23]NVStorageDeleteData [09:59:23]Write to MH i2c: 01 00 00 90 1E AE [09:59:23]Write i2c OK [09:59:23]MH_I2C_Read... [09:59:23]Read from MH i2c: 01 [09:59:23]MH_I2C_Read... [09:59:23]Read from MH i2c: 01 07 00 [09:59:23]MH_I2C_Read... [09:59:23]Read from MH i2c: 01 07 00 90 1E 00 00 00 00 00 72 0C 33 [09:59:23]RasterBufferAndPrint [09:59:23]line [09:59:23]line [09:59:23]line [09:59:23]line [09:59:23]line [09:59:23]written 0, free lines is 3188 [09:59:23]MH_Cut [09:59:23]Write to MH i2c: D1 01 00 97 1E 01 87 [09:59:23]Write i2c OK [09:59:23]MH_I2C_Read... [09:59:23]Read from MH i2c: D1 [09:59:23]MH_I2C_Read... [09:59:23]Read from MH i2c: D1 01 00 [09:59:23]MH_I2C_Read... [09:59:23]Read from MH i2c: D1 01 00 97 1E 00 86 [09:59:23]Write to MH i2c: 01 00 00 98 1E B6 [09:59:23]Write i2c OK [09:59:23]MH_I2C_Read... [09:59:24]OFD Sender: No OFD packet to send [09:59:25]*** Cut start [09:59:25]*** Partial cut [09:59:25]*** CUTSNS_PIN = 1 [09:59:25]*** CUTSNS_PIN = 0 [09:59:25]*** Brake cut motor [09:59:25]Read from MH i2c: 01 [09:59:25]MH_I2C_Read... [09:59:25]*** Stop cut motor [09:59:25]*** Cut end [09:59:25]Read from MH i2c: 01 07 00 [09:59:25]MH_I2C_Read... [09:59:25]Read from MH i2c: 01 07 00 98 1E 00 00 00 00 00 FF 0F CB [09:59:25]process_action close_receipt done [09:59:25]requested_data is exist [09:59:25]produce_requested_data [09:59:25]requested_item fm.sn is exist - process it [09:59:25]wFMCommunicate request_size=4 [09:59:25]MH_SAM_APDU [09:59:25]CAPDU: 80 11 00 00 [09:59:25]Write to MH i2c: E2 08 00 99 1E 80 11 00 00 00 00 00 00 31 [09:59:25]Write i2c OK [09:59:25]MH_I2C_Read... [09:59:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:59:25]Read from MH i2c: E2 [09:59:25]MH_I2C_Read... [09:59:25]Read from MH i2c: E2 17 00 [09:59:25]MH_I2C_Read... [09:59:25]Read from MH i2c: E2 17 00 99 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 89 [09:59:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [09:59:25]wFMCommunicate OK [09:59:25]requested_item fd.num is exist - process it [09:59:25]SAM_PROTO_GetFieldsCounters [09:59:25]wFMCommunicate request_size=4 [09:59:25]MH_SAM_APDU [09:59:25]CAPDU: 80 13 00 00 [09:59:25]Write to MH i2c: E2 08 00 9A 1E 80 13 00 00 00 00 00 00 34 [09:59:25]Write i2c OK [09:59:25]MH_I2C_Read... [09:59:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:59:25]Read from MH i2c: E2 [09:59:25]MH_I2C_Read... [09:59:25]Read from MH i2c: E2 62 00 [09:59:25]MH_I2C_Read... [09:59:25]Read from MH i2c: E2 62 00 9A 1E 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 60 68 00 00 0E 04 04 00 39 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 9A [09:59: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 60 68 00 00 0E 04 04 00 39 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 [09:59:25]wFMCommunicate OK [09:59:25]SAM_PROTO_GetFieldsCounters done [09:59:25]requested_item shift.num is exist - process it [09:59:25]requested_item shift.opened is exist - process it [09:59:25]req_shift_opened [09:59:25]FM_GetShiftState [09:59:25]SAM_PROTO_GetShiftState [09:59:25]wFMCommunicate request_size=4 [09:59:25]MH_SAM_APDU [09:59:25]CAPDU: 80 13 01 00 [09:59:25]Write to MH i2c: E2 08 00 9B 1E 80 13 01 00 00 00 00 00 36 [09:59:25]Write i2c OK [09:59:25]MH_I2C_Read... [09:59:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:59:25]Read from MH i2c: E2 [09:59:25]MH_I2C_Read... [09:59:25]Read from MH i2c: E2 0E 00 [09:59:25]MH_I2C_Read... [09:59:25]Read from MH i2c: E2 0E 00 9B 1E 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 CA [09:59:25]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [09:59:25]wFMCommunicate OK [09:59:25]SAM_PROTO_GetShiftState done [09:59:25]FM_GetShiftState done [09:59:25]req_shift_opened done [09:59:25]requested_item shift.open_date is exist - process it [09:59:25]req_shift_open_date [09:59:25]req_shift_open_date done [09:59:25]produce_requested_data done [09:59:25]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26720,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [09:59:25]process_action_free close_receipt [09:59:25]json_value_free [09:59:25]json_value_free done [09:59:25]process_json_proto returns [09:59:25]Send response to host [09:59:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26720,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [09:59:25]free response buf [09:59:25]execute_script done [09:59:25]execute_script returns [09:59:25]free content buf [09:59:25]Sock 9.Close socket [09:59:25]Sock 9.Thread stoped [09:59:29]OFD Sender: No OFD packet to send [09:59:34]OFD Sender: No OFD packet to send [09:59:39]OFD Sender: No OFD packet to send [09:59:44]OFD Sender: No OFD packet to send [09:59:49]OFD Sender: No OFD packet to send [09:59:54]OFD Sender: No OFD packet to send [09:59:59]OFD Sender: No OFD packet to send [10:00:04]OFD Sender: No OFD packet to send [10:00:09]OFD Sender: No OFD packet to send [10:00:14]OFD Sender: No OFD packet to send [10:00:19]OFD Sender: No OFD packet to send [10:00:24]OFD Sender: No OFD packet to send [10:00:29]OFD Sender: No OFD packet to send [10:00:34]OFD Sender: No OFD packet to send [10:00:39]OFD Sender: No OFD packet to send [10:00:44]OFD Sender: No OFD packet to send [10:00:49]OFD Sender: No OFD packet to send [10:00:54]OFD Sender: No OFD packet to send [10:00:59]OFD Sender: No OFD packet to send [10:01:04]OFD Sender: No OFD packet to send [10:01:09]OFD Sender: No OFD packet to send [10:01:14]OFD Sender: No OFD packet to send [10:01:19]OFD Sender: No OFD packet to send [10:01:24]OFD Sender: No OFD packet to send [10:01:29]OFD Sender: No OFD packet to send [10:01:34]OFD Sender: No OFD packet to send [10:01:39]OFD Sender: No OFD packet to send [10:01:44]OFD Sender: No OFD packet to send [10:01:49]OFD Sender: No OFD packet to send [10:01:54]OFD Sender: No OFD packet to send [10:01:59]OFD Sender: No OFD packet to send [10:02:04]OFD Sender: No OFD packet to send [10:02:09]OFD Sender: No OFD packet to send [10:02:14]OFD Sender: No OFD packet to send [10:02:19]OFD Sender: No OFD packet to send [10:02:24]OFD Sender: No OFD packet to send [10:02:29]OFD Sender: No OFD packet to send [10:02:34]OFD Sender: No OFD packet to send [10:02:39]OFD Sender: No OFD packet to send [10:02:44]OFD Sender: No OFD packet to send [10:02:49]OFD Sender: No OFD packet to send [10:02:54]OFD Sender: No OFD packet to send [10:02:59]OFD Sender: No OFD packet to send [10:03:04]OFD Sender: No OFD packet to send [10:03:09]OFD Sender: No OFD packet to send [10:03:14]OFD Sender: No OFD packet to send [10:03:19]OFD Sender: No OFD packet to send [10:03:24]OFD Sender: No OFD packet to send [10:03:29]OFD Sender: No OFD packet to send [10:03:34]OFD Sender: No OFD packet to send [10:03:39]OFD Sender: No OFD packet to send [10:03:44]OFD Sender: No OFD packet to send [10:03:49]OFD Sender: No OFD packet to send [10:03:54]OFD Sender: No OFD packet to send [10:03:59]OFD Sender: No OFD packet to send [10:04:04]OFD Sender: No OFD packet to send [10:04:09]OFD Sender: No OFD packet to send [10:04:14]OFD Sender: No OFD packet to send [10:04:19]OFD Sender: No OFD packet to send [10:04:24]OFD Sender: No OFD packet to send [10:04:29]OFD Sender: No OFD packet to send [10:04:34]OFD Sender: No OFD packet to send [10:04:39]OFD Sender: No OFD packet to send [10:04:44]OFD Sender: No OFD packet to send [10:04:47]accept exits with 8 [10:04:47]New connection [10:04:47]New thread 3066871140 created [10:04:47]Thread 3067014500 joined [10:04:47]Waiting for new connection... [10:04:47] Sock 8.Parse request [10:04:47]Sock 8.Check first char [10:04:47]Sock 8.First char is OK [10:04:47]request: POST /json_proto HTTP/1.0 [10:04:47]Method: POST [10:04:47]URL: /json_proto [10:04:47]Method is POST - this is cgi request [10:04:47]url: /json_proto [10:04:47]query_string will be loaded in cgi processing [10:04:47]execute_cgi json_proto POST (null) [10:04:47]execute_cgi path=json_proto method=POST [10:04:47]POST find Content-Length [10:04:47]Host: 172.17.35.3:8080 [10:04:47]Content-Length: 682 [10:04:47]Content-Type: application/json [10:04:47] [10:04:47]POST finish read [10:04:47]Found Content-Length = 682 [10:04:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359464", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "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" ] } } [10:04:47]execute_script... [10:04: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 : (1)359464", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "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" ] } } [10:04:47]POST & json_proto [10:04:47]process_json_proto [10:04:47]json parsed OK: [10:04:47]protocol is kg_v1.0 [10:04:47]action value=close_receipt [10:04:47]process_action close_receipt [10:04:47]cmd_close_receipt [10:04:47]MH_GetDate [10:04:47]Write to MH i2c: F0 00 00 9C 1E A9 [10:04:47]Write i2c OK [10:04:47]MH_I2C_Read... [10:04:47]Read from MH i2c: F0 [10:04:47]MH_I2C_Read... [10:04:47]Read from MH i2c: F0 09 00 [10:04:47]MH_I2C_Read... [10:04:47]Read from MH i2c: F0 09 00 9C 1E 00 C7 6F 12 66 2B 11 66 64 66 [10:04:47]GetLastDocTimeStamp 1712483969 [10:04:47]current date 1712484295 [10:04:47]FM_GetShiftState [10:04:47]SAM_PROTO_GetShiftState [10:04:47]wFMCommunicate request_size=4 [10:04:47]MH_SAM_APDU [10:04:47]CAPDU: 80 13 01 00 [10:04:47]Write to MH i2c: E2 08 00 9D 1E 80 13 01 00 00 00 00 00 38 [10:04:47]Write i2c OK [10:04:47]MH_I2C_Read... [10:04:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:04:47]Read from MH i2c: E2 [10:04:47]MH_I2C_Read... [10:04:47]Read from MH i2c: E2 0E 00 [10:04:47]MH_I2C_Read... [10:04:47]Read from MH i2c: E2 0E 00 9D 1E 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 CC [10:04:47]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [10:04:47]wFMCommunicate OK [10:04:47]SAM_PROTO_GetShiftState done [10:04:47]FM_GetShiftState done [10:04:47]opened in 1712450087 [10:04:47]opened+sec_in_day 1712536487 [10:04:47]quantity*price = 100045 [10:04:47]sum+1 = 100046 [10:04:47]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.45 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.24 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 20 07.04.2024 10:04 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26721 ФПД: 230105341848374 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T100455&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26721&fm=230105341848374&tin=02508201610067®Number=0000000000091578&sum=100000 [10:04:48]StoreToDocumentArchive [10:04:48]shift 313 fd 26721 [10:04:48]save to /storage/0313/doc_00026721 [10:04:48]save last doc name /storage/0313/doc_00026721 to /storage/kkm_last_doc_name [10:04:48]save OK [10:04:48]Clear old archive folders... [10:04:48]ProcessDocumentItem done err = 0, tmpTLVsize=251 [10:04:48]tlvbuf is B6ED0BE0 [10:04:48]SAM_PROTO_ClearQueue [10:04:48]wFMCommunicate request_size=4 [10:04:48]MH_SAM_APDU [10:04:48]CAPDU: 80 09 00 00 [10:04:48]Write to MH i2c: E2 08 00 AA 1E 80 09 00 00 00 00 00 00 3A [10:04:48]Write i2c OK [10:04:48]MH_I2C_Read... [10:04:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:04:48]Read from MH i2c: E2 [10:04:48]MH_I2C_Read... [10:04:48]Read from MH i2c: E2 03 00 [10:04:48]MH_I2C_Read... [10:04:48]Read from MH i2c: E2 03 00 AA 1E 00 90 00 3C [10:04:48]RAPDU: 90 00 [10:04:48]wFMCommunicate OK [10:04:48]SAM_PROTO_ClearQueue done [10:04:48]KKMCreateOFDPacket [10:04:48]OFDProtocolAddRootSTLVToBuf [10:04:48]FM_MakeSignedData [10:04:48]FM_MakeSignedData [10:04:48]SAM_PROTO_SignData [10:04:48]wFMCommunicate request_size=4 [10:04:48]MH_SAM_APDU [10:04:48]CAPDU: 80 0D 01 02 [10:04:48]Write to MH i2c: E2 08 00 AB 1E 80 0D 01 02 00 00 00 00 42 [10:04:48]Write i2c OK [10:04:48]MH_I2C_Read... [10:04:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:04:48]Read from MH i2c: E2 [10:04:48]MH_I2C_Read... [10:04:48]Read from MH i2c: E2 03 00 [10:04:48]MH_I2C_Read... [10:04:48]Read from MH i2c: E2 03 00 AB 1E 00 90 00 3D [10:04:48]RAPDU: 90 00 [10:04:48]wFMCommunicate OK [10:04:48]wFMCommunicate request_size=255 [10:04:48]MH_SAM_APDU [10:04:48]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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 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 14 00 00 00 F4 03 04 00 C7 6F 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 61 68 00 00 35 04 06 00 D1 [10:04:48]Write to MH i2c: E2 02 01 AC 1E 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 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 14 00 00 00 F4 03 04 00 C7 6F 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 61 68 00 00 35 04 06 00 D1 00 00 6C [10:04:48]Write i2c OK [10:04:48]MH_I2C_Read... [10:04:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:04:48]Read from MH i2c: E2 [10:04:48]MH_I2C_Read... [10:04:48]Read from MH i2c: E2 03 00 [10:04:48]MH_I2C_Read... [10:04:48]Read from MH i2c: E2 03 00 AC 1E 00 90 00 3E [10:04:48]RAPDU: 90 00 [10:04:48]wFMCommunicate OK [10:04:48]wFMCommunicate request_size=10 [10:04:48]MH_SAM_APDU [10:04:48]CAPDU: 80 0D 02 02 05 47 93 29 6B 36 [10:04:48]Write to MH i2c: E2 0D 00 AD 1E 80 0D 02 02 05 00 47 93 29 6B 36 00 00 F3 [10:04:48]Write i2c OK [10:04:48]MH_I2C_Read... [10:04:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:04:48]Read from MH i2c: E2 [10:04:48]MH_I2C_Read... [10:04:48]Read from MH i2c: E2 03 00 [10:04:48]MH_I2C_Read... [10:04:48]Read from MH i2c: E2 03 00 AD 1E 00 90 00 3F [10:04:48]RAPDU: 90 00 [10:04:48]wFMCommunicate OK [10:04:48]wFMCommunicate request_size=4 [10:04:48]MH_SAM_APDU [10:04:48]CAPDU: 80 0D 03 02 [10:04:48]Write to MH i2c: E2 08 00 AE 1E 80 0D 03 02 00 00 00 00 47 [10:04:48]Write i2c OK [10:04:48]MH_I2C_Read... [10:04:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:04:48]Read from MH i2c: E2 [10:04:48]MH_I2C_Read... [10:04:48]Read from MH i2c: E2 0B 00 [10:04:48]MH_I2C_Read... [10:04:48]Read from MH i2c: E2 0B 00 AE 1E 00 8C 03 75 40 71 6C CC 15 90 00 4A [10:04:48]RAPDU: 8C 03 75 40 71 6C CC 15 90 00 [10:04:48]wFMCommunicate OK [10:04:48]SAM_PROTO_SignData done [10:04:48]FM_MakeSignedData done [10:04:48]CreateOFDProtocolMessage [10:04:48]wFMCommunicate request_size=4 [10:04:48]MH_SAM_APDU [10:04:48]CAPDU: 80 11 00 00 [10:04:48]Write to MH i2c: E2 08 00 AF 1E 80 11 00 00 00 00 00 00 47 [10:04:48]Write i2c OK [10:04:48]MH_I2C_Read... [10:04:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:04:48]Read from MH i2c: E2 [10:04:48]MH_I2C_Read... [10:04:48]Read from MH i2c: E2 17 00 [10:04:48]MH_I2C_Read... [10:04:48]Read from MH i2c: E2 17 00 AF 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 9F [10:04:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [10:04:48]wFMCommunicate OK [10:04:48]CreateOFDProtocolMessage done [10:04:48]OFDSenderStorePacket 26721 [10:04:48]StoreOFDPacket docnum=26721 [10:04:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 2E F3 07 01 9C 17 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 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 14 00 00 00 F4 03 04 00 C7 6F 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 61 68 00 00 35 04 06 00 D1 47 93 29 6B 36 8C 03 75 40 71 6C CC 15 [10:04:48]CheckFolder [10:04:48]dirname=/storage/ofd_packets [10:04:48]CheckFolder done [10:04:48]ProducePacketName [10:04:48]name=ofd_packets/00026721 [10:04:48]NVStorageSaveData ofd_packets/00026721 [10:04:48]File name is /storage/ofd_packets/00026721 [10:04:48]Write 301 bytes [10:04:48]NVStorageSaveData done [10:04:48]OFDSenderStorePacket done [10:04:48]KKMCreateOFDPacket done [10:04:48]NVStorageSaveData kkm_last_timestamp [10:04:48]File name is /storage/kkm_last_timestamp [10:04:48]Write 4 bytes [10:04:48]NVStorageSaveData done [10:04:48]ExternCall_PrintAddStr [10:04:48]wPrintStart [10:04:48]Write to MH i2c: 01 00 00 B0 1E CE [10:04:48]Write i2c OK [10:04:48]MH_I2C_Read... [10:04:48]Read from MH i2c: 01 [10:04:48]MH_I2C_Read... [10:04:48]Read from MH i2c: 01 07 00 [10:04:48]MH_I2C_Read... [10:04:48]Read from MH i2c: 01 07 00 B0 1E 00 00 00 00 00 FF 0F E3 [10:04:48]RasterBufferAndPrint [10:04:48]line Счет N : (1)359464 [10:04:48]line ИНН: 02508201610067 [10:04:48]line Контрольно-Кассовый Чек [10:04:48]line ПРОДАЖА [10:04:48]line ТРК (МРК, ГНК) : 51 [10:04:48]line Товар: 2710124130 [10:04:48]line Аи-92-К-5 [10:04:48]line 15.780 * 63.40 [10:04:48]line = 1000.45 [10:04:48]line НДС 12% НСП 1% [10:04:48]line > о реализуемом товаре [10:04:48]line ОКРУГЛЕНИЕ: -0.45 [10:04:48]line ИТОГО: 1000.00 [10:04:48]line Внесено: 1000.00 [10:04:48]line СДАЧА: 0.00 [10:04:48]line НСП 1% : 8.85 [10:04:48]line НДС 12% : 106.24 [10:04:48]line Наличными: 1000.00 [10:04:48]line Безнал.: 0.00 [10:04:48]line Место: АЗС № 122 "Партнер Нефть" [10:04:48]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [10:04:48]line СНО: Общий режим [10:04:48]line Чек 20 07.04.2024 10:04 [10:04:48]line Смена: 313 ФФД: 1.0 [10:04:48]line ЗНМ: 0300000147 [10:04:48]line РНМ: 0000000000091578 [10:04:48]line Версия ККМ: 001 [10:04:48]line ФМ: 0000000000874657 [10:04:48]line ФД: 26721 [10:04:48]line ФПД: 230105341848374 [10:04:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T100455&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26721&fm=230105341848374&tin=02508201610067®Number=0000000000091578&sum=100000 [10:04:49]OFD Sender: Processing packet 26721 [packets to send 44, broken 43] [10:04:49]ProducePacketName [10:04:49]name=ofd_packets/00026721 [10:04:49]OFD Sender: To server: pG, [10:04:49]CommunicateWithHost lk.salyk.kg:30040 [10:04:49]ConnectInit lk.salyk.kg [10:04:49]written 0, free lines is 4095 [10:04:49]Connected sock=10 [10:04: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 36 35 37 0F 01 00 00 2E F3 07 01 9C 17 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 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 14 00 00 00 F4 03 04 00 C7 6F 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 61 68 00 00 35 04 06 00 D1 47 93 29 6B 36 8C 03 75 40 71 6C CC 15 [10:04:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 95 22 47 00 E8 EC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 37 10 04 04 00 61 68 00 00 F4 03 04 00 35 17 12 66 B6 04 01 00 00 32 B3 91 D9 A2 85 19 FC [10:04:49]CommunicateWithHost err = 0 [10:04:49]CheckOFDResponse [10:04:49]1017 (14) - 77093643461234 [10:04:49]1041 (16) - 0000000000874657 [10:04:49]1040 (4) - 26721 [10:04:49]1012 (4) - 07.04.2024 03:47 [10:04:49]1206 (1) - 0 [10:04:49]OFD Sender: Remove packet 26721 [10:04:49]ProducePacketName [10:04:49]name=ofd_packets/00026721 [10:04:49]NVStorageDeleteData [10:04:49]Write to MH i2c: 01 00 00 DB 1E F9 [10:04:49]Write i2c OK [10:04:49]MH_I2C_Read... [10:04:49]Read from MH i2c: 01 [10:04:49]MH_I2C_Read... [10:04:49]Read from MH i2c: 01 07 00 [10:04:49]MH_I2C_Read... [10:04:49]Read from MH i2c: 01 07 00 DB 1E 00 00 00 00 00 73 0C 7F [10:04:49]RasterBufferAndPrint [10:04:49]line [10:04:49]line [10:04:49]line [10:04:49]line [10:04:49]line [10:04:49]written 0, free lines is 3189 [10:04:49]MH_Cut [10:04:49]Write to MH i2c: D1 01 00 E2 1E 01 D2 [10:04:49]Write i2c OK [10:04:49]MH_I2C_Read... [10:04:49]Read from MH i2c: D1 [10:04:49]MH_I2C_Read... [10:04:49]Read from MH i2c: D1 01 00 [10:04:49]MH_I2C_Read... [10:04:49]Read from MH i2c: D1 01 00 E2 1E 00 D1 [10:04:49]Write to MH i2c: 01 00 00 E3 1E 01 [10:04:49]Write i2c OK [10:04:49]MH_I2C_Read... [10:04:49]OFD Sender: No OFD packet to send [10:04:50]*** Cut start [10:04:50]*** Partial cut [10:04:50]*** CUTSNS_PIN = 1 [10:04:50]*** CUTSNS_PIN = 0 [10:04:51]*** Brake cut motor [10:04:51]Read from MH i2c: 01 [10:04:51]MH_I2C_Read... [10:04:51]*** Stop cut motor [10:04:51]*** Cut end [10:04:51]Read from MH i2c: 01 07 00 [10:04:51]MH_I2C_Read... [10:04:51]Read from MH i2c: 01 07 00 E3 1E 00 00 00 00 00 FF 0F 16 [10:04:51]process_action close_receipt done [10:04:51]requested_data is exist [10:04:51]produce_requested_data [10:04:51]requested_item fm.sn is exist - process it [10:04:51]wFMCommunicate request_size=4 [10:04:51]MH_SAM_APDU [10:04:51]CAPDU: 80 11 00 00 [10:04:51]Write to MH i2c: E2 08 00 E4 1E 80 11 00 00 00 00 00 00 7C [10:04:51]Write i2c OK [10:04:51]MH_I2C_Read... [10:04:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:04:51]Read from MH i2c: E2 [10:04:51]MH_I2C_Read... [10:04:51]Read from MH i2c: E2 17 00 [10:04:51]MH_I2C_Read... [10:04:51]Read from MH i2c: E2 17 00 E4 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 D4 [10:04:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [10:04:51]wFMCommunicate OK [10:04:51]requested_item fd.num is exist - process it [10:04:51]SAM_PROTO_GetFieldsCounters [10:04:51]wFMCommunicate request_size=4 [10:04:51]MH_SAM_APDU [10:04:51]CAPDU: 80 13 00 00 [10:04:51]Write to MH i2c: E2 08 00 E5 1E 80 13 00 00 00 00 00 00 7F [10:04:51]Write i2c OK [10:04:51]MH_I2C_Read... [10:04:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:04:51]Read from MH i2c: E2 [10:04:51]MH_I2C_Read... [10:04:51]Read from MH i2c: E2 62 00 [10:04:51]MH_I2C_Read... [10:04:51]Read from MH i2c: E2 62 00 E5 1E 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 61 68 00 00 0E 04 04 00 39 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 E9 [10:04: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 61 68 00 00 0E 04 04 00 39 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 [10:04:51]wFMCommunicate OK [10:04:51]SAM_PROTO_GetFieldsCounters done [10:04:51]requested_item shift.num is exist - process it [10:04:51]requested_item shift.opened is exist - process it [10:04:51]req_shift_opened [10:04:51]FM_GetShiftState [10:04:51]SAM_PROTO_GetShiftState [10:04:51]wFMCommunicate request_size=4 [10:04:51]MH_SAM_APDU [10:04:51]CAPDU: 80 13 01 00 [10:04:51]Write to MH i2c: E2 08 00 E6 1E 80 13 01 00 00 00 00 00 81 [10:04:51]Write i2c OK [10:04:51]MH_I2C_Read... [10:04:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:04:51]Read from MH i2c: E2 [10:04:51]MH_I2C_Read... [10:04:51]Read from MH i2c: E2 0E 00 [10:04:51]MH_I2C_Read... [10:04:51]Read from MH i2c: E2 0E 00 E6 1E 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 15 [10:04:51]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [10:04:51]wFMCommunicate OK [10:04:51]SAM_PROTO_GetShiftState done [10:04:51]FM_GetShiftState done [10:04:51]req_shift_opened done [10:04:51]requested_item shift.open_date is exist - process it [10:04:51]req_shift_open_date [10:04:51]req_shift_open_date done [10:04:51]produce_requested_data done [10:04:51]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26721,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [10:04:51]process_action_free close_receipt [10:04:51]json_value_free [10:04:51]json_value_free done [10:04:51]process_json_proto returns [10:04:51]Send response to host [10:04:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26721,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [10:04:51]free response buf [10:04:51]execute_script done [10:04:51]execute_script returns [10:04:51]free content buf [10:04:51]Sock 8.Close socket [10:04:51]Sock 8.Thread stoped [10:04:54]OFD Sender: No OFD packet to send [10:04:59]OFD Sender: No OFD packet to send [10:05:04]OFD Sender: No OFD packet to send [10:05:09]OFD Sender: No OFD packet to send [10:05:14]OFD Sender: No OFD packet to send [10:05:19]OFD Sender: No OFD packet to send [10:05:24]OFD Sender: No OFD packet to send [10:05:29]OFD Sender: No OFD packet to send [10:05:34]OFD Sender: No OFD packet to send [10:05:39]OFD Sender: No OFD packet to send [10:05:44]OFD Sender: No OFD packet to send [10:05:49]OFD Sender: No OFD packet to send [10:05:54]OFD Sender: No OFD packet to send [10:05:59]OFD Sender: No OFD packet to send [10:06:04]OFD Sender: No OFD packet to send [10:06:09]OFD Sender: No OFD packet to send [10:06:14]OFD Sender: No OFD packet to send [10:06:20]OFD Sender: No OFD packet to send [10:06:25]OFD Sender: No OFD packet to send [10:06:30]OFD Sender: No OFD packet to send [10:06:35]OFD Sender: No OFD packet to send [10:06:40]OFD Sender: No OFD packet to send [10:06:45]OFD Sender: No OFD packet to send [10:06:50]OFD Sender: No OFD packet to send [10:06:55]OFD Sender: No OFD packet to send [10:07:00]OFD Sender: No OFD packet to send [10:07:05]OFD Sender: No OFD packet to send [10:07:10]OFD Sender: No OFD packet to send [10:07:15]OFD Sender: No OFD packet to send [10:07:20]OFD Sender: No OFD packet to send [10:07:25]OFD Sender: No OFD packet to send [10:07:30]OFD Sender: No OFD packet to send [10:07:35]OFD Sender: No OFD packet to send [10:07:40]OFD Sender: No OFD packet to send [10:07:45]OFD Sender: No OFD packet to send [10:07:50]OFD Sender: No OFD packet to send [10:07:55]OFD Sender: No OFD packet to send [10:08:00]OFD Sender: No OFD packet to send [10:08:05]OFD Sender: No OFD packet to send [10:08:10]OFD Sender: No OFD packet to send [10:08:15]OFD Sender: No OFD packet to send [10:08:20]OFD Sender: No OFD packet to send [10:08:25]OFD Sender: No OFD packet to send [10:08:30]OFD Sender: No OFD packet to send [10:08:35]OFD Sender: No OFD packet to send [10:08:40]OFD Sender: No OFD packet to send [10:08:45]OFD Sender: No OFD packet to send [10:08:50]OFD Sender: No OFD packet to send [10:08:55]OFD Sender: No OFD packet to send [10:09:00]OFD Sender: No OFD packet to send [10:09:05]OFD Sender: No OFD packet to send [10:09:10]OFD Sender: No OFD packet to send [10:09:15]OFD Sender: No OFD packet to send [10:09:20]OFD Sender: No OFD packet to send [10:09:25]OFD Sender: No OFD packet to send [10:09:30]OFD Sender: No OFD packet to send [10:09:35]OFD Sender: No OFD packet to send [10:09:40]OFD Sender: No OFD packet to send [10:09:45]OFD Sender: No OFD packet to send [10:09:50]OFD Sender: No OFD packet to send [10:09:55]OFD Sender: No OFD packet to send [10:10:00]OFD Sender: No OFD packet to send [10:10:05]OFD Sender: No OFD packet to send [10:10:10]OFD Sender: No OFD packet to send [10:10:15]OFD Sender: No OFD packet to send [10:10:20]OFD Sender: No OFD packet to send [10:10:25]OFD Sender: No OFD packet to send [10:10:30]OFD Sender: No OFD packet to send [10:10:35]OFD Sender: No OFD packet to send [10:10:40]OFD Sender: No OFD packet to send [10:10:45]OFD Sender: No OFD packet to send [10:10:50]OFD Sender: No OFD packet to send [10:10:55]OFD Sender: No OFD packet to send [10:11:00]OFD Sender: No OFD packet to send [10:11:05]OFD Sender: No OFD packet to send [10:11:10]OFD Sender: No OFD packet to send [10:11:15]OFD Sender: No OFD packet to send [10:11:20]OFD Sender: No OFD packet to send [10:11:25]OFD Sender: No OFD packet to send [10:11:30]OFD Sender: No OFD packet to send [10:11:35]OFD Sender: No OFD packet to send [10:11:40]OFD Sender: No OFD packet to send [10:11:45]OFD Sender: No OFD packet to send [10:11:50]OFD Sender: No OFD packet to send [10:11:55]OFD Sender: No OFD packet to send [10:12:00]OFD Sender: No OFD packet to send [10:12:05]OFD Sender: No OFD packet to send [10:12:10]OFD Sender: No OFD packet to send [10:12:15]OFD Sender: No OFD packet to send [10:12:20]OFD Sender: No OFD packet to send [10:12:25]OFD Sender: No OFD packet to send [10:12:30]OFD Sender: No OFD packet to send [10:12:35]OFD Sender: No OFD packet to send [10:12:40]OFD Sender: No OFD packet to send [10:12:45]OFD Sender: No OFD packet to send [10:12:50]OFD Sender: No OFD packet to send [10:12:55]OFD Sender: No OFD packet to send [10:13:00]OFD Sender: No OFD packet to send [10:13:05]OFD Sender: No OFD packet to send [10:13:10]OFD Sender: No OFD packet to send [10:13:15]OFD Sender: No OFD packet to send [10:13:20]OFD Sender: No OFD packet to send [10:13:25]OFD Sender: No OFD packet to send [10:13:30]OFD Sender: No OFD packet to send [10:13:35]OFD Sender: No OFD packet to send [10:13:40]OFD Sender: No OFD packet to send [10:13:45]OFD Sender: No OFD packet to send [10:13:50]OFD Sender: No OFD packet to send [10:13:55]OFD Sender: No OFD packet to send [10:14:00]OFD Sender: No OFD packet to send [10:14:05]OFD Sender: No OFD packet to send [10:14:10]OFD Sender: No OFD packet to send [10:14:15]OFD Sender: No OFD packet to send [10:14:20]OFD Sender: No OFD packet to send [10:14:25]OFD Sender: No OFD packet to send [10:14:30]OFD Sender: No OFD packet to send [10:14:35]OFD Sender: No OFD packet to send [10:14:40]OFD Sender: No OFD packet to send [10:14:45]OFD Sender: No OFD packet to send [10:14:50]OFD Sender: No OFD packet to send [10:14:55]OFD Sender: No OFD packet to send [10:15:00]OFD Sender: No OFD packet to send [10:15:05]OFD Sender: No OFD packet to send [10:15:09]accept exits with 9 [10:15:09]New connection [10:15:09]New thread 3067014500 created [10:15:09]Thread 3066871140 joined [10:15:09]Waiting for new connection... [10:15:09] Sock 9.Parse request [10:15:09]Sock 9.Check first char [10:15:09]Sock 9.First char is OK [10:15:09]request: POST /json_proto HTTP/1.0 [10:15:09]Method: POST [10:15:09]URL: /json_proto [10:15:09]Method is POST - this is cgi request [10:15:09]url: /json_proto [10:15:09]query_string will be loaded in cgi processing [10:15:09]execute_cgi json_proto POST (null) [10:15:09]execute_cgi path=json_proto method=POST [10:15:09]POST find Content-Length [10:15:09]Host: 172.17.35.3:8080 [10:15:09]Content-Length: 803 [10:15:09]Content-Type: application/json [10:15:09] [10:15:09]POST finish read [10:15:09]Found Content-Length = 803 [10:15:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359465", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 18.930, "sum" : 1200.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 1200.16 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:15:09]execute_script... [10:15:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359465", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 18.930, "sum" : 1200.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 1200.16 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:15:09]POST & json_proto [10:15:09]process_json_proto [10:15:09]json parsed OK: [10:15:09]protocol is kg_v1.0 [10:15:09]action value=close_receipt [10:15:09]process_action close_receipt [10:15:09]cmd_close_receipt [10:15:09]MH_GetDate [10:15:09]Write to MH i2c: F0 00 00 E7 1E F4 [10:15:09]Write i2c OK [10:15:09]MH_I2C_Read... [10:15:09]Read from MH i2c: F0 [10:15:09]MH_I2C_Read... [10:15:09]Read from MH i2c: F0 09 00 [10:15:09]MH_I2C_Read... [10:15:09]Read from MH i2c: F0 09 00 E7 1E 00 35 72 12 66 2B 11 66 64 22 [10:15:09]GetLastDocTimeStamp 1712484295 [10:15:09]current date 1712484917 [10:15:09]FM_GetShiftState [10:15:09]SAM_PROTO_GetShiftState [10:15:09]wFMCommunicate request_size=4 [10:15:09]MH_SAM_APDU [10:15:09]CAPDU: 80 13 01 00 [10:15:09]Write to MH i2c: E2 08 00 E8 1E 80 13 01 00 00 00 00 00 83 [10:15:09]Write i2c OK [10:15:09]MH_I2C_Read... [10:15:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:15:09]Read from MH i2c: E2 [10:15:09]MH_I2C_Read... [10:15:09]Read from MH i2c: E2 0E 00 [10:15:09]MH_I2C_Read... [10:15:09]Read from MH i2c: E2 0E 00 E8 1E 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 17 [10:15:09]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [10:15:09]wFMCommunicate OK [10:15:09]SAM_PROTO_GetShiftState done [10:15:09]FM_GetShiftState done [10:15:09]opened in 1712450087 [10:15:09]opened+sec_in_day 1712536487 [10:15:09]quantity*price = 120016 [10:15:09]sum+1 = 120017 [10:15:09]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1200.16 НСП 1% : 10.62 НДС 12% : 127.45 Наличными: 0.00 Безнал.: 1200.16 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 21 07.04.2024 10:15 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000874657 ФД: 26722 ФПД: 63492304529833 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T101518&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26722&fm=63492304529833&tin=02508201610067®Number=0000000000091578&sum=120016 [10:15:10]StoreToDocumentArchive [10:15:10]shift 313 fd 26722 [10:15:10]save to /storage/0313/doc_00026722 [10:15:10]save last doc name /storage/0313/doc_00026722 to /storage/kkm_last_doc_name [10:15:10]save OK [10:15:10]Clear old archive folders... [10:15:10]ProcessDocumentItem done err = 0, tmpTLVsize=251 [10:15:10]tlvbuf is B6ED0490 [10:15:10]SAM_PROTO_ClearQueue [10:15:10]wFMCommunicate request_size=4 [10:15:10]MH_SAM_APDU [10:15:10]CAPDU: 80 09 00 00 [10:15:10]Write to MH i2c: E2 08 00 F5 1E 80 09 00 00 00 00 00 00 85 [10:15:10]Write i2c OK [10:15:10]MH_I2C_Read... [10:15:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:15:10]Read from MH i2c: E2 [10:15:10]MH_I2C_Read... [10:15:10]Read from MH i2c: E2 03 00 [10:15:10]MH_I2C_Read... [10:15:10]Read from MH i2c: E2 03 00 F5 1E 00 90 00 87 [10:15:10]RAPDU: 90 00 [10:15:10]wFMCommunicate OK [10:15:10]SAM_PROTO_ClearQueue done [10:15:10]KKMCreateOFDPacket [10:15:10]OFDProtocolAddRootSTLVToBuf [10:15:10]FM_MakeSignedData [10:15:10]FM_MakeSignedData [10:15:10]SAM_PROTO_SignData [10:15:10]wFMCommunicate request_size=4 [10:15:10]MH_SAM_APDU [10:15:10]CAPDU: 80 0D 01 02 [10:15:10]Write to MH i2c: E2 08 00 F6 1E 80 0D 01 02 00 00 00 00 8D [10:15:10]Write i2c OK [10:15:10]MH_I2C_Read... [10:15:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:15:10]Read from MH i2c: E2 [10:15:10]MH_I2C_Read... [10:15:10]Read from MH i2c: E2 03 00 [10:15:10]MH_I2C_Read... [10:15:10]Read from MH i2c: E2 03 00 F6 1E 00 90 00 88 [10:15:10]RAPDU: 90 00 [10:15:10]wFMCommunicate OK [10:15:10]wFMCommunicate request_size=255 [10:15:10]MH_SAM_APDU [10:15:10]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 49 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 D0 D4 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 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 C9 31 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D0 D4 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 36 72 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 62 68 00 00 35 04 06 00 39 [10:15:10]Write to MH i2c: E2 02 01 F7 1E 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 49 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 D0 D4 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 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 C9 31 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D0 D4 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 36 72 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 62 68 00 00 35 04 06 00 39 00 00 3D [10:15:10]Write i2c OK [10:15:10]MH_I2C_Read... [10:15:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:15:10]Read from MH i2c: E2 [10:15:10]MH_I2C_Read... [10:15:10]Read from MH i2c: E2 03 00 [10:15:10]MH_I2C_Read... [10:15:10]Read from MH i2c: E2 03 00 F7 1E 00 90 00 89 [10:15:10]RAPDU: 90 00 [10:15:10]wFMCommunicate OK [10:15:10]wFMCommunicate request_size=10 [10:15:10]MH_SAM_APDU [10:15:10]CAPDU: 80 0D 02 02 05 BE F4 41 E9 A9 [10:15:10]Write to MH i2c: E2 0D 00 F8 1E 80 0D 02 02 05 00 BE F4 41 E9 A9 00 00 1F [10:15:10]Write i2c OK [10:15:10]MH_I2C_Read... [10:15:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:15:11]Read from MH i2c: E2 [10:15:11]MH_I2C_Read... [10:15:11]Read from MH i2c: E2 03 00 [10:15:11]MH_I2C_Read... [10:15:11]Read from MH i2c: E2 03 00 F8 1E 00 90 00 8A [10:15:11]RAPDU: 90 00 [10:15:11]wFMCommunicate OK [10:15:11]wFMCommunicate request_size=4 [10:15:11]MH_SAM_APDU [10:15:11]CAPDU: 80 0D 03 02 [10:15:11]Write to MH i2c: E2 08 00 F9 1E 80 0D 03 02 00 00 00 00 92 [10:15:11]Write i2c OK [10:15:11]MH_I2C_Read... [10:15:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:15:11]Read from MH i2c: E2 [10:15:11]MH_I2C_Read... [10:15:11]Read from MH i2c: E2 0B 00 [10:15:11]MH_I2C_Read... [10:15:11]Read from MH i2c: E2 0B 00 F9 1E 00 3B 2C 9B DB DD 1D 94 59 90 00 57 [10:15:11]RAPDU: 3B 2C 9B DB DD 1D 94 59 90 00 [10:15:11]wFMCommunicate OK [10:15:11]SAM_PROTO_SignData done [10:15:11]FM_MakeSignedData done [10:15:11]CreateOFDProtocolMessage [10:15:11]wFMCommunicate request_size=4 [10:15:11]MH_SAM_APDU [10:15:11]CAPDU: 80 11 00 00 [10:15:11]Write to MH i2c: E2 08 00 FA 1E 80 11 00 00 00 00 00 00 92 [10:15:11]Write i2c OK [10:15:11]MH_I2C_Read... [10:15:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:15:11]Read from MH i2c: E2 [10:15:11]MH_I2C_Read... [10:15:11]Read from MH i2c: E2 17 00 [10:15:11]MH_I2C_Read... [10:15:11]Read from MH i2c: E2 17 00 FA 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 EA [10:15:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [10:15:11]wFMCommunicate OK [10:15:11]CreateOFDProtocolMessage done [10:15:11]OFDSenderStorePacket 26722 [10:15:11]StoreOFDPacket docnum=26722 [10:15:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 57 C8 07 01 67 36 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 49 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 D0 D4 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 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 C9 31 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D0 D4 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 36 72 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 62 68 00 00 35 04 06 00 39 BE F4 41 E9 A9 3B 2C 9B DB DD 1D 94 59 [10:15:11]CheckFolder [10:15:11]dirname=/storage/ofd_packets [10:15:11]CheckFolder done [10:15:11]ProducePacketName [10:15:11]name=ofd_packets/00026722 [10:15:11]NVStorageSaveData ofd_packets/00026722 [10:15:11]File name is /storage/ofd_packets/00026722 [10:15:11]Write 301 bytes [10:15:11]NVStorageSaveData done [10:15:11]OFDSenderStorePacket done [10:15:11]KKMCreateOFDPacket done [10:15:11]NVStorageSaveData kkm_last_timestamp [10:15:11]File name is /storage/kkm_last_timestamp [10:15:11]Write 4 bytes [10:15:11]NVStorageSaveData done [10:15:11]ExternCall_PrintAddStr [10:15:11]wPrintStart [10:15:11]Write to MH i2c: 01 00 00 FB 1E 19 [10:15:11]Write i2c OK [10:15:11]MH_I2C_Read... [10:15:11]Read from MH i2c: 01 [10:15:11]MH_I2C_Read... [10:15:11]Read from MH i2c: 01 07 00 [10:15:11]MH_I2C_Read... [10:15:11]Read from MH i2c: 01 07 00 FB 1E 00 00 00 00 00 FF 0F 2E [10:15:11]RasterBufferAndPrint [10:15:11]line Счет N : (1)359465 [10:15:11]line ИНН: 02508201610067 [10:15:11]line Контрольно-Кассовый Чек [10:15:11]line ПРОДАЖА [10:15:11]line ТРК (МРК, ГНК) : 61 [10:15:11]line Товар: 2710124130 [10:15:11]line Аи-92-К-5 [10:15:11]line 18.930 * 63.40 [10:15:11]line = 1200.16 [10:15:11]line НДС 12% НСП 1% [10:15:11]line > о реализуемом товаре [10:15:11]line ИТОГО: 1200.16 [10:15:11]line НСП 1% : 10.62 [10:15:11]line НДС 12% : 127.45 [10:15:11]line Наличными: 0.00 [10:15:11]line Безнал.: 1200.16 [10:15:11]line Место: АЗС № 122 "Партнер Нефть" [10:15:11]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [10:15:11]line СНО: Общий режим [10:15:11]line Чек 21 07.04.2024 10:15 [10:15:11]line Смена: 313 ФФД: 1.0 [10:15:11]line ЗНМ: 0300000147 [10:15:11]line РНМ: 0000000000091578 [10:15:11]line Версия ККМ: 001 [10:15:11]line Платежная система: O! деньги [10:15:11]line ФМ: 0000000000874657 [10:15:11]line ФД: 26722 [10:15:11]line ФПД: 63492304529833 [10:15:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T101518&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26722&fm=63492304529833&tin=02508201610067®Number=0000000000091578&sum=120016 [10:15:11]OFD Sender: Processing packet 26722 [packets to send 44, broken 43] [10:15:11]ProducePacketName [10:15:11]name=ofd_packets/00026722 [10:15:11]OFD Sender: To server: pG, [10:15:11]CommunicateWithHost lk.salyk.kg:30040 [10:15:11]ConnectInit lk.salyk.kg [10:15:11]written 0, free lines is 4095 [10:15:11]Connected sock=8 [10:15:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 57 C8 07 01 67 36 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 49 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 D0 D4 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 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 C9 31 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D0 D4 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 36 72 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 62 68 00 00 35 04 06 00 39 BE F4 41 E9 A9 3B 2C 9B DB DD 1D 94 59 [10:15:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 A1 2C 47 00 C3 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 36 35 37 10 04 04 00 62 68 00 00 F4 03 04 00 A3 19 12 66 B6 04 01 00 00 DA B5 E2 2A EB F0 64 DA [10:15:11]CommunicateWithHost err = 0 [10:15:11]CheckOFDResponse [10:15:11]1017 (14) - 77093643461234 [10:15:11]1041 (16) - 0000000000874657 [10:15:11]1040 (4) - 26722 [10:15:11]1012 (4) - 07.04.2024 03:57 [10:15:11]1206 (1) - 0 [10:15:11]OFD Sender: Remove packet 26722 [10:15:11]ProducePacketName [10:15:11]name=ofd_packets/00026722 [10:15:11]NVStorageDeleteData [10:15:11]Write to MH i2c: 01 00 00 25 1F 44 [10:15:11]Write i2c OK [10:15:11]MH_I2C_Read... [10:15:11]Read from MH i2c: 01 [10:15:11]MH_I2C_Read... [10:15:11]Read from MH i2c: 01 07 00 [10:15:11]MH_I2C_Read... [10:15:11]Read from MH i2c: 01 07 00 25 1F 00 00 00 00 00 90 0C E7 [10:15:11]RasterBufferAndPrint [10:15:11]line [10:15:11]line [10:15:11]line [10:15:11]line [10:15:11]line [10:15:11]written 0, free lines is 3218 [10:15:11]MH_Cut [10:15:11]Write to MH i2c: D1 01 00 2C 1F 01 1D [10:15:11]Write i2c OK [10:15:11]MH_I2C_Read... [10:15:11]Read from MH i2c: D1 [10:15:11]MH_I2C_Read... [10:15:11]Read from MH i2c: D1 01 00 [10:15:11]MH_I2C_Read... [10:15:11]Read from MH i2c: D1 01 00 2C 1F 00 1C [10:15:11]Write to MH i2c: 01 00 00 2D 1F 4C [10:15:11]Write i2c OK [10:15:11]MH_I2C_Read... [10:15:12]OFD Sender: No OFD packet to send [10:15:13]*** Cut start [10:15:13]*** Partial cut [10:15:13]*** CUTSNS_PIN = 1 [10:15:13]*** CUTSNS_PIN = 0 [10:15:13]*** Brake cut motor [10:15:13]Read from MH i2c: 01 [10:15:13]MH_I2C_Read... [10:15:13]*** Stop cut motor [10:15:13]*** Cut end [10:15:13]Read from MH i2c: 01 07 00 [10:15:13]MH_I2C_Read... [10:15:13]Read from MH i2c: 01 07 00 2D 1F 00 00 00 00 00 FF 0F 61 [10:15:13]process_action close_receipt done [10:15:13]requested_data is exist [10:15:13]produce_requested_data [10:15:13]requested_item fm.sn is exist - process it [10:15:13]wFMCommunicate request_size=4 [10:15:13]MH_SAM_APDU [10:15:13]CAPDU: 80 11 00 00 [10:15:13]Write to MH i2c: E2 08 00 2E 1F 80 11 00 00 00 00 00 00 C7 [10:15:13]Write i2c OK [10:15:13]MH_I2C_Read... [10:15:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:15:13]Read from MH i2c: E2 [10:15:13]MH_I2C_Read... [10:15:13]Read from MH i2c: E2 17 00 [10:15:13]MH_I2C_Read... [10:15:13]Read from MH i2c: E2 17 00 2E 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 1F [10:15:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [10:15:13]wFMCommunicate OK [10:15:13]requested_item fd.num is exist - process it [10:15:13]SAM_PROTO_GetFieldsCounters [10:15:13]wFMCommunicate request_size=4 [10:15:13]MH_SAM_APDU [10:15:13]CAPDU: 80 13 00 00 [10:15:13]Write to MH i2c: E2 08 00 2F 1F 80 13 00 00 00 00 00 00 CA [10:15:13]Write i2c OK [10:15:13]MH_I2C_Read... [10:15:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:15:13]Read from MH i2c: E2 [10:15:13]MH_I2C_Read... [10:15:13]Read from MH i2c: E2 62 00 [10:15:13]MH_I2C_Read... [10:15:13]Read from MH i2c: E2 62 00 2F 1F 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 62 68 00 00 0E 04 04 00 39 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 38 [10:15: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 62 68 00 00 0E 04 04 00 39 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 [10:15:13]wFMCommunicate OK [10:15:13]SAM_PROTO_GetFieldsCounters done [10:15:13]requested_item shift.num is exist - process it [10:15:13]requested_item shift.opened is exist - process it [10:15:13]req_shift_opened [10:15:13]FM_GetShiftState [10:15:13]SAM_PROTO_GetShiftState [10:15:13]wFMCommunicate request_size=4 [10:15:13]MH_SAM_APDU [10:15:13]CAPDU: 80 13 01 00 [10:15:13]Write to MH i2c: E2 08 00 30 1F 80 13 01 00 00 00 00 00 CC [10:15:13]Write i2c OK [10:15:13]MH_I2C_Read... [10:15:13]Read from MH i2c: E2 [10:15:13]MH_I2C_Read... [10:15:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:15:14]Read from MH i2c: E2 0E 00 [10:15:14]MH_I2C_Read... [10:15:14]Read from MH i2c: E2 0E 00 30 1F 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 60 [10:15:14]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [10:15:14]wFMCommunicate OK [10:15:14]SAM_PROTO_GetShiftState done [10:15:14]FM_GetShiftState done [10:15:14]req_shift_opened done [10:15:14]requested_item shift.open_date is exist - process it [10:15:14]req_shift_open_date [10:15:14]req_shift_open_date done [10:15:14]produce_requested_data done [10:15:14]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26722,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [10:15:14]process_action_free close_receipt [10:15:14]json_value_free [10:15:14]json_value_free done [10:15:14]process_json_proto returns [10:15:14]Send response to host [10:15:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26722,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [10:15:14]free response buf [10:15:14]execute_script done [10:15:14]execute_script returns [10:15:14]free content buf [10:15:14]Sock 9.Close socket [10:15:14]Sock 9.Thread stoped [10:15:17]OFD Sender: No OFD packet to send [10:15:22]OFD Sender: No OFD packet to send [10:15:27]OFD Sender: No OFD packet to send [10:15:32]OFD Sender: No OFD packet to send [10:15:37]OFD Sender: No OFD packet to send [10:15:42]OFD Sender: No OFD packet to send [10:15:47]OFD Sender: No OFD packet to send [10:15:52]OFD Sender: No OFD packet to send [10:15:57]OFD Sender: No OFD packet to send [10:16:02]OFD Sender: No OFD packet to send [10:16:07]OFD Sender: No OFD packet to send [10:16:12]OFD Sender: No OFD packet to send [10:16:17]OFD Sender: No OFD packet to send [10:16:22]OFD Sender: No OFD packet to send [10:16:27]OFD Sender: No OFD packet to send [10:16:32]OFD Sender: No OFD packet to send [10:16:37]OFD Sender: No OFD packet to send [10:16:42]OFD Sender: No OFD packet to send [10:16:47]OFD Sender: No OFD packet to send [10:16:52]OFD Sender: No OFD packet to send [10:16:57]OFD Sender: No OFD packet to send [10:17:02]OFD Sender: No OFD packet to send [10:17:07]OFD Sender: No OFD packet to send [10:17:12]OFD Sender: No OFD packet to send [10:17:17]OFD Sender: No OFD packet to send [10:17:22]OFD Sender: No OFD packet to send [10:17:27]OFD Sender: No OFD packet to send [10:17:32]OFD Sender: No OFD packet to send [10:17:37]OFD Sender: No OFD packet to send [10:17:42]OFD Sender: No OFD packet to send [10:17:47]OFD Sender: No OFD packet to send [10:17:52]OFD Sender: No OFD packet to send [10:17:57]OFD Sender: No OFD packet to send [10:18:02]OFD Sender: No OFD packet to send [10:18:07]OFD Sender: No OFD packet to send [10:18:12]OFD Sender: No OFD packet to send [10:18:17]OFD Sender: No OFD packet to send [10:18:22]OFD Sender: No OFD packet to send [10:18:27]OFD Sender: No OFD packet to send [10:18:32]OFD Sender: No OFD packet to send [10:18:37]OFD Sender: No OFD packet to send [10:18:42]OFD Sender: No OFD packet to send [10:18:47]OFD Sender: No OFD packet to send [10:18:52]OFD Sender: No OFD packet to send [10:18:57]OFD Sender: No OFD packet to send [10:19:02]OFD Sender: No OFD packet to send [10:19:07]OFD Sender: No OFD packet to send [10:19:12]OFD Sender: No OFD packet to send [10:19:17]OFD Sender: No OFD packet to send [10:19:22]OFD Sender: No OFD packet to send [10:19:27]OFD Sender: No OFD packet to send [10:19:32]OFD Sender: No OFD packet to send [10:19:37]OFD Sender: No OFD packet to send [10:19:42]OFD Sender: No OFD packet to send [10:19:47]OFD Sender: No OFD packet to send [10:19:52]OFD Sender: No OFD packet to send [10:19:57]OFD Sender: No OFD packet to send [10:20:02]OFD Sender: No OFD packet to send [10:20:07]OFD Sender: No OFD packet to send [10:20:12]OFD Sender: No OFD packet to send [10:20:17]OFD Sender: No OFD packet to send [10:20:22]OFD Sender: No OFD packet to send [10:20:27]OFD Sender: No OFD packet to send [10:20:32]OFD Sender: No OFD packet to send [10:20:37]OFD Sender: No OFD packet to send [10:20:42]OFD Sender: No OFD packet to send [10:20:47]OFD Sender: No OFD packet to send [10:20:52]OFD Sender: No OFD packet to send [10:20:57]OFD Sender: No OFD packet to send [10:21:02]OFD Sender: No OFD packet to send [10:21:07]OFD Sender: No OFD packet to send [10:21:12]OFD Sender: No OFD packet to send [10:21:17]OFD Sender: No OFD packet to send [10:21:22]OFD Sender: No OFD packet to send [10:21:27]OFD Sender: No OFD packet to send [10:21:32]OFD Sender: No OFD packet to send [10:21:37]OFD Sender: No OFD packet to send [10:21:42]OFD Sender: No OFD packet to send [10:21:47]OFD Sender: No OFD packet to send [10:21:52]OFD Sender: No OFD packet to send [10:21:57]OFD Sender: No OFD packet to send [10:22:02]OFD Sender: No OFD packet to send [10:22:07]OFD Sender: No OFD packet to send [10:22:12]OFD Sender: No OFD packet to send [10:22:17]OFD Sender: No OFD packet to send [10:22:22]OFD Sender: No OFD packet to send [10:22:27]OFD Sender: No OFD packet to send [10:22:32]OFD Sender: No OFD packet to send [10:22:37]OFD Sender: No OFD packet to send [10:22:42]OFD Sender: No OFD packet to send [10:22:47]OFD Sender: No OFD packet to send [10:22:52]OFD Sender: No OFD packet to send [10:22:57]OFD Sender: No OFD packet to send [10:23:02]OFD Sender: No OFD packet to send [10:23:07]OFD Sender: No OFD packet to send [10:23:12]OFD Sender: No OFD packet to send [10:23:17]OFD Sender: No OFD packet to send [10:23:22]OFD Sender: No OFD packet to send [10:23:27]OFD Sender: No OFD packet to send [10:23:32]OFD Sender: No OFD packet to send [10:23:37]OFD Sender: No OFD packet to send [10:23:42]OFD Sender: No OFD packet to send [10:23:47]OFD Sender: No OFD packet to send [10:23:52]OFD Sender: No OFD packet to send [10:23:57]OFD Sender: No OFD packet to send [10:24:02]OFD Sender: No OFD packet to send [10:24:07]OFD Sender: No OFD packet to send [10:24:12]OFD Sender: No OFD packet to send [10:24:17]OFD Sender: No OFD packet to send [10:24:22]OFD Sender: No OFD packet to send [10:24:27]OFD Sender: No OFD packet to send [10:24:32]OFD Sender: No OFD packet to send [10:24:37]OFD Sender: No OFD packet to send [10:24:42]OFD Sender: No OFD packet to send [10:24:47]OFD Sender: No OFD packet to send [10:24:52]OFD Sender: No OFD packet to send [10:24:57]OFD Sender: No OFD packet to send [10:25:02]OFD Sender: No OFD packet to send [10:25:07]OFD Sender: No OFD packet to send [10:25:12]OFD Sender: No OFD packet to send [10:25:17]OFD Sender: No OFD packet to send [10:25:22]OFD Sender: No OFD packet to send [10:25:27]OFD Sender: No OFD packet to send [10:25:32]OFD Sender: No OFD packet to send [10:25:37]OFD Sender: No OFD packet to send [10:25:42]OFD Sender: No OFD packet to send [10:25:47]OFD Sender: No OFD packet to send [10:25:52]OFD Sender: No OFD packet to send [10:25:57]OFD Sender: No OFD packet to send [10:26:02]OFD Sender: No OFD packet to send [10:26:07]OFD Sender: No OFD packet to send [10:26:12]OFD Sender: No OFD packet to send [10:26:17]OFD Sender: No OFD packet to send [10:26:22]OFD Sender: No OFD packet to send [10:26:27]OFD Sender: No OFD packet to send [10:26:32]OFD Sender: No OFD packet to send [10:26:37]OFD Sender: No OFD packet to send [10:26:42]OFD Sender: No OFD packet to send [10:26:47]OFD Sender: No OFD packet to send [10:26:52]OFD Sender: No OFD packet to send [10:26:57]OFD Sender: No OFD packet to send [10:27:02]OFD Sender: No OFD packet to send [10:27:07]OFD Sender: No OFD packet to send [10:27:12]OFD Sender: No OFD packet to send [10:27:17]OFD Sender: No OFD packet to send [10:27:22]OFD Sender: No OFD packet to send [10:27:27]OFD Sender: No OFD packet to send [10:27:32]OFD Sender: No OFD packet to send [10:27:37]OFD Sender: No OFD packet to send [10:27:42]OFD Sender: No OFD packet to send [10:27:47]OFD Sender: No OFD packet to send [10:27:52]OFD Sender: No OFD packet to send [10:27:57]OFD Sender: No OFD packet to send [10:28:02]OFD Sender: No OFD packet to send [10:28:07]OFD Sender: No OFD packet to send [10:28:12]OFD Sender: No OFD packet to send [10:28:17]OFD Sender: No OFD packet to send [10:28:22]OFD Sender: No OFD packet to send [10:28:27]OFD Sender: No OFD packet to send [10:28:32]OFD Sender: No OFD packet to send [10:28:37]OFD Sender: No OFD packet to send [10:28: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:27]accept exits with 10 [10:33:27]New connection [10:33:27]New thread 3066871140 created [10:33:27]Thread 3067014500 joined [10:33:27]Waiting for new connection... [10:33:27] Sock 10.Parse request [10:33:27]Sock 10.Check first char [10:33:27]Sock 10.First char is OK [10:33:27]request: POST /json_proto HTTP/1.0 [10:33:27]Method: POST [10:33:27]URL: /json_proto [10:33:27]Method is POST - this is cgi request [10:33:27]url: /json_proto [10:33:27]query_string will be loaded in cgi processing [10:33:27]execute_cgi json_proto POST (null) [10:33:27]execute_cgi path=json_proto method=POST [10:33:27]POST find Content-Length [10:33:27]Host: 172.17.35.3:8080 [10:33:27]Content-Length: 677 [10:33:27]Content-Type: application/json [10:33:27] [10:33:27]POST finish read [10:33:27]Found Content-Length = 677 [10:33:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359466", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 6.310, "sum" : 400.05, "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" ] } } [10:33:27]execute_script... [10:33: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 : (1)359466", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 6.310, "sum" : 400.05, "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" ] } } [10:33:27]POST & json_proto [10:33:27]process_json_proto [10:33:27]json parsed OK: [10:33:27]protocol is kg_v1.0 [10:33:27]action value=close_receipt [10:33:27]process_action close_receipt [10:33:27]cmd_close_receipt [10:33:27]MH_GetDate [10:33:27]Write to MH i2c: F0 00 00 31 1F 3F [10:33:27]Write i2c OK [10:33:27]MH_I2C_Read... [10:33:27]Read from MH i2c: F0 [10:33:27]MH_I2C_Read... [10:33:27]Read from MH i2c: F0 09 00 [10:33:27]MH_I2C_Read... [10:33:27]Read from MH i2c: F0 09 00 31 1F 00 7F 76 12 66 2B 11 66 64 BB [10:33:27]GetLastDocTimeStamp 1712484918 [10:33:27]current date 1712486015 [10:33:27]FM_GetShiftState [10:33:27]SAM_PROTO_GetShiftState [10:33:27]wFMCommunicate request_size=4 [10:33:27]MH_SAM_APDU [10:33:27]CAPDU: 80 13 01 00 [10:33:27]Write to MH i2c: E2 08 00 32 1F 80 13 01 00 00 00 00 00 CE [10:33:27]Write i2c OK [10:33:27]MH_I2C_Read... [10:33:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:33:27]Read from MH i2c: E2 [10:33:27]MH_I2C_Read... [10:33:27]Read from MH i2c: E2 0E 00 [10:33:27]MH_I2C_Read... [10:33:27]Read from MH i2c: E2 0E 00 32 1F 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 62 [10:33:27]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [10:33:27]wFMCommunicate OK [10:33:27]SAM_PROTO_GetShiftState done [10:33:27]FM_GetShiftState done [10:33:27]opened in 1712450087 [10:33:27]opened+sec_in_day 1712536487 [10:33:27]quantity*price = 40005 [10:33:27]sum+1 = 40006 [10:33:27]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.05 ИТОГО: 400.00 Внесено: 400.00 СДАЧА: 0.00 НСП 1% : 3.54 НДС 12% : 42.48 Наличными: 400.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 22 07.04.2024 10:33 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26723 ФПД: 224313427698550 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T103336&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26723&fm=224313427698550&tin=02508201610067®Number=0000000000091578&sum=40000 [10:33:28]StoreToDocumentArchive [10:33:28]shift 313 fd 26723 [10:33:28]save to /storage/0313/doc_00026723 [10:33:28]save last doc name /storage/0313/doc_00026723 to /storage/kkm_last_doc_name [10:33:28]save OK [10:33:28]Clear old archive folders... [10:33:28]ProcessDocumentItem done err = 0, tmpTLVsize=251 [10:33:28]tlvbuf is B6ED0CC0 [10:33:28]SAM_PROTO_ClearQueue [10:33:28]wFMCommunicate request_size=4 [10:33:28]MH_SAM_APDU [10:33:28]CAPDU: 80 09 00 00 [10:33:28]Write to MH i2c: E2 08 00 3F 1F 80 09 00 00 00 00 00 00 D0 [10:33:28]Write i2c OK [10:33:28]MH_I2C_Read... [10:33:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:33:28]Read from MH i2c: E2 [10:33:28]MH_I2C_Read... [10:33:28]Read from MH i2c: E2 03 00 [10:33:28]MH_I2C_Read... [10:33:28]Read from MH i2c: E2 03 00 3F 1F 00 90 00 D2 [10:33:28]RAPDU: 90 00 [10:33:28]wFMCommunicate OK [10:33:28]SAM_PROTO_ClearQueue done [10:33:28]KKMCreateOFDPacket [10:33:28]OFDProtocolAddRootSTLVToBuf [10:33:28]FM_MakeSignedData [10:33:28]FM_MakeSignedData [10:33:28]SAM_PROTO_SignData [10:33:28]wFMCommunicate request_size=4 [10:33:28]MH_SAM_APDU [10:33:28]CAPDU: 80 0D 01 02 [10:33:28]Write to MH i2c: E2 08 00 40 1F 80 0D 01 02 00 00 00 00 D8 [10:33:28]Write i2c OK [10:33:28]MH_I2C_Read... [10:33:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:33:28]Read from MH i2c: E2 [10:33:28]MH_I2C_Read... [10:33:28]Read from MH i2c: E2 03 00 [10:33:28]MH_I2C_Read... [10:33:28]Read from MH i2c: E2 03 00 40 1F 00 90 00 D3 [10:33:28]RAPDU: 90 00 [10:33:28]wFMCommunicate OK [10:33:28]wFMCommunicate request_size=255 [10:33:28]MH_SAM_APDU [10:33:28]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 A6 18 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 45 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 98 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 16 00 00 00 F4 03 04 00 80 76 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 63 68 00 00 35 04 06 00 CC [10:33:28]Write to MH i2c: E2 02 01 41 1F 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 A6 18 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 45 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 98 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 16 00 00 00 F4 03 04 00 80 76 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 63 68 00 00 35 04 06 00 CC 00 00 7F [10:33:28]Write i2c OK [10:33:28]MH_I2C_Read... [10:33:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:33:28]Read from MH i2c: E2 [10:33:28]MH_I2C_Read... [10:33:28]Read from MH i2c: E2 03 00 [10:33:28]MH_I2C_Read... [10:33:28]Read from MH i2c: E2 03 00 41 1F 00 90 00 D4 [10:33:28]RAPDU: 90 00 [10:33:28]wFMCommunicate OK [10:33:28]wFMCommunicate request_size=10 [10:33:28]MH_SAM_APDU [10:33:28]CAPDU: 80 0D 02 02 05 03 0A 2D 23 76 [10:33:28]Write to MH i2c: E2 0D 00 42 1F 80 0D 02 02 05 00 03 0A 2D 23 76 00 00 B8 [10:33:28]Write i2c OK [10:33:28]MH_I2C_Read... [10:33:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:33:28]Read from MH i2c: E2 [10:33:28]MH_I2C_Read... [10:33:28]Read from MH i2c: E2 03 00 [10:33:28]MH_I2C_Read... [10:33:28]Read from MH i2c: E2 03 00 42 1F 00 90 00 D5 [10:33:28]RAPDU: 90 00 [10:33:28]wFMCommunicate OK [10:33:28]wFMCommunicate request_size=4 [10:33:28]MH_SAM_APDU [10:33:28]CAPDU: 80 0D 03 02 [10:33:28]Write to MH i2c: E2 08 00 43 1F 80 0D 03 02 00 00 00 00 DD [10:33:28]Write i2c OK [10:33:28]MH_I2C_Read... [10:33:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:33:29]Read from MH i2c: E2 [10:33:29]MH_I2C_Read... [10:33:29]Read from MH i2c: E2 0B 00 [10:33:29]MH_I2C_Read... [10:33:29]Read from MH i2c: E2 0B 00 43 1F 00 12 BF 6C E4 49 E8 51 69 90 00 EA [10:33:29]RAPDU: 12 BF 6C E4 49 E8 51 69 90 00 [10:33:29]wFMCommunicate OK [10:33:29]SAM_PROTO_SignData done [10:33:29]FM_MakeSignedData done [10:33:29]CreateOFDProtocolMessage [10:33:29]wFMCommunicate request_size=4 [10:33:29]MH_SAM_APDU [10:33:29]CAPDU: 80 11 00 00 [10:33:29]Write to MH i2c: E2 08 00 44 1F 80 11 00 00 00 00 00 00 DD [10:33:29]Write i2c OK [10:33:29]MH_I2C_Read... [10:33:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:33:29]Read from MH i2c: E2 [10:33:29]MH_I2C_Read... [10:33:29]Read from MH i2c: E2 17 00 [10:33:29]MH_I2C_Read... [10:33:29]Read from MH i2c: E2 17 00 44 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 35 [10:33:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [10:33:29]wFMCommunicate OK [10:33:29]CreateOFDProtocolMessage done [10:33:29]OFDSenderStorePacket 26723 [10:33:29]StoreOFDPacket docnum=26723 [10:33:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 23 4F 07 01 2F 99 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 A6 18 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 45 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 98 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 16 00 00 00 F4 03 04 00 80 76 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 63 68 00 00 35 04 06 00 CC 03 0A 2D 23 76 12 BF 6C E4 49 E8 51 69 [10:33:29]CheckFolder [10:33:29]dirname=/storage/ofd_packets [10:33:29]CheckFolder done [10:33:29]ProducePacketName [10:33:29]name=ofd_packets/00026723 [10:33:29]NVStorageSaveData ofd_packets/00026723 [10:33:29]File name is /storage/ofd_packets/00026723 [10:33:29]Write 301 bytes [10:33:29]NVStorageSaveData done [10:33:29]OFDSenderStorePacket done [10:33:29]KKMCreateOFDPacket done [10:33:29]NVStorageSaveData kkm_last_timestamp [10:33:29]File name is /storage/kkm_last_timestamp [10:33:29]Write 4 bytes [10:33:29]NVStorageSaveData done [10:33:29]ExternCall_PrintAddStr [10:33:29]wPrintStart [10:33:29]Write to MH i2c: 01 00 00 45 1F 64 [10:33:29]Write i2c OK [10:33:29]MH_I2C_Read... [10:33:29]Read from MH i2c: 01 [10:33:29]MH_I2C_Read... [10:33:29]Read from MH i2c: 01 07 00 [10:33:29]MH_I2C_Read... [10:33:29]Read from MH i2c: 01 07 00 45 1F 00 00 00 00 00 FF 0F 79 [10:33:29]RasterBufferAndPrint [10:33:29]line Счет N : (1)359466 [10:33:29]line ИНН: 02508201610067 [10:33:29]line Контрольно-Кассовый Чек [10:33:29]line ПРОДАЖА [10:33:29]line ТРК (МРК, ГНК) : 61 [10:33:29]line Товар: 2710124130 [10:33:29]line Аи-92-К-5 [10:33:29]line 6.310 * 63.40 [10:33:29]line = 400.05 [10:33:29]line НДС 12% НСП 1% [10:33:29]line > о реализуемом товаре [10:33:29]line ОКРУГЛЕНИЕ: -0.05 [10:33:29]line ИТОГО: 400.00 [10:33:29]line Внесено: 400.00 [10:33:29]line СДАЧА: 0.00 [10:33:29]line НСП 1% : 3.54 [10:33:29]line НДС 12% : 42.48 [10:33:29]line Наличными: 400.00 [10:33:29]line Безнал.: 0.00 [10:33:29]line Место: АЗС № 122 "Партнер Нефть" [10:33:29]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [10:33:29]line СНО: Общий режим [10:33:29]line Чек 22 07.04.2024 10:33 [10:33:29]line Смена: 313 ФФД: 1.0 [10:33:29]line ЗНМ: 0300000147 [10:33:29]line РНМ: 0000000000091578 [10:33:29]line Версия ККМ: 001 [10:33:29]line ФМ: 0000000000874657 [10:33:29]line ФД: 26723 [10:33:29]line ФПД: 224313427698550 [10:33:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T103336&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26723&fm=224313427698550&tin=02508201610067®Number=0000000000091578&sum=40000 [10:33:29]OFD Sender: Processing packet 26723 [packets to send 44, broken 43] [10:33:29]ProducePacketName [10:33:29]name=ofd_packets/00026723 [10:33:29]OFD Sender: To server: pG, [10:33:29]CommunicateWithHost lk.salyk.kg:30040 [10:33:29]ConnectInit lk.salyk.kg [10:33:29]written 0, free lines is 4095 [10:33:29]Connected sock=9 [10:33: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 36 35 37 0F 01 00 00 23 4F 07 01 2F 99 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 A6 18 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 45 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 98 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 16 00 00 00 F4 03 04 00 80 76 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 63 68 00 00 35 04 06 00 CC 03 0A 2D 23 76 12 BF 6C E4 49 E8 51 69 [10:33:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 B5 52 47 00 9E E5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 63 68 00 00 F4 03 04 00 ED 1D 12 66 B6 04 01 00 00 D2 8E 56 59 4A DC 62 71 [10:33:29]CommunicateWithHost err = 0 [10:33:29]CheckOFDResponse [10:33:29]1017 (14) - 77093643461234 [10:33:29]1041 (16) - 0000000000874657 [10:33:29]1040 (4) - 26723 [10:33:29]1012 (4) - 07.04.2024 04:15 [10:33:29]1206 (1) - 0 [10:33:29]OFD Sender: Remove packet 26723 [10:33:29]ProducePacketName [10:33:29]name=ofd_packets/00026723 [10:33:29]NVStorageDeleteData [10:33:29]Write to MH i2c: 01 00 00 70 1F 8F [10:33:29]Write i2c OK [10:33:29]MH_I2C_Read... [10:33:29]Read from MH i2c: 01 [10:33:29]MH_I2C_Read... [10:33:29]Read from MH i2c: 01 07 00 [10:33:29]MH_I2C_Read... [10:33:29]Read from MH i2c: 01 07 00 70 1F 00 00 00 00 00 84 0C 26 [10:33:29]RasterBufferAndPrint [10:33:29]line [10:33:29]line [10:33:29]line [10:33:29]line [10:33:29]line [10:33:29]written 0, free lines is 3208 [10:33:29]MH_Cut [10:33:29]Write to MH i2c: D1 01 00 77 1F 01 68 [10:33:29]Write i2c OK [10:33:29]MH_I2C_Read... [10:33:29]Read from MH i2c: D1 [10:33:29]MH_I2C_Read... [10:33:29]Read from MH i2c: D1 01 00 [10:33:29]MH_I2C_Read... [10:33:29]Read from MH i2c: D1 01 00 77 1F 00 67 [10:33:29]Write to MH i2c: 01 00 00 78 1F 97 [10:33:29]Write i2c OK [10:33:29]MH_I2C_Read... [10:33:30]OFD Sender: No OFD packet to send [10:33:30]*** Cut start [10:33:30]*** Partial cut [10:33:30]*** CUTSNS_PIN = 1 [10:33:31]*** CUTSNS_PIN = 0 [10:33:31]*** Brake cut motor [10:33:31]Read from MH i2c: 01 [10:33:31]MH_I2C_Read... [10:33:31]*** Stop cut motor [10:33:31]*** Cut end [10:33:31]Read from MH i2c: 01 07 00 [10:33:31]MH_I2C_Read... [10:33:31]Read from MH i2c: 01 07 00 78 1F 00 00 00 00 00 FF 0F AC [10:33:31]process_action close_receipt done [10:33:31]requested_data is exist [10:33:31]produce_requested_data [10:33:31]requested_item fm.sn is exist - process it [10:33:31]wFMCommunicate request_size=4 [10:33:31]MH_SAM_APDU [10:33:31]CAPDU: 80 11 00 00 [10:33:31]Write to MH i2c: E2 08 00 79 1F 80 11 00 00 00 00 00 00 12 [10:33:31]Write i2c OK [10:33:31]MH_I2C_Read... [10:33:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:33:31]Read from MH i2c: E2 [10:33:31]MH_I2C_Read... [10:33:31]Read from MH i2c: E2 17 00 [10:33:31]MH_I2C_Read... [10:33:31]Read from MH i2c: E2 17 00 79 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 6A [10:33:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [10:33:31]wFMCommunicate OK [10:33:31]requested_item fd.num is exist - process it [10:33:31]SAM_PROTO_GetFieldsCounters [10:33:31]wFMCommunicate request_size=4 [10:33:31]MH_SAM_APDU [10:33:31]CAPDU: 80 13 00 00 [10:33:31]Write to MH i2c: E2 08 00 7A 1F 80 13 00 00 00 00 00 00 15 [10:33:31]Write i2c OK [10:33:31]MH_I2C_Read... [10:33:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:33:31]Read from MH i2c: E2 [10:33:31]MH_I2C_Read... [10:33:31]Read from MH i2c: E2 62 00 [10:33:31]MH_I2C_Read... [10:33:31]Read from MH i2c: E2 62 00 7A 1F 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 63 68 00 00 0E 04 04 00 39 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 87 [10:33:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 63 68 00 00 0E 04 04 00 39 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 [10:33:31]wFMCommunicate OK [10:33:31]SAM_PROTO_GetFieldsCounters done [10:33:31]requested_item shift.num is exist - process it [10:33:31]requested_item shift.opened is exist - process it [10:33:31]req_shift_opened [10:33:31]FM_GetShiftState [10:33:31]SAM_PROTO_GetShiftState [10:33:31]wFMCommunicate request_size=4 [10:33:31]MH_SAM_APDU [10:33:31]CAPDU: 80 13 01 00 [10:33:31]Write to MH i2c: E2 08 00 7B 1F 80 13 01 00 00 00 00 00 17 [10:33:31]Write i2c OK [10:33:31]MH_I2C_Read... [10:33:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:33:31]Read from MH i2c: E2 [10:33:31]MH_I2C_Read... [10:33:31]Read from MH i2c: E2 0E 00 [10:33:31]MH_I2C_Read... [10:33:31]Read from MH i2c: E2 0E 00 7B 1F 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 AB [10:33:31]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [10:33:31]wFMCommunicate OK [10:33:31]SAM_PROTO_GetShiftState done [10:33:31]FM_GetShiftState done [10:33:31]req_shift_opened done [10:33:31]requested_item shift.open_date is exist - process it [10:33:31]req_shift_open_date [10:33:31]req_shift_open_date done [10:33:31]produce_requested_data done [10:33:31]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26723,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [10:33:31]process_action_free close_receipt [10:33:31]json_value_free [10:33:31]json_value_free done [10:33:31]process_json_proto returns [10:33:31]Send response to host [10:33:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26723,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [10:33:31]free response buf [10:33:31]execute_script done [10:33:31]execute_script returns [10:33:31]free content buf [10:33:31]Sock 10.Close socket [10:33:31]Sock 10.Thread stoped [10:33:35]OFD Sender: No OFD packet to send [10:33:40]OFD Sender: No OFD packet to send [10:33:45]OFD Sender: No OFD packet to send [10:33:50]OFD Sender: No OFD packet to send [10:33:55]OFD Sender: No OFD packet to send [10:34:00]OFD Sender: No OFD packet to send [10:34:05]OFD Sender: No OFD packet to send [10:34:10]OFD Sender: No OFD packet to send [10:34:15]OFD Sender: No OFD packet to send [10:34:20]OFD Sender: No OFD packet to send [10:34:25]OFD Sender: No OFD packet to send [10:34:30]OFD Sender: No OFD packet to send [10:34:35]OFD Sender: No OFD packet to send [10:34:40]OFD Sender: No OFD packet to send [10:34:45]OFD Sender: No OFD packet to send [10:34:50]OFD Sender: No OFD packet to send [10:34:55]OFD Sender: No OFD packet to send [10:35:00]OFD Sender: No OFD packet to send [10:35:05]OFD Sender: No OFD packet to send [10:35:10]OFD Sender: No OFD packet to send [10:35:15]OFD Sender: No OFD packet to send [10:35:20]OFD Sender: No OFD packet to send [10:35:25]OFD Sender: No OFD packet to send [10:35:30]OFD Sender: No OFD packet to send [10:35:35]OFD Sender: No OFD packet to send [10:35:40]OFD Sender: No OFD packet to send [10:35:45]OFD Sender: No OFD packet to send [10:35:50]OFD Sender: No OFD packet to send [10:35:55]OFD Sender: No OFD packet to send [10:36:00]OFD Sender: No OFD packet to send [10:36:05]OFD Sender: No OFD packet to send [10:36:10]OFD Sender: No OFD packet to send [10:36:15]OFD Sender: No OFD packet to send [10:36:20]OFD Sender: No OFD packet to send [10:36:25]OFD Sender: No OFD packet to send [10:36:30]OFD Sender: No OFD packet to send [10:36:35]OFD Sender: No OFD packet to send [10:36:40]OFD Sender: No OFD packet to send [10:36:45]OFD Sender: No OFD packet to send [10:36:50]OFD Sender: No OFD packet to send [10:36:55]OFD Sender: No OFD packet to send [10:37:00]OFD Sender: No OFD packet to send [10:37:05]OFD Sender: No OFD packet to send [10:37:10]OFD Sender: No OFD packet to send [10:37:15]OFD Sender: No OFD packet to send [10:37:20]OFD Sender: No OFD packet to send [10:37:25]OFD Sender: No OFD packet to send [10:37:30]OFD Sender: No OFD packet to send [10:37:35]OFD Sender: No OFD packet to send [10:37:40]OFD Sender: No OFD packet to send [10:37:45]OFD Sender: No OFD packet to send [10:37:50]OFD Sender: No OFD packet to send [10:37:55]OFD Sender: No OFD packet to send [10:38:00]OFD Sender: No OFD packet to send [10:38:05]OFD Sender: No OFD packet to send [10:38:10]OFD Sender: No OFD packet to send [10:38:15]OFD Sender: No OFD packet to send [10:38:20]OFD Sender: No OFD packet to send [10:38:25]OFD Sender: No OFD packet to send [10:38:30]OFD Sender: No OFD packet to send [10:38:35]OFD Sender: No OFD packet to send [10:38:40]OFD Sender: No OFD packet to send [10:38:45]OFD Sender: No OFD packet to send [10:38:50]OFD Sender: No OFD packet to send [10:38:55]OFD Sender: No OFD packet to send [10:39:00]OFD Sender: No OFD packet to send [10:39:05]OFD Sender: No OFD packet to send [10:39:10]OFD Sender: No OFD packet to send [10:39:15]OFD Sender: No OFD packet to send [10:39:20]OFD Sender: No OFD packet to send [10:39:25]OFD Sender: No OFD packet to send [10:39:30]OFD Sender: No OFD packet to send [10:39:35]OFD Sender: No OFD packet to send [10:39:40]OFD Sender: No OFD packet to send [10:39:45]OFD Sender: No OFD packet to send [10:39:50]OFD Sender: No OFD packet to send [10:39:55]OFD Sender: No OFD packet to send [10:40:00]OFD Sender: No OFD packet to send [10:40:05]OFD Sender: No OFD packet to send [10:40:10]OFD Sender: No OFD packet to send [10:40:15]OFD Sender: No OFD packet to send [10:40:20]OFD Sender: No OFD packet to send [10:40:25]OFD Sender: No OFD packet to send [10:40:30]OFD Sender: No OFD packet to send [10:40:35]OFD Sender: No OFD packet to send [10:40:40]OFD Sender: No OFD packet to send [10:40:45]OFD Sender: No OFD packet to send [10:40:50]OFD Sender: No OFD packet to send [10:40:55]OFD Sender: No OFD packet to send [10:41:00]OFD Sender: No OFD packet to send [10:41:05]OFD Sender: No OFD packet to send [10:41:10]OFD Sender: No OFD packet to send [10:41:15]OFD Sender: No OFD packet to send [10:41:20]OFD Sender: No OFD packet to send [10:41:25]OFD Sender: No OFD packet to send [10:41:30]OFD Sender: No OFD packet to send [10:41:35]OFD Sender: No OFD packet to send [10:41:40]OFD Sender: No OFD packet to send [10:41:45]OFD Sender: No OFD packet to send [10:41:50]OFD Sender: No OFD packet to send [10:41:55]OFD Sender: No OFD packet to send [10:42:00]OFD Sender: No OFD packet to send [10:42:05]OFD Sender: No OFD packet to send [10:42:10]OFD Sender: No OFD packet to send [10:42:15]OFD Sender: No OFD packet to send [10:42:20]OFD Sender: No OFD packet to send [10:42:25]OFD Sender: No OFD packet to send [10:42:30]OFD Sender: No OFD packet to send [10:42:35]OFD Sender: No OFD packet to send [10:42:40]OFD Sender: No OFD packet to send [10:42:45]OFD Sender: No OFD packet to send [10:42:50]OFD Sender: No OFD packet to send [10:42:55]OFD Sender: No OFD packet to send [10:43:00]OFD Sender: No OFD packet to send [10:43:05]OFD Sender: No OFD packet to send [10:43:10]OFD Sender: No OFD packet to send [10:43:15]OFD Sender: No OFD packet to send [10:43:20]OFD Sender: No OFD packet to send [10:43:25]OFD Sender: No OFD packet to send [10:43:30]OFD Sender: No OFD packet to send [10:43:35]OFD Sender: No OFD packet to send [10:43:40]OFD Sender: No OFD packet to send [10:43:45]OFD Sender: No OFD packet to send [10:43:50]OFD Sender: No OFD packet to send [10:43:55]OFD Sender: No OFD packet to send [10:44:00]OFD Sender: No OFD packet to send [10:44:05]OFD Sender: No OFD packet to send [10:44:10]OFD Sender: No OFD packet to send [10:44:15]OFD Sender: No OFD packet to send [10:44:20]OFD Sender: No OFD packet to send [10:44:25]OFD Sender: No OFD packet to send [10:44:30]OFD Sender: No OFD packet to send [10:44:35]OFD Sender: No OFD packet to send [10:44:40]OFD Sender: No OFD packet to send [10:44:45]OFD Sender: No OFD packet to send [10:44:50]OFD Sender: No OFD packet to send [10:44:55]OFD Sender: No OFD packet to send [10:45:00]OFD Sender: No OFD packet to send [10:45:05]OFD Sender: No OFD packet to send [10:45:10]OFD Sender: No OFD packet to send [10:45:15]OFD Sender: No OFD packet to send [10:45:20]OFD Sender: No OFD packet to send [10:45:25]OFD Sender: No OFD packet to send [10:45:30]OFD Sender: No OFD packet to send [10:45:35]OFD Sender: No OFD packet to send [10:45:40]OFD Sender: No OFD packet to send [10:45:45]OFD Sender: No OFD packet to send [10:45:50]OFD Sender: No OFD packet to send [10:45:55]OFD Sender: No OFD packet to send [10:46:00]OFD Sender: No OFD packet to send [10:46:05]OFD Sender: No OFD packet to send [10:46:10]OFD Sender: No OFD packet to send [10:46:15]OFD Sender: No OFD packet to send [10:46:20]OFD Sender: No OFD packet to send [10:46:25]OFD Sender: No OFD packet to send [10:46:30]OFD Sender: No OFD packet to send [10:46:35]OFD Sender: No OFD packet to send [10:46:40]OFD Sender: No OFD packet to send [10:46:45]OFD Sender: No OFD packet to send [10:46:50]OFD Sender: No OFD packet to send [10:46:55]OFD Sender: No OFD packet to send [10:47:00]OFD Sender: No OFD packet to send [10:47:05]OFD Sender: No OFD packet to send [10:47:10]OFD Sender: No OFD packet to send [10:47:15]OFD Sender: No OFD packet to send [10:47:20]OFD Sender: No OFD packet to send [10:47:25]OFD Sender: No OFD packet to send [10:47:30]OFD Sender: No OFD packet to send [10:47:35]OFD Sender: No OFD packet to send [10:47:40]OFD Sender: No OFD packet to send [10:47:45]OFD Sender: No OFD packet to send [10:47:50]OFD Sender: No OFD packet to send [10:47:55]OFD Sender: No OFD packet to send [10:48:00]OFD Sender: No OFD packet to send [10:48:05]OFD Sender: No OFD packet to send [10:48:10]OFD Sender: No OFD packet to send [10:48:15]OFD Sender: No OFD packet to send [10:48:21]OFD Sender: No OFD packet to send [10:48:26]OFD Sender: No OFD packet to send [10:48:31]OFD Sender: No OFD packet to send [10:48:36]OFD Sender: No OFD packet to send [10:48:41]OFD Sender: No OFD packet to send [10:48:46]OFD Sender: No OFD packet to send [10:48:51]OFD Sender: No OFD packet to send [10:48:56]OFD Sender: No OFD packet to send [10:49:01]OFD Sender: No OFD packet to send [10:49:06]OFD Sender: No OFD packet to send [10:49:11]OFD Sender: No OFD packet to send [10:49:16]OFD Sender: No OFD packet to send [10:49:21]OFD Sender: No OFD packet to send [10:49:26]OFD Sender: No OFD packet to send [10:49:31]OFD Sender: No OFD packet to send [10:49:36]OFD Sender: No OFD packet to send [10:49:41]OFD Sender: No OFD packet to send [10:49:46]OFD Sender: No OFD packet to send [10:49:51]OFD Sender: No OFD packet to send [10:49:56]OFD Sender: No OFD packet to send [10:50:01]OFD Sender: No OFD packet to send [10:50:06]OFD Sender: No OFD packet to send [10:50:11]OFD Sender: No OFD packet to send [10:50:16]OFD Sender: No OFD packet to send [10:50:21]OFD Sender: No OFD packet to send [10:50:26]OFD Sender: No OFD packet to send [10:50:31]OFD Sender: No OFD packet to send [10:50:36]OFD Sender: No OFD packet to send [10:50:41]OFD Sender: No OFD packet to send [10:50:46]OFD Sender: No OFD packet to send [10:50:51]OFD Sender: No OFD packet to send [10:50:56]OFD Sender: No OFD packet to send [10:51:01]OFD Sender: No OFD packet to send [10:51:06]OFD Sender: No OFD packet to send [10:51:11]OFD Sender: No OFD packet to send [10:51:16]OFD Sender: No OFD packet to send [10:51:21]OFD Sender: No OFD packet to send [10:51:26]OFD Sender: No OFD packet to send [10:51:31]OFD Sender: No OFD packet to send [10:51:36]OFD Sender: No OFD packet to send [10:51:41]OFD Sender: No OFD packet to send [10:51:46]OFD Sender: No OFD packet to send [10:51:51]OFD Sender: No OFD packet to send [10:51:56]OFD Sender: No OFD packet to send [10:52:01]OFD Sender: No OFD packet to send [10:52:06]OFD Sender: No OFD packet to send [10:52:11]OFD Sender: No OFD packet to send [10:52:16]OFD Sender: No OFD packet to send [10:52:21]OFD Sender: No OFD packet to send [10:52:26]OFD Sender: No OFD packet to send [10:52:31]OFD Sender: No OFD packet to send [10:52:36]OFD Sender: No OFD packet to send [10:52:41]OFD Sender: No OFD packet to send [10:52:46]OFD Sender: No OFD packet to send [10:52:51]OFD Sender: No OFD packet to send [10:52:56]OFD Sender: No OFD packet to send [10:53:01]OFD Sender: No OFD packet to send [10:53:06]OFD Sender: No OFD packet to send [10:53:11]OFD Sender: No OFD packet to send [10:53:16]OFD Sender: No OFD packet to send [10:53:21]OFD Sender: No OFD packet to send [10:53:26]OFD Sender: No OFD packet to send [10:53:31]OFD Sender: No OFD packet to send [10:53:36]OFD Sender: No OFD packet to send [10:53:41]OFD Sender: No OFD packet to send [10:53:46]OFD Sender: No OFD packet to send [10:53:51]OFD Sender: No OFD packet to send [10:53:56]OFD Sender: No OFD packet to send [10:54:01]OFD Sender: No OFD packet to send [10:54:06]OFD Sender: No OFD packet to send [10:54:11]OFD Sender: No OFD packet to send [10:54:16]OFD Sender: No OFD packet to send [10:54:21]OFD Sender: No OFD packet to send [10:54:26]OFD Sender: No OFD packet to send [10:54:31]OFD Sender: No OFD packet to send [10:54:36]OFD Sender: No OFD packet to send [10:54:41]OFD Sender: No OFD packet to send [10:54:46]OFD Sender: No OFD packet to send [10:54:51]OFD Sender: No OFD packet to send [10:54:56]OFD Sender: No OFD packet to send [10:55:01]OFD Sender: No OFD packet to send [10:55:06]OFD Sender: No OFD packet to send [10:55:11]OFD Sender: No OFD packet to send [10:55:16]OFD Sender: No OFD packet to send [10:55:21]OFD Sender: No OFD packet to send [10:55:26]OFD Sender: No OFD packet to send [10:55:31]OFD Sender: No OFD packet to send [10:55:36]OFD Sender: No OFD packet to send [10:55:41]OFD Sender: No OFD packet to send [10:55:46]OFD Sender: No OFD packet to send [10:55:51]OFD Sender: No OFD packet to send [10:55:56]OFD Sender: No OFD packet to send [10:56:01]OFD Sender: No OFD packet to send [10:56:06]OFD Sender: No OFD packet to send [10:56:11]OFD Sender: No OFD packet to send [10:56:16]OFD Sender: No OFD packet to send [10:56:21]OFD Sender: No OFD packet to send [10:56:26]OFD Sender: No OFD packet to send [10:56:31]OFD Sender: No OFD packet to send [10:56:36]OFD Sender: No OFD packet to send [10:56:41]OFD Sender: No OFD packet to send [10:56:46]OFD Sender: No OFD packet to send [10:56:51]OFD Sender: No OFD packet to send [10:56:56]OFD Sender: No OFD packet to send [10:57:01]OFD Sender: No OFD packet to send [10:57:06]OFD Sender: No OFD packet to send [10:57:11]OFD Sender: No OFD packet to send [10:57:16]OFD Sender: No OFD packet to send [10:57:21]OFD Sender: No OFD packet to send [10:57:26]OFD Sender: No OFD packet to send [10:57:31]OFD Sender: No OFD packet to send [10:57:36]OFD Sender: No OFD packet to send [10:57:41]OFD Sender: No OFD packet to send [10:57:46]OFD Sender: No OFD packet to send [10:57:51]OFD Sender: No OFD packet to send [10:57:56]OFD Sender: No OFD packet to send [10:58:01]OFD Sender: No OFD packet to send [10:58:06]OFD Sender: No OFD packet to send [10:58:11]OFD Sender: No OFD packet to send [10:58:16]OFD Sender: No OFD packet to send [10:58:21]OFD Sender: No OFD packet to send [10:58:26]OFD Sender: No OFD packet to send [10:58:31]OFD Sender: No OFD packet to send [10:58:36]OFD Sender: No OFD packet to send [10:58:41]OFD Sender: No OFD packet to send [10:58:46]OFD Sender: No OFD packet to send [10:58:51]OFD Sender: No OFD packet to send [10:58:56]OFD Sender: No OFD packet to send [10:59:01]OFD Sender: No OFD packet to send [10:59:06]OFD Sender: No OFD packet to send [10:59:11]OFD Sender: No OFD packet to send [10:59:16]OFD Sender: No OFD packet to send [10:59:21]OFD Sender: No OFD packet to send [10:59:26]OFD Sender: No OFD packet to send [10:59:31]OFD Sender: No OFD packet to send [10:59:36]OFD Sender: No OFD packet to send [10:59:41]OFD Sender: No OFD packet to send [10:59:46]OFD Sender: No OFD packet to send [10:59:51]OFD Sender: No OFD packet to send [10:59:56]OFD Sender: No OFD packet to send [11:00:01]OFD Sender: No OFD packet to send [11:00:06]OFD Sender: No OFD packet to send [11:00:11]OFD Sender: No OFD packet to send [11:00:16]OFD Sender: No OFD packet to send [11:00:21]OFD Sender: No OFD packet to send [11:00:26]OFD Sender: No OFD packet to send [11:00:31]OFD Sender: No OFD packet to send [11:00:36]OFD Sender: No OFD packet to send [11:00:41]OFD Sender: No OFD packet to send [11:00:46]OFD Sender: No OFD packet to send [11:00:51]OFD Sender: No OFD packet to send [11:00:56]OFD Sender: No OFD packet to send [11:01:01]OFD Sender: No OFD packet to send [11:01:06]OFD Sender: No OFD packet to send [11:01:11]OFD Sender: No OFD packet to send [11:01:16]OFD Sender: No OFD packet to send [11:01:21]OFD Sender: No OFD packet to send [11:01:26]OFD Sender: No OFD packet to send [11:01:31]OFD Sender: No OFD packet to send [11:01:36]OFD Sender: No OFD packet to send [11:01:41]OFD Sender: No OFD packet to send [11:01:46]OFD Sender: No OFD packet to send [11:01:51]OFD Sender: No OFD packet to send [11:01:56]OFD Sender: No OFD packet to send [11:02:01]OFD Sender: No OFD packet to send [11:02:06]OFD Sender: No OFD packet to send [11:02:11]OFD Sender: No OFD packet to send [11:02:16]OFD Sender: No OFD packet to send [11:02:21]OFD Sender: No OFD packet to send [11:02:26]OFD Sender: No OFD packet to send [11:02:31]OFD Sender: No OFD packet to send [11:02:36]OFD Sender: No OFD packet to send [11:02:41]OFD Sender: No OFD packet to send [11:02:46]OFD Sender: No OFD packet to send [11:02:51]OFD Sender: No OFD packet to send [11:02:56]OFD Sender: No OFD packet to send [11:03:01]OFD Sender: No OFD packet to send [11:03:06]OFD Sender: No OFD packet to send [11:03:11]OFD Sender: No OFD packet to send [11:03:16]OFD Sender: No OFD packet to send [11:03:21]OFD Sender: No OFD packet to send [11:03:26]OFD Sender: No OFD packet to send [11:03:31]OFD Sender: No OFD packet to send [11:03:36]OFD Sender: No OFD packet to send [11:03:41]OFD Sender: No OFD packet to send [11:03:46]OFD Sender: No OFD packet to send [11:03:51]OFD Sender: No OFD packet to send [11:03:56]OFD Sender: No OFD packet to send [11:04:01]OFD Sender: No OFD packet to send [11:04:06]OFD Sender: No OFD packet to send [11:04:11]OFD Sender: No OFD packet to send [11:04:16]OFD Sender: No OFD packet to send [11:04:21]OFD Sender: No OFD packet to send [11:04:26]OFD Sender: No OFD packet to send [11:04:31]OFD Sender: No OFD packet to send [11:04:36]OFD Sender: No OFD packet to send [11:04:41]OFD Sender: No OFD packet to send [11:04:46]OFD Sender: No OFD packet to send [11:04:51]OFD Sender: No OFD packet to send [11:04:56]OFD Sender: No OFD packet to send [11:05:01]OFD Sender: No OFD packet to send [11:05:06]OFD Sender: No OFD packet to send [11:05:11]OFD Sender: No OFD packet to send [11:05:16]OFD Sender: No OFD packet to send [11:05:21]OFD Sender: No OFD packet to send [11:05:26]OFD Sender: No OFD packet to send [11:05:31]OFD Sender: No OFD packet to send [11:05:36]OFD Sender: No OFD packet to send [11:05:41]OFD Sender: No OFD packet to send [11:05:46]OFD Sender: No OFD packet to send [11:05:51]OFD Sender: No OFD packet to send [11:05:56]OFD Sender: No OFD packet to send [11:06:01]OFD Sender: No OFD packet to send [11:06:06]OFD Sender: No OFD packet to send [11:06:11]OFD Sender: No OFD packet to send [11:06:16]OFD Sender: No OFD packet to send [11:06:21]OFD Sender: No OFD packet to send [11:06:26]OFD Sender: No OFD packet to send [11:06:31]OFD Sender: No OFD packet to send [11:06:36]OFD Sender: No OFD packet to send [11:06:41]OFD Sender: No OFD packet to send [11:06:47]OFD Sender: No OFD packet to send [11:06:52]OFD Sender: No OFD packet to send [11:06:57]OFD Sender: No OFD packet to send [11:07:02]OFD Sender: No OFD packet to send [11:07:07]OFD Sender: No OFD packet to send [11:07:12]OFD Sender: No OFD packet to send [11:07:17]OFD Sender: No OFD packet to send [11:07:22]OFD Sender: No OFD packet to send [11:07:27]OFD Sender: No OFD packet to send [11:07:32]OFD Sender: No OFD packet to send [11:07:37]OFD Sender: No OFD packet to send [11:07:42]OFD Sender: No OFD packet to send [11:07:47]OFD Sender: No OFD packet to send [11:07:52]OFD Sender: No OFD packet to send [11:07:57]OFD Sender: No OFD packet to send [11:08:02]OFD Sender: No OFD packet to send [11:08:07]OFD Sender: No OFD packet to send [11:08:12]OFD Sender: No OFD packet to send [11:08:17]OFD Sender: No OFD packet to send [11:08:22]OFD Sender: No OFD packet to send [11:08:27]OFD Sender: No OFD packet to send [11:08:32]OFD Sender: No OFD packet to send [11:08:37]OFD Sender: No OFD packet to send [11:08:42]OFD Sender: No OFD packet to send [11:08:47]OFD Sender: No OFD packet to send [11:08:52]OFD Sender: No OFD packet to send [11:08:57]OFD Sender: No OFD packet to send [11:09:02]OFD Sender: No OFD packet to send [11:09:07]OFD Sender: No OFD packet to send [11:09:12]OFD Sender: No OFD packet to send [11:09:17]OFD Sender: No OFD packet to send [11:09:22]OFD Sender: No OFD packet to send [11:09:27]OFD Sender: No OFD packet to send [11:09:32]OFD Sender: No OFD packet to send [11:09:37]OFD Sender: No OFD packet to send [11:09:42]OFD Sender: No OFD packet to send [11:09:47]OFD Sender: No OFD packet to send [11:09:52]OFD Sender: No OFD packet to send [11:09:57]OFD Sender: No OFD packet to send [11:10:02]OFD Sender: No OFD packet to send [11:10:07]OFD Sender: No OFD packet to send [11:10:12]OFD Sender: No OFD packet to send [11:10:17]OFD Sender: No OFD packet to send [11:10:22]OFD Sender: No OFD packet to send [11:10:27]OFD Sender: No OFD packet to send [11:10:32]OFD Sender: No OFD packet to send [11:10:37]OFD Sender: No OFD packet to send [11:10:42]OFD Sender: No OFD packet to send [11:10:47]OFD Sender: No OFD packet to send [11:10:52]OFD Sender: No OFD packet to send [11:10:57]OFD Sender: No OFD packet to send [11:11:02]OFD Sender: No OFD packet to send [11:11:07]OFD Sender: No OFD packet to send [11:11:12]OFD Sender: No OFD packet to send [11:11:17]OFD Sender: No OFD packet to send [11:11:22]OFD Sender: No OFD packet to send [11:11:27]OFD Sender: No OFD packet to send [11:11:32]OFD Sender: No OFD packet to send [11:11:37]OFD Sender: No OFD packet to send [11:11:42]OFD Sender: No OFD packet to send [11:11:47]OFD Sender: No OFD packet to send [11:11:52]OFD Sender: No OFD packet to send [11:11:57]OFD Sender: No OFD packet to send [11:12:02]OFD Sender: No OFD packet to send [11:12:07]OFD Sender: No OFD packet to send [11:12:12]OFD Sender: No OFD packet to send [11:12:17]OFD Sender: No OFD packet to send [11:12:22]OFD Sender: No OFD packet to send [11:12:27]OFD Sender: No OFD packet to send [11:12:32]OFD Sender: No OFD packet to send [11:12:37]OFD Sender: No OFD packet to send [11:12:42]OFD Sender: No OFD packet to send [11:12:47]OFD Sender: No OFD packet to send [11:12:52]OFD Sender: No OFD packet to send [11:12:57]OFD Sender: No OFD packet to send [11:13:02]OFD Sender: No OFD packet to send [11:13:07]OFD Sender: No OFD packet to send [11:13:12]OFD Sender: No OFD packet to send [11:13:17]OFD Sender: No OFD packet to send [11:13:22]OFD Sender: No OFD packet to send [11:13:27]OFD Sender: No OFD packet to send [11:13:32]OFD Sender: No OFD packet to send [11:13:37]OFD Sender: No OFD packet to send [11:13:42]OFD Sender: No OFD packet to send [11:13:47]OFD Sender: No OFD packet to send [11:13:52]OFD Sender: No OFD packet to send [11:13:57]OFD Sender: No OFD packet to send [11:14:02]OFD Sender: No OFD packet to send [11:14:07]OFD Sender: No OFD packet to send [11:14:12]OFD Sender: No OFD packet to send [11:14:17]OFD Sender: No OFD packet to send [11:14:22]OFD Sender: No OFD packet to send [11:14:27]OFD Sender: No OFD packet to send [11:14:32]OFD Sender: No OFD packet to send [11:14:37]OFD Sender: No OFD packet to send [11:14:42]OFD Sender: No OFD packet to send [11:14:47]OFD Sender: No OFD packet to send [11:14:52]OFD Sender: No OFD packet to send [11:14:57]OFD Sender: No OFD packet to send [11:15:02]OFD Sender: No OFD packet to send [11:15:07]OFD Sender: No OFD packet to send [11:15:12]OFD Sender: No OFD packet to send [11:15:17]OFD Sender: No OFD packet to send [11:15:22]OFD Sender: No OFD packet to send [11:15:27]OFD Sender: No OFD packet to send [11:15:32]OFD Sender: No OFD packet to send [11:15:37]OFD Sender: No OFD packet to send [11:15:42]OFD Sender: No OFD packet to send [11:15:47]OFD Sender: No OFD packet to send [11:15:52]OFD Sender: No OFD packet to send [11:15:57]OFD Sender: No OFD packet to send [11:16:02]OFD Sender: No OFD packet to send [11:16:07]OFD Sender: No OFD packet to send [11:16:12]OFD Sender: No OFD packet to send [11:16:17]OFD Sender: No OFD packet to send [11:16:22]OFD Sender: No OFD packet to send [11:16:27]OFD Sender: No OFD packet to send [11:16:32]OFD Sender: No OFD packet to send [11:16:37]OFD Sender: No OFD packet to send [11:16:42]OFD Sender: No OFD packet to send [11:16:47]OFD Sender: No OFD packet to send [11:16:52]OFD Sender: No OFD packet to send [11:16:57]OFD Sender: No OFD packet to send [11:17:02]OFD Sender: No OFD packet to send [11:17:07]OFD Sender: No OFD packet to send [11:17:12]OFD Sender: No OFD packet to send [11:17:17]OFD Sender: No OFD packet to send [11:17:22]OFD Sender: No OFD packet to send [11:17:27]OFD Sender: No OFD packet to send [11:17:32]OFD Sender: No OFD packet to send [11:17:37]OFD Sender: No OFD packet to send [11:17:42]OFD Sender: No OFD packet to send [11:17:47]OFD Sender: No OFD packet to send [11:17:52]OFD Sender: No OFD packet to send [11:17:57]OFD Sender: No OFD packet to send [11:18:02]OFD Sender: No OFD packet to send [11:18:07]OFD Sender: No OFD packet to send [11:18:12]OFD Sender: No OFD packet to send [11:18:17]OFD Sender: No OFD packet to send [11:18:22]OFD Sender: No OFD packet to send [11:18:27]OFD Sender: No OFD packet to send [11:18:32]OFD Sender: No OFD packet to send [11:18:37]OFD Sender: No OFD packet to send [11:18:42]OFD Sender: No OFD packet to send [11:18:47]OFD Sender: No OFD packet to send [11:18:52]OFD Sender: No OFD packet to send [11:18:57]OFD Sender: No OFD packet to send [11:19:02]OFD Sender: No OFD packet to send [11:19:07]OFD Sender: No OFD packet to send [11:19:12]OFD Sender: No OFD packet to send [11:19:17]OFD Sender: No OFD packet to send [11:19:22]OFD Sender: No OFD packet to send [11:19:27]OFD Sender: No OFD packet to send [11:19:32]OFD Sender: No OFD packet to send [11:19:37]OFD Sender: No OFD packet to send [11:19:42]OFD Sender: No OFD packet to send [11:19:47]OFD Sender: No OFD packet to send [11:19:52]OFD Sender: No OFD packet to send [11:19:57]OFD Sender: No OFD packet to send [11:20:02]OFD Sender: No OFD packet to send [11:20:07]OFD Sender: No OFD packet to send [11:20:12]OFD Sender: No OFD packet to send [11:20:17]OFD Sender: No OFD packet to send [11:20:22]OFD Sender: No OFD packet to send [11:20:27]OFD Sender: No OFD packet to send [11:20:32]OFD Sender: No OFD packet to send [11:20:37]OFD Sender: No OFD packet to send [11:20:42]OFD Sender: No OFD packet to send [11:20:47]OFD Sender: No OFD packet to send [11:20:52]OFD Sender: No OFD packet to send [11:20:57]OFD Sender: No OFD packet to send [11:21:02]OFD Sender: No OFD packet to send [11:21:07]OFD Sender: No OFD packet to send [11:21:12]OFD Sender: No OFD packet to send [11:21:17]OFD Sender: No OFD packet to send [11:21:22]OFD Sender: No OFD packet to send [11:21:27]OFD Sender: No OFD packet to send [11:21:32]OFD Sender: No OFD packet to send [11:21:37]OFD Sender: No OFD packet to send [11:21:42]OFD Sender: No OFD packet to send [11:21:47]OFD Sender: No OFD packet to send [11:21:52]OFD Sender: No OFD packet to send [11:21:57]OFD Sender: No OFD packet to send [11:22:02]OFD Sender: No OFD packet to send [11:22:07]OFD Sender: No OFD packet to send [11:22:12]OFD Sender: No OFD packet to send [11:22:17]OFD Sender: No OFD packet to send [11:22:21]accept exits with 8 [11:22:21]New connection [11:22:21]New thread 3067014500 created [11:22:21]Thread 3066871140 joined [11:22:21]Waiting for new connection... [11:22:21] Sock 8.Parse request [11:22:21]Sock 8.Check first char [11:22:21]Sock 8.First char is OK [11:22:21]request: POST /json_proto HTTP/1.0 [11:22:21]Method: POST [11:22:21]URL: /json_proto [11:22:21]Method is POST - this is cgi request [11:22:21]url: /json_proto [11:22:21]query_string will be loaded in cgi processing [11:22:21]execute_cgi json_proto POST (null) [11:22:21]execute_cgi path=json_proto method=POST [11:22:21]POST find Content-Length [11:22:21]Host: 172.17.35.3:8080 [11:22:21]Content-Length: 808 [11:22:21]Content-Type: application/json [11:22:21] [11:22:21]POST finish read [11:22:21]Found Content-Length = 808 [11:22:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359467", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 69.640, "sum" : 5000.15, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 5000.15 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:22:21]execute_script... [11: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 : (1)359467", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 69.640, "sum" : 5000.15, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 5000.15 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:22:21]POST & json_proto [11:22:21]process_json_proto [11:22:21]json parsed OK: [11:22:21]protocol is kg_v1.0 [11:22:21]action value=close_receipt [11:22:21]process_action close_receipt [11:22:21]cmd_close_receipt [11:22:21]MH_GetDate [11:22:21]Write to MH i2c: F0 00 00 7C 1F 8A [11:22:21]Write i2c OK [11:22:21]MH_I2C_Read... [11:22:21]Read from MH i2c: F0 [11:22:21]MH_I2C_Read... [11:22:21]Read from MH i2c: F0 09 00 [11:22:21]MH_I2C_Read... [11:22:21]Read from MH i2c: F0 09 00 7C 1F 00 F6 81 12 66 2B 11 66 64 88 [11:22:21]GetLastDocTimeStamp 1712486016 [11:22:21]current date 1712488950 [11:22:21]FM_GetShiftState [11:22:21]SAM_PROTO_GetShiftState [11:22:21]wFMCommunicate request_size=4 [11:22:21]MH_SAM_APDU [11:22:21]CAPDU: 80 13 01 00 [11:22:21]Write to MH i2c: E2 08 00 7D 1F 80 13 01 00 00 00 00 00 19 [11:22:21]Write i2c OK [11:22:21]MH_I2C_Read... [11:22:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:22:21]Read from MH i2c: E2 [11:22:21]MH_I2C_Read... [11:22:21]Read from MH i2c: E2 0E 00 [11:22:21]MH_I2C_Read... [11:22:21]Read from MH i2c: E2 0E 00 7D 1F 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 AD [11:22:21]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [11:22:21]wFMCommunicate OK [11:22:21]SAM_PROTO_GetShiftState done [11:22:21]FM_GetShiftState done [11:22:21]opened in 1712450087 [11:22:21]opened+sec_in_day 1712536487 [11:22:21]quantity*price = 500015 [11:22:21]sum+1 = 500016 [11:22:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 5000.15 НСП 1% : 44.25 НДС 12% : 530.99 Наличными: 0.00 Безнал.: 5000.15 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 23 07.04.2024 11:22 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000874657 ФД: 26724 ФПД: 266814755051410 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T112230&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26724&fm=266814755051410&tin=02508201610067®Number=0000000000091578&sum=500015 [11:22:22]StoreToDocumentArchive [11:22:22]shift 313 fd 26724 [11:22:22]save to /storage/0313/doc_00026724 [11:22:22]save last doc name /storage/0313/doc_00026724 to /storage/kkm_last_doc_name [11:22:22]save OK [11:22:22]Clear old archive folders... [11:22:22]ProcessDocumentItem done err = 0, tmpTLVsize=252 [11:22:22]tlvbuf is B6EB7280 [11:22:22]SAM_PROTO_ClearQueue [11:22:22]wFMCommunicate request_size=4 [11:22:22]MH_SAM_APDU [11:22:22]CAPDU: 80 09 00 00 [11:22:22]Write to MH i2c: E2 08 00 8A 1F 80 09 00 00 00 00 00 00 1B [11:22:22]Write i2c OK [11:22:22]MH_I2C_Read... [11:22:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:22:22]Read from MH i2c: E2 [11:22:22]MH_I2C_Read... [11:22:22]Read from MH i2c: E2 03 00 [11:22:22]MH_I2C_Read... [11:22:22]Read from MH i2c: E2 03 00 8A 1F 00 90 00 1D [11:22:22]RAPDU: 90 00 [11:22:22]wFMCommunicate OK [11:22:22]SAM_PROTO_ClearQueue done [11:22:22]KKMCreateOFDPacket [11:22:22]OFDProtocolAddRootSTLVToBuf [11:22:22]FM_MakeSignedData [11:22:22]FM_MakeSignedData [11:22:22]SAM_PROTO_SignData [11:22:22]wFMCommunicate request_size=4 [11:22:22]MH_SAM_APDU [11:22:22]CAPDU: 80 0D 01 02 [11:22:22]Write to MH i2c: E2 08 00 8B 1F 80 0D 01 02 00 00 00 00 23 [11:22:22]Write i2c OK [11:22:22]MH_I2C_Read... [11:22:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:22:22]Read from MH i2c: E2 [11:22:22]MH_I2C_Read... [11:22:22]Read from MH i2c: E2 03 00 [11:22:22]MH_I2C_Read... [11:22:22]Read from MH i2c: E2 03 00 8B 1F 00 90 00 1E [11:22:22]RAPDU: 90 00 [11:22:22]wFMCommunicate OK [11:22:22]wFMCommunicate request_size=255 [11:22:22]MH_SAM_APDU [11:22:22]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 08 10 01 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 2F A1 07 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2F A1 07 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 49 11 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6B CF 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2F A1 07 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 F6 81 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 64 68 00 00 35 04 06 00 [11:22:22]Write to MH i2c: E2 02 01 8C 1F 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 08 10 01 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 2F A1 07 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2F A1 07 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 49 11 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6B CF 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2F A1 07 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 F6 81 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 64 68 00 00 35 04 06 00 00 00 D8 [11:22:22]Write i2c OK [11:22:22]MH_I2C_Read... [11:22:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:22:22]Read from MH i2c: E2 [11:22:22]MH_I2C_Read... [11:22:22]Read from MH i2c: E2 03 00 [11:22:22]MH_I2C_Read... [11:22:22]Read from MH i2c: E2 03 00 8C 1F 00 90 00 1F [11:22:22]RAPDU: 90 00 [11:22:22]wFMCommunicate OK [11:22:22]wFMCommunicate request_size=11 [11:22:22]MH_SAM_APDU [11:22:22]CAPDU: 80 0D 02 02 06 F2 AA A6 B2 17 92 [11:22:22]Write to MH i2c: E2 0E 00 8D 1F 80 0D 02 02 06 00 F2 AA A6 B2 17 92 00 00 CF [11:22:22]Write i2c OK [11:22:22]MH_I2C_Read... [11:22:22]OFD Sender: No OFD packet to send [11:22:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:22:22]Read from MH i2c: E2 [11:22:22]MH_I2C_Read... [11:22:22]Read from MH i2c: E2 03 00 [11:22:22]MH_I2C_Read... [11:22:22]Read from MH i2c: E2 03 00 8D 1F 00 90 00 20 [11:22:22]RAPDU: 90 00 [11:22:22]wFMCommunicate OK [11:22:22]wFMCommunicate request_size=4 [11:22:22]MH_SAM_APDU [11:22:22]CAPDU: 80 0D 03 02 [11:22:22]Write to MH i2c: E2 08 00 8E 1F 80 0D 03 02 00 00 00 00 28 [11:22:22]Write i2c OK [11:22:22]MH_I2C_Read... [11:22:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:22:22]Read from MH i2c: E2 [11:22:22]MH_I2C_Read... [11:22:22]Read from MH i2c: E2 0B 00 [11:22:22]MH_I2C_Read... [11:22:22]Read from MH i2c: E2 0B 00 8E 1F 00 07 05 98 58 D2 65 CF 2D 90 00 58 [11:22:22]RAPDU: 07 05 98 58 D2 65 CF 2D 90 00 [11:22:22]wFMCommunicate OK [11:22:22]SAM_PROTO_SignData done [11:22:22]FM_MakeSignedData done [11:22:22]CreateOFDProtocolMessage [11:22:22]wFMCommunicate request_size=4 [11:22:22]MH_SAM_APDU [11:22:22]CAPDU: 80 11 00 00 [11:22:22]Write to MH i2c: E2 08 00 8F 1F 80 11 00 00 00 00 00 00 28 [11:22:22]Write i2c OK [11:22:22]MH_I2C_Read... [11:22:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:22:22]Read from MH i2c: E2 [11:22:22]MH_I2C_Read... [11:22:22]Read from MH i2c: E2 17 00 [11:22:22]MH_I2C_Read... [11:22:22]Read from MH i2c: E2 17 00 8F 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 80 [11:22:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [11:22:22]wFMCommunicate OK [11:22:22]CreateOFDProtocolMessage done [11:22:22]OFDSenderStorePacket 26724 [11:22:22]StoreOFDPacket docnum=26724 [11:22:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 3E 11 08 01 CD 0F 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 08 10 01 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 2F A1 07 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2F A1 07 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 49 11 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6B CF 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2F A1 07 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 F6 81 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 64 68 00 00 35 04 06 00 F2 AA A6 B2 17 92 07 05 98 58 D2 65 CF 2D [11:22:22]CheckFolder [11:22:22]dirname=/storage/ofd_packets [11:22:22]CheckFolder done [11:22:22]ProducePacketName [11:22:22]name=ofd_packets/00026724 [11:22:22]NVStorageSaveData ofd_packets/00026724 [11:22:22]File name is /storage/ofd_packets/00026724 [11:22:22]Write 302 bytes [11:22:22]NVStorageSaveData done [11:22:22]OFDSenderStorePacket done [11:22:22]KKMCreateOFDPacket done [11:22:22]NVStorageSaveData kkm_last_timestamp [11:22:22]File name is /storage/kkm_last_timestamp [11:22:22]Write 4 bytes [11:22:22]NVStorageSaveData done [11:22:22]ExternCall_PrintAddStr [11:22:22]wPrintStart [11:22:22]Write to MH i2c: 01 00 00 90 1F AF [11:22:22]Write i2c OK [11:22:22]MH_I2C_Read... [11:22:22]Read from MH i2c: 01 [11:22:22]MH_I2C_Read... [11:22:22]Read from MH i2c: 01 07 00 [11:22:22]MH_I2C_Read... [11:22:22]Read from MH i2c: 01 07 00 90 1F 00 00 00 00 00 FF 0F C4 [11:22:22]RasterBufferAndPrint [11:22:22]line Счет N : (1)359467 [11:22:22]line ИНН: 02508201610067 [11:22:22]line Контрольно-Кассовый Чек [11:22:22]line ПРОДАЖА [11:22:22]line ТРК (МРК, ГНК) : 21 [11:22:22]line Товар: 2710194210 [11:22:22]line ДТ(л)-К-5 [11:22:22]line 69.640 * 71.80 [11:22:22]line = 5000.15 [11:22:22]line НДС 12% НСП 1% [11:22:22]line > о реализуемом товаре [11:22:22]line ИТОГО: 5000.15 [11:22:22]line НСП 1% : 44.25 [11:22:22]line НДС 12% : 530.99 [11:22:22]line Наличными: 0.00 [11:22:22]line Безнал.: 5000.15 [11:22:22]line Место: АЗС № 122 "Партнер Нефть" [11:22:22]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [11:22:22]line СНО: Общий режим [11:22:22]line Чек 23 07.04.2024 11:22 [11:22:22]line Смена: 313 ФФД: 1.0 [11:22:22]line ЗНМ: 0300000147 [11:22:22]line РНМ: 0000000000091578 [11:22:22]line Версия ККМ: 001 [11:22:22]line Платежная система: O! деньги [11:22:22]line ФМ: 0000000000874657 [11:22:22]line ФД: 26724 [11:22:22]line ФПД: 266814755051410 [11:22:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T112230&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26724&fm=266814755051410&tin=02508201610067®Number=0000000000091578&sum=500015 [11:22:23]OFD Sender: Processing packet 26724 [packets to send 44, broken 43] [11:22:23]ProducePacketName [11:22:23]name=ofd_packets/00026724 [11:22:23]OFD Sender: To server: pG, [11:22:23]CommunicateWithHost lk.salyk.kg:30040 [11:22:23]ConnectInit lk.salyk.kg [11:22:23]written 0, free lines is 4095 [11:22:23]Connected sock=9 [11:22: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 36 35 37 10 01 00 00 3E 11 08 01 CD 0F 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 08 10 01 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 2F A1 07 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2F A1 07 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 49 11 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6B CF 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2F A1 07 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 F6 81 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 64 68 00 00 35 04 06 00 F2 AA A6 B2 17 92 07 05 98 58 D2 65 CF 2D [11:22:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 8C 4F 47 00 B4 FB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 37 10 04 04 00 64 68 00 00 F4 03 04 00 63 29 12 66 B6 04 01 00 00 99 AE 10 7D F5 88 32 C1 [11:22:23]CommunicateWithHost err = 0 [11:22:23]CheckOFDResponse [11:22:23]1017 (14) - 77093643461234 [11:22:23]1041 (16) - 0000000000874657 [11:22:23]1040 (4) - 26724 [11:22:23]1012 (4) - 07.04.2024 05:04 [11:22:23]1206 (1) - 0 [11:22:23]OFD Sender: Remove packet 26724 [11:22:23]ProducePacketName [11:22:23]name=ofd_packets/00026724 [11:22:23]NVStorageDeleteData [11:22:23]Write to MH i2c: 01 00 00 BA 1F D9 [11:22:23]Write i2c OK [11:22:23]MH_I2C_Read... [11:22:23]Read from MH i2c: 01 [11:22:23]MH_I2C_Read... [11:22:23]Read from MH i2c: 01 07 00 [11:22:23]MH_I2C_Read... [11:22:23]Read from MH i2c: 01 07 00 BA 1F 00 00 00 00 00 A4 0C 90 [11:22:23]RasterBufferAndPrint [11:22:23]line [11:22:23]line [11:22:23]line [11:22:23]line [11:22:23]line [11:22:23]written 0, free lines is 3241 [11:22:23]MH_Cut [11:22:23]Write to MH i2c: D1 01 00 C1 1F 01 B2 [11:22:23]Write i2c OK [11:22:23]MH_I2C_Read... [11:22:23]Read from MH i2c: D1 [11:22:23]MH_I2C_Read... [11:22:23]Read from MH i2c: D1 01 00 [11:22:23]MH_I2C_Read... [11:22:23]Read from MH i2c: D1 01 00 C1 1F 00 B1 [11:22:23]Write to MH i2c: 01 00 00 C2 1F E1 [11:22:23]Write i2c OK [11:22:23]MH_I2C_Read... [11:22:24]OFD Sender: No OFD packet to send [11:22:24]*** Cut start [11:22:24]*** Partial cut [11:22:24]*** CUTSNS_PIN = 1 [11:22:24]*** CUTSNS_PIN = 0 [11:22:25]*** Brake cut motor [11:22:25]Read from MH i2c: 01 [11:22:25]MH_I2C_Read... [11:22:25]*** Stop cut motor [11:22:25]*** Cut end [11:22:25]Read from MH i2c: 01 07 00 [11:22:25]MH_I2C_Read... [11:22:25]Read from MH i2c: 01 07 00 C2 1F 00 00 00 00 00 FF 0F F6 [11:22:25]process_action close_receipt done [11:22:25]requested_data is exist [11:22:25]produce_requested_data [11:22:25]requested_item fm.sn is exist - process it [11:22:25]wFMCommunicate request_size=4 [11:22:25]MH_SAM_APDU [11:22:25]CAPDU: 80 11 00 00 [11:22:25]Write to MH i2c: E2 08 00 C3 1F 80 11 00 00 00 00 00 00 5C [11:22:25]Write i2c OK [11:22:25]MH_I2C_Read... [11:22:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:22:25]Read from MH i2c: E2 [11:22:25]MH_I2C_Read... [11:22:25]Read from MH i2c: E2 17 00 [11:22:25]MH_I2C_Read... [11:22:25]Read from MH i2c: E2 17 00 C3 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 B4 [11:22:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [11:22:25]wFMCommunicate OK [11:22:25]requested_item fd.num is exist - process it [11:22:25]SAM_PROTO_GetFieldsCounters [11:22:25]wFMCommunicate request_size=4 [11:22:25]MH_SAM_APDU [11:22:25]CAPDU: 80 13 00 00 [11:22:25]Write to MH i2c: E2 08 00 C4 1F 80 13 00 00 00 00 00 00 5F [11:22:25]Write i2c OK [11:22:25]MH_I2C_Read... [11:22:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:22:25]Read from MH i2c: E2 [11:22:25]MH_I2C_Read... [11:22:25]Read from MH i2c: E2 62 00 [11:22:25]MH_I2C_Read... [11:22:25]Read from MH i2c: E2 62 00 C4 1F 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 64 68 00 00 0E 04 04 00 39 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 D5 [11:22: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 64 68 00 00 0E 04 04 00 39 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 [11:22:25]wFMCommunicate OK [11:22:25]SAM_PROTO_GetFieldsCounters done [11:22:25]requested_item shift.num is exist - process it [11:22:25]requested_item shift.opened is exist - process it [11:22:25]req_shift_opened [11:22:25]FM_GetShiftState [11:22:25]SAM_PROTO_GetShiftState [11:22:25]wFMCommunicate request_size=4 [11:22:25]MH_SAM_APDU [11:22:25]CAPDU: 80 13 01 00 [11:22:25]Write to MH i2c: E2 08 00 C5 1F 80 13 01 00 00 00 00 00 61 [11:22:25]Write i2c OK [11:22:25]MH_I2C_Read... [11:22:25]Read from MH i2c: E2 [11:22:25]MH_I2C_Read... [11:22:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:22:25]Read from MH i2c: E2 0E 00 [11:22:25]MH_I2C_Read... [11:22:25]Read from MH i2c: E2 0E 00 C5 1F 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 F5 [11:22:25]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [11:22:25]wFMCommunicate OK [11:22:25]SAM_PROTO_GetShiftState done [11:22:25]FM_GetShiftState done [11:22:25]req_shift_opened done [11:22:25]requested_item shift.open_date is exist - process it [11:22:25]req_shift_open_date [11:22:25]req_shift_open_date done [11:22:25]produce_requested_data done [11:22:25]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26724,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [11:22:25]process_action_free close_receipt [11:22:25]json_value_free [11:22:25]json_value_free done [11:22:25]process_json_proto returns [11:22:25]Send response to host [11:22:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26724,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [11:22:25]free response buf [11:22:25]execute_script done [11:22:25]execute_script returns [11:22:25]free content buf [11:22:25]Sock 8.Close socket [11:22:25]Sock 8.Thread stoped [11:22:29]OFD Sender: No OFD packet to send [11:22:34]OFD Sender: No OFD packet to send [11:22:39]OFD Sender: No OFD packet to send [11:22:44]OFD Sender: No OFD packet to send [11:22:49]OFD Sender: No OFD packet to send [11:22:54]OFD Sender: No OFD packet to send [11:22:59]OFD Sender: No OFD packet to send [11:23:04]OFD Sender: No OFD packet to send [11:23:09]OFD Sender: No OFD packet to send [11:23:14]OFD Sender: No OFD packet to send [11:23:19]OFD Sender: No OFD packet to send [11:23:24]OFD Sender: No OFD packet to send [11:23:29]OFD Sender: No OFD packet to send [11:23:34]OFD Sender: No OFD packet to send [11:23:39]OFD Sender: No OFD packet to send [11:23:44]OFD Sender: No OFD packet to send [11:23:49]OFD Sender: No OFD packet to send [11:23:54]OFD Sender: No OFD packet to send [11:23:59]OFD Sender: No OFD packet to send [11:24:04]OFD Sender: No OFD packet to send [11:24:09]OFD Sender: No OFD packet to send [11:24:14]OFD Sender: No OFD packet to send [11:24:19]OFD Sender: No OFD packet to send [11:24:24]OFD Sender: No OFD packet to send [11:24:29]OFD Sender: No OFD packet to send [11:24:34]OFD Sender: No OFD packet to send [11:24:39]OFD Sender: No OFD packet to send [11:24:44]OFD Sender: No OFD packet to send [11:24:49]OFD Sender: No OFD packet to send [11:24:54]OFD Sender: No OFD packet to send [11:24:59]OFD Sender: No OFD packet to send [11:25:04]OFD Sender: No OFD packet to send [11:25:09]OFD Sender: No OFD packet to send [11:25:14]OFD Sender: No OFD packet to send [11:25:19]OFD Sender: No OFD packet to send [11:25:24]OFD Sender: No OFD packet to send [11:25:29]OFD Sender: No OFD packet to send [11:25:34]OFD Sender: No OFD packet to send [11:25:39]OFD Sender: No OFD packet to send [11:25:44]OFD Sender: No OFD packet to send [11:25:49]OFD Sender: No OFD packet to send [11:25:54]OFD Sender: No OFD packet to send [11:25:59]OFD Sender: No OFD packet to send [11:26:04]OFD Sender: No OFD packet to send [11:26:09]OFD Sender: No OFD packet to send [11:26:14]OFD Sender: No OFD packet to send [11:26:19]OFD Sender: No OFD packet to send [11:26:24]OFD Sender: No OFD packet to send [11:26:29]OFD Sender: No OFD packet to send [11:26:34]OFD Sender: No OFD packet to send [11:26:39]OFD Sender: No OFD packet to send [11:26:44]OFD Sender: No OFD packet to send [11:26:49]OFD Sender: No OFD packet to send [11:26:54]OFD Sender: No OFD packet to send [11:26:59]OFD Sender: No OFD packet to send [11:27:04]OFD Sender: No OFD packet to send [11:27:09]OFD Sender: No OFD packet to send [11:27:14]OFD Sender: No OFD packet to send [11:27:19]OFD Sender: No OFD packet to send [11:27:24]OFD Sender: No OFD packet to send [11:27:29]OFD Sender: No OFD packet to send [11:27:34]OFD Sender: No OFD packet to send [11:27:39]OFD Sender: No OFD packet to send [11:27:44]OFD Sender: No OFD packet to send [11:27:49]OFD Sender: No OFD packet to send [11:27:54]OFD Sender: No OFD packet to send [11:27:59]OFD Sender: No OFD packet to send [11:28:04]OFD Sender: No OFD packet to send [11:28:09]OFD Sender: No OFD packet to send [11:28:14]OFD Sender: No OFD packet to send [11:28:19]OFD Sender: No OFD packet to send [11:28:24]OFD Sender: No OFD packet to send [11:28:29]OFD Sender: No OFD packet to send [11:28:34]OFD Sender: No OFD packet to send [11:28:39]OFD Sender: No OFD packet to send [11:28:44]OFD Sender: No OFD packet to send [11:28:49]OFD Sender: No OFD packet to send [11:28:54]OFD Sender: No OFD packet to send [11:28:59]OFD Sender: No OFD packet to send [11:29:04]OFD Sender: No OFD packet to send [11:29:09]OFD Sender: No OFD packet to send [11:29:14]OFD Sender: No OFD packet to send [11:29:19]OFD Sender: No OFD packet to send [11:29:24]OFD Sender: No OFD packet to send [11:29:29]OFD Sender: No OFD packet to send [11:29:34]OFD Sender: No OFD packet to send [11:29:39]OFD Sender: No OFD packet to send [11:29:44]OFD Sender: No OFD packet to send [11:29:49]OFD Sender: No OFD packet to send [11:29:54]OFD Sender: No OFD packet to send [11:29:59]OFD Sender: No OFD packet to send [11:30:04]OFD Sender: No OFD packet to send [11:30:09]OFD Sender: No OFD packet to send [11:30:14]OFD Sender: No OFD packet to send [11:30:19]OFD Sender: No OFD packet to send [11:30:24]OFD Sender: No OFD packet to send [11:30:29]OFD Sender: No OFD packet to send [11:30:34]OFD Sender: No OFD packet to send [11:30:39]OFD Sender: No OFD packet to send [11:30:44]OFD Sender: No OFD packet to send [11:30:49]OFD Sender: No OFD packet to send [11:30:54]OFD Sender: No OFD packet to send [11:30:59]OFD Sender: No OFD packet to send [11:31:04]OFD Sender: No OFD packet to send [11:31:09]OFD Sender: No OFD packet to send [11:31:14]OFD Sender: No OFD packet to send [11:31:19]OFD Sender: No OFD packet to send [11:31:24]OFD Sender: No OFD packet to send [11:31:29]OFD Sender: No OFD packet to send [11:31:34]OFD Sender: No OFD packet to send [11:31:39]OFD Sender: No OFD packet to send [11:31:44]OFD Sender: No OFD packet to send [11:31:49]OFD Sender: No OFD packet to send [11:31:54]OFD Sender: No OFD packet to send [11:31:59]OFD Sender: No OFD packet to send [11:32:04]OFD Sender: No OFD packet to send [11:32:09]OFD Sender: No OFD packet to send [11:32:14]OFD Sender: No OFD packet to send [11:32:19]OFD Sender: No OFD packet to send [11:32:24]OFD Sender: No OFD packet to send [11:32:29]OFD Sender: No OFD packet to send [11:32:34]OFD Sender: No OFD packet to send [11:32:39]OFD Sender: No OFD packet to send [11:32:44]OFD Sender: No OFD packet to send [11:32:49]OFD Sender: No OFD packet to send [11:32:54]OFD Sender: No OFD packet to send [11:32:59]OFD Sender: No OFD packet to send [11:33:04]OFD Sender: No OFD packet to send [11:33:09]OFD Sender: No OFD packet to send [11:33:14]OFD Sender: No OFD packet to send [11:33:19]OFD Sender: No OFD packet to send [11:33:24]OFD Sender: No OFD packet to send [11:33:29]OFD Sender: No OFD packet to send [11:33:34]OFD Sender: No OFD packet to send [11:33:39]OFD Sender: No OFD packet to send [11:33:44]OFD Sender: No OFD packet to send [11:33:49]OFD Sender: No OFD packet to send [11:33:54]OFD Sender: No OFD packet to send [11:33:59]OFD Sender: No OFD packet to send [11:34:04]OFD Sender: No OFD packet to send [11:34:09]OFD Sender: No OFD packet to send [11:34:14]OFD Sender: No OFD packet to send [11:34:19]OFD Sender: No OFD packet to send [11:34:24]OFD Sender: No OFD packet to send [11:34:25]accept exits with 10 [11:34:25]New connection [11:34:25]New thread 3066871140 created [11:34:25]Thread 3067014500 joined [11:34:25]Waiting for new connection... [11:34:25] Sock 10.Parse request [11:34:25]Sock 10.Check first char [11:34:25]Sock 10.First char is OK [11:34:25]request: POST /json_proto HTTP/1.0 [11:34:25]Method: POST [11:34:25]URL: /json_proto [11:34:25]Method is POST - this is cgi request [11:34:25]url: /json_proto [11:34:25]query_string will be loaded in cgi processing [11:34:25]execute_cgi json_proto POST (null) [11:34:25]execute_cgi path=json_proto method=POST [11:34:25]POST find Content-Length [11:34:25]Host: 172.17.35.3:8080 [11:34:25]Content-Length: 682 [11:34:25]Content-Type: application/json [11:34:25] [11:34:25]POST finish read [11:34:25]Found Content-Length = 682 [11:34:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359468", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "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" ] } } [11:34:25]execute_script... [11:34: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 : (1)359468", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "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" ] } } [11:34:25]POST & json_proto [11:34:25]process_json_proto [11:34:25]json parsed OK: [11:34:25]protocol is kg_v1.0 [11:34:25]action value=close_receipt [11:34:25]process_action close_receipt [11:34:25]cmd_close_receipt [11:34:25]MH_GetDate [11:34:25]Write to MH i2c: F0 00 00 C6 1F D4 [11:34:25]Write i2c OK [11:34:25]MH_I2C_Read... [11:34:25]Read from MH i2c: F0 [11:34:25]MH_I2C_Read... [11:34:25]Read from MH i2c: F0 09 00 [11:34:25]MH_I2C_Read... [11:34:25]Read from MH i2c: F0 09 00 C6 1F 00 CA 84 12 66 2B 11 66 64 A9 [11:34:25]GetLastDocTimeStamp 1712488950 [11:34:25]current date 1712489674 [11:34:25]FM_GetShiftState [11:34:25]SAM_PROTO_GetShiftState [11:34:25]wFMCommunicate request_size=4 [11:34:25]MH_SAM_APDU [11:34:25]CAPDU: 80 13 01 00 [11:34:25]Write to MH i2c: E2 08 00 C7 1F 80 13 01 00 00 00 00 00 63 [11:34:25]Write i2c OK [11:34:25]MH_I2C_Read... [11:34:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:34:25]Read from MH i2c: E2 [11:34:25]MH_I2C_Read... [11:34:25]Read from MH i2c: E2 0E 00 [11:34:25]MH_I2C_Read... [11:34:25]Read from MH i2c: E2 0E 00 C7 1F 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 F7 [11:34:25]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [11:34:25]wFMCommunicate OK [11:34:25]SAM_PROTO_GetShiftState done [11:34:25]FM_GetShiftState done [11:34:25]opened in 1712450087 [11:34:25]opened+sec_in_day 1712536487 [11:34:25]quantity*price = 100045 [11:34:25]sum+1 = 100046 [11:34:25]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.45 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.24 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 24 07.04.2024 11:34 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26725 ФПД: 177624895119491 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T113434&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26725&fm=177624895119491&tin=02508201610067®Number=0000000000091578&sum=100000 [11:34:27]StoreToDocumentArchive [11:34:27]shift 313 fd 26725 [11:34:27]save to /storage/0313/doc_00026725 [11:34:27]save last doc name /storage/0313/doc_00026725 to /storage/kkm_last_doc_name [11:34:27]save OK [11:34:27]Clear old archive folders... [11:34:27]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:34:27]tlvbuf is 00EDF240 [11:34:27]SAM_PROTO_ClearQueue [11:34:27]wFMCommunicate request_size=4 [11:34:27]MH_SAM_APDU [11:34:27]CAPDU: 80 09 00 00 [11:34:27]Write to MH i2c: E2 08 00 D4 1F 80 09 00 00 00 00 00 00 65 [11:34:27]Write i2c OK [11:34:27]MH_I2C_Read... [11:34:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:34:27]Read from MH i2c: E2 [11:34:27]MH_I2C_Read... [11:34:27]Read from MH i2c: E2 03 00 [11:34:27]MH_I2C_Read... [11:34:27]Read from MH i2c: E2 03 00 D4 1F 00 90 00 67 [11:34:27]RAPDU: 90 00 [11:34:27]wFMCommunicate OK [11:34:27]SAM_PROTO_ClearQueue done [11:34:27]KKMCreateOFDPacket [11:34:27]OFDProtocolAddRootSTLVToBuf [11:34:27]FM_MakeSignedData [11:34:27]FM_MakeSignedData [11:34:27]SAM_PROTO_SignData [11:34:27]wFMCommunicate request_size=4 [11:34:27]MH_SAM_APDU [11:34:27]CAPDU: 80 0D 01 02 [11:34:27]Write to MH i2c: E2 08 00 D5 1F 80 0D 01 02 00 00 00 00 6D [11:34:27]Write i2c OK [11:34:27]MH_I2C_Read... [11:34:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:34:27]Read from MH i2c: E2 [11:34:27]MH_I2C_Read... [11:34:27]Read from MH i2c: E2 03 00 [11:34:27]MH_I2C_Read... [11:34:27]Read from MH i2c: E2 03 00 D5 1F 00 90 00 68 [11:34:27]RAPDU: 90 00 [11:34:27]wFMCommunicate OK [11:34:27]wFMCommunicate request_size=255 [11:34:27]MH_SAM_APDU [11:34:27]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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 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 18 00 00 00 F4 03 04 00 CA 84 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 65 68 00 00 35 04 06 00 A1 [11:34:27]Write to MH i2c: E2 02 01 D6 1F 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 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 18 00 00 00 F4 03 04 00 CA 84 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 65 68 00 00 35 04 06 00 A1 00 00 87 [11:34:27]Write i2c OK [11:34:27]MH_I2C_Read... [11:34:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:34:27]Read from MH i2c: E2 [11:34:27]MH_I2C_Read... [11:34:27]Read from MH i2c: E2 03 00 [11:34:27]MH_I2C_Read... [11:34:27]Read from MH i2c: E2 03 00 D6 1F 00 90 00 69 [11:34:27]RAPDU: 90 00 [11:34:27]wFMCommunicate OK [11:34:27]wFMCommunicate request_size=10 [11:34:27]MH_SAM_APDU [11:34:27]CAPDU: 80 0D 02 02 05 8C 84 C6 E0 83 [11:34:27]Write to MH i2c: E2 0D 00 D7 1F 80 0D 02 02 05 00 8C 84 C6 E0 83 00 00 B3 [11:34:27]Write i2c OK [11:34:27]MH_I2C_Read... [11:34:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:34:27]Read from MH i2c: E2 [11:34:27]MH_I2C_Read... [11:34:27]Read from MH i2c: E2 03 00 [11:34:27]MH_I2C_Read... [11:34:27]Read from MH i2c: E2 03 00 D7 1F 00 90 00 6A [11:34:27]RAPDU: 90 00 [11:34:27]wFMCommunicate OK [11:34:27]wFMCommunicate request_size=4 [11:34:27]MH_SAM_APDU [11:34:27]CAPDU: 80 0D 03 02 [11:34:27]Write to MH i2c: E2 08 00 D8 1F 80 0D 03 02 00 00 00 00 72 [11:34:27]Write i2c OK [11:34:27]MH_I2C_Read... [11:34:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:34:27]Read from MH i2c: E2 [11:34:27]MH_I2C_Read... [11:34:27]Read from MH i2c: E2 0B 00 [11:34:27]MH_I2C_Read... [11:34:27]Read from MH i2c: E2 0B 00 D8 1F 00 FD BD E2 FA 9F 06 17 64 90 00 29 [11:34:27]RAPDU: FD BD E2 FA 9F 06 17 64 90 00 [11:34:27]wFMCommunicate OK [11:34:27]SAM_PROTO_SignData done [11:34:27]FM_MakeSignedData done [11:34:27]CreateOFDProtocolMessage [11:34:27]wFMCommunicate request_size=4 [11:34:27]MH_SAM_APDU [11:34:27]CAPDU: 80 11 00 00 [11:34:27]Write to MH i2c: E2 08 00 D9 1F 80 11 00 00 00 00 00 00 72 [11:34:27]Write i2c OK [11:34:27]MH_I2C_Read... [11:34:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:34:27]Read from MH i2c: E2 [11:34:27]MH_I2C_Read... [11:34:27]Read from MH i2c: E2 17 00 [11:34:27]MH_I2C_Read... [11:34:27]Read from MH i2c: E2 17 00 D9 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 CA [11:34:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [11:34:27]wFMCommunicate OK [11:34:27]CreateOFDProtocolMessage done [11:34:27]OFDSenderStorePacket 26725 [11:34:27]StoreOFDPacket docnum=26725 [11:34:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 63 1E 07 01 C8 20 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 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 18 00 00 00 F4 03 04 00 CA 84 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 65 68 00 00 35 04 06 00 A1 8C 84 C6 E0 83 FD BD E2 FA 9F 06 17 64 [11:34:27]CheckFolder [11:34:27]dirname=/storage/ofd_packets [11:34:27]CheckFolder done [11:34:27]ProducePacketName [11:34:27]name=ofd_packets/00026725 [11:34:27]NVStorageSaveData ofd_packets/00026725 [11:34:27]File name is /storage/ofd_packets/00026725 [11:34:27]Write 301 bytes [11:34:27]NVStorageSaveData done [11:34:27]OFDSenderStorePacket done [11:34:27]KKMCreateOFDPacket done [11:34:27]NVStorageSaveData kkm_last_timestamp [11:34:27]File name is /storage/kkm_last_timestamp [11:34:27]Write 4 bytes [11:34:27]NVStorageSaveData done [11:34:27]ExternCall_PrintAddStr [11:34:27]wPrintStart [11:34:27]Write to MH i2c: 01 00 00 DA 1F F9 [11:34:27]OFD Sender: Processing packet 26725 [packets to send 44, broken 43] [11:34:27]ProducePacketName [11:34:27]name=ofd_packets/00026725 [11:34:27]OFD Sender: To server: pG, [11:34:27]CommunicateWithHost lk.salyk.kg:30040 [11:34:27]ConnectInit lk.salyk.kg [11:34:27]Write i2c OK [11:34:27]MH_I2C_Read... [11:34:27]Read from MH i2c: 01 [11:34:27]MH_I2C_Read... [11:34:27]Read from MH i2c: 01 07 00 [11:34:27]MH_I2C_Read... [11:34:27]Read from MH i2c: 01 07 00 DA 1F 00 00 00 00 00 FF 0F 0E [11:34:27]RasterBufferAndPrint [11:34:27]line Счет N : (1)359468 [11:34:27]line ИНН: 02508201610067 [11:34:27]line Контрольно-Кассовый Чек [11:34:27]line ПРОДАЖА [11:34:27]line ТРК (МРК, ГНК) : 51 [11:34:27]line Товар: 2710124130 [11:34:27]line Аи-92-К-5 [11:34:27]line 15.780 * 63.40 [11:34:27]line = 1000.45 [11:34:27]line НДС 12% НСП 1% [11:34:27]line > о реализуемом товаре [11:34:27]line ОКРУГЛЕНИЕ: -0.45 [11:34:27]line ИТОГО: 1000.00 [11:34:27]line Внесено: 1000.00 [11:34:27]line СДАЧА: 0.00 [11:34:27]line НСП 1% : 8.85 [11:34:27]line НДС 12% : 106.24 [11:34:27]line Наличными: 1000.00 [11:34:27]line Безнал.: 0.00 [11:34:27]line Место: АЗС № 122 "Партнер Нефть" [11:34:27]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [11:34:27]line СНО: Общий режим [11:34:27]line Чек 24 07.04.2024 11:34 [11:34:27]line Смена: 313 ФФД: 1.0 [11:34:27]line ЗНМ: 0300000147 [11:34:27]line РНМ: 0000000000091578 [11:34:27]line Версия ККМ: 001 [11:34:27]line ФМ: 0000000000874657 [11:34:27]line ФД: 26725 [11:34:27]line ФПД: 177624895119491 [11:34:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T113434&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26725&fm=177624895119491&tin=02508201610067®Number=0000000000091578&sum=100000 [11:34:27]Connected sock=11 [11:34: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 36 35 37 0F 01 00 00 63 1E 07 01 C8 20 5A 03 written 0, free lines is 4095 [11:34:27]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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 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 18 00 00 00 F4 03 04 00 CA 84 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 65 68 00 00 35 04 06 00 A1 8C 84 C6 E0 83 FD BD E2 FA 9F 06 17 64 [11:34:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 8F 0B 47 00 89 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 36 35 37 10 04 04 00 65 68 00 00 F4 03 04 00 38 2C 12 66 B6 04 01 00 00 E3 98 71 DB 2E C6 B3 90 [11:34:28]CommunicateWithHost err = 0 [11:34:28]CheckOFDResponse [11:34:28]1017 (14) - 77093643461234 [11:34:28]1041 (16) - 0000000000874657 [11:34:28]1040 (4) - 26725 [11:34:28]1012 (4) - 07.04.2024 05:16 [11:34:28]1206 (1) - 0 [11:34:28]OFD Sender: Remove packet 26725 [11:34:28]ProducePacketName [11:34:28]name=ofd_packets/00026725 [11:34:28]NVStorageDeleteData [11:34:28]Write to MH i2c: 01 00 00 05 20 25 [11:34:28]Write i2c OK [11:34:28]MH_I2C_Read... [11:34:28]Read from MH i2c: 01 [11:34:28]MH_I2C_Read... [11:34:28]Read from MH i2c: 01 07 00 [11:34:28]MH_I2C_Read... [11:34:28]Read from MH i2c: 01 07 00 05 20 00 00 00 00 00 86 0C BE [11:34:28]RasterBufferAndPrint [11:34:28]line [11:34:28]line [11:34:28]line [11:34:28]line [11:34:28]line [11:34:28]written 0, free lines is 3210 [11:34:28]MH_Cut [11:34:28]Write to MH i2c: D1 01 00 0C 20 01 FE [11:34:28]Write i2c OK [11:34:28]MH_I2C_Read... [11:34:28]Read from MH i2c: D1 [11:34:28]MH_I2C_Read... [11:34:28]Read from MH i2c: D1 01 00 [11:34:28]MH_I2C_Read... [11:34:28]Read from MH i2c: D1 01 00 0C 20 00 FD [11:34:28]Write to MH i2c: 01 00 00 0D 20 2D [11:34:28]Write i2c OK [11:34:28]MH_I2C_Read... [11:34:28]OFD Sender: No OFD packet to send [11:34:29]*** Cut start [11:34:29]*** Partial cut [11:34:29]*** CUTSNS_PIN = 1 [11:34:29]*** CUTSNS_PIN = 0 [11:34:29]*** Brake cut motor [11:34:30]Read from MH i2c: 01 [11:34:30]MH_I2C_Read... [11:34:30]*** Stop cut motor [11:34:30]*** Cut end [11:34:30]Read from MH i2c: 01 07 00 [11:34:30]MH_I2C_Read... [11:34:30]Read from MH i2c: 01 07 00 0D 20 00 00 00 00 00 FF 0F 42 [11:34:30]process_action close_receipt done [11:34:30]requested_data is exist [11:34:30]produce_requested_data [11:34:30]requested_item fm.sn is exist - process it [11:34:30]wFMCommunicate request_size=4 [11:34:30]MH_SAM_APDU [11:34:30]CAPDU: 80 11 00 00 [11:34:30]Write to MH i2c: E2 08 00 0E 20 80 11 00 00 00 00 00 00 A8 [11:34:30]Write i2c OK [11:34:30]MH_I2C_Read... [11:34:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:34:30]Read from MH i2c: E2 [11:34:30]MH_I2C_Read... [11:34:30]Read from MH i2c: E2 17 00 [11:34:30]MH_I2C_Read... [11:34:30]Read from MH i2c: E2 17 00 0E 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 00 [11:34:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [11:34:30]wFMCommunicate OK [11:34:30]requested_item fd.num is exist - process it [11:34:30]SAM_PROTO_GetFieldsCounters [11:34:30]wFMCommunicate request_size=4 [11:34:30]MH_SAM_APDU [11:34:30]CAPDU: 80 13 00 00 [11:34:30]Write to MH i2c: E2 08 00 0F 20 80 13 00 00 00 00 00 00 AB [11:34:30]Write i2c OK [11:34:30]MH_I2C_Read... [11:34:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:34:30]Read from MH i2c: E2 [11:34:30]MH_I2C_Read... [11:34:30]Read from MH i2c: E2 62 00 [11:34:30]MH_I2C_Read... [11:34:30]Read from MH i2c: E2 62 00 0F 20 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 65 68 00 00 0E 04 04 00 39 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 25 [11:34: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 65 68 00 00 0E 04 04 00 39 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 [11:34:30]wFMCommunicate OK [11:34:30]SAM_PROTO_GetFieldsCounters done [11:34:30]requested_item shift.num is exist - process it [11:34:30]requested_item shift.opened is exist - process it [11:34:30]req_shift_opened [11:34:30]FM_GetShiftState [11:34:30]SAM_PROTO_GetShiftState [11:34:30]wFMCommunicate request_size=4 [11:34:30]MH_SAM_APDU [11:34:30]CAPDU: 80 13 01 00 [11:34:30]Write to MH i2c: E2 08 00 10 20 80 13 01 00 00 00 00 00 AD [11:34:30]Write i2c OK [11:34:30]MH_I2C_Read... [11:34:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:34:30]Read from MH i2c: E2 [11:34:30]MH_I2C_Read... [11:34:30]Read from MH i2c: E2 0E 00 [11:34:30]MH_I2C_Read... [11:34:30]Read from MH i2c: E2 0E 00 10 20 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 41 [11:34:30]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [11:34:30]wFMCommunicate OK [11:34:30]SAM_PROTO_GetShiftState done [11:34:30]FM_GetShiftState done [11:34:30]req_shift_opened done [11:34:30]requested_item shift.open_date is exist - process it [11:34:30]req_shift_open_date [11:34:30]req_shift_open_date done [11:34:30]produce_requested_data done [11:34:30]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26725,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [11:34:30]process_action_free close_receipt [11:34:30]json_value_free [11:34:30]json_value_free done [11:34:30]process_json_proto returns [11:34:30]Send response to host [11:34:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26725,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [11:34:30]free response buf [11:34:30]execute_script done [11:34:30]execute_script returns [11:34:30]free content buf [11:34:30]Sock 10.Close socket [11:34:30]Sock 10.Thread stoped [11:34:33]OFD Sender: No OFD packet to send [11:34:38]OFD Sender: No OFD packet to send [11:34:43]OFD Sender: No OFD packet to send [11:34:48]OFD Sender: No OFD packet to send [11:34:53]OFD Sender: No OFD packet to send [11:34:58]OFD Sender: No OFD packet to send [11:35:03]OFD Sender: No OFD packet to send [11:35:08]OFD Sender: No OFD packet to send [11:35:13]OFD Sender: No OFD packet to send [11:35:18]OFD Sender: No OFD packet to send [11:35:23]OFD Sender: No OFD packet to send [11:35:28]OFD Sender: No OFD packet to send [11:35:33]OFD Sender: No OFD packet to send [11:35:38]OFD Sender: No OFD packet to send [11:35:43]OFD Sender: No OFD packet to send [11:35:48]OFD Sender: No OFD packet to send [11:35:53]OFD Sender: No OFD packet to send [11:35:58]OFD Sender: No OFD packet to send [11:36:03]OFD Sender: No OFD packet to send [11:36:08]OFD Sender: No OFD packet to send [11:36:13]OFD Sender: No OFD packet to send [11:36:18]OFD Sender: No OFD packet to send [11:36:23]OFD Sender: No OFD packet to send [11:36:28]OFD Sender: No OFD packet to send [11:36:33]OFD Sender: No OFD packet to send [11:36:38]OFD Sender: No OFD packet to send [11:36:43]OFD Sender: No OFD packet to send [11:36:48]OFD Sender: No OFD packet to send [11:36:53]OFD Sender: No OFD packet to send [11:36:55]accept exits with 8 [11:36:55]New connection [11:36:55]New thread 3067014500 created [11:36:55]Thread 3066871140 joined [11:36:55]Waiting for new connection... [11:36:55] Sock 8.Parse request [11:36:55]Sock 8.Check first char [11:36:55]Sock 8.First char is OK [11:36:55]request: POST /json_proto HTTP/1.0 [11:36:55]Method: POST [11:36:55]URL: /json_proto [11:36:55]Method is POST - this is cgi request [11:36:55]url: /json_proto [11:36:55]query_string will be loaded in cgi processing [11:36:55]execute_cgi json_proto POST (null) [11:36:55]execute_cgi path=json_proto method=POST [11:36:55]POST find Content-Length [11:36:55]Host: 172.17.35.3:8080 [11:36:55]Content-Length: 687 [11:36:55]Content-Type: application/json [11:36:55] [11:36:55]POST finish read [11:36:55]Found Content-Length = 687 [11:36:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359469", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "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" ] } } [11:36:55]execute_script... [11:36: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 : (1)359469", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "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" ] } } [11:36:55]POST & json_proto [11:36:55]process_json_proto [11:36:55]json parsed OK: [11:36:55]protocol is kg_v1.0 [11:36:55]action value=close_receipt [11:36:55]process_action close_receipt [11:36:55]cmd_close_receipt [11:36:55]MH_GetDate [11:36:55]Write to MH i2c: F0 00 00 11 20 20 [11:36:55]Write i2c OK [11:36:55]MH_I2C_Read... [11:36:55]Read from MH i2c: F0 [11:36:55]MH_I2C_Read... [11:36:55]Read from MH i2c: F0 09 00 [11:36:55]MH_I2C_Read... [11:36:55]Read from MH i2c: F0 09 00 11 20 00 60 85 12 66 2B 11 66 64 8C [11:36:55]GetLastDocTimeStamp 1712489674 [11:36:55]current date 1712489824 [11:36:55]FM_GetShiftState [11:36:55]SAM_PROTO_GetShiftState [11:36:55]wFMCommunicate request_size=4 [11:36:55]MH_SAM_APDU [11:36:55]CAPDU: 80 13 01 00 [11:36:55]Write to MH i2c: E2 08 00 12 20 80 13 01 00 00 00 00 00 AF [11:36:55]Write i2c OK [11:36:55]MH_I2C_Read... [11:36:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:36:55]Read from MH i2c: E2 [11:36:55]MH_I2C_Read... [11:36:55]Read from MH i2c: E2 0E 00 [11:36:55]MH_I2C_Read... [11:36:55]Read from MH i2c: E2 0E 00 12 20 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 43 [11:36:55]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [11:36:55]wFMCommunicate OK [11:36:55]SAM_PROTO_GetShiftState done [11:36:55]FM_GetShiftState done [11:36:55]opened in 1712450087 [11:36:55]opened+sec_in_day 1712536487 [11:36:55]quantity*price = 100017 [11:36:55]sum+1 = 100018 [11:36:55]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.17 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.21 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 25 07.04.2024 11:37 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26726 ФПД: 168925629914428 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T113704&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26726&fm=168925629914428&tin=02508201610067®Number=0000000000091578&sum=100000 [11:36:56]StoreToDocumentArchive [11:36:56]shift 313 fd 26726 [11:36:56]save to /storage/0313/doc_00026726 [11:36:56]save last doc name /storage/0313/doc_00026726 to /storage/kkm_last_doc_name [11:36:56]save OK [11:36:56]Clear old archive folders... [11:36:56]ProcessDocumentItem done err = 0, tmpTLVsize=252 [11:36:56]tlvbuf is 00E296F0 [11:36:56]SAM_PROTO_ClearQueue [11:36:56]wFMCommunicate request_size=4 [11:36:56]MH_SAM_APDU [11:36:56]CAPDU: 80 09 00 00 [11:36:56]Write to MH i2c: E2 08 00 1F 20 80 09 00 00 00 00 00 00 B1 [11:36:56]Write i2c OK [11:36:56]MH_I2C_Read... [11:36:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:36:56]Read from MH i2c: E2 [11:36:56]MH_I2C_Read... [11:36:56]Read from MH i2c: E2 03 00 [11:36:56]MH_I2C_Read... [11:36:56]Read from MH i2c: E2 03 00 1F 20 00 90 00 B3 [11:36:56]RAPDU: 90 00 [11:36:56]wFMCommunicate OK [11:36:56]SAM_PROTO_ClearQueue done [11:36:56]KKMCreateOFDPacket [11:36:56]OFDProtocolAddRootSTLVToBuf [11:36:56]FM_MakeSignedData [11:36:56]FM_MakeSignedData [11:36:56]SAM_PROTO_SignData [11:36:56]wFMCommunicate request_size=4 [11:36:56]MH_SAM_APDU [11:36:56]CAPDU: 80 0D 01 02 [11:36:56]Write to MH i2c: E2 08 00 20 20 80 0D 01 02 00 00 00 00 B9 [11:36:56]Write i2c OK [11:36:56]MH_I2C_Read... [11:36:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:36:56]Read from MH i2c: E2 [11:36:56]MH_I2C_Read... [11:36:56]Read from MH i2c: E2 03 00 [11:36:56]MH_I2C_Read... [11:36:56]Read from MH i2c: E2 03 00 20 20 00 90 00 B4 [11:36:56]RAPDU: 90 00 [11:36:56]wFMCommunicate OK [11:36:56]wFMCommunicate request_size=255 [11:36:56]MH_SAM_APDU [11:36:56]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 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 7D 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 19 00 00 00 F4 03 04 00 60 85 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 66 68 00 00 35 04 06 00 [11:36:56]Write to MH i2c: E2 02 01 21 20 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 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 7D 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 19 00 00 00 F4 03 04 00 60 85 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 66 68 00 00 35 04 06 00 00 00 F2 [11:36:56]Write i2c OK [11:36:56]MH_I2C_Read... [11:36:56]Read from MH i2c: E2 [11:36:56]MH_I2C_Read... [11:36:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:36:56]Read from MH i2c: E2 03 00 [11:36:56]MH_I2C_Read... [11:36:56]Read from MH i2c: E2 03 00 21 20 00 90 00 B5 [11:36:56]RAPDU: 90 00 [11:36:56]wFMCommunicate OK [11:36:56]wFMCommunicate request_size=11 [11:36:56]MH_SAM_APDU [11:36:56]CAPDU: 80 0D 02 02 06 99 A3 10 2A 1D 3C [11:36:56]Write to MH i2c: E2 0E 00 22 20 80 0D 02 02 06 00 99 A3 10 2A 1D 3C 00 00 97 [11:36:56]Write i2c OK [11:36:56]MH_I2C_Read... [11:36:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:36:56]Read from MH i2c: E2 [11:36:56]MH_I2C_Read... [11:36:56]Read from MH i2c: E2 03 00 [11:36:56]MH_I2C_Read... [11:36:56]Read from MH i2c: E2 03 00 22 20 00 90 00 B6 [11:36:56]RAPDU: 90 00 [11:36:56]wFMCommunicate OK [11:36:56]wFMCommunicate request_size=4 [11:36:56]MH_SAM_APDU [11:36:56]CAPDU: 80 0D 03 02 [11:36:56]Write to MH i2c: E2 08 00 23 20 80 0D 03 02 00 00 00 00 BE [11:36:56]Write i2c OK [11:36:56]MH_I2C_Read... [11:36:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:36:56]Read from MH i2c: E2 [11:36:56]MH_I2C_Read... [11:36:56]Read from MH i2c: E2 0B 00 [11:36:56]MH_I2C_Read... [11:36:56]Read from MH i2c: E2 0B 00 23 20 00 ED 12 A8 CA 27 1E D4 05 90 00 4E [11:36:56]RAPDU: ED 12 A8 CA 27 1E D4 05 90 00 [11:36:56]wFMCommunicate OK [11:36:56]SAM_PROTO_SignData done [11:36:56]FM_MakeSignedData done [11:36:56]CreateOFDProtocolMessage [11:36:56]wFMCommunicate request_size=4 [11:36:56]MH_SAM_APDU [11:36:56]CAPDU: 80 11 00 00 [11:36:56]Write to MH i2c: E2 08 00 24 20 80 11 00 00 00 00 00 00 BE [11:36:56]Write i2c OK [11:36:56]MH_I2C_Read... [11:36:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:36:56]Read from MH i2c: E2 [11:36:56]MH_I2C_Read... [11:36:56]Read from MH i2c: E2 17 00 [11:36:56]MH_I2C_Read... [11:36:56]Read from MH i2c: E2 17 00 24 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 16 [11:36:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [11:36:56]wFMCommunicate OK [11:36:56]CreateOFDProtocolMessage done [11:36:56]OFDSenderStorePacket 26726 [11:36:56]StoreOFDPacket docnum=26726 [11:36:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 13 63 08 01 AF 21 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 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 7D 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 19 00 00 00 F4 03 04 00 60 85 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 66 68 00 00 35 04 06 00 99 A3 10 2A 1D 3C ED 12 A8 CA 27 1E D4 05 [11:36:56]CheckFolder [11:36:56]dirname=/storage/ofd_packets [11:36:56]CheckFolder done [11:36:56]ProducePacketName [11:36:56]name=ofd_packets/00026726 [11:36:56]NVStorageSaveData ofd_packets/00026726 [11:36:56]File name is /storage/ofd_packets/00026726 [11:36:56]Write 302 bytes [11:36:56]NVStorageSaveData done [11:36:56]OFDSenderStorePacket done [11:36:56]KKMCreateOFDPacket done [11:36:56]NVStorageSaveData kkm_last_timestamp [11:36:56]File name is /storage/kkm_last_timestamp [11:36:56]Write 4 bytes [11:36:56]NVStorageSaveData done [11:36:56]ExternCall_PrintAddStr [11:36:56]wPrintStart [11:36:56]Write to MH i2c: 01 00 00 25 20 45 [11:36:56]Write i2c OK [11:36:56]MH_I2C_Read... [11:36:56]Read from MH i2c: 01 [11:36:56]MH_I2C_Read... [11:36:56]Read from MH i2c: 01 07 00 [11:36:56]MH_I2C_Read... [11:36:56]Read from MH i2c: 01 07 00 25 20 00 00 00 00 00 FF 0F 5A [11:36:56]RasterBufferAndPrint [11:36:56]line Счет N : (1)359469 [11:36:56]line ИНН: 02508201610067 [11:36:56]line Контрольно-Кассовый Чек [11:36:56]line ПРОДАЖА [11:36:56]line ТРК (МРК, ГНК) : 21 [11:36:56]line Товар: 2710194210 [11:36:56]line ДТ(л)-К-5 [11:36:56]line 13.930 * 71.80 [11:36:56]line = 1000.17 [11:36:56]line НДС 12% НСП 1% [11:36:56]line > о реализуемом товаре [11:36:56]line ОКРУГЛЕНИЕ: -0.17 [11:36:56]line ИТОГО: 1000.00 [11:36:56]line Внесено: 1000.00 [11:36:56]line СДАЧА: 0.00 [11:36:56]line НСП 1% : 8.85 [11:36:56]line НДС 12% : 106.21 [11:36:56]line Наличными: 1000.00 [11:36:56]line Безнал.: 0.00 [11:36:56]line Место: АЗС № 122 "Партнер Нефть" [11:36:56]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [11:36:56]line СНО: Общий режим [11:36:56]line Чек 25 07.04.2024 11:37 [11:36:56]line Смена: 313 ФФД: 1.0 [11:36:56]line ЗНМ: 0300000147 [11:36:56]line РНМ: 0000000000091578 [11:36:56]line Версия ККМ: 001 [11:36:56]line ФМ: 0000000000874657 [11:36:56]line ФД: 26726 [11:36:56]line ФПД: 168925629914428 [11:36:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T113704&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26726&fm=168925629914428&tin=02508201610067®Number=0000000000091578&sum=100000 [11:36:57]OFD Sender: Processing packet 26726 [packets to send 44, broken 43] [11:36:57]ProducePacketName [11:36:57]name=ofd_packets/00026726 [11:36:57]OFD Sender: To server: pG, [11:36:57]CommunicateWithHost lk.salyk.kg:30040 [11:36:57]ConnectInit lk.salyk.kg [11:36:57]written 0, free lines is 4095 [11:36:57]Connected sock=10 [11:36: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 36 35 37 10 01 00 00 13 63 08 01 AF 21 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 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 7D 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 19 00 00 00 F4 03 04 00 60 85 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 66 68 00 00 35 04 06 00 99 A3 10 2A 1D 3C ED 12 A8 CA 27 1E D4 05 [11:36:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 F4 94 47 00 F7 2E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 37 10 04 04 00 66 68 00 00 F4 03 04 00 CD 2C 12 66 B6 04 01 00 00 20 35 25 C6 CD B3 67 8F [11:36:57]CommunicateWithHost err = 0 [11:36:57]CheckOFDResponse [11:36:57]1017 (14) - 77093643461234 [11:36:57]1041 (16) - 0000000000874657 [11:36:57]1040 (4) - 26726 [11:36:57]1012 (4) - 07.04.2024 05:19 [11:36:57]1206 (1) - 0 [11:36:57]OFD Sender: Remove packet 26726 [11:36:57]ProducePacketName [11:36:57]name=ofd_packets/00026726 [11:36:57]NVStorageDeleteData [11:36:57]Write to MH i2c: 01 00 00 50 20 70 [11:36:57]Write i2c OK [11:36:57]MH_I2C_Read... [11:36:57]Read from MH i2c: 01 [11:36:57]MH_I2C_Read... [11:36:57]Read from MH i2c: 01 07 00 [11:36:57]MH_I2C_Read... [11:36:57]Read from MH i2c: 01 07 00 50 20 00 00 00 00 00 8C 0C 0F [11:36:57]RasterBufferAndPrint [11:36:57]line [11:36:57]line [11:36:57]line [11:36:57]line [11:36:57]line [11:36:57]written 0, free lines is 3218 [11:36:57]MH_Cut [11:36:57]Write to MH i2c: D1 01 00 57 20 01 49 [11:36:57]Write i2c OK [11:36:57]MH_I2C_Read... [11:36:57]Read from MH i2c: D1 [11:36:57]MH_I2C_Read... [11:36:57]Read from MH i2c: D1 01 00 [11:36:57]MH_I2C_Read... [11:36:57]Read from MH i2c: D1 01 00 57 20 00 48 [11:36:57]Write to MH i2c: 01 00 00 58 20 78 [11:36:57]Write i2c OK [11:36:57]MH_I2C_Read... [11:36:58]OFD Sender: No OFD packet to send [11:36:58]*** Cut start [11:36:58]*** Partial cut [11:36:58]*** CUTSNS_PIN = 1 [11:36:58]*** CUTSNS_PIN = 0 [11:36:59]*** Brake cut motor [11:36:59]Read from MH i2c: 01 [11:36:59]MH_I2C_Read... [11:36:59]*** Stop cut motor [11:36:59]*** Cut end [11:36:59]Read from MH i2c: 01 07 00 [11:36:59]MH_I2C_Read... [11:36:59]Read from MH i2c: 01 07 00 58 20 00 00 00 00 00 FF 0F 8D [11:36:59]process_action close_receipt done [11:36:59]requested_data is exist [11:36:59]produce_requested_data [11:36:59]requested_item fm.sn is exist - process it [11:36:59]wFMCommunicate request_size=4 [11:36:59]MH_SAM_APDU [11:36:59]CAPDU: 80 11 00 00 [11:36:59]Write to MH i2c: E2 08 00 59 20 80 11 00 00 00 00 00 00 F3 [11:36:59]Write i2c OK [11:36:59]MH_I2C_Read... [11:36:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:36:59]Read from MH i2c: E2 [11:36:59]MH_I2C_Read... [11:36:59]Read from MH i2c: E2 17 00 [11:36:59]MH_I2C_Read... [11:36:59]Read from MH i2c: E2 17 00 59 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 4B [11:36:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [11:36:59]wFMCommunicate OK [11:36:59]requested_item fd.num is exist - process it [11:36:59]SAM_PROTO_GetFieldsCounters [11:36:59]wFMCommunicate request_size=4 [11:36:59]MH_SAM_APDU [11:36:59]CAPDU: 80 13 00 00 [11:36:59]Write to MH i2c: E2 08 00 5A 20 80 13 00 00 00 00 00 00 F6 [11:36:59]Write i2c OK [11:36:59]MH_I2C_Read... [11:36:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:36:59]Read from MH i2c: E2 [11:36:59]MH_I2C_Read... [11:36:59]Read from MH i2c: E2 62 00 [11:36:59]MH_I2C_Read... [11:36:59]Read from MH i2c: E2 62 00 5A 20 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 66 68 00 00 0E 04 04 00 39 01 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 74 [11:36: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 66 68 00 00 0E 04 04 00 39 01 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:36:59]wFMCommunicate OK [11:36:59]SAM_PROTO_GetFieldsCounters done [11:36:59]requested_item shift.num is exist - process it [11:36:59]requested_item shift.opened is exist - process it [11:36:59]req_shift_opened [11:36:59]FM_GetShiftState [11:36:59]SAM_PROTO_GetShiftState [11:36:59]wFMCommunicate request_size=4 [11:36:59]MH_SAM_APDU [11:36:59]CAPDU: 80 13 01 00 [11:36:59]Write to MH i2c: E2 08 00 5B 20 80 13 01 00 00 00 00 00 F8 [11:36:59]Write i2c OK [11:36:59]MH_I2C_Read... [11:36:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:36:59]Read from MH i2c: E2 [11:36:59]MH_I2C_Read... [11:36:59]Read from MH i2c: E2 0E 00 [11:36:59]MH_I2C_Read... [11:36:59]Read from MH i2c: E2 0E 00 5B 20 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 8C [11:36:59]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [11:36:59]wFMCommunicate OK [11:36:59]SAM_PROTO_GetShiftState done [11:36:59]FM_GetShiftState done [11:36:59]req_shift_opened done [11:36:59]requested_item shift.open_date is exist - process it [11:36:59]req_shift_open_date [11:36:59]req_shift_open_date done [11:36:59]produce_requested_data done [11:36:59]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26726,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [11:36:59]process_action_free close_receipt [11:36:59]json_value_free [11:36:59]json_value_free done [11:36:59]process_json_proto returns [11:36:59]Send response to host [11:36:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26726,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [11:36:59]free response buf [11:36:59]execute_script done [11:36:59]execute_script returns [11:36:59]free content buf [11:36:59]Sock 8.Close socket [11:36:59]Sock 8.Thread stoped [11:37:03]OFD Sender: No OFD packet to send [11:37:08]OFD Sender: No OFD packet to send [11:37:13]OFD Sender: No OFD packet to send [11:37:18]OFD Sender: No OFD packet to send [11:37:23]OFD Sender: No OFD packet to send [11:37:28]OFD Sender: No OFD packet to send [11:37:33]OFD Sender: No OFD packet to send [11:37:38]OFD Sender: No OFD packet to send [11:37:43]OFD Sender: No OFD packet to send [11:37:48]OFD Sender: No OFD packet to send [11:37:53]OFD Sender: No OFD packet to send [11:37:58]OFD Sender: No OFD packet to send [11:38:03]OFD Sender: No OFD packet to send [11:38:08]OFD Sender: No OFD packet to send [11:38:13]OFD Sender: No OFD packet to send [11:38:18]OFD Sender: No OFD packet to send [11:38:23]OFD Sender: No OFD packet to send [11:38:28]OFD Sender: No OFD packet to send [11:38:33]OFD Sender: No OFD packet to send [11:38:38]OFD Sender: No OFD packet to send [11:38:43]OFD Sender: No OFD packet to send [11:38:48]OFD Sender: No OFD packet to send [11:38:53]OFD Sender: No OFD packet to send [11:38:58]OFD Sender: No OFD packet to send [11:39:03]OFD Sender: No OFD packet to send [11:39:08]OFD Sender: No OFD packet to send [11:39:13]OFD Sender: No OFD packet to send [11:39:18]OFD Sender: No OFD packet to send [11:39:23]OFD Sender: No OFD packet to send [11:39:28]OFD Sender: No OFD packet to send [11:39:29]accept exits with 9 [11:39:29]New connection [11:39:29]New thread 3066871140 created [11:39:29]Thread 3067014500 joined [11:39:29]Waiting for new connection... [11:39:29] Sock 9.Parse request [11:39:29]Sock 9.Check first char [11:39:29]Sock 9.First char is OK [11:39:29]request: POST /json_proto HTTP/1.0 [11:39:29]Method: POST [11:39:29]URL: /json_proto [11:39:29]Method is POST - this is cgi request [11:39:29]url: /json_proto [11:39:29]query_string will be loaded in cgi processing [11:39:29]execute_cgi json_proto POST (null) [11:39:29]execute_cgi path=json_proto method=POST [11:39:29]POST find Content-Length [11:39:29]Host: 172.17.35.3:8080 [11:39:29]Content-Length: 678 [11:39:29]Content-Type: application/json [11:39:29] [11:39:29]POST finish read [11:39:29]Found Content-Length = 678 [11:39:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359470", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 11.050, "sum" : 700.57, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 700.00, "total" : 700.00, "payments": [ { "type": 0, "sum" : 700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:39:29]execute_script... [11:39: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)359470", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 11.050, "sum" : 700.57, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 700.00, "total" : 700.00, "payments": [ { "type": 0, "sum" : 700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:39:29]POST & json_proto [11:39:29]process_json_proto [11:39:29]json parsed OK: [11:39:29]protocol is kg_v1.0 [11:39:29]action value=close_receipt [11:39:29]process_action close_receipt [11:39:29]cmd_close_receipt [11:39:29]MH_GetDate [11:39:29]Write to MH i2c: F0 00 00 5C 20 6B [11:39:29]Write i2c OK [11:39:29]MH_I2C_Read... [11:39:29]Read from MH i2c: F0 [11:39:29]MH_I2C_Read... [11:39:29]Read from MH i2c: F0 09 00 [11:39:29]MH_I2C_Read... [11:39:29]Read from MH i2c: F0 09 00 5C 20 00 FA 85 12 66 2B 11 66 64 71 [11:39:29]GetLastDocTimeStamp 1712489824 [11:39:29]current date 1712489978 [11:39:29]FM_GetShiftState [11:39:29]SAM_PROTO_GetShiftState [11:39:29]wFMCommunicate request_size=4 [11:39:29]MH_SAM_APDU [11:39:29]CAPDU: 80 13 01 00 [11:39:29]Write to MH i2c: E2 08 00 5D 20 80 13 01 00 00 00 00 00 FA [11:39:29]Write i2c OK [11:39:29]MH_I2C_Read... [11:39:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:39:29]Read from MH i2c: E2 [11:39:29]MH_I2C_Read... [11:39:29]Read from MH i2c: E2 0E 00 [11:39:29]MH_I2C_Read... [11:39:29]Read from MH i2c: E2 0E 00 5D 20 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 8E [11:39:29]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [11:39:29]wFMCommunicate OK [11:39:29]SAM_PROTO_GetShiftState done [11:39:29]FM_GetShiftState done [11:39:29]opened in 1712450087 [11:39:29]opened+sec_in_day 1712536487 [11:39:29]quantity*price = 70057 [11:39:29]sum+1 = 70058 [11:39:29]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.57 ИТОГО: 700.00 Внесено: 700.00 СДАЧА: 0.00 НСП 1% : 6.20 НДС 12% : 74.40 Наличными: 700.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 26 07.04.2024 11:39 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26727 ФПД: 252834593226155 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T113938&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26727&fm=252834593226155&tin=02508201610067®Number=0000000000091578&sum=70000 [11:39:30]StoreToDocumentArchive [11:39:30]shift 313 fd 26727 [11:39:30]save to /storage/0313/doc_00026727 [11:39:30]save last doc name /storage/0313/doc_00026727 to /storage/kkm_last_doc_name [11:39:30]save OK [11:39:30]Clear old archive folders... [11:39:30]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:39:30]tlvbuf is B6EB7710 [11:39:30]SAM_PROTO_ClearQueue [11:39:30]wFMCommunicate request_size=4 [11:39:30]MH_SAM_APDU [11:39:30]CAPDU: 80 09 00 00 [11:39:30]Write to MH i2c: E2 08 00 6A 20 80 09 00 00 00 00 00 00 FC [11:39:30]Write i2c OK [11:39:30]MH_I2C_Read... [11:39:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:39:30]Read from MH i2c: E2 [11:39:30]MH_I2C_Read... [11:39:30]Read from MH i2c: E2 03 00 [11:39:30]MH_I2C_Read... [11:39:30]Read from MH i2c: E2 03 00 6A 20 00 90 00 FE [11:39:30]RAPDU: 90 00 [11:39:30]wFMCommunicate OK [11:39:30]SAM_PROTO_ClearQueue done [11:39:30]KKMCreateOFDPacket [11:39:30]OFDProtocolAddRootSTLVToBuf [11:39:30]FM_MakeSignedData [11:39:30]FM_MakeSignedData [11:39:30]SAM_PROTO_SignData [11:39:30]wFMCommunicate request_size=4 [11:39:30]MH_SAM_APDU [11:39:30]CAPDU: 80 0D 01 02 [11:39:30]Write to MH i2c: E2 08 00 6B 20 80 0D 01 02 00 00 00 00 04 [11:39:30]Write i2c OK [11:39:30]MH_I2C_Read... [11:39:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:39:30]Read from MH i2c: E2 [11:39:30]MH_I2C_Read... [11:39:30]Read from MH i2c: E2 03 00 [11:39:30]MH_I2C_Read... [11:39:30]Read from MH i2c: E2 03 00 6B 20 00 90 00 FF [11:39:30]RAPDU: 90 00 [11:39:30]wFMCommunicate OK [11:39:30]wFMCommunicate request_size=255 [11:39:30]MH_SAM_APDU [11:39: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 2A 2B 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 A9 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 10 1D 00 00 00 00 07 04 06 00 70 11 01 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 FA 85 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 67 68 00 00 35 04 06 00 E5 [11:39:30]Write to MH i2c: E2 02 01 6C 20 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 2A 2B 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 A9 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 10 1D 00 00 00 00 07 04 06 00 70 11 01 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 FA 85 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 67 68 00 00 35 04 06 00 E5 00 00 A2 [11:39:30]Write i2c OK [11:39:30]MH_I2C_Read... [11:39:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:39:31]Read from MH i2c: E2 [11:39:31]MH_I2C_Read... [11:39:31]Read from MH i2c: E2 03 00 [11:39:31]MH_I2C_Read... [11:39:31]Read from MH i2c: E2 03 00 6C 20 00 90 00 00 [11:39:31]RAPDU: 90 00 [11:39:31]wFMCommunicate OK [11:39:31]wFMCommunicate request_size=10 [11:39:31]MH_SAM_APDU [11:39:31]CAPDU: 80 0D 02 02 05 F3 A4 1D BD AB [11:39:31]Write to MH i2c: E2 0D 00 6D 20 80 0D 02 02 05 00 F3 A4 1D BD AB 00 00 2D [11:39:31]Write i2c OK [11:39:31]MH_I2C_Read... [11:39:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:39:31]Read from MH i2c: E2 [11:39:31]MH_I2C_Read... [11:39:31]Read from MH i2c: E2 03 00 [11:39:31]MH_I2C_Read... [11:39:31]Read from MH i2c: E2 03 00 6D 20 00 90 00 01 [11:39:31]RAPDU: 90 00 [11:39:31]wFMCommunicate OK [11:39:31]wFMCommunicate request_size=4 [11:39:31]MH_SAM_APDU [11:39:31]CAPDU: 80 0D 03 02 [11:39:31]Write to MH i2c: E2 08 00 6E 20 80 0D 03 02 00 00 00 00 09 [11:39:31]Write i2c OK [11:39:31]MH_I2C_Read... [11:39:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:39:31]Read from MH i2c: E2 [11:39:31]MH_I2C_Read... [11:39:31]Read from MH i2c: E2 0B 00 [11:39:31]MH_I2C_Read... [11:39:31]Read from MH i2c: E2 0B 00 6E 20 00 AB 8F BB 8A 63 5D 40 43 90 00 CC [11:39:31]RAPDU: AB 8F BB 8A 63 5D 40 43 90 00 [11:39:31]wFMCommunicate OK [11:39:31]SAM_PROTO_SignData done [11:39:31]FM_MakeSignedData done [11:39:31]CreateOFDProtocolMessage [11:39:31]wFMCommunicate request_size=4 [11:39:31]MH_SAM_APDU [11:39:31]CAPDU: 80 11 00 00 [11:39:31]Write to MH i2c: E2 08 00 6F 20 80 11 00 00 00 00 00 00 09 [11:39:31]Write i2c OK [11:39:31]MH_I2C_Read... [11:39:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:39:31]Read from MH i2c: E2 [11:39:31]MH_I2C_Read... [11:39:31]Read from MH i2c: E2 17 00 [11:39:31]MH_I2C_Read... [11:39:31]Read from MH i2c: E2 17 00 6F 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 61 [11:39:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [11:39:31]wFMCommunicate OK [11:39:31]CreateOFDProtocolMessage done [11:39:31]OFDSenderStorePacket 26727 [11:39:31]StoreOFDPacket docnum=26727 [11:39:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 14 4D 07 01 B2 CA 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 2A 2B 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 A9 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 10 1D 00 00 00 00 07 04 06 00 70 11 01 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 FA 85 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 67 68 00 00 35 04 06 00 E5 F3 A4 1D BD AB AB 8F BB 8A 63 5D 40 43 [11:39:31]CheckFolder [11:39:31]dirname=/storage/ofd_packets [11:39:31]CheckFolder done [11:39:31]ProducePacketName [11:39:31]name=ofd_packets/00026727 [11:39:31]NVStorageSaveData ofd_packets/00026727 [11:39:31]File name is /storage/ofd_packets/00026727 [11:39:31]Write 301 bytes [11:39:31]NVStorageSaveData done [11:39:31]OFDSenderStorePacket done [11:39:31]KKMCreateOFDPacket done [11:39:31]NVStorageSaveData kkm_last_timestamp [11:39:31]File name is /storage/kkm_last_timestamp [11:39:31]Write 4 bytes [11:39:31]NVStorageSaveData done [11:39:31]ExternCall_PrintAddStr [11:39:31]wPrintStart [11:39:31]Write to MH i2c: 01 00 00 70 20 90 [11:39:31]Write i2c OK [11:39:31]MH_I2C_Read... [11:39:31]Read from MH i2c: 01 [11:39:31]MH_I2C_Read... [11:39:31]Read from MH i2c: 01 07 00 [11:39:31]MH_I2C_Read... [11:39:31]Read from MH i2c: 01 07 00 70 20 00 00 00 00 00 FF 0F A5 [11:39:31]RasterBufferAndPrint [11:39:31]line Счет N : (1)359470 [11:39:31]line ИНН: 02508201610067 [11:39:31]line Контрольно-Кассовый Чек [11:39:31]line ПРОДАЖА [11:39:31]line ТРК (МРК, ГНК) : 61 [11:39:31]line Товар: 2710124130 [11:39:31]line Аи-92-К-5 [11:39:31]line 11.050 * 63.40 [11:39:31]line = 700.57 [11:39:31]line НДС 12% НСП 1% [11:39:31]line > о реализуемом товаре [11:39:31]line ОКРУГЛЕНИЕ: -0.57 [11:39:31]line ИТОГО: 700.00 [11:39:31]line Внесено: 700.00 [11:39:31]line СДАЧА: 0.00 [11:39:31]line НСП 1% : 6.20 [11:39:31]line НДС 12% : 74.40 [11:39:31]line Наличными: 700.00 [11:39:31]line Безнал.: 0.00 [11:39:31]line Место: АЗС № 122 "Партнер Нефть" [11:39:31]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [11:39:31]line СНО: Общий режим [11:39:31]line Чек 26 07.04.2024 11:39 [11:39:31]line Смена: 313 ФФД: 1.0 [11:39:31]line ЗНМ: 0300000147 [11:39:31]line РНМ: 0000000000091578 [11:39:31]line Версия ККМ: 001 [11:39:31]line ФМ: 0000000000874657 [11:39:31]line ФД: 26727 [11:39:31]line ФПД: 252834593226155 [11:39:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T113938&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26727&fm=252834593226155&tin=02508201610067®Number=0000000000091578&sum=70000 [11:39:31]OFD Sender: Processing packet 26727 [packets to send 44, broken 43] [11:39:31]ProducePacketName [11:39:31]name=ofd_packets/00026727 [11:39:31]OFD Sender: To server: pG, [11:39:31]CommunicateWithHost lk.salyk.kg:30040 [11:39:31]ConnectInit lk.salyk.kg [11:39:31]written 0, free lines is 4095 [11:39:31]Connected sock=11 [11:39: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 36 35 37 0F 01 00 00 14 4D 07 01 B2 CA 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 2A 2B 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 A9 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 10 1D 00 00 00 00 07 04 06 00 70 11 01 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 FA 85 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 67 68 00 00 35 04 06 00 E5 F3 A4 1D BD AB AB 8F BB 8A 63 5D 40 43 [11:39:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 F9 55 47 00 E6 55 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 37 10 04 04 00 67 68 00 00 F4 03 04 00 67 2D 12 66 B6 04 01 00 00 7C F9 66 B4 B8 56 C1 6F [11:39:31]CommunicateWithHost err = 0 [11:39:31]CheckOFDResponse [11:39:31]1017 (14) - 77093643461234 [11:39:31]1041 (16) - 0000000000874657 [11:39:31]1040 (4) - 26727 [11:39:31]1012 (4) - 07.04.2024 05:21 [11:39:31]1206 (1) - 0 [11:39:31]OFD Sender: Remove packet 26727 [11:39:31]ProducePacketName [11:39:31]name=ofd_packets/00026727 [11:39:31]NVStorageDeleteData [11:39:32]Write to MH i2c: 01 00 00 9B 20 BB [11:39:32]Write i2c OK [11:39:32]MH_I2C_Read... [11:39:32]Read from MH i2c: 01 [11:39:32]MH_I2C_Read... [11:39:32]Read from MH i2c: 01 07 00 [11:39:32]MH_I2C_Read... [11:39:32]Read from MH i2c: 01 07 00 9B 20 00 00 00 00 00 80 0C 4E [11:39:32]RasterBufferAndPrint [11:39:32]line [11:39:32]line [11:39:32]line [11:39:32]line [11:39:32]line [11:39:32]written 0, free lines is 3204 [11:39:32]MH_Cut [11:39:32]Write to MH i2c: D1 01 00 A2 20 01 94 [11:39:32]Write i2c OK [11:39:32]MH_I2C_Read... [11:39:32]Read from MH i2c: D1 [11:39:32]MH_I2C_Read... [11:39:32]Read from MH i2c: D1 01 00 [11:39:32]MH_I2C_Read... [11:39:32]Read from MH i2c: D1 01 00 A2 20 00 93 [11:39:32]Write to MH i2c: 01 00 00 A3 20 C3 [11:39:32]Write i2c OK [11:39:32]MH_I2C_Read... [11:39:32]OFD Sender: No OFD packet to send [11:39:33]*** Cut start [11:39:33]*** Partial cut [11:39:33]*** CUTSNS_PIN = 1 [11:39:33]*** CUTSNS_PIN = 0 [11:39:33]*** Brake cut motor [11:39:33]Read from MH i2c: 01 [11:39:33]MH_I2C_Read... [11:39:33]*** Stop cut motor [11:39:33]*** Cut end [11:39:33]Read from MH i2c: 01 07 00 [11:39:33]MH_I2C_Read... [11:39:33]Read from MH i2c: 01 07 00 A3 20 00 00 00 00 00 FF 0F D8 [11:39:33]process_action close_receipt done [11:39:33]requested_data is exist [11:39:33]produce_requested_data [11:39:33]requested_item fm.sn is exist - process it [11:39:33]wFMCommunicate request_size=4 [11:39:33]MH_SAM_APDU [11:39:33]CAPDU: 80 11 00 00 [11:39:33]Write to MH i2c: E2 08 00 A4 20 80 11 00 00 00 00 00 00 3E [11:39:33]Write i2c OK [11:39:33]MH_I2C_Read... [11:39:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:39:33]Read from MH i2c: E2 [11:39:33]MH_I2C_Read... [11:39:33]Read from MH i2c: E2 17 00 [11:39:33]MH_I2C_Read... [11:39:33]Read from MH i2c: E2 17 00 A4 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 96 [11:39:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [11:39:33]wFMCommunicate OK [11:39:33]requested_item fd.num is exist - process it [11:39:33]SAM_PROTO_GetFieldsCounters [11:39:33]wFMCommunicate request_size=4 [11:39:33]MH_SAM_APDU [11:39:33]CAPDU: 80 13 00 00 [11:39:33]Write to MH i2c: E2 08 00 A5 20 80 13 00 00 00 00 00 00 41 [11:39:33]Write i2c OK [11:39:33]MH_I2C_Read... [11:39:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:39:33]Read from MH i2c: E2 [11:39:33]MH_I2C_Read... [11:39:33]Read from MH i2c: E2 62 00 [11:39:33]MH_I2C_Read... [11:39:33]Read from MH i2c: E2 62 00 A5 20 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 67 68 00 00 0E 04 04 00 39 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 C3 [11:39: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 67 68 00 00 0E 04 04 00 39 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 [11:39:33]wFMCommunicate OK [11:39:33]SAM_PROTO_GetFieldsCounters done [11:39:33]requested_item shift.num is exist - process it [11:39:33]requested_item shift.opened is exist - process it [11:39:33]req_shift_opened [11:39:33]FM_GetShiftState [11:39:33]SAM_PROTO_GetShiftState [11:39:33]wFMCommunicate request_size=4 [11:39:33]MH_SAM_APDU [11:39:33]CAPDU: 80 13 01 00 [11:39:33]Write to MH i2c: E2 08 00 A6 20 80 13 01 00 00 00 00 00 43 [11:39:33]Write i2c OK [11:39:33]MH_I2C_Read... [11:39:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:39:33]Read from MH i2c: E2 [11:39:33]MH_I2C_Read... [11:39:33]Read from MH i2c: E2 0E 00 [11:39:33]MH_I2C_Read... [11:39:33]Read from MH i2c: E2 0E 00 A6 20 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 D7 [11:39:33]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [11:39:33]wFMCommunicate OK [11:39:33]SAM_PROTO_GetShiftState done [11:39:33]FM_GetShiftState done [11:39:33]req_shift_opened done [11:39:33]requested_item shift.open_date is exist - process it [11:39:33]req_shift_open_date [11:39:33]req_shift_open_date done [11:39:33]produce_requested_data done [11:39:33]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26727,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [11:39:33]process_action_free close_receipt [11:39:33]json_value_free [11:39:33]json_value_free done [11:39:33]process_json_proto returns [11:39:33]Send response to host [11:39:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26727,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [11:39:33]free response buf [11:39:33]execute_script done [11:39:33]execute_script returns [11:39:33]free content buf [11:39:33]Sock 9.Close socket [11:39:33]Sock 9.Thread stoped [11:39:37]OFD Sender: No OFD packet to send [11:39:42]OFD Sender: No OFD packet to send [11:39:47]OFD Sender: No OFD packet to send [11:39:52]OFD Sender: No OFD packet to send [11:39:57]OFD Sender: No OFD packet to send [11:40:02]OFD Sender: No OFD packet to send [11:40:07]OFD Sender: No OFD packet to send [11:40:12]OFD Sender: No OFD packet to send [11:40:17]OFD Sender: No OFD packet to send [11:40:22]OFD Sender: No OFD packet to send [11:40:27]OFD Sender: No OFD packet to send [11:40:32]OFD Sender: No OFD packet to send [11:40:37]OFD Sender: No OFD packet to send [11:40:42]OFD Sender: No OFD packet to send [11:40:47]OFD Sender: No OFD packet to send [11:40:52]OFD Sender: No OFD packet to send [11:40:57]OFD Sender: No OFD packet to send [11:41:02]OFD Sender: No OFD packet to send [11:41:07]OFD Sender: No OFD packet to send [11:41:12]OFD Sender: No OFD packet to send [11:41:17]OFD Sender: No OFD packet to send [11:41:22]OFD Sender: No OFD packet to send [11:41:27]OFD Sender: No OFD packet to send [11:41:32]OFD Sender: No OFD packet to send [11:41:37]OFD Sender: No OFD packet to send [11:41:42]OFD Sender: No OFD packet to send [11:41:47]OFD Sender: No OFD packet to send [11:41:52]OFD Sender: No OFD packet to send [11:41:57]OFD Sender: No OFD packet to send [11:42:02]OFD Sender: No OFD packet to send [11:42:07]OFD Sender: No OFD packet to send [11:42:12]OFD Sender: No OFD packet to send [11:42:17]OFD Sender: No OFD packet to send [11:42:22]OFD Sender: No OFD packet to send [11:42:27]OFD Sender: No OFD packet to send [11:42:32]OFD Sender: No OFD packet to send [11:42:37]OFD Sender: No OFD packet to send [11:42:42]OFD Sender: No OFD packet to send [11:42:47]OFD Sender: No OFD packet to send [11:42:52]OFD Sender: No OFD packet to send [11:42:57]OFD Sender: No OFD packet to send [11:43:02]OFD Sender: No OFD packet to send [11:43:07]OFD Sender: No OFD packet to send [11:43:12]OFD Sender: No OFD packet to send [11:43:17]OFD Sender: No OFD packet to send [11:43:22]OFD Sender: No OFD packet to send [11:43:27]OFD Sender: No OFD packet to send [11:43:32]OFD Sender: No OFD packet to send [11:43:37]OFD Sender: No OFD packet to send [11:43: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:27]OFD Sender: No OFD packet to send [11:46:32]OFD Sender: No OFD packet to send [11:46:37]OFD Sender: No OFD packet to send [11:46:42]OFD Sender: No OFD packet to send [11:46:47]OFD Sender: No OFD packet to send [11:46:52]OFD Sender: No OFD packet to send [11:46:57]OFD Sender: No OFD packet to send [11:47:02]OFD Sender: No OFD packet to send [11:47:07]OFD Sender: No OFD packet to send [11:47:12]OFD Sender: No OFD packet to send [11:47:17]OFD Sender: No OFD packet to send [11:47:22]OFD Sender: No OFD packet to send [11:47:27]OFD Sender: No OFD packet to send [11:47:32]OFD Sender: No OFD packet to send [11:47:37]OFD Sender: No OFD packet to send [11:47:42]OFD Sender: No OFD packet to send [11:47:47]OFD Sender: No OFD packet to send [11:47:52]OFD Sender: No OFD packet to send [11:47:57]OFD Sender: No OFD packet to send [11:48:02]OFD Sender: No OFD packet to send [11:48:03]accept exits with 8 [11:48:03]New connection [11:48:03]New thread 3067014500 created [11:48:03]Thread 3066871140 joined [11:48:03]Waiting for new connection... [11:48:03] Sock 8.Parse request [11:48:03]Sock 8.Check first char [11:48:03]Sock 8.First char is OK [11:48:03]request: POST /json_proto HTTP/1.0 [11:48:03]Method: POST [11:48:03]URL: /json_proto [11:48:03]Method is POST - this is cgi request [11:48:03]url: /json_proto [11:48:03]query_string will be loaded in cgi processing [11:48:03]execute_cgi json_proto POST (null) [11:48:03]execute_cgi path=json_proto method=POST [11:48:03]POST find Content-Length [11:48:03]Host: 172.17.35.3:8080 [11:48:03]Content-Length: 687 [11:48:03]Content-Type: application/json [11:48:03] [11:48:03]POST finish read [11:48:03]Found Content-Length = 687 [11:48:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359471", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 23.680, "sum" : 1700.22, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1700.00, "total" : 1700.00, "payments": [ { "type": 0, "sum" : 1700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:48:03]execute_script... [11:48:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359471", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 23.680, "sum" : 1700.22, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1700.00, "total" : 1700.00, "payments": [ { "type": 0, "sum" : 1700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:48:03]POST & json_proto [11:48:03]process_json_proto [11:48:03]json parsed OK: [11:48:03]protocol is kg_v1.0 [11:48:03]action value=close_receipt [11:48:03]process_action close_receipt [11:48:03]cmd_close_receipt [11:48:03]MH_GetDate [11:48:03]Write to MH i2c: F0 00 00 A7 20 B6 [11:48:03]Write i2c OK [11:48:03]MH_I2C_Read... [11:48:03]Read from MH i2c: F0 [11:48:03]MH_I2C_Read... [11:48:03]Read from MH i2c: F0 09 00 [11:48:03]MH_I2C_Read... [11:48:03]Read from MH i2c: F0 09 00 A7 20 00 FC 87 12 66 2B 11 66 64 C0 [11:48:03]GetLastDocTimeStamp 1712489978 [11:48:03]current date 1712490492 [11:48:03]FM_GetShiftState [11:48:03]SAM_PROTO_GetShiftState [11:48:03]wFMCommunicate request_size=4 [11:48:03]MH_SAM_APDU [11:48:03]CAPDU: 80 13 01 00 [11:48:03]Write to MH i2c: E2 08 00 A8 20 80 13 01 00 00 00 00 00 45 [11:48:03]Write i2c OK [11:48:03]MH_I2C_Read... [11:48:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:48:03]Read from MH i2c: E2 [11:48:03]MH_I2C_Read... [11:48:03]Read from MH i2c: E2 0E 00 [11:48:03]MH_I2C_Read... [11:48:03]Read from MH i2c: E2 0E 00 A8 20 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 D9 [11:48:03]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [11:48:03]wFMCommunicate OK [11:48:03]SAM_PROTO_GetShiftState done [11:48:03]FM_GetShiftState done [11:48:03]opened in 1712450087 [11:48:03]opened+sec_in_day 1712536487 [11:48:03]quantity*price = 170022 [11:48:03]sum+1 = 170023 [11:48:03]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.22 ИТОГО: 1700.00 Внесено: 1700.00 СДАЧА: 0.00 НСП 1% : 15.05 НДС 12% : 180.55 Наличными: 1700.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 27 07.04.2024 11:48 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26728 ФПД: 275138657068710 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T114812&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26728&fm=275138657068710&tin=02508201610067®Number=0000000000091578&sum=170000 [11:48:05]StoreToDocumentArchive [11:48:05]shift 313 fd 26728 [11:48:05]save to /storage/0313/doc_00026728 [11:48:05]save last doc name /storage/0313/doc_00026728 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=252 [11:48:05]tlvbuf is 00EC8AB0 [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 B5 20 80 09 00 00 00 00 00 00 47 [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 B5 20 00 90 00 49 [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 B6 20 80 0D 01 02 00 00 00 00 4F [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 B6 20 00 90 00 4A [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 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 80 5C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 26 98 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 98 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E1 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 46 00 00 00 00 07 04 06 00 10 98 02 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 FC 87 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 68 68 00 00 35 04 06 00 [11:48:05]Write to MH i2c: E2 02 01 B7 20 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 80 5C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 26 98 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 98 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E1 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 46 00 00 00 00 07 04 06 00 10 98 02 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 FC 87 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 68 68 00 00 35 04 06 00 00 00 89 [11:48:05]Write i2c OK [11:48:05]MH_I2C_Read... [11:48:05]*** iso7816_exchange 80 0D 02 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 B7 20 00 90 00 4B [11:48:05]RAPDU: 90 00 [11:48:05]wFMCommunicate OK [11:48:05]wFMCommunicate request_size=11 [11:48:05]MH_SAM_APDU [11:48:05]CAPDU: 80 0D 02 02 06 FA 3C B5 EB 26 A6 [11:48:05]Write to MH i2c: E2 0E 00 B8 20 80 0D 02 02 06 00 FA 3C B5 EB 26 A6 00 00 00 [11:48:05]Write i2c OK [11:48:05]MH_I2C_Read... [11:48:05]*** iso7816_exchange 80 0D 02 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 B8 20 00 90 00 4C [11:48:05]RAPDU: 90 00 [11:48:05]wFMCommunicate OK [11:48:05]wFMCommunicate request_size=4 [11:48:05]MH_SAM_APDU [11:48:05]CAPDU: 80 0D 03 02 [11:48:05]Write to MH i2c: E2 08 00 B9 20 80 0D 03 02 00 00 00 00 54 [11:48:05]Write i2c OK [11:48:05]MH_I2C_Read... [11:48:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:48:05]Read from MH i2c: E2 [11:48:05]MH_I2C_Read... [11:48:05]Read from MH i2c: E2 0B 00 [11:48:05]MH_I2C_Read... [11:48:05]Read from MH i2c: E2 0B 00 B9 20 00 C7 B8 7D 8E 3B 2D E5 9B 90 00 C7 [11:48:05]RAPDU: C7 B8 7D 8E 3B 2D E5 9B 90 00 [11:48:05]wFMCommunicate OK [11:48:05]SAM_PROTO_SignData done [11:48:05]FM_MakeSignedData done [11:48:05]CreateOFDProtocolMessage [11:48:05]wFMCommunicate request_size=4 [11:48:05]MH_SAM_APDU [11:48:05]CAPDU: 80 11 00 00 [11:48:05]Write to MH i2c: E2 08 00 BA 20 80 11 00 00 00 00 00 00 54 [11:48:05]Write i2c OK [11:48:05]MH_I2C_Read... [11:48:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:48:05]Read from MH i2c: E2 [11:48:05]MH_I2C_Read... [11:48:05]Read from MH i2c: E2 17 00 [11:48:05]MH_I2C_Read... [11:48:05]Read from MH i2c: E2 17 00 BA 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 AC [11:48:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [11:48:05]wFMCommunicate OK [11:48:05]CreateOFDProtocolMessage done [11:48:05]OFDSenderStorePacket 26728 [11:48:05]StoreOFDPacket docnum=26728 [11:48:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 EC 95 08 01 0A DA 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 80 5C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 26 98 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 98 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E1 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 46 00 00 00 00 07 04 06 00 10 98 02 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 FC 87 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 68 68 00 00 35 04 06 00 FA 3C B5 EB 26 A6 C7 B8 7D 8E 3B 2D E5 9B [11:48:05]CheckFolder [11:48:05]dirname=/storage/ofd_packets [11:48:05]CheckFolder done [11:48:05]ProducePacketName [11:48:05]name=ofd_packets/00026728 [11:48:05]NVStorageSaveData ofd_packets/00026728 [11:48:05]File name is /storage/ofd_packets/00026728 [11:48:05]Write 302 bytes [11:48:05]NVStorageSaveData done [11:48:05]OFDSenderStorePacket done [11:48:05]KKMCreateOFDPacket done [11:48:05]NVStorageSaveData kkm_last_timestamp [11:48:05]File name is /storage/kkm_last_timestamp [11:48:05]Write 4 bytes [11:48:05]NVStorageSaveData done [11:48:05]ExternCall_PrintAddStr [11:48:05]wPrintStart [11:48:05]Write to MH i2c: 01 00 00 BB 20 DB [11:48:05]Write i2c OK [11:48:05]MH_I2C_Read... [11:48:05]Read from MH i2c: 01 [11:48:05]MH_I2C_Read... [11:48:05]Read from MH i2c: 01 07 00 [11:48:05]MH_I2C_Read... [11:48:05]Read from MH i2c: 01 07 00 BB 20 00 00 00 00 00 FF 0F F0 [11:48:05]RasterBufferAndPrint [11:48:05]line Счет N : (1)359471 [11:48:05]line ИНН: 02508201610067 [11:48:05]line Контрольно-Кассовый Чек [11:48:05]line ПРОДАЖА [11:48:05]line ТРК (МРК, ГНК) : 21 [11:48:05]line Товар: 2710194210 [11:48:05]line ДТ(л)-К-5 [11:48:05]line 23.680 * 71.80 [11:48:05]line = 1700.22 [11:48:05]line НДС 12% НСП 1% [11:48:05]line > о реализуемом товаре [11:48:05]line ОКРУГЛЕНИЕ: -0.22 [11:48:05]line ИТОГО: 1700.00 [11:48:05]line Внесено: 1700.00 [11:48:05]line СДАЧА: 0.00 [11:48:05]line НСП 1% : 15.05 [11:48:05]line НДС 12% : 180.55 [11:48:05]line Наличными: 1700.00 [11:48:05]line Безнал.: 0.00 [11:48:05]line Место: АЗС № 122 "Партнер Нефть" [11:48:05]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [11:48:05]line СНО: Общий режим [11:48:05]line Чек 27 07.04.2024 11:48 [11:48:05]line Смена: 313 ФФД: 1.0 [11:48:05]line ЗНМ: 0300000147 [11:48:05]line РНМ: 0000000000091578 [11:48:05]line Версия ККМ: 001 [11:48:05]line ФМ: 0000000000874657 [11:48:05]line ФД: 26728 [11:48:05]line ФПД: 275138657068710 [11:48:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T114812&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26728&fm=275138657068710&tin=02508201610067®Number=0000000000091578&sum=170000 [11:48:05]OFD Sender: Processing packet 26728 [packets to send 44, broken 43] [11:48:05]ProducePacketName [11:48:05]name=ofd_packets/00026728 [11:48:05]OFD Sender: To server: pG, [11:48:05]CommunicateWithHost lk.salyk.kg:30040 [11:48:05]ConnectInit lk.salyk.kg [11:48:05]written 0, free lines is 4095 [11:48:06]Connected sock=11 [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 36 35 37 10 01 00 00 EC 95 08 01 0A DA 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 80 5C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 26 98 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 98 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E1 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 46 00 00 00 00 07 04 06 00 10 98 02 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 FC 87 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 68 68 00 00 35 04 06 00 FA 3C B5 EB 26 A6 C7 B8 7D 8E 3B 2D E5 9B [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 36 35 37 4F 00 00 00 19 51 47 00 1E 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 36 35 37 10 04 04 00 68 68 00 00 F4 03 04 00 6A 2F 12 66 B6 04 01 00 00 B3 56 F3 5B FA DF CC 4F [11:48:06]CommunicateWithHost err = 0 [11:48:06]CheckOFDResponse [11:48:06]1017 (14) - 77093643461234 [11:48:06]1041 (16) - 0000000000874657 [11:48:06]1040 (4) - 26728 [11:48:06]1012 (4) - 07.04.2024 05:30 [11:48:06]1206 (1) - 0 [11:48:06]OFD Sender: Remove packet 26728 [11:48:06]ProducePacketName [11:48:06]name=ofd_packets/00026728 [11:48:06]NVStorageDeleteData [11:48:06]Write to MH i2c: 01 00 00 E6 20 06 [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 E6 20 00 00 00 00 00 7E 0C 97 [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 3202 [11:48:06]MH_Cut [11:48:06]Write to MH i2c: D1 01 00 ED 20 01 DF [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 ED 20 00 DE [11:48:06]Write to MH i2c: 01 00 00 EE 20 0E [11:48:06]Write i2c OK [11:48:06]MH_I2C_Read... [11:48:06]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 EE 20 00 00 00 00 00 FF 0F 23 [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 EF 20 80 11 00 00 00 00 00 00 89 [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 EF 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 E1 [11:48:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 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 F0 20 80 13 00 00 00 00 00 00 8C [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 F0 20 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 68 68 00 00 0E 04 04 00 39 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 12 [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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 68 68 00 00 0E 04 04 00 39 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 [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 F1 20 80 13 01 00 00 00 00 00 8E [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 F1 20 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 22 [11:48:08]RAPDU: 09 00 01 27 EA 11 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]produce_requested_data done [11:48:08]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26728,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [11:48:08]process_action_free close_receipt [11:48:08]json_value_free [11:48:08]json_value_free done [11:48:08]process_json_proto returns [11:48:08]Send response to host [11:48:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26728,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [11:48:08]free response buf [11:48:08]execute_script done [11:48:08]execute_script returns [11:48:08]free content buf [11:48:08]Sock 8.Close socket [11:48:08]Sock 8.Thread stoped [11:48:11]OFD Sender: No OFD packet to send [11:48:16]OFD Sender: No OFD packet to send [11:48:21]OFD Sender: No OFD packet to send [11:48:26]OFD Sender: No OFD packet to send [11:48:31]OFD Sender: No OFD packet to send [11:48:36]OFD Sender: No OFD packet to send [11:48:41]OFD Sender: No OFD packet to send [11:48:46]OFD Sender: No OFD packet to send [11:48:51]OFD Sender: No OFD packet to send [11:48:56]OFD Sender: No OFD packet to send [11:49:01]OFD Sender: No OFD packet to send [11:49:06]OFD Sender: No OFD packet to send [11:49:11]OFD Sender: No OFD packet to send [11:49:16]OFD Sender: No OFD packet to send [11:49:18]accept exits with 9 [11:49:18]New connection [11:49:18]New thread 3066871140 created [11:49:18]Thread 3067014500 joined [11:49:18]Waiting for new connection... [11:49:18] Sock 9.Parse request [11:49:18]Sock 9.Check first char [11:49:18]Sock 9.First char is OK [11:49:18]request: POST /json_proto HTTP/1.0 [11:49:18]Method: POST [11:49:18]URL: /json_proto [11:49:18]Method is POST - this is cgi request [11:49:18]url: /json_proto [11:49:18]query_string will be loaded in cgi processing [11:49:18]execute_cgi json_proto POST (null) [11:49:18]execute_cgi path=json_proto method=POST [11:49:18]POST find Content-Length [11:49:18]Host: 172.17.35.3:8080 [11:49:18]Content-Length: 687 [11:49:18]Content-Type: application/json [11:49:18] [11:49:18]POST finish read [11:49:18]Found Content-Length = 687 [11:49:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359472", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 15.330, "sum" : 1100.69, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1100.00, "total" : 1100.00, "payments": [ { "type": 0, "sum" : 1100.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:49:18]execute_script... [11:49: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 : (1)359472", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 15.330, "sum" : 1100.69, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1100.00, "total" : 1100.00, "payments": [ { "type": 0, "sum" : 1100.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:49:18]POST & json_proto [11:49:18]process_json_proto [11:49:18]json parsed OK: [11:49:18]protocol is kg_v1.0 [11:49:18]action value=close_receipt [11:49:18]process_action close_receipt [11:49:18]cmd_close_receipt [11:49:18]MH_GetDate [11:49:18]Write to MH i2c: F0 00 00 F2 20 01 [11:49:18]Write i2c OK [11:49:18]MH_I2C_Read... [11:49:18]Read from MH i2c: F0 [11:49:18]MH_I2C_Read... [11:49:18]Read from MH i2c: F0 09 00 [11:49:18]MH_I2C_Read... [11:49:18]Read from MH i2c: F0 09 00 F2 20 00 47 88 12 66 2B 11 66 64 57 [11:49:18]GetLastDocTimeStamp 1712490492 [11:49:18]current date 1712490567 [11:49:18]FM_GetShiftState [11:49:18]SAM_PROTO_GetShiftState [11:49:18]wFMCommunicate request_size=4 [11:49:18]MH_SAM_APDU [11:49:18]CAPDU: 80 13 01 00 [11:49:18]Write to MH i2c: E2 08 00 F3 20 80 13 01 00 00 00 00 00 90 [11:49:18]Write i2c OK [11:49:18]MH_I2C_Read... [11:49:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:49:18]Read from MH i2c: E2 [11:49:18]MH_I2C_Read... [11:49:18]Read from MH i2c: E2 0E 00 [11:49:18]MH_I2C_Read... [11:49:18]Read from MH i2c: E2 0E 00 F3 20 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 24 [11:49:18]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [11:49:18]wFMCommunicate OK [11:49:18]SAM_PROTO_GetShiftState done [11:49:18]FM_GetShiftState done [11:49:18]opened in 1712450087 [11:49:18]opened+sec_in_day 1712536487 [11:49:18]quantity*price = 110069 [11:49:18]sum+1 = 110070 [11:49:18]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.69 ИТОГО: 1100.00 Внесено: 1100.00 СДАЧА: 0.00 НСП 1% : 9.74 НДС 12% : 116.89 Наличными: 1100.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 28 07.04.2024 11:49 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26729 ФПД: 22280282809013 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T114927&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26729&fm=22280282809013&tin=02508201610067®Number=0000000000091578&sum=110000 [11:49:20]StoreToDocumentArchive [11:49:20]shift 313 fd 26729 [11:49:20]save to /storage/0313/doc_00026729 [11:49:20]save last doc name /storage/0313/doc_00026729 to /storage/kkm_last_doc_name [11:49:20]save OK [11:49:20]Clear old archive folders... [11:49:20]ProcessDocumentItem done err = 0, tmpTLVsize=252 [11:49:20]tlvbuf is B6EE98D0 [11:49:20]SAM_PROTO_ClearQueue [11:49:20]wFMCommunicate request_size=4 [11:49:20]MH_SAM_APDU [11:49:20]CAPDU: 80 09 00 00 [11:49:20]Write to MH i2c: E2 08 00 00 21 80 09 00 00 00 00 00 00 93 [11:49:20]Write i2c OK [11:49:20]MH_I2C_Read... [11:49:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:49:20]Read from MH i2c: E2 [11:49:20]MH_I2C_Read... [11:49:20]Read from MH i2c: E2 03 00 [11:49:20]MH_I2C_Read... [11:49:20]Read from MH i2c: E2 03 00 00 21 00 90 00 95 [11:49:20]RAPDU: 90 00 [11:49:20]wFMCommunicate OK [11:49:20]SAM_PROTO_ClearQueue done [11:49:20]KKMCreateOFDPacket [11:49:20]OFDProtocolAddRootSTLVToBuf [11:49:20]FM_MakeSignedData [11:49:20]FM_MakeSignedData [11:49:20]SAM_PROTO_SignData [11:49:20]wFMCommunicate request_size=4 [11:49:20]MH_SAM_APDU [11:49:20]CAPDU: 80 0D 01 02 [11:49:20]Write to MH i2c: E2 08 00 01 21 80 0D 01 02 00 00 00 00 9B [11:49:20]Write i2c OK [11:49:20]MH_I2C_Read... [11:49:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:49:20]Read from MH i2c: E2 [11:49:20]MH_I2C_Read... [11:49:20]Read from MH i2c: E2 03 00 [11:49:20]MH_I2C_Read... [11:49:20]Read from MH i2c: E2 03 00 01 21 00 90 00 96 [11:49:20]RAPDU: 90 00 [11:49:20]wFMCommunicate OK [11:49:20]wFMCommunicate request_size=255 [11:49:20]MH_SAM_APDU [11:49:20]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 E2 3B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 F5 AD 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 AD 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CE 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 2D 00 00 00 00 07 04 06 00 B0 AD 01 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 47 88 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 69 68 00 00 35 04 06 00 [11:49:20]Write to MH i2c: E2 02 01 02 21 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 E2 3B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 F5 AD 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 AD 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CE 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 2D 00 00 00 00 07 04 06 00 B0 AD 01 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 47 88 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 69 68 00 00 35 04 06 00 00 00 A3 [11:49:20]Write i2c OK [11:49:20]MH_I2C_Read... [11:49:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:49:20]Read from MH i2c: E2 [11:49:20]MH_I2C_Read... [11:49:20]Read from MH i2c: E2 03 00 [11:49:20]MH_I2C_Read... [11:49:20]Read from MH i2c: E2 03 00 02 21 00 90 00 97 [11:49:20]RAPDU: 90 00 [11:49:20]wFMCommunicate OK [11:49:20]wFMCommunicate request_size=11 [11:49:20]MH_SAM_APDU [11:49:20]CAPDU: 80 0D 02 02 06 14 43 88 57 A2 B5 [11:49:20]Write to MH i2c: E2 0E 00 03 21 80 0D 02 02 06 00 14 43 88 57 A2 B5 00 00 37 [11:49:20]Write i2c OK [11:49:20]MH_I2C_Read... [11:49:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:49:20]Read from MH i2c: E2 [11:49:20]MH_I2C_Read... [11:49:20]Read from MH i2c: E2 03 00 [11:49:20]MH_I2C_Read... [11:49:20]Read from MH i2c: E2 03 00 03 21 00 90 00 98 [11:49:20]RAPDU: 90 00 [11:49:20]wFMCommunicate OK [11:49:20]wFMCommunicate request_size=4 [11:49:20]MH_SAM_APDU [11:49:20]CAPDU: 80 0D 03 02 [11:49:20]Write to MH i2c: E2 08 00 04 21 80 0D 03 02 00 00 00 00 A0 [11:49:20]Write i2c OK [11:49:20]MH_I2C_Read... [11:49:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:49:20]Read from MH i2c: E2 [11:49:20]MH_I2C_Read... [11:49:20]Read from MH i2c: E2 0B 00 [11:49:20]MH_I2C_Read... [11:49:20]Read from MH i2c: E2 0B 00 04 21 00 93 BD 50 8B 25 26 06 0C 90 00 29 [11:49:20]RAPDU: 93 BD 50 8B 25 26 06 0C 90 00 [11:49:20]wFMCommunicate OK [11:49:20]SAM_PROTO_SignData done [11:49:20]FM_MakeSignedData done [11:49:20]CreateOFDProtocolMessage [11:49:20]wFMCommunicate request_size=4 [11:49:20]MH_SAM_APDU [11:49:20]CAPDU: 80 11 00 00 [11:49:20]Write to MH i2c: E2 08 00 05 21 80 11 00 00 00 00 00 00 A0 [11:49:20]Write i2c OK [11:49:20]MH_I2C_Read... [11:49:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:49:20]Read from MH i2c: E2 [11:49:20]MH_I2C_Read... [11:49:20]Read from MH i2c: E2 17 00 [11:49:20]MH_I2C_Read... [11:49:20]Read from MH i2c: E2 17 00 05 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 F8 [11:49:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [11:49:20]wFMCommunicate OK [11:49:20]CreateOFDProtocolMessage done [11:49:20]OFDSenderStorePacket 26729 [11:49:20]StoreOFDPacket docnum=26729 [11:49:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 87 16 08 01 E3 E3 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 E2 3B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 F5 AD 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 AD 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CE 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 2D 00 00 00 00 07 04 06 00 B0 AD 01 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 47 88 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 69 68 00 00 35 04 06 00 14 43 88 57 A2 B5 93 BD 50 8B 25 26 06 0C [11:49:20]CheckFolder [11:49:20]dirname=/storage/ofd_packets [11:49:20]CheckFolder done [11:49:20]ProducePacketName [11:49:20]name=ofd_packets/00026729 [11:49:20]NVStorageSaveData ofd_packets/00026729 [11:49:20]File name is /storage/ofd_packets/00026729 [11:49:20]Write 302 bytes [11:49:20]NVStorageSaveData done [11:49:20]OFDSenderStorePacket done [11:49:20]KKMCreateOFDPacket done [11:49:20]NVStorageSaveData kkm_last_timestamp [11:49:20]File name is /storage/kkm_last_timestamp [11:49:20]Write 4 bytes [11:49:20]NVStorageSaveData done [11:49:20]ExternCall_PrintAddStr [11:49:20]wPrintStart [11:49:20]Write to MH i2c: 01 00 00 06 21 27 [11:49:20]Write i2c OK [11:49:20]MH_I2C_Read... [11:49:20]Read from MH i2c: 01 [11:49:20]MH_I2C_Read... [11:49:20]Read from MH i2c: 01 07 00 [11:49:20]MH_I2C_Read... [11:49:20]Read from MH i2c: 01 07 00 06 21 00 00 00 00 00 FF 0F 3C [11:49:20]RasterBufferAndPrint [11:49:20]line Счет N : (1)359472 [11:49:20]line ИНН: 02508201610067 [11:49:20]line Контрольно-Кассовый Чек [11:49:20]line ПРОДАЖА [11:49:20]line ТРК (МРК, ГНК) : 11 [11:49:20]line Товар: 2710194210 [11:49:20]line ДТ(л)-К-5 [11:49:20]line 15.330 * 71.80 [11:49:20]line = 1100.69 [11:49:20]line НДС 12% НСП 1% [11:49:20]line > о реализуемом товаре [11:49:20]line ОКРУГЛЕНИЕ: -0.69 [11:49:20]line ИТОГО: 1100.00 [11:49:20]line Внесено: 1100.00 [11:49:20]line СДАЧА: 0.00 [11:49:20]line НСП 1% : 9.74 [11:49:20]line НДС 12% : 116.89 [11:49:20]line Наличными: 1100.00 [11:49:20]line Безнал.: 0.00 [11:49:20]line Место: АЗС № 122 "Партнер Нефть" [11:49:20]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [11:49:20]line СНО: Общий режим [11:49:20]line Чек 28 07.04.2024 11:49 [11:49:20]line Смена: 313 ФФД: 1.0 [11:49:20]line ЗНМ: 0300000147 [11:49:20]line РНМ: 0000000000091578 [11:49:20]line Версия ККМ: 001 [11:49:20]line ФМ: 0000000000874657 [11:49:20]line ФД: 26729 [11:49:20]line ФПД: 22280282809013 [11:49:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T114927&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26729&fm=22280282809013&tin=02508201610067®Number=0000000000091578&sum=110000 [11:49:20]OFD Sender: Processing packet 26729 [packets to send 44, broken 43] [11:49:20]ProducePacketName [11:49:20]name=ofd_packets/00026729 [11:49:20]OFD Sender: To server: pG, [11:49:20]CommunicateWithHost lk.salyk.kg:30040 [11:49:20]ConnectInit lk.salyk.kg [11:49:20]written 0, free lines is 4095 [11:49:20]Connected sock=10 [11:49: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 36 35 37 10 01 00 00 87 16 08 01 E3 E3 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 E2 3B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 F5 AD 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 AD 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CE 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 2D 00 00 00 00 07 04 06 00 B0 AD 01 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 47 88 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 69 68 00 00 35 04 06 00 14 43 88 57 A2 B5 93 BD 50 8B 25 26 06 0C [11:49:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 77 F6 47 00 05 E5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 69 68 00 00 F4 03 04 00 B5 2F 12 66 B6 04 01 00 00 D3 E6 61 9F 61 1C A1 FF [11:49:21]CommunicateWithHost err = 0 [11:49:21]CheckOFDResponse [11:49:21]1017 (14) - 77093643461234 [11:49:21]1041 (16) - 0000000000874657 [11:49:21]1040 (4) - 26729 [11:49:21]1012 (4) - 07.04.2024 05:31 [11:49:21]1206 (1) - 0 [11:49:21]OFD Sender: Remove packet 26729 [11:49:21]ProducePacketName [11:49:21]name=ofd_packets/00026729 [11:49:21]NVStorageDeleteData [11:49:21]Write to MH i2c: 01 00 00 31 21 52 [11:49:21]Write i2c OK [11:49:21]MH_I2C_Read... [11:49:21]Read from MH i2c: 01 [11:49:21]MH_I2C_Read... [11:49:21]Read from MH i2c: 01 07 00 [11:49:21]MH_I2C_Read... [11:49:21]Read from MH i2c: 01 07 00 31 21 00 00 00 00 00 7D 0C E2 [11:49:21]RasterBufferAndPrint [11:49:21]line [11:49:21]line [11:49:21]line [11:49:21]line [11:49:21]line [11:49:21]written 0, free lines is 3200 [11:49:21]MH_Cut [11:49:21]Write to MH i2c: D1 01 00 38 21 01 2B [11:49:21]Write i2c OK [11:49:21]MH_I2C_Read... [11:49:21]Read from MH i2c: D1 [11:49:21]MH_I2C_Read... [11:49:21]Read from MH i2c: D1 01 00 [11:49:21]MH_I2C_Read... [11:49:21]Read from MH i2c: D1 01 00 38 21 00 2A [11:49:21]Write to MH i2c: 01 00 00 39 21 5A [11:49:21]Write i2c OK [11:49:21]MH_I2C_Read... [11:49:21]OFD Sender: No OFD packet to send [11:49:22]*** Cut start [11:49:22]*** Partial cut [11:49:22]*** CUTSNS_PIN = 1 [11:49:22]*** CUTSNS_PIN = 0 [11:49:22]*** Brake cut motor [11:49:23]Read from MH i2c: 01 [11:49:23]MH_I2C_Read... [11:49:23]*** Stop cut motor [11:49:23]*** Cut end [11:49:23]Read from MH i2c: 01 07 00 [11:49:23]MH_I2C_Read... [11:49:23]Read from MH i2c: 01 07 00 39 21 00 00 00 00 00 FF 0F 6F [11:49:23]process_action close_receipt done [11:49:23]requested_data is exist [11:49:23]produce_requested_data [11:49:23]requested_item fm.sn is exist - process it [11:49:23]wFMCommunicate request_size=4 [11:49:23]MH_SAM_APDU [11:49:23]CAPDU: 80 11 00 00 [11:49:23]Write to MH i2c: E2 08 00 3A 21 80 11 00 00 00 00 00 00 D5 [11:49:23]Write i2c OK [11:49:23]MH_I2C_Read... [11:49:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:49:23]Read from MH i2c: E2 [11:49:23]MH_I2C_Read... [11:49:23]Read from MH i2c: E2 17 00 [11:49:23]MH_I2C_Read... [11:49:23]Read from MH i2c: E2 17 00 3A 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 2D [11:49:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [11:49:23]wFMCommunicate OK [11:49:23]requested_item fd.num is exist - process it [11:49:23]SAM_PROTO_GetFieldsCounters [11:49:23]wFMCommunicate request_size=4 [11:49:23]MH_SAM_APDU [11:49:23]CAPDU: 80 13 00 00 [11:49:23]Write to MH i2c: E2 08 00 3B 21 80 13 00 00 00 00 00 00 D8 [11:49:23]Write i2c OK [11:49:23]MH_I2C_Read... [11:49:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:49:23]Read from MH i2c: E2 [11:49:23]MH_I2C_Read... [11:49:23]Read from MH i2c: E2 62 00 [11:49:23]MH_I2C_Read... [11:49:23]Read from MH i2c: E2 62 00 3B 21 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 69 68 00 00 0E 04 04 00 39 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 62 [11:49: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 69 68 00 00 0E 04 04 00 39 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 [11:49:23]wFMCommunicate OK [11:49:23]SAM_PROTO_GetFieldsCounters done [11:49:23]requested_item shift.num is exist - process it [11:49:23]requested_item shift.opened is exist - process it [11:49:23]req_shift_opened [11:49:23]FM_GetShiftState [11:49:23]SAM_PROTO_GetShiftState [11:49:23]wFMCommunicate request_size=4 [11:49:23]MH_SAM_APDU [11:49:23]CAPDU: 80 13 01 00 [11:49:23]Write to MH i2c: E2 08 00 3C 21 80 13 01 00 00 00 00 00 DA [11:49:23]Write i2c OK [11:49:23]MH_I2C_Read... [11:49:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:49:23]Read from MH i2c: E2 [11:49:23]MH_I2C_Read... [11:49:23]Read from MH i2c: E2 0E 00 [11:49:23]MH_I2C_Read... [11:49:23]Read from MH i2c: E2 0E 00 3C 21 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 6E [11:49:23]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [11:49:23]wFMCommunicate OK [11:49:23]SAM_PROTO_GetShiftState done [11:49:23]FM_GetShiftState done [11:49:23]req_shift_opened done [11:49:23]requested_item shift.open_date is exist - process it [11:49:23]req_shift_open_date [11:49:23]req_shift_open_date done [11:49:23]produce_requested_data done [11:49:23]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26729,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [11:49:23]process_action_free close_receipt [11:49:23]json_value_free [11:49:23]json_value_free done [11:49:23]process_json_proto returns [11:49:23]Send response to host [11:49:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26729,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [11:49:23]free response buf [11:49:23]execute_script done [11:49:23]execute_script returns [11:49:23]free content buf [11:49:23]Sock 9.Close socket [11:49:23]Sock 9.Thread stoped [11:49:26]OFD Sender: No OFD packet to send [11:49:31]OFD Sender: No OFD packet to send [11:49:36]OFD Sender: No OFD packet to send [11:49:41]OFD Sender: No OFD packet to send [11:49:44]accept exits with 8 [11:49:44]New connection [11:49:44]New thread 3067014500 created [11:49:44]Thread 3066871140 joined [11:49:44]Waiting for new connection... [11:49:44] Sock 8.Parse request [11:49:44]Sock 8.Check first char [11:49:44]Sock 8.First char is OK [11:49:44]request: POST /json_proto HTTP/1.0 [11:49:44]Method: POST [11:49:44]URL: /json_proto [11:49:44]Method is POST - this is cgi request [11:49:44]url: /json_proto [11:49:44]query_string will be loaded in cgi processing [11:49:44]execute_cgi json_proto POST (null) [11:49:44]execute_cgi path=json_proto method=POST [11:49:44]POST find Content-Length [11:49:44]Host: 172.17.35.3:8080 [11:49:44]Content-Length: 215 [11:49:44]Content-Type: application/json [11:49:44] [11:49:44]POST finish read [11:49:44]Found Content-Length = 215 [11:49:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:49:44]execute_script... [11:49:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:49:44]POST & json_proto [11:49:44]process_json_proto [11:49:44]json parsed OK: [11:49:44]protocol is kg_v1.0 [11:49:44]action value=get_value [11:49:44]process_action get_value [11:49:44]cmd_get_value [11:49:44]process_action get_value done [11:49:44]requested_data is exist [11:49:44]produce_requested_data [11:49:44]requested_item kkm.sn is exist - process it [11:49:44]requested_item kkm.ver is exist - process it [11:49:44]requested_item fm.sn is exist - process it [11:49:44]wFMCommunicate request_size=4 [11:49:44]MH_SAM_APDU [11:49:44]CAPDU: 80 11 00 00 [11:49:44]Write to MH i2c: E2 08 00 3D 21 80 11 00 00 00 00 00 00 D8 [11:49:44]Write i2c OK [11:49:44]MH_I2C_Read... [11:49:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:49:44]Read from MH i2c: E2 [11:49:44]MH_I2C_Read... [11:49:44]Read from MH i2c: E2 17 00 [11:49:44]MH_I2C_Read... [11:49:44]Read from MH i2c: E2 17 00 3D 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 30 [11:49:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [11:49:44]wFMCommunicate OK [11:49:44]requested_item fd.num is exist - process it [11:49:44]SAM_PROTO_GetFieldsCounters [11:49:44]wFMCommunicate request_size=4 [11:49:44]MH_SAM_APDU [11:49:44]CAPDU: 80 13 00 00 [11:49:44]Write to MH i2c: E2 08 00 3E 21 80 13 00 00 00 00 00 00 DB [11:49:44]Write i2c OK [11:49:44]MH_I2C_Read... [11:49:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:49:44]Read from MH i2c: E2 [11:49:44]MH_I2C_Read... [11:49:44]Read from MH i2c: E2 62 00 [11:49:44]MH_I2C_Read... [11:49:44]Read from MH i2c: E2 62 00 3E 21 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 69 68 00 00 0E 04 04 00 39 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 65 [11:49: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 69 68 00 00 0E 04 04 00 39 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 [11:49:44]wFMCommunicate OK [11:49:44]SAM_PROTO_GetFieldsCounters done [11:49:44]requested_item shift.num is exist - process it [11:49:44]requested_item shift.opened is exist - process it [11:49:44]req_shift_opened [11:49:44]FM_GetShiftState [11:49:44]SAM_PROTO_GetShiftState [11:49:44]wFMCommunicate request_size=4 [11:49:44]MH_SAM_APDU [11:49:44]CAPDU: 80 13 01 00 [11:49:44]Write to MH i2c: E2 08 00 3F 21 80 13 01 00 00 00 00 00 DD [11:49:44]Write i2c OK [11:49:44]MH_I2C_Read... [11:49:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:49:44]Read from MH i2c: E2 [11:49:44]MH_I2C_Read... [11:49:44]Read from MH i2c: E2 0E 00 [11:49:44]MH_I2C_Read... [11:49:44]Read from MH i2c: E2 0E 00 3F 21 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 71 [11:49:44]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [11:49:44]wFMCommunicate OK [11:49:44]SAM_PROTO_GetShiftState done [11:49:44]FM_GetShiftState done [11:49:44]req_shift_opened done [11:49:44]requested_item shift.open_date is exist - process it [11:49:44]req_shift_open_date [11:49:44]req_shift_open_date done [11:49:44]produce_requested_data done [11:49:44]produce_requested_data return {"kkm.sn":"0300000147","kkm.ver":"001","fm.sn":"0000000000874657","fd.num":26729,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [11:49:44]process_action_free get_value [11:49:44]json_value_free [11:49:44]json_value_free done [11:49:44]process_json_proto returns [11:49:44]Send response to host [11:49:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000147","kkm.ver":"001","fm.sn":"0000000000874657","fd.num":26729,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [11:49:44]free response buf [11:49:44]execute_script done [11:49:44]execute_script returns [11:49:44]free content buf [11:49:44]Sock 8.Close socket [11:49:44]Sock 8.Thread stoped [11:49:44]accept exits with 9 [11:49:44]New connection [11:49:44]New thread 3066871140 created [11:49:44]Thread 3067014500 joined [11:49:44]Waiting for new connection... [11:49:44] Sock 9.Parse request [11:49:44]Sock 9.Check first char [11:49:44]Sock 9.First char is OK [11:49:44]request: POST /json_proto HTTP/1.0 [11:49:44]Method: POST [11:49:44]URL: /json_proto [11:49:44]Method is POST - this is cgi request [11:49:44]url: /json_proto [11:49:44]query_string will be loaded in cgi processing [11:49:44]execute_cgi json_proto POST (null) [11:49:44]execute_cgi path=json_proto method=POST [11:49:44]POST find Content-Length [11:49:44]Host: 172.17.35.3:8080 [11:49:44]Content-Length: 331 [11:49:44]Content-Type: application/json [11:49:44] [11:49:44]POST finish read [11:49:44]Found Content-Length = 331 [11:49:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [11:49:44]execute_script... [11:49:44]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" ] } } [11:49:44]POST & json_proto [11:49:44]process_json_proto [11:49:44]json parsed OK: [11:49:44]protocol is kg_v1.0 [11:49:44]action value=get_value [11:49:44]process_action get_value [11:49:44]cmd_get_value [11:49:44]process_action get_value done [11:49:44]requested_data is exist [11:49:44]produce_requested_data [11:49:44]requested_item fm.sale.total is exist - process it [11:49:44]SAM_PROTO_GetFMData [11:49:44]wFMCommunicate request_size=4 [11:49:44]MH_SAM_APDU [11:49:44]CAPDU: 80 13 03 00 [11:49:44]Write to MH i2c: E2 08 00 40 21 80 13 03 00 00 00 00 00 E0 [11:49:44]Write i2c OK [11:49:44]MH_I2C_Read... [11:49:45]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [11:49:45]Read from MH i2c: E2 [11:49:45]MH_I2C_Read... [11:49:45]Read from MH i2c: E2 FD 00 [11:49:45]MH_I2C_Read... [11:49:45]Read from MH i2c: E2 FD 00 40 21 00 C0 04 85 04 BC 04 6E 04 04 00 F7 65 00 00 69 04 A1 00 6F 04 04 00 B5 65 00 00 B1 04 04 00 A0 E0 ED 9A 70 04 04 00 38 F0 4D 7F 72 04 04 00 68 F0 9F 1B 00 04 7D 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 B5 E3 74 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 8D 0C 5F 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 99 00 6F 04 04 00 42 00 00 00 B1 04 03 00 A4 6D BB 70 04 03 00 A4 6D BB 72 04 00 00 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 0B E8 13 EF 03 09 00 F6 03 01 00 90 00 60 [11:49:45]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 F7 65 00 00 69 04 A1 00 6F 04 04 00 B5 65 00 00 B1 04 04 00 A0 E0 ED 9A 70 04 04 00 38 F0 4D 7F 72 04 04 00 68 F0 9F 1B 00 04 7D 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 B5 E3 74 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 8D 0C 5F 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 99 00 6F 04 04 00 42 00 00 00 B1 04 03 00 A4 6D BB 70 04 03 00 A4 6D BB 72 04 00 00 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 0B E8 13 EF 03 09 00 F6 03 01 00 90 00 [11:49:45]wFMCommunicate OK [11:49:45]wFMCommunicate request_size=4 [11:49:45]MH_SAM_APDU [11:49:45]CAPDU: 80 17 00 00 [11:49:45]Write to MH i2c: E2 08 00 41 21 80 17 00 00 00 00 00 00 E2 [11:49:45]Write i2c OK [11:49:45]MH_I2C_Read... [11:49:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:49:45]Read from MH i2c: E2 [11:49:45]MH_I2C_Read... [11:49:45]Read from MH i2c: E2 FD 00 [11:49:45]MH_I2C_Read... [11:49:45]Read from MH i2c: E2 FD 00 41 21 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 A7 A8 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 90 00 62 [11:49:45]RAPDU: 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 A7 A8 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 90 00 [11:49:45]wFMCommunicate OK [11:49:45]wFMCommunicate request_size=4 [11:49:45]MH_SAM_APDU [11:49:45]CAPDU: 80 17 00 00 [11:49:45]Write to MH i2c: E2 08 00 42 21 80 17 00 00 00 00 00 00 E3 [11:49:45]Write i2c OK [11:49:45]MH_I2C_Read... [11:49:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:49:45]Read from MH i2c: E2 [11:49:45]MH_I2C_Read... [11:49:45]Read from MH i2c: E2 FD 00 [11:49:45]MH_I2C_Read... [11:49:45]Read from MH i2c: E2 FD 00 42 21 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 86 [11:49:45]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [11:49:45]wFMCommunicate OK [11:49:45]wFMCommunicate request_size=4 [11:49:45]MH_SAM_APDU [11:49:45]CAPDU: 80 17 00 00 [11:49:45]Write to MH i2c: E2 08 00 43 21 80 17 00 00 00 00 00 00 E4 [11:49:45]Write i2c OK [11:49:45]MH_I2C_Read... [11:49:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:49:46]Read from MH i2c: E2 [11:49:46]MH_I2C_Read... [11:49:46]Read from MH i2c: E2 FD 00 [11:49:46]MH_I2C_Read... [11:49:46]Read from MH i2c: E2 FD 00 43 21 00 01 00 04 F7 03 00 00 EF 03 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 90 00 5C [11:49:46]RAPDU: 01 00 04 F7 03 00 00 EF 03 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 90 00 [11:49:46]wFMCommunicate OK [11:49:46]wFMCommunicate request_size=4 [11:49:46]MH_SAM_APDU [11:49:46]CAPDU: 80 17 00 00 [11:49:46]Write to MH i2c: E2 08 00 44 21 80 17 00 00 00 00 00 00 E5 [11:49:46]Write i2c OK [11:49:46]MH_I2C_Read... [11:49:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [11:49:46]Read from MH i2c: E2 [11:49:46]MH_I2C_Read... [11:49:46]Read from MH i2c: E2 DD 00 [11:49:46]MH_I2C_Read... [11:49:46]Read from MH i2c: E2 DD 00 44 21 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 CD [11:49:46]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:49:46]wFMCommunicate OK [11:49:46]SAM_PROTO_GetFMData done [11:49:46]requested_item fm.sale_refund.total is exist - process it [11:49:46]requested_item fm.buy.total is exist - process it [11:49:46]requested_item shift.sale.total is exist - process it [11:49:46]SAM_PROTO_GetShiftData [11:49:46]wFMCommunicate request_size=4 [11:49:46]MH_SAM_APDU [11:49:46]CAPDU: 80 13 02 00 [11:49:46]Write to MH i2c: E2 08 00 45 21 80 13 02 00 00 00 00 00 E4 [11:49:46]Write i2c OK [11:49:46]MH_I2C_Read... [11:49:46]OFD Sender: No OFD packet to send [11:49:46]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [11:49:46]Read from MH i2c: E2 [11:49:46]MH_I2C_Read... [11:49:46]Read from MH i2c: E2 FD 00 [11:49:46]MH_I2C_Read... [11:49:46]Read from MH i2c: E2 FD 00 45 21 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 EF 64 2F 70 04 03 00 B0 C5 16 72 04 03 00 3F 9F 18 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 B5 08 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 63 6B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 70 [11:49:46]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 EF 64 2F 70 04 03 00 B0 C5 16 72 04 03 00 3F 9F 18 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 B5 08 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 63 6B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:49:46]wFMCommunicate OK [11:49:46]wFMCommunicate request_size=4 [11:49:46]MH_SAM_APDU [11:49:46]CAPDU: 80 17 00 00 [11:49:46]Write to MH i2c: E2 08 00 46 21 80 17 00 00 00 00 00 00 E7 [11:49:46]Write i2c OK [11:49:46]MH_I2C_Read... [11:49:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:49:47]Read from MH i2c: E2 [11:49:47]MH_I2C_Read... [11:49:47]Read from MH i2c: E2 FD 00 [11:49:47]MH_I2C_Read... [11:49:47]Read from MH i2c: E2 FD 00 46 21 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 09 [11:49:47]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [11:49:47]wFMCommunicate OK [11:49:47]wFMCommunicate request_size=4 [11:49:47]MH_SAM_APDU [11:49:47]CAPDU: 80 17 00 00 [11:49:47]Write to MH i2c: E2 08 00 47 21 80 17 00 00 00 00 00 00 E8 [11:49:47]Write i2c OK [11:49:47]MH_I2C_Read... [11:49:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:49:47]Read from MH i2c: E2 [11:49:47]MH_I2C_Read... [11:49:47]Read from MH i2c: E2 FD 00 [11:49:47]MH_I2C_Read... [11:49:47]Read from MH i2c: E2 FD 00 47 21 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 9F [11:49:47]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [11:49:47]wFMCommunicate OK [11:49:47]wFMCommunicate request_size=4 [11:49:47]MH_SAM_APDU [11:49:47]CAPDU: 80 17 00 00 [11:49:47]Write to MH i2c: E2 08 00 48 21 80 17 00 00 00 00 00 00 E9 [11:49:47]Write i2c OK [11:49:47]MH_I2C_Read... [11:49:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:49:47]Read from MH i2c: E2 [11:49:47]MH_I2C_Read... [11:49:47]Read from MH i2c: E2 FD 00 [11:49:47]MH_I2C_Read... [11:49:47]Read from MH i2c: E2 FD 00 48 21 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 5B [11:49:47]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [11:49:47]wFMCommunicate OK [11:49:47]wFMCommunicate request_size=4 [11:49:47]MH_SAM_APDU [11:49:47]CAPDU: 80 17 00 00 [11:49:47]Write to MH i2c: E2 08 00 49 21 80 17 00 00 00 00 00 00 EA [11:49:47]Write i2c OK [11:49:47]MH_I2C_Read... [11:49:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [11:49:47]Read from MH i2c: E2 [11:49:47]MH_I2C_Read... [11:49:47]Read from MH i2c: E2 CB 00 [11:49:47]MH_I2C_Read... [11:49:47]Read from MH i2c: E2 CB 00 49 21 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 D3 [11:49:48]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [11:49:48]wFMCommunicate OK [11:49:48]SAM_PROTO_GetShiftData done [11:49:48]requested_item shift.sale.total_cash is exist - process it [11:49:48]requested_item shift.sale_refund.total is exist - process it [11:49:48]requested_item shift.sale_refund.total_cash is exist - process it [11:49:48]requested_item shift.buy.total is exist - process it [11:49:48]requested_item shift.buy.total_cash is exist - process it [11:49:48]produce_requested_data done [11:49:48]produce_requested_data return {"fm.sale.total":25992808.00,"fm.sale_refund.total":122833.00,"fm.buy.total":0.00,"shift.sale.total":31060.31,"shift.sale.total_cash":14924.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} [11:49:48]process_action_free get_value [11:49:48]json_value_free [11:49:48]json_value_free done [11:49:48]process_json_proto returns [11:49:48]Send response to host [11:49:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":25992808.00,"fm.sale_refund.total":122833.00,"fm.buy.total":0.00,"shift.sale.total":31060.31,"shift.sale.total_cash":14924.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}}} [11:49:48]free response buf [11:49:48]execute_script done [11:49:48]execute_script returns [11:49:48]free content buf [11:49:48]Sock 9.Close socket [11:49:48]Sock 9.Thread stoped [11:49:51]OFD Sender: No OFD packet to send [11:49:56]OFD Sender: No OFD packet to send [11:50:01]OFD Sender: No OFD packet to send [11:50:06]OFD Sender: No OFD packet to send [11:50:11]OFD Sender: No OFD packet to send [11:50:16]OFD Sender: No OFD packet to send [11:50:21]OFD Sender: No OFD packet to send [11:50:26]OFD Sender: No OFD packet to send [11:50:31]OFD Sender: No OFD packet to send [11:50:36]OFD Sender: No OFD packet to send [11:50:41]OFD Sender: No OFD packet to send [11:50:46]OFD Sender: No OFD packet to send [11:50:51]OFD Sender: No OFD packet to send [11:50:56]OFD Sender: No OFD packet to send [11:51:01]OFD Sender: No OFD packet to send [11:51:06]OFD Sender: No OFD packet to send [11:51:11]OFD Sender: No OFD packet to send [11:51:16]OFD Sender: No OFD packet to send [11:51:21]OFD Sender: No OFD packet to send [11:51:26]OFD Sender: No OFD packet to send [11:51:31]OFD Sender: No OFD packet to send [11:51:36]OFD Sender: No OFD packet to send [11:51:41]OFD Sender: No OFD packet to send [11:51:46]OFD Sender: No OFD packet to send [11:51:51]OFD Sender: No OFD packet to send [11:51:56]OFD Sender: No OFD packet to send [11:52:01]OFD Sender: No OFD packet to send [11:52:06]OFD Sender: No OFD packet to send [11:52:11]OFD Sender: No OFD packet to send [11:52:16]OFD Sender: No OFD packet to send [11:52:21]OFD Sender: No OFD packet to send [11:52:26]OFD Sender: No OFD packet to send [11:52:31]OFD Sender: No OFD packet to send [11:52:36]OFD Sender: No OFD packet to send [11:52:41]OFD Sender: No OFD packet to send [11:52:46]OFD Sender: No OFD packet to send [11:52:51]OFD Sender: No OFD packet to send [11:52:56]OFD Sender: No OFD packet to send [11:53:01]OFD Sender: No OFD packet to send [11:53:06]OFD Sender: No OFD packet to send [11:53:11]OFD Sender: No OFD packet to send [11:53:16]OFD Sender: No OFD packet to send [11:53:21]OFD Sender: No OFD packet to send [11:53:26]OFD Sender: No OFD packet to send [11:53:32]OFD Sender: No OFD packet to send [11:53:37]OFD Sender: No OFD packet to send [11:53:42]OFD Sender: No OFD packet to send [11:53:47]OFD Sender: No OFD packet to send [11:53:52]OFD Sender: No OFD packet to send [11:53:57]OFD Sender: No OFD packet to send [11:54:02]OFD Sender: No OFD packet to send [11:54:07]OFD Sender: No OFD packet to send [11:54:12]OFD Sender: No OFD packet to send [11:54:17]OFD Sender: No OFD packet to send [11:54:22]OFD Sender: No OFD packet to send [11:54:27]OFD Sender: No OFD packet to send [11:54:32]OFD Sender: No OFD packet to send [11:54:37]OFD Sender: No OFD packet to send [11:54:42]OFD Sender: No OFD packet to send [11:54:47]OFD Sender: No OFD packet to send [11:54:52]OFD Sender: No OFD packet to send [11:54:57]OFD Sender: No OFD packet to send [11:55:02]OFD Sender: No OFD packet to send [11:55:07]OFD Sender: No OFD packet to send [11:55:12]OFD Sender: No OFD packet to send [11:55:17]OFD Sender: No OFD packet to send [11:55:22]OFD Sender: No OFD packet to send [11:55:27]OFD Sender: No OFD packet to send [11:55:32]OFD Sender: No OFD packet to send [11:55:37]OFD Sender: No OFD packet to send [11:55:42]OFD Sender: No OFD packet to send [11:55:47]OFD Sender: No OFD packet to send [11:55:52]OFD Sender: No OFD packet to send [11:55:57]OFD Sender: No OFD packet to send [11:56:02]OFD Sender: No OFD packet to send [11:56:07]OFD Sender: No OFD packet to send [11:56:12]OFD Sender: No OFD packet to send [11:56:17]OFD Sender: No OFD packet to send [11:56:22]OFD Sender: No OFD packet to send [11:56:27]OFD Sender: No OFD packet to send [11:56:32]OFD Sender: No OFD packet to send [11:56:37]OFD Sender: No OFD packet to send [11:56:42]OFD Sender: No OFD packet to send [11:56:47]OFD Sender: No OFD packet to send [11:56:52]OFD Sender: No OFD packet to send [11:56:57]OFD Sender: No OFD packet to send [11:57:02]OFD Sender: No OFD packet to send [11:57:07]OFD Sender: No OFD packet to send [11:57:12]OFD Sender: No OFD packet to send [11:57:17]OFD Sender: No OFD packet to send [11:57:22]OFD Sender: No OFD packet to send [11:57:27]OFD Sender: No OFD packet to send [11:57:32]OFD Sender: No OFD packet to send [11:57:37]OFD Sender: No OFD packet to send [11:57:42]OFD Sender: No OFD packet to send [11:57:47]OFD Sender: No OFD packet to send [11:57:52]OFD Sender: No OFD packet to send [11:57:57]OFD Sender: No OFD packet to send [11:58:02]OFD Sender: No OFD packet to send [11:58:07]OFD Sender: No OFD packet to send [11:58:12]OFD Sender: No OFD packet to send [11:58:17]OFD Sender: No OFD packet to send [11:58:22]OFD Sender: No OFD packet to send [11:58:27]OFD Sender: No OFD packet to send [11:58:32]OFD Sender: No OFD packet to send [11:58:37]OFD Sender: No OFD packet to send [11:58:42]OFD Sender: No OFD packet to send [11:58:47]OFD Sender: No OFD packet to send [11:58:52]OFD Sender: No OFD packet to send [11:58:57]OFD Sender: No OFD packet to send [11:59:02]OFD Sender: No OFD packet to send [11:59:07]OFD Sender: No OFD packet to send [11:59:12]OFD Sender: No OFD packet to send [11:59:17]OFD Sender: No OFD packet to send [11:59:21]accept exits with 8 [11:59:21]New connection [11:59:21]New thread 3067014500 created [11:59:21]Thread 3066871140 joined [11:59:21]Waiting for new connection... [11:59:21] Sock 8.Parse request [11:59:21]Sock 8.Check first char [11:59:21]Sock 8.First char is OK [11:59:21]request: POST /json_proto HTTP/1.0 [11:59:21]Method: POST [11:59:21]URL: /json_proto [11:59:21]Method is POST - this is cgi request [11:59:21]url: /json_proto [11:59:21]query_string will be loaded in cgi processing [11:59:21]execute_cgi json_proto POST (null) [11:59:21]execute_cgi path=json_proto method=POST [11:59:21]POST find Content-Length [11:59:21]Host: 172.17.35.3:8080 [11:59:21]Content-Length: 677 [11:59:21]Content-Type: application/json [11:59:21] [11:59:21]POST finish read [11:59:21]Found Content-Length = 677 [11:59:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359473", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 8.520, "sum" : 540.17, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 540.00, "total" : 540.00, "payments": [ { "type": 0, "sum" : 540.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:59:21]execute_script... [11:59: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 : (1)359473", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 8.520, "sum" : 540.17, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 540.00, "total" : 540.00, "payments": [ { "type": 0, "sum" : 540.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:59:21]POST & json_proto [11:59:21]process_json_proto [11:59:21]json parsed OK: [11:59:21]protocol is kg_v1.0 [11:59:21]action value=close_receipt [11:59:21]process_action close_receipt [11:59:21]cmd_close_receipt [11:59:21]MH_GetDate [11:59:21]Write to MH i2c: F0 00 00 4A 21 5A [11:59:21]Write i2c OK [11:59:21]MH_I2C_Read... [11:59:21]Read from MH i2c: F0 [11:59:21]MH_I2C_Read... [11:59:21]Read from MH i2c: F0 09 00 [11:59:21]MH_I2C_Read... [11:59:21]Read from MH i2c: F0 09 00 4A 21 00 A2 8A 12 66 2B 11 66 64 0D [11:59:21]GetLastDocTimeStamp 1712490567 [11:59:21]current date 1712491170 [11:59:21]FM_GetShiftState [11:59:21]SAM_PROTO_GetShiftState [11:59:21]wFMCommunicate request_size=4 [11:59:21]MH_SAM_APDU [11:59:21]CAPDU: 80 13 01 00 [11:59:21]Write to MH i2c: E2 08 00 4B 21 80 13 01 00 00 00 00 00 E9 [11:59:21]Write i2c OK [11:59:21]MH_I2C_Read... [11:59:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:59:21]Read from MH i2c: E2 [11:59:21]MH_I2C_Read... [11:59:21]Read from MH i2c: E2 0E 00 [11:59:21]MH_I2C_Read... [11:59:21]Read from MH i2c: E2 0E 00 4B 21 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 7D [11:59:21]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [11:59:21]wFMCommunicate OK [11:59:21]SAM_PROTO_GetShiftState done [11:59:21]FM_GetShiftState done [11:59:21]opened in 1712450087 [11:59:21]opened+sec_in_day 1712536487 [11:59:21]quantity*price = 54016 [11:59:21]sum+1 = 54018 [11:59:21]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.17 ИТОГО: 540.00 Внесено: 540.00 СДАЧА: 0.00 НСП 1% : 4.78 НДС 12% : 57.36 Наличными: 540.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 29 07.04.2024 11:59 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26730 ФПД: 207592775336420 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T115930&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26730&fm=207592775336420&tin=02508201610067®Number=0000000000091578&sum=54000 [11:59:23]StoreToDocumentArchive [11:59:23]shift 313 fd 26730 [11:59:23]save to /storage/0313/doc_00026730 [11:59:23]save last doc name /storage/0313/doc_00026730 to /storage/kkm_last_doc_name [11:59:23]save OK [11:59:23]Clear old archive folders... [11:59:23]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:59:23]tlvbuf is B6ED09F0 [11:59:23]SAM_PROTO_ClearQueue [11:59:23]wFMCommunicate request_size=4 [11:59:23]MH_SAM_APDU [11:59:23]CAPDU: 80 09 00 00 [11:59:23]Write to MH i2c: E2 08 00 58 21 80 09 00 00 00 00 00 00 EB [11:59:23]Write i2c OK [11:59:23]MH_I2C_Read... [11:59:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:59:23]Read from MH i2c: E2 [11:59:23]MH_I2C_Read... [11:59:23]Read from MH i2c: E2 03 00 [11:59:23]MH_I2C_Read... [11:59:23]Read from MH i2c: E2 03 00 58 21 00 90 00 ED [11:59:23]RAPDU: 90 00 [11:59:23]wFMCommunicate OK [11:59:23]SAM_PROTO_ClearQueue done [11:59:23]KKMCreateOFDPacket [11:59:23]OFDProtocolAddRootSTLVToBuf [11:59:23]FM_MakeSignedData [11:59:23]FM_MakeSignedData [11:59:23]SAM_PROTO_SignData [11:59:23]wFMCommunicate request_size=4 [11:59:23]MH_SAM_APDU [11:59:23]CAPDU: 80 0D 01 02 [11:59:23]Write to MH i2c: E2 08 00 59 21 80 0D 01 02 00 00 00 00 F3 [11:59:23]Write i2c OK [11:59:23]MH_I2C_Read... [11:59:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:59:23]Read from MH i2c: E2 [11:59:23]MH_I2C_Read... [11:59:23]Read from MH i2c: E2 03 00 [11:59:23]MH_I2C_Read... [11:59:23]Read from MH i2c: E2 03 00 59 21 00 90 00 EE [11:59:23]RAPDU: 90 00 [11:59:23]wFMCommunicate OK [11:59:23]wFMCommunicate request_size=255 [11:59:23]MH_SAM_APDU [11:59:23]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 48 21 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 01 D3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 D2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DE 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 68 16 00 00 00 00 07 04 06 00 F0 D2 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 A2 8A 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 6A 68 00 00 35 04 06 00 BC [11:59:23]Write to MH i2c: E2 02 01 5A 21 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 48 21 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 01 D3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 D2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DE 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 68 16 00 00 00 00 07 04 06 00 F0 D2 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 A2 8A 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 6A 68 00 00 35 04 06 00 BC 00 00 8A [11:59:23]Write i2c OK [11:59:23]MH_I2C_Read... [11:59:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:59:23]Read from MH i2c: E2 [11:59:23]MH_I2C_Read... [11:59:23]Read from MH i2c: E2 03 00 [11:59:23]MH_I2C_Read... [11:59:23]Read from MH i2c: E2 03 00 5A 21 00 90 00 EF [11:59:23]RAPDU: 90 00 [11:59:23]wFMCommunicate OK [11:59:23]wFMCommunicate request_size=10 [11:59:23]MH_SAM_APDU [11:59:23]CAPDU: 80 0D 02 02 05 CD F5 A1 C1 E4 [11:59:23]Write to MH i2c: E2 0D 00 5B 21 80 0D 02 02 05 00 CD F5 A1 C1 E4 00 00 08 [11:59:23]Write i2c OK [11:59:23]MH_I2C_Read... [11:59:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:59:23]Read from MH i2c: E2 [11:59:23]MH_I2C_Read... [11:59:23]Read from MH i2c: E2 03 00 [11:59:23]MH_I2C_Read... [11:59:23]Read from MH i2c: E2 03 00 5B 21 00 90 00 F0 [11:59:23]RAPDU: 90 00 [11:59:23]wFMCommunicate OK [11:59:23]wFMCommunicate request_size=4 [11:59:23]MH_SAM_APDU [11:59:23]CAPDU: 80 0D 03 02 [11:59:23]Write to MH i2c: E2 08 00 5C 21 80 0D 03 02 00 00 00 00 F8 [11:59:23]Write i2c OK [11:59:23]MH_I2C_Read... [11:59:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:59:23]Read from MH i2c: E2 [11:59:23]MH_I2C_Read... [11:59:23]Read from MH i2c: E2 0B 00 [11:59:23]MH_I2C_Read... [11:59:23]Read from MH i2c: E2 0B 00 5C 21 00 AA BB 91 D6 D8 DA D5 AF 90 00 FB [11:59:23]RAPDU: AA BB 91 D6 D8 DA D5 AF 90 00 [11:59:23]wFMCommunicate OK [11:59:23]SAM_PROTO_SignData done [11:59:23]FM_MakeSignedData done [11:59:23]CreateOFDProtocolMessage [11:59:23]wFMCommunicate request_size=4 [11:59:23]MH_SAM_APDU [11:59:23]CAPDU: 80 11 00 00 [11:59:23]Write to MH i2c: E2 08 00 5D 21 80 11 00 00 00 00 00 00 F8 [11:59:23]Write i2c OK [11:59:23]MH_I2C_Read... [11:59:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:59:23]Read from MH i2c: E2 [11:59:23]MH_I2C_Read... [11:59:23]Read from MH i2c: E2 17 00 [11:59:23]MH_I2C_Read... [11:59:23]Read from MH i2c: E2 17 00 5D 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 50 [11:59:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [11:59:23]wFMCommunicate OK [11:59:23]CreateOFDProtocolMessage done [11:59:23]OFDSenderStorePacket 26730 [11:59:23]StoreOFDPacket docnum=26730 [11:59:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 9D C7 07 01 FE D1 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 48 21 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 01 D3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 D2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DE 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 68 16 00 00 00 00 07 04 06 00 F0 D2 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 A2 8A 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 6A 68 00 00 35 04 06 00 BC CD F5 A1 C1 E4 AA BB 91 D6 D8 DA D5 AF [11:59:23]CheckFolder [11:59:23]dirname=/storage/ofd_packets [11:59:23]CheckFolder done [11:59:23]ProducePacketName [11:59:23]name=ofd_packets/00026730 [11:59:23]NVStorageSaveData ofd_packets/00026730 [11:59:23]File name is /storage/ofd_packets/00026730 [11:59:23]Write 301 bytes [11:59:23]NVStorageSaveData done [11:59:23]OFDSenderStorePacket done [11:59:23]KKMCreateOFDPacket done [11:59:23]NVStorageSaveData kkm_last_timestamp [11:59:23]File name is /storage/kkm_last_timestamp [11:59:23]Write 4 bytes [11:59:23]NVStorageSaveData done [11:59:23]ExternCall_PrintAddStr [11:59:23]wPrintStart [11:59:23]Write to MH i2c: 01 00 00 5E 21 7F [11:59:23]Write i2c OK [11:59:23]MH_I2C_Read... [11:59:23]Read from MH i2c: 01 [11:59:23]MH_I2C_Read... [11:59:23]Read from MH i2c: 01 07 00 [11:59:23]MH_I2C_Read... [11:59:23]Read from MH i2c: 01 07 00 5E 21 00 00 00 00 00 FF 0F 94 [11:59:23]RasterBufferAndPrint [11:59:23]line Счет N : (1)359473 [11:59:23]line ИНН: 02508201610067 [11:59:23]line Контрольно-Кассовый Чек [11:59:23]line ПРОДАЖА [11:59:23]line ТРК (МРК, ГНК) : 61 [11:59:23]line Товар: 2710124130 [11:59:23]line Аи-92-К-5 [11:59:23]line 8.520 * 63.40 [11:59:23]line = 540.17 [11:59:23]line НДС 12% НСП 1% [11:59:23]line > о реализуемом товаре [11:59:23]line ОКРУГЛЕНИЕ: -0.17 [11:59:23]line ИТОГО: 540.00 [11:59:23]line Внесено: 540.00 [11:59:23]line СДАЧА: 0.00 [11:59:23]line НСП 1% : 4.78 [11:59:23]line НДС 12% : 57.36 [11:59:23]line Наличными: 540.00 [11:59:23]line Безнал.: 0.00 [11:59:23]line Место: АЗС № 122 "Партнер Нефть" [11:59:23]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [11:59:23]line СНО: Общий режим [11:59:23]line Чек 29 07.04.2024 11:59 [11:59:23]line Смена: 313 ФФД: 1.0 [11:59:23]line ЗНМ: 0300000147 [11:59:23]line РНМ: 0000000000091578 [11:59:23]line Версия ККМ: 001 [11:59:23]line ФМ: 0000000000874657 [11:59:23]line ФД: 26730 [11:59:23]line ФПД: 207592775336420 [11:59:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T115930&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26730&fm=207592775336420&tin=02508201610067®Number=0000000000091578&sum=54000 [11:59:23]OFD Sender: Processing packet 26730 [packets to send 44, broken 43] [11:59:23]ProducePacketName [11:59:23]name=ofd_packets/00026730 [11:59:23]OFD Sender: To server: pG, [11:59:23]CommunicateWithHost lk.salyk.kg:30040 [11:59:23]ConnectInit lk.salyk.kg [11:59:23]written 0, free lines is 4095 [11:59:24]Connected sock=10 [11:59: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 36 35 37 0F 01 00 00 9D C7 07 01 FE D1 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 48 21 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 01 D3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 D2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DE 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 68 16 00 00 00 00 07 04 06 00 F0 D2 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 A2 8A 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 6A 68 00 00 35 04 06 00 BC CD F5 A1 C1 E4 AA BB 91 D6 D8 DA D5 AF [11:59:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 FF 3C 47 00 14 D4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 37 10 04 04 00 6A 68 00 00 F4 03 04 00 10 32 12 66 B6 04 01 00 00 24 CA F8 3B 33 12 95 6D [11:59:24]CommunicateWithHost err = 0 [11:59:24]CheckOFDResponse [11:59:24]1017 (14) - 77093643461234 [11:59:24]1041 (16) - 0000000000874657 [11:59:24]1040 (4) - 26730 [11:59:24]1012 (4) - 07.04.2024 05:41 [11:59:24]1206 (1) - 0 [11:59:24]OFD Sender: Remove packet 26730 [11:59:24]ProducePacketName [11:59:24]name=ofd_packets/00026730 [11:59:24]NVStorageDeleteData [11:59:24]Write to MH i2c: 01 00 00 89 21 AA [11:59:24]Write i2c OK [11:59:24]MH_I2C_Read... [11:59:24]Read from MH i2c: 01 [11:59:24]MH_I2C_Read... [11:59:24]Read from MH i2c: 01 07 00 [11:59:24]MH_I2C_Read... [11:59:24]Read from MH i2c: 01 07 00 89 21 00 00 00 00 00 79 0C 36 [11:59:24]RasterBufferAndPrint [11:59:24]line [11:59:24]line [11:59:24]line [11:59:24]line [11:59:24]line [11:59:24]written 0, free lines is 3196 [11:59:24]MH_Cut [11:59:24]Write to MH i2c: D1 01 00 90 21 01 83 [11:59:24]Write i2c OK [11:59:24]MH_I2C_Read... [11:59:24]Read from MH i2c: D1 [11:59:24]MH_I2C_Read... [11:59:24]Read from MH i2c: D1 01 00 [11:59:24]MH_I2C_Read... [11:59:24]Read from MH i2c: D1 01 00 90 21 00 82 [11:59:24]Write to MH i2c: 01 00 00 91 21 B2 [11:59:24]Write i2c OK [11:59:24]MH_I2C_Read... [11:59:24]OFD Sender: No OFD packet to send [11:59:25]*** Cut start [11:59:25]*** Partial cut [11:59:25]*** CUTSNS_PIN = 1 [11:59:25]*** CUTSNS_PIN = 0 [11:59:25]*** Brake cut motor [11:59:26]Read from MH i2c: 01 [11:59:26]MH_I2C_Read... [11:59:26]*** Stop cut motor [11:59:26]*** Cut end [11:59:26]Read from MH i2c: 01 07 00 [11:59:26]MH_I2C_Read... [11:59:26]Read from MH i2c: 01 07 00 91 21 00 00 00 00 00 FF 0F C7 [11:59:26]process_action close_receipt done [11:59:26]requested_data is exist [11:59:26]produce_requested_data [11:59:26]requested_item fm.sn is exist - process it [11:59:26]wFMCommunicate request_size=4 [11:59:26]MH_SAM_APDU [11:59:26]CAPDU: 80 11 00 00 [11:59:26]Write to MH i2c: E2 08 00 92 21 80 11 00 00 00 00 00 00 2D [11:59:26]Write i2c OK [11:59:26]MH_I2C_Read... [11:59:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:59:26]Read from MH i2c: E2 [11:59:26]MH_I2C_Read... [11:59:26]Read from MH i2c: E2 17 00 [11:59:26]MH_I2C_Read... [11:59:26]Read from MH i2c: E2 17 00 92 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 85 [11:59:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [11:59:26]wFMCommunicate OK [11:59:26]requested_item fd.num is exist - process it [11:59:26]SAM_PROTO_GetFieldsCounters [11:59:26]wFMCommunicate request_size=4 [11:59:26]MH_SAM_APDU [11:59:26]CAPDU: 80 13 00 00 [11:59:26]Write to MH i2c: E2 08 00 93 21 80 13 00 00 00 00 00 00 30 [11:59:26]Write i2c OK [11:59:26]MH_I2C_Read... [11:59:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:59:26]Read from MH i2c: E2 [11:59:26]MH_I2C_Read... [11:59:26]Read from MH i2c: E2 62 00 [11:59:26]MH_I2C_Read... [11:59:26]Read from MH i2c: E2 62 00 93 21 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 6A 68 00 00 0E 04 04 00 39 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 BE [11:59: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 6A 68 00 00 0E 04 04 00 39 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 [11:59:26]wFMCommunicate OK [11:59:26]SAM_PROTO_GetFieldsCounters done [11:59:26]requested_item shift.num is exist - process it [11:59:26]requested_item shift.opened is exist - process it [11:59:26]req_shift_opened [11:59:26]FM_GetShiftState [11:59:26]SAM_PROTO_GetShiftState [11:59:26]wFMCommunicate request_size=4 [11:59:26]MH_SAM_APDU [11:59:26]CAPDU: 80 13 01 00 [11:59:26]Write to MH i2c: E2 08 00 94 21 80 13 01 00 00 00 00 00 32 [11:59:26]Write i2c OK [11:59:26]MH_I2C_Read... [11:59:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:59:26]Read from MH i2c: E2 [11:59:26]MH_I2C_Read... [11:59:26]Read from MH i2c: E2 0E 00 [11:59:26]MH_I2C_Read... [11:59:26]Read from MH i2c: E2 0E 00 94 21 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 C6 [11:59:26]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [11:59:26]wFMCommunicate OK [11:59:26]SAM_PROTO_GetShiftState done [11:59:26]FM_GetShiftState done [11:59:26]req_shift_opened done [11:59:26]requested_item shift.open_date is exist - process it [11:59:26]req_shift_open_date [11:59:26]req_shift_open_date done [11:59:26]produce_requested_data done [11:59:26]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26730,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [11:59:26]process_action_free close_receipt [11:59:26]json_value_free [11:59:26]json_value_free done [11:59:26]process_json_proto returns [11:59:26]Send response to host [11:59:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26730,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [11:59:26]free response buf [11:59:26]execute_script done [11:59:26]execute_script returns [11:59:26]free content buf [11:59:26]Sock 8.Close socket [11:59:26]Sock 8.Thread stoped [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:05]OFD Sender: No OFD packet to send [12:04:10]OFD Sender: No OFD packet to send [12:04:15]OFD Sender: No OFD packet to send [12:04:20]OFD Sender: No OFD packet to send [12:04:25]OFD Sender: No OFD packet to send [12:04:30]OFD Sender: No OFD packet to send [12:04:35]OFD Sender: No OFD packet to send [12:04:40]OFD Sender: No OFD packet to send [12:04:45]OFD Sender: No OFD packet to send [12:04:50]OFD Sender: No OFD packet to send [12:04:55]OFD Sender: No OFD packet to send [12:05:00]OFD Sender: No OFD packet to send [12:05:05]OFD Sender: No OFD packet to send [12:05:07]accept exits with 9 [12:05:07]New connection [12:05:07]New thread 3066871140 created [12:05:07]Thread 3067014500 joined [12:05:07]Waiting for new connection... [12:05:07] Sock 9.Parse request [12:05:07]Sock 9.Check first char [12:05:07]Sock 9.First char is OK [12:05:07]request: POST /json_proto HTTP/1.0 [12:05:07]Method: POST [12:05:07]URL: /json_proto [12:05:07]Method is POST - this is cgi request [12:05:07]url: /json_proto [12:05:07]query_string will be loaded in cgi processing [12:05:07]execute_cgi json_proto POST (null) [12:05:07]execute_cgi path=json_proto method=POST [12:05:07]POST find Content-Length [12:05:07]Host: 172.17.35.3:8080 [12:05:07]Content-Length: 666 [12:05:07]Content-Type: application/json [12:05:07] [12:05:07]POST finish read [12:05:07]Found Content-Length = 666 [12:05:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359474", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 10.000, "sum" : 718.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "payments": [ { "type": 0, "sum" : 718.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:05:07]execute_script... [12:05: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 : (1)359474", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 10.000, "sum" : 718.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "payments": [ { "type": 0, "sum" : 718.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:05:07]POST & json_proto [12:05:07]process_json_proto [12:05:07]json parsed OK: [12:05:07]protocol is kg_v1.0 [12:05:07]action value=close_receipt [12:05:07]process_action close_receipt [12:05:07]cmd_close_receipt [12:05:07]MH_GetDate [12:05:07]Write to MH i2c: F0 00 00 95 21 A5 [12:05:07]Write i2c OK [12:05:07]MH_I2C_Read... [12:05:07]Read from MH i2c: F0 [12:05:07]MH_I2C_Read... [12:05:07]Read from MH i2c: F0 09 00 [12:05:07]MH_I2C_Read... [12:05:07]Read from MH i2c: F0 09 00 95 21 00 FC 8B 12 66 2B 11 66 64 B3 [12:05:07]GetLastDocTimeStamp 1712491170 [12:05:07]current date 1712491516 [12:05:07]FM_GetShiftState [12:05:07]SAM_PROTO_GetShiftState [12:05:07]wFMCommunicate request_size=4 [12:05:07]MH_SAM_APDU [12:05:07]CAPDU: 80 13 01 00 [12:05:07]Write to MH i2c: E2 08 00 96 21 80 13 01 00 00 00 00 00 34 [12:05:07]Write i2c OK [12:05:07]MH_I2C_Read... [12:05:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:05:07]Read from MH i2c: E2 [12:05:07]MH_I2C_Read... [12:05:07]Read from MH i2c: E2 0E 00 [12:05:07]MH_I2C_Read... [12:05:07]Read from MH i2c: E2 0E 00 96 21 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 C8 [12:05:07]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [12:05:07]wFMCommunicate OK [12:05:07]SAM_PROTO_GetShiftState done [12:05:07]FM_GetShiftState done [12:05:07]opened in 1712450087 [12:05:07]opened+sec_in_day 1712536487 [12:05:07]quantity*price = 71800 [12:05:07]sum+1 = 71801 [12:05:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 718.00 Внесено: 1000.00 СДАЧА: 282.00 НСП 1% : 6.35 НДС 12% : 76.25 Наличными: 718.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 30 07.04.2024 12:05 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26731 ФПД: 44462317194000 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T120516&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26731&fm=44462317194000&tin=02508201610067®Number=0000000000091578&sum=71800 [12:05:08]StoreToDocumentArchive [12:05:08]shift 313 fd 26731 [12:05:08]save to /storage/0313/doc_00026731 [12:05:08]save last doc name /storage/0313/doc_00026731 to /storage/kkm_last_doc_name [12:05:08]save OK [12:05:08]Clear old archive folders... [12:05:08]ProcessDocumentItem done err = 0, tmpTLVsize=252 [12:05:08]tlvbuf is B6EE9400 [12:05:08]SAM_PROTO_ClearQueue [12:05:08]wFMCommunicate request_size=4 [12:05:08]MH_SAM_APDU [12:05:08]CAPDU: 80 09 00 00 [12:05:08]Write to MH i2c: E2 08 00 A3 21 80 09 00 00 00 00 00 00 36 [12:05:08]Write i2c OK [12:05:08]MH_I2C_Read... [12:05:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:05:08]Read from MH i2c: E2 [12:05:08]MH_I2C_Read... [12:05:08]Read from MH i2c: E2 03 00 [12:05:08]MH_I2C_Read... [12:05:08]Read from MH i2c: E2 03 00 A3 21 00 90 00 38 [12:05:08]RAPDU: 90 00 [12:05:08]wFMCommunicate OK [12:05:08]SAM_PROTO_ClearQueue done [12:05:08]KKMCreateOFDPacket [12:05:08]OFDProtocolAddRootSTLVToBuf [12:05:08]FM_MakeSignedData [12:05:08]FM_MakeSignedData [12:05:08]SAM_PROTO_SignData [12:05:08]wFMCommunicate request_size=4 [12:05:08]MH_SAM_APDU [12:05:08]CAPDU: 80 0D 01 02 [12:05:08]Write to MH i2c: E2 08 00 A4 21 80 0D 01 02 00 00 00 00 3E [12:05:08]Write i2c OK [12:05:08]MH_I2C_Read... [12:05:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:05:08]Read from MH i2c: E2 [12:05:08]MH_I2C_Read... [12:05:08]Read from MH i2c: E2 03 00 [12:05:08]MH_I2C_Read... [12:05:08]Read from MH i2c: E2 03 00 A4 21 00 90 00 39 [12:05:08]RAPDU: 90 00 [12:05:08]wFMCommunicate OK [12:05:08]wFMCommunicate request_size=255 [12:05:08]MH_SAM_APDU [12:05:08]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 78 18 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 18 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 1D 00 00 00 00 07 04 06 00 78 18 01 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 FC 8B 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 6B 68 00 00 35 04 06 00 [12:05:08]Write to MH i2c: E2 02 01 A5 21 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 78 18 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 18 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 1D 00 00 00 00 07 04 06 00 78 18 01 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 FC 8B 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 6B 68 00 00 35 04 06 00 00 00 2C [12:05:08]Write i2c OK [12:05:08]MH_I2C_Read... [12:05:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:05:08]Read from MH i2c: E2 [12:05:08]MH_I2C_Read... [12:05:08]Read from MH i2c: E2 03 00 [12:05:08]MH_I2C_Read... [12:05:08]Read from MH i2c: E2 03 00 A5 21 00 90 00 3A [12:05:08]RAPDU: 90 00 [12:05:08]wFMCommunicate OK [12:05:08]wFMCommunicate request_size=11 [12:05:08]MH_SAM_APDU [12:05:08]CAPDU: 80 0D 02 02 06 28 70 30 9F 4B 10 [12:05:08]Write to MH i2c: E2 0E 00 A6 21 80 0D 02 02 06 00 28 70 30 9F 4B 10 00 00 0F [12:05:08]Write i2c OK [12:05:08]MH_I2C_Read... [12:05:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:05:08]Read from MH i2c: E2 [12:05:08]MH_I2C_Read... [12:05:08]Read from MH i2c: E2 03 00 [12:05:08]MH_I2C_Read... [12:05:08]Read from MH i2c: E2 03 00 A6 21 00 90 00 3B [12:05:08]RAPDU: 90 00 [12:05:08]wFMCommunicate OK [12:05:08]wFMCommunicate request_size=4 [12:05:08]MH_SAM_APDU [12:05:08]CAPDU: 80 0D 03 02 [12:05:08]Write to MH i2c: E2 08 00 A7 21 80 0D 03 02 00 00 00 00 43 [12:05:08]Write i2c OK [12:05:08]MH_I2C_Read... [12:05:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:05:08]Read from MH i2c: E2 [12:05:08]MH_I2C_Read... [12:05:08]Read from MH i2c: E2 0B 00 [12:05:08]MH_I2C_Read... [12:05:08]Read from MH i2c: E2 0B 00 A7 21 00 D8 8E 0D 79 76 83 52 69 90 00 E4 [12:05:08]RAPDU: D8 8E 0D 79 76 83 52 69 90 00 [12:05:08]wFMCommunicate OK [12:05:08]SAM_PROTO_SignData done [12:05:08]FM_MakeSignedData done [12:05:08]CreateOFDProtocolMessage [12:05:08]wFMCommunicate request_size=4 [12:05:08]MH_SAM_APDU [12:05:08]CAPDU: 80 11 00 00 [12:05:08]Write to MH i2c: E2 08 00 A8 21 80 11 00 00 00 00 00 00 43 [12:05:08]Write i2c OK [12:05:08]MH_I2C_Read... [12:05:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:05:09]Read from MH i2c: E2 [12:05:09]MH_I2C_Read... [12:05:09]Read from MH i2c: E2 17 00 [12:05:09]MH_I2C_Read... [12:05:09]Read from MH i2c: E2 17 00 A8 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 9B [12:05:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [12:05:09]wFMCommunicate OK [12:05:09]CreateOFDProtocolMessage done [12:05:09]OFDSenderStorePacket 26731 [12:05:09]StoreOFDPacket docnum=26731 [12:05:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 AB 0A 08 01 0A 81 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 78 18 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 18 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 1D 00 00 00 00 07 04 06 00 78 18 01 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 FC 8B 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 6B 68 00 00 35 04 06 00 28 70 30 9F 4B 10 D8 8E 0D 79 76 83 52 69 [12:05:09]CheckFolder [12:05:09]dirname=/storage/ofd_packets [12:05:09]CheckFolder done [12:05:09]ProducePacketName [12:05:09]name=ofd_packets/00026731 [12:05:09]NVStorageSaveData ofd_packets/00026731 [12:05:09]File name is /storage/ofd_packets/00026731 [12:05:09]Write 302 bytes [12:05:09]NVStorageSaveData done [12:05:09]OFDSenderStorePacket done [12:05:09]KKMCreateOFDPacket done [12:05:09]NVStorageSaveData kkm_last_timestamp [12:05:09]File name is /storage/kkm_last_timestamp [12:05:09]Write 4 bytes [12:05:09]NVStorageSaveData done [12:05:09]ExternCall_PrintAddStr [12:05:09]wPrintStart [12:05:09]Write to MH i2c: 01 00 00 A9 21 CA [12:05:09]Write i2c OK [12:05:09]MH_I2C_Read... [12:05:09]Read from MH i2c: 01 [12:05:09]MH_I2C_Read... [12:05:09]Read from MH i2c: 01 07 00 [12:05:09]MH_I2C_Read... [12:05:09]Read from MH i2c: 01 07 00 A9 21 00 00 00 00 00 FF 0F DF [12:05:09]RasterBufferAndPrint [12:05:09]line Счет N : (1)359474 [12:05:09]line ИНН: 02508201610067 [12:05:09]line Контрольно-Кассовый Чек [12:05:09]line ПРОДАЖА [12:05:09]line ТРК (МРК, ГНК) : 21 [12:05:09]line Товар: 2710194210 [12:05:09]line ДТ(л)-К-5 [12:05:09]line 10.000 * 71.80 [12:05:09]line = 718.00 [12:05:09]line НДС 12% НСП 1% [12:05:09]line > о реализуемом товаре [12:05:09]line ИТОГО: 718.00 [12:05:09]line Внесено: 1000.00 [12:05:09]line СДАЧА: 282.00 [12:05:09]line НСП 1% : 6.35 [12:05:09]line НДС 12% : 76.25 [12:05:09]line Наличными: 718.00 [12:05:09]line Безнал.: 0.00 [12:05:09]line Место: АЗС № 122 "Партнер Нефть" [12:05:09]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [12:05:09]line СНО: Общий режим [12:05:09]line Чек 30 07.04.2024 12:05 [12:05:09]line Смена: 313 ФФД: 1.0 [12:05:09]line ЗНМ: 0300000147 [12:05:09]line РНМ: 0000000000091578 [12:05:09]line Версия ККМ: 001 [12:05:09]line ФМ: 0000000000874657 [12:05:09]line ФД: 26731 [12:05:09]line ФПД: 44462317194000 [12:05:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T120516&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26731&fm=44462317194000&tin=02508201610067®Number=0000000000091578&sum=71800 [12:05:09]OFD Sender: Processing packet 26731 [packets to send 44, broken 43] [12:05:09]ProducePacketName [12:05:09]name=ofd_packets/00026731 [12:05:09]OFD Sender: To server: pG, [12:05:09]CommunicateWithHost lk.salyk.kg:30040 [12:05:09]ConnectInit lk.salyk.kg [12:05:09]written 0, free lines is 4095 [12:05:09]Connected sock=10 [12:05: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 36 35 37 10 01 00 00 AB 0A 08 01 0A 81 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 78 18 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 18 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 1D 00 00 00 00 07 04 06 00 78 18 01 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 FC 8B 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 6B 68 00 00 35 04 06 00 28 70 30 9F 4B 10 D8 8E 0D 79 76 83 52 69 [12:05:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 9A F9 47 00 E9 5F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 37 10 04 04 00 6B 68 00 00 F4 03 04 00 69 33 12 66 B6 04 01 00 00 AA B7 92 71 CC 59 D7 41 [12:05:09]CommunicateWithHost err = 0 [12:05:09]CheckOFDResponse [12:05:09]1017 (14) - 77093643461234 [12:05:09]1041 (16) - 0000000000874657 [12:05:09]1040 (4) - 26731 [12:05:09]1012 (4) - 07.04.2024 05:47 [12:05:09]1206 (1) - 0 [12:05:09]OFD Sender: Remove packet 26731 [12:05:09]ProducePacketName [12:05:09]name=ofd_packets/00026731 [12:05:09]NVStorageDeleteData [12:05:09]Write to MH i2c: 01 00 00 D3 21 F4 [12:05:09]Write i2c OK [12:05:09]MH_I2C_Read... [12:05:09]Read from MH i2c: 01 [12:05:09]MH_I2C_Read... [12:05:09]Read from MH i2c: 01 07 00 [12:05:09]MH_I2C_Read... [12:05:09]Read from MH i2c: 01 07 00 D3 21 00 00 00 00 00 8B 0C 92 [12:05:09]RasterBufferAndPrint [12:05:09]line [12:05:09]line [12:05:09]line [12:05:09]line [12:05:09]line [12:05:09]written 0, free lines is 3215 [12:05:09]MH_Cut [12:05:09]Write to MH i2c: D1 01 00 DA 21 01 CD [12:05:09]Write i2c OK [12:05:09]MH_I2C_Read... [12:05:09]Read from MH i2c: D1 [12:05:09]MH_I2C_Read... [12:05:09]Read from MH i2c: D1 01 00 [12:05:09]MH_I2C_Read... [12:05:09]Read from MH i2c: D1 01 00 DA 21 00 CC [12:05:09]Write to MH i2c: 01 00 00 DB 21 FC [12:05:09]Write i2c OK [12:05:09]MH_I2C_Read... [12:05:10]OFD Sender: No OFD packet to send [12:05:10]*** Cut start [12:05:10]*** Partial cut [12:05:10]*** CUTSNS_PIN = 1 [12:05:10]*** CUTSNS_PIN = 0 [12:05:11]*** Brake cut motor [12:05:11]Read from MH i2c: 01 [12:05:11]MH_I2C_Read... [12:05:11]*** Stop cut motor [12:05:11]*** Cut end [12:05:11]Read from MH i2c: 01 07 00 [12:05:11]MH_I2C_Read... [12:05:11]Read from MH i2c: 01 07 00 DB 21 00 00 00 00 00 FF 0F 11 [12:05:11]process_action close_receipt done [12:05:11]requested_data is exist [12:05:11]produce_requested_data [12:05:11]requested_item fm.sn is exist - process it [12:05:11]wFMCommunicate request_size=4 [12:05:11]MH_SAM_APDU [12:05:11]CAPDU: 80 11 00 00 [12:05:11]Write to MH i2c: E2 08 00 DC 21 80 11 00 00 00 00 00 00 77 [12:05:11]Write i2c OK [12:05:11]MH_I2C_Read... [12:05:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:05:11]Read from MH i2c: E2 [12:05:11]MH_I2C_Read... [12:05:11]Read from MH i2c: E2 17 00 [12:05:11]MH_I2C_Read... [12:05:11]Read from MH i2c: E2 17 00 DC 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 CF [12:05:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [12:05:11]wFMCommunicate OK [12:05:11]requested_item fd.num is exist - process it [12:05:11]SAM_PROTO_GetFieldsCounters [12:05:11]wFMCommunicate request_size=4 [12:05:11]MH_SAM_APDU [12:05:11]CAPDU: 80 13 00 00 [12:05:11]Write to MH i2c: E2 08 00 DD 21 80 13 00 00 00 00 00 00 7A [12:05:11]Write i2c OK [12:05:11]MH_I2C_Read... [12:05:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:05:11]Read from MH i2c: E2 [12:05:11]MH_I2C_Read... [12:05:11]Read from MH i2c: E2 62 00 [12:05:11]MH_I2C_Read... [12:05:11]Read from MH i2c: E2 62 00 DD 21 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 6B 68 00 00 0E 04 04 00 39 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 0C [12:05: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 6B 68 00 00 0E 04 04 00 39 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 [12:05:11]wFMCommunicate OK [12:05:11]SAM_PROTO_GetFieldsCounters done [12:05:11]requested_item shift.num is exist - process it [12:05:11]requested_item shift.opened is exist - process it [12:05:11]req_shift_opened [12:05:11]FM_GetShiftState [12:05:11]SAM_PROTO_GetShiftState [12:05:11]wFMCommunicate request_size=4 [12:05:11]MH_SAM_APDU [12:05:11]CAPDU: 80 13 01 00 [12:05:11]Write to MH i2c: E2 08 00 DE 21 80 13 01 00 00 00 00 00 7C [12:05:11]Write i2c OK [12:05:11]MH_I2C_Read... [12:05:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:05:11]Read from MH i2c: E2 [12:05:11]MH_I2C_Read... [12:05:11]Read from MH i2c: E2 0E 00 [12:05:11]MH_I2C_Read... [12:05:11]Read from MH i2c: E2 0E 00 DE 21 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 10 [12:05:11]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [12:05:11]wFMCommunicate OK [12:05:11]SAM_PROTO_GetShiftState done [12:05:11]FM_GetShiftState done [12:05:11]req_shift_opened done [12:05:11]requested_item shift.open_date is exist - process it [12:05:11]req_shift_open_date [12:05:11]req_shift_open_date done [12:05:11]produce_requested_data done [12:05:11]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26731,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [12:05:11]process_action_free close_receipt [12:05:11]json_value_free [12:05:11]json_value_free done [12:05:11]process_json_proto returns [12:05:11]Send response to host [12:05:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26731,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [12:05:11]free response buf [12:05:11]execute_script done [12:05:11]execute_script returns [12:05:11]free content buf [12:05:11]Sock 9.Close socket [12:05:11]Sock 9.Thread stoped [12:05:15]OFD Sender: No OFD packet to send [12:05:20]OFD Sender: No OFD packet to send [12:05:25]OFD Sender: No OFD packet to send [12:05:30]OFD Sender: No OFD packet to send [12:05:35]OFD Sender: No OFD packet to send [12:05:40]OFD Sender: No OFD packet to send [12:05:45]OFD Sender: No OFD packet to send [12:05:50]OFD Sender: No OFD packet to send [12:05:55]OFD Sender: No OFD packet to send [12:06:00]OFD Sender: No OFD packet to send [12:06:05]OFD Sender: No OFD packet to send [12:06:10]OFD Sender: No OFD packet to send [12:06:15]OFD Sender: No OFD packet to send [12:06:20]OFD Sender: No OFD packet to send [12:06:25]OFD Sender: No OFD packet to send [12:06:30]OFD Sender: No OFD packet to send [12:06:35]OFD Sender: No OFD packet to send [12:06:40]OFD Sender: No OFD packet to send [12:06:45]OFD Sender: No OFD packet to send [12:06:50]OFD Sender: No OFD packet to send [12:06:55]OFD Sender: No OFD packet to send [12:07:00]OFD Sender: No OFD packet to send [12:07:05]OFD Sender: No OFD packet to send [12:07:10]OFD Sender: No OFD packet to send [12:07:15]OFD Sender: No OFD packet to send [12:07:20]OFD Sender: No OFD packet to send [12:07:25]OFD Sender: No OFD packet to send [12:07:30]OFD Sender: No OFD packet to send [12:07:35]OFD Sender: No OFD packet to send [12:07:40]OFD Sender: No OFD packet to send [12:07:45]OFD Sender: No OFD packet to send [12:07:50]OFD Sender: No OFD packet to send [12:07:55]OFD Sender: No OFD packet to send [12:08:00]OFD Sender: No OFD packet to send [12:08:05]OFD Sender: No OFD packet to send [12:08:10]OFD Sender: No OFD packet to send [12:08:15]OFD Sender: No OFD packet to send [12:08:20]OFD Sender: No OFD packet to send [12:08:25]OFD Sender: No OFD packet to send [12:08:30]OFD Sender: No OFD packet to send [12:08:35]OFD Sender: No OFD packet to send [12:08:40]OFD Sender: No OFD packet to send [12:08:45]OFD Sender: No OFD packet to send [12:08:50]OFD Sender: No OFD packet to send [12:08:55]OFD Sender: No OFD packet to send [12:09:00]OFD Sender: No OFD packet to send [12:09:05]OFD Sender: No OFD packet to send [12:09:10]OFD Sender: No OFD packet to send [12:09:15]OFD Sender: No OFD packet to send [12:09:20]OFD Sender: No OFD packet to send [12:09:25]OFD Sender: No OFD packet to send [12:09:30]OFD Sender: No OFD packet to send [12:09:35]OFD Sender: No OFD packet to send [12:09:40]OFD Sender: No OFD packet to send [12:09:45]OFD Sender: No OFD packet to send [12:09:50]OFD Sender: No OFD packet to send [12:09:55]OFD Sender: No OFD packet to send [12:10:00]OFD Sender: No OFD packet to send [12:10:05]OFD Sender: No OFD packet to send [12:10:10]OFD Sender: No OFD packet to send [12:10:15]OFD Sender: No OFD packet to send [12:10:20]OFD Sender: No OFD packet to send [12:10:25]OFD Sender: No OFD packet to send [12:10:30]OFD Sender: No OFD packet to send [12:10:35]OFD Sender: No OFD packet to send [12:10:40]OFD Sender: No OFD packet to send [12:10:45]OFD Sender: No OFD packet to send [12:10:50]OFD Sender: No OFD packet to send [12:10:55]OFD Sender: No OFD packet to send [12:11:00]OFD Sender: No OFD packet to send [12:11:05]OFD Sender: No OFD packet to send [12:11:10]OFD Sender: No OFD packet to send [12:11:15]OFD Sender: No OFD packet to send [12:11:20]OFD Sender: No OFD packet to send [12:11:25]OFD Sender: No OFD packet to send [12:11:30]OFD Sender: No OFD packet to send [12:11:35]OFD Sender: No OFD packet to send [12:11:40]OFD Sender: No OFD packet to send [12:11:45]OFD Sender: No OFD packet to send [12:11:50]OFD Sender: No OFD packet to send [12:11:55]OFD Sender: No OFD packet to send [12:12:00]OFD Sender: No OFD packet to send [12:12:05]OFD Sender: No OFD packet to send [12:12:10]OFD Sender: No OFD packet to send [12:12:15]OFD Sender: No OFD packet to send [12:12:20]OFD Sender: No OFD packet to send [12:12:25]OFD Sender: No OFD packet to send [12:12:30]OFD Sender: No OFD packet to send [12:12:35]OFD Sender: No OFD packet to send [12:12:40]OFD Sender: No OFD packet to send [12:12:45]OFD Sender: No OFD packet to send [12:12:50]OFD Sender: No OFD packet to send [12:12:55]OFD Sender: No OFD packet to send [12:13:00]OFD Sender: No OFD packet to send [12:13:05]OFD Sender: No OFD packet to send [12:13:10]OFD Sender: No OFD packet to send [12:13:15]OFD Sender: No OFD packet to send [12:13:20]OFD Sender: No OFD packet to send [12:13:25]OFD Sender: No OFD packet to send [12:13:30]OFD Sender: No OFD packet to send [12:13:35]OFD Sender: No OFD packet to send [12:13:40]OFD Sender: No OFD packet to send [12:13:45]OFD Sender: No OFD packet to send [12:13:50]OFD Sender: No OFD packet to send [12:13:55]OFD Sender: No OFD packet to send [12:14:00]OFD Sender: No OFD packet to send [12:14:05]OFD Sender: No OFD packet to send [12:14:10]OFD Sender: No OFD packet to send [12:14:15]OFD Sender: No OFD packet to send [12:14:20]OFD Sender: No OFD packet to send [12:14:25]OFD Sender: No OFD packet to send [12:14:30]OFD Sender: No OFD packet to send [12:14:35]OFD Sender: No OFD packet to send [12:14:40]OFD Sender: No OFD packet to send [12:14:45]OFD Sender: No OFD packet to send [12:14:50]OFD Sender: No OFD packet to send [12:14:55]OFD Sender: No OFD packet to send [12:15:00]OFD Sender: No OFD packet to send [12:15:05]OFD Sender: No OFD packet to send [12:15:10]OFD Sender: No OFD packet to send [12:15:15]OFD Sender: No OFD packet to send [12:15:20]OFD Sender: No OFD packet to send [12:15:25]OFD Sender: No OFD packet to send [12:15:30]OFD Sender: No OFD packet to send [12:15:35]OFD Sender: No OFD packet to send [12:15:40]OFD Sender: No OFD packet to send [12:15:45]OFD Sender: No OFD packet to send [12:15:50]OFD Sender: No OFD packet to send [12:15:55]OFD Sender: No OFD packet to send [12:16:00]OFD Sender: No OFD packet to send [12:16:05]OFD Sender: No OFD packet to send [12:16:10]OFD Sender: No OFD packet to send [12:16:15]OFD Sender: No OFD packet to send [12:16:20]OFD Sender: No OFD packet to send [12:16:25]OFD Sender: No OFD packet to send [12:16:30]OFD Sender: No OFD packet to send [12:16:35]OFD Sender: No OFD packet to send [12:16:40]OFD Sender: No OFD packet to send [12:16:45]OFD Sender: No OFD packet to send [12:16:50]OFD Sender: No OFD packet to send [12:16:55]OFD Sender: No OFD packet to send [12:17:00]OFD Sender: No OFD packet to send [12:17:05]OFD Sender: No OFD packet to send [12:17:10]OFD Sender: No OFD packet to send [12:17:15]OFD Sender: No OFD packet to send [12:17:20]OFD Sender: No OFD packet to send [12:17:25]OFD Sender: No OFD packet to send [12:17:30]OFD Sender: No OFD packet to send [12:17:35]OFD Sender: No OFD packet to send [12:17:40]OFD Sender: No OFD packet to send [12:17:45]OFD Sender: No OFD packet to send [12:17:50]OFD Sender: No OFD packet to send [12:17:55]OFD Sender: No OFD packet to send [12:18:00]OFD Sender: No OFD packet to send [12:18:05]OFD Sender: No OFD packet to send [12:18:10]OFD Sender: No OFD packet to send [12:18:15]OFD Sender: No OFD packet to send [12:18:20]OFD Sender: No OFD packet to send [12:18:25]OFD Sender: No OFD packet to send [12:18:30]OFD Sender: No OFD packet to send [12:18:35]OFD Sender: No OFD packet to send [12:18:40]OFD Sender: No OFD packet to send [12:18:45]OFD Sender: No OFD packet to send [12:18:50]OFD Sender: No OFD packet to send [12:18:55]OFD Sender: No OFD packet to send [12:19:00]OFD Sender: No OFD packet to send [12:19:05]OFD Sender: No OFD packet to send [12:19:10]OFD Sender: No OFD packet to send [12:19:15]OFD Sender: No OFD packet to send [12:19:20]OFD Sender: No OFD packet to send [12:19:25]OFD Sender: No OFD packet to send [12:19:30]OFD Sender: No OFD packet to send [12:19:35]OFD Sender: No OFD packet to send [12:19:40]OFD Sender: No OFD packet to send [12:19:45]OFD Sender: No OFD packet to send [12:19:50]OFD Sender: No OFD packet to send [12:19:55]OFD Sender: No OFD packet to send [12:20:00]OFD Sender: No OFD packet to send [12:20:05]OFD Sender: No OFD packet to send [12:20:10]OFD Sender: No OFD packet to send [12:20:15]OFD Sender: No OFD packet to send [12:20:20]OFD Sender: No OFD packet to send [12:20:25]OFD Sender: No OFD packet to send [12:20:30]OFD Sender: No OFD packet to send [12:20:35]OFD Sender: No OFD packet to send [12:20:40]OFD Sender: No OFD packet to send [12:20:45]OFD Sender: No OFD packet to send [12:20:50]OFD Sender: No OFD packet to send [12:20:55]OFD Sender: No OFD packet to send [12:21:00]OFD Sender: No OFD packet to send [12:21:05]OFD Sender: No OFD packet to send [12:21:10]OFD Sender: No OFD packet to send [12:21:15]OFD Sender: No OFD packet to send [12:21:20]OFD Sender: No OFD packet to send [12:21:25]OFD Sender: No OFD packet to send [12:21:31]OFD Sender: No OFD packet to send [12:21:36]OFD Sender: No OFD packet to send [12:21:41]OFD Sender: No OFD packet to send [12:21:46]OFD Sender: No OFD packet to send [12:21:51]OFD Sender: No OFD packet to send [12:21:56]OFD Sender: No OFD packet to send [12:22:01]OFD Sender: No OFD packet to send [12:22:06]OFD Sender: No OFD packet to send [12:22:11]OFD Sender: No OFD packet to send [12:22:16]OFD Sender: No OFD packet to send [12:22:21]OFD Sender: No OFD packet to send [12:22:26]OFD Sender: No OFD packet to send [12:22:31]OFD Sender: No OFD packet to send [12:22:36]OFD Sender: No OFD packet to send [12:22:41]OFD Sender: No OFD packet to send [12:22:46]OFD Sender: No OFD packet to send [12:22:51]OFD Sender: No OFD packet to send [12:22:56]OFD Sender: No OFD packet to send [12:23:01]OFD Sender: No OFD packet to send [12:23:06]OFD Sender: No OFD packet to send [12:23:11]OFD Sender: No OFD packet to send [12:23:16]OFD Sender: No OFD packet to send [12:23:21]OFD Sender: No OFD packet to send [12:23:26]OFD Sender: No OFD packet to send [12:23:31]OFD Sender: No OFD packet to send [12:23:36]OFD Sender: No OFD packet to send [12:23:41]OFD Sender: No OFD packet to send [12:23:46]OFD Sender: No OFD packet to send [12:23:51]OFD Sender: No OFD packet to send [12:23:56]OFD Sender: No OFD packet to send [12:24:01]OFD Sender: No OFD packet to send [12:24:06]OFD Sender: No OFD packet to send [12:24:11]OFD Sender: No OFD packet to send [12:24:16]OFD Sender: No OFD packet to send [12:24:21]OFD Sender: No OFD packet to send [12:24:26]OFD Sender: No OFD packet to send [12:24:31]OFD Sender: No OFD packet to send [12:24:36]OFD Sender: No OFD packet to send [12:24:41]OFD Sender: No OFD packet to send [12:24:46]OFD Sender: No OFD packet to send [12:24:51]OFD Sender: No OFD packet to send [12:24:56]OFD Sender: No OFD packet to send [12:25:01]OFD Sender: No OFD packet to send [12:25:06]OFD Sender: No OFD packet to send [12:25:11]OFD Sender: No OFD packet to send [12:25:16]OFD Sender: No OFD packet to send [12:25:21]OFD Sender: No OFD packet to send [12:25:26]OFD Sender: No OFD packet to send [12:25:31]OFD Sender: No OFD packet to send [12:25:36]OFD Sender: No OFD packet to send [12:25:41]OFD Sender: No OFD packet to send [12:25:46]OFD Sender: No OFD packet to send [12:25:51]OFD Sender: No OFD packet to send [12:25:56]OFD Sender: No OFD packet to send [12:26:01]OFD Sender: No OFD packet to send [12:26:06]OFD Sender: No OFD packet to send [12:26:11]OFD Sender: No OFD packet to send [12:26:16]OFD Sender: No OFD packet to send [12:26:21]OFD Sender: No OFD packet to send [12:26:26]OFD Sender: No OFD packet to send [12:26:31]OFD Sender: No OFD packet to send [12:26:36]OFD Sender: No OFD packet to send [12:26:41]OFD Sender: No OFD packet to send [12:26:46]OFD Sender: No OFD packet to send [12:26:51]OFD Sender: No OFD packet to send [12:26:56]OFD Sender: No OFD packet to send [12:27:01]OFD Sender: No OFD packet to send [12:27:06]OFD Sender: No OFD packet to send [12:27:11]OFD Sender: No OFD packet to send [12:27:16]OFD Sender: No OFD packet to send [12:27:21]OFD Sender: No OFD packet to send [12:27:26]OFD Sender: No OFD packet to send [12:27:31]OFD Sender: No OFD packet to send [12:27:36]OFD Sender: No OFD packet to send [12:27:41]OFD Sender: No OFD packet to send [12:27:46]OFD Sender: No OFD packet to send [12:27:51]OFD Sender: No OFD packet to send [12:27:56]OFD Sender: No OFD packet to send [12:28:01]OFD Sender: No OFD packet to send [12:28:06]OFD Sender: No OFD packet to send [12:28:11]OFD Sender: No OFD packet to send [12:28:16]OFD Sender: No OFD packet to send [12:28:21]OFD Sender: No OFD packet to send [12:28:26]OFD Sender: No OFD packet to send [12:28:31]OFD Sender: No OFD packet to send [12:28:36]OFD Sender: No OFD packet to send [12:28:41]OFD Sender: No OFD packet to send [12:28:46]OFD Sender: No OFD packet to send [12:28:51]OFD Sender: No OFD packet to send [12:28:56]OFD Sender: No OFD packet to send [12:29:01]OFD Sender: No OFD packet to send [12:29:06]OFD Sender: No OFD packet to send [12:29:11]OFD Sender: No OFD packet to send [12:29:16]OFD Sender: No OFD packet to send [12:29:21]OFD Sender: No OFD packet to send [12:29:26]OFD Sender: No OFD packet to send [12:29:31]OFD Sender: No OFD packet to send [12:29:36]OFD Sender: No OFD packet to send [12:29:41]OFD Sender: No OFD packet to send [12:29:46]OFD Sender: No OFD packet to send [12:29:51]OFD Sender: No OFD packet to send [12:29:56]OFD Sender: No OFD packet to send [12:30:01]OFD Sender: No OFD packet to send [12:30:06]OFD Sender: No OFD packet to send [12:30:11]OFD Sender: No OFD packet to send [12:30:16]OFD Sender: No OFD packet to send [12:30:21]OFD Sender: No OFD packet to send [12:30:26]OFD Sender: No OFD packet to send [12:30:31]OFD Sender: No OFD packet to send [12:30:36]OFD Sender: No OFD packet to send [12:30:41]OFD Sender: No OFD packet to send [12:30:46]OFD Sender: No OFD packet to send [12:30:51]OFD Sender: No OFD packet to send [12:30:56]OFD Sender: No OFD packet to send [12:31:01]OFD Sender: No OFD packet to send [12:31:06]OFD Sender: No OFD packet to send [12:31:11]OFD Sender: No OFD packet to send [12:31:16]OFD Sender: No OFD packet to send [12:31:21]OFD Sender: No OFD packet to send [12:31:26]OFD Sender: No OFD packet to send [12:31:31]OFD Sender: No OFD packet to send [12:31:36]OFD Sender: No OFD packet to send [12:31:41]OFD Sender: No OFD packet to send [12:31:46]OFD Sender: No OFD packet to send [12:31:51]OFD Sender: No OFD packet to send [12:31:56]OFD Sender: No OFD packet to send [12:32:01]OFD Sender: No OFD packet to send [12:32:06]OFD Sender: No OFD packet to send [12:32:11]OFD Sender: No OFD packet to send [12:32:16]OFD Sender: No OFD packet to send [12:32:21]OFD Sender: No OFD packet to send [12:32:26]OFD Sender: No OFD packet to send [12:32:31]OFD Sender: No OFD packet to send [12:32:36]OFD Sender: No OFD packet to send [12:32:41]OFD Sender: No OFD packet to send [12:32:46]OFD Sender: No OFD packet to send [12:32:51]OFD Sender: No OFD packet to send [12:32:56]OFD Sender: No OFD packet to send [12:33:01]OFD Sender: No OFD packet to send [12:33:06]OFD Sender: No OFD packet to send [12:33:11]OFD Sender: No OFD packet to send [12:33:16]OFD Sender: No OFD packet to send [12:33:21]OFD Sender: No OFD packet to send [12:33:26]OFD Sender: No OFD packet to send [12:33:31]OFD Sender: No OFD packet to send [12:33:36]OFD Sender: No OFD packet to send [12:33:41]OFD Sender: No OFD packet to send [12:33:46]OFD Sender: No OFD packet to send [12:33:51]OFD Sender: No OFD packet to send [12:33:56]OFD Sender: No OFD packet to send [12:33:56]accept exits with 8 [12:33:56]New connection [12:33:56]New thread 3067014500 created [12:33:56]Thread 3066871140 joined [12:33:56]Waiting for new connection... [12:33:56] Sock 8.Parse request [12:33:56]Sock 8.Check first char [12:33:56]Sock 8.First char is OK [12:33:56]request: POST /json_proto HTTP/1.0 [12:33:56]Method: POST [12:33:56]URL: /json_proto [12:33:56]Method is POST - this is cgi request [12:33:56]url: /json_proto [12:33:56]query_string will be loaded in cgi processing [12:33:56]execute_cgi json_proto POST (null) [12:33:56]execute_cgi path=json_proto method=POST [12:33:56]POST find Content-Length [12:33:56]Host: 172.17.35.3:8080 [12:33:56]Content-Length: 677 [12:33:56]Content-Type: application/json [12:33:56] [12:33:56]POST finish read [12:33:56]Found Content-Length = 677 [12:33:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359475", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 9.470, "sum" : 600.40, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 600.00, "total" : 600.00, "payments": [ { "type": 0, "sum" : 600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:33:56]execute_script... [12:33: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 : (1)359475", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 9.470, "sum" : 600.40, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 600.00, "total" : 600.00, "payments": [ { "type": 0, "sum" : 600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:33:56]POST & json_proto [12:33:56]process_json_proto [12:33:56]json parsed OK: [12:33:56]protocol is kg_v1.0 [12:33:56]action value=close_receipt [12:33:56]process_action close_receipt [12:33:56]cmd_close_receipt [12:33:56]MH_GetDate [12:33:56]Write to MH i2c: F0 00 00 DF 21 EF [12:33:56]Write i2c OK [12:33:56]MH_I2C_Read... [12:33:56]Read from MH i2c: F0 [12:33:56]MH_I2C_Read... [12:33:56]Read from MH i2c: F0 09 00 [12:33:56]MH_I2C_Read... [12:33:56]Read from MH i2c: F0 09 00 DF 21 00 BD 92 12 66 2B 11 66 64 C5 [12:33:56]GetLastDocTimeStamp 1712491516 [12:33:56]current date 1712493245 [12:33:56]FM_GetShiftState [12:33:56]SAM_PROTO_GetShiftState [12:33:56]wFMCommunicate request_size=4 [12:33:56]MH_SAM_APDU [12:33:56]CAPDU: 80 13 01 00 [12:33:56]Write to MH i2c: E2 08 00 E0 21 80 13 01 00 00 00 00 00 7E [12:33:56]Write i2c OK [12:33:56]MH_I2C_Read... [12:33:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:33:56]Read from MH i2c: E2 [12:33:56]MH_I2C_Read... [12:33:56]Read from MH i2c: E2 0E 00 [12:33:56]MH_I2C_Read... [12:33:56]Read from MH i2c: E2 0E 00 E0 21 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 12 [12:33:56]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [12:33:56]wFMCommunicate OK [12:33:56]SAM_PROTO_GetShiftState done [12:33:56]FM_GetShiftState done [12:33:56]opened in 1712450087 [12:33:56]opened+sec_in_day 1712536487 [12:33:56]quantity*price = 60039 [12:33:56]sum+1 = 60041 [12:33:56]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.40 ИТОГО: 600.00 Внесено: 600.00 СДАЧА: 0.00 НСП 1% : 5.31 НДС 12% : 63.76 Наличными: 600.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 31 07.04.2024 12:34 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26732 ФПД: 263510961658236 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T123405&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26732&fm=263510961658236&tin=02508201610067®Number=0000000000091578&sum=60000 [12:33:58]StoreToDocumentArchive [12:33:58]shift 313 fd 26732 [12:33:58]save to /storage/0313/doc_00026732 [12:33:58]save last doc name /storage/0313/doc_00026732 to /storage/kkm_last_doc_name [12:33:58]save OK [12:33:58]Clear old archive folders... [12:33:58]ProcessDocumentItem done err = 0, tmpTLVsize=251 [12:33:58]tlvbuf is 00E9AC10 [12:33:58]SAM_PROTO_ClearQueue [12:33:58]wFMCommunicate request_size=4 [12:33:58]MH_SAM_APDU [12:33:58]CAPDU: 80 09 00 00 [12:33:58]Write to MH i2c: E2 08 00 ED 21 80 09 00 00 00 00 00 00 80 [12:33:58]Write i2c OK [12:33:58]MH_I2C_Read... [12:33:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:33:58]Read from MH i2c: E2 [12:33:58]MH_I2C_Read... [12:33:58]Read from MH i2c: E2 03 00 [12:33:58]MH_I2C_Read... [12:33:58]Read from MH i2c: E2 03 00 ED 21 00 90 00 82 [12:33:58]RAPDU: 90 00 [12:33:58]wFMCommunicate OK [12:33:58]SAM_PROTO_ClearQueue done [12:33:58]KKMCreateOFDPacket [12:33:58]OFDProtocolAddRootSTLVToBuf [12:33:58]FM_MakeSignedData [12:33:58]FM_MakeSignedData [12:33:58]SAM_PROTO_SignData [12:33:58]wFMCommunicate request_size=4 [12:33:58]MH_SAM_APDU [12:33:58]CAPDU: 80 0D 01 02 [12:33:58]Write to MH i2c: E2 08 00 EE 21 80 0D 01 02 00 00 00 00 88 [12:33:58]Write i2c OK [12:33:58]MH_I2C_Read... [12:33:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:33:58]Read from MH i2c: E2 [12:33:58]MH_I2C_Read... [12:33:58]Read from MH i2c: E2 03 00 [12:33:58]MH_I2C_Read... [12:33:58]Read from MH i2c: E2 03 00 EE 21 00 90 00 83 [12:33:58]RAPDU: 90 00 [12:33:58]wFMCommunicate OK [12:33:58]wFMCommunicate request_size=255 [12:33:58]MH_SAM_APDU [12:33:58]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 FE 24 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 88 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 18 00 00 00 00 07 04 06 00 60 EA 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 BD 92 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 6C 68 00 00 35 04 06 00 EF [12:33:58]Write to MH i2c: E2 02 01 EF 21 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 FE 24 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 88 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 18 00 00 00 00 07 04 06 00 60 EA 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 BD 92 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 6C 68 00 00 35 04 06 00 EF 00 00 98 [12:33:58]Write i2c OK [12:33:58]MH_I2C_Read... [12:33:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:33:58]Read from MH i2c: E2 [12:33:58]MH_I2C_Read... [12:33:58]Read from MH i2c: E2 03 00 [12:33:58]MH_I2C_Read... [12:33:58]Read from MH i2c: E2 03 00 EF 21 00 90 00 84 [12:33:58]RAPDU: 90 00 [12:33:58]wFMCommunicate OK [12:33:58]wFMCommunicate request_size=10 [12:33:58]MH_SAM_APDU [12:33:58]CAPDU: 80 0D 02 02 05 A9 6D 43 99 7C [12:33:58]Write to MH i2c: E2 0D 00 F0 21 80 0D 02 02 05 00 A9 6D 43 99 7C 00 00 03 [12:33:58]Write i2c OK [12:33:58]MH_I2C_Read... [12:33:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:33:58]Read from MH i2c: E2 [12:33:58]MH_I2C_Read... [12:33:58]Read from MH i2c: E2 03 00 [12:33:58]MH_I2C_Read... [12:33:58]Read from MH i2c: E2 03 00 F0 21 00 90 00 85 [12:33:58]RAPDU: 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 0D 03 02 [12:33:58]Write to MH i2c: E2 08 00 F1 21 80 0D 03 02 00 00 00 00 8D [12:33:58]Write i2c OK [12:33:58]MH_I2C_Read... [12:33:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:33:58]Read from MH i2c: E2 [12:33:58]MH_I2C_Read... [12:33:58]Read from MH i2c: E2 0B 00 [12:33:58]MH_I2C_Read... [12:33:58]Read from MH i2c: E2 0B 00 F1 21 00 14 E7 2A 87 2B FC 20 F5 90 00 76 [12:33:58]RAPDU: 14 E7 2A 87 2B FC 20 F5 90 00 [12:33:58]wFMCommunicate OK [12:33:58]SAM_PROTO_SignData done [12:33:58]FM_MakeSignedData done [12:33:58]CreateOFDProtocolMessage [12:33:58]wFMCommunicate request_size=4 [12:33:58]MH_SAM_APDU [12:33:58]CAPDU: 80 11 00 00 [12:33:58]Write to MH i2c: E2 08 00 F2 21 80 11 00 00 00 00 00 00 8D [12:33:58]Write i2c OK [12:33:58]MH_I2C_Read... [12:33:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:33:58]Read from MH i2c: E2 [12:33:58]MH_I2C_Read... [12:33:58]Read from MH i2c: E2 17 00 [12:33:58]MH_I2C_Read... [12:33:58]Read from MH i2c: E2 17 00 F2 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 E5 [12:33:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [12:33:58]wFMCommunicate OK [12:33:58]CreateOFDProtocolMessage done [12:33:58]OFDSenderStorePacket 26732 [12:33:58]StoreOFDPacket docnum=26732 [12:33:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 E1 1D 07 01 18 90 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 FE 24 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 88 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 18 00 00 00 00 07 04 06 00 60 EA 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 BD 92 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 6C 68 00 00 35 04 06 00 EF A9 6D 43 99 7C 14 E7 2A 87 2B FC 20 F5 [12:33:58]CheckFolder [12:33:58]dirname=/storage/ofd_packets [12:33:58]CheckFolder done [12:33:58]ProducePacketName [12:33:58]name=ofd_packets/00026732 [12:33:58]NVStorageSaveData ofd_packets/00026732 [12:33:58]File name is /storage/ofd_packets/00026732 [12:33:58]Write 301 bytes [12:33:58]NVStorageSaveData done [12:33:58]OFDSenderStorePacket done [12:33:58]KKMCreateOFDPacket done [12:33:58]NVStorageSaveData kkm_last_timestamp [12:33:58]File name is /storage/kkm_last_timestamp [12:33:58]Write 4 bytes [12:33:58]NVStorageSaveData done [12:33:58]ExternCall_PrintAddStr [12:33:58]wPrintStart [12:33:58]Write to MH i2c: 01 00 00 F3 21 14 [12:33:58]Write i2c OK [12:33:58]MH_I2C_Read... [12:33:58]Read from MH i2c: 01 [12:33:58]MH_I2C_Read... [12:33:58]Read from MH i2c: 01 07 00 [12:33:58]MH_I2C_Read... [12:33:58]Read from MH i2c: 01 07 00 F3 21 00 00 00 00 00 FF 0F 29 [12:33:58]RasterBufferAndPrint [12:33:58]line Счет N : (1)359475 [12:33:58]line ИНН: 02508201610067 [12:33:58]line Контрольно-Кассовый Чек [12:33:58]line ПРОДАЖА [12:33:58]line ТРК (МРК, ГНК) : 61 [12:33:58]line Товар: 2710124130 [12:33:58]line Аи-92-К-5 [12:33:58]line 9.470 * 63.40 [12:33:58]line = 600.40 [12:33:58]line НДС 12% НСП 1% [12:33:58]line > о реализуемом товаре [12:33:58]line ОКРУГЛЕНИЕ: -0.40 [12:33:58]line ИТОГО: 600.00 [12:33:58]line Внесено: 600.00 [12:33:58]line СДАЧА: 0.00 [12:33:58]line НСП 1% : 5.31 [12:33:58]line НДС 12% : 63.76 [12:33:58]line Наличными: 600.00 [12:33:58]line Безнал.: 0.00 [12:33:58]line Место: АЗС № 122 "Партнер Нефть" [12:33:58]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [12:33:58]line СНО: Общий режим [12:33:58]line Чек 31 07.04.2024 12:34 [12:33:58]line Смена: 313 ФФД: 1.0 [12:33:58]line ЗНМ: 0300000147 [12:33:58]line РНМ: 0000000000091578 [12:33:58]line Версия ККМ: 001 [12:33:58]line ФМ: 0000000000874657 [12:33:58]line ФД: 26732 [12:33:58]line ФПД: 263510961658236 [12:33:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T123405&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26732&fm=263510961658236&tin=02508201610067®Number=0000000000091578&sum=60000 [12:33:58]OFD Sender: Processing packet 26732 [packets to send 44, broken 43] [12:33:58]ProducePacketName [12:33:58]name=ofd_packets/00026732 [12:33:58]OFD Sender: To server: pG, [12:33:58]CommunicateWithHost lk.salyk.kg:30040 [12:33:58]ConnectInit lk.salyk.kg [12:33:58]written 0, free lines is 4095 [12:33:58]Connected sock=10 [12:33: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 36 35 37 0F 01 00 00 E1 1D 07 01 18 90 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 FE 24 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 88 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 18 00 00 00 00 07 04 06 00 60 EA 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 BD 92 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 6C 68 00 00 35 04 06 00 EF A9 6D 43 99 7C 14 E7 2A 87 2B FC 20 F5 [12:33:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 75 49 47 00 61 4D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 6C 68 00 00 F4 03 04 00 2B 3A 12 66 B6 04 01 00 00 C3 ED 1A 79 F2 C2 47 53 [12:33:59]CommunicateWithHost err = 0 [12:33:59]CheckOFDResponse [12:33:59]1017 (14) - 77093643461234 [12:33:59]1041 (16) - 0000000000874657 [12:33:59]1040 (4) - 26732 [12:33:59]1012 (4) - 07.04.2024 06:16 [12:33:59]1206 (1) - 0 [12:33:59]OFD Sender: Remove packet 26732 [12:33:59]ProducePacketName [12:33:59]name=ofd_packets/00026732 [12:33:59]NVStorageDeleteData [12:33:59]Write to MH i2c: 01 00 00 1E 22 40 [12:33:59]Write i2c OK [12:33:59]MH_I2C_Read... [12:33:59]Read from MH i2c: 01 [12:33:59]MH_I2C_Read... [12:33:59]Read from MH i2c: 01 07 00 [12:33:59]MH_I2C_Read... [12:33:59]Read from MH i2c: 01 07 00 1E 22 00 00 00 00 00 78 0C CB [12:33:59]RasterBufferAndPrint [12:33:59]line [12:33:59]line [12:33:59]line [12:33:59]line [12:33:59]line [12:33:59]written 0, free lines is 3195 [12:33:59]MH_Cut [12:33:59]Write to MH i2c: D1 01 00 25 22 01 19 [12:33:59]Write i2c OK [12:33:59]MH_I2C_Read... [12:33:59]Read from MH i2c: D1 [12:33:59]MH_I2C_Read... [12:33:59]Read from MH i2c: D1 01 00 [12:33:59]MH_I2C_Read... [12:33:59]Read from MH i2c: D1 01 00 25 22 00 18 [12:33:59]Write to MH i2c: 01 00 00 26 22 48 [12:33:59]Write i2c OK [12:33:59]MH_I2C_Read... [12:33:59]OFD Sender: No OFD packet to send [12:34:00]*** Cut start [12:34:00]*** Partial cut [12:34:00]*** CUTSNS_PIN = 1 [12:34:00]*** CUTSNS_PIN = 0 [12:34:00]*** Brake cut motor [12:34:01]Read from MH i2c: 01 [12:34:01]MH_I2C_Read... [12:34:01]*** Stop cut motor [12:34:01]*** Cut end [12:34:01]Read from MH i2c: 01 07 00 [12:34:01]MH_I2C_Read... [12:34:01]Read from MH i2c: 01 07 00 26 22 00 00 00 00 00 FF 0F 5D [12:34:01]process_action close_receipt done [12:34:01]requested_data is exist [12:34:01]produce_requested_data [12:34:01]requested_item fm.sn is exist - process it [12:34:01]wFMCommunicate request_size=4 [12:34:01]MH_SAM_APDU [12:34:01]CAPDU: 80 11 00 00 [12:34:01]Write to MH i2c: E2 08 00 27 22 80 11 00 00 00 00 00 00 C3 [12:34:01]Write i2c OK [12:34:01]MH_I2C_Read... [12:34:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:34:01]Read from MH i2c: E2 [12:34:01]MH_I2C_Read... [12:34:01]Read from MH i2c: E2 17 00 [12:34:01]MH_I2C_Read... [12:34:01]Read from MH i2c: E2 17 00 27 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 1B [12:34:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [12:34:01]wFMCommunicate OK [12:34:01]requested_item fd.num is exist - process it [12:34:01]SAM_PROTO_GetFieldsCounters [12:34:01]wFMCommunicate request_size=4 [12:34:01]MH_SAM_APDU [12:34:01]CAPDU: 80 13 00 00 [12:34:01]Write to MH i2c: E2 08 00 28 22 80 13 00 00 00 00 00 00 C6 [12:34:01]Write i2c OK [12:34:01]MH_I2C_Read... [12:34:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:34:01]Read from MH i2c: E2 [12:34:01]MH_I2C_Read... [12:34:01]Read from MH i2c: E2 62 00 [12:34:01]MH_I2C_Read... [12:34:01]Read from MH i2c: E2 62 00 28 22 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 6C 68 00 00 0E 04 04 00 39 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 5C [12:34: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 6C 68 00 00 0E 04 04 00 39 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 [12:34:01]wFMCommunicate OK [12:34:01]SAM_PROTO_GetFieldsCounters done [12:34:01]requested_item shift.num is exist - process it [12:34:01]requested_item shift.opened is exist - process it [12:34:01]req_shift_opened [12:34:01]FM_GetShiftState [12:34:01]SAM_PROTO_GetShiftState [12:34:01]wFMCommunicate request_size=4 [12:34:01]MH_SAM_APDU [12:34:01]CAPDU: 80 13 01 00 [12:34:01]Write to MH i2c: E2 08 00 29 22 80 13 01 00 00 00 00 00 C8 [12:34:01]Write i2c OK [12:34:01]MH_I2C_Read... [12:34:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:34:01]Read from MH i2c: E2 [12:34:01]MH_I2C_Read... [12:34:01]Read from MH i2c: E2 0E 00 [12:34:01]MH_I2C_Read... [12:34:01]Read from MH i2c: E2 0E 00 29 22 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 5C [12:34:01]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [12:34:01]wFMCommunicate OK [12:34:01]SAM_PROTO_GetShiftState done [12:34:01]FM_GetShiftState done [12:34:01]req_shift_opened done [12:34:01]requested_item shift.open_date is exist - process it [12:34:01]req_shift_open_date [12:34:01]req_shift_open_date done [12:34:01]produce_requested_data done [12:34:01]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26732,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [12:34:01]process_action_free close_receipt [12:34:01]json_value_free [12:34:01]json_value_free done [12:34:01]process_json_proto returns [12:34:01]Send response to host [12:34:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26732,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [12:34:01]free response buf [12:34:01]execute_script done [12:34:01]execute_script returns [12:34:01]free content buf [12:34:01]Sock 8.Close socket [12:34:01]Sock 8.Thread stoped [12:34:04]OFD Sender: No OFD packet to send [12:34:09]OFD Sender: No OFD packet to send [12:34:14]OFD Sender: No OFD packet to send [12:34:19]OFD Sender: No OFD packet to send [12:34:24]OFD Sender: No OFD packet to send [12:34:29]OFD Sender: No OFD packet to send [12:34:34]OFD Sender: No OFD packet to send [12:34:39]OFD Sender: No OFD packet to send [12:34:44]OFD Sender: No OFD packet to send [12:34:49]OFD Sender: No OFD packet to send [12:34:54]OFD Sender: No OFD packet to send [12:34:59]OFD Sender: No OFD packet to send [12:35:04]OFD Sender: No OFD packet to send [12:35:09]OFD Sender: No OFD packet to send [12:35:14]OFD Sender: No OFD packet to send [12:35:19]OFD Sender: No OFD packet to send [12:35:24]OFD Sender: No OFD packet to send [12:35:29]OFD Sender: No OFD packet to send [12:35:34]OFD Sender: No OFD packet to send [12:35:39]OFD Sender: No OFD packet to send [12:35:44]OFD Sender: No OFD packet to send [12:35:49]OFD Sender: No OFD packet to send [12:35:54]OFD Sender: No OFD packet to send [12:35:59]OFD Sender: No OFD packet to send [12:36:04]OFD Sender: No OFD packet to send [12:36:09]OFD Sender: No OFD packet to send [12:36:14]OFD Sender: No OFD packet to send [12:36:19]OFD Sender: No OFD packet to send [12:36:24]OFD Sender: No OFD packet to send [12:36:29]OFD Sender: No OFD packet to send [12:36:34]OFD Sender: No OFD packet to send [12:36:39]OFD Sender: No OFD packet to send [12:36:44]OFD Sender: No OFD packet to send [12:36:49]OFD Sender: No OFD packet to send [12:36:54]OFD Sender: No OFD packet to send [12:36:59]OFD Sender: No OFD packet to send [12:37:04]OFD Sender: No OFD packet to send [12:37:09]OFD Sender: No OFD packet to send [12:37:14]OFD Sender: No OFD packet to send [12:37:19]OFD Sender: No OFD packet to send [12:37:24]OFD Sender: No OFD packet to send [12:37:29]OFD Sender: No OFD packet to send [12:37:34]OFD Sender: No OFD packet to send [12:37:39]OFD Sender: No OFD packet to send [12:37:44]OFD Sender: No OFD packet to send [12:37:49]OFD Sender: No OFD packet to send [12:37:54]OFD Sender: No OFD packet to send [12:37:59]OFD Sender: No OFD packet to send [12:38:04]OFD Sender: No OFD packet to send [12:38:09]OFD Sender: No OFD packet to send [12:38:14]OFD Sender: No OFD packet to send [12:38:19]OFD Sender: No OFD packet to send [12:38:24]OFD Sender: No OFD packet to send [12:38:29]OFD Sender: No OFD packet to send [12:38:34]OFD Sender: No OFD packet to send [12:38:39]OFD Sender: No OFD packet to send [12:38:44]OFD Sender: No OFD packet to send [12:38:49]OFD Sender: No OFD packet to send [12:38:54]OFD Sender: No OFD packet to send [12:38:59]OFD Sender: No OFD packet to send [12:39:04]OFD Sender: No OFD packet to send [12:39:09]OFD Sender: No OFD packet to send [12:39:14]OFD Sender: No OFD packet to send [12:39:19]OFD Sender: No OFD packet to send [12:39:24]OFD Sender: No OFD packet to send [12:39:29]OFD Sender: No OFD packet to send [12:39:34]OFD Sender: No OFD packet to send [12:39:39]OFD Sender: No OFD packet to send [12:39:44]OFD Sender: No OFD packet to send [12:39:49]OFD Sender: No OFD packet to send [12:39:54]OFD Sender: No OFD packet to send [12:39:59]OFD Sender: No OFD packet to send [12:40:04]OFD Sender: No OFD packet to send [12:40:09]OFD Sender: No OFD packet to send [12:40:14]OFD Sender: No OFD packet to send [12:40:19]OFD Sender: No OFD packet to send [12:40:24]OFD Sender: No OFD packet to send [12:40:29]OFD Sender: No OFD packet to send [12:40:35]OFD Sender: No OFD packet to send [12:40:40]OFD Sender: No OFD packet to send [12:40:45]OFD Sender: No OFD packet to send [12:40:50]OFD Sender: No OFD packet to send [12:40:55]OFD Sender: No OFD packet to send [12:41:00]OFD Sender: No OFD packet to send [12:41:05]OFD Sender: No OFD packet to send [12:41:10]OFD Sender: No OFD packet to send [12:41:15]OFD Sender: No OFD packet to send [12:41:20]OFD Sender: No OFD packet to send [12:41:25]OFD Sender: No OFD packet to send [12:41:30]OFD Sender: No OFD packet to send [12:41:35]OFD Sender: No OFD packet to send [12:41:40]OFD Sender: No OFD packet to send [12:41:45]OFD Sender: No OFD packet to send [12:41:50]OFD Sender: No OFD packet to send [12:41:55]OFD Sender: No OFD packet to send [12:42:00]OFD Sender: No OFD packet to send [12:42:05]OFD Sender: No OFD packet to send [12:42:10]OFD Sender: No OFD packet to send [12:42:15]OFD Sender: No OFD packet to send [12:42:20]OFD Sender: No OFD packet to send [12:42:25]OFD Sender: No OFD packet to send [12:42:30]OFD Sender: No OFD packet to send [12:42:35]OFD Sender: No OFD packet to send [12:42:40]OFD Sender: No OFD packet to send [12:42:45]OFD Sender: No OFD packet to send [12:42:50]OFD Sender: No OFD packet to send [12:42:55]OFD Sender: No OFD packet to send [12:43:00]OFD Sender: No OFD packet to send [12:43:05]OFD Sender: No OFD packet to send [12:43:10]OFD Sender: No OFD packet to send [12:43:15]OFD Sender: No OFD packet to send [12:43:20]OFD Sender: No OFD packet to send [12:43:25]OFD Sender: No OFD packet to send [12:43:30]OFD Sender: No OFD packet to send [12:43:35]OFD Sender: No OFD packet to send [12:43:40]OFD Sender: No OFD packet to send [12:43:45]OFD Sender: No OFD packet to send [12:43:50]OFD Sender: No OFD packet to send [12:43:55]OFD Sender: No OFD packet to send [12:44:00]OFD Sender: No OFD packet to send [12:44:05]OFD Sender: No OFD packet to send [12:44:10]OFD Sender: No OFD packet to send [12:44:15]OFD Sender: No OFD packet to send [12:44:20]OFD Sender: No OFD packet to send [12:44:25]OFD Sender: No OFD packet to send [12:44:30]OFD Sender: No OFD packet to send [12:44:35]OFD Sender: No OFD packet to send [12:44:40]OFD Sender: No OFD packet to send [12:44:45]OFD Sender: No OFD packet to send [12:44:50]OFD Sender: No OFD packet to send [12:44:55]OFD Sender: No OFD packet to send [12:45:00]OFD Sender: No OFD packet to send [12:45:05]OFD Sender: No OFD packet to send [12:45:10]OFD Sender: No OFD packet to send [12:45:15]OFD Sender: No OFD packet to send [12:45:20]OFD Sender: No OFD packet to send [12:45:25]OFD Sender: No OFD packet to send [12:45:30]OFD Sender: No OFD packet to send [12:45:35]OFD Sender: No OFD packet to send [12:45:40]OFD Sender: No OFD packet to send [12:45:45]OFD Sender: No OFD packet to send [12:45:50]OFD Sender: No OFD packet to send [12:45:55]OFD Sender: No OFD packet to send [12:46:00]OFD Sender: No OFD packet to send [12:46:05]OFD Sender: No OFD packet to send [12:46:10]OFD Sender: No OFD packet to send [12:46:15]OFD Sender: No OFD packet to send [12:46:20]OFD Sender: No OFD packet to send [12:46:25]OFD Sender: No OFD packet to send [12:46:30]OFD Sender: No OFD packet to send [12:46:35]OFD Sender: No OFD packet to send [12:46:40]OFD Sender: No OFD packet to send [12:46:45]OFD Sender: No OFD packet to send [12:46:50]OFD Sender: No OFD packet to send [12:46:55]OFD Sender: No OFD packet to send [12:47:00]OFD Sender: No OFD packet to send [12:47:05]OFD Sender: No OFD packet to send [12:47:10]OFD Sender: No OFD packet to send [12:47:15]OFD Sender: No OFD packet to send [12:47:20]OFD Sender: No OFD packet to send [12:47:21]accept exits with 9 [12:47:21]New connection [12:47:21]New thread 3066871140 created [12:47:21]Thread 3067014500 joined [12:47:21]Waiting for new connection... [12:47:21] Sock 9.Parse request [12:47:21]Sock 9.Check first char [12:47:21]Sock 9.First char is OK [12:47:21]request: POST /json_proto HTTP/1.0 [12:47:21]Method: POST [12:47:21]URL: /json_proto [12:47:21]Method is POST - this is cgi request [12:47:21]url: /json_proto [12:47:21]query_string will be loaded in cgi processing [12:47:21]execute_cgi json_proto POST (null) [12:47:21]execute_cgi path=json_proto method=POST [12:47:21]POST find Content-Length [12:47:21]Host: 172.17.35.3:8080 [12:47:21]Content-Length: 803 [12:47:21]Content-Type: application/json [12:47:21] [12:47:21]POST finish read [12:47:21]Found Content-Length = 803 [12:47:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359476", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 47.320, "sum" : 3000.09, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 3000.09 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:47:21]execute_script... [12:47: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 : (1)359476", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 47.320, "sum" : 3000.09, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 3000.09 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:47:21]POST & json_proto [12:47:21]process_json_proto [12:47:21]json parsed OK: [12:47:21]protocol is kg_v1.0 [12:47:21]action value=close_receipt [12:47:21]process_action close_receipt [12:47:21]cmd_close_receipt [12:47:21]MH_GetDate [12:47:21]Write to MH i2c: F0 00 00 2A 22 3B [12:47:21]Write i2c OK [12:47:21]MH_I2C_Read... [12:47:21]Read from MH i2c: F0 [12:47:21]MH_I2C_Read... [12:47:21]Read from MH i2c: F0 09 00 [12:47:21]MH_I2C_Read... [12:47:21]Read from MH i2c: F0 09 00 2A 22 00 E2 95 12 66 2B 11 66 64 39 [12:47:21]GetLastDocTimeStamp 1712493245 [12:47:21]current date 1712494050 [12:47:21]FM_GetShiftState [12:47:21]SAM_PROTO_GetShiftState [12:47:21]wFMCommunicate request_size=4 [12:47:21]MH_SAM_APDU [12:47:21]CAPDU: 80 13 01 00 [12:47:21]Write to MH i2c: E2 08 00 2B 22 80 13 01 00 00 00 00 00 CA [12:47:21]Write i2c OK [12:47:21]MH_I2C_Read... [12:47:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:47:21]Read from MH i2c: E2 [12:47:21]MH_I2C_Read... [12:47:21]Read from MH i2c: E2 0E 00 [12:47:21]MH_I2C_Read... [12:47:21]Read from MH i2c: E2 0E 00 2B 22 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 5E [12:47:21]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [12:47:21]wFMCommunicate OK [12:47:21]SAM_PROTO_GetShiftState done [12:47:21]FM_GetShiftState done [12:47:21]opened in 1712450087 [12:47:21]opened+sec_in_day 1712536487 [12:47:21]quantity*price = 300008 [12:47:21]sum+1 = 300010 [12:47:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 3000.09 НСП 1% : 26.55 НДС 12% : 318.59 Наличными: 0.00 Безнал.: 3000.09 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 32 07.04.2024 12:47 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000874657 ФД: 26733 ФПД: 41136084485358 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T124730&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26733&fm=41136084485358&tin=02508201610067®Number=0000000000091578&sum=300009 [12:47:22]StoreToDocumentArchive [12:47:22]shift 313 fd 26733 [12:47:22]save to /storage/0313/doc_00026733 [12:47:22]save last doc name /storage/0313/doc_00026733 to /storage/kkm_last_doc_name [12:47:22]save OK [12:47:22]Clear old archive folders... [12:47:22]ProcessDocumentItem done err = 0, tmpTLVsize=251 [12:47:22]tlvbuf is 00EF70E0 [12:47:22]SAM_PROTO_ClearQueue [12:47:22]wFMCommunicate request_size=4 [12:47:22]MH_SAM_APDU [12:47:22]CAPDU: 80 09 00 00 [12:47:22]Write to MH i2c: E2 08 00 38 22 80 09 00 00 00 00 00 00 CC [12:47:22]Write i2c OK [12:47:22]MH_I2C_Read... [12:47:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:47:22]Read from MH i2c: E2 [12:47:22]MH_I2C_Read... [12:47:22]Read from MH i2c: E2 03 00 [12:47:22]MH_I2C_Read... [12:47:22]Read from MH i2c: E2 03 00 38 22 00 90 00 CE [12:47:22]RAPDU: 90 00 [12:47:22]wFMCommunicate OK [12:47:22]SAM_PROTO_ClearQueue done [12:47:22]KKMCreateOFDPacket [12:47:22]OFDProtocolAddRootSTLVToBuf [12:47:22]FM_MakeSignedData [12:47:22]FM_MakeSignedData [12:47:22]SAM_PROTO_SignData [12:47:22]wFMCommunicate request_size=4 [12:47:22]MH_SAM_APDU [12:47:22]CAPDU: 80 0D 01 02 [12:47:22]Write to MH i2c: E2 08 00 39 22 80 0D 01 02 00 00 00 00 D4 [12:47:22]Write i2c OK [12:47:22]MH_I2C_Read... [12:47:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:47:22]Read from MH i2c: E2 [12:47:22]MH_I2C_Read... [12:47:22]Read from MH i2c: E2 03 00 [12:47:22]MH_I2C_Read... [12:47:22]Read from MH i2c: E2 03 00 39 22 00 90 00 CF [12:47:22]RAPDU: 90 00 [12:47:22]wFMCommunicate OK [12:47:22]wFMCommunicate request_size=255 [12:47:22]MH_SAM_APDU [12:47: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 D8 B8 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 E9 93 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E9 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 7C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E9 93 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 E2 95 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 6D 68 00 00 35 04 06 00 25 [12:47:22]Write to MH i2c: E2 02 01 3A 22 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 D8 B8 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 E9 93 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E9 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 7C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E9 93 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 E2 95 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 6D 68 00 00 35 04 06 00 25 00 00 6F [12:47:22]Write i2c OK [12:47:22]MH_I2C_Read... [12:47:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:47:22]Read from MH i2c: E2 [12:47:22]MH_I2C_Read... [12:47:22]Read from MH i2c: E2 03 00 [12:47:22]MH_I2C_Read... [12:47:22]Read from MH i2c: E2 03 00 3A 22 00 90 00 D0 [12:47:22]RAPDU: 90 00 [12:47:22]wFMCommunicate OK [12:47:22]wFMCommunicate request_size=10 [12:47:22]MH_SAM_APDU [12:47:22]CAPDU: 80 0D 02 02 05 69 BD B4 04 EE [12:47:22]Write to MH i2c: E2 0D 00 3B 22 80 0D 02 02 05 00 69 BD B4 04 EE 00 00 AD [12:47:23]Write i2c OK [12:47:23]MH_I2C_Read... [12:47:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:47:23]Read from MH i2c: E2 [12:47:23]MH_I2C_Read... [12:47:23]Read from MH i2c: E2 03 00 [12:47:23]MH_I2C_Read... [12:47:23]Read from MH i2c: E2 03 00 3B 22 00 90 00 D1 [12:47:23]RAPDU: 90 00 [12:47:23]wFMCommunicate OK [12:47:23]wFMCommunicate request_size=4 [12:47:23]MH_SAM_APDU [12:47:23]CAPDU: 80 0D 03 02 [12:47:23]Write to MH i2c: E2 08 00 3C 22 80 0D 03 02 00 00 00 00 D9 [12:47:23]Write i2c OK [12:47:23]MH_I2C_Read... [12:47:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:47:23]Read from MH i2c: E2 [12:47:23]MH_I2C_Read... [12:47:23]Read from MH i2c: E2 0B 00 [12:47:23]MH_I2C_Read... [12:47:23]Read from MH i2c: E2 0B 00 3C 22 00 5B AF A8 88 45 F5 57 CD 90 00 72 [12:47:23]RAPDU: 5B AF A8 88 45 F5 57 CD 90 00 [12:47:23]wFMCommunicate OK [12:47:23]SAM_PROTO_SignData done [12:47:23]FM_MakeSignedData done [12:47:23]CreateOFDProtocolMessage [12:47:23]wFMCommunicate request_size=4 [12:47:23]MH_SAM_APDU [12:47:23]CAPDU: 80 11 00 00 [12:47:23]Write to MH i2c: E2 08 00 3D 22 80 11 00 00 00 00 00 00 D9 [12:47:23]Write i2c OK [12:47:23]MH_I2C_Read... [12:47:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:47:23]Read from MH i2c: E2 [12:47:23]MH_I2C_Read... [12:47:23]Read from MH i2c: E2 17 00 [12:47:23]MH_I2C_Read... [12:47:23]Read from MH i2c: E2 17 00 3D 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 31 [12:47:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [12:47:23]wFMCommunicate OK [12:47:23]CreateOFDProtocolMessage done [12:47:23]OFDSenderStorePacket 26733 [12:47:23]StoreOFDPacket docnum=26733 [12:47:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 79 AE 07 01 D8 76 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 D8 B8 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 E9 93 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E9 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 7C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E9 93 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 E2 95 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 6D 68 00 00 35 04 06 00 25 69 BD B4 04 EE 5B AF A8 88 45 F5 57 CD [12:47:23]CheckFolder [12:47:23]dirname=/storage/ofd_packets [12:47:23]CheckFolder done [12:47:23]ProducePacketName [12:47:23]name=ofd_packets/00026733 [12:47:23]NVStorageSaveData ofd_packets/00026733 [12:47:23]File name is /storage/ofd_packets/00026733 [12:47:23]Write 301 bytes [12:47:23]NVStorageSaveData done [12:47:23]OFDSenderStorePacket done [12:47:23]KKMCreateOFDPacket done [12:47:23]NVStorageSaveData kkm_last_timestamp [12:47:23]File name is /storage/kkm_last_timestamp [12:47:23]Write 4 bytes [12:47:23]NVStorageSaveData done [12:47:23]ExternCall_PrintAddStr [12:47:23]wPrintStart [12:47:23]Write to MH i2c: 01 00 00 3E 22 60 [12:47:23]Write i2c OK [12:47:23]MH_I2C_Read... [12:47:23]Read from MH i2c: 01 [12:47:23]MH_I2C_Read... [12:47:23]Read from MH i2c: 01 07 00 [12:47:23]MH_I2C_Read... [12:47:23]Read from MH i2c: 01 07 00 3E 22 00 00 00 00 00 FF 0F 75 [12:47:23]RasterBufferAndPrint [12:47:23]line Счет N : (1)359476 [12:47:23]line ИНН: 02508201610067 [12:47:23]line Контрольно-Кассовый Чек [12:47:23]line ПРОДАЖА [12:47:23]line ТРК (МРК, ГНК) : 61 [12:47:23]line Товар: 2710124130 [12:47:23]line Аи-92-К-5 [12:47:23]line 47.320 * 63.40 [12:47:23]line = 3000.09 [12:47:23]line НДС 12% НСП 1% [12:47:23]line > о реализуемом товаре [12:47:23]line ИТОГО: 3000.09 [12:47:23]line НСП 1% : 26.55 [12:47:23]line НДС 12% : 318.59 [12:47:23]line Наличными: 0.00 [12:47:23]line Безнал.: 3000.09 [12:47:23]line Место: АЗС № 122 "Партнер Нефть" [12:47:23]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [12:47:23]line СНО: Общий режим [12:47:23]line Чек 32 07.04.2024 12:47 [12:47:23]line Смена: 313 ФФД: 1.0 [12:47:23]line ЗНМ: 0300000147 [12:47:23]line РНМ: 0000000000091578 [12:47:23]line Версия ККМ: 001 [12:47:23]line Платежная система: O! деньги [12:47:23]line ФМ: 0000000000874657 [12:47:23]line ФД: 26733 [12:47:23]line ФПД: 41136084485358 [12:47:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T124730&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26733&fm=41136084485358&tin=02508201610067®Number=0000000000091578&sum=300009 [12:47:23]OFD Sender: Processing packet 26733 [packets to send 44, broken 43] [12:47:23]ProducePacketName [12:47:23]name=ofd_packets/00026733 [12:47:23]OFD Sender: To server: pG, [12:47:23]CommunicateWithHost lk.salyk.kg:30040 [12:47:23]ConnectInit lk.salyk.kg [12:47:23]written 0, free lines is 4095 [12:47:23]Connected sock=10 [12:47: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 36 35 37 0F 01 00 00 79 AE 07 01 D8 76 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 D8 B8 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 E9 93 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E9 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 7C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E9 93 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 E2 95 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 6D 68 00 00 35 04 06 00 25 69 BD B4 04 EE 5B AF A8 88 45 F5 57 CD [12:47:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 23 6B 47 00 06 36 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 6D 68 00 00 F4 03 04 00 4F 3D 12 66 B6 04 01 00 00 6B 69 36 D6 70 3D CF A6 [12:47:23]CommunicateWithHost err = 0 [12:47:23]CheckOFDResponse [12:47:23]1017 (14) - 77093643461234 [12:47:23]1041 (16) - 0000000000874657 [12:47:23]1040 (4) - 26733 [12:47:23]1012 (4) - 07.04.2024 06:29 [12:47:23]1206 (1) - 0 [12:47:23]OFD Sender: Remove packet 26733 [12:47:23]ProducePacketName [12:47:23]name=ofd_packets/00026733 [12:47:23]NVStorageDeleteData [12:47:23]Write to MH i2c: 01 00 00 68 22 8A [12:47:23]Write i2c OK [12:47:23]MH_I2C_Read... [12:47:23]Read from MH i2c: 01 [12:47:23]MH_I2C_Read... [12:47:23]Read from MH i2c: 01 07 00 [12:47:23]MH_I2C_Read... [12:47:23]Read from MH i2c: 01 07 00 68 22 00 00 00 00 00 8B 0C 28 [12:47:23]RasterBufferAndPrint [12:47:23]line [12:47:23]line [12:47:23]line [12:47:23]line [12:47:23]line [12:47:23]written 0, free lines is 3215 [12:47:23]MH_Cut [12:47:23]Write to MH i2c: D1 01 00 6F 22 01 63 [12:47:23]Write i2c OK [12:47:23]MH_I2C_Read... [12:47:23]Read from MH i2c: D1 [12:47:23]MH_I2C_Read... [12:47:23]Read from MH i2c: D1 01 00 [12:47:23]MH_I2C_Read... [12:47:23]Read from MH i2c: D1 01 00 6F 22 00 62 [12:47:23]Write to MH i2c: 01 00 00 70 22 92 [12:47:23]Write i2c OK [12:47:23]MH_I2C_Read... [12:47:24]OFD Sender: No OFD packet to send [12:47:25]*** Cut start [12:47:25]*** Partial cut [12:47:25]*** CUTSNS_PIN = 1 [12:47:25]*** CUTSNS_PIN = 0 [12:47:25]*** Brake cut motor [12:47:25]Read from MH i2c: 01 [12:47:25]MH_I2C_Read... [12:47:25]*** Stop cut motor [12:47:25]*** Cut end [12:47:25]Read from MH i2c: 01 07 00 [12:47:25]MH_I2C_Read... [12:47:25]Read from MH i2c: 01 07 00 70 22 00 00 00 00 00 FF 0F A7 [12:47:25]process_action close_receipt done [12:47:25]requested_data is exist [12:47:25]produce_requested_data [12:47:25]requested_item fm.sn is exist - process it [12:47:25]wFMCommunicate request_size=4 [12:47:25]MH_SAM_APDU [12:47:25]CAPDU: 80 11 00 00 [12:47:25]Write to MH i2c: E2 08 00 71 22 80 11 00 00 00 00 00 00 0D [12:47:25]Write i2c OK [12:47:25]MH_I2C_Read... [12:47:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:47:25]Read from MH i2c: E2 [12:47:25]MH_I2C_Read... [12:47:25]Read from MH i2c: E2 17 00 [12:47:25]MH_I2C_Read... [12:47:25]Read from MH i2c: E2 17 00 71 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 65 [12:47:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [12:47:25]wFMCommunicate OK [12:47:25]requested_item fd.num is exist - process it [12:47:25]SAM_PROTO_GetFieldsCounters [12:47:25]wFMCommunicate request_size=4 [12:47:25]MH_SAM_APDU [12:47:25]CAPDU: 80 13 00 00 [12:47:25]Write to MH i2c: E2 08 00 72 22 80 13 00 00 00 00 00 00 10 [12:47:25]Write i2c OK [12:47:25]MH_I2C_Read... [12:47:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:47:25]Read from MH i2c: E2 [12:47:25]MH_I2C_Read... [12:47:25]Read from MH i2c: E2 62 00 [12:47:25]MH_I2C_Read... [12:47:25]Read from MH i2c: E2 62 00 72 22 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 6D 68 00 00 0E 04 04 00 39 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 AA [12:47: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 6D 68 00 00 0E 04 04 00 39 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 [12:47:25]wFMCommunicate OK [12:47:25]SAM_PROTO_GetFieldsCounters done [12:47:25]requested_item shift.num is exist - process it [12:47:25]requested_item shift.opened is exist - process it [12:47:25]req_shift_opened [12:47:25]FM_GetShiftState [12:47:25]SAM_PROTO_GetShiftState [12:47:25]wFMCommunicate request_size=4 [12:47:25]MH_SAM_APDU [12:47:25]CAPDU: 80 13 01 00 [12:47:25]Write to MH i2c: E2 08 00 73 22 80 13 01 00 00 00 00 00 12 [12:47:25]Write i2c OK [12:47:25]MH_I2C_Read... [12:47:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:47:25]Read from MH i2c: E2 [12:47:25]MH_I2C_Read... [12:47:25]Read from MH i2c: E2 0E 00 [12:47:25]MH_I2C_Read... [12:47:25]Read from MH i2c: E2 0E 00 73 22 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 A6 [12:47:25]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [12:47:25]wFMCommunicate OK [12:47:25]SAM_PROTO_GetShiftState done [12:47:25]FM_GetShiftState done [12:47:25]req_shift_opened done [12:47:25]requested_item shift.open_date is exist - process it [12:47:25]req_shift_open_date [12:47:25]req_shift_open_date done [12:47:25]produce_requested_data done [12:47:25]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26733,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [12:47:25]process_action_free close_receipt [12:47:25]json_value_free [12:47:25]json_value_free done [12:47:25]process_json_proto returns [12:47:25]Send response to host [12:47:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26733,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [12:47:25]free response buf [12:47:25]execute_script done [12:47:25]execute_script returns [12:47:25]free content buf [12:47:25]Sock 9.Close socket [12:47:25]Sock 9.Thread stoped [12:47:29]OFD Sender: No OFD packet to send [12:47:34]OFD Sender: No OFD packet to send [12:47:39]OFD Sender: No OFD packet to send [12:47:44]OFD Sender: No OFD packet to send [12:47:49]OFD Sender: No OFD packet to send [12:47:54]OFD Sender: No OFD packet to send [12:47:59]OFD Sender: No OFD packet to send [12:48:04]OFD Sender: No OFD packet to send [12:48:09]OFD Sender: No OFD packet to send [12:48:14]OFD Sender: No OFD packet to send [12:48:19]OFD Sender: No OFD packet to send [12:48:24]OFD Sender: No OFD packet to send [12:48:29]OFD Sender: No OFD packet to send [12:48:34]OFD Sender: No OFD packet to send [12:48:39]OFD Sender: No OFD packet to send [12:48:44]OFD Sender: No OFD packet to send [12:48:49]OFD Sender: No OFD packet to send [12:48:54]OFD Sender: No OFD packet to send [12:48:59]OFD Sender: No OFD packet to send [12:49:04]OFD Sender: No OFD packet to send [12:49:09]OFD Sender: No OFD packet to send [12:49:14]OFD Sender: No OFD packet to send [12:49:19]OFD Sender: No OFD packet to send [12:49:24]OFD Sender: No OFD packet to send [12:49:29]OFD Sender: No OFD packet to send [12:49:34]OFD Sender: No OFD packet to send [12:49:39]OFD Sender: No OFD packet to send [12:49:44]OFD Sender: No OFD packet to send [12:49:49]OFD Sender: No OFD packet to send [12:49:54]OFD Sender: No OFD packet to send [12:49:59]OFD Sender: No OFD packet to send [12:50:04]OFD Sender: No OFD packet to send [12:50:09]OFD Sender: No OFD packet to send [12:50:14]OFD Sender: No OFD packet to send [12:50:19]OFD Sender: No OFD packet to send [12:50:24]OFD Sender: No OFD packet to send [12:50:29]OFD Sender: No OFD packet to send [12:50:34]OFD Sender: No OFD packet to send [12:50:39]OFD Sender: No OFD packet to send [12:50:44]OFD Sender: No OFD packet to send [12:50:49]OFD Sender: No OFD packet to send [12:50:54]OFD Sender: No OFD packet to send [12:50:59]OFD Sender: No OFD packet to send [12:51:04]OFD Sender: No OFD packet to send [12:51:09]OFD Sender: No OFD packet to send [12:51:14]OFD Sender: No OFD packet to send [12:51:19]OFD Sender: No OFD packet to send [12:51:24]OFD Sender: No OFD packet to send [12:51:29]OFD Sender: No OFD packet to send [12:51:34]OFD Sender: No OFD packet to send [12:51:39]OFD Sender: No OFD packet to send [12:51:44]OFD Sender: No OFD packet to send [12:51:49]OFD Sender: No OFD packet to send [12:51:54]OFD Sender: No OFD packet to send [12:51:59]OFD Sender: No OFD packet to send [12:52:04]OFD Sender: No OFD packet to send [12:52:09]OFD Sender: No OFD packet to send [12:52:14]OFD Sender: No OFD packet to send [12:52:19]OFD Sender: No OFD packet to send [12:52:24]OFD Sender: No OFD packet to send [12:52:29]OFD Sender: No OFD packet to send [12:52:34]OFD Sender: No OFD packet to send [12:52:39]OFD Sender: No OFD packet to send [12:52:44]OFD Sender: No OFD packet to send [12:52:49]OFD Sender: No OFD packet to send [12:52:54]OFD Sender: No OFD packet to send [12:52:59]OFD Sender: No OFD packet to send [12:53:04]OFD Sender: No OFD packet to send [12:53:09]OFD Sender: No OFD packet to send [12:53:14]OFD Sender: No OFD packet to send [12:53:19]OFD Sender: No OFD packet to send [12:53:24]OFD Sender: No OFD packet to send [12:53:29]OFD Sender: No OFD packet to send [12:53:34]OFD Sender: No OFD packet to send [12:53:39]OFD Sender: No OFD packet to send [12:53:44]OFD Sender: No OFD packet to send [12:53:49]OFD Sender: No OFD packet to send [12:53:54]OFD Sender: No OFD packet to send [12:53:59]OFD Sender: No OFD packet to send [12:54:04]OFD Sender: No OFD packet to send [12:54:09]OFD Sender: No OFD packet to send [12:54:14]OFD Sender: No OFD packet to send [12:54:19]OFD Sender: No OFD packet to send [12:54:24]OFD Sender: No OFD packet to send [12:54:29]OFD Sender: No OFD packet to send [12:54:34]OFD Sender: No OFD packet to send [12:54:39]OFD Sender: No OFD packet to send [12:54:44]OFD Sender: No OFD packet to send [12:54:49]OFD Sender: No OFD packet to send [12:54:54]OFD Sender: No OFD packet to send [12:54:59]OFD Sender: No OFD packet to send [12:55:04]OFD Sender: No OFD packet to send [12:55:09]OFD Sender: No OFD packet to send [12:55:14]OFD Sender: No OFD packet to send [12:55:19]OFD Sender: No OFD packet to send [12:55:24]OFD Sender: No OFD packet to send [12:55:29]OFD Sender: No OFD packet to send [12:55:34]OFD Sender: No OFD packet to send [12:55:39]OFD Sender: No OFD packet to send [12:55:44]OFD Sender: No OFD packet to send [12:55:49]OFD Sender: No OFD packet to send [12:55:54]OFD Sender: No OFD packet to send [12:55:59]OFD Sender: No OFD packet to send [12:56:04]OFD Sender: No OFD packet to send [12:56:09]OFD Sender: No OFD packet to send [12:56:14]OFD Sender: No OFD packet to send [12:56:19]OFD Sender: No OFD packet to send [12:56:24]OFD Sender: No OFD packet to send [12:56:29]OFD Sender: No OFD packet to send [12:56:34]OFD Sender: No OFD packet to send [12:56:39]OFD Sender: No OFD packet to send [12:56:44]OFD Sender: No OFD packet to send [12:56:49]OFD Sender: No OFD packet to send [12:56:54]OFD Sender: No OFD packet to send [12:56:59]OFD Sender: No OFD packet to send [12:57:04]OFD Sender: No OFD packet to send [12:57:09]OFD Sender: No OFD packet to send [12:57:14]OFD Sender: No OFD packet to send [12:57:19]OFD Sender: No OFD packet to send [12:57:24]OFD Sender: No OFD packet to send [12:57:29]OFD Sender: No OFD packet to send [12:57:34]OFD Sender: No OFD packet to send [12:57:39]OFD Sender: No OFD packet to send [12:57:44]OFD Sender: No OFD packet to send [12:57:49]OFD Sender: No OFD packet to send [12:57:54]OFD Sender: No OFD packet to send [12:57:59]OFD Sender: No OFD packet to send [12:58:04]OFD Sender: No OFD packet to send [12:58:08]accept exits with 8 [12:58:08]New connection [12:58:08]New thread 3067014500 created [12:58:08]Thread 3066871140 joined [12:58:08]Waiting for new connection... [12:58:08] Sock 8.Parse request [12:58:08]Sock 8.Check first char [12:58:08]Sock 8.First char is OK [12:58:08]request: POST /json_proto HTTP/1.0 [12:58:08]Method: POST [12:58:08]URL: /json_proto [12:58:08]Method is POST - this is cgi request [12:58:08]url: /json_proto [12:58:08]query_string will be loaded in cgi processing [12:58:08]execute_cgi json_proto POST (null) [12:58:08]execute_cgi path=json_proto method=POST [12:58:08]POST find Content-Length [12:58:08]Host: 172.17.35.3:8080 [12:58:08]Content-Length: 816 [12:58:08]Content-Type: application/json [12:58:08] [12:58:08]POST finish read [12:58:08]Found Content-Length = 816 [12:58:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359477", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 6.310, "sum" : 400.05, "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" : 400.05 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:58:08]execute_script... [12:58: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 : (1)359477", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 6.310, "sum" : 400.05, "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" : 400.05 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:58:08]POST & json_proto [12:58:08]process_json_proto [12:58:08]json parsed OK: [12:58:08]protocol is kg_v1.0 [12:58:08]action value=close_receipt [12:58:08]process_action close_receipt [12:58:08]cmd_close_receipt [12:58:08]MH_GetDate [12:58:08]Write to MH i2c: F0 00 00 74 22 85 [12:58:08]Write i2c OK [12:58:08]MH_I2C_Read... [12:58:08]Read from MH i2c: F0 [12:58:08]MH_I2C_Read... [12:58:08]Read from MH i2c: F0 09 00 [12:58:08]MH_I2C_Read... [12:58:08]Read from MH i2c: F0 09 00 74 22 00 69 98 12 66 2B 11 66 64 0D [12:58:08]GetLastDocTimeStamp 1712494050 [12:58:08]current date 1712494697 [12:58:08]FM_GetShiftState [12:58:08]SAM_PROTO_GetShiftState [12:58:08]wFMCommunicate request_size=4 [12:58:08]MH_SAM_APDU [12:58:08]CAPDU: 80 13 01 00 [12:58:08]Write to MH i2c: E2 08 00 75 22 80 13 01 00 00 00 00 00 14 [12:58:08]Write i2c OK [12:58:08]MH_I2C_Read... [12:58:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:58:08]Read from MH i2c: E2 [12:58:08]MH_I2C_Read... [12:58:08]Read from MH i2c: E2 0E 00 [12:58:08]MH_I2C_Read... [12:58:08]Read from MH i2c: E2 0E 00 75 22 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 A8 [12:58:08]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [12:58:08]wFMCommunicate OK [12:58:08]SAM_PROTO_GetShiftState done [12:58:08]FM_GetShiftState done [12:58:08]opened in 1712450087 [12:58:08]opened+sec_in_day 1712536487 [12:58:08]quantity*price = 40005 [12:58:08]sum+1 = 40006 [12:58:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 400.05 НСП 1% : 3.54 НДС 12% : 42.48 Наличными: 0.00 Безнал.: 400.05 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 33 07.04.2024 12:58 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000874657 ФД: 26734 ФПД: 45066821965391 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T125817&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26734&fm=45066821965391&tin=02508201610067®Number=0000000000091578&sum=40005 [12:58:10]StoreToDocumentArchive [12:58:10]shift 313 fd 26734 [12:58:10]save to /storage/0313/doc_00026734 [12:58:10]save last doc name /storage/0313/doc_00026734 to /storage/kkm_last_doc_name [12:58:10]save OK [12:58:10]Clear old archive folders... [12:58:10]ProcessDocumentItem done err = 0, tmpTLVsize=251 [12:58:10]tlvbuf is 00EDF4F0 [12:58:10]SAM_PROTO_ClearQueue [12:58:10]wFMCommunicate request_size=4 [12:58:10]MH_SAM_APDU [12:58:10]CAPDU: 80 09 00 00 [12:58:10]Write to MH i2c: E2 08 00 82 22 80 09 00 00 00 00 00 00 16 [12:58:10]Write i2c OK [12:58:10]MH_I2C_Read... [12:58:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:58:10]Read from MH i2c: E2 [12:58:10]MH_I2C_Read... [12:58:10]Read from MH i2c: E2 03 00 [12:58:10]MH_I2C_Read... [12:58:10]Read from MH i2c: E2 03 00 82 22 00 90 00 18 [12:58:10]RAPDU: 90 00 [12:58:10]wFMCommunicate OK [12:58:10]SAM_PROTO_ClearQueue done [12:58:10]KKMCreateOFDPacket [12:58:10]OFDProtocolAddRootSTLVToBuf [12:58:10]FM_MakeSignedData [12:58:10]FM_MakeSignedData [12:58:10]SAM_PROTO_SignData [12:58:10]wFMCommunicate request_size=4 [12:58:10]MH_SAM_APDU [12:58:10]CAPDU: 80 0D 01 02 [12:58:10]Write to MH i2c: E2 08 00 83 22 80 0D 01 02 00 00 00 00 1E [12:58:10]Write i2c OK [12:58:10]MH_I2C_Read... [12:58:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:58:10]Read from MH i2c: E2 [12:58:10]MH_I2C_Read... [12:58:10]Read from MH i2c: E2 03 00 [12:58:10]MH_I2C_Read... [12:58:10]Read from MH i2c: E2 03 00 83 22 00 90 00 19 [12:58:10]RAPDU: 90 00 [12:58:10]wFMCommunicate OK [12:58:10]wFMCommunicate request_size=255 [12:58:10]MH_SAM_APDU [12:58:10]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 A6 18 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 45 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 45 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 98 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 45 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 69 98 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 6E 68 00 00 35 04 06 00 28 [12:58:10]Write to MH i2c: E2 02 01 84 22 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 A6 18 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 45 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 45 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 98 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 45 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 69 98 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 6E 68 00 00 35 04 06 00 28 00 00 4C [12:58:10]Write i2c OK [12:58:10]MH_I2C_Read... [12:58:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:58:10]Read from MH i2c: E2 [12:58:10]MH_I2C_Read... [12:58:10]Read from MH i2c: E2 03 00 [12:58:10]MH_I2C_Read... [12:58:10]Read from MH i2c: E2 03 00 84 22 00 90 00 1A [12:58:10]RAPDU: 90 00 [12:58:10]wFMCommunicate OK [12:58:10]wFMCommunicate request_size=10 [12:58:10]MH_SAM_APDU [12:58:10]CAPDU: 80 0D 02 02 05 FC EF EA 16 4F [12:58:10]Write to MH i2c: E2 0D 00 85 22 80 0D 02 02 05 00 FC EF EA 16 4F 00 00 65 [12:58:10]Write i2c OK [12:58:10]MH_I2C_Read... [12:58:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:58:10]Read from MH i2c: E2 [12:58:10]MH_I2C_Read... [12:58:10]Read from MH i2c: E2 03 00 [12:58:10]MH_I2C_Read... [12:58:10]Read from MH i2c: E2 03 00 85 22 00 90 00 1B [12:58:10]RAPDU: 90 00 [12:58:10]wFMCommunicate OK [12:58:10]wFMCommunicate request_size=4 [12:58:10]MH_SAM_APDU [12:58:10]CAPDU: 80 0D 03 02 [12:58:10]Write to MH i2c: E2 08 00 86 22 80 0D 03 02 00 00 00 00 23 [12:58:10]Write i2c OK [12:58:10]MH_I2C_Read... [12:58:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:58:10]Read from MH i2c: E2 [12:58:10]MH_I2C_Read... [12:58:10]Read from MH i2c: E2 0B 00 [12:58:10]MH_I2C_Read... [12:58:10]Read from MH i2c: E2 0B 00 86 22 00 E3 B4 09 0D 78 5C 4A 43 90 00 32 [12:58:10]RAPDU: E3 B4 09 0D 78 5C 4A 43 90 00 [12:58:10]wFMCommunicate OK [12:58:10]SAM_PROTO_SignData done [12:58:10]FM_MakeSignedData done [12:58:10]CreateOFDProtocolMessage [12:58:10]wFMCommunicate request_size=4 [12:58:10]MH_SAM_APDU [12:58:10]CAPDU: 80 11 00 00 [12:58:10]Write to MH i2c: E2 08 00 87 22 80 11 00 00 00 00 00 00 23 [12:58:10]Write i2c OK [12:58:10]MH_I2C_Read... [12:58:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:58:10]Read from MH i2c: E2 [12:58:10]MH_I2C_Read... [12:58:10]Read from MH i2c: E2 17 00 [12:58:10]MH_I2C_Read... [12:58:10]Read from MH i2c: E2 17 00 87 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 7B [12:58:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [12:58:10]wFMCommunicate OK [12:58:10]CreateOFDProtocolMessage done [12:58:10]OFDSenderStorePacket 26734 [12:58:10]StoreOFDPacket docnum=26734 [12:58:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 38 86 07 01 65 68 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 A6 18 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 45 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 45 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 98 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 45 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 69 98 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 6E 68 00 00 35 04 06 00 28 FC EF EA 16 4F E3 B4 09 0D 78 5C 4A 43 [12:58:10]CheckFolder [12:58:10]dirname=/storage/ofd_packets [12:58:10]CheckFolder done [12:58:10]ProducePacketName [12:58:10]name=ofd_packets/00026734 [12:58:10]NVStorageSaveData ofd_packets/00026734 [12:58:10]File name is /storage/ofd_packets/00026734 [12:58:10]Write 301 bytes [12:58:10]NVStorageSaveData done [12:58:10]OFDSenderStorePacket done [12:58:10]KKMCreateOFDPacket done [12:58:10]NVStorageSaveData kkm_last_timestamp [12:58:10]File name is /storage/kkm_last_timestamp [12:58:10]Write 4 bytes [12:58:10]NVStorageSaveData done [12:58:10]ExternCall_PrintAddStr [12:58:10]wPrintStart [12:58:10]Write to MH i2c: 01 00 00 88 22 AA [12:58:10]Write i2c OK [12:58:10]MH_I2C_Read... [12:58:10]Read from MH i2c: 01 [12:58:10]MH_I2C_Read... [12:58:10]Read from MH i2c: 01 07 00 [12:58:10]MH_I2C_Read... [12:58:10]Read from MH i2c: 01 07 00 88 22 00 00 00 00 00 FF 0F BF [12:58:10]RasterBufferAndPrint [12:58:10]line Счет N : (1)359477 [12:58:10]line ИНН: 02508201610067 [12:58:10]line Контрольно-Кассовый Чек [12:58:10]line ПРОДАЖА [12:58:10]line ТРК (МРК, ГНК) : 51 [12:58:10]line Товар: 2710124130 [12:58:10]line Аи-92-К-5 [12:58:10]line 6.310 * 63.40 [12:58:10]line = 400.05 [12:58:10]line НДС 12% НСП 1% [12:58:10]line > о реализуемом товаре [12:58:10]line ИТОГО: 400.05 [12:58:10]line НСП 1% : 3.54 [12:58:10]line НДС 12% : 42.48 [12:58:10]line Наличными: 0.00 [12:58:10]line Безнал.: 400.05 [12:58:10]line Место: АЗС № 122 "Партнер Нефть" [12:58:10]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [12:58:10]line СНО: Общий режим [12:58:10]line Чек 33 07.04.2024 12:58 [12:58:10]line Смена: 313 ФФД: 1.0 [12:58:10]line ЗНМ: 0300000147 [12:58:10]line РНМ: 0000000000091578 [12:58:10]line Версия ККМ: 001 [12:58:10]line Платежная система: Бакай Банк [12:58:10]line ФМ: 0000000000874657 [12:58:10]line ФД: 26734 [12:58:10]line ФПД: 45066821965391 [12:58:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T125817&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26734&fm=45066821965391&tin=02508201610067®Number=0000000000091578&sum=40005 [12:58:10]OFD Sender: Processing packet 26734 [packets to send 44, broken 43] [12:58:10]ProducePacketName [12:58:10]name=ofd_packets/00026734 [12:58:10]OFD Sender: To server: pG, [12:58:10]CommunicateWithHost lk.salyk.kg:30040 [12:58:10]ConnectInit lk.salyk.kg [12:58:10]written 0, free lines is 4095 [12:58:10]Connected sock=10 [12:58: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 36 35 37 0F 01 00 00 38 86 07 01 65 68 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 A6 18 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 45 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 45 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 98 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 45 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 69 98 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 6E 68 00 00 35 04 06 00 28 FC EF EA 16 4F E3 B4 09 0D 78 5C 4A 43 [12:58:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 A5 A5 47 00 6B A0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 6E 68 00 00 F4 03 04 00 D7 3F 12 66 B6 04 01 00 00 F4 D8 C5 6F E6 F2 6E 5B [12:58:11]CommunicateWithHost err = 0 [12:58:11]CheckOFDResponse [12:58:11]1017 (14) - 77093643461234 [12:58:11]1041 (16) - 0000000000874657 [12:58:11]1040 (4) - 26734 [12:58:11]1012 (4) - 07.04.2024 06:40 [12:58:11]1206 (1) - 0 [12:58:11]OFD Sender: Remove packet 26734 [12:58:11]ProducePacketName [12:58:11]name=ofd_packets/00026734 [12:58:11]NVStorageDeleteData [12:58:11]Write to MH i2c: 01 00 00 B2 22 D4 [12:58:11]Write i2c OK [12:58:11]MH_I2C_Read... [12:58:11]Read from MH i2c: 01 [12:58:11]MH_I2C_Read... [12:58:11]Read from MH i2c: 01 07 00 [12:58:11]MH_I2C_Read... [12:58:11]Read from MH i2c: 01 07 00 B2 22 00 00 00 00 00 8F 0C 76 [12:58:11]RasterBufferAndPrint [12:58:11]line [12:58:11]line [12:58:11]line [12:58:11]line [12:58:11]line [12:58:11]written 0, free lines is 3217 [12:58:11]MH_Cut [12:58:11]Write to MH i2c: D1 01 00 B9 22 01 AD [12:58:11]Write i2c OK [12:58:11]MH_I2C_Read... [12:58:11]Read from MH i2c: D1 [12:58:11]MH_I2C_Read... [12:58:11]Read from MH i2c: D1 01 00 [12:58:11]MH_I2C_Read... [12:58:11]Read from MH i2c: D1 01 00 B9 22 00 AC [12:58:11]Write to MH i2c: 01 00 00 BA 22 DC [12:58:11]Write i2c OK [12:58:11]MH_I2C_Read... [12:58:11]OFD Sender: No OFD packet to send [12:58:12]*** Cut start [12:58:12]*** Partial cut [12:58:12]*** CUTSNS_PIN = 1 [12:58:12]*** CUTSNS_PIN = 0 [12:58:12]*** Brake cut motor [12:58:13]Read from MH i2c: 01 [12:58:13]MH_I2C_Read... [12:58:13]*** Stop cut motor [12:58:13]*** Cut end [12:58:13]Read from MH i2c: 01 07 00 [12:58:13]MH_I2C_Read... [12:58:13]Read from MH i2c: 01 07 00 BA 22 00 00 00 00 00 FF 0F F1 [12:58:13]process_action close_receipt done [12:58:13]requested_data is exist [12:58:13]produce_requested_data [12:58:13]requested_item fm.sn is exist - process it [12:58:13]wFMCommunicate request_size=4 [12:58:13]MH_SAM_APDU [12:58:13]CAPDU: 80 11 00 00 [12:58:13]Write to MH i2c: E2 08 00 BB 22 80 11 00 00 00 00 00 00 57 [12:58:13]Write i2c OK [12:58:13]MH_I2C_Read... [12:58:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:58:13]Read from MH i2c: E2 [12:58:13]MH_I2C_Read... [12:58:13]Read from MH i2c: E2 17 00 [12:58:13]MH_I2C_Read... [12:58:13]Read from MH i2c: E2 17 00 BB 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 AF [12:58:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [12:58:13]wFMCommunicate OK [12:58:13]requested_item fd.num is exist - process it [12:58:13]SAM_PROTO_GetFieldsCounters [12:58:13]wFMCommunicate request_size=4 [12:58:13]MH_SAM_APDU [12:58:13]CAPDU: 80 13 00 00 [12:58:13]Write to MH i2c: E2 08 00 BC 22 80 13 00 00 00 00 00 00 5A [12:58:13]Write i2c OK [12:58:13]MH_I2C_Read... [12:58:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:58:13]Read from MH i2c: E2 [12:58:13]MH_I2C_Read... [12:58:13]Read from MH i2c: E2 62 00 [12:58:13]MH_I2C_Read... [12:58:13]Read from MH i2c: E2 62 00 BC 22 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 6E 68 00 00 0E 04 04 00 39 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 F8 [12:58: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 6E 68 00 00 0E 04 04 00 39 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 [12:58:13]wFMCommunicate OK [12:58:13]SAM_PROTO_GetFieldsCounters done [12:58:13]requested_item shift.num is exist - process it [12:58:13]requested_item shift.opened is exist - process it [12:58:13]req_shift_opened [12:58:13]FM_GetShiftState [12:58:13]SAM_PROTO_GetShiftState [12:58:13]wFMCommunicate request_size=4 [12:58:13]MH_SAM_APDU [12:58:13]CAPDU: 80 13 01 00 [12:58:13]Write to MH i2c: E2 08 00 BD 22 80 13 01 00 00 00 00 00 5C [12:58:13]Write i2c OK [12:58:13]MH_I2C_Read... [12:58:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:58:13]Read from MH i2c: E2 [12:58:13]MH_I2C_Read... [12:58:13]Read from MH i2c: E2 0E 00 [12:58:13]MH_I2C_Read... [12:58:13]Read from MH i2c: E2 0E 00 BD 22 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 F0 [12:58:13]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [12:58:13]wFMCommunicate OK [12:58:13]SAM_PROTO_GetShiftState done [12:58:13]FM_GetShiftState done [12:58:13]req_shift_opened done [12:58:13]requested_item shift.open_date is exist - process it [12:58:13]req_shift_open_date [12:58:13]req_shift_open_date done [12:58:13]produce_requested_data done [12:58:13]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26734,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [12:58:13]process_action_free close_receipt [12:58:13]json_value_free [12:58:13]json_value_free done [12:58:13]process_json_proto returns [12:58:13]Send response to host [12:58:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26734,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [12:58:13]free response buf [12:58:13]execute_script done [12:58:13]execute_script returns [12:58:13]free content buf [12:58:13]Sock 8.Close socket [12:58:13]Sock 8.Thread stoped [12:58:16]OFD Sender: No OFD packet to send [12:58:21]OFD Sender: No OFD packet to send [12:58:26]OFD Sender: No OFD packet to send [12:58:31]OFD Sender: No OFD packet to send [12:58:36]OFD Sender: No OFD packet to send [12:58:41]OFD Sender: No OFD packet to send [12:58:46]OFD Sender: No OFD packet to send [12:58:51]OFD Sender: No OFD packet to send [12:58:56]OFD Sender: No OFD packet to send [12:59:01]OFD Sender: No OFD packet to send [12:59:06]OFD Sender: No OFD packet to send [12:59:11]OFD Sender: No OFD packet to send [12:59:16]OFD Sender: No OFD packet to send [12:59:21]OFD Sender: No OFD packet to send [12:59:26]OFD Sender: No OFD packet to send [12:59:31]OFD Sender: No OFD packet to send [12:59:36]OFD Sender: No OFD packet to send [12:59:41]OFD Sender: No OFD packet to send [12:59:46]OFD Sender: No OFD packet to send [12:59:51]OFD Sender: No OFD packet to send [12:59:56]OFD Sender: No OFD packet to send [13:00:01]OFD Sender: No OFD packet to send [13:00:06]OFD Sender: No OFD packet to send [13:00:11]OFD Sender: No OFD packet to send [13:00:16]OFD Sender: No OFD packet to send [13:00:21]OFD Sender: No OFD packet to send [13:00:26]OFD Sender: No OFD packet to send [13:00:31]OFD Sender: No OFD packet to send [13:00:36]OFD Sender: No OFD packet to send [13:00:41]OFD Sender: No OFD packet to send [13:00:46]OFD Sender: No OFD packet to send [13:00:51]OFD Sender: No OFD packet to send [13:00:56]OFD Sender: No OFD packet to send [13:01:01]OFD Sender: No OFD packet to send [13:01:06]OFD Sender: No OFD packet to send [13:01:11]OFD Sender: No OFD packet to send [13:01:16]OFD Sender: No OFD packet to send [13:01:21]OFD Sender: No OFD packet to send [13:01:26]OFD Sender: No OFD packet to send [13:01:31]OFD Sender: No OFD packet to send [13:01:36]OFD Sender: No OFD packet to send [13:01:41]OFD Sender: No OFD packet to send [13:01:46]OFD Sender: No OFD packet to send [13:01:51]OFD Sender: No OFD packet to send [13:01:56]OFD Sender: No OFD packet to send [13:02:01]OFD Sender: No OFD packet to send [13:02:06]OFD Sender: No OFD packet to send [13:02:11]OFD Sender: No OFD packet to send [13:02:16]OFD Sender: No OFD packet to send [13:02:21]OFD Sender: No OFD packet to send [13:02:26]OFD Sender: No OFD packet to send [13:02:31]OFD Sender: No OFD packet to send [13:02:36]OFD Sender: No OFD packet to send [13:02:41]OFD Sender: No OFD packet to send [13:02:46]OFD Sender: No OFD packet to send [13:02:51]OFD Sender: No OFD packet to send [13:02:56]OFD Sender: No OFD packet to send [13:03:01]OFD Sender: No OFD packet to send [13:03:06]OFD Sender: No OFD packet to send [13:03:11]OFD Sender: No OFD packet to send [13:03:16]OFD Sender: No OFD packet to send [13:03:21]OFD Sender: No OFD packet to send [13:03:26]OFD Sender: No OFD packet to send [13:03:31]OFD Sender: No OFD packet to send [13:03:36]OFD Sender: No OFD packet to send [13:03:41]OFD Sender: No OFD packet to send [13:03:46]OFD Sender: No OFD packet to send [13:03:51]OFD Sender: No OFD packet to send [13:03:56]OFD Sender: No OFD packet to send [13:04:01]OFD Sender: No OFD packet to send [13:04:06]OFD Sender: No OFD packet to send [13:04:11]OFD Sender: No OFD packet to send [13:04:16]OFD Sender: No OFD packet to send [13:04:21]OFD Sender: No OFD packet to send [13:04:26]OFD Sender: No OFD packet to send [13:04:31]OFD Sender: No OFD packet to send [13:04:36]OFD Sender: No OFD packet to send [13:04:41]OFD Sender: No OFD packet to send [13:04:46]OFD Sender: No OFD packet to send [13:04:51]OFD Sender: No OFD packet to send [13:04:57]OFD Sender: No OFD packet to send [13:05:02]OFD Sender: No OFD packet to send [13:05:07]OFD Sender: No OFD packet to send [13:05:12]OFD Sender: No OFD packet to send [13:05:17]OFD Sender: No OFD packet to send [13:05:22]OFD Sender: No OFD packet to send [13:05:27]OFD Sender: No OFD packet to send [13:05:32]OFD Sender: No OFD packet to send [13:05:37]OFD Sender: No OFD packet to send [13:05:42]OFD Sender: No OFD packet to send [13:05:47]OFD Sender: No OFD packet to send [13:05:52]OFD Sender: No OFD packet to send [13:05:57]OFD Sender: No OFD packet to send [13:06:02]OFD Sender: No OFD packet to send [13:06:07]OFD Sender: No OFD packet to send [13:06:12]OFD Sender: No OFD packet to send [13:06:17]OFD Sender: No OFD packet to send [13:06:22]OFD Sender: No OFD packet to send [13:06:27]OFD Sender: No OFD packet to send [13:06:32]OFD Sender: No OFD packet to send [13:06:37]OFD Sender: No OFD packet to send [13:06:42]OFD Sender: No OFD packet to send [13:06:47]OFD Sender: No OFD packet to send [13:06:52]OFD Sender: No OFD packet to send [13:06:57]OFD Sender: No OFD packet to send [13:07:02]OFD Sender: No OFD packet to send [13:07:07]OFD Sender: No OFD packet to send [13:07:12]OFD Sender: No OFD packet to send [13:07:17]OFD Sender: No OFD packet to send [13:07:22]OFD Sender: No OFD packet to send [13:07:27]OFD Sender: No OFD packet to send [13:07:32]OFD Sender: No OFD packet to send [13:07:37]OFD Sender: No OFD packet to send [13:07:42]OFD Sender: No OFD packet to send [13:07:47]OFD Sender: No OFD packet to send [13:07:52]OFD Sender: No OFD packet to send [13:07:57]OFD Sender: No OFD packet to send [13:08:02]OFD Sender: No OFD packet to send [13:08:07]OFD Sender: No OFD packet to send [13:08:12]OFD Sender: No OFD packet to send [13:08:17]OFD Sender: No OFD packet to send [13:08:22]OFD Sender: No OFD packet to send [13:08:27]OFD Sender: No OFD packet to send [13:08:32]OFD Sender: No OFD packet to send [13:08:37]OFD Sender: No OFD packet to send [13:08:42]OFD Sender: No OFD packet to send [13:08:47]OFD Sender: No OFD packet to send [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]accept exits with 9 [13:10:22]New connection [13:10:22]New thread 3066871140 created [13:10:22]Thread 3067014500 joined [13:10:22]Waiting for new connection... [13:10:22] Sock 9.Parse request [13:10:22]Sock 9.Check first char [13:10:22]Sock 9.First char is OK [13:10:22]request: POST /json_proto HTTP/1.0 [13:10:22]Method: POST [13:10:22]URL: /json_proto [13:10:22]Method is POST - this is cgi request [13:10:22]url: /json_proto [13:10:22]query_string will be loaded in cgi processing [13:10:22]execute_cgi json_proto POST (null) [13:10:22]execute_cgi path=json_proto method=POST [13:10:22]POST find Content-Length [13:10:22]Host: 172.17.35.3:8080 [13:10:22]Content-Length: 682 [13:10:22]Content-Type: application/json [13:10:22] [13:10:22]POST finish read [13:10:22]Found Content-Length = 682 [13:10:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359478", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 5.580, "sum" : 400.64, "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" ] } } [13:10:22]execute_script... [13:10:22]execute_script path=json_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)359478", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 5.580, "sum" : 400.64, "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" ] } } [13:10:22]POST & json_proto [13:10:22]process_json_proto [13:10:22]json parsed OK: [13:10:22]protocol is kg_v1.0 [13:10:22]action value=close_receipt [13:10:22]process_action close_receipt [13:10:22]cmd_close_receipt [13:10:22]MH_GetDate [13:10:22]Write to MH i2c: F0 00 00 BE 22 CF [13:10:22]Write i2c OK [13:10:22]MH_I2C_Read... [13:10:22]Read from MH i2c: F0 [13:10:22]MH_I2C_Read... [13:10:22]Read from MH i2c: F0 09 00 [13:10:22]MH_I2C_Read... [13:10:22]Read from MH i2c: F0 09 00 BE 22 00 47 9B 12 66 2B 11 66 64 38 [13:10:22]GetLastDocTimeStamp 1712494697 [13:10:22]current date 1712495431 [13:10:22]FM_GetShiftState [13:10:22]SAM_PROTO_GetShiftState [13:10:22]wFMCommunicate request_size=4 [13:10:22]MH_SAM_APDU [13:10:22]CAPDU: 80 13 01 00 [13:10:22]Write to MH i2c: E2 08 00 BF 22 80 13 01 00 00 00 00 00 5E [13:10:22]Write i2c OK [13:10:22]MH_I2C_Read... [13:10:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:10:22]Read from MH i2c: E2 [13:10:22]MH_I2C_Read... [13:10:22]Read from MH i2c: E2 0E 00 [13:10:22]MH_I2C_Read... [13:10:22]Read from MH i2c: E2 0E 00 BF 22 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 F2 [13:10:22]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [13:10:22]wFMCommunicate OK [13:10:22]SAM_PROTO_GetShiftState done [13:10:22]FM_GetShiftState done [13:10:22]opened in 1712450087 [13:10:22]opened+sec_in_day 1712536487 [13:10:22]quantity*price = 40064 [13:10:22]sum+1 = 40065 [13:10:22]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.64 ИТОГО: 400.00 Внесено: 400.00 СДАЧА: 0.00 НСП 1% : 3.54 НДС 12% : 42.55 Наличными: 400.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 34 07.04.2024 13:10 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26735 ФПД: 38488855881718 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T131031&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26735&fm=38488855881718&tin=02508201610067®Number=0000000000091578&sum=40000 [13:10:23]StoreToDocumentArchive [13:10:23]shift 313 fd 26735 [13:10:23]save to /storage/0313/doc_00026735 [13:10:23]save last doc name /storage/0313/doc_00026735 to /storage/kkm_last_doc_name [13:10:23]save OK [13:10:23]Clear old archive folders... [13:10:23]ProcessDocumentItem done err = 0, tmpTLVsize=252 [13:10:23]tlvbuf is 00EF6C80 [13:10:23]SAM_PROTO_ClearQueue [13:10:23]wFMCommunicate request_size=4 [13:10:23]MH_SAM_APDU [13:10:23]CAPDU: 80 09 00 00 [13:10:23]Write to MH i2c: E2 08 00 CC 22 80 09 00 00 00 00 00 00 60 [13:10:23]Write i2c OK [13:10:23]MH_I2C_Read... [13:10:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:10:23]Read from MH i2c: E2 [13:10:23]MH_I2C_Read... [13:10:23]Read from MH i2c: E2 03 00 [13:10:23]MH_I2C_Read... [13:10:23]Read from MH i2c: E2 03 00 CC 22 00 90 00 62 [13:10:23]RAPDU: 90 00 [13:10:23]wFMCommunicate OK [13:10:23]SAM_PROTO_ClearQueue done [13:10:23]KKMCreateOFDPacket [13:10:23]OFDProtocolAddRootSTLVToBuf [13:10:23]FM_MakeSignedData [13:10:23]FM_MakeSignedData [13:10:23]SAM_PROTO_SignData [13:10:23]wFMCommunicate request_size=4 [13:10:23]MH_SAM_APDU [13:10:23]CAPDU: 80 0D 01 02 [13:10:23]Write to MH i2c: E2 08 00 CD 22 80 0D 01 02 00 00 00 00 68 [13:10:23]Write i2c OK [13:10:23]MH_I2C_Read... [13:10:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:10:23]Read from MH i2c: E2 [13:10:23]MH_I2C_Read... [13:10:23]Read from MH i2c: E2 03 00 [13:10:23]MH_I2C_Read... [13:10:23]Read from MH i2c: E2 03 00 CD 22 00 90 00 63 [13:10:23]RAPDU: 90 00 [13:10:23]wFMCommunicate OK [13:10:23]wFMCommunicate request_size=255 [13:10:23]MH_SAM_APDU [13:10:23]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 CC 15 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 80 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 9F 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 22 00 00 00 F4 03 04 00 47 9B 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 6F 68 00 00 35 04 06 00 [13:10:23]Write to MH i2c: E2 02 01 CE 22 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 CC 15 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 80 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 9F 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 22 00 00 00 F4 03 04 00 47 9B 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 6F 68 00 00 35 04 06 00 00 00 33 [13:10:23]Write i2c OK [13:10:23]MH_I2C_Read... [13:10:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:10:23]Read from MH i2c: E2 [13:10:23]MH_I2C_Read... [13:10:23]Read from MH i2c: E2 03 00 [13:10:23]MH_I2C_Read... [13:10:23]Read from MH i2c: E2 03 00 CE 22 00 90 00 64 [13:10:23]RAPDU: 90 00 [13:10:23]wFMCommunicate OK [13:10:23]wFMCommunicate request_size=11 [13:10:23]MH_SAM_APDU [13:10:23]CAPDU: 80 0D 02 02 06 23 01 62 95 27 F6 [13:10:23]Write to MH i2c: E2 0E 00 CF 22 80 0D 02 02 06 00 23 01 62 95 27 F6 00 00 AF [13:10:23]Write i2c OK [13:10:23]MH_I2C_Read... [13:10:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:10:23]Read from MH i2c: E2 [13:10:23]MH_I2C_Read... [13:10:23]Read from MH i2c: E2 03 00 [13:10:23]MH_I2C_Read... [13:10:23]Read from MH i2c: E2 03 00 CF 22 00 90 00 65 [13:10:23]RAPDU: 90 00 [13:10:23]wFMCommunicate OK [13:10:23]wFMCommunicate request_size=4 [13:10:23]MH_SAM_APDU [13:10:23]CAPDU: 80 0D 03 02 [13:10:23]Write to MH i2c: E2 08 00 D0 22 80 0D 03 02 00 00 00 00 6D [13:10:23]Write i2c OK [13:10:23]MH_I2C_Read... [13:10:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:10:23]Read from MH i2c: E2 [13:10:23]MH_I2C_Read... [13:10:23]Read from MH i2c: E2 0B 00 [13:10:23]MH_I2C_Read... [13:10:23]Read from MH i2c: E2 0B 00 D0 22 00 09 26 C4 F8 F8 80 F3 1D 90 00 E1 [13:10:23]RAPDU: 09 26 C4 F8 F8 80 F3 1D 90 00 [13:10:23]wFMCommunicate OK [13:10:23]SAM_PROTO_SignData done [13:10:23]FM_MakeSignedData done [13:10:23]CreateOFDProtocolMessage [13:10:23]wFMCommunicate request_size=4 [13:10:23]MH_SAM_APDU [13:10:23]CAPDU: 80 11 00 00 [13:10:23]Write to MH i2c: E2 08 00 D1 22 80 11 00 00 00 00 00 00 6D [13:10:23]Write i2c OK [13:10:23]MH_I2C_Read... [13:10:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:10:23]Read from MH i2c: E2 [13:10:23]MH_I2C_Read... [13:10:23]Read from MH i2c: E2 17 00 [13:10:23]MH_I2C_Read... [13:10:23]Read from MH i2c: E2 17 00 D1 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 C5 [13:10:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [13:10:23]wFMCommunicate OK [13:10:23]CreateOFDProtocolMessage done [13:10:23]OFDSenderStorePacket 26735 [13:10:23]StoreOFDPacket docnum=26735 [13:10:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 1F A5 08 01 8C B7 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 CC 15 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 80 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 9F 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 22 00 00 00 F4 03 04 00 47 9B 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 6F 68 00 00 35 04 06 00 23 01 62 95 27 F6 09 26 C4 F8 F8 80 F3 1D [13:10:23]CheckFolder [13:10:23]dirname=/storage/ofd_packets [13:10:23]CheckFolder done [13:10:23]ProducePacketName [13:10:23]name=ofd_packets/00026735 [13:10:23]NVStorageSaveData ofd_packets/00026735 [13:10:23]File name is /storage/ofd_packets/00026735 [13:10:23]Write 302 bytes [13:10:23]NVStorageSaveData done [13:10:23]OFDSenderStorePacket done [13:10:23]KKMCreateOFDPacket done [13:10:23]NVStorageSaveData kkm_last_timestamp [13:10:23]File name is /storage/kkm_last_timestamp [13:10:23]Write 4 bytes [13:10:23]NVStorageSaveData done [13:10:23]ExternCall_PrintAddStr [13:10:23]wPrintStart [13:10:23]Write to MH i2c: 01 00 00 D2 22 F4 [13:10:23]Write i2c OK [13:10:23]MH_I2C_Read... [13:10:23]Read from MH i2c: 01 [13:10:23]MH_I2C_Read... [13:10:23]Read from MH i2c: 01 07 00 [13:10:23]MH_I2C_Read... [13:10:23]Read from MH i2c: 01 07 00 D2 22 00 00 00 00 00 FF 0F 09 [13:10:23]RasterBufferAndPrint [13:10:23]line Счет N : (1)359478 [13:10:23]line ИНН: 02508201610067 [13:10:23]line Контрольно-Кассовый Чек [13:10:23]line ПРОДАЖА [13:10:23]line ТРК (МРК, ГНК) : 11 [13:10:23]line Товар: 2710194210 [13:10:23]line ДТ(л)-К-5 [13:10:23]line 5.580 * 71.80 [13:10:23]line = 400.64 [13:10:23]line НДС 12% НСП 1% [13:10:23]line > о реализуемом товаре [13:10:23]line ОКРУГЛЕНИЕ: -0.64 [13:10:23]line ИТОГО: 400.00 [13:10:23]line Внесено: 400.00 [13:10:23]line СДАЧА: 0.00 [13:10:23]line НСП 1% : 3.54 [13:10:23]line НДС 12% : 42.55 [13:10:23]line Наличными: 400.00 [13:10:23]line Безнал.: 0.00 [13:10:23]line Место: АЗС № 122 "Партнер Нефть" [13:10:23]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [13:10:23]line СНО: Общий режим [13:10:23]line Чек 34 07.04.2024 13:10 [13:10:23]line Смена: 313 ФФД: 1.0 [13:10:23]line ЗНМ: 0300000147 [13:10:23]line РНМ: 0000000000091578 [13:10:23]line Версия ККМ: 001 [13:10:23]line ФМ: 0000000000874657 [13:10:23]line ФД: 26735 [13:10:23]line ФПД: 38488855881718 [13:10:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T131031&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26735&fm=38488855881718&tin=02508201610067®Number=0000000000091578&sum=40000 [13:10:24]OFD Sender: Processing packet 26735 [packets to send 44, broken 43] [13:10:24]ProducePacketName [13:10:24]name=ofd_packets/00026735 [13:10:24]OFD Sender: To server: pG, [13:10:24]CommunicateWithHost lk.salyk.kg:30040 [13:10:24]ConnectInit lk.salyk.kg [13:10:24]written 0, free lines is 4095 [13:10:24]Connected sock=10 [13:10: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 36 35 37 10 01 00 00 1F A5 08 01 8C B7 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 CC 15 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 80 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 9F 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 22 00 00 00 F4 03 04 00 47 9B 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 6F 68 00 00 35 04 06 00 23 01 62 95 27 F6 09 26 C4 F8 F8 80 F3 1D [13:10:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 21 59 47 00 4C 9E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 37 10 04 04 00 6F 68 00 00 F4 03 04 00 B4 42 12 66 B6 04 01 00 00 69 14 9C F8 46 7A 93 96 [13:10:24]CommunicateWithHost err = 0 [13:10:24]CheckOFDResponse [13:10:24]1017 (14) - 77093643461234 [13:10:24]1041 (16) - 0000000000874657 [13:10:24]1040 (4) - 26735 [13:10:24]1012 (4) - 07.04.2024 06:52 [13:10:24]1206 (1) - 0 [13:10:24]OFD Sender: Remove packet 26735 [13:10:24]ProducePacketName [13:10:24]name=ofd_packets/00026735 [13:10:24]NVStorageDeleteData [13:10:24]Write to MH i2c: 01 00 00 FD 22 1F [13:10:24]Write i2c OK [13:10:24]MH_I2C_Read... [13:10:24]Read from MH i2c: 01 [13:10:24]MH_I2C_Read... [13:10:24]Read from MH i2c: 01 07 00 [13:10:24]MH_I2C_Read... [13:10:24]Read from MH i2c: 01 07 00 FD 22 00 00 00 00 00 75 0C A7 [13:10:24]RasterBufferAndPrint [13:10:24]line [13:10:24]line [13:10:24]line [13:10:24]line [13:10:24]line [13:10:24]written 0, free lines is 3192 [13:10:24]MH_Cut [13:10:24]Write to MH i2c: D1 01 00 04 23 01 F9 [13:10:24]Write i2c OK [13:10:24]MH_I2C_Read... [13:10:24]Read from MH i2c: D1 [13:10:24]MH_I2C_Read... [13:10:24]Read from MH i2c: D1 01 00 [13:10:24]MH_I2C_Read... [13:10:24]Read from MH i2c: D1 01 00 04 23 00 F8 [13:10:24]Write to MH i2c: 01 00 00 05 23 28 [13:10:24]Write i2c OK [13:10:24]MH_I2C_Read... [13:10:25]OFD Sender: No OFD packet to send [13:10:25]*** Cut start [13:10:25]*** Partial cut [13:10:25]*** CUTSNS_PIN = 1 [13:10:25]*** CUTSNS_PIN = 0 [13:10:26]*** Brake cut motor [13:10:26]Read from MH i2c: 01 [13:10:26]MH_I2C_Read... [13:10:26]*** Stop cut motor [13:10:26]*** Cut end [13:10:26]Read from MH i2c: 01 07 00 [13:10:26]MH_I2C_Read... [13:10:26]Read from MH i2c: 01 07 00 05 23 00 00 00 00 00 FF 0F 3D [13:10:26]process_action close_receipt done [13:10:26]requested_data is exist [13:10:26]produce_requested_data [13:10:26]requested_item fm.sn is exist - process it [13:10:26]wFMCommunicate request_size=4 [13:10:26]MH_SAM_APDU [13:10:26]CAPDU: 80 11 00 00 [13:10:26]Write to MH i2c: E2 08 00 06 23 80 11 00 00 00 00 00 00 A3 [13:10:26]Write i2c OK [13:10:26]MH_I2C_Read... [13:10:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:10:26]Read from MH i2c: E2 [13:10:26]MH_I2C_Read... [13:10:26]Read from MH i2c: E2 17 00 [13:10:26]MH_I2C_Read... [13:10:26]Read from MH i2c: E2 17 00 06 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 FB [13:10:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [13:10:26]wFMCommunicate OK [13:10:26]requested_item fd.num is exist - process it [13:10:26]SAM_PROTO_GetFieldsCounters [13:10:26]wFMCommunicate request_size=4 [13:10:26]MH_SAM_APDU [13:10:26]CAPDU: 80 13 00 00 [13:10:26]Write to MH i2c: E2 08 00 07 23 80 13 00 00 00 00 00 00 A6 [13:10:26]Write i2c OK [13:10:26]MH_I2C_Read... [13:10:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:10:26]Read from MH i2c: E2 [13:10:26]MH_I2C_Read... [13:10:26]Read from MH i2c: E2 62 00 [13:10:26]MH_I2C_Read... [13:10:26]Read from MH i2c: E2 62 00 07 23 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 6F 68 00 00 0E 04 04 00 39 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 48 [13:10: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 6F 68 00 00 0E 04 04 00 39 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 [13:10:26]wFMCommunicate OK [13:10:26]SAM_PROTO_GetFieldsCounters done [13:10:26]requested_item shift.num is exist - process it [13:10:26]requested_item shift.opened is exist - process it [13:10:26]req_shift_opened [13:10:26]FM_GetShiftState [13:10:26]SAM_PROTO_GetShiftState [13:10:26]wFMCommunicate request_size=4 [13:10:26]MH_SAM_APDU [13:10:26]CAPDU: 80 13 01 00 [13:10:26]Write to MH i2c: E2 08 00 08 23 80 13 01 00 00 00 00 00 A8 [13:10:26]Write i2c OK [13:10:26]MH_I2C_Read... [13:10:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:10:26]Read from MH i2c: E2 [13:10:26]MH_I2C_Read... [13:10:26]Read from MH i2c: E2 0E 00 [13:10:26]MH_I2C_Read... [13:10:26]Read from MH i2c: E2 0E 00 08 23 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 3C [13:10:26]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [13:10:26]wFMCommunicate OK [13:10:26]SAM_PROTO_GetShiftState done [13:10:26]FM_GetShiftState done [13:10:26]req_shift_opened done [13:10:26]requested_item shift.open_date is exist - process it [13:10:26]req_shift_open_date [13:10:26]req_shift_open_date done [13:10:26]produce_requested_data done [13:10:26]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26735,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [13:10:26]process_action_free close_receipt [13:10:26]json_value_free [13:10:26]json_value_free done [13:10:26]process_json_proto returns [13:10:26]Send response to host [13:10:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26735,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [13:10:26]free response buf [13:10:26]execute_script done [13:10:26]execute_script returns [13:10:26]free content buf [13:10:26]Sock 9.Close socket [13:10:26]Sock 9.Thread stoped [13:10:30]OFD Sender: No OFD packet to send [13:10:35]OFD Sender: No OFD packet to send [13:10:40]OFD Sender: No OFD packet to send [13:10:45]OFD Sender: No OFD packet to send [13:10:50]OFD Sender: No OFD packet to send [13:10:55]OFD Sender: No OFD packet to send [13:11:00]OFD Sender: No OFD packet to send [13:11:05]OFD Sender: No OFD packet to send [13:11:10]OFD Sender: No OFD packet to send [13:11:15]OFD Sender: No OFD packet to send [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:45]OFD Sender: No OFD packet to send [13:18:50]OFD Sender: No OFD packet to send [13:18:55]OFD Sender: No OFD packet to send [13:19:00]OFD Sender: No OFD packet to send [13:19:05]OFD Sender: No OFD packet to send [13:19:10]OFD Sender: No OFD packet to send [13:19:15]OFD Sender: No OFD packet to send [13:19:20]OFD Sender: No OFD packet to send [13:19:24]accept exits with 8 [13:19:24]New connection [13:19:24]New thread 3067014500 created [13:19:24]Thread 3066871140 joined [13:19:24]Waiting for new connection... [13:19:24] Sock 8.Parse request [13:19:24]Sock 8.Check first char [13:19:24]Sock 8.First char is OK [13:19:24]request: POST /json_proto HTTP/1.0 [13:19:24]Method: POST [13:19:24]URL: /json_proto [13:19:24]Method is POST - this is cgi request [13:19:24]url: /json_proto [13:19:24]query_string will be loaded in cgi processing [13:19:24]execute_cgi json_proto POST (null) [13:19:24]execute_cgi path=json_proto method=POST [13:19:24]POST find Content-Length [13:19:24]Host: 172.17.35.3:8080 [13:19:24]Content-Length: 683 [13:19:24]Content-Type: application/json [13:19:24] [13:19:24]POST finish read [13:19:24]Found Content-Length = 683 [13:19:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359479", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 11.150, "sum" : 800.57, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 800.00, "total" : 800.00, "payments": [ { "type": 0, "sum" : 800.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:19:24]execute_script... [13:19: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 : (1)359479", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 11.150, "sum" : 800.57, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 800.00, "total" : 800.00, "payments": [ { "type": 0, "sum" : 800.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:19:24]POST & json_proto [13:19:24]process_json_proto [13:19:24]json parsed OK: [13:19:24]protocol is kg_v1.0 [13:19:24]action value=close_receipt [13:19:24]process_action close_receipt [13:19:24]cmd_close_receipt [13:19:24]MH_GetDate [13:19:24]Write to MH i2c: F0 00 00 09 23 1B [13:19:24]Write i2c OK [13:19:24]MH_I2C_Read... [13:19:24]Read from MH i2c: F0 [13:19:24]MH_I2C_Read... [13:19:24]Read from MH i2c: F0 09 00 [13:19:24]MH_I2C_Read... [13:19:24]Read from MH i2c: F0 09 00 09 23 00 66 9D 12 66 2B 11 66 64 A5 [13:19:24]GetLastDocTimeStamp 1712495431 [13:19:24]current date 1712495974 [13:19:24]FM_GetShiftState [13:19:24]SAM_PROTO_GetShiftState [13:19:24]wFMCommunicate request_size=4 [13:19:24]MH_SAM_APDU [13:19:24]CAPDU: 80 13 01 00 [13:19:24]Write to MH i2c: E2 08 00 0A 23 80 13 01 00 00 00 00 00 AA [13:19:24]Write i2c OK [13:19:24]MH_I2C_Read... [13:19:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:19:25]Read from MH i2c: E2 [13:19:25]MH_I2C_Read... [13:19:25]Read from MH i2c: E2 0E 00 [13:19:25]MH_I2C_Read... [13:19:25]Read from MH i2c: E2 0E 00 0A 23 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 3E [13:19:25]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [13:19:25]wFMCommunicate OK [13:19:25]SAM_PROTO_GetShiftState done [13:19:25]FM_GetShiftState done [13:19:25]opened in 1712450087 [13:19:25]opened+sec_in_day 1712536487 [13:19:25]quantity*price = 80057 [13:19:25]sum+1 = 80058 [13:19:25]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.57 ИТОГО: 800.00 Внесено: 800.00 СДАЧА: 0.00 НСП 1% : 7.08 НДС 12% : 85.02 Наличными: 800.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 35 07.04.2024 13:19 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26736 ФПД: 235455563251330 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T131934&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26736&fm=235455563251330&tin=02508201610067®Number=0000000000091578&sum=80000 [13:19:26]StoreToDocumentArchive [13:19:26]shift 313 fd 26736 [13:19:26]save to /storage/0313/doc_00026736 [13:19:26]save last doc name /storage/0313/doc_00026736 to /storage/kkm_last_doc_name [13:19:26]save OK [13:19:26]Clear old archive folders... [13:19:26]ProcessDocumentItem done err = 0, tmpTLVsize=252 [13:19:26]tlvbuf is 00E9AAD0 [13:19:26]SAM_PROTO_ClearQueue [13:19:26]wFMCommunicate request_size=4 [13:19:26]MH_SAM_APDU [13:19:26]CAPDU: 80 09 00 00 [13:19:26]Write to MH i2c: E2 08 00 17 23 80 09 00 00 00 00 00 00 AC [13:19:26]Write i2c OK [13:19:26]MH_I2C_Read... [13:19:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:19:26]Read from MH i2c: E2 [13:19:26]MH_I2C_Read... [13:19:26]Read from MH i2c: E2 03 00 [13:19:26]MH_I2C_Read... [13:19:26]Read from MH i2c: E2 03 00 17 23 00 90 00 AE [13:19:26]RAPDU: 90 00 [13:19:26]wFMCommunicate OK [13:19:26]SAM_PROTO_ClearQueue done [13:19:26]KKMCreateOFDPacket [13:19:26]OFDProtocolAddRootSTLVToBuf [13:19:26]FM_MakeSignedData [13:19:26]FM_MakeSignedData [13:19:26]SAM_PROTO_SignData [13:19:26]wFMCommunicate request_size=4 [13:19:26]MH_SAM_APDU [13:19:26]CAPDU: 80 0D 01 02 [13:19:26]Write to MH i2c: E2 08 00 18 23 80 0D 01 02 00 00 00 00 B4 [13:19:26]Write i2c OK [13:19:26]MH_I2C_Read... [13:19:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:19:26]Read from MH i2c: E2 [13:19:26]MH_I2C_Read... [13:19:26]Read from MH i2c: E2 03 00 [13:19:26]MH_I2C_Read... [13:19:26]Read from MH i2c: E2 03 00 18 23 00 90 00 AF [13:19:26]RAPDU: 90 00 [13:19:26]wFMCommunicate OK [13:19:26]wFMCommunicate request_size=255 [13:19:26]MH_SAM_APDU [13:19:26]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 8E 2B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B9 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 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 36 21 00 00 00 00 07 04 06 00 80 38 01 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 66 9D 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 70 68 00 00 35 04 06 00 [13:19:26]Write to MH i2c: E2 02 01 19 23 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 8E 2B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B9 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 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 36 21 00 00 00 00 07 04 06 00 80 38 01 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 66 9D 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 70 68 00 00 35 04 06 00 00 00 15 [13:19:26]Write i2c OK [13:19:26]MH_I2C_Read... [13:19:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:19:26]Read from MH i2c: E2 [13:19:26]MH_I2C_Read... [13:19:26]Read from MH i2c: E2 03 00 [13:19:26]MH_I2C_Read... [13:19:26]Read from MH i2c: E2 03 00 19 23 00 90 00 B0 [13:19:26]RAPDU: 90 00 [13:19:26]wFMCommunicate OK [13:19:26]wFMCommunicate request_size=11 [13:19:26]MH_SAM_APDU [13:19:26]CAPDU: 80 0D 02 02 06 D6 25 45 35 3E 82 [13:19:26]Write to MH i2c: E2 0E 00 1A 23 80 0D 02 02 06 00 D6 25 45 35 3E 82 00 00 F8 [13:19:26]Write i2c OK [13:19:26]MH_I2C_Read... [13:19:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:19:26]Read from MH i2c: E2 [13:19:26]MH_I2C_Read... [13:19:26]Read from MH i2c: E2 03 00 [13:19:26]MH_I2C_Read... [13:19:26]Read from MH i2c: E2 03 00 1A 23 00 90 00 B1 [13:19:26]RAPDU: 90 00 [13:19:26]wFMCommunicate OK [13:19:26]wFMCommunicate request_size=4 [13:19:26]MH_SAM_APDU [13:19:26]CAPDU: 80 0D 03 02 [13:19:26]Write to MH i2c: E2 08 00 1B 23 80 0D 03 02 00 00 00 00 B9 [13:19:26]Write i2c OK [13:19:26]MH_I2C_Read... [13:19:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:19:26]Read from MH i2c: E2 [13:19:26]MH_I2C_Read... [13:19:26]Read from MH i2c: E2 0B 00 [13:19:26]MH_I2C_Read... [13:19:26]Read from MH i2c: E2 0B 00 1B 23 00 DA 86 96 CF A6 F9 39 55 90 00 AC [13:19:26]RAPDU: DA 86 96 CF A6 F9 39 55 90 00 [13:19:26]wFMCommunicate OK [13:19:26]SAM_PROTO_SignData done [13:19:26]FM_MakeSignedData done [13:19:26]CreateOFDProtocolMessage [13:19:26]wFMCommunicate request_size=4 [13:19:26]MH_SAM_APDU [13:19:26]CAPDU: 80 11 00 00 [13:19:26]Write to MH i2c: E2 08 00 1C 23 80 11 00 00 00 00 00 00 B9 [13:19:26]Write i2c OK [13:19:26]MH_I2C_Read... [13:19:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:19:26]Read from MH i2c: E2 [13:19:26]MH_I2C_Read... [13:19:26]Read from MH i2c: E2 17 00 [13:19:26]MH_I2C_Read... [13:19:26]Read from MH i2c: E2 17 00 1C 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 11 [13:19:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [13:19:26]wFMCommunicate OK [13:19:26]CreateOFDProtocolMessage done [13:19:26]OFDSenderStorePacket 26736 [13:19:26]StoreOFDPacket docnum=26736 [13:19:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 AF FB 08 01 28 68 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 8E 2B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B9 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 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 36 21 00 00 00 00 07 04 06 00 80 38 01 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 66 9D 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 70 68 00 00 35 04 06 00 D6 25 45 35 3E 82 DA 86 96 CF A6 F9 39 55 [13:19:26]CheckFolder [13:19:26]dirname=/storage/ofd_packets [13:19:26]CheckFolder done [13:19:26]ProducePacketName [13:19:26]name=ofd_packets/00026736 [13:19:26]NVStorageSaveData ofd_packets/00026736 [13:19:26]File name is /storage/ofd_packets/00026736 [13:19:26]Write 302 bytes [13:19:26]NVStorageSaveData done [13:19:26]OFDSenderStorePacket done [13:19:26]KKMCreateOFDPacket done [13:19:26]NVStorageSaveData kkm_last_timestamp [13:19:26]File name is /storage/kkm_last_timestamp [13:19:26]Write 4 bytes [13:19:26]NVStorageSaveData done [13:19:26]ExternCall_PrintAddStr [13:19:26]wPrintStart [13:19:26]Write to MH i2c: 01 00 00 1D 23 40 [13:19:26]Write i2c OK [13:19:26]MH_I2C_Read... [13:19:26]Read from MH i2c: 01 [13:19:26]MH_I2C_Read... [13:19:26]Read from MH i2c: 01 07 00 [13:19:26]MH_I2C_Read... [13:19:26]Read from MH i2c: 01 07 00 1D 23 00 00 00 00 00 FF 0F 55 [13:19:26]RasterBufferAndPrint [13:19:26]line Счет N : (1)359479 [13:19:26]line ИНН: 02508201610067 [13:19:26]line Контрольно-Кассовый Чек [13:19:26]line ПРОДАЖА [13:19:26]line ТРК (МРК, ГНК) : 11 [13:19:26]line Товар: 2710194210 [13:19:26]line ДТ(л)-К-5 [13:19:26]line 11.150 * 71.80 [13:19:26]line = 800.57 [13:19:26]line НДС 12% НСП 1% [13:19:26]line > о реализуемом товаре [13:19:26]line ОКРУГЛЕНИЕ: -0.57 [13:19:26]line ИТОГО: 800.00 [13:19:26]line Внесено: 800.00 [13:19:26]line СДАЧА: 0.00 [13:19:26]line НСП 1% : 7.08 [13:19:26]line НДС 12% : 85.02 [13:19:26]line Наличными: 800.00 [13:19:26]line Безнал.: 0.00 [13:19:26]line Место: АЗС № 122 "Партнер Нефть" [13:19:26]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [13:19:26]line СНО: Общий режим [13:19:26]line Чек 35 07.04.2024 13:19 [13:19:26]line Смена: 313 ФФД: 1.0 [13:19:26]line ЗНМ: 0300000147 [13:19:26]line РНМ: 0000000000091578 [13:19:26]line Версия ККМ: 001 [13:19:26]line ФМ: 0000000000874657 [13:19:26]line ФД: 26736 [13:19:26]line ФПД: 235455563251330 [13:19:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T131934&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26736&fm=235455563251330&tin=02508201610067®Number=0000000000091578&sum=80000 [13:19:27]OFD Sender: Processing packet 26736 [packets to send 44, broken 43] [13:19:27]ProducePacketName [13:19:27]name=ofd_packets/00026736 [13:19:27]OFD Sender: To server: pG, [13:19:27]CommunicateWithHost lk.salyk.kg:30040 [13:19:27]ConnectInit lk.salyk.kg [13:19:27]written 0, free lines is 4095 [13:19:27]Connected sock=10 [13:19: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 36 35 37 10 01 00 00 AF FB 08 01 28 68 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 8E 2B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B9 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 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 36 21 00 00 00 00 07 04 06 00 80 38 01 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 66 9D 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 70 68 00 00 35 04 06 00 D6 25 45 35 3E 82 DA 86 96 CF A6 F9 39 55 [13:19:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 76 1A 47 00 85 96 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 37 10 04 04 00 70 68 00 00 F4 03 04 00 D3 44 12 66 B6 04 01 00 00 F6 01 0E 0B 87 A2 A1 DA [13:19:27]CommunicateWithHost err = 0 [13:19:27]CheckOFDResponse [13:19:27]1017 (14) - 77093643461234 [13:19:27]1041 (16) - 0000000000874657 [13:19:27]1040 (4) - 26736 [13:19:27]1012 (4) - 07.04.2024 07:01 [13:19:27]1206 (1) - 0 [13:19:27]OFD Sender: Remove packet 26736 [13:19:27]ProducePacketName [13:19:27]name=ofd_packets/00026736 [13:19:27]NVStorageDeleteData [13:19:27]Write to MH i2c: 01 00 00 48 23 6B [13:19:27]Write i2c OK [13:19:27]MH_I2C_Read... [13:19:27]Read from MH i2c: 01 [13:19:27]MH_I2C_Read... [13:19:27]Read from MH i2c: 01 07 00 [13:19:27]MH_I2C_Read... [13:19:27]Read from MH i2c: 01 07 00 48 23 00 00 00 00 00 72 0C F0 [13:19:27]RasterBufferAndPrint [13:19:27]line [13:19:27]line [13:19:27]line [13:19:27]line [13:19:27]line [13:19:27]written 0, free lines is 3189 [13:19:27]MH_Cut [13:19:27]Write to MH i2c: D1 01 00 4F 23 01 44 [13:19:27]Write i2c OK [13:19:27]MH_I2C_Read... [13:19:27]Read from MH i2c: D1 [13:19:27]MH_I2C_Read... [13:19:27]Read from MH i2c: D1 01 00 [13:19:27]MH_I2C_Read... [13:19:27]Read from MH i2c: D1 01 00 4F 23 00 43 [13:19:27]Write to MH i2c: 01 00 00 50 23 73 [13:19:27]Write i2c OK [13:19:27]MH_I2C_Read... [13:19:27]OFD Sender: No OFD packet to send [13:19:28]*** Cut start [13:19:28]*** Partial cut [13:19:28]*** CUTSNS_PIN = 1 [13:19:28]*** CUTSNS_PIN = 0 [13:19:28]*** Brake cut motor [13:19:29]Read from MH i2c: 01 [13:19:29]MH_I2C_Read... [13:19:29]*** Stop cut motor [13:19:29]*** Cut end [13:19:29]Read from MH i2c: 01 07 00 [13:19:29]MH_I2C_Read... [13:19:29]Read from MH i2c: 01 07 00 50 23 00 00 00 00 00 FF 0F 88 [13:19:29]process_action close_receipt done [13:19:29]requested_data is exist [13:19:29]produce_requested_data [13:19:29]requested_item fm.sn is exist - process it [13:19:29]wFMCommunicate request_size=4 [13:19:29]MH_SAM_APDU [13:19:29]CAPDU: 80 11 00 00 [13:19:29]Write to MH i2c: E2 08 00 51 23 80 11 00 00 00 00 00 00 EE [13:19:29]Write i2c OK [13:19:29]MH_I2C_Read... [13:19:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:19:29]Read from MH i2c: E2 [13:19:29]MH_I2C_Read... [13:19:29]Read from MH i2c: E2 17 00 [13:19:29]MH_I2C_Read... [13:19:29]Read from MH i2c: E2 17 00 51 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 46 [13:19:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [13:19:29]wFMCommunicate OK [13:19:29]requested_item fd.num is exist - process it [13:19:29]SAM_PROTO_GetFieldsCounters [13:19:29]wFMCommunicate request_size=4 [13:19:29]MH_SAM_APDU [13:19:29]CAPDU: 80 13 00 00 [13:19:29]Write to MH i2c: E2 08 00 52 23 80 13 00 00 00 00 00 00 F1 [13:19:29]Write i2c OK [13:19:29]MH_I2C_Read... [13:19:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:19:29]Read from MH i2c: E2 [13:19:29]MH_I2C_Read... [13:19:29]Read from MH i2c: E2 62 00 [13:19:29]MH_I2C_Read... [13:19:29]Read from MH i2c: E2 62 00 52 23 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 70 68 00 00 0E 04 04 00 39 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 97 [13:19: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 70 68 00 00 0E 04 04 00 39 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 [13:19:29]wFMCommunicate OK [13:19:29]SAM_PROTO_GetFieldsCounters done [13:19:29]requested_item shift.num is exist - process it [13:19:29]requested_item shift.opened is exist - process it [13:19:29]req_shift_opened [13:19:29]FM_GetShiftState [13:19:29]SAM_PROTO_GetShiftState [13:19:29]wFMCommunicate request_size=4 [13:19:29]MH_SAM_APDU [13:19:29]CAPDU: 80 13 01 00 [13:19:29]Write to MH i2c: E2 08 00 53 23 80 13 01 00 00 00 00 00 F3 [13:19:29]Write i2c OK [13:19:29]MH_I2C_Read... [13:19:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:19:29]Read from MH i2c: E2 [13:19:29]MH_I2C_Read... [13:19:29]Read from MH i2c: E2 0E 00 [13:19:29]MH_I2C_Read... [13:19:29]Read from MH i2c: E2 0E 00 53 23 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 87 [13:19:29]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [13:19:29]wFMCommunicate OK [13:19:29]SAM_PROTO_GetShiftState done [13:19:29]FM_GetShiftState done [13:19:29]req_shift_opened done [13:19:29]requested_item shift.open_date is exist - process it [13:19:29]req_shift_open_date [13:19:29]req_shift_open_date done [13:19:29]produce_requested_data done [13:19:29]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26736,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [13:19:29]process_action_free close_receipt [13:19:29]json_value_free [13:19:29]json_value_free done [13:19:29]process_json_proto returns [13:19:29]Send response to host [13:19:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26736,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [13:19:29]free response buf [13:19:29]execute_script done [13:19:29]execute_script returns [13:19:29]free content buf [13:19:29]Sock 8.Close socket [13:19:29]Sock 8.Thread stoped [13:19:32]OFD Sender: No OFD packet to send [13:19:37]OFD Sender: No OFD packet to send [13:19:42]OFD Sender: No OFD packet to send [13:19:47]OFD Sender: No OFD packet to send [13:19:52]OFD Sender: No OFD packet to send [13:19:57]OFD Sender: No OFD packet to send [13:20:02]OFD Sender: No OFD packet to send [13:20:07]OFD Sender: No OFD packet to send [13:20:12]OFD Sender: No OFD packet to send [13:20:17]OFD Sender: No OFD packet to send [13:20:22]OFD Sender: No OFD packet to send [13:20:27]OFD Sender: No OFD packet to send [13:20:32]OFD Sender: No OFD packet to send [13:20:37]OFD Sender: No OFD packet to send [13:20:42]OFD Sender: No OFD packet to send [13:20:47]OFD Sender: No OFD packet to send [13:20:52]OFD Sender: No OFD packet to send [13:20:57]OFD Sender: No OFD packet to send [13:21:02]OFD Sender: No OFD packet to send [13:21:07]OFD Sender: No OFD packet to send [13:21:12]OFD Sender: No OFD packet to send [13:21:17]OFD Sender: No OFD packet to send [13:21:22]OFD Sender: No OFD packet to send [13:21:27]OFD Sender: No OFD packet to send [13:21:32]OFD Sender: No OFD packet to send [13:21:37]OFD Sender: No OFD packet to send [13:21:42]OFD Sender: No OFD packet to send [13:21:47]OFD Sender: No OFD packet to send [13:21:52]OFD Sender: No OFD packet to send [13:21:57]OFD Sender: No OFD packet to send [13:22:02]OFD Sender: No OFD packet to send [13:22:07]OFD Sender: No OFD packet to send [13:22:12]OFD Sender: No OFD packet to send [13:22:17]OFD Sender: No OFD packet to send [13:22:22]OFD Sender: No OFD packet to send [13:22:27]OFD Sender: No OFD packet to send [13:22:32]OFD Sender: No OFD packet to send [13:22:37]OFD Sender: No OFD packet to send [13:22:43]OFD Sender: No OFD packet to send [13:22:48]OFD Sender: No OFD packet to send [13:22:53]OFD Sender: No OFD packet to send [13:22:58]OFD Sender: No OFD packet to send [13:23:03]OFD Sender: No OFD packet to send [13:23:08]OFD Sender: No OFD packet to send [13:23:13]OFD Sender: No OFD packet to send [13:23:18]OFD Sender: No OFD packet to send [13:23:23]OFD Sender: No OFD packet to send [13:23:28]OFD Sender: No OFD packet to send [13:23:33]OFD Sender: No OFD packet to send [13:23:38]OFD Sender: No OFD packet to send [13:23:43]OFD Sender: No OFD packet to send [13:23:48]OFD Sender: No OFD packet to send [13:23:53]OFD Sender: No OFD packet to send [13:23:58]OFD Sender: No OFD packet to send [13:24:03]OFD Sender: No OFD packet to send [13:24:08]OFD Sender: No OFD packet to send [13:24:13]OFD Sender: No OFD packet to send [13:24:18]OFD Sender: No OFD packet to send [13:24:20]accept exits with 9 [13:24:20]New connection [13:24:20]New thread 3066871140 created [13:24:20]Thread 3067014500 joined [13:24:20]Waiting for new connection... [13:24:20] Sock 9.Parse request [13:24:20]Sock 9.Check first char [13:24:20]Sock 9.First char is OK [13:24:20]request: POST /json_proto HTTP/1.0 [13:24:20]Method: POST [13:24:20]URL: /json_proto [13:24:20]Method is POST - this is cgi request [13:24:20]url: /json_proto [13:24:20]query_string will be loaded in cgi processing [13:24:20]execute_cgi json_proto POST (null) [13:24:20]execute_cgi path=json_proto method=POST [13:24:20]POST find Content-Length [13:24:20]Host: 172.17.35.3:8080 [13:24:20]Content-Length: 682 [13:24:20]Content-Type: application/json [13:24:20] [13:24:20]POST finish read [13:24:20]Found Content-Length = 682 [13:24:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359480", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 25.240, "sum" : 1600.22, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1600.00, "total" : 1600.00, "payments": [ { "type": 0, "sum" : 1600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:24:20]execute_script... [13:24: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)359480", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 25.240, "sum" : 1600.22, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1600.00, "total" : 1600.00, "payments": [ { "type": 0, "sum" : 1600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:24:20]POST & json_proto [13:24:20]process_json_proto [13:24:20]json parsed OK: [13:24:20]protocol is kg_v1.0 [13:24:20]action value=close_receipt [13:24:20]process_action close_receipt [13:24:20]cmd_close_receipt [13:24:20]MH_GetDate [13:24:20]Write to MH i2c: F0 00 00 54 23 66 [13:24:20]Write i2c OK [13:24:20]MH_I2C_Read... [13:24:20]Read from MH i2c: F0 [13:24:20]MH_I2C_Read... [13:24:20]Read from MH i2c: F0 09 00 [13:24:20]MH_I2C_Read... [13:24:20]Read from MH i2c: F0 09 00 54 23 00 8D 9E 12 66 2B 11 66 64 18 [13:24:20]GetLastDocTimeStamp 1712495974 [13:24:20]current date 1712496269 [13:24:20]FM_GetShiftState [13:24:20]SAM_PROTO_GetShiftState [13:24:20]wFMCommunicate request_size=4 [13:24:20]MH_SAM_APDU [13:24:20]CAPDU: 80 13 01 00 [13:24:20]Write to MH i2c: E2 08 00 55 23 80 13 01 00 00 00 00 00 F5 [13:24:20]Write i2c OK [13:24:20]MH_I2C_Read... [13:24:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:24:20]Read from MH i2c: E2 [13:24:20]MH_I2C_Read... [13:24:20]Read from MH i2c: E2 0E 00 [13:24:20]MH_I2C_Read... [13:24:20]Read from MH i2c: E2 0E 00 55 23 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 89 [13:24:20]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [13:24:20]wFMCommunicate OK [13:24:20]SAM_PROTO_GetShiftState done [13:24:20]FM_GetShiftState done [13:24:20]opened in 1712450087 [13:24:20]opened+sec_in_day 1712536487 [13:24:20]quantity*price = 160021 [13:24:20]sum+1 = 160023 [13:24:20]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.22 ИТОГО: 1600.00 Внесено: 1600.00 СДАЧА: 0.00 НСП 1% : 14.16 НДС 12% : 169.93 Наличными: 1600.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 36 07.04.2024 13:24 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26737 ФПД: 182445768783445 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T132429&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26737&fm=182445768783445&tin=02508201610067®Number=0000000000091578&sum=160000 [13:24:21]StoreToDocumentArchive [13:24:21]shift 313 fd 26737 [13:24:21]save to /storage/0313/doc_00026737 [13:24:21]save last doc name /storage/0313/doc_00026737 to /storage/kkm_last_doc_name [13:24:21]save OK [13:24:21]Clear old archive folders... [13:24:21]ProcessDocumentItem done err = 0, tmpTLVsize=251 [13:24:21]tlvbuf is 00E2A200 [13:24:21]SAM_PROTO_ClearQueue [13:24:21]wFMCommunicate request_size=4 [13:24:21]MH_SAM_APDU [13:24:21]CAPDU: 80 09 00 00 [13:24:21]Write to MH i2c: E2 08 00 62 23 80 09 00 00 00 00 00 00 F7 [13:24:21]Write i2c OK [13:24:21]MH_I2C_Read... [13:24:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:24:21]Read from MH i2c: E2 [13:24:21]MH_I2C_Read... [13:24:21]Read from MH i2c: E2 03 00 [13:24:21]MH_I2C_Read... [13:24:21]Read from MH i2c: E2 03 00 62 23 00 90 00 F9 [13:24:21]RAPDU: 90 00 [13:24:21]wFMCommunicate OK [13:24:21]SAM_PROTO_ClearQueue done [13:24:21]KKMCreateOFDPacket [13:24:21]OFDProtocolAddRootSTLVToBuf [13:24:21]FM_MakeSignedData [13:24:21]FM_MakeSignedData [13:24:21]SAM_PROTO_SignData [13:24:21]wFMCommunicate request_size=4 [13:24:21]MH_SAM_APDU [13:24:21]CAPDU: 80 0D 01 02 [13:24:21]Write to MH i2c: E2 08 00 63 23 80 0D 01 02 00 00 00 00 FF [13:24:21]Write i2c OK [13:24:21]MH_I2C_Read... [13:24:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:24:21]Read from MH i2c: E2 [13:24:21]MH_I2C_Read... [13:24:21]Read from MH i2c: E2 03 00 [13:24:21]MH_I2C_Read... [13:24:21]Read from MH i2c: E2 03 00 63 23 00 90 00 FA [13:24:21]RAPDU: 90 00 [13:24:21]wFMCommunicate OK [13:24:21]wFMCommunicate request_size=255 [13:24:21]MH_SAM_APDU [13:24:21]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 62 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 16 71 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 71 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 42 00 00 00 00 07 04 06 00 00 71 02 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 8D 9E 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 71 68 00 00 35 04 06 00 A5 [13:24:21]Write to MH i2c: E2 02 01 64 23 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 62 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 16 71 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 71 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 42 00 00 00 00 07 04 06 00 00 71 02 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 8D 9E 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 71 68 00 00 35 04 06 00 A5 00 00 07 [13:24:21]Write i2c OK [13:24:21]MH_I2C_Read... [13:24:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:24:21]Read from MH i2c: E2 [13:24:21]MH_I2C_Read... [13:24:21]Read from MH i2c: E2 03 00 [13:24:21]MH_I2C_Read... [13:24:21]Read from MH i2c: E2 03 00 64 23 00 90 00 FB [13:24:21]RAPDU: 90 00 [13:24:21]wFMCommunicate OK [13:24:21]wFMCommunicate request_size=10 [13:24:21]MH_SAM_APDU [13:24:21]CAPDU: 80 0D 02 02 05 EE F7 3D 36 55 [13:24:21]Write to MH i2c: E2 0D 00 65 23 80 0D 02 02 05 00 EE F7 3D 36 55 00 00 B9 [13:24:21]Write i2c OK [13:24:21]MH_I2C_Read... [13:24:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:24:22]Read from MH i2c: E2 [13:24:22]MH_I2C_Read... [13:24:22]Read from MH i2c: E2 03 00 [13:24:22]MH_I2C_Read... [13:24:22]Read from MH i2c: E2 03 00 65 23 00 90 00 FC [13:24:22]RAPDU: 90 00 [13:24:22]wFMCommunicate OK [13:24:22]wFMCommunicate request_size=4 [13:24:22]MH_SAM_APDU [13:24:22]CAPDU: 80 0D 03 02 [13:24:22]Write to MH i2c: E2 08 00 66 23 80 0D 03 02 00 00 00 00 04 [13:24:22]Write i2c OK [13:24:22]MH_I2C_Read... [13:24:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:24:22]Read from MH i2c: E2 [13:24:22]MH_I2C_Read... [13:24:22]Read from MH i2c: E2 0B 00 [13:24:22]MH_I2C_Read... [13:24:22]Read from MH i2c: E2 0B 00 66 23 00 A0 35 73 E8 EB 77 16 88 90 00 35 [13:24:22]RAPDU: A0 35 73 E8 EB 77 16 88 90 00 [13:24:22]wFMCommunicate OK [13:24:22]SAM_PROTO_SignData done [13:24:22]FM_MakeSignedData done [13:24:22]CreateOFDProtocolMessage [13:24:22]wFMCommunicate request_size=4 [13:24:22]MH_SAM_APDU [13:24:22]CAPDU: 80 11 00 00 [13:24:22]Write to MH i2c: E2 08 00 67 23 80 11 00 00 00 00 00 00 04 [13:24:22]Write i2c OK [13:24:22]MH_I2C_Read... [13:24:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:24:22]Read from MH i2c: E2 [13:24:22]MH_I2C_Read... [13:24:22]Read from MH i2c: E2 17 00 [13:24:22]MH_I2C_Read... [13:24:22]Read from MH i2c: E2 17 00 67 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 5C [13:24:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [13:24:22]wFMCommunicate OK [13:24:22]CreateOFDProtocolMessage done [13:24:22]OFDSenderStorePacket 26737 [13:24:22]StoreOFDPacket docnum=26737 [13:24:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 D4 33 07 01 BC F1 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 62 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 16 71 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 71 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 42 00 00 00 00 07 04 06 00 00 71 02 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 8D 9E 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 71 68 00 00 35 04 06 00 A5 EE F7 3D 36 55 A0 35 73 E8 EB 77 16 88 [13:24:22]CheckFolder [13:24:22]dirname=/storage/ofd_packets [13:24:22]CheckFolder done [13:24:22]ProducePacketName [13:24:22]name=ofd_packets/00026737 [13:24:22]NVStorageSaveData ofd_packets/00026737 [13:24:22]File name is /storage/ofd_packets/00026737 [13:24:22]Write 301 bytes [13:24:22]NVStorageSaveData done [13:24:22]OFDSenderStorePacket done [13:24:22]KKMCreateOFDPacket done [13:24:22]NVStorageSaveData kkm_last_timestamp [13:24:22]File name is /storage/kkm_last_timestamp [13:24:22]Write 4 bytes [13:24:22]NVStorageSaveData done [13:24:22]ExternCall_PrintAddStr [13:24:22]wPrintStart [13:24:22]Write to MH i2c: 01 00 00 68 23 8B [13:24:22]Write i2c OK [13:24:22]MH_I2C_Read... [13:24:22]Read from MH i2c: 01 [13:24:22]MH_I2C_Read... [13:24:22]Read from MH i2c: 01 07 00 [13:24:22]MH_I2C_Read... [13:24:22]Read from MH i2c: 01 07 00 68 23 00 00 00 00 00 FF 0F A0 [13:24:22]RasterBufferAndPrint [13:24:22]line Счет N : (1)359480 [13:24:22]line ИНН: 02508201610067 [13:24:22]line Контрольно-Кассовый Чек [13:24:22]line ПРОДАЖА [13:24:22]line ТРК (МРК, ГНК) : 61 [13:24:22]line Товар: 2710124130 [13:24:22]line Аи-92-К-5 [13:24:22]line 25.240 * 63.40 [13:24:22]line = 1600.22 [13:24:22]line НДС 12% НСП 1% [13:24:22]line > о реализуемом товаре [13:24:22]line ОКРУГЛЕНИЕ: -0.22 [13:24:22]line ИТОГО: 1600.00 [13:24:22]line Внесено: 1600.00 [13:24:22]line СДАЧА: 0.00 [13:24:22]line НСП 1% : 14.16 [13:24:22]line НДС 12% : 169.93 [13:24:22]line Наличными: 1600.00 [13:24:22]line Безнал.: 0.00 [13:24:22]line Место: АЗС № 122 "Партнер Нефть" [13:24:22]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [13:24:22]line СНО: Общий режим [13:24:22]line Чек 36 07.04.2024 13:24 [13:24:22]line Смена: 313 ФФД: 1.0 [13:24:22]line ЗНМ: 0300000147 [13:24:22]line РНМ: 0000000000091578 [13:24:22]line Версия ККМ: 001 [13:24:22]line ФМ: 0000000000874657 [13:24:22]line ФД: 26737 [13:24:22]line ФПД: 182445768783445 [13:24:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T132429&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26737&fm=182445768783445&tin=02508201610067®Number=0000000000091578&sum=160000 [13:24:22]OFD Sender: Processing packet 26737 [packets to send 44, broken 43] [13:24:22]ProducePacketName [13:24:22]name=ofd_packets/00026737 [13:24:22]OFD Sender: To server: pG, [13:24:22]CommunicateWithHost lk.salyk.kg:30040 [13:24:22]ConnectInit lk.salyk.kg [13:24:22]written 0, free lines is 4095 [13:24:22]Connected sock=10 [13:24:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 D4 33 07 01 BC F1 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 62 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 16 71 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 71 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 42 00 00 00 00 07 04 06 00 00 71 02 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 8D 9E 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 71 68 00 00 35 04 06 00 A5 EE F7 3D 36 55 A0 35 73 E8 EB 77 16 88 [13:24:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 4B F6 47 00 8C 71 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 37 10 04 04 00 71 68 00 00 F4 03 04 00 FA 45 12 66 B6 04 01 00 00 6C 5D 42 DA 8A D2 37 6E [13:24:22]CommunicateWithHost err = 0 [13:24:22]CheckOFDResponse [13:24:22]1017 (14) - 77093643461234 [13:24:22]1041 (16) - 0000000000874657 [13:24:22]1040 (4) - 26737 [13:24:22]1012 (4) - 07.04.2024 07:06 [13:24:22]1206 (1) - 0 [13:24:22]OFD Sender: Remove packet 26737 [13:24:22]ProducePacketName [13:24:22]name=ofd_packets/00026737 [13:24:22]NVStorageDeleteData [13:24:22]Write to MH i2c: 01 00 00 93 23 B6 [13:24:22]Write i2c OK [13:24:22]MH_I2C_Read... [13:24:22]Read from MH i2c: 01 [13:24:22]MH_I2C_Read... [13:24:22]Read from MH i2c: 01 07 00 [13:24:22]MH_I2C_Read... [13:24:22]Read from MH i2c: 01 07 00 93 23 00 00 00 00 00 7E 0C 47 [13:24:22]RasterBufferAndPrint [13:24:22]line [13:24:22]line [13:24:22]line [13:24:22]line [13:24:22]line [13:24:22]written 0, free lines is 3202 [13:24:22]MH_Cut [13:24:22]Write to MH i2c: D1 01 00 9A 23 01 8F [13:24:22]Write i2c OK [13:24:22]MH_I2C_Read... [13:24:22]Read from MH i2c: D1 [13:24:22]MH_I2C_Read... [13:24:22]Read from MH i2c: D1 01 00 [13:24:22]MH_I2C_Read... [13:24:22]Read from MH i2c: D1 01 00 9A 23 00 8E [13:24:22]Write to MH i2c: 01 00 00 9B 23 BE [13:24:22]Write i2c OK [13:24:22]MH_I2C_Read... [13:24:23]OFD Sender: No OFD packet to send [13:24:24]*** Cut start [13:24:24]*** Partial cut [13:24:24]*** CUTSNS_PIN = 1 [13:24:24]*** CUTSNS_PIN = 0 [13:24:24]*** Brake cut motor [13:24:24]Read from MH i2c: 01 [13:24:24]MH_I2C_Read... [13:24:24]*** Stop cut motor [13:24:24]*** Cut end [13:24:24]Read from MH i2c: 01 07 00 [13:24:24]MH_I2C_Read... [13:24:24]Read from MH i2c: 01 07 00 9B 23 00 00 00 00 00 FF 0F D3 [13:24:24]process_action close_receipt done [13:24:24]requested_data is exist [13:24:24]produce_requested_data [13:24:24]requested_item fm.sn is exist - process it [13:24:24]wFMCommunicate request_size=4 [13:24:24]MH_SAM_APDU [13:24:24]CAPDU: 80 11 00 00 [13:24:24]Write to MH i2c: E2 08 00 9C 23 80 11 00 00 00 00 00 00 39 [13:24:24]Write i2c OK [13:24:24]MH_I2C_Read... [13:24:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:24:24]Read from MH i2c: E2 [13:24:24]MH_I2C_Read... [13:24:24]Read from MH i2c: E2 17 00 [13:24:24]MH_I2C_Read... [13:24:24]Read from MH i2c: E2 17 00 9C 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 91 [13:24:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [13:24:24]wFMCommunicate OK [13:24:24]requested_item fd.num is exist - process it [13:24:24]SAM_PROTO_GetFieldsCounters [13:24:24]wFMCommunicate request_size=4 [13:24:24]MH_SAM_APDU [13:24:24]CAPDU: 80 13 00 00 [13:24:24]Write to MH i2c: E2 08 00 9D 23 80 13 00 00 00 00 00 00 3C [13:24:24]Write i2c OK [13:24:24]MH_I2C_Read... [13:24:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:24:24]Read from MH i2c: E2 [13:24:24]MH_I2C_Read... [13:24:24]Read from MH i2c: E2 62 00 [13:24:24]MH_I2C_Read... [13:24:24]Read from MH i2c: E2 62 00 9D 23 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 71 68 00 00 0E 04 04 00 39 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 E6 [13: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 71 68 00 00 0E 04 04 00 39 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 [13:24:24]wFMCommunicate OK [13:24:24]SAM_PROTO_GetFieldsCounters done [13:24:24]requested_item shift.num is exist - process it [13:24:24]requested_item shift.opened is exist - process it [13:24:24]req_shift_opened [13:24:24]FM_GetShiftState [13:24:24]SAM_PROTO_GetShiftState [13:24:24]wFMCommunicate request_size=4 [13:24:24]MH_SAM_APDU [13:24:24]CAPDU: 80 13 01 00 [13:24:24]Write to MH i2c: E2 08 00 9E 23 80 13 01 00 00 00 00 00 3E [13:24:24]Write i2c OK [13:24:24]MH_I2C_Read... [13:24:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:24:24]Read from MH i2c: E2 [13:24:24]MH_I2C_Read... [13:24:24]Read from MH i2c: E2 0E 00 [13:24:24]MH_I2C_Read... [13:24:24]Read from MH i2c: E2 0E 00 9E 23 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 D2 [13:24:24]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [13:24:24]wFMCommunicate OK [13:24:24]SAM_PROTO_GetShiftState done [13:24:24]FM_GetShiftState done [13:24:24]req_shift_opened done [13:24:24]requested_item shift.open_date is exist - process it [13:24:24]req_shift_open_date [13:24:24]req_shift_open_date done [13:24:24]produce_requested_data done [13:24:24]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26737,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [13:24:24]process_action_free close_receipt [13:24:24]json_value_free [13:24:24]json_value_free done [13:24:24]process_json_proto returns [13:24:24]Send response to host [13:24:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26737,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [13:24:24]free response buf [13:24:24]execute_script done [13:24:24]execute_script returns [13:24:24]free content buf [13:24:24]Sock 9.Close socket [13:24:24]Sock 9.Thread stoped [13:24:28]OFD Sender: No OFD packet to send [13:24:33]OFD Sender: No OFD packet to send [13:24:38]OFD Sender: No OFD packet to send [13:24:43]OFD Sender: No OFD packet to send [13:24:48]OFD Sender: No OFD packet to send [13:24:53]OFD Sender: No OFD packet to send [13:24:58]OFD Sender: No OFD packet to send [13:25:03]OFD Sender: No OFD packet to send [13:25:08]OFD Sender: No OFD packet to send [13:25:13]OFD Sender: No OFD packet to send [13:25:18]OFD Sender: No OFD packet to send [13:25:23]OFD Sender: No OFD packet to send [13:25:28]OFD Sender: No OFD packet to send [13:25:33]OFD Sender: No OFD packet to send [13:25:38]OFD Sender: No OFD packet to send [13:25:43]OFD Sender: No OFD packet to send [13:25:48]OFD Sender: No OFD packet to send [13:25:53]OFD Sender: No OFD packet to send [13:25:58]OFD Sender: No OFD packet to send [13:26:03]OFD Sender: No OFD packet to send [13:26:08]OFD Sender: No OFD packet to send [13:26:13]OFD Sender: No OFD packet to send [13:26:18]OFD Sender: No OFD packet to send [13:26:23]OFD Sender: No OFD packet to send [13:26:28]OFD Sender: No OFD packet to send [13:26:33]OFD Sender: No OFD packet to send [13:26:38]OFD Sender: No OFD packet to send [13:26:43]OFD Sender: No OFD packet to send [13:26:48]OFD Sender: No OFD packet to send [13:26:53]OFD Sender: No OFD packet to send [13:26:58]OFD Sender: No OFD packet to send [13:27:03]OFD Sender: No OFD packet to send [13:27:08]OFD Sender: No OFD packet to send [13:27:13]OFD Sender: No OFD packet to send [13:27:18]OFD Sender: No OFD packet to send [13:27:23]OFD Sender: No OFD packet to send [13:27:28]OFD Sender: No OFD packet to send [13:27:33]OFD Sender: No OFD packet to send [13:27:38]OFD Sender: No OFD packet to send [13:27:43]OFD Sender: No OFD packet to send [13:27:48]OFD Sender: No OFD packet to send [13:27:53]OFD Sender: No OFD packet to send [13:27:58]OFD Sender: No OFD packet to send [13:28:03]OFD Sender: No OFD packet to send [13:28:08]OFD Sender: No OFD packet to send [13:28:13]OFD Sender: No OFD packet to send [13:28:18]OFD Sender: No OFD packet to send [13:28:23]OFD Sender: No OFD packet to send [13:28:28]OFD Sender: No OFD packet to send [13:28:33]OFD Sender: No OFD packet to send [13:28:38]OFD Sender: No OFD packet to send [13:28:43]OFD Sender: No OFD packet to send [13:28:48]OFD Sender: No OFD packet to send [13:28:53]OFD Sender: No OFD packet to send [13:28:58]OFD Sender: No OFD packet to send [13:29:03]OFD Sender: No OFD packet to send [13:29:08]OFD Sender: No OFD packet to send [13:29:13]OFD Sender: No OFD packet to send [13:29:18]OFD Sender: No OFD packet to send [13:29:23]OFD Sender: No OFD packet to send [13:29:28]OFD Sender: No OFD packet to send [13:29:33]OFD Sender: No OFD packet to send [13:29:38]OFD Sender: No OFD packet to send [13:29:43]OFD Sender: No OFD packet to send [13:29:48]OFD Sender: No OFD packet to send [13:29:53]OFD Sender: No OFD packet to send [13:29:58]OFD Sender: No OFD packet to send [13:30:03]OFD Sender: No OFD packet to send [13:30:08]OFD Sender: No OFD packet to send [13:30:13]OFD Sender: No OFD packet to send [13:30:18]OFD Sender: No OFD packet to send [13:30:23]OFD Sender: No OFD packet to send [13:30:28]OFD Sender: No OFD packet to send [13:30:33]OFD Sender: No OFD packet to send [13:30:38]OFD Sender: No OFD packet to send [13:30:43]OFD Sender: No OFD packet to send [13:30:48]OFD Sender: No OFD packet to send [13:30:53]OFD Sender: No OFD packet to send [13:30:58]OFD Sender: No OFD packet to send [13:31:03]OFD Sender: No OFD packet to send [13:31:08]OFD Sender: No OFD packet to send [13:31:13]OFD Sender: No OFD packet to send [13:31:18]OFD Sender: No OFD packet to send [13:31:23]OFD Sender: No OFD packet to send [13:31:28]OFD Sender: No OFD packet to send [13:31:33]OFD Sender: No OFD packet to send [13:31:38]OFD Sender: No OFD packet to send [13:31:43]OFD Sender: No OFD packet to send [13:31:48]OFD Sender: No OFD packet to send [13:31:53]OFD Sender: No OFD packet to send [13:31:58]OFD Sender: No OFD packet to send [13:32:03]OFD Sender: No OFD packet to send [13:32:08]OFD Sender: No OFD packet to send [13:32:13]OFD Sender: No OFD packet to send [13:32:18]OFD Sender: No OFD packet to send [13:32:23]OFD Sender: No OFD packet to send [13:32:28]OFD Sender: No OFD packet to send [13:32:33]OFD Sender: No OFD packet to send [13:32:38]OFD Sender: No OFD packet to send [13:32:43]OFD Sender: No OFD packet to send [13:32:48]OFD Sender: No OFD packet to send [13:32:53]OFD Sender: No OFD packet to send [13:32:58]OFD Sender: No OFD packet to send [13:33:03]OFD Sender: No OFD packet to send [13:33:08]OFD Sender: No OFD packet to send [13:33:13]OFD Sender: No OFD packet to send [13:33:18]OFD Sender: No OFD packet to send [13:33:23]OFD Sender: No OFD packet to send [13:33:28]OFD Sender: No OFD packet to send [13:33:33]OFD Sender: No OFD packet to send [13:33:38]OFD Sender: No OFD packet to send [13:33:43]OFD Sender: No OFD packet to send [13:33:48]OFD Sender: No OFD packet to send [13:33:53]OFD Sender: No OFD packet to send [13:33:58]OFD Sender: No OFD packet to send [13:34:03]OFD Sender: No OFD packet to send [13:34:08]OFD Sender: No OFD packet to send [13:34:13]OFD Sender: No OFD packet to send [13:34:18]OFD Sender: No OFD packet to send [13:34:23]OFD Sender: No OFD packet to send [13:34:28]OFD Sender: No OFD packet to send [13:34:33]OFD Sender: No OFD packet to send [13:34:38]OFD Sender: No OFD packet to send [13:34:43]OFD Sender: No OFD packet to send [13:34:48]OFD Sender: No OFD packet to send [13:34:53]OFD Sender: No OFD packet to send [13:34:58]OFD Sender: No OFD packet to send [13:35:03]OFD Sender: No OFD packet to send [13:35:08]OFD Sender: No OFD packet to send [13:35:13]OFD Sender: No OFD packet to send [13:35:18]OFD Sender: No OFD packet to send [13:35:23]OFD Sender: No OFD packet to send [13:35:28]OFD Sender: No OFD packet to send [13:35:33]OFD Sender: No OFD packet to send [13:35:38]OFD Sender: No OFD packet to send [13:35:43]OFD Sender: No OFD packet to send [13:35:48]OFD Sender: No OFD packet to send [13:35:53]OFD Sender: No OFD packet to send [13:35:58]OFD Sender: No OFD packet to send [13:36:03]OFD Sender: No OFD packet to send [13:36:08]OFD Sender: No OFD packet to send [13:36:13]OFD Sender: No OFD packet to send [13:36:18]OFD Sender: No OFD packet to send [13:36:23]OFD Sender: No OFD packet to send [13:36:28]OFD Sender: No OFD packet to send [13:36:33]OFD Sender: No OFD packet to send [13:36:38]OFD Sender: No OFD packet to send [13:36:43]OFD Sender: No OFD packet to send [13:36:48]OFD Sender: No OFD packet to send [13:36:53]OFD Sender: No OFD packet to send [13:36:58]OFD Sender: No OFD packet to send [13:37:03]OFD Sender: No OFD packet to send [13:37:08]OFD Sender: No OFD packet to send [13:37:13]OFD Sender: No OFD packet to send [13:37:18]OFD Sender: No OFD packet to send [13:37:23]OFD Sender: No OFD packet to send [13:37:28]OFD Sender: No OFD packet to send [13:37:33]OFD Sender: No OFD packet to send [13:37:38]OFD Sender: No OFD packet to send [13:37:43]OFD Sender: No OFD packet to send [13:37:48]OFD Sender: No OFD packet to send [13:37:53]OFD Sender: No OFD packet to send [13:37:59]OFD Sender: No OFD packet to send [13:38:04]OFD Sender: No OFD packet to send [13:38:09]OFD Sender: No OFD packet to send [13:38:14]OFD Sender: No OFD packet to send [13:38:19]OFD Sender: No OFD packet to send [13:38:24]OFD Sender: No OFD packet to send [13:38:29]OFD Sender: No OFD packet to send [13:38:34]OFD Sender: No OFD packet to send [13:38:39]OFD Sender: No OFD packet to send [13:38:44]OFD Sender: No OFD packet to send [13:38:49]OFD Sender: No OFD packet to send [13:38:54]OFD Sender: No OFD packet to send [13:38:59]OFD Sender: No OFD packet to send [13:39:04]OFD Sender: No OFD packet to send [13:39:09]OFD Sender: No OFD packet to send [13:39:14]OFD Sender: No OFD packet to send [13:39:19]OFD Sender: No OFD packet to send [13:39:24]OFD Sender: No OFD packet to send [13:39:29]OFD Sender: No OFD packet to send [13:39:34]OFD Sender: No OFD packet to send [13:39:39]OFD Sender: No OFD packet to send [13:39:44]OFD Sender: No OFD packet to send [13:39:49]OFD Sender: No OFD packet to send [13:39:54]OFD Sender: No OFD packet to send [13:39:59]OFD Sender: No OFD packet to send [13:40:04]OFD Sender: No OFD packet to send [13:40:09]OFD Sender: No OFD packet to send [13:40:14]OFD Sender: No OFD packet to send [13:40:19]OFD Sender: No OFD packet to send [13:40:24]OFD Sender: No OFD packet to send [13:40:29]OFD Sender: No OFD packet to send [13:40:34]OFD Sender: No OFD packet to send [13:40:39]OFD Sender: No OFD packet to send [13:40:44]OFD Sender: No OFD packet to send [13:40:49]OFD Sender: No OFD packet to send [13:40:54]OFD Sender: No OFD packet to send [13:40:59]OFD Sender: No OFD packet to send [13:41:04]OFD Sender: No OFD packet to send [13:41:09]OFD Sender: No OFD packet to send [13:41:14]OFD Sender: No OFD packet to send [13:41:19]OFD Sender: No OFD packet to send [13:41:24]OFD Sender: No OFD packet to send [13:41:29]OFD Sender: No OFD packet to send [13:41:34]OFD Sender: No OFD packet to send [13:41:39]OFD Sender: No OFD packet to send [13:41:44]OFD Sender: No OFD packet to send [13:41:49]OFD Sender: No OFD packet to send [13:41:54]OFD Sender: No OFD packet to send [13:41:59]OFD Sender: No OFD packet to send [13:42:04]OFD Sender: No OFD packet to send [13:42:09]OFD Sender: No OFD packet to send [13:42:14]OFD Sender: No OFD packet to send [13:42:19]OFD Sender: No OFD packet to send [13:42:24]OFD Sender: No OFD packet to send [13:42:29]OFD Sender: No OFD packet to send [13:42:34]OFD Sender: No OFD packet to send [13:42:39]OFD Sender: No OFD packet to send [13:42:44]OFD Sender: No OFD packet to send [13:42:49]OFD Sender: No OFD packet to send [13:42:54]OFD Sender: No OFD packet to send [13:42:59]OFD Sender: No OFD packet to send [13:43:04]OFD Sender: No OFD packet to send [13:43:09]OFD Sender: No OFD packet to send [13:43:14]OFD Sender: No OFD packet to send [13:43:19]OFD Sender: No OFD packet to send [13:43:24]OFD Sender: No OFD packet to send [13:43:29]OFD Sender: No OFD packet to send [13:43:34]OFD Sender: No OFD packet to send [13:43:39]OFD Sender: No OFD packet to send [13:43:44]OFD Sender: No OFD packet to send [13:43:49]OFD Sender: No OFD packet to send [13:43:54]OFD Sender: No OFD packet to send [13:43:59]OFD Sender: No OFD packet to send [13:44:04]OFD Sender: No OFD packet to send [13:44:09]OFD Sender: No OFD packet to send [13:44:14]OFD Sender: No OFD packet to send [13:44:19]OFD Sender: No OFD packet to send [13:44:24]OFD Sender: No OFD packet to send [13:44:29]OFD Sender: No OFD packet to send [13:44:34]OFD Sender: No OFD packet to send [13:44:39]OFD Sender: No OFD packet to send [13:44:44]OFD Sender: No OFD packet to send [13:44:49]OFD Sender: No OFD packet to send [13:44:54]OFD Sender: No OFD packet to send [13:44:59]OFD Sender: No OFD packet to send [13:45:04]OFD Sender: No OFD packet to send [13:45:09]OFD Sender: No OFD packet to send [13:45:14]OFD Sender: No OFD packet to send [13:45:19]OFD Sender: No OFD packet to send [13:45:24]OFD Sender: No OFD packet to send [13:45:29]OFD Sender: No OFD packet to send [13:45:34]OFD Sender: No OFD packet to send [13:45:39]OFD Sender: No OFD packet to send [13:45:44]OFD Sender: No OFD packet to send [13:45:49]OFD Sender: No OFD packet to send [13:45:54]OFD Sender: No OFD packet to send [13:45:59]OFD Sender: No OFD packet to send [13:46:04]OFD Sender: No OFD packet to send [13:46:09]OFD Sender: No OFD packet to send [13:46:14]OFD Sender: No OFD packet to send [13:46:19]OFD Sender: No OFD packet to send [13:46:24]OFD Sender: No OFD packet to send [13:46:29]OFD Sender: No OFD packet to send [13:46:34]OFD Sender: No OFD packet to send [13:46:39]OFD Sender: No OFD packet to send [13:46:44]OFD Sender: No OFD packet to send [13:46:49]OFD Sender: No OFD packet to send [13:46:54]OFD Sender: No OFD packet to send [13:46:59]OFD Sender: No OFD packet to send [13:47:04]OFD Sender: No OFD packet to send [13:47:09]OFD Sender: No OFD packet to send [13:47:14]OFD Sender: No OFD packet to send [13:47:19]OFD Sender: No OFD packet to send [13:47:24]OFD Sender: No OFD packet to send [13:47:29]OFD Sender: No OFD packet to send [13:47:34]OFD Sender: No OFD packet to send [13:47:39]OFD Sender: No OFD packet to send [13:47:44]OFD Sender: No OFD packet to send [13:47:49]OFD Sender: No OFD packet to send [13:47:54]OFD Sender: No OFD packet to send [13:47:59]OFD Sender: No OFD packet to send [13:48:04]OFD Sender: No OFD packet to send [13:48:09]OFD Sender: No OFD packet to send [13:48:14]OFD Sender: No OFD packet to send [13:48:19]OFD Sender: No OFD packet to send [13:48:24]OFD Sender: No OFD packet to send [13:48:29]OFD Sender: No OFD packet to send [13:48:34]OFD Sender: No OFD packet to send [13:48:39]OFD Sender: No OFD packet to send [13:48:44]OFD Sender: No OFD packet to send [13:48:49]OFD Sender: No OFD packet to send [13:48:54]OFD Sender: No OFD packet to send [13:48:59]OFD Sender: No OFD packet to send [13:49:04]OFD Sender: No OFD packet to send [13:49:09]OFD Sender: No OFD packet to send [13:49:14]OFD Sender: No OFD packet to send [13:49:19]OFD Sender: No OFD packet to send [13:49:24]OFD Sender: No OFD packet to send [13:49:29]OFD Sender: No OFD packet to send [13:49:34]OFD Sender: No OFD packet to send [13:49:39]OFD Sender: No OFD packet to send [13:49:44]OFD Sender: No OFD packet to send [13:49:49]OFD Sender: No OFD packet to send [13:49:54]OFD Sender: No OFD packet to send [13:49:59]OFD Sender: No OFD packet to send [13:50:04]OFD Sender: No OFD packet to send [13:50:09]OFD Sender: No OFD packet to send [13:50:14]OFD Sender: No OFD packet to send [13:50:19]OFD Sender: No OFD packet to send [13:50:24]OFD Sender: No OFD packet to send [13:50:29]OFD Sender: No OFD packet to send [13:50:34]OFD Sender: No OFD packet to send [13:50:39]OFD Sender: No OFD packet to send [13:50:44]OFD Sender: No OFD packet to send [13:50:49]OFD Sender: No OFD packet to send [13:50:54]OFD Sender: No OFD packet to send [13:50:59]OFD Sender: No OFD packet to send [13:51:04]OFD Sender: No OFD packet to send [13:51:09]OFD Sender: No OFD packet to send [13:51:14]OFD Sender: No OFD packet to send [13:51:19]OFD Sender: No OFD packet to send [13:51:24]OFD Sender: No OFD packet to send [13:51:29]OFD Sender: No OFD packet to send [13:51:34]OFD Sender: No OFD packet to send [13:51:39]OFD Sender: No OFD packet to send [13:51:44]OFD Sender: No OFD packet to send [13:51:49]OFD Sender: No OFD packet to send [13:51:54]OFD Sender: No OFD packet to send [13:51:59]OFD Sender: No OFD packet to send [13:52:04]OFD Sender: No OFD packet to send [13:52:09]OFD Sender: No OFD packet to send [13:52:14]OFD Sender: No OFD packet to send [13:52:19]OFD Sender: No OFD packet to send [13:52:24]OFD Sender: No OFD packet to send [13:52:29]OFD Sender: No OFD packet to send [13:52:34]OFD Sender: No OFD packet to send [13:52:39]OFD Sender: No OFD packet to send [13:52:44]OFD Sender: No OFD packet to send [13:52:49]OFD Sender: No OFD packet to send [13:52:54]OFD Sender: No OFD packet to send [13:52:59]OFD Sender: No OFD packet to send [13:53:04]OFD Sender: No OFD packet to send [13:53:09]OFD Sender: No OFD packet to send [13:53:14]OFD Sender: No OFD packet to send [13:53:19]OFD Sender: No OFD packet to send [13:53:24]OFD Sender: No OFD packet to send [13:53:29]OFD Sender: No OFD packet to send [13:53:34]OFD Sender: No OFD packet to send [13:53:39]OFD Sender: No OFD packet to send [13:53:44]OFD Sender: No OFD packet to send [13:53:49]OFD Sender: No OFD packet to send [13:53:54]OFD Sender: No OFD packet to send [13:53:59]OFD Sender: No OFD packet to send [13:54:04]OFD Sender: No OFD packet to send [13:54:09]OFD Sender: No OFD packet to send [13:54:14]OFD Sender: No OFD packet to send [13:54:19]OFD Sender: No OFD packet to send [13:54:24]OFD Sender: No OFD packet to send [13:54:29]OFD Sender: No OFD packet to send [13:54:34]OFD Sender: No OFD packet to send [13:54:39]OFD Sender: No OFD packet to send [13:54:44]OFD Sender: No OFD packet to send [13:54:49]OFD Sender: No OFD packet to send [13:54:54]OFD Sender: No OFD packet to send [13:54:59]OFD Sender: No OFD packet to send [13:55:04]OFD Sender: No OFD packet to send [13:55:09]OFD Sender: No OFD packet to send [13:55:14]OFD Sender: No OFD packet to send [13:55:19]OFD Sender: No OFD packet to send [13:55:24]OFD Sender: No OFD packet to send [13:55:29]OFD Sender: No OFD packet to send [13:55:34]OFD Sender: No OFD packet to send [13:55:39]OFD Sender: No OFD packet to send [13:55:44]OFD Sender: No OFD packet to send [13:55:49]OFD Sender: No OFD packet to send [13:55:54]OFD Sender: No OFD packet to send [13:55:59]OFD Sender: No OFD packet to send [13:56:04]OFD Sender: No OFD packet to send [13:56:09]OFD Sender: No OFD packet to send [13:56:14]OFD Sender: No OFD packet to send [13:56:19]OFD Sender: No OFD packet to send [13:56:24]OFD Sender: No OFD packet to send [13:56:29]OFD Sender: No OFD packet to send [13:56:34]OFD Sender: No OFD packet to send [13:56:39]OFD Sender: No OFD packet to send [13:56:45]OFD Sender: No OFD packet to send [13:56:50]OFD Sender: No OFD packet to send [13:56:55]OFD Sender: No OFD packet to send [13:57:00]OFD Sender: No OFD packet to send [13:57:05]OFD Sender: No OFD packet to send [13:57:10]OFD Sender: No OFD packet to send [13:57:15]OFD Sender: No OFD packet to send [13:57:20]OFD Sender: No OFD packet to send [13:57:25]OFD Sender: No OFD packet to send [13:57:30]OFD Sender: No OFD packet to send [13:57:35]OFD Sender: No OFD packet to send [13:57:40]OFD Sender: No OFD packet to send [13:57:45]OFD Sender: No OFD packet to send [13:57:50]OFD Sender: No OFD packet to send [13:57:55]OFD Sender: No OFD packet to send [13:58:00]OFD Sender: No OFD packet to send [13:58:05]OFD Sender: No OFD packet to send [13:58:10]OFD Sender: No OFD packet to send [13:58:15]OFD Sender: No OFD packet to send [13:58:20]OFD Sender: No OFD packet to send [13:58:25]OFD Sender: No OFD packet to send [13:58:30]OFD Sender: No OFD packet to send [13:58:35]OFD Sender: No OFD packet to send [13:58:40]OFD Sender: No OFD packet to send [13:58:45]OFD Sender: No OFD packet to send [13:58:50]OFD Sender: No OFD packet to send [13:58:55]OFD Sender: No OFD packet to send [13:59:00]OFD Sender: No OFD packet to send [13:59:05]OFD Sender: No OFD packet to send [13:59:10]OFD Sender: No OFD packet to send [13:59:15]OFD Sender: No OFD packet to send [13:59:20]OFD Sender: No OFD packet to send [13:59:25]OFD Sender: No OFD packet to send [13:59:30]OFD Sender: No OFD packet to send [13:59:35]OFD Sender: No OFD packet to send [13:59:40]OFD Sender: No OFD packet to send [13:59:45]OFD Sender: No OFD packet to send [13:59:50]OFD Sender: No OFD packet to send [13:59:55]OFD Sender: No OFD packet to send [14:00:00]OFD Sender: No OFD packet to send [14:00:05]OFD Sender: No OFD packet to send [14:00:10]OFD Sender: No OFD packet to send [14:00:15]OFD Sender: No OFD packet to send [14:00:20]OFD Sender: No OFD packet to send [14:00:25]OFD Sender: No OFD packet to send [14:00:30]OFD Sender: No OFD packet to send [14:00:35]OFD Sender: No OFD packet to send [14:00:40]OFD Sender: No OFD packet to send [14:00:45]OFD Sender: No OFD packet to send [14:00:50]OFD Sender: No OFD packet to send [14:00:55]OFD Sender: No OFD packet to send [14:01:00]OFD Sender: No OFD packet to send [14:01:05]OFD Sender: No OFD packet to send [14:01:10]OFD Sender: No OFD packet to send [14:01:10]accept exits with 8 [14:01:10]New connection [14:01:10]New thread 3067014500 created [14:01:10]Thread 3066871140 joined [14:01:10]Waiting for new connection... [14:01:10] Sock 8.Parse request [14:01:10]Sock 8.Check first char [14:01:10]Sock 8.First char is OK [14:01:10]request: POST /json_proto HTTP/1.0 [14:01:10]Method: POST [14:01:10]URL: /json_proto [14:01:10]Method is POST - this is cgi request [14:01:10]url: /json_proto [14:01:10]query_string will be loaded in cgi processing [14:01:10]execute_cgi json_proto POST (null) [14:01:10]execute_cgi path=json_proto method=POST [14:01:10]POST find Content-Length [14:01:10]Host: 172.17.35.3:8080 [14:01:10]Content-Length: 677 [14:01:10]Content-Type: application/json [14:01:10] [14:01:10]POST finish read [14:01:10]Found Content-Length = 677 [14:01:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359481", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 4.000, "sum" : 253.60, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 253.00, "payments": [ { "type": 0, "sum" : 253.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:01:10]execute_script... [14:01: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 : (1)359481", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 4.000, "sum" : 253.60, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 253.00, "payments": [ { "type": 0, "sum" : 253.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:01:10]POST & json_proto [14:01:10]process_json_proto [14:01:10]json parsed OK: [14:01:10]protocol is kg_v1.0 [14:01:10]action value=close_receipt [14:01:10]process_action close_receipt [14:01:10]cmd_close_receipt [14:01:10]MH_GetDate [14:01:10]Write to MH i2c: F0 00 00 9F 23 B1 [14:01:10]Write i2c OK [14:01:10]MH_I2C_Read... [14:01:10]Read from MH i2c: F0 [14:01:10]MH_I2C_Read... [14:01:10]Read from MH i2c: F0 09 00 [14:01:10]MH_I2C_Read... [14:01:10]Read from MH i2c: F0 09 00 9F 23 00 2F A7 12 66 2B 11 66 64 0E [14:01:10]GetLastDocTimeStamp 1712496269 [14:01:10]current date 1712498479 [14:01:10]FM_GetShiftState [14:01:10]SAM_PROTO_GetShiftState [14:01:10]wFMCommunicate request_size=4 [14:01:10]MH_SAM_APDU [14:01:10]CAPDU: 80 13 01 00 [14:01:10]Write to MH i2c: E2 08 00 A0 23 80 13 01 00 00 00 00 00 40 [14:01:10]Write i2c OK [14:01:10]MH_I2C_Read... [14:01:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:01:10]Read from MH i2c: E2 [14:01:10]MH_I2C_Read... [14:01:10]Read from MH i2c: E2 0E 00 [14:01:10]MH_I2C_Read... [14:01:10]Read from MH i2c: E2 0E 00 A0 23 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 D4 [14:01:10]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [14:01:10]wFMCommunicate OK [14:01:10]SAM_PROTO_GetShiftState done [14:01:10]FM_GetShiftState done [14:01:10]opened in 1712450087 [14:01:10]opened+sec_in_day 1712536487 [14:01:10]quantity*price = 25360 [14:01:10]sum+1 = 25361 [14:01:10]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.60 ИТОГО: 253.00 Внесено: 500.00 СДАЧА: 247.00 НСП 1% : 2.24 НДС 12% : 26.93 Наличными: 253.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 37 07.04.2024 14:01 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26738 ФПД: 82236492033934 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T140120&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26738&fm=82236492033934&tin=02508201610067®Number=0000000000091578&sum=25300 [14:01:11]StoreToDocumentArchive [14:01:11]shift 313 fd 26738 [14:01:11]save to /storage/0313/doc_00026738 [14:01:11]save last doc name /storage/0313/doc_00026738 to /storage/kkm_last_doc_name [14:01:11]save OK [14:01:11]Clear old archive folders... [14:01:11]ProcessDocumentItem done err = 0, tmpTLVsize=251 [14:01:11]tlvbuf is 00EE3930 [14:01:11]SAM_PROTO_ClearQueue [14:01:11]wFMCommunicate request_size=4 [14:01:11]MH_SAM_APDU [14:01:11]CAPDU: 80 09 00 00 [14:01:11]Write to MH i2c: E2 08 00 AD 23 80 09 00 00 00 00 00 00 42 [14:01:11]Write i2c OK [14:01:11]MH_I2C_Read... [14:01:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:01:11]Read from MH i2c: E2 [14:01:11]MH_I2C_Read... [14:01:11]Read from MH i2c: E2 03 00 [14:01:11]MH_I2C_Read... [14:01:11]Read from MH i2c: E2 03 00 AD 23 00 90 00 44 [14:01:11]RAPDU: 90 00 [14:01:11]wFMCommunicate OK [14:01:11]SAM_PROTO_ClearQueue done [14:01:11]KKMCreateOFDPacket [14:01:11]OFDProtocolAddRootSTLVToBuf [14:01:11]FM_MakeSignedData [14:01:11]FM_MakeSignedData [14:01:11]SAM_PROTO_SignData [14:01:11]wFMCommunicate request_size=4 [14:01:11]MH_SAM_APDU [14:01:11]CAPDU: 80 0D 01 02 [14:01:11]Write to MH i2c: E2 08 00 AE 23 80 0D 01 02 00 00 00 00 4A [14:01:11]Write i2c OK [14:01:11]MH_I2C_Read... [14:01:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:01:11]Read from MH i2c: E2 [14:01:11]MH_I2C_Read... [14:01:11]Read from MH i2c: E2 03 00 [14:01:11]MH_I2C_Read... [14:01:11]Read from MH i2c: E2 03 00 AE 23 00 90 00 45 [14:01:11]RAPDU: 90 00 [14:01:11]wFMCommunicate OK [14:01:11]wFMCommunicate request_size=255 [14:01:11]MH_SAM_APDU [14:01:11]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 A0 0F 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 10 63 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 62 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 0A 00 00 00 00 07 04 06 00 D4 62 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 30 A7 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 72 68 00 00 35 04 06 00 4A [14:01:11]Write to MH i2c: E2 02 01 AF 23 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 A0 0F 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 10 63 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 62 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 0A 00 00 00 00 07 04 06 00 D4 62 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 30 A7 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 72 68 00 00 35 04 06 00 4A 00 00 09 [14:01:11]Write i2c OK [14:01:11]MH_I2C_Read... [14:01:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:01:12]Read from MH i2c: E2 [14:01:12]MH_I2C_Read... [14:01:12]Read from MH i2c: E2 03 00 [14:01:12]MH_I2C_Read... [14:01:12]Read from MH i2c: E2 03 00 AF 23 00 90 00 46 [14:01:12]RAPDU: 90 00 [14:01:12]wFMCommunicate OK [14:01:12]wFMCommunicate request_size=10 [14:01:12]MH_SAM_APDU [14:01:12]CAPDU: 80 0D 02 02 05 CB 2C E5 2F 8E [14:01:12]Write to MH i2c: E2 0D 00 B0 23 80 0D 02 02 05 00 CB 2C E5 2F 8E 00 00 F0 [14:01:12]Write i2c OK [14:01:12]MH_I2C_Read... [14:01:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:01:12]Read from MH i2c: E2 [14:01:12]MH_I2C_Read... [14:01:12]Read from MH i2c: E2 03 00 [14:01:12]MH_I2C_Read... [14:01:12]Read from MH i2c: E2 03 00 B0 23 00 90 00 47 [14:01:12]RAPDU: 90 00 [14:01:12]wFMCommunicate OK [14:01:12]wFMCommunicate request_size=4 [14:01:12]MH_SAM_APDU [14:01:12]CAPDU: 80 0D 03 02 [14:01:12]Write to MH i2c: E2 08 00 B1 23 80 0D 03 02 00 00 00 00 4F [14:01:12]Write i2c OK [14:01:12]MH_I2C_Read... [14:01:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:01:12]Read from MH i2c: E2 [14:01:12]MH_I2C_Read... [14:01:12]Read from MH i2c: E2 0B 00 [14:01:12]MH_I2C_Read... [14:01:12]Read from MH i2c: E2 0B 00 B1 23 00 1A D5 AA 8B 32 10 19 FB 90 00 CA [14:01:12]RAPDU: 1A D5 AA 8B 32 10 19 FB 90 00 [14:01:12]wFMCommunicate OK [14:01:12]SAM_PROTO_SignData done [14:01:12]FM_MakeSignedData done [14:01:12]CreateOFDProtocolMessage [14:01:12]wFMCommunicate request_size=4 [14:01:12]MH_SAM_APDU [14:01:12]CAPDU: 80 11 00 00 [14:01:12]Write to MH i2c: E2 08 00 B2 23 80 11 00 00 00 00 00 00 4F [14:01:12]Write i2c OK [14:01:12]MH_I2C_Read... [14:01:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:01:12]Read from MH i2c: E2 [14:01:12]MH_I2C_Read... [14:01:12]Read from MH i2c: E2 17 00 [14:01:12]MH_I2C_Read... [14:01:12]Read from MH i2c: E2 17 00 B2 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 A7 [14:01:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [14:01:12]wFMCommunicate OK [14:01:12]CreateOFDProtocolMessage done [14:01:12]OFDSenderStorePacket 26738 [14:01:12]StoreOFDPacket docnum=26738 [14:01:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 CE 04 07 01 C1 B3 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 A0 0F 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 10 63 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 62 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 0A 00 00 00 00 07 04 06 00 D4 62 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 30 A7 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 72 68 00 00 35 04 06 00 4A CB 2C E5 2F 8E 1A D5 AA 8B 32 10 19 FB [14:01:12]CheckFolder [14:01:12]dirname=/storage/ofd_packets [14:01:12]CheckFolder done [14:01:12]ProducePacketName [14:01:12]name=ofd_packets/00026738 [14:01:12]NVStorageSaveData ofd_packets/00026738 [14:01:12]File name is /storage/ofd_packets/00026738 [14:01:12]Write 301 bytes [14:01:12]NVStorageSaveData done [14:01:12]OFDSenderStorePacket done [14:01:12]KKMCreateOFDPacket done [14:01:12]NVStorageSaveData kkm_last_timestamp [14:01:12]File name is /storage/kkm_last_timestamp [14:01:12]Write 4 bytes [14:01:12]NVStorageSaveData done [14:01:12]ExternCall_PrintAddStr [14:01:12]wPrintStart [14:01:12]Write to MH i2c: 01 00 00 B3 23 D6 [14:01:12]Write i2c OK [14:01:12]MH_I2C_Read... [14:01:12]Read from MH i2c: 01 [14:01:12]MH_I2C_Read... [14:01:12]Read from MH i2c: 01 07 00 [14:01:12]MH_I2C_Read... [14:01:12]Read from MH i2c: 01 07 00 B3 23 00 00 00 00 00 FF 0F EB [14:01:12]RasterBufferAndPrint [14:01:12]line Счет N : (1)359481 [14:01:12]line ИНН: 02508201610067 [14:01:12]line Контрольно-Кассовый Чек [14:01:12]line ПРОДАЖА [14:01:12]line ТРК (МРК, ГНК) : 61 [14:01:12]line Товар: 2710124130 [14:01:12]line Аи-92-К-5 [14:01:12]line 4.000 * 63.40 [14:01:12]line = 253.60 [14:01:12]line НДС 12% НСП 1% [14:01:12]line > о реализуемом товаре [14:01:12]line ОКРУГЛЕНИЕ: -0.60 [14:01:12]line ИТОГО: 253.00 [14:01:12]line Внесено: 500.00 [14:01:12]line СДАЧА: 247.00 [14:01:12]line НСП 1% : 2.24 [14:01:12]line НДС 12% : 26.93 [14:01:12]line Наличными: 253.00 [14:01:12]line Безнал.: 0.00 [14:01:12]line Место: АЗС № 122 "Партнер Нефть" [14:01:12]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [14:01:12]line СНО: Общий режим [14:01:12]line Чек 37 07.04.2024 14:01 [14:01:12]line Смена: 313 ФФД: 1.0 [14:01:12]line ЗНМ: 0300000147 [14:01:12]line РНМ: 0000000000091578 [14:01:12]line Версия ККМ: 001 [14:01:12]line ФМ: 0000000000874657 [14:01:12]line ФД: 26738 [14:01:12]line ФПД: 82236492033934 [14:01:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T140120&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26738&fm=82236492033934&tin=02508201610067®Number=0000000000091578&sum=25300 [14:01:12]OFD Sender: Processing packet 26738 [packets to send 44, broken 43] [14:01:12]ProducePacketName [14:01:12]name=ofd_packets/00026738 [14:01:12]OFD Sender: To server: pG, [14:01:12]CommunicateWithHost lk.salyk.kg:30040 [14:01:12]ConnectInit lk.salyk.kg [14:01:12]written 0, free lines is 4095 [14:01:12]Connected sock=10 [14:01:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 CE 04 07 01 C1 B3 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 A0 0F 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 10 63 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 62 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 0A 00 00 00 00 07 04 06 00 D4 62 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 30 A7 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 72 68 00 00 35 04 06 00 4A CB 2C E5 2F 8E 1A D5 AA 8B 32 10 19 FB [14:01:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 6C 6F 47 00 4B 1A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 37 10 04 04 00 72 68 00 00 F4 03 04 00 9D 4E 12 66 B6 04 01 00 00 77 61 16 7C CC 54 79 CA [14:01:12]CommunicateWithHost err = 0 [14:01:12]CheckOFDResponse [14:01:12]1017 (14) - 77093643461234 [14:01:12]1041 (16) - 0000000000874657 [14:01:12]1040 (4) - 26738 [14:01:12]1012 (4) - 07.04.2024 07:43 [14:01:12]1206 (1) - 0 [14:01:12]OFD Sender: Remove packet 26738 [14:01:12]ProducePacketName [14:01:12]name=ofd_packets/00026738 [14:01:12]NVStorageDeleteData [14:01:13]Write to MH i2c: 01 00 00 DE 23 01 [14:01:13]Write i2c OK [14:01:13]MH_I2C_Read... [14:01:13]Read from MH i2c: 01 [14:01:13]MH_I2C_Read... [14:01:13]Read from MH i2c: 01 07 00 [14:01:13]MH_I2C_Read... [14:01:13]Read from MH i2c: 01 07 00 DE 23 00 00 00 00 00 80 0C 94 [14:01:13]RasterBufferAndPrint [14:01:13]line [14:01:13]line [14:01:13]line [14:01:13]line [14:01:13]line [14:01:13]written 0, free lines is 3204 [14:01:13]MH_Cut [14:01:13]Write to MH i2c: D1 01 00 E5 23 01 DA [14:01:13]Write i2c OK [14:01:13]MH_I2C_Read... [14:01:13]Read from MH i2c: D1 [14:01:13]MH_I2C_Read... [14:01:13]Read from MH i2c: D1 01 00 [14:01:13]MH_I2C_Read... [14:01:13]Read from MH i2c: D1 01 00 E5 23 00 D9 [14:01:13]Write to MH i2c: 01 00 00 E6 23 09 [14:01:13]Write i2c OK [14:01:13]MH_I2C_Read... [14:01:13]OFD Sender: No OFD packet to send [14:01:14]*** Cut start [14:01:14]*** Partial cut [14:01:14]*** CUTSNS_PIN = 1 [14:01:14]*** CUTSNS_PIN = 0 [14:01:14]*** Brake cut motor [14:01:14]Read from MH i2c: 01 [14:01:14]MH_I2C_Read... [14:01:14]*** Stop cut motor [14:01:14]*** Cut end [14:01:14]Read from MH i2c: 01 07 00 [14:01:14]MH_I2C_Read... [14:01:14]Read from MH i2c: 01 07 00 E6 23 00 00 00 00 00 FF 0F 1E [14:01:14]process_action close_receipt done [14:01:14]requested_data is exist [14:01:14]produce_requested_data [14:01:14]requested_item fm.sn is exist - process it [14:01:14]wFMCommunicate request_size=4 [14:01:14]MH_SAM_APDU [14:01:14]CAPDU: 80 11 00 00 [14:01:14]Write to MH i2c: E2 08 00 E7 23 80 11 00 00 00 00 00 00 84 [14:01:14]Write i2c OK [14:01:14]MH_I2C_Read... [14:01:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:01:14]Read from MH i2c: E2 [14:01:14]MH_I2C_Read... [14:01:14]Read from MH i2c: E2 17 00 [14:01:14]MH_I2C_Read... [14:01:14]Read from MH i2c: E2 17 00 E7 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 DC [14:01:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [14:01:14]wFMCommunicate OK [14:01:14]requested_item fd.num is exist - process it [14:01:14]SAM_PROTO_GetFieldsCounters [14:01:14]wFMCommunicate request_size=4 [14:01:14]MH_SAM_APDU [14:01:14]CAPDU: 80 13 00 00 [14:01:14]Write to MH i2c: E2 08 00 E8 23 80 13 00 00 00 00 00 00 87 [14:01:14]Write i2c OK [14:01:14]MH_I2C_Read... [14:01:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:01:15]Read from MH i2c: E2 [14:01:15]MH_I2C_Read... [14:01:15]Read from MH i2c: E2 62 00 [14:01:15]MH_I2C_Read... [14:01:15]Read from MH i2c: E2 62 00 E8 23 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 72 68 00 00 0E 04 04 00 39 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 35 [14:01: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 72 68 00 00 0E 04 04 00 39 01 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:01:15]wFMCommunicate OK [14:01:15]SAM_PROTO_GetFieldsCounters done [14:01:15]requested_item shift.num is exist - process it [14:01:15]requested_item shift.opened is exist - process it [14:01:15]req_shift_opened [14:01:15]FM_GetShiftState [14:01:15]SAM_PROTO_GetShiftState [14:01:15]wFMCommunicate request_size=4 [14:01:15]MH_SAM_APDU [14:01:15]CAPDU: 80 13 01 00 [14:01:15]Write to MH i2c: E2 08 00 E9 23 80 13 01 00 00 00 00 00 89 [14:01:15]Write i2c OK [14:01:15]MH_I2C_Read... [14:01:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:01:15]Read from MH i2c: E2 [14:01:15]MH_I2C_Read... [14:01:15]Read from MH i2c: E2 0E 00 [14:01:15]MH_I2C_Read... [14:01:15]Read from MH i2c: E2 0E 00 E9 23 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 1D [14:01:15]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [14:01:15]wFMCommunicate OK [14:01:15]SAM_PROTO_GetShiftState done [14:01:15]FM_GetShiftState done [14:01:15]req_shift_opened done [14:01:15]requested_item shift.open_date is exist - process it [14:01:15]req_shift_open_date [14:01:15]req_shift_open_date done [14:01:15]produce_requested_data done [14:01:15]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26738,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [14:01:15]process_action_free close_receipt [14:01:15]json_value_free [14:01:15]json_value_free done [14:01:15]process_json_proto returns [14:01:15]Send response to host [14:01:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26738,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [14:01:15]free response buf [14:01:15]execute_script done [14:01:15]execute_script returns [14:01:15]free content buf [14:01:15]Sock 8.Close socket [14:01:15]Sock 8.Thread stoped [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:09]accept exits with 9 [14:03:09]New connection [14:03:09]New thread 3066871140 created [14:03:09]Thread 3067014500 joined [14:03:09]Waiting for new connection... [14:03:09] Sock 9.Parse request [14:03:09]Sock 9.Check first char [14:03:09]Sock 9.First char is OK [14:03:09]request: POST /json_proto HTTP/1.0 [14:03:09]Method: POST [14:03:09]URL: /json_proto [14:03:09]Method is POST - this is cgi request [14:03:09]url: /json_proto [14:03:09]query_string will be loaded in cgi processing [14:03:09]execute_cgi json_proto POST (null) [14:03:09]execute_cgi path=json_proto method=POST [14:03:09]POST find Content-Length [14:03:09]Host: 172.17.35.3:8080 [14:03:09]Content-Length: 682 [14:03:09]Content-Type: application/json [14:03:09] [14:03:09]POST finish read [14:03:09]Found Content-Length = 682 [14:03:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359482", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 8.360, "sum" : 600.25, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 600.00, "total" : 600.00, "payments": [ { "type": 0, "sum" : 600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:03:09]execute_script... [14:03:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359482", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 8.360, "sum" : 600.25, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 600.00, "total" : 600.00, "payments": [ { "type": 0, "sum" : 600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:03:09]POST & json_proto [14:03:09]process_json_proto [14:03:09]json parsed OK: [14:03:09]protocol is kg_v1.0 [14:03:09]action value=close_receipt [14:03:09]process_action close_receipt [14:03:09]cmd_close_receipt [14:03:09]MH_GetDate [14:03:09]Write to MH i2c: F0 00 00 EA 23 FC [14:03:09]Write i2c OK [14:03:09]MH_I2C_Read... [14:03:09]Read from MH i2c: F0 [14:03:09]MH_I2C_Read... [14:03:09]Read from MH i2c: F0 09 00 [14:03:09]MH_I2C_Read... [14:03:09]Read from MH i2c: F0 09 00 EA 23 00 A6 A7 12 66 2B 11 66 64 D0 [14:03:09]GetLastDocTimeStamp 1712498480 [14:03:09]current date 1712498598 [14:03:09]FM_GetShiftState [14:03:09]SAM_PROTO_GetShiftState [14:03:09]wFMCommunicate request_size=4 [14:03:09]MH_SAM_APDU [14:03:09]CAPDU: 80 13 01 00 [14:03:09]Write to MH i2c: E2 08 00 EB 23 80 13 01 00 00 00 00 00 8B [14:03:09]Write i2c OK [14:03:09]MH_I2C_Read... [14:03:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:03:09]Read from MH i2c: E2 [14:03:09]MH_I2C_Read... [14:03:09]Read from MH i2c: E2 0E 00 [14:03:09]MH_I2C_Read... [14:03:09]Read from MH i2c: E2 0E 00 EB 23 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 1F [14:03:09]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [14:03:09]wFMCommunicate OK [14:03:09]SAM_PROTO_GetShiftState done [14:03:09]FM_GetShiftState done [14:03:09]opened in 1712450087 [14:03:09]opened+sec_in_day 1712536487 [14:03:09]quantity*price = 60024 [14:03:09]sum+1 = 60026 [14:03:09]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.25 ИТОГО: 600.00 Внесено: 600.00 СДАЧА: 0.00 НСП 1% : 5.31 НДС 12% : 63.74 Наличными: 600.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 38 07.04.2024 14:03 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26739 ФПД: 171162613385756 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T140318&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26739&fm=171162613385756&tin=02508201610067®Number=0000000000091578&sum=60000 [14:03:10]StoreToDocumentArchive [14:03:10]shift 313 fd 26739 [14:03:10]save to /storage/0313/doc_00026739 [14:03:10]save last doc name /storage/0313/doc_00026739 to /storage/kkm_last_doc_name [14:03:10]save OK [14:03:10]Clear old archive folders... [14:03:10]ProcessDocumentItem done err = 0, tmpTLVsize=252 [14:03:10]tlvbuf is 00E54E60 [14:03:10]SAM_PROTO_ClearQueue [14:03:10]wFMCommunicate request_size=4 [14:03:10]MH_SAM_APDU [14:03:10]CAPDU: 80 09 00 00 [14:03:10]Write to MH i2c: E2 08 00 F8 23 80 09 00 00 00 00 00 00 8D [14:03:10]Write i2c OK [14:03:10]MH_I2C_Read... [14:03:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:03:10]Read from MH i2c: E2 [14:03:10]MH_I2C_Read... [14:03:10]Read from MH i2c: E2 03 00 [14:03:10]MH_I2C_Read... [14:03:10]Read from MH i2c: E2 03 00 F8 23 00 90 00 8F [14:03:10]RAPDU: 90 00 [14:03:10]wFMCommunicate OK [14:03:10]SAM_PROTO_ClearQueue done [14:03:10]KKMCreateOFDPacket [14:03:10]OFDProtocolAddRootSTLVToBuf [14:03:10]FM_MakeSignedData [14:03:10]FM_MakeSignedData [14:03:10]SAM_PROTO_SignData [14:03:10]wFMCommunicate request_size=4 [14:03:10]MH_SAM_APDU [14:03:10]CAPDU: 80 0D 01 02 [14:03:10]Write to MH i2c: E2 08 00 F9 23 80 0D 01 02 00 00 00 00 95 [14:03:10]Write i2c OK [14:03:10]MH_I2C_Read... [14:03:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:03:10]Read from MH i2c: E2 [14:03:10]MH_I2C_Read... [14:03:10]Read from MH i2c: E2 03 00 [14:03:10]MH_I2C_Read... [14:03:10]Read from MH i2c: E2 03 00 F9 23 00 90 00 90 [14:03:10]RAPDU: 90 00 [14:03:10]wFMCommunicate OK [14:03:10]wFMCommunicate request_size=255 [14:03:10]MH_SAM_APDU [14:03:10]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 A8 20 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 79 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 18 00 00 00 00 07 04 06 00 60 EA 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 A6 A7 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 73 68 00 00 35 04 06 00 [14:03:10]Write to MH i2c: E2 02 01 FA 23 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 A8 20 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 79 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 18 00 00 00 00 07 04 06 00 60 EA 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 A6 A7 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 73 68 00 00 35 04 06 00 00 00 DE [14:03:10]Write i2c OK [14:03:10]MH_I2C_Read... [14:03:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:03:11]Read from MH i2c: E2 [14:03:11]MH_I2C_Read... [14:03:11]Read from MH i2c: E2 03 00 [14:03:11]MH_I2C_Read... [14:03:11]Read from MH i2c: E2 03 00 FA 23 00 90 00 91 [14:03:11]RAPDU: 90 00 [14:03:11]wFMCommunicate OK [14:03:11]wFMCommunicate request_size=11 [14:03:11]MH_SAM_APDU [14:03:11]CAPDU: 80 0D 02 02 06 9B AB E6 C5 0A 1C [14:03:11]Write to MH i2c: E2 0E 00 FB 23 80 0D 02 02 06 00 9B AB E6 C5 0A 1C 00 00 BB [14:03:11]Write i2c OK [14:03:11]MH_I2C_Read... [14:03:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:03:11]Read from MH i2c: E2 [14:03:11]MH_I2C_Read... [14:03:11]Read from MH i2c: E2 03 00 [14:03:11]MH_I2C_Read... [14:03:11]Read from MH i2c: E2 03 00 FB 23 00 90 00 92 [14:03:11]RAPDU: 90 00 [14:03:11]wFMCommunicate OK [14:03:11]wFMCommunicate request_size=4 [14:03:11]MH_SAM_APDU [14:03:11]CAPDU: 80 0D 03 02 [14:03:11]Write to MH i2c: E2 08 00 FC 23 80 0D 03 02 00 00 00 00 9A [14:03:11]Write i2c OK [14:03:11]MH_I2C_Read... [14:03:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:03:11]Read from MH i2c: E2 [14:03:11]MH_I2C_Read... [14:03:11]Read from MH i2c: E2 0B 00 [14:03:11]MH_I2C_Read... [14:03:11]Read from MH i2c: E2 0B 00 FC 23 00 23 B4 4E AA C4 65 AC 94 90 00 D3 [14:03:11]RAPDU: 23 B4 4E AA C4 65 AC 94 90 00 [14:03:11]wFMCommunicate OK [14:03:11]SAM_PROTO_SignData done [14:03:11]FM_MakeSignedData done [14:03:11]CreateOFDProtocolMessage [14:03:11]wFMCommunicate request_size=4 [14:03:11]MH_SAM_APDU [14:03:11]CAPDU: 80 11 00 00 [14:03:11]Write to MH i2c: E2 08 00 FD 23 80 11 00 00 00 00 00 00 9A [14:03:11]Write i2c OK [14:03:11]MH_I2C_Read... [14:03:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:03:11]Read from MH i2c: E2 [14:03:11]MH_I2C_Read... [14:03:11]Read from MH i2c: E2 17 00 [14:03:11]MH_I2C_Read... [14:03:11]Read from MH i2c: E2 17 00 FD 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 F2 [14:03:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [14:03:11]wFMCommunicate OK [14:03:11]CreateOFDProtocolMessage done [14:03:11]OFDSenderStorePacket 26739 [14:03:11]StoreOFDPacket docnum=26739 [14:03:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 62 78 08 01 81 C9 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 A8 20 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 79 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 18 00 00 00 00 07 04 06 00 60 EA 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 A6 A7 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 73 68 00 00 35 04 06 00 9B AB E6 C5 0A 1C 23 B4 4E AA C4 65 AC 94 [14:03:11]CheckFolder [14:03:11]dirname=/storage/ofd_packets [14:03:11]CheckFolder done [14:03:11]ProducePacketName [14:03:11]name=ofd_packets/00026739 [14:03:11]NVStorageSaveData ofd_packets/00026739 [14:03:11]File name is /storage/ofd_packets/00026739 [14:03:11]Write 302 bytes [14:03:11]NVStorageSaveData done [14:03:11]OFDSenderStorePacket done [14:03:11]KKMCreateOFDPacket done [14:03:11]NVStorageSaveData kkm_last_timestamp [14:03:11]File name is /storage/kkm_last_timestamp [14:03:11]Write 4 bytes [14:03:11]NVStorageSaveData done [14:03:11]ExternCall_PrintAddStr [14:03:11]wPrintStart [14:03:11]Write to MH i2c: 01 00 00 FE 23 21 [14:03:11]OFD Sender: Processing packet 26739 [packets to send 44, broken 43] [14:03:11]ProducePacketName [14:03:11]name=ofd_packets/00026739 [14:03:11]OFD Sender: To server: pG, [14:03:11]CommunicateWithHost lk.salyk.kg:30040 [14:03:11]ConnectInit lk.salyk.kg [14:03:11]Write i2c OK [14:03:11]MH_I2C_Read... [14:03:11]Read from MH i2c: 01 [14:03:11]MH_I2C_Read... [14:03:11]Read from MH i2c: 01 07 00 [14:03:11]MH_I2C_Read... [14:03:11]Read from MH i2c: 01 07 00 FE 23 00 00 00 00 00 FF 0F 36 [14:03:11]RasterBufferAndPrint [14:03:11]line Счет N : (1)359482 [14:03:11]line ИНН: 02508201610067 [14:03:11]line Контрольно-Кассовый Чек [14:03:11]line ПРОДАЖА [14:03:11]line ТРК (МРК, ГНК) : 21 [14:03:11]line Товар: 2710194210 [14:03:11]line ДТ(л)-К-5 [14:03:11]line 8.360 * 71.80 [14:03:11]line = 600.25 [14:03:11]line НДС 12% НСП 1% [14:03:11]line > о реализуемом товаре [14:03:11]line ОКРУГЛЕНИЕ: -0.25 [14:03:11]line ИТОГО: 600.00 [14:03:11]line Внесено: 600.00 [14:03:11]line СДАЧА: 0.00 [14:03:11]line НСП 1% : 5.31 [14:03:11]line НДС 12% : 63.74 [14:03:11]line Наличными: 600.00 [14:03:11]line Безнал.: 0.00 [14:03:11]line Место: АЗС № 122 "Партнер Нефть" [14:03:11]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [14:03:11]line СНО: Общий режим [14:03:11]line Чек 38 07.04.2024 14:03 [14:03:11]line Смена: 313 ФФД: 1.0 [14:03:11]line ЗНМ: 0300000147 [14:03:11]line РНМ: 0000000000091578 [14:03:11]line Версия ККМ: 001 [14:03:11]line ФМ: 0000000000874657 [14:03:11]line ФД: 26739 [14:03:11]line ФПД: 171162613385756 [14:03:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T140318&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26739&fm=171162613385756&tin=02508201610067®Number=0000000000091578&sum=60000 [14:03:11]Connected sock=8 [14:03:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 62 78 08 01 81 C9 5A written 0, free lines is 4095 [14:03:11]03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 A8 20 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 79 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 18 00 00 00 00 07 04 06 00 60 EA 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 A6 A7 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 73 68 00 00 35 04 06 00 9B AB E6 C5 0A 1C 23 B4 4E AA C4 65 AC 94 [14:03:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 53 17 47 00 CE 6F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 73 68 00 00 F4 03 04 00 13 4F 12 66 B6 04 01 00 00 D3 15 C0 77 13 79 3F 1F [14:03:11]CommunicateWithHost err = 0 [14:03:11]CheckOFDResponse [14:03:11]1017 (14) - 77093643461234 [14:03:11]1041 (16) - 0000000000874657 [14:03:11]1040 (4) - 26739 [14:03:11]1012 (4) - 07.04.2024 07:45 [14:03:11]1206 (1) - 0 [14:03:11]OFD Sender: Remove packet 26739 [14:03:11]ProducePacketName [14:03:11]name=ofd_packets/00026739 [14:03:11]NVStorageDeleteData [14:03:11]Write to MH i2c: 01 00 00 29 24 4D [14:03:11]Write i2c OK [14:03:11]MH_I2C_Read... [14:03:11]Read from MH i2c: 01 [14:03:11]MH_I2C_Read... [14:03:11]Read from MH i2c: 01 07 00 [14:03:11]MH_I2C_Read... [14:03:11]Read from MH i2c: 01 07 00 29 24 00 00 00 00 00 73 0C D3 [14:03:11]RasterBufferAndPrint [14:03:11]line [14:03:11]line [14:03:11]line [14:03:11]line [14:03:11]line [14:03:11]written 0, free lines is 3190 [14:03:11]MH_Cut [14:03:11]Write to MH i2c: D1 01 00 30 24 01 26 [14:03:11]Write i2c OK [14:03:11]MH_I2C_Read... [14:03:11]Read from MH i2c: D1 [14:03:11]MH_I2C_Read... [14:03:11]Read from MH i2c: D1 01 00 [14:03:11]MH_I2C_Read... [14:03:11]Read from MH i2c: D1 01 00 30 24 00 25 [14:03:11]Write to MH i2c: 01 00 00 31 24 55 [14:03:11]Write i2c OK [14:03:11]MH_I2C_Read... [14:03:12]OFD Sender: No OFD packet to send [14:03:13]*** Cut start [14:03:13]*** Partial cut [14:03:13]*** CUTSNS_PIN = 1 [14:03:13]*** CUTSNS_PIN = 0 [14:03:13]*** Brake cut motor [14:03:13]Read from MH i2c: 01 [14:03:13]MH_I2C_Read... [14:03:13]*** Stop cut motor [14:03:13]*** Cut end [14:03:13]Read from MH i2c: 01 07 00 [14:03:13]MH_I2C_Read... [14:03:13]Read from MH i2c: 01 07 00 31 24 00 00 00 00 00 FF 0F 6A [14:03:13]process_action close_receipt done [14:03:13]requested_data is exist [14:03:13]produce_requested_data [14:03:13]requested_item fm.sn is exist - process it [14:03:13]wFMCommunicate request_size=4 [14:03:13]MH_SAM_APDU [14:03:13]CAPDU: 80 11 00 00 [14:03:13]Write to MH i2c: E2 08 00 32 24 80 11 00 00 00 00 00 00 D0 [14:03:13]Write i2c OK [14:03:13]MH_I2C_Read... [14:03:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:03:13]Read from MH i2c: E2 [14:03:13]MH_I2C_Read... [14:03:13]Read from MH i2c: E2 17 00 [14:03:13]MH_I2C_Read... [14:03:13]Read from MH i2c: E2 17 00 32 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 28 [14:03:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [14:03:13]wFMCommunicate OK [14:03:13]requested_item fd.num is exist - process it [14:03:13]SAM_PROTO_GetFieldsCounters [14:03:13]wFMCommunicate request_size=4 [14:03:13]MH_SAM_APDU [14:03:13]CAPDU: 80 13 00 00 [14:03:13]Write to MH i2c: E2 08 00 33 24 80 13 00 00 00 00 00 00 D3 [14:03:13]Write i2c OK [14:03:13]MH_I2C_Read... [14:03:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:03:13]Read from MH i2c: E2 [14:03:13]MH_I2C_Read... [14:03:13]Read from MH i2c: E2 62 00 [14:03:13]MH_I2C_Read... [14:03:13]Read from MH i2c: E2 62 00 33 24 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 73 68 00 00 0E 04 04 00 39 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 85 [14:03: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 73 68 00 00 0E 04 04 00 39 01 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:03:13]wFMCommunicate OK [14:03:13]SAM_PROTO_GetFieldsCounters done [14:03:13]requested_item shift.num is exist - process it [14:03:13]requested_item shift.opened is exist - process it [14:03:13]req_shift_opened [14:03:13]FM_GetShiftState [14:03:13]SAM_PROTO_GetShiftState [14:03:13]wFMCommunicate request_size=4 [14:03:13]MH_SAM_APDU [14:03:13]CAPDU: 80 13 01 00 [14:03:13]Write to MH i2c: E2 08 00 34 24 80 13 01 00 00 00 00 00 D5 [14:03:13]Write i2c OK [14:03:13]MH_I2C_Read... [14:03:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:03:13]Read from MH i2c: E2 [14:03:13]MH_I2C_Read... [14:03:13]Read from MH i2c: E2 0E 00 [14:03:13]MH_I2C_Read... [14:03:13]Read from MH i2c: E2 0E 00 34 24 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 69 [14:03:13]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [14:03:13]wFMCommunicate OK [14:03:13]SAM_PROTO_GetShiftState done [14:03:13]FM_GetShiftState done [14:03:13]req_shift_opened done [14:03:13]requested_item shift.open_date is exist - process it [14:03:13]req_shift_open_date [14:03:13]req_shift_open_date done [14:03:13]produce_requested_data done [14:03:13]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26739,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [14:03:13]process_action_free close_receipt [14:03:13]json_value_free [14:03:13]json_value_free done [14:03:13]process_json_proto returns [14:03:13]Send response to host [14:03:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26739,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [14:03:13]free response buf [14:03:13]execute_script done [14:03:13]execute_script returns [14:03:13]free content buf [14:03:13]Sock 9.Close socket [14:03:13]Sock 9.Thread stoped [14:03:17]OFD Sender: No OFD packet to send [14:03:22]OFD Sender: No OFD packet to send [14:03:27]OFD Sender: No OFD packet to send [14:03:32]OFD Sender: No OFD packet to send [14:03:36]accept exits with 10 [14:03:36]New connection [14:03:36]New thread 3067014500 created [14:03:36]Thread 3066871140 joined [14:03:36]Waiting for new connection... [14:03:36] Sock 10.Parse request [14:03:36]Sock 10.Check first char [14:03:36]Sock 10.First char is OK [14:03:36]request: POST /json_proto HTTP/1.0 [14:03:36]Method: POST [14:03:36]URL: /json_proto [14:03:36]Method is POST - this is cgi request [14:03:36]url: /json_proto [14:03:36]query_string will be loaded in cgi processing [14:03:36]execute_cgi json_proto POST (null) [14:03:36]execute_cgi path=json_proto method=POST [14:03:36]POST find Content-Length [14:03:36]Host: 172.17.35.3:8080 [14:03:36]Content-Length: 215 [14:03:36]Content-Type: application/json [14:03:36] [14:03:36]POST finish read [14:03:36]Found Content-Length = 215 [14:03:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:03:36]execute_script... [14:03:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:03:36]POST & json_proto [14:03:36]process_json_proto [14:03:36]json parsed OK: [14:03:36]protocol is kg_v1.0 [14:03:36]action value=get_value [14:03:36]process_action get_value [14:03:36]cmd_get_value [14:03:36]process_action get_value done [14:03:36]requested_data is exist [14:03:36]produce_requested_data [14:03:36]requested_item kkm.sn is exist - process it [14:03:36]requested_item kkm.ver is exist - process it [14:03:36]requested_item fm.sn is exist - process it [14:03:36]wFMCommunicate request_size=4 [14:03:36]MH_SAM_APDU [14:03:36]CAPDU: 80 11 00 00 [14:03:36]Write to MH i2c: E2 08 00 35 24 80 11 00 00 00 00 00 00 D3 [14:03:36]Write i2c OK [14:03:36]MH_I2C_Read... [14:03:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:03:36]Read from MH i2c: E2 [14:03:36]MH_I2C_Read... [14:03:36]Read from MH i2c: E2 17 00 [14:03:36]MH_I2C_Read... [14:03:36]Read from MH i2c: E2 17 00 35 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 2B [14:03:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [14:03:36]wFMCommunicate OK [14:03:36]requested_item fd.num is exist - process it [14:03:36]SAM_PROTO_GetFieldsCounters [14:03:36]wFMCommunicate request_size=4 [14:03:36]MH_SAM_APDU [14:03:36]CAPDU: 80 13 00 00 [14:03:36]Write to MH i2c: E2 08 00 36 24 80 13 00 00 00 00 00 00 D6 [14:03:36]Write i2c OK [14:03:36]MH_I2C_Read... [14:03:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:03:36]Read from MH i2c: E2 [14:03:36]MH_I2C_Read... [14:03:36]Read from MH i2c: E2 62 00 [14:03:36]MH_I2C_Read... [14:03:36]Read from MH i2c: E2 62 00 36 24 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 73 68 00 00 0E 04 04 00 39 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 88 [14:03:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 73 68 00 00 0E 04 04 00 39 01 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:03:36]wFMCommunicate OK [14:03:36]SAM_PROTO_GetFieldsCounters done [14:03:36]requested_item shift.num is exist - process it [14:03:36]requested_item shift.opened is exist - process it [14:03:36]req_shift_opened [14:03:36]FM_GetShiftState [14:03:36]SAM_PROTO_GetShiftState [14:03:36]wFMCommunicate request_size=4 [14:03:36]MH_SAM_APDU [14:03:36]CAPDU: 80 13 01 00 [14:03:36]Write to MH i2c: E2 08 00 37 24 80 13 01 00 00 00 00 00 D8 [14:03:36]Write i2c OK [14:03:36]MH_I2C_Read... [14:03:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:03:36]Read from MH i2c: E2 [14:03:36]MH_I2C_Read... [14:03:36]Read from MH i2c: E2 0E 00 [14:03:36]MH_I2C_Read... [14:03:36]Read from MH i2c: E2 0E 00 37 24 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 6C [14:03:36]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [14:03:36]wFMCommunicate OK [14:03:36]SAM_PROTO_GetShiftState done [14:03:36]FM_GetShiftState done [14:03:36]req_shift_opened done [14:03:36]requested_item shift.open_date is exist - process it [14:03:36]req_shift_open_date [14:03:36]req_shift_open_date done [14:03:36]produce_requested_data done [14:03:36]produce_requested_data return {"kkm.sn":"0300000147","kkm.ver":"001","fm.sn":"0000000000874657","fd.num":26739,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [14:03:36]process_action_free get_value [14:03:36]json_value_free [14:03:36]json_value_free done [14:03:36]process_json_proto returns [14:03:36]Send response to host [14:03:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000147","kkm.ver":"001","fm.sn":"0000000000874657","fd.num":26739,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [14:03:36]free response buf [14:03:36]execute_script done [14:03:36]execute_script returns [14:03:36]free content buf [14:03:36]Sock 10.Close socket [14:03:36]Sock 10.Thread stoped [14:03:36]accept exits with 8 [14:03:36]New connection [14:03:36]New thread 3066871140 created [14:03:36]Thread 3067014500 joined [14:03:36]Waiting for new connection... [14:03:36] Sock 8.Parse request [14:03:36]Sock 8.Check first char [14:03:36]Sock 8.First char is OK [14:03:36]request: POST /json_proto HTTP/1.0 [14:03:36]Method: POST [14:03:36]URL: /json_proto [14:03:36]Method is POST - this is cgi request [14:03:36]url: /json_proto [14:03:36]query_string will be loaded in cgi processing [14:03:36]execute_cgi json_proto POST (null) [14:03:36]execute_cgi path=json_proto method=POST [14:03:36]POST find Content-Length [14:03:36]Host: 172.17.35.3:8080 [14:03:36]Content-Length: 331 [14:03:36]Content-Type: application/json [14:03:36] [14:03:36]POST finish read [14:03:36]Found Content-Length = 331 [14:03:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [14:03:36]execute_script... [14:03:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [14:03:36]POST & json_proto [14:03:36]process_json_proto [14:03:36]json parsed OK: [14:03:36]protocol is kg_v1.0 [14:03:36]action value=get_value [14:03:36]process_action get_value [14:03:36]cmd_get_value [14:03:36]process_action get_value done [14:03:36]requested_data is exist [14:03:36]produce_requested_data [14:03:36]requested_item fm.sale.total is exist - process it [14:03:36]SAM_PROTO_GetFMData [14:03:36]wFMCommunicate request_size=4 [14:03:36]MH_SAM_APDU [14:03:36]CAPDU: 80 13 03 00 [14:03:36]Write to MH i2c: E2 08 00 38 24 80 13 03 00 00 00 00 00 DB [14:03:36]Write i2c OK [14:03:36]MH_I2C_Read... [14:03:37]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [14:03:37]Read from MH i2c: E2 [14:03:37]MH_I2C_Read... [14:03:37]Read from MH i2c: E2 FD 00 [14:03:37]MH_I2C_Read... [14:03:37]Read from MH i2c: E2 FD 00 38 24 00 C0 04 85 04 BC 04 6E 04 04 00 01 66 00 00 69 04 A1 00 6F 04 04 00 BF 65 00 00 B1 04 04 00 8A 79 FB 9A 70 04 04 00 F4 58 56 7F 72 04 04 00 96 20 A5 1B 00 04 7D 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 7A 55 76 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 5B 2B 5F 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 99 00 6F 04 04 00 42 00 00 00 B1 04 03 00 A4 6D BB 70 04 03 00 A4 6D BB 72 04 00 00 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 0B E8 13 EF 03 09 00 F6 03 01 00 90 00 B8 [14:03:37]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 01 66 00 00 69 04 A1 00 6F 04 04 00 BF 65 00 00 B1 04 04 00 8A 79 FB 9A 70 04 04 00 F4 58 56 7F 72 04 04 00 96 20 A5 1B 00 04 7D 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 7A 55 76 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 5B 2B 5F 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 99 00 6F 04 04 00 42 00 00 00 B1 04 03 00 A4 6D BB 70 04 03 00 A4 6D BB 72 04 00 00 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 0B E8 13 EF 03 09 00 F6 03 01 00 90 00 [14:03:37]wFMCommunicate OK [14:03:37]wFMCommunicate request_size=4 [14:03:37]MH_SAM_APDU [14:03:37]CAPDU: 80 17 00 00 [14:03:37]Write to MH i2c: E2 08 00 39 24 80 17 00 00 00 00 00 00 DD [14:03:37]Write i2c OK [14:03:37]MH_I2C_Read... [14:03:37]OFD Sender: No OFD packet to send [14:03:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:03:37]Read from MH i2c: E2 [14:03:37]MH_I2C_Read... [14:03:37]Read from MH i2c: E2 FD 00 [14:03:37]MH_I2C_Read... [14:03:37]Read from MH i2c: E2 FD 00 39 24 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 A7 A8 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 90 00 5D [14:03:37]RAPDU: 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 A7 A8 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 90 00 [14:03:37]wFMCommunicate OK [14:03:37]wFMCommunicate request_size=4 [14:03:37]MH_SAM_APDU [14:03:37]CAPDU: 80 17 00 00 [14:03:37]Write to MH i2c: E2 08 00 3A 24 80 17 00 00 00 00 00 00 DE [14:03:37]Write i2c OK [14:03:37]MH_I2C_Read... [14:03:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:03:37]Read from MH i2c: E2 [14:03:37]MH_I2C_Read... [14:03:37]Read from MH i2c: E2 FD 00 [14:03:37]MH_I2C_Read... [14:03:37]Read from MH i2c: E2 FD 00 3A 24 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 81 [14:03:37]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [14:03:37]wFMCommunicate OK [14:03:37]wFMCommunicate request_size=4 [14:03:37]MH_SAM_APDU [14:03:37]CAPDU: 80 17 00 00 [14:03:37]Write to MH i2c: E2 08 00 3B 24 80 17 00 00 00 00 00 00 DF [14:03:37]Write i2c OK [14:03:37]MH_I2C_Read... [14:03:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:03:37]Read from MH i2c: E2 [14:03:37]MH_I2C_Read... [14:03:37]Read from MH i2c: E2 FD 00 [14:03:37]MH_I2C_Read... [14:03:37]Read from MH i2c: E2 FD 00 3B 24 00 01 00 04 F7 03 00 00 EF 03 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 90 00 57 [14:03:38]RAPDU: 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:03:38]wFMCommunicate OK [14:03:38]wFMCommunicate request_size=4 [14:03:38]MH_SAM_APDU [14:03:38]CAPDU: 80 17 00 00 [14:03:38]Write to MH i2c: E2 08 00 3C 24 80 17 00 00 00 00 00 00 E0 [14:03:38]Write i2c OK [14:03:38]MH_I2C_Read... [14:03:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [14:03:38]Read from MH i2c: E2 [14:03:38]MH_I2C_Read... [14:03:38]Read from MH i2c: E2 DD 00 [14:03:38]MH_I2C_Read... [14:03:38]Read from MH i2c: E2 DD 00 3C 24 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [14:03:38]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:03:38]wFMCommunicate OK [14:03:38]SAM_PROTO_GetFMData done [14:03:38]requested_item fm.sale_refund.total is exist - process it [14:03:38]requested_item fm.buy.total is exist - process it [14:03:38]requested_item shift.sale.total is exist - process it [14:03:38]SAM_PROTO_GetShiftData [14:03:38]wFMCommunicate request_size=4 [14:03:38]MH_SAM_APDU [14:03:38]CAPDU: 80 13 02 00 [14:03:38]Write to MH i2c: E2 08 00 3D 24 80 13 02 00 00 00 00 00 DF [14:03:38]Write i2c OK [14:03:38]MH_I2C_Read... [14:03:38]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:03:38]Read from MH i2c: E2 [14:03:38]MH_I2C_Read... [14:03:38]Read from MH i2c: E2 FD 00 [14:03:38]MH_I2C_Read... [14:03:38]Read from MH i2c: E2 FD 00 3D 24 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 D9 FD 3C 70 04 03 00 6C 2E 1F 72 04 03 00 6D CF 1D 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 7A 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 31 8A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [14:03:38]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 D9 FD 3C 70 04 03 00 6C 2E 1F 72 04 03 00 6D CF 1D 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 7A 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 31 8A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [14:03:38]wFMCommunicate OK [14:03:38]wFMCommunicate request_size=4 [14:03:38]MH_SAM_APDU [14:03:38]CAPDU: 80 17 00 00 [14:03:38]Write to MH i2c: E2 08 00 3E 24 80 17 00 00 00 00 00 00 E2 [14:03:38]Write i2c OK [14:03:38]MH_I2C_Read... [14:03:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:03:38]Read from MH i2c: E2 [14:03:38]MH_I2C_Read... [14:03:38]Read from MH i2c: E2 FD 00 [14:03:38]MH_I2C_Read... [14:03:38]Read from MH i2c: E2 FD 00 3E 24 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 04 [14:03:39]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [14:03:39]wFMCommunicate OK [14:03:39]wFMCommunicate request_size=4 [14:03:39]MH_SAM_APDU [14:03:39]CAPDU: 80 17 00 00 [14:03:39]Write to MH i2c: E2 08 00 3F 24 80 17 00 00 00 00 00 00 E3 [14:03:39]Write i2c OK [14:03:39]MH_I2C_Read... [14:03:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:03:39]Read from MH i2c: E2 [14:03:39]MH_I2C_Read... [14:03:39]Read from MH i2c: E2 FD 00 [14:03:39]MH_I2C_Read... [14:03:39]Read from MH i2c: E2 FD 00 3F 24 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 9A [14:03:39]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [14:03:39]wFMCommunicate OK [14:03:39]wFMCommunicate request_size=4 [14:03:39]MH_SAM_APDU [14:03:39]CAPDU: 80 17 00 00 [14:03:39]Write to MH i2c: E2 08 00 40 24 80 17 00 00 00 00 00 00 E4 [14:03:39]Write i2c OK [14:03:39]MH_I2C_Read... [14:03:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:03:39]Read from MH i2c: E2 [14:03:39]MH_I2C_Read... [14:03:39]Read from MH i2c: E2 FD 00 [14:03:39]MH_I2C_Read... [14:03:39]Read from MH i2c: E2 FD 00 40 24 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 56 [14:03:39]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [14:03:39]wFMCommunicate OK [14:03:39]wFMCommunicate request_size=4 [14:03:39]MH_SAM_APDU [14:03:39]CAPDU: 80 17 00 00 [14:03:39]Write to MH i2c: E2 08 00 41 24 80 17 00 00 00 00 00 00 E5 [14:03:39]Write i2c OK [14:03:39]MH_I2C_Read... [14:03:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [14:03:39]Read from MH i2c: E2 [14:03:39]MH_I2C_Read... [14:03:39]Read from MH i2c: E2 CB 00 [14:03:39]MH_I2C_Read... [14:03:39]Read from MH i2c: E2 CB 00 41 24 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 CE [14:03:39]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 [14:03:39]wFMCommunicate OK [14:03:39]SAM_PROTO_GetShiftData done [14:03:39]requested_item shift.sale.total_cash is exist - process it [14:03:39]requested_item shift.sale_refund.total is exist - process it [14:03:39]requested_item shift.sale_refund.total_cash is exist - process it [14:03:39]requested_item shift.buy.total is exist - process it [14:03:39]requested_item shift.buy.total_cash is exist - process it [14:03:39]produce_requested_data done [14:03:39]produce_requested_data return {"fm.sale.total":26001719.14,"fm.sale_refund.total":122833.00,"fm.buy.total":0.00,"shift.sale.total":39971.45,"shift.sale.total_cash":20435.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [14:03:39]process_action_free get_value [14:03:39]json_value_free [14:03:39]json_value_free done [14:03:39]process_json_proto returns [14:03:39]Send response to host [14:03:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":26001719.14,"fm.sale_refund.total":122833.00,"fm.buy.total":0.00,"shift.sale.total":39971.45,"shift.sale.total_cash":20435.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [14:03:39]free response buf [14:03:39]execute_script done [14:03:39]execute_script returns [14:03:39]free content buf [14:03:39]Sock 8.Close socket [14:03:39]Sock 8.Thread stoped [14:03:42]OFD Sender: No OFD packet to send [14:03:47]OFD Sender: No OFD packet to send [14:03:52]OFD Sender: No OFD packet to send [14:03:57]OFD Sender: No OFD packet to send [14:04:02]OFD Sender: No OFD packet to send [14:04:07]OFD Sender: No OFD packet to send [14:04:12]OFD Sender: No OFD packet to send [14:04:17]OFD Sender: No OFD packet to send [14:04:22]OFD Sender: No OFD packet to send [14:04:27]OFD Sender: No OFD packet to send [14:04:32]OFD Sender: No OFD packet to send [14:04:37]OFD Sender: No OFD packet to send [14:04:42]OFD Sender: No OFD packet to send [14:04:47]OFD Sender: No OFD packet to send [14:04:52]OFD Sender: No OFD packet to send [14:04:57]OFD Sender: No OFD packet to send [14:05:02]OFD Sender: No OFD packet to send [14:05:07]OFD Sender: No OFD packet to send [14:05:12]OFD Sender: No OFD packet to send [14:05:17]OFD Sender: No OFD packet to send [14:05:22]OFD Sender: No OFD packet to send [14:05:27]OFD Sender: No OFD packet to send [14:05:32]OFD Sender: No OFD packet to send [14:05:37]OFD Sender: No OFD packet to send [14:05:42]OFD Sender: No OFD packet to send [14:05:47]OFD Sender: No OFD packet to send [14:05:52]OFD Sender: No OFD packet to send [14:05:57]OFD Sender: No OFD packet to send [14:06:02]OFD Sender: No OFD packet to send [14:06:07]OFD Sender: No OFD packet to send [14:06:12]OFD Sender: No OFD packet to send [14:06:17]OFD Sender: No OFD packet to send [14:06:22]OFD Sender: No OFD packet to send [14:06:27]OFD Sender: No OFD packet to send [14:06:32]OFD Sender: No OFD packet to send [14:06:37]OFD Sender: No OFD packet to send [14:06:42]OFD Sender: No OFD packet to send [14:06:47]OFD Sender: No OFD packet to send [14:06:52]OFD Sender: No OFD packet to send [14:06:57]OFD Sender: No OFD packet to send [14:07:02]OFD Sender: No OFD packet to send [14:07:07]OFD Sender: No OFD packet to send [14:07:12]OFD Sender: No OFD packet to send [14:07:17]OFD Sender: No OFD packet to send [14:07:22]OFD Sender: No OFD packet to send [14:07:27]OFD Sender: No OFD packet to send [14:07:32]OFD Sender: No OFD packet to send [14:07:37]OFD Sender: No OFD packet to send [14:07:42]OFD Sender: No OFD packet to send [14:07:47]OFD Sender: No OFD packet to send [14:07:52]OFD Sender: No OFD packet to send [14:07:57]OFD Sender: No OFD packet to send [14:08:02]OFD Sender: No OFD packet to send [14:08:07]OFD Sender: No OFD packet to send [14:08:12]OFD Sender: No OFD packet to send [14:08:17]OFD Sender: No OFD packet to send [14:08:22]OFD Sender: No OFD packet to send [14:08:27]OFD Sender: No OFD packet to send [14:08:32]OFD Sender: No OFD packet to send [14:08:37]OFD Sender: No OFD packet to send [14:08:42]OFD Sender: No OFD packet to send [14:08:47]OFD Sender: No OFD packet to send [14:08:52]OFD Sender: No OFD packet to send [14:08:57]OFD Sender: No OFD packet to send [14:09:02]OFD Sender: No OFD packet to send [14:09:07]OFD Sender: No OFD packet to send [14:09:12]OFD Sender: No OFD packet to send [14:09:17]OFD Sender: No OFD packet to send [14:09:22]OFD Sender: No OFD packet to send [14:09:27]OFD Sender: No OFD packet to send [14:09:32]OFD Sender: No OFD packet to send [14:09:37]OFD Sender: No OFD packet to send [14:09:42]OFD Sender: No OFD packet to send [14:09:47]OFD Sender: No OFD packet to send [14:09:52]OFD Sender: No OFD packet to send [14:09:57]OFD Sender: No OFD packet to send [14:10:02]OFD Sender: No OFD packet to send [14:10:07]OFD Sender: No OFD packet to send [14:10:12]OFD Sender: No OFD packet to send [14:10:17]OFD Sender: No OFD packet to send [14:10:22]OFD Sender: No OFD packet to send [14:10:27]OFD Sender: No OFD packet to send [14:10:32]OFD Sender: No OFD packet to send [14:10:37]OFD Sender: No OFD packet to send [14:10:42]OFD Sender: No OFD packet to send [14:10:47]OFD Sender: No OFD packet to send [14:10:52]OFD Sender: No OFD packet to send [14:10:57]OFD Sender: No OFD packet to send [14:11:02]OFD Sender: No OFD packet to send [14:11:07]OFD Sender: No OFD packet to send [14:11:12]OFD Sender: No OFD packet to send [14:11:17]OFD Sender: No OFD packet to send [14:11:22]OFD Sender: No OFD packet to send [14:11:27]OFD Sender: No OFD packet to send [14:11:32]OFD Sender: No OFD packet to send [14:11:37]OFD Sender: No OFD packet to send [14:11:42]OFD Sender: No OFD packet to send [14:11:47]OFD Sender: No OFD packet to send [14:11:52]OFD Sender: No OFD packet to send [14:11:57]OFD Sender: No OFD packet to send [14:12:02]OFD Sender: No OFD packet to send [14:12:07]OFD Sender: No OFD packet to send [14:12:12]OFD Sender: No OFD packet to send [14:12:17]OFD Sender: No OFD packet to send [14:12:22]OFD Sender: No OFD packet to send [14:12:27]OFD Sender: No OFD packet to send [14:12:32]OFD Sender: No OFD packet to send [14:12:37]OFD Sender: No OFD packet to send [14:12:42]OFD Sender: No OFD packet to send [14:12:47]OFD Sender: No OFD packet to send [14:12:52]OFD Sender: No OFD packet to send [14:12:57]OFD Sender: No OFD packet to send [14:13:02]OFD Sender: No OFD packet to send [14:13:07]OFD Sender: No OFD packet to send [14:13:12]OFD Sender: No OFD packet to send [14:13:17]OFD Sender: No OFD packet to send [14:13:22]OFD Sender: No OFD packet to send [14:13:27]OFD Sender: No OFD packet to send [14:13:32]OFD Sender: No OFD packet to send [14:13:37]OFD Sender: No OFD packet to send [14:13:42]OFD Sender: No OFD packet to send [14:13:47]OFD Sender: No OFD packet to send [14:13:52]OFD Sender: No OFD packet to send [14:13:57]OFD Sender: No OFD packet to send [14:14:02]OFD Sender: No OFD packet to send [14:14:07]OFD Sender: No OFD packet to send [14:14:12]OFD Sender: No OFD packet to send [14:14:17]OFD Sender: No OFD packet to send [14:14:22]OFD Sender: No OFD packet to send [14:14:27]OFD Sender: No OFD packet to send [14:14:32]OFD Sender: No OFD packet to send [14:14:37]OFD Sender: No OFD packet to send [14:14:42]OFD Sender: No OFD packet to send [14:14:47]OFD Sender: No OFD packet to send [14:14:52]OFD Sender: No OFD packet to send [14:14:57]OFD Sender: No OFD packet to send [14:15:02]OFD Sender: No OFD packet to send [14:15:07]OFD Sender: No OFD packet to send [14:15:12]OFD Sender: No OFD packet to send [14:15:17]OFD Sender: No OFD packet to send [14:15:22]OFD Sender: No OFD packet to send [14:15:27]OFD Sender: No OFD packet to send [14:15:32]OFD Sender: No OFD packet to send [14:15:37]OFD Sender: No OFD packet to send [14:15:42]OFD Sender: No OFD packet to send [14:15:47]OFD Sender: No OFD packet to send [14:15:52]OFD Sender: No OFD packet to send [14:15:57]OFD Sender: No OFD packet to send [14:16:02]OFD Sender: No OFD packet to send [14:16:07]OFD Sender: No OFD packet to send [14:16:12]OFD Sender: No OFD packet to send [14:16:17]OFD Sender: No OFD packet to send [14:16:22]OFD Sender: No OFD packet to send [14:16:27]OFD Sender: No OFD packet to send [14:16:32]OFD Sender: No OFD packet to send [14:16:37]OFD Sender: No OFD packet to send [14:16:42]OFD Sender: No OFD packet to send [14:16:47]OFD Sender: No OFD packet to send [14:16:52]OFD Sender: No OFD packet to send [14:16:58]OFD Sender: No OFD packet to send [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:33]OFD Sender: No OFD packet to send [14:18:38]OFD Sender: No OFD packet to send [14:18:43]OFD Sender: No OFD packet to send [14:18:48]OFD Sender: No OFD packet to send [14:18:53]OFD Sender: No OFD packet to send [14:18:58]OFD Sender: No OFD packet to send [14:19:03]OFD Sender: No OFD packet to send [14:19:08]OFD Sender: No OFD packet to send [14:19:13]OFD Sender: No OFD packet to send [14:19:18]OFD Sender: No OFD packet to send [14:19:23]OFD Sender: No OFD packet to send [14:19:28]OFD Sender: No OFD packet to send [14:19:33]OFD Sender: No OFD packet to send [14:19:38]OFD Sender: No OFD packet to send [14:19:43]OFD Sender: No OFD packet to send [14:19:48]OFD Sender: No OFD packet to send [14:19:53]OFD Sender: No OFD packet to send [14:19:58]OFD Sender: No OFD packet to send [14:20:03]OFD Sender: No OFD packet to send [14:20:08]OFD Sender: No OFD packet to send [14:20:13]OFD Sender: No OFD packet to send [14:20:18]OFD Sender: No OFD packet to send [14:20:23]OFD Sender: No OFD packet to send [14:20:28]OFD Sender: No OFD packet to send [14:20:33]OFD Sender: No OFD packet to send [14:20:38]OFD Sender: No OFD packet to send [14:20:43]OFD Sender: No OFD packet to send [14:20:48]OFD Sender: No OFD packet to send [14:20:53]OFD Sender: No OFD packet to send [14:20:58]OFD Sender: No OFD packet to send [14:21:03]OFD Sender: No OFD packet to send [14:21:08]OFD Sender: No OFD packet to send [14:21:13]OFD Sender: No OFD packet to send [14:21:18]OFD Sender: No OFD packet to send [14:21:23]OFD Sender: No OFD packet to send [14:21:28]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:48]OFD Sender: No OFD packet to send [14:21:53]OFD Sender: No OFD packet to send [14:21:58]OFD Sender: No OFD packet to send [14:22:03]OFD Sender: No OFD packet to send [14:22:08]OFD Sender: No OFD packet to send [14:22:13]OFD Sender: No OFD packet to send [14:22:18]OFD Sender: No OFD packet to send [14:22:23]OFD Sender: No OFD packet to send [14:22:28]OFD Sender: No OFD packet to send [14:22:33]OFD Sender: No OFD packet to send [14:22:38]OFD Sender: No OFD packet to send [14:22:43]OFD Sender: No OFD packet to send [14:22:48]OFD Sender: No OFD packet to send [14:22:53]OFD Sender: No OFD packet to send [14:22:58]OFD Sender: No OFD packet to send [14:23:03]OFD Sender: No OFD packet to send [14:23:08]OFD Sender: No OFD packet to send [14:23:13]OFD Sender: No OFD packet to send [14:23:18]OFD Sender: No OFD packet to send [14:23:23]OFD Sender: No OFD packet to send [14:23:28]OFD Sender: No OFD packet to send [14:23:33]OFD Sender: No OFD packet to send [14:23:38]OFD Sender: No OFD packet to send [14:23:43]OFD Sender: No OFD packet to send [14:23:48]OFD Sender: No OFD packet to send [14:23:53]OFD Sender: No OFD packet to send [14:23:58]OFD Sender: No OFD packet to send [14:24:03]OFD Sender: No OFD packet to send [14:24:08]OFD Sender: No OFD packet to send [14:24:13]OFD Sender: No OFD packet to send [14:24:18]OFD Sender: No OFD packet to send [14:24:23]OFD Sender: No OFD packet to send [14:24:28]OFD Sender: No OFD packet to send [14:24:33]OFD Sender: No OFD packet to send [14:24:38]OFD Sender: No OFD packet to send [14:24:43]OFD Sender: No OFD packet to send [14:24:48]OFD Sender: No OFD packet to send [14:24:53]OFD Sender: No OFD packet to send [14:24:58]OFD Sender: No OFD packet to send [14:25:03]OFD Sender: No OFD packet to send [14:25:08]OFD Sender: No OFD packet to send [14:25:13]OFD Sender: No OFD packet to send [14:25:18]OFD Sender: No OFD packet to send [14:25:23]OFD Sender: No OFD packet to send [14:25:28]OFD Sender: No OFD packet to send [14:25:33]OFD Sender: No OFD packet to send [14:25:38]OFD Sender: No OFD packet to send [14:25:43]OFD Sender: No OFD packet to send [14:25:48]OFD Sender: No OFD packet to send [14:25:53]OFD Sender: No OFD packet to send [14:25:58]OFD Sender: No OFD packet to send [14:26:03]OFD Sender: No OFD packet to send [14:26:08]OFD Sender: No OFD packet to send [14:26:13]OFD Sender: No OFD packet to send [14:26:18]OFD Sender: No OFD packet to send [14:26:23]OFD Sender: No OFD packet to send [14:26:28]OFD Sender: No OFD packet to send [14:26:33]OFD Sender: No OFD packet to send [14:26:38]OFD Sender: No OFD packet to send [14:26:43]OFD Sender: No OFD packet to send [14:26:48]OFD Sender: No OFD packet to send [14:26:53]OFD Sender: No OFD packet to send [14:26:58]OFD Sender: No OFD packet to send [14:27:03]OFD Sender: No OFD packet to send [14:27:08]OFD Sender: No OFD packet to send [14:27:13]OFD Sender: No OFD packet to send [14:27:18]OFD Sender: No OFD packet to send [14:27:23]OFD Sender: No OFD packet to send [14:27:28]OFD Sender: No OFD packet to send [14:27:33]OFD Sender: No OFD packet to send [14:27:38]OFD Sender: No OFD packet to send [14:27:43]OFD Sender: No OFD packet to send [14:27:48]OFD Sender: No OFD packet to send [14:27:53]OFD Sender: No OFD packet to send [14:27:58]OFD Sender: No OFD packet to send [14:28:03]OFD Sender: No OFD packet to send [14:28:08]OFD Sender: No OFD packet to send [14:28:13]OFD Sender: No OFD packet to send [14:28:18]OFD Sender: No OFD packet to send [14:28:23]OFD Sender: No OFD packet to send [14:28:28]OFD Sender: No OFD packet to send [14:28:33]OFD Sender: No OFD packet to send [14:28:38]OFD Sender: No OFD packet to send [14:28:43]OFD Sender: No OFD packet to send [14:28:48]OFD Sender: No OFD packet to send [14:28:53]OFD Sender: No OFD packet to send [14:28:58]OFD Sender: No OFD packet to send [14:29:03]OFD Sender: No OFD packet to send [14:29:08]OFD Sender: No OFD packet to send [14:29:13]OFD Sender: No OFD packet to send [14:29:18]OFD Sender: No OFD packet to send [14:29:23]OFD Sender: No OFD packet to send [14:29:28]OFD Sender: No OFD packet to send [14:29:33]OFD Sender: No OFD packet to send [14:29:38]OFD Sender: No OFD packet to send [14:29:43]OFD Sender: No OFD packet to send [14:29:48]OFD Sender: No OFD packet to send [14:29:53]OFD Sender: No OFD packet to send [14:29:58]OFD Sender: No OFD packet to send [14:30:03]OFD Sender: No OFD packet to send [14:30:08]OFD Sender: No OFD packet to send [14:30:13]OFD Sender: No OFD packet to send [14:30:18]OFD Sender: No OFD packet to send [14:30:23]OFD Sender: No OFD packet to send [14:30:28]OFD Sender: No OFD packet to send [14:30:33]OFD Sender: No OFD packet to send [14:30:38]OFD Sender: No OFD packet to send [14:30:43]OFD Sender: No OFD packet to send [14:30:48]OFD Sender: No OFD packet to send [14:30:53]OFD Sender: No OFD packet to send [14:30:58]OFD Sender: No OFD packet to send [14:31:03]OFD Sender: No OFD packet to send [14:31:08]OFD Sender: No OFD packet to send [14:31:13]OFD Sender: No OFD packet to send [14:31:16]accept exits with 9 [14:31:16]New connection [14:31:16]New thread 3067014500 created [14:31:16]Thread 3066871140 joined [14:31:16]Waiting for new connection... [14:31:16] Sock 9.Parse request [14:31:16]Sock 9.Check first char [14:31:16]Sock 9.First char is OK [14:31:16]request: POST /json_proto HTTP/1.0 [14:31:16]Method: POST [14:31:16]URL: /json_proto [14:31:16]Method is POST - this is cgi request [14:31:16]url: /json_proto [14:31:16]query_string will be loaded in cgi processing [14:31:16]execute_cgi json_proto POST (null) [14:31:16]execute_cgi path=json_proto method=POST [14:31:16]POST find Content-Length [14:31:16]Host: 172.17.35.3:8080 [14:31:16]Content-Length: 682 [14:31:16]Content-Type: application/json [14:31:16] [14:31:16]POST finish read [14:31:16]Found Content-Length = 682 [14:31:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359483", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 47.320, "sum" : 3000.09, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 3000.00, "total" : 3000.00, "payments": [ { "type": 0, "sum" : 3000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:31:16]execute_script... [14:31: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 : (1)359483", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 47.320, "sum" : 3000.09, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 3000.00, "total" : 3000.00, "payments": [ { "type": 0, "sum" : 3000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:31:16]POST & json_proto [14:31:16]process_json_proto [14:31:16]json parsed OK: [14:31:16]protocol is kg_v1.0 [14:31:16]action value=close_receipt [14:31:16]process_action close_receipt [14:31:16]cmd_close_receipt [14:31:16]MH_GetDate [14:31:16]Write to MH i2c: F0 00 00 42 24 55 [14:31:16]Write i2c OK [14:31:16]MH_I2C_Read... [14:31:16]Read from MH i2c: F0 [14:31:16]MH_I2C_Read... [14:31:16]Read from MH i2c: F0 09 00 [14:31:16]MH_I2C_Read... [14:31:16]Read from MH i2c: F0 09 00 42 24 00 3E AE 12 66 2B 11 66 64 C8 [14:31:16]GetLastDocTimeStamp 1712498598 [14:31:16]current date 1712500286 [14:31:16]FM_GetShiftState [14:31:16]SAM_PROTO_GetShiftState [14:31:16]wFMCommunicate request_size=4 [14:31:16]MH_SAM_APDU [14:31:16]CAPDU: 80 13 01 00 [14:31:16]Write to MH i2c: E2 08 00 43 24 80 13 01 00 00 00 00 00 E4 [14:31:16]Write i2c OK [14:31:16]MH_I2C_Read... [14:31:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:31:17]Read from MH i2c: E2 [14:31:17]MH_I2C_Read... [14:31:17]Read from MH i2c: E2 0E 00 [14:31:17]MH_I2C_Read... [14:31:17]Read from MH i2c: E2 0E 00 43 24 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 78 [14:31:17]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [14:31:17]wFMCommunicate OK [14:31:17]SAM_PROTO_GetShiftState done [14:31:17]FM_GetShiftState done [14:31:17]opened in 1712450087 [14:31:17]opened+sec_in_day 1712536487 [14:31:17]quantity*price = 300008 [14:31:17]sum+1 = 300010 [14:31:17]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.09 ИТОГО: 3000.00 Внесено: 3000.00 СДАЧА: 0.00 НСП 1% : 26.55 НДС 12% : 318.59 Наличными: 3000.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 39 07.04.2024 14:31 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26740 ФПД: 74019435858716 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T143126&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26740&fm=74019435858716&tin=02508201610067®Number=0000000000091578&sum=300000 [14:31:18]StoreToDocumentArchive [14:31:18]shift 313 fd 26740 [14:31:18]save to /storage/0313/doc_00026740 [14:31:18]save last doc name /storage/0313/doc_00026740 to /storage/kkm_last_doc_name [14:31:18]save OK [14:31:18]Clear old archive folders... [14:31:18]ProcessDocumentItem done err = 0, tmpTLVsize=251 [14:31:18]tlvbuf is B6F64700 [14:31:18]SAM_PROTO_ClearQueue [14:31:18]wFMCommunicate request_size=4 [14:31:18]MH_SAM_APDU [14:31:18]CAPDU: 80 09 00 00 [14:31:18]Write to MH i2c: E2 08 00 50 24 80 09 00 00 00 00 00 00 E6 [14:31:18]Write i2c OK [14:31:18]MH_I2C_Read... [14:31:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:31:18]Read from MH i2c: E2 [14:31:18]MH_I2C_Read... [14:31:18]Read from MH i2c: E2 03 00 [14:31:18]MH_I2C_Read... [14:31:18]Read from MH i2c: E2 03 00 50 24 00 90 00 E8 [14:31:18]RAPDU: 90 00 [14:31:18]wFMCommunicate OK [14:31:18]SAM_PROTO_ClearQueue done [14:31:18]KKMCreateOFDPacket [14:31:18]OFDProtocolAddRootSTLVToBuf [14:31:18]FM_MakeSignedData [14:31:18]FM_MakeSignedData [14:31:18]SAM_PROTO_SignData [14:31:18]wFMCommunicate request_size=4 [14:31:18]MH_SAM_APDU [14:31:18]CAPDU: 80 0D 01 02 [14:31:18]Write to MH i2c: E2 08 00 51 24 80 0D 01 02 00 00 00 00 EE [14:31:18]Write i2c OK [14:31:18]MH_I2C_Read... [14:31:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:31:18]Read from MH i2c: E2 [14:31:18]MH_I2C_Read... [14:31:18]Read from MH i2c: E2 03 00 [14:31:18]MH_I2C_Read... [14:31:18]Read from MH i2c: E2 03 00 51 24 00 90 00 E9 [14:31:18]RAPDU: 90 00 [14:31:18]wFMCommunicate OK [14:31:18]wFMCommunicate request_size=255 [14:31:18]MH_SAM_APDU [14:31:18]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 D8 B8 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 E9 93 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 7C 00 00 00 00 07 04 06 00 E0 93 04 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 3E AE 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 74 68 00 00 35 04 06 00 43 [14:31:18]Write to MH i2c: E2 02 01 52 24 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 D8 B8 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 E9 93 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 7C 00 00 00 00 07 04 06 00 E0 93 04 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 3E AE 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 74 68 00 00 35 04 06 00 43 00 00 18 [14:31:18]Write i2c OK [14:31:18]MH_I2C_Read... [14:31:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:31:18]Read from MH i2c: E2 [14:31:18]MH_I2C_Read... [14:31:18]Read from MH i2c: E2 03 00 [14:31:18]MH_I2C_Read... [14:31:18]Read from MH i2c: E2 03 00 52 24 00 90 00 EA [14:31:18]RAPDU: 90 00 [14:31:18]wFMCommunicate OK [14:31:18]wFMCommunicate request_size=10 [14:31:18]MH_SAM_APDU [14:31:18]CAPDU: 80 0D 02 02 05 51 FE 2E 4B 1C [14:31:18]Write to MH i2c: E2 0D 00 53 24 80 0D 02 02 05 00 51 FE 2E 4B 1C 00 00 DF [14:31:18]Write i2c OK [14:31:18]MH_I2C_Read... [14:31:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:31:18]Read from MH i2c: E2 [14:31:18]MH_I2C_Read... [14:31:18]Read from MH i2c: E2 03 00 [14:31:18]MH_I2C_Read... [14:31:18]Read from MH i2c: E2 03 00 53 24 00 90 00 EB [14:31:18]RAPDU: 90 00 [14:31:18]wFMCommunicate OK [14:31:18]wFMCommunicate request_size=4 [14:31:18]MH_SAM_APDU [14:31:18]CAPDU: 80 0D 03 02 [14:31:18]Write to MH i2c: E2 08 00 54 24 80 0D 03 02 00 00 00 00 F3 [14:31:18]Write i2c OK [14:31:18]MH_I2C_Read... [14:31:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:31:18]Read from MH i2c: E2 [14:31:18]MH_I2C_Read... [14:31:18]Read from MH i2c: E2 0B 00 [14:31:18]MH_I2C_Read... [14:31:18]Read from MH i2c: E2 0B 00 54 24 00 EE CF 1C CD EA 95 F7 04 90 00 14 [14:31:18]RAPDU: EE CF 1C CD EA 95 F7 04 90 00 [14:31:18]wFMCommunicate OK [14:31:18]SAM_PROTO_SignData done [14:31:18]FM_MakeSignedData done [14:31:18]CreateOFDProtocolMessage [14:31:18]wFMCommunicate request_size=4 [14:31:18]MH_SAM_APDU [14:31:18]CAPDU: 80 11 00 00 [14:31:18]Write to MH i2c: E2 08 00 55 24 80 11 00 00 00 00 00 00 F3 [14:31:18]Write i2c OK [14:31:18]MH_I2C_Read... [14:31:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:31:18]Read from MH i2c: E2 [14:31:18]MH_I2C_Read... [14:31:18]Read from MH i2c: E2 17 00 [14:31:18]MH_I2C_Read... [14:31:18]Read from MH i2c: E2 17 00 55 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 4B [14:31:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [14:31:18]wFMCommunicate OK [14:31:18]CreateOFDProtocolMessage done [14:31:18]OFDSenderStorePacket 26740 [14:31:18]StoreOFDPacket docnum=26740 [14:31:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 54 EF 07 01 8B 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 D8 B8 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 E9 93 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 7C 00 00 00 00 07 04 06 00 E0 93 04 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 3E AE 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 74 68 00 00 35 04 06 00 43 51 FE 2E 4B 1C EE CF 1C CD EA 95 F7 04 [14:31:18]CheckFolder [14:31:18]dirname=/storage/ofd_packets [14:31:18]CheckFolder done [14:31:18]ProducePacketName [14:31:18]name=ofd_packets/00026740 [14:31:18]NVStorageSaveData ofd_packets/00026740 [14:31:18]File name is /storage/ofd_packets/00026740 [14:31:18]Write 301 bytes [14:31:18]NVStorageSaveData done [14:31:18]OFDSenderStorePacket done [14:31:18]KKMCreateOFDPacket done [14:31:18]NVStorageSaveData kkm_last_timestamp [14:31:18]File name is /storage/kkm_last_timestamp [14:31:18]Write 4 bytes [14:31:18]NVStorageSaveData done [14:31:18]ExternCall_PrintAddStr [14:31:18]wPrintStart [14:31:18]Write to MH i2c: 01 00 00 56 24 7A [14:31:18]Write i2c OK [14:31:18]MH_I2C_Read... [14:31:18]Read from MH i2c: 01 [14:31:18]MH_I2C_Read... [14:31:18]Read from MH i2c: 01 07 00 [14:31:18]MH_I2C_Read... [14:31:18]Read from MH i2c: 01 07 00 56 24 00 00 00 00 00 FF 0F 8F [14:31:18]RasterBufferAndPrint [14:31:18]line Счет N : (1)359483 [14:31:18]line ИНН: 02508201610067 [14:31:18]line Контрольно-Кассовый Чек [14:31:18]line ПРОДАЖА [14:31:18]line ТРК (МРК, ГНК) : 61 [14:31:18]line Товар: 2710124130 [14:31:18]line Аи-92-К-5 [14:31:18]line 47.320 * 63.40 [14:31:18]line = 3000.09 [14:31:18]line НДС 12% НСП 1% [14:31:18]line > о реализуемом товаре [14:31:18]line ОКРУГЛЕНИЕ: -0.09 [14:31:18]line ИТОГО: 3000.00 [14:31:18]line Внесено: 3000.00 [14:31:18]line СДАЧА: 0.00 [14:31:18]line НСП 1% : 26.55 [14:31:18]line НДС 12% : 318.59 [14:31:18]line Наличными: 3000.00 [14:31:18]line Безнал.: 0.00 [14:31:18]line Место: АЗС № 122 "Партнер Нефть" [14:31:18]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [14:31:18]line СНО: Общий режим [14:31:18]line Чек 39 07.04.2024 14:31 [14:31:18]line Смена: 313 ФФД: 1.0 [14:31:18]line ЗНМ: 0300000147 [14:31:18]line РНМ: 0000000000091578 [14:31:18]line Версия ККМ: 001 [14:31:18]line ФМ: 0000000000874657 [14:31:18]line ФД: 26740 [14:31:18]line ФПД: 74019435858716 [14:31:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T143126&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26740&fm=74019435858716&tin=02508201610067®Number=0000000000091578&sum=300000 [14:31:19]OFD Sender: Processing packet 26740 [packets to send 44, broken 43] [14:31:19]ProducePacketName [14:31:19]name=ofd_packets/00026740 [14:31:19]OFD Sender: To server: pG, [14:31:19]CommunicateWithHost lk.salyk.kg:30040 [14:31:19]ConnectInit lk.salyk.kg [14:31:19]written 0, free lines is 4095 [14:31:19]Connected sock=10 [14:31: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 36 35 37 0F 01 00 00 54 EF 07 01 8B 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 D8 B8 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 E9 93 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 7C 00 00 00 00 07 04 06 00 E0 93 04 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 3E AE 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 74 68 00 00 35 04 06 00 43 51 FE 2E 4B 1C EE CF 1C CD EA 95 F7 04 [14:31:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 B6 4A 47 00 4A 84 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 37 10 04 04 00 74 68 00 00 F4 03 04 00 AB 55 12 66 B6 04 01 00 00 A0 73 8D 1D 91 18 FD DD [14:31:19]CommunicateWithHost err = 0 [14:31:19]CheckOFDResponse [14:31:19]1017 (14) - 77093643461234 [14:31:19]1041 (16) - 0000000000874657 [14:31:19]1040 (4) - 26740 [14:31:19]1012 (4) - 07.04.2024 08:13 [14:31:19]1206 (1) - 0 [14:31:19]OFD Sender: Remove packet 26740 [14:31:19]ProducePacketName [14:31:19]name=ofd_packets/00026740 [14:31:19]NVStorageDeleteData [14:31:19]Write to MH i2c: 01 00 00 81 24 A5 [14:31:19]Write i2c OK [14:31:19]MH_I2C_Read... [14:31:19]Read from MH i2c: 01 [14:31:19]MH_I2C_Read... [14:31:19]Read from MH i2c: 01 07 00 [14:31:19]MH_I2C_Read... [14:31:19]Read from MH i2c: 01 07 00 81 24 00 00 00 00 00 71 0C 29 [14:31:19]RasterBufferAndPrint [14:31:19]line [14:31:19]line [14:31:19]line [14:31:19]line [14:31:19]line [14:31:19]written 0, free lines is 3187 [14:31:19]MH_Cut [14:31:19]Write to MH i2c: D1 01 00 88 24 01 7E [14:31:19]Write i2c OK [14:31:19]MH_I2C_Read... [14:31:19]Read from MH i2c: D1 [14:31:19]MH_I2C_Read... [14:31:19]Read from MH i2c: D1 01 00 [14:31:19]MH_I2C_Read... [14:31:19]Read from MH i2c: D1 01 00 88 24 00 7D [14:31:19]Write to MH i2c: 01 00 00 89 24 AD [14:31:19]Write i2c OK [14:31:19]MH_I2C_Read... [14:31:19]OFD Sender: No OFD packet to send [14:31:20]*** Cut start [14:31:20]*** Partial cut [14:31:20]*** CUTSNS_PIN = 1 [14:31:20]*** CUTSNS_PIN = 0 [14:31:20]*** Brake cut motor [14:31:21]Read from MH i2c: 01 [14:31:21]MH_I2C_Read... [14:31:21]*** Stop cut motor [14:31:21]*** Cut end [14:31:21]Read from MH i2c: 01 07 00 [14:31:21]MH_I2C_Read... [14:31:21]Read from MH i2c: 01 07 00 89 24 00 00 00 00 00 FF 0F C2 [14:31:21]process_action close_receipt done [14:31:21]requested_data is exist [14:31:21]produce_requested_data [14:31:21]requested_item fm.sn is exist - process it [14:31:21]wFMCommunicate request_size=4 [14:31:21]MH_SAM_APDU [14:31:21]CAPDU: 80 11 00 00 [14:31:21]Write to MH i2c: E2 08 00 8A 24 80 11 00 00 00 00 00 00 28 [14:31:21]Write i2c OK [14:31:21]MH_I2C_Read... [14:31:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:31:21]Read from MH i2c: E2 [14:31:21]MH_I2C_Read... [14:31:21]Read from MH i2c: E2 17 00 [14:31:21]MH_I2C_Read... [14:31:21]Read from MH i2c: E2 17 00 8A 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 80 [14:31:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [14:31:21]wFMCommunicate OK [14:31:21]requested_item fd.num is exist - process it [14:31:21]SAM_PROTO_GetFieldsCounters [14:31:21]wFMCommunicate request_size=4 [14:31:21]MH_SAM_APDU [14:31:21]CAPDU: 80 13 00 00 [14:31:21]Write to MH i2c: E2 08 00 8B 24 80 13 00 00 00 00 00 00 2B [14:31:21]Write i2c OK [14:31:21]MH_I2C_Read... [14:31:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:31:21]Read from MH i2c: E2 [14:31:21]MH_I2C_Read... [14:31:21]Read from MH i2c: E2 62 00 [14:31:21]MH_I2C_Read... [14:31:21]Read from MH i2c: E2 62 00 8B 24 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 74 68 00 00 0E 04 04 00 39 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 E1 [14:31: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 74 68 00 00 0E 04 04 00 39 01 00 00 12 04 04 00 27 00 00 00 5E 04 04 00 27 00 00 00 57 04 04 00 28 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:31:21]wFMCommunicate OK [14:31:21]SAM_PROTO_GetFieldsCounters done [14:31:21]requested_item shift.num is exist - process it [14:31:21]requested_item shift.opened is exist - process it [14:31:21]req_shift_opened [14:31:21]FM_GetShiftState [14:31:21]SAM_PROTO_GetShiftState [14:31:21]wFMCommunicate request_size=4 [14:31:21]MH_SAM_APDU [14:31:21]CAPDU: 80 13 01 00 [14:31:21]Write to MH i2c: E2 08 00 8C 24 80 13 01 00 00 00 00 00 2D [14:31:21]Write i2c OK [14:31:21]MH_I2C_Read... [14:31:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:31:21]Read from MH i2c: E2 [14:31:21]MH_I2C_Read... [14:31:21]Read from MH i2c: E2 0E 00 [14:31:21]MH_I2C_Read... [14:31:21]Read from MH i2c: E2 0E 00 8C 24 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 C1 [14:31:21]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [14:31:21]wFMCommunicate OK [14:31:21]SAM_PROTO_GetShiftState done [14:31:21]FM_GetShiftState done [14:31:21]req_shift_opened done [14:31:21]requested_item shift.open_date is exist - process it [14:31:21]req_shift_open_date [14:31:21]req_shift_open_date done [14:31:21]produce_requested_data done [14:31:21]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26740,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [14:31:21]process_action_free close_receipt [14:31:21]json_value_free [14:31:21]json_value_free done [14:31:21]process_json_proto returns [14:31:21]Send response to host [14:31:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26740,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [14:31:21]free response buf [14:31:21]execute_script done [14:31:21]execute_script returns [14:31:21]free content buf [14:31:21]Sock 9.Close socket [14:31:21]Sock 9.Thread stoped [14:31:24]OFD Sender: No OFD packet to send [14:31:29]OFD Sender: No OFD packet to send [14:31:34]OFD Sender: No OFD packet to send [14:31:39]OFD Sender: No OFD packet to send [14:31:44]OFD Sender: No OFD packet to send [14:31:49]OFD Sender: No OFD packet to send [14:31:54]OFD Sender: No OFD packet to send [14:31:59]OFD Sender: No OFD packet to send [14:32:04]OFD Sender: No OFD packet to send [14:32:08]accept exits with 8 [14:32:08]New connection [14:32:08]New thread 3066871140 created [14:32:08]Thread 3067014500 joined [14:32:08]Waiting for new connection... [14:32:08] Sock 8.Parse request [14:32:08]Sock 8.Check first char [14:32:08]Sock 8.First char is OK [14:32:08]request: POST /json_proto HTTP/1.0 [14:32:08]Method: POST [14:32:08]URL: /json_proto [14:32:08]Method is POST - this is cgi request [14:32:08]url: /json_proto [14:32:08]query_string will be loaded in cgi processing [14:32:08]execute_cgi json_proto POST (null) [14:32:08]execute_cgi path=json_proto method=POST [14:32:08]POST find Content-Length [14:32:08]Host: 172.17.35.3:8080 [14:32:08]Content-Length: 803 [14:32:08]Content-Type: application/json [14:32:08] [14:32:08]POST finish read [14:32:08]Found Content-Length = 803 [14:32:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359484", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 1000.45 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:32:08]execute_script... [14:32: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 : (1)359484", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 1000.45 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:32:08]POST & json_proto [14:32:08]process_json_proto [14:32:08]json parsed OK: [14:32:08]protocol is kg_v1.0 [14:32:08]action value=close_receipt [14:32:08]process_action close_receipt [14:32:08]cmd_close_receipt [14:32:08]MH_GetDate [14:32:08]Write to MH i2c: F0 00 00 8D 24 A0 [14:32:08]Write i2c OK [14:32:08]MH_I2C_Read... [14:32:08]Read from MH i2c: F0 [14:32:08]MH_I2C_Read... [14:32:08]Read from MH i2c: F0 09 00 [14:32:08]MH_I2C_Read... [14:32:08]Read from MH i2c: F0 09 00 8D 24 00 72 AE 12 66 2B 11 66 64 47 [14:32:08]GetLastDocTimeStamp 1712500286 [14:32:08]current date 1712500338 [14:32:08]FM_GetShiftState [14:32:08]SAM_PROTO_GetShiftState [14:32:08]wFMCommunicate request_size=4 [14:32:08]MH_SAM_APDU [14:32:08]CAPDU: 80 13 01 00 [14:32:08]Write to MH i2c: E2 08 00 8E 24 80 13 01 00 00 00 00 00 2F [14:32:08]Write i2c OK [14:32:08]MH_I2C_Read... [14:32:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:32:08]Read from MH i2c: E2 [14:32:08]MH_I2C_Read... [14:32:08]Read from MH i2c: E2 0E 00 [14:32:08]MH_I2C_Read... [14:32:08]Read from MH i2c: E2 0E 00 8E 24 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 C3 [14:32:08]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [14:32:08]wFMCommunicate OK [14:32:08]SAM_PROTO_GetShiftState done [14:32:08]FM_GetShiftState done [14:32:08]opened in 1712450087 [14:32:08]opened+sec_in_day 1712536487 [14:32:08]quantity*price = 100045 [14:32:08]sum+1 = 100046 [14:32:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.45 НСП 1% : 8.85 НДС 12% : 106.24 Наличными: 0.00 Безнал.: 1000.45 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 40 07.04.2024 14:32 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000874657 ФД: 26741 ФПД: 96918814586519 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T143218&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26741&fm=96918814586519&tin=02508201610067®Number=0000000000091578&sum=100045 [14:32:09]StoreToDocumentArchive [14:32:09]shift 313 fd 26741 [14:32:09]save to /storage/0313/doc_00026741 [14:32:09]save last doc name /storage/0313/doc_00026741 to /storage/kkm_last_doc_name [14:32:09]save OK [14:32:09]Clear old archive folders... [14:32:09]ProcessDocumentItem done err = 0, tmpTLVsize=251 [14:32:09]tlvbuf is B6F67A40 [14:32:09]SAM_PROTO_ClearQueue [14:32:09]wFMCommunicate request_size=4 [14:32:09]MH_SAM_APDU [14:32:09]CAPDU: 80 09 00 00 [14:32:09]Write to MH i2c: E2 08 00 9B 24 80 09 00 00 00 00 00 00 31 [14:32:09]Write i2c OK [14:32:09]MH_I2C_Read... [14:32:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:32:09]Read from MH i2c: E2 [14:32:09]MH_I2C_Read... [14:32:09]Read from MH i2c: E2 03 00 [14:32:09]MH_I2C_Read... [14:32:09]Read from MH i2c: E2 03 00 9B 24 00 90 00 33 [14:32:09]RAPDU: 90 00 [14:32:09]wFMCommunicate OK [14:32:09]SAM_PROTO_ClearQueue done [14:32:09]KKMCreateOFDPacket [14:32:09]OFDProtocolAddRootSTLVToBuf [14:32:09]FM_MakeSignedData [14:32:09]FM_MakeSignedData [14:32:09]SAM_PROTO_SignData [14:32:09]wFMCommunicate request_size=4 [14:32:09]MH_SAM_APDU [14:32:09]CAPDU: 80 0D 01 02 [14:32:09]Write to MH i2c: E2 08 00 9C 24 80 0D 01 02 00 00 00 00 39 [14:32:09]Write i2c OK [14:32:09]MH_I2C_Read... [14:32:09]OFD Sender: No OFD packet to send [14:32:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:32:09]Read from MH i2c: E2 [14:32:09]MH_I2C_Read... [14:32:09]Read from MH i2c: E2 03 00 [14:32:09]MH_I2C_Read... [14:32:09]Read from MH i2c: E2 03 00 9C 24 00 90 00 34 [14:32:09]RAPDU: 90 00 [14:32:09]wFMCommunicate OK [14:32:09]wFMCommunicate request_size=255 [14:32:09]MH_SAM_APDU [14:32:09]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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CD 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 00 00 00 00 00 00 39 04 06 00 CD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 72 AE 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 75 68 00 00 35 04 06 00 58 [14:32:09]Write to MH i2c: E2 02 01 9D 24 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CD 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 00 00 00 00 00 00 39 04 06 00 CD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 72 AE 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 75 68 00 00 35 04 06 00 58 00 00 56 [14:32:09]Write i2c OK [14:32:09]MH_I2C_Read... [14:32:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:32:10]Read from MH i2c: E2 [14:32:10]MH_I2C_Read... [14:32:10]Read from MH i2c: E2 03 00 [14:32:10]MH_I2C_Read... [14:32:10]Read from MH i2c: E2 03 00 9D 24 00 90 00 35 [14:32:10]RAPDU: 90 00 [14:32:10]wFMCommunicate OK [14:32:10]wFMCommunicate request_size=10 [14:32:10]MH_SAM_APDU [14:32:10]CAPDU: 80 0D 02 02 05 25 AB 83 F6 97 [14:32:10]Write to MH i2c: E2 0D 00 9E 24 80 0D 02 02 05 00 25 AB 83 F6 97 00 00 26 [14:32:10]Write i2c OK [14:32:10]MH_I2C_Read... [14:32:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:32:10]Read from MH i2c: E2 [14:32:10]MH_I2C_Read... [14:32:10]Read from MH i2c: E2 03 00 [14:32:10]MH_I2C_Read... [14:32:10]Read from MH i2c: E2 03 00 9E 24 00 90 00 36 [14:32:10]RAPDU: 90 00 [14:32:10]wFMCommunicate OK [14:32:10]wFMCommunicate request_size=4 [14:32:10]MH_SAM_APDU [14:32:10]CAPDU: 80 0D 03 02 [14:32:10]Write to MH i2c: E2 08 00 9F 24 80 0D 03 02 00 00 00 00 3E [14:32:10]Write i2c OK [14:32:10]MH_I2C_Read... [14:32:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:32:10]Read from MH i2c: E2 [14:32:10]MH_I2C_Read... [14:32:10]Read from MH i2c: E2 0B 00 [14:32:10]MH_I2C_Read... [14:32:10]Read from MH i2c: E2 0B 00 9F 24 00 84 9F E9 65 E8 4D 91 BC 90 00 32 [14:32:10]RAPDU: 84 9F E9 65 E8 4D 91 BC 90 00 [14:32:10]wFMCommunicate OK [14:32:10]SAM_PROTO_SignData done [14:32:10]FM_MakeSignedData done [14:32:10]CreateOFDProtocolMessage [14:32:10]wFMCommunicate request_size=4 [14:32:10]MH_SAM_APDU [14:32:10]CAPDU: 80 11 00 00 [14:32:10]Write to MH i2c: E2 08 00 A0 24 80 11 00 00 00 00 00 00 3E [14:32:10]Write i2c OK [14:32:10]MH_I2C_Read... [14:32:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:32:10]Read from MH i2c: E2 [14:32:10]MH_I2C_Read... [14:32:10]Read from MH i2c: E2 17 00 [14:32:10]MH_I2C_Read... [14:32:10]Read from MH i2c: E2 17 00 A0 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 96 [14:32:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [14:32:10]wFMCommunicate OK [14:32:10]CreateOFDProtocolMessage done [14:32:10]OFDSenderStorePacket 26741 [14:32:10]StoreOFDPacket docnum=26741 [14:32:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 86 07 07 01 C2 F7 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CD 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 00 00 00 00 00 00 39 04 06 00 CD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 72 AE 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 75 68 00 00 35 04 06 00 58 25 AB 83 F6 97 84 9F E9 65 E8 4D 91 BC [14:32:10]CheckFolder [14:32:10]dirname=/storage/ofd_packets [14:32:10]CheckFolder done [14:32:10]ProducePacketName [14:32:10]name=ofd_packets/00026741 [14:32:10]NVStorageSaveData ofd_packets/00026741 [14:32:10]File name is /storage/ofd_packets/00026741 [14:32:10]Write 301 bytes [14:32:10]NVStorageSaveData done [14:32:10]OFDSenderStorePacket done [14:32:10]KKMCreateOFDPacket done [14:32:10]NVStorageSaveData kkm_last_timestamp [14:32:10]File name is /storage/kkm_last_timestamp [14:32:10]Write 4 bytes [14:32:10]NVStorageSaveData done [14:32:10]ExternCall_PrintAddStr [14:32:10]wPrintStart [14:32:10]Write to MH i2c: 01 00 00 A1 24 C5 [14:32:10]Write i2c OK [14:32:10]MH_I2C_Read... [14:32:10]Read from MH i2c: 01 [14:32:10]MH_I2C_Read... [14:32:10]Read from MH i2c: 01 07 00 [14:32:10]MH_I2C_Read... [14:32:10]Read from MH i2c: 01 07 00 A1 24 00 00 00 00 00 FF 0F DA [14:32:10]RasterBufferAndPrint [14:32:10]line Счет N : (1)359484 [14:32:10]line ИНН: 02508201610067 [14:32:10]line Контрольно-Кассовый Чек [14:32:10]line ПРОДАЖА [14:32:10]line ТРК (МРК, ГНК) : 51 [14:32:10]line Товар: 2710124130 [14:32:10]line Аи-92-К-5 [14:32:10]line 15.780 * 63.40 [14:32:10]line = 1000.45 [14:32:10]line НДС 12% НСП 1% [14:32:10]line > о реализуемом товаре [14:32:10]line ИТОГО: 1000.45 [14:32:10]line НСП 1% : 8.85 [14:32:10]line НДС 12% : 106.24 [14:32:10]line Наличными: 0.00 [14:32:10]line Безнал.: 1000.45 [14:32:10]line Место: АЗС № 122 "Партнер Нефть" [14:32:10]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [14:32:10]line СНО: Общий режим [14:32:10]line Чек 40 07.04.2024 14:32 [14:32:10]line Смена: 313 ФФД: 1.0 [14:32:10]line ЗНМ: 0300000147 [14:32:10]line РНМ: 0000000000091578 [14:32:10]line Версия ККМ: 001 [14:32:10]line Платежная система: O! деньги [14:32:10]line ФМ: 0000000000874657 [14:32:10]line ФД: 26741 [14:32:10]line ФПД: 96918814586519 [14:32:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T143218&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26741&fm=96918814586519&tin=02508201610067®Number=0000000000091578&sum=100045 [14:32:10]OFD Sender: Processing packet 26741 [packets to send 44, broken 43] [14:32:10]ProducePacketName [14:32:10]name=ofd_packets/00026741 [14:32:10]OFD Sender: To server: pG, [14:32:10]CommunicateWithHost lk.salyk.kg:30040 [14:32:10]ConnectInit lk.salyk.kg [14:32:10]written 0, free lines is 4095 [14:32:10]Connected sock=10 [14:32: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 36 35 37 0F 01 00 00 86 07 07 01 C2 F7 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CD 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 00 00 00 00 00 00 39 04 06 00 CD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 72 AE 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 75 68 00 00 35 04 06 00 58 25 AB 83 F6 97 84 9F E9 65 E8 4D 91 BC [14:32:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 41 7B 47 00 58 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 36 35 37 10 04 04 00 75 68 00 00 F4 03 04 00 DF 55 12 66 B6 04 01 00 00 9E 3F 6E 11 E1 69 A3 1C [14:32:10]CommunicateWithHost err = 0 [14:32:10]CheckOFDResponse [14:32:10]1017 (14) - 77093643461234 [14:32:10]1041 (16) - 0000000000874657 [14:32:10]1040 (4) - 26741 [14:32:10]1012 (4) - 07.04.2024 08:14 [14:32:10]1206 (1) - 0 [14:32:10]OFD Sender: Remove packet 26741 [14:32:10]ProducePacketName [14:32:10]name=ofd_packets/00026741 [14:32:10]NVStorageDeleteData [14:32:11]Write to MH i2c: 01 00 00 CB 24 EF [14:32:11]Write i2c OK [14:32:11]MH_I2C_Read... [14:32:11]Read from MH i2c: 01 [14:32:11]MH_I2C_Read... [14:32:11]Read from MH i2c: 01 07 00 [14:32:11]MH_I2C_Read... [14:32:11]Read from MH i2c: 01 07 00 CB 24 00 00 00 00 00 90 0C 92 [14:32:11]RasterBufferAndPrint [14:32:11]line [14:32:11]line [14:32:11]line [14:32:11]line [14:32:11]line [14:32:11]written 0, free lines is 3218 [14:32:11]MH_Cut [14:32:11]Write to MH i2c: D1 01 00 D2 24 01 C8 [14:32:11]Write i2c OK [14:32:11]MH_I2C_Read... [14:32:11]Read from MH i2c: D1 [14:32:11]MH_I2C_Read... [14:32:11]Read from MH i2c: D1 01 00 [14:32:11]MH_I2C_Read... [14:32:11]Read from MH i2c: D1 01 00 D2 24 00 C7 [14:32:11]Write to MH i2c: 01 00 00 D3 24 F7 [14:32:11]Write i2c OK [14:32:11]MH_I2C_Read... [14:32:11]OFD Sender: No OFD packet to send [14:32:12]*** Cut start [14:32:12]*** Partial cut [14:32:12]*** CUTSNS_PIN = 1 [14:32:12]*** CUTSNS_PIN = 0 [14:32:12]*** Brake cut motor [14:32:12]Read from MH i2c: 01 [14:32:12]MH_I2C_Read... [14:32:12]*** Stop cut motor [14:32:12]*** Cut end [14:32:12]Read from MH i2c: 01 07 00 [14:32:12]MH_I2C_Read... [14:32:12]Read from MH i2c: 01 07 00 D3 24 00 00 00 00 00 FF 0F 0C [14:32:12]process_action close_receipt done [14:32:12]requested_data is exist [14:32:12]produce_requested_data [14:32:12]requested_item fm.sn is exist - process it [14:32:12]wFMCommunicate request_size=4 [14:32:12]MH_SAM_APDU [14:32:12]CAPDU: 80 11 00 00 [14:32:12]Write to MH i2c: E2 08 00 D4 24 80 11 00 00 00 00 00 00 72 [14:32:12]Write i2c OK [14:32:12]MH_I2C_Read... [14:32:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:32:12]Read from MH i2c: E2 [14:32:12]MH_I2C_Read... [14:32:12]Read from MH i2c: E2 17 00 [14:32:12]MH_I2C_Read... [14:32:12]Read from MH i2c: E2 17 00 D4 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 CA [14:32:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [14:32:12]wFMCommunicate OK [14:32:12]requested_item fd.num is exist - process it [14:32:12]SAM_PROTO_GetFieldsCounters [14:32:12]wFMCommunicate request_size=4 [14:32:12]MH_SAM_APDU [14:32:12]CAPDU: 80 13 00 00 [14:32:12]Write to MH i2c: E2 08 00 D5 24 80 13 00 00 00 00 00 00 75 [14:32:12]Write i2c OK [14:32:12]MH_I2C_Read... [14:32:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:32:13]Read from MH i2c: E2 [14:32:13]MH_I2C_Read... [14:32:13]Read from MH i2c: E2 62 00 [14:32:13]MH_I2C_Read... [14:32:13]Read from MH i2c: E2 62 00 D5 24 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 75 68 00 00 0E 04 04 00 39 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 2F [14:32: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 75 68 00 00 0E 04 04 00 39 01 00 00 12 04 04 00 28 00 00 00 5E 04 04 00 28 00 00 00 57 04 04 00 29 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:32:13]wFMCommunicate OK [14:32:13]SAM_PROTO_GetFieldsCounters done [14:32:13]requested_item shift.num is exist - process it [14:32:13]requested_item shift.opened is exist - process it [14:32:13]req_shift_opened [14:32:13]FM_GetShiftState [14:32:13]SAM_PROTO_GetShiftState [14:32:13]wFMCommunicate request_size=4 [14:32:13]MH_SAM_APDU [14:32:13]CAPDU: 80 13 01 00 [14:32:13]Write to MH i2c: E2 08 00 D6 24 80 13 01 00 00 00 00 00 77 [14:32:13]Write i2c OK [14:32:13]MH_I2C_Read... [14:32:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:32:13]Read from MH i2c: E2 [14:32:13]MH_I2C_Read... [14:32:13]Read from MH i2c: E2 0E 00 [14:32:13]MH_I2C_Read... [14:32:13]Read from MH i2c: E2 0E 00 D6 24 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 0B [14:32:13]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [14:32:13]wFMCommunicate OK [14:32:13]SAM_PROTO_GetShiftState done [14:32:13]FM_GetShiftState done [14:32:13]req_shift_opened done [14:32:13]requested_item shift.open_date is exist - process it [14:32:13]req_shift_open_date [14:32:13]req_shift_open_date done [14:32:13]produce_requested_data done [14:32:13]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26741,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [14:32:13]process_action_free close_receipt [14:32:13]json_value_free [14:32:13]json_value_free done [14:32:13]process_json_proto returns [14:32:13]Send response to host [14:32:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26741,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [14:32:13]free response buf [14:32:13]execute_script done [14:32:13]execute_script returns [14:32:13]free content buf [14:32:13]Sock 8.Close socket [14:32:13]Sock 8.Thread stoped [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:16]OFD Sender: No OFD packet to send [14:34:21]OFD Sender: No OFD packet to send [14:34:26]OFD Sender: No OFD packet to send [14:34:31]OFD Sender: No OFD packet to send [14:34:36]OFD Sender: No OFD packet to send [14:34:41]OFD Sender: No OFD packet to send [14:34:46]OFD Sender: No OFD packet to send [14:34:51]OFD Sender: No OFD packet to send [14:34:56]OFD Sender: No OFD packet to send [14:35:01]OFD Sender: No OFD packet to send [14:35:06]OFD Sender: No OFD packet to send [14:35:11]OFD Sender: No OFD packet to send [14:35:16]OFD Sender: No OFD packet to send [14:35:21]OFD Sender: No OFD packet to send [14:35:26]OFD Sender: No OFD packet to send [14:35:31]OFD Sender: No OFD packet to send [14:35:36]OFD Sender: No OFD packet to send [14:35:41]OFD Sender: No OFD packet to send [14:35:46]OFD Sender: No OFD packet to send [14:35:51]OFD Sender: No OFD packet to send [14:35:56]OFD Sender: No OFD packet to send [14:36:01]OFD Sender: No OFD packet to send [14:36:06]OFD Sender: No OFD packet to send [14:36:11]OFD Sender: No OFD packet to send [14:36:16]OFD Sender: No OFD packet to send [14:36:21]OFD Sender: No OFD packet to send [14:36:26]OFD Sender: No OFD packet to send [14:36:31]OFD Sender: No OFD packet to send [14:36:36]OFD Sender: No OFD packet to send [14:36:41]OFD Sender: No OFD packet to send [14:36:46]OFD Sender: No OFD packet to send [14:36:51]OFD Sender: No OFD packet to send [14:36:56]OFD Sender: No OFD packet to send [14:37:01]OFD Sender: No OFD packet to send [14:37:06]OFD Sender: No OFD packet to send [14:37:11]OFD Sender: No OFD packet to send [14:37:16]OFD Sender: No OFD packet to send [14:37:21]OFD Sender: No OFD packet to send [14:37:26]OFD Sender: No OFD packet to send [14:37:31]OFD Sender: No OFD packet to send [14:37:36]OFD Sender: No OFD packet to send [14:37:41]OFD Sender: No OFD packet to send [14:37:46]OFD Sender: No OFD packet to send [14:37:51]OFD Sender: No OFD packet to send [14:37:56]OFD Sender: No OFD packet to send [14:38:01]OFD Sender: No OFD packet to send [14:38:06]OFD Sender: No OFD packet to send [14:38:11]OFD Sender: No OFD packet to send [14:38:16]OFD Sender: No OFD packet to send [14:38:21]OFD Sender: No OFD packet to send [14:38:26]OFD Sender: No OFD packet to send [14:38:31]OFD Sender: No OFD packet to send [14:38:36]OFD Sender: No OFD packet to send [14:38:41]OFD Sender: No OFD packet to send [14:38:46]OFD Sender: No OFD packet to send [14:38:51]OFD Sender: No OFD packet to send [14:38:56]OFD Sender: No OFD packet to send [14:39:01]OFD Sender: No OFD packet to send [14:39:06]OFD Sender: No OFD packet to send [14:39:11]OFD Sender: No OFD packet to send [14:39:16]OFD Sender: No OFD packet to send [14:39:21]OFD Sender: No OFD packet to send [14:39:26]OFD Sender: No OFD packet to send [14:39:31]accept exits with 9 [14:39:31]New connection [14:39:31]New thread 3067014500 created [14:39:31]Thread 3066871140 joined [14:39:31]Waiting for new connection... [14:39:31] Sock 9.Parse request [14:39:31]Sock 9.Check first char [14:39:31]Sock 9.First char is OK [14:39:31]request: POST /json_proto HTTP/1.0 [14:39:31]Method: POST [14:39:31]URL: /json_proto [14:39:31]Method is POST - this is cgi request [14:39:31]url: /json_proto [14:39:31]query_string will be loaded in cgi processing [14:39:31]execute_cgi json_proto POST (null) [14:39:31]execute_cgi path=json_proto method=POST [14:39:31]POST find Content-Length [14:39:31]Host: 172.17.35.3:8080 [14:39:31]Content-Length: 677 [14:39:31]Content-Type: application/json [14:39:31] [14:39:31]POST finish read [14:39:31]Found Content-Length = 677 [14:39:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359485", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 71.90, "quantity" : 8.350, "sum" : 600.37, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 600.00, "total" : 600.00, "payments": [ { "type": 0, "sum" : 600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:39:31]execute_script... [14:39: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 : (1)359485", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 71.90, "quantity" : 8.350, "sum" : 600.37, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 600.00, "total" : 600.00, "payments": [ { "type": 0, "sum" : 600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:39:31]POST & json_proto [14:39:31]process_json_proto [14:39:31]json parsed OK: [14:39:31]protocol is kg_v1.0 [14:39:31]action value=close_receipt [14:39:31]process_action close_receipt [14:39:31]cmd_close_receipt [14:39:31]MH_GetDate [14:39:31]Write to MH i2c: F0 00 00 D7 24 EA [14:39:31]Write i2c OK [14:39:31]MH_I2C_Read... [14:39:31]Read from MH i2c: F0 [14:39:31]MH_I2C_Read... [14:39:31]Read from MH i2c: F0 09 00 [14:39:31]MH_I2C_Read... [14:39:31]Read from MH i2c: F0 09 00 D7 24 00 2D B0 12 66 2B 11 66 64 4E [14:39:31]GetLastDocTimeStamp 1712500338 [14:39:31]current date 1712500781 [14:39:31]FM_GetShiftState [14:39:31]SAM_PROTO_GetShiftState [14:39:31]wFMCommunicate request_size=4 [14:39:31]MH_SAM_APDU [14:39:31]CAPDU: 80 13 01 00 [14:39:31]Write to MH i2c: E2 08 00 D8 24 80 13 01 00 00 00 00 00 79 [14:39:31]Write i2c OK [14:39:31]MH_I2C_Read... [14:39:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:39:31]Read from MH i2c: E2 [14:39:31]MH_I2C_Read... [14:39:31]Read from MH i2c: E2 0E 00 [14:39:31]MH_I2C_Read... [14:39:31]Read from MH i2c: E2 0E 00 D8 24 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 0D [14:39:31]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [14:39:31]wFMCommunicate OK [14:39:31]SAM_PROTO_GetShiftState done [14:39:31]FM_GetShiftState done [14:39:31]opened in 1712450087 [14:39:31]opened+sec_in_day 1712536487 [14:39:31]quantity*price = 60036 [14:39:31]sum+1 = 60038 [14:39:31]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.37 ИТОГО: 600.00 Внесено: 600.00 СДАЧА: 0.00 НСП 1% : 5.31 НДС 12% : 63.76 Наличными: 600.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 41 07.04.2024 14:39 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26742 ФПД: 50113615456676 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T143941&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26742&fm=50113615456676&tin=02508201610067®Number=0000000000091578&sum=60000 [14:39:32]StoreToDocumentArchive [14:39:32]shift 313 fd 26742 [14:39:32]save to /storage/0313/doc_00026742 [14:39:32]save last doc name /storage/0313/doc_00026742 to /storage/kkm_last_doc_name [14:39:32]save OK [14:39:32]Clear old archive folders... [14:39:32]ProcessDocumentItem done err = 0, tmpTLVsize=251 [14:39:32]tlvbuf is 00EB6E60 [14:39:32]SAM_PROTO_ClearQueue [14:39:32]wFMCommunicate request_size=4 [14:39:32]MH_SAM_APDU [14:39:32]CAPDU: 80 09 00 00 [14:39:32]Write to MH i2c: E2 08 00 E5 24 80 09 00 00 00 00 00 00 7B [14:39:32]Write i2c OK [14:39:32]MH_I2C_Read... [14:39:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:39:32]Read from MH i2c: E2 [14:39:32]MH_I2C_Read... [14:39:32]Read from MH i2c: E2 03 00 [14:39:32]MH_I2C_Read... [14:39:32]Read from MH i2c: E2 03 00 E5 24 00 90 00 7D [14:39:32]RAPDU: 90 00 [14:39:32]wFMCommunicate OK [14:39:32]SAM_PROTO_ClearQueue done [14:39:32]KKMCreateOFDPacket [14:39:32]OFDProtocolAddRootSTLVToBuf [14:39:32]FM_MakeSignedData [14:39:32]FM_MakeSignedData [14:39:32]SAM_PROTO_SignData [14:39:32]wFMCommunicate request_size=4 [14:39:32]MH_SAM_APDU [14:39:32]CAPDU: 80 0D 01 02 [14:39:32]Write to MH i2c: E2 08 00 E6 24 80 0D 01 02 00 00 00 00 83 [14:39:32]Write i2c OK [14:39:32]MH_I2C_Read... [14:39:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:39:32]Read from MH i2c: E2 [14:39:32]MH_I2C_Read... [14:39:32]Read from MH i2c: E2 03 00 [14:39:32]MH_I2C_Read... [14:39:32]Read from MH i2c: E2 03 00 E6 24 00 90 00 7E [14:39:32]RAPDU: 90 00 [14:39:32]wFMCommunicate OK [14:39:32]wFMCommunicate request_size=255 [14:39:32]MH_SAM_APDU [14:39:32]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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 9E 20 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 85 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 2D B0 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 76 68 00 00 35 04 06 00 2D [14:39:32]Write to MH i2c: E2 02 01 E7 24 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 9E 20 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 85 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 2D B0 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 76 68 00 00 35 04 06 00 2D 00 00 66 [14:39:32]Write i2c OK [14:39:32]MH_I2C_Read... [14:39:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:39:33]Read from MH i2c: E2 [14:39:33]MH_I2C_Read... [14:39:33]Read from MH i2c: E2 03 00 [14:39:33]MH_I2C_Read... [14:39:33]Read from MH i2c: E2 03 00 E7 24 00 90 00 7F [14:39:33]RAPDU: 90 00 [14:39:33]wFMCommunicate OK [14:39:33]wFMCommunicate request_size=10 [14:39:33]MH_SAM_APDU [14:39:33]CAPDU: 80 0D 02 02 05 93 FC 3F 69 A4 [14:39:33]Write to MH i2c: E2 0D 00 E8 24 80 0D 02 02 05 00 93 FC 3F 69 A4 00 00 6B [14:39:33]Write i2c OK [14:39:33]MH_I2C_Read... [14:39:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:39:33]Read from MH i2c: E2 [14:39:33]MH_I2C_Read... [14:39:33]Read from MH i2c: E2 03 00 [14:39:33]MH_I2C_Read... [14:39:33]Read from MH i2c: E2 03 00 E8 24 00 90 00 80 [14:39:33]RAPDU: 90 00 [14:39:33]wFMCommunicate OK [14:39:33]wFMCommunicate request_size=4 [14:39:33]MH_SAM_APDU [14:39:33]CAPDU: 80 0D 03 02 [14:39:33]Write to MH i2c: E2 08 00 E9 24 80 0D 03 02 00 00 00 00 88 [14:39:33]Write i2c OK [14:39:33]MH_I2C_Read... [14:39:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:39:33]Read from MH i2c: E2 [14:39:33]MH_I2C_Read... [14:39:33]Read from MH i2c: E2 0B 00 [14:39:33]MH_I2C_Read... [14:39:33]Read from MH i2c: E2 0B 00 E9 24 00 D3 2D A0 7D 8E 26 B8 19 90 00 2B [14:39:33]RAPDU: D3 2D A0 7D 8E 26 B8 19 90 00 [14:39:33]wFMCommunicate OK [14:39:33]SAM_PROTO_SignData done [14:39:33]FM_MakeSignedData done [14:39:33]CreateOFDProtocolMessage [14:39:33]wFMCommunicate request_size=4 [14:39:33]MH_SAM_APDU [14:39:33]CAPDU: 80 11 00 00 [14:39:33]Write to MH i2c: E2 08 00 EA 24 80 11 00 00 00 00 00 00 88 [14:39:33]Write i2c OK [14:39:33]MH_I2C_Read... [14:39:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:39:33]Read from MH i2c: E2 [14:39:33]MH_I2C_Read... [14:39:33]Read from MH i2c: E2 17 00 [14:39:33]MH_I2C_Read... [14:39:33]Read from MH i2c: E2 17 00 EA 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 E0 [14:39:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [14:39:33]wFMCommunicate OK [14:39:33]CreateOFDProtocolMessage done [14:39:33]OFDSenderStorePacket 26742 [14:39:33]StoreOFDPacket docnum=26742 [14:39:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 C7 38 07 01 1A 4C 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 9E 20 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 85 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 2D B0 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 76 68 00 00 35 04 06 00 2D 93 FC 3F 69 A4 D3 2D A0 7D 8E 26 B8 19 [14:39:33]CheckFolder [14:39:33]dirname=/storage/ofd_packets [14:39:33]CheckFolder done [14:39:33]ProducePacketName [14:39:33]name=ofd_packets/00026742 [14:39:33]NVStorageSaveData ofd_packets/00026742 [14:39:33]File name is /storage/ofd_packets/00026742 [14:39:33]Write 301 bytes [14:39:33]NVStorageSaveData done [14:39:33]OFDSenderStorePacket done [14:39:33]KKMCreateOFDPacket done [14:39:33]NVStorageSaveData kkm_last_timestamp [14:39:33]File name is /storage/kkm_last_timestamp [14:39:33]Write 4 bytes [14:39:33]NVStorageSaveData done [14:39:33]ExternCall_PrintAddStr [14:39:33]wPrintStart [14:39:33]Write to MH i2c: 01 00 00 EB 24 0F [14:39:33]Write i2c OK [14:39:33]MH_I2C_Read... [14:39:33]Read from MH i2c: 01 [14:39:33]MH_I2C_Read... [14:39:33]Read from MH i2c: 01 07 00 [14:39:33]MH_I2C_Read... [14:39:33]Read from MH i2c: 01 07 00 EB 24 00 00 00 00 00 FF 0F 24 [14:39:33]RasterBufferAndPrint [14:39:33]line Счет N : (1)359485 [14:39:33]line ИНН: 02508201610067 [14:39:33]line Контрольно-Кассовый Чек [14:39:33]line ПРОДАЖА [14:39:33]line ТРК (МРК, ГНК) : 63 [14:39:33]line Товар: 2710124500 [14:39:33]line Аи-95-К-5 [14:39:33]line 8.350 * 71.90 [14:39:33]line = 600.37 [14:39:33]line НДС 12% НСП 1% [14:39:33]line > о реализуемом товаре [14:39:33]line ОКРУГЛЕНИЕ: -0.37 [14:39:33]line ИТОГО: 600.00 [14:39:33]line Внесено: 600.00 [14:39:33]line СДАЧА: 0.00 [14:39:33]line НСП 1% : 5.31 [14:39:33]line НДС 12% : 63.76 [14:39:33]line Наличными: 600.00 [14:39:33]line Безнал.: 0.00 [14:39:33]line Место: АЗС № 122 "Партнер Нефть" [14:39:33]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [14:39:33]line СНО: Общий режим [14:39:33]line Чек 41 07.04.2024 14:39 [14:39:33]line Смена: 313 ФФД: 1.0 [14:39:33]line ЗНМ: 0300000147 [14:39:33]line РНМ: 0000000000091578 [14:39:33]line Версия ККМ: 001 [14:39:33]line ФМ: 0000000000874657 [14:39:33]line ФД: 26742 [14:39:33]line ФПД: 50113615456676 [14:39:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T143941&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26742&fm=50113615456676&tin=02508201610067®Number=0000000000091578&sum=60000 [14:39:33]OFD Sender: Processing packet 26742 [packets to send 44, broken 43] [14:39:33]ProducePacketName [14:39:33]name=ofd_packets/00026742 [14:39:33]OFD Sender: To server: pG, [14:39:33]CommunicateWithHost lk.salyk.kg:30040 [14:39:33]ConnectInit lk.salyk.kg [14:39:33]written 0, free lines is 4095 [14:39:33]Connected sock=10 [14:39: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 36 35 37 0F 01 00 00 C7 38 07 01 1A 4C 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 9E 20 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 85 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 2D B0 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 76 68 00 00 35 04 06 00 2D 93 FC 3F 69 A4 D3 2D A0 7D 8E 26 B8 19 [14:39:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 CE B5 47 00 6B 5C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 76 68 00 00 F4 03 04 00 9A 57 12 66 B6 04 01 00 00 4F C2 D4 23 A5 98 B2 96 [14:39:33]CommunicateWithHost err = 0 [14:39:33]CheckOFDResponse [14:39:33]1017 (14) - 77093643461234 [14:39:33]1041 (16) - 0000000000874657 [14:39:33]1040 (4) - 26742 [14:39:33]1012 (4) - 07.04.2024 08:21 [14:39:33]1206 (1) - 0 [14:39:33]OFD Sender: Remove packet 26742 [14:39:33]ProducePacketName [14:39:33]name=ofd_packets/00026742 [14:39:33]NVStorageDeleteData [14:39:34]Write to MH i2c: 01 00 00 16 25 3B [14:39:34]Write i2c OK [14:39:34]MH_I2C_Read... [14:39:34]Read from MH i2c: 01 [14:39:34]MH_I2C_Read... [14:39:34]Read from MH i2c: 01 07 00 [14:39:34]MH_I2C_Read... [14:39:34]Read from MH i2c: 01 07 00 16 25 00 00 00 00 00 71 0C BF [14:39:34]RasterBufferAndPrint [14:39:34]line [14:39:34]line [14:39:34]line [14:39:34]line [14:39:34]line [14:39:34]written 0, free lines is 3188 [14:39:34]MH_Cut [14:39:34]Write to MH i2c: D1 01 00 1D 25 01 14 [14:39:34]Write i2c OK [14:39:34]MH_I2C_Read... [14:39:34]Read from MH i2c: D1 [14:39:34]MH_I2C_Read... [14:39:34]Read from MH i2c: D1 01 00 [14:39:34]MH_I2C_Read... [14:39:34]Read from MH i2c: D1 01 00 1D 25 00 13 [14:39:34]Write to MH i2c: 01 00 00 1E 25 43 [14:39:34]Write i2c OK [14:39:34]MH_I2C_Read... [14:39:34]OFD Sender: No OFD packet to send [14:39:35]*** Cut start [14:39:35]*** Partial cut [14:39:35]*** CUTSNS_PIN = 1 [14:39:35]*** CUTSNS_PIN = 0 [14:39:35]*** Brake cut motor [14:39:35]Read from MH i2c: 01 [14:39:35]MH_I2C_Read... [14:39:35]*** Stop cut motor [14:39:35]*** Cut end [14:39:35]Read from MH i2c: 01 07 00 [14:39:35]MH_I2C_Read... [14:39:35]Read from MH i2c: 01 07 00 1E 25 00 00 00 00 00 FF 0F 58 [14:39:35]process_action close_receipt done [14:39:35]requested_data is exist [14:39:35]produce_requested_data [14:39:35]requested_item fm.sn is exist - process it [14:39:35]wFMCommunicate request_size=4 [14:39:35]MH_SAM_APDU [14:39:35]CAPDU: 80 11 00 00 [14:39:35]Write to MH i2c: E2 08 00 1F 25 80 11 00 00 00 00 00 00 BE [14:39:35]Write i2c OK [14:39:35]MH_I2C_Read... [14:39:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:39:36]Read from MH i2c: E2 [14:39:36]MH_I2C_Read... [14:39:36]Read from MH i2c: E2 17 00 [14:39:36]MH_I2C_Read... [14:39:36]Read from MH i2c: E2 17 00 1F 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 16 [14:39:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [14:39:36]wFMCommunicate OK [14:39:36]requested_item fd.num is exist - process it [14:39:36]SAM_PROTO_GetFieldsCounters [14:39:36]wFMCommunicate request_size=4 [14:39:36]MH_SAM_APDU [14:39:36]CAPDU: 80 13 00 00 [14:39:36]Write to MH i2c: E2 08 00 20 25 80 13 00 00 00 00 00 00 C1 [14:39:36]Write i2c OK [14:39:36]MH_I2C_Read... [14:39:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:39:36]Read from MH i2c: E2 [14:39:36]MH_I2C_Read... [14:39:36]Read from MH i2c: E2 62 00 [14:39:36]MH_I2C_Read... [14:39:36]Read from MH i2c: E2 62 00 20 25 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 76 68 00 00 0E 04 04 00 39 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 7F [14:39:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 76 68 00 00 0E 04 04 00 39 01 00 00 12 04 04 00 29 00 00 00 5E 04 04 00 29 00 00 00 57 04 04 00 2A 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:39:36]wFMCommunicate OK [14:39:36]SAM_PROTO_GetFieldsCounters done [14:39:36]requested_item shift.num is exist - process it [14:39:36]requested_item shift.opened is exist - process it [14:39:36]req_shift_opened [14:39:36]FM_GetShiftState [14:39:36]SAM_PROTO_GetShiftState [14:39:36]wFMCommunicate request_size=4 [14:39:36]MH_SAM_APDU [14:39:36]CAPDU: 80 13 01 00 [14:39:36]Write to MH i2c: E2 08 00 21 25 80 13 01 00 00 00 00 00 C3 [14:39:36]Write i2c OK [14:39:36]MH_I2C_Read... [14:39:36]Read from MH i2c: E2 [14:39:36]MH_I2C_Read... [14:39:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:39:36]Read from MH i2c: E2 0E 00 [14:39:36]MH_I2C_Read... [14:39:36]Read from MH i2c: E2 0E 00 21 25 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 57 [14:39:36]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [14:39:36]wFMCommunicate OK [14:39:36]SAM_PROTO_GetShiftState done [14:39:36]FM_GetShiftState done [14:39:36]req_shift_opened done [14:39:36]requested_item shift.open_date is exist - process it [14:39:36]req_shift_open_date [14:39:36]req_shift_open_date done [14:39:36]produce_requested_data done [14:39:36]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26742,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [14:39:36]process_action_free close_receipt [14:39:36]json_value_free [14:39:36]json_value_free done [14:39:36]process_json_proto returns [14:39:36]Send response to host [14:39:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26742,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [14:39:36]free response buf [14:39:36]execute_script done [14:39:36]execute_script returns [14:39:36]free content buf [14:39:36]Sock 9.Close socket [14:39:36]Sock 9.Thread stoped [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:30]OFD Sender: No OFD packet to send [14:49:35]OFD Sender: No OFD packet to send [14:49:40]OFD Sender: No OFD packet to send [14:49:45]OFD Sender: No OFD packet to send [14:49:50]OFD Sender: No OFD packet to send [14:49:55]OFD Sender: No OFD packet to send [14:50:00]OFD Sender: No OFD packet to send [14:50:05]OFD Sender: No OFD packet to send [14:50:10]OFD Sender: No OFD packet to send [14:50:15]OFD Sender: No OFD packet to send [14:50:20]OFD Sender: No OFD packet to send [14:50:25]OFD Sender: No OFD packet to send [14:50:30]OFD Sender: No OFD packet to send [14:50:35]OFD Sender: No OFD packet to send [14:50:40]OFD Sender: No OFD packet to send [14:50:45]OFD Sender: No OFD packet to send [14:50:50]OFD Sender: No OFD packet to send [14:50:55]OFD Sender: No OFD packet to send [14:51:00]OFD Sender: No OFD packet to send [14:51:05]OFD Sender: No OFD packet to send [14:51:10]OFD Sender: No OFD packet to send [14:51:15]OFD Sender: No OFD packet to send [14:51:20]OFD Sender: No OFD packet to send [14:51:25]OFD Sender: No OFD packet to send [14:51:30]OFD Sender: No OFD packet to send [14:51:35]OFD Sender: No OFD packet to send [14:51:40]OFD Sender: No OFD packet to send [14:51:45]OFD Sender: No OFD packet to send [14:51:50]OFD Sender: No OFD packet to send [14:51:55]OFD Sender: No OFD packet to send [14:52:00]OFD Sender: No OFD packet to send [14:52:05]OFD Sender: No OFD packet to send [14:52:10]OFD Sender: No OFD packet to send [14:52:15]OFD Sender: No OFD packet to send [14:52:20]OFD Sender: No OFD packet to send [14:52:25]OFD Sender: No OFD packet to send [14:52:30]OFD Sender: No OFD packet to send [14:52:35]OFD Sender: No OFD packet to send [14:52:40]OFD Sender: No OFD packet to send [14:52:45]OFD Sender: No OFD packet to send [14:52:50]OFD Sender: No OFD packet to send [14:52:55]OFD Sender: No OFD packet to send [14:53:00]OFD Sender: No OFD packet to send [14:53:05]OFD Sender: No OFD packet to send [14:53:10]OFD Sender: No OFD packet to send [14:53:15]OFD Sender: No OFD packet to send [14:53:20]OFD Sender: No OFD packet to send [14:53:25]OFD Sender: No OFD packet to send [14:53:30]OFD Sender: No OFD packet to send [14:53:35]OFD Sender: No OFD packet to send [14:53:40]OFD Sender: No OFD packet to send [14:53:45]OFD Sender: No OFD packet to send [14:53:50]OFD Sender: No OFD packet to send [14:53:55]OFD Sender: No OFD packet to send [14:53:57]accept exits with 8 [14:53:57]New connection [14:53:57]New thread 3066871140 created [14:53:57]Thread 3067014500 joined [14:53:57]Waiting for new connection... [14:53:57] Sock 8.Parse request [14:53:57]Sock 8.Check first char [14:53:57]Sock 8.First char is OK [14:53:57]request: POST /json_proto HTTP/1.0 [14:53:57]Method: POST [14:53:57]URL: /json_proto [14:53:57]Method is POST - this is cgi request [14:53:57]url: /json_proto [14:53:57]query_string will be loaded in cgi processing [14:53:57]execute_cgi json_proto POST (null) [14:53:57]execute_cgi path=json_proto method=POST [14:53:57]POST find Content-Length [14:53:57]Host: 172.17.35.3:8080 [14:53:57]Content-Length: 687 [14:53:57]Content-Type: application/json [14:53:57] [14:53:57]POST finish read [14:53:57]Found Content-Length = 687 [14:53:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359486", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "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" ] } } [14:53:57]execute_script... [14:53: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 : (1)359486", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "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" ] } } [14:53:57]POST & json_proto [14:53:57]process_json_proto [14:53:57]json parsed OK: [14:53:57]protocol is kg_v1.0 [14:53:57]action value=close_receipt [14:53:57]process_action close_receipt [14:53:57]cmd_close_receipt [14:53:57]MH_GetDate [14:53:57]Write to MH i2c: F0 00 00 22 25 36 [14:53:57]Write i2c OK [14:53:57]MH_I2C_Read... [14:53:57]Read from MH i2c: F0 [14:53:57]MH_I2C_Read... [14:53:57]Read from MH i2c: F0 09 00 [14:53:57]MH_I2C_Read... [14:53:57]Read from MH i2c: F0 09 00 22 25 00 8F B3 12 66 2B 11 66 64 FF [14:53:57]GetLastDocTimeStamp 1712500781 [14:53:57]current date 1712501647 [14:53:57]FM_GetShiftState [14:53:57]SAM_PROTO_GetShiftState [14:53:57]wFMCommunicate request_size=4 [14:53:57]MH_SAM_APDU [14:53:57]CAPDU: 80 13 01 00 [14:53:57]Write to MH i2c: E2 08 00 23 25 80 13 01 00 00 00 00 00 C5 [14:53:57]Write i2c OK [14:53:57]MH_I2C_Read... [14:53:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:53:58]Read from MH i2c: E2 [14:53:58]MH_I2C_Read... [14:53:58]Read from MH i2c: E2 0E 00 [14:53:58]MH_I2C_Read... [14:53:58]Read from MH i2c: E2 0E 00 23 25 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 59 [14:53:58]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [14:53:58]wFMCommunicate OK [14:53:58]SAM_PROTO_GetShiftState done [14:53:58]FM_GetShiftState done [14:53:58]opened in 1712450087 [14:53:58]opened+sec_in_day 1712536487 [14:53:58]quantity*price = 100017 [14:53:58]sum+1 = 100018 [14:53:58]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.17 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.21 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 42 07.04.2024 14:54 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26743 ФПД: 18648228031480 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T145407&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26743&fm=18648228031480&tin=02508201610067®Number=0000000000091578&sum=100000 [14:53:59]StoreToDocumentArchive [14:53:59]shift 313 fd 26743 [14:53:59]save to /storage/0313/doc_00026743 [14:53:59]save last doc name /storage/0313/doc_00026743 to /storage/kkm_last_doc_name [14:53:59]save OK [14:53:59]Clear old archive folders... [14:53:59]ProcessDocumentItem done err = 0, tmpTLVsize=252 [14:53:59]tlvbuf is 00E2A3D0 [14:53:59]SAM_PROTO_ClearQueue [14:53:59]wFMCommunicate request_size=4 [14:53:59]MH_SAM_APDU [14:53:59]CAPDU: 80 09 00 00 [14:53:59]Write to MH i2c: E2 08 00 30 25 80 09 00 00 00 00 00 00 C7 [14:53:59]Write i2c OK [14:53:59]MH_I2C_Read... [14:53:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:53:59]Read from MH i2c: E2 [14:53:59]MH_I2C_Read... [14:53:59]Read from MH i2c: E2 03 00 [14:53:59]MH_I2C_Read... [14:53:59]Read from MH i2c: E2 03 00 30 25 00 90 00 C9 [14:53:59]RAPDU: 90 00 [14:53:59]wFMCommunicate OK [14:53:59]SAM_PROTO_ClearQueue done [14:53:59]KKMCreateOFDPacket [14:53:59]OFDProtocolAddRootSTLVToBuf [14:53:59]FM_MakeSignedData [14:53:59]FM_MakeSignedData [14:53:59]SAM_PROTO_SignData [14:53:59]wFMCommunicate request_size=4 [14:53:59]MH_SAM_APDU [14:53:59]CAPDU: 80 0D 01 02 [14:53:59]Write to MH i2c: E2 08 00 31 25 80 0D 01 02 00 00 00 00 CF [14:53:59]Write i2c OK [14:53:59]MH_I2C_Read... [14:53:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:53:59]Read from MH i2c: E2 [14:53:59]MH_I2C_Read... [14:53:59]Read from MH i2c: E2 03 00 [14:53:59]MH_I2C_Read... [14:53:59]Read from MH i2c: E2 03 00 31 25 00 90 00 CA [14:53:59]RAPDU: 90 00 [14:53:59]wFMCommunicate OK [14:53:59]wFMCommunicate request_size=255 [14:53:59]MH_SAM_APDU [14:53:59]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 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 7D 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 2A 00 00 00 F4 03 04 00 8F B3 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 77 68 00 00 35 04 06 00 [14:53:59]Write to MH i2c: E2 02 01 32 25 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 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 7D 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 2A 00 00 00 F4 03 04 00 8F B3 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 77 68 00 00 35 04 06 00 00 00 87 [14:53:59]Write i2c OK [14:53:59]MH_I2C_Read... [14:53:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:53:59]Read from MH i2c: E2 [14:53:59]MH_I2C_Read... [14:53:59]Read from MH i2c: E2 03 00 [14:53:59]MH_I2C_Read... [14:53:59]Read from MH i2c: E2 03 00 32 25 00 90 00 CB [14:53:59]RAPDU: 90 00 [14:53:59]wFMCommunicate OK [14:53:59]wFMCommunicate request_size=11 [14:53:59]MH_SAM_APDU [14:53:59]CAPDU: 80 0D 02 02 06 10 F5 E1 01 EB F8 [14:53:59]Write to MH i2c: E2 0E 00 33 25 80 0D 02 02 06 00 10 F5 E1 01 EB F8 00 00 A8 [14:53:59]Write i2c OK [14:53:59]MH_I2C_Read... [14:53:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:53:59]Read from MH i2c: E2 [14:53:59]MH_I2C_Read... [14:53:59]Read from MH i2c: E2 03 00 [14:53:59]MH_I2C_Read... [14:53:59]Read from MH i2c: E2 03 00 33 25 00 90 00 CC [14:53:59]RAPDU: 90 00 [14:53:59]wFMCommunicate OK [14:53:59]wFMCommunicate request_size=4 [14:53:59]MH_SAM_APDU [14:53:59]CAPDU: 80 0D 03 02 [14:53:59]Write to MH i2c: E2 08 00 34 25 80 0D 03 02 00 00 00 00 D4 [14:53:59]Write i2c OK [14:53:59]MH_I2C_Read... [14:53:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:53:59]Read from MH i2c: E2 [14:53:59]MH_I2C_Read... [14:53:59]Read from MH i2c: E2 0B 00 [14:53:59]MH_I2C_Read... [14:53:59]Read from MH i2c: E2 0B 00 34 25 00 04 D1 E0 CB 1A 72 52 A7 90 00 DA [14:53:59]RAPDU: 04 D1 E0 CB 1A 72 52 A7 90 00 [14:53:59]wFMCommunicate OK [14:53:59]SAM_PROTO_SignData done [14:53:59]FM_MakeSignedData done [14:53:59]CreateOFDProtocolMessage [14:53:59]wFMCommunicate request_size=4 [14:53:59]MH_SAM_APDU [14:53:59]CAPDU: 80 11 00 00 [14:53:59]Write to MH i2c: E2 08 00 35 25 80 11 00 00 00 00 00 00 D4 [14:53:59]Write i2c OK [14:53:59]MH_I2C_Read... [14:53:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:53:59]Read from MH i2c: E2 [14:53:59]MH_I2C_Read... [14:53:59]Read from MH i2c: E2 17 00 [14:53:59]MH_I2C_Read... [14:53:59]Read from MH i2c: E2 17 00 35 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 2C [14:53:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [14:53:59]wFMCommunicate OK [14:53:59]CreateOFDProtocolMessage done [14:53:59]OFDSenderStorePacket 26743 [14:53:59]StoreOFDPacket docnum=26743 [14:53:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 CC 94 08 01 9B 96 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 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 7D 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 2A 00 00 00 F4 03 04 00 8F B3 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 77 68 00 00 35 04 06 00 10 F5 E1 01 EB F8 04 D1 E0 CB 1A 72 52 A7 [14:53:59]CheckFolder [14:53:59]dirname=/storage/ofd_packets [14:53:59]CheckFolder done [14:53:59]ProducePacketName [14:53:59]name=ofd_packets/00026743 [14:53:59]NVStorageSaveData ofd_packets/00026743 [14:53:59]File name is /storage/ofd_packets/00026743 [14:53:59]Write 302 bytes [14:53:59]NVStorageSaveData done [14:53:59]OFDSenderStorePacket done [14:53:59]KKMCreateOFDPacket done [14:53:59]NVStorageSaveData kkm_last_timestamp [14:53:59]File name is /storage/kkm_last_timestamp [14:53:59]Write 4 bytes [14:53:59]NVStorageSaveData done [14:53:59]ExternCall_PrintAddStr [14:53:59]wPrintStart [14:53:59]Write to MH i2c: 01 00 00 36 25 5B [14:53:59]Write i2c OK [14:53:59]MH_I2C_Read... [14:53:59]Read from MH i2c: 01 [14:53:59]MH_I2C_Read... [14:53:59]Read from MH i2c: 01 07 00 [14:53:59]MH_I2C_Read... [14:53:59]Read from MH i2c: 01 07 00 36 25 00 00 00 00 00 FF 0F 70 [14:53:59]RasterBufferAndPrint [14:53:59]line Счет N : (1)359486 [14:53:59]line ИНН: 02508201610067 [14:53:59]line Контрольно-Кассовый Чек [14:53:59]line ПРОДАЖА [14:53:59]line ТРК (МРК, ГНК) : 21 [14:53:59]line Товар: 2710194210 [14:53:59]line ДТ(л)-К-5 [14:53:59]line 13.930 * 71.80 [14:53:59]line = 1000.17 [14:53:59]line НДС 12% НСП 1% [14:53:59]line > о реализуемом товаре [14:53:59]line ОКРУГЛЕНИЕ: -0.17 [14:53:59]line ИТОГО: 1000.00 [14:53:59]line Внесено: 1000.00 [14:53:59]line СДАЧА: 0.00 [14:53:59]line НСП 1% : 8.85 [14:53:59]line НДС 12% : 106.21 [14:53:59]line Наличными: 1000.00 [14:53:59]line Безнал.: 0.00 [14:53:59]line Место: АЗС № 122 "Партнер Нефть" [14:53:59]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [14:53:59]line СНО: Общий режим [14:53:59]line Чек 42 07.04.2024 14:54 [14:53:59]line Смена: 313 ФФД: 1.0 [14:53:59]line ЗНМ: 0300000147 [14:53:59]line РНМ: 0000000000091578 [14:53:59]line Версия ККМ: 001 [14:53:59]line ФМ: 0000000000874657 [14:53:59]line ФД: 26743 [14:53:59]line ФПД: 18648228031480 [14:54:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T145407&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26743&fm=18648228031480&tin=02508201610067®Number=0000000000091578&sum=100000 [14:54:00]OFD Sender: Processing packet 26743 [packets to send 44, broken 43] [14:54:00]ProducePacketName [14:54:00]name=ofd_packets/00026743 [14:54:00]OFD Sender: To server: pG, [14:54:00]CommunicateWithHost lk.salyk.kg:30040 [14:54:00]ConnectInit lk.salyk.kg [14:54:00]written 0, free lines is 4095 [14:54:00]Connected sock=10 [14:54: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 36 35 37 10 01 00 00 CC 94 08 01 9B 96 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 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 7D 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 2A 00 00 00 F4 03 04 00 8F B3 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 77 68 00 00 35 04 06 00 10 F5 E1 01 EB F8 04 D1 E0 CB 1A 72 52 A7 [14:54:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 7D BD 47 00 89 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 36 35 37 10 04 04 00 77 68 00 00 F4 03 04 00 FC 5A 12 66 B6 04 01 00 00 B4 1D DA 64 9F 38 89 7C [14:54:00]CommunicateWithHost err = 0 [14:54:00]CheckOFDResponse [14:54:00]1017 (14) - 77093643461234 [14:54:00]1041 (16) - 0000000000874657 [14:54:00]1040 (4) - 26743 [14:54:00]1012 (4) - 07.04.2024 08:36 [14:54:00]1206 (1) - 0 [14:54:00]OFD Sender: Remove packet 26743 [14:54:00]ProducePacketName [14:54:00]name=ofd_packets/00026743 [14:54:00]NVStorageDeleteData [14:54:00]Write to MH i2c: 01 00 00 61 25 86 [14:54:00]Write i2c OK [14:54:00]MH_I2C_Read... [14:54:00]Read from MH i2c: 01 [14:54:00]MH_I2C_Read... [14:54:00]Read from MH i2c: 01 07 00 [14:54:00]MH_I2C_Read... [14:54:00]Read from MH i2c: 01 07 00 61 25 00 00 00 00 00 6D 0C 06 [14:54:00]RasterBufferAndPrint [14:54:00]line [14:54:00]line [14:54:00]line [14:54:00]line [14:54:00]line [14:54:00]written 0, free lines is 3184 [14:54:00]MH_Cut [14:54:00]Write to MH i2c: D1 01 00 68 25 01 5F [14:54:00]Write i2c OK [14:54:00]MH_I2C_Read... [14:54:00]Read from MH i2c: D1 [14:54:00]MH_I2C_Read... [14:54:00]Read from MH i2c: D1 01 00 [14:54:00]MH_I2C_Read... [14:54:00]Read from MH i2c: D1 01 00 68 25 00 5E [14:54:00]Write to MH i2c: 01 00 00 69 25 8E [14:54:00]Write i2c OK [14:54:00]MH_I2C_Read... [14:54:00]OFD Sender: No OFD packet to send [14:54:01]*** Cut start [14:54:01]*** Partial cut [14:54:01]*** CUTSNS_PIN = 1 [14:54:01]*** CUTSNS_PIN = 0 [14:54:01]*** Brake cut motor [14:54:02]Read from MH i2c: 01 [14:54:02]MH_I2C_Read... [14:54:02]*** Stop cut motor [14:54:02]*** Cut end [14:54:02]Read from MH i2c: 01 07 00 [14:54:02]MH_I2C_Read... [14:54:02]Read from MH i2c: 01 07 00 69 25 00 00 00 00 00 FF 0F A3 [14:54:02]process_action close_receipt done [14:54:02]requested_data is exist [14:54:02]produce_requested_data [14:54:02]requested_item fm.sn is exist - process it [14:54:02]wFMCommunicate request_size=4 [14:54:02]MH_SAM_APDU [14:54:02]CAPDU: 80 11 00 00 [14:54:02]Write to MH i2c: E2 08 00 6A 25 80 11 00 00 00 00 00 00 09 [14:54:02]Write i2c OK [14:54:02]MH_I2C_Read... [14:54:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:54:02]Read from MH i2c: E2 [14:54:02]MH_I2C_Read... [14:54:02]Read from MH i2c: E2 17 00 [14:54:02]MH_I2C_Read... [14:54:02]Read from MH i2c: E2 17 00 6A 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 61 [14:54:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [14:54:02]wFMCommunicate OK [14:54:02]requested_item fd.num is exist - process it [14:54:02]SAM_PROTO_GetFieldsCounters [14:54:02]wFMCommunicate request_size=4 [14:54:02]MH_SAM_APDU [14:54:02]CAPDU: 80 13 00 00 [14:54:02]Write to MH i2c: E2 08 00 6B 25 80 13 00 00 00 00 00 00 0C [14:54:02]Write i2c OK [14:54:02]MH_I2C_Read... [14:54:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:54:02]Read from MH i2c: E2 [14:54:02]MH_I2C_Read... [14:54:02]Read from MH i2c: E2 62 00 [14:54:02]MH_I2C_Read... [14:54:02]Read from MH i2c: E2 62 00 6B 25 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 77 68 00 00 0E 04 04 00 39 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 CE [14:54: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 77 68 00 00 0E 04 04 00 39 01 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:54:02]wFMCommunicate OK [14:54:02]SAM_PROTO_GetFieldsCounters done [14:54:02]requested_item shift.num is exist - process it [14:54:02]requested_item shift.opened is exist - process it [14:54:02]req_shift_opened [14:54:02]FM_GetShiftState [14:54:02]SAM_PROTO_GetShiftState [14:54:02]wFMCommunicate request_size=4 [14:54:02]MH_SAM_APDU [14:54:02]CAPDU: 80 13 01 00 [14:54:02]Write to MH i2c: E2 08 00 6C 25 80 13 01 00 00 00 00 00 0E [14:54:02]Write i2c OK [14:54:02]MH_I2C_Read... [14:54:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:54:02]Read from MH i2c: E2 [14:54:02]MH_I2C_Read... [14:54:02]Read from MH i2c: E2 0E 00 [14:54:02]MH_I2C_Read... [14:54:02]Read from MH i2c: E2 0E 00 6C 25 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 A2 [14:54:02]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [14:54:02]wFMCommunicate OK [14:54:02]SAM_PROTO_GetShiftState done [14:54:02]FM_GetShiftState done [14:54:02]req_shift_opened done [14:54:02]requested_item shift.open_date is exist - process it [14:54:02]req_shift_open_date [14:54:02]req_shift_open_date done [14:54:02]produce_requested_data done [14:54:02]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26743,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [14:54:02]process_action_free close_receipt [14:54:02]json_value_free [14:54:02]json_value_free done [14:54:02]process_json_proto returns [14:54:02]Send response to host [14:54:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26743,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [14:54:02]free response buf [14:54:02]execute_script done [14:54:02]execute_script returns [14:54:02]free content buf [14:54:02]Sock 8.Close socket [14:54:02]Sock 8.Thread stoped [14:54:05]OFD Sender: No OFD packet to send [14:54:10]OFD Sender: No OFD packet to send [14:54:15]OFD Sender: No OFD packet to send [14:54:20]OFD Sender: No OFD packet to send [14:54:25]OFD Sender: No OFD packet to send [14:54:30]OFD Sender: No OFD packet to send [14:54:35]OFD Sender: No OFD packet to send [14:54:40]OFD Sender: No OFD packet to send [14:54:45]OFD Sender: No OFD packet to send [14:54:50]OFD Sender: No OFD packet to send [14:54:55]OFD Sender: No OFD packet to send [14:55:00]OFD Sender: No OFD packet to send [14:55:05]OFD Sender: No OFD packet to send [14:55:10]OFD Sender: No OFD packet to send [14:55:15]OFD Sender: No OFD packet to send [14:55:20]OFD Sender: No OFD packet to send [14:55:25]OFD Sender: No OFD packet to send [14:55:30]OFD Sender: No OFD packet to send [14:55:35]OFD Sender: No OFD packet to send [14:55:40]OFD Sender: No OFD packet to send [14:55:45]OFD Sender: No OFD packet to send [14:55:50]OFD Sender: No OFD packet to send [14:55:55]OFD Sender: No OFD packet to send [14:56:00]OFD Sender: No OFD packet to send [14:56:03]accept exits with 9 [14:56:03]New connection [14:56:03]New thread 3067014500 created [14:56:03]Thread 3066871140 joined [14:56:03]Waiting for new connection... [14:56:03] Sock 9.Parse request [14:56:03]Sock 9.Check first char [14:56:03]Sock 9.First char is OK [14:56:03]request: POST /json_proto HTTP/1.0 [14:56:03]Method: POST [14:56:03]URL: /json_proto [14:56:03]Method is POST - this is cgi request [14:56:03]url: /json_proto [14:56:03]query_string will be loaded in cgi processing [14:56:03]execute_cgi json_proto POST (null) [14:56:03]execute_cgi path=json_proto method=POST [14:56:03]POST find Content-Length [14:56:03]Host: 172.17.35.3:8080 [14:56:03]Content-Length: 808 [14:56:03]Content-Type: application/json [14:56:03] [14:56:03]POST finish read [14:56:03]Found Content-Length = 808 [14:56:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359487", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 27.860, "sum" : 2000.35, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 2000.35 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:56:03]execute_script... [14:56: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 : (1)359487", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 27.860, "sum" : 2000.35, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 2000.35 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:56:03]POST & json_proto [14:56:03]process_json_proto [14:56:03]json parsed OK: [14:56:03]protocol is kg_v1.0 [14:56:03]action value=close_receipt [14:56:03]process_action close_receipt [14:56:03]cmd_close_receipt [14:56:03]MH_GetDate [14:56:03]Write to MH i2c: F0 00 00 6D 25 81 [14:56:03]Write i2c OK [14:56:03]MH_I2C_Read... [14:56:03]Read from MH i2c: F0 [14:56:03]MH_I2C_Read... [14:56:03]Read from MH i2c: F0 09 00 [14:56:03]MH_I2C_Read... [14:56:03]Read from MH i2c: F0 09 00 6D 25 00 0D B4 12 66 2B 11 66 64 C9 [14:56:03]GetLastDocTimeStamp 1712501647 [14:56:03]current date 1712501773 [14:56:03]FM_GetShiftState [14:56:03]SAM_PROTO_GetShiftState [14:56:03]wFMCommunicate request_size=4 [14:56:03]MH_SAM_APDU [14:56:03]CAPDU: 80 13 01 00 [14:56:03]Write to MH i2c: E2 08 00 6E 25 80 13 01 00 00 00 00 00 10 [14:56:03]Write i2c OK [14:56:03]MH_I2C_Read... [14:56:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:56:03]Read from MH i2c: E2 [14:56:03]MH_I2C_Read... [14:56:03]Read from MH i2c: E2 0E 00 [14:56:03]MH_I2C_Read... [14:56:03]Read from MH i2c: E2 0E 00 6E 25 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 A4 [14:56:03]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [14:56:03]wFMCommunicate OK [14:56:03]SAM_PROTO_GetShiftState done [14:56:03]FM_GetShiftState done [14:56:03]opened in 1712450087 [14:56:03]opened+sec_in_day 1712536487 [14:56:03]quantity*price = 200034 [14:56:03]sum+1 = 200036 [14:56:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 2000.35 НСП 1% : 17.70 НДС 12% : 212.43 Наличными: 0.00 Безнал.: 2000.35 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 43 07.04.2024 14:56 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000874657 ФД: 26744 ФПД: 35695623875413 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T145613&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26744&fm=35695623875413&tin=02508201610067®Number=0000000000091578&sum=200035 [14:56:04]StoreToDocumentArchive [14:56:04]shift 313 fd 26744 [14:56:04]save to /storage/0313/doc_00026744 [14:56:04]save last doc name /storage/0313/doc_00026744 to /storage/kkm_last_doc_name [14:56:04]save OK [14:56:04]Clear old archive folders... [14:56:04]ProcessDocumentItem done err = 0, tmpTLVsize=252 [14:56:04]tlvbuf is B6EE99A0 [14:56:04]SAM_PROTO_ClearQueue [14:56:04]wFMCommunicate request_size=4 [14:56:04]MH_SAM_APDU [14:56:04]CAPDU: 80 09 00 00 [14:56:04]Write to MH i2c: E2 08 00 7B 25 80 09 00 00 00 00 00 00 12 [14:56:04]Write i2c OK [14:56:04]MH_I2C_Read... [14:56:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:56:04]Read from MH i2c: E2 [14:56:04]MH_I2C_Read... [14:56:04]Read from MH i2c: E2 03 00 [14:56:04]MH_I2C_Read... [14:56:04]Read from MH i2c: E2 03 00 7B 25 00 90 00 14 [14:56:04]RAPDU: 90 00 [14:56:04]wFMCommunicate OK [14:56:04]SAM_PROTO_ClearQueue done [14:56:04]KKMCreateOFDPacket [14:56:04]OFDProtocolAddRootSTLVToBuf [14:56:04]FM_MakeSignedData [14:56:04]FM_MakeSignedData [14:56:04]SAM_PROTO_SignData [14:56:04]wFMCommunicate request_size=4 [14:56:04]MH_SAM_APDU [14:56:04]CAPDU: 80 0D 01 02 [14:56:04]Write to MH i2c: E2 08 00 7C 25 80 0D 01 02 00 00 00 00 1A [14:56:04]Write i2c OK [14:56:04]MH_I2C_Read... [14:56:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:56:04]Read from MH i2c: E2 [14:56:04]MH_I2C_Read... [14:56:04]Read from MH i2c: E2 03 00 [14:56:04]MH_I2C_Read... [14:56:04]Read from MH i2c: E2 03 00 7C 25 00 90 00 15 [14:56:04]RAPDU: 90 00 [14:56:04]wFMCommunicate OK [14:56:04]wFMCommunicate request_size=255 [14:56:04]MH_SAM_APDU [14:56:04]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 D4 6C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 63 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 63 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 63 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 0D B4 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 78 68 00 00 35 04 06 00 [14:56:04]Write to MH i2c: E2 02 01 7D 25 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 D4 6C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 63 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 63 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 63 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 0D B4 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 78 68 00 00 35 04 06 00 00 00 E5 [14:56:04]Write i2c OK [14:56:04]MH_I2C_Read... [14:56:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:56:05]Read from MH i2c: E2 [14:56:05]MH_I2C_Read... [14:56:05]Read from MH i2c: E2 03 00 [14:56:05]MH_I2C_Read... [14:56:05]Read from MH i2c: E2 03 00 7D 25 00 90 00 16 [14:56:05]RAPDU: 90 00 [14:56:05]wFMCommunicate OK [14:56:05]wFMCommunicate request_size=11 [14:56:05]MH_SAM_APDU [14:56:05]CAPDU: 80 0D 02 02 06 20 77 08 FB 2B 55 [14:56:05]Write to MH i2c: E2 0E 00 7E 25 80 0D 02 02 06 00 20 77 08 FB 2B 55 00 00 43 [14:56:05]Write i2c OK [14:56:05]MH_I2C_Read... [14:56:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:56:05]Read from MH i2c: E2 [14:56:05]MH_I2C_Read... [14:56:05]Read from MH i2c: E2 03 00 [14:56:05]MH_I2C_Read... [14:56:05]Read from MH i2c: E2 03 00 7E 25 00 90 00 17 [14:56:05]RAPDU: 90 00 [14:56:05]wFMCommunicate OK [14:56:05]wFMCommunicate request_size=4 [14:56:05]MH_SAM_APDU [14:56:05]CAPDU: 80 0D 03 02 [14:56:05]Write to MH i2c: E2 08 00 7F 25 80 0D 03 02 00 00 00 00 1F [14:56:05]Write i2c OK [14:56:05]MH_I2C_Read... [14:56:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:56:05]Read from MH i2c: E2 [14:56:05]MH_I2C_Read... [14:56:05]Read from MH i2c: E2 0B 00 [14:56:05]MH_I2C_Read... [14:56:05]Read from MH i2c: E2 0B 00 7F 25 00 A7 77 F2 85 F4 84 AE 97 90 00 72 [14:56:05]RAPDU: A7 77 F2 85 F4 84 AE 97 90 00 [14:56:05]wFMCommunicate OK [14:56:05]SAM_PROTO_SignData done [14:56:05]FM_MakeSignedData done [14:56:05]CreateOFDProtocolMessage [14:56:05]wFMCommunicate request_size=4 [14:56:05]MH_SAM_APDU [14:56:05]CAPDU: 80 11 00 00 [14:56:05]Write to MH i2c: E2 08 00 80 25 80 11 00 00 00 00 00 00 1F [14:56:05]Write i2c OK [14:56:05]MH_I2C_Read... [14:56:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:56:05]Read from MH i2c: E2 [14:56:05]MH_I2C_Read... [14:56:05]Read from MH i2c: E2 17 00 [14:56:05]MH_I2C_Read... [14:56:05]Read from MH i2c: E2 17 00 80 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 77 [14:56:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [14:56:05]wFMCommunicate OK [14:56:05]CreateOFDProtocolMessage done [14:56:05]OFDSenderStorePacket 26744 [14:56:05]StoreOFDPacket docnum=26744 [14:56:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 18 0B 08 01 C0 34 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 D4 6C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 63 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 63 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 63 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 0D B4 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 78 68 00 00 35 04 06 00 20 77 08 FB 2B 55 A7 77 F2 85 F4 84 AE 97 [14:56:05]CheckFolder [14:56:05]dirname=/storage/ofd_packets [14:56:05]CheckFolder done [14:56:05]ProducePacketName [14:56:05]name=ofd_packets/00026744 [14:56:05]NVStorageSaveData ofd_packets/00026744 [14:56:05]File name is /storage/ofd_packets/00026744 [14:56:05]Write 302 bytes [14:56:05]NVStorageSaveData done [14:56:05]OFDSenderStorePacket done [14:56:05]KKMCreateOFDPacket done [14:56:05]NVStorageSaveData kkm_last_timestamp [14:56:05]File name is /storage/kkm_last_timestamp [14:56:05]Write 4 bytes [14:56:05]NVStorageSaveData done [14:56:05]ExternCall_PrintAddStr [14:56:05]wPrintStart [14:56:05]Write to MH i2c: 01 00 00 81 25 A6 [14:56:05]Write i2c OK [14:56:05]MH_I2C_Read... [14:56:05]Read from MH i2c: 01 [14:56:05]MH_I2C_Read... [14:56:05]Read from MH i2c: 01 07 00 [14:56:05]MH_I2C_Read... [14:56:05]Read from MH i2c: 01 07 00 81 25 00 00 00 00 00 FF 0F BB [14:56:05]RasterBufferAndPrint [14:56:05]line Счет N : (1)359487 [14:56:05]line ИНН: 02508201610067 [14:56:05]line Контрольно-Кассовый Чек [14:56:05]line ПРОДАЖА [14:56:05]line ТРК (МРК, ГНК) : 11 [14:56:05]line Товар: 2710194210 [14:56:05]line ДТ(л)-К-5 [14:56:05]line 27.860 * 71.80 [14:56:05]line = 2000.35 [14:56:05]line НДС 12% НСП 1% [14:56:05]line > о реализуемом товаре [14:56:05]line ИТОГО: 2000.35 [14:56:05]line НСП 1% : 17.70 [14:56:05]line НДС 12% : 212.43 [14:56:05]line Наличными: 0.00 [14:56:05]line Безнал.: 2000.35 [14:56:05]line Место: АЗС № 122 "Партнер Нефть" [14:56:05]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [14:56:05]line СНО: Общий режим [14:56:05]line Чек 43 07.04.2024 14:56 [14:56:05]line Смена: 313 ФФД: 1.0 [14:56:05]line ЗНМ: 0300000147 [14:56:05]line РНМ: 0000000000091578 [14:56:05]line Версия ККМ: 001 [14:56:05]line Платежная система: O! деньги [14:56:05]line ФМ: 0000000000874657 [14:56:05]line ФД: 26744 [14:56:05]line ФПД: 35695623875413 [14:56:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T145613&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26744&fm=35695623875413&tin=02508201610067®Number=0000000000091578&sum=200035 [14:56:05]OFD Sender: Processing packet 26744 [packets to send 44, broken 43] [14:56:05]ProducePacketName [14:56:05]name=ofd_packets/00026744 [14:56:05]OFD Sender: To server: pG, [14:56:05]CommunicateWithHost lk.salyk.kg:30040 [14:56:05]ConnectInit lk.salyk.kg [14:56:05]written 0, free lines is 4095 [14:56:05]Connected sock=10 [14:56: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 36 35 37 10 01 00 00 18 0B 08 01 C0 34 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 D4 6C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 63 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 63 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 63 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 0D B4 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 78 68 00 00 35 04 06 00 20 77 08 FB 2B 55 A7 77 F2 85 F4 84 AE 97 [14:56:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 BB AF 47 00 7F 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 36 35 37 10 04 04 00 78 68 00 00 F4 03 04 00 7A 5B 12 66 B6 04 01 00 00 19 0E 69 64 BF 3E F7 8A [14:56:05]CommunicateWithHost err = 0 [14:56:05]CheckOFDResponse [14:56:05]1017 (14) - 77093643461234 [14:56:05]1041 (16) - 0000000000874657 [14:56:05]1040 (4) - 26744 [14:56:05]1012 (4) - 07.04.2024 08:38 [14:56:05]1206 (1) - 0 [14:56:05]OFD Sender: Remove packet 26744 [14:56:05]ProducePacketName [14:56:05]name=ofd_packets/00026744 [14:56:05]NVStorageDeleteData [14:56:06]Write to MH i2c: 01 00 00 AB 25 D0 [14:56:06]Write i2c OK [14:56:06]MH_I2C_Read... [14:56:06]Read from MH i2c: 01 [14:56:06]MH_I2C_Read... [14:56:06]Read from MH i2c: 01 07 00 [14:56:06]MH_I2C_Read... [14:56:06]Read from MH i2c: 01 07 00 AB 25 00 00 00 00 00 88 0C 6B [14:56:06]RasterBufferAndPrint [14:56:06]line [14:56:06]line [14:56:06]line [14:56:06]line [14:56:06]line [14:56:06]written 0, free lines is 3212 [14:56:06]MH_Cut [14:56:06]Write to MH i2c: D1 01 00 B2 25 01 A9 [14:56:06]Write i2c OK [14:56:06]MH_I2C_Read... [14:56:06]Read from MH i2c: D1 [14:56:06]MH_I2C_Read... [14:56:06]Read from MH i2c: D1 01 00 [14:56:06]MH_I2C_Read... [14:56:06]Read from MH i2c: D1 01 00 B2 25 00 A8 [14:56:06]Write to MH i2c: 01 00 00 B3 25 D8 [14:56:06]Write i2c OK [14:56:06]MH_I2C_Read... [14:56:06]OFD Sender: No OFD packet to send [14:56:07]*** Cut start [14:56:07]*** Partial cut [14:56:07]*** CUTSNS_PIN = 1 [14:56:07]*** CUTSNS_PIN = 0 [14:56:07]*** Brake cut motor [14:56:07]Read from MH i2c: 01 [14:56:07]MH_I2C_Read... [14:56:07]*** Stop cut motor [14:56:07]*** Cut end [14:56:07]Read from MH i2c: 01 07 00 [14:56:07]MH_I2C_Read... [14:56:07]Read from MH i2c: 01 07 00 B3 25 00 00 00 00 00 FF 0F ED [14:56:07]process_action close_receipt done [14:56:07]requested_data is exist [14:56:07]produce_requested_data [14:56:07]requested_item fm.sn is exist - process it [14:56:07]wFMCommunicate request_size=4 [14:56:07]MH_SAM_APDU [14:56:07]CAPDU: 80 11 00 00 [14:56:07]Write to MH i2c: E2 08 00 B4 25 80 11 00 00 00 00 00 00 53 [14:56:07]Write i2c OK [14:56:07]MH_I2C_Read... [14:56:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:56:07]Read from MH i2c: E2 [14:56:07]MH_I2C_Read... [14:56:07]Read from MH i2c: E2 17 00 [14:56:07]MH_I2C_Read... [14:56:07]Read from MH i2c: E2 17 00 B4 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 AB [14:56:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [14:56:07]wFMCommunicate OK [14:56:07]requested_item fd.num is exist - process it [14:56:07]SAM_PROTO_GetFieldsCounters [14:56:07]wFMCommunicate request_size=4 [14:56:07]MH_SAM_APDU [14:56:07]CAPDU: 80 13 00 00 [14:56:07]Write to MH i2c: E2 08 00 B5 25 80 13 00 00 00 00 00 00 56 [14:56:07]Write i2c OK [14:56:07]MH_I2C_Read... [14:56:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:56:08]Read from MH i2c: E2 [14:56:08]MH_I2C_Read... [14:56:08]Read from MH i2c: E2 62 00 [14:56:08]MH_I2C_Read... [14:56:08]Read from MH i2c: E2 62 00 B5 25 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 78 68 00 00 0E 04 04 00 39 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 1C [14:56: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 78 68 00 00 0E 04 04 00 39 01 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:56:08]wFMCommunicate OK [14:56:08]SAM_PROTO_GetFieldsCounters done [14:56:08]requested_item shift.num is exist - process it [14:56:08]requested_item shift.opened is exist - process it [14:56:08]req_shift_opened [14:56:08]FM_GetShiftState [14:56:08]SAM_PROTO_GetShiftState [14:56:08]wFMCommunicate request_size=4 [14:56:08]MH_SAM_APDU [14:56:08]CAPDU: 80 13 01 00 [14:56:08]Write to MH i2c: E2 08 00 B6 25 80 13 01 00 00 00 00 00 58 [14:56:08]Write i2c OK [14:56:08]MH_I2C_Read... [14:56:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:56:08]Read from MH i2c: E2 [14:56:08]MH_I2C_Read... [14:56:08]Read from MH i2c: E2 0E 00 [14:56:08]MH_I2C_Read... [14:56:08]Read from MH i2c: E2 0E 00 B6 25 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 EC [14:56:08]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [14:56:08]wFMCommunicate OK [14:56:08]SAM_PROTO_GetShiftState done [14:56:08]FM_GetShiftState done [14:56:08]req_shift_opened done [14:56:08]requested_item shift.open_date is exist - process it [14:56:08]req_shift_open_date [14:56:08]req_shift_open_date done [14:56:08]produce_requested_data done [14:56:08]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26744,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [14:56:08]process_action_free close_receipt [14:56:08]json_value_free [14:56:08]json_value_free done [14:56:08]process_json_proto returns [14:56:08]Send response to host [14:56:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26744,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [14:56:08]free response buf [14:56:08]execute_script done [14:56:08]execute_script returns [14:56:08]free content buf [14:56:08]Sock 9.Close socket [14:56:08]Sock 9.Thread stoped [14:56:11]OFD Sender: No OFD packet to send [14:56:16]OFD Sender: No OFD packet to send [14:56:21]OFD Sender: No OFD packet to send [14:56:26]OFD Sender: No OFD packet to send [14:56:31]OFD Sender: No OFD packet to send [14:56:36]OFD Sender: No OFD packet to send [14:56:41]OFD Sender: No OFD packet to send [14:56:46]OFD Sender: No OFD packet to send [14:56:51]OFD Sender: No OFD packet to send [14:56:56]OFD Sender: No OFD packet to send [14:57:01]OFD Sender: No OFD packet to send [14:57:06]OFD Sender: No OFD packet to send [14:57:11]OFD Sender: No OFD packet to send [14:57:16]OFD Sender: No OFD packet to send [14:57:21]OFD Sender: No OFD packet to send [14:57:26]OFD Sender: No OFD packet to send [14:57:31]OFD Sender: No OFD packet to send [14:57:36]OFD Sender: No OFD packet to send [14:57:41]OFD Sender: No OFD packet to send [14:57:46]OFD Sender: No OFD packet to send [14:57:51]OFD Sender: No OFD packet to send [14:57:56]OFD Sender: No OFD packet to send [14:58:01]OFD Sender: No OFD packet to send [14:58:06]OFD Sender: No OFD packet to send [14:58:11]OFD Sender: No OFD packet to send [14:58:16]OFD Sender: No OFD packet to send [14:58:21]OFD Sender: No OFD packet to send [14:58:26]OFD Sender: No OFD packet to send [14:58:31]OFD Sender: No OFD packet to send [14:58:36]OFD Sender: No OFD packet to send [14:58:41]OFD Sender: No OFD packet to send [14:58:46]OFD Sender: No OFD packet to send [14:58:51]OFD Sender: No OFD packet to send [14:58:56]OFD Sender: No OFD packet to send [14:59:01]OFD Sender: No OFD packet to send [14:59:06]OFD Sender: No OFD packet to send [14:59:11]OFD Sender: No OFD packet to send [14:59:16]OFD Sender: No OFD packet to send [14:59:21]OFD Sender: No OFD packet to send [14:59:26]OFD Sender: No OFD packet to send [14:59:31]OFD Sender: No OFD packet to send [14:59:36]OFD Sender: No OFD packet to send [14:59:41]OFD Sender: No OFD packet to send [14:59:46]OFD Sender: No OFD packet to send [14:59:51]OFD Sender: No OFD packet to send [14:59:56]OFD Sender: No OFD packet to send [15:00:01]OFD Sender: No OFD packet to send [15:00:06]OFD Sender: No OFD packet to send [15:00:11]OFD Sender: No OFD packet to send [15:00:16]OFD Sender: No OFD packet to send [15:00:21]OFD Sender: No OFD packet to send [15:00:26]OFD Sender: No OFD packet to send [15:00:31]OFD Sender: No OFD packet to send [15:00:36]OFD Sender: No OFD packet to send [15:00:41]OFD Sender: No OFD packet to send [15:00:46]OFD Sender: No OFD packet to send [15:00:51]OFD Sender: No OFD packet to send [15:00:56]OFD Sender: No OFD packet to send [15:01:01]OFD Sender: No OFD packet to send [15:01:06]OFD Sender: No OFD packet to send [15:01:11]OFD Sender: No OFD packet to send [15:01:16]OFD Sender: No OFD packet to send [15:01:21]OFD Sender: No OFD packet to send [15:01:26]OFD Sender: No OFD packet to send [15:01:31]OFD Sender: No OFD packet to send [15:01:36]OFD Sender: No OFD packet to send [15:01:41]OFD Sender: No OFD packet to send [15:01:46]OFD Sender: No OFD packet to send [15:01:51]OFD Sender: No OFD packet to send [15:01:56]OFD Sender: No OFD packet to send [15:02:01]OFD Sender: No OFD packet to send [15:02:06]OFD Sender: No OFD packet to send [15:02:11]OFD Sender: No OFD packet to send [15:02:16]OFD Sender: No OFD packet to send [15:02:21]OFD Sender: No OFD packet to send [15:02:26]OFD Sender: No OFD packet to send [15:02:31]OFD Sender: No OFD packet to send [15:02:36]OFD Sender: No OFD packet to send [15:02:41]OFD Sender: No OFD packet to send [15:02:46]OFD Sender: No OFD packet to send [15:02:51]OFD Sender: No OFD packet to send [15:02:56]OFD Sender: No OFD packet to send [15:03:01]OFD Sender: No OFD packet to send [15:03:06]OFD Sender: No OFD packet to send [15:03:11]OFD Sender: No OFD packet to send [15:03:16]OFD Sender: No OFD packet to send [15:03:21]OFD Sender: No OFD packet to send [15:03:26]OFD Sender: No OFD packet to send [15:03:31]OFD Sender: No OFD packet to send [15:03:36]OFD Sender: No OFD packet to send [15:03:41]accept exits with 8 [15:03:41]New connection [15:03:41]New thread 3066871140 created [15:03:41]Thread 3067014500 joined [15:03:41]Waiting for new connection... [15:03:41] Sock 8.Parse request [15:03:41]Sock 8.Check first char [15:03:41]Sock 8.First char is OK [15:03:41]request: POST /json_proto HTTP/1.0 [15:03:41]Method: POST [15:03:41]URL: /json_proto [15:03:41]Method is POST - this is cgi request [15:03:41]url: /json_proto [15:03:41]query_string will be loaded in cgi processing [15:03:41]execute_cgi json_proto POST (null) [15:03:41]execute_cgi path=json_proto method=POST [15:03:41]POST find Content-Length [15:03:41]Host: 172.17.35.3:8080 [15:03:41]Content-Length: 687 [15:03:41]Content-Type: application/json [15:03:41] [15:03:41]POST finish read [15:03:41]Found Content-Length = 687 [15:03:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359488", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 20.900, "sum" : 1500.62, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1500.00, "total" : 1500.00, "payments": [ { "type": 0, "sum" : 1500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:03:41]execute_script... [15:03: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 : (1)359488", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 20.900, "sum" : 1500.62, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1500.00, "total" : 1500.00, "payments": [ { "type": 0, "sum" : 1500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:03:41]POST & json_proto [15:03:41]process_json_proto [15:03:41]json parsed OK: [15:03:41]protocol is kg_v1.0 [15:03:41]action value=close_receipt [15:03:41]process_action close_receipt [15:03:41]cmd_close_receipt [15:03:41]MH_GetDate [15:03:41]Write to MH i2c: F0 00 00 B7 25 CB [15:03:41]Write i2c OK [15:03:41]MH_I2C_Read... [15:03:41]Read from MH i2c: F0 [15:03:41]MH_I2C_Read... [15:03:41]Read from MH i2c: F0 09 00 [15:03:41]MH_I2C_Read... [15:03:41]Read from MH i2c: F0 09 00 B7 25 00 D6 B5 12 66 2B 11 66 64 DD [15:03:41]GetLastDocTimeStamp 1712501773 [15:03:41]current date 1712502230 [15:03:41]FM_GetShiftState [15:03:41]SAM_PROTO_GetShiftState [15:03:41]wFMCommunicate request_size=4 [15:03:41]MH_SAM_APDU [15:03:41]CAPDU: 80 13 01 00 [15:03:41]Write to MH i2c: E2 08 00 B8 25 80 13 01 00 00 00 00 00 5A [15:03:41]Write i2c OK [15:03:41]MH_I2C_Read... [15:03:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:03:41]Read from MH i2c: E2 [15:03:41]MH_I2C_Read... [15:03:41]Read from MH i2c: E2 0E 00 [15:03:41]MH_I2C_Read... [15:03:41]Read from MH i2c: E2 0E 00 B8 25 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 EE [15:03:41]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [15:03:41]wFMCommunicate OK [15:03:41]SAM_PROTO_GetShiftState done [15:03:41]FM_GetShiftState done [15:03:41]opened in 1712450087 [15:03:41]opened+sec_in_day 1712536487 [15:03:41]quantity*price = 150062 [15:03:41]sum+1 = 150063 [15:03:41]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.62 ИТОГО: 1500.00 Внесено: 1500.00 СДАЧА: 0.00 НСП 1% : 13.28 НДС 12% : 159.36 Наличными: 1500.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 44 07.04.2024 15:03 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26745 ФПД: 62198074299080 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T150350&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26745&fm=62198074299080&tin=02508201610067®Number=0000000000091578&sum=150000 [15:03:42]StoreToDocumentArchive [15:03:42]shift 313 fd 26745 [15:03:42]save to /storage/0313/doc_00026745 [15:03:42]save last doc name /storage/0313/doc_00026745 to /storage/kkm_last_doc_name [15:03:42]save OK [15:03:42]Clear old archive folders... [15:03:42]ProcessDocumentItem done err = 0, tmpTLVsize=252 [15:03:42]tlvbuf is 00E2A2A0 [15:03:42]SAM_PROTO_ClearQueue [15:03:42]wFMCommunicate request_size=4 [15:03:42]MH_SAM_APDU [15:03:42]CAPDU: 80 09 00 00 [15:03:42]Write to MH i2c: E2 08 00 C5 25 80 09 00 00 00 00 00 00 5C [15:03:42]Write i2c OK [15:03:42]MH_I2C_Read... [15:03:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:03:42]Read from MH i2c: E2 [15:03:42]MH_I2C_Read... [15:03:42]Read from MH i2c: E2 03 00 [15:03:42]MH_I2C_Read... [15:03:42]Read from MH i2c: E2 03 00 C5 25 00 90 00 5E [15:03:42]RAPDU: 90 00 [15:03:42]wFMCommunicate OK [15:03:42]SAM_PROTO_ClearQueue done [15:03:42]KKMCreateOFDPacket [15:03:42]OFDProtocolAddRootSTLVToBuf [15:03:42]FM_MakeSignedData [15:03:42]FM_MakeSignedData [15:03:42]SAM_PROTO_SignData [15:03:42]wFMCommunicate request_size=4 [15:03:42]MH_SAM_APDU [15:03:42]CAPDU: 80 0D 01 02 [15:03:42]Write to MH i2c: E2 08 00 C6 25 80 0D 01 02 00 00 00 00 64 [15:03:42]Write i2c OK [15:03:42]MH_I2C_Read... [15:03:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:03:42]Read from MH i2c: E2 [15:03:42]MH_I2C_Read... [15:03:42]Read from MH i2c: E2 03 00 [15:03:42]MH_I2C_Read... [15:03:42]Read from MH i2c: E2 03 00 C6 25 00 90 00 5F [15:03:42]RAPDU: 90 00 [15:03:42]wFMCommunicate OK [15:03:42]wFMCommunicate request_size=255 [15:03:42]MH_SAM_APDU [15:03:42]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 A4 51 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 2E 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 40 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 D6 B5 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 79 68 00 00 35 04 06 00 [15:03:42]Write to MH i2c: E2 02 01 C7 25 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 A4 51 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 2E 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 40 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 D6 B5 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 79 68 00 00 35 04 06 00 00 00 BD [15:03:42]Write i2c OK [15:03:42]MH_I2C_Read... [15:03:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:03:42]Read from MH i2c: E2 [15:03:42]MH_I2C_Read... [15:03:42]Read from MH i2c: E2 03 00 [15:03:42]MH_I2C_Read... [15:03:42]Read from MH i2c: E2 03 00 C7 25 00 90 00 60 [15:03:42]RAPDU: 90 00 [15:03:42]wFMCommunicate OK [15:03:42]wFMCommunicate request_size=11 [15:03:42]MH_SAM_APDU [15:03:42]CAPDU: 80 0D 02 02 06 38 91 9E 1F D2 C8 [15:03:42]Write to MH i2c: E2 0E 00 C8 25 80 0D 02 02 06 00 38 91 9E 1F D2 C8 00 00 93 [15:03:42]Write i2c OK [15:03:42]MH_I2C_Read... [15:03:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:03:42]Read from MH i2c: E2 [15:03:42]MH_I2C_Read... [15:03:42]Read from MH i2c: E2 03 00 [15:03:42]MH_I2C_Read... [15:03:42]Read from MH i2c: E2 03 00 C8 25 00 90 00 61 [15:03:42]RAPDU: 90 00 [15:03:42]wFMCommunicate OK [15:03:42]wFMCommunicate request_size=4 [15:03:42]MH_SAM_APDU [15:03:42]CAPDU: 80 0D 03 02 [15:03:42]Write to MH i2c: E2 08 00 C9 25 80 0D 03 02 00 00 00 00 69 [15:03:42]Write i2c OK [15:03:42]MH_I2C_Read... [15:03:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:03:42]Read from MH i2c: E2 [15:03:42]MH_I2C_Read... [15:03:42]Read from MH i2c: E2 0B 00 [15:03:42]MH_I2C_Read... [15:03:42]Read from MH i2c: E2 0B 00 C9 25 00 6A F9 30 36 B1 37 70 76 90 00 01 [15:03:42]RAPDU: 6A F9 30 36 B1 37 70 76 90 00 [15:03:42]wFMCommunicate OK [15:03:42]SAM_PROTO_SignData done [15:03:42]FM_MakeSignedData done [15:03:42]CreateOFDProtocolMessage [15:03:42]wFMCommunicate request_size=4 [15:03:42]MH_SAM_APDU [15:03:42]CAPDU: 80 11 00 00 [15:03:42]Write to MH i2c: E2 08 00 CA 25 80 11 00 00 00 00 00 00 69 [15:03:42]Write i2c OK [15:03:42]MH_I2C_Read... [15:03:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:03:42]Read from MH i2c: E2 [15:03:42]MH_I2C_Read... [15:03:42]Read from MH i2c: E2 17 00 [15:03:42]MH_I2C_Read... [15:03:42]Read from MH i2c: E2 17 00 CA 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 C1 [15:03:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [15:03:42]wFMCommunicate OK [15:03:42]CreateOFDProtocolMessage done [15:03:42]OFDSenderStorePacket 26745 [15:03:42]StoreOFDPacket docnum=26745 [15:03:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 FA 83 08 01 67 8E 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 A4 51 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 2E 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 40 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 D6 B5 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 79 68 00 00 35 04 06 00 38 91 9E 1F D2 C8 6A F9 30 36 B1 37 70 76 [15:03:42]CheckFolder [15:03:42]dirname=/storage/ofd_packets [15:03:42]CheckFolder done [15:03:42]ProducePacketName [15:03:42]name=ofd_packets/00026745 [15:03:42]NVStorageSaveData ofd_packets/00026745 [15:03:42]File name is /storage/ofd_packets/00026745 [15:03:42]Write 302 bytes [15:03:42]NVStorageSaveData done [15:03:42]OFDSenderStorePacket done [15:03:42]KKMCreateOFDPacket done [15:03:42]NVStorageSaveData kkm_last_timestamp [15:03:42]File name is /storage/kkm_last_timestamp [15:03:42]Write 4 bytes [15:03:42]NVStorageSaveData done [15:03:42]ExternCall_PrintAddStr [15:03:42]wPrintStart [15:03:42]Write to MH i2c: 01 00 00 CB 25 F0 [15:03:42]Write i2c OK [15:03:42]MH_I2C_Read... [15:03:42]Read from MH i2c: 01 [15:03:42]MH_I2C_Read... [15:03:42]Read from MH i2c: 01 07 00 [15:03:42]MH_I2C_Read... [15:03:42]Read from MH i2c: 01 07 00 CB 25 00 00 00 00 00 FF 0F 05 [15:03:42]RasterBufferAndPrint [15:03:42]line Счет N : (1)359488 [15:03:42]line ИНН: 02508201610067 [15:03:42]line Контрольно-Кассовый Чек [15:03:42]line ПРОДАЖА [15:03:42]line ТРК (МРК, ГНК) : 21 [15:03:42]line Товар: 2710194210 [15:03:42]line ДТ(л)-К-5 [15:03:42]line 20.900 * 71.80 [15:03:42]line = 1500.62 [15:03:42]line НДС 12% НСП 1% [15:03:42]line > о реализуемом товаре [15:03:42]line ОКРУГЛЕНИЕ: -0.62 [15:03:42]line ИТОГО: 1500.00 [15:03:42]line Внесено: 1500.00 [15:03:42]line СДАЧА: 0.00 [15:03:42]line НСП 1% : 13.28 [15:03:42]line НДС 12% : 159.36 [15:03:42]line Наличными: 1500.00 [15:03:42]line Безнал.: 0.00 [15:03:42]line Место: АЗС № 122 "Партнер Нефть" [15:03:42]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [15:03:42]line СНО: Общий режим [15:03:42]line Чек 44 07.04.2024 15:03 [15:03:42]line Смена: 313 ФФД: 1.0 [15:03:42]line ЗНМ: 0300000147 [15:03:42]line РНМ: 0000000000091578 [15:03:42]line Версия ККМ: 001 [15:03:42]line ФМ: 0000000000874657 [15:03:42]line ФД: 26745 [15:03:42]line ФПД: 62198074299080 [15:03:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T150350&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26745&fm=62198074299080&tin=02508201610067®Number=0000000000091578&sum=150000 [15:03:43]OFD Sender: Processing packet 26745 [packets to send 44, broken 43] [15:03:43]ProducePacketName [15:03:43]name=ofd_packets/00026745 [15:03:43]OFD Sender: To server: pG, [15:03:43]CommunicateWithHost lk.salyk.kg:30040 [15:03:43]ConnectInit lk.salyk.kg [15:03:43]written 0, free lines is 4095 [15:03:43]Connected sock=10 [15: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 36 35 37 10 01 00 00 FA 83 08 01 67 8E 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 A4 51 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 2E 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 40 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 D6 B5 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 79 68 00 00 35 04 06 00 38 91 9E 1F D2 C8 6A F9 30 36 B1 37 70 76 [15: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 36 35 37 4F 00 00 00 E0 BA 47 00 58 8F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 37 10 04 04 00 79 68 00 00 F4 03 04 00 43 5D 12 66 B6 04 01 00 00 29 90 46 21 C2 96 55 4F [15:03:43]CommunicateWithHost err = 0 [15:03:43]CheckOFDResponse [15:03:43]1017 (14) - 77093643461234 [15:03:43]1041 (16) - 0000000000874657 [15:03:43]1040 (4) - 26745 [15:03:43]1012 (4) - 07.04.2024 08:45 [15:03:43]1206 (1) - 0 [15:03:43]OFD Sender: Remove packet 26745 [15:03:43]ProducePacketName [15:03:43]name=ofd_packets/00026745 [15:03:43]NVStorageDeleteData [15:03:43]Write to MH i2c: 01 00 00 F6 25 1B [15:03:43]Write i2c OK [15:03:43]MH_I2C_Read... [15:03:43]Read from MH i2c: 01 [15:03:43]MH_I2C_Read... [15:03:43]Read from MH i2c: 01 07 00 [15:03:43]MH_I2C_Read... [15:03:43]Read from MH i2c: 01 07 00 F6 25 00 00 00 00 00 73 0C A1 [15:03:43]RasterBufferAndPrint [15:03:43]line [15:03:43]line [15:03:43]line [15:03:43]line [15:03:43]line [15:03:43]written 0, free lines is 3189 [15:03:43]MH_Cut [15:03:43]Write to MH i2c: D1 01 00 FD 25 01 F4 [15:03:43]Write i2c OK [15:03:43]MH_I2C_Read... [15:03:43]Read from MH i2c: D1 [15:03:43]MH_I2C_Read... [15:03:43]Read from MH i2c: D1 01 00 [15:03:43]MH_I2C_Read... [15:03:43]Read from MH i2c: D1 01 00 FD 25 00 F3 [15:03:43]Write to MH i2c: 01 00 00 FE 25 23 [15:03:43]Write i2c OK [15:03:43]MH_I2C_Read... [15:03:43]OFD Sender: No OFD packet to send [15:03:44]*** Cut start [15:03:44]*** Partial cut [15:03:44]*** CUTSNS_PIN = 1 [15:03:44]*** CUTSNS_PIN = 0 [15:03:45]*** Brake cut motor [15:03:45]Read from MH i2c: 01 [15:03:45]MH_I2C_Read... [15:03:45]*** Stop cut motor [15:03:45]*** Cut end [15:03:45]Read from MH i2c: 01 07 00 [15:03:45]MH_I2C_Read... [15:03:45]Read from MH i2c: 01 07 00 FE 25 00 00 00 00 00 FF 0F 38 [15:03:45]process_action close_receipt done [15:03:45]requested_data is exist [15:03:45]produce_requested_data [15:03:45]requested_item fm.sn is exist - process it [15:03:45]wFMCommunicate request_size=4 [15:03:45]MH_SAM_APDU [15:03:45]CAPDU: 80 11 00 00 [15:03:45]Write to MH i2c: E2 08 00 FF 25 80 11 00 00 00 00 00 00 9E [15:03:45]Write i2c OK [15:03:45]MH_I2C_Read... [15:03:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:03:45]Read from MH i2c: E2 [15:03:45]MH_I2C_Read... [15:03:45]Read from MH i2c: E2 17 00 [15:03:45]MH_I2C_Read... [15:03:45]Read from MH i2c: E2 17 00 FF 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 F6 [15:03:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [15:03:45]wFMCommunicate OK [15:03:45]requested_item fd.num is exist - process it [15:03:45]SAM_PROTO_GetFieldsCounters [15:03:45]wFMCommunicate request_size=4 [15:03:45]MH_SAM_APDU [15:03:45]CAPDU: 80 13 00 00 [15:03:45]Write to MH i2c: E2 08 00 00 26 80 13 00 00 00 00 00 00 A2 [15:03:45]Write i2c OK [15:03:45]MH_I2C_Read... [15:03:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:03:45]Read from MH i2c: E2 [15:03:45]MH_I2C_Read... [15:03:45]Read from MH i2c: E2 62 00 [15:03:45]MH_I2C_Read... [15:03:45]Read from MH i2c: E2 62 00 00 26 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 79 68 00 00 0E 04 04 00 39 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 6C [15: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 79 68 00 00 0E 04 04 00 39 01 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:03:45]wFMCommunicate OK [15:03:45]SAM_PROTO_GetFieldsCounters done [15:03:45]requested_item shift.num is exist - process it [15:03:45]requested_item shift.opened is exist - process it [15:03:45]req_shift_opened [15:03:45]FM_GetShiftState [15:03:45]SAM_PROTO_GetShiftState [15:03:45]wFMCommunicate request_size=4 [15:03:45]MH_SAM_APDU [15:03:45]CAPDU: 80 13 01 00 [15:03:45]Write to MH i2c: E2 08 00 01 26 80 13 01 00 00 00 00 00 A4 [15:03:45]Write i2c OK [15:03:45]MH_I2C_Read... [15:03:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:03:45]Read from MH i2c: E2 [15:03:45]MH_I2C_Read... [15:03:45]Read from MH i2c: E2 0E 00 [15:03:45]MH_I2C_Read... [15:03:45]Read from MH i2c: E2 0E 00 01 26 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 38 [15:03:45]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [15:03:45]wFMCommunicate OK [15:03:45]SAM_PROTO_GetShiftState done [15:03:45]FM_GetShiftState done [15:03:45]req_shift_opened done [15:03:45]requested_item shift.open_date is exist - process it [15:03:45]req_shift_open_date [15:03:45]req_shift_open_date done [15:03:45]produce_requested_data done [15:03:45]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26745,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [15:03:45]process_action_free close_receipt [15:03:45]json_value_free [15:03:45]json_value_free done [15:03:45]process_json_proto returns [15:03:45]Send response to host [15:03:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26745,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [15:03:45]free response buf [15:03:45]execute_script done [15:03:45]execute_script returns [15:03:45]free content buf [15:03:45]Sock 8.Close socket [15:03:45]Sock 8.Thread stoped [15:03:48]OFD Sender: No OFD packet to send [15:03:53]OFD Sender: No OFD packet to send [15:03:58]OFD Sender: No OFD packet to send [15:04:03]OFD Sender: No OFD packet to send [15:04:08]OFD Sender: No OFD packet to send [15:04:13]OFD Sender: No OFD packet to send [15:04:18]OFD Sender: No OFD packet to send [15:04:23]OFD Sender: No OFD packet to send [15:04:28]OFD Sender: No OFD packet to send [15:04:33]OFD Sender: No OFD packet to send [15:04:38]OFD Sender: No OFD packet to send [15:04:43]OFD Sender: No OFD packet to send [15:04:48]OFD Sender: No OFD packet to send [15:04:53]OFD Sender: No OFD packet to send [15:04:58]OFD Sender: No OFD packet to send [15:05:03]OFD Sender: No OFD packet to send [15:05:08]OFD Sender: No OFD packet to send [15:05:13]OFD Sender: No OFD packet to send [15:05:18]OFD Sender: No OFD packet to send [15:05:23]OFD Sender: No OFD packet to send [15:05:28]OFD Sender: No OFD packet to send [15:05:34]OFD Sender: No OFD packet to send [15:05:39]OFD Sender: No OFD packet to send [15:05:44]OFD Sender: No OFD packet to send [15:05:49]OFD Sender: No OFD packet to send [15:05:54]OFD Sender: No OFD packet to send [15:05:59]OFD Sender: No OFD packet to send [15:06:04]OFD Sender: No OFD packet to send [15:06:09]OFD Sender: No OFD packet to send [15:06:14]OFD Sender: No OFD packet to send [15:06:19]OFD Sender: No OFD packet to send [15:06:24]OFD Sender: No OFD packet to send [15:06:29]OFD Sender: No OFD packet to send [15:06:34]OFD Sender: No OFD packet to send [15:06:39]OFD Sender: No OFD packet to send [15:06:44]OFD Sender: No OFD packet to send [15:06:49]OFD Sender: No OFD packet to send [15:06:54]OFD Sender: No OFD packet to send [15:06:59]OFD Sender: No OFD packet to send [15:07:04]OFD Sender: No OFD packet to send [15:07:09]OFD Sender: No OFD packet to send [15:07:14]OFD Sender: No OFD packet to send [15:07:19]OFD Sender: No OFD packet to send [15:07:24]OFD Sender: No OFD packet to send [15:07:29]OFD Sender: No OFD packet to send [15:07:34]OFD Sender: No OFD packet to send [15:07:39]OFD Sender: No OFD packet to send [15:07:44]OFD Sender: No OFD packet to send [15:07:49]OFD Sender: No OFD packet to send [15:07:54]OFD Sender: No OFD packet to send [15:07:59]OFD Sender: No OFD packet to send [15:08:04]OFD Sender: No OFD packet to send [15:08:09]OFD Sender: No OFD packet to send [15:08:14]OFD Sender: No OFD packet to send [15:08:19]OFD Sender: No OFD packet to send [15:08:24]OFD Sender: No OFD packet to send [15:08:29]OFD Sender: No OFD packet to send [15:08:34]OFD Sender: No OFD packet to send [15:08:39]OFD Sender: No OFD packet to send [15:08:44]OFD Sender: No OFD packet to send [15:08:49]OFD Sender: No OFD packet to send [15:08:54]OFD Sender: No OFD packet to send [15:08:59]OFD Sender: No OFD packet to send [15:09:04]OFD Sender: No OFD packet to send [15:09:09]OFD Sender: No OFD packet to send [15:09:14]OFD Sender: No OFD packet to send [15:09:19]OFD Sender: No OFD packet to send [15:09:24]OFD Sender: No OFD packet to send [15:09:29]OFD Sender: No OFD packet to send [15:09:34]OFD Sender: No OFD packet to send [15:09:39]OFD Sender: No OFD packet to send [15:09:44]OFD Sender: No OFD packet to send [15:09:49]OFD Sender: No OFD packet to send [15:09:54]OFD Sender: No OFD packet to send [15:09:59]OFD Sender: No OFD packet to send [15:10:04]OFD Sender: No OFD packet to send [15:10:09]OFD Sender: No OFD packet to send [15:10:14]OFD Sender: No OFD packet to send [15:10:19]OFD Sender: No OFD packet to send [15:10:24]OFD Sender: No OFD packet to send [15:10:29]OFD Sender: No OFD packet to send [15:10:34]OFD Sender: No OFD packet to send [15:10:39]OFD Sender: No OFD packet to send [15:10:44]OFD Sender: No OFD packet to send [15:10:49]OFD Sender: No OFD packet to send [15:10:54]OFD Sender: No OFD packet to send [15:10:59]OFD Sender: No OFD packet to send [15:11:04]OFD Sender: No OFD packet to send [15:11:09]OFD Sender: No OFD packet to send [15:11:14]OFD Sender: No OFD packet to send [15:11:19]OFD Sender: No OFD packet to send [15:11:24]OFD Sender: No OFD packet to send [15:11:29]OFD Sender: No OFD packet to send [15:11:34]OFD Sender: No OFD packet to send [15:11:39]OFD Sender: No OFD packet to send [15:11:44]OFD Sender: No OFD packet to send [15:11:49]OFD Sender: No OFD packet to send [15:11:54]OFD Sender: No OFD packet to send [15:11:59]OFD Sender: No OFD packet to send [15:12:04]OFD Sender: No OFD packet to send [15:12:09]OFD Sender: No OFD packet to send [15:12:14]OFD Sender: No OFD packet to send [15:12:19]OFD Sender: No OFD packet to send [15:12:24]OFD Sender: No OFD packet to send [15:12:29]OFD Sender: No OFD packet to send [15:12:34]OFD Sender: No OFD packet to send [15:12:39]OFD Sender: No OFD packet to send [15:12:44]OFD Sender: No OFD packet to send [15:12:49]OFD Sender: No OFD packet to send [15:12:54]OFD Sender: No OFD packet to send [15:12:59]OFD Sender: No OFD packet to send [15:13:04]OFD Sender: No OFD packet to send [15:13:09]OFD Sender: No OFD packet to send [15:13:14]OFD Sender: No OFD packet to send [15:13:19]OFD Sender: No OFD packet to send [15:13:24]OFD Sender: No OFD packet to send [15:13:29]OFD Sender: No OFD packet to send [15:13:34]OFD Sender: No OFD packet to send [15:13:39]OFD Sender: No OFD packet to send [15:13:44]OFD Sender: No OFD packet to send [15:13:49]OFD Sender: No OFD packet to send [15:13:54]OFD Sender: No OFD packet to send [15:13:59]OFD Sender: No OFD packet to send [15:14:04]OFD Sender: No OFD packet to send [15:14:09]OFD Sender: No OFD packet to send [15:14:14]OFD Sender: No OFD packet to send [15:14:19]OFD Sender: No OFD packet to send [15:14:24]OFD Sender: No OFD packet to send [15:14:29]OFD Sender: No OFD packet to send [15:14:34]OFD Sender: No OFD packet to send [15:14:39]OFD Sender: No OFD packet to send [15:14:44]OFD Sender: No OFD packet to send [15:14:49]OFD Sender: No OFD packet to send [15:14:54]OFD Sender: No OFD packet to send [15:14:59]OFD Sender: No OFD packet to send [15:15:04]OFD Sender: No OFD packet to send [15:15:09]OFD Sender: No OFD packet to send [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:14]OFD Sender: No OFD packet to send [15:17:19]OFD Sender: No OFD packet to send [15:17:24]OFD Sender: No OFD packet to send [15:17:29]OFD Sender: No OFD packet to send [15:17:34]OFD Sender: No OFD packet to send [15:17:39]OFD Sender: No OFD packet to send [15:17:44]OFD Sender: No OFD packet to send [15:17:49]OFD Sender: No OFD packet to send [15:17:54]OFD Sender: No OFD packet to send [15:17:59]OFD Sender: No OFD packet to send [15:18:04]OFD Sender: No OFD packet to send [15:18:09]OFD Sender: No OFD packet to send [15:18:14]OFD Sender: No OFD packet to send [15:18:19]OFD Sender: No OFD packet to send [15:18:24]OFD Sender: No OFD packet to send [15:18:29]OFD Sender: No OFD packet to send [15:18:34]OFD Sender: No OFD packet to send [15:18:39]OFD Sender: No OFD packet to send [15:18:44]OFD Sender: No OFD packet to send [15:18:49]OFD Sender: No OFD packet to send [15:18:54]OFD Sender: No OFD packet to send [15:18:59]OFD Sender: No OFD packet to send [15:19:04]OFD Sender: No OFD packet to send [15:19:09]OFD Sender: No OFD packet to send [15:19:14]OFD Sender: No OFD packet to send [15:19:19]OFD Sender: No OFD packet to send [15:19:24]OFD Sender: No OFD packet to send [15:19:29]OFD Sender: No OFD packet to send [15:19:34]OFD Sender: No OFD packet to send [15:19:39]OFD Sender: No OFD packet to send [15:19:44]OFD Sender: No OFD packet to send [15:19:49]OFD Sender: No OFD packet to send [15:19:54]OFD Sender: No OFD packet to send [15:19:59]OFD Sender: No OFD packet to send [15:20:04]OFD Sender: No OFD packet to send [15:20:09]OFD Sender: No OFD packet to send [15:20:14]OFD Sender: No OFD packet to send [15:20:19]OFD Sender: No OFD packet to send [15:20:24]OFD Sender: No OFD packet to send [15:20:29]OFD Sender: No OFD packet to send [15:20:34]OFD Sender: No OFD packet to send [15:20:39]OFD Sender: No OFD packet to send [15:20:44]OFD Sender: No OFD packet to send [15:20:49]OFD Sender: No OFD packet to send [15:20:54]OFD Sender: No OFD packet to send [15:20:59]OFD Sender: No OFD packet to send [15:21:04]OFD Sender: No OFD packet to send [15:21:09]OFD Sender: No OFD packet to send [15:21:14]OFD Sender: No OFD packet to send [15:21:19]OFD Sender: No OFD packet to send [15:21:24]OFD Sender: No OFD packet to send [15:21:29]OFD Sender: No OFD packet to send [15:21:34]OFD Sender: No OFD packet to send [15:21:39]OFD Sender: No OFD packet to send [15:21:44]OFD Sender: No OFD packet to send [15:21:49]OFD Sender: No OFD packet to send [15:21:54]OFD Sender: No OFD packet to send [15:21:59]OFD Sender: No OFD packet to send [15:22:04]OFD Sender: No OFD packet to send [15:22:09]OFD Sender: No OFD packet to send [15:22:14]OFD Sender: No OFD packet to send [15:22:19]OFD Sender: No OFD packet to send [15:22:24]OFD Sender: No OFD packet to send [15:22:29]OFD Sender: No OFD packet to send [15:22:34]OFD Sender: No OFD packet to send [15:22:39]OFD Sender: No OFD packet to send [15:22:44]OFD Sender: No OFD packet to send [15:22:49]OFD Sender: No OFD packet to send [15:22:54]OFD Sender: No OFD packet to send [15:22:59]OFD Sender: No OFD packet to send [15:23:04]OFD Sender: No OFD packet to send [15:23:09]OFD Sender: No OFD packet to send [15:23:14]OFD Sender: No OFD packet to send [15:23:19]OFD Sender: No OFD packet to send [15:23:24]OFD Sender: No OFD packet to send [15:23:29]OFD Sender: No OFD packet to send [15:23:34]OFD Sender: No OFD packet to send [15:23:39]OFD Sender: No OFD packet to send [15:23:44]OFD Sender: No OFD packet to send [15:23:49]OFD Sender: No OFD packet to send [15:23:54]OFD Sender: No OFD packet to send [15:23:59]OFD Sender: No OFD packet to send [15:24:04]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:15]OFD Sender: No OFD packet to send [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:20]OFD Sender: No OFD packet to send [15:36:25]OFD Sender: No OFD packet to send [15:36:30]OFD Sender: No OFD packet to send [15:36:35]OFD Sender: No OFD packet to send [15:36:40]OFD Sender: No OFD packet to send [15:36:45]OFD Sender: No OFD packet to send [15:36:50]OFD Sender: No OFD packet to send [15:36:55]OFD Sender: No OFD packet to send [15:37:00]OFD Sender: No OFD packet to send [15:37:05]OFD Sender: No OFD packet to send [15:37:10]OFD Sender: No OFD packet to send [15:37:15]OFD Sender: No OFD packet to send [15:37:20]OFD Sender: No OFD packet to send [15:37:25]OFD Sender: No OFD packet to send [15:37:30]OFD Sender: No OFD packet to send [15:37:35]OFD Sender: No OFD packet to send [15:37:40]OFD Sender: No OFD packet to send [15:37:45]OFD Sender: No OFD packet to send [15:37:50]OFD Sender: No OFD packet to send [15:37:55]OFD Sender: No OFD packet to send [15:38:00]OFD Sender: No OFD packet to send [15:38:04]accept exits with 9 [15:38:04]New connection [15:38:04]New thread 3067014500 created [15:38:04]Thread 3066871140 joined [15:38:04]Waiting for new connection... [15:38:04] Sock 9.Parse request [15:38:04]Sock 9.Check first char [15:38:04]Sock 9.First char is OK [15:38:04]request: POST /json_proto HTTP/1.0 [15:38:04]Method: POST [15:38:04]URL: /json_proto [15:38:04]Method is POST - this is cgi request [15:38:04]url: /json_proto [15:38:04]query_string will be loaded in cgi processing [15:38:04]execute_cgi json_proto POST (null) [15:38:04]execute_cgi path=json_proto method=POST [15:38:04]POST find Content-Length [15:38:04]Host: 172.17.35.3:8080 [15:38:04]Content-Length: 678 [15:38:04]Content-Type: application/json [15:38:04] [15:38:04]POST finish read [15:38:04]Found Content-Length = 678 [15:38:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359489", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 10.920, "sum" : 692.33, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 700.00, "total" : 692.00, "payments": [ { "type": 0, "sum" : 692.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:38:04]execute_script... [15:38: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)359489", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 10.920, "sum" : 692.33, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 700.00, "total" : 692.00, "payments": [ { "type": 0, "sum" : 692.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:38:04]POST & json_proto [15:38:04]process_json_proto [15:38:04]json parsed OK: [15:38:04]protocol is kg_v1.0 [15:38:04]action value=close_receipt [15:38:04]process_action close_receipt [15:38:04]cmd_close_receipt [15:38:04]MH_GetDate [15:38:04]Write to MH i2c: F0 00 00 02 26 17 [15:38:04]Write i2c OK [15:38:04]MH_I2C_Read... [15:38:04]Read from MH i2c: F0 [15:38:04]MH_I2C_Read... [15:38:04]Read from MH i2c: F0 09 00 [15:38:04]MH_I2C_Read... [15:38:04]Read from MH i2c: F0 09 00 02 26 00 E6 BD 12 66 2B 11 66 64 41 [15:38:04]GetLastDocTimeStamp 1712502230 [15:38:04]current date 1712504294 [15:38:04]FM_GetShiftState [15:38:04]SAM_PROTO_GetShiftState [15:38:04]wFMCommunicate request_size=4 [15:38:04]MH_SAM_APDU [15:38:04]CAPDU: 80 13 01 00 [15:38:04]Write to MH i2c: E2 08 00 03 26 80 13 01 00 00 00 00 00 A6 [15:38:04]Write i2c OK [15:38:04]MH_I2C_Read... [15:38:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:38:04]Read from MH i2c: E2 [15:38:04]MH_I2C_Read... [15:38:04]Read from MH i2c: E2 0E 00 [15:38:04]MH_I2C_Read... [15:38:04]Read from MH i2c: E2 0E 00 03 26 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 3A [15:38:04]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [15:38:04]wFMCommunicate OK [15:38:04]SAM_PROTO_GetShiftState done [15:38:04]FM_GetShiftState done [15:38:04]opened in 1712450087 [15:38:04]opened+sec_in_day 1712536487 [15:38:04]quantity*price = 69232 [15:38:04]sum+1 = 69234 [15:38:04]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.33 ИТОГО: 692.00 Внесено: 700.00 СДАЧА: 8.00 НСП 1% : 6.13 НДС 12% : 73.52 Наличными: 692.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 45 07.04.2024 15:38 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26746 ФПД: 247820099568042 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T153814&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26746&fm=247820099568042&tin=02508201610067®Number=0000000000091578&sum=69200 [15:38:05]StoreToDocumentArchive [15:38:05]shift 313 fd 26746 [15:38:05]save to /storage/0313/doc_00026746 [15:38:05]save last doc name /storage/0313/doc_00026746 to /storage/kkm_last_doc_name [15:38:05]save OK [15:38:05]Clear old archive folders... [15:38:05]ProcessDocumentItem done err = 0, tmpTLVsize=251 [15:38:05]tlvbuf is B6F67A30 [15:38:05]SAM_PROTO_ClearQueue [15:38:05]wFMCommunicate request_size=4 [15:38:05]MH_SAM_APDU [15:38:05]CAPDU: 80 09 00 00 [15:38:05]Write to MH i2c: E2 08 00 10 26 80 09 00 00 00 00 00 00 A8 [15:38:05]Write i2c OK [15:38:05]MH_I2C_Read... [15:38:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:38:05]Read from MH i2c: E2 [15:38:05]MH_I2C_Read... [15:38:05]Read from MH i2c: E2 03 00 [15:38:05]MH_I2C_Read... [15:38:05]Read from MH i2c: E2 03 00 10 26 00 90 00 AA [15:38:05]RAPDU: 90 00 [15:38:05]wFMCommunicate OK [15:38:05]SAM_PROTO_ClearQueue done [15:38:05]KKMCreateOFDPacket [15:38:05]OFDProtocolAddRootSTLVToBuf [15:38:05]FM_MakeSignedData [15:38:05]FM_MakeSignedData [15:38:05]SAM_PROTO_SignData [15:38:05]wFMCommunicate request_size=4 [15:38:05]MH_SAM_APDU [15:38:05]CAPDU: 80 0D 01 02 [15:38:05]Write to MH i2c: E2 08 00 11 26 80 0D 01 02 00 00 00 00 B0 [15:38:05]Write i2c OK [15:38:05]MH_I2C_Read... [15:38:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:38:05]Read from MH i2c: E2 [15:38:05]MH_I2C_Read... [15:38:05]Read from MH i2c: E2 03 00 [15:38:05]MH_I2C_Read... [15:38:05]Read from MH i2c: E2 03 00 11 26 00 90 00 AB [15:38:05]RAPDU: 90 00 [15:38:05]wFMCommunicate OK [15:38:05]wFMCommunicate request_size=255 [15:38:05]MH_SAM_APDU [15:38: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 A8 2A 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 71 0E 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 0E 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 65 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B8 1C 00 00 00 00 07 04 06 00 50 0E 01 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 E6 BD 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 7A 68 00 00 35 04 06 00 E1 [15:38:05]Write to MH i2c: E2 02 01 12 26 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 A8 2A 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 71 0E 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 0E 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 65 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B8 1C 00 00 00 00 07 04 06 00 50 0E 01 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 E6 BD 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 7A 68 00 00 35 04 06 00 E1 00 00 30 [15:38:05]Write i2c OK [15:38:05]MH_I2C_Read... [15:38:05]OFD Sender: No OFD packet to send [15:38:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:38:06]Read from MH i2c: E2 [15:38:06]MH_I2C_Read... [15:38:06]Read from MH i2c: E2 03 00 [15:38:06]MH_I2C_Read... [15:38:06]Read from MH i2c: E2 03 00 12 26 00 90 00 AC [15:38:06]RAPDU: 90 00 [15:38:06]wFMCommunicate OK [15:38:06]wFMCommunicate request_size=10 [15:38:06]MH_SAM_APDU [15:38:06]CAPDU: 80 0D 02 02 05 64 1D 00 C1 AA [15:38:06]Write to MH i2c: E2 0D 00 13 26 80 0D 02 02 05 00 64 1D 00 C1 AA 00 00 A9 [15:38:06]Write i2c OK [15:38:06]MH_I2C_Read... [15:38:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:38:06]Read from MH i2c: E2 [15:38:06]MH_I2C_Read... [15:38:06]Read from MH i2c: E2 03 00 [15:38:06]MH_I2C_Read... [15:38:06]Read from MH i2c: E2 03 00 13 26 00 90 00 AD [15:38:06]RAPDU: 90 00 [15:38:06]wFMCommunicate OK [15:38:06]wFMCommunicate request_size=4 [15:38:06]MH_SAM_APDU [15:38:06]CAPDU: 80 0D 03 02 [15:38:06]Write to MH i2c: E2 08 00 14 26 80 0D 03 02 00 00 00 00 B5 [15:38:06]Write i2c OK [15:38:06]MH_I2C_Read... [15:38:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:38:06]Read from MH i2c: E2 [15:38:06]MH_I2C_Read... [15:38:06]Read from MH i2c: E2 0B 00 [15:38:06]MH_I2C_Read... [15:38:06]Read from MH i2c: E2 0B 00 14 26 00 A4 CC D4 7E B8 10 5F 92 90 00 31 [15:38:06]RAPDU: A4 CC D4 7E B8 10 5F 92 90 00 [15:38:06]wFMCommunicate OK [15:38:06]SAM_PROTO_SignData done [15:38:06]FM_MakeSignedData done [15:38:06]CreateOFDProtocolMessage [15:38:06]wFMCommunicate request_size=4 [15:38:06]MH_SAM_APDU [15:38:06]CAPDU: 80 11 00 00 [15:38:06]Write to MH i2c: E2 08 00 15 26 80 11 00 00 00 00 00 00 B5 [15:38:06]Write i2c OK [15:38:06]MH_I2C_Read... [15:38:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:38:06]Read from MH i2c: E2 [15:38:06]MH_I2C_Read... [15:38:06]Read from MH i2c: E2 17 00 [15:38:06]MH_I2C_Read... [15:38:06]Read from MH i2c: E2 17 00 15 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 0D [15:38:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [15:38:06]wFMCommunicate OK [15:38:06]CreateOFDProtocolMessage done [15:38:06]OFDSenderStorePacket 26746 [15:38:06]StoreOFDPacket docnum=26746 [15:38:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 CB 9D 07 01 BC E2 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 A8 2A 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 71 0E 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 0E 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 65 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B8 1C 00 00 00 00 07 04 06 00 50 0E 01 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 E6 BD 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 7A 68 00 00 35 04 06 00 E1 64 1D 00 C1 AA A4 CC D4 7E B8 10 5F 92 [15:38:06]CheckFolder [15:38:06]dirname=/storage/ofd_packets [15:38:06]CheckFolder done [15:38:06]ProducePacketName [15:38:06]name=ofd_packets/00026746 [15:38:06]NVStorageSaveData ofd_packets/00026746 [15:38:06]File name is /storage/ofd_packets/00026746 [15:38:06]Write 301 bytes [15:38:06]NVStorageSaveData done [15:38:06]OFDSenderStorePacket done [15:38:06]KKMCreateOFDPacket done [15:38:06]NVStorageSaveData kkm_last_timestamp [15:38:06]File name is /storage/kkm_last_timestamp [15:38:06]Write 4 bytes [15:38:06]NVStorageSaveData done [15:38:06]ExternCall_PrintAddStr [15:38:06]wPrintStart [15:38:06]Write to MH i2c: 01 00 00 16 26 3C [15:38:06]Write i2c OK [15:38:06]MH_I2C_Read... [15:38:06]Read from MH i2c: 01 [15:38:06]MH_I2C_Read... [15:38:06]Read from MH i2c: 01 07 00 [15:38:06]MH_I2C_Read... [15:38:06]Read from MH i2c: 01 07 00 16 26 00 00 00 00 00 FF 0F 51 [15:38:06]RasterBufferAndPrint [15:38:06]line Счет N : (1)359489 [15:38:06]line ИНН: 02508201610067 [15:38:06]line Контрольно-Кассовый Чек [15:38:06]line ПРОДАЖА [15:38:06]line ТРК (МРК, ГНК) : 51 [15:38:06]line Товар: 2710124130 [15:38:06]line Аи-92-К-5 [15:38:06]line 10.920 * 63.40 [15:38:06]line = 692.33 [15:38:06]line НДС 12% НСП 1% [15:38:06]line > о реализуемом товаре [15:38:06]line ОКРУГЛЕНИЕ: -0.33 [15:38:06]line ИТОГО: 692.00 [15:38:06]line Внесено: 700.00 [15:38:06]line СДАЧА: 8.00 [15:38:06]line НСП 1% : 6.13 [15:38:06]line НДС 12% : 73.52 [15:38:06]line Наличными: 692.00 [15:38:06]line Безнал.: 0.00 [15:38:06]line Место: АЗС № 122 "Партнер Нефть" [15:38:06]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [15:38:06]line СНО: Общий режим [15:38:06]line Чек 45 07.04.2024 15:38 [15:38:06]line Смена: 313 ФФД: 1.0 [15:38:06]line ЗНМ: 0300000147 [15:38:06]line РНМ: 0000000000091578 [15:38:06]line Версия ККМ: 001 [15:38:06]line ФМ: 0000000000874657 [15:38:06]line ФД: 26746 [15:38:06]line ФПД: 247820099568042 [15:38:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T153814&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26746&fm=247820099568042&tin=02508201610067®Number=0000000000091578&sum=69200 [15:38:06]OFD Sender: Processing packet 26746 [packets to send 44, broken 43] [15:38:06]ProducePacketName [15:38:06]name=ofd_packets/00026746 [15:38:06]OFD Sender: To server: pG, [15:38:06]CommunicateWithHost lk.salyk.kg:30040 [15:38:06]ConnectInit lk.salyk.kg [15:38:06]written 0, free lines is 4095 [15:38:06]Connected sock=10 [15:38: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 36 35 37 0F 01 00 00 CB 9D 07 01 BC E2 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 A8 2A 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 71 0E 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 0E 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 65 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B8 1C 00 00 00 00 07 04 06 00 50 0E 01 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 E6 BD 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 7A 68 00 00 35 04 06 00 E1 64 1D 00 C1 AA A4 CC D4 7E B8 10 5F 92 [15:38:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 96 36 47 00 42 1A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 37 10 04 04 00 7A 68 00 00 F4 03 04 00 53 65 12 66 B6 04 01 00 00 53 3B 57 B1 C0 43 18 BE [15:38:06]CommunicateWithHost err = 0 [15:38:06]CheckOFDResponse [15:38:06]1017 (14) - 77093643461234 [15:38:06]1041 (16) - 0000000000874657 [15:38:06]1040 (4) - 26746 [15:38:06]1012 (4) - 07.04.2024 09:20 [15:38:06]1206 (1) - 0 [15:38:06]OFD Sender: Remove packet 26746 [15:38:06]ProducePacketName [15:38:06]name=ofd_packets/00026746 [15:38:06]NVStorageDeleteData [15:38:06]Write to MH i2c: 01 00 00 41 26 67 [15:38:06]Write i2c OK [15:38:06]MH_I2C_Read... [15:38:06]Read from MH i2c: 01 [15:38:06]MH_I2C_Read... [15:38:06]Read from MH i2c: 01 07 00 [15:38:06]MH_I2C_Read... [15:38:06]Read from MH i2c: 01 07 00 41 26 00 00 00 00 00 72 0C EC [15:38:06]RasterBufferAndPrint [15:38:06]line [15:38:06]line [15:38:06]line [15:38:06]line [15:38:06]line [15:38:06]written 0, free lines is 3189 [15:38:06]MH_Cut [15:38:06]Write to MH i2c: D1 01 00 48 26 01 40 [15:38:06]Write i2c OK [15:38:06]MH_I2C_Read... [15:38:06]Read from MH i2c: D1 [15:38:06]MH_I2C_Read... [15:38:06]Read from MH i2c: D1 01 00 [15:38:06]MH_I2C_Read... [15:38:06]Read from MH i2c: D1 01 00 48 26 00 3F [15:38:06]Write to MH i2c: 01 00 00 49 26 6F [15:38:06]Write i2c OK [15:38:06]MH_I2C_Read... [15:38:07]OFD Sender: No OFD packet to send [15:38:08]*** Cut start [15:38:08]*** Partial cut [15:38:08]*** CUTSNS_PIN = 1 [15:38:08]*** CUTSNS_PIN = 0 [15:38:08]*** Brake cut motor [15:38:08]Read from MH i2c: 01 [15:38:08]MH_I2C_Read... [15:38:08]*** Stop cut motor [15:38:08]*** Cut end [15:38:08]Read from MH i2c: 01 07 00 [15:38:08]MH_I2C_Read... [15:38:08]Read from MH i2c: 01 07 00 49 26 00 00 00 00 00 FF 0F 84 [15:38:08]process_action close_receipt done [15:38:08]requested_data is exist [15:38:08]produce_requested_data [15:38:08]requested_item fm.sn is exist - process it [15:38:08]wFMCommunicate request_size=4 [15:38:08]MH_SAM_APDU [15:38:08]CAPDU: 80 11 00 00 [15:38:08]Write to MH i2c: E2 08 00 4A 26 80 11 00 00 00 00 00 00 EA [15:38:08]Write i2c OK [15:38:08]MH_I2C_Read... [15:38:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:38:08]Read from MH i2c: E2 [15:38:08]MH_I2C_Read... [15:38:08]Read from MH i2c: E2 17 00 [15:38:08]MH_I2C_Read... [15:38:08]Read from MH i2c: E2 17 00 4A 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 42 [15:38:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [15:38:08]wFMCommunicate OK [15:38:08]requested_item fd.num is exist - process it [15:38:08]SAM_PROTO_GetFieldsCounters [15:38:08]wFMCommunicate request_size=4 [15:38:08]MH_SAM_APDU [15:38:08]CAPDU: 80 13 00 00 [15:38:08]Write to MH i2c: E2 08 00 4B 26 80 13 00 00 00 00 00 00 ED [15:38:08]Write i2c OK [15:38:08]MH_I2C_Read... [15:38:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:38:08]Read from MH i2c: E2 [15:38:08]MH_I2C_Read... [15:38:08]Read from MH i2c: E2 62 00 [15:38:08]MH_I2C_Read... [15:38:08]Read from MH i2c: E2 62 00 4B 26 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 7A 68 00 00 0E 04 04 00 39 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 BB [15:38: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 7A 68 00 00 0E 04 04 00 39 01 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:38:08]wFMCommunicate OK [15:38:08]SAM_PROTO_GetFieldsCounters done [15:38:08]requested_item shift.num is exist - process it [15:38:08]requested_item shift.opened is exist - process it [15:38:08]req_shift_opened [15:38:08]FM_GetShiftState [15:38:08]SAM_PROTO_GetShiftState [15:38:08]wFMCommunicate request_size=4 [15:38:08]MH_SAM_APDU [15:38:08]CAPDU: 80 13 01 00 [15:38:08]Write to MH i2c: E2 08 00 4C 26 80 13 01 00 00 00 00 00 EF [15:38:08]Write i2c OK [15:38:08]MH_I2C_Read... [15:38:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:38:09]Read from MH i2c: E2 [15:38:09]MH_I2C_Read... [15:38:09]Read from MH i2c: E2 0E 00 [15:38:09]MH_I2C_Read... [15:38:09]Read from MH i2c: E2 0E 00 4C 26 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 83 [15:38:09]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [15:38:09]wFMCommunicate OK [15:38:09]SAM_PROTO_GetShiftState done [15:38:09]FM_GetShiftState done [15:38:09]req_shift_opened done [15:38:09]requested_item shift.open_date is exist - process it [15:38:09]req_shift_open_date [15:38:09]req_shift_open_date done [15:38:09]produce_requested_data done [15:38:09]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26746,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [15:38:09]process_action_free close_receipt [15:38:09]json_value_free [15:38:09]json_value_free done [15:38:09]process_json_proto returns [15:38:09]Send response to host [15:38:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26746,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [15:38:09]free response buf [15:38:09]execute_script done [15:38:09]execute_script returns [15:38:09]free content buf [15:38:09]Sock 9.Close socket [15:38:09]Sock 9.Thread stoped [15:38:12]OFD Sender: No OFD packet to send [15:38:17]OFD Sender: No OFD packet to send [15:38:22]OFD Sender: No OFD packet to send [15:38:27]OFD Sender: No OFD packet to send [15:38:32]OFD Sender: No OFD packet to send [15:38:37]OFD Sender: No OFD packet to send [15:38:42]OFD Sender: No OFD packet to send [15:38:47]OFD Sender: No OFD packet to send [15:38:51]accept exits with 8 [15:38:51]New connection [15:38:51]New thread 3066871140 created [15:38:51]Thread 3067014500 joined [15:38:51]Waiting for new connection... [15:38:51] Sock 8.Parse request [15:38:51]Sock 8.Check first char [15:38:51]Sock 8.First char is OK [15:38:51]request: POST /json_proto HTTP/1.0 [15:38:51]Method: POST [15:38:51]URL: /json_proto [15:38:51]Method is POST - this is cgi request [15:38:51]url: /json_proto [15:38:51]query_string will be loaded in cgi processing [15:38:51]execute_cgi json_proto POST (null) [15:38:51]execute_cgi path=json_proto method=POST [15:38:51]POST find Content-Length [15:38:51]Host: 172.17.35.3:8080 [15:38:51]Content-Length: 687 [15:38:51]Content-Type: application/json [15:38:51] [15:38:51]POST finish read [15:38:51]Found Content-Length = 687 [15:38:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359490", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 16.720, "sum" : 1200.50, "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" ] } } [15:38:51]execute_script... [15:38:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359490", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 16.720, "sum" : 1200.50, "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" ] } } [15:38:51]POST & json_proto [15:38:51]process_json_proto [15:38:51]json parsed OK: [15:38:51]protocol is kg_v1.0 [15:38:51]action value=close_receipt [15:38:51]process_action close_receipt [15:38:51]cmd_close_receipt [15:38:51]MH_GetDate [15:38:51]Write to MH i2c: F0 00 00 4D 26 62 [15:38:51]Write i2c OK [15:38:51]MH_I2C_Read... [15:38:51]Read from MH i2c: F0 [15:38:51]MH_I2C_Read... [15:38:51]Read from MH i2c: F0 09 00 [15:38:51]MH_I2C_Read... [15:38:51]Read from MH i2c: F0 09 00 4D 26 00 15 BE 12 66 2B 11 66 64 BC [15:38:51]GetLastDocTimeStamp 1712504294 [15:38:51]current date 1712504341 [15:38:51]FM_GetShiftState [15:38:51]SAM_PROTO_GetShiftState [15:38:51]wFMCommunicate request_size=4 [15:38:51]MH_SAM_APDU [15:38:51]CAPDU: 80 13 01 00 [15:38:51]Write to MH i2c: E2 08 00 4E 26 80 13 01 00 00 00 00 00 F1 [15:38:51]Write i2c OK [15:38:51]MH_I2C_Read... [15:38:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:38:51]Read from MH i2c: E2 [15:38:51]MH_I2C_Read... [15:38:51]Read from MH i2c: E2 0E 00 [15:38:51]MH_I2C_Read... [15:38:51]Read from MH i2c: E2 0E 00 4E 26 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 85 [15:38:51]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [15:38:51]wFMCommunicate OK [15:38:51]SAM_PROTO_GetShiftState done [15:38:51]FM_GetShiftState done [15:38:51]opened in 1712450087 [15:38:51]opened+sec_in_day 1712536487 [15:38:51]quantity*price = 120049 [15:38:51]sum+1 = 120051 [15:38:51]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.50 ИТОГО: 1200.00 Внесено: 1200.00 СДАЧА: 0.00 НСП 1% : 10.62 НДС 12% : 127.49 Наличными: 1200.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 46 07.04.2024 15:39 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26747 ФПД: 73354556265059 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T153901&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26747&fm=73354556265059&tin=02508201610067®Number=0000000000091578&sum=120000 [15:38:52]StoreToDocumentArchive [15:38:52]shift 313 fd 26747 [15:38:52]save to /storage/0313/doc_00026747 [15:38:52]save last doc name /storage/0313/doc_00026747 to /storage/kkm_last_doc_name [15:38:52]save OK [15:38:52]Clear old archive folders... [15:38:52]ProcessDocumentItem done err = 0, tmpTLVsize=252 [15:38:52]tlvbuf is 00E934F0 [15:38:52]SAM_PROTO_ClearQueue [15:38:52]wFMCommunicate request_size=4 [15:38:52]MH_SAM_APDU [15:38:52]CAPDU: 80 09 00 00 [15:38:52]Write to MH i2c: E2 08 00 5B 26 80 09 00 00 00 00 00 00 F3 [15:38:52]Write i2c OK [15:38:52]MH_I2C_Read... [15:38:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:38:52]Read from MH i2c: E2 [15:38:52]MH_I2C_Read... [15:38:52]Read from MH i2c: E2 03 00 [15:38:52]MH_I2C_Read... [15:38:52]Read from MH i2c: E2 03 00 5B 26 00 90 00 F5 [15:38:52]RAPDU: 90 00 [15:38:52]wFMCommunicate OK [15:38:52]SAM_PROTO_ClearQueue done [15:38:52]KKMCreateOFDPacket [15:38:52]OFDProtocolAddRootSTLVToBuf [15:38:52]FM_MakeSignedData [15:38:52]FM_MakeSignedData [15:38:52]SAM_PROTO_SignData [15:38:52]wFMCommunicate request_size=4 [15:38:52]MH_SAM_APDU [15:38:52]CAPDU: 80 0D 01 02 [15:38:52]Write to MH i2c: E2 08 00 5C 26 80 0D 01 02 00 00 00 00 FB [15:38:52]Write i2c OK [15:38:52]MH_I2C_Read... [15:38:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:38:52]Read from MH i2c: E2 [15:38:52]MH_I2C_Read... [15:38:52]Read from MH i2c: E2 03 00 [15:38:52]MH_I2C_Read... [15:38:52]Read from MH i2c: E2 03 00 5C 26 00 90 00 F6 [15:38:52]RAPDU: 90 00 [15:38:52]wFMCommunicate OK [15:38:52]wFMCommunicate request_size=255 [15:38:52]MH_SAM_APDU [15:38:52]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 50 41 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 F2 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 CD 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 2E 00 00 00 F4 03 04 00 15 BE 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 7B 68 00 00 35 04 06 00 [15:38:52]Write to MH i2c: E2 02 01 5D 26 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 50 41 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 F2 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 CD 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 2E 00 00 00 F4 03 04 00 15 BE 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 7B 68 00 00 35 04 06 00 00 00 B2 [15:38:53]Write i2c OK [15:38:53]MH_I2C_Read... [15:38:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:38:53]Read from MH i2c: E2 [15:38:53]MH_I2C_Read... [15:38:53]Read from MH i2c: E2 03 00 [15:38:53]MH_I2C_Read... [15:38:53]Read from MH i2c: E2 03 00 5D 26 00 90 00 F7 [15:38:53]RAPDU: 90 00 [15:38:53]wFMCommunicate OK [15:38:53]wFMCommunicate request_size=11 [15:38:53]MH_SAM_APDU [15:38:53]CAPDU: 80 0D 02 02 06 42 B7 30 44 D2 63 [15:38:53]Write to MH i2c: E2 0E 00 5E 26 80 0D 02 02 06 00 42 B7 30 44 D2 63 00 00 AC [15:38:53]Write i2c OK [15:38:53]MH_I2C_Read... [15:38:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:38:53]Read from MH i2c: E2 [15:38:53]MH_I2C_Read... [15:38:53]Read from MH i2c: E2 03 00 [15:38:53]MH_I2C_Read... [15:38:53]Read from MH i2c: E2 03 00 5E 26 00 90 00 F8 [15:38:53]RAPDU: 90 00 [15:38:53]wFMCommunicate OK [15:38:53]wFMCommunicate request_size=4 [15:38:53]MH_SAM_APDU [15:38:53]CAPDU: 80 0D 03 02 [15:38:53]Write to MH i2c: E2 08 00 5F 26 80 0D 03 02 00 00 00 00 00 [15:38:53]Write i2c OK [15:38:53]MH_I2C_Read... [15:38:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:38:53]Read from MH i2c: E2 [15:38:53]MH_I2C_Read... [15:38:53]Read from MH i2c: E2 0B 00 [15:38:53]MH_I2C_Read... [15:38:53]Read from MH i2c: E2 0B 00 5F 26 00 1B 16 42 F6 61 DC B9 A0 90 00 00 [15:38:53]RAPDU: 1B 16 42 F6 61 DC B9 A0 90 00 [15:38:53]wFMCommunicate OK [15:38:53]SAM_PROTO_SignData done [15:38:53]FM_MakeSignedData done [15:38:53]CreateOFDProtocolMessage [15:38:53]wFMCommunicate request_size=4 [15:38:53]MH_SAM_APDU [15:38:53]CAPDU: 80 11 00 00 [15:38:53]Write to MH i2c: E2 08 00 60 26 80 11 00 00 00 00 00 00 00 [15:38:53]Write i2c OK [15:38:53]MH_I2C_Read... [15:38:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:38:53]Read from MH i2c: E2 [15:38:53]MH_I2C_Read... [15:38:53]Read from MH i2c: E2 17 00 [15:38:53]MH_I2C_Read... [15:38:53]Read from MH i2c: E2 17 00 60 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 58 [15:38:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [15:38:53]wFMCommunicate OK [15:38:53]CreateOFDProtocolMessage done [15:38:53]OFDSenderStorePacket 26747 [15:38:53]StoreOFDPacket docnum=26747 [15:38:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 19 30 08 01 2A AD 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 50 41 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 F2 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 CD 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 2E 00 00 00 F4 03 04 00 15 BE 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 7B 68 00 00 35 04 06 00 42 B7 30 44 D2 63 1B 16 42 F6 61 DC B9 A0 [15:38:53]CheckFolder [15:38:53]dirname=/storage/ofd_packets [15:38:53]CheckFolder done [15:38:53]ProducePacketName [15:38:53]name=ofd_packets/00026747 [15:38:53]NVStorageSaveData ofd_packets/00026747 [15:38:53]File name is /storage/ofd_packets/00026747 [15:38:53]Write 302 bytes [15:38:53]NVStorageSaveData done [15:38:53]OFDSenderStorePacket done [15:38:53]KKMCreateOFDPacket done [15:38:53]NVStorageSaveData kkm_last_timestamp [15:38:53]File name is /storage/kkm_last_timestamp [15:38:53]Write 4 bytes [15:38:53]NVStorageSaveData done [15:38:53]ExternCall_PrintAddStr [15:38:53]wPrintStart [15:38:53]Write to MH i2c: 01 00 00 61 26 87 [15:38:53]Write i2c OK [15:38:53]MH_I2C_Read... [15:38:53]Read from MH i2c: 01 [15:38:53]MH_I2C_Read... [15:38:53]Read from MH i2c: 01 07 00 [15:38:53]MH_I2C_Read... [15:38:53]Read from MH i2c: 01 07 00 61 26 00 00 00 00 00 FF 0F 9C [15:38:53]RasterBufferAndPrint [15:38:53]line Счет N : (1)359490 [15:38:53]line ИНН: 02508201610067 [15:38:53]line Контрольно-Кассовый Чек [15:38:53]line ПРОДАЖА [15:38:53]line ТРК (МРК, ГНК) : 21 [15:38:53]line Товар: 2710194210 [15:38:53]line ДТ(л)-К-5 [15:38:53]line 16.720 * 71.80 [15:38:53]line = 1200.50 [15:38:53]line НДС 12% НСП 1% [15:38:53]line > о реализуемом товаре [15:38:53]line ОКРУГЛЕНИЕ: -0.50 [15:38:53]line ИТОГО: 1200.00 [15:38:53]line Внесено: 1200.00 [15:38:53]line СДАЧА: 0.00 [15:38:53]line НСП 1% : 10.62 [15:38:53]line НДС 12% : 127.49 [15:38:53]line Наличными: 1200.00 [15:38:53]line Безнал.: 0.00 [15:38:53]line Место: АЗС № 122 "Партнер Нефть" [15:38:53]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [15:38:53]line СНО: Общий режим [15:38:53]line Чек 46 07.04.2024 15:39 [15:38:53]line Смена: 313 ФФД: 1.0 [15:38:53]line ЗНМ: 0300000147 [15:38:53]line РНМ: 0000000000091578 [15:38:53]line Версия ККМ: 001 [15:38:53]line ФМ: 0000000000874657 [15:38:53]line ФД: 26747 [15:38:53]line ФПД: 73354556265059 [15:38:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T153901&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26747&fm=73354556265059&tin=02508201610067®Number=0000000000091578&sum=120000 [15:38:53]OFD Sender: Processing packet 26747 [packets to send 44, broken 43] [15:38:53]ProducePacketName [15:38:53]name=ofd_packets/00026747 [15:38:53]OFD Sender: To server: pG, [15:38:53]CommunicateWithHost lk.salyk.kg:30040 [15:38:53]ConnectInit lk.salyk.kg [15:38:53]written 0, free lines is 4095 [15:38:53]Connected sock=10 [15:38: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 36 35 37 10 01 00 00 19 30 08 01 2A AD 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 50 41 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 F2 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 CD 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 2E 00 00 00 F4 03 04 00 15 BE 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 7B 68 00 00 35 04 06 00 42 B7 30 44 D2 63 1B 16 42 F6 61 DC B9 A0 [15:38:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 FA 71 47 00 20 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 36 35 37 10 04 04 00 7B 68 00 00 F4 03 04 00 82 65 12 66 B6 04 01 00 00 3C 9A E2 FA 08 61 B8 1C [15:38:54]CommunicateWithHost err = 0 [15:38:54]CheckOFDResponse [15:38:54]1017 (14) - 77093643461234 [15:38:54]1041 (16) - 0000000000874657 [15:38:54]1040 (4) - 26747 [15:38:54]1012 (4) - 07.04.2024 09:21 [15:38:54]1206 (1) - 0 [15:38:54]OFD Sender: Remove packet 26747 [15:38:54]ProducePacketName [15:38:54]name=ofd_packets/00026747 [15:38:54]NVStorageDeleteData [15:38:54]Write to MH i2c: 01 00 00 8C 26 B2 [15:38:54]Write i2c OK [15:38:54]MH_I2C_Read... [15:38:54]Read from MH i2c: 01 [15:38:54]MH_I2C_Read... [15:38:54]Read from MH i2c: 01 07 00 [15:38:54]MH_I2C_Read... [15:38:54]Read from MH i2c: 01 07 00 8C 26 00 00 00 00 00 75 0C 3A [15:38:54]RasterBufferAndPrint [15:38:54]line [15:38:54]line [15:38:54]line [15:38:54]line [15:38:54]line [15:38:54]written 0, free lines is 3192 [15:38:54]MH_Cut [15:38:54]Write to MH i2c: D1 01 00 93 26 01 8B [15:38:54]Write i2c OK [15:38:54]MH_I2C_Read... [15:38:54]Read from MH i2c: D1 [15:38:54]MH_I2C_Read... [15:38:54]Read from MH i2c: D1 01 00 [15:38:54]MH_I2C_Read... [15:38:54]Read from MH i2c: D1 01 00 93 26 00 8A [15:38:54]Write to MH i2c: 01 00 00 94 26 BA [15:38:54]Write i2c OK [15:38:54]MH_I2C_Read... [15:38:54]OFD Sender: No OFD packet to send [15:38:55]*** Cut start [15:38:55]*** Partial cut [15:38:55]*** CUTSNS_PIN = 1 [15:38:55]*** CUTSNS_PIN = 0 [15:38:55]*** Brake cut motor [15:38:55]Read from MH i2c: 01 [15:38:55]MH_I2C_Read... [15:38:55]*** Stop cut motor [15:38:56]*** Cut end [15:38:56]Read from MH i2c: 01 07 00 [15:38:56]MH_I2C_Read... [15:38:56]Read from MH i2c: 01 07 00 94 26 00 00 00 00 00 FF 0F CF [15:38:56]process_action close_receipt done [15:38:56]requested_data is exist [15:38:56]produce_requested_data [15:38:56]requested_item fm.sn is exist - process it [15:38:56]wFMCommunicate request_size=4 [15:38:56]MH_SAM_APDU [15:38:56]CAPDU: 80 11 00 00 [15:38:56]Write to MH i2c: E2 08 00 95 26 80 11 00 00 00 00 00 00 35 [15:38:56]Write i2c OK [15:38:56]MH_I2C_Read... [15:38:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:38:56]Read from MH i2c: E2 [15:38:56]MH_I2C_Read... [15:38:56]Read from MH i2c: E2 17 00 [15:38:56]MH_I2C_Read... [15:38:56]Read from MH i2c: E2 17 00 95 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 8D [15:38:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [15:38:56]wFMCommunicate OK [15:38:56]requested_item fd.num is exist - process it [15:38:56]SAM_PROTO_GetFieldsCounters [15:38:56]wFMCommunicate request_size=4 [15:38:56]MH_SAM_APDU [15:38:56]CAPDU: 80 13 00 00 [15:38:56]Write to MH i2c: E2 08 00 96 26 80 13 00 00 00 00 00 00 38 [15:38:56]Write i2c OK [15:38:56]MH_I2C_Read... [15:38:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:38:56]Read from MH i2c: E2 [15:38:56]MH_I2C_Read... [15:38:56]Read from MH i2c: E2 62 00 [15:38:56]MH_I2C_Read... [15:38:56]Read from MH i2c: E2 62 00 96 26 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 7B 68 00 00 0E 04 04 00 39 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 0A [15:38:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 7B 68 00 00 0E 04 04 00 39 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 [15:38:56]wFMCommunicate OK [15:38:56]SAM_PROTO_GetFieldsCounters done [15:38:56]requested_item shift.num is exist - process it [15:38:56]requested_item shift.opened is exist - process it [15:38:56]req_shift_opened [15:38:56]FM_GetShiftState [15:38:56]SAM_PROTO_GetShiftState [15:38:56]wFMCommunicate request_size=4 [15:38:56]MH_SAM_APDU [15:38:56]CAPDU: 80 13 01 00 [15:38:56]Write to MH i2c: E2 08 00 97 26 80 13 01 00 00 00 00 00 3A [15:38:56]Write i2c OK [15:38:56]MH_I2C_Read... [15:38:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:38:56]Read from MH i2c: E2 [15:38:56]MH_I2C_Read... [15:38:56]Read from MH i2c: E2 0E 00 [15:38:56]MH_I2C_Read... [15:38:56]Read from MH i2c: E2 0E 00 97 26 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 CE [15:38:56]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [15:38:56]wFMCommunicate OK [15:38:56]SAM_PROTO_GetShiftState done [15:38:56]FM_GetShiftState done [15:38:56]req_shift_opened done [15:38:56]requested_item shift.open_date is exist - process it [15:38:56]req_shift_open_date [15:38:56]req_shift_open_date done [15:38:56]produce_requested_data done [15:38:56]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26747,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [15:38:56]process_action_free close_receipt [15:38:56]json_value_free [15:38:56]json_value_free done [15:38:56]process_json_proto returns [15:38:56]Send response to host [15:38:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26747,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [15:38:56]free response buf [15:38:56]execute_script done [15:38:56]execute_script returns [15:38:56]free content buf [15:38:56]Sock 8.Close socket [15:38:56]Sock 8.Thread stoped [15:38:59]OFD Sender: No OFD packet to send [15:39:04]OFD Sender: No OFD packet to send [15:39:09]OFD Sender: No OFD packet to send [15:39:14]OFD Sender: No OFD packet to send [15:39:19]OFD Sender: No OFD packet to send [15:39:24]OFD Sender: No OFD packet to send [15:39:29]OFD Sender: No OFD packet to send [15:39:34]OFD Sender: No OFD packet to send [15:39:39]OFD Sender: No OFD packet to send [15:39:44]OFD Sender: No OFD packet to send [15:39:49]OFD Sender: No OFD packet to send [15:39:54]OFD Sender: No OFD packet to send [15:39:59]OFD Sender: No OFD packet to send [15:40:04]OFD Sender: No OFD packet to send [15:40:09]OFD Sender: No OFD packet to send [15:40:14]OFD Sender: No OFD packet to send [15:40:19]OFD Sender: No OFD packet to send [15:40:24]OFD Sender: No OFD packet to send [15:40:29]OFD Sender: No OFD packet to send [15:40:34]OFD Sender: No OFD packet to send [15:40:39]OFD Sender: No OFD packet to send [15:40:44]OFD Sender: No OFD packet to send [15:40:49]OFD Sender: No OFD packet to send [15:40:54]OFD Sender: No OFD packet to send [15:40:59]OFD Sender: No OFD packet to send [15:41:04]OFD Sender: No OFD packet to send [15:41:09]OFD Sender: No OFD packet to send [15:41:14]OFD Sender: No OFD packet to send [15:41:19]OFD Sender: No OFD packet to send [15:41:24]OFD Sender: No OFD packet to send [15:41:29]OFD Sender: No OFD packet to send [15:41:34]OFD Sender: No OFD packet to send [15:41:39]OFD Sender: No OFD packet to send [15:41:44]OFD Sender: No OFD packet to send [15:41:49]OFD Sender: No OFD packet to send [15:41:54]OFD Sender: No OFD packet to send [15:41:59]OFD Sender: No OFD packet to send [15:42:04]OFD Sender: No OFD packet to send [15:42:09]OFD Sender: No OFD packet to send [15:42:14]OFD Sender: No OFD packet to send [15:42:19]OFD Sender: No OFD packet to send [15:42:24]OFD Sender: No OFD packet to send [15:42:29]OFD Sender: No OFD packet to send [15:42:34]OFD Sender: No OFD packet to send [15:42:39]OFD Sender: No OFD packet to send [15:42:44]OFD Sender: No OFD packet to send [15:42:49]OFD Sender: No OFD packet to send [15:42:54]OFD Sender: No OFD packet to send [15:42:59]OFD Sender: No OFD packet to send [15:43:04]OFD Sender: No OFD packet to send [15:43:09]OFD Sender: No OFD packet to send [15:43:14]OFD Sender: No OFD packet to send [15:43:19]OFD Sender: No OFD packet to send [15:43:24]OFD Sender: No OFD packet to send [15:43:29]OFD Sender: No OFD packet to send [15:43:34]OFD Sender: No OFD packet to send [15:43:39]OFD Sender: No OFD packet to send [15:43:44]OFD Sender: No OFD packet to send [15:43:49]OFD Sender: No OFD packet to send [15:43:54]OFD Sender: No OFD packet to send [15:43:59]OFD Sender: No OFD packet to send [15:44:04]OFD Sender: No OFD packet to send [15:44:09]OFD Sender: No OFD packet to send [15:44:14]OFD Sender: No OFD packet to send [15:44:19]OFD Sender: No OFD packet to send [15:44:24]OFD Sender: No OFD packet to send [15:44:29]OFD Sender: No OFD packet to send [15:44:34]OFD Sender: No OFD packet to send [15:44:39]OFD Sender: No OFD packet to send [15:44:44]OFD Sender: No OFD packet to send [15:44:49]OFD Sender: No OFD packet to send [15:44:54]OFD Sender: No OFD packet to send [15:44:59]OFD Sender: No OFD packet to send [15:45:04]OFD Sender: No OFD packet to send [15:45:09]OFD Sender: No OFD packet to send [15:45:14]OFD Sender: No OFD packet to send [15:45:19]OFD Sender: No OFD packet to send [15:45:24]OFD Sender: No OFD packet to send [15:45:29]OFD Sender: No OFD packet to send [15:45:34]OFD Sender: No OFD packet to send [15:45:39]OFD Sender: No OFD packet to send [15:45:44]OFD Sender: No OFD packet to send [15:45:49]OFD Sender: No OFD packet to send [15:45:54]OFD Sender: No OFD packet to send [15:45:59]OFD Sender: No OFD packet to send [15:46:04]OFD Sender: No OFD packet to send [15:46:09]OFD Sender: No OFD packet to send [15:46:14]OFD Sender: No OFD packet to send [15:46:19]OFD Sender: No OFD packet to send [15:46:24]OFD Sender: No OFD packet to send [15:46:29]OFD Sender: No OFD packet to send [15:46:34]OFD Sender: No OFD packet to send [15:46:39]OFD Sender: No OFD packet to send [15:46:44]OFD Sender: No OFD packet to send [15:46:49]OFD Sender: No OFD packet to send [15:46:54]OFD Sender: No OFD packet to send [15:46:59]OFD Sender: No OFD packet to send [15:47:04]OFD Sender: No OFD packet to send [15:47:09]OFD Sender: No OFD packet to send [15:47:14]OFD Sender: No OFD packet to send [15:47:19]OFD Sender: No OFD packet to send [15:47:24]OFD Sender: No OFD packet to send [15:47:29]OFD Sender: No OFD packet to send [15:47:35]OFD Sender: No OFD packet to send [15:47:40]OFD Sender: No OFD packet to send [15:47:45]OFD Sender: No OFD packet to send [15:47:50]OFD Sender: No OFD packet to send [15:47:55]OFD Sender: No OFD packet to send [15:48:00]OFD Sender: No OFD packet to send [15:48:05]OFD Sender: No OFD packet to send [15:48:10]OFD Sender: No OFD packet to send [15:48:15]OFD Sender: No OFD packet to send [15:48:20]OFD Sender: No OFD packet to send [15:48:25]OFD Sender: No OFD packet to send [15:48:30]OFD Sender: No OFD packet to send [15:48:35]OFD Sender: No OFD packet to send [15:48:40]OFD Sender: No OFD packet to send [15:48:45]OFD Sender: No OFD packet to send [15:48:50]OFD Sender: No OFD packet to send [15:48:55]OFD Sender: No OFD packet to send [15:49:00]OFD Sender: No OFD packet to send [15:49:05]OFD Sender: No OFD packet to send [15:49:10]OFD Sender: No OFD packet to send [15:49:15]OFD Sender: No OFD packet to send [15:49:20]OFD Sender: No OFD packet to send [15:49:25]OFD Sender: No OFD packet to send [15:49:30]OFD Sender: No OFD packet to send [15:49:35]OFD Sender: No OFD packet to send [15:49:40]OFD Sender: No OFD packet to send [15:49:45]OFD Sender: No OFD packet to send [15:49:50]OFD Sender: No OFD packet to send [15:49:55]OFD Sender: No OFD packet to send [15:50:00]OFD Sender: No OFD packet to send [15:50:05]OFD Sender: No OFD packet to send [15:50:10]OFD Sender: No OFD packet to send [15:50:15]OFD Sender: No OFD packet to send [15:50:20]OFD Sender: No OFD packet to send [15:50:25]OFD Sender: No OFD packet to send [15:50:30]OFD Sender: No OFD packet to send [15:50:35]OFD Sender: No OFD packet to send [15:50:40]OFD Sender: No OFD packet to send [15:50:45]OFD Sender: No OFD packet to send [15:50:50]OFD Sender: No OFD packet to send [15:50:55]OFD Sender: No OFD packet to send [15:51:00]OFD Sender: No OFD packet to send [15:51:05]OFD Sender: No OFD packet to send [15:51:10]OFD Sender: No OFD packet to send [15:51:15]OFD Sender: No OFD packet to send [15:51:16]int [15:51:16]Write to MH i2c: 01 00 00 98 26 BE [15:51:16]*** FLAG_PRN_PAP1 set [15:51:16]Write i2c OK [15:51:16]MH_I2C_Read... [15:51:16]Read from MH i2c: 01 [15:51:16]MH_I2C_Read... [15:51:16]Read from MH i2c: 01 07 00 [15:51:16]MH_I2C_Read... [15:51:16]Read from MH i2c: 01 07 00 98 26 00 01 00 00 00 FF 0F D4 [15:51:16]state=0 [15:51:16]No paper [15:51:16]int [15:51:16]Write to MH i2c: 01 00 00 99 26 BF [15:51:16]*** FLAG_PRN_PAP2 set [15:51:16]Write i2c OK [15:51:16]MH_I2C_Read... [15:51:16]Read from MH i2c: 01 [15:51:16]MH_I2C_Read... [15:51:16]Read from MH i2c: 01 07 00 [15:51:16]MH_I2C_Read... [15:51:16]Read from MH i2c: 01 07 00 99 26 00 03 00 00 00 FF 0F D7 [15:51:16]state=0 [15:51:16]No paper [15:51:16]Cover opened [15:51:20]OFD Sender: No OFD packet to send [15:51:21]Write to MH i2c: 01 00 00 9A 26 C0 [15:51:21]Write i2c OK [15:51:21]MH_I2C_Read... [15:51:21]Read from MH i2c: 01 [15:51:21]MH_I2C_Read... [15:51:21]Read from MH i2c: 01 07 00 [15:51:21]MH_I2C_Read... [15:51:21]Read from MH i2c: 01 07 00 9A 26 00 03 00 00 00 FF 0F D8 [15:51:21]state=3 [15:51:21]No paper [15:51:21]Cover opened [15:51:25]OFD Sender: No OFD packet to send [15:51:26]Write to MH i2c: 01 00 00 9B 26 C1 [15:51:26]Write i2c OK [15:51:26]MH_I2C_Read... [15:51:26]Read from MH i2c: 01 [15:51:26]MH_I2C_Read... [15:51:26]Read from MH i2c: 01 07 00 [15:51:26]MH_I2C_Read... [15:51:26]Read from MH i2c: 01 07 00 9B 26 00 03 00 00 00 FF 0F D9 [15:51:26]state=3 [15:51:26]No paper [15:51:26]Cover opened [15:51:30]OFD Sender: No OFD packet to send [15:51:31]Write to MH i2c: 01 00 00 9C 26 C2 [15:51:31]Write i2c OK [15:51:31]MH_I2C_Read... [15:51:31]Read from MH i2c: 01 [15:51:31]MH_I2C_Read... [15:51:31]Read from MH i2c: 01 07 00 [15:51:31]MH_I2C_Read... [15:51:31]Read from MH i2c: 01 07 00 9C 26 00 03 00 00 00 FF 0F DA [15:51:31]state=3 [15:51:31]No paper [15:51:31]Cover opened [15:51:35]OFD Sender: No OFD packet to send [15:51:36]Write to MH i2c: 01 00 00 9D 26 C3 [15:51:36]Write i2c OK [15:51:36]MH_I2C_Read... [15:51:36]Read from MH i2c: 01 [15:51:36]MH_I2C_Read... [15:51:36]Read from MH i2c: 01 07 00 [15:51:36]MH_I2C_Read... [15:51:36]Read from MH i2c: 01 07 00 9D 26 00 03 00 00 00 FF 0F DB [15:51:36]state=3 [15:51:36]No paper [15:51:36]Cover opened [15:51:38]int [15:51:38]Write to MH i2c: 01 00 00 9E 26 C4 [15:51:38]*** FLAG_PRN_PAP1 reset [15:51:38]Write i2c OK [15:51:38]MH_I2C_Read... [15:51:38]Read from MH i2c: 01 [15:51:38]MH_I2C_Read... [15:51:38]Read from MH i2c: 01 07 00 [15:51:38]MH_I2C_Read... [15:51:38]*** FLAG_PRN_PAP2 reset [15:51:38]Read from MH i2c: 01 07 00 9E 26 00 00 00 00 00 FF 0F D9 [15:51:38]state=3 [15:51:38]Cover closed [15:51:40]OFD Sender: No OFD packet to send [15:51:41]int [15:51:41]Write to MH i2c: 01 00 00 9F 26 C5 [15:51:41]Write i2c OK [15:51:41]MH_I2C_Read... [15:51:41]Read from MH i2c: 01 [15:51:41]MH_I2C_Read... [15:51:41]Read from MH i2c: 01 07 00 [15:51:41]MH_I2C_Read... [15:51:41]*** FLAG_PRN_PAP1 set [15:51:41]*** FLAG_PRN_PAP1 reset [15:51:41]Read from MH i2c: 01 07 00 9F 26 00 00 00 00 00 FF 0F DA [15:51:41]state=0 [15:51:41]int [15:51:41]Write to MH i2c: 01 00 00 A0 26 C6 [15:51:41]Write i2c OK [15:51:41]MH_I2C_Read... [15:51:41]Read from MH i2c: 01 [15:51:41]MH_I2C_Read... [15:51:41]Read from MH i2c: 01 07 00 [15:51:41]MH_I2C_Read... [15:51:41]Read from MH i2c: 01 07 00 A0 26 00 00 00 00 00 FF 0F DB [15:51:41]state=0 [15:51:41]int [15:51:41]Write to MH i2c: 01 00 00 A1 26 C7 [15:51:41]*** FLAG_PRN_PAP1 set [15:51:41]*** FLAG_PRN_PAP1 reset [15:51:41]*** FLAG_PRN_PAP1 set [15:51:41]Write i2c OK [15:51:41]MH_I2C_Read... [15:51:41]Read from MH i2c: 01 [15:51:41]MH_I2C_Read... [15:51:41]Read from MH i2c: 01 07 00 [15:51:41]MH_I2C_Read... [15:51:41]Read from MH i2c: 01 07 00 A1 26 00 01 00 00 00 FF 0F DD [15:51:41]state=0 [15:51:41]No paper [15:51:41]int [15:51:41]Write to MH i2c: 01 00 00 A2 26 C8 [15:51:41]*** FLAG_PRN_PAP2 set [15:51:41]Write i2c OK [15:51:41]MH_I2C_Read... [15:51:41]Read from MH i2c: 01 [15:51:41]MH_I2C_Read... [15:51:41]Read from MH i2c: 01 07 00 [15:51:41]MH_I2C_Read... [15:51:41]Read from MH i2c: 01 07 00 A2 26 00 03 00 00 00 FF 0F E0 [15:51:41]state=0 [15:51:41]No paper [15:51:41]Cover opened [15:51:44]int [15:51:44]Write to MH i2c: 01 00 00 A3 26 C9 [15:51:44]*** FLAG_PRN_PAP1 reset [15:51:44]Write i2c OK [15:51:44]MH_I2C_Read... [15:51:44]Read from MH i2c: 01 [15:51:44]MH_I2C_Read... [15:51:44]Read from MH i2c: 01 07 00 [15:51:44]MH_I2C_Read... [15:51:44]Read from MH i2c: 01 07 00 A3 26 00 02 00 00 00 FF 0F E0 [15:51:44]state=3 [15:51:44]Cover opened [15:51:44]int [15:51:44]Write to MH i2c: 01 00 00 A4 26 CA [15:51:44]*** FLAG_PRN_PAP2 reset [15:51:44]Write i2c OK [15:51:44]MH_I2C_Read... [15:51:44]Read from MH i2c: 01 [15:51:44]MH_I2C_Read... [15:51:44]Read from MH i2c: 01 07 00 [15:51:44]MH_I2C_Read... [15:51:44]Read from MH i2c: 01 07 00 A4 26 00 00 00 00 00 FF 0F DF [15:51:44]state=3 [15:51:44]Cover closed [15:51:45]int [15:51:45]Write to MH i2c: 01 00 00 A5 26 CB [15:51:45]*** FLAG_PRN_KEY set [15:51:45]Write i2c OK [15:51:45]MH_I2C_Read... [15:51:45]Read from MH i2c: 01 [15:51:45]MH_I2C_Read... [15:51:45]Read from MH i2c: 01 07 00 [15:51:45]MH_I2C_Read... [15:51:45]Read from MH i2c: 01 07 00 A5 26 00 08 00 00 00 FF 0F E8 [15:51:45]state=0 [15:51:45]Key pressed [15:51:45]Feed [15:51:45]Write to MH i2c: D8 00 00 A6 26 A3 [15:51:45]Write i2c OK [15:51:45]MH_I2C_Read... [15:51:45]Read from MH i2c: D8 [15:51:45]MH_I2C_Read... [15:51:45]Read from MH i2c: D8 01 00 [15:51:45]MH_I2C_Read... [15:51:45]Read from MH i2c: D8 01 00 A6 26 00 A4 [15:51:45]int [15:51:45]Write to MH i2c: 01 00 00 A7 26 CD [15:51:45]Write i2c OK [15:51:45]MH_I2C_Read... [15:51:45]Read from MH i2c: 01 [15:51:45]MH_I2C_Read... [15:51:45]Read from MH i2c: 01 07 00 [15:51:45]MH_I2C_Read... [15:51:45]Read from MH i2c: 01 07 00 A7 26 00 48 00 00 00 3C 00 58 [15:51:45]state=2 [15:51:45]Key pressed [15:51:45]OFD Sender: No OFD packet to send [15:51:45]int [15:51:45]Write to MH i2c: 01 00 00 A8 26 CE [15:51:45]*** FLAG_PRN_KEY reset [15:51:45]Write i2c OK [15:51:45]MH_I2C_Read... [15:51:45]Read from MH i2c: 01 [15:51:45]MH_I2C_Read... [15:51:45]Read from MH i2c: 01 07 00 [15:51:45]MH_I2C_Read... [15:51:45]Read from MH i2c: 01 07 00 A8 26 00 00 00 00 00 FF 0F E3 [15:51:45]state=2 [15:51:45]Stop feed [15:51:50]OFD Sender: No OFD packet to send [15:51:55]OFD Sender: No OFD packet to send [15:52:00]OFD Sender: No OFD packet to send [15:52:05]OFD Sender: No OFD packet to send [15:52:10]OFD Sender: No OFD packet to send [15:52:15]OFD Sender: No OFD packet to send [15:52:20]OFD Sender: No OFD packet to send [15:52:25]OFD Sender: No OFD packet to send [15:52:30]OFD Sender: No OFD packet to send [15:52:35]OFD Sender: No OFD packet to send [15:52:40]OFD Sender: No OFD packet to send [15:52:45]OFD Sender: No OFD packet to send [15:52:50]OFD Sender: No OFD packet to send [15:52:55]OFD Sender: No OFD packet to send [15:53:00]OFD Sender: No OFD packet to send [15:53:05]OFD Sender: No OFD packet to send [15:53:10]OFD Sender: No OFD packet to send [15:53:15]OFD Sender: No OFD packet to send [15:53:20]OFD Sender: No OFD packet to send [15:53:25]OFD Sender: No OFD packet to send [15:53:30]OFD Sender: No OFD packet to send [15:53:35]OFD Sender: No OFD packet to send [15:53:40]OFD Sender: No OFD packet to send [15:53:45]OFD Sender: No OFD packet to send [15:53:50]OFD Sender: No OFD packet to send [15:53:55]OFD Sender: No OFD packet to send [15:54:00]OFD Sender: No OFD packet to send [15:54:05]OFD Sender: No OFD packet to send [15:54:10]OFD Sender: No OFD packet to send [15:54:15]OFD Sender: No OFD packet to send [15:54:20]OFD Sender: No OFD packet to send [15:54:25]OFD Sender: No OFD packet to send [15:54:30]OFD Sender: No OFD packet to send [15:54:35]OFD Sender: No OFD packet to send [15:54:40]OFD Sender: No OFD packet to send [15:54:45]OFD Sender: No OFD packet to send [15:54:50]OFD Sender: No OFD packet to send [15:54:55]OFD Sender: No OFD packet to send [15:55:00]OFD Sender: No OFD packet to send [15:55:05]OFD Sender: No OFD packet to send [15:55:10]OFD Sender: No OFD packet to send [15:55:15]OFD Sender: No OFD packet to send [15:55:20]OFD Sender: No OFD packet to send [15:55:25]OFD Sender: No OFD packet to send [15:55:30]OFD Sender: No OFD packet to send [15:55:35]OFD Sender: No OFD packet to send [15:55:40]OFD Sender: No OFD packet to send [15:55:45]OFD Sender: No OFD packet to send [15:55:50]OFD Sender: No OFD packet to send [15:55:55]OFD Sender: No OFD packet to send [15:56:00]OFD Sender: No OFD packet to send [15:56:05]OFD Sender: No OFD packet to send [15:56:10]OFD Sender: No OFD packet to send [15:56:15]OFD Sender: No OFD packet to send [15:56:20]OFD Sender: No OFD packet to send [15:56:25]OFD Sender: No OFD packet to send [15:56:30]OFD Sender: No OFD packet to send [15:56:35]OFD Sender: No OFD packet to send [15:56:40]OFD Sender: No OFD packet to send [15:56:45]OFD Sender: No OFD packet to send [15:56:50]OFD Sender: No OFD packet to send [15:56:55]OFD Sender: No OFD packet to send [15:57:00]OFD Sender: No OFD packet to send [15:57:05]OFD Sender: No OFD packet to send [15:57:10]OFD Sender: No OFD packet to send [15:57:15]OFD Sender: No OFD packet to send [15:57:20]OFD Sender: No OFD packet to send [15:57:25]OFD Sender: No OFD packet to send [15:57:30]OFD Sender: No OFD packet to send [15:57:35]OFD Sender: No OFD packet to send [15:57:40]OFD Sender: No OFD packet to send [15:57:45]OFD Sender: No OFD packet to send [15:57:50]OFD Sender: No OFD packet to send [15:57:55]OFD Sender: No OFD packet to send [15:58:00]OFD Sender: No OFD packet to send [15:58:05]OFD Sender: No OFD packet to send [15:58:10]OFD Sender: No OFD packet to send [15:58:15]OFD Sender: No OFD packet to send [15:58:20]OFD Sender: No OFD packet to send [15:58:25]OFD Sender: No OFD packet to send [15:58:30]OFD Sender: No OFD packet to send [15:58:35]OFD Sender: No OFD packet to send [15:58:40]OFD Sender: No OFD packet to send [15:58:45]OFD Sender: No OFD packet to send [15:58:50]OFD Sender: No OFD packet to send [15:58:55]OFD Sender: No OFD packet to send [15:59:00]OFD Sender: No OFD packet to send [15:59:05]OFD Sender: No OFD packet to send [15:59:10]OFD Sender: No OFD packet to send [15:59:15]OFD Sender: No OFD packet to send [15:59:20]OFD Sender: No OFD packet to send [15:59:25]OFD Sender: No OFD packet to send [15:59:30]OFD Sender: No OFD packet to send [15:59:35]OFD Sender: No OFD packet to send [15:59:40]OFD Sender: No OFD packet to send [15:59:45]OFD Sender: No OFD packet to send [15:59:50]OFD Sender: No OFD packet to send [15:59:55]OFD Sender: No OFD packet to send [16:00:00]OFD Sender: No OFD packet to send [16:00:05]OFD Sender: No OFD packet to send [16:00:10]OFD Sender: No OFD packet to send [16:00:15]OFD Sender: No OFD packet to send [16:00:20]OFD Sender: No OFD packet to send [16:00:25]OFD Sender: No OFD packet to send [16:00:30]OFD Sender: No OFD packet to send [16:00:35]OFD Sender: No OFD packet to send [16:00:40]OFD Sender: No OFD packet to send [16:00:45]OFD Sender: No OFD packet to send [16:00:50]OFD Sender: No OFD packet to send [16:00:55]OFD Sender: No OFD packet to send [16:01:00]OFD Sender: No OFD packet to send [16:01:05]OFD Sender: No OFD packet to send [16:01:10]OFD Sender: No OFD packet to send [16:01:15]OFD Sender: No OFD packet to send [16:01:20]OFD Sender: No OFD packet to send [16:01:25]OFD Sender: No OFD packet to send [16:01:30]OFD Sender: No OFD packet to send [16:01:35]OFD Sender: No OFD packet to send [16:01:40]OFD Sender: No OFD packet to send [16:01:45]OFD Sender: No OFD packet to send [16:01:50]OFD Sender: No OFD packet to send [16:01:55]OFD Sender: No OFD packet to send [16:02:00]OFD Sender: No OFD packet to send [16:02:05]OFD Sender: No OFD packet to send [16:02:10]OFD Sender: No OFD packet to send [16:02:15]OFD Sender: No OFD packet to send [16:02:20]OFD Sender: No OFD packet to send [16:02:25]OFD Sender: No OFD packet to send [16:02:30]OFD Sender: No OFD packet to send [16:02:35]OFD Sender: No OFD packet to send [16:02:40]OFD Sender: No OFD packet to send [16:02:45]OFD Sender: No OFD packet to send [16:02:50]OFD Sender: No OFD packet to send [16:02:55]OFD Sender: No OFD packet to send [16:03:00]OFD Sender: No OFD packet to send [16:03:05]OFD Sender: No OFD packet to send [16:03:10]OFD Sender: No OFD packet to send [16:03:15]OFD Sender: No OFD packet to send [16:03:20]OFD Sender: No OFD packet to send [16:03:25]OFD Sender: No OFD packet to send [16:03:30]OFD Sender: No OFD packet to send [16:03:35]OFD Sender: No OFD packet to send [16:03:40]OFD Sender: No OFD packet to send [16:03:45]OFD Sender: No OFD packet to send [16:03:50]OFD Sender: No OFD packet to send [16:03:55]OFD Sender: No OFD packet to send [16:04:00]OFD Sender: No OFD packet to send [16:04:05]OFD Sender: No OFD packet to send [16:04:10]OFD Sender: No OFD packet to send [16:04:15]OFD Sender: No OFD packet to send [16:04:20]OFD Sender: No OFD packet to send [16:04:25]OFD Sender: No OFD packet to send [16:04:30]OFD Sender: No OFD packet to send [16:04:35]OFD Sender: No OFD packet to send [16:04:40]OFD Sender: No OFD packet to send [16:04:45]OFD Sender: No OFD packet to send [16:04:50]OFD Sender: No OFD packet to send [16:04:55]OFD Sender: No OFD packet to send [16:05:00]OFD Sender: No OFD packet to send [16:05:05]OFD Sender: No OFD packet to send [16:05:10]OFD Sender: No OFD packet to send [16:05:15]OFD Sender: No OFD packet to send [16:05:20]OFD Sender: No OFD packet to send [16:05:25]OFD Sender: No OFD packet to send [16:05:30]OFD Sender: No OFD packet to send [16:05:35]OFD Sender: No OFD packet to send [16:05:40]OFD Sender: No OFD packet to send [16:05:45]OFD Sender: No OFD packet to send [16:05:50]OFD Sender: No OFD packet to send [16:05:56]OFD Sender: No OFD packet to send [16:06:01]OFD Sender: No OFD packet to send [16:06:06]OFD Sender: No OFD packet to send [16:06:11]OFD Sender: No OFD packet to send [16:06:16]OFD Sender: No OFD packet to send [16:06:21]OFD Sender: No OFD packet to send [16:06:26]OFD Sender: No OFD packet to send [16:06:31]OFD Sender: No OFD packet to send [16:06:36]OFD Sender: No OFD packet to send [16:06:41]OFD Sender: No OFD packet to send [16:06:46]OFD Sender: No OFD packet to send [16:06:51]OFD Sender: No OFD packet to send [16:06:56]OFD Sender: No OFD packet to send [16:07:01]OFD Sender: No OFD packet to send [16:07:06]OFD Sender: No OFD packet to send [16:07:11]OFD Sender: No OFD packet to send [16:07:16]OFD Sender: No OFD packet to send [16:07:21]OFD Sender: No OFD packet to send [16:07:26]OFD Sender: No OFD packet to send [16:07:31]OFD Sender: No OFD packet to send [16:07:36]OFD Sender: No OFD packet to send [16:07:41]OFD Sender: No OFD packet to send [16:07:46]OFD Sender: No OFD packet to send [16:07:51]OFD Sender: No OFD packet to send [16:07:56]OFD Sender: No OFD packet to send [16:08:01]OFD Sender: No OFD packet to send [16:08:06]OFD Sender: No OFD packet to send [16:08:11]OFD Sender: No OFD packet to send [16:08:16]OFD Sender: No OFD packet to send [16:08:21]OFD Sender: No OFD packet to send [16:08:26]OFD Sender: No OFD packet to send [16:08:31]OFD Sender: No OFD packet to send [16:08:36]OFD Sender: No OFD packet to send [16:08:41]OFD Sender: No OFD packet to send [16:08:46]OFD Sender: No OFD packet to send [16:08:51]OFD Sender: No OFD packet to send [16:08:56]OFD Sender: No OFD packet to send [16:09:01]OFD Sender: No OFD packet to send [16:09:06]OFD Sender: No OFD packet to send [16:09:11]OFD Sender: No OFD packet to send [16:09:16]OFD Sender: No OFD packet to send [16:09:21]OFD Sender: No OFD packet to send [16:09:26]OFD Sender: No OFD packet to send [16:09:31]OFD Sender: No OFD packet to send [16:09:36]OFD Sender: No OFD packet to send [16:09:41]OFD Sender: No OFD packet to send [16:09:46]OFD Sender: No OFD packet to send [16:09:51]OFD Sender: No OFD packet to send [16:09:56]OFD Sender: No OFD packet to send [16:10:01]OFD Sender: No OFD packet to send [16:10:06]OFD Sender: No OFD packet to send [16:10:11]OFD Sender: No OFD packet to send [16:10:16]OFD Sender: No OFD packet to send [16:10:21]OFD Sender: No OFD packet to send [16:10:26]OFD Sender: No OFD packet to send [16:10:31]OFD Sender: No OFD packet to send [16:10:36]OFD Sender: No OFD packet to send [16:10:41]OFD Sender: No OFD packet to send [16:10:46]OFD Sender: No OFD packet to send [16:10:51]OFD Sender: No OFD packet to send [16:10:56]OFD Sender: No OFD packet to send [16:11:01]OFD Sender: No OFD packet to send [16:11:06]OFD Sender: No OFD packet to send [16:11:11]OFD Sender: No OFD packet to send [16:11:16]OFD Sender: No OFD packet to send [16:11:21]OFD Sender: No OFD packet to send [16:11:26]OFD Sender: No OFD packet to send [16:11:31]OFD Sender: No OFD packet to send [16:11:36]OFD Sender: No OFD packet to send [16:11:41]OFD Sender: No OFD packet to send [16:11:46]OFD Sender: No OFD packet to send [16:11:51]OFD Sender: No OFD packet to send [16:11:56]OFD Sender: No OFD packet to send [16:12:01]OFD Sender: No OFD packet to send [16:12:06]OFD Sender: No OFD packet to send [16:12:11]OFD Sender: No OFD packet to send [16:12:16]OFD Sender: No OFD packet to send [16:12:21]OFD Sender: No OFD packet to send [16:12:26]OFD Sender: No OFD packet to send [16:12:31]OFD Sender: No OFD packet to send [16:12:36]OFD Sender: No OFD packet to send [16:12:41]OFD Sender: No OFD packet to send [16:12:46]OFD Sender: No OFD packet to send [16:12:51]OFD Sender: No OFD packet to send [16:12:56]OFD Sender: No OFD packet to send [16:13:01]OFD Sender: No OFD packet to send [16:13:06]OFD Sender: No OFD packet to send [16:13:11]OFD Sender: No OFD packet to send [16:13:16]OFD Sender: No OFD packet to send [16:13:21]OFD Sender: No OFD packet to send [16:13:26]OFD Sender: No OFD packet to send [16:13:31]OFD Sender: No OFD packet to send [16:13:36]OFD Sender: No OFD packet to send [16:13:41]OFD Sender: No OFD packet to send [16:13:46]OFD Sender: No OFD packet to send [16:13:51]OFD Sender: No OFD packet to send [16:13:56]OFD Sender: No OFD packet to send [16:14:01]OFD Sender: No OFD packet to send [16:14:06]OFD Sender: No OFD packet to send [16:14:11]OFD Sender: No OFD packet to send [16:14:16]OFD Sender: No OFD packet to send [16:14:21]OFD Sender: No OFD packet to send [16:14:26]OFD Sender: No OFD packet to send [16:14:31]OFD Sender: No OFD packet to send [16:14:34]accept exits with 9 [16:14:34]New connection [16:14:34]New thread 3067014500 created [16:14:34]Thread 3066871140 joined [16:14:34]Waiting for new connection... [16:14:34] Sock 9.Parse request [16:14:34]Sock 9.Check first char [16:14:34]Sock 9.First char is OK [16:14:34]request: POST /json_proto HTTP/1.0 [16:14:34]Method: POST [16:14:34]URL: /json_proto [16:14:34]Method is POST - this is cgi request [16:14:34]url: /json_proto [16:14:34]query_string will be loaded in cgi processing [16:14:34]execute_cgi json_proto POST (null) [16:14:34]execute_cgi path=json_proto method=POST [16:14:34]POST find Content-Length [16:14:34]Host: 172.17.35.3:8080 [16:14:34]Content-Length: 682 [16:14:34]Content-Type: application/json [16:14:34] [16:14:34]POST finish read [16:14:34]Found Content-Length = 682 [16:14:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359492", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "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" ] } } [16:14:34]execute_script... [16:14: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 : (1)359492", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "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" ] } } [16:14:34]POST & json_proto [16:14:34]process_json_proto [16:14:34]json parsed OK: [16:14:34]protocol is kg_v1.0 [16:14:34]action value=close_receipt [16:14:34]process_action close_receipt [16:14:34]cmd_close_receipt [16:14:34]MH_GetDate [16:14:34]Write to MH i2c: F0 00 00 A9 26 BE [16:14:34]Write i2c OK [16:14:34]MH_I2C_Read... [16:14:34]Read from MH i2c: F0 [16:14:34]MH_I2C_Read... [16:14:34]Read from MH i2c: F0 09 00 [16:14:34]MH_I2C_Read... [16:14:34]Read from MH i2c: F0 09 00 A9 26 00 74 C6 12 66 2B 11 66 64 7F [16:14:34]GetLastDocTimeStamp 1712504341 [16:14:34]current date 1712506484 [16:14:34]FM_GetShiftState [16:14:34]SAM_PROTO_GetShiftState [16:14:34]wFMCommunicate request_size=4 [16:14:34]MH_SAM_APDU [16:14:34]CAPDU: 80 13 01 00 [16:14:34]Write to MH i2c: E2 08 00 AA 26 80 13 01 00 00 00 00 00 4D [16:14:34]Write i2c OK [16:14:34]MH_I2C_Read... [16:14:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:14:34]Read from MH i2c: E2 [16:14:34]MH_I2C_Read... [16:14:34]Read from MH i2c: E2 0E 00 [16:14:34]MH_I2C_Read... [16:14:34]Read from MH i2c: E2 0E 00 AA 26 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 E1 [16:14:34]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [16:14:34]wFMCommunicate OK [16:14:34]SAM_PROTO_GetShiftState done [16:14:34]FM_GetShiftState done [16:14:34]opened in 1712450087 [16:14:34]opened+sec_in_day 1712536487 [16:14:34]quantity*price = 100045 [16:14:34]sum+1 = 100046 [16:14:34]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.45 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.24 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 47 07.04.2024 16:14 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26748 ФПД: 172041691226036 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T161444&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26748&fm=172041691226036&tin=02508201610067®Number=0000000000091578&sum=100000 [16:14:35]StoreToDocumentArchive [16:14:35]shift 313 fd 26748 [16:14:35]save to /storage/0313/doc_00026748 [16:14:35]save last doc name /storage/0313/doc_00026748 to /storage/kkm_last_doc_name [16:14:35]save OK [16:14:35]Clear old archive folders... [16:14:35]ProcessDocumentItem done err = 0, tmpTLVsize=251 [16:14:35]tlvbuf is B6ED07E0 [16:14:35]SAM_PROTO_ClearQueue [16:14:35]wFMCommunicate request_size=4 [16:14:35]MH_SAM_APDU [16:14:35]CAPDU: 80 09 00 00 [16:14:35]Write to MH i2c: E2 08 00 B7 26 80 09 00 00 00 00 00 00 4F [16:14:35]Write i2c OK [16:14:35]MH_I2C_Read... [16:14:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:14:35]Read from MH i2c: E2 [16:14:35]MH_I2C_Read... [16:14:35]Read from MH i2c: E2 03 00 [16:14:35]MH_I2C_Read... [16:14:35]Read from MH i2c: E2 03 00 B7 26 00 90 00 51 [16:14:35]RAPDU: 90 00 [16:14:35]wFMCommunicate OK [16:14:35]SAM_PROTO_ClearQueue done [16:14:35]KKMCreateOFDPacket [16:14:35]OFDProtocolAddRootSTLVToBuf [16:14:35]FM_MakeSignedData [16:14:35]FM_MakeSignedData [16:14:35]SAM_PROTO_SignData [16:14:35]wFMCommunicate request_size=4 [16:14:35]MH_SAM_APDU [16:14:35]CAPDU: 80 0D 01 02 [16:14:35]Write to MH i2c: E2 08 00 B8 26 80 0D 01 02 00 00 00 00 57 [16:14:35]Write i2c OK [16:14:35]MH_I2C_Read... [16:14:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:14:35]Read from MH i2c: E2 [16:14:35]MH_I2C_Read... [16:14:35]Read from MH i2c: E2 03 00 [16:14:35]MH_I2C_Read... [16:14:35]Read from MH i2c: E2 03 00 B8 26 00 90 00 52 [16:14:35]RAPDU: 90 00 [16:14:35]wFMCommunicate OK [16:14:35]wFMCommunicate request_size=255 [16:14:35]MH_SAM_APDU [16:14:35]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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 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 2F 00 00 00 F4 03 04 00 74 C6 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 7C 68 00 00 35 04 06 00 9C [16:14:35]Write to MH i2c: E2 02 01 B9 26 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 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 2F 00 00 00 F4 03 04 00 74 C6 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 7C 68 00 00 35 04 06 00 9C 00 00 86 [16:14:35]Write i2c OK [16:14:35]MH_I2C_Read... [16:14:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:14:36]Read from MH i2c: E2 [16:14:36]MH_I2C_Read... [16:14:36]Read from MH i2c: E2 03 00 [16:14:36]MH_I2C_Read... [16:14:36]Read from MH i2c: E2 03 00 B9 26 00 90 00 53 [16:14:36]RAPDU: 90 00 [16:14:36]wFMCommunicate OK [16:14:36]wFMCommunicate request_size=10 [16:14:36]MH_SAM_APDU [16:14:36]CAPDU: 80 0D 02 02 05 78 93 E4 5F B4 [16:14:36]Write to MH i2c: E2 0D 00 BA 26 80 0D 02 02 05 00 78 93 E4 5F B4 00 00 66 [16:14:36]Write i2c OK [16:14:36]MH_I2C_Read... [16:14:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:14:36]Read from MH i2c: E2 [16:14:36]MH_I2C_Read... [16:14:36]Read from MH i2c: E2 03 00 [16:14:36]MH_I2C_Read... [16:14:36]Read from MH i2c: E2 03 00 BA 26 00 90 00 54 [16:14:36]RAPDU: 90 00 [16:14:36]wFMCommunicate OK [16:14:36]wFMCommunicate request_size=4 [16:14:36]MH_SAM_APDU [16:14:36]CAPDU: 80 0D 03 02 [16:14:36]Write to MH i2c: E2 08 00 BB 26 80 0D 03 02 00 00 00 00 5C [16:14:36]Write i2c OK [16:14:36]MH_I2C_Read... [16:14:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:14:36]Read from MH i2c: E2 [16:14:36]MH_I2C_Read... [16:14:36]Read from MH i2c: E2 0B 00 [16:14:36]MH_I2C_Read... [16:14:36]Read from MH i2c: E2 0B 00 BB 26 00 CB 44 6B 64 9A 52 D9 47 90 00 47 [16:14:36]RAPDU: CB 44 6B 64 9A 52 D9 47 90 00 [16:14:36]wFMCommunicate OK [16:14:36]SAM_PROTO_SignData done [16:14:36]FM_MakeSignedData done [16:14:36]CreateOFDProtocolMessage [16:14:36]wFMCommunicate request_size=4 [16:14:36]MH_SAM_APDU [16:14:36]CAPDU: 80 11 00 00 [16:14:36]Write to MH i2c: E2 08 00 BC 26 80 11 00 00 00 00 00 00 5C [16:14:36]Write i2c OK [16:14:36]MH_I2C_Read... [16:14:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:14:36]Read from MH i2c: E2 [16:14:36]MH_I2C_Read... [16:14:36]Read from MH i2c: E2 17 00 [16:14:36]MH_I2C_Read... [16:14:36]Read from MH i2c: E2 17 00 BC 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 B4 [16:14:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [16:14:36]wFMCommunicate OK [16:14:36]CreateOFDProtocolMessage done [16:14:36]OFDSenderStorePacket 26748 [16:14:36]StoreOFDPacket docnum=26748 [16:14:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 0C 4E 07 01 D9 0C 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 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 2F 00 00 00 F4 03 04 00 74 C6 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 7C 68 00 00 35 04 06 00 9C 78 93 E4 5F B4 CB 44 6B 64 9A 52 D9 47 [16:14:36]CheckFolder [16:14:36]dirname=/storage/ofd_packets [16:14:36]CheckFolder done [16:14:36]ProducePacketName [16:14:36]name=ofd_packets/00026748 [16:14:36]NVStorageSaveData ofd_packets/00026748 [16:14:36]File name is /storage/ofd_packets/00026748 [16:14:36]Write 301 bytes [16:14:36]NVStorageSaveData done [16:14:36]OFDSenderStorePacket done [16:14:36]KKMCreateOFDPacket done [16:14:36]NVStorageSaveData kkm_last_timestamp [16:14:36]File name is /storage/kkm_last_timestamp [16:14:36]Write 4 bytes [16:14:36]NVStorageSaveData done [16:14:36]ExternCall_PrintAddStr [16:14:36]wPrintStart [16:14:36]Write to MH i2c: 01 00 00 BD 26 E3 [16:14:36]Write i2c OK [16:14:36]MH_I2C_Read... [16:14:36]Read from MH i2c: 01 [16:14:36]MH_I2C_Read... [16:14:36]Read from MH i2c: 01 07 00 [16:14:36]MH_I2C_Read... [16:14:36]Read from MH i2c: 01 07 00 BD 26 00 00 00 00 00 FF 0F F8 [16:14:36]RasterBufferAndPrint [16:14:36]line Счет N : (1)359492 [16:14:36]line ИНН: 02508201610067 [16:14:36]line Контрольно-Кассовый Чек [16:14:36]line ПРОДАЖА [16:14:36]line ТРК (МРК, ГНК) : 61 [16:14:36]line Товар: 2710124130 [16:14:36]line Аи-92-К-5 [16:14:36]line 15.780 * 63.40 [16:14:36]line = 1000.45 [16:14:36]line НДС 12% НСП 1% [16:14:36]line > о реализуемом товаре [16:14:36]line ОКРУГЛЕНИЕ: -0.45 [16:14:36]line ИТОГО: 1000.00 [16:14:36]line Внесено: 1000.00 [16:14:36]line СДАЧА: 0.00 [16:14:36]line НСП 1% : 8.85 [16:14:36]line НДС 12% : 106.24 [16:14:36]line Наличными: 1000.00 [16:14:36]line Безнал.: 0.00 [16:14:36]line Место: АЗС № 122 "Партнер Нефть" [16:14:36]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [16:14:36]line СНО: Общий режим [16:14:36]line Чек 47 07.04.2024 16:14 [16:14:36]line Смена: 313 ФФД: 1.0 [16:14:36]line ЗНМ: 0300000147 [16:14:36]line РНМ: 0000000000091578 [16:14:36]line Версия ККМ: 001 [16:14:36]line ФМ: 0000000000874657 [16:14:36]line ФД: 26748 [16:14:36]line ФПД: 172041691226036 [16:14:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T161444&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26748&fm=172041691226036&tin=02508201610067®Number=0000000000091578&sum=100000 [16:14:36]OFD Sender: Processing packet 26748 [packets to send 44, broken 43] [16:14:36]ProducePacketName [16:14:36]name=ofd_packets/00026748 [16:14:36]OFD Sender: To server: pG, [16:14:36]CommunicateWithHost lk.salyk.kg:30040 [16:14:36]ConnectInit lk.salyk.kg [16:14:36]written 0, free lines is 4095 [16:14:36]Connected sock=10 [16:14:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 0C 4E 07 01 D9 0C 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 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 2F 00 00 00 F4 03 04 00 74 C6 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 7C 68 00 00 35 04 06 00 9C 78 93 E4 5F B4 CB 44 6B 64 9A 52 D9 47 [16:14:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 A6 EE 47 00 FF A1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 37 10 04 04 00 7C 68 00 00 F4 03 04 00 E1 6D 12 66 B6 04 01 00 00 AB DB 87 7C 2F C3 E3 59 [16:14:36]CommunicateWithHost err = 0 [16:14:36]CheckOFDResponse [16:14:36]1017 (14) - 77093643461234 [16:14:36]1041 (16) - 0000000000874657 [16:14:36]1040 (4) - 26748 [16:14:36]1012 (4) - 07.04.2024 09:56 [16:14:36]1206 (1) - 0 [16:14:36]OFD Sender: Remove packet 26748 [16:14:36]ProducePacketName [16:14:36]name=ofd_packets/00026748 [16:14:36]NVStorageDeleteData [16:14:36]Write to MH i2c: 01 00 00 E8 26 0E [16:14:36]Write i2c OK [16:14:36]MH_I2C_Read... [16:14:36]Read from MH i2c: 01 [16:14:36]MH_I2C_Read... [16:14:36]Read from MH i2c: 01 07 00 [16:14:36]MH_I2C_Read... [16:14:36]Read from MH i2c: 01 07 00 E8 26 00 00 00 00 00 78 0C 99 [16:14:36]RasterBufferAndPrint [16:14:36]line [16:14:36]line [16:14:36]line [16:14:36]line [16:14:36]line [16:14:36]written 0, free lines is 3194 [16:14:36]MH_Cut [16:14:36]Write to MH i2c: D1 01 00 EF 26 01 E7 [16:14:36]Write i2c OK [16:14:36]MH_I2C_Read... [16:14:36]Read from MH i2c: D1 [16:14:36]MH_I2C_Read... [16:14:36]Read from MH i2c: D1 01 00 [16:14:36]MH_I2C_Read... [16:14:36]Read from MH i2c: D1 01 00 EF 26 00 E6 [16:14:36]Write to MH i2c: 01 00 00 F0 26 16 [16:14:36]Write i2c OK [16:14:36]MH_I2C_Read... [16:14:37]OFD Sender: No OFD packet to send [16:14:38]*** Cut start [16:14:38]*** Partial cut [16:14:38]*** CUTSNS_PIN = 1 [16:14:38]*** CUTSNS_PIN = 0 [16:14:38]*** Brake cut motor [16:14:38]Read from MH i2c: 01 [16:14:38]MH_I2C_Read... [16:14:38]*** Stop cut motor [16:14:38]*** Cut end [16:14:38]Read from MH i2c: 01 07 00 [16:14:38]MH_I2C_Read... [16:14:38]Read from MH i2c: 01 07 00 F0 26 00 00 00 00 00 FF 0F 2B [16:14:38]process_action close_receipt done [16:14:38]requested_data is exist [16:14:38]produce_requested_data [16:14:38]requested_item fm.sn is exist - process it [16:14:38]wFMCommunicate request_size=4 [16:14:38]MH_SAM_APDU [16:14:38]CAPDU: 80 11 00 00 [16:14:38]Write to MH i2c: E2 08 00 F1 26 80 11 00 00 00 00 00 00 91 [16:14:38]Write i2c OK [16:14:38]MH_I2C_Read... [16:14:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:14:38]Read from MH i2c: E2 [16:14:38]MH_I2C_Read... [16:14:38]Read from MH i2c: E2 17 00 [16:14:38]MH_I2C_Read... [16:14:38]Read from MH i2c: E2 17 00 F1 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 E9 [16:14:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [16:14:38]wFMCommunicate OK [16:14:38]requested_item fd.num is exist - process it [16:14:38]SAM_PROTO_GetFieldsCounters [16:14:38]wFMCommunicate request_size=4 [16:14:38]MH_SAM_APDU [16:14:38]CAPDU: 80 13 00 00 [16:14:38]Write to MH i2c: E2 08 00 F2 26 80 13 00 00 00 00 00 00 94 [16:14:38]Write i2c OK [16:14:38]MH_I2C_Read... [16:14:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:14:38]Read from MH i2c: E2 [16:14:38]MH_I2C_Read... [16:14:38]Read from MH i2c: E2 62 00 [16:14:38]MH_I2C_Read... [16:14:38]Read from MH i2c: E2 62 00 F2 26 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 7C 68 00 00 0E 04 04 00 39 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 6A [16:14: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 7C 68 00 00 0E 04 04 00 39 01 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:14:38]wFMCommunicate OK [16:14:38]SAM_PROTO_GetFieldsCounters done [16:14:38]requested_item shift.num is exist - process it [16:14:38]requested_item shift.opened is exist - process it [16:14:38]req_shift_opened [16:14:38]FM_GetShiftState [16:14:38]SAM_PROTO_GetShiftState [16:14:38]wFMCommunicate request_size=4 [16:14:38]MH_SAM_APDU [16:14:38]CAPDU: 80 13 01 00 [16:14:38]Write to MH i2c: E2 08 00 F3 26 80 13 01 00 00 00 00 00 96 [16:14:38]Write i2c OK [16:14:38]MH_I2C_Read... [16:14:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:14:39]Read from MH i2c: E2 [16:14:39]MH_I2C_Read... [16:14:39]Read from MH i2c: E2 0E 00 [16:14:39]MH_I2C_Read... [16:14:39]Read from MH i2c: E2 0E 00 F3 26 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 2A [16:14:39]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [16:14:39]wFMCommunicate OK [16:14:39]SAM_PROTO_GetShiftState done [16:14:39]FM_GetShiftState done [16:14:39]req_shift_opened done [16:14:39]requested_item shift.open_date is exist - process it [16:14:39]req_shift_open_date [16:14:39]req_shift_open_date done [16:14:39]produce_requested_data done [16:14:39]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26748,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [16:14:39]process_action_free close_receipt [16:14:39]json_value_free [16:14:39]json_value_free done [16:14:39]process_json_proto returns [16:14:39]Send response to host [16:14:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26748,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [16:14:39]free response buf [16:14:39]execute_script done [16:14:39]execute_script returns [16:14:39]free content buf [16:14:39]Sock 9.Close socket [16:14:39]Sock 9.Thread stoped [16:14:39]accept exits with 8 [16:14:39]New connection [16:14:39]New thread 3066871140 created [16:14:39]Thread 3067014500 joined [16:14:39]Waiting for new connection... [16:14:39] Sock 8.Parse request [16:14:39]Sock 8.Check first char [16:14:39]Sock 8.First char is OK [16:14:39]request: POST /json_proto HTTP/1.0 [16:14:39]Method: POST [16:14:39]URL: /json_proto [16:14:39]Method is POST - this is cgi request [16:14:39]url: /json_proto [16:14:39]query_string will be loaded in cgi processing [16:14:39]execute_cgi json_proto POST (null) [16:14:39]execute_cgi path=json_proto method=POST [16:14:39]POST find Content-Length [16:14:39]Host: 172.17.35.3:8080 [16:14:39]Content-Length: 687 [16:14:39]Content-Type: application/json [16:14:39] [16:14:39]POST finish read [16:14:39]Found Content-Length = 687 [16:14:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359491", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "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" ] } } [16:14:39]execute_script... [16:14: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 : (1)359491", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "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" ] } } [16:14:39]POST & json_proto [16:14:39]process_json_proto [16:14:39]json parsed OK: [16:14:39]protocol is kg_v1.0 [16:14:39]action value=close_receipt [16:14:39]process_action close_receipt [16:14:39]cmd_close_receipt [16:14:39]MH_GetDate [16:14:39]Write to MH i2c: F0 00 00 F4 26 09 [16:14:39]Write i2c OK [16:14:39]MH_I2C_Read... [16:14:39]Read from MH i2c: F0 [16:14:39]MH_I2C_Read... [16:14:39]Read from MH i2c: F0 09 00 [16:14:39]MH_I2C_Read... [16:14:39]Read from MH i2c: F0 09 00 F4 26 00 79 C6 12 66 2B 11 66 64 CF [16:14:39]GetLastDocTimeStamp 1712506484 [16:14:39]current date 1712506489 [16:14:39]FM_GetShiftState [16:14:39]SAM_PROTO_GetShiftState [16:14:39]wFMCommunicate request_size=4 [16:14:39]MH_SAM_APDU [16:14:39]CAPDU: 80 13 01 00 [16:14:39]Write to MH i2c: E2 08 00 F5 26 80 13 01 00 00 00 00 00 98 [16:14:39]Write i2c OK [16:14:39]MH_I2C_Read... [16:14:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:14:39]Read from MH i2c: E2 [16:14:39]MH_I2C_Read... [16:14:39]Read from MH i2c: E2 0E 00 [16:14:39]MH_I2C_Read... [16:14:39]Read from MH i2c: E2 0E 00 F5 26 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 2C [16:14:39]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [16:14:39]wFMCommunicate OK [16:14:39]SAM_PROTO_GetShiftState done [16:14:39]FM_GetShiftState done [16:14:39]opened in 1712450087 [16:14:39]opened+sec_in_day 1712536487 [16:14:39]quantity*price = 100017 [16:14:39]sum+1 = 100018 [16:14:39]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.17 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.21 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 48 07.04.2024 16:14 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26749 ФПД: 166993747292456 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T161449&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26749&fm=166993747292456&tin=02508201610067®Number=0000000000091578&sum=100000 [16:14:40]StoreToDocumentArchive [16:14:40]shift 313 fd 26749 [16:14:40]save to /storage/0313/doc_00026749 [16:14:40]save last doc name /storage/0313/doc_00026749 to /storage/kkm_last_doc_name [16:14:40]save OK [16:14:40]Clear old archive folders... [16:14:40]ProcessDocumentItem done err = 0, tmpTLVsize=252 [16:14:40]tlvbuf is 00EDF820 [16:14:40]SAM_PROTO_ClearQueue [16:14:40]wFMCommunicate request_size=4 [16:14:40]MH_SAM_APDU [16:14:40]CAPDU: 80 09 00 00 [16:14:40]Write to MH i2c: E2 08 00 02 27 80 09 00 00 00 00 00 00 9B [16:14:40]Write i2c OK [16:14:40]MH_I2C_Read... [16:14:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:14:40]Read from MH i2c: E2 [16:14:40]MH_I2C_Read... [16:14:40]Read from MH i2c: E2 03 00 [16:14:40]MH_I2C_Read... [16:14:40]Read from MH i2c: E2 03 00 02 27 00 90 00 9D [16:14:40]RAPDU: 90 00 [16:14:40]wFMCommunicate OK [16:14:40]SAM_PROTO_ClearQueue done [16:14:40]KKMCreateOFDPacket [16:14:40]OFDProtocolAddRootSTLVToBuf [16:14:40]FM_MakeSignedData [16:14:40]FM_MakeSignedData [16:14:40]SAM_PROTO_SignData [16:14:40]wFMCommunicate request_size=4 [16:14:40]MH_SAM_APDU [16:14:40]CAPDU: 80 0D 01 02 [16:14:40]Write to MH i2c: E2 08 00 03 27 80 0D 01 02 00 00 00 00 A3 [16:14:40]Write i2c OK [16:14:40]MH_I2C_Read... [16:14:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:14:40]Read from MH i2c: E2 [16:14:40]MH_I2C_Read... [16:14:40]Read from MH i2c: E2 03 00 [16:14:40]MH_I2C_Read... [16:14:40]Read from MH i2c: E2 03 00 03 27 00 90 00 9E [16:14:40]RAPDU: 90 00 [16:14:40]wFMCommunicate OK [16:14:40]wFMCommunicate request_size=255 [16:14:40]MH_SAM_APDU [16:14:40]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 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 7D 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 30 00 00 00 F4 03 04 00 79 C6 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 7D 68 00 00 35 04 06 00 [16:14:40]Write to MH i2c: E2 02 01 04 27 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 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 7D 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 30 00 00 00 F4 03 04 00 79 C6 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 7D 68 00 00 35 04 06 00 00 00 64 [16:14:40]Write i2c OK [16:14:40]MH_I2C_Read... [16:14:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:14:41]Read from MH i2c: E2 [16:14:41]MH_I2C_Read... [16:14:41]Read from MH i2c: E2 03 00 [16:14:41]MH_I2C_Read... [16:14:41]Read from MH i2c: E2 03 00 04 27 00 90 00 9F [16:14:41]RAPDU: 90 00 [16:14:41]wFMCommunicate OK [16:14:41]wFMCommunicate request_size=11 [16:14:41]MH_SAM_APDU [16:14:41]CAPDU: 80 0D 02 02 06 97 E1 42 FC B1 28 [16:14:41]Write to MH i2c: E2 0E 00 05 27 80 0D 02 02 06 00 97 E1 42 FC B1 28 00 00 41 [16:14:41]Write i2c OK [16:14:41]MH_I2C_Read... [16:14:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:14:41]Read from MH i2c: E2 [16:14:41]MH_I2C_Read... [16:14:41]Read from MH i2c: E2 03 00 [16:14:41]MH_I2C_Read... [16:14:41]Read from MH i2c: E2 03 00 05 27 00 90 00 A0 [16:14:41]RAPDU: 90 00 [16:14:41]wFMCommunicate OK [16:14:41]wFMCommunicate request_size=4 [16:14:41]MH_SAM_APDU [16:14:41]CAPDU: 80 0D 03 02 [16:14:41]Write to MH i2c: E2 08 00 06 27 80 0D 03 02 00 00 00 00 A8 [16:14:41]Write i2c OK [16:14:41]MH_I2C_Read... [16:14:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:14:41]Read from MH i2c: E2 [16:14:41]MH_I2C_Read... [16:14:41]Read from MH i2c: E2 0B 00 [16:14:41]MH_I2C_Read... [16:14:41]Read from MH i2c: E2 0B 00 06 27 00 2E 5D 62 48 92 75 BA DE 90 00 7D [16:14:41]RAPDU: 2E 5D 62 48 92 75 BA DE 90 00 [16:14:41]wFMCommunicate OK [16:14:41]SAM_PROTO_SignData done [16:14:41]FM_MakeSignedData done [16:14:41]CreateOFDProtocolMessage [16:14:41]wFMCommunicate request_size=4 [16:14:41]MH_SAM_APDU [16:14:41]CAPDU: 80 11 00 00 [16:14:41]Write to MH i2c: E2 08 00 07 27 80 11 00 00 00 00 00 00 A8 [16:14:41]Write i2c OK [16:14:41]MH_I2C_Read... [16:14:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:14:41]Read from MH i2c: E2 [16:14:41]MH_I2C_Read... [16:14:41]Read from MH i2c: E2 17 00 [16:14:41]MH_I2C_Read... [16:14:41]Read from MH i2c: E2 17 00 07 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 00 [16:14:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [16:14:41]wFMCommunicate OK [16:14:41]CreateOFDProtocolMessage done [16:14:41]OFDSenderStorePacket 26749 [16:14:41]StoreOFDPacket docnum=26749 [16:14:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 F0 02 08 01 F5 BB 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 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 7D 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 30 00 00 00 F4 03 04 00 79 C6 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 7D 68 00 00 35 04 06 00 97 E1 42 FC B1 28 2E 5D 62 48 92 75 BA DE [16:14:41]CheckFolder [16:14:41]dirname=/storage/ofd_packets [16:14:41]CheckFolder done [16:14:41]ProducePacketName [16:14:41]name=ofd_packets/00026749 [16:14:41]NVStorageSaveData ofd_packets/00026749 [16:14:41]File name is /storage/ofd_packets/00026749 [16:14:41]Write 302 bytes [16:14:41]NVStorageSaveData done [16:14:41]OFDSenderStorePacket done [16:14:41]KKMCreateOFDPacket done [16:14:41]NVStorageSaveData kkm_last_timestamp [16:14:41]File name is /storage/kkm_last_timestamp [16:14:41]Write 4 bytes [16:14:41]NVStorageSaveData done [16:14:41]ExternCall_PrintAddStr [16:14:41]wPrintStart [16:14:41]Write to MH i2c: 01 00 00 08 27 2F [16:14:41]Write i2c OK [16:14:41]MH_I2C_Read... [16:14:41]Read from MH i2c: 01 [16:14:41]MH_I2C_Read... [16:14:41]Read from MH i2c: 01 07 00 [16:14:41]MH_I2C_Read... [16:14:41]Read from MH i2c: 01 07 00 08 27 00 00 00 00 00 FF 0F 44 [16:14:41]RasterBufferAndPrint [16:14:41]line Счет N : (1)359491 [16:14:41]line ИНН: 02508201610067 [16:14:41]line Контрольно-Кассовый Чек [16:14:41]line ПРОДАЖА [16:14:41]line ТРК (МРК, ГНК) : 21 [16:14:41]line Товар: 2710194210 [16:14:41]line ДТ(л)-К-5 [16:14:41]line 13.930 * 71.80 [16:14:41]line = 1000.17 [16:14:41]line НДС 12% НСП 1% [16:14:41]line > о реализуемом товаре [16:14:41]line ОКРУГЛЕНИЕ: -0.17 [16:14:41]line ИТОГО: 1000.00 [16:14:41]line Внесено: 1000.00 [16:14:41]line СДАЧА: 0.00 [16:14:41]line НСП 1% : 8.85 [16:14:41]line НДС 12% : 106.21 [16:14:41]line Наличными: 1000.00 [16:14:41]line Безнал.: 0.00 [16:14:41]line Место: АЗС № 122 "Партнер Нефть" [16:14:41]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [16:14:41]line СНО: Общий режим [16:14:41]line Чек 48 07.04.2024 16:14 [16:14:41]line Смена: 313 ФФД: 1.0 [16:14:41]line ЗНМ: 0300000147 [16:14:41]line РНМ: 0000000000091578 [16:14:41]line Версия ККМ: 001 [16:14:41]line ФМ: 0000000000874657 [16:14:41]line ФД: 26749 [16:14:41]line ФПД: 166993747292456 [16:14:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T161449&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26749&fm=166993747292456&tin=02508201610067®Number=0000000000091578&sum=100000 [16:14:41]written 0, free lines is 4095 [16:14:41]OFD Sender: Processing packet 26749 [packets to send 44, broken 43] [16:14:41]ProducePacketName [16:14:41]name=ofd_packets/00026749 [16:14:41]OFD Sender: To server: pG, [16:14:41]CommunicateWithHost lk.salyk.kg:30040 [16:14:41]ConnectInit lk.salyk.kg [16:14:41]Connected sock=10 [16:14: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 36 35 37 10 01 00 00 F0 02 08 01 F5 BB 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 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 7D 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 30 00 00 00 F4 03 04 00 79 C6 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 7D 68 00 00 35 04 06 00 97 E1 42 FC B1 28 2E 5D 62 48 92 75 BA DE [16:14:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 26 79 47 00 4A 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 36 35 37 10 04 04 00 7D 68 00 00 F4 03 04 00 E6 6D 12 66 B6 04 01 00 00 5A 67 F8 76 16 25 E2 94 [16:14:41]CommunicateWithHost err = 0 [16:14:41]CheckOFDResponse [16:14:41]1017 (14) - 77093643461234 [16:14:41]1041 (16) - 0000000000874657 [16:14:41]1040 (4) - 26749 [16:14:41]1012 (4) - 07.04.2024 09:56 [16:14:41]1206 (1) - 0 [16:14:41]OFD Sender: Remove packet 26749 [16:14:41]ProducePacketName [16:14:41]name=ofd_packets/00026749 [16:14:41]NVStorageDeleteData [16:14:42]Write to MH i2c: 01 00 00 33 27 5A [16:14:42]Write i2c OK [16:14:42]MH_I2C_Read... [16:14:42]Read from MH i2c: 01 [16:14:42]MH_I2C_Read... [16:14:42]Read from MH i2c: 01 07 00 [16:14:42]MH_I2C_Read... [16:14:42]Read from MH i2c: 01 07 00 33 27 00 00 00 00 00 76 0C E3 [16:14:42]RasterBufferAndPrint [16:14:42]line [16:14:42]line [16:14:42]line [16:14:42]line [16:14:42]line [16:14:42]written 0, free lines is 3195 [16:14:42]MH_Cut [16:14:42]Write to MH i2c: D1 01 00 3A 27 01 33 [16:14:42]Write i2c OK [16:14:42]MH_I2C_Read... [16:14:42]Read from MH i2c: D1 [16:14:42]MH_I2C_Read... [16:14:42]Read from MH i2c: D1 01 00 [16:14:42]MH_I2C_Read... [16:14:42]Read from MH i2c: D1 01 00 3A 27 00 32 [16:14:42]Write to MH i2c: 01 00 00 3B 27 62 [16:14:42]Write i2c OK [16:14:42]MH_I2C_Read... [16:14:42]OFD Sender: No OFD packet to send [16:14:43]*** Cut start [16:14:43]*** Partial cut [16:14:43]*** CUTSNS_PIN = 1 [16:14:43]*** CUTSNS_PIN = 0 [16:14:43]*** Brake cut motor [16:14:43]Read from MH i2c: 01 [16:14:43]MH_I2C_Read... [16:14:43]*** Stop cut motor [16:14:43]*** Cut end [16:14:43]Read from MH i2c: 01 07 00 [16:14:43]MH_I2C_Read... [16:14:43]Read from MH i2c: 01 07 00 3B 27 00 00 00 00 00 FF 0F 77 [16:14:43]process_action close_receipt done [16:14:43]requested_data is exist [16:14:43]produce_requested_data [16:14:43]requested_item fm.sn is exist - process it [16:14:43]wFMCommunicate request_size=4 [16:14:43]MH_SAM_APDU [16:14:43]CAPDU: 80 11 00 00 [16:14:43]Write to MH i2c: E2 08 00 3C 27 80 11 00 00 00 00 00 00 DD [16:14:43]Write i2c OK [16:14:43]MH_I2C_Read... [16:14:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:14:43]Read from MH i2c: E2 [16:14:43]MH_I2C_Read... [16:14:43]Read from MH i2c: E2 17 00 [16:14:43]MH_I2C_Read... [16:14:43]Read from MH i2c: E2 17 00 3C 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 35 [16:14:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [16:14:43]wFMCommunicate OK [16:14:43]requested_item fd.num is exist - process it [16:14:43]SAM_PROTO_GetFieldsCounters [16:14:43]wFMCommunicate request_size=4 [16:14:43]MH_SAM_APDU [16:14:43]CAPDU: 80 13 00 00 [16:14:43]Write to MH i2c: E2 08 00 3D 27 80 13 00 00 00 00 00 00 E0 [16:14:43]Write i2c OK [16:14:43]MH_I2C_Read... [16:14:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:14:44]Read from MH i2c: E2 [16:14:44]MH_I2C_Read... [16:14:44]Read from MH i2c: E2 62 00 [16:14:44]MH_I2C_Read... [16:14:44]Read from MH i2c: E2 62 00 3D 27 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 7D 68 00 00 0E 04 04 00 39 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 BA [16:14: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 7D 68 00 00 0E 04 04 00 39 01 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:14:44]wFMCommunicate OK [16:14:44]SAM_PROTO_GetFieldsCounters done [16:14:44]requested_item shift.num is exist - process it [16:14:44]requested_item shift.opened is exist - process it [16:14:44]req_shift_opened [16:14:44]FM_GetShiftState [16:14:44]SAM_PROTO_GetShiftState [16:14:44]wFMCommunicate request_size=4 [16:14:44]MH_SAM_APDU [16:14:44]CAPDU: 80 13 01 00 [16:14:44]Write to MH i2c: E2 08 00 3E 27 80 13 01 00 00 00 00 00 E2 [16:14:44]Write i2c OK [16:14:44]MH_I2C_Read... [16:14:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:14:44]Read from MH i2c: E2 [16:14:44]MH_I2C_Read... [16:14:44]Read from MH i2c: E2 0E 00 [16:14:44]MH_I2C_Read... [16:14:44]Read from MH i2c: E2 0E 00 3E 27 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 76 [16:14:44]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [16:14:44]wFMCommunicate OK [16:14:44]SAM_PROTO_GetShiftState done [16:14:44]FM_GetShiftState done [16:14:44]req_shift_opened done [16:14:44]requested_item shift.open_date is exist - process it [16:14:44]req_shift_open_date [16:14:44]req_shift_open_date done [16:14:44]produce_requested_data done [16:14:44]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26749,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [16:14:44]process_action_free close_receipt [16:14:44]json_value_free [16:14:44]json_value_free done [16:14:44]process_json_proto returns [16:14:44]Send response to host [16:14:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26749,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [16:14:44]free response buf [16:14:44]execute_script done [16:14:44]execute_script returns [16:14:44]free content buf [16:14:44]Sock 8.Close socket [16:14:44]Sock 8.Thread stoped [16:14:47]OFD Sender: No OFD packet to send [16:14:52]OFD Sender: No OFD packet to send [16:14:57]OFD Sender: No OFD packet to send [16:15:02]OFD Sender: No OFD packet to send [16:15:07]OFD Sender: No OFD packet to send [16:15:12]OFD Sender: No OFD packet to send [16:15:17]OFD Sender: No OFD packet to send [16:15:22]OFD Sender: No OFD packet to send [16:15:27]OFD Sender: No OFD packet to send [16:15:32]OFD Sender: No OFD packet to send [16:15:37]OFD Sender: No OFD packet to send [16:15:42]OFD Sender: No OFD packet to send [16:15:47]OFD Sender: No OFD packet to send [16:15:52]OFD Sender: No OFD packet to send [16:15:57]OFD Sender: No OFD packet to send [16:16:02]OFD Sender: No OFD packet to send [16:16:07]OFD Sender: No OFD packet to send [16:16:12]OFD Sender: No OFD packet to send [16:16:17]OFD Sender: No OFD packet to send [16:16:22]OFD Sender: No OFD packet to send [16:16:27]OFD Sender: No OFD packet to send [16:16:32]OFD Sender: No OFD packet to send [16:16:37]OFD Sender: No OFD packet to send [16:16:42]OFD Sender: No OFD packet to send [16:16:47]OFD Sender: No OFD packet to send [16:16:52]OFD Sender: No OFD packet to send [16:16:57]OFD Sender: No OFD packet to send [16:17:02]OFD Sender: No OFD packet to send [16:17:07]OFD Sender: No OFD packet to send [16:17:12]OFD Sender: No OFD packet to send [16:17:17]OFD Sender: No OFD packet to send [16:17:22]OFD Sender: No OFD packet to send [16:17:27]OFD Sender: No OFD packet to send [16:17:32]OFD Sender: No OFD packet to send [16:17:37]OFD Sender: No OFD packet to send [16:17:42]OFD Sender: No OFD packet to send [16:17:47]OFD Sender: No OFD packet to send [16:17:52]OFD Sender: No OFD packet to send [16:17:57]OFD Sender: No OFD packet to send [16:18:02]OFD Sender: No OFD packet to send [16:18:07]OFD Sender: No OFD packet to send [16:18:12]OFD Sender: No OFD packet to send [16:18:17]OFD Sender: No OFD packet to send [16:18:22]OFD Sender: No OFD packet to send [16:18:27]OFD Sender: No OFD packet to send [16:18:32]OFD Sender: No OFD packet to send [16:18:37]OFD Sender: No OFD packet to send [16:18:42]OFD Sender: No OFD packet to send [16:18:47]OFD Sender: No OFD packet to send [16:18:52]OFD Sender: No OFD packet to send [16:18:57]OFD Sender: No OFD packet to send [16:19:02]OFD Sender: No OFD packet to send [16:19:07]OFD Sender: No OFD packet to send [16:19:12]OFD Sender: No OFD packet to send [16:19:17]OFD Sender: No OFD packet to send [16:19:22]OFD Sender: No OFD packet to send [16:19:27]OFD Sender: No OFD packet to send [16:19:32]OFD Sender: No OFD packet to send [16:19:37]OFD Sender: No OFD packet to send [16:19:42]OFD Sender: No OFD packet to send [16:19:47]OFD Sender: No OFD packet to send [16:19:52]OFD Sender: No OFD packet to send [16:19:57]OFD Sender: No OFD packet to send [16:20:02]OFD Sender: No OFD packet to send [16:20:07]OFD Sender: No OFD packet to send [16:20:12]OFD Sender: No OFD packet to send [16:20:17]OFD Sender: No OFD packet to send [16:20:22]OFD Sender: No OFD packet to send [16:20:27]OFD Sender: No OFD packet to send [16:20:32]OFD Sender: No OFD packet to send [16:20:37]OFD Sender: No OFD packet to send [16:20:42]OFD Sender: No OFD packet to send [16:20:47]OFD Sender: No OFD packet to send [16:20:52]OFD Sender: No OFD packet to send [16:20:57]OFD Sender: No OFD packet to send [16:21:02]int [16:21:02]Write to MH i2c: 01 00 00 3F 27 66 [16:21:02]*** FLAG_PRN_KEY set [16:21:02]Write i2c OK [16:21:02]MH_I2C_Read... [16:21:02]Read from MH i2c: 01 [16:21:02]MH_I2C_Read... [16:21:02]Read from MH i2c: 01 07 00 [16:21:02]MH_I2C_Read... [16:21:02]Read from MH i2c: 01 07 00 3F 27 00 08 00 00 00 FF 0F 83 [16:21:02]state=0 [16:21:02]Key pressed [16:21:02]Feed [16:21:02]Write to MH i2c: D8 00 00 40 27 3E [16:21:02]Write i2c OK [16:21:02]MH_I2C_Read... [16:21:02]Read from MH i2c: D8 [16:21:02]MH_I2C_Read... [16:21:02]Read from MH i2c: D8 01 00 [16:21:02]MH_I2C_Read... [16:21:02]Read from MH i2c: D8 01 00 40 27 00 3F [16:21:02]int [16:21:02]Write to MH i2c: 01 00 00 41 27 68 [16:21:02]Write i2c OK [16:21:02]MH_I2C_Read... [16:21:02]Read from MH i2c: 01 [16:21:02]MH_I2C_Read... [16:21:02]Read from MH i2c: 01 07 00 [16:21:02]MH_I2C_Read... [16:21:02]Read from MH i2c: 01 07 00 41 27 00 48 00 00 00 3C 00 F3 [16:21:02]state=2 [16:21:02]Key pressed [16:21:02]int [16:21:02]Write to MH i2c: 01 00 00 42 27 69 [16:21:02]*** FLAG_PRN_KEY reset [16:21:02]Write i2c OK [16:21:02]MH_I2C_Read... [16:21:02]Read from MH i2c: 01 [16:21:02]MH_I2C_Read... [16:21:02]Read from MH i2c: 01 07 00 [16:21:02]MH_I2C_Read... [16:21:02]Read from MH i2c: 01 07 00 42 27 00 00 00 00 00 F6 0F 75 [16:21:02]state=2 [16:21:02]Stop feed [16:21:02]OFD Sender: No OFD packet to send [16:21:07]OFD Sender: No OFD packet to send [16:21:12]OFD Sender: No OFD packet to send [16:21:17]OFD Sender: No OFD packet to send [16:21:22]OFD Sender: No OFD packet to send [16:21:27]OFD Sender: No OFD packet to send [16:21:32]OFD Sender: No OFD packet to send [16:21:37]OFD Sender: No OFD packet to send [16:21:42]OFD Sender: No OFD packet to send [16:21:47]OFD Sender: No OFD packet to send [16:21:52]OFD Sender: No OFD packet to send [16:21:57]OFD Sender: No OFD packet to send [16:22:02]OFD Sender: No OFD packet to send [16:22:07]OFD Sender: No OFD packet to send [16:22:12]OFD Sender: No OFD packet to send [16:22:17]OFD Sender: No OFD packet to send [16:22:22]OFD Sender: No OFD packet to send [16:22:27]OFD Sender: No OFD packet to send [16:22:32]OFD Sender: No OFD packet to send [16:22:37]OFD Sender: No OFD packet to send [16:22:42]OFD Sender: No OFD packet to send [16:22:47]OFD Sender: No OFD packet to send [16:22:52]OFD Sender: No OFD packet to send [16:22:57]OFD Sender: No OFD packet to send [16:23:02]OFD Sender: No OFD packet to send [16:23:07]OFD Sender: No OFD packet to send [16:23:12]OFD Sender: No OFD packet to send [16:23:17]OFD Sender: No OFD packet to send [16:23:22]OFD Sender: No OFD packet to send [16:23:27]OFD Sender: No OFD packet to send [16:23:32]OFD Sender: No OFD packet to send [16:23:37]OFD Sender: No OFD packet to send [16:23:38]accept exits with 9 [16:23:38]New connection [16:23:38]New thread 3067014500 created [16:23:38]Thread 3066871140 joined [16:23:38]Waiting for new connection... [16:23:38] Sock 9.Parse request [16:23:38]Sock 9.Check first char [16:23:38]Sock 9.First char is OK [16:23:38]request: POST /json_proto HTTP/1.0 [16:23:38]Method: POST [16:23:38]URL: /json_proto [16:23:38]Method is POST - this is cgi request [16:23:38]url: /json_proto [16:23:38]query_string will be loaded in cgi processing [16:23:38]execute_cgi json_proto POST (null) [16:23:38]execute_cgi path=json_proto method=POST [16:23:38]POST find Content-Length [16:23:38]Host: 172.17.35.3:8080 [16:23:38]Content-Length: 677 [16:23:38]Content-Type: application/json [16:23:38] [16:23:38]POST finish read [16:23:38]Found Content-Length = 677 [16:23:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359493", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 7.890, "sum" : 500.23, "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" ] } } [16:23:38]execute_script... [16:23:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359493", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 7.890, "sum" : 500.23, "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" ] } } [16:23:38]POST & json_proto [16:23:38]process_json_proto [16:23:38]json parsed OK: [16:23:38]protocol is kg_v1.0 [16:23:38]action value=close_receipt [16:23:38]process_action close_receipt [16:23:38]cmd_close_receipt [16:23:38]MH_GetDate [16:23:38]Write to MH i2c: F0 00 00 43 27 59 [16:23:38]Write i2c OK [16:23:38]MH_I2C_Read... [16:23:38]Read from MH i2c: F0 [16:23:38]MH_I2C_Read... [16:23:38]Read from MH i2c: F0 09 00 [16:23:38]MH_I2C_Read... [16:23:38]Read from MH i2c: F0 09 00 43 27 00 94 C8 12 66 2B 11 66 64 3C [16:23:38]GetLastDocTimeStamp 1712506489 [16:23:38]current date 1712507028 [16:23:38]FM_GetShiftState [16:23:38]SAM_PROTO_GetShiftState [16:23:38]wFMCommunicate request_size=4 [16:23:38]MH_SAM_APDU [16:23:38]CAPDU: 80 13 01 00 [16:23:38]Write to MH i2c: E2 08 00 44 27 80 13 01 00 00 00 00 00 E8 [16:23:38]Write i2c OK [16:23:38]MH_I2C_Read... [16:23:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:23:38]Read from MH i2c: E2 [16:23:38]MH_I2C_Read... [16:23:38]Read from MH i2c: E2 0E 00 [16:23:38]MH_I2C_Read... [16:23:38]Read from MH i2c: E2 0E 00 44 27 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 7C [16:23:38]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [16:23:38]wFMCommunicate OK [16:23:38]SAM_PROTO_GetShiftState done [16:23:38]FM_GetShiftState done [16:23:38]opened in 1712450087 [16:23:38]opened+sec_in_day 1712536487 [16:23:38]quantity*price = 50022 [16:23:38]sum+1 = 50024 [16:23:38]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.23 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.12 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 49 07.04.2024 16:23 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26750 ФПД: 104829509141358 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T162348&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26750&fm=104829509141358&tin=02508201610067®Number=0000000000091578&sum=50000 [16:23:40]StoreToDocumentArchive [16:23:40]shift 313 fd 26750 [16:23:40]save to /storage/0313/doc_00026750 [16:23:40]save last doc name /storage/0313/doc_00026750 to /storage/kkm_last_doc_name [16:23:40]save OK [16:23:40]Clear old archive folders... [16:23:40]ProcessDocumentItem done err = 0, tmpTLVsize=251 [16:23:40]tlvbuf is 00E933E0 [16:23:40]SAM_PROTO_ClearQueue [16:23:40]wFMCommunicate request_size=4 [16:23:40]MH_SAM_APDU [16:23:40]CAPDU: 80 09 00 00 [16:23:40]Write to MH i2c: E2 08 00 51 27 80 09 00 00 00 00 00 00 EA [16:23:40]Write i2c OK [16:23:40]MH_I2C_Read... [16:23:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:23:40]Read from MH i2c: E2 [16:23:40]MH_I2C_Read... [16:23:40]Read from MH i2c: E2 03 00 [16:23:40]MH_I2C_Read... [16:23:40]Read from MH i2c: E2 03 00 51 27 00 90 00 EC [16:23:40]RAPDU: 90 00 [16:23:40]wFMCommunicate OK [16:23:40]SAM_PROTO_ClearQueue done [16:23:40]KKMCreateOFDPacket [16:23:40]OFDProtocolAddRootSTLVToBuf [16:23:40]FM_MakeSignedData [16:23:40]FM_MakeSignedData [16:23:40]SAM_PROTO_SignData [16:23:40]wFMCommunicate request_size=4 [16:23:40]MH_SAM_APDU [16:23:40]CAPDU: 80 0D 01 02 [16:23:40]Write to MH i2c: E2 08 00 52 27 80 0D 01 02 00 00 00 00 F2 [16:23:40]Write i2c OK [16:23:40]MH_I2C_Read... [16:23:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:23:40]Read from MH i2c: E2 [16:23:40]MH_I2C_Read... [16:23:40]Read from MH i2c: E2 03 00 [16:23:40]MH_I2C_Read... [16:23:40]Read from MH i2c: E2 03 00 52 27 00 90 00 ED [16:23:40]RAPDU: 90 00 [16:23:40]wFMCommunicate OK [16:23:40]wFMCommunicate request_size=255 [16:23:40]MH_SAM_APDU [16:23:40]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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 31 00 00 00 F4 03 04 00 94 C8 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 7E 68 00 00 35 04 06 00 5F [16:23:40]Write to MH i2c: E2 02 01 53 27 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 31 00 00 00 F4 03 04 00 94 C8 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 7E 68 00 00 35 04 06 00 5F 00 00 36 [16:23:40]Write i2c OK [16:23:40]MH_I2C_Read... [16:23:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:23:40]Read from MH i2c: E2 [16:23:40]MH_I2C_Read... [16:23:40]Read from MH i2c: E2 03 00 [16:23:40]MH_I2C_Read... [16:23:40]Read from MH i2c: E2 03 00 53 27 00 90 00 EE [16:23:40]RAPDU: 90 00 [16:23:40]wFMCommunicate OK [16:23:40]wFMCommunicate request_size=10 [16:23:40]MH_SAM_APDU [16:23:40]CAPDU: 80 0D 02 02 05 57 85 A7 83 6E [16:23:40]Write to MH i2c: E2 0D 00 54 27 80 0D 02 02 05 00 57 85 A7 83 6E 00 00 73 [16:23:40]Write i2c OK [16:23:40]MH_I2C_Read... [16:23:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:23:40]Read from MH i2c: E2 [16:23:40]MH_I2C_Read... [16:23:40]Read from MH i2c: E2 03 00 [16:23:40]MH_I2C_Read... [16:23:40]Read from MH i2c: E2 03 00 54 27 00 90 00 EF [16:23:40]RAPDU: 90 00 [16:23:40]wFMCommunicate OK [16:23:40]wFMCommunicate request_size=4 [16:23:40]MH_SAM_APDU [16:23:40]CAPDU: 80 0D 03 02 [16:23:40]Write to MH i2c: E2 08 00 55 27 80 0D 03 02 00 00 00 00 F7 [16:23:40]Write i2c OK [16:23:40]MH_I2C_Read... [16:23:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:23:40]Read from MH i2c: E2 [16:23:40]MH_I2C_Read... [16:23:40]Read from MH i2c: E2 0B 00 [16:23:40]MH_I2C_Read... [16:23:40]Read from MH i2c: E2 0B 00 55 27 00 22 68 65 B0 32 73 F4 8D 90 00 BD [16:23:40]RAPDU: 22 68 65 B0 32 73 F4 8D 90 00 [16:23:40]wFMCommunicate OK [16:23:40]SAM_PROTO_SignData done [16:23:40]FM_MakeSignedData done [16:23:40]CreateOFDProtocolMessage [16:23:40]wFMCommunicate request_size=4 [16:23:40]MH_SAM_APDU [16:23:40]CAPDU: 80 11 00 00 [16:23:40]Write to MH i2c: E2 08 00 56 27 80 11 00 00 00 00 00 00 F7 [16:23:40]Write i2c OK [16:23:40]MH_I2C_Read... [16:23:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:23:40]Read from MH i2c: E2 [16:23:40]MH_I2C_Read... [16:23:40]Read from MH i2c: E2 17 00 [16:23:40]MH_I2C_Read... [16:23:40]Read from MH i2c: E2 17 00 56 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 4F [16:23:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [16:23:40]wFMCommunicate OK [16:23:40]CreateOFDProtocolMessage done [16:23:40]OFDSenderStorePacket 26750 [16:23:40]StoreOFDPacket docnum=26750 [16:23:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 3C A5 07 01 EE 0B 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 31 00 00 00 F4 03 04 00 94 C8 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 7E 68 00 00 35 04 06 00 5F 57 85 A7 83 6E 22 68 65 B0 32 73 F4 8D [16:23:40]CheckFolder [16:23:40]dirname=/storage/ofd_packets [16:23:40]CheckFolder done [16:23:40]ProducePacketName [16:23:40]name=ofd_packets/00026750 [16:23:40]NVStorageSaveData ofd_packets/00026750 [16:23:40]File name is /storage/ofd_packets/00026750 [16:23:40]Write 301 bytes [16:23:40]NVStorageSaveData done [16:23:40]OFDSenderStorePacket done [16:23:40]KKMCreateOFDPacket done [16:23:40]NVStorageSaveData kkm_last_timestamp [16:23:40]File name is /storage/kkm_last_timestamp [16:23:40]Write 4 bytes [16:23:40]NVStorageSaveData done [16:23:40]ExternCall_PrintAddStr [16:23:40]wPrintStart [16:23:40]Write to MH i2c: 01 00 00 57 27 7E [16:23:40]Write i2c OK [16:23:40]MH_I2C_Read... [16:23:40]Read from MH i2c: 01 [16:23:40]MH_I2C_Read... [16:23:40]Read from MH i2c: 01 07 00 [16:23:40]MH_I2C_Read... [16:23:40]Read from MH i2c: 01 07 00 57 27 00 00 00 00 00 FF 0F 93 [16:23:40]RasterBufferAndPrint [16:23:40]line Счет N : (1)359493 [16:23:40]line ИНН: 02508201610067 [16:23:40]line Контрольно-Кассовый Чек [16:23:40]line ПРОДАЖА [16:23:40]line ТРК (МРК, ГНК) : 51 [16:23:40]line Товар: 2710124130 [16:23:40]line Аи-92-К-5 [16:23:40]line 7.890 * 63.40 [16:23:40]line = 500.23 [16:23:40]line НДС 12% НСП 1% [16:23:40]line > о реализуемом товаре [16:23:40]line ОКРУГЛЕНИЕ: -0.23 [16:23:40]line ИТОГО: 500.00 [16:23:40]line Внесено: 500.00 [16:23:40]line СДАЧА: 0.00 [16:23:40]line НСП 1% : 4.43 [16:23:40]line НДС 12% : 53.12 [16:23:40]line Наличными: 500.00 [16:23:40]line Безнал.: 0.00 [16:23:40]line Место: АЗС № 122 "Партнер Нефть" [16:23:40]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [16:23:40]line СНО: Общий режим [16:23:40]line Чек 49 07.04.2024 16:23 [16:23:40]line Смена: 313 ФФД: 1.0 [16:23:40]line ЗНМ: 0300000147 [16:23:40]line РНМ: 0000000000091578 [16:23:40]line Версия ККМ: 001 [16:23:40]line ФМ: 0000000000874657 [16:23:40]line ФД: 26750 [16:23:40]line ФПД: 104829509141358 [16:23:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T162348&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26750&fm=104829509141358&tin=02508201610067®Number=0000000000091578&sum=50000 [16:23:40]OFD Sender: Processing packet 26750 [packets to send 44, broken 43] [16:23:40]ProducePacketName [16:23:40]name=ofd_packets/00026750 [16:23:40]OFD Sender: To server: pG, [16:23:40]CommunicateWithHost lk.salyk.kg:30040 [16:23:40]ConnectInit lk.salyk.kg [16:23:40]written 0, free lines is 4095 [16:23:41]Connected sock=10 [16:23: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 36 35 37 0F 01 00 00 3C A5 07 01 EE 0B 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 31 00 00 00 F4 03 04 00 94 C8 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 7E 68 00 00 35 04 06 00 5F 57 85 A7 83 6E 22 68 65 B0 32 73 F4 8D [16:23:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 AD 75 47 00 E1 3C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 7E 68 00 00 F4 03 04 00 01 70 12 66 B6 04 01 00 00 B9 DF 65 71 44 8F A0 36 [16:23:41]CommunicateWithHost err = 0 [16:23:41]CheckOFDResponse [16:23:41]1017 (14) - 77093643461234 [16:23:41]1041 (16) - 0000000000874657 [16:23:41]1040 (4) - 26750 [16:23:41]1012 (4) - 07.04.2024 10:05 [16:23:41]1206 (1) - 0 [16:23:41]OFD Sender: Remove packet 26750 [16:23:41]ProducePacketName [16:23:41]name=ofd_packets/00026750 [16:23:41]NVStorageDeleteData [16:23:41]Write to MH i2c: 01 00 00 82 27 A9 [16:23:41]Write i2c OK [16:23:41]MH_I2C_Read... [16:23:41]Read from MH i2c: 01 [16:23:41]MH_I2C_Read... [16:23:41]Read from MH i2c: 01 07 00 [16:23:41]MH_I2C_Read... [16:23:41]Read from MH i2c: 01 07 00 82 27 00 00 00 00 00 75 0C 31 [16:23:41]RasterBufferAndPrint [16:23:41]line [16:23:41]line [16:23:41]line [16:23:41]line [16:23:41]line [16:23:41]written 0, free lines is 3193 [16:23:41]MH_Cut [16:23:41]Write to MH i2c: D1 01 00 89 27 01 82 [16:23:41]Write i2c OK [16:23:41]MH_I2C_Read... [16:23:41]Read from MH i2c: D1 [16:23:41]MH_I2C_Read... [16:23:41]Read from MH i2c: D1 01 00 [16:23:41]MH_I2C_Read... [16:23:41]Read from MH i2c: D1 01 00 89 27 00 81 [16:23:41]Write to MH i2c: 01 00 00 8A 27 B1 [16:23:41]Write i2c OK [16:23:41]MH_I2C_Read... [16:23:41]OFD Sender: No OFD packet to send [16:23:42]*** Cut start [16:23:42]*** Partial cut [16:23:42]*** CUTSNS_PIN = 1 [16:23:42]*** CUTSNS_PIN = 0 [16:23:42]*** Brake cut motor [16:23:43]Read from MH i2c: 01 [16:23:43]MH_I2C_Read... [16:23:43]*** Stop cut motor [16:23:43]*** Cut end [16:23:43]Read from MH i2c: 01 07 00 [16:23:43]MH_I2C_Read... [16:23:43]Read from MH i2c: 01 07 00 8A 27 00 00 00 00 00 FF 0F C6 [16:23:43]process_action close_receipt done [16:23:43]requested_data is exist [16:23:43]produce_requested_data [16:23:43]requested_item fm.sn is exist - process it [16:23:43]wFMCommunicate request_size=4 [16:23:43]MH_SAM_APDU [16:23:43]CAPDU: 80 11 00 00 [16:23:43]Write to MH i2c: E2 08 00 8B 27 80 11 00 00 00 00 00 00 2C [16:23:43]Write i2c OK [16:23:43]MH_I2C_Read... [16:23:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:23:43]Read from MH i2c: E2 [16:23:43]MH_I2C_Read... [16:23:43]Read from MH i2c: E2 17 00 [16:23:43]MH_I2C_Read... [16:23:43]Read from MH i2c: E2 17 00 8B 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 84 [16:23:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [16:23:43]wFMCommunicate OK [16:23:43]requested_item fd.num is exist - process it [16:23:43]SAM_PROTO_GetFieldsCounters [16:23:43]wFMCommunicate request_size=4 [16:23:43]MH_SAM_APDU [16:23:43]CAPDU: 80 13 00 00 [16:23:43]Write to MH i2c: E2 08 00 8C 27 80 13 00 00 00 00 00 00 2F [16:23:43]Write i2c OK [16:23:43]MH_I2C_Read... [16:23:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:23:43]Read from MH i2c: E2 [16:23:43]MH_I2C_Read... [16:23:43]Read from MH i2c: E2 62 00 [16:23:43]MH_I2C_Read... [16:23:43]Read from MH i2c: E2 62 00 8C 27 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 7E 68 00 00 0E 04 04 00 39 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 0D [16:23: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 7E 68 00 00 0E 04 04 00 39 01 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:23:43]wFMCommunicate OK [16:23:43]SAM_PROTO_GetFieldsCounters done [16:23:43]requested_item shift.num is exist - process it [16:23:43]requested_item shift.opened is exist - process it [16:23:43]req_shift_opened [16:23:43]FM_GetShiftState [16:23:43]SAM_PROTO_GetShiftState [16:23:43]wFMCommunicate request_size=4 [16:23:43]MH_SAM_APDU [16:23:43]CAPDU: 80 13 01 00 [16:23:43]Write to MH i2c: E2 08 00 8D 27 80 13 01 00 00 00 00 00 31 [16:23:43]Write i2c OK [16:23:43]MH_I2C_Read... [16:23:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:23:43]Read from MH i2c: E2 [16:23:43]MH_I2C_Read... [16:23:43]Read from MH i2c: E2 0E 00 [16:23:43]MH_I2C_Read... [16:23:43]Read from MH i2c: E2 0E 00 8D 27 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 C5 [16:23:43]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [16:23:43]wFMCommunicate OK [16:23:43]SAM_PROTO_GetShiftState done [16:23:43]FM_GetShiftState done [16:23:43]req_shift_opened done [16:23:43]requested_item shift.open_date is exist - process it [16:23:43]req_shift_open_date [16:23:43]req_shift_open_date done [16:23:43]produce_requested_data done [16:23:43]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26750,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [16:23:43]process_action_free close_receipt [16:23:43]json_value_free [16:23:43]json_value_free done [16:23:43]process_json_proto returns [16:23:43]Send response to host [16:23:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26750,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [16:23:43]free response buf [16:23:43]execute_script done [16:23:43]execute_script returns [16:23:43]free content buf [16:23:43]Sock 9.Close socket [16:23:43]Sock 9.Thread stoped [16:23:46]OFD Sender: No OFD packet to send [16:23:51]OFD Sender: No OFD packet to send [16:23:56]OFD Sender: No OFD packet to send [16:24:01]OFD Sender: No OFD packet to send [16:24:06]OFD Sender: No OFD packet to send [16:24:11]OFD Sender: No OFD packet to send [16:24:16]OFD Sender: No OFD packet to send [16:24:21]OFD Sender: No OFD packet to send [16:24:26]OFD Sender: No OFD packet to send [16:24:31]OFD Sender: No OFD packet to send [16:24:36]OFD Sender: No OFD packet to send [16:24:41]OFD Sender: No OFD packet to send [16:24:46]OFD Sender: No OFD packet to send [16:24:51]OFD Sender: No OFD packet to send [16:24:56]OFD Sender: No OFD packet to send [16:25:01]OFD Sender: No OFD packet to send [16:25:06]OFD Sender: No OFD packet to send [16:25:11]OFD Sender: No OFD packet to send [16:25:16]OFD Sender: No OFD packet to send [16:25:21]OFD Sender: No OFD packet to send [16:25:26]OFD Sender: No OFD packet to send [16:25:31]OFD Sender: No OFD packet to send [16:25:36]OFD Sender: No OFD packet to send [16:25:41]OFD Sender: No OFD packet to send [16:25:46]OFD Sender: No OFD packet to send [16:25:51]OFD Sender: No OFD packet to send [16:25:56]OFD Sender: No OFD packet to send [16:26:01]OFD Sender: No OFD packet to send [16:26:06]OFD Sender: No OFD packet to send [16:26:11]OFD Sender: No OFD packet to send [16:26:16]OFD Sender: No OFD packet to send [16:26:21]OFD Sender: No OFD packet to send [16:26:26]OFD Sender: No OFD packet to send [16:26:31]OFD Sender: No OFD packet to send [16:26:36]OFD Sender: No OFD packet to send [16:26:41]OFD Sender: No OFD packet to send [16:26:46]OFD Sender: No OFD packet to send [16:26:51]OFD Sender: No OFD packet to send [16:26:56]OFD Sender: No OFD packet to send [16:27:01]OFD Sender: No OFD packet to send [16:27:06]OFD Sender: No OFD packet to send [16:27:11]OFD Sender: No OFD packet to send [16:27:16]OFD Sender: No OFD packet to send [16:27:21]OFD Sender: No OFD packet to send [16:27:24]accept exits with 8 [16:27:24]New connection [16:27:24]New thread 3066871140 created [16:27:24]Thread 3067014500 joined [16:27:24]Waiting for new connection... [16:27:24] Sock 8.Parse request [16:27:24]Sock 8.Check first char [16:27:24]Sock 8.First char is OK [16:27:24]request: POST /json_proto HTTP/1.0 [16:27:24]Method: POST [16:27:24]URL: /json_proto [16:27:24]Method is POST - this is cgi request [16:27:24]url: /json_proto [16:27:24]query_string will be loaded in cgi processing [16:27:24]execute_cgi json_proto POST (null) [16:27:24]execute_cgi path=json_proto method=POST [16:27:24]POST find Content-Length [16:27:24]Host: 172.17.35.3:8080 [16:27:24]Content-Length: 682 [16:27:24]Content-Type: application/json [16:27:24] [16:27:24]POST finish read [16:27:24]Found Content-Length = 682 [16:27:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359494", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 5.580, "sum" : 400.64, "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" ] } } [16:27:24]execute_script... [16:27: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 : (1)359494", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 5.580, "sum" : 400.64, "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" ] } } [16:27:24]POST & json_proto [16:27:24]process_json_proto [16:27:24]json parsed OK: [16:27:24]protocol is kg_v1.0 [16:27:24]action value=close_receipt [16:27:24]process_action close_receipt [16:27:24]cmd_close_receipt [16:27:24]MH_GetDate [16:27:24]Write to MH i2c: F0 00 00 8E 27 A4 [16:27:24]Write i2c OK [16:27:24]MH_I2C_Read... [16:27:24]Read from MH i2c: F0 [16:27:24]MH_I2C_Read... [16:27:24]Read from MH i2c: F0 09 00 [16:27:24]MH_I2C_Read... [16:27:24]Read from MH i2c: F0 09 00 8E 27 00 76 C9 12 66 2B 11 66 64 6A [16:27:24]GetLastDocTimeStamp 1712507028 [16:27:24]current date 1712507254 [16:27:24]FM_GetShiftState [16:27:24]SAM_PROTO_GetShiftState [16:27:24]wFMCommunicate request_size=4 [16:27:24]MH_SAM_APDU [16:27:24]CAPDU: 80 13 01 00 [16:27:24]Write to MH i2c: E2 08 00 8F 27 80 13 01 00 00 00 00 00 33 [16:27:24]Write i2c OK [16:27:24]MH_I2C_Read... [16:27:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:27:24]Read from MH i2c: E2 [16:27:24]MH_I2C_Read... [16:27:24]Read from MH i2c: E2 0E 00 [16:27:24]MH_I2C_Read... [16:27:24]Read from MH i2c: E2 0E 00 8F 27 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 C7 [16:27:24]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [16:27:24]wFMCommunicate OK [16:27:24]SAM_PROTO_GetShiftState done [16:27:24]FM_GetShiftState done [16:27:24]opened in 1712450087 [16:27:24]opened+sec_in_day 1712536487 [16:27:24]quantity*price = 40064 [16:27:24]sum+1 = 40065 [16:27:24]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.64 ИТОГО: 400.00 Внесено: 400.00 СДАЧА: 0.00 НСП 1% : 3.54 НДС 12% : 42.55 Наличными: 400.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 50 07.04.2024 16:27 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26751 ФПД: 242291478374518 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T162734&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26751&fm=242291478374518&tin=02508201610067®Number=0000000000091578&sum=40000 [16:27:25]StoreToDocumentArchive [16:27:25]shift 313 fd 26751 [16:27:25]save to /storage/0313/doc_00026751 [16:27:25]save last doc name /storage/0313/doc_00026751 to /storage/kkm_last_doc_name [16:27:25]save OK [16:27:25]Clear old archive folders... [16:27:25]ProcessDocumentItem done err = 0, tmpTLVsize=252 [16:27:25]tlvbuf is 00E3BC90 [16:27:25]SAM_PROTO_ClearQueue [16:27:25]wFMCommunicate request_size=4 [16:27:25]MH_SAM_APDU [16:27:25]CAPDU: 80 09 00 00 [16:27:25]Write to MH i2c: E2 08 00 9C 27 80 09 00 00 00 00 00 00 35 [16:27:25]Write i2c OK [16:27:25]MH_I2C_Read... [16:27:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:27:25]Read from MH i2c: E2 [16:27:25]MH_I2C_Read... [16:27:25]Read from MH i2c: E2 03 00 [16:27:25]MH_I2C_Read... [16:27:25]Read from MH i2c: E2 03 00 9C 27 00 90 00 37 [16:27:25]RAPDU: 90 00 [16:27:25]wFMCommunicate OK [16:27:25]SAM_PROTO_ClearQueue done [16:27:25]KKMCreateOFDPacket [16:27:25]OFDProtocolAddRootSTLVToBuf [16:27:25]FM_MakeSignedData [16:27:25]FM_MakeSignedData [16:27:25]SAM_PROTO_SignData [16:27:25]wFMCommunicate request_size=4 [16:27:25]MH_SAM_APDU [16:27:25]CAPDU: 80 0D 01 02 [16:27:25]Write to MH i2c: E2 08 00 9D 27 80 0D 01 02 00 00 00 00 3D [16:27:25]Write i2c OK [16:27:25]MH_I2C_Read... [16:27:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:27:25]Read from MH i2c: E2 [16:27:25]MH_I2C_Read... [16:27:25]Read from MH i2c: E2 03 00 [16:27:25]MH_I2C_Read... [16:27:25]Read from MH i2c: E2 03 00 9D 27 00 90 00 38 [16:27:25]RAPDU: 90 00 [16:27:25]wFMCommunicate OK [16:27:25]wFMCommunicate request_size=255 [16:27:25]MH_SAM_APDU [16:27:25]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 CC 15 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 80 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 9F 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 76 C9 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 7F 68 00 00 35 04 06 00 [16:27:25]Write to MH i2c: E2 02 01 9E 27 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 CC 15 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 80 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 9F 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 76 C9 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 7F 68 00 00 35 04 06 00 00 00 85 [16:27:25]Write i2c OK [16:27:25]MH_I2C_Read... [16:27:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:27:25]Read from MH i2c: E2 [16:27:25]MH_I2C_Read... [16:27:25]Read from MH i2c: E2 03 00 [16:27:25]MH_I2C_Read... [16:27:25]Read from MH i2c: E2 03 00 9E 27 00 90 00 39 [16:27:25]RAPDU: 90 00 [16:27:25]wFMCommunicate OK [16:27:25]wFMCommunicate request_size=11 [16:27:25]MH_SAM_APDU [16:27:25]CAPDU: 80 0D 02 02 06 DC 5C E1 80 28 76 [16:27:25]Write to MH i2c: E2 0E 00 9F 27 80 0D 02 02 06 00 DC 5C E1 80 28 76 00 00 83 [16:27:25]Write i2c OK [16:27:25]MH_I2C_Read... [16:27:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:27:26]Read from MH i2c: E2 [16:27:26]MH_I2C_Read... [16:27:26]Read from MH i2c: E2 03 00 [16:27:26]MH_I2C_Read... [16:27:26]Read from MH i2c: E2 03 00 9F 27 00 90 00 3A [16:27:26]RAPDU: 90 00 [16:27:26]wFMCommunicate OK [16:27:26]wFMCommunicate request_size=4 [16:27:26]MH_SAM_APDU [16:27:26]CAPDU: 80 0D 03 02 [16:27:26]Write to MH i2c: E2 08 00 A0 27 80 0D 03 02 00 00 00 00 42 [16:27:26]Write i2c OK [16:27:26]MH_I2C_Read... [16:27:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:27:26]Read from MH i2c: E2 [16:27:26]MH_I2C_Read... [16:27:26]Read from MH i2c: E2 0B 00 [16:27:26]MH_I2C_Read... [16:27:26]Read from MH i2c: E2 0B 00 A0 27 00 56 F3 68 3C A9 5B E2 8B 90 00 A1 [16:27:26]RAPDU: 56 F3 68 3C A9 5B E2 8B 90 00 [16:27:26]wFMCommunicate OK [16:27:26]SAM_PROTO_SignData done [16:27:26]FM_MakeSignedData done [16:27:26]CreateOFDProtocolMessage [16:27:26]wFMCommunicate request_size=4 [16:27:26]MH_SAM_APDU [16:27:26]CAPDU: 80 11 00 00 [16:27:26]Write to MH i2c: E2 08 00 A1 27 80 11 00 00 00 00 00 00 42 [16:27:26]Write i2c OK [16:27:26]MH_I2C_Read... [16:27:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:27:26]Read from MH i2c: E2 [16:27:26]MH_I2C_Read... [16:27:26]Read from MH i2c: E2 17 00 [16:27:26]MH_I2C_Read... [16:27:26]Read from MH i2c: E2 17 00 A1 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 9A [16:27:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [16:27:26]wFMCommunicate OK [16:27:26]CreateOFDProtocolMessage done [16:27:26]OFDSenderStorePacket 26751 [16:27:26]StoreOFDPacket docnum=26751 [16:27:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 91 71 08 01 78 6F 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 CC 15 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 80 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 9F 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 76 C9 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 7F 68 00 00 35 04 06 00 DC 5C E1 80 28 76 56 F3 68 3C A9 5B E2 8B [16:27:26]CheckFolder [16:27:26]dirname=/storage/ofd_packets [16:27:26]CheckFolder done [16:27:26]ProducePacketName [16:27:26]name=ofd_packets/00026751 [16:27:26]NVStorageSaveData ofd_packets/00026751 [16:27:26]File name is /storage/ofd_packets/00026751 [16:27:26]Write 302 bytes [16:27:26]NVStorageSaveData done [16:27:26]OFDSenderStorePacket done [16:27:26]KKMCreateOFDPacket done [16:27:26]NVStorageSaveData kkm_last_timestamp [16:27:26]File name is /storage/kkm_last_timestamp [16:27:26]Write 4 bytes [16:27:26]NVStorageSaveData done [16:27:26]ExternCall_PrintAddStr [16:27:26]wPrintStart [16:27:26]Write to MH i2c: 01 00 00 A2 27 C9 [16:27:26]Write i2c OK [16:27:26]MH_I2C_Read... [16:27:26]Read from MH i2c: 01 [16:27:26]MH_I2C_Read... [16:27:26]Read from MH i2c: 01 07 00 [16:27:26]MH_I2C_Read... [16:27:26]Read from MH i2c: 01 07 00 A2 27 00 00 00 00 00 FF 0F DE [16:27:26]RasterBufferAndPrint [16:27:26]line Счет N : (1)359494 [16:27:26]line ИНН: 02508201610067 [16:27:26]line Контрольно-Кассовый Чек [16:27:26]line ПРОДАЖА [16:27:26]line ТРК (МРК, ГНК) : 21 [16:27:26]line Товар: 2710194210 [16:27:26]line ДТ(л)-К-5 [16:27:26]line 5.580 * 71.80 [16:27:26]line = 400.64 [16:27:26]line НДС 12% НСП 1% [16:27:26]line > о реализуемом товаре [16:27:26]line ОКРУГЛЕНИЕ: -0.64 [16:27:26]line ИТОГО: 400.00 [16:27:26]line Внесено: 400.00 [16:27:26]line СДАЧА: 0.00 [16:27:26]line НСП 1% : 3.54 [16:27:26]line НДС 12% : 42.55 [16:27:26]line Наличными: 400.00 [16:27:26]line Безнал.: 0.00 [16:27:26]line Место: АЗС № 122 "Партнер Нефть" [16:27:26]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [16:27:26]line СНО: Общий режим [16:27:26]line Чек 50 07.04.2024 16:27 [16:27:26]line Смена: 313 ФФД: 1.0 [16:27:26]line ЗНМ: 0300000147 [16:27:26]line РНМ: 0000000000091578 [16:27:26]line Версия ККМ: 001 [16:27:26]line ФМ: 0000000000874657 [16:27:26]line ФД: 26751 [16:27:26]line ФПД: 242291478374518 [16:27:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T162734&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26751&fm=242291478374518&tin=02508201610067®Number=0000000000091578&sum=40000 [16:27:26]OFD Sender: Processing packet 26751 [packets to send 44, broken 43] [16:27:26]ProducePacketName [16:27:26]name=ofd_packets/00026751 [16:27:26]OFD Sender: To server: pG, [16:27:26]CommunicateWithHost lk.salyk.kg:30040 [16:27:26]ConnectInit lk.salyk.kg [16:27:26]written 0, free lines is 4095 [16:27:26]Connected sock=10 [16:27:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 91 71 08 01 78 6F 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 CC 15 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 80 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 9F 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 76 C9 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 7F 68 00 00 35 04 06 00 DC 5C E1 80 28 76 56 F3 68 3C A9 5B E2 8B [16:27:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 65 7B 47 00 5D 6F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 7F 68 00 00 F4 03 04 00 E3 70 12 66 B6 04 01 00 00 2E DD 8D B8 26 80 19 18 [16:27:26]CommunicateWithHost err = 0 [16:27:26]CheckOFDResponse [16:27:26]1017 (14) - 77093643461234 [16:27:26]1041 (16) - 0000000000874657 [16:27:26]1040 (4) - 26751 [16:27:26]1012 (4) - 07.04.2024 10:09 [16:27:26]1206 (1) - 0 [16:27:26]OFD Sender: Remove packet 26751 [16:27:26]ProducePacketName [16:27:26]name=ofd_packets/00026751 [16:27:26]NVStorageDeleteData [16:27:26]Write to MH i2c: 01 00 00 CD 27 F4 [16:27:26]Write i2c OK [16:27:26]MH_I2C_Read... [16:27:26]Read from MH i2c: 01 [16:27:26]MH_I2C_Read... [16:27:26]Read from MH i2c: 01 07 00 [16:27:26]MH_I2C_Read... [16:27:26]Read from MH i2c: 01 07 00 CD 27 00 00 00 00 00 6B 0C 72 [16:27:26]RasterBufferAndPrint [16:27:26]line [16:27:26]line [16:27:26]line [16:27:26]line [16:27:26]line [16:27:26]written 0, free lines is 3183 [16:27:26]MH_Cut [16:27:26]Write to MH i2c: D1 01 00 D4 27 01 CD [16:27:26]Write i2c OK [16:27:26]MH_I2C_Read... [16:27:26]Read from MH i2c: D1 [16:27:26]MH_I2C_Read... [16:27:26]Read from MH i2c: D1 01 00 [16:27:26]MH_I2C_Read... [16:27:26]Read from MH i2c: D1 01 00 D4 27 00 CC [16:27:26]Write to MH i2c: 01 00 00 D5 27 FC [16:27:26]Write i2c OK [16:27:26]MH_I2C_Read... [16:27:27]OFD Sender: No OFD packet to send [16:27:28]*** Cut start [16:27:28]*** Partial cut [16:27:28]*** CUTSNS_PIN = 1 [16:27:28]*** CUTSNS_PIN = 0 [16:27:28]*** Brake cut motor [16:27:28]Read from MH i2c: 01 [16:27:28]MH_I2C_Read... [16:27:28]*** Stop cut motor [16:27:28]*** Cut end [16:27:28]Read from MH i2c: 01 07 00 [16:27:28]MH_I2C_Read... [16:27:28]Read from MH i2c: 01 07 00 D5 27 00 00 00 00 00 FF 0F 11 [16:27:28]process_action close_receipt done [16:27:28]requested_data is exist [16:27:28]produce_requested_data [16:27:28]requested_item fm.sn is exist - process it [16:27:28]wFMCommunicate request_size=4 [16:27:28]MH_SAM_APDU [16:27:28]CAPDU: 80 11 00 00 [16:27:28]Write to MH i2c: E2 08 00 D6 27 80 11 00 00 00 00 00 00 77 [16:27:28]Write i2c OK [16:27:28]MH_I2C_Read... [16:27:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:27:28]Read from MH i2c: E2 [16:27:28]MH_I2C_Read... [16:27:28]Read from MH i2c: E2 17 00 [16:27:28]MH_I2C_Read... [16:27:28]Read from MH i2c: E2 17 00 D6 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 CF [16:27:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [16:27:28]wFMCommunicate OK [16:27:28]requested_item fd.num is exist - process it [16:27:28]SAM_PROTO_GetFieldsCounters [16:27:28]wFMCommunicate request_size=4 [16:27:28]MH_SAM_APDU [16:27:28]CAPDU: 80 13 00 00 [16:27:28]Write to MH i2c: E2 08 00 D7 27 80 13 00 00 00 00 00 00 7A [16:27:28]Write i2c OK [16:27:28]MH_I2C_Read... [16:27:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:27:28]Read from MH i2c: E2 [16:27:28]MH_I2C_Read... [16:27:28]Read from MH i2c: E2 62 00 [16:27:28]MH_I2C_Read... [16:27:28]Read from MH i2c: E2 62 00 D7 27 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 7F 68 00 00 0E 04 04 00 39 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 5C [16:27: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 7F 68 00 00 0E 04 04 00 39 01 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:27:28]wFMCommunicate OK [16:27:28]SAM_PROTO_GetFieldsCounters done [16:27:28]requested_item shift.num is exist - process it [16:27:28]requested_item shift.opened is exist - process it [16:27:28]req_shift_opened [16:27:28]FM_GetShiftState [16:27:28]SAM_PROTO_GetShiftState [16:27:28]wFMCommunicate request_size=4 [16:27:28]MH_SAM_APDU [16:27:28]CAPDU: 80 13 01 00 [16:27:28]Write to MH i2c: E2 08 00 D8 27 80 13 01 00 00 00 00 00 7C [16:27:28]Write i2c OK [16:27:28]MH_I2C_Read... [16:27:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:27:28]Read from MH i2c: E2 [16:27:28]MH_I2C_Read... [16:27:28]Read from MH i2c: E2 0E 00 [16:27:28]MH_I2C_Read... [16:27:28]Read from MH i2c: E2 0E 00 D8 27 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 10 [16:27:28]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [16:27:28]wFMCommunicate OK [16:27:28]SAM_PROTO_GetShiftState done [16:27:28]FM_GetShiftState done [16:27:28]req_shift_opened done [16:27:28]requested_item shift.open_date is exist - process it [16:27:28]req_shift_open_date [16:27:28]req_shift_open_date done [16:27:28]produce_requested_data done [16:27:28]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26751,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [16:27:28]process_action_free close_receipt [16:27:28]json_value_free [16:27:28]json_value_free done [16:27:28]process_json_proto returns [16:27:28]Send response to host [16:27:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26751,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [16:27:28]free response buf [16:27:28]execute_script done [16:27:28]execute_script returns [16:27:28]free content buf [16:27:28]Sock 8.Close socket [16:27:28]Sock 8.Thread stoped [16:27:32]OFD Sender: No OFD packet to send [16:27:37]OFD Sender: No OFD packet to send [16:27:42]OFD Sender: No OFD packet to send [16:27:47]OFD Sender: No OFD packet to send [16:27:52]OFD Sender: No OFD packet to send [16:27:57]OFD Sender: No OFD packet to send [16:28:02]OFD Sender: No OFD packet to send [16:28:07]OFD Sender: No OFD packet to send [16:28:12]OFD Sender: No OFD packet to send [16:28:17]OFD Sender: No OFD packet to send [16:28:22]OFD Sender: No OFD packet to send [16:28:27]OFD Sender: No OFD packet to send [16:28:32]OFD Sender: No OFD packet to send [16:28:37]OFD Sender: No OFD packet to send [16:28:42]OFD Sender: No OFD packet to send [16:28:47]OFD Sender: No OFD packet to send [16:28:52]OFD Sender: No OFD packet to send [16:28:57]OFD Sender: No OFD packet to send [16:29:02]OFD Sender: No OFD packet to send [16:29:07]OFD Sender: No OFD packet to send [16:29:12]OFD Sender: No OFD packet to send [16:29:17]OFD Sender: No OFD packet to send [16:29:22]OFD Sender: No OFD packet to send [16:29:27]OFD Sender: No OFD packet to send [16:29:32]OFD Sender: No OFD packet to send [16:29:37]OFD Sender: No OFD packet to send [16:29:42]OFD Sender: No OFD packet to send [16:29:47]OFD Sender: No OFD packet to send [16:29:52]OFD Sender: No OFD packet to send [16:29:57]OFD Sender: No OFD packet to send [16:30:02]OFD Sender: No OFD packet to send [16:30:07]OFD Sender: No OFD packet to send [16:30:12]OFD Sender: No OFD packet to send [16:30:17]OFD Sender: No OFD packet to send [16:30:22]OFD Sender: No OFD packet to send [16:30:27]OFD Sender: No OFD packet to send [16:30:27]accept exits with 9 [16:30:27]New connection [16:30:27]New thread 3067014500 created [16:30:27]Thread 3066871140 joined [16:30:27]Waiting for new connection... [16:30:27] Sock 9.Parse request [16:30:27]Sock 9.Check first char [16:30:27]Sock 9.First char is OK [16:30:27]request: POST /json_proto HTTP/1.0 [16:30:27]Method: POST [16:30:27]URL: /json_proto [16:30:27]Method is POST - this is cgi request [16:30:27]url: /json_proto [16:30:27]query_string will be loaded in cgi processing [16:30:27]execute_cgi json_proto POST (null) [16:30:27]execute_cgi path=json_proto method=POST [16:30:27]POST find Content-Length [16:30:27]Host: 172.17.35.3:8080 [16:30:27]Content-Length: 640 [16:30:27]Content-Type: application/json [16:30:27] [16:30:27]POST finish read [16:30:27]Found Content-Length = 640 [16:30:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359495", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 10.000, "sum" : 634.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 634.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:30:27]execute_script... [16:30: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 : (1)359495", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 10.000, "sum" : 634.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 634.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:30:27]POST & json_proto [16:30:27]process_json_proto [16:30:27]json parsed OK: [16:30:27]protocol is kg_v1.0 [16:30:27]action value=close_receipt [16:30:27]process_action close_receipt [16:30:27]cmd_close_receipt [16:30:27]MH_GetDate [16:30:27]Write to MH i2c: F0 00 00 D9 27 EF [16:30:27]Write i2c OK [16:30:27]MH_I2C_Read... [16:30:27]Read from MH i2c: F0 [16:30:27]MH_I2C_Read... [16:30:27]Read from MH i2c: F0 09 00 [16:30:27]MH_I2C_Read... [16:30:27]Read from MH i2c: F0 09 00 D9 27 00 2D CA 12 66 2B 11 66 64 6D [16:30:27]GetLastDocTimeStamp 1712507254 [16:30:27]current date 1712507437 [16:30:27]FM_GetShiftState [16:30:27]SAM_PROTO_GetShiftState [16:30:27]wFMCommunicate request_size=4 [16:30:27]MH_SAM_APDU [16:30:27]CAPDU: 80 13 01 00 [16:30:27]Write to MH i2c: E2 08 00 DA 27 80 13 01 00 00 00 00 00 7E [16:30:27]Write i2c OK [16:30:27]MH_I2C_Read... [16:30:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:30:27]Read from MH i2c: E2 [16:30:27]MH_I2C_Read... [16:30:27]Read from MH i2c: E2 0E 00 [16:30:27]MH_I2C_Read... [16:30:27]Read from MH i2c: E2 0E 00 DA 27 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 12 [16:30:27]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [16:30:27]wFMCommunicate OK [16:30:27]SAM_PROTO_GetShiftState done [16:30:27]FM_GetShiftState done [16:30:27]opened in 1712450087 [16:30:27]opened+sec_in_day 1712536487 [16:30:27]quantity*price = 63400 [16:30:27]sum+1 = 63401 [16:30:27]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 634.00 НСП 1% : 5.61 НДС 12% : 67.33 Наличными: 634.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 51 07.04.2024 16:30 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26752 ФПД: 107109581629938 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T163037&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26752&fm=107109581629938&tin=02508201610067®Number=0000000000091578&sum=63400 [16:30:28]StoreToDocumentArchive [16:30:28]shift 313 fd 26752 [16:30:28]save to /storage/0313/doc_00026752 [16:30:28]save last doc name /storage/0313/doc_00026752 to /storage/kkm_last_doc_name [16:30:28]save OK [16:30:28]Clear old archive folders... [16:30:28]ProcessDocumentItem done err = 0, tmpTLVsize=251 [16:30:28]tlvbuf is 00EFDEE0 [16:30:28]SAM_PROTO_ClearQueue [16:30:28]wFMCommunicate request_size=4 [16:30:28]MH_SAM_APDU [16:30:28]CAPDU: 80 09 00 00 [16:30:28]Write to MH i2c: E2 08 00 E7 27 80 09 00 00 00 00 00 00 80 [16:30:28]Write i2c OK [16:30:28]MH_I2C_Read... [16:30:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:30:28]Read from MH i2c: E2 [16:30:28]MH_I2C_Read... [16:30:28]Read from MH i2c: E2 03 00 [16:30:28]MH_I2C_Read... [16:30:28]Read from MH i2c: E2 03 00 E7 27 00 90 00 82 [16:30:28]RAPDU: 90 00 [16:30:28]wFMCommunicate OK [16:30:28]SAM_PROTO_ClearQueue done [16:30:28]KKMCreateOFDPacket [16:30:28]OFDProtocolAddRootSTLVToBuf [16:30:28]FM_MakeSignedData [16:30:28]FM_MakeSignedData [16:30:28]SAM_PROTO_SignData [16:30:28]wFMCommunicate request_size=4 [16:30:28]MH_SAM_APDU [16:30:28]CAPDU: 80 0D 01 02 [16:30:28]Write to MH i2c: E2 08 00 E8 27 80 0D 01 02 00 00 00 00 88 [16:30:28]Write i2c OK [16:30:28]MH_I2C_Read... [16:30:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:30:28]Read from MH i2c: E2 [16:30:28]MH_I2C_Read... [16:30:28]Read from MH i2c: E2 03 00 [16:30:28]MH_I2C_Read... [16:30:28]Read from MH i2c: E2 03 00 E8 27 00 90 00 83 [16:30:28]RAPDU: 90 00 [16:30:28]wFMCommunicate OK [16:30:28]wFMCommunicate request_size=255 [16:30:28]MH_SAM_APDU [16:30:28]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 C4 18 00 00 00 00 13 04 06 00 A8 F7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 F7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4D 1A 00 00 00 00 07 04 06 00 A8 F7 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 2D CA 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 80 68 00 00 35 04 06 00 61 [16:30:28]Write to MH i2c: E2 02 01 E9 27 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 C4 18 00 00 00 00 13 04 06 00 A8 F7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 F7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4D 1A 00 00 00 00 07 04 06 00 A8 F7 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 2D CA 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 80 68 00 00 35 04 06 00 61 00 00 4B [16:30:28]Write i2c OK [16:30:28]MH_I2C_Read... [16:30:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:30:29]Read from MH i2c: E2 [16:30:29]MH_I2C_Read... [16:30:29]Read from MH i2c: E2 03 00 [16:30:29]MH_I2C_Read... [16:30:29]Read from MH i2c: E2 03 00 E9 27 00 90 00 84 [16:30:29]RAPDU: 90 00 [16:30:29]wFMCommunicate OK [16:30:29]wFMCommunicate request_size=10 [16:30:29]MH_SAM_APDU [16:30:29]CAPDU: 80 0D 02 02 05 6A 64 90 A9 F2 [16:30:29]Write to MH i2c: E2 0D 00 EA 27 80 0D 02 02 05 00 6A 64 90 A9 F2 00 00 8E [16:30:29]Write i2c OK [16:30:29]MH_I2C_Read... [16:30:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:30:29]Read from MH i2c: E2 [16:30:29]MH_I2C_Read... [16:30:29]Read from MH i2c: E2 03 00 [16:30:29]MH_I2C_Read... [16:30:29]Read from MH i2c: E2 03 00 EA 27 00 90 00 85 [16:30:29]RAPDU: 90 00 [16:30:29]wFMCommunicate OK [16:30:29]wFMCommunicate request_size=4 [16:30:29]MH_SAM_APDU [16:30:29]CAPDU: 80 0D 03 02 [16:30:29]Write to MH i2c: E2 08 00 EB 27 80 0D 03 02 00 00 00 00 8D [16:30:29]Write i2c OK [16:30:29]MH_I2C_Read... [16:30:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:30:29]Read from MH i2c: E2 [16:30:29]MH_I2C_Read... [16:30:29]Read from MH i2c: E2 0B 00 [16:30:29]MH_I2C_Read... [16:30:29]Read from MH i2c: E2 0B 00 EB 27 00 A7 75 52 E7 AD 40 07 2F 90 00 06 [16:30:29]RAPDU: A7 75 52 E7 AD 40 07 2F 90 00 [16:30:29]wFMCommunicate OK [16:30:29]SAM_PROTO_SignData done [16:30:29]FM_MakeSignedData done [16:30:29]CreateOFDProtocolMessage [16:30:29]wFMCommunicate request_size=4 [16:30:29]MH_SAM_APDU [16:30:29]CAPDU: 80 11 00 00 [16:30:29]Write to MH i2c: E2 08 00 EC 27 80 11 00 00 00 00 00 00 8D [16:30:29]Write i2c OK [16:30:29]MH_I2C_Read... [16:30:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:30:29]Read from MH i2c: E2 [16:30:29]MH_I2C_Read... [16:30:29]Read from MH i2c: E2 17 00 [16:30:29]MH_I2C_Read... [16:30:29]Read from MH i2c: E2 17 00 EC 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 E5 [16:30:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [16:30:29]wFMCommunicate OK [16:30:29]CreateOFDProtocolMessage done [16:30:29]OFDSenderStorePacket 26752 [16:30:29]StoreOFDPacket docnum=26752 [16:30:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 D3 3E 07 01 AD 00 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 C4 18 00 00 00 00 13 04 06 00 A8 F7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 F7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4D 1A 00 00 00 00 07 04 06 00 A8 F7 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 2D CA 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 80 68 00 00 35 04 06 00 61 6A 64 90 A9 F2 A7 75 52 E7 AD 40 07 2F [16:30:29]CheckFolder [16:30:29]dirname=/storage/ofd_packets [16:30:29]CheckFolder done [16:30:29]ProducePacketName [16:30:29]name=ofd_packets/00026752 [16:30:29]NVStorageSaveData ofd_packets/00026752 [16:30:29]File name is /storage/ofd_packets/00026752 [16:30:29]Write 301 bytes [16:30:29]NVStorageSaveData done [16:30:29]OFDSenderStorePacket done [16:30:29]KKMCreateOFDPacket done [16:30:29]NVStorageSaveData kkm_last_timestamp [16:30:29]File name is /storage/kkm_last_timestamp [16:30:29]Write 4 bytes [16:30:29]NVStorageSaveData done [16:30:29]ExternCall_PrintAddStr [16:30:29]wPrintStart [16:30:29]Write to MH i2c: 01 00 00 ED 27 14 [16:30:29]Write i2c OK [16:30:29]MH_I2C_Read... [16:30:29]Read from MH i2c: 01 [16:30:29]MH_I2C_Read... [16:30:29]Read from MH i2c: 01 07 00 [16:30:29]MH_I2C_Read... [16:30:29]Read from MH i2c: 01 07 00 ED 27 00 00 00 00 00 FF 0F 29 [16:30:29]RasterBufferAndPrint [16:30:29]line Счет N : (1)359495 [16:30:29]line ИНН: 02508201610067 [16:30:29]line Контрольно-Кассовый Чек [16:30:29]line ПРОДАЖА [16:30:29]line ТРК (МРК, ГНК) : 61 [16:30:29]line Товар: 2710124130 [16:30:29]line Аи-92-К-5 [16:30:29]line 10.000 * 63.40 [16:30:29]line = 634.00 [16:30:29]line НДС 12% НСП 1% [16:30:29]line > о реализуемом товаре [16:30:29]line ИТОГО: 634.00 [16:30:29]line НСП 1% : 5.61 [16:30:29]line НДС 12% : 67.33 [16:30:29]line Наличными: 634.00 [16:30:29]line Безнал.: 0.00 [16:30:29]line Место: АЗС № 122 "Партнер Нефть" [16:30:29]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [16:30:29]line СНО: Общий режим [16:30:29]line Чек 51 07.04.2024 16:30 [16:30:29]line Смена: 313 ФФД: 1.0 [16:30:29]line ЗНМ: 0300000147 [16:30:29]line РНМ: 0000000000091578 [16:30:29]line Версия ККМ: 001 [16:30:29]line ФМ: 0000000000874657 [16:30:29]line ФД: 26752 [16:30:29]line ФПД: 107109581629938 [16:30:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T163037&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26752&fm=107109581629938&tin=02508201610067®Number=0000000000091578&sum=63400 [16:30:29]OFD Sender: Processing packet 26752 [packets to send 44, broken 43] [16:30:29]ProducePacketName [16:30:29]name=ofd_packets/00026752 [16:30:29]OFD Sender: To server: pG, [16:30:29]CommunicateWithHost lk.salyk.kg:30040 [16:30:29]ConnectInit lk.salyk.kg [16:30:29]written 0, free lines is 4095 [16:30:29]Connected sock=10 [16:30: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 36 35 37 0F 01 00 00 D3 3E 07 01 AD 00 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 C4 18 00 00 00 00 13 04 06 00 A8 F7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 F7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4D 1A 00 00 00 00 07 04 06 00 A8 F7 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 2D CA 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 80 68 00 00 35 04 06 00 61 6A 64 90 A9 F2 A7 75 52 E7 AD 40 07 2F [16:30:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 D2 18 47 00 0E 01 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 80 68 00 00 F4 03 04 00 9A 71 12 66 B6 04 01 00 00 CB C8 6E 10 13 7C 4E D8 [16:30:29]CommunicateWithHost err = 0 [16:30:29]CheckOFDResponse [16:30:29]1017 (14) - 77093643461234 [16:30:29]1041 (16) - 0000000000874657 [16:30:29]1040 (4) - 26752 [16:30:29]1012 (4) - 07.04.2024 10:12 [16:30:29]1206 (1) - 0 [16:30:29]OFD Sender: Remove packet 26752 [16:30:29]ProducePacketName [16:30:29]name=ofd_packets/00026752 [16:30:29]NVStorageDeleteData [16:30:29]Write to MH i2c: 01 00 00 15 28 3D [16:30:29]Write i2c OK [16:30:29]MH_I2C_Read... [16:30:29]Read from MH i2c: 01 [16:30:29]MH_I2C_Read... [16:30:29]Read from MH i2c: 01 07 00 [16:30:29]MH_I2C_Read... [16:30:29]Read from MH i2c: 01 07 00 15 28 00 00 00 00 00 BB 0C 0B [16:30:29]RasterBufferAndPrint [16:30:29]line [16:30:29]line [16:30:29]line [16:30:29]line [16:30:29]line [16:30:29]written 0, free lines is 3263 [16:30:29]MH_Cut [16:30:29]Write to MH i2c: D1 01 00 1C 28 01 16 [16:30:29]Write i2c OK [16:30:29]MH_I2C_Read... [16:30:29]Read from MH i2c: D1 [16:30:29]MH_I2C_Read... [16:30:29]Read from MH i2c: D1 01 00 [16:30:29]MH_I2C_Read... [16:30:29]Read from MH i2c: D1 01 00 1C 28 00 15 [16:30:29]Write to MH i2c: 01 00 00 1D 28 45 [16:30:29]Write i2c OK [16:30:29]MH_I2C_Read... [16:30:30]OFD Sender: No OFD packet to send [16:30:30]*** Cut start [16:30:30]*** Partial cut [16:30:30]*** CUTSNS_PIN = 1 [16:30:31]*** CUTSNS_PIN = 0 [16:30:31]*** Brake cut motor [16:30:31]Read from MH i2c: 01 [16:30:31]MH_I2C_Read... [16:30:31]*** Stop cut motor [16:30:31]*** Cut end [16:30:31]Read from MH i2c: 01 07 00 [16:30:31]MH_I2C_Read... [16:30:31]Read from MH i2c: 01 07 00 1D 28 00 00 00 00 00 FF 0F 5A [16:30:31]process_action close_receipt done [16:30:31]requested_data is exist [16:30:31]produce_requested_data [16:30:31]requested_item fm.sn is exist - process it [16:30:31]wFMCommunicate request_size=4 [16:30:31]MH_SAM_APDU [16:30:31]CAPDU: 80 11 00 00 [16:30:31]Write to MH i2c: E2 08 00 1E 28 80 11 00 00 00 00 00 00 C0 [16:30:31]Write i2c OK [16:30:31]MH_I2C_Read... [16:30:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:30:31]Read from MH i2c: E2 [16:30:31]MH_I2C_Read... [16:30:31]Read from MH i2c: E2 17 00 [16:30:31]MH_I2C_Read... [16:30:31]Read from MH i2c: E2 17 00 1E 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 18 [16:30:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [16:30:31]wFMCommunicate OK [16:30:31]requested_item fd.num is exist - process it [16:30:31]SAM_PROTO_GetFieldsCounters [16:30:31]wFMCommunicate request_size=4 [16:30:31]MH_SAM_APDU [16:30:31]CAPDU: 80 13 00 00 [16:30:31]Write to MH i2c: E2 08 00 1F 28 80 13 00 00 00 00 00 00 C3 [16:30:31]Write i2c OK [16:30:31]MH_I2C_Read... [16:30:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:30:31]Read from MH i2c: E2 [16:30:31]MH_I2C_Read... [16:30:31]Read from MH i2c: E2 62 00 [16:30:31]MH_I2C_Read... [16:30:31]Read from MH i2c: E2 62 00 1F 28 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 80 68 00 00 0E 04 04 00 39 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 A9 [16:30:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 80 68 00 00 0E 04 04 00 39 01 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:30:31]wFMCommunicate OK [16:30:31]SAM_PROTO_GetFieldsCounters done [16:30:31]requested_item shift.num is exist - process it [16:30:31]requested_item shift.opened is exist - process it [16:30:31]req_shift_opened [16:30:31]FM_GetShiftState [16:30:31]SAM_PROTO_GetShiftState [16:30:31]wFMCommunicate request_size=4 [16:30:31]MH_SAM_APDU [16:30:31]CAPDU: 80 13 01 00 [16:30:31]Write to MH i2c: E2 08 00 20 28 80 13 01 00 00 00 00 00 C5 [16:30:31]Write i2c OK [16:30:31]MH_I2C_Read... [16:30:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:30:31]Read from MH i2c: E2 [16:30:31]MH_I2C_Read... [16:30:31]Read from MH i2c: E2 0E 00 [16:30:31]MH_I2C_Read... [16:30:31]Read from MH i2c: E2 0E 00 20 28 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 59 [16:30:31]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [16:30:31]wFMCommunicate OK [16:30:31]SAM_PROTO_GetShiftState done [16:30:31]FM_GetShiftState done [16:30:31]req_shift_opened done [16:30:31]requested_item shift.open_date is exist - process it [16:30:31]req_shift_open_date [16:30:31]req_shift_open_date done [16:30:31]produce_requested_data done [16:30:31]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26752,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [16:30:31]process_action_free close_receipt [16:30:31]json_value_free [16:30:31]json_value_free done [16:30:31]process_json_proto returns [16:30:31]Send response to host [16:30:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26752,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [16:30:31]free response buf [16:30:31]execute_script done [16:30:31]execute_script returns [16:30:31]free content buf [16:30:31]Sock 9.Close socket [16:30:31]Sock 9.Thread stoped [16:30:35]OFD Sender: No OFD packet to send [16:30:40]OFD Sender: No OFD packet to send [16:30:45]OFD Sender: No OFD packet to send [16:30:50]OFD Sender: No OFD packet to send [16:30:55]OFD Sender: No OFD packet to send [16:31:00]OFD Sender: No OFD packet to send [16:31:05]OFD Sender: No OFD packet to send [16:31:10]OFD Sender: No OFD packet to send [16:31:15]OFD Sender: No OFD packet to send [16:31:20]OFD Sender: No OFD packet to send [16:31:25]OFD Sender: No OFD packet to send [16:31:30]OFD Sender: No OFD packet to send [16:31:35]OFD Sender: No OFD packet to send [16:31:40]OFD Sender: No OFD packet to send [16:31:45]OFD Sender: No OFD packet to send [16:31:50]OFD Sender: No OFD packet to send [16:31:55]OFD Sender: No OFD packet to send [16:32:00]OFD Sender: No OFD packet to send [16:32:05]OFD Sender: No OFD packet to send [16:32:10]OFD Sender: No OFD packet to send [16:32:15]OFD Sender: No OFD packet to send [16:32:20]OFD Sender: No OFD packet to send [16:32:25]OFD Sender: No OFD packet to send [16:32:30]OFD Sender: No OFD packet to send [16:32:35]OFD Sender: No OFD packet to send [16:32:40]OFD Sender: No OFD packet to send [16:32:45]OFD Sender: No OFD packet to send [16:32:50]OFD Sender: No OFD packet to send [16:32:55]OFD Sender: No OFD packet to send [16:33:00]OFD Sender: No OFD packet to send [16:33:05]OFD Sender: No OFD packet to send [16:33:10]OFD Sender: No OFD packet to send [16:33:15]OFD Sender: No OFD packet to send [16:33:20]OFD Sender: No OFD packet to send [16:33:25]OFD Sender: No OFD packet to send [16:33:30]OFD Sender: No OFD packet to send [16:33:35]OFD Sender: No OFD packet to send [16:33:40]OFD Sender: No OFD packet to send [16:33:45]OFD Sender: No OFD packet to send [16:33:50]OFD Sender: No OFD packet to send [16:33:55]OFD Sender: No OFD packet to send [16:34:00]OFD Sender: No OFD packet to send [16:34:05]OFD Sender: No OFD packet to send [16:34:10]OFD Sender: No OFD packet to send [16:34:15]OFD Sender: No OFD packet to send [16:34:20]OFD Sender: No OFD packet to send [16:34:25]OFD Sender: No OFD packet to send [16:34:30]OFD Sender: No OFD packet to send [16:34:35]OFD Sender: No OFD packet to send [16:34:40]OFD Sender: No OFD packet to send [16:34:45]OFD Sender: No OFD packet to send [16:34:50]OFD Sender: No OFD packet to send [16:34:55]OFD Sender: No OFD packet to send [16:35:00]OFD Sender: No OFD packet to send [16:35:05]OFD Sender: No OFD packet to send [16:35:10]OFD Sender: No OFD packet to send [16:35:15]OFD Sender: No OFD packet to send [16:35:20]OFD Sender: No OFD packet to send [16:35:25]OFD Sender: No OFD packet to send [16:35:30]OFD Sender: No OFD packet to send [16:35:35]OFD Sender: No OFD packet to send [16:35:40]OFD Sender: No OFD packet to send [16:35:45]OFD Sender: No OFD packet to send [16:35:50]OFD Sender: No OFD packet to send [16:35:55]OFD Sender: No OFD packet to send [16:35:59]accept exits with 8 [16:35:59]New connection [16:35:59]New thread 3066871140 created [16:35:59]Thread 3067014500 joined [16:35:59]Waiting for new connection... [16:35:59] Sock 8.Parse request [16:35:59]Sock 8.Check first char [16:35:59]Sock 8.First char is OK [16:35:59]request: POST /json_proto HTTP/1.0 [16:35:59]Method: POST [16:35:59]URL: /json_proto [16:35:59]Method is POST - this is cgi request [16:35:59]url: /json_proto [16:35:59]query_string will be loaded in cgi processing [16:35:59]execute_cgi json_proto POST (null) [16:35:59]execute_cgi path=json_proto method=POST [16:35:59]POST find Content-Length [16:35:59]Host: 172.17.35.3:8080 [16:35:59]Content-Length: 808 [16:35:59]Content-Type: application/json [16:35:59] [16:35:59]POST finish read [16:35:59]Found Content-Length = 808 [16:35:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359496", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 27.860, "sum" : 2000.35, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 2000.35 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:35:59]execute_script... [16:35: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 : (1)359496", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 27.860, "sum" : 2000.35, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 2000.35 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:35:59]POST & json_proto [16:35:59]process_json_proto [16:35:59]json parsed OK: [16:35:59]protocol is kg_v1.0 [16:35:59]action value=close_receipt [16:35:59]process_action close_receipt [16:35:59]cmd_close_receipt [16:35:59]MH_GetDate [16:35:59]Write to MH i2c: F0 00 00 21 28 38 [16:35:59]Write i2c OK [16:35:59]MH_I2C_Read... [16:35:59]Read from MH i2c: F0 [16:35:59]MH_I2C_Read... [16:35:59]Read from MH i2c: F0 09 00 [16:35:59]MH_I2C_Read... [16:35:59]Read from MH i2c: F0 09 00 21 28 00 79 CB 12 66 2B 11 66 64 03 [16:35:59]GetLastDocTimeStamp 1712507437 [16:35:59]current date 1712507769 [16:35:59]FM_GetShiftState [16:35:59]SAM_PROTO_GetShiftState [16:35:59]wFMCommunicate request_size=4 [16:35:59]MH_SAM_APDU [16:35:59]CAPDU: 80 13 01 00 [16:35:59]Write to MH i2c: E2 08 00 22 28 80 13 01 00 00 00 00 00 C7 [16:35:59]Write i2c OK [16:35:59]MH_I2C_Read... [16:35:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:35:59]Read from MH i2c: E2 [16:35:59]MH_I2C_Read... [16:35:59]Read from MH i2c: E2 0E 00 [16:35:59]MH_I2C_Read... [16:35:59]Read from MH i2c: E2 0E 00 22 28 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 5B [16:35:59]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [16:35:59]wFMCommunicate OK [16:35:59]SAM_PROTO_GetShiftState done [16:35:59]FM_GetShiftState done [16:35:59]opened in 1712450087 [16:35:59]opened+sec_in_day 1712536487 [16:35:59]quantity*price = 200034 [16:35:59]sum+1 = 200036 [16:35:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 2000.35 НСП 1% : 17.70 НДС 12% : 212.43 Наличными: 0.00 Безнал.: 2000.35 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 52 07.04.2024 16:36 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000874657 ФД: 26753 ФПД: 19645836406716 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T163609&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26753&fm=19645836406716&tin=02508201610067®Number=0000000000091578&sum=200035 [16:36:00]StoreToDocumentArchive [16:36:00]shift 313 fd 26753 [16:36:00]save to /storage/0313/doc_00026753 [16:36:00]save last doc name /storage/0313/doc_00026753 to /storage/kkm_last_doc_name [16:36:00]save OK [16:36:00]Clear old archive folders... [16:36:00]ProcessDocumentItem done err = 0, tmpTLVsize=252 [16:36:00]tlvbuf is 00EA5C60 [16:36:00]SAM_PROTO_ClearQueue [16:36:00]wFMCommunicate request_size=4 [16:36:00]MH_SAM_APDU [16:36:00]CAPDU: 80 09 00 00 [16:36:00]Write to MH i2c: E2 08 00 2F 28 80 09 00 00 00 00 00 00 C9 [16:36:00]Write i2c OK [16:36:00]MH_I2C_Read... [16:36:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:36:00]Read from MH i2c: E2 [16:36:00]MH_I2C_Read... [16:36:00]Read from MH i2c: E2 03 00 [16:36:00]MH_I2C_Read... [16:36:00]Read from MH i2c: E2 03 00 2F 28 00 90 00 CB [16:36:00]RAPDU: 90 00 [16:36:00]wFMCommunicate OK [16:36:00]SAM_PROTO_ClearQueue done [16:36:00]KKMCreateOFDPacket [16:36:00]OFDProtocolAddRootSTLVToBuf [16:36:00]FM_MakeSignedData [16:36:00]FM_MakeSignedData [16:36:00]SAM_PROTO_SignData [16:36:00]wFMCommunicate request_size=4 [16:36:00]MH_SAM_APDU [16:36:00]CAPDU: 80 0D 01 02 [16:36:00]Write to MH i2c: E2 08 00 30 28 80 0D 01 02 00 00 00 00 D1 [16:36:00]Write i2c OK [16:36:00]MH_I2C_Read... [16:36:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:36:00]Read from MH i2c: E2 [16:36:00]MH_I2C_Read... [16:36:00]Read from MH i2c: E2 03 00 [16:36:00]MH_I2C_Read... [16:36:00]Read from MH i2c: E2 03 00 30 28 00 90 00 CC [16:36:00]RAPDU: 90 00 [16:36:00]wFMCommunicate OK [16:36:00]wFMCommunicate request_size=255 [16:36:00]MH_SAM_APDU [16:36:00]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 D4 6C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 63 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 63 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 63 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 79 CB 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 81 68 00 00 35 04 06 00 [16:36:00]Write to MH i2c: E2 02 01 31 28 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 D4 6C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 63 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 63 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 63 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 79 CB 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 81 68 00 00 35 04 06 00 00 00 31 [16:36:00]Write i2c OK [16:36:00]MH_I2C_Read... [16:36:00]OFD Sender: No OFD packet to send [16:36:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:36:00]Read from MH i2c: E2 [16:36:00]MH_I2C_Read... [16:36:00]Read from MH i2c: E2 03 00 [16:36:00]MH_I2C_Read... [16:36:00]Read from MH i2c: E2 03 00 31 28 00 90 00 CD [16:36:00]RAPDU: 90 00 [16:36:00]wFMCommunicate OK [16:36:00]wFMCommunicate request_size=11 [16:36:00]MH_SAM_APDU [16:36:00]CAPDU: 80 0D 02 02 06 11 DE 27 19 AF BC [16:36:00]Write to MH i2c: E2 0E 00 32 28 80 0D 02 02 06 00 11 DE 27 19 AF BC 00 00 7A [16:36:00]Write i2c OK [16:36:00]MH_I2C_Read... [16:36:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:36:00]Read from MH i2c: E2 [16:36:00]MH_I2C_Read... [16:36:00]Read from MH i2c: E2 03 00 [16:36:00]MH_I2C_Read... [16:36:00]Read from MH i2c: E2 03 00 32 28 00 90 00 CE [16:36:00]RAPDU: 90 00 [16:36:00]wFMCommunicate OK [16:36:00]wFMCommunicate request_size=4 [16:36:00]MH_SAM_APDU [16:36:00]CAPDU: 80 0D 03 02 [16:36:00]Write to MH i2c: E2 08 00 33 28 80 0D 03 02 00 00 00 00 D6 [16:36:00]Write i2c OK [16:36:00]MH_I2C_Read... [16:36:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:36:00]Read from MH i2c: E2 [16:36:00]MH_I2C_Read... [16:36:00]Read from MH i2c: E2 0B 00 [16:36:00]MH_I2C_Read... [16:36:00]Read from MH i2c: E2 0B 00 33 28 00 6A 1F 44 3C 49 60 21 D3 90 00 7D [16:36:00]RAPDU: 6A 1F 44 3C 49 60 21 D3 90 00 [16:36:00]wFMCommunicate OK [16:36:00]SAM_PROTO_SignData done [16:36:00]FM_MakeSignedData done [16:36:00]CreateOFDProtocolMessage [16:36:00]wFMCommunicate request_size=4 [16:36:00]MH_SAM_APDU [16:36:00]CAPDU: 80 11 00 00 [16:36:00]Write to MH i2c: E2 08 00 34 28 80 11 00 00 00 00 00 00 D6 [16:36:00]Write i2c OK [16:36:00]MH_I2C_Read... [16:36:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:36:00]Read from MH i2c: E2 [16:36:00]MH_I2C_Read... [16:36:00]Read from MH i2c: E2 17 00 [16:36:00]MH_I2C_Read... [16:36:00]Read from MH i2c: E2 17 00 34 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 2E [16:36:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [16:36:00]wFMCommunicate OK [16:36:00]CreateOFDProtocolMessage done [16:36:00]OFDSenderStorePacket 26753 [16:36:00]StoreOFDPacket docnum=26753 [16:36:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 9F F1 08 01 74 C2 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 D4 6C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 63 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 63 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 63 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 79 CB 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 81 68 00 00 35 04 06 00 11 DE 27 19 AF BC 6A 1F 44 3C 49 60 21 D3 [16:36:00]CheckFolder [16:36:00]dirname=/storage/ofd_packets [16:36:00]CheckFolder done [16:36:00]ProducePacketName [16:36:00]name=ofd_packets/00026753 [16:36:00]NVStorageSaveData ofd_packets/00026753 [16:36:00]File name is /storage/ofd_packets/00026753 [16:36:00]Write 302 bytes [16:36:00]NVStorageSaveData done [16:36:00]OFDSenderStorePacket done [16:36:00]KKMCreateOFDPacket done [16:36:00]NVStorageSaveData kkm_last_timestamp [16:36:00]File name is /storage/kkm_last_timestamp [16:36:00]Write 4 bytes [16:36:00]NVStorageSaveData done [16:36:00]ExternCall_PrintAddStr [16:36:00]wPrintStart [16:36:00]Write to MH i2c: 01 00 00 35 28 5D [16:36:00]Write i2c OK [16:36:00]MH_I2C_Read... [16:36:00]Read from MH i2c: 01 [16:36:00]MH_I2C_Read... [16:36:00]Read from MH i2c: 01 07 00 [16:36:00]MH_I2C_Read... [16:36:00]Read from MH i2c: 01 07 00 35 28 00 00 00 00 00 FF 0F 72 [16:36:00]RasterBufferAndPrint [16:36:00]line Счет N : (1)359496 [16:36:00]line ИНН: 02508201610067 [16:36:00]line Контрольно-Кассовый Чек [16:36:00]line ПРОДАЖА [16:36:00]line ТРК (МРК, ГНК) : 11 [16:36:00]line Товар: 2710194210 [16:36:00]line ДТ(л)-К-5 [16:36:00]line 27.860 * 71.80 [16:36:00]line = 2000.35 [16:36:00]line НДС 12% НСП 1% [16:36:00]line > о реализуемом товаре [16:36:00]line ИТОГО: 2000.35 [16:36:00]line НСП 1% : 17.70 [16:36:00]line НДС 12% : 212.43 [16:36:00]line Наличными: 0.00 [16:36:00]line Безнал.: 2000.35 [16:36:00]line Место: АЗС № 122 "Партнер Нефть" [16:36:00]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [16:36:00]line СНО: Общий режим [16:36:00]line Чек 52 07.04.2024 16:36 [16:36:00]line Смена: 313 ФФД: 1.0 [16:36:00]line ЗНМ: 0300000147 [16:36:00]line РНМ: 0000000000091578 [16:36:00]line Версия ККМ: 001 [16:36:00]line Платежная система: O! деньги [16:36:00]line ФМ: 0000000000874657 [16:36:00]line ФД: 26753 [16:36:00]line ФПД: 19645836406716 [16:36:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T163609&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26753&fm=19645836406716&tin=02508201610067®Number=0000000000091578&sum=200035 [16:36:01]OFD Sender: Processing packet 26753 [packets to send 44, broken 43] [16:36:01]ProducePacketName [16:36:01]name=ofd_packets/00026753 [16:36:01]OFD Sender: To server: pG, [16:36:01]CommunicateWithHost lk.salyk.kg:30040 [16:36:01]ConnectInit lk.salyk.kg [16:36:01]written 0, free lines is 4095 [16:36:01]Connected sock=10 [16:36:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 9F F1 08 01 74 C2 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 D4 6C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 63 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 63 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 63 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 79 CB 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 81 68 00 00 35 04 06 00 11 DE 27 19 AF BC 6A 1F 44 3C 49 60 21 D3 [16:36:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 FE EF 47 00 17 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 36 35 37 10 04 04 00 81 68 00 00 F4 03 04 00 E6 72 12 66 B6 04 01 00 00 C3 22 AE 63 DF 72 FC CD [16:36:01]CommunicateWithHost err = 0 [16:36:01]CheckOFDResponse [16:36:01]1017 (14) - 77093643461234 [16:36:01]1041 (16) - 0000000000874657 [16:36:01]1040 (4) - 26753 [16:36:01]1012 (4) - 07.04.2024 10:18 [16:36:01]1206 (1) - 0 [16:36:01]OFD Sender: Remove packet 26753 [16:36:01]ProducePacketName [16:36:01]name=ofd_packets/00026753 [16:36:01]NVStorageDeleteData [16:36:01]Write to MH i2c: 01 00 00 5F 28 87 [16:36:01]Write i2c OK [16:36:01]MH_I2C_Read... [16:36:01]Read from MH i2c: 01 [16:36:01]MH_I2C_Read... [16:36:01]Read from MH i2c: 01 07 00 [16:36:01]MH_I2C_Read... [16:36:01]Read from MH i2c: 01 07 00 5F 28 00 00 00 00 00 88 0C 22 [16:36:01]RasterBufferAndPrint [16:36:01]line [16:36:01]line [16:36:01]line [16:36:01]line [16:36:01]line [16:36:01]written 0, free lines is 3211 [16:36:01]MH_Cut [16:36:01]Write to MH i2c: D1 01 00 66 28 01 60 [16:36:01]Write i2c OK [16:36:01]MH_I2C_Read... [16:36:01]Read from MH i2c: D1 [16:36:01]MH_I2C_Read... [16:36:01]Read from MH i2c: D1 01 00 [16:36:01]MH_I2C_Read... [16:36:01]Read from MH i2c: D1 01 00 66 28 00 5F [16:36:01]Write to MH i2c: 01 00 00 67 28 8F [16:36:01]Write i2c OK [16:36:01]MH_I2C_Read... [16:36:02]OFD Sender: No OFD packet to send [16:36:02]*** Cut start [16:36:02]*** Partial cut [16:36:02]*** CUTSNS_PIN = 1 [16:36:02]*** CUTSNS_PIN = 0 [16:36:03]*** Brake cut motor [16:36:03]Read from MH i2c: 01 [16:36:03]MH_I2C_Read... [16:36:03]*** Stop cut motor [16:36:03]*** Cut end [16:36:03]Read from MH i2c: 01 07 00 [16:36:03]MH_I2C_Read... [16:36:03]Read from MH i2c: 01 07 00 67 28 00 00 00 00 00 FF 0F A4 [16:36:03]process_action close_receipt done [16:36:03]requested_data is exist [16:36:03]produce_requested_data [16:36:03]requested_item fm.sn is exist - process it [16:36:03]wFMCommunicate request_size=4 [16:36:03]MH_SAM_APDU [16:36:03]CAPDU: 80 11 00 00 [16:36:03]Write to MH i2c: E2 08 00 68 28 80 11 00 00 00 00 00 00 0A [16:36:03]Write i2c OK [16:36:03]MH_I2C_Read... [16:36:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:36:03]Read from MH i2c: E2 [16:36:03]MH_I2C_Read... [16:36:03]Read from MH i2c: E2 17 00 [16:36:03]MH_I2C_Read... [16:36:03]Read from MH i2c: E2 17 00 68 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 62 [16:36:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [16:36:03]wFMCommunicate OK [16:36:03]requested_item fd.num is exist - process it [16:36:03]SAM_PROTO_GetFieldsCounters [16:36:03]wFMCommunicate request_size=4 [16:36:03]MH_SAM_APDU [16:36:03]CAPDU: 80 13 00 00 [16:36:03]Write to MH i2c: E2 08 00 69 28 80 13 00 00 00 00 00 00 0D [16:36:03]Write i2c OK [16:36:03]MH_I2C_Read... [16:36:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:36:03]Read from MH i2c: E2 [16:36:03]MH_I2C_Read... [16:36:03]Read from MH i2c: E2 62 00 [16:36:03]MH_I2C_Read... [16:36:03]Read from MH i2c: E2 62 00 69 28 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 81 68 00 00 0E 04 04 00 39 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 F7 [16:36:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 81 68 00 00 0E 04 04 00 39 01 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:36:03]wFMCommunicate OK [16:36:03]SAM_PROTO_GetFieldsCounters done [16:36:03]requested_item shift.num is exist - process it [16:36:03]requested_item shift.opened is exist - process it [16:36:03]req_shift_opened [16:36:03]FM_GetShiftState [16:36:03]SAM_PROTO_GetShiftState [16:36:03]wFMCommunicate request_size=4 [16:36:03]MH_SAM_APDU [16:36:03]CAPDU: 80 13 01 00 [16:36:03]Write to MH i2c: E2 08 00 6A 28 80 13 01 00 00 00 00 00 0F [16:36:03]Write i2c OK [16:36:03]MH_I2C_Read... [16:36:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:36:03]Read from MH i2c: E2 [16:36:03]MH_I2C_Read... [16:36:03]Read from MH i2c: E2 0E 00 [16:36:03]MH_I2C_Read... [16:36:03]Read from MH i2c: E2 0E 00 6A 28 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 A3 [16:36:03]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [16:36:03]wFMCommunicate OK [16:36:03]SAM_PROTO_GetShiftState done [16:36:03]FM_GetShiftState done [16:36:03]req_shift_opened done [16:36:03]requested_item shift.open_date is exist - process it [16:36:03]req_shift_open_date [16:36:03]req_shift_open_date done [16:36:03]produce_requested_data done [16:36:03]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26753,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [16:36:03]process_action_free close_receipt [16:36:03]json_value_free [16:36:03]json_value_free done [16:36:03]process_json_proto returns [16:36:03]Send response to host [16:36:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26753,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [16:36:03]free response buf [16:36:03]execute_script done [16:36:03]execute_script returns [16:36:03]free content buf [16:36:03]Sock 8.Close socket [16:36:03]Sock 8.Thread stoped [16:36:07]OFD Sender: No OFD packet to send [16:36:12]OFD Sender: No OFD packet to send [16:36:17]OFD Sender: No OFD packet to send [16:36:22]OFD Sender: No OFD packet to send [16:36:27]OFD Sender: No OFD packet to send [16:36:32]OFD Sender: No OFD packet to send [16:36:37]OFD Sender: No OFD packet to send [16:36:42]OFD Sender: No OFD packet to send [16:36:47]OFD Sender: No OFD packet to send [16:36:52]OFD Sender: No OFD packet to send [16:36:57]OFD Sender: No OFD packet to send [16:37:02]OFD Sender: No OFD packet to send [16:37:07]OFD Sender: No OFD packet to send [16:37:12]OFD Sender: No OFD packet to send [16:37:17]OFD Sender: No OFD packet to send [16:37:22]OFD Sender: No OFD packet to send [16:37:27]OFD Sender: No OFD packet to send [16:37:32]OFD Sender: No OFD packet to send [16:37:37]OFD Sender: No OFD packet to send [16:37:42]OFD Sender: No OFD packet to send [16:37:47]OFD Sender: No OFD packet to send [16:37:52]OFD Sender: No OFD packet to send [16:37:57]OFD Sender: No OFD packet to send [16:38:02]OFD Sender: No OFD packet to send [16:38:07]OFD Sender: No OFD packet to send [16:38:12]OFD Sender: No OFD packet to send [16:38:17]OFD Sender: No OFD packet to send [16:38:22]OFD Sender: No OFD packet to send [16:38:27]OFD Sender: No OFD packet to send [16:38:32]OFD Sender: No OFD packet to send [16:38:37]OFD Sender: No OFD packet to send [16:38:42]OFD Sender: No OFD packet to send [16:38:47]OFD Sender: No OFD packet to send [16:38:52]OFD Sender: No OFD packet to send [16:38:57]OFD Sender: No OFD packet to send [16:39:02]OFD Sender: No OFD packet to send [16:39:07]OFD Sender: No OFD packet to send [16:39:12]OFD Sender: No OFD packet to send [16:39:17]OFD Sender: No OFD packet to send [16:39:22]OFD Sender: No OFD packet to send [16:39:27]OFD Sender: No OFD packet to send [16:39:32]OFD Sender: No OFD packet to send [16:39:37]OFD Sender: No OFD packet to send [16:39:42]OFD Sender: No OFD packet to send [16:39:47]OFD Sender: No OFD packet to send [16:39:52]OFD Sender: No OFD packet to send [16:39:57]OFD Sender: No OFD packet to send [16:40:02]OFD Sender: No OFD packet to send [16:40:07]OFD Sender: No OFD packet to send [16:40:12]OFD Sender: No OFD packet to send [16:40:17]OFD Sender: No OFD packet to send [16:40:22]OFD Sender: No OFD packet to send [16:40:27]OFD Sender: No OFD packet to send [16:40:32]OFD Sender: No OFD packet to send [16:40:37]OFD Sender: No OFD packet to send [16:40:42]OFD Sender: No OFD packet to send [16:40:47]OFD Sender: No OFD packet to send [16:40:52]OFD Sender: No OFD packet to send [16:40:57]OFD Sender: No OFD packet to send [16:41:02]OFD Sender: No OFD packet to send [16:41:07]OFD Sender: No OFD packet to send [16:41:12]OFD Sender: No OFD packet to send [16:41:17]OFD Sender: No OFD packet to send [16:41:22]OFD Sender: No OFD packet to send [16:41:27]OFD Sender: No OFD packet to send [16:41:32]OFD Sender: No OFD packet to send [16:41:37]OFD Sender: No OFD packet to send [16:41:42]OFD Sender: No OFD packet to send [16:41:47]OFD Sender: No OFD packet to send [16:41:52]OFD Sender: No OFD packet to send [16:41:57]OFD Sender: No OFD packet to send [16:42:02]OFD Sender: No OFD packet to send [16:42:07]OFD Sender: No OFD packet to send [16:42:12]OFD Sender: No OFD packet to send [16:42:17]OFD Sender: No OFD packet to send [16:42:22]OFD Sender: No OFD packet to send [16:42:27]OFD Sender: No OFD packet to send [16:42:32]OFD Sender: No OFD packet to send [16:42:37]OFD Sender: No OFD packet to send [16:42:42]OFD Sender: No OFD packet to send [16:42:47]OFD Sender: No OFD packet to send [16:42:52]OFD Sender: No OFD packet to send [16:42:57]OFD Sender: No OFD packet to send [16:43:02]OFD Sender: No OFD packet to send [16:43:07]OFD Sender: No OFD packet to send [16:43:12]OFD Sender: No OFD packet to send [16:43:17]OFD Sender: No OFD packet to send [16:43:22]OFD Sender: No OFD packet to send [16:43:27]OFD Sender: No OFD packet to send [16:43:32]OFD Sender: No OFD packet to send [16:43:37]OFD Sender: No OFD packet to send [16:43:42]OFD Sender: No OFD packet to send [16:43:47]OFD Sender: No OFD packet to send [16:43:52]OFD Sender: No OFD packet to send [16:43:57]OFD Sender: No OFD packet to send [16:44:02]OFD Sender: No OFD packet to send [16:44:07]OFD Sender: No OFD packet to send [16:44:12]OFD Sender: No OFD packet to send [16:44:17]OFD Sender: No OFD packet to send [16:44:22]OFD Sender: No OFD packet to send [16:44:27]OFD Sender: No OFD packet to send [16:44:32]OFD Sender: No OFD packet to send [16:44:37]OFD Sender: No OFD packet to send [16:44:42]OFD Sender: No OFD packet to send [16:44:47]OFD Sender: No OFD packet to send [16:44:52]OFD Sender: No OFD packet to send [16:44:57]OFD Sender: No OFD packet to send [16:45:02]OFD Sender: No OFD packet to send [16:45:07]OFD Sender: No OFD packet to send [16:45:12]OFD Sender: No OFD packet to send [16:45:17]OFD Sender: No OFD packet to send [16:45:22]OFD Sender: No OFD packet to send [16:45:27]OFD Sender: No OFD packet to send [16:45:32]OFD Sender: No OFD packet to send [16:45:37]OFD Sender: No OFD packet to send [16:45:42]OFD Sender: No OFD packet to send [16:45:47]OFD Sender: No OFD packet to send [16:45:52]OFD Sender: No OFD packet to send [16:45:57]OFD Sender: No OFD packet to send [16:46:02]OFD Sender: No OFD packet to send [16:46:07]OFD Sender: No OFD packet to send [16:46:12]OFD Sender: No OFD packet to send [16:46:17]OFD Sender: No OFD packet to send [16:46:22]OFD Sender: No OFD packet to send [16:46:27]OFD Sender: No OFD packet to send [16:46:32]OFD Sender: No OFD packet to send [16:46:37]OFD Sender: No OFD packet to send [16:46:42]OFD Sender: No OFD packet to send [16:46:47]OFD Sender: No OFD packet to send [16:46:52]OFD Sender: No OFD packet to send [16:46:57]OFD Sender: No OFD packet to send [16:47:02]OFD Sender: No OFD packet to send [16:47:07]OFD Sender: No OFD packet to send [16:47:12]OFD Sender: No OFD packet to send [16:47:17]OFD Sender: No OFD packet to send [16:47:22]OFD Sender: No OFD packet to send [16:47:27]OFD Sender: No OFD packet to send [16:47:32]OFD Sender: No OFD packet to send [16:47:37]OFD Sender: No OFD packet to send [16:47:42]OFD Sender: No OFD packet to send [16:47:47]OFD Sender: No OFD packet to send [16:47:52]OFD Sender: No OFD packet to send [16:47:57]OFD Sender: No OFD packet to send [16:48:02]OFD Sender: No OFD packet to send [16:48:07]OFD Sender: No OFD packet to send [16:48:12]OFD Sender: No OFD packet to send [16:48:17]OFD Sender: No OFD packet to send [16:48:22]OFD Sender: No OFD packet to send [16:48:27]OFD Sender: No OFD packet to send [16:48:32]OFD Sender: No OFD packet to send [16:48:37]OFD Sender: No OFD packet to send [16:48:42]OFD Sender: No OFD packet to send [16:48:47]OFD Sender: No OFD packet to send [16:48:52]OFD Sender: No OFD packet to send [16:48:57]OFD Sender: No OFD packet to send [16:49:02]OFD Sender: No OFD packet to send [16:49:07]OFD Sender: No OFD packet to send [16:49:12]OFD Sender: No OFD packet to send [16:49:17]OFD Sender: No OFD packet to send [16:49:22]OFD Sender: No OFD packet to send [16:49:27]OFD Sender: No OFD packet to send [16:49:32]OFD Sender: No OFD packet to send [16:49:37]OFD Sender: No OFD packet to send [16:49:42]OFD Sender: No OFD packet to send [16:49:47]OFD Sender: No OFD packet to send [16:49:52]OFD Sender: No OFD packet to send [16:49:57]OFD Sender: No OFD packet to send [16:50:02]OFD Sender: No OFD packet to send [16:50:07]OFD Sender: No OFD packet to send [16:50:12]OFD Sender: No OFD packet to send [16:50:17]OFD Sender: No OFD packet to send [16:50:22]OFD Sender: No OFD packet to send [16:50:27]OFD Sender: No OFD packet to send [16:50:32]OFD Sender: No OFD packet to send [16:50:37]OFD Sender: No OFD packet to send [16:50:42]OFD Sender: No OFD packet to send [16:50:47]OFD Sender: No OFD packet to send [16:50:52]OFD Sender: No OFD packet to send [16:50:57]OFD Sender: No OFD packet to send [16:51:02]OFD Sender: No OFD packet to send [16:51:07]OFD Sender: No OFD packet to send [16:51:12]OFD Sender: No OFD packet to send [16:51:17]OFD Sender: No OFD packet to send [16:51:22]OFD Sender: No OFD packet to send [16:51:27]OFD Sender: No OFD packet to send [16:51:32]OFD Sender: No OFD packet to send [16:51:37]OFD Sender: No OFD packet to send [16:51:42]OFD Sender: No OFD packet to send [16:51:47]OFD Sender: No OFD packet to send [16:51:52]OFD Sender: No OFD packet to send [16:51:57]OFD Sender: No OFD packet to send [16:52:02]OFD Sender: No OFD packet to send [16:52:07]OFD Sender: No OFD packet to send [16:52:12]OFD Sender: No OFD packet to send [16:52:17]OFD Sender: No OFD packet to send [16:52:22]OFD Sender: No OFD packet to send [16:52:27]OFD Sender: No OFD packet to send [16:52:32]OFD Sender: No OFD packet to send [16:52:37]OFD Sender: No OFD packet to send [16:52:42]OFD Sender: No OFD packet to send [16:52:47]OFD Sender: No OFD packet to send [16:52:52]OFD Sender: No OFD packet to send [16:52:57]OFD Sender: No OFD packet to send [16:53:02]OFD Sender: No OFD packet to send [16:53:07]OFD Sender: No OFD packet to send [16:53:12]OFD Sender: No OFD packet to send [16:53:18]OFD Sender: No OFD packet to send [16:53:23]OFD Sender: No OFD packet to send [16:53:28]OFD Sender: No OFD packet to send [16:53:33]OFD Sender: No OFD packet to send [16:53:38]OFD Sender: No OFD packet to send [16:53:43]OFD Sender: No OFD packet to send [16:53:48]OFD Sender: No OFD packet to send [16:53:53]OFD Sender: No OFD packet to send [16:53:58]OFD Sender: No OFD packet to send [16:54:03]OFD Sender: No OFD packet to send [16:54:08]OFD Sender: No OFD packet to send [16:54:13]OFD Sender: No OFD packet to send [16:54:18]OFD Sender: No OFD packet to send [16:54:23]OFD Sender: No OFD packet to send [16:54:28]OFD Sender: No OFD packet to send [16:54:33]OFD Sender: No OFD packet to send [16:54:38]OFD Sender: No OFD packet to send [16:54:43]OFD Sender: No OFD packet to send [16:54:48]OFD Sender: No OFD packet to send [16:54:53]OFD Sender: No OFD packet to send [16:54:58]OFD Sender: No OFD packet to send [16:55:03]OFD Sender: No OFD packet to send [16:55:08]OFD Sender: No OFD packet to send [16:55:13]OFD Sender: No OFD packet to send [16:55:18]OFD Sender: No OFD packet to send [16:55:23]OFD Sender: No OFD packet to send [16:55:28]OFD Sender: No OFD packet to send [16:55:33]OFD Sender: No OFD packet to send [16:55:38]OFD Sender: No OFD packet to send [16:55:43]OFD Sender: No OFD packet to send [16:55:48]OFD Sender: No OFD packet to send [16:55:53]OFD Sender: No OFD packet to send [16:55:58]OFD Sender: No OFD packet to send [16:56:03]OFD Sender: No OFD packet to send [16:56:08]OFD Sender: No OFD packet to send [16:56:13]OFD Sender: No OFD packet to send [16:56:18]OFD Sender: No OFD packet to send [16:56:23]OFD Sender: No OFD packet to send [16:56:28]OFD Sender: No OFD packet to send [16:56:33]OFD Sender: No OFD packet to send [16:56:38]OFD Sender: No OFD packet to send [16:56:43]OFD Sender: No OFD packet to send [16:56:48]OFD Sender: No OFD packet to send [16:56:53]OFD Sender: No OFD packet to send [16:56:58]OFD Sender: No OFD packet to send [16:57:03]OFD Sender: No OFD packet to send [16:57:08]OFD Sender: No OFD packet to send [16:57:13]OFD Sender: No OFD packet to send [16:57:18]OFD Sender: No OFD packet to send [16:57:23]OFD Sender: No OFD packet to send [16:57:28]OFD Sender: No OFD packet to send [16:57:33]OFD Sender: No OFD packet to send [16:57:38]OFD Sender: No OFD packet to send [16:57:43]OFD Sender: No OFD packet to send [16:57:48]OFD Sender: No OFD packet to send [16:57:53]OFD Sender: No OFD packet to send [16:57:58]OFD Sender: No OFD packet to send [16:58:03]OFD Sender: No OFD packet to send [16:58:08]OFD Sender: No OFD packet to send [16:58:13]OFD Sender: No OFD packet to send [16:58:18]OFD Sender: No OFD packet to send [16:58:23]OFD Sender: No OFD packet to send [16:58:28]OFD Sender: No OFD packet to send [16:58:33]OFD Sender: No OFD packet to send [16:58:38]OFD Sender: No OFD packet to send [16:58:43]OFD Sender: No OFD packet to send [16:58:48]OFD Sender: No OFD packet to send [16:58:53]OFD Sender: No OFD packet to send [16:58:58]OFD Sender: No OFD packet to send [16:59:03]OFD Sender: No OFD packet to send [16:59:08]OFD Sender: No OFD packet to send [16:59:13]OFD Sender: No OFD packet to send [16:59:18]OFD Sender: No OFD packet to send [16:59:23]OFD Sender: No OFD packet to send [16:59:28]OFD Sender: No OFD packet to send [16:59:33]OFD Sender: No OFD packet to send [16:59:38]OFD Sender: No OFD packet to send [16:59:43]OFD Sender: No OFD packet to send [16:59:48]OFD Sender: No OFD packet to send [16:59:53]OFD Sender: No OFD packet to send [16:59:58]OFD Sender: No OFD packet to send [17:00:03]OFD Sender: No OFD packet to send [17:00:08]OFD Sender: No OFD packet to send [17:00:13]OFD Sender: No OFD packet to send [17:00:18]OFD Sender: No OFD packet to send [17:00:23]OFD Sender: No OFD packet to send [17:00:28]OFD Sender: No OFD packet to send [17:00:33]OFD Sender: No OFD packet to send [17:00:38]OFD Sender: No OFD packet to send [17:00:43]OFD Sender: No OFD packet to send [17:00:48]OFD Sender: No OFD packet to send [17:00:53]OFD Sender: No OFD packet to send [17:00:58]OFD Sender: No OFD packet to send [17:01:03]OFD Sender: No OFD packet to send [17:01:08]OFD Sender: No OFD packet to send [17:01:13]OFD Sender: No OFD packet to send [17:01:18]OFD Sender: No OFD packet to send [17:01:21]accept exits with 9 [17:01:21]New connection [17:01:21]New thread 3067014500 created [17:01:21]Thread 3066871140 joined [17:01:21]Waiting for new connection... [17:01:21] Sock 9.Parse request [17:01:21]Sock 9.Check first char [17:01:21]Sock 9.First char is OK [17:01:21]request: POST /json_proto HTTP/1.0 [17:01:21]Method: POST [17:01:21]URL: /json_proto [17:01:21]Method is POST - this is cgi request [17:01:21]url: /json_proto [17:01:21]query_string will be loaded in cgi processing [17:01:21]execute_cgi json_proto POST (null) [17:01:21]execute_cgi path=json_proto method=POST [17:01:21]POST find Content-Length [17:01:21]Host: 172.17.35.3:8080 [17:01:21]Content-Length: 824 [17:01:21]Content-Type: application/json [17:01:21] [17:01:21]POST finish read [17:01:21]Found Content-Length = 824 [17:01:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359497", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "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" : 1000.17 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:01:21]execute_script... [17:01: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 : (1)359497", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "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" : 1000.17 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:01:21]POST & json_proto [17:01:21]process_json_proto [17:01:21]json parsed OK: [17:01:21]protocol is kg_v1.0 [17:01:21]action value=close_receipt [17:01:21]process_action close_receipt [17:01:21]cmd_close_receipt [17:01:21]MH_GetDate [17:01:21]Write to MH i2c: F0 00 00 6B 28 82 [17:01:21]Write i2c OK [17:01:21]MH_I2C_Read... [17:01:21]Read from MH i2c: F0 [17:01:21]MH_I2C_Read... [17:01:21]Read from MH i2c: F0 09 00 [17:01:21]MH_I2C_Read... [17:01:21]Read from MH i2c: F0 09 00 6B 28 00 6C D1 12 66 2B 11 66 64 46 [17:01:21]GetLastDocTimeStamp 1712507769 [17:01:21]current date 1712509292 [17:01:21]FM_GetShiftState [17:01:21]SAM_PROTO_GetShiftState [17:01:21]wFMCommunicate request_size=4 [17:01:21]MH_SAM_APDU [17:01:21]CAPDU: 80 13 01 00 [17:01:21]Write to MH i2c: E2 08 00 6C 28 80 13 01 00 00 00 00 00 11 [17:01:21]Write i2c OK [17:01:21]MH_I2C_Read... [17:01:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:01:22]Read from MH i2c: E2 [17:01:22]MH_I2C_Read... [17:01:22]Read from MH i2c: E2 0E 00 [17:01:22]MH_I2C_Read... [17:01:22]Read from MH i2c: E2 0E 00 6C 28 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 A5 [17:01:22]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [17:01:22]wFMCommunicate OK [17:01:22]SAM_PROTO_GetShiftState done [17:01:22]FM_GetShiftState done [17:01:22]opened in 1712450087 [17:01:22]opened+sec_in_day 1712536487 [17:01:22]quantity*price = 100017 [17:01:22]sum+1 = 100018 [17:01:22]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.17 НСП 1% : 8.85 НДС 12% : 106.21 Наличными: 0.00 Безнал.: 1000.17 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 53 07.04.2024 17:01 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000874657 ФД: 26754 ФПД: 24943689608357 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T170132&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26754&fm=24943689608357&tin=02508201610067®Number=0000000000091578&sum=100017 [17:01:23]StoreToDocumentArchive [17:01:23]shift 313 fd 26754 [17:01:23]save to /storage/0313/doc_00026754 [17:01:23]save last doc name /storage/0313/doc_00026754 to /storage/kkm_last_doc_name [17:01:23]save OK [17:01:23]Clear old archive folders... [17:01:23]ProcessDocumentItem done err = 0, tmpTLVsize=252 [17:01:23]tlvbuf is 00EE39B0 [17:01:23]SAM_PROTO_ClearQueue [17:01:23]wFMCommunicate request_size=4 [17:01:23]MH_SAM_APDU [17:01:23]CAPDU: 80 09 00 00 [17:01:23]Write to MH i2c: E2 08 00 79 28 80 09 00 00 00 00 00 00 13 [17:01:23]Write i2c OK [17:01:23]MH_I2C_Read... [17:01:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:01:23]Read from MH i2c: E2 [17:01:23]MH_I2C_Read... [17:01:23]Read from MH i2c: E2 03 00 [17:01:23]MH_I2C_Read... [17:01:23]Read from MH i2c: E2 03 00 79 28 00 90 00 15 [17:01:23]RAPDU: 90 00 [17:01:23]wFMCommunicate OK [17:01:23]SAM_PROTO_ClearQueue done [17:01:23]KKMCreateOFDPacket [17:01:23]OFDProtocolAddRootSTLVToBuf [17:01:23]FM_MakeSignedData [17:01:23]FM_MakeSignedData [17:01:23]SAM_PROTO_SignData [17:01:23]wFMCommunicate request_size=4 [17:01:23]MH_SAM_APDU [17:01:23]CAPDU: 80 0D 01 02 [17:01:23]Write to MH i2c: E2 08 00 7A 28 80 0D 01 02 00 00 00 00 1B [17:01:23]Write i2c OK [17:01:23]MH_I2C_Read... [17:01:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:01:23]Read from MH i2c: E2 [17:01:23]MH_I2C_Read... [17:01:23]Read from MH i2c: E2 03 00 [17:01:23]MH_I2C_Read... [17:01:23]Read from MH i2c: E2 03 00 7A 28 00 90 00 16 [17:01:23]RAPDU: 90 00 [17:01:23]wFMCommunicate OK [17:01:23]wFMCommunicate request_size=255 [17:01:23]MH_SAM_APDU [17:01:23]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 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 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 6C D1 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 82 68 00 00 35 04 06 00 [17:01:23]Write to MH i2c: E2 02 01 7B 28 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 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 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 6C D1 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 82 68 00 00 35 04 06 00 00 00 06 [17:01:23]Write i2c OK [17:01:23]MH_I2C_Read... [17:01:23]OFD Sender: No OFD packet to send [17:01:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:01:23]Read from MH i2c: E2 [17:01:23]MH_I2C_Read... [17:01:23]Read from MH i2c: E2 03 00 [17:01:23]MH_I2C_Read... [17:01:23]Read from MH i2c: E2 03 00 7B 28 00 90 00 17 [17:01:23]RAPDU: 90 00 [17:01:23]wFMCommunicate OK [17:01:23]wFMCommunicate request_size=11 [17:01:23]MH_SAM_APDU [17:01:23]CAPDU: 80 0D 02 02 06 16 AF A7 C2 2C A5 [17:01:23]Write to MH i2c: E2 0E 00 7C 28 80 0D 02 02 06 00 16 AF A7 C2 2C A5 00 00 29 [17:01:23]Write i2c OK [17:01:23]MH_I2C_Read... [17:01:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:01:23]Read from MH i2c: E2 [17:01:23]MH_I2C_Read... [17:01:23]Read from MH i2c: E2 03 00 [17:01:23]MH_I2C_Read... [17:01:23]Read from MH i2c: E2 03 00 7C 28 00 90 00 18 [17:01:23]RAPDU: 90 00 [17:01:23]wFMCommunicate OK [17:01:23]wFMCommunicate request_size=4 [17:01:23]MH_SAM_APDU [17:01:23]CAPDU: 80 0D 03 02 [17:01:23]Write to MH i2c: E2 08 00 7D 28 80 0D 03 02 00 00 00 00 20 [17:01:23]Write i2c OK [17:01:23]MH_I2C_Read... [17:01:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:01:23]Read from MH i2c: E2 [17:01:23]MH_I2C_Read... [17:01:23]Read from MH i2c: E2 0B 00 [17:01:23]MH_I2C_Read... [17:01:23]Read from MH i2c: E2 0B 00 7D 28 00 FD 7E 89 9D 27 25 6F CF 90 00 4C [17:01:23]RAPDU: FD 7E 89 9D 27 25 6F CF 90 00 [17:01:23]wFMCommunicate OK [17:01:23]SAM_PROTO_SignData done [17:01:23]FM_MakeSignedData done [17:01:23]CreateOFDProtocolMessage [17:01:23]wFMCommunicate request_size=4 [17:01:23]MH_SAM_APDU [17:01:23]CAPDU: 80 11 00 00 [17:01:23]Write to MH i2c: E2 08 00 7E 28 80 11 00 00 00 00 00 00 20 [17:01:23]Write i2c OK [17:01:23]MH_I2C_Read... [17:01:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:01:23]Read from MH i2c: E2 [17:01:23]MH_I2C_Read... [17:01:23]Read from MH i2c: E2 17 00 [17:01:23]MH_I2C_Read... [17:01:23]Read from MH i2c: E2 17 00 7E 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 78 [17:01:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [17:01:23]wFMCommunicate OK [17:01:23]CreateOFDProtocolMessage done [17:01:23]OFDSenderStorePacket 26754 [17:01:23]StoreOFDPacket docnum=26754 [17:01:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 76 90 08 01 F6 C4 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 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 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 6C D1 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 82 68 00 00 35 04 06 00 16 AF A7 C2 2C A5 FD 7E 89 9D 27 25 6F CF [17:01:23]CheckFolder [17:01:23]dirname=/storage/ofd_packets [17:01:23]CheckFolder done [17:01:23]ProducePacketName [17:01:23]name=ofd_packets/00026754 [17:01:23]NVStorageSaveData ofd_packets/00026754 [17:01:23]File name is /storage/ofd_packets/00026754 [17:01:23]Write 302 bytes [17:01:23]NVStorageSaveData done [17:01:23]OFDSenderStorePacket done [17:01:23]KKMCreateOFDPacket done [17:01:23]NVStorageSaveData kkm_last_timestamp [17:01:23]File name is /storage/kkm_last_timestamp [17:01:23]Write 4 bytes [17:01:23]NVStorageSaveData done [17:01:23]ExternCall_PrintAddStr [17:01:23]wPrintStart [17:01:23]Write to MH i2c: 01 00 00 7F 28 A7 [17:01:23]Write i2c OK [17:01:23]MH_I2C_Read... [17:01:23]Read from MH i2c: 01 [17:01:23]MH_I2C_Read... [17:01:23]Read from MH i2c: 01 07 00 [17:01:23]MH_I2C_Read... [17:01:23]Read from MH i2c: 01 07 00 7F 28 00 00 00 00 00 FF 0F BC [17:01:23]RasterBufferAndPrint [17:01:23]line Счет N : (1)359497 [17:01:23]line ИНН: 02508201610067 [17:01:23]line Контрольно-Кассовый Чек [17:01:23]line ПРОДАЖА [17:01:23]line ТРК (МРК, ГНК) : 21 [17:01:23]line Товар: 2710194210 [17:01:23]line ДТ(л)-К-5 [17:01:23]line 13.930 * 71.80 [17:01:23]line = 1000.17 [17:01:23]line НДС 12% НСП 1% [17:01:23]line > о реализуемом товаре [17:01:23]line ИТОГО: 1000.17 [17:01:23]line НСП 1% : 8.85 [17:01:23]line НДС 12% : 106.21 [17:01:23]line Наличными: 0.00 [17:01:23]line Безнал.: 1000.17 [17:01:23]line Место: АЗС № 122 "Партнер Нефть" [17:01:23]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [17:01:23]line СНО: Общий режим [17:01:23]line Чек 53 07.04.2024 17:01 [17:01:23]line Смена: 313 ФФД: 1.0 [17:01:23]line ЗНМ: 0300000147 [17:01:23]line РНМ: 0000000000091578 [17:01:23]line Версия ККМ: 001 [17:01:23]line Платежная система: Бакай Банк [17:01:23]line ФМ: 0000000000874657 [17:01:23]line ФД: 26754 [17:01:23]line ФПД: 24943689608357 [17:01:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T170132&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26754&fm=24943689608357&tin=02508201610067®Number=0000000000091578&sum=100017 [17:01:24]OFD Sender: Processing packet 26754 [packets to send 44, broken 43] [17:01:24]ProducePacketName [17:01:24]name=ofd_packets/00026754 [17:01:24]OFD Sender: To server: pG, [17:01:24]CommunicateWithHost lk.salyk.kg:30040 [17:01:24]ConnectInit lk.salyk.kg [17:01:24]written 0, free lines is 4095 [17:01:24]Connected sock=10 [17:01: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 36 35 37 10 01 00 00 76 90 08 01 F6 C4 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 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 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 6C D1 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 82 68 00 00 35 04 06 00 16 AF A7 C2 2C A5 FD 7E 89 9D 27 25 6F CF [17:01:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 FD EC 47 00 64 31 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 37 10 04 04 00 82 68 00 00 F4 03 04 00 D8 78 12 66 B6 04 01 00 00 1E 71 EE 34 64 45 95 17 [17:01:24]CommunicateWithHost err = 0 [17:01:24]CheckOFDResponse [17:01:24]1017 (14) - 77093643461234 [17:01:24]1041 (16) - 0000000000874657 [17:01:24]1040 (4) - 26754 [17:01:24]1012 (4) - 07.04.2024 10:43 [17:01:24]1206 (1) - 0 [17:01:24]OFD Sender: Remove packet 26754 [17:01:24]ProducePacketName [17:01:24]name=ofd_packets/00026754 [17:01:24]NVStorageDeleteData [17:01:24]Write to MH i2c: 01 00 00 A9 28 D1 [17:01:24]Write i2c OK [17:01:24]MH_I2C_Read... [17:01:24]Read from MH i2c: 01 [17:01:24]MH_I2C_Read... [17:01:24]Read from MH i2c: 01 07 00 [17:01:24]MH_I2C_Read... [17:01:24]Read from MH i2c: 01 07 00 A9 28 00 00 00 00 00 82 0C 66 [17:01:24]RasterBufferAndPrint [17:01:24]line [17:01:24]line [17:01:24]line [17:01:24]line [17:01:24]line [17:01:24]written 0, free lines is 3206 [17:01:24]MH_Cut [17:01:24]Write to MH i2c: D1 01 00 B0 28 01 AA [17:01:24]Write i2c OK [17:01:24]MH_I2C_Read... [17:01:24]Read from MH i2c: D1 [17:01:24]MH_I2C_Read... [17:01:24]Read from MH i2c: D1 01 00 [17:01:24]MH_I2C_Read... [17:01:24]Read from MH i2c: D1 01 00 B0 28 00 A9 [17:01:24]Write to MH i2c: 01 00 00 B1 28 D9 [17:01:24]Write i2c OK [17:01:24]MH_I2C_Read... [17:01:24]OFD Sender: No OFD packet to send [17:01:25]*** Cut start [17:01:25]*** Partial cut [17:01:25]*** CUTSNS_PIN = 1 [17:01:25]*** CUTSNS_PIN = 0 [17:01:25]*** Brake cut motor [17:01:26]Read from MH i2c: 01 [17:01:26]MH_I2C_Read... [17:01:26]*** Stop cut motor [17:01:26]*** Cut end [17:01:26]Read from MH i2c: 01 07 00 [17:01:26]MH_I2C_Read... [17:01:26]Read from MH i2c: 01 07 00 B1 28 00 00 00 00 00 FF 0F EE [17:01:26]process_action close_receipt done [17:01:26]requested_data is exist [17:01:26]produce_requested_data [17:01:26]requested_item fm.sn is exist - process it [17:01:26]wFMCommunicate request_size=4 [17:01:26]MH_SAM_APDU [17:01:26]CAPDU: 80 11 00 00 [17:01:26]Write to MH i2c: E2 08 00 B2 28 80 11 00 00 00 00 00 00 54 [17:01:26]Write i2c OK [17:01:26]MH_I2C_Read... [17:01:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:01:26]Read from MH i2c: E2 [17:01:26]MH_I2C_Read... [17:01:26]Read from MH i2c: E2 17 00 [17:01:26]MH_I2C_Read... [17:01:26]Read from MH i2c: E2 17 00 B2 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 AC [17:01:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [17:01:26]wFMCommunicate OK [17:01:26]requested_item fd.num is exist - process it [17:01:26]SAM_PROTO_GetFieldsCounters [17:01:26]wFMCommunicate request_size=4 [17:01:26]MH_SAM_APDU [17:01:26]CAPDU: 80 13 00 00 [17:01:26]Write to MH i2c: E2 08 00 B3 28 80 13 00 00 00 00 00 00 57 [17:01:26]Write i2c OK [17:01:26]MH_I2C_Read... [17:01:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:01:26]Read from MH i2c: E2 [17:01:26]MH_I2C_Read... [17:01:26]Read from MH i2c: E2 62 00 [17:01:26]MH_I2C_Read... [17:01:26]Read from MH i2c: E2 62 00 B3 28 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 82 68 00 00 0E 04 04 00 39 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 45 [17:01: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 82 68 00 00 0E 04 04 00 39 01 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:01:26]wFMCommunicate OK [17:01:26]SAM_PROTO_GetFieldsCounters done [17:01:26]requested_item shift.num is exist - process it [17:01:26]requested_item shift.opened is exist - process it [17:01:26]req_shift_opened [17:01:26]FM_GetShiftState [17:01:26]SAM_PROTO_GetShiftState [17:01:26]wFMCommunicate request_size=4 [17:01:26]MH_SAM_APDU [17:01:26]CAPDU: 80 13 01 00 [17:01:26]Write to MH i2c: E2 08 00 B4 28 80 13 01 00 00 00 00 00 59 [17:01:26]Write i2c OK [17:01:26]MH_I2C_Read... [17:01:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:01:26]Read from MH i2c: E2 [17:01:26]MH_I2C_Read... [17:01:26]Read from MH i2c: E2 0E 00 [17:01:26]MH_I2C_Read... [17:01:26]Read from MH i2c: E2 0E 00 B4 28 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 ED [17:01:26]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [17:01:26]wFMCommunicate OK [17:01:26]SAM_PROTO_GetShiftState done [17:01:26]FM_GetShiftState done [17:01:26]req_shift_opened done [17:01:26]requested_item shift.open_date is exist - process it [17:01:26]req_shift_open_date [17:01:26]req_shift_open_date done [17:01:26]produce_requested_data done [17:01:26]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26754,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [17:01:26]process_action_free close_receipt [17:01:26]json_value_free [17:01:26]json_value_free done [17:01:26]process_json_proto returns [17:01:26]Send response to host [17:01:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26754,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [17:01:26]free response buf [17:01:26]execute_script done [17:01:26]execute_script returns [17:01:26]free content buf [17:01:26]Sock 9.Close socket [17:01:26]Sock 9.Thread stoped [17:01:29]OFD Sender: No OFD packet to send [17:01:34]OFD Sender: No OFD packet to send [17:01:39]OFD Sender: No OFD packet to send [17:01:44]OFD Sender: No OFD packet to send [17:01:49]OFD Sender: No OFD packet to send [17:01:54]OFD Sender: No OFD packet to send [17:01:59]OFD Sender: No OFD packet to send [17:02:04]OFD Sender: No OFD packet to send [17:02:09]OFD Sender: No OFD packet to send [17:02:14]OFD Sender: No OFD packet to send [17:02:19]OFD Sender: No OFD packet to send [17:02:24]OFD Sender: No OFD packet to send [17:02:29]OFD Sender: No OFD packet to send [17:02:34]OFD Sender: No OFD packet to send [17:02:39]OFD Sender: No OFD packet to send [17:02:44]OFD Sender: No OFD packet to send [17:02:49]OFD Sender: No OFD packet to send [17:02:54]OFD Sender: No OFD packet to send [17:02:59]OFD Sender: No OFD packet to send [17:03:04]OFD Sender: No OFD packet to send [17:03:09]OFD Sender: No OFD packet to send [17:03:14]OFD Sender: No OFD packet to send [17:03:19]OFD Sender: No OFD packet to send [17:03:24]OFD Sender: No OFD packet to send [17:03:29]OFD Sender: No OFD packet to send [17:03:34]OFD Sender: No OFD packet to send [17:03:39]OFD Sender: No OFD packet to send [17:03:44]OFD Sender: No OFD packet to send [17:03:49]OFD Sender: No OFD packet to send [17:03:54]OFD Sender: No OFD packet to send [17:03:59]OFD Sender: No OFD packet to send [17:04:04]OFD Sender: No OFD packet to send [17:04:09]OFD Sender: No OFD packet to send [17:04:14]OFD Sender: No OFD packet to send [17:04:19]OFD Sender: No OFD packet to send [17:04:24]OFD Sender: No OFD packet to send [17:04:29]OFD Sender: No OFD packet to send [17:04:34]OFD Sender: No OFD packet to send [17:04:39]OFD Sender: No OFD packet to send [17:04:44]OFD Sender: No OFD packet to send [17:04:49]OFD Sender: No OFD packet to send [17:04:54]OFD Sender: No OFD packet to send [17:04:59]OFD Sender: No OFD packet to send [17:05:04]OFD Sender: No OFD packet to send [17:05:09]OFD Sender: No OFD packet to send [17:05:14]OFD Sender: No OFD packet to send [17:05:20]OFD Sender: No OFD packet to send [17:05:25]OFD Sender: No OFD packet to send [17:05:30]OFD Sender: No OFD packet to send [17:05:35]OFD Sender: No OFD packet to send [17:05:40]OFD Sender: No OFD packet to send [17:05:45]OFD Sender: No OFD packet to send [17:05:50]OFD Sender: No OFD packet to send [17:05:55]OFD Sender: No OFD packet to send [17:06:00]OFD Sender: No OFD packet to send [17:06:05]OFD Sender: No OFD packet to send [17:06:10]OFD Sender: No OFD packet to send [17:06:15]OFD Sender: No OFD packet to send [17:06:20]OFD Sender: No OFD packet to send [17:06:25]OFD Sender: No OFD packet to send [17:06:30]OFD Sender: No OFD packet to send [17:06:35]OFD Sender: No OFD packet to send [17:06:40]OFD Sender: No OFD packet to send [17:06:45]OFD Sender: No OFD packet to send [17:06:50]OFD Sender: No OFD packet to send [17:06:55]OFD Sender: No OFD packet to send [17:07:00]OFD Sender: No OFD packet to send [17:07:05]OFD Sender: No OFD packet to send [17:07:10]OFD Sender: No OFD packet to send [17:07:15]OFD Sender: No OFD packet to send [17:07:20]OFD Sender: No OFD packet to send [17:07:25]OFD Sender: No OFD packet to send [17:07:30]OFD Sender: No OFD packet to send [17:07:35]OFD Sender: No OFD packet to send [17:07:40]OFD Sender: No OFD packet to send [17:07:45]OFD Sender: No OFD packet to send [17:07:50]OFD Sender: No OFD packet to send [17:07:55]OFD Sender: No OFD packet to send [17:08:00]OFD Sender: No OFD packet to send [17:08:05]OFD Sender: No OFD packet to send [17:08:10]OFD Sender: No OFD packet to send [17:08:15]OFD Sender: No OFD packet to send [17:08:20]OFD Sender: No OFD packet to send [17:08:25]OFD Sender: No OFD packet to send [17:08:30]OFD Sender: No OFD packet to send [17:08:35]OFD Sender: No OFD packet to send [17:08:40]OFD Sender: No OFD packet to send [17:08:45]OFD Sender: No OFD packet to send [17:08:50]OFD Sender: No OFD packet to send [17:08:55]OFD Sender: No OFD packet to send [17:09:00]OFD Sender: No OFD packet to send [17:09:05]OFD Sender: No OFD packet to send [17:09:10]OFD Sender: No OFD packet to send [17:09:15]OFD Sender: No OFD packet to send [17:09:20]OFD Sender: No OFD packet to send [17:09:25]OFD Sender: No OFD packet to send [17:09:30]OFD Sender: No OFD packet to send [17:09:34]accept exits with 8 [17:09:34]New connection [17:09:34]New thread 3066871140 created [17:09:34]Thread 3067014500 joined [17:09:34]Waiting for new connection... [17:09:34] Sock 8.Parse request [17:09:34]Sock 8.Check first char [17:09:34]Sock 8.First char is OK [17:09:34]request: POST /json_proto HTTP/1.0 [17:09:34]Method: POST [17:09:34]URL: /json_proto [17:09:34]Method is POST - this is cgi request [17:09:34]url: /json_proto [17:09:34]query_string will be loaded in cgi processing [17:09:34]execute_cgi json_proto POST (null) [17:09:34]execute_cgi path=json_proto method=POST [17:09:34]POST find Content-Length [17:09:34]Host: 172.17.35.3:8080 [17:09:34]Content-Length: 677 [17:09:34]Content-Type: application/json [17:09:34] [17:09:34]POST finish read [17:09:34]Found Content-Length = 677 [17:09:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359498", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 3.950, "sum" : 250.43, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 250.00, "total" : 250.00, "payments": [ { "type": 0, "sum" : 250.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:09:34]execute_script... [17:09: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 : (1)359498", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 3.950, "sum" : 250.43, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 250.00, "total" : 250.00, "payments": [ { "type": 0, "sum" : 250.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:09:34]POST & json_proto [17:09:34]process_json_proto [17:09:34]json parsed OK: [17:09:34]protocol is kg_v1.0 [17:09:34]action value=close_receipt [17:09:34]process_action close_receipt [17:09:34]cmd_close_receipt [17:09:34]MH_GetDate [17:09:34]Write to MH i2c: F0 00 00 B5 28 CC [17:09:34]Write i2c OK [17:09:34]MH_I2C_Read... [17:09:34]Read from MH i2c: F0 [17:09:34]MH_I2C_Read... [17:09:34]Read from MH i2c: F0 09 00 [17:09:34]MH_I2C_Read... [17:09:34]Read from MH i2c: F0 09 00 B5 28 00 58 D3 12 66 2B 11 66 64 7E [17:09:34]GetLastDocTimeStamp 1712509292 [17:09:34]current date 1712509784 [17:09:34]FM_GetShiftState [17:09:34]SAM_PROTO_GetShiftState [17:09:34]wFMCommunicate request_size=4 [17:09:34]MH_SAM_APDU [17:09:34]CAPDU: 80 13 01 00 [17:09:34]Write to MH i2c: E2 08 00 B6 28 80 13 01 00 00 00 00 00 5B [17:09:34]Write i2c OK [17:09:34]MH_I2C_Read... [17:09:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:09:34]Read from MH i2c: E2 [17:09:34]MH_I2C_Read... [17:09:34]Read from MH i2c: E2 0E 00 [17:09:34]MH_I2C_Read... [17:09:34]Read from MH i2c: E2 0E 00 B6 28 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 EF [17:09:34]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [17:09:34]wFMCommunicate OK [17:09:34]SAM_PROTO_GetShiftState done [17:09:34]FM_GetShiftState done [17:09:34]opened in 1712450087 [17:09:34]opened+sec_in_day 1712536487 [17:09:34]quantity*price = 25043 [17:09:34]sum+1 = 25044 [17:09:34]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.43 ИТОГО: 250.00 Внесено: 250.00 СДАЧА: 0.00 НСП 1% : 2.22 НДС 12% : 26.59 Наличными: 250.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 54 07.04.2024 17:09 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26755 ФПД: 225099771422043 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T170944&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26755&fm=225099771422043&tin=02508201610067®Number=0000000000091578&sum=25000 [17:09:35]StoreToDocumentArchive [17:09:35]shift 313 fd 26755 [17:09:35]save to /storage/0313/doc_00026755 [17:09:35]save last doc name /storage/0313/doc_00026755 to /storage/kkm_last_doc_name [17:09:35]save OK [17:09:35]Clear old archive folders... [17:09:35]ProcessDocumentItem done err = 0, tmpTLVsize=251 [17:09:35]tlvbuf is 00E9A5D0 [17:09:35]SAM_PROTO_ClearQueue [17:09:35]wFMCommunicate request_size=4 [17:09:35]MH_SAM_APDU [17:09:35]CAPDU: 80 09 00 00 [17:09:35]Write to MH i2c: E2 08 00 C3 28 80 09 00 00 00 00 00 00 5D [17:09:35]Write i2c OK [17:09:35]MH_I2C_Read... [17:09:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:09:35]Read from MH i2c: E2 [17:09:35]MH_I2C_Read... [17:09:35]Read from MH i2c: E2 03 00 [17:09:35]MH_I2C_Read... [17:09:35]Read from MH i2c: E2 03 00 C3 28 00 90 00 5F [17:09:35]RAPDU: 90 00 [17:09:35]wFMCommunicate OK [17:09:35]SAM_PROTO_ClearQueue done [17:09:35]KKMCreateOFDPacket [17:09:35]OFDProtocolAddRootSTLVToBuf [17:09:35]FM_MakeSignedData [17:09:35]FM_MakeSignedData [17:09:35]SAM_PROTO_SignData [17:09:35]wFMCommunicate request_size=4 [17:09:35]MH_SAM_APDU [17:09:35]CAPDU: 80 0D 01 02 [17:09:35]Write to MH i2c: E2 08 00 C4 28 80 0D 01 02 00 00 00 00 65 [17:09:35]Write i2c OK [17:09:35]MH_I2C_Read... [17:09:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:09:35]Read from MH i2c: E2 [17:09:35]MH_I2C_Read... [17:09:35]Read from MH i2c: E2 03 00 [17:09:35]MH_I2C_Read... [17:09:35]Read from MH i2c: E2 03 00 C4 28 00 90 00 60 [17:09:35]RAPDU: 90 00 [17:09:35]wFMCommunicate OK [17:09:35]wFMCommunicate request_size=255 [17:09:35]MH_SAM_APDU [17:09:35]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 6E 0F 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 D3 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 0A 00 00 00 00 07 04 06 00 A8 61 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 58 D3 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 83 68 00 00 35 04 06 00 CC [17:09:35]Write to MH i2c: E2 02 01 C5 28 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 6E 0F 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 D3 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 0A 00 00 00 00 07 04 06 00 A8 61 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 58 D3 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 83 68 00 00 35 04 06 00 CC 00 00 2D [17:09:35]Write i2c OK [17:09:35]MH_I2C_Read... [17:09:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:09:36]Read from MH i2c: E2 [17:09:36]MH_I2C_Read... [17:09:36]Read from MH i2c: E2 03 00 [17:09:36]MH_I2C_Read... [17:09:36]Read from MH i2c: E2 03 00 C5 28 00 90 00 61 [17:09:36]RAPDU: 90 00 [17:09:36]wFMCommunicate OK [17:09:36]wFMCommunicate request_size=10 [17:09:36]MH_SAM_APDU [17:09:36]CAPDU: 80 0D 02 02 05 BA 1F EA 25 5B [17:09:36]Write to MH i2c: E2 0D 00 C6 28 80 0D 02 02 05 00 BA 1F EA 25 5B 00 00 B5 [17:09:36]Write i2c OK [17:09:36]MH_I2C_Read... [17:09:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:09:36]Read from MH i2c: E2 [17:09:36]MH_I2C_Read... [17:09:36]Read from MH i2c: E2 03 00 [17:09:36]MH_I2C_Read... [17:09:36]Read from MH i2c: E2 03 00 C6 28 00 90 00 62 [17:09:36]RAPDU: 90 00 [17:09:36]wFMCommunicate OK [17:09:36]wFMCommunicate request_size=4 [17:09:36]MH_SAM_APDU [17:09:36]CAPDU: 80 0D 03 02 [17:09:36]Write to MH i2c: E2 08 00 C7 28 80 0D 03 02 00 00 00 00 6A [17:09:36]Write i2c OK [17:09:36]MH_I2C_Read... [17:09:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:09:36]Read from MH i2c: E2 [17:09:36]MH_I2C_Read... [17:09:36]Read from MH i2c: E2 0B 00 [17:09:36]MH_I2C_Read... [17:09:36]Read from MH i2c: E2 0B 00 C7 28 00 B8 72 C9 20 3F F9 B1 D2 90 00 39 [17:09:36]RAPDU: B8 72 C9 20 3F F9 B1 D2 90 00 [17:09:36]wFMCommunicate OK [17:09:36]SAM_PROTO_SignData done [17:09:36]FM_MakeSignedData done [17:09:36]CreateOFDProtocolMessage [17:09:36]wFMCommunicate request_size=4 [17:09:36]MH_SAM_APDU [17:09:36]CAPDU: 80 11 00 00 [17:09:36]Write to MH i2c: E2 08 00 C8 28 80 11 00 00 00 00 00 00 6A [17:09:36]Write i2c OK [17:09:36]MH_I2C_Read... [17:09:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:09:36]Read from MH i2c: E2 [17:09:36]MH_I2C_Read... [17:09:36]Read from MH i2c: E2 17 00 [17:09:36]MH_I2C_Read... [17:09:36]Read from MH i2c: E2 17 00 C8 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 C2 [17:09:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [17:09:36]wFMCommunicate OK [17:09:36]CreateOFDProtocolMessage done [17:09:36]OFDSenderStorePacket 26755 [17:09:36]StoreOFDPacket docnum=26755 [17:09:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 33 9F 07 01 76 26 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 6E 0F 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 D3 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 0A 00 00 00 00 07 04 06 00 A8 61 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 58 D3 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 83 68 00 00 35 04 06 00 CC BA 1F EA 25 5B B8 72 C9 20 3F F9 B1 D2 [17:09:36]CheckFolder [17:09:36]dirname=/storage/ofd_packets [17:09:36]CheckFolder done [17:09:36]ProducePacketName [17:09:36]name=ofd_packets/00026755 [17:09:36]NVStorageSaveData ofd_packets/00026755 [17:09:36]File name is /storage/ofd_packets/00026755 [17:09:36]Write 301 bytes [17:09:36]NVStorageSaveData done [17:09:36]OFDSenderStorePacket done [17:09:36]KKMCreateOFDPacket done [17:09:36]NVStorageSaveData kkm_last_timestamp [17:09:36]File name is /storage/kkm_last_timestamp [17:09:36]Write 4 bytes [17:09:36]NVStorageSaveData done [17:09:36]ExternCall_PrintAddStr [17:09:36]wPrintStart [17:09:36]Write to MH i2c: 01 00 00 C9 28 F1 [17:09:36]Write i2c OK [17:09:36]MH_I2C_Read... [17:09:36]Read from MH i2c: 01 [17:09:36]MH_I2C_Read... [17:09:36]Read from MH i2c: 01 07 00 [17:09:36]MH_I2C_Read... [17:09:36]Read from MH i2c: 01 07 00 C9 28 00 00 00 00 00 FF 0F 06 [17:09:36]RasterBufferAndPrint [17:09:36]line Счет N : (1)359498 [17:09:36]line ИНН: 02508201610067 [17:09:36]line Контрольно-Кассовый Чек [17:09:36]line ПРОДАЖА [17:09:36]line ТРК (МРК, ГНК) : 51 [17:09:36]line Товар: 2710124130 [17:09:36]line Аи-92-К-5 [17:09:36]line 3.950 * 63.40 [17:09:36]line = 250.43 [17:09:36]line НДС 12% НСП 1% [17:09:36]line > о реализуемом товаре [17:09:36]line ОКРУГЛЕНИЕ: -0.43 [17:09:36]line ИТОГО: 250.00 [17:09:36]line Внесено: 250.00 [17:09:36]line СДАЧА: 0.00 [17:09:36]line НСП 1% : 2.22 [17:09:36]line НДС 12% : 26.59 [17:09:36]line Наличными: 250.00 [17:09:36]line Безнал.: 0.00 [17:09:36]line Место: АЗС № 122 "Партнер Нефть" [17:09:36]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [17:09:36]line СНО: Общий режим [17:09:36]line Чек 54 07.04.2024 17:09 [17:09:36]line Смена: 313 ФФД: 1.0 [17:09:36]line ЗНМ: 0300000147 [17:09:36]line РНМ: 0000000000091578 [17:09:36]line Версия ККМ: 001 [17:09:36]line ФМ: 0000000000874657 [17:09:36]line ФД: 26755 [17:09:36]line ФПД: 225099771422043 [17:09:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T170944&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26755&fm=225099771422043&tin=02508201610067®Number=0000000000091578&sum=25000 [17:09:36]OFD Sender: Processing packet 26755 [packets to send 44, broken 43] [17:09:36]ProducePacketName [17:09:36]name=ofd_packets/00026755 [17:09:36]OFD Sender: To server: pG, [17:09:36]CommunicateWithHost lk.salyk.kg:30040 [17:09:36]ConnectInit lk.salyk.kg [17:09:36]written 0, free lines is 4095 [17:09:36]Connected sock=10 [17:09:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 33 9F 07 01 76 26 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 6E 0F 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 D3 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 0A 00 00 00 00 07 04 06 00 A8 61 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 58 D3 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 83 68 00 00 35 04 06 00 CC BA 1F EA 25 5B B8 72 C9 20 3F F9 B1 D2 [17:09:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 90 0F 47 00 61 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 36 35 37 10 04 04 00 83 68 00 00 F4 03 04 00 C5 7A 12 66 B6 04 01 00 00 96 48 55 6F 5A 5A 22 34 [17:09:36]CommunicateWithHost err = 0 [17:09:36]CheckOFDResponse [17:09:36]1017 (14) - 77093643461234 [17:09:36]1041 (16) - 0000000000874657 [17:09:36]1040 (4) - 26755 [17:09:36]1012 (4) - 07.04.2024 10:51 [17:09:36]1206 (1) - 0 [17:09:36]OFD Sender: Remove packet 26755 [17:09:36]ProducePacketName [17:09:36]name=ofd_packets/00026755 [17:09:36]NVStorageDeleteData [17:09:37]Write to MH i2c: 01 00 00 F4 28 1C [17:09:37]Write i2c OK [17:09:37]MH_I2C_Read... [17:09:37]Read from MH i2c: 01 [17:09:37]MH_I2C_Read... [17:09:37]Read from MH i2c: 01 07 00 [17:09:37]MH_I2C_Read... [17:09:37]Read from MH i2c: 01 07 00 F4 28 00 00 00 00 00 72 0C A1 [17:09:37]RasterBufferAndPrint [17:09:37]line [17:09:37]line [17:09:37]line [17:09:37]line [17:09:37]line [17:09:37]written 0, free lines is 3187 [17:09:37]MH_Cut [17:09:37]Write to MH i2c: D1 01 00 FB 28 01 F5 [17:09:37]Write i2c OK [17:09:37]MH_I2C_Read... [17:09:37]Read from MH i2c: D1 [17:09:37]MH_I2C_Read... [17:09:37]Read from MH i2c: D1 01 00 [17:09:37]MH_I2C_Read... [17:09:37]Read from MH i2c: D1 01 00 FB 28 00 F4 [17:09:37]Write to MH i2c: 01 00 00 FC 28 24 [17:09:37]Write i2c OK [17:09:37]MH_I2C_Read... [17:09:37]OFD Sender: No OFD packet to send [17:09:38]*** Cut start [17:09:38]*** Partial cut [17:09:38]*** CUTSNS_PIN = 1 [17:09:38]*** CUTSNS_PIN = 0 [17:09:38]*** Brake cut motor [17:09:38]Read from MH i2c: 01 [17:09:38]MH_I2C_Read... [17:09:38]*** Stop cut motor [17:09:38]*** Cut end [17:09:38]Read from MH i2c: 01 07 00 [17:09:38]MH_I2C_Read... [17:09:38]Read from MH i2c: 01 07 00 FC 28 00 00 00 00 00 FF 0F 39 [17:09:38]process_action close_receipt done [17:09:38]requested_data is exist [17:09:38]produce_requested_data [17:09:38]requested_item fm.sn is exist - process it [17:09:38]wFMCommunicate request_size=4 [17:09:38]MH_SAM_APDU [17:09:38]CAPDU: 80 11 00 00 [17:09:38]Write to MH i2c: E2 08 00 FD 28 80 11 00 00 00 00 00 00 9F [17:09:38]Write i2c OK [17:09:38]MH_I2C_Read... [17:09:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:09:38]Read from MH i2c: E2 [17:09:38]MH_I2C_Read... [17:09:38]Read from MH i2c: E2 17 00 [17:09:38]MH_I2C_Read... [17:09:38]Read from MH i2c: E2 17 00 FD 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 F7 [17:09:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [17:09:38]wFMCommunicate OK [17:09:38]requested_item fd.num is exist - process it [17:09:38]SAM_PROTO_GetFieldsCounters [17:09:38]wFMCommunicate request_size=4 [17:09:38]MH_SAM_APDU [17:09:38]CAPDU: 80 13 00 00 [17:09:38]Write to MH i2c: E2 08 00 FE 28 80 13 00 00 00 00 00 00 A2 [17:09:38]Write i2c OK [17:09:38]MH_I2C_Read... [17:09:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:09:39]Read from MH i2c: E2 [17:09:39]MH_I2C_Read... [17:09:39]Read from MH i2c: E2 62 00 [17:09:39]MH_I2C_Read... [17:09:39]Read from MH i2c: E2 62 00 FE 28 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 83 68 00 00 0E 04 04 00 39 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 94 [17:09: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 83 68 00 00 0E 04 04 00 39 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 [17:09:39]wFMCommunicate OK [17:09:39]SAM_PROTO_GetFieldsCounters done [17:09:39]requested_item shift.num is exist - process it [17:09:39]requested_item shift.opened is exist - process it [17:09:39]req_shift_opened [17:09:39]FM_GetShiftState [17:09:39]SAM_PROTO_GetShiftState [17:09:39]wFMCommunicate request_size=4 [17:09:39]MH_SAM_APDU [17:09:39]CAPDU: 80 13 01 00 [17:09:39]Write to MH i2c: E2 08 00 FF 28 80 13 01 00 00 00 00 00 A4 [17:09:39]Write i2c OK [17:09:39]MH_I2C_Read... [17:09:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:09:39]Read from MH i2c: E2 [17:09:39]MH_I2C_Read... [17:09:39]Read from MH i2c: E2 0E 00 [17:09:39]MH_I2C_Read... [17:09:39]Read from MH i2c: E2 0E 00 FF 28 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 38 [17:09:39]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [17:09:39]wFMCommunicate OK [17:09:39]SAM_PROTO_GetShiftState done [17:09:39]FM_GetShiftState done [17:09:39]req_shift_opened done [17:09:39]requested_item shift.open_date is exist - process it [17:09:39]req_shift_open_date [17:09:39]req_shift_open_date done [17:09:39]produce_requested_data done [17:09:39]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26755,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [17:09:39]process_action_free close_receipt [17:09:39]json_value_free [17:09:39]json_value_free done [17:09:39]process_json_proto returns [17:09:39]Send response to host [17:09:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26755,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [17:09:39]free response buf [17:09:39]execute_script done [17:09:39]execute_script returns [17:09:39]free content buf [17:09:39]Sock 8.Close socket [17:09:39]Sock 8.Thread stoped [17:09:42]OFD Sender: No OFD packet to send [17:09:47]OFD Sender: No OFD packet to send [17:09:52]OFD Sender: No OFD packet to send [17:09:57]OFD Sender: No OFD packet to send [17:10:02]OFD Sender: No OFD packet to send [17:10:07]OFD Sender: No OFD packet to send [17:10:12]OFD Sender: No OFD packet to send [17:10:17]OFD Sender: No OFD packet to send [17:10:22]OFD Sender: No OFD packet to send [17:10:27]OFD Sender: No OFD packet to send [17:10:32]OFD Sender: No OFD packet to send [17:10:37]OFD Sender: No OFD packet to send [17:10:42]OFD Sender: No OFD packet to send [17:10:47]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:34]accept exits with 9 [17:20:34]New connection [17:20:34]New thread 3067014500 created [17:20:34]Thread 3066871140 joined [17:20:34]Waiting for new connection... [17:20:34] Sock 9.Parse request [17:20:34]Sock 9.Check first char [17:20:34]Sock 9.First char is OK [17:20:34]request: POST /json_proto HTTP/1.0 [17:20:34]Method: POST [17:20:34]URL: /json_proto [17:20:34]Method is POST - this is cgi request [17:20:34]url: /json_proto [17:20:34]query_string will be loaded in cgi processing [17:20:34]execute_cgi json_proto POST (null) [17:20:34]execute_cgi path=json_proto method=POST [17:20:34]POST find Content-Length [17:20:34]Host: 172.17.35.3:8080 [17:20:34]Content-Length: 682 [17:20:34]Content-Type: application/json [17:20:34] [17:20:34]POST finish read [17:20:34]Found Content-Length = 682 [17:20:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359499", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 71.90, "quantity" : 55.640, "sum" : 4000.52, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 4000.00, "total" : 4000.00, "payments": [ { "type": 0, "sum" : 4000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:20:34]execute_script... [17:20: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 : (1)359499", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 71.90, "quantity" : 55.640, "sum" : 4000.52, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 4000.00, "total" : 4000.00, "payments": [ { "type": 0, "sum" : 4000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:20:34]POST & json_proto [17:20:34]process_json_proto [17:20:34]json parsed OK: [17:20:34]protocol is kg_v1.0 [17:20:34]action value=close_receipt [17:20:34]process_action close_receipt [17:20:34]cmd_close_receipt [17:20:34]MH_GetDate [17:20:34]Write to MH i2c: F0 00 00 00 29 18 [17:20:34]Write i2c OK [17:20:34]MH_I2C_Read... [17:20:34]Read from MH i2c: F0 [17:20:34]MH_I2C_Read... [17:20:34]Read from MH i2c: F0 09 00 [17:20:34]MH_I2C_Read... [17:20:34]Read from MH i2c: F0 09 00 00 29 00 EC D5 12 66 2B 11 66 64 60 [17:20:34]GetLastDocTimeStamp 1712509784 [17:20:34]current date 1712510444 [17:20:34]FM_GetShiftState [17:20:34]SAM_PROTO_GetShiftState [17:20:34]wFMCommunicate request_size=4 [17:20:34]MH_SAM_APDU [17:20:34]CAPDU: 80 13 01 00 [17:20:34]Write to MH i2c: E2 08 00 01 29 80 13 01 00 00 00 00 00 A7 [17:20:34]Write i2c OK [17:20:34]MH_I2C_Read... [17:20:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:20:34]Read from MH i2c: E2 [17:20:34]MH_I2C_Read... [17:20:34]Read from MH i2c: E2 0E 00 [17:20:34]MH_I2C_Read... [17:20:34]Read from MH i2c: E2 0E 00 01 29 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 3B [17:20:34]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [17:20:34]wFMCommunicate OK [17:20:34]SAM_PROTO_GetShiftState done [17:20:34]FM_GetShiftState done [17:20:34]opened in 1712450087 [17:20:34]opened+sec_in_day 1712536487 [17:20:34]quantity*price = 400051 [17:20:34]sum+1 = 400053 [17:20:34]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.52 ИТОГО: 4000.00 Внесено: 4000.00 СДАЧА: 0.00 НСП 1% : 35.40 НДС 12% : 424.83 Наличными: 4000.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 55 07.04.2024 17:20 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26756 ФПД: 52740632219809 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T172044&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26756&fm=52740632219809&tin=02508201610067®Number=0000000000091578&sum=400000 [17:20:35]StoreToDocumentArchive [17:20:35]shift 313 fd 26756 [17:20:35]save to /storage/0313/doc_00026756 [17:20:35]save last doc name /storage/0313/doc_00026756 to /storage/kkm_last_doc_name [17:20:35]save OK [17:20:35]Clear old archive folders... [17:20:35]ProcessDocumentItem done err = 0, tmpTLVsize=251 [17:20:35]tlvbuf is B6F64160 [17:20:35]SAM_PROTO_ClearQueue [17:20:35]wFMCommunicate request_size=4 [17:20:35]MH_SAM_APDU [17:20:35]CAPDU: 80 09 00 00 [17:20:35]Write to MH i2c: E2 08 00 0E 29 80 09 00 00 00 00 00 00 A9 [17:20:35]Write i2c OK [17:20:35]MH_I2C_Read... [17:20:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:20:35]Read from MH i2c: E2 [17:20:35]MH_I2C_Read... [17:20:35]Read from MH i2c: E2 03 00 [17:20:35]MH_I2C_Read... [17:20:35]Read from MH i2c: E2 03 00 0E 29 00 90 00 AB [17:20:35]RAPDU: 90 00 [17:20:35]wFMCommunicate OK [17:20:35]SAM_PROTO_ClearQueue done [17:20:35]KKMCreateOFDPacket [17:20:35]OFDProtocolAddRootSTLVToBuf [17:20:35]FM_MakeSignedData [17:20:35]FM_MakeSignedData [17:20:35]SAM_PROTO_SignData [17:20:35]wFMCommunicate request_size=4 [17:20:35]MH_SAM_APDU [17:20:35]CAPDU: 80 0D 01 02 [17:20:35]Write to MH i2c: E2 08 00 0F 29 80 0D 01 02 00 00 00 00 B1 [17:20:35]Write i2c OK [17:20:35]MH_I2C_Read... [17:20:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:20:35]Read from MH i2c: E2 [17:20:35]MH_I2C_Read... [17:20:35]Read from MH i2c: E2 03 00 [17:20:35]MH_I2C_Read... [17:20:35]Read from MH i2c: E2 03 00 0F 29 00 90 00 AC [17:20:35]RAPDU: 90 00 [17:20:35]wFMCommunicate OK [17:20:35]wFMCommunicate request_size=255 [17:20:35]MH_SAM_APDU [17:20:35]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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 58 D9 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 B4 1A 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 1A 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 0D 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F3 A5 00 00 00 00 07 04 06 00 80 1A 06 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 EC D5 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 84 68 00 00 35 04 06 00 2F [17:20:35]Write to MH i2c: E2 02 01 10 29 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 58 D9 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 B4 1A 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 1A 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 0D 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F3 A5 00 00 00 00 07 04 06 00 80 1A 06 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 EC D5 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 84 68 00 00 35 04 06 00 2F 00 00 7E [17:20:35]Write i2c OK [17:20:35]MH_I2C_Read... [17:20:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:20:35]Read from MH i2c: E2 [17:20:35]MH_I2C_Read... [17:20:35]Read from MH i2c: E2 03 00 [17:20:35]MH_I2C_Read... [17:20:35]Read from MH i2c: E2 03 00 10 29 00 90 00 AD [17:20:35]RAPDU: 90 00 [17:20:35]wFMCommunicate OK [17:20:35]wFMCommunicate request_size=10 [17:20:35]MH_SAM_APDU [17:20:35]CAPDU: 80 0D 02 02 05 F7 A2 A6 10 A1 [17:20:35]Write to MH i2c: E2 0D 00 11 29 80 0D 02 02 05 00 F7 A2 A6 10 A1 00 00 AE [17:20:35]Write i2c OK [17:20:35]MH_I2C_Read... [17:20:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:20:35]Read from MH i2c: E2 [17:20:35]MH_I2C_Read... [17:20:35]Read from MH i2c: E2 03 00 [17:20:35]MH_I2C_Read... [17:20:35]Read from MH i2c: E2 03 00 11 29 00 90 00 AE [17:20:35]RAPDU: 90 00 [17:20:35]wFMCommunicate OK [17:20:35]wFMCommunicate request_size=4 [17:20:35]MH_SAM_APDU [17:20:35]CAPDU: 80 0D 03 02 [17:20:35]Write to MH i2c: E2 08 00 12 29 80 0D 03 02 00 00 00 00 B6 [17:20:35]Write i2c OK [17:20:35]MH_I2C_Read... [17:20:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:20:35]Read from MH i2c: E2 [17:20:35]MH_I2C_Read... [17:20:35]Read from MH i2c: E2 0B 00 [17:20:35]MH_I2C_Read... [17:20:35]Read from MH i2c: E2 0B 00 12 29 00 8A 77 2D 41 A2 F7 74 A8 90 00 DB [17:20:35]RAPDU: 8A 77 2D 41 A2 F7 74 A8 90 00 [17:20:35]wFMCommunicate OK [17:20:35]SAM_PROTO_SignData done [17:20:35]FM_MakeSignedData done [17:20:35]CreateOFDProtocolMessage [17:20:35]wFMCommunicate request_size=4 [17:20:35]MH_SAM_APDU [17:20:35]CAPDU: 80 11 00 00 [17:20:35]Write to MH i2c: E2 08 00 13 29 80 11 00 00 00 00 00 00 B6 [17:20:35]Write i2c OK [17:20:35]MH_I2C_Read... [17:20:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:20:35]Read from MH i2c: E2 [17:20:35]MH_I2C_Read... [17:20:35]Read from MH i2c: E2 17 00 [17:20:35]MH_I2C_Read... [17:20:35]Read from MH i2c: E2 17 00 13 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 0E [17:20:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [17:20:35]wFMCommunicate OK [17:20:35]CreateOFDProtocolMessage done [17:20:35]OFDSenderStorePacket 26756 [17:20:35]StoreOFDPacket docnum=26756 [17:20:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 66 FF 07 01 52 14 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 58 D9 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 B4 1A 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 1A 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 0D 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F3 A5 00 00 00 00 07 04 06 00 80 1A 06 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 EC D5 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 84 68 00 00 35 04 06 00 2F F7 A2 A6 10 A1 8A 77 2D 41 A2 F7 74 A8 [17:20:35]CheckFolder [17:20:35]dirname=/storage/ofd_packets [17:20:35]CheckFolder done [17:20:35]ProducePacketName [17:20:35]name=ofd_packets/00026756 [17:20:35]NVStorageSaveData ofd_packets/00026756 [17:20:35]File name is /storage/ofd_packets/00026756 [17:20:35]Write 301 bytes [17:20:35]NVStorageSaveData done [17:20:35]OFDSenderStorePacket done [17:20:35]KKMCreateOFDPacket done [17:20:35]NVStorageSaveData kkm_last_timestamp [17:20:35]File name is /storage/kkm_last_timestamp [17:20:35]Write 4 bytes [17:20:35]NVStorageSaveData done [17:20:35]ExternCall_PrintAddStr [17:20:35]wPrintStart [17:20:35]Write to MH i2c: 01 00 00 14 29 3D [17:20:35]Write i2c OK [17:20:35]MH_I2C_Read... [17:20:35]Read from MH i2c: 01 [17:20:35]MH_I2C_Read... [17:20:35]Read from MH i2c: 01 07 00 [17:20:35]MH_I2C_Read... [17:20:35]Read from MH i2c: 01 07 00 14 29 00 00 00 00 00 FF 0F 52 [17:20:35]RasterBufferAndPrint [17:20:35]line Счет N : (1)359499 [17:20:35]line ИНН: 02508201610067 [17:20:35]line Контрольно-Кассовый Чек [17:20:35]line ПРОДАЖА [17:20:35]line ТРК (МРК, ГНК) : 53 [17:20:35]line Товар: 2710124500 [17:20:35]line Аи-95-К-5 [17:20:35]line 55.640 * 71.90 [17:20:35]line = 4000.52 [17:20:35]line НДС 12% НСП 1% [17:20:35]line > о реализуемом товаре [17:20:35]line ОКРУГЛЕНИЕ: -0.52 [17:20:35]line ИТОГО: 4000.00 [17:20:35]line Внесено: 4000.00 [17:20:35]line СДАЧА: 0.00 [17:20:35]line НСП 1% : 35.40 [17:20:35]line НДС 12% : 424.83 [17:20:35]line Наличными: 4000.00 [17:20:35]line Безнал.: 0.00 [17:20:35]line Место: АЗС № 122 "Партнер Нефть" [17:20:35]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [17:20:35]line СНО: Общий режим [17:20:35]line Чек 55 07.04.2024 17:20 [17:20:35]line Смена: 313 ФФД: 1.0 [17:20:35]line ЗНМ: 0300000147 [17:20:35]line РНМ: 0000000000091578 [17:20:35]line Версия ККМ: 001 [17:20:35]line ФМ: 0000000000874657 [17:20:35]line ФД: 26756 [17:20:35]line ФПД: 52740632219809 [17:20:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T172044&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26756&fm=52740632219809&tin=02508201610067®Number=0000000000091578&sum=400000 [17:20:36]OFD Sender: Processing packet 26756 [packets to send 44, broken 43] [17:20:36]ProducePacketName [17:20:36]name=ofd_packets/00026756 [17:20:36]OFD Sender: To server: pG, [17:20:36]CommunicateWithHost lk.salyk.kg:30040 [17:20:36]ConnectInit lk.salyk.kg [17:20:36]written 0, free lines is 4095 [17:20:36]Connected sock=10 [17:20:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 66 FF 07 01 52 14 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 58 D9 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 B4 1A 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 1A 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 0D 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F3 A5 00 00 00 00 07 04 06 00 80 1A 06 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 EC D5 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 84 68 00 00 35 04 06 00 2F F7 A2 A6 10 A1 8A 77 2D 41 A2 F7 74 A8 [17:20:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 9F 72 47 00 C3 D2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 37 10 04 04 00 84 68 00 00 F4 03 04 00 58 7D 12 66 B6 04 01 00 00 9E 5B 03 51 47 64 CD 0D [17:20:36]CommunicateWithHost err = 0 [17:20:36]CheckOFDResponse [17:20:36]1017 (14) - 77093643461234 [17:20:36]1041 (16) - 0000000000874657 [17:20:36]1040 (4) - 26756 [17:20:36]1012 (4) - 07.04.2024 11:02 [17:20:36]1206 (1) - 0 [17:20:36]OFD Sender: Remove packet 26756 [17:20:36]ProducePacketName [17:20:36]name=ofd_packets/00026756 [17:20:36]NVStorageDeleteData [17:20:36]Write to MH i2c: 01 00 00 3F 29 68 [17:20:36]Write i2c OK [17:20:36]MH_I2C_Read... [17:20:36]Read from MH i2c: 01 [17:20:36]MH_I2C_Read... [17:20:36]Read from MH i2c: 01 07 00 [17:20:36]MH_I2C_Read... [17:20:36]Read from MH i2c: 01 07 00 3F 29 00 00 00 00 00 72 0C ED [17:20:36]RasterBufferAndPrint [17:20:36]line [17:20:36]line [17:20:36]line [17:20:36]line [17:20:36]line [17:20:36]written 0, free lines is 3189 [17:20:36]MH_Cut [17:20:36]Write to MH i2c: D1 01 00 46 29 01 41 [17:20:36]Write i2c OK [17:20:36]MH_I2C_Read... [17:20:36]Read from MH i2c: D1 [17:20:36]MH_I2C_Read... [17:20:36]Read from MH i2c: D1 01 00 [17:20:36]MH_I2C_Read... [17:20:36]Read from MH i2c: D1 01 00 46 29 00 40 [17:20:36]Write to MH i2c: 01 00 00 47 29 70 [17:20:36]Write i2c OK [17:20:36]MH_I2C_Read... [17:20:36]OFD Sender: No OFD packet to send [17:20:37]*** Cut start [17:20:37]*** Partial cut [17:20:37]*** CUTSNS_PIN = 1 [17:20:37]*** CUTSNS_PIN = 0 [17:20:38]*** Brake cut motor [17:20:38]Read from MH i2c: 01 [17:20:38]MH_I2C_Read... [17:20:38]*** Stop cut motor [17:20:38]*** Cut end [17:20:38]Read from MH i2c: 01 07 00 [17:20:38]MH_I2C_Read... [17:20:38]Read from MH i2c: 01 07 00 47 29 00 00 00 00 00 FF 0F 85 [17:20:38]process_action close_receipt done [17:20:38]requested_data is exist [17:20:38]produce_requested_data [17:20:38]requested_item fm.sn is exist - process it [17:20:38]wFMCommunicate request_size=4 [17:20:38]MH_SAM_APDU [17:20:38]CAPDU: 80 11 00 00 [17:20:38]Write to MH i2c: E2 08 00 48 29 80 11 00 00 00 00 00 00 EB [17:20:38]Write i2c OK [17:20:38]MH_I2C_Read... [17:20:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:20:38]Read from MH i2c: E2 [17:20:38]MH_I2C_Read... [17:20:38]Read from MH i2c: E2 17 00 [17:20:38]MH_I2C_Read... [17:20:38]Read from MH i2c: E2 17 00 48 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 43 [17:20:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [17:20:38]wFMCommunicate OK [17:20:38]requested_item fd.num is exist - process it [17:20:38]SAM_PROTO_GetFieldsCounters [17:20:38]wFMCommunicate request_size=4 [17:20:38]MH_SAM_APDU [17:20:38]CAPDU: 80 13 00 00 [17:20:38]Write to MH i2c: E2 08 00 49 29 80 13 00 00 00 00 00 00 EE [17:20:38]Write i2c OK [17:20:38]MH_I2C_Read... [17:20:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:20:38]Read from MH i2c: E2 [17:20:38]MH_I2C_Read... [17:20:38]Read from MH i2c: E2 62 00 [17:20:38]MH_I2C_Read... [17:20:38]Read from MH i2c: E2 62 00 49 29 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 84 68 00 00 0E 04 04 00 39 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 E4 [17:20: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 84 68 00 00 0E 04 04 00 39 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 [17:20:38]wFMCommunicate OK [17:20:38]SAM_PROTO_GetFieldsCounters done [17:20:38]requested_item shift.num is exist - process it [17:20:38]requested_item shift.opened is exist - process it [17:20:38]req_shift_opened [17:20:38]FM_GetShiftState [17:20:38]SAM_PROTO_GetShiftState [17:20:38]wFMCommunicate request_size=4 [17:20:38]MH_SAM_APDU [17:20:38]CAPDU: 80 13 01 00 [17:20:38]Write to MH i2c: E2 08 00 4A 29 80 13 01 00 00 00 00 00 F0 [17:20:38]Write i2c OK [17:20:38]MH_I2C_Read... [17:20:38]Read from MH i2c: E2 [17:20:38]MH_I2C_Read... [17:20:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:20:38]Read from MH i2c: E2 0E 00 [17:20:38]MH_I2C_Read... [17:20:38]Read from MH i2c: E2 0E 00 4A 29 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 84 [17:20:38]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [17:20:38]wFMCommunicate OK [17:20:38]SAM_PROTO_GetShiftState done [17:20:38]FM_GetShiftState done [17:20:38]req_shift_opened done [17:20:38]requested_item shift.open_date is exist - process it [17:20:38]req_shift_open_date [17:20:38]req_shift_open_date done [17:20:38]produce_requested_data done [17:20:38]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26756,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [17:20:38]process_action_free close_receipt [17:20:38]json_value_free [17:20:38]json_value_free done [17:20:38]process_json_proto returns [17:20:38]Send response to host [17:20:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26756,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [17:20:38]free response buf [17:20:38]execute_script done [17:20:38]execute_script returns [17:20:38]free content buf [17:20:38]Sock 9.Close socket [17:20:38]Sock 9.Thread stoped [17:20:41]OFD Sender: No OFD packet to send [17:20:46]OFD Sender: No OFD packet to send [17:20:51]OFD Sender: No OFD packet to send [17:20:56]OFD Sender: No OFD packet to send [17:21:01]OFD Sender: No OFD packet to send [17:21:06]OFD Sender: No OFD packet to send [17:21:11]OFD Sender: No OFD packet to send [17:21:16]OFD Sender: No OFD packet to send [17:21:21]OFD Sender: No OFD packet to send [17:21:22]accept exits with 8 [17:21:22]New connection [17:21:22]New thread 3066871140 created [17:21:22]Thread 3067014500 joined [17:21:22]Waiting for new connection... [17:21:22] Sock 8.Parse request [17:21:22]Sock 8.Check first char [17:21:22]Sock 8.First char is OK [17:21:22]request: POST /json_proto HTTP/1.0 [17:21:22]Method: POST [17:21:22]URL: /json_proto [17:21:22]Method is POST - this is cgi request [17:21:22]url: /json_proto [17:21:22]query_string will be loaded in cgi processing [17:21:22]execute_cgi json_proto POST (null) [17:21:22]execute_cgi path=json_proto method=POST [17:21:22]POST find Content-Length [17:21:22]Host: 172.17.35.3:8080 [17:21:22]Content-Length: 678 [17:21:22]Content-Type: application/json [17:21:22] [17:21:22]POST finish read [17:21:22]Found Content-Length = 678 [17:21:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359500", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 71.90, "quantity" : 11.130, "sum" : 800.25, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 800.00, "total" : 800.00, "payments": [ { "type": 0, "sum" : 800.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:21:22]execute_script... [17:21:22]execute_script path=json_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)359500", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 71.90, "quantity" : 11.130, "sum" : 800.25, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 800.00, "total" : 800.00, "payments": [ { "type": 0, "sum" : 800.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:21:22]POST & json_proto [17:21:22]process_json_proto [17:21:22]json parsed OK: [17:21:22]protocol is kg_v1.0 [17:21:22]action value=close_receipt [17:21:22]process_action close_receipt [17:21:22]cmd_close_receipt [17:21:22]MH_GetDate [17:21:22]Write to MH i2c: F0 00 00 4B 29 63 [17:21:22]Write i2c OK [17:21:22]MH_I2C_Read... [17:21:22]Read from MH i2c: F0 [17:21:22]MH_I2C_Read... [17:21:22]Read from MH i2c: F0 09 00 [17:21:22]MH_I2C_Read... [17:21:22]Read from MH i2c: F0 09 00 4B 29 00 1C D6 12 66 2B 11 66 64 DC [17:21:22]GetLastDocTimeStamp 1712510444 [17:21:22]current date 1712510492 [17:21:22]FM_GetShiftState [17:21:22]SAM_PROTO_GetShiftState [17:21:22]wFMCommunicate request_size=4 [17:21:22]MH_SAM_APDU [17:21:22]CAPDU: 80 13 01 00 [17:21:22]Write to MH i2c: E2 08 00 4C 29 80 13 01 00 00 00 00 00 F2 [17:21:22]Write i2c OK [17:21:22]MH_I2C_Read... [17:21:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:21:22]Read from MH i2c: E2 [17:21:22]MH_I2C_Read... [17:21:22]Read from MH i2c: E2 0E 00 [17:21:22]MH_I2C_Read... [17:21:22]Read from MH i2c: E2 0E 00 4C 29 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 86 [17:21:22]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [17:21:22]wFMCommunicate OK [17:21:22]SAM_PROTO_GetShiftState done [17:21:22]FM_GetShiftState done [17:21:22]opened in 1712450087 [17:21:22]opened+sec_in_day 1712536487 [17:21:22]quantity*price = 80024 [17:21:22]sum+1 = 80026 [17:21:22]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.25 ИТОГО: 800.00 Внесено: 800.00 СДАЧА: 0.00 НСП 1% : 7.08 НДС 12% : 84.98 Наличными: 800.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 56 07.04.2024 17:21 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26757 ФПД: 244577348380038 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T172133&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26757&fm=244577348380038&tin=02508201610067®Number=0000000000091578&sum=80000 [17:21:23]StoreToDocumentArchive [17:21:23]shift 313 fd 26757 [17:21:23]save to /storage/0313/doc_00026757 [17:21:23]save last doc name /storage/0313/doc_00026757 to /storage/kkm_last_doc_name [17:21:23]save OK [17:21:23]Clear old archive folders... [17:21:23]ProcessDocumentItem done err = 0, tmpTLVsize=251 [17:21:23]tlvbuf is 00EE3A10 [17:21:23]SAM_PROTO_ClearQueue [17:21:23]wFMCommunicate request_size=4 [17:21:23]MH_SAM_APDU [17:21:23]CAPDU: 80 09 00 00 [17:21:23]Write to MH i2c: E2 08 00 59 29 80 09 00 00 00 00 00 00 F4 [17:21:23]Write i2c OK [17:21:23]MH_I2C_Read... [17:21:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:21:24]Read from MH i2c: E2 [17:21:24]MH_I2C_Read... [17:21:24]Read from MH i2c: E2 03 00 [17:21:24]MH_I2C_Read... [17:21:24]Read from MH i2c: E2 03 00 59 29 00 90 00 F6 [17:21:24]RAPDU: 90 00 [17:21:24]wFMCommunicate OK [17:21:24]SAM_PROTO_ClearQueue done [17:21:24]KKMCreateOFDPacket [17:21:24]OFDProtocolAddRootSTLVToBuf [17:21:24]FM_MakeSignedData [17:21:24]FM_MakeSignedData [17:21:24]SAM_PROTO_SignData [17:21:24]wFMCommunicate request_size=4 [17:21:24]MH_SAM_APDU [17:21:24]CAPDU: 80 0D 01 02 [17:21:24]Write to MH i2c: E2 08 00 5A 29 80 0D 01 02 00 00 00 00 FC [17:21:24]Write i2c OK [17:21:24]MH_I2C_Read... [17:21:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:21:24]Read from MH i2c: E2 [17:21:24]MH_I2C_Read... [17:21:24]Read from MH i2c: E2 03 00 [17:21:24]MH_I2C_Read... [17:21:24]Read from MH i2c: E2 03 00 5A 29 00 90 00 F7 [17:21:24]RAPDU: 90 00 [17:21:24]wFMCommunicate OK [17:21:24]wFMCommunicate request_size=255 [17:21:24]MH_SAM_APDU [17:21:24]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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 7A 2B 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 99 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 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 80 38 01 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 1D D6 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 85 68 00 00 35 04 06 00 DE [17:21:24]Write to MH i2c: E2 02 01 5B 29 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 7A 2B 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 99 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 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 80 38 01 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 1D D6 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 85 68 00 00 35 04 06 00 DE 00 00 F0 [17:21:24]Write i2c OK [17:21:24]MH_I2C_Read... [17:21:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:21:24]Read from MH i2c: E2 [17:21:24]MH_I2C_Read... [17:21:24]Read from MH i2c: E2 03 00 [17:21:24]MH_I2C_Read... [17:21:24]Read from MH i2c: E2 03 00 5B 29 00 90 00 F8 [17:21:24]RAPDU: 90 00 [17:21:24]wFMCommunicate OK [17:21:24]wFMCommunicate request_size=10 [17:21:24]MH_SAM_APDU [17:21:24]CAPDU: 80 0D 02 02 05 71 19 F8 65 86 [17:21:24]Write to MH i2c: E2 0D 00 5C 29 80 0D 02 02 05 00 71 19 F8 65 86 00 00 76 [17:21:24]Write i2c OK [17:21:24]MH_I2C_Read... [17:21:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:21:24]Read from MH i2c: E2 [17:21:24]MH_I2C_Read... [17:21:24]Read from MH i2c: E2 03 00 [17:21:24]MH_I2C_Read... [17:21:24]Read from MH i2c: E2 03 00 5C 29 00 90 00 F9 [17:21:24]RAPDU: 90 00 [17:21:24]wFMCommunicate OK [17:21:24]wFMCommunicate request_size=4 [17:21:24]MH_SAM_APDU [17:21:24]CAPDU: 80 0D 03 02 [17:21:24]Write to MH i2c: E2 08 00 5D 29 80 0D 03 02 00 00 00 00 01 [17:21:24]Write i2c OK [17:21:24]MH_I2C_Read... [17:21:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:21:24]Read from MH i2c: E2 [17:21:24]MH_I2C_Read... [17:21:24]Read from MH i2c: E2 0B 00 [17:21:24]MH_I2C_Read... [17:21:24]Read from MH i2c: E2 0B 00 5D 29 00 05 F4 16 55 0C B2 02 04 90 00 2A [17:21:24]RAPDU: 05 F4 16 55 0C B2 02 04 90 00 [17:21:24]wFMCommunicate OK [17:21:24]SAM_PROTO_SignData done [17:21:24]FM_MakeSignedData done [17:21:24]CreateOFDProtocolMessage [17:21:24]wFMCommunicate request_size=4 [17:21:24]MH_SAM_APDU [17:21:24]CAPDU: 80 11 00 00 [17:21:24]Write to MH i2c: E2 08 00 5E 29 80 11 00 00 00 00 00 00 01 [17:21:24]Write i2c OK [17:21:24]MH_I2C_Read... [17:21:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:21:24]Read from MH i2c: E2 [17:21:24]MH_I2C_Read... [17:21:24]Read from MH i2c: E2 17 00 [17:21:24]MH_I2C_Read... [17:21:24]Read from MH i2c: E2 17 00 5E 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 59 [17:21:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [17:21:24]wFMCommunicate OK [17:21:24]CreateOFDProtocolMessage done [17:21:24]OFDSenderStorePacket 26757 [17:21:24]StoreOFDPacket docnum=26757 [17:21:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 87 09 07 01 35 26 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 7A 2B 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 99 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 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 80 38 01 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 1D D6 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 85 68 00 00 35 04 06 00 DE 71 19 F8 65 86 05 F4 16 55 0C B2 02 04 [17:21:24]CheckFolder [17:21:24]dirname=/storage/ofd_packets [17:21:24]CheckFolder done [17:21:24]ProducePacketName [17:21:24]name=ofd_packets/00026757 [17:21:24]NVStorageSaveData ofd_packets/00026757 [17:21:24]File name is /storage/ofd_packets/00026757 [17:21:24]Write 301 bytes [17:21:24]NVStorageSaveData done [17:21:24]OFDSenderStorePacket done [17:21:24]KKMCreateOFDPacket done [17:21:24]NVStorageSaveData kkm_last_timestamp [17:21:24]File name is /storage/kkm_last_timestamp [17:21:24]Write 4 bytes [17:21:24]NVStorageSaveData done [17:21:24]ExternCall_PrintAddStr [17:21:24]wPrintStart [17:21:24]Write to MH i2c: 01 00 00 5F 29 88 [17:21:24]Write i2c OK [17:21:24]MH_I2C_Read... [17:21:24]Read from MH i2c: 01 [17:21:24]MH_I2C_Read... [17:21:24]Read from MH i2c: 01 07 00 [17:21:24]MH_I2C_Read... [17:21:24]Read from MH i2c: 01 07 00 5F 29 00 00 00 00 00 FF 0F 9D [17:21:24]RasterBufferAndPrint [17:21:24]line Счет N : (1)359500 [17:21:24]line ИНН: 02508201610067 [17:21:24]line Контрольно-Кассовый Чек [17:21:24]line ПРОДАЖА [17:21:24]line ТРК (МРК, ГНК) : 53 [17:21:24]line Товар: 2710124500 [17:21:24]line Аи-95-К-5 [17:21:24]line 11.130 * 71.90 [17:21:24]line = 800.25 [17:21:24]line НДС 12% НСП 1% [17:21:24]line > о реализуемом товаре [17:21:24]line ОКРУГЛЕНИЕ: -0.25 [17:21:24]line ИТОГО: 800.00 [17:21:24]line Внесено: 800.00 [17:21:24]line СДАЧА: 0.00 [17:21:24]line НСП 1% : 7.08 [17:21:24]line НДС 12% : 84.98 [17:21:24]line Наличными: 800.00 [17:21:24]line Безнал.: 0.00 [17:21:24]line Место: АЗС № 122 "Партнер Нефть" [17:21:24]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [17:21:24]line СНО: Общий режим [17:21:24]line Чек 56 07.04.2024 17:21 [17:21:24]line Смена: 313 ФФД: 1.0 [17:21:24]line ЗНМ: 0300000147 [17:21:24]line РНМ: 0000000000091578 [17:21:24]line Версия ККМ: 001 [17:21:24]line ФМ: 0000000000874657 [17:21:24]line ФД: 26757 [17:21:24]line ФПД: 244577348380038 [17:21:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T172133&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26757&fm=244577348380038&tin=02508201610067®Number=0000000000091578&sum=80000 [17:21:24]OFD Sender: Processing packet 26757 [packets to send 44, broken 43] [17:21:24]ProducePacketName [17:21:24]name=ofd_packets/00026757 [17:21:24]OFD Sender: To server: pG, [17:21:24]CommunicateWithHost lk.salyk.kg:30040 [17:21:24]ConnectInit lk.salyk.kg [17:21:24]written 0, free lines is 4095 [17:21:24]Connected sock=10 [17:21: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 36 35 37 0F 01 00 00 87 09 07 01 35 26 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 7A 2B 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 99 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 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 80 38 01 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 1D D6 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 85 68 00 00 35 04 06 00 DE 71 19 F8 65 86 05 F4 16 55 0C B2 02 04 [17:21:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 E8 9C 47 00 83 94 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 37 10 04 04 00 85 68 00 00 F4 03 04 00 89 7D 12 66 B6 04 01 00 00 88 91 CC A5 77 65 1F C1 [17:21:25]CommunicateWithHost err = 0 [17:21:25]CheckOFDResponse [17:21:25]1017 (14) - 77093643461234 [17:21:25]1041 (16) - 0000000000874657 [17:21:25]1040 (4) - 26757 [17:21:25]1012 (4) - 07.04.2024 11:03 [17:21:25]1206 (1) - 0 [17:21:25]OFD Sender: Remove packet 26757 [17:21:25]ProducePacketName [17:21:25]name=ofd_packets/00026757 [17:21:25]NVStorageDeleteData [17:21:25]Write to MH i2c: 01 00 00 8A 29 B3 [17:21:25]Write i2c OK [17:21:25]MH_I2C_Read... [17:21:25]Read from MH i2c: 01 [17:21:25]MH_I2C_Read... [17:21:25]Read from MH i2c: 01 07 00 [17:21:25]MH_I2C_Read... [17:21:25]Read from MH i2c: 01 07 00 8A 29 00 00 00 00 00 72 0C 38 [17:21:25]RasterBufferAndPrint [17:21:25]line [17:21:25]line [17:21:25]line [17:21:25]line [17:21:25]line [17:21:25]written 0, free lines is 3189 [17:21:25]MH_Cut [17:21:25]Write to MH i2c: D1 01 00 91 29 01 8C [17:21:25]Write i2c OK [17:21:25]MH_I2C_Read... [17:21:25]Read from MH i2c: D1 [17:21:25]MH_I2C_Read... [17:21:25]Read from MH i2c: D1 01 00 [17:21:25]MH_I2C_Read... [17:21:25]Read from MH i2c: D1 01 00 91 29 00 8B [17:21:25]Write to MH i2c: 01 00 00 92 29 BB [17:21:25]Write i2c OK [17:21:25]MH_I2C_Read... [17:21:25]OFD Sender: No OFD packet to send [17:21:26]*** Cut start [17:21:26]*** Partial cut [17:21:26]*** CUTSNS_PIN = 1 [17:21:26]*** CUTSNS_PIN = 0 [17:21:26]*** Brake cut motor [17:21:27]Read from MH i2c: 01 [17:21:27]MH_I2C_Read... [17:21:27]*** Stop cut motor [17:21:27]*** Cut end [17:21:27]Read from MH i2c: 01 07 00 [17:21:27]MH_I2C_Read... [17:21:27]Read from MH i2c: 01 07 00 92 29 00 00 00 00 00 FF 0F D0 [17:21:27]process_action close_receipt done [17:21:27]requested_data is exist [17:21:27]produce_requested_data [17:21:27]requested_item fm.sn is exist - process it [17:21:27]wFMCommunicate request_size=4 [17:21:27]MH_SAM_APDU [17:21:27]CAPDU: 80 11 00 00 [17:21:27]Write to MH i2c: E2 08 00 93 29 80 11 00 00 00 00 00 00 36 [17:21:27]Write i2c OK [17:21:27]MH_I2C_Read... [17:21:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:21:27]Read from MH i2c: E2 [17:21:27]MH_I2C_Read... [17:21:27]Read from MH i2c: E2 17 00 [17:21:27]MH_I2C_Read... [17:21:27]Read from MH i2c: E2 17 00 93 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 8E [17:21:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [17:21:27]wFMCommunicate OK [17:21:27]requested_item fd.num is exist - process it [17:21:27]SAM_PROTO_GetFieldsCounters [17:21:27]wFMCommunicate request_size=4 [17:21:27]MH_SAM_APDU [17:21:27]CAPDU: 80 13 00 00 [17:21:27]Write to MH i2c: E2 08 00 94 29 80 13 00 00 00 00 00 00 39 [17:21:27]Write i2c OK [17:21:27]MH_I2C_Read... [17:21:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:21:27]Read from MH i2c: E2 [17:21:27]MH_I2C_Read... [17:21:27]Read from MH i2c: E2 62 00 [17:21:27]MH_I2C_Read... [17:21:27]Read from MH i2c: E2 62 00 94 29 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 85 68 00 00 0E 04 04 00 39 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 33 [17:21: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 85 68 00 00 0E 04 04 00 39 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 [17:21:27]wFMCommunicate OK [17:21:27]SAM_PROTO_GetFieldsCounters done [17:21:27]requested_item shift.num is exist - process it [17:21:27]requested_item shift.opened is exist - process it [17:21:27]req_shift_opened [17:21:27]FM_GetShiftState [17:21:27]SAM_PROTO_GetShiftState [17:21:27]wFMCommunicate request_size=4 [17:21:27]MH_SAM_APDU [17:21:27]CAPDU: 80 13 01 00 [17:21:27]Write to MH i2c: E2 08 00 95 29 80 13 01 00 00 00 00 00 3B [17:21:27]Write i2c OK [17:21:27]MH_I2C_Read... [17:21:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:21:27]Read from MH i2c: E2 [17:21:27]MH_I2C_Read... [17:21:27]Read from MH i2c: E2 0E 00 [17:21:27]MH_I2C_Read... [17:21:27]Read from MH i2c: E2 0E 00 95 29 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 CF [17:21:27]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [17:21:27]wFMCommunicate OK [17:21:27]SAM_PROTO_GetShiftState done [17:21:27]FM_GetShiftState done [17:21:27]req_shift_opened done [17:21:27]requested_item shift.open_date is exist - process it [17:21:27]req_shift_open_date [17:21:27]req_shift_open_date done [17:21:27]produce_requested_data done [17:21:27]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26757,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [17:21:27]process_action_free close_receipt [17:21:27]json_value_free [17:21:27]json_value_free done [17:21:27]process_json_proto returns [17:21:27]Send response to host [17:21:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26757,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [17:21:27]free response buf [17:21:27]execute_script done [17:21:27]execute_script returns [17:21:27]free content buf [17:21:27]Sock 8.Close socket [17:21:27]Sock 8.Thread stoped [17:21:30]OFD Sender: No OFD packet to send [17:21:35]OFD Sender: No OFD packet to send [17:21:40]OFD Sender: No OFD packet to send [17:21:45]OFD Sender: No OFD packet to send [17:21:50]OFD Sender: No OFD packet to send [17:21:55]OFD Sender: No OFD packet to send [17:22:00]OFD Sender: No OFD packet to send [17:22:05]OFD Sender: No OFD packet to send [17:22:10]OFD Sender: No OFD packet to send [17:22:15]OFD Sender: No OFD packet to send [17:22:20]OFD Sender: No OFD packet to send [17:22:25]OFD Sender: No OFD packet to send [17:22:30]OFD Sender: No OFD packet to send [17:22:35]OFD Sender: No OFD packet to send [17:22:40]OFD Sender: No OFD packet to send [17:22:45]OFD Sender: No OFD packet to send [17:22:50]OFD Sender: No OFD packet to send [17:22:55]OFD Sender: No OFD packet to send [17:23:00]OFD Sender: No OFD packet to send [17:23:05]OFD Sender: No OFD packet to send [17:23:10]OFD Sender: No OFD packet to send [17:23:15]OFD Sender: No OFD packet to send [17:23:20]OFD Sender: No OFD packet to send [17:23:25]OFD Sender: No OFD packet to send [17:23:30]OFD Sender: No OFD packet to send [17:23:35]OFD Sender: No OFD packet to send [17:23:40]OFD Sender: No OFD packet to send [17:23:45]OFD Sender: No OFD packet to send [17:23:50]OFD Sender: No OFD packet to send [17:23:55]OFD Sender: No OFD packet to send [17:24:00]OFD Sender: No OFD packet to send [17:24:05]OFD Sender: No OFD packet to send [17:24:10]OFD Sender: No OFD packet to send [17:24:15]OFD Sender: No OFD packet to send [17:24:20]OFD Sender: No OFD packet to send [17:24:25]OFD Sender: No OFD packet to send [17:24:30]OFD Sender: No OFD packet to send [17:24:35]OFD Sender: No OFD packet to send [17:24:40]OFD Sender: No OFD packet to send [17:24:45]OFD Sender: No OFD packet to send [17:24:50]OFD Sender: No OFD packet to send [17:24:55]OFD Sender: No OFD packet to send [17:25:00]OFD Sender: No OFD packet to send [17:25:05]OFD Sender: No OFD packet to send [17:25:10]OFD Sender: No OFD packet to send [17:25:15]OFD Sender: No OFD packet to send [17:25:20]OFD Sender: No OFD packet to send [17:25:25]OFD Sender: No OFD packet to send [17:25:30]OFD Sender: No OFD packet to send [17:25:35]OFD Sender: No OFD packet to send [17:25:40]OFD Sender: No OFD packet to send [17:25:45]OFD Sender: No OFD packet to send [17:25:50]OFD Sender: No OFD packet to send [17:25:55]OFD Sender: No OFD packet to send [17:26:00]OFD Sender: No OFD packet to send [17:26:05]OFD Sender: No OFD packet to send [17:26:10]OFD Sender: No OFD packet to send [17:26:15]OFD Sender: No OFD packet to send [17:26:20]OFD Sender: No OFD packet to send [17:26:25]OFD Sender: No OFD packet to send [17:26:30]OFD Sender: No OFD packet to send [17:26:35]OFD Sender: No OFD packet to send [17:26:40]OFD Sender: No OFD packet to send [17:26:45]OFD Sender: No OFD packet to send [17:26:50]OFD Sender: No OFD packet to send [17:26:55]OFD Sender: No OFD packet to send [17:27:00]OFD Sender: No OFD packet to send [17:27:05]OFD Sender: No OFD packet to send [17:27:10]OFD Sender: No OFD packet to send [17:27:15]OFD Sender: No OFD packet to send [17:27:20]OFD Sender: No OFD packet to send [17:27:25]OFD Sender: No OFD packet to send [17:27:30]OFD Sender: No OFD packet to send [17:27:35]OFD Sender: No OFD packet to send [17:27:40]OFD Sender: No OFD packet to send [17:27:45]OFD Sender: No OFD packet to send [17:27:50]OFD Sender: No OFD packet to send [17:27:55]OFD Sender: No OFD packet to send [17:28:00]OFD Sender: No OFD packet to send [17:28:05]OFD Sender: No OFD packet to send [17:28:10]OFD Sender: No OFD packet to send [17:28:15]OFD Sender: No OFD packet to send [17:28:20]OFD Sender: No OFD packet to send [17:28:25]OFD Sender: No OFD packet to send [17:28:30]OFD Sender: No OFD packet to send [17:28:35]OFD Sender: No OFD packet to send [17:28:40]OFD Sender: No OFD packet to send [17:28:46]OFD Sender: No OFD packet to send [17:28:51]OFD Sender: No OFD packet to send [17:28:56]OFD Sender: No OFD packet to send [17:29:01]OFD Sender: No OFD packet to send [17:29:06]OFD Sender: No OFD packet to send [17:29:11]OFD Sender: No OFD packet to send [17:29:16]OFD Sender: No OFD packet to send [17:29:21]OFD Sender: No OFD packet to send [17:29:26]OFD Sender: No OFD packet to send [17:29:31]OFD Sender: No OFD packet to send [17:29:36]OFD Sender: No OFD packet to send [17:29:41]OFD Sender: No OFD packet to send [17:29:46]OFD Sender: No OFD packet to send [17:29:51]OFD Sender: No OFD packet to send [17:29:56]OFD Sender: No OFD packet to send [17:30:01]OFD Sender: No OFD packet to send [17:30:06]OFD Sender: No OFD packet to send [17:30:11]OFD Sender: No OFD packet to send [17:30:16]OFD Sender: No OFD packet to send [17:30:21]OFD Sender: No OFD packet to send [17:30:26]OFD Sender: No OFD packet to send [17:30:31]OFD Sender: No OFD packet to send [17:30:36]OFD Sender: No OFD packet to send [17:30:41]OFD Sender: No OFD packet to send [17:30:46]OFD Sender: No OFD packet to send [17:30:51]OFD Sender: No OFD packet to send [17:30:56]OFD Sender: No OFD packet to send [17:31:01]OFD Sender: No OFD packet to send [17:31:06]OFD Sender: No OFD packet to send [17:31:11]OFD Sender: No OFD packet to send [17:31:16]OFD Sender: No OFD packet to send [17:31:21]OFD Sender: No OFD packet to send [17:31:26]OFD Sender: No OFD packet to send [17:31:31]OFD Sender: No OFD packet to send [17:31:36]OFD Sender: No OFD packet to send [17:31:41]OFD Sender: No OFD packet to send [17:31:46]OFD Sender: No OFD packet to send [17:31:51]OFD Sender: No OFD packet to send [17:31:56]OFD Sender: No OFD packet to send [17:32:01]OFD Sender: No OFD packet to send [17:32:06]OFD Sender: No OFD packet to send [17:32:11]OFD Sender: No OFD packet to send [17:32:16]OFD Sender: No OFD packet to send [17:32:21]OFD Sender: No OFD packet to send [17:32:26]OFD Sender: No OFD packet to send [17:32:31]OFD Sender: No OFD packet to send [17:32:36]OFD Sender: No OFD packet to send [17:32:41]OFD Sender: No OFD packet to send [17:32:46]OFD Sender: No OFD packet to send [17:32:51]OFD Sender: No OFD packet to send [17:32:56]OFD Sender: No OFD packet to send [17:33:01]OFD Sender: No OFD packet to send [17:33:06]OFD Sender: No OFD packet to send [17:33:11]OFD Sender: No OFD packet to send [17:33:16]OFD Sender: No OFD packet to send [17:33:21]OFD Sender: No OFD packet to send [17:33:26]OFD Sender: No OFD packet to send [17:33:31]OFD Sender: No OFD packet to send [17:33:36]OFD Sender: No OFD packet to send [17:33:41]OFD Sender: No OFD packet to send [17:33:46]OFD Sender: No OFD packet to send [17:33:51]OFD Sender: No OFD packet to send [17:33:56]OFD Sender: No OFD packet to send [17:34:01]OFD Sender: No OFD packet to send [17:34:06]OFD Sender: No OFD packet to send [17:34:11]OFD Sender: No OFD packet to send [17:34:16]OFD Sender: No OFD packet to send [17:34:21]OFD Sender: No OFD packet to send [17:34:26]OFD Sender: No OFD packet to send [17:34:31]OFD Sender: No OFD packet to send [17:34:36]OFD Sender: No OFD packet to send [17:34:41]OFD Sender: No OFD packet to send [17:34:46]OFD Sender: No OFD packet to send [17:34:51]OFD Sender: No OFD packet to send [17:34:56]OFD Sender: No OFD packet to send [17:35:01]OFD Sender: No OFD packet to send [17:35:06]OFD Sender: No OFD packet to send [17:35:11]OFD Sender: No OFD packet to send [17:35:16]OFD Sender: No OFD packet to send [17:35:21]OFD Sender: No OFD packet to send [17:35:26]OFD Sender: No OFD packet to send [17:35:31]OFD Sender: No OFD packet to send [17:35:36]OFD Sender: No OFD packet to send [17:35:41]OFD Sender: No OFD packet to send [17:35:46]OFD Sender: No OFD packet to send [17:35:51]OFD Sender: No OFD packet to send [17:35:56]OFD Sender: No OFD packet to send [17:36:01]OFD Sender: No OFD packet to send [17:36:06]OFD Sender: No OFD packet to send [17:36:11]OFD Sender: No OFD packet to send [17:36:16]OFD Sender: No OFD packet to send [17:36:21]OFD Sender: No OFD packet to send [17:36:26]OFD Sender: No OFD packet to send [17:36:31]OFD Sender: No OFD packet to send [17:36:36]OFD Sender: No OFD packet to send [17:36:41]OFD Sender: No OFD packet to send [17:36:46]OFD Sender: No OFD packet to send [17:36:51]OFD Sender: No OFD packet to send [17:36:56]OFD Sender: No OFD packet to send [17:37:01]OFD Sender: No OFD packet to send [17:37:06]OFD Sender: No OFD packet to send [17:37:11]OFD Sender: No OFD packet to send [17:37:16]OFD Sender: No OFD packet to send [17:37:21]OFD Sender: No OFD packet to send [17:37:26]OFD Sender: No OFD packet to send [17:37:31]OFD Sender: No OFD packet to send [17:37:36]OFD Sender: No OFD packet to send [17:37:41]OFD Sender: No OFD packet to send [17:37:46]OFD Sender: No OFD packet to send [17:37:51]OFD Sender: No OFD packet to send [17:37:56]OFD Sender: No OFD packet to send [17:38:01]OFD Sender: No OFD packet to send [17:38:06]OFD Sender: No OFD packet to send [17:38:11]OFD Sender: No OFD packet to send [17:38:16]OFD Sender: No OFD packet to send [17:38:21]OFD Sender: No OFD packet to send [17:38:26]OFD Sender: No OFD packet to send [17:38:31]OFD Sender: No OFD packet to send [17:38:36]OFD Sender: No OFD packet to send [17:38:41]OFD Sender: No OFD packet to send [17:38:46]OFD Sender: No OFD packet to send [17:38:51]OFD Sender: No OFD packet to send [17:38:56]OFD Sender: No OFD packet to send [17:39:01]OFD Sender: No OFD packet to send [17:39:06]OFD Sender: No OFD packet to send [17:39:11]OFD Sender: No OFD packet to send [17:39:16]OFD Sender: No OFD packet to send [17:39:21]OFD Sender: No OFD packet to send [17:39:26]OFD Sender: No OFD packet to send [17:39:31]OFD Sender: No OFD packet to send [17:39:36]OFD Sender: No OFD packet to send [17:39:41]OFD Sender: No OFD packet to send [17:39:46]OFD Sender: No OFD packet to send [17:39:51]OFD Sender: No OFD packet to send [17:39:56]OFD Sender: No OFD packet to send [17:40:01]OFD Sender: No OFD packet to send [17:40:06]OFD Sender: No OFD packet to send [17:40:11]OFD Sender: No OFD packet to send [17:40:16]OFD Sender: No OFD packet to send [17:40:21]OFD Sender: No OFD packet to send [17:40:26]OFD Sender: No OFD packet to send [17:40:31]OFD Sender: No OFD packet to send [17:40:36]OFD Sender: No OFD packet to send [17:40:41]OFD Sender: No OFD packet to send [17:40:46]OFD Sender: No OFD packet to send [17:40:51]OFD Sender: No OFD packet to send [17:40:56]OFD Sender: No OFD packet to send [17:41:01]OFD Sender: No OFD packet to send [17:41:06]OFD Sender: No OFD packet to send [17:41:11]OFD Sender: No OFD packet to send [17:41:16]OFD Sender: No OFD packet to send [17:41:21]OFD Sender: No OFD packet to send [17:41:26]OFD Sender: No OFD packet to send [17:41:31]OFD Sender: No OFD packet to send [17:41:36]OFD Sender: No OFD packet to send [17:41:41]OFD Sender: No OFD packet to send [17:41:46]OFD Sender: No OFD packet to send [17:41:51]OFD Sender: No OFD packet to send [17:41:56]OFD Sender: No OFD packet to send [17:42:01]OFD Sender: No OFD packet to send [17:42:06]OFD Sender: No OFD packet to send [17:42:11]OFD Sender: No OFD packet to send [17:42:16]OFD Sender: No OFD packet to send [17:42:21]OFD Sender: No OFD packet to send [17:42:26]OFD Sender: No OFD packet to send [17:42:31]OFD Sender: No OFD packet to send [17:42:36]OFD Sender: No OFD packet to send [17:42:41]OFD Sender: No OFD packet to send [17:42:46]OFD Sender: No OFD packet to send [17:42:51]OFD Sender: No OFD packet to send [17:42:56]OFD Sender: No OFD packet to send [17:43:01]OFD Sender: No OFD packet to send [17:43:06]OFD Sender: No OFD packet to send [17:43:11]OFD Sender: No OFD packet to send [17:43:16]OFD Sender: No OFD packet to send [17:43:21]OFD Sender: No OFD packet to send [17:43:26]OFD Sender: No OFD packet to send [17:43:31]OFD Sender: No OFD packet to send [17:43:36]OFD Sender: No OFD packet to send [17:43:41]OFD Sender: No OFD packet to send [17:43:46]OFD Sender: No OFD packet to send [17:43:51]OFD Sender: No OFD packet to send [17:43:56]OFD Sender: No OFD packet to send [17:44:01]OFD Sender: No OFD packet to send [17:44:06]OFD Sender: No OFD packet to send [17:44:11]OFD Sender: No OFD packet to send [17:44:16]OFD Sender: No OFD packet to send [17:44:21]OFD Sender: No OFD packet to send [17:44:26]OFD Sender: No OFD packet to send [17:44:31]OFD Sender: No OFD packet to send [17:44:36]OFD Sender: No OFD packet to send [17:44:41]OFD Sender: No OFD packet to send [17:44:46]OFD Sender: No OFD packet to send [17:44:51]OFD Sender: No OFD packet to send [17:44:56]OFD Sender: No OFD packet to send [17:45:01]OFD Sender: No OFD packet to send [17:45:06]OFD Sender: No OFD packet to send [17:45:11]OFD Sender: No OFD packet to send [17:45:16]OFD Sender: No OFD packet to send [17:45:21]OFD Sender: No OFD packet to send [17:45:26]OFD Sender: No OFD packet to send [17:45:31]OFD Sender: No OFD packet to send [17:45:36]OFD Sender: No OFD packet to send [17:45:41]OFD Sender: No OFD packet to send [17:45:46]OFD Sender: No OFD packet to send [17:45:51]OFD Sender: No OFD packet to send [17:45:56]OFD Sender: No OFD packet to send [17:46:01]OFD Sender: No OFD packet to send [17:46:06]OFD Sender: No OFD packet to send [17:46:11]OFD Sender: No OFD packet to send [17:46:16]OFD Sender: No OFD packet to send [17:46:21]OFD Sender: No OFD packet to send [17:46:26]OFD Sender: No OFD packet to send [17:46:31]OFD Sender: No OFD packet to send [17:46:36]OFD Sender: No OFD packet to send [17:46:41]OFD Sender: No OFD packet to send [17:46:46]OFD Sender: No OFD packet to send [17:46:51]OFD Sender: No OFD packet to send [17:46:56]OFD Sender: No OFD packet to send [17:47:01]OFD Sender: No OFD packet to send [17:47:06]OFD Sender: No OFD packet to send [17:47:11]OFD Sender: No OFD packet to send [17:47:16]OFD Sender: No OFD packet to send [17:47:22]OFD Sender: No OFD packet to send [17:47:27]OFD Sender: No OFD packet to send [17:47:32]OFD Sender: No OFD packet to send [17:47:37]OFD Sender: No OFD packet to send [17:47:42]OFD Sender: No OFD packet to send [17:47:47]OFD Sender: No OFD packet to send [17:47:52]OFD Sender: No OFD packet to send [17:47:57]OFD Sender: No OFD packet to send [17:48:02]OFD Sender: No OFD packet to send [17:48:07]OFD Sender: No OFD packet to send [17:48:12]OFD Sender: No OFD packet to send [17:48:17]OFD Sender: No OFD packet to send [17:48:22]OFD Sender: No OFD packet to send [17:48:27]OFD Sender: No OFD packet to send [17:48:32]OFD Sender: No OFD packet to send [17:48:37]OFD Sender: No OFD packet to send [17:48:42]OFD Sender: No OFD packet to send [17:48:47]OFD Sender: No OFD packet to send [17:48:52]OFD Sender: No OFD packet to send [17:48:57]OFD Sender: No OFD packet to send [17:49:02]OFD Sender: No OFD packet to send [17:49:07]OFD Sender: No OFD packet to send [17:49:12]OFD Sender: No OFD packet to send [17:49:17]OFD Sender: No OFD packet to send [17:49:22]OFD Sender: No OFD packet to send [17:49:27]OFD Sender: No OFD packet to send [17:49:32]OFD Sender: No OFD packet to send [17:49:37]OFD Sender: No OFD packet to send [17:49:42]OFD Sender: No OFD packet to send [17:49:47]OFD Sender: No OFD packet to send [17:49:52]OFD Sender: No OFD packet to send [17:49:57]OFD Sender: No OFD packet to send [17:50:02]OFD Sender: No OFD packet to send [17:50:07]OFD Sender: No OFD packet to send [17:50:12]OFD Sender: No OFD packet to send [17:50:17]OFD Sender: No OFD packet to send [17:50:22]OFD Sender: No OFD packet to send [17:50:27]OFD Sender: No OFD packet to send [17:50:32]OFD Sender: No OFD packet to send [17:50:37]OFD Sender: No OFD packet to send [17:50:42]OFD Sender: No OFD packet to send [17:50:47]OFD Sender: No OFD packet to send [17:50:52]OFD Sender: No OFD packet to send [17:50:57]OFD Sender: No OFD packet to send [17:51:02]OFD Sender: No OFD packet to send [17:51:07]OFD Sender: No OFD packet to send [17:51:12]OFD Sender: No OFD packet to send [17:51:17]OFD Sender: No OFD packet to send [17:51:22]OFD Sender: No OFD packet to send [17:51:27]OFD Sender: No OFD packet to send [17:51:32]OFD Sender: No OFD packet to send [17:51:37]OFD Sender: No OFD packet to send [17:51:42]OFD Sender: No OFD packet to send [17:51:47]OFD Sender: No OFD packet to send [17:51:52]OFD Sender: No OFD packet to send [17:51:57]OFD Sender: No OFD packet to send [17:52:02]OFD Sender: No OFD packet to send [17:52:07]OFD Sender: No OFD packet to send [17:52:12]OFD Sender: No OFD packet to send [17:52:17]OFD Sender: No OFD packet to send [17:52:22]OFD Sender: No OFD packet to send [17:52:27]OFD Sender: No OFD packet to send [17:52:32]OFD Sender: No OFD packet to send [17:52:37]OFD Sender: No OFD packet to send [17:52:42]OFD Sender: No OFD packet to send [17:52:47]OFD Sender: No OFD packet to send [17:52:52]OFD Sender: No OFD packet to send [17:52:57]OFD Sender: No OFD packet to send [17:53:02]OFD Sender: No OFD packet to send [17:53:07]OFD Sender: No OFD packet to send [17:53:12]OFD Sender: No OFD packet to send [17:53:17]OFD Sender: No OFD packet to send [17:53:22]OFD Sender: No OFD packet to send [17:53:27]OFD Sender: No OFD packet to send [17:53:32]OFD Sender: No OFD packet to send [17:53:37]OFD Sender: No OFD packet to send [17:53:42]OFD Sender: No OFD packet to send [17:53:47]OFD Sender: No OFD packet to send [17:53:52]OFD Sender: No OFD packet to send [17:53:57]OFD Sender: No OFD packet to send [17:54:02]OFD Sender: No OFD packet to send [17:54:07]OFD Sender: No OFD packet to send [17:54:12]OFD Sender: No OFD packet to send [17:54:17]OFD Sender: No OFD packet to send [17:54:22]OFD Sender: No OFD packet to send [17:54:27]OFD Sender: No OFD packet to send [17:54:32]OFD Sender: No OFD packet to send [17:54:37]OFD Sender: No OFD packet to send [17:54:42]OFD Sender: No OFD packet to send [17:54:47]OFD Sender: No OFD packet to send [17:54:52]OFD Sender: No OFD packet to send [17:54:57]OFD Sender: No OFD packet to send [17:55:02]OFD Sender: No OFD packet to send [17:55:07]OFD Sender: No OFD packet to send [17:55:12]OFD Sender: No OFD packet to send [17:55:17]OFD Sender: No OFD packet to send [17:55:22]OFD Sender: No OFD packet to send [17:55:27]OFD Sender: No OFD packet to send [17:55:32]OFD Sender: No OFD packet to send [17:55:37]OFD Sender: No OFD packet to send [17:55:42]OFD Sender: No OFD packet to send [17:55:47]OFD Sender: No OFD packet to send [17:55:52]OFD Sender: No OFD packet to send [17:55:57]OFD Sender: No OFD packet to send [17:56:02]OFD Sender: No OFD packet to send [17:56:07]OFD Sender: No OFD packet to send [17:56:12]OFD Sender: No OFD packet to send [17:56:17]OFD Sender: No OFD packet to send [17:56:22]OFD Sender: No OFD packet to send [17:56:27]OFD Sender: No OFD packet to send [17:56:32]OFD Sender: No OFD packet to send [17:56:37]OFD Sender: No OFD packet to send [17:56:42]OFD Sender: No OFD packet to send [17:56:47]OFD Sender: No OFD packet to send [17:56:52]OFD Sender: No OFD packet to send [17:56:57]OFD Sender: No OFD packet to send [17:57:02]OFD Sender: No OFD packet to send [17:57:07]OFD Sender: No OFD packet to send [17:57:12]OFD Sender: No OFD packet to send [17:57:17]OFD Sender: No OFD packet to send [17:57:22]OFD Sender: No OFD packet to send [17:57:27]OFD Sender: No OFD packet to send [17:57:32]OFD Sender: No OFD packet to send [17:57:37]OFD Sender: No OFD packet to send [17:57:42]OFD Sender: No OFD packet to send [17:57:47]OFD Sender: No OFD packet to send [17:57:52]OFD Sender: No OFD packet to send [17:57:57]OFD Sender: No OFD packet to send [17:58:02]OFD Sender: No OFD packet to send [17:58:07]OFD Sender: No OFD packet to send [17:58:12]OFD Sender: No OFD packet to send [17:58:17]OFD Sender: No OFD packet to send [17:58:22]OFD Sender: No OFD packet to send [17:58:27]OFD Sender: No OFD packet to send [17:58:32]OFD Sender: No OFD packet to send [17:58:37]OFD Sender: No OFD packet to send [17:58:42]OFD Sender: No OFD packet to send [17:58:47]OFD Sender: No OFD packet to send [17:58:52]OFD Sender: No OFD packet to send [17:58:57]OFD Sender: No OFD packet to send [17:59:02]OFD Sender: No OFD packet to send [17:59:07]OFD Sender: No OFD packet to send [17:59:12]OFD Sender: No OFD packet to send [17:59:17]OFD Sender: No OFD packet to send [17:59:22]OFD Sender: No OFD packet to send [17:59:27]OFD Sender: No OFD packet to send [17:59:32]OFD Sender: No OFD packet to send [17:59:37]OFD Sender: No OFD packet to send [17:59:42]OFD Sender: No OFD packet to send [17:59:47]OFD Sender: No OFD packet to send [17:59:52]OFD Sender: No OFD packet to send [17:59:57]OFD Sender: No OFD packet to send [18:00:02]OFD Sender: No OFD packet to send [18:00:07]OFD Sender: No OFD packet to send [18:00:12]OFD Sender: No OFD packet to send [18:00:17]OFD Sender: No OFD packet to send [18:00:22]OFD Sender: No OFD packet to send [18:00:27]OFD Sender: No OFD packet to send [18:00:32]OFD Sender: No OFD packet to send [18:00:37]OFD Sender: No OFD packet to send [18:00:42]OFD Sender: No OFD packet to send [18:00:47]OFD Sender: No OFD packet to send [18:00:52]OFD Sender: No OFD packet to send [18:00:57]OFD Sender: No OFD packet to send [18:01:02]OFD Sender: No OFD packet to send [18:01:07]OFD Sender: No OFD packet to send [18:01:12]OFD Sender: No OFD packet to send [18:01:17]OFD Sender: No OFD packet to send [18:01:22]OFD Sender: No OFD packet to send [18:01:27]OFD Sender: No OFD packet to send [18:01:32]OFD Sender: No OFD packet to send [18:01:37]OFD Sender: No OFD packet to send [18:01:42]OFD Sender: No OFD packet to send [18:01:47]OFD Sender: No OFD packet to send [18:01:52]OFD Sender: No OFD packet to send [18:01:57]OFD Sender: No OFD packet to send [18:02:02]OFD Sender: No OFD packet to send [18:02:07]OFD Sender: No OFD packet to send [18:02:12]OFD Sender: No OFD packet to send [18:02:17]OFD Sender: No OFD packet to send [18:02:22]OFD Sender: No OFD packet to send [18:02:27]OFD Sender: No OFD packet to send [18:02:32]OFD Sender: No OFD packet to send [18:02:37]OFD Sender: No OFD packet to send [18:02:42]OFD Sender: No OFD packet to send [18:02:47]OFD Sender: No OFD packet to send [18:02:52]OFD Sender: No OFD packet to send [18:02:57]OFD Sender: No OFD packet to send [18:03:02]OFD Sender: No OFD packet to send [18:03:07]OFD Sender: No OFD packet to send [18:03:12]OFD Sender: No OFD packet to send [18:03:17]OFD Sender: No OFD packet to send [18:03:22]OFD Sender: No OFD packet to send [18:03:24]accept exits with 9 [18:03:24]New connection [18:03:24]New thread 3067014500 created [18:03:24]Thread 3066871140 joined [18:03:24]Waiting for new connection... [18:03:24] Sock 9.Parse request [18:03:24]Sock 9.Check first char [18:03:24]Sock 9.First char is OK [18:03:24]request: POST /json_proto HTTP/1.0 [18:03:24]Method: POST [18:03:24]URL: /json_proto [18:03:24]Method is POST - this is cgi request [18:03:24]url: /json_proto [18:03:24]query_string will be loaded in cgi processing [18:03:24]execute_cgi json_proto POST (null) [18:03:24]execute_cgi path=json_proto method=POST [18:03:24]POST find Content-Length [18:03:24]Host: 172.17.35.3:8080 [18:03:24]Content-Length: 687 [18:03:24]Content-Type: application/json [18:03:24] [18:03:24]POST finish read [18:03:24]Found Content-Length = 687 [18:03:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359501", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "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" ] } } [18:03:24]execute_script... [18:03: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 : (1)359501", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "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" ] } } [18:03:24]POST & json_proto [18:03:24]process_json_proto [18:03:24]json parsed OK: [18:03:24]protocol is kg_v1.0 [18:03:24]action value=close_receipt [18:03:24]process_action close_receipt [18:03:24]cmd_close_receipt [18:03:24]MH_GetDate [18:03:24]Write to MH i2c: F0 00 00 96 29 AE [18:03:24]Write i2c OK [18:03:24]MH_I2C_Read... [18:03:24]Read from MH i2c: F0 [18:03:24]MH_I2C_Read... [18:03:24]Read from MH i2c: F0 09 00 [18:03:24]MH_I2C_Read... [18:03:24]Read from MH i2c: F0 09 00 96 29 00 F6 DF 12 66 2B 11 66 64 0A [18:03:24]GetLastDocTimeStamp 1712510493 [18:03:24]current date 1712513014 [18:03:24]FM_GetShiftState [18:03:24]SAM_PROTO_GetShiftState [18:03:24]wFMCommunicate request_size=4 [18:03:24]MH_SAM_APDU [18:03:24]CAPDU: 80 13 01 00 [18:03:24]Write to MH i2c: E2 08 00 97 29 80 13 01 00 00 00 00 00 3D [18:03:24]Write i2c OK [18:03:24]MH_I2C_Read... [18:03:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:03:24]Read from MH i2c: E2 [18:03:24]MH_I2C_Read... [18:03:24]Read from MH i2c: E2 0E 00 [18:03:24]MH_I2C_Read... [18:03:24]Read from MH i2c: E2 0E 00 97 29 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 D1 [18:03:24]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [18:03:24]wFMCommunicate OK [18:03:24]SAM_PROTO_GetShiftState done [18:03:24]FM_GetShiftState done [18:03:24]opened in 1712450087 [18:03:24]opened+sec_in_day 1712536487 [18:03:24]quantity*price = 100017 [18:03:24]sum+1 = 100018 [18:03:24]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.17 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.21 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 57 07.04.2024 18:03 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26758 ФПД: 34326402860744 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T180334&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26758&fm=34326402860744&tin=02508201610067®Number=0000000000091578&sum=100000 [18:03:25]StoreToDocumentArchive [18:03:25]shift 313 fd 26758 [18:03:25]save to /storage/0313/doc_00026758 [18:03:25]save last doc name /storage/0313/doc_00026758 to /storage/kkm_last_doc_name [18:03:25]save OK [18:03:25]Clear old archive folders... [18:03:25]ProcessDocumentItem done err = 0, tmpTLVsize=252 [18:03:25]tlvbuf is 00EDB7F0 [18:03:25]SAM_PROTO_ClearQueue [18:03:25]wFMCommunicate request_size=4 [18:03:25]MH_SAM_APDU [18:03:25]CAPDU: 80 09 00 00 [18:03:25]Write to MH i2c: E2 08 00 A4 29 80 09 00 00 00 00 00 00 3F [18:03:25]Write i2c OK [18:03:25]MH_I2C_Read... [18:03:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:03:25]Read from MH i2c: E2 [18:03:25]MH_I2C_Read... [18:03:25]Read from MH i2c: E2 03 00 [18:03:25]MH_I2C_Read... [18:03:25]Read from MH i2c: E2 03 00 A4 29 00 90 00 41 [18:03:25]RAPDU: 90 00 [18:03:25]wFMCommunicate OK [18:03:25]SAM_PROTO_ClearQueue done [18:03:25]KKMCreateOFDPacket [18:03:25]OFDProtocolAddRootSTLVToBuf [18:03:25]FM_MakeSignedData [18:03:25]FM_MakeSignedData [18:03:25]SAM_PROTO_SignData [18:03:25]wFMCommunicate request_size=4 [18:03:25]MH_SAM_APDU [18:03:25]CAPDU: 80 0D 01 02 [18:03:25]Write to MH i2c: E2 08 00 A5 29 80 0D 01 02 00 00 00 00 47 [18:03:25]Write i2c OK [18:03:25]MH_I2C_Read... [18:03:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:03:25]Read from MH i2c: E2 [18:03:25]MH_I2C_Read... [18:03:25]Read from MH i2c: E2 03 00 [18:03:25]MH_I2C_Read... [18:03:25]Read from MH i2c: E2 03 00 A5 29 00 90 00 42 [18:03:25]RAPDU: 90 00 [18:03:25]wFMCommunicate OK [18:03:25]wFMCommunicate request_size=255 [18:03:25]MH_SAM_APDU [18:03:25]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 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 7D 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 39 00 00 00 F4 03 04 00 F6 DF 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 86 68 00 00 35 04 06 00 [18:03:25]Write to MH i2c: E2 02 01 A6 29 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 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 7D 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 39 00 00 00 F4 03 04 00 F6 DF 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 86 68 00 00 35 04 06 00 00 00 B0 [18:03:25]Write i2c OK [18:03:25]MH_I2C_Read... [18:03:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:03:25]Read from MH i2c: E2 [18:03:25]MH_I2C_Read... [18:03:25]Read from MH i2c: E2 03 00 [18:03:25]MH_I2C_Read... [18:03:25]Read from MH i2c: E2 03 00 A6 29 00 90 00 43 [18:03:25]RAPDU: 90 00 [18:03:25]wFMCommunicate OK [18:03:25]wFMCommunicate request_size=11 [18:03:25]MH_SAM_APDU [18:03:25]CAPDU: 80 0D 02 02 06 1F 38 3D 0C 86 C8 [18:03:25]Write to MH i2c: E2 0E 00 A7 29 80 0D 02 02 06 00 1F 38 3D 0C 86 C8 00 00 44 [18:03:25]Write i2c OK [18:03:25]MH_I2C_Read... [18:03:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:03:25]Read from MH i2c: E2 [18:03:25]MH_I2C_Read... [18:03:25]Read from MH i2c: E2 03 00 [18:03:25]MH_I2C_Read... [18:03:25]Read from MH i2c: E2 03 00 A7 29 00 90 00 44 [18:03:25]RAPDU: 90 00 [18:03:25]wFMCommunicate OK [18:03:25]wFMCommunicate request_size=4 [18:03:25]MH_SAM_APDU [18:03:25]CAPDU: 80 0D 03 02 [18:03:25]Write to MH i2c: E2 08 00 A8 29 80 0D 03 02 00 00 00 00 4C [18:03:25]Write i2c OK [18:03:25]MH_I2C_Read... [18:03:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:03:25]Read from MH i2c: E2 [18:03:25]MH_I2C_Read... [18:03:25]Read from MH i2c: E2 0B 00 [18:03:25]MH_I2C_Read... [18:03:25]Read from MH i2c: E2 0B 00 A8 29 00 B3 EA AD CB 98 C9 87 D2 90 00 1C [18:03:25]RAPDU: B3 EA AD CB 98 C9 87 D2 90 00 [18:03:25]wFMCommunicate OK [18:03:25]SAM_PROTO_SignData done [18:03:25]FM_MakeSignedData done [18:03:25]CreateOFDProtocolMessage [18:03:25]wFMCommunicate request_size=4 [18:03:25]MH_SAM_APDU [18:03:25]CAPDU: 80 11 00 00 [18:03:25]Write to MH i2c: E2 08 00 A9 29 80 11 00 00 00 00 00 00 4C [18:03:25]Write i2c OK [18:03:25]MH_I2C_Read... [18:03:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:03:26]Read from MH i2c: E2 [18:03:26]MH_I2C_Read... [18:03:26]Read from MH i2c: E2 17 00 [18:03:26]MH_I2C_Read... [18:03:26]Read from MH i2c: E2 17 00 A9 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 A4 [18:03:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [18:03:26]wFMCommunicate OK [18:03:26]CreateOFDProtocolMessage done [18:03:26]OFDSenderStorePacket 26758 [18:03:26]StoreOFDPacket docnum=26758 [18:03:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 B5 7D 08 01 60 FB 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 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 7D 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 39 00 00 00 F4 03 04 00 F6 DF 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 86 68 00 00 35 04 06 00 1F 38 3D 0C 86 C8 B3 EA AD CB 98 C9 87 D2 [18:03:26]CheckFolder [18:03:26]dirname=/storage/ofd_packets [18:03:26]CheckFolder done [18:03:26]ProducePacketName [18:03:26]name=ofd_packets/00026758 [18:03:26]NVStorageSaveData ofd_packets/00026758 [18:03:26]File name is /storage/ofd_packets/00026758 [18:03:26]Write 302 bytes [18:03:26]NVStorageSaveData done [18:03:26]OFDSenderStorePacket done [18:03:26]KKMCreateOFDPacket done [18:03:26]NVStorageSaveData kkm_last_timestamp [18:03:26]File name is /storage/kkm_last_timestamp [18:03:26]Write 4 bytes [18:03:26]NVStorageSaveData done [18:03:26]ExternCall_PrintAddStr [18:03:26]wPrintStart [18:03:26]Write to MH i2c: 01 00 00 AA 29 D3 [18:03:26]Write i2c OK [18:03:26]MH_I2C_Read... [18:03:26]Read from MH i2c: 01 [18:03:26]MH_I2C_Read... [18:03:26]Read from MH i2c: 01 07 00 [18:03:26]MH_I2C_Read... [18:03:26]Read from MH i2c: 01 07 00 AA 29 00 00 00 00 00 FF 0F E8 [18:03:26]RasterBufferAndPrint [18:03:26]line Счет N : (1)359501 [18:03:26]line ИНН: 02508201610067 [18:03:26]line Контрольно-Кассовый Чек [18:03:26]line ПРОДАЖА [18:03:26]line ТРК (МРК, ГНК) : 21 [18:03:26]line Товар: 2710194210 [18:03:26]line ДТ(л)-К-5 [18:03:26]line 13.930 * 71.80 [18:03:26]line = 1000.17 [18:03:26]line НДС 12% НСП 1% [18:03:26]line > о реализуемом товаре [18:03:26]line ОКРУГЛЕНИЕ: -0.17 [18:03:26]line ИТОГО: 1000.00 [18:03:26]line Внесено: 1000.00 [18:03:26]line СДАЧА: 0.00 [18:03:26]line НСП 1% : 8.85 [18:03:26]line НДС 12% : 106.21 [18:03:26]line Наличными: 1000.00 [18:03:26]line Безнал.: 0.00 [18:03:26]line Место: АЗС № 122 "Партнер Нефть" [18:03:26]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [18:03:26]line СНО: Общий режим [18:03:26]line Чек 57 07.04.2024 18:03 [18:03:26]line Смена: 313 ФФД: 1.0 [18:03:26]line ЗНМ: 0300000147 [18:03:26]line РНМ: 0000000000091578 [18:03:26]line Версия ККМ: 001 [18:03:26]line ФМ: 0000000000874657 [18:03:26]line ФД: 26758 [18:03:26]line ФПД: 34326402860744 [18:03:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T180334&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26758&fm=34326402860744&tin=02508201610067®Number=0000000000091578&sum=100000 [18:03:26]OFD Sender: Processing packet 26758 [packets to send 44, broken 43] [18:03:26]ProducePacketName [18:03:26]name=ofd_packets/00026758 [18:03:26]OFD Sender: To server: pG, [18:03:26]CommunicateWithHost lk.salyk.kg:30040 [18:03:26]ConnectInit lk.salyk.kg [18:03:26]written 0, free lines is 4095 [18:03:26]Connected sock=10 [18:03:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 B5 7D 08 01 60 FB 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 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 7D 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 39 00 00 00 F4 03 04 00 F6 DF 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 86 68 00 00 35 04 06 00 1F 38 3D 0C 86 C8 B3 EA AD CB 98 C9 87 D2 [18:03:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 A8 86 47 00 25 11 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 37 10 04 04 00 86 68 00 00 F4 03 04 00 63 87 12 66 B6 04 01 00 00 52 BC 4A A6 DE 25 81 5D [18:03:26]CommunicateWithHost err = 0 [18:03:26]CheckOFDResponse [18:03:26]1017 (14) - 77093643461234 [18:03:26]1041 (16) - 0000000000874657 [18:03:26]1040 (4) - 26758 [18:03:26]1012 (4) - 07.04.2024 11:45 [18:03:26]1206 (1) - 0 [18:03:26]OFD Sender: Remove packet 26758 [18:03:26]ProducePacketName [18:03:26]name=ofd_packets/00026758 [18:03:26]NVStorageDeleteData [18:03:26]Write to MH i2c: 01 00 00 D5 29 FE [18:03:26]Write i2c OK [18:03:26]MH_I2C_Read... [18:03:26]Read from MH i2c: 01 [18:03:26]MH_I2C_Read... [18:03:26]Read from MH i2c: 01 07 00 [18:03:26]MH_I2C_Read... [18:03:26]Read from MH i2c: 01 07 00 D5 29 00 00 00 00 00 6D 0C 7E [18:03:26]RasterBufferAndPrint [18:03:26]line [18:03:26]line [18:03:26]line [18:03:26]line [18:03:26]line [18:03:26]written 0, free lines is 3184 [18:03:26]MH_Cut [18:03:26]Write to MH i2c: D1 01 00 DC 29 01 D7 [18:03:26]Write i2c OK [18:03:26]MH_I2C_Read... [18:03:26]Read from MH i2c: D1 [18:03:26]MH_I2C_Read... [18:03:26]Read from MH i2c: D1 01 00 [18:03:26]MH_I2C_Read... [18:03:26]Read from MH i2c: D1 01 00 DC 29 00 D6 [18:03:26]Write to MH i2c: 01 00 00 DD 29 06 [18:03:26]Write i2c OK [18:03:26]MH_I2C_Read... [18:03:27]OFD Sender: No OFD packet to send [18:03:27]*** Cut start [18:03:27]*** Partial cut [18:03:27]*** CUTSNS_PIN = 1 [18:03:27]*** CUTSNS_PIN = 0 [18:03:28]*** Brake cut motor [18:03:28]Read from MH i2c: 01 [18:03:28]MH_I2C_Read... [18:03:28]*** Stop cut motor [18:03:28]*** Cut end [18:03:28]Read from MH i2c: 01 07 00 [18:03:28]MH_I2C_Read... [18:03:28]Read from MH i2c: 01 07 00 DD 29 00 00 00 00 00 FF 0F 1B [18:03:28]process_action close_receipt done [18:03:28]requested_data is exist [18:03:28]produce_requested_data [18:03:28]requested_item fm.sn is exist - process it [18:03:28]wFMCommunicate request_size=4 [18:03:28]MH_SAM_APDU [18:03:28]CAPDU: 80 11 00 00 [18:03:28]Write to MH i2c: E2 08 00 DE 29 80 11 00 00 00 00 00 00 81 [18:03:28]Write i2c OK [18:03:28]MH_I2C_Read... [18:03:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:03:28]Read from MH i2c: E2 [18:03:28]MH_I2C_Read... [18:03:28]Read from MH i2c: E2 17 00 [18:03:28]MH_I2C_Read... [18:03:28]Read from MH i2c: E2 17 00 DE 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 D9 [18:03:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [18:03:28]wFMCommunicate OK [18:03:28]requested_item fd.num is exist - process it [18:03:28]SAM_PROTO_GetFieldsCounters [18:03:28]wFMCommunicate request_size=4 [18:03:28]MH_SAM_APDU [18:03:28]CAPDU: 80 13 00 00 [18:03:28]Write to MH i2c: E2 08 00 DF 29 80 13 00 00 00 00 00 00 84 [18:03:28]Write i2c OK [18:03:28]MH_I2C_Read... [18:03:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:03:28]Read from MH i2c: E2 [18:03:28]MH_I2C_Read... [18:03:28]Read from MH i2c: E2 62 00 [18:03:28]MH_I2C_Read... [18:03:28]Read from MH i2c: E2 62 00 DF 29 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 86 68 00 00 0E 04 04 00 39 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 82 [18:03: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 86 68 00 00 0E 04 04 00 39 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 [18:03:28]wFMCommunicate OK [18:03:28]SAM_PROTO_GetFieldsCounters done [18:03:28]requested_item shift.num is exist - process it [18:03:28]requested_item shift.opened is exist - process it [18:03:28]req_shift_opened [18:03:28]FM_GetShiftState [18:03:28]SAM_PROTO_GetShiftState [18:03:28]wFMCommunicate request_size=4 [18:03:28]MH_SAM_APDU [18:03:28]CAPDU: 80 13 01 00 [18:03:28]Write to MH i2c: E2 08 00 E0 29 80 13 01 00 00 00 00 00 86 [18:03:28]Write i2c OK [18:03:28]MH_I2C_Read... [18:03:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:03:28]Read from MH i2c: E2 [18:03:28]MH_I2C_Read... [18:03:28]Read from MH i2c: E2 0E 00 [18:03:28]MH_I2C_Read... [18:03:28]Read from MH i2c: E2 0E 00 E0 29 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 1A [18:03:28]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [18:03:28]wFMCommunicate OK [18:03:28]SAM_PROTO_GetShiftState done [18:03:28]FM_GetShiftState done [18:03:28]req_shift_opened done [18:03:28]requested_item shift.open_date is exist - process it [18:03:28]req_shift_open_date [18:03:28]req_shift_open_date done [18:03:28]produce_requested_data done [18:03:28]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26758,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [18:03:28]process_action_free close_receipt [18:03:28]json_value_free [18:03:28]json_value_free done [18:03:28]process_json_proto returns [18:03:28]Send response to host [18:03:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26758,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [18:03:28]free response buf [18:03:28]execute_script done [18:03:28]execute_script returns [18:03:28]free content buf [18:03:28]Sock 9.Close socket [18:03:28]Sock 9.Thread stoped [18:03:32]OFD Sender: No OFD packet to send [18:03:37]OFD Sender: No OFD packet to send [18:03:42]OFD Sender: No OFD packet to send [18:03:47]OFD Sender: No OFD packet to send [18:03:52]OFD Sender: No OFD packet to send [18:03:57]OFD Sender: No OFD packet to send [18:04:02]OFD Sender: No OFD packet to send [18:04:07]OFD Sender: No OFD packet to send [18:04:12]OFD Sender: No OFD packet to send [18:04:17]OFD Sender: No OFD packet to send [18:04:22]OFD Sender: No OFD packet to send [18:04:27]OFD Sender: No OFD packet to send [18:04:32]OFD Sender: No OFD packet to send [18:04:37]OFD Sender: No OFD packet to send [18:04:42]OFD Sender: No OFD packet to send [18:04:47]OFD Sender: No OFD packet to send [18:04:52]OFD Sender: No OFD packet to send [18:04:57]OFD Sender: No OFD packet to send [18:05:02]OFD Sender: No OFD packet to send [18:05:07]OFD Sender: No OFD packet to send [18:05:12]OFD Sender: No OFD packet to send [18:05:17]OFD Sender: No OFD packet to send [18:05:22]OFD Sender: No OFD packet to send [18:05:27]OFD Sender: No OFD packet to send [18:05:32]OFD Sender: No OFD packet to send [18:05:37]OFD Sender: No OFD packet to send [18:05:37]int [18:05:37]Write to MH i2c: 01 00 00 E1 29 0A [18:05:37]*** FLAG_PRN_KEY set [18:05:37]Write i2c OK [18:05:37]MH_I2C_Read... [18:05:37]Read from MH i2c: 01 [18:05:37]MH_I2C_Read... [18:05:37]Read from MH i2c: 01 07 00 [18:05:37]MH_I2C_Read... [18:05:37]Read from MH i2c: 01 07 00 E1 29 00 08 00 00 00 FF 0F 27 [18:05:37]state=0 [18:05:37]Key pressed [18:05:37]Feed [18:05:37]Write to MH i2c: D8 00 00 E2 29 E2 [18:05:37]Write i2c OK [18:05:37]MH_I2C_Read... [18:05:37]Read from MH i2c: D8 [18:05:37]MH_I2C_Read... [18:05:37]Read from MH i2c: D8 01 00 [18:05:37]MH_I2C_Read... [18:05:37]Read from MH i2c: D8 01 00 E2 29 00 E3 [18:05:37]int [18:05:37]Write to MH i2c: 01 00 00 E3 29 0C [18:05:37]Write i2c OK [18:05:37]MH_I2C_Read... [18:05:37]Read from MH i2c: 01 [18:05:37]MH_I2C_Read... [18:05:37]Read from MH i2c: 01 07 00 [18:05:37]MH_I2C_Read... [18:05:37]Read from MH i2c: 01 07 00 E3 29 00 48 00 00 00 3C 00 97 [18:05:37]state=2 [18:05:37]Key pressed [18:05:37]int [18:05:37]Write to MH i2c: 01 00 00 E4 29 0D [18:05:37]*** FLAG_PRN_KEY reset [18:05:37]Write i2c OK [18:05:37]MH_I2C_Read... [18:05:37]Read from MH i2c: 01 [18:05:37]MH_I2C_Read... [18:05:37]Read from MH i2c: 01 07 00 [18:05:37]MH_I2C_Read... [18:05:37]Read from MH i2c: 01 07 00 E4 29 00 00 00 00 00 F7 0F 1A [18:05:37]state=2 [18:05:37]Stop feed [18:05:42]OFD Sender: No OFD packet to send [18:05:47]OFD Sender: No OFD packet to send [18:05:52]OFD Sender: No OFD packet to send [18:05:57]OFD Sender: No OFD packet to send [18:06:02]OFD Sender: No OFD packet to send [18:06:07]OFD Sender: No OFD packet to send [18:06:12]OFD Sender: No OFD packet to send [18:06:17]OFD Sender: No OFD packet to send [18:06:22]OFD Sender: No OFD packet to send [18:06:27]OFD Sender: No OFD packet to send [18:06:32]OFD Sender: No OFD packet to send [18:06:37]OFD Sender: No OFD packet to send [18:06:42]OFD Sender: No OFD packet to send [18:06:47]OFD Sender: No OFD packet to send [18:06:52]OFD Sender: No OFD packet to send [18:06:57]OFD Sender: No OFD packet to send [18:07:02]OFD Sender: No OFD packet to send [18:07:07]OFD Sender: No OFD packet to send [18:07:12]OFD Sender: No OFD packet to send [18:07:17]OFD Sender: No OFD packet to send [18:07:21]accept exits with 8 [18:07:21]New connection [18:07:21]New thread 3066871140 created [18:07:21]Thread 3067014500 joined [18:07:21]Waiting for new connection... [18:07:21] Sock 8.Parse request [18:07:21]Sock 8.Check first char [18:07:21]Sock 8.First char is OK [18:07:21]request: POST /json_proto HTTP/1.0 [18:07:21]Method: POST [18:07:21]URL: /json_proto [18:07:21]Method is POST - this is cgi request [18:07:21]url: /json_proto [18:07:21]query_string will be loaded in cgi processing [18:07:21]execute_cgi json_proto POST (null) [18:07:21]execute_cgi path=json_proto method=POST [18:07:21]POST find Content-Length [18:07:21]Host: 172.17.35.3:8080 [18:07:21]Content-Length: 803 [18:07:21]Content-Type: application/json [18:07:21] [18:07:21]POST finish read [18:07:21]Found Content-Length = 803 [18:07:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359502", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 31.550, "sum" : 2000.27, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 2000.27 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:07:21]execute_script... [18:07: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 : (1)359502", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 31.550, "sum" : 2000.27, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 2000.27 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:07:21]POST & json_proto [18:07:21]process_json_proto [18:07:21]json parsed OK: [18:07:21]protocol is kg_v1.0 [18:07:21]action value=close_receipt [18:07:21]process_action close_receipt [18:07:21]cmd_close_receipt [18:07:21]MH_GetDate [18:07:21]Write to MH i2c: F0 00 00 E5 29 FD [18:07:21]Write i2c OK [18:07:21]MH_I2C_Read... [18:07:21]Read from MH i2c: F0 [18:07:21]MH_I2C_Read... [18:07:21]Read from MH i2c: F0 09 00 [18:07:21]MH_I2C_Read... [18:07:21]Read from MH i2c: F0 09 00 E5 29 00 E3 E0 12 66 2B 11 66 64 47 [18:07:21]GetLastDocTimeStamp 1712513014 [18:07:21]current date 1712513251 [18:07:21]FM_GetShiftState [18:07:21]SAM_PROTO_GetShiftState [18:07:21]wFMCommunicate request_size=4 [18:07:21]MH_SAM_APDU [18:07:21]CAPDU: 80 13 01 00 [18:07:21]Write to MH i2c: E2 08 00 E6 29 80 13 01 00 00 00 00 00 8C [18:07:21]Write i2c OK [18:07:21]MH_I2C_Read... [18:07:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:07:21]Read from MH i2c: E2 [18:07:21]MH_I2C_Read... [18:07:21]Read from MH i2c: E2 0E 00 [18:07:21]MH_I2C_Read... [18:07:21]Read from MH i2c: E2 0E 00 E6 29 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 20 [18:07:21]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [18:07:21]wFMCommunicate OK [18:07:21]SAM_PROTO_GetShiftState done [18:07:21]FM_GetShiftState done [18:07:21]opened in 1712450087 [18:07:21]opened+sec_in_day 1712536487 [18:07:21]quantity*price = 200027 [18:07:21]sum+1 = 200028 [18:07:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 2000.27 НСП 1% : 17.70 НДС 12% : 212.42 Наличными: 0.00 Безнал.: 2000.27 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 58 07.04.2024 18:07 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000874657 ФД: 26759 ФПД: 213092777718854 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T180731&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26759&fm=213092777718854&tin=02508201610067®Number=0000000000091578&sum=200027 [18:07:22]StoreToDocumentArchive [18:07:22]shift 313 fd 26759 [18:07:22]save to /storage/0313/doc_00026759 [18:07:22]save last doc name /storage/0313/doc_00026759 to /storage/kkm_last_doc_name [18:07:22]save OK [18:07:22]Clear old archive folders... [18:07:22]ProcessDocumentItem done err = 0, tmpTLVsize=251 [18:07:22]tlvbuf is B6F64370 [18:07:22]SAM_PROTO_ClearQueue [18:07:22]wFMCommunicate request_size=4 [18:07:22]MH_SAM_APDU [18:07:22]CAPDU: 80 09 00 00 [18:07:22]Write to MH i2c: E2 08 00 F3 29 80 09 00 00 00 00 00 00 8E [18:07:22]Write i2c OK [18:07:22]MH_I2C_Read... [18:07:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:07:22]Read from MH i2c: E2 [18:07:22]MH_I2C_Read... [18:07:22]Read from MH i2c: E2 03 00 [18:07:22]MH_I2C_Read... [18:07:22]Read from MH i2c: E2 03 00 F3 29 00 90 00 90 [18:07:22]RAPDU: 90 00 [18:07:22]wFMCommunicate OK [18:07:22]SAM_PROTO_ClearQueue done [18:07:22]KKMCreateOFDPacket [18:07:22]OFDProtocolAddRootSTLVToBuf [18:07:22]FM_MakeSignedData [18:07:22]FM_MakeSignedData [18:07:22]SAM_PROTO_SignData [18:07:22]wFMCommunicate request_size=4 [18:07:22]MH_SAM_APDU [18:07:22]CAPDU: 80 0D 01 02 [18:07:22]Write to MH i2c: E2 08 00 F4 29 80 0D 01 02 00 00 00 00 96 [18:07:22]Write i2c OK [18:07:22]MH_I2C_Read... [18:07:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:07:22]Read from MH i2c: E2 [18:07:22]MH_I2C_Read... [18:07:22]Read from MH i2c: E2 03 00 [18:07:22]MH_I2C_Read... [18:07:22]Read from MH i2c: E2 03 00 F4 29 00 90 00 91 [18:07:22]RAPDU: 90 00 [18:07:22]wFMCommunicate OK [18:07:22]wFMCommunicate request_size=255 [18:07:22]MH_SAM_APDU [18:07: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 3E 7B 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 5B 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5B 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5B 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 E3 E0 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 87 68 00 00 35 04 06 00 C1 [18:07:22]Write to MH i2c: E2 02 01 F5 29 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 3E 7B 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 5B 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5B 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5B 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 E3 E0 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 87 68 00 00 35 04 06 00 C1 00 00 1B [18:07:22]Write i2c OK [18:07:22]MH_I2C_Read... [18:07:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:07:22]Read from MH i2c: E2 [18:07:22]MH_I2C_Read... [18:07:22]Read from MH i2c: E2 03 00 [18:07:22]MH_I2C_Read... [18:07:22]Read from MH i2c: E2 03 00 F5 29 00 90 00 92 [18:07:22]RAPDU: 90 00 [18:07:22]wFMCommunicate OK [18:07:22]wFMCommunicate request_size=10 [18:07:22]MH_SAM_APDU [18:07:22]CAPDU: 80 0D 02 02 05 CE 87 51 F4 46 [18:07:22]Write to MH i2c: E2 0D 00 F6 29 80 0D 02 02 05 00 CE 87 51 F4 46 00 00 83 [18:07:22]Write i2c OK [18:07:22]MH_I2C_Read... [18:07:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:07:22]Read from MH i2c: E2 [18:07:22]MH_I2C_Read... [18:07:22]Read from MH i2c: E2 03 00 [18:07:22]MH_I2C_Read... [18:07:22]Read from MH i2c: E2 03 00 F6 29 00 90 00 93 [18:07:22]RAPDU: 90 00 [18:07:22]wFMCommunicate OK [18:07:22]wFMCommunicate request_size=4 [18:07:22]MH_SAM_APDU [18:07:22]CAPDU: 80 0D 03 02 [18:07:22]Write to MH i2c: E2 08 00 F7 29 80 0D 03 02 00 00 00 00 9B [18:07:22]Write i2c OK [18:07:22]MH_I2C_Read... [18:07:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:07:23]Read from MH i2c: E2 [18:07:23]MH_I2C_Read... [18:07:23]Read from MH i2c: E2 0B 00 [18:07:23]MH_I2C_Read... [18:07:23]Read from MH i2c: E2 0B 00 F7 29 00 F3 B1 8C D9 87 A9 5A 52 90 00 81 [18:07:23]RAPDU: F3 B1 8C D9 87 A9 5A 52 90 00 [18:07:23]wFMCommunicate OK [18:07:23]SAM_PROTO_SignData done [18:07:23]FM_MakeSignedData done [18:07:23]CreateOFDProtocolMessage [18:07:23]wFMCommunicate request_size=4 [18:07:23]MH_SAM_APDU [18:07:23]CAPDU: 80 11 00 00 [18:07:23]Write to MH i2c: E2 08 00 F8 29 80 11 00 00 00 00 00 00 9B [18:07:23]Write i2c OK [18:07:23]MH_I2C_Read... [18:07:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:07:23]Read from MH i2c: E2 [18:07:23]MH_I2C_Read... [18:07:23]Read from MH i2c: E2 17 00 [18:07:23]MH_I2C_Read... [18:07:23]Read from MH i2c: E2 17 00 F8 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 F3 [18:07:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [18:07:23]wFMCommunicate OK [18:07:23]CreateOFDProtocolMessage done [18:07:23]OFDSenderStorePacket 26759 [18:07:23]StoreOFDPacket docnum=26759 [18:07:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 34 01 07 01 71 04 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 3E 7B 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 5B 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5B 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5B 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 E3 E0 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 87 68 00 00 35 04 06 00 C1 CE 87 51 F4 46 F3 B1 8C D9 87 A9 5A 52 [18:07:23]CheckFolder [18:07:23]dirname=/storage/ofd_packets [18:07:23]CheckFolder done [18:07:23]ProducePacketName [18:07:23]name=ofd_packets/00026759 [18:07:23]NVStorageSaveData ofd_packets/00026759 [18:07:23]File name is /storage/ofd_packets/00026759 [18:07:23]Write 301 bytes [18:07:23]NVStorageSaveData done [18:07:23]OFDSenderStorePacket done [18:07:23]KKMCreateOFDPacket done [18:07:23]NVStorageSaveData kkm_last_timestamp [18:07:23]File name is /storage/kkm_last_timestamp [18:07:23]Write 4 bytes [18:07:23]NVStorageSaveData done [18:07:23]OFD Sender: Processing packet 26759 [packets to send 44, broken 43] [18:07:23]ProducePacketName [18:07:23]name=ofd_packets/00026759 [18:07:23]OFD Sender: To server: pG, [18:07:23]CommunicateWithHost lk.salyk.kg:30040 [18:07:23]ConnectInit lk.salyk.kg [18:07:23]ExternCall_PrintAddStr [18:07:23]wPrintStart [18:07:23]Write to MH i2c: 01 00 00 F9 29 22 [18:07:23]Write i2c OK [18:07:23]MH_I2C_Read... [18:07:23]Read from MH i2c: 01 [18:07:23]MH_I2C_Read... [18:07:23]Read from MH i2c: 01 07 00 [18:07:23]MH_I2C_Read... [18:07:23]Read from MH i2c: 01 07 00 F9 29 00 00 00 00 00 FF 0F 37 [18:07:23]RasterBufferAndPrint [18:07:23]line Счет N : (1)359502 [18:07:23]line ИНН: 02508201610067 [18:07:23]line Контрольно-Кассовый Чек [18:07:23]line ПРОДАЖА [18:07:23]line ТРК (МРК, ГНК) : 51 [18:07:23]line Товар: 2710124130 [18:07:23]line Аи-92-К-5 [18:07:23]line 31.550 * 63.40 [18:07:23]line = 2000.27 [18:07:23]line НДС 12% НСП 1% [18:07:23]line > о реализуемом товаре [18:07:23]line ИТОГО: 2000.27 [18:07:23]line НСП 1% : 17.70 [18:07:23]line НДС 12% : 212.42 [18:07:23]line Наличными: 0.00 [18:07:23]line Безнал.: 2000.27 [18:07:23]line Место: АЗС № 122 "Партнер Нефть" [18:07:23]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [18:07:23]line СНО: Общий режим [18:07:23]line Чек 58 07.04.2024 18:07 [18:07:23]line Смена: 313 ФФД: 1.0 [18:07:23]line ЗНМ: 0300000147 [18:07:23]line РНМ: 0000000000091578 [18:07:23]line Версия ККМ: 001 [18:07:23]line Платежная система: O! деньги [18:07:23]line ФМ: 0000000000874657 [18:07:23]line ФД: 26759 [18:07:23]line ФПД: 213092777718854 [18:07:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T180731&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26759&fm=213092777718854&tin=02508201610067®Number=0000000000091578&sum=200027 [18:07:23]Connected sock=11 [18:07: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 36 35 37 0F 01 00 00 34 01 07 01 71 04 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 3E 7B 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 5B 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5B 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5B 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 E3 E0 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 87 68 00 00 35 04 06 00 C1 CE 87 51 F4 46 F3 B1 8C D9 87 A9 5A 52 [18:07:23]written 0, free lines is 4095 [18:07:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 1E B4 47 00 D1 CB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 87 68 00 00 F4 03 04 00 50 88 12 66 B6 04 01 00 00 AB EF C1 44 61 0F FE 62 [18:07:23]CommunicateWithHost err = 0 [18:07:23]CheckOFDResponse [18:07:23]1017 (14) - 77093643461234 [18:07:23]1041 (16) - 0000000000874657 [18:07:23]1040 (4) - 26759 [18:07:23]1012 (4) - 07.04.2024 11:49 [18:07:23]1206 (1) - 0 [18:07:23]OFD Sender: Remove packet 26759 [18:07:23]ProducePacketName [18:07:23]name=ofd_packets/00026759 [18:07:23]NVStorageDeleteData [18:07:23]Write to MH i2c: 01 00 00 23 2A 4D [18:07:23]Write i2c OK [18:07:23]MH_I2C_Read... [18:07:23]Read from MH i2c: 01 [18:07:23]MH_I2C_Read... [18:07:23]Read from MH i2c: 01 07 00 [18:07:23]MH_I2C_Read... [18:07:23]Read from MH i2c: 01 07 00 23 2A 00 00 00 00 00 8C 0C EC [18:07:23]RasterBufferAndPrint [18:07:23]line [18:07:23]line [18:07:23]line [18:07:23]line [18:07:23]line [18:07:23]written 0, free lines is 3216 [18:07:23]MH_Cut [18:07:23]Write to MH i2c: D1 01 00 2A 2A 01 26 [18:07:23]Write i2c OK [18:07:23]MH_I2C_Read... [18:07:23]Read from MH i2c: D1 [18:07:23]MH_I2C_Read... [18:07:23]Read from MH i2c: D1 01 00 [18:07:23]MH_I2C_Read... [18:07:23]Read from MH i2c: D1 01 00 2A 2A 00 25 [18:07:23]Write to MH i2c: 01 00 00 2B 2A 55 [18:07:23]Write i2c OK [18:07:23]MH_I2C_Read... [18:07:24]OFD Sender: No OFD packet to send [18:07:24]*** Cut start [18:07:24]*** Partial cut [18:07:24]*** CUTSNS_PIN = 1 [18:07:25]*** CUTSNS_PIN = 0 [18:07:25]*** Brake cut motor [18:07:25]Read from MH i2c: 01 [18:07:25]MH_I2C_Read... [18:07:25]*** Stop cut motor [18:07:25]*** Cut end [18:07:25]Read from MH i2c: 01 07 00 [18:07:25]MH_I2C_Read... [18:07:25]Read from MH i2c: 01 07 00 2B 2A 00 00 00 00 00 FF 0F 6A [18:07:25]process_action close_receipt done [18:07:25]requested_data is exist [18:07:25]produce_requested_data [18:07:25]requested_item fm.sn is exist - process it [18:07:25]wFMCommunicate request_size=4 [18:07:25]MH_SAM_APDU [18:07:25]CAPDU: 80 11 00 00 [18:07:25]Write to MH i2c: E2 08 00 2C 2A 80 11 00 00 00 00 00 00 D0 [18:07:25]Write i2c OK [18:07:25]MH_I2C_Read... [18:07:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:07:25]Read from MH i2c: E2 [18:07:25]MH_I2C_Read... [18:07:25]Read from MH i2c: E2 17 00 [18:07:25]MH_I2C_Read... [18:07:25]Read from MH i2c: E2 17 00 2C 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 28 [18:07:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [18:07:25]wFMCommunicate OK [18:07:25]requested_item fd.num is exist - process it [18:07:25]SAM_PROTO_GetFieldsCounters [18:07:25]wFMCommunicate request_size=4 [18:07:25]MH_SAM_APDU [18:07:25]CAPDU: 80 13 00 00 [18:07:25]Write to MH i2c: E2 08 00 2D 2A 80 13 00 00 00 00 00 00 D3 [18:07:25]Write i2c OK [18:07:25]MH_I2C_Read... [18:07:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:07:25]Read from MH i2c: E2 [18:07:25]MH_I2C_Read... [18:07:25]Read from MH i2c: E2 62 00 [18:07:25]MH_I2C_Read... [18:07:25]Read from MH i2c: E2 62 00 2D 2A 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 87 68 00 00 0E 04 04 00 39 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 D5 [18:07: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 87 68 00 00 0E 04 04 00 39 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 [18:07:25]wFMCommunicate OK [18:07:25]SAM_PROTO_GetFieldsCounters done [18:07:25]requested_item shift.num is exist - process it [18:07:25]requested_item shift.opened is exist - process it [18:07:25]req_shift_opened [18:07:25]FM_GetShiftState [18:07:25]SAM_PROTO_GetShiftState [18:07:25]wFMCommunicate request_size=4 [18:07:25]MH_SAM_APDU [18:07:25]CAPDU: 80 13 01 00 [18:07:25]Write to MH i2c: E2 08 00 2E 2A 80 13 01 00 00 00 00 00 D5 [18:07:25]Write i2c OK [18:07:25]MH_I2C_Read... [18:07:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:07:25]Read from MH i2c: E2 [18:07:25]MH_I2C_Read... [18:07:25]Read from MH i2c: E2 0E 00 [18:07:25]MH_I2C_Read... [18:07:25]Read from MH i2c: E2 0E 00 2E 2A 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 69 [18:07:25]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [18:07:25]wFMCommunicate OK [18:07:25]SAM_PROTO_GetShiftState done [18:07:25]FM_GetShiftState done [18:07:25]req_shift_opened done [18:07:25]requested_item shift.open_date is exist - process it [18:07:25]req_shift_open_date [18:07:25]req_shift_open_date done [18:07:25]produce_requested_data done [18:07:25]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26759,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [18:07:25]process_action_free close_receipt [18:07:25]json_value_free [18:07:25]json_value_free done [18:07:25]process_json_proto returns [18:07:25]Send response to host [18:07:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26759,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [18:07:25]free response buf [18:07:25]execute_script done [18:07:25]execute_script returns [18:07:25]free content buf [18:07:25]Sock 8.Close socket [18:07:25]Sock 8.Thread stoped [18:07:29]OFD Sender: No OFD packet to send [18:07:34]OFD Sender: No OFD packet to send [18:07:39]OFD Sender: No OFD packet to send [18:07:44]OFD Sender: No OFD packet to send [18:07:49]OFD Sender: No OFD packet to send [18:07:54]OFD Sender: No OFD packet to send [18:07:59]OFD Sender: No OFD packet to send [18:08:04]OFD Sender: No OFD packet to send [18:08:09]OFD Sender: No OFD packet to send [18:08:14]OFD Sender: No OFD packet to send [18:08:19]OFD Sender: No OFD packet to send [18:08:24]OFD Sender: No OFD packet to send [18:08:29]OFD Sender: No OFD packet to send [18:08:34]OFD Sender: No OFD packet to send [18:08:39]OFD Sender: No OFD packet to send [18:08:44]OFD Sender: No OFD packet to send [18:08:49]OFD Sender: No OFD packet to send [18:08:54]OFD Sender: No OFD packet to send [18:08:59]OFD Sender: No OFD packet to send [18:09:04]OFD Sender: No OFD packet to send [18:09:09]OFD Sender: No OFD packet to send [18:09:14]OFD Sender: No OFD packet to send [18:09:19]OFD Sender: No OFD packet to send [18:09:24]OFD Sender: No OFD packet to send [18:09:29]OFD Sender: No OFD packet to send [18:09:34]OFD Sender: No OFD packet to send [18:09:39]OFD Sender: No OFD packet to send [18:09:44]OFD Sender: No OFD packet to send [18:09:49]OFD Sender: No OFD packet to send [18:09:54]OFD Sender: No OFD packet to send [18:09:59]OFD Sender: No OFD packet to send [18:10:04]OFD Sender: No OFD packet to send [18:10:09]OFD Sender: No OFD packet to send [18:10:14]OFD Sender: No OFD packet to send [18:10:19]OFD Sender: No OFD packet to send [18:10:24]OFD Sender: No OFD packet to send [18:10:29]OFD Sender: No OFD packet to send [18:10:34]OFD Sender: No OFD packet to send [18:10:39]OFD Sender: No OFD packet to send [18:10:44]OFD Sender: No OFD packet to send [18:10:49]OFD Sender: No OFD packet to send [18:10:54]OFD Sender: No OFD packet to send [18:10:59]OFD Sender: No OFD packet to send [18:11:04]OFD Sender: No OFD packet to send [18:11:09]OFD Sender: No OFD packet to send [18:11:14]OFD Sender: No OFD packet to send [18:11:19]OFD Sender: No OFD packet to send [18:11:24]OFD Sender: No OFD packet to send [18:11:29]OFD Sender: No OFD packet to send [18:11:34]OFD Sender: No OFD packet to send [18:11:39]OFD Sender: No OFD packet to send [18:11:44]OFD Sender: No OFD packet to send [18:11:49]OFD Sender: No OFD packet to send [18:11:54]OFD Sender: No OFD packet to send [18:11:59]OFD Sender: No OFD packet to send [18:12:04]OFD Sender: No OFD packet to send [18:12:09]OFD Sender: No OFD packet to send [18:12:14]OFD Sender: No OFD packet to send [18:12:19]OFD Sender: No OFD packet to send [18:12:24]OFD Sender: No OFD packet to send [18:12:29]OFD Sender: No OFD packet to send [18:12:34]OFD Sender: No OFD packet to send [18:12:39]OFD Sender: No OFD packet to send [18:12:44]OFD Sender: No OFD packet to send [18:12:49]OFD Sender: No OFD packet to send [18:12:54]OFD Sender: No OFD packet to send [18:12:59]OFD Sender: No OFD packet to send [18:13:04]OFD Sender: No OFD packet to send [18:13:09]OFD Sender: No OFD packet to send [18:13:14]OFD Sender: No OFD packet to send [18:13:19]OFD Sender: No OFD packet to send [18:13:24]OFD Sender: No OFD packet to send [18:13:29]OFD Sender: No OFD packet to send [18:13:34]OFD Sender: No OFD packet to send [18:13:39]OFD Sender: No OFD packet to send [18:13:44]OFD Sender: No OFD packet to send [18:13:49]OFD Sender: No OFD packet to send [18:13:54]OFD Sender: No OFD packet to send [18:13:59]OFD Sender: No OFD packet to send [18:14:04]OFD Sender: No OFD packet to send [18:14:09]OFD Sender: No OFD packet to send [18:14:14]OFD Sender: No OFD packet to send [18:14:19]OFD Sender: No OFD packet to send [18:14:24]OFD Sender: No OFD packet to send [18:14:29]OFD Sender: No OFD packet to send [18:14:34]OFD Sender: No OFD packet to send [18:14:39]OFD Sender: No OFD packet to send [18:14:44]OFD Sender: No OFD packet to send [18:14:49]OFD Sender: No OFD packet to send [18:14:54]OFD Sender: No OFD packet to send [18:14:59]OFD Sender: No OFD packet to send [18:15:04]OFD Sender: No OFD packet to send [18:15:09]OFD Sender: No OFD packet to send [18:15:14]OFD Sender: No OFD packet to send [18:15:19]OFD Sender: No OFD packet to send [18:15:24]OFD Sender: No OFD packet to send [18:15:29]OFD Sender: No OFD packet to send [18:15:34]OFD Sender: No OFD packet to send [18:15:39]OFD Sender: No OFD packet to send [18:15:44]OFD Sender: No OFD packet to send [18:15:49]OFD Sender: No OFD packet to send [18:15:54]OFD Sender: No OFD packet to send [18:15:59]OFD Sender: No OFD packet to send [18:16:04]OFD Sender: No OFD packet to send [18:16:09]OFD Sender: No OFD packet to send [18:16:14]OFD Sender: No OFD packet to send [18:16:19]OFD Sender: No OFD packet to send [18:16:24]OFD Sender: No OFD packet to send [18:16:29]OFD Sender: No OFD packet to send [18:16:34]OFD Sender: No OFD packet to send [18:16:39]OFD Sender: No OFD packet to send [18:16:44]OFD Sender: No OFD packet to send [18:16:49]OFD Sender: No OFD packet to send [18:16:54]OFD Sender: No OFD packet to send [18:16:59]OFD Sender: No OFD packet to send [18:17:04]OFD Sender: No OFD packet to send [18:17:09]OFD Sender: No OFD packet to send [18:17:14]OFD Sender: No OFD packet to send [18:17:19]OFD Sender: No OFD packet to send [18:17:24]OFD Sender: No OFD packet to send [18:17:29]OFD Sender: No OFD packet to send [18:17:34]OFD Sender: No OFD packet to send [18:17:39]OFD Sender: No OFD packet to send [18:17:44]OFD Sender: No OFD packet to send [18:17:49]OFD Sender: No OFD packet to send [18:17:54]OFD Sender: No OFD packet to send [18:17:59]OFD Sender: No OFD packet to send [18:18:04]OFD Sender: No OFD packet to send [18:18:09]OFD Sender: No OFD packet to send [18:18:14]OFD Sender: No OFD packet to send [18:18:19]OFD Sender: No OFD packet to send [18:18:24]OFD Sender: No OFD packet to send [18:18:29]OFD Sender: No OFD packet to send [18:18:34]OFD Sender: No OFD packet to send [18:18:39]OFD Sender: No OFD packet to send [18:18:44]OFD Sender: No OFD packet to send [18:18:49]OFD Sender: No OFD packet to send [18:18:54]OFD Sender: No OFD packet to send [18:18:59]OFD Sender: No OFD packet to send [18:19:04]OFD Sender: No OFD packet to send [18:19:09]OFD Sender: No OFD packet to send [18:19:14]OFD Sender: No OFD packet to send [18:19:19]OFD Sender: No OFD packet to send [18:19:24]OFD Sender: No OFD packet to send [18:19:29]OFD Sender: No OFD packet to send [18:19:34]OFD Sender: No OFD packet to send [18:19:39]OFD Sender: No OFD packet to send [18:19:44]OFD Sender: No OFD packet to send [18:19:49]OFD Sender: No OFD packet to send [18:19:54]OFD Sender: No OFD packet to send [18:19:59]OFD Sender: No OFD packet to send [18:20:04]OFD Sender: No OFD packet to send [18:20:09]OFD Sender: No OFD packet to send [18:20:14]OFD Sender: No OFD packet to send [18:20:19]OFD Sender: No OFD packet to send [18:20:24]OFD Sender: No OFD packet to send [18:20:29]OFD Sender: No OFD packet to send [18:20:34]OFD Sender: No OFD packet to send [18:20:39]OFD Sender: No OFD packet to send [18:20:44]OFD Sender: No OFD packet to send [18:20:49]OFD Sender: No OFD packet to send [18:20:54]OFD Sender: No OFD packet to send [18:20:59]OFD Sender: No OFD packet to send [18:21:04]OFD Sender: No OFD packet to send [18:21:09]OFD Sender: No OFD packet to send [18:21:14]OFD Sender: No OFD packet to send [18:21:19]OFD Sender: No OFD packet to send [18:21:24]OFD Sender: No OFD packet to send [18:21:29]OFD Sender: No OFD packet to send [18:21:34]OFD Sender: No OFD packet to send [18:21:39]OFD Sender: No OFD packet to send [18:21:44]OFD Sender: No OFD packet to send [18:21:49]OFD Sender: No OFD packet to send [18:21:54]OFD Sender: No OFD packet to send [18:21:59]OFD Sender: No OFD packet to send [18:22:04]OFD Sender: No OFD packet to send [18:22:09]OFD Sender: No OFD packet to send [18:22:14]OFD Sender: No OFD packet to send [18:22:19]OFD Sender: No OFD packet to send [18:22:24]OFD Sender: No OFD packet to send [18:22:29]OFD Sender: No OFD packet to send [18:22:34]OFD Sender: No OFD packet to send [18:22:39]OFD Sender: No OFD packet to send [18:22:44]OFD Sender: No OFD packet to send [18:22:49]OFD Sender: No OFD packet to send [18:22:54]OFD Sender: No OFD packet to send [18:22:59]OFD Sender: No OFD packet to send [18:23:04]OFD Sender: No OFD packet to send [18:23:09]OFD Sender: No OFD packet to send [18:23:14]OFD Sender: No OFD packet to send [18:23:19]OFD Sender: No OFD packet to send [18:23:24]OFD Sender: No OFD packet to send [18:23:29]OFD Sender: No OFD packet to send [18:23:34]OFD Sender: No OFD packet to send [18:23:39]OFD Sender: No OFD packet to send [18:23:44]OFD Sender: No OFD packet to send [18:23:49]OFD Sender: No OFD packet to send [18:23:54]OFD Sender: No OFD packet to send [18:23:59]OFD Sender: No OFD packet to send [18:24:04]OFD Sender: No OFD packet to send [18:24:09]OFD Sender: No OFD packet to send [18:24:14]OFD Sender: No OFD packet to send [18:24:19]OFD Sender: No OFD packet to send [18:24:25]OFD Sender: No OFD packet to send [18:24:30]OFD Sender: No OFD packet to send [18:24:35]OFD Sender: No OFD packet to send [18:24:40]OFD Sender: No OFD packet to send [18:24:45]OFD Sender: No OFD packet to send [18:24:50]OFD Sender: No OFD packet to send [18:24:55]OFD Sender: No OFD packet to send [18:25:00]OFD Sender: No OFD packet to send [18:25:05]OFD Sender: No OFD packet to send [18:25:10]OFD Sender: No OFD packet to send [18:25:15]OFD Sender: No OFD packet to send [18:25:20]OFD Sender: No OFD packet to send [18:25:25]OFD Sender: No OFD packet to send [18:25:30]OFD Sender: No OFD packet to send [18:25:35]OFD Sender: No OFD packet to send [18:25:40]OFD Sender: No OFD packet to send [18:25:45]OFD Sender: No OFD packet to send [18:25:50]OFD Sender: No OFD packet to send [18:25:55]OFD Sender: No OFD packet to send [18:26:00]OFD Sender: No OFD packet to send [18:26:05]OFD Sender: No OFD packet to send [18:26:10]OFD Sender: No OFD packet to send [18:26:15]OFD Sender: No OFD packet to send [18:26:20]OFD Sender: No OFD packet to send [18:26:25]OFD Sender: No OFD packet to send [18:26:30]OFD Sender: No OFD packet to send [18:26:35]OFD Sender: No OFD packet to send [18:26:40]OFD Sender: No OFD packet to send [18:26:45]OFD Sender: No OFD packet to send [18:26:50]OFD Sender: No OFD packet to send [18:26:55]OFD Sender: No OFD packet to send [18:27:00]OFD Sender: No OFD packet to send [18:27:05]OFD Sender: No OFD packet to send [18:27:10]OFD Sender: No OFD packet to send [18:27:15]OFD Sender: No OFD packet to send [18:27:20]OFD Sender: No OFD packet to send [18:27:25]OFD Sender: No OFD packet to send [18:27:30]OFD Sender: No OFD packet to send [18:27:35]OFD Sender: No OFD packet to send [18:27:40]OFD Sender: No OFD packet to send [18:27:45]OFD Sender: No OFD packet to send [18:27:50]OFD Sender: No OFD packet to send [18:27:55]OFD Sender: No OFD packet to send [18:28:00]OFD Sender: No OFD packet to send [18:28:05]OFD Sender: No OFD packet to send [18:28:10]OFD Sender: No OFD packet to send [18:28:15]OFD Sender: No OFD packet to send [18:28:20]OFD Sender: No OFD packet to send [18:28:25]OFD Sender: No OFD packet to send [18:28:30]OFD Sender: No OFD packet to send [18:28:35]OFD Sender: No OFD packet to send [18:28:40]OFD Sender: No OFD packet to send [18:28:45]OFD Sender: No OFD packet to send [18:28:50]OFD Sender: No OFD packet to send [18:28:55]OFD Sender: No OFD packet to send [18:29:00]OFD Sender: No OFD packet to send [18:29:05]OFD Sender: No OFD packet to send [18:29:10]OFD Sender: No OFD packet to send [18:29:15]OFD Sender: No OFD packet to send [18:29:20]OFD Sender: No OFD packet to send [18:29:25]OFD Sender: No OFD packet to send [18:29:30]OFD Sender: No OFD packet to send [18:29:35]OFD Sender: No OFD packet to send [18:29:40]OFD Sender: No OFD packet to send [18:29:45]OFD Sender: No OFD packet to send [18:29:50]OFD Sender: No OFD packet to send [18:29:55]OFD Sender: No OFD packet to send [18:30:00]OFD Sender: No OFD packet to send [18:30:05]OFD Sender: No OFD packet to send [18:30:10]OFD Sender: No OFD packet to send [18:30:15]OFD Sender: No OFD packet to send [18:30:20]OFD Sender: No OFD packet to send [18:30:25]OFD Sender: No OFD packet to send [18:30:30]OFD Sender: No OFD packet to send [18:30:35]OFD Sender: No OFD packet to send [18:30:40]OFD Sender: No OFD packet to send [18:30:45]OFD Sender: No OFD packet to send [18:30:50]OFD Sender: No OFD packet to send [18:30:55]OFD Sender: No OFD packet to send [18:31:00]OFD Sender: No OFD packet to send [18:31:05]OFD Sender: No OFD packet to send [18:31:10]OFD Sender: No OFD packet to send [18:31:15]OFD Sender: No OFD packet to send [18:31:20]OFD Sender: No OFD packet to send [18:31:25]OFD Sender: No OFD packet to send [18:31:30]OFD Sender: No OFD packet to send [18:31:35]OFD Sender: No OFD packet to send [18:31:40]OFD Sender: No OFD packet to send [18:31:45]OFD Sender: No OFD packet to send [18:31:50]OFD Sender: No OFD packet to send [18:31:55]OFD Sender: No OFD packet to send [18:32:00]OFD Sender: No OFD packet to send [18:32:05]OFD Sender: No OFD packet to send [18:32:10]OFD Sender: No OFD packet to send [18:32:15]OFD Sender: No OFD packet to send [18:32:20]OFD Sender: No OFD packet to send [18:32:25]OFD Sender: No OFD packet to send [18:32:30]OFD Sender: No OFD packet to send [18:32:35]OFD Sender: No OFD packet to send [18:32:40]OFD Sender: No OFD packet to send [18:32:45]OFD Sender: No OFD packet to send [18:32:50]OFD Sender: No OFD packet to send [18:32:55]OFD Sender: No OFD packet to send [18:33:00]OFD Sender: No OFD packet to send [18:33:05]OFD Sender: No OFD packet to send [18:33:10]OFD Sender: No OFD packet to send [18:33:15]OFD Sender: No OFD packet to send [18:33:20]OFD Sender: No OFD packet to send [18:33:25]OFD Sender: No OFD packet to send [18:33:30]OFD Sender: No OFD packet to send [18:33:35]OFD Sender: No OFD packet to send [18:33:36]accept exits with 9 [18:33:36]New connection [18:33:36]New thread 3067014500 created [18:33:36]Thread 3066871140 joined [18:33:36]Waiting for new connection... [18:33:36] Sock 9.Parse request [18:33:36]Sock 9.Check first char [18:33:36]Sock 9.First char is OK [18:33:36]request: POST /json_proto HTTP/1.0 [18:33:36]Method: POST [18:33:36]URL: /json_proto [18:33:36]Method is POST - this is cgi request [18:33:36]url: /json_proto [18:33:36]query_string will be loaded in cgi processing [18:33:36]execute_cgi json_proto POST (null) [18:33:36]execute_cgi path=json_proto method=POST [18:33:36]POST find Content-Length [18:33:36]Host: 172.17.35.3:8080 [18:33:36]Content-Length: 808 [18:33:36]Content-Type: application/json [18:33:36] [18:33:36]POST finish read [18:33:36]Found Content-Length = 808 [18:33:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359503", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 27.860, "sum" : 2000.35, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 2000.35 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:33:36]execute_script... [18:33: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)359503", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 27.860, "sum" : 2000.35, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 2000.35 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:33:36]POST & json_proto [18:33:36]process_json_proto [18:33:36]json parsed OK: [18:33:36]protocol is kg_v1.0 [18:33:36]action value=close_receipt [18:33:36]process_action close_receipt [18:33:36]cmd_close_receipt [18:33:36]MH_GetDate [18:33:36]Write to MH i2c: F0 00 00 2F 2A 48 [18:33:36]Write i2c OK [18:33:36]MH_I2C_Read... [18:33:36]Read from MH i2c: F0 [18:33:36]MH_I2C_Read... [18:33:36]Read from MH i2c: F0 09 00 [18:33:36]MH_I2C_Read... [18:33:36]Read from MH i2c: F0 09 00 2F 2A 00 0A E7 12 66 2B 11 66 64 C0 [18:33:36]GetLastDocTimeStamp 1712513251 [18:33:36]current date 1712514826 [18:33:36]FM_GetShiftState [18:33:36]SAM_PROTO_GetShiftState [18:33:36]wFMCommunicate request_size=4 [18:33:36]MH_SAM_APDU [18:33:36]CAPDU: 80 13 01 00 [18:33:36]Write to MH i2c: E2 08 00 30 2A 80 13 01 00 00 00 00 00 D7 [18:33:36]Write i2c OK [18:33:36]MH_I2C_Read... [18:33:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:33:36]Read from MH i2c: E2 [18:33:36]MH_I2C_Read... [18:33:36]Read from MH i2c: E2 0E 00 [18:33:36]MH_I2C_Read... [18:33:36]Read from MH i2c: E2 0E 00 30 2A 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 6B [18:33:36]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [18:33:36]wFMCommunicate OK [18:33:36]SAM_PROTO_GetShiftState done [18:33:36]FM_GetShiftState done [18:33:36]opened in 1712450087 [18:33:36]opened+sec_in_day 1712536487 [18:33:36]quantity*price = 200034 [18:33:36]sum+1 = 200036 [18:33:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 2000.35 НСП 1% : 17.70 НДС 12% : 212.43 Наличными: 0.00 Безнал.: 2000.35 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 59 07.04.2024 18:33 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000874657 ФД: 26760 ФПД: 177656831806353 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T183346&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26760&fm=177656831806353&tin=02508201610067®Number=0000000000091578&sum=200035 [18:33:37]StoreToDocumentArchive [18:33:37]shift 313 fd 26760 [18:33:37]save to /storage/0313/doc_00026760 [18:33:37]save last doc name /storage/0313/doc_00026760 to /storage/kkm_last_doc_name [18:33:37]save OK [18:33:37]Clear old archive folders... [18:33:37]ProcessDocumentItem done err = 0, tmpTLVsize=252 [18:33:37]tlvbuf is 00E9A7C0 [18:33:37]SAM_PROTO_ClearQueue [18:33:37]wFMCommunicate request_size=4 [18:33:37]MH_SAM_APDU [18:33:37]CAPDU: 80 09 00 00 [18:33:37]Write to MH i2c: E2 08 00 3D 2A 80 09 00 00 00 00 00 00 D9 [18:33:37]Write i2c OK [18:33:37]MH_I2C_Read... [18:33:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:33:37]Read from MH i2c: E2 [18:33:37]MH_I2C_Read... [18:33:37]Read from MH i2c: E2 03 00 [18:33:37]MH_I2C_Read... [18:33:37]Read from MH i2c: E2 03 00 3D 2A 00 90 00 DB [18:33:37]RAPDU: 90 00 [18:33:37]wFMCommunicate OK [18:33:37]SAM_PROTO_ClearQueue done [18:33:37]KKMCreateOFDPacket [18:33:37]OFDProtocolAddRootSTLVToBuf [18:33:37]FM_MakeSignedData [18:33:37]FM_MakeSignedData [18:33:37]SAM_PROTO_SignData [18:33:37]wFMCommunicate request_size=4 [18:33:37]MH_SAM_APDU [18:33:37]CAPDU: 80 0D 01 02 [18:33:37]Write to MH i2c: E2 08 00 3E 2A 80 0D 01 02 00 00 00 00 E1 [18:33:37]Write i2c OK [18:33:37]MH_I2C_Read... [18:33:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:33:37]Read from MH i2c: E2 [18:33:37]MH_I2C_Read... [18:33:37]Read from MH i2c: E2 03 00 [18:33:37]MH_I2C_Read... [18:33:37]Read from MH i2c: E2 03 00 3E 2A 00 90 00 DC [18:33:37]RAPDU: 90 00 [18:33:37]wFMCommunicate OK [18:33:37]wFMCommunicate request_size=255 [18:33:37]MH_SAM_APDU [18:33:37]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 D4 6C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 63 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 63 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 63 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 0A E7 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 88 68 00 00 35 04 06 00 [18:33:37]Write to MH i2c: E2 02 01 3F 2A 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 D4 6C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 63 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 63 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 63 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 0A E7 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 88 68 00 00 35 04 06 00 00 00 FC [18:33:37]Write i2c OK [18:33:37]MH_I2C_Read... [18:33:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:33:37]Read from MH i2c: E2 [18:33:37]MH_I2C_Read... [18:33:37]Read from MH i2c: E2 03 00 [18:33:37]MH_I2C_Read... [18:33:37]Read from MH i2c: E2 03 00 3F 2A 00 90 00 DD [18:33:37]RAPDU: 90 00 [18:33:37]wFMCommunicate OK [18:33:37]wFMCommunicate request_size=11 [18:33:37]MH_SAM_APDU [18:33:37]CAPDU: 80 0D 02 02 06 A1 93 F4 5A 0B 91 [18:33:37]Write to MH i2c: E2 0E 00 40 2A 80 0D 02 02 06 00 A1 93 F4 5A 0B 91 00 00 0E [18:33:37]Write i2c OK [18:33:37]MH_I2C_Read... [18:33:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:33:37]Read from MH i2c: E2 [18:33:37]MH_I2C_Read... [18:33:37]Read from MH i2c: E2 03 00 [18:33:37]MH_I2C_Read... [18:33:37]Read from MH i2c: E2 03 00 40 2A 00 90 00 DE [18:33:37]RAPDU: 90 00 [18:33:37]wFMCommunicate OK [18:33:37]wFMCommunicate request_size=4 [18:33:37]MH_SAM_APDU [18:33:37]CAPDU: 80 0D 03 02 [18:33:37]Write to MH i2c: E2 08 00 41 2A 80 0D 03 02 00 00 00 00 E6 [18:33:37]Write i2c OK [18:33:37]MH_I2C_Read... [18:33:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:33:37]Read from MH i2c: E2 [18:33:37]MH_I2C_Read... [18:33:37]Read from MH i2c: E2 0B 00 [18:33:37]MH_I2C_Read... [18:33:37]Read from MH i2c: E2 0B 00 41 2A 00 E3 EF F6 76 3B 6C 57 3C 90 00 5F [18:33:37]RAPDU: E3 EF F6 76 3B 6C 57 3C 90 00 [18:33:37]wFMCommunicate OK [18:33:37]SAM_PROTO_SignData done [18:33:37]FM_MakeSignedData done [18:33:37]CreateOFDProtocolMessage [18:33:37]wFMCommunicate request_size=4 [18:33:37]MH_SAM_APDU [18:33:37]CAPDU: 80 11 00 00 [18:33:37]Write to MH i2c: E2 08 00 42 2A 80 11 00 00 00 00 00 00 E6 [18:33:37]Write i2c OK [18:33:37]MH_I2C_Read... [18:33:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:33:38]Read from MH i2c: E2 [18:33:38]MH_I2C_Read... [18:33:38]Read from MH i2c: E2 17 00 [18:33:38]MH_I2C_Read... [18:33:38]Read from MH i2c: E2 17 00 42 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 3E [18:33:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [18:33:38]wFMCommunicate OK [18:33:38]CreateOFDProtocolMessage done [18:33:38]OFDSenderStorePacket 26760 [18:33:38]StoreOFDPacket docnum=26760 [18:33:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 C3 61 08 01 C8 74 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 D4 6C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 63 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 63 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 63 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 0A E7 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 88 68 00 00 35 04 06 00 A1 93 F4 5A 0B 91 E3 EF F6 76 3B 6C 57 3C [18:33:38]CheckFolder [18:33:38]dirname=/storage/ofd_packets [18:33:38]CheckFolder done [18:33:38]ProducePacketName [18:33:38]name=ofd_packets/00026760 [18:33:38]NVStorageSaveData ofd_packets/00026760 [18:33:38]File name is /storage/ofd_packets/00026760 [18:33:38]Write 302 bytes [18:33:38]NVStorageSaveData done [18:33:38]OFDSenderStorePacket done [18:33:38]KKMCreateOFDPacket done [18:33:38]NVStorageSaveData kkm_last_timestamp [18:33:38]File name is /storage/kkm_last_timestamp [18:33:38]Write 4 bytes [18:33:38]NVStorageSaveData done [18:33:38]ExternCall_PrintAddStr [18:33:38]wPrintStart [18:33:38]Write to MH i2c: 01 00 00 43 2A 6D [18:33:38]Write i2c OK [18:33:38]MH_I2C_Read... [18:33:38]Read from MH i2c: 01 [18:33:38]MH_I2C_Read... [18:33:38]Read from MH i2c: 01 07 00 [18:33:38]MH_I2C_Read... [18:33:38]Read from MH i2c: 01 07 00 43 2A 00 00 00 00 00 FF 0F 82 [18:33:38]RasterBufferAndPrint [18:33:38]line Счет N : (1)359503 [18:33:38]line ИНН: 02508201610067 [18:33:38]line Контрольно-Кассовый Чек [18:33:38]line ПРОДАЖА [18:33:38]line ТРК (МРК, ГНК) : 11 [18:33:38]line Товар: 2710194210 [18:33:38]line ДТ(л)-К-5 [18:33:38]line 27.860 * 71.80 [18:33:38]line = 2000.35 [18:33:38]line НДС 12% НСП 1% [18:33:38]line > о реализуемом товаре [18:33:38]line ИТОГО: 2000.35 [18:33:38]line НСП 1% : 17.70 [18:33:38]line НДС 12% : 212.43 [18:33:38]line Наличными: 0.00 [18:33:38]line Безнал.: 2000.35 [18:33:38]line Место: АЗС № 122 "Партнер Нефть" [18:33:38]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [18:33:38]line СНО: Общий режим [18:33:38]line Чек 59 07.04.2024 18:33 [18:33:38]line Смена: 313 ФФД: 1.0 [18:33:38]line ЗНМ: 0300000147 [18:33:38]line РНМ: 0000000000091578 [18:33:38]line Версия ККМ: 001 [18:33:38]line Платежная система: O! деньги [18:33:38]line ФМ: 0000000000874657 [18:33:38]line ФД: 26760 [18:33:38]line ФПД: 177656831806353 [18:33:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T183346&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26760&fm=177656831806353&tin=02508201610067®Number=0000000000091578&sum=200035 [18:33:38]OFD Sender: Processing packet 26760 [packets to send 44, broken 43] [18:33:38]ProducePacketName [18:33:38]name=ofd_packets/00026760 [18:33:38]OFD Sender: To server: pG, [18:33:38]CommunicateWithHost lk.salyk.kg:30040 [18:33:38]ConnectInit lk.salyk.kg [18:33:38]written 0, free lines is 4095 [18:33:38]Connected sock=10 [18:33: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 36 35 37 10 01 00 00 C3 61 08 01 C8 74 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 D4 6C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 63 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 63 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 63 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 0A E7 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 88 68 00 00 35 04 06 00 A1 93 F4 5A 0B 91 E3 EF F6 76 3B 6C 57 3C [18:33:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 3A 22 47 00 38 2C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 88 68 00 00 F4 03 04 00 77 8E 12 66 B6 04 01 00 00 1A 94 48 CF 29 49 81 6B [18:33:38]CommunicateWithHost err = 0 [18:33:38]CheckOFDResponse [18:33:38]1017 (14) - 77093643461234 [18:33:38]1041 (16) - 0000000000874657 [18:33:38]1040 (4) - 26760 [18:33:38]1012 (4) - 07.04.2024 12:15 [18:33:38]1206 (1) - 0 [18:33:38]OFD Sender: Remove packet 26760 [18:33:38]ProducePacketName [18:33:38]name=ofd_packets/00026760 [18:33:38]NVStorageDeleteData [18:33:38]Write to MH i2c: 01 00 00 6D 2A 97 [18:33:38]Write i2c OK [18:33:38]MH_I2C_Read... [18:33:38]Read from MH i2c: 01 [18:33:38]MH_I2C_Read... [18:33:38]Read from MH i2c: 01 07 00 [18:33:38]MH_I2C_Read... [18:33:38]Read from MH i2c: 01 07 00 6D 2A 00 00 00 00 00 88 0C 32 [18:33:38]RasterBufferAndPrint [18:33:38]line [18:33:38]line [18:33:38]line [18:33:38]line [18:33:38]line [18:33:38]written 0, free lines is 3212 [18:33:38]MH_Cut [18:33:38]Write to MH i2c: D1 01 00 74 2A 01 70 [18:33:38]Write i2c OK [18:33:38]MH_I2C_Read... [18:33:38]Read from MH i2c: D1 [18:33:38]MH_I2C_Read... [18:33:38]Read from MH i2c: D1 01 00 [18:33:38]MH_I2C_Read... [18:33:38]Read from MH i2c: D1 01 00 74 2A 00 6F [18:33:38]Write to MH i2c: 01 00 00 75 2A 9F [18:33:38]Write i2c OK [18:33:38]MH_I2C_Read... [18:33:39]OFD Sender: No OFD packet to send [18:33:39]*** Cut start [18:33:39]*** Partial cut [18:33:39]*** CUTSNS_PIN = 1 [18:33:39]*** CUTSNS_PIN = 0 [18:33:40]*** Brake cut motor [18:33:40]Read from MH i2c: 01 [18:33:40]MH_I2C_Read... [18:33:40]*** Stop cut motor [18:33:40]*** Cut end [18:33:40]Read from MH i2c: 01 07 00 [18:33:40]MH_I2C_Read... [18:33:40]Read from MH i2c: 01 07 00 75 2A 00 00 00 00 00 FF 0F B4 [18:33:40]process_action close_receipt done [18:33:40]requested_data is exist [18:33:40]produce_requested_data [18:33:40]requested_item fm.sn is exist - process it [18:33:40]wFMCommunicate request_size=4 [18:33:40]MH_SAM_APDU [18:33:40]CAPDU: 80 11 00 00 [18:33:40]Write to MH i2c: E2 08 00 76 2A 80 11 00 00 00 00 00 00 1A [18:33:40]Write i2c OK [18:33:40]MH_I2C_Read... [18:33:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:33:40]Read from MH i2c: E2 [18:33:40]MH_I2C_Read... [18:33:40]Read from MH i2c: E2 17 00 [18:33:40]MH_I2C_Read... [18:33:40]Read from MH i2c: E2 17 00 76 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 72 [18:33:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [18:33:40]wFMCommunicate OK [18:33:40]requested_item fd.num is exist - process it [18:33:40]SAM_PROTO_GetFieldsCounters [18:33:40]wFMCommunicate request_size=4 [18:33:40]MH_SAM_APDU [18:33:40]CAPDU: 80 13 00 00 [18:33:40]Write to MH i2c: E2 08 00 77 2A 80 13 00 00 00 00 00 00 1D [18:33:40]Write i2c OK [18:33:40]MH_I2C_Read... [18:33:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:33:40]Read from MH i2c: E2 [18:33:40]MH_I2C_Read... [18:33:40]Read from MH i2c: E2 62 00 [18:33:40]MH_I2C_Read... [18:33:40]Read from MH i2c: E2 62 00 77 2A 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 88 68 00 00 0E 04 04 00 39 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 23 [18:33: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 88 68 00 00 0E 04 04 00 39 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 [18:33:40]wFMCommunicate OK [18:33:40]SAM_PROTO_GetFieldsCounters done [18:33:40]requested_item shift.num is exist - process it [18:33:40]requested_item shift.opened is exist - process it [18:33:40]req_shift_opened [18:33:40]FM_GetShiftState [18:33:40]SAM_PROTO_GetShiftState [18:33:40]wFMCommunicate request_size=4 [18:33:40]MH_SAM_APDU [18:33:40]CAPDU: 80 13 01 00 [18:33:40]Write to MH i2c: E2 08 00 78 2A 80 13 01 00 00 00 00 00 1F [18:33:40]Write i2c OK [18:33:40]MH_I2C_Read... [18:33:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:33:40]Read from MH i2c: E2 [18:33:40]MH_I2C_Read... [18:33:40]Read from MH i2c: E2 0E 00 [18:33:40]MH_I2C_Read... [18:33:40]Read from MH i2c: E2 0E 00 78 2A 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 B3 [18:33:40]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [18:33:40]wFMCommunicate OK [18:33:40]SAM_PROTO_GetShiftState done [18:33:40]FM_GetShiftState done [18:33:40]req_shift_opened done [18:33:40]requested_item shift.open_date is exist - process it [18:33:40]req_shift_open_date [18:33:40]req_shift_open_date done [18:33:40]produce_requested_data done [18:33:40]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26760,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [18:33:40]process_action_free close_receipt [18:33:40]json_value_free [18:33:40]json_value_free done [18:33:40]process_json_proto returns [18:33:40]Send response to host [18:33:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26760,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [18:33:40]free response buf [18:33:40]execute_script done [18:33:40]execute_script returns [18:33:40]free content buf [18:33:40]Sock 9.Close socket [18:33:40]Sock 9.Thread stoped [18:33:44]OFD Sender: No OFD packet to send [18:33:49]OFD Sender: No OFD packet to send [18:33:54]OFD Sender: No OFD packet to send [18:33:59]OFD Sender: No OFD packet to send [18:34:04]OFD Sender: No OFD packet to send [18:34:09]OFD Sender: No OFD packet to send [18:34:14]OFD Sender: No OFD packet to send [18:34:19]OFD Sender: No OFD packet to send [18:34:24]OFD Sender: No OFD packet to send [18:34:29]OFD Sender: No OFD packet to send [18:34:34]OFD Sender: No OFD packet to send [18:34:39]OFD Sender: No OFD packet to send [18:34:44]OFD Sender: No OFD packet to send [18:34:49]OFD Sender: No OFD packet to send [18:34:54]OFD Sender: No OFD packet to send [18:34:59]OFD Sender: No OFD packet to send [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:04]OFD Sender: No OFD packet to send [18:42:09]OFD Sender: No OFD packet to send [18:42:14]OFD Sender: No OFD packet to send [18:42:19]OFD Sender: No OFD packet to send [18:42:24]OFD Sender: No OFD packet to send [18:42:29]OFD Sender: No OFD packet to send [18:42:34]OFD Sender: No OFD packet to send [18:42:39]OFD Sender: No OFD packet to send [18:42:44]OFD Sender: No OFD packet to send [18:42:49]OFD Sender: No OFD packet to send [18:42:54]OFD Sender: No OFD packet to send [18:42:59]OFD Sender: No OFD packet to send [18:43:04]OFD Sender: No OFD packet to send [18:43:09]OFD Sender: No OFD packet to send [18:43:14]OFD Sender: No OFD packet to send [18:43:19]OFD Sender: No OFD packet to send [18:43:24]OFD Sender: No OFD packet to send [18:43:29]OFD Sender: No OFD packet to send [18:43:34]OFD Sender: No OFD packet to send [18:43:39]OFD Sender: No OFD packet to send [18:43:44]OFD Sender: No OFD packet to send [18:43:49]OFD Sender: No OFD packet to send [18:43:54]OFD Sender: No OFD packet to send [18:43:59]OFD Sender: No OFD packet to send [18:44:04]OFD Sender: No OFD packet to send [18:44:09]OFD Sender: No OFD packet to send [18:44:14]OFD Sender: No OFD packet to send [18:44:19]OFD Sender: No OFD packet to send [18:44:24]OFD Sender: No OFD packet to send [18:44:29]OFD Sender: No OFD packet to send [18:44:34]OFD Sender: No OFD packet to send [18:44:39]OFD Sender: No OFD packet to send [18:44:44]OFD Sender: No OFD packet to send [18:44:49]OFD Sender: No OFD packet to send [18:44:54]OFD Sender: No OFD packet to send [18:44:59]OFD Sender: No OFD packet to send [18:45:04]OFD Sender: No OFD packet to send [18:45:09]OFD Sender: No OFD packet to send [18:45:14]OFD Sender: No OFD packet to send [18:45:19]OFD Sender: No OFD packet to send [18:45:24]OFD Sender: No OFD packet to send [18:45:29]OFD Sender: No OFD packet to send [18:45:34]OFD Sender: No OFD packet to send [18:45:39]OFD Sender: No OFD packet to send [18:45:44]OFD Sender: No OFD packet to send [18:45:49]OFD Sender: No OFD packet to send [18:45:54]OFD Sender: No OFD packet to send [18:45:59]OFD Sender: No OFD packet to send [18:46:04]OFD Sender: No OFD packet to send [18:46:09]OFD Sender: No OFD packet to send [18:46:14]OFD Sender: No OFD packet to send [18:46:19]OFD Sender: No OFD packet to send [18:46:24]OFD Sender: No OFD packet to send [18:46:29]OFD Sender: No OFD packet to send [18:46:34]OFD Sender: No OFD packet to send [18:46:39]OFD Sender: No OFD packet to send [18:46:44]OFD Sender: No OFD packet to send [18:46:49]OFD Sender: No OFD packet to send [18:46:54]OFD Sender: No OFD packet to send [18:46:59]OFD Sender: No OFD packet to send [18:47:04]OFD Sender: No OFD packet to send [18:47:09]OFD Sender: No OFD packet to send [18:47:14]OFD Sender: No OFD packet to send [18:47:19]OFD Sender: No OFD packet to send [18:47:24]OFD Sender: No OFD packet to send [18:47:29]OFD Sender: No OFD packet to send [18:47:34]OFD Sender: No OFD packet to send [18:47:39]OFD Sender: No OFD packet to send [18:47:44]OFD Sender: No OFD packet to send [18:47:49]OFD Sender: No OFD packet to send [18:47:54]OFD Sender: No OFD packet to send [18:47:59]OFD Sender: No OFD packet to send [18:48:04]OFD Sender: No OFD packet to send [18:48:09]OFD Sender: No OFD packet to send [18:48:14]OFD Sender: No OFD packet to send [18:48:19]OFD Sender: No OFD packet to send [18:48:24]OFD Sender: No OFD packet to send [18:48:29]OFD Sender: No OFD packet to send [18:48:34]OFD Sender: No OFD packet to send [18:48:39]OFD Sender: No OFD packet to send [18:48:44]OFD Sender: No OFD packet to send [18:48:49]OFD Sender: No OFD packet to send [18:48:54]OFD Sender: No OFD packet to send [18:48:59]OFD Sender: No OFD packet to send [18:49:04]OFD Sender: No OFD packet to send [18:49:09]OFD Sender: No OFD packet to send [18:49:15]OFD Sender: No OFD packet to send [18:49:20]OFD Sender: No OFD packet to send [18:49:25]OFD Sender: No OFD packet to send [18:49:30]OFD Sender: No OFD packet to send [18:49:35]OFD Sender: No OFD packet to send [18:49:40]OFD Sender: No OFD packet to send [18:49:45]OFD Sender: No OFD packet to send [18:49:50]OFD Sender: No OFD packet to send [18:49:55]OFD Sender: No OFD packet to send [18:50:00]OFD Sender: No OFD packet to send [18:50:05]OFD Sender: No OFD packet to send [18:50:10]OFD Sender: No OFD packet to send [18:50:15]OFD Sender: No OFD packet to send [18:50:20]OFD Sender: No OFD packet to send [18:50:25]OFD Sender: No OFD packet to send [18:50:30]OFD Sender: No OFD packet to send [18:50:35]OFD Sender: No OFD packet to send [18:50:40]OFD Sender: No OFD packet to send [18:50:45]OFD Sender: No OFD packet to send [18:50:50]OFD Sender: No OFD packet to send [18:50:55]OFD Sender: No OFD packet to send [18:51:00]OFD Sender: No OFD packet to send [18:51:05]OFD Sender: No OFD packet to send [18:51:10]OFD Sender: No OFD packet to send [18:51:15]OFD Sender: No OFD packet to send [18:51:20]OFD Sender: No OFD packet to send [18:51:25]OFD Sender: No OFD packet to send [18:51:30]OFD Sender: No OFD packet to send [18:51:35]OFD Sender: No OFD packet to send [18:51:40]OFD Sender: No OFD packet to send [18:51:45]OFD Sender: No OFD packet to send [18:51:50]OFD Sender: No OFD packet to send [18:51:55]OFD Sender: No OFD packet to send [18:52:00]OFD Sender: No OFD packet to send [18:52:05]OFD Sender: No OFD packet to send [18:52:10]OFD Sender: No OFD packet to send [18:52:15]OFD Sender: No OFD packet to send [18:52:20]OFD Sender: No OFD packet to send [18:52:25]OFD Sender: No OFD packet to send [18:52:30]OFD Sender: No OFD packet to send [18:52:35]OFD Sender: No OFD packet to send [18:52:40]OFD Sender: No OFD packet to send [18:52:45]OFD Sender: No OFD packet to send [18:52:50]OFD Sender: No OFD packet to send [18:52:55]OFD Sender: No OFD packet to send [18:53:00]OFD Sender: No OFD packet to send [18:53:05]OFD Sender: No OFD packet to send [18:53:10]OFD Sender: No OFD packet to send [18:53:15]OFD Sender: No OFD packet to send [18:53:20]OFD Sender: No OFD packet to send [18:53:25]OFD Sender: No OFD packet to send [18:53:30]OFD Sender: No OFD packet to send [18:53:35]OFD Sender: No OFD packet to send [18:53:40]OFD Sender: No OFD packet to send [18:53:45]OFD Sender: No OFD packet to send [18:53:50]OFD Sender: No OFD packet to send [18:53:55]OFD Sender: No OFD packet to send [18:54:00]OFD Sender: No OFD packet to send [18:54:05]OFD Sender: No OFD packet to send [18:54:10]OFD Sender: No OFD packet to send [18:54:15]OFD Sender: No OFD packet to send [18:54:20]OFD Sender: No OFD packet to send [18:54:25]OFD Sender: No OFD packet to send [18:54:30]OFD Sender: No OFD packet to send [18:54:35]OFD Sender: No OFD packet to send [18:54:40]OFD Sender: No OFD packet to send [18:54:45]OFD Sender: No OFD packet to send [18:54:50]OFD Sender: No OFD packet to send [18:54:55]OFD Sender: No OFD packet to send [18:55:00]OFD Sender: No OFD packet to send [18:55:05]OFD Sender: No OFD packet to send [18:55:10]OFD Sender: No OFD packet to send [18:55:15]OFD Sender: No OFD packet to send [18:55:20]OFD Sender: No OFD packet to send [18:55:25]OFD Sender: No OFD packet to send [18:55:30]OFD Sender: No OFD packet to send [18:55:35]OFD Sender: No OFD packet to send [18:55:40]OFD Sender: No OFD packet to send [18:55:45]OFD Sender: No OFD packet to send [18:55:50]OFD Sender: No OFD packet to send [18:55:55]OFD Sender: No OFD packet to send [18:56:00]OFD Sender: No OFD packet to send [18:56:05]OFD Sender: No OFD packet to send [18:56:10]OFD Sender: No OFD packet to send [18:56:15]OFD Sender: No OFD packet to send [18:56:20]OFD Sender: No OFD packet to send [18:56:25]OFD Sender: No OFD packet to send [18:56:30]OFD Sender: No OFD packet to send [18:56:35]OFD Sender: No OFD packet to send [18:56:40]OFD Sender: No OFD packet to send [18:56:45]OFD Sender: No OFD packet to send [18:56:50]OFD Sender: No OFD packet to send [18:56:55]OFD Sender: No OFD packet to send [18:56:57]accept exits with 8 [18:56:57]New connection [18:56:57]New thread 3066871140 created [18:56:57] Sock 8.Parse request [18:56:57]Thread 3067014500 joined [18:56:57]Sock 8.Check first char [18:56:57]Waiting for new connection... [18:56:57]Sock 8.First char is OK [18:56:57]request: POST /json_proto HTTP/1.0 [18:56:57]Method: POST [18:56:57]URL: /json_proto [18:56:57]Method is POST - this is cgi request [18:56:57]url: /json_proto [18:56:57]query_string will be loaded in cgi processing [18:56:57]execute_cgi json_proto POST (null) [18:56:57]execute_cgi path=json_proto method=POST [18:56:57]POST find Content-Length [18:56:57]Host: 172.17.35.3:8080 [18:56:57]Content-Length: 682 [18:56:57]Content-Type: application/json [18:56:57] [18:56:57]POST finish read [18:56:57]Found Content-Length = 682 [18:56:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359504", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 4.530, "sum" : 325.25, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 325.00, "total" : 325.00, "payments": [ { "type": 0, "sum" : 325.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:56:57]execute_script... [18:56: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 : (1)359504", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 4.530, "sum" : 325.25, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 325.00, "total" : 325.00, "payments": [ { "type": 0, "sum" : 325.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:56:57]POST & json_proto [18:56:57]process_json_proto [18:56:57]json parsed OK: [18:56:57]protocol is kg_v1.0 [18:56:57]action value=close_receipt [18:56:57]process_action close_receipt [18:56:57]cmd_close_receipt [18:56:57]MH_GetDate [18:56:57]Write to MH i2c: F0 00 00 79 2A 92 [18:56:57]Write i2c OK [18:56:57]MH_I2C_Read... [18:56:57]Read from MH i2c: F0 [18:56:57]MH_I2C_Read... [18:56:57]Read from MH i2c: F0 09 00 [18:56:57]MH_I2C_Read... [18:56:57]Read from MH i2c: F0 09 00 79 2A 00 84 EC 12 66 2B 11 66 64 89 [18:56:57]GetLastDocTimeStamp 1712514826 [18:56:57]current date 1712516228 [18:56:57]FM_GetShiftState [18:56:57]SAM_PROTO_GetShiftState [18:56:57]wFMCommunicate request_size=4 [18:56:57]MH_SAM_APDU [18:56:57]CAPDU: 80 13 01 00 [18:56:57]Write to MH i2c: E2 08 00 7A 2A 80 13 01 00 00 00 00 00 21 [18:56:57]Write i2c OK [18:56:57]MH_I2C_Read... [18:56:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:56:57]Read from MH i2c: E2 [18:56:57]MH_I2C_Read... [18:56:57]Read from MH i2c: E2 0E 00 [18:56:57]MH_I2C_Read... [18:56:57]Read from MH i2c: E2 0E 00 7A 2A 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 B5 [18:56:57]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [18:56:57]wFMCommunicate OK [18:56:57]SAM_PROTO_GetShiftState done [18:56:57]FM_GetShiftState done [18:56:57]opened in 1712450087 [18:56:57]opened+sec_in_day 1712536487 [18:56:57]quantity*price = 32525 [18:56:57]sum+1 = 32526 [18:56:57]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.25 ИТОГО: 325.00 Внесено: 325.00 СДАЧА: 0.00 НСП 1% : 2.88 НДС 12% : 34.54 Наличными: 325.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 60 07.04.2024 18:57 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26761 ФПД: 129325220481989 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T185708&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26761&fm=129325220481989&tin=02508201610067®Number=0000000000091578&sum=32500 [18:56:58]StoreToDocumentArchive [18:56:58]shift 313 fd 26761 [18:56:58]save to /storage/0313/doc_00026761 [18:56:58]save last doc name /storage/0313/doc_00026761 to /storage/kkm_last_doc_name [18:56:58]save OK [18:56:58]Clear old archive folders... [18:56:58]ProcessDocumentItem done err = 0, tmpTLVsize=252 [18:56:58]tlvbuf is B6F64010 [18:56:58]SAM_PROTO_ClearQueue [18:56:58]wFMCommunicate request_size=4 [18:56:58]MH_SAM_APDU [18:56:58]CAPDU: 80 09 00 00 [18:56:58]Write to MH i2c: E2 08 00 87 2A 80 09 00 00 00 00 00 00 23 [18:56:58]Write i2c OK [18:56:58]MH_I2C_Read... [18:56:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:56:58]Read from MH i2c: E2 [18:56:58]MH_I2C_Read... [18:56:58]Read from MH i2c: E2 03 00 [18:56:58]MH_I2C_Read... [18:56:58]Read from MH i2c: E2 03 00 87 2A 00 90 00 25 [18:56:58]RAPDU: 90 00 [18:56:58]wFMCommunicate OK [18:56:58]SAM_PROTO_ClearQueue done [18:56:58]KKMCreateOFDPacket [18:56:58]OFDProtocolAddRootSTLVToBuf [18:56:58]FM_MakeSignedData [18:56:58]FM_MakeSignedData [18:56:58]SAM_PROTO_SignData [18:56:58]wFMCommunicate request_size=4 [18:56:58]MH_SAM_APDU [18:56:58]CAPDU: 80 0D 01 02 [18:56:58]Write to MH i2c: E2 08 00 88 2A 80 0D 01 02 00 00 00 00 2B [18:56:58]Write i2c OK [18:56:58]MH_I2C_Read... [18:56:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:56:58]Read from MH i2c: E2 [18:56:58]MH_I2C_Read... [18:56:58]Read from MH i2c: E2 03 00 [18:56:58]MH_I2C_Read... [18:56:58]Read from MH i2c: E2 03 00 88 2A 00 90 00 26 [18:56:58]RAPDU: 90 00 [18:56:58]wFMCommunicate OK [18:56:58]wFMCommunicate request_size=255 [18:56:58]MH_SAM_APDU [18:56:58]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 B2 11 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 0D 7F 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 7E 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 3C 00 00 00 F4 03 04 00 84 EC 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 89 68 00 00 35 04 06 00 [18:56:58]Write to MH i2c: E2 02 01 89 2A 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 B2 11 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 0D 7F 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 7E 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 3C 00 00 00 F4 03 04 00 84 EC 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 89 68 00 00 35 04 06 00 00 00 D0 [18:56:58]Write i2c OK [18:56:58]MH_I2C_Read... [18:56:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:56:59]Read from MH i2c: E2 [18:56:59]MH_I2C_Read... [18:56:59]Read from MH i2c: E2 03 00 [18:56:59]MH_I2C_Read... [18:56:59]Read from MH i2c: E2 03 00 89 2A 00 90 00 27 [18:56:59]RAPDU: 90 00 [18:56:59]wFMCommunicate OK [18:56:59]wFMCommunicate request_size=11 [18:56:59]MH_SAM_APDU [18:56:59]CAPDU: 80 0D 02 02 06 75 9E DF D3 CB C5 [18:56:59]Write to MH i2c: E2 0E 00 8A 2A 80 0D 02 02 06 00 75 9E DF D3 CB C5 00 00 8F [18:56:59]Write i2c OK [18:56:59]MH_I2C_Read... [18:56:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:56:59]Read from MH i2c: E2 [18:56:59]MH_I2C_Read... [18:56:59]Read from MH i2c: E2 03 00 [18:56:59]MH_I2C_Read... [18:56:59]Read from MH i2c: E2 03 00 8A 2A 00 90 00 28 [18:56:59]RAPDU: 90 00 [18:56:59]wFMCommunicate OK [18:56:59]wFMCommunicate request_size=4 [18:56:59]MH_SAM_APDU [18:56:59]CAPDU: 80 0D 03 02 [18:56:59]Write to MH i2c: E2 08 00 8B 2A 80 0D 03 02 00 00 00 00 30 [18:56:59]Write i2c OK [18:56:59]MH_I2C_Read... [18:56:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:56:59]Read from MH i2c: E2 [18:56:59]MH_I2C_Read... [18:56:59]Read from MH i2c: E2 0B 00 [18:56:59]MH_I2C_Read... [18:56:59]Read from MH i2c: E2 0B 00 8B 2A 00 A3 7E 9A 6D 05 DC DE 9E 90 00 B6 [18:56:59]RAPDU: A3 7E 9A 6D 05 DC DE 9E 90 00 [18:56:59]wFMCommunicate OK [18:56:59]SAM_PROTO_SignData done [18:56:59]FM_MakeSignedData done [18:56:59]CreateOFDProtocolMessage [18:56:59]wFMCommunicate request_size=4 [18:56:59]MH_SAM_APDU [18:56:59]CAPDU: 80 11 00 00 [18:56:59]Write to MH i2c: E2 08 00 8C 2A 80 11 00 00 00 00 00 00 30 [18:56:59]Write i2c OK [18:56:59]MH_I2C_Read... [18:56:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:56:59]Read from MH i2c: E2 [18:56:59]MH_I2C_Read... [18:56:59]Read from MH i2c: E2 17 00 [18:56:59]MH_I2C_Read... [18:56:59]Read from MH i2c: E2 17 00 8C 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 88 [18:56:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [18:56:59]wFMCommunicate OK [18:56:59]CreateOFDProtocolMessage done [18:56:59]OFDSenderStorePacket 26761 [18:56:59]StoreOFDPacket docnum=26761 [18:56:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 F1 28 08 01 7D A3 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 B2 11 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 0D 7F 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 7E 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 3C 00 00 00 F4 03 04 00 84 EC 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 89 68 00 00 35 04 06 00 75 9E DF D3 CB C5 A3 7E 9A 6D 05 DC DE 9E [18:56:59]CheckFolder [18:56:59]dirname=/storage/ofd_packets [18:56:59]CheckFolder done [18:56:59]ProducePacketName [18:56:59]name=ofd_packets/00026761 [18:56:59]NVStorageSaveData ofd_packets/00026761 [18:56:59]File name is /storage/ofd_packets/00026761 [18:56:59]Write 302 bytes [18:56:59]NVStorageSaveData done [18:56:59]OFDSenderStorePacket done [18:56:59]KKMCreateOFDPacket done [18:56:59]NVStorageSaveData kkm_last_timestamp [18:56:59]File name is /storage/kkm_last_timestamp [18:56:59]Write 4 bytes [18:56:59]NVStorageSaveData done [18:56:59]ExternCall_PrintAddStr [18:56:59]wPrintStart [18:56:59]Write to MH i2c: 01 00 00 8D 2A B7 [18:56:59]Write i2c OK [18:56:59]MH_I2C_Read... [18:56:59]Read from MH i2c: 01 [18:56:59]MH_I2C_Read... [18:56:59]Read from MH i2c: 01 07 00 [18:56:59]MH_I2C_Read... [18:56:59]Read from MH i2c: 01 07 00 8D 2A 00 00 00 00 00 FF 0F CC [18:56:59]RasterBufferAndPrint [18:56:59]line Счет N : (1)359504 [18:56:59]line ИНН: 02508201610067 [18:56:59]line Контрольно-Кассовый Чек [18:56:59]line ПРОДАЖА [18:56:59]line ТРК (МРК, ГНК) : 21 [18:56:59]line Товар: 2710194210 [18:56:59]line ДТ(л)-К-5 [18:56:59]line 4.530 * 71.80 [18:56:59]line = 325.25 [18:56:59]line НДС 12% НСП 1% [18:56:59]line > о реализуемом товаре [18:56:59]line ОКРУГЛЕНИЕ: -0.25 [18:56:59]line ИТОГО: 325.00 [18:56:59]line Внесено: 325.00 [18:56:59]line СДАЧА: 0.00 [18:56:59]line НСП 1% : 2.88 [18:56:59]line НДС 12% : 34.54 [18:56:59]line Наличными: 325.00 [18:56:59]line Безнал.: 0.00 [18:56:59]line Место: АЗС № 122 "Партнер Нефть" [18:56:59]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [18:56:59]line СНО: Общий режим [18:56:59]line Чек 60 07.04.2024 18:57 [18:56:59]line Смена: 313 ФФД: 1.0 [18:56:59]line ЗНМ: 0300000147 [18:56:59]line РНМ: 0000000000091578 [18:56:59]line Версия ККМ: 001 [18:56:59]line ФМ: 0000000000874657 [18:56:59]line ФД: 26761 [18:56:59]line ФПД: 129325220481989 [18:56:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T185708&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26761&fm=129325220481989&tin=02508201610067®Number=0000000000091578&sum=32500 [18:56:59]OFD Sender: Processing packet 26761 [packets to send 44, broken 43] [18:56:59]ProducePacketName [18:56:59]name=ofd_packets/00026761 [18:56:59]OFD Sender: To server: pG, [18:56:59]CommunicateWithHost lk.salyk.kg:30040 [18:56:59]ConnectInit lk.salyk.kg [18:56:59]written 0, free lines is 4095 [18:56:59]Connected sock=10 [18:56: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 36 35 37 10 01 00 00 F1 28 08 01 7D A3 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 B2 11 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 0D 7F 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 7E 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 3C 00 00 00 F4 03 04 00 84 EC 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 89 68 00 00 35 04 06 00 75 9E DF D3 CB C5 A3 7E 9A 6D 05 DC DE 9E [18:56:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 9F 1E 47 00 00 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 36 35 37 10 04 04 00 89 68 00 00 F4 03 04 00 F0 93 12 66 B6 04 01 00 00 52 67 3D CA B9 02 E4 5D [18:56:59]CommunicateWithHost err = 0 [18:56:59]CheckOFDResponse [18:56:59]1017 (14) - 77093643461234 [18:56:59]1041 (16) - 0000000000874657 [18:56:59]1040 (4) - 26761 [18:56:59]1012 (4) - 07.04.2024 12:39 [18:56:59]1206 (1) - 0 [18:56:59]OFD Sender: Remove packet 26761 [18:56:59]ProducePacketName [18:56:59]name=ofd_packets/00026761 [18:56:59]NVStorageDeleteData [18:57:00]Write to MH i2c: 01 00 00 B8 2A E2 [18:57:00]Write i2c OK [18:57:00]MH_I2C_Read... [18:57:00]Read from MH i2c: 01 [18:57:00]MH_I2C_Read... [18:57:00]Read from MH i2c: 01 07 00 [18:57:00]MH_I2C_Read... [18:57:00]Read from MH i2c: 01 07 00 B8 2A 00 00 00 00 00 72 0C 67 [18:57:00]RasterBufferAndPrint [18:57:00]line [18:57:00]line [18:57:00]line [18:57:00]line [18:57:00]line [18:57:00]written 0, free lines is 3188 [18:57:00]MH_Cut [18:57:00]Write to MH i2c: D1 01 00 BF 2A 01 BB [18:57:00]Write i2c OK [18:57:00]MH_I2C_Read... [18:57:00]Read from MH i2c: D1 [18:57:00]MH_I2C_Read... [18:57:00]Read from MH i2c: D1 01 00 [18:57:00]MH_I2C_Read... [18:57:00]Read from MH i2c: D1 01 00 BF 2A 00 BA [18:57:00]Write to MH i2c: 01 00 00 C0 2A EA [18:57:00]Write i2c OK [18:57:00]MH_I2C_Read... [18:57:00]OFD Sender: No OFD packet to send [18:57:01]*** Cut start [18:57:01]*** Partial cut [18:57:01]*** CUTSNS_PIN = 1 [18:57:01]*** CUTSNS_PIN = 0 [18:57:01]*** Brake cut motor [18:57:01]Read from MH i2c: 01 [18:57:01]MH_I2C_Read... [18:57:01]*** Stop cut motor [18:57:01]*** Cut end [18:57:01]Read from MH i2c: 01 07 00 [18:57:01]MH_I2C_Read... [18:57:01]Read from MH i2c: 01 07 00 C0 2A 00 00 00 00 00 FF 0F FF [18:57:01]process_action close_receipt done [18:57:01]requested_data is exist [18:57:01]produce_requested_data [18:57:01]requested_item fm.sn is exist - process it [18:57:01]wFMCommunicate request_size=4 [18:57:01]MH_SAM_APDU [18:57:01]CAPDU: 80 11 00 00 [18:57:01]Write to MH i2c: E2 08 00 C1 2A 80 11 00 00 00 00 00 00 65 [18:57:01]Write i2c OK [18:57:01]MH_I2C_Read... [18:57:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:57:02]Read from MH i2c: E2 [18:57:02]MH_I2C_Read... [18:57:02]Read from MH i2c: E2 17 00 [18:57:02]MH_I2C_Read... [18:57:02]Read from MH i2c: E2 17 00 C1 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 BD [18:57:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [18:57:02]wFMCommunicate OK [18:57:02]requested_item fd.num is exist - process it [18:57:02]SAM_PROTO_GetFieldsCounters [18:57:02]wFMCommunicate request_size=4 [18:57:02]MH_SAM_APDU [18:57:02]CAPDU: 80 13 00 00 [18:57:02]Write to MH i2c: E2 08 00 C2 2A 80 13 00 00 00 00 00 00 68 [18:57:02]Write i2c OK [18:57:02]MH_I2C_Read... [18:57:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:57:02]Read from MH i2c: E2 [18:57:02]MH_I2C_Read... [18:57:02]Read from MH i2c: E2 62 00 [18:57:02]MH_I2C_Read... [18:57:02]Read from MH i2c: E2 62 00 C2 2A 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 89 68 00 00 0E 04 04 00 39 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 72 [18:57: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 89 68 00 00 0E 04 04 00 39 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 [18:57:02]wFMCommunicate OK [18:57:02]SAM_PROTO_GetFieldsCounters done [18:57:02]requested_item shift.num is exist - process it [18:57:02]requested_item shift.opened is exist - process it [18:57:02]req_shift_opened [18:57:02]FM_GetShiftState [18:57:02]SAM_PROTO_GetShiftState [18:57:02]wFMCommunicate request_size=4 [18:57:02]MH_SAM_APDU [18:57:02]CAPDU: 80 13 01 00 [18:57:02]Write to MH i2c: E2 08 00 C3 2A 80 13 01 00 00 00 00 00 6A [18:57:02]Write i2c OK [18:57:02]MH_I2C_Read... [18:57:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:57:02]Read from MH i2c: E2 [18:57:02]MH_I2C_Read... [18:57:02]Read from MH i2c: E2 0E 00 [18:57:02]MH_I2C_Read... [18:57:02]Read from MH i2c: E2 0E 00 C3 2A 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 FE [18:57:02]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [18:57:02]wFMCommunicate OK [18:57:02]SAM_PROTO_GetShiftState done [18:57:02]FM_GetShiftState done [18:57:02]req_shift_opened done [18:57:02]requested_item shift.open_date is exist - process it [18:57:02]req_shift_open_date [18:57:02]req_shift_open_date done [18:57:02]produce_requested_data done [18:57:02]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26761,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [18:57:02]process_action_free close_receipt [18:57:02]json_value_free [18:57:02]json_value_free done [18:57:02]process_json_proto returns [18:57:02]Send response to host [18:57:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26761,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [18:57:02]free response buf [18:57:02]execute_script done [18:57:02]execute_script returns [18:57:02]free content buf [18:57:02]Sock 8.Close socket [18:57:02]Sock 8.Thread stoped [18:57:05]OFD Sender: No OFD packet to send [18:57:10]OFD Sender: No OFD packet to send [18:57:15]OFD Sender: No OFD packet to send [18:57:20]OFD Sender: No OFD packet to send [18:57:25]OFD Sender: No OFD packet to send [18:57:30]OFD Sender: No OFD packet to send [18:57:35]OFD Sender: No OFD packet to send [18:57:40]OFD Sender: No OFD packet to send [18:57:45]OFD Sender: No OFD packet to send [18:57:50]OFD Sender: No OFD packet to send [18:57:55]OFD Sender: No OFD packet to send [18:58:00]OFD Sender: No OFD packet to send [18:58:05]OFD Sender: No OFD packet to send [18:58:10]OFD Sender: No OFD packet to send [18:58:15]OFD Sender: No OFD packet to send [18:58:20]OFD Sender: No OFD packet to send [18:58:25]OFD Sender: No OFD packet to send [18:58:30]OFD Sender: No OFD packet to send [18:58:35]OFD Sender: No OFD packet to send [18:58:40]OFD Sender: No OFD packet to send [18:58:45]OFD Sender: No OFD packet to send [18:58:50]OFD Sender: No OFD packet to send [18:58:55]OFD Sender: No OFD packet to send [18:59:00]OFD Sender: No OFD packet to send [18:59:05]OFD Sender: No OFD packet to send [18:59:10]OFD Sender: No OFD packet to send [18:59:15]OFD Sender: No OFD packet to send [18:59:20]OFD Sender: No OFD packet to send [18:59:25]OFD Sender: No OFD packet to send [18:59:30]OFD Sender: No OFD packet to send [18:59:35]OFD Sender: No OFD packet to send [18:59:40]OFD Sender: No OFD packet to send [18:59:45]OFD Sender: No OFD packet to send [18:59:50]OFD Sender: No OFD packet to send [18:59:55]OFD Sender: No OFD packet to send [19:00:00]OFD Sender: No OFD packet to send [19:00:05]OFD Sender: No OFD packet to send [19:00:10]OFD Sender: No OFD packet to send [19:00:15]OFD Sender: No OFD packet to send [19:00:20]OFD Sender: No OFD packet to send [19:00:25]OFD Sender: No OFD packet to send [19:00:30]OFD Sender: No OFD packet to send [19:00:35]OFD Sender: No OFD packet to send [19:00:40]OFD Sender: No OFD packet to send [19:00:45]OFD Sender: No OFD packet to send [19:00:50]OFD Sender: No OFD packet to send [19:00:55]OFD Sender: No OFD packet to send [19:01:00]OFD Sender: No OFD packet to send [19:01:05]OFD Sender: No OFD packet to send [19:01:10]OFD Sender: No OFD packet to send [19:01:15]OFD Sender: No OFD packet to send [19:01:20]OFD Sender: No OFD packet to send [19:01:25]OFD Sender: No OFD packet to send [19:01:30]OFD Sender: No OFD packet to send [19:01:35]OFD Sender: No OFD packet to send [19:01:40]OFD Sender: No OFD packet to send [19:01:45]OFD Sender: No OFD packet to send [19:01:50]OFD Sender: No OFD packet to send [19:01:55]OFD Sender: No OFD packet to send [19:02:00]OFD Sender: No OFD packet to send [19:02:05]OFD Sender: No OFD packet to send [19:02:10]OFD Sender: No OFD packet to send [19:02:15]OFD Sender: No OFD packet to send [19:02:20]OFD Sender: No OFD packet to send [19:02:25]OFD Sender: No OFD packet to send [19:02:30]OFD Sender: No OFD packet to send [19:02:35]OFD Sender: No OFD packet to send [19:02:40]OFD Sender: No OFD packet to send [19:02:45]OFD Sender: No OFD packet to send [19:02:50]OFD Sender: No OFD packet to send [19:02:55]OFD Sender: No OFD packet to send [19:03:00]OFD Sender: No OFD packet to send [19:03:05]OFD Sender: No OFD packet to send [19:03:10]OFD Sender: No OFD packet to send [19:03:15]OFD Sender: No OFD packet to send [19:03:20]OFD Sender: No OFD packet to send [19:03:25]OFD Sender: No OFD packet to send [19:03:30]OFD Sender: No OFD packet to send [19:03:35]OFD Sender: No OFD packet to send [19:03:40]OFD Sender: No OFD packet to send [19:03:45]OFD Sender: No OFD packet to send [19:03:50]OFD Sender: No OFD packet to send [19:03:55]OFD Sender: No OFD packet to send [19:04:00]OFD Sender: No OFD packet to send [19:04:05]OFD Sender: No OFD packet to send [19:04:10]OFD Sender: No OFD packet to send [19:04:15]OFD Sender: No OFD packet to send [19:04:20]OFD Sender: No OFD packet to send [19:04:25]OFD Sender: No OFD packet to send [19:04:30]OFD Sender: No OFD packet to send [19:04:35]OFD Sender: No OFD packet to send [19:04:40]OFD Sender: No OFD packet to send [19:04:45]OFD Sender: No OFD packet to send [19:04:50]OFD Sender: No OFD packet to send [19:04:55]OFD Sender: No OFD packet to send [19:05:00]OFD Sender: No OFD packet to send [19:05:05]OFD Sender: No OFD packet to send [19:05:10]OFD Sender: No OFD packet to send [19:05:15]OFD Sender: No OFD packet to send [19:05:20]OFD Sender: No OFD packet to send [19:05:25]OFD Sender: No OFD packet to send [19:05:30]OFD Sender: No OFD packet to send [19:05:35]OFD Sender: No OFD packet to send [19:05:40]OFD Sender: No OFD packet to send [19:05:45]OFD Sender: No OFD packet to send [19:05:50]OFD Sender: No OFD packet to send [19:05:55]OFD Sender: No OFD packet to send [19:06:00]OFD Sender: No OFD packet to send [19:06:05]OFD Sender: No OFD packet to send [19:06:11]OFD Sender: No OFD packet to send [19:06:16]OFD Sender: No OFD packet to send [19:06:21]OFD Sender: No OFD packet to send [19:06:26]OFD Sender: No OFD packet to send [19:06:31]OFD Sender: No OFD packet to send [19:06:36]OFD Sender: No OFD packet to send [19:06:41]OFD Sender: No OFD packet to send [19:06:46]OFD Sender: No OFD packet to send [19:06:51]OFD Sender: No OFD packet to send [19:06:56]OFD Sender: No OFD packet to send [19:07:01]OFD Sender: No OFD packet to send [19:07:06]OFD Sender: No OFD packet to send [19:07:11]OFD Sender: No OFD packet to send [19:07:16]OFD Sender: No OFD packet to send [19:07:21]OFD Sender: No OFD packet to send [19:07:26]OFD Sender: No OFD packet to send [19:07:31]OFD Sender: No OFD packet to send [19:07:36]OFD Sender: No OFD packet to send [19:07:41]OFD Sender: No OFD packet to send [19:07:46]OFD Sender: No OFD packet to send [19:07:51]OFD Sender: No OFD packet to send [19:07:56]OFD Sender: No OFD packet to send [19:08:01]OFD Sender: No OFD packet to send [19:08:06]OFD Sender: No OFD packet to send [19:08:11]OFD Sender: No OFD packet to send [19:08:16]OFD Sender: No OFD packet to send [19:08:21]OFD Sender: No OFD packet to send [19:08:26]OFD Sender: No OFD packet to send [19:08:31]OFD Sender: No OFD packet to send [19:08:36]OFD Sender: No OFD packet to send [19:08:41]OFD Sender: No OFD packet to send [19:08:46]OFD Sender: No OFD packet to send [19:08:51]OFD Sender: No OFD packet to send [19:08:56]OFD Sender: No OFD packet to send [19:09:01]OFD Sender: No OFD packet to send [19:09:06]OFD Sender: No OFD packet to send [19:09:07]accept exits with 9 [19:09:07]New connection [19:09:07]New thread 3067014500 created [19:09:07]Thread 3066871140 joined [19:09:07]Waiting for new connection... [19:09:07] Sock 9.Parse request [19:09:07]Sock 9.Check first char [19:09:07]Sock 9.First char is OK [19:09:07]request: POST /json_proto HTTP/1.0 [19:09:07]Method: POST [19:09:07]URL: /json_proto [19:09:07]Method is POST - this is cgi request [19:09:07]url: /json_proto [19:09:07]query_string will be loaded in cgi processing [19:09:07]execute_cgi json_proto POST (null) [19:09:07]execute_cgi path=json_proto method=POST [19:09:07]POST find Content-Length [19:09:07]Host: 172.17.35.3:8080 [19:09:07]Content-Length: 683 [19:09:07]Content-Type: application/json [19:09:07] [19:09:07]POST finish read [19:09:07]Found Content-Length = 683 [19:09:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359505", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 10.450, "sum" : 750.31, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 750.00, "total" : 750.00, "payments": [ { "type": 0, "sum" : 750.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:09:07]execute_script... [19:09: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 : (1)359505", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 10.450, "sum" : 750.31, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 750.00, "total" : 750.00, "payments": [ { "type": 0, "sum" : 750.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:09:07]POST & json_proto [19:09:07]process_json_proto [19:09:07]json parsed OK: [19:09:07]protocol is kg_v1.0 [19:09:07]action value=close_receipt [19:09:07]process_action close_receipt [19:09:07]cmd_close_receipt [19:09:07]MH_GetDate [19:09:07]Write to MH i2c: F0 00 00 C4 2A DD [19:09:07]Write i2c OK [19:09:07]MH_I2C_Read... [19:09:07]Read from MH i2c: F0 [19:09:07]MH_I2C_Read... [19:09:07]Read from MH i2c: F0 09 00 [19:09:07]MH_I2C_Read... [19:09:07]Read from MH i2c: F0 09 00 C4 2A 00 5E EF 12 66 2B 11 66 64 B1 [19:09:07]GetLastDocTimeStamp 1712516228 [19:09:07]current date 1712516958 [19:09:07]FM_GetShiftState [19:09:07]SAM_PROTO_GetShiftState [19:09:07]wFMCommunicate request_size=4 [19:09:07]MH_SAM_APDU [19:09:07]CAPDU: 80 13 01 00 [19:09:07]Write to MH i2c: E2 08 00 C5 2A 80 13 01 00 00 00 00 00 6C [19:09:07]Write i2c OK [19:09:07]MH_I2C_Read... [19:09:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:09:07]Read from MH i2c: E2 [19:09:07]MH_I2C_Read... [19:09:07]Read from MH i2c: E2 0E 00 [19:09:07]MH_I2C_Read... [19:09:07]Read from MH i2c: E2 0E 00 C5 2A 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 00 [19:09:07]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [19:09:07]wFMCommunicate OK [19:09:07]SAM_PROTO_GetShiftState done [19:09:07]FM_GetShiftState done [19:09:07]opened in 1712450087 [19:09:07]opened+sec_in_day 1712536487 [19:09:07]quantity*price = 75031 [19:09:07]sum+1 = 75032 [19:09:07]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.31 ИТОГО: 750.00 Внесено: 750.00 СДАЧА: 0.00 НСП 1% : 6.64 НДС 12% : 79.68 Наличными: 750.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 61 07.04.2024 19:09 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26762 ФПД: 56439822429605 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T190918&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26762&fm=56439822429605&tin=02508201610067®Number=0000000000091578&sum=75000 [19:09:08]StoreToDocumentArchive [19:09:08]shift 313 fd 26762 [19:09:08]save to /storage/0313/doc_00026762 [19:09:08]save last doc name /storage/0313/doc_00026762 to /storage/kkm_last_doc_name [19:09:08]save OK [19:09:08]Clear old archive folders... [19:09:08]ProcessDocumentItem done err = 0, tmpTLVsize=252 [19:09:08]tlvbuf is 00E84030 [19:09:08]SAM_PROTO_ClearQueue [19:09:08]wFMCommunicate request_size=4 [19:09:08]MH_SAM_APDU [19:09:08]CAPDU: 80 09 00 00 [19:09:08]Write to MH i2c: E2 08 00 D2 2A 80 09 00 00 00 00 00 00 6E [19:09:08]Write i2c OK [19:09:08]MH_I2C_Read... [19:09:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:09:09]Read from MH i2c: E2 [19:09:09]MH_I2C_Read... [19:09:09]Read from MH i2c: E2 03 00 [19:09:09]MH_I2C_Read... [19:09:09]Read from MH i2c: E2 03 00 D2 2A 00 90 00 70 [19:09:09]RAPDU: 90 00 [19:09:09]wFMCommunicate OK [19:09:09]SAM_PROTO_ClearQueue done [19:09:09]KKMCreateOFDPacket [19:09:09]OFDProtocolAddRootSTLVToBuf [19:09:09]FM_MakeSignedData [19:09:09]FM_MakeSignedData [19:09:09]SAM_PROTO_SignData [19:09:09]wFMCommunicate request_size=4 [19:09:09]MH_SAM_APDU [19:09:09]CAPDU: 80 0D 01 02 [19:09:09]Write to MH i2c: E2 08 00 D3 2A 80 0D 01 02 00 00 00 00 76 [19:09:09]Write i2c OK [19:09:09]MH_I2C_Read... [19:09:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:09:09]Read from MH i2c: E2 [19:09:09]MH_I2C_Read... [19:09:09]Read from MH i2c: E2 03 00 [19:09:09]MH_I2C_Read... [19:09:09]Read from MH i2c: E2 03 00 D3 2A 00 90 00 71 [19:09:09]RAPDU: 90 00 [19:09:09]wFMCommunicate OK [19:09:09]wFMCommunicate request_size=255 [19:09:09]MH_SAM_APDU [19:09:09]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 D2 28 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 17 25 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 24 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 98 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 1F 00 00 00 00 07 04 06 00 F8 24 01 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 5E EF 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 8A 68 00 00 35 04 06 00 [19:09:09]Write to MH i2c: E2 02 01 D4 2A 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 D2 28 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 17 25 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 24 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 98 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 1F 00 00 00 00 07 04 06 00 F8 24 01 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 5E EF 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 8A 68 00 00 35 04 06 00 00 00 65 [19:09:09]Write i2c OK [19:09:09]MH_I2C_Read... [19:09:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:09:09]Read from MH i2c: E2 [19:09:09]MH_I2C_Read... [19:09:09]Read from MH i2c: E2 03 00 [19:09:09]MH_I2C_Read... [19:09:09]Read from MH i2c: E2 03 00 D4 2A 00 90 00 72 [19:09:09]RAPDU: 90 00 [19:09:09]wFMCommunicate OK [19:09:09]wFMCommunicate request_size=11 [19:09:09]MH_SAM_APDU [19:09:09]CAPDU: 80 0D 02 02 06 33 54 EB 91 2D A5 [19:09:09]Write to MH i2c: E2 0E 00 D5 2A 80 0D 02 02 06 00 33 54 EB 91 2D A5 00 00 5A [19:09:09]Write i2c OK [19:09:09]MH_I2C_Read... [19:09:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:09:09]Read from MH i2c: E2 [19:09:09]MH_I2C_Read... [19:09:09]Read from MH i2c: E2 03 00 [19:09:09]MH_I2C_Read... [19:09:09]Read from MH i2c: E2 03 00 D5 2A 00 90 00 73 [19:09:09]RAPDU: 90 00 [19:09:09]wFMCommunicate OK [19:09:09]wFMCommunicate request_size=4 [19:09:09]MH_SAM_APDU [19:09:09]CAPDU: 80 0D 03 02 [19:09:09]Write to MH i2c: E2 08 00 D6 2A 80 0D 03 02 00 00 00 00 7B [19:09:09]Write i2c OK [19:09:09]MH_I2C_Read... [19:09:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:09:09]Read from MH i2c: E2 [19:09:09]MH_I2C_Read... [19:09:09]Read from MH i2c: E2 0B 00 [19:09:09]MH_I2C_Read... [19:09:09]Read from MH i2c: E2 0B 00 D6 2A 00 89 B6 22 F3 BA 4A 47 AD 90 00 C8 [19:09:09]RAPDU: 89 B6 22 F3 BA 4A 47 AD 90 00 [19:09:09]wFMCommunicate OK [19:09:09]SAM_PROTO_SignData done [19:09:09]FM_MakeSignedData done [19:09:09]CreateOFDProtocolMessage [19:09:09]wFMCommunicate request_size=4 [19:09:09]MH_SAM_APDU [19:09:09]CAPDU: 80 11 00 00 [19:09:09]Write to MH i2c: E2 08 00 D7 2A 80 11 00 00 00 00 00 00 7B [19:09:09]Write i2c OK [19:09:09]MH_I2C_Read... [19:09:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:09:09]Read from MH i2c: E2 [19:09:09]MH_I2C_Read... [19:09:09]Read from MH i2c: E2 17 00 [19:09:09]MH_I2C_Read... [19:09:09]Read from MH i2c: E2 17 00 D7 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 D3 [19:09:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [19:09:09]wFMCommunicate OK [19:09:09]CreateOFDProtocolMessage done [19:09:09]OFDSenderStorePacket 26762 [19:09:09]StoreOFDPacket docnum=26762 [19:09:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 A2 F9 08 01 2D D2 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 D2 28 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 17 25 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 24 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 98 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 1F 00 00 00 00 07 04 06 00 F8 24 01 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 5E EF 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 8A 68 00 00 35 04 06 00 33 54 EB 91 2D A5 89 B6 22 F3 BA 4A 47 AD [19:09:09]CheckFolder [19:09:09]dirname=/storage/ofd_packets [19:09:09]CheckFolder done [19:09:09]ProducePacketName [19:09:09]name=ofd_packets/00026762 [19:09:09]NVStorageSaveData ofd_packets/00026762 [19:09:09]File name is /storage/ofd_packets/00026762 [19:09:09]Write 302 bytes [19:09:09]NVStorageSaveData done [19:09:09]OFDSenderStorePacket done [19:09:09]KKMCreateOFDPacket done [19:09:09]NVStorageSaveData kkm_last_timestamp [19:09:09]File name is /storage/kkm_last_timestamp [19:09:09]Write 4 bytes [19:09:09]NVStorageSaveData done [19:09:09]ExternCall_PrintAddStr [19:09:09]wPrintStart [19:09:09]Write to MH i2c: 01 00 00 D8 2A 02 [19:09:09]Write i2c OK [19:09:09]MH_I2C_Read... [19:09:09]Read from MH i2c: 01 [19:09:09]MH_I2C_Read... [19:09:09]Read from MH i2c: 01 07 00 [19:09:09]MH_I2C_Read... [19:09:09]Read from MH i2c: 01 07 00 D8 2A 00 00 00 00 00 FF 0F 17 [19:09:09]RasterBufferAndPrint [19:09:09]line Счет N : (1)359505 [19:09:09]line ИНН: 02508201610067 [19:09:09]line Контрольно-Кассовый Чек [19:09:09]line ПРОДАЖА [19:09:09]line ТРК (МРК, ГНК) : 11 [19:09:09]line Товар: 2710194210 [19:09:09]line ДТ(л)-К-5 [19:09:09]line 10.450 * 71.80 [19:09:09]line = 750.31 [19:09:09]line НДС 12% НСП 1% [19:09:09]line > о реализуемом товаре [19:09:09]line ОКРУГЛЕНИЕ: -0.31 [19:09:09]line ИТОГО: 750.00 [19:09:09]line Внесено: 750.00 [19:09:09]line СДАЧА: 0.00 [19:09:09]line НСП 1% : 6.64 [19:09:09]line НДС 12% : 79.68 [19:09:09]line Наличными: 750.00 [19:09:09]line Безнал.: 0.00 [19:09:09]line Место: АЗС № 122 "Партнер Нефть" [19:09:09]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [19:09:09]line СНО: Общий режим [19:09:09]line Чек 61 07.04.2024 19:09 [19:09:09]line Смена: 313 ФФД: 1.0 [19:09:09]line ЗНМ: 0300000147 [19:09:09]line РНМ: 0000000000091578 [19:09:09]line Версия ККМ: 001 [19:09:09]line ФМ: 0000000000874657 [19:09:09]line ФД: 26762 [19:09:09]line ФПД: 56439822429605 [19:09:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T190918&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26762&fm=56439822429605&tin=02508201610067®Number=0000000000091578&sum=75000 [19:09:09]OFD Sender: Processing packet 26762 [packets to send 44, broken 43] [19:09:09]ProducePacketName [19:09:09]name=ofd_packets/00026762 [19:09:09]OFD Sender: To server: pG, [19:09:09]CommunicateWithHost lk.salyk.kg:30040 [19:09:09]ConnectInit lk.salyk.kg [19:09:09]written 0, free lines is 4095 [19:09:09]Connected sock=8 [19:09: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 36 35 37 10 01 00 00 A2 F9 08 01 2D D2 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 D2 28 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 17 25 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 24 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 98 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 1F 00 00 00 00 07 04 06 00 F8 24 01 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 5E EF 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 8A 68 00 00 35 04 06 00 33 54 EB 91 2D A5 89 B6 22 F3 BA 4A 47 AD [19:09:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 78 AC 47 00 54 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 36 35 37 10 04 04 00 8A 68 00 00 F4 03 04 00 CA 96 12 66 B6 04 01 00 00 A5 19 68 59 1B 10 A8 7B [19:09:10]CommunicateWithHost err = 0 [19:09:10]CheckOFDResponse [19:09:10]1017 (14) - 77093643461234 [19:09:10]1041 (16) - 0000000000874657 [19:09:10]1040 (4) - 26762 [19:09:10]1012 (4) - 07.04.2024 12:51 [19:09:10]1206 (1) - 0 [19:09:10]OFD Sender: Remove packet 26762 [19:09:10]ProducePacketName [19:09:10]name=ofd_packets/00026762 [19:09:10]NVStorageDeleteData [19:09:10]Write to MH i2c: 01 00 00 03 2B 2E [19:09:10]Write i2c OK [19:09:10]MH_I2C_Read... [19:09:10]Read from MH i2c: 01 [19:09:10]MH_I2C_Read... [19:09:10]Read from MH i2c: 01 07 00 [19:09:10]MH_I2C_Read... [19:09:10]Read from MH i2c: 01 07 00 03 2B 00 00 00 00 00 76 0C B7 [19:09:10]RasterBufferAndPrint [19:09:10]line [19:09:10]line [19:09:10]line [19:09:10]line [19:09:10]line [19:09:10]written 0, free lines is 3193 [19:09:10]MH_Cut [19:09:10]Write to MH i2c: D1 01 00 0A 2B 01 07 [19:09:10]Write i2c OK [19:09:10]MH_I2C_Read... [19:09:10]Read from MH i2c: D1 [19:09:10]MH_I2C_Read... [19:09:10]Read from MH i2c: D1 01 00 [19:09:10]MH_I2C_Read... [19:09:10]Read from MH i2c: D1 01 00 0A 2B 00 06 [19:09:10]Write to MH i2c: 01 00 00 0B 2B 36 [19:09:10]Write i2c OK [19:09:10]MH_I2C_Read... [19:09:10]OFD Sender: No OFD packet to send [19:09:11]*** Cut start [19:09:11]*** Partial cut [19:09:11]*** CUTSNS_PIN = 1 [19:09:11]*** CUTSNS_PIN = 0 [19:09:11]*** Brake cut motor [19:09:12]Read from MH i2c: 01 [19:09:12]MH_I2C_Read... [19:09:12]*** Stop cut motor [19:09:12]*** Cut end [19:09:12]Read from MH i2c: 01 07 00 [19:09:12]MH_I2C_Read... [19:09:12]Read from MH i2c: 01 07 00 0B 2B 00 00 00 00 00 FF 0F 4B [19:09:12]process_action close_receipt done [19:09:12]requested_data is exist [19:09:12]produce_requested_data [19:09:12]requested_item fm.sn is exist - process it [19:09:12]wFMCommunicate request_size=4 [19:09:12]MH_SAM_APDU [19:09:12]CAPDU: 80 11 00 00 [19:09:12]Write to MH i2c: E2 08 00 0C 2B 80 11 00 00 00 00 00 00 B1 [19:09:12]Write i2c OK [19:09:12]MH_I2C_Read... [19:09:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:09:12]Read from MH i2c: E2 [19:09:12]MH_I2C_Read... [19:09:12]Read from MH i2c: E2 17 00 [19:09:12]MH_I2C_Read... [19:09:12]Read from MH i2c: E2 17 00 0C 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 09 [19:09:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [19:09:12]wFMCommunicate OK [19:09:12]requested_item fd.num is exist - process it [19:09:12]SAM_PROTO_GetFieldsCounters [19:09:12]wFMCommunicate request_size=4 [19:09:12]MH_SAM_APDU [19:09:12]CAPDU: 80 13 00 00 [19:09:12]Write to MH i2c: E2 08 00 0D 2B 80 13 00 00 00 00 00 00 B4 [19:09:12]Write i2c OK [19:09:12]MH_I2C_Read... [19:09:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:09:12]Read from MH i2c: E2 [19:09:12]MH_I2C_Read... [19:09:12]Read from MH i2c: E2 62 00 [19:09:12]MH_I2C_Read... [19:09:12]Read from MH i2c: E2 62 00 0D 2B 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 8A 68 00 00 0E 04 04 00 39 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 C2 [19:09: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 8A 68 00 00 0E 04 04 00 39 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 [19:09:12]wFMCommunicate OK [19:09:12]SAM_PROTO_GetFieldsCounters done [19:09:12]requested_item shift.num is exist - process it [19:09:12]requested_item shift.opened is exist - process it [19:09:12]req_shift_opened [19:09:12]FM_GetShiftState [19:09:12]SAM_PROTO_GetShiftState [19:09:12]wFMCommunicate request_size=4 [19:09:12]MH_SAM_APDU [19:09:12]CAPDU: 80 13 01 00 [19:09:12]Write to MH i2c: E2 08 00 0E 2B 80 13 01 00 00 00 00 00 B6 [19:09:12]Write i2c OK [19:09:12]MH_I2C_Read... [19:09:12]Read from MH i2c: E2 [19:09:12]MH_I2C_Read... [19:09:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:09:12]Read from MH i2c: E2 0E 00 [19:09:12]MH_I2C_Read... [19:09:12]Read from MH i2c: E2 0E 00 0E 2B 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 4A [19:09:12]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [19:09:12]wFMCommunicate OK [19:09:12]SAM_PROTO_GetShiftState done [19:09:12]FM_GetShiftState done [19:09:12]req_shift_opened done [19:09:12]requested_item shift.open_date is exist - process it [19:09:12]req_shift_open_date [19:09:12]req_shift_open_date done [19:09:12]produce_requested_data done [19:09:12]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26762,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [19:09:12]process_action_free close_receipt [19:09:12]json_value_free [19:09:12]json_value_free done [19:09:12]process_json_proto returns [19:09:12]Send response to host [19:09:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26762,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [19:09:12]free response buf [19:09:12]execute_script done [19:09:12]execute_script returns [19:09:12]free content buf [19:09:12]Sock 9.Close socket [19:09:12]Sock 9.Thread stoped [19:09:15]OFD Sender: No OFD packet to send [19:09:20]OFD Sender: No OFD packet to send [19:09:25]OFD Sender: No OFD packet to send [19:09:30]OFD Sender: No OFD packet to send [19:09:35]OFD Sender: No OFD packet to send [19:09:40]OFD Sender: No OFD packet to send [19:09:45]OFD Sender: No OFD packet to send [19:09:50]OFD Sender: No OFD packet to send [19:09:55]OFD Sender: No OFD packet to send [19:10:00]OFD Sender: No OFD packet to send [19:10:05]OFD Sender: No OFD packet to send [19:10:10]OFD Sender: No OFD packet to send [19:10:15]OFD Sender: No OFD packet to send [19:10:20]OFD Sender: No OFD packet to send [19:10:25]OFD Sender: No OFD packet to send [19:10:30]OFD Sender: No OFD packet to send [19:10:35]OFD Sender: No OFD packet to send [19:10:40]OFD Sender: No OFD packet to send [19:10:45]OFD Sender: No OFD packet to send [19:10:50]OFD Sender: No OFD packet to send [19:10:55]OFD Sender: No OFD packet to send [19:11:00]OFD Sender: No OFD packet to send [19:11:05]OFD Sender: No OFD packet to send [19:11:10]OFD Sender: No OFD packet to send [19:11:15]OFD Sender: No OFD packet to send [19:11:20]OFD Sender: No OFD packet to send [19:11:25]OFD Sender: No OFD packet to send [19:11:30]OFD Sender: No OFD packet to send [19:11:35]OFD Sender: No OFD packet to send [19:11:40]OFD Sender: No OFD packet to send [19:11:45]OFD Sender: No OFD packet to send [19:11:50]OFD Sender: No OFD packet to send [19:11:55]OFD Sender: No OFD packet to send [19:12:00]OFD Sender: No OFD packet to send [19:12:05]OFD Sender: No OFD packet to send [19:12:10]OFD Sender: No OFD packet to send [19:12:15]OFD Sender: No OFD packet to send [19:12:20]OFD Sender: No OFD packet to send [19:12:25]OFD Sender: No OFD packet to send [19:12:30]OFD Sender: No OFD packet to send [19:12:35]OFD Sender: No OFD packet to send [19:12:40]OFD Sender: No OFD packet to send [19:12:45]OFD Sender: No OFD packet to send [19:12:50]OFD Sender: No OFD packet to send [19:12:55]OFD Sender: No OFD packet to send [19:13:00]OFD Sender: No OFD packet to send [19:13:05]OFD Sender: No OFD packet to send [19:13:10]OFD Sender: No OFD packet to send [19:13:15]OFD Sender: No OFD packet to send [19:13:20]OFD Sender: No OFD packet to send [19:13:25]OFD Sender: No OFD packet to send [19:13:30]OFD Sender: No OFD packet to send [19:13:35]OFD Sender: No OFD packet to send [19:13:40]OFD Sender: No OFD packet to send [19:13:45]OFD Sender: No OFD packet to send [19:13:50]OFD Sender: No OFD packet to send [19:13:55]OFD Sender: No OFD packet to send [19:14:00]OFD Sender: No OFD packet to send [19:14:05]OFD Sender: No OFD packet to send [19:14:10]OFD Sender: No OFD packet to send [19:14:15]OFD Sender: No OFD packet to send [19:14:20]OFD Sender: No OFD packet to send [19:14:25]OFD Sender: No OFD packet to send [19:14:30]OFD Sender: No OFD packet to send [19:14:35]OFD Sender: No OFD packet to send [19:14:40]OFD Sender: No OFD packet to send [19:14:45]OFD Sender: No OFD packet to send [19:14:50]OFD Sender: No OFD packet to send [19:14:55]OFD Sender: No OFD packet to send [19:15:00]OFD Sender: No OFD packet to send [19:15:05]OFD Sender: No OFD packet to send [19:15:10]OFD Sender: No OFD packet to send [19:15:15]OFD Sender: No OFD packet to send [19:15:20]OFD Sender: No OFD packet to send [19:15:25]OFD Sender: No OFD packet to send [19:15:30]OFD Sender: No OFD packet to send [19:15:35]OFD Sender: No OFD packet to send [19:15:40]OFD Sender: No OFD packet to send [19:15:45]OFD Sender: No OFD packet to send [19:15:50]OFD Sender: No OFD packet to send [19:15:56]OFD Sender: No OFD packet to send [19:16:01]OFD Sender: No OFD packet to send [19:16:06]OFD Sender: No OFD packet to send [19:16:11]OFD Sender: No OFD packet to send [19:16:16]OFD Sender: No OFD packet to send [19:16:21]OFD Sender: No OFD packet to send [19:16:26]OFD Sender: No OFD packet to send [19:16:31]OFD Sender: No OFD packet to send [19:16:36]OFD Sender: No OFD packet to send [19:16:41]OFD Sender: No OFD packet to send [19:16:46]OFD Sender: No OFD packet to send [19:16:51]OFD Sender: No OFD packet to send [19:16:56]OFD Sender: No OFD packet to send [19:17:01]OFD Sender: No OFD packet to send [19:17:06]OFD Sender: No OFD packet to send [19:17:11]OFD Sender: No OFD packet to send [19:17:16]OFD Sender: No OFD packet to send [19:17:21]OFD Sender: No OFD packet to send [19:17:26]OFD Sender: No OFD packet to send [19:17:31]OFD Sender: No OFD packet to send [19:17:36]OFD Sender: No OFD packet to send [19:17:41]OFD Sender: No OFD packet to send [19:17:46]OFD Sender: No OFD packet to send [19:17:51]OFD Sender: No OFD packet to send [19:17:56]OFD Sender: No OFD packet to send [19:18:01]OFD Sender: No OFD packet to send [19:18:06]OFD Sender: No OFD packet to send [19:18:11]OFD Sender: No OFD packet to send [19:18:16]OFD Sender: No OFD packet to send [19:18:21]OFD Sender: No OFD packet to send [19:18:26]OFD Sender: No OFD packet to send [19:18:31]OFD Sender: No OFD packet to send [19:18:36]OFD Sender: No OFD packet to send [19:18:41]OFD Sender: No OFD packet to send [19:18:46]OFD Sender: No OFD packet to send [19:18:51]OFD Sender: No OFD packet to send [19:18:56]OFD Sender: No OFD packet to send [19:19:01]OFD Sender: No OFD packet to send [19:19:06]OFD Sender: No OFD packet to send [19:19:11]OFD Sender: No OFD packet to send [19:19:16]OFD Sender: No OFD packet to send [19:19:21]OFD Sender: No OFD packet to send [19:19:26]OFD Sender: No OFD packet to send [19:19:31]OFD Sender: No OFD packet to send [19:19:36]OFD Sender: No OFD packet to send [19:19:41]OFD Sender: No OFD packet to send [19:19:46]OFD Sender: No OFD packet to send [19:19:51]OFD Sender: No OFD packet to send [19:19:56]OFD Sender: No OFD packet to send [19:20:01]OFD Sender: No OFD packet to send [19:20:06]OFD Sender: No OFD packet to send [19:20:11]OFD Sender: No OFD packet to send [19:20:16]OFD Sender: No OFD packet to send [19:20:21]OFD Sender: No OFD packet to send [19:20:26]OFD Sender: No OFD packet to send [19:20:31]OFD Sender: No OFD packet to send [19:20:36]OFD Sender: No OFD packet to send [19:20:41]OFD Sender: No OFD packet to send [19:20:46]OFD Sender: No OFD packet to send [19:20:51]OFD Sender: No OFD packet to send [19:20:56]OFD Sender: No OFD packet to send [19:21:01]OFD Sender: No OFD packet to send [19:21:06]OFD Sender: No OFD packet to send [19:21:11]OFD Sender: No OFD packet to send [19:21:16]OFD Sender: No OFD packet to send [19:21:21]OFD Sender: No OFD packet to send [19:21:26]OFD Sender: No OFD packet to send [19:21:31]OFD Sender: No OFD packet to send [19:21:36]OFD Sender: No OFD packet to send [19:21:41]OFD Sender: No OFD packet to send [19:21:46]OFD Sender: No OFD packet to send [19:21:51]OFD Sender: No OFD packet to send [19:21:56]OFD Sender: No OFD packet to send [19:22:01]OFD Sender: No OFD packet to send [19:22:06]OFD Sender: No OFD packet to send [19:22:11]OFD Sender: No OFD packet to send [19:22:16]OFD Sender: No OFD packet to send [19:22:21]OFD Sender: No OFD packet to send [19:22:26]OFD Sender: No OFD packet to send [19:22:31]OFD Sender: No OFD packet to send [19:22:36]OFD Sender: No OFD packet to send [19:22:41]OFD Sender: No OFD packet to send [19:22:46]OFD Sender: No OFD packet to send [19:22:51]OFD Sender: No OFD packet to send [19:22:56]OFD Sender: No OFD packet to send [19:23:01]OFD Sender: No OFD packet to send [19:23:06]OFD Sender: No OFD packet to send [19:23:11]OFD Sender: No OFD packet to send [19:23:16]OFD Sender: No OFD packet to send [19:23:21]OFD Sender: No OFD packet to send [19:23:26]OFD Sender: No OFD packet to send [19:23:31]OFD Sender: No OFD packet to send [19:23:36]OFD Sender: No OFD packet to send [19:23:41]OFD Sender: No OFD packet to send [19:23:46]OFD Sender: No OFD packet to send [19:23:51]OFD Sender: No OFD packet to send [19:23:56]OFD Sender: No OFD packet to send [19:24:01]OFD Sender: No OFD packet to send [19:24:06]OFD Sender: No OFD packet to send [19:24:11]OFD Sender: No OFD packet to send [19:24:16]OFD Sender: No OFD packet to send [19:24:21]OFD Sender: No OFD packet to send [19:24:26]OFD Sender: No OFD packet to send [19:24:31]OFD Sender: No OFD packet to send [19:24:36]OFD Sender: No OFD packet to send [19:24:41]OFD Sender: No OFD packet to send [19:24:46]OFD Sender: No OFD packet to send [19:24:51]OFD Sender: No OFD packet to send [19:24:56]OFD Sender: No OFD packet to send [19:25:01]OFD Sender: No OFD packet to send [19:25:06]OFD Sender: No OFD packet to send [19:25:11]OFD Sender: No OFD packet to send [19:25:16]OFD Sender: No OFD packet to send [19:25:21]OFD Sender: No OFD packet to send [19:25:26]OFD Sender: No OFD packet to send [19:25:31]OFD Sender: No OFD packet to send [19:25:36]OFD Sender: No OFD packet to send [19:25:41]OFD Sender: No OFD packet to send [19:25:46]OFD Sender: No OFD packet to send [19:25:51]OFD Sender: No OFD packet to send [19:25:56]OFD Sender: No OFD packet to send [19:26:01]OFD Sender: No OFD packet to send [19:26:06]OFD Sender: No OFD packet to send [19:26:11]OFD Sender: No OFD packet to send [19:26:16]OFD Sender: No OFD packet to send [19:26:21]OFD Sender: No OFD packet to send [19:26:26]OFD Sender: No OFD packet to send [19:26:31]OFD Sender: No OFD packet to send [19:26:36]OFD Sender: No OFD packet to send [19:26:41]OFD Sender: No OFD packet to send [19:26:46]OFD Sender: No OFD packet to send [19:26:51]OFD Sender: No OFD packet to send [19:26:56]OFD Sender: No OFD packet to send [19:27:01]OFD Sender: No OFD packet to send [19:27:06]OFD Sender: No OFD packet to send [19:27:11]OFD Sender: No OFD packet to send [19:27:16]OFD Sender: No OFD packet to send [19:27:21]OFD Sender: No OFD packet to send [19:27:26]OFD Sender: No OFD packet to send [19:27:31]OFD Sender: No OFD packet to send [19:27:36]OFD Sender: No OFD packet to send [19:27:41]OFD Sender: No OFD packet to send [19:27:46]OFD Sender: No OFD packet to send [19:27:51]OFD Sender: No OFD packet to send [19:27:56]OFD Sender: No OFD packet to send [19:28:01]OFD Sender: No OFD packet to send [19:28:06]OFD Sender: No OFD packet to send [19:28:11]OFD Sender: No OFD packet to send [19:28:16]OFD Sender: No OFD packet to send [19:28:21]OFD Sender: No OFD packet to send [19:28:26]OFD Sender: No OFD packet to send [19:28:31]OFD Sender: No OFD packet to send [19:28:36]OFD Sender: No OFD packet to send [19:28:41]OFD Sender: No OFD packet to send [19:28:46]OFD Sender: No OFD packet to send [19:28:51]OFD Sender: No OFD packet to send [19:28:56]OFD Sender: No OFD packet to send [19:29:01]OFD Sender: No OFD packet to send [19:29:06]OFD Sender: No OFD packet to send [19:29:11]OFD Sender: No OFD packet to send [19:29:16]OFD Sender: No OFD packet to send [19:29:21]OFD Sender: No OFD packet to send [19:29:26]OFD Sender: No OFD packet to send [19:29:31]OFD Sender: No OFD packet to send [19:29:36]OFD Sender: No OFD packet to send [19:29:41]OFD Sender: No OFD packet to send [19:29:46]OFD Sender: No OFD packet to send [19:29:51]OFD Sender: No OFD packet to send [19:29:56]OFD Sender: No OFD packet to send [19:30:01]OFD Sender: No OFD packet to send [19:30:06]OFD Sender: No OFD packet to send [19:30:11]OFD Sender: No OFD packet to send [19:30:16]OFD Sender: No OFD packet to send [19:30:21]OFD Sender: No OFD packet to send [19:30:26]OFD Sender: No OFD packet to send [19:30:31]OFD Sender: No OFD packet to send [19:30:36]OFD Sender: No OFD packet to send [19:30:41]OFD Sender: No OFD packet to send [19:30:46]OFD Sender: No OFD packet to send [19:30:51]OFD Sender: No OFD packet to send [19:30:56]OFD Sender: No OFD packet to send [19:31:01]OFD Sender: No OFD packet to send [19:31:06]OFD Sender: No OFD packet to send [19:31:11]OFD Sender: No OFD packet to send [19:31:16]OFD Sender: No OFD packet to send [19:31:21]OFD Sender: No OFD packet to send [19:31:26]OFD Sender: No OFD packet to send [19:31:31]OFD Sender: No OFD packet to send [19:31:36]OFD Sender: No OFD packet to send [19:31:41]OFD Sender: No OFD packet to send [19:31:46]OFD Sender: No OFD packet to send [19:31:51]OFD Sender: No OFD packet to send [19:31:56]OFD Sender: No OFD packet to send [19:32:01]OFD Sender: No OFD packet to send [19:32:06]OFD Sender: No OFD packet to send [19:32:11]OFD Sender: No OFD packet to send [19:32:16]OFD Sender: No OFD packet to send [19:32:21]OFD Sender: No OFD packet to send [19:32:26]OFD Sender: No OFD packet to send [19:32:27]accept exits with 10 [19:32:27]New connection [19:32:27]New thread 3066871140 created [19:32:27]Thread 3067014500 joined [19:32:27]Waiting for new connection... [19:32:27] Sock 10.Parse request [19:32:27]Sock 10.Check first char [19:32:27]Sock 10.First char is OK [19:32:27]request: POST /json_proto HTTP/1.0 [19:32:27]Method: POST [19:32:27]URL: /json_proto [19:32:27]Method is POST - this is cgi request [19:32:27]url: /json_proto [19:32:27]query_string will be loaded in cgi processing [19:32:27]execute_cgi json_proto POST (null) [19:32:27]execute_cgi path=json_proto method=POST [19:32:27]POST find Content-Length [19:32:27]Host: 172.17.35.3:8080 [19:32:27]Content-Length: 682 [19:32:27]Content-Type: application/json [19:32:27] [19:32:27]POST finish read [19:32:27]Found Content-Length = 682 [19:32:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359506", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 31.550, "sum" : 2000.27, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:32:27]execute_script... [19:32: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 : (1)359506", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 31.550, "sum" : 2000.27, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:32:27]POST & json_proto [19:32:27]process_json_proto [19:32:27]json parsed OK: [19:32:27]protocol is kg_v1.0 [19:32:27]action value=close_receipt [19:32:27]process_action close_receipt [19:32:27]cmd_close_receipt [19:32:27]MH_GetDate [19:32:27]Write to MH i2c: F0 00 00 0F 2B 29 [19:32:27]Write i2c OK [19:32:27]MH_I2C_Read... [19:32:27]Read from MH i2c: F0 [19:32:27]MH_I2C_Read... [19:32:27]Read from MH i2c: F0 09 00 [19:32:27]MH_I2C_Read... [19:32:27]Read from MH i2c: F0 09 00 0F 2B 00 D5 F4 12 66 2B 11 66 64 79 [19:32:27]GetLastDocTimeStamp 1712516958 [19:32:27]current date 1712518357 [19:32:27]FM_GetShiftState [19:32:27]SAM_PROTO_GetShiftState [19:32:27]wFMCommunicate request_size=4 [19:32:27]MH_SAM_APDU [19:32:27]CAPDU: 80 13 01 00 [19:32:27]Write to MH i2c: E2 08 00 10 2B 80 13 01 00 00 00 00 00 B8 [19:32:27]Write i2c OK [19:32:27]MH_I2C_Read... [19:32:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:32:27]Read from MH i2c: E2 [19:32:27]MH_I2C_Read... [19:32:27]Read from MH i2c: E2 0E 00 [19:32:27]MH_I2C_Read... [19:32:27]Read from MH i2c: E2 0E 00 10 2B 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 4C [19:32:27]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [19:32:27]wFMCommunicate OK [19:32:27]SAM_PROTO_GetShiftState done [19:32:27]FM_GetShiftState done [19:32:27]opened in 1712450087 [19:32:27]opened+sec_in_day 1712536487 [19:32:27]quantity*price = 200027 [19:32:27]sum+1 = 200028 [19:32:27]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.27 ИТОГО: 2000.00 Внесено: 2000.00 СДАЧА: 0.00 НСП 1% : 17.70 НДС 12% : 212.42 Наличными: 2000.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 62 07.04.2024 19:32 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26763 ФПД: 168460559961219 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T193237&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26763&fm=168460559961219&tin=02508201610067®Number=0000000000091578&sum=200000 [19:32:28]StoreToDocumentArchive [19:32:28]shift 313 fd 26763 [19:32:28]save to /storage/0313/doc_00026763 [19:32:28]save last doc name /storage/0313/doc_00026763 to /storage/kkm_last_doc_name [19:32:28]save OK [19:32:28]Clear old archive folders... [19:32:28]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:32:28]tlvbuf is 00EF45D0 [19:32:28]SAM_PROTO_ClearQueue [19:32:28]wFMCommunicate request_size=4 [19:32:28]MH_SAM_APDU [19:32:28]CAPDU: 80 09 00 00 [19:32:28]Write to MH i2c: E2 08 00 1D 2B 80 09 00 00 00 00 00 00 BA [19:32:28]Write i2c OK [19:32:28]MH_I2C_Read... [19:32:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:32:28]Read from MH i2c: E2 [19:32:28]MH_I2C_Read... [19:32:28]Read from MH i2c: E2 03 00 [19:32:28]MH_I2C_Read... [19:32:28]Read from MH i2c: E2 03 00 1D 2B 00 90 00 BC [19:32:28]RAPDU: 90 00 [19:32:28]wFMCommunicate OK [19:32:28]SAM_PROTO_ClearQueue done [19:32:28]KKMCreateOFDPacket [19:32:28]OFDProtocolAddRootSTLVToBuf [19:32:28]FM_MakeSignedData [19:32:28]FM_MakeSignedData [19:32:28]SAM_PROTO_SignData [19:32:28]wFMCommunicate request_size=4 [19:32:28]MH_SAM_APDU [19:32:28]CAPDU: 80 0D 01 02 [19:32:28]Write to MH i2c: E2 08 00 1E 2B 80 0D 01 02 00 00 00 00 C2 [19:32:28]Write i2c OK [19:32:28]MH_I2C_Read... [19:32:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:32:28]Read from MH i2c: E2 [19:32:28]MH_I2C_Read... [19:32:28]Read from MH i2c: E2 03 00 [19:32:28]MH_I2C_Read... [19:32:28]Read from MH i2c: E2 03 00 1E 2B 00 90 00 BD [19:32:28]RAPDU: 90 00 [19:32:28]wFMCommunicate OK [19:32:28]wFMCommunicate request_size=255 [19:32:28]MH_SAM_APDU [19:32:28]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 3E 7B 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 5B 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 40 0D 03 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 D5 F4 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 8B 68 00 00 35 04 06 00 99 [19:32:28]Write to MH i2c: E2 02 01 1F 2B 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 3E 7B 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 5B 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 40 0D 03 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 D5 F4 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 8B 68 00 00 35 04 06 00 99 00 00 F7 [19:32:28]Write i2c OK [19:32:28]MH_I2C_Read... [19:32:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:32:28]Read from MH i2c: E2 [19:32:28]MH_I2C_Read... [19:32:28]Read from MH i2c: E2 03 00 [19:32:28]MH_I2C_Read... [19:32:28]Read from MH i2c: E2 03 00 1F 2B 00 90 00 BE [19:32:28]RAPDU: 90 00 [19:32:28]wFMCommunicate OK [19:32:28]wFMCommunicate request_size=10 [19:32:28]MH_SAM_APDU [19:32:28]CAPDU: 80 0D 02 02 05 36 C7 D5 CC 83 [19:32:28]Write to MH i2c: E2 0D 00 20 2B 80 0D 02 02 05 00 36 C7 D5 CC 83 00 00 F0 [19:32:28]Write i2c OK [19:32:28]MH_I2C_Read... [19:32:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:32:28]Read from MH i2c: E2 [19:32:28]MH_I2C_Read... [19:32:28]Read from MH i2c: E2 03 00 [19:32:28]MH_I2C_Read... [19:32:28]Read from MH i2c: E2 03 00 20 2B 00 90 00 BF [19:32:28]RAPDU: 90 00 [19:32:28]wFMCommunicate OK [19:32:28]wFMCommunicate request_size=4 [19:32:28]MH_SAM_APDU [19:32:28]CAPDU: 80 0D 03 02 [19:32:28]Write to MH i2c: E2 08 00 21 2B 80 0D 03 02 00 00 00 00 C7 [19:32:28]Write i2c OK [19:32:28]MH_I2C_Read... [19:32:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:32:28]Read from MH i2c: E2 [19:32:28]MH_I2C_Read... [19:32:28]Read from MH i2c: E2 0B 00 [19:32:28]MH_I2C_Read... [19:32:28]Read from MH i2c: E2 0B 00 21 2B 00 BA 41 51 1A 79 89 32 E1 90 00 43 [19:32:28]RAPDU: BA 41 51 1A 79 89 32 E1 90 00 [19:32:28]wFMCommunicate OK [19:32:28]SAM_PROTO_SignData done [19:32:28]FM_MakeSignedData done [19:32:28]CreateOFDProtocolMessage [19:32:28]wFMCommunicate request_size=4 [19:32:28]MH_SAM_APDU [19:32:28]CAPDU: 80 11 00 00 [19:32:28]Write to MH i2c: E2 08 00 22 2B 80 11 00 00 00 00 00 00 C7 [19:32:28]Write i2c OK [19:32:28]MH_I2C_Read... [19:32:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:32:28]Read from MH i2c: E2 [19:32:28]MH_I2C_Read... [19:32:28]Read from MH i2c: E2 17 00 [19:32:28]MH_I2C_Read... [19:32:28]Read from MH i2c: E2 17 00 22 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 1F [19:32:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [19:32:28]wFMCommunicate OK [19:32:28]CreateOFDProtocolMessage done [19:32:28]OFDSenderStorePacket 26763 [19:32:28]StoreOFDPacket docnum=26763 [19:32:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 EA 3D 07 01 88 C8 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 3E 7B 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 5B 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 40 0D 03 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 D5 F4 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 8B 68 00 00 35 04 06 00 99 36 C7 D5 CC 83 BA 41 51 1A 79 89 32 E1 [19:32:28]CheckFolder [19:32:28]dirname=/storage/ofd_packets [19:32:28]CheckFolder done [19:32:28]ProducePacketName [19:32:28]name=ofd_packets/00026763 [19:32:28]NVStorageSaveData ofd_packets/00026763 [19:32:28]File name is /storage/ofd_packets/00026763 [19:32:28]Write 301 bytes [19:32:28]NVStorageSaveData done [19:32:28]OFDSenderStorePacket done [19:32:28]KKMCreateOFDPacket done [19:32:28]NVStorageSaveData kkm_last_timestamp [19:32:28]File name is /storage/kkm_last_timestamp [19:32:28]Write 4 bytes [19:32:28]NVStorageSaveData done [19:32:28]ExternCall_PrintAddStr [19:32:28]wPrintStart [19:32:28]Write to MH i2c: 01 00 00 23 2B 4E [19:32:28]Write i2c OK [19:32:28]MH_I2C_Read... [19:32:28]Read from MH i2c: 01 [19:32:28]MH_I2C_Read... [19:32:28]Read from MH i2c: 01 07 00 [19:32:28]MH_I2C_Read... [19:32:28]Read from MH i2c: 01 07 00 23 2B 00 00 00 00 00 FF 0F 63 [19:32:28]RasterBufferAndPrint [19:32:28]line Счет N : (1)359506 [19:32:28]line ИНН: 02508201610067 [19:32:28]line Контрольно-Кассовый Чек [19:32:28]line ПРОДАЖА [19:32:28]line ТРК (МРК, ГНК) : 51 [19:32:28]line Товар: 2710124130 [19:32:28]line Аи-92-К-5 [19:32:28]line 31.550 * 63.40 [19:32:28]line = 2000.27 [19:32:28]line НДС 12% НСП 1% [19:32:28]line > о реализуемом товаре [19:32:28]line ОКРУГЛЕНИЕ: -0.27 [19:32:28]line ИТОГО: 2000.00 [19:32:28]line Внесено: 2000.00 [19:32:28]line СДАЧА: 0.00 [19:32:28]line НСП 1% : 17.70 [19:32:28]line НДС 12% : 212.42 [19:32:28]line Наличными: 2000.00 [19:32:28]line Безнал.: 0.00 [19:32:28]line Место: АЗС № 122 "Партнер Нефть" [19:32:28]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [19:32:28]line СНО: Общий режим [19:32:28]line Чек 62 07.04.2024 19:32 [19:32:28]line Смена: 313 ФФД: 1.0 [19:32:28]line ЗНМ: 0300000147 [19:32:28]line РНМ: 0000000000091578 [19:32:28]line Версия ККМ: 001 [19:32:28]line ФМ: 0000000000874657 [19:32:28]line ФД: 26763 [19:32:28]line ФПД: 168460559961219 [19:32:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T193237&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26763&fm=168460559961219&tin=02508201610067®Number=0000000000091578&sum=200000 [19:32:29]OFD Sender: Processing packet 26763 [packets to send 44, broken 43] [19:32:29]ProducePacketName [19:32:29]name=ofd_packets/00026763 [19:32:29]OFD Sender: To server: pG, [19:32:29]CommunicateWithHost lk.salyk.kg:30040 [19:32:29]ConnectInit lk.salyk.kg [19:32:29]written 0, free lines is 4095 [19:32:29]Connected sock=9 [19:32: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 36 35 37 0F 01 00 00 EA 3D 07 01 88 C8 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 3E 7B 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 5B 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 40 0D 03 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 D5 F4 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 8B 68 00 00 35 04 06 00 99 36 C7 D5 CC 83 BA 41 51 1A 79 89 32 E1 [19:32:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 8C 86 47 00 03 0B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 37 10 04 04 00 8B 68 00 00 F4 03 04 00 42 9C 12 66 B6 04 01 00 00 E9 54 3F 6D D4 60 99 98 [19:32:29]CommunicateWithHost err = 0 [19:32:29]CheckOFDResponse [19:32:29]1017 (14) - 77093643461234 [19:32:29]1041 (16) - 0000000000874657 [19:32:29]1040 (4) - 26763 [19:32:29]1012 (4) - 07.04.2024 13:14 [19:32:29]1206 (1) - 0 [19:32:29]OFD Sender: Remove packet 26763 [19:32:29]ProducePacketName [19:32:29]name=ofd_packets/00026763 [19:32:29]NVStorageDeleteData [19:32:29]Write to MH i2c: 01 00 00 4E 2B 79 [19:32:29]Write i2c OK [19:32:29]MH_I2C_Read... [19:32:29]Read from MH i2c: 01 [19:32:29]MH_I2C_Read... [19:32:29]Read from MH i2c: 01 07 00 [19:32:29]MH_I2C_Read... [19:32:29]Read from MH i2c: 01 07 00 4E 2B 00 00 00 00 00 79 0C 05 [19:32:29]RasterBufferAndPrint [19:32:29]line [19:32:29]line [19:32:29]line [19:32:29]line [19:32:29]line [19:32:29]written 0, free lines is 3196 [19:32:29]MH_Cut [19:32:29]Write to MH i2c: D1 01 00 55 2B 01 52 [19:32:29]Write i2c OK [19:32:29]MH_I2C_Read... [19:32:29]Read from MH i2c: D1 [19:32:29]MH_I2C_Read... [19:32:29]Read from MH i2c: D1 01 00 [19:32:29]MH_I2C_Read... [19:32:29]Read from MH i2c: D1 01 00 55 2B 00 51 [19:32:29]Write to MH i2c: 01 00 00 56 2B 81 [19:32:29]Write i2c OK [19:32:29]MH_I2C_Read... [19:32:30]OFD Sender: No OFD packet to send [19:32:30]*** Cut start [19:32:30]*** Partial cut [19:32:30]*** CUTSNS_PIN = 1 [19:32:30]*** CUTSNS_PIN = 0 [19:32:31]*** Brake cut motor [19:32:31]Read from MH i2c: 01 [19:32:31]MH_I2C_Read... [19:32:31]*** Stop cut motor [19:32:31]*** Cut end [19:32:31]Read from MH i2c: 01 07 00 [19:32:31]MH_I2C_Read... [19:32:31]Read from MH i2c: 01 07 00 56 2B 00 00 00 00 00 FF 0F 96 [19:32:31]process_action close_receipt done [19:32:31]requested_data is exist [19:32:31]produce_requested_data [19:32:31]requested_item fm.sn is exist - process it [19:32:31]wFMCommunicate request_size=4 [19:32:31]MH_SAM_APDU [19:32:31]CAPDU: 80 11 00 00 [19:32:31]Write to MH i2c: E2 08 00 57 2B 80 11 00 00 00 00 00 00 FC [19:32:31]Write i2c OK [19:32:31]MH_I2C_Read... [19:32:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:32:31]Read from MH i2c: E2 [19:32:31]MH_I2C_Read... [19:32:31]Read from MH i2c: E2 17 00 [19:32:31]MH_I2C_Read... [19:32:31]Read from MH i2c: E2 17 00 57 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 54 [19:32:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [19:32:31]wFMCommunicate OK [19:32:31]requested_item fd.num is exist - process it [19:32:31]SAM_PROTO_GetFieldsCounters [19:32:31]wFMCommunicate request_size=4 [19:32:31]MH_SAM_APDU [19:32:31]CAPDU: 80 13 00 00 [19:32:31]Write to MH i2c: E2 08 00 58 2B 80 13 00 00 00 00 00 00 FF [19:32:31]Write i2c OK [19:32:31]MH_I2C_Read... [19:32:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:32:31]Read from MH i2c: E2 [19:32:31]MH_I2C_Read... [19:32:31]Read from MH i2c: E2 62 00 [19:32:31]MH_I2C_Read... [19:32:31]Read from MH i2c: E2 62 00 58 2B 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 8B 68 00 00 0E 04 04 00 39 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 11 [19:32:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 8B 68 00 00 0E 04 04 00 39 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 [19:32:31]wFMCommunicate OK [19:32:31]SAM_PROTO_GetFieldsCounters done [19:32:31]requested_item shift.num is exist - process it [19:32:31]requested_item shift.opened is exist - process it [19:32:31]req_shift_opened [19:32:31]FM_GetShiftState [19:32:31]SAM_PROTO_GetShiftState [19:32:31]wFMCommunicate request_size=4 [19:32:31]MH_SAM_APDU [19:32:31]CAPDU: 80 13 01 00 [19:32:31]Write to MH i2c: E2 08 00 59 2B 80 13 01 00 00 00 00 00 01 [19:32:31]Write i2c OK [19:32:31]MH_I2C_Read... [19:32:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:32:31]Read from MH i2c: E2 [19:32:31]MH_I2C_Read... [19:32:31]Read from MH i2c: E2 0E 00 [19:32:31]MH_I2C_Read... [19:32:31]Read from MH i2c: E2 0E 00 59 2B 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 95 [19:32:31]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [19:32:31]wFMCommunicate OK [19:32:31]SAM_PROTO_GetShiftState done [19:32:31]FM_GetShiftState done [19:32:31]req_shift_opened done [19:32:31]requested_item shift.open_date is exist - process it [19:32:31]req_shift_open_date [19:32:31]req_shift_open_date done [19:32:31]produce_requested_data done [19:32:31]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26763,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [19:32:31]process_action_free close_receipt [19:32:31]json_value_free [19:32:31]json_value_free done [19:32:31]process_json_proto returns [19:32:31]Send response to host [19:32:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26763,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [19:32:31]free response buf [19:32:31]execute_script done [19:32:31]execute_script returns [19:32:31]free content buf [19:32:31]Sock 10.Close socket [19:32:31]Sock 10.Thread stoped [19:32:35]OFD Sender: No OFD packet to send [19:32:40]OFD Sender: No OFD packet to send [19:32:45]OFD Sender: No OFD packet to send [19:32:50]OFD Sender: No OFD packet to send [19:32:55]OFD Sender: No OFD packet to send [19:33:00]OFD Sender: No OFD packet to send [19:33:05]OFD Sender: No OFD packet to send [19:33:10]OFD Sender: No OFD packet to send [19:33:15]OFD Sender: No OFD packet to send [19:33:20]OFD Sender: No OFD packet to send [19:33:25]OFD Sender: No OFD packet to send [19:33:30]OFD Sender: No OFD packet to send [19:33:35]OFD Sender: No OFD packet to send [19:33:40]OFD Sender: No OFD packet to send [19:33:45]OFD Sender: No OFD packet to send [19:33:50]OFD Sender: No OFD packet to send [19:33:55]OFD Sender: No OFD packet to send [19:34:00]OFD Sender: No OFD packet to send [19:34:05]OFD Sender: No OFD packet to send [19:34:10]OFD Sender: No OFD packet to send [19:34:15]OFD Sender: No OFD packet to send [19:34:20]OFD Sender: No OFD packet to send [19:34:25]OFD Sender: No OFD packet to send [19:34:30]OFD Sender: No OFD packet to send [19:34:35]OFD Sender: No OFD packet to send [19:34:40]OFD Sender: No OFD packet to send [19:34:45]OFD Sender: No OFD packet to send [19:34:50]OFD Sender: No OFD packet to send [19:34:55]OFD Sender: No OFD packet to send [19:35:00]OFD Sender: No OFD packet to send [19:35:05]OFD Sender: No OFD packet to send [19:35:10]OFD Sender: No OFD packet to send [19:35:15]OFD Sender: No OFD packet to send [19:35:20]OFD Sender: No OFD packet to send [19:35:25]OFD Sender: No OFD packet to send [19:35:30]OFD Sender: No OFD packet to send [19:35:35]OFD Sender: No OFD packet to send [19:35:40]OFD Sender: No OFD packet to send [19:35:45]OFD Sender: No OFD packet to send [19:35:50]OFD Sender: No OFD packet to send [19:35:55]OFD Sender: No OFD packet to send [19:36:00]OFD Sender: No OFD packet to send [19:36:05]OFD Sender: No OFD packet to send [19:36:10]OFD Sender: No OFD packet to send [19:36:15]OFD Sender: No OFD packet to send [19:36:20]OFD Sender: No OFD packet to send [19:36:25]OFD Sender: No OFD packet to send [19:36:30]OFD Sender: No OFD packet to send [19:36:35]OFD Sender: No OFD packet to send [19:36:40]OFD Sender: No OFD packet to send [19:36:45]OFD Sender: No OFD packet to send [19:36:50]OFD Sender: No OFD packet to send [19:36:55]OFD Sender: No OFD packet to send [19:37:00]OFD Sender: No OFD packet to send [19:37:05]OFD Sender: No OFD packet to send [19:37:10]OFD Sender: No OFD packet to send [19:37:15]OFD Sender: No OFD packet to send [19:37:20]OFD Sender: No OFD packet to send [19:37:25]OFD Sender: No OFD packet to send [19:37:30]OFD Sender: No OFD packet to send [19:37:35]OFD Sender: No OFD packet to send [19:37:40]OFD Sender: No OFD packet to send [19:37:45]OFD Sender: No OFD packet to send [19:37:50]OFD Sender: No OFD packet to send [19:37:55]OFD Sender: No OFD packet to send [19:38:00]OFD Sender: No OFD packet to send [19:38:05]OFD Sender: No OFD packet to send [19:38:10]OFD Sender: No OFD packet to send [19:38:15]OFD Sender: No OFD packet to send [19:38:20]OFD Sender: No OFD packet to send [19:38:25]OFD Sender: No OFD packet to send [19:38:30]OFD Sender: No OFD packet to send [19:38:35]OFD Sender: No OFD packet to send [19:38: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:15]OFD Sender: No OFD packet to send [19:42:20]OFD Sender: No OFD packet to send [19:42:25]OFD Sender: No OFD packet to send [19:42:30]OFD Sender: No OFD packet to send [19:42:35]OFD Sender: No OFD packet to send [19:42:40]OFD Sender: No OFD packet to send [19:42:45]OFD Sender: No OFD packet to send [19:42:50]OFD Sender: No OFD packet to send [19:42:55]OFD Sender: No OFD packet to send [19:43:00]OFD Sender: No OFD packet to send [19:43:05]OFD Sender: No OFD packet to send [19:43:10]OFD Sender: No OFD packet to send [19:43:15]OFD Sender: No OFD packet to send [19:43:20]OFD Sender: No OFD packet to send [19:43:25]OFD Sender: No OFD packet to send [19:43:30]OFD Sender: No OFD packet to send [19:43:35]OFD Sender: No OFD packet to send [19:43:40]OFD Sender: No OFD packet to send [19:43:45]OFD Sender: No OFD packet to send [19:43:50]OFD Sender: No OFD packet to send [19:43:55]OFD Sender: No OFD packet to send [19:44:00]OFD Sender: No OFD packet to send [19:44:05]OFD Sender: No OFD packet to send [19:44:10]OFD Sender: No OFD packet to send [19:44:15]OFD Sender: No OFD packet to send [19:44:20]OFD Sender: No OFD packet to send [19:44:25]OFD Sender: No OFD packet to send [19:44:30]OFD Sender: No OFD packet to send [19:44:35]OFD Sender: No OFD packet to send [19:44:40]OFD Sender: No OFD packet to send [19:44:45]OFD Sender: No OFD packet to send [19:44:50]OFD Sender: No OFD packet to send [19:44:55]OFD Sender: No OFD packet to send [19:45:00]OFD Sender: No OFD packet to send [19:45:05]OFD Sender: No OFD packet to send [19:45:10]OFD Sender: No OFD packet to send [19:45:15]OFD Sender: No OFD packet to send [19:45:20]OFD Sender: No OFD packet to send [19:45:25]OFD Sender: No OFD packet to send [19:45:30]OFD Sender: No OFD packet to send [19:45:35]OFD Sender: No OFD packet to send [19:45:40]OFD Sender: No OFD packet to send [19:45:45]OFD Sender: No OFD packet to send [19:45:50]OFD Sender: No OFD packet to send [19:45:55]OFD Sender: No OFD packet to send [19:46:00]OFD Sender: No OFD packet to send [19:46:05]OFD Sender: No OFD packet to send [19:46:10]OFD Sender: No OFD packet to send [19:46:15]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:17]accept exits with 8 [19:48:17]New connection [19:48:17]New thread 3067014500 created [19:48:17]Thread 3066871140 joined [19:48:17]Waiting for new connection... [19:48:17] Sock 8.Parse request [19:48:17]Sock 8.Check first char [19:48:17]Sock 8.First char is OK [19:48:17]request: POST /json_proto HTTP/1.0 [19:48:17]Method: POST [19:48:17]URL: /json_proto [19:48:17]Method is POST - this is cgi request [19:48:17]url: /json_proto [19:48:17]query_string will be loaded in cgi processing [19:48:17]execute_cgi json_proto POST (null) [19:48:17]execute_cgi path=json_proto method=POST [19:48:17]POST find Content-Length [19:48:17]Host: 172.17.35.3:8080 [19:48:17]Content-Length: 682 [19:48:17]Content-Type: application/json [19:48:17] [19:48:17]POST finish read [19:48:17]Found Content-Length = 682 [19:48:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359507", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "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" ] } } [19:48:17]execute_script... [19:48:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359507", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "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" ] } } [19:48:17]POST & json_proto [19:48:17]process_json_proto [19:48:17]json parsed OK: [19:48:17]protocol is kg_v1.0 [19:48:17]action value=close_receipt [19:48:17]process_action close_receipt [19:48:17]cmd_close_receipt [19:48:17]MH_GetDate [19:48:17]Write to MH i2c: F0 00 00 5A 2B 74 [19:48:17]Write i2c OK [19:48:17]MH_I2C_Read... [19:48:17]Read from MH i2c: F0 [19:48:17]MH_I2C_Read... [19:48:17]Read from MH i2c: F0 09 00 [19:48:17]MH_I2C_Read... [19:48:17]Read from MH i2c: F0 09 00 5A 2B 00 8C F8 12 66 2B 11 66 64 7F [19:48:17]GetLastDocTimeStamp 1712518357 [19:48:17]current date 1712519308 [19:48:17]FM_GetShiftState [19:48:17]SAM_PROTO_GetShiftState [19:48:17]wFMCommunicate request_size=4 [19:48:17]MH_SAM_APDU [19:48:17]CAPDU: 80 13 01 00 [19:48:17]Write to MH i2c: E2 08 00 5B 2B 80 13 01 00 00 00 00 00 03 [19:48:17]Write i2c OK [19:48:17]MH_I2C_Read... [19:48:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:48:18]Read from MH i2c: E2 [19:48:18]MH_I2C_Read... [19:48:18]Read from MH i2c: E2 0E 00 [19:48:18]MH_I2C_Read... [19:48:18]Read from MH i2c: E2 0E 00 5B 2B 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 97 [19:48:18]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [19:48:18]wFMCommunicate OK [19:48:18]SAM_PROTO_GetShiftState done [19:48:18]FM_GetShiftState done [19:48:18]opened in 1712450087 [19:48:18]opened+sec_in_day 1712536487 [19:48:18]quantity*price = 100045 [19:48:18]sum+1 = 100046 [19:48:18]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.45 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.24 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 63 07.04.2024 19:48 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26764 ФПД: 166400393626486 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T194828&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26764&fm=166400393626486&tin=02508201610067®Number=0000000000091578&sum=100000 [19:48:19]StoreToDocumentArchive [19:48:19]shift 313 fd 26764 [19:48:19]save to /storage/0313/doc_00026764 [19:48:19]save last doc name /storage/0313/doc_00026764 to /storage/kkm_last_doc_name [19:48:19]save OK [19:48:19]Clear old archive folders... [19:48:19]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:48:19]tlvbuf is 00EF6D60 [19:48:19]SAM_PROTO_ClearQueue [19:48:19]wFMCommunicate request_size=4 [19:48:19]MH_SAM_APDU [19:48:19]CAPDU: 80 09 00 00 [19:48:19]Write to MH i2c: E2 08 00 68 2B 80 09 00 00 00 00 00 00 05 [19:48:19]Write i2c OK [19:48:19]MH_I2C_Read... [19:48:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:48:19]Read from MH i2c: E2 [19:48:19]MH_I2C_Read... [19:48:19]Read from MH i2c: E2 03 00 [19:48:19]MH_I2C_Read... [19:48:19]Read from MH i2c: E2 03 00 68 2B 00 90 00 07 [19:48:19]RAPDU: 90 00 [19:48:19]wFMCommunicate OK [19:48:19]SAM_PROTO_ClearQueue done [19:48:19]KKMCreateOFDPacket [19:48:19]OFDProtocolAddRootSTLVToBuf [19:48:19]FM_MakeSignedData [19:48:19]FM_MakeSignedData [19:48:19]SAM_PROTO_SignData [19:48:19]wFMCommunicate request_size=4 [19:48:19]MH_SAM_APDU [19:48:19]CAPDU: 80 0D 01 02 [19:48:19]Write to MH i2c: E2 08 00 69 2B 80 0D 01 02 00 00 00 00 0D [19:48:19]Write i2c OK [19:48:19]MH_I2C_Read... [19:48:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:48:19]Read from MH i2c: E2 [19:48:19]MH_I2C_Read... [19:48:19]Read from MH i2c: E2 03 00 [19:48:19]MH_I2C_Read... [19:48:19]Read from MH i2c: E2 03 00 69 2B 00 90 00 08 [19:48:19]RAPDU: 90 00 [19:48:19]wFMCommunicate OK [19:48:19]wFMCommunicate request_size=255 [19:48:19]MH_SAM_APDU [19:48:19]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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 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 3F 00 00 00 F4 03 04 00 8C F8 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 8C 68 00 00 35 04 06 00 97 [19:48:19]Write to MH i2c: E2 02 01 6A 2B 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 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 3F 00 00 00 F4 03 04 00 8C F8 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 8C 68 00 00 35 04 06 00 97 00 00 A1 [19:48:19]Write i2c OK [19:48:19]MH_I2C_Read... [19:48:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:48:19]Read from MH i2c: E2 [19:48:19]MH_I2C_Read... [19:48:19]Read from MH i2c: E2 03 00 [19:48:19]MH_I2C_Read... [19:48:19]Read from MH i2c: E2 03 00 6A 2B 00 90 00 09 [19:48:19]RAPDU: 90 00 [19:48:19]wFMCommunicate OK [19:48:19]wFMCommunicate request_size=10 [19:48:19]MH_SAM_APDU [19:48:19]CAPDU: 80 0D 02 02 05 57 1C 5A 43 76 [19:48:19]Write to MH i2c: E2 0D 00 6B 2B 80 0D 02 02 05 00 57 1C 5A 43 76 00 00 A0 [19:48:19]Write i2c OK [19:48:19]MH_I2C_Read... [19:48:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:48:19]Read from MH i2c: E2 [19:48:19]MH_I2C_Read... [19:48:19]Read from MH i2c: E2 03 00 [19:48:19]MH_I2C_Read... [19:48:19]Read from MH i2c: E2 03 00 6B 2B 00 90 00 0A [19:48:19]RAPDU: 90 00 [19:48:19]wFMCommunicate OK [19:48:19]wFMCommunicate request_size=4 [19:48:19]MH_SAM_APDU [19:48:19]CAPDU: 80 0D 03 02 [19:48:19]Write to MH i2c: E2 08 00 6C 2B 80 0D 03 02 00 00 00 00 12 [19:48:19]Write i2c OK [19:48:19]MH_I2C_Read... [19:48:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:48:19]Read from MH i2c: E2 [19:48:19]MH_I2C_Read... [19:48:19]Read from MH i2c: E2 0B 00 [19:48:19]MH_I2C_Read... [19:48:19]Read from MH i2c: E2 0B 00 6C 2B 00 33 75 D6 C0 3E 78 5D 78 90 00 DC [19:48:19]RAPDU: 33 75 D6 C0 3E 78 5D 78 90 00 [19:48:19]wFMCommunicate OK [19:48:19]SAM_PROTO_SignData done [19:48:19]FM_MakeSignedData done [19:48:19]CreateOFDProtocolMessage [19:48:19]wFMCommunicate request_size=4 [19:48:19]MH_SAM_APDU [19:48:19]CAPDU: 80 11 00 00 [19:48:19]Write to MH i2c: E2 08 00 6D 2B 80 11 00 00 00 00 00 00 12 [19:48:19]Write i2c OK [19:48:19]MH_I2C_Read... [19:48:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:48:19]Read from MH i2c: E2 [19:48:19]MH_I2C_Read... [19:48:19]Read from MH i2c: E2 17 00 [19:48:19]MH_I2C_Read... [19:48:19]Read from MH i2c: E2 17 00 6D 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 6A [19:48:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [19:48:19]wFMCommunicate OK [19:48:19]CreateOFDProtocolMessage done [19:48:19]OFDSenderStorePacket 26764 [19:48:19]StoreOFDPacket docnum=26764 [19:48:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 85 2F 07 01 64 A1 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 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 3F 00 00 00 F4 03 04 00 8C F8 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 8C 68 00 00 35 04 06 00 97 57 1C 5A 43 76 33 75 D6 C0 3E 78 5D 78 [19:48:19]CheckFolder [19:48:19]dirname=/storage/ofd_packets [19:48:19]CheckFolder done [19:48:19]ProducePacketName [19:48:19]name=ofd_packets/00026764 [19:48:19]NVStorageSaveData ofd_packets/00026764 [19:48:19]File name is /storage/ofd_packets/00026764 [19:48:19]Write 301 bytes [19:48:19]NVStorageSaveData done [19:48:19]OFDSenderStorePacket done [19:48:19]KKMCreateOFDPacket done [19:48:19]NVStorageSaveData kkm_last_timestamp [19:48:19]File name is /storage/kkm_last_timestamp [19:48:19]Write 4 bytes [19:48:19]NVStorageSaveData done [19:48:19]ExternCall_PrintAddStr [19:48:19]wPrintStart [19:48:19]Write to MH i2c: 01 00 00 6E 2B 99 [19:48:19]Write i2c OK [19:48:19]MH_I2C_Read... [19:48:19]Read from MH i2c: 01 [19:48:19]MH_I2C_Read... [19:48:19]Read from MH i2c: 01 07 00 [19:48:19]MH_I2C_Read... [19:48:19]Read from MH i2c: 01 07 00 6E 2B 00 00 00 00 00 FF 0F AE [19:48:19]RasterBufferAndPrint [19:48:19]line Счет N : (1)359507 [19:48:19]line ИНН: 02508201610067 [19:48:19]line Контрольно-Кассовый Чек [19:48:19]line ПРОДАЖА [19:48:19]line ТРК (МРК, ГНК) : 51 [19:48:19]line Товар: 2710124130 [19:48:19]line Аи-92-К-5 [19:48:19]line 15.780 * 63.40 [19:48:19]line = 1000.45 [19:48:19]line НДС 12% НСП 1% [19:48:19]line > о реализуемом товаре [19:48:19]line ОКРУГЛЕНИЕ: -0.45 [19:48:19]line ИТОГО: 1000.00 [19:48:19]line Внесено: 1000.00 [19:48:19]line СДАЧА: 0.00 [19:48:19]line НСП 1% : 8.85 [19:48:19]line НДС 12% : 106.24 [19:48:19]line Наличными: 1000.00 [19:48:19]line Безнал.: 0.00 [19:48:19]line Место: АЗС № 122 "Партнер Нефть" [19:48:19]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [19:48:19]line СНО: Общий режим [19:48:19]line Чек 63 07.04.2024 19:48 [19:48:19]line Смена: 313 ФФД: 1.0 [19:48:19]line ЗНМ: 0300000147 [19:48:19]line РНМ: 0000000000091578 [19:48:19]line Версия ККМ: 001 [19:48:19]line ФМ: 0000000000874657 [19:48:19]line ФД: 26764 [19:48:19]line ФПД: 166400393626486 [19:48:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T194828&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26764&fm=166400393626486&tin=02508201610067®Number=0000000000091578&sum=100000 [19:48:20]OFD Sender: Processing packet 26764 [packets to send 44, broken 43] [19:48:20]ProducePacketName [19:48:20]name=ofd_packets/00026764 [19:48:20]OFD Sender: To server: pG, [19:48:20]CommunicateWithHost lk.salyk.kg:30040 [19:48:20]ConnectInit lk.salyk.kg [19:48:20]written 0, free lines is 4095 [19:48:20]Connected sock=11 [19:48: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 36 35 37 0F 01 00 00 85 2F 07 01 64 A1 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 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 3F 00 00 00 F4 03 04 00 8C F8 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 8C 68 00 00 35 04 06 00 97 57 1C 5A 43 76 33 75 D6 C0 3E 78 5D 78 [19:48:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 5B 94 47 00 27 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 36 35 37 10 04 04 00 8C 68 00 00 F4 03 04 00 F9 9F 12 66 B6 04 01 00 00 E4 45 BE 1A A8 52 A9 12 [19:48:20]CommunicateWithHost err = 0 [19:48:20]CheckOFDResponse [19:48:20]1017 (14) - 77093643461234 [19:48:20]1041 (16) - 0000000000874657 [19:48:20]1040 (4) - 26764 [19:48:20]1012 (4) - 07.04.2024 13:30 [19:48:20]1206 (1) - 0 [19:48:20]OFD Sender: Remove packet 26764 [19:48:20]ProducePacketName [19:48:20]name=ofd_packets/00026764 [19:48:20]NVStorageDeleteData [19:48:20]Write to MH i2c: 01 00 00 99 2B C4 [19:48:20]Write i2c OK [19:48:20]MH_I2C_Read... [19:48:20]Read from MH i2c: 01 [19:48:20]MH_I2C_Read... [19:48:20]Read from MH i2c: 01 07 00 [19:48:20]MH_I2C_Read... [19:48:20]Read from MH i2c: 01 07 00 99 2B 00 00 00 00 00 74 0C 4B [19:48:20]RasterBufferAndPrint [19:48:20]line [19:48:20]line [19:48:20]line [19:48:20]line [19:48:20]line [19:48:20]written 0, free lines is 3191 [19:48:20]MH_Cut [19:48:20]Write to MH i2c: D1 01 00 A0 2B 01 9D [19:48:20]Write i2c OK [19:48:20]MH_I2C_Read... [19:48:20]Read from MH i2c: D1 [19:48:20]MH_I2C_Read... [19:48:20]Read from MH i2c: D1 01 00 [19:48:20]MH_I2C_Read... [19:48:20]Read from MH i2c: D1 01 00 A0 2B 00 9C [19:48:20]Write to MH i2c: 01 00 00 A1 2B CC [19:48:20]Write i2c OK [19:48:20]MH_I2C_Read... [19:48:20]OFD Sender: No OFD packet to send [19:48:21]*** Cut start [19:48:21]*** Partial cut [19:48:21]*** CUTSNS_PIN = 1 [19:48:21]*** CUTSNS_PIN = 0 [19:48:21]*** Brake cut motor [19:48:22]Read from MH i2c: 01 [19:48:22]MH_I2C_Read... [19:48:22]*** Stop cut motor [19:48:22]*** Cut end [19:48:22]Read from MH i2c: 01 07 00 [19:48:22]MH_I2C_Read... [19:48:22]Read from MH i2c: 01 07 00 A1 2B 00 00 00 00 00 FF 0F E1 [19:48:22]process_action close_receipt done [19:48:22]requested_data is exist [19:48:22]produce_requested_data [19:48:22]requested_item fm.sn is exist - process it [19:48:22]wFMCommunicate request_size=4 [19:48:22]MH_SAM_APDU [19:48:22]CAPDU: 80 11 00 00 [19:48:22]Write to MH i2c: E2 08 00 A2 2B 80 11 00 00 00 00 00 00 47 [19:48:22]Write i2c OK [19:48:22]MH_I2C_Read... [19:48:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:48:22]Read from MH i2c: E2 [19:48:22]MH_I2C_Read... [19:48:22]Read from MH i2c: E2 17 00 [19:48:22]MH_I2C_Read... [19:48:22]Read from MH i2c: E2 17 00 A2 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 9F [19:48:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [19:48:22]wFMCommunicate OK [19:48:22]requested_item fd.num is exist - process it [19:48:22]SAM_PROTO_GetFieldsCounters [19:48:22]wFMCommunicate request_size=4 [19:48:22]MH_SAM_APDU [19:48:22]CAPDU: 80 13 00 00 [19:48:22]Write to MH i2c: E2 08 00 A3 2B 80 13 00 00 00 00 00 00 4A [19:48:22]Write i2c OK [19:48:22]MH_I2C_Read... [19:48:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:48:22]Read from MH i2c: E2 [19:48:22]MH_I2C_Read... [19:48:22]Read from MH i2c: E2 62 00 [19:48:22]MH_I2C_Read... [19:48:22]Read from MH i2c: E2 62 00 A3 2B 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 8C 68 00 00 0E 04 04 00 39 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 60 [19:48: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 8C 68 00 00 0E 04 04 00 39 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 [19:48:22]wFMCommunicate OK [19:48:22]SAM_PROTO_GetFieldsCounters done [19:48:22]requested_item shift.num is exist - process it [19:48:22]requested_item shift.opened is exist - process it [19:48:22]req_shift_opened [19:48:22]FM_GetShiftState [19:48:22]SAM_PROTO_GetShiftState [19:48:22]wFMCommunicate request_size=4 [19:48:22]MH_SAM_APDU [19:48:22]CAPDU: 80 13 01 00 [19:48:22]Write to MH i2c: E2 08 00 A4 2B 80 13 01 00 00 00 00 00 4C [19:48:22]Write i2c OK [19:48:22]MH_I2C_Read... [19:48:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:48:22]Read from MH i2c: E2 [19:48:22]MH_I2C_Read... [19:48:22]Read from MH i2c: E2 0E 00 [19:48:22]MH_I2C_Read... [19:48:22]Read from MH i2c: E2 0E 00 A4 2B 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 E0 [19:48:22]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [19:48:22]wFMCommunicate OK [19:48:22]SAM_PROTO_GetShiftState done [19:48:22]FM_GetShiftState done [19:48:22]req_shift_opened done [19:48:22]requested_item shift.open_date is exist - process it [19:48:22]req_shift_open_date [19:48:22]req_shift_open_date done [19:48:22]produce_requested_data done [19:48:22]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26764,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [19:48:22]process_action_free close_receipt [19:48:22]json_value_free [19:48:22]json_value_free done [19:48:22]process_json_proto returns [19:48:22]Send response to host [19:48:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26764,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [19:48:22]free response buf [19:48:22]execute_script done [19:48:22]execute_script returns [19:48:22]free content buf [19:48:22]Sock 8.Close socket [19:48:22]Sock 8.Thread stoped [19:48:25]OFD Sender: No OFD packet to send [19:48:30]OFD Sender: No OFD packet to send [19:48:35]OFD Sender: No OFD packet to send [19:48:40]OFD Sender: No OFD packet to send [19:48:45]OFD Sender: No OFD packet to send [19:48:50]OFD Sender: No OFD packet to send [19:48:55]OFD Sender: No OFD packet to send [19:49:00]OFD Sender: No OFD packet to send [19:49:05]OFD Sender: No OFD packet to send [19:49:10]OFD Sender: No OFD packet to send [19:49:15]OFD Sender: No OFD packet to send [19:49:20]OFD Sender: No OFD packet to send [19:49:25]OFD Sender: No OFD packet to send [19:49:30]OFD Sender: No OFD packet to send [19:49:35]OFD Sender: No OFD packet to send [19:49:40]OFD Sender: No OFD packet to send [19:49:45]OFD Sender: No OFD packet to send [19:49:50]OFD Sender: No OFD packet to send [19:49:55]OFD Sender: No OFD packet to send [19:50:00]OFD Sender: No OFD packet to send [19:50:05]OFD Sender: No OFD packet to send [19:50:10]OFD Sender: No OFD packet to send [19:50:15]OFD Sender: No OFD packet to send [19:50:20]OFD Sender: No OFD packet to send [19:50:25]OFD Sender: No OFD packet to send [19:50:30]OFD Sender: No OFD packet to send [19:50:35]OFD Sender: No OFD packet to send [19:50:40]OFD Sender: No OFD packet to send [19:50:45]OFD Sender: No OFD packet to send [19:50:50]OFD Sender: No OFD packet to send [19:50:55]OFD Sender: No OFD packet to send [19:51:00]OFD Sender: No OFD packet to send [19:51:05]OFD Sender: No OFD packet to send [19:51:10]OFD Sender: No OFD packet to send [19:51:15]OFD Sender: No OFD packet to send [19:51:20]OFD Sender: No OFD packet to send [19:51:25]OFD Sender: No OFD packet to send [19:51:30]OFD Sender: No OFD packet to send [19:51:35]OFD Sender: No OFD packet to send [19:51:40]OFD Sender: No OFD packet to send [19:51:45]OFD Sender: No OFD packet to send [19:51:50]OFD Sender: No OFD packet to send [19:51:55]OFD Sender: No OFD packet to send [19:52:00]OFD Sender: No OFD packet to send [19:52:05]OFD Sender: No OFD packet to send [19:52:10]OFD Sender: No OFD packet to send [19:52:15]OFD Sender: No OFD packet to send [19:52:20]OFD Sender: No OFD packet to send [19:52:25]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:36]OFD Sender: No OFD packet to send [19:56:41]OFD Sender: No OFD packet to send [19:56:46]OFD Sender: No OFD packet to send [19:56:51]OFD Sender: No OFD packet to send [19:56:56]OFD Sender: No OFD packet to send [19:57:01]OFD Sender: No OFD packet to send [19:57:06]OFD Sender: No OFD packet to send [19:57:11]OFD Sender: No OFD packet to send [19:57:16]OFD Sender: No OFD packet to send [19:57:16]accept exits with 9 [19:57:16]New connection [19:57:16]New thread 3066871140 created [19:57:16]Thread 3067014500 joined [19:57:16]Waiting for new connection... [19:57:16] Sock 9.Parse request [19:57:16]Sock 9.Check first char [19:57:16]Sock 9.First char is OK [19:57:16]request: POST /json_proto HTTP/1.0 [19:57:16]Method: POST [19:57:16]URL: /json_proto [19:57:16]Method is POST - this is cgi request [19:57:16]url: /json_proto [19:57:16]query_string will be loaded in cgi processing [19:57:16]execute_cgi json_proto POST (null) [19:57:16]execute_cgi path=json_proto method=POST [19:57:16]POST find Content-Length [19:57:16]Host: 172.17.35.3:8080 [19:57:16]Content-Length: 677 [19:57:16]Content-Type: application/json [19:57:16] [19:57:16]POST finish read [19:57:16]Found Content-Length = 677 [19:57:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359508", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 7.890, "sum" : 500.23, "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" ] } } [19:57:16]execute_script... [19:57: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 : (1)359508", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 7.890, "sum" : 500.23, "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" ] } } [19:57:16]POST & json_proto [19:57:16]process_json_proto [19:57:16]json parsed OK: [19:57:16]protocol is kg_v1.0 [19:57:16]action value=close_receipt [19:57:16]process_action close_receipt [19:57:16]cmd_close_receipt [19:57:16]MH_GetDate [19:57:16]Write to MH i2c: F0 00 00 A5 2B BF [19:57:16]Write i2c OK [19:57:16]MH_I2C_Read... [19:57:16]Read from MH i2c: F0 [19:57:16]MH_I2C_Read... [19:57:16]Read from MH i2c: F0 09 00 [19:57:16]MH_I2C_Read... [19:57:16]Read from MH i2c: F0 09 00 A5 2B 00 A7 FA 12 66 2B 11 66 64 E7 [19:57:16]GetLastDocTimeStamp 1712519308 [19:57:16]current date 1712519847 [19:57:16]FM_GetShiftState [19:57:16]SAM_PROTO_GetShiftState [19:57:16]wFMCommunicate request_size=4 [19:57:16]MH_SAM_APDU [19:57:16]CAPDU: 80 13 01 00 [19:57:16]Write to MH i2c: E2 08 00 A6 2B 80 13 01 00 00 00 00 00 4E [19:57:16]Write i2c OK [19:57:16]MH_I2C_Read... [19:57:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:57:17]Read from MH i2c: E2 [19:57:17]MH_I2C_Read... [19:57:17]Read from MH i2c: E2 0E 00 [19:57:17]MH_I2C_Read... [19:57:17]Read from MH i2c: E2 0E 00 A6 2B 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 E2 [19:57:17]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [19:57:17]wFMCommunicate OK [19:57:17]SAM_PROTO_GetShiftState done [19:57:17]FM_GetShiftState done [19:57:17]opened in 1712450087 [19:57:17]opened+sec_in_day 1712536487 [19:57:17]quantity*price = 50022 [19:57:17]sum+1 = 50024 [19:57:17]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.23 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.12 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 64 07.04.2024 19:57 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26765 ФПД: 99923434204238 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T195727&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26765&fm=99923434204238&tin=02508201610067®Number=0000000000091578&sum=50000 [19:57:18]StoreToDocumentArchive [19:57:18]shift 313 fd 26765 [19:57:18]save to /storage/0313/doc_00026765 [19:57:18]save last doc name /storage/0313/doc_00026765 to /storage/kkm_last_doc_name [19:57:18]save OK [19:57:18]Clear old archive folders... [19:57:18]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:57:18]tlvbuf is 00E3B890 [19:57:18]SAM_PROTO_ClearQueue [19:57:18]wFMCommunicate request_size=4 [19:57:18]MH_SAM_APDU [19:57:18]CAPDU: 80 09 00 00 [19:57:18]Write to MH i2c: E2 08 00 B3 2B 80 09 00 00 00 00 00 00 50 [19:57:18]Write i2c OK [19:57:18]MH_I2C_Read... [19:57:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:57:18]Read from MH i2c: E2 [19:57:18]MH_I2C_Read... [19:57:18]Read from MH i2c: E2 03 00 [19:57:18]MH_I2C_Read... [19:57:18]Read from MH i2c: E2 03 00 B3 2B 00 90 00 52 [19:57:18]RAPDU: 90 00 [19:57:18]wFMCommunicate OK [19:57:18]SAM_PROTO_ClearQueue done [19:57:18]KKMCreateOFDPacket [19:57:18]OFDProtocolAddRootSTLVToBuf [19:57:18]FM_MakeSignedData [19:57:18]FM_MakeSignedData [19:57:18]SAM_PROTO_SignData [19:57:18]wFMCommunicate request_size=4 [19:57:18]MH_SAM_APDU [19:57:18]CAPDU: 80 0D 01 02 [19:57:18]Write to MH i2c: E2 08 00 B4 2B 80 0D 01 02 00 00 00 00 58 [19:57:18]Write i2c OK [19:57:18]MH_I2C_Read... [19:57:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:57:18]Read from MH i2c: E2 [19:57:18]MH_I2C_Read... [19:57:18]Read from MH i2c: E2 03 00 [19:57:18]MH_I2C_Read... [19:57:18]Read from MH i2c: E2 03 00 B4 2B 00 90 00 53 [19:57:18]RAPDU: 90 00 [19:57:18]wFMCommunicate OK [19:57:18]wFMCommunicate request_size=255 [19:57:18]MH_SAM_APDU [19:57:18]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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 A7 FA 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 8D 68 00 00 35 04 06 00 5A [19:57:18]Write to MH i2c: E2 02 01 B5 2B 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 A7 FA 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 8D 68 00 00 35 04 06 00 5A 00 00 FA [19:57:18]Write i2c OK [19:57:18]MH_I2C_Read... [19:57:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:57:18]Read from MH i2c: E2 [19:57:18]MH_I2C_Read... [19:57:18]Read from MH i2c: E2 03 00 [19:57:18]MH_I2C_Read... [19:57:18]Read from MH i2c: E2 03 00 B5 2B 00 90 00 54 [19:57:18]RAPDU: 90 00 [19:57:18]wFMCommunicate OK [19:57:18]wFMCommunicate request_size=10 [19:57:18]MH_SAM_APDU [19:57:18]CAPDU: 80 0D 02 02 05 E1 3C CC EC 4E [19:57:18]Write to MH i2c: E2 0D 00 B6 2B 80 0D 02 02 05 00 E1 3C CC EC 4E 00 00 88 [19:57:18]Write i2c OK [19:57:18]MH_I2C_Read... [19:57:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:57:18]Read from MH i2c: E2 [19:57:18]MH_I2C_Read... [19:57:18]Read from MH i2c: E2 03 00 [19:57:18]MH_I2C_Read... [19:57:18]Read from MH i2c: E2 03 00 B6 2B 00 90 00 55 [19:57:18]RAPDU: 90 00 [19:57:18]wFMCommunicate OK [19:57:18]wFMCommunicate request_size=4 [19:57:18]MH_SAM_APDU [19:57:18]CAPDU: 80 0D 03 02 [19:57:18]Write to MH i2c: E2 08 00 B7 2B 80 0D 03 02 00 00 00 00 5D [19:57:18]Write i2c OK [19:57:18]MH_I2C_Read... [19:57:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:57:18]Read from MH i2c: E2 [19:57:18]MH_I2C_Read... [19:57:18]Read from MH i2c: E2 0B 00 [19:57:18]MH_I2C_Read... [19:57:18]Read from MH i2c: E2 0B 00 B7 2B 00 17 FD AB AC 58 DD 03 B5 90 00 B6 [19:57:18]RAPDU: 17 FD AB AC 58 DD 03 B5 90 00 [19:57:18]wFMCommunicate OK [19:57:18]SAM_PROTO_SignData done [19:57:18]FM_MakeSignedData done [19:57:18]CreateOFDProtocolMessage [19:57:18]wFMCommunicate request_size=4 [19:57:18]MH_SAM_APDU [19:57:18]CAPDU: 80 11 00 00 [19:57:18]Write to MH i2c: E2 08 00 B8 2B 80 11 00 00 00 00 00 00 5D [19:57:18]Write i2c OK [19:57:18]MH_I2C_Read... [19:57:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:57:18]Read from MH i2c: E2 [19:57:18]MH_I2C_Read... [19:57:18]Read from MH i2c: E2 17 00 [19:57:18]MH_I2C_Read... [19:57:18]Read from MH i2c: E2 17 00 B8 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 B5 [19:57:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [19:57:18]wFMCommunicate OK [19:57:18]CreateOFDProtocolMessage done [19:57:18]OFDSenderStorePacket 26765 [19:57:18]StoreOFDPacket docnum=26765 [19:57:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 23 92 07 01 17 2A 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 A7 FA 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 8D 68 00 00 35 04 06 00 5A E1 3C CC EC 4E 17 FD AB AC 58 DD 03 B5 [19:57:18]CheckFolder [19:57:18]dirname=/storage/ofd_packets [19:57:18]CheckFolder done [19:57:18]ProducePacketName [19:57:18]name=ofd_packets/00026765 [19:57:18]NVStorageSaveData ofd_packets/00026765 [19:57:18]File name is /storage/ofd_packets/00026765 [19:57:18]Write 301 bytes [19:57:18]NVStorageSaveData done [19:57:18]OFDSenderStorePacket done [19:57:18]KKMCreateOFDPacket done [19:57:18]NVStorageSaveData kkm_last_timestamp [19:57:18]File name is /storage/kkm_last_timestamp [19:57:18]Write 4 bytes [19:57:18]NVStorageSaveData done [19:57:18]ExternCall_PrintAddStr [19:57:18]wPrintStart [19:57:18]Write to MH i2c: 01 00 00 B9 2B E4 [19:57:18]Write i2c OK [19:57:18]MH_I2C_Read... [19:57:18]Read from MH i2c: 01 [19:57:18]MH_I2C_Read... [19:57:18]Read from MH i2c: 01 07 00 [19:57:18]MH_I2C_Read... [19:57:18]Read from MH i2c: 01 07 00 B9 2B 00 00 00 00 00 FF 0F F9 [19:57:18]RasterBufferAndPrint [19:57:18]line Счет N : (1)359508 [19:57:18]line ИНН: 02508201610067 [19:57:18]line Контрольно-Кассовый Чек [19:57:18]line ПРОДАЖА [19:57:18]line ТРК (МРК, ГНК) : 61 [19:57:18]line Товар: 2710124130 [19:57:18]line Аи-92-К-5 [19:57:18]line 7.890 * 63.40 [19:57:18]line = 500.23 [19:57:18]line НДС 12% НСП 1% [19:57:18]line > о реализуемом товаре [19:57:18]line ОКРУГЛЕНИЕ: -0.23 [19:57:18]line ИТОГО: 500.00 [19:57:18]line Внесено: 500.00 [19:57:18]line СДАЧА: 0.00 [19:57:18]line НСП 1% : 4.43 [19:57:18]line НДС 12% : 53.12 [19:57:18]line Наличными: 500.00 [19:57:18]line Безнал.: 0.00 [19:57:18]line Место: АЗС № 122 "Партнер Нефть" [19:57:18]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [19:57:18]line СНО: Общий режим [19:57:18]line Чек 64 07.04.2024 19:57 [19:57:18]line Смена: 313 ФФД: 1.0 [19:57:18]line ЗНМ: 0300000147 [19:57:18]line РНМ: 0000000000091578 [19:57:18]line Версия ККМ: 001 [19:57:18]line ФМ: 0000000000874657 [19:57:18]line ФД: 26765 [19:57:18]line ФПД: 99923434204238 [19:57:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T195727&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26765&fm=99923434204238&tin=02508201610067®Number=0000000000091578&sum=50000 [19:57:19]OFD Sender: Processing packet 26765 [packets to send 44, broken 43] [19:57:19]ProducePacketName [19:57:19]name=ofd_packets/00026765 [19:57:19]OFD Sender: To server: pG, [19:57:19]CommunicateWithHost lk.salyk.kg:30040 [19:57:19]ConnectInit lk.salyk.kg [19:57:19]written 0, free lines is 4095 [19:57:19]Connected sock=10 [19:57: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 36 35 37 0F 01 00 00 23 92 07 01 17 2A 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 A7 FA 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 8D 68 00 00 35 04 06 00 5A E1 3C CC EC 4E 17 FD AB AC 58 DD 03 B5 [19:57:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 E3 B9 47 00 2B E9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 8D 68 00 00 F4 03 04 00 14 A2 12 66 B6 04 01 00 00 07 C6 05 37 18 3E 0D C8 [19:57:19]CommunicateWithHost err = 0 [19:57:19]CheckOFDResponse [19:57:19]1017 (14) - 77093643461234 [19:57:19]1041 (16) - 0000000000874657 [19:57:19]1040 (4) - 26765 [19:57:19]1012 (4) - 07.04.2024 13:39 [19:57:19]1206 (1) - 0 [19:57:19]OFD Sender: Remove packet 26765 [19:57:19]ProducePacketName [19:57:19]name=ofd_packets/00026765 [19:57:19]NVStorageDeleteData [19:57:19]Write to MH i2c: 01 00 00 E4 2B 0F [19:57:19]Write i2c OK [19:57:19]MH_I2C_Read... [19:57:19]Read from MH i2c: 01 [19:57:19]MH_I2C_Read... [19:57:19]Read from MH i2c: 01 07 00 [19:57:19]MH_I2C_Read... [19:57:19]Read from MH i2c: 01 07 00 E4 2B 00 00 00 00 00 79 0C 9B [19:57:19]RasterBufferAndPrint [19:57:19]line [19:57:19]line [19:57:19]line [19:57:19]line [19:57:19]line [19:57:19]written 0, free lines is 3197 [19:57:19]MH_Cut [19:57:19]Write to MH i2c: D1 01 00 EB 2B 01 E8 [19:57:19]Write i2c OK [19:57:19]MH_I2C_Read... [19:57:19]Read from MH i2c: D1 [19:57:19]MH_I2C_Read... [19:57:19]Read from MH i2c: D1 01 00 [19:57:19]MH_I2C_Read... [19:57:19]Read from MH i2c: D1 01 00 EB 2B 00 E7 [19:57:19]Write to MH i2c: 01 00 00 EC 2B 17 [19:57:19]Write i2c OK [19:57:19]MH_I2C_Read... [19:57:19]OFD Sender: No OFD packet to send [19:57:20]*** Cut start [19:57:20]*** Partial cut [19:57:20]*** CUTSNS_PIN = 1 [19:57:20]*** CUTSNS_PIN = 0 [19:57:20]*** Brake cut motor [19:57:21]Read from MH i2c: 01 [19:57:21]MH_I2C_Read... [19:57:21]*** Stop cut motor [19:57:21]*** Cut end [19:57:21]Read from MH i2c: 01 07 00 [19:57:21]MH_I2C_Read... [19:57:21]Read from MH i2c: 01 07 00 EC 2B 00 00 00 00 00 FF 0F 2C [19:57:21]process_action close_receipt done [19:57:21]requested_data is exist [19:57:21]produce_requested_data [19:57:21]requested_item fm.sn is exist - process it [19:57:21]wFMCommunicate request_size=4 [19:57:21]MH_SAM_APDU [19:57:21]CAPDU: 80 11 00 00 [19:57:21]Write to MH i2c: E2 08 00 ED 2B 80 11 00 00 00 00 00 00 92 [19:57:21]Write i2c OK [19:57:21]MH_I2C_Read... [19:57:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:57:21]Read from MH i2c: E2 [19:57:21]MH_I2C_Read... [19:57:21]Read from MH i2c: E2 17 00 [19:57:21]MH_I2C_Read... [19:57:21]Read from MH i2c: E2 17 00 ED 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 EA [19:57:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [19:57:21]wFMCommunicate OK [19:57:21]requested_item fd.num is exist - process it [19:57:21]SAM_PROTO_GetFieldsCounters [19:57:21]wFMCommunicate request_size=4 [19:57:21]MH_SAM_APDU [19:57:21]CAPDU: 80 13 00 00 [19:57:21]Write to MH i2c: E2 08 00 EE 2B 80 13 00 00 00 00 00 00 95 [19:57:21]Write i2c OK [19:57:21]MH_I2C_Read... [19:57:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:57:21]Read from MH i2c: E2 [19:57:21]MH_I2C_Read... [19:57:21]Read from MH i2c: E2 62 00 [19:57:21]MH_I2C_Read... [19:57:21]Read from MH i2c: E2 62 00 EE 2B 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 8D 68 00 00 0E 04 04 00 39 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 AF [19:57: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 8D 68 00 00 0E 04 04 00 39 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 [19:57:21]wFMCommunicate OK [19:57:21]SAM_PROTO_GetFieldsCounters done [19:57:21]requested_item shift.num is exist - process it [19:57:21]requested_item shift.opened is exist - process it [19:57:21]req_shift_opened [19:57:21]FM_GetShiftState [19:57:21]SAM_PROTO_GetShiftState [19:57:21]wFMCommunicate request_size=4 [19:57:21]MH_SAM_APDU [19:57:21]CAPDU: 80 13 01 00 [19:57:21]Write to MH i2c: E2 08 00 EF 2B 80 13 01 00 00 00 00 00 97 [19:57:21]Write i2c OK [19:57:21]MH_I2C_Read... [19:57:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:57:21]Read from MH i2c: E2 [19:57:21]MH_I2C_Read... [19:57:21]Read from MH i2c: E2 0E 00 [19:57:21]MH_I2C_Read... [19:57:21]Read from MH i2c: E2 0E 00 EF 2B 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 2B [19:57:21]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [19:57:21]wFMCommunicate OK [19:57:21]SAM_PROTO_GetShiftState done [19:57:21]FM_GetShiftState done [19:57:21]req_shift_opened done [19:57:21]requested_item shift.open_date is exist - process it [19:57:21]req_shift_open_date [19:57:21]req_shift_open_date done [19:57:21]produce_requested_data done [19:57:21]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26765,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [19:57:21]process_action_free close_receipt [19:57:21]json_value_free [19:57:21]json_value_free done [19:57:21]process_json_proto returns [19:57:21]Send response to host [19:57:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26765,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [19:57:21]free response buf [19:57:21]execute_script done [19:57:21]execute_script returns [19:57:21]free content buf [19:57:21]Sock 9.Close socket [19:57:21]Sock 9.Thread stoped [19:57:24]OFD Sender: No OFD packet to send [19:57:29]OFD Sender: No OFD packet to send [19:57:34]OFD Sender: No OFD packet to send [19:57:39]OFD Sender: No OFD packet to send [19:57:44]OFD Sender: No OFD packet to send [19:57:49]OFD Sender: No OFD packet to send [19:57:54]OFD Sender: No OFD packet to send [19:57:59]OFD Sender: No OFD packet to send [19:58:04]OFD Sender: No OFD packet to send [19:58:09]OFD Sender: No OFD packet to send [19:58:14]OFD Sender: No OFD packet to send [19:58:19]OFD Sender: No OFD packet to send [19:58:24]OFD Sender: No OFD packet to send [19:58:29]OFD Sender: No OFD packet to send [19:58:34]OFD Sender: No OFD packet to send [19:58:39]OFD Sender: No OFD packet to send [19:58:44]OFD Sender: No OFD packet to send [19:58:49]OFD Sender: No OFD packet to send [19:58:49]accept exits with 8 [19:58:49]New connection [19:58:49]New thread 3067014500 created [19:58:49]Thread 3066871140 joined [19:58:49]Waiting for new connection... [19:58:49] Sock 8.Parse request [19:58:49]Sock 8.Check first char [19:58:49]Sock 8.First char is OK [19:58:49]request: POST /json_proto HTTP/1.0 [19:58:49]Method: POST [19:58:49]URL: /json_proto [19:58:49]Method is POST - this is cgi request [19:58:49]url: /json_proto [19:58:49]query_string will be loaded in cgi processing [19:58:49]execute_cgi json_proto POST (null) [19:58:49]execute_cgi path=json_proto method=POST [19:58:49]POST find Content-Length [19:58:49]Host: 172.17.35.3:8080 [19:58:49]Content-Length: 682 [19:58:49]Content-Type: application/json [19:58:49] [19:58:49]POST finish read [19:58:49]Found Content-Length = 682 [19:58:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359509", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "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" ] } } [19:58:49]execute_script... [19:58: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 : (1)359509", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "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" ] } } [19:58:49]POST & json_proto [19:58:49]process_json_proto [19:58:49]json parsed OK: [19:58:49]protocol is kg_v1.0 [19:58:49]action value=close_receipt [19:58:49]process_action close_receipt [19:58:49]cmd_close_receipt [19:58:49]MH_GetDate [19:58:49]Write to MH i2c: F0 00 00 F0 2B 0A [19:58:49]Write i2c OK [19:58:49]MH_I2C_Read... [19:58:49]Read from MH i2c: F0 [19:58:49]MH_I2C_Read... [19:58:49]Read from MH i2c: F0 09 00 [19:58:49]MH_I2C_Read... [19:58:49]Read from MH i2c: F0 09 00 F0 2B 00 04 FB 12 66 2B 11 66 64 90 [19:58:49]GetLastDocTimeStamp 1712519847 [19:58:49]current date 1712519940 [19:58:49]FM_GetShiftState [19:58:49]SAM_PROTO_GetShiftState [19:58:49]wFMCommunicate request_size=4 [19:58:49]MH_SAM_APDU [19:58:49]CAPDU: 80 13 01 00 [19:58:49]Write to MH i2c: E2 08 00 F1 2B 80 13 01 00 00 00 00 00 99 [19:58:49]Write i2c OK [19:58:49]MH_I2C_Read... [19:58:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:58:50]Read from MH i2c: E2 [19:58:50]MH_I2C_Read... [19:58:50]Read from MH i2c: E2 0E 00 [19:58:50]MH_I2C_Read... [19:58:50]Read from MH i2c: E2 0E 00 F1 2B 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 2D [19:58:50]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [19:58:50]wFMCommunicate OK [19:58:50]SAM_PROTO_GetShiftState done [19:58:50]FM_GetShiftState done [19:58:50]opened in 1712450087 [19:58:50]opened+sec_in_day 1712536487 [19:58:50]quantity*price = 100045 [19:58:50]sum+1 = 100046 [19:58:50]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.45 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.24 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 65 07.04.2024 19:59 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26766 ФПД: 264609925646920 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T195900&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26766&fm=264609925646920&tin=02508201610067®Number=0000000000091578&sum=100000 [19:58:51]StoreToDocumentArchive [19:58:51]shift 313 fd 26766 [19:58:51]save to /storage/0313/doc_00026766 [19:58:51]save last doc name /storage/0313/doc_00026766 to /storage/kkm_last_doc_name [19:58:51]save OK [19:58:51]Clear old archive folders... [19:58:51]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:58:51]tlvbuf is 00EF4DA0 [19:58:51]SAM_PROTO_ClearQueue [19:58:51]wFMCommunicate request_size=4 [19:58:51]MH_SAM_APDU [19:58:51]CAPDU: 80 09 00 00 [19:58:51]Write to MH i2c: E2 08 00 FE 2B 80 09 00 00 00 00 00 00 9B [19:58:51]Write i2c OK [19:58:51]MH_I2C_Read... [19:58:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:58:51]Read from MH i2c: E2 [19:58:51]MH_I2C_Read... [19:58:51]Read from MH i2c: E2 03 00 [19:58:51]MH_I2C_Read... [19:58:51]Read from MH i2c: E2 03 00 FE 2B 00 90 00 9D [19:58:51]RAPDU: 90 00 [19:58:51]wFMCommunicate OK [19:58:51]SAM_PROTO_ClearQueue done [19:58:51]KKMCreateOFDPacket [19:58:51]OFDProtocolAddRootSTLVToBuf [19:58:51]FM_MakeSignedData [19:58:51]FM_MakeSignedData [19:58:51]SAM_PROTO_SignData [19:58:51]wFMCommunicate request_size=4 [19:58:51]MH_SAM_APDU [19:58:51]CAPDU: 80 0D 01 02 [19:58:51]Write to MH i2c: E2 08 00 FF 2B 80 0D 01 02 00 00 00 00 A3 [19:58:51]Write i2c OK [19:58:51]MH_I2C_Read... [19:58:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:58:51]Read from MH i2c: E2 [19:58:51]MH_I2C_Read... [19:58:51]Read from MH i2c: E2 03 00 [19:58:51]MH_I2C_Read... [19:58:51]Read from MH i2c: E2 03 00 FF 2B 00 90 00 9E [19:58:51]RAPDU: 90 00 [19:58:51]wFMCommunicate OK [19:58:51]wFMCommunicate request_size=255 [19:58:51]MH_SAM_APDU [19:58:51]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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 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 41 00 00 00 F4 03 04 00 04 FB 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 8E 68 00 00 35 04 06 00 F0 [19:58:51]Write to MH i2c: E2 02 01 00 2C 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 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 41 00 00 00 F4 03 04 00 04 FB 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 8E 68 00 00 35 04 06 00 F0 00 00 10 [19:58:51]Write i2c OK [19:58:51]MH_I2C_Read... [19:58:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:58:51]Read from MH i2c: E2 [19:58:51]MH_I2C_Read... [19:58:51]Read from MH i2c: E2 03 00 [19:58:51]MH_I2C_Read... [19:58:51]Read from MH i2c: E2 03 00 00 2C 00 90 00 A0 [19:58:51]RAPDU: 90 00 [19:58:51]wFMCommunicate OK [19:58:51]wFMCommunicate request_size=10 [19:58:51]MH_SAM_APDU [19:58:51]CAPDU: 80 0D 02 02 05 A9 4C 9F 4A 48 [19:58:51]Write to MH i2c: E2 0D 00 01 2C 80 0D 02 02 05 00 A9 4C 9F 4A 48 00 00 D7 [19:58:51]Write i2c OK [19:58:51]MH_I2C_Read... [19:58:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:58:51]Read from MH i2c: E2 [19:58:51]MH_I2C_Read... [19:58:51]Read from MH i2c: E2 03 00 [19:58:51]MH_I2C_Read... [19:58:51]Read from MH i2c: E2 03 00 01 2C 00 90 00 A1 [19:58:51]RAPDU: 90 00 [19:58:51]wFMCommunicate OK [19:58:51]wFMCommunicate request_size=4 [19:58:51]MH_SAM_APDU [19:58:51]CAPDU: 80 0D 03 02 [19:58:51]Write to MH i2c: E2 08 00 02 2C 80 0D 03 02 00 00 00 00 A9 [19:58:51]Write i2c OK [19:58:51]MH_I2C_Read... [19:58:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:58:51]Read from MH i2c: E2 [19:58:51]MH_I2C_Read... [19:58:51]Read from MH i2c: E2 0B 00 [19:58:51]MH_I2C_Read... [19:58:51]Read from MH i2c: E2 0B 00 02 2C 00 A6 16 F6 4A FC B2 A1 E4 90 00 D9 [19:58:51]RAPDU: A6 16 F6 4A FC B2 A1 E4 90 00 [19:58:51]wFMCommunicate OK [19:58:51]SAM_PROTO_SignData done [19:58:51]FM_MakeSignedData done [19:58:51]CreateOFDProtocolMessage [19:58:51]wFMCommunicate request_size=4 [19:58:51]MH_SAM_APDU [19:58:51]CAPDU: 80 11 00 00 [19:58:51]Write to MH i2c: E2 08 00 03 2C 80 11 00 00 00 00 00 00 A9 [19:58:51]Write i2c OK [19:58:51]MH_I2C_Read... [19:58:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:58:51]Read from MH i2c: E2 [19:58:51]MH_I2C_Read... [19:58:51]Read from MH i2c: E2 17 00 [19:58:51]MH_I2C_Read... [19:58:51]Read from MH i2c: E2 17 00 03 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 01 [19:58:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [19:58:51]wFMCommunicate OK [19:58:51]CreateOFDProtocolMessage done [19:58:51]OFDSenderStorePacket 26766 [19:58:51]StoreOFDPacket docnum=26766 [19:58:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 E4 22 07 01 23 21 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 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 41 00 00 00 F4 03 04 00 04 FB 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 8E 68 00 00 35 04 06 00 F0 A9 4C 9F 4A 48 A6 16 F6 4A FC B2 A1 E4 [19:58:51]CheckFolder [19:58:51]dirname=/storage/ofd_packets [19:58:51]CheckFolder done [19:58:51]ProducePacketName [19:58:51]name=ofd_packets/00026766 [19:58:51]NVStorageSaveData ofd_packets/00026766 [19:58:51]File name is /storage/ofd_packets/00026766 [19:58:51]Write 301 bytes [19:58:51]NVStorageSaveData done [19:58:51]OFDSenderStorePacket done [19:58:51]KKMCreateOFDPacket done [19:58:51]NVStorageSaveData kkm_last_timestamp [19:58:51]File name is /storage/kkm_last_timestamp [19:58:51]Write 4 bytes [19:58:51]NVStorageSaveData done [19:58:51]ExternCall_PrintAddStr [19:58:51]wPrintStart [19:58:51]Write to MH i2c: 01 00 00 04 2C 30 [19:58:51]Write i2c OK [19:58:51]MH_I2C_Read... [19:58:51]Read from MH i2c: 01 [19:58:51]MH_I2C_Read... [19:58:51]Read from MH i2c: 01 07 00 [19:58:51]MH_I2C_Read... [19:58:51]Read from MH i2c: 01 07 00 04 2C 00 00 00 00 00 FF 0F 45 [19:58:51]RasterBufferAndPrint [19:58:51]line Счет N : (1)359509 [19:58:51]line ИНН: 02508201610067 [19:58:51]line Контрольно-Кассовый Чек [19:58:51]line ПРОДАЖА [19:58:51]line ТРК (МРК, ГНК) : 51 [19:58:51]line Товар: 2710124130 [19:58:51]line Аи-92-К-5 [19:58:51]line 15.780 * 63.40 [19:58:51]line = 1000.45 [19:58:51]line НДС 12% НСП 1% [19:58:51]line > о реализуемом товаре [19:58:51]line ОКРУГЛЕНИЕ: -0.45 [19:58:51]line ИТОГО: 1000.00 [19:58:51]line Внесено: 1000.00 [19:58:51]line СДАЧА: 0.00 [19:58:51]line НСП 1% : 8.85 [19:58:51]line НДС 12% : 106.24 [19:58:51]line Наличными: 1000.00 [19:58:51]line Безнал.: 0.00 [19:58:51]line Место: АЗС № 122 "Партнер Нефть" [19:58:51]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [19:58:51]line СНО: Общий режим [19:58:51]line Чек 65 07.04.2024 19:59 [19:58:51]line Смена: 313 ФФД: 1.0 [19:58:51]line ЗНМ: 0300000147 [19:58:51]line РНМ: 0000000000091578 [19:58:51]line Версия ККМ: 001 [19:58:51]line ФМ: 0000000000874657 [19:58:51]line ФД: 26766 [19:58:51]line ФПД: 264609925646920 [19:58:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T195900&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26766&fm=264609925646920&tin=02508201610067®Number=0000000000091578&sum=100000 [19:58:52]OFD Sender: Processing packet 26766 [packets to send 44, broken 43] [19:58:52]ProducePacketName [19:58:52]name=ofd_packets/00026766 [19:58:52]OFD Sender: To server: pG, [19:58:52]CommunicateWithHost lk.salyk.kg:30040 [19:58:52]ConnectInit lk.salyk.kg [19:58:52]written 0, free lines is 4095 [19:58:52]Connected sock=9 [19:58: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 36 35 37 0F 01 00 00 E4 22 07 01 23 21 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 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 41 00 00 00 F4 03 04 00 04 FB 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 8E 68 00 00 35 04 06 00 F0 A9 4C 9F 4A 48 A6 16 F6 4A FC B2 A1 E4 [19:58:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 28 C0 47 00 57 96 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 37 10 04 04 00 8E 68 00 00 F4 03 04 00 71 A2 12 66 B6 04 01 00 00 6C 3E 85 11 EB D3 A8 EF [19:58:52]CommunicateWithHost err = 0 [19:58:52]CheckOFDResponse [19:58:52]1017 (14) - 77093643461234 [19:58:52]1041 (16) - 0000000000874657 [19:58:52]1040 (4) - 26766 [19:58:52]1012 (4) - 07.04.2024 13:41 [19:58:52]1206 (1) - 0 [19:58:52]OFD Sender: Remove packet 26766 [19:58:52]ProducePacketName [19:58:52]name=ofd_packets/00026766 [19:58:52]NVStorageDeleteData [19:58:52]Write to MH i2c: 01 00 00 2F 2C 5B [19:58:52]Write i2c OK [19:58:52]MH_I2C_Read... [19:58:52]Read from MH i2c: 01 [19:58:52]MH_I2C_Read... [19:58:52]Read from MH i2c: 01 07 00 [19:58:52]MH_I2C_Read... [19:58:52]Read from MH i2c: 01 07 00 2F 2C 00 00 00 00 00 76 0C E4 [19:58:52]RasterBufferAndPrint [19:58:52]line [19:58:52]line [19:58:52]line [19:58:52]line [19:58:52]line [19:58:52]written 0, free lines is 3193 [19:58:52]MH_Cut [19:58:52]Write to MH i2c: D1 01 00 36 2C 01 34 [19:58:52]Write i2c OK [19:58:52]MH_I2C_Read... [19:58:52]Read from MH i2c: D1 [19:58:52]MH_I2C_Read... [19:58:52]Read from MH i2c: D1 01 00 [19:58:52]MH_I2C_Read... [19:58:52]Read from MH i2c: D1 01 00 36 2C 00 33 [19:58:52]Write to MH i2c: 01 00 00 37 2C 63 [19:58:52]Write i2c OK [19:58:52]MH_I2C_Read... [19:58:52]OFD Sender: No OFD packet to send [19:58:53]*** Cut start [19:58:53]*** Partial cut [19:58:53]*** CUTSNS_PIN = 1 [19:58:53]*** CUTSNS_PIN = 0 [19:58:53]*** Brake cut motor [19:58:54]Read from MH i2c: 01 [19:58:54]MH_I2C_Read... [19:58:54]*** Stop cut motor [19:58:54]*** Cut end [19:58:54]Read from MH i2c: 01 07 00 [19:58:54]MH_I2C_Read... [19:58:54]Read from MH i2c: 01 07 00 37 2C 00 00 00 00 00 FF 0F 78 [19:58:54]process_action close_receipt done [19:58:54]requested_data is exist [19:58:54]produce_requested_data [19:58:54]requested_item fm.sn is exist - process it [19:58:54]wFMCommunicate request_size=4 [19:58:54]MH_SAM_APDU [19:58:54]CAPDU: 80 11 00 00 [19:58:54]Write to MH i2c: E2 08 00 38 2C 80 11 00 00 00 00 00 00 DE [19:58:54]Write i2c OK [19:58:54]MH_I2C_Read... [19:58:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:58:54]Read from MH i2c: E2 [19:58:54]MH_I2C_Read... [19:58:54]Read from MH i2c: E2 17 00 [19:58:54]MH_I2C_Read... [19:58:54]Read from MH i2c: E2 17 00 38 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 36 [19:58:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [19:58:54]wFMCommunicate OK [19:58:54]requested_item fd.num is exist - process it [19:58:54]SAM_PROTO_GetFieldsCounters [19:58:54]wFMCommunicate request_size=4 [19:58:54]MH_SAM_APDU [19:58:54]CAPDU: 80 13 00 00 [19:58:54]Write to MH i2c: E2 08 00 39 2C 80 13 00 00 00 00 00 00 E1 [19:58:54]Write i2c OK [19:58:54]MH_I2C_Read... [19:58:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:58:54]Read from MH i2c: E2 [19:58:54]MH_I2C_Read... [19:58:54]Read from MH i2c: E2 62 00 [19:58:54]MH_I2C_Read... [19:58:54]Read from MH i2c: E2 62 00 39 2C 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 8E 68 00 00 0E 04 04 00 39 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 FF [19:58: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 8E 68 00 00 0E 04 04 00 39 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 [19:58:54]wFMCommunicate OK [19:58:54]SAM_PROTO_GetFieldsCounters done [19:58:54]requested_item shift.num is exist - process it [19:58:54]requested_item shift.opened is exist - process it [19:58:54]req_shift_opened [19:58:54]FM_GetShiftState [19:58:54]SAM_PROTO_GetShiftState [19:58:54]wFMCommunicate request_size=4 [19:58:54]MH_SAM_APDU [19:58:54]CAPDU: 80 13 01 00 [19:58:54]Write to MH i2c: E2 08 00 3A 2C 80 13 01 00 00 00 00 00 E3 [19:58:54]Write i2c OK [19:58:54]MH_I2C_Read... [19:58:54]Read from MH i2c: E2 [19:58:54]MH_I2C_Read... [19:58:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:58:54]Read from MH i2c: E2 0E 00 [19:58:54]MH_I2C_Read... [19:58:54]Read from MH i2c: E2 0E 00 3A 2C 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 77 [19:58:54]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [19:58:54]wFMCommunicate OK [19:58:54]SAM_PROTO_GetShiftState done [19:58:54]FM_GetShiftState done [19:58:54]req_shift_opened done [19:58:54]requested_item shift.open_date is exist - process it [19:58:54]req_shift_open_date [19:58:54]req_shift_open_date done [19:58:54]produce_requested_data done [19:58:54]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26766,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [19:58:54]process_action_free close_receipt [19:58:54]json_value_free [19:58:54]json_value_free done [19:58:54]process_json_proto returns [19:58:54]Send response to host [19:58:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26766,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [19:58:54]free response buf [19:58:54]execute_script done [19:58:54]execute_script returns [19:58:54]free content buf [19:58:54]Sock 8.Close socket [19:58:54]Sock 8.Thread stoped [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:28]OFD Sender: No OFD packet to send [20:02:33]OFD Sender: No OFD packet to send [20:02:38]OFD Sender: No OFD packet to send [20:02:43]OFD Sender: No OFD packet to send [20:02:48]OFD Sender: No OFD packet to send [20:02:53]OFD Sender: No OFD packet to send [20:02:58]OFD Sender: No OFD packet to send [20:03:03]OFD Sender: No OFD packet to send [20:03:08]OFD Sender: No OFD packet to send [20:03:13]OFD Sender: No OFD packet to send [20:03:18]OFD Sender: No OFD packet to send [20:03:23]OFD Sender: No OFD packet to send [20:03:28]OFD Sender: No OFD packet to send [20:03:33]OFD Sender: No OFD packet to send [20:03:38]OFD Sender: No OFD packet to send [20:03:43]OFD Sender: No OFD packet to send [20:03:48]OFD Sender: No OFD packet to send [20:03:53]OFD Sender: No OFD packet to send [20:03:58]OFD Sender: No OFD packet to send [20:04:03]OFD Sender: No OFD packet to send [20:04:08]OFD Sender: No OFD packet to send [20:04:13]OFD Sender: No OFD packet to send [20:04:18]OFD Sender: No OFD packet to send [20:04:23]OFD Sender: No OFD packet to send [20:04:28]OFD Sender: No OFD packet to send [20:04:33]OFD Sender: No OFD packet to send [20:04:38]OFD Sender: No OFD packet to send [20:04:43]OFD Sender: No OFD packet to send [20:04:48]OFD Sender: No OFD packet to send [20:04:53]OFD Sender: No OFD packet to send [20:04:58]OFD Sender: No OFD packet to send [20:05:03]OFD Sender: No OFD packet to send [20:05:08]OFD Sender: No OFD packet to send [20:05:13]OFD Sender: No OFD packet to send [20:05:18]OFD Sender: No OFD packet to send [20:05:23]OFD Sender: No OFD packet to send [20:05:28]OFD Sender: No OFD packet to send [20:05:33]OFD Sender: No OFD packet to send [20:05:38]OFD Sender: No OFD packet to send [20:05:43]OFD Sender: No OFD packet to send [20:05:48]OFD Sender: No OFD packet to send [20:05:53]OFD Sender: No OFD packet to send [20:05:58]OFD Sender: No OFD packet to send [20:06:03]OFD Sender: No OFD packet to send [20:06:08]OFD Sender: No OFD packet to send [20:06:13]OFD Sender: No OFD packet to send [20:06:18]OFD Sender: No OFD packet to send [20:06:23]OFD Sender: No OFD packet to send [20:06:28]OFD Sender: No OFD packet to send [20:06:33]OFD Sender: No OFD packet to send [20:06:38]OFD Sender: No OFD packet to send [20:06:43]OFD Sender: No OFD packet to send [20:06:48]OFD Sender: No OFD packet to send [20:06:53]OFD Sender: No OFD packet to send [20:06:58]OFD Sender: No OFD packet to send [20:07:03]OFD Sender: No OFD packet to send [20:07:08]OFD Sender: No OFD packet to send [20:07:13]OFD Sender: No OFD packet to send [20:07:18]OFD Sender: No OFD packet to send [20:07:23]OFD Sender: No OFD packet to send [20:07:28]OFD Sender: No OFD packet to send [20:07:33]OFD Sender: No OFD packet to send [20:07:38]OFD Sender: No OFD packet to send [20:07:43]OFD Sender: No OFD packet to send [20:07:48]OFD Sender: No OFD packet to send [20:07:53]OFD Sender: No OFD packet to send [20:07:58]OFD Sender: No OFD packet to send [20:08:03]OFD Sender: No OFD packet to send [20:08:08]OFD Sender: No OFD packet to send [20:08:13]OFD Sender: No OFD packet to send [20:08:18]OFD Sender: No OFD packet to send [20:08:23]OFD Sender: No OFD packet to send [20:08:28]OFD Sender: No OFD packet to send [20:08:33]OFD Sender: No OFD packet to send [20:08:38]OFD Sender: No OFD packet to send [20:08:43]OFD Sender: No OFD packet to send [20:08:48]OFD Sender: No OFD packet to send [20:08:53]OFD Sender: No OFD packet to send [20:08:58]OFD Sender: No OFD packet to send [20:09:03]OFD Sender: No OFD packet to send [20:09:08]OFD Sender: No OFD packet to send [20:09:13]OFD Sender: No OFD packet to send [20:09:18]OFD Sender: No OFD packet to send [20:09:23]OFD Sender: No OFD packet to send [20:09:28]OFD Sender: No OFD packet to send [20:09:33]OFD Sender: No OFD packet to send [20:09:38]OFD Sender: No OFD packet to send [20:09:43]OFD Sender: No OFD packet to send [20:09:48]OFD Sender: No OFD packet to send [20:09:53]OFD Sender: No OFD packet to send [20:09:58]OFD Sender: No OFD packet to send [20:10:03]OFD Sender: No OFD packet to send [20:10:08]OFD Sender: No OFD packet to send [20:10:13]OFD Sender: No OFD packet to send [20:10:18]OFD Sender: No OFD packet to send [20:10:23]OFD Sender: No OFD packet to send [20:10:28]OFD Sender: No OFD packet to send [20:10:33]OFD Sender: No OFD packet to send [20:10:38]OFD Sender: No OFD packet to send [20:10:43]OFD Sender: No OFD packet to send [20:10:48]OFD Sender: No OFD packet to send [20:10:53]OFD Sender: No OFD packet to send [20:10:58]OFD Sender: No OFD packet to send [20:11:03]OFD Sender: No OFD packet to send [20:11:07]accept exits with 10 [20:11:07]New connection [20:11:07]New thread 3066871140 created [20:11:07]Thread 3067014500 joined [20:11:07]Waiting for new connection... [20:11:07] Sock 10.Parse request [20:11:07]Sock 10.Check first char [20:11:07]Sock 10.First char is OK [20:11:07]request: POST /json_proto HTTP/1.0 [20:11:07]Method: POST [20:11:07]URL: /json_proto [20:11:07]Method is POST - this is cgi request [20:11:07]url: /json_proto [20:11:07]query_string will be loaded in cgi processing [20:11:07]execute_cgi json_proto POST (null) [20:11:07]execute_cgi path=json_proto method=POST [20:11:07]POST find Content-Length [20:11:07]Host: 172.17.35.3:8080 [20:11:07]Content-Length: 817 [20:11:07]Content-Type: application/json [20:11:07] [20:11:07]POST finish read [20:11:07]Found Content-Length = 817 [20:11:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359510", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 10.810, "sum" : 685.35, "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" : 685.35 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:11:07]execute_script... [20:11: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 : (1)359510", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 10.810, "sum" : 685.35, "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" : 685.35 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:11:07]POST & json_proto [20:11:07]process_json_proto [20:11:07]json parsed OK: [20:11:07]protocol is kg_v1.0 [20:11:07]action value=close_receipt [20:11:07]process_action close_receipt [20:11:07]cmd_close_receipt [20:11:07]MH_GetDate [20:11:07]Write to MH i2c: F0 00 00 3B 2C 56 [20:11:07]Write i2c OK [20:11:07]MH_I2C_Read... [20:11:07]Read from MH i2c: F0 [20:11:07]MH_I2C_Read... [20:11:07]Read from MH i2c: F0 09 00 [20:11:07]MH_I2C_Read... [20:11:07]Read from MH i2c: F0 09 00 3B 2C 00 E6 FD 12 66 2B 11 66 64 C0 [20:11:07]GetLastDocTimeStamp 1712519940 [20:11:07]current date 1712520678 [20:11:07]FM_GetShiftState [20:11:07]SAM_PROTO_GetShiftState [20:11:07]wFMCommunicate request_size=4 [20:11:07]MH_SAM_APDU [20:11:07]CAPDU: 80 13 01 00 [20:11:07]Write to MH i2c: E2 08 00 3C 2C 80 13 01 00 00 00 00 00 E5 [20:11:07]Write i2c OK [20:11:07]MH_I2C_Read... [20:11:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:11:07]Read from MH i2c: E2 [20:11:07]MH_I2C_Read... [20:11:07]Read from MH i2c: E2 0E 00 [20:11:07]MH_I2C_Read... [20:11:07]Read from MH i2c: E2 0E 00 3C 2C 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 79 [20:11:07]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [20:11:07]wFMCommunicate OK [20:11:07]SAM_PROTO_GetShiftState done [20:11:07]FM_GetShiftState done [20:11:07]opened in 1712450087 [20:11:07]opened+sec_in_day 1712536487 [20:11:07]quantity*price = 68535 [20:11:07]sum+1 = 68536 [20:11:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 685.35 НСП 1% : 6.06 НДС 12% : 72.78 Наличными: 0.00 Безнал.: 685.35 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 66 07.04.2024 20:11 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000874657 ФД: 26767 ФПД: 242831107212070 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T201118&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26767&fm=242831107212070&tin=02508201610067®Number=0000000000091578&sum=68535 [20:11:08]StoreToDocumentArchive [20:11:08]shift 313 fd 26767 [20:11:08]save to /storage/0313/doc_00026767 [20:11:08]save last doc name /storage/0313/doc_00026767 to /storage/kkm_last_doc_name [20:11:08]save OK [20:11:08]Clear old archive folders... [20:11:08]ProcessDocumentItem done err = 0, tmpTLVsize=251 [20:11:08]tlvbuf is 00EC8B80 [20:11:08]SAM_PROTO_ClearQueue [20:11:08]wFMCommunicate request_size=4 [20:11:08]MH_SAM_APDU [20:11:08]CAPDU: 80 09 00 00 [20:11:08]Write to MH i2c: E2 08 00 49 2C 80 09 00 00 00 00 00 00 E7 [20:11:08]Write i2c OK [20:11:08]MH_I2C_Read... [20:11:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:11:09]Read from MH i2c: E2 [20:11:09]MH_I2C_Read... [20:11:09]Read from MH i2c: E2 03 00 [20:11:09]MH_I2C_Read... [20:11:09]Read from MH i2c: E2 03 00 49 2C 00 90 00 E9 [20:11:09]RAPDU: 90 00 [20:11:09]wFMCommunicate OK [20:11:09]SAM_PROTO_ClearQueue done [20:11:09]KKMCreateOFDPacket [20:11:09]OFDProtocolAddRootSTLVToBuf [20:11:09]FM_MakeSignedData [20:11:09]FM_MakeSignedData [20:11:09]SAM_PROTO_SignData [20:11:09]wFMCommunicate request_size=4 [20:11:09]MH_SAM_APDU [20:11:09]CAPDU: 80 0D 01 02 [20:11:09]Write to MH i2c: E2 08 00 4A 2C 80 0D 01 02 00 00 00 00 EF [20:11:09]Write i2c OK [20:11:09]MH_I2C_Read... [20:11:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:11:09]Read from MH i2c: E2 [20:11:09]MH_I2C_Read... [20:11:09]Read from MH i2c: E2 03 00 [20:11:09]MH_I2C_Read... [20:11:09]Read from MH i2c: E2 03 00 4A 2C 00 90 00 EA [20:11:09]RAPDU: 90 00 [20:11:09]wFMCommunicate OK [20:11:09]wFMCommunicate request_size=255 [20:11:09]MH_SAM_APDU [20:11:09]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 3A 2A 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 B7 0B 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B7 0B 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 1C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B7 0B 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 E6 FD 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 8F 68 00 00 35 04 06 00 DC [20:11:09]Write to MH i2c: E2 02 01 4B 2C 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 3A 2A 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 B7 0B 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B7 0B 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 1C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B7 0B 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 E6 FD 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 8F 68 00 00 35 04 06 00 DC 00 00 20 [20:11:09]Write i2c OK [20:11:09]MH_I2C_Read... [20:11:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:11:09]Read from MH i2c: E2 [20:11:09]MH_I2C_Read... [20:11:09]Read from MH i2c: E2 03 00 [20:11:09]MH_I2C_Read... [20:11:09]Read from MH i2c: E2 03 00 4B 2C 00 90 00 EB [20:11:09]RAPDU: 90 00 [20:11:09]wFMCommunicate OK [20:11:09]wFMCommunicate request_size=10 [20:11:09]MH_SAM_APDU [20:11:09]CAPDU: 80 0D 02 02 05 DA 85 E2 C3 26 [20:11:09]Write to MH i2c: E2 0D 00 4C 2C 80 0D 02 02 05 00 DA 85 E2 C3 26 00 00 26 [20:11:09]Write i2c OK [20:11:09]MH_I2C_Read... [20:11:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:11:09]Read from MH i2c: E2 [20:11:09]MH_I2C_Read... [20:11:09]Read from MH i2c: E2 03 00 [20:11:09]MH_I2C_Read... [20:11:09]Read from MH i2c: E2 03 00 4C 2C 00 90 00 EC [20:11:09]RAPDU: 90 00 [20:11:09]wFMCommunicate OK [20:11:09]wFMCommunicate request_size=4 [20:11:09]MH_SAM_APDU [20:11:09]CAPDU: 80 0D 03 02 [20:11:09]Write to MH i2c: E2 08 00 4D 2C 80 0D 03 02 00 00 00 00 F4 [20:11:09]Write i2c OK [20:11:09]MH_I2C_Read... [20:11:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:11:09]Read from MH i2c: E2 [20:11:09]MH_I2C_Read... [20:11:09]Read from MH i2c: E2 0B 00 [20:11:09]MH_I2C_Read... [20:11:09]Read from MH i2c: E2 0B 00 4D 2C 00 64 DB BD D1 32 56 98 F0 90 00 D2 [20:11:09]RAPDU: 64 DB BD D1 32 56 98 F0 90 00 [20:11:09]wFMCommunicate OK [20:11:09]SAM_PROTO_SignData done [20:11:09]FM_MakeSignedData done [20:11:09]CreateOFDProtocolMessage [20:11:09]wFMCommunicate request_size=4 [20:11:09]MH_SAM_APDU [20:11:09]CAPDU: 80 11 00 00 [20:11:09]Write to MH i2c: E2 08 00 4E 2C 80 11 00 00 00 00 00 00 F4 [20:11:09]Write i2c OK [20:11:09]MH_I2C_Read... [20:11:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:11:09]Read from MH i2c: E2 [20:11:09]MH_I2C_Read... [20:11:09]Read from MH i2c: E2 17 00 [20:11:09]MH_I2C_Read... [20:11:09]Read from MH i2c: E2 17 00 4E 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 4C [20:11:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [20:11:09]wFMCommunicate OK [20:11:09]CreateOFDProtocolMessage done [20:11:09]OFDSenderStorePacket 26767 [20:11:09]StoreOFDPacket docnum=26767 [20:11:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 16 CD 07 01 A5 AD 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 3A 2A 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 B7 0B 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B7 0B 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 1C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B7 0B 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 E6 FD 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 8F 68 00 00 35 04 06 00 DC DA 85 E2 C3 26 64 DB BD D1 32 56 98 F0 [20:11:09]CheckFolder [20:11:09]dirname=/storage/ofd_packets [20:11:09]CheckFolder done [20:11:09]ProducePacketName [20:11:09]name=ofd_packets/00026767 [20:11:09]NVStorageSaveData ofd_packets/00026767 [20:11:09]File name is /storage/ofd_packets/00026767 [20:11:09]Write 301 bytes [20:11:09]NVStorageSaveData done [20:11:09]OFDSenderStorePacket done [20:11:09]KKMCreateOFDPacket done [20:11:09]NVStorageSaveData kkm_last_timestamp [20:11:09]File name is /storage/kkm_last_timestamp [20:11:09]Write 4 bytes [20:11:09]NVStorageSaveData done [20:11:09]ExternCall_PrintAddStr [20:11:09]wPrintStart [20:11:09]Write to MH i2c: 01 00 00 4F 2C 7B [20:11:09]Write i2c OK [20:11:09]MH_I2C_Read... [20:11:09]Read from MH i2c: 01 [20:11:09]MH_I2C_Read... [20:11:09]Read from MH i2c: 01 07 00 [20:11:09]MH_I2C_Read... [20:11:09]Read from MH i2c: 01 07 00 4F 2C 00 00 00 00 00 FF 0F 90 [20:11:09]RasterBufferAndPrint [20:11:09]line Счет N : (1)359510 [20:11:09]line ИНН: 02508201610067 [20:11:09]line Контрольно-Кассовый Чек [20:11:09]line ПРОДАЖА [20:11:09]line ТРК (МРК, ГНК) : 61 [20:11:09]line Товар: 2710124130 [20:11:09]line Аи-92-К-5 [20:11:09]line 10.810 * 63.40 [20:11:09]line = 685.35 [20:11:09]line НДС 12% НСП 1% [20:11:09]line > о реализуемом товаре [20:11:09]line ИТОГО: 685.35 [20:11:09]line НСП 1% : 6.06 [20:11:09]line НДС 12% : 72.78 [20:11:09]line Наличными: 0.00 [20:11:09]line Безнал.: 685.35 [20:11:09]line Место: АЗС № 122 "Партнер Нефть" [20:11:09]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [20:11:09]line СНО: Общий режим [20:11:09]line Чек 66 07.04.2024 20:11 [20:11:09]line Смена: 313 ФФД: 1.0 [20:11:09]line ЗНМ: 0300000147 [20:11:09]line РНМ: 0000000000091578 [20:11:09]line Версия ККМ: 001 [20:11:09]line Платежная система: Бакай Банк [20:11:09]line ФМ: 0000000000874657 [20:11:09]line ФД: 26767 [20:11:09]line ФПД: 242831107212070 [20:11:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T201118&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26767&fm=242831107212070&tin=02508201610067®Number=0000000000091578&sum=68535 [20:11:09]OFD Sender: Processing packet 26767 [packets to send 44, broken 43] [20:11:09]ProducePacketName [20:11:09]name=ofd_packets/00026767 [20:11:09]OFD Sender: To server: pG, [20:11:09]CommunicateWithHost lk.salyk.kg:30040 [20:11:09]ConnectInit lk.salyk.kg [20:11:09]written 0, free lines is 4095 [20:11:09]Connected sock=9 [20:11: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 36 35 37 0F 01 00 00 16 CD 07 01 A5 AD 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 3A 2A 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 B7 0B 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B7 0B 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 1C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B7 0B 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 E6 FD 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 8F 68 00 00 35 04 06 00 DC DA 85 E2 C3 26 64 DB BD D1 32 56 98 F0 [20: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 36 35 37 4F 00 00 00 FF 82 47 00 E4 CE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 8F 68 00 00 F4 03 04 00 52 A5 12 66 B6 04 01 00 00 51 86 11 71 59 31 8D F1 [20:11:10]CommunicateWithHost err = 0 [20:11:10]CheckOFDResponse [20:11:10]1017 (14) - 77093643461234 [20:11:10]1041 (16) - 0000000000874657 [20:11:10]1040 (4) - 26767 [20:11:10]1012 (4) - 07.04.2024 13:53 [20:11:10]1206 (1) - 0 [20:11:10]OFD Sender: Remove packet 26767 [20:11:10]ProducePacketName [20:11:10]name=ofd_packets/00026767 [20:11:10]NVStorageDeleteData [20:11:10]Write to MH i2c: 01 00 00 79 2C A5 [20:11:10]Write i2c OK [20:11:10]MH_I2C_Read... [20:11:10]Read from MH i2c: 01 [20:11:10]MH_I2C_Read... [20:11:10]Read from MH i2c: 01 07 00 [20:11:10]MH_I2C_Read... [20:11:10]Read from MH i2c: 01 07 00 79 2C 00 00 00 00 00 83 0C 3B [20:11:10]RasterBufferAndPrint [20:11:10]line [20:11:10]line [20:11:10]line [20:11:10]line [20:11:10]line [20:11:10]written 0, free lines is 3207 [20:11:10]MH_Cut [20:11:10]Write to MH i2c: D1 01 00 80 2C 01 7E [20:11:10]Write i2c OK [20:11:10]MH_I2C_Read... [20:11:10]Read from MH i2c: D1 [20:11:10]MH_I2C_Read... [20:11:10]Read from MH i2c: D1 01 00 [20:11:10]MH_I2C_Read... [20:11:10]Read from MH i2c: D1 01 00 80 2C 00 7D [20:11:10]Write to MH i2c: 01 00 00 81 2C AD [20:11:10]Write i2c OK [20:11:10]MH_I2C_Read... [20:11:10]OFD Sender: No OFD packet to send [20:11:11]*** Cut start [20:11:11]*** Partial cut [20:11:11]*** CUTSNS_PIN = 1 [20:11:11]*** CUTSNS_PIN = 0 [20:11:11]*** Brake cut motor [20:11:12]Read from MH i2c: 01 [20:11:12]MH_I2C_Read... [20:11:12]*** Stop cut motor [20:11:12]*** Cut end [20:11:12]Read from MH i2c: 01 07 00 [20:11:12]MH_I2C_Read... [20:11:12]Read from MH i2c: 01 07 00 81 2C 00 00 00 00 00 FF 0F C2 [20:11:12]process_action close_receipt done [20:11:12]requested_data is exist [20:11:12]produce_requested_data [20:11:12]requested_item fm.sn is exist - process it [20:11:12]wFMCommunicate request_size=4 [20:11:12]MH_SAM_APDU [20:11:12]CAPDU: 80 11 00 00 [20:11:12]Write to MH i2c: E2 08 00 82 2C 80 11 00 00 00 00 00 00 28 [20:11:12]Write i2c OK [20:11:12]MH_I2C_Read... [20:11:12]Read from MH i2c: E2 [20:11:12]MH_I2C_Read... [20:11:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:11:12]Read from MH i2c: E2 17 00 [20:11:12]MH_I2C_Read... [20:11:12]Read from MH i2c: E2 17 00 82 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 80 [20:11:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [20:11:12]wFMCommunicate OK [20:11:12]requested_item fd.num is exist - process it [20:11:12]SAM_PROTO_GetFieldsCounters [20:11:12]wFMCommunicate request_size=4 [20:11:12]MH_SAM_APDU [20:11:12]CAPDU: 80 13 00 00 [20:11:12]Write to MH i2c: E2 08 00 83 2C 80 13 00 00 00 00 00 00 2B [20:11:12]Write i2c OK [20:11:12]MH_I2C_Read... [20:11:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:11:12]Read from MH i2c: E2 [20:11:12]MH_I2C_Read... [20:11:12]Read from MH i2c: E2 62 00 [20:11:12]MH_I2C_Read... [20:11:12]Read from MH i2c: E2 62 00 83 2C 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 8F 68 00 00 0E 04 04 00 39 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 4D [20: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 8F 68 00 00 0E 04 04 00 39 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 [20:11:12]wFMCommunicate OK [20:11:12]SAM_PROTO_GetFieldsCounters done [20:11:12]requested_item shift.num is exist - process it [20:11:12]requested_item shift.opened is exist - process it [20:11:12]req_shift_opened [20:11:12]FM_GetShiftState [20:11:12]SAM_PROTO_GetShiftState [20:11:12]wFMCommunicate request_size=4 [20:11:12]MH_SAM_APDU [20:11:12]CAPDU: 80 13 01 00 [20:11:12]Write to MH i2c: E2 08 00 84 2C 80 13 01 00 00 00 00 00 2D [20:11:12]Write i2c OK [20:11:12]MH_I2C_Read... [20:11:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:11:12]Read from MH i2c: E2 [20:11:12]MH_I2C_Read... [20:11:12]Read from MH i2c: E2 0E 00 [20:11:12]MH_I2C_Read... [20:11:12]Read from MH i2c: E2 0E 00 84 2C 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 C1 [20:11:12]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [20:11:12]wFMCommunicate OK [20:11:12]SAM_PROTO_GetShiftState done [20:11:12]FM_GetShiftState done [20:11:12]req_shift_opened done [20:11:12]requested_item shift.open_date is exist - process it [20:11:12]req_shift_open_date [20:11:12]req_shift_open_date done [20:11:12]produce_requested_data done [20:11:12]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26767,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [20:11:12]process_action_free close_receipt [20:11:12]json_value_free [20:11:12]json_value_free done [20:11:12]process_json_proto returns [20:11:12]Send response to host [20:11:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26767,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [20:11:12]free response buf [20:11:12]execute_script done [20:11:12]execute_script returns [20:11:12]free content buf [20:11:12]Sock 10.Close socket [20:11:12]Sock 10.Thread stoped [20:11:15]OFD Sender: No OFD packet to send [20:11:20]OFD Sender: No OFD packet to send [20:11:25]OFD Sender: No OFD packet to send [20:11:30]OFD Sender: No OFD packet to send [20:11:35]OFD Sender: No OFD packet to send [20:11:40]OFD Sender: No OFD packet to send [20:11:45]OFD Sender: No OFD packet to send [20:11:50]OFD Sender: No OFD packet to send [20:11:55]OFD Sender: No OFD packet to send [20:12:00]OFD Sender: No OFD packet to send [20:12:05]OFD Sender: No OFD packet to send [20:12:10]OFD Sender: No OFD packet to send [20:12:15]OFD Sender: No OFD packet to send [20:12:20]OFD Sender: No OFD packet to send [20:12:25]OFD Sender: No OFD packet to send [20:12:30]OFD Sender: No OFD packet to send [20:12:35]OFD Sender: No OFD packet to send [20:12:40]OFD Sender: No OFD packet to send [20:12:45]OFD Sender: No OFD packet to send [20:12:50]OFD Sender: No OFD packet to send [20:12:55]OFD Sender: No OFD packet to send [20:13:00]OFD Sender: No OFD packet to send [20:13:05]OFD Sender: No OFD packet to send [20:13:10]OFD Sender: No OFD packet to send [20:13:15]OFD Sender: No OFD packet to send [20:13:20]OFD Sender: No OFD packet to send [20:13:25]OFD Sender: No OFD packet to send [20:13:30]OFD Sender: No OFD packet to send [20:13:35]OFD Sender: No OFD packet to send [20:13:40]OFD Sender: No OFD packet to send [20:13:44]accept exits with 8 [20:13:44]New connection [20:13:44]New thread 3067014500 created [20:13:44]Thread 3066871140 joined [20:13:44]Waiting for new connection... [20:13:44] Sock 8.Parse request [20:13:44]Sock 8.Check first char [20:13:44]Sock 8.First char is OK [20:13:44]request: POST /json_proto HTTP/1.0 [20:13:44]Method: POST [20:13:44]URL: /json_proto [20:13:44]Method is POST - this is cgi request [20:13:44]url: /json_proto [20:13:44]query_string will be loaded in cgi processing [20:13:44]execute_cgi json_proto POST (null) [20:13:44]execute_cgi path=json_proto method=POST [20:13:44]POST find Content-Length [20:13:44]Host: 172.17.35.3:8080 [20:13:44]Content-Length: 682 [20:13:44]Content-Type: application/json [20:13:44] [20:13:44]POST finish read [20:13:44]Found Content-Length = 682 [20:13:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359511", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 6.970, "sum" : 500.45, "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" ] } } [20:13:44]execute_script... [20:13: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)359511", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 6.970, "sum" : 500.45, "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" ] } } [20:13:44]POST & json_proto [20:13:44]process_json_proto [20:13:44]json parsed OK: [20:13:44]protocol is kg_v1.0 [20:13:44]action value=close_receipt [20:13:44]process_action close_receipt [20:13:44]cmd_close_receipt [20:13:44]MH_GetDate [20:13:44]Write to MH i2c: F0 00 00 85 2C A0 [20:13:44]Write i2c OK [20:13:44]MH_I2C_Read... [20:13:44]Read from MH i2c: F0 [20:13:44]MH_I2C_Read... [20:13:44]Read from MH i2c: F0 09 00 [20:13:44]MH_I2C_Read... [20:13:44]Read from MH i2c: F0 09 00 85 2C 00 83 FE 12 66 2B 11 66 64 A8 [20:13:44]GetLastDocTimeStamp 1712520678 [20:13:44]current date 1712520835 [20:13:44]FM_GetShiftState [20:13:44]SAM_PROTO_GetShiftState [20:13:44]wFMCommunicate request_size=4 [20:13:44]MH_SAM_APDU [20:13:44]CAPDU: 80 13 01 00 [20:13:44]Write to MH i2c: E2 08 00 86 2C 80 13 01 00 00 00 00 00 2F [20:13:44]Write i2c OK [20:13:44]MH_I2C_Read... [20:13:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:13:44]Read from MH i2c: E2 [20:13:44]MH_I2C_Read... [20:13:44]Read from MH i2c: E2 0E 00 [20:13:44]MH_I2C_Read... [20:13:44]Read from MH i2c: E2 0E 00 86 2C 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 C3 [20:13:44]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [20:13:44]wFMCommunicate OK [20:13:44]SAM_PROTO_GetShiftState done [20:13:44]FM_GetShiftState done [20:13:44]opened in 1712450087 [20:13:44]opened+sec_in_day 1712536487 [20:13:44]quantity*price = 50044 [20:13:44]sum+1 = 50046 [20:13:44]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.45 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.14 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 67 07.04.2024 20:13 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26768 ФПД: 9118185081905 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T201355&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26768&fm=9118185081905&tin=02508201610067®Number=0000000000091578&sum=50000 [20:13:46]StoreToDocumentArchive [20:13:46]shift 313 fd 26768 [20:13:46]save to /storage/0313/doc_00026768 [20:13:46]save last doc name /storage/0313/doc_00026768 to /storage/kkm_last_doc_name [20:13:46]save OK [20:13:46]Clear old archive folders... [20:13:46]ProcessDocumentItem done err = 0, tmpTLVsize=252 [20:13:46]tlvbuf is 00E93100 [20:13:46]SAM_PROTO_ClearQueue [20:13:46]wFMCommunicate request_size=4 [20:13:46]MH_SAM_APDU [20:13:46]CAPDU: 80 09 00 00 [20:13:46]Write to MH i2c: E2 08 00 93 2C 80 09 00 00 00 00 00 00 31 [20:13:46]Write i2c OK [20:13:46]MH_I2C_Read... [20:13:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:13:46]Read from MH i2c: E2 [20:13:46]MH_I2C_Read... [20:13:46]Read from MH i2c: E2 03 00 [20:13:46]MH_I2C_Read... [20:13:46]Read from MH i2c: E2 03 00 93 2C 00 90 00 33 [20:13:46]RAPDU: 90 00 [20:13:46]wFMCommunicate OK [20:13:46]SAM_PROTO_ClearQueue done [20:13:46]KKMCreateOFDPacket [20:13:46]OFDProtocolAddRootSTLVToBuf [20:13:46]FM_MakeSignedData [20:13:46]FM_MakeSignedData [20:13:46]SAM_PROTO_SignData [20:13:46]wFMCommunicate request_size=4 [20:13:46]MH_SAM_APDU [20:13:46]CAPDU: 80 0D 01 02 [20:13:46]Write to MH i2c: E2 08 00 94 2C 80 0D 01 02 00 00 00 00 39 [20:13:46]Write i2c OK [20:13:46]MH_I2C_Read... [20:13:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:13:46]Read from MH i2c: E2 [20:13:46]MH_I2C_Read... [20:13:46]Read from MH i2c: E2 03 00 [20:13:46]MH_I2C_Read... [20:13:46]Read from MH i2c: E2 03 00 94 2C 00 90 00 34 [20:13:46]RAPDU: 90 00 [20:13:46]wFMCommunicate OK [20:13:46]wFMCommunicate request_size=255 [20:13:46]MH_SAM_APDU [20:13:46]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 3A 1B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 7D C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 83 FE 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 90 68 00 00 35 04 06 00 [20:13:46]Write to MH i2c: E2 02 01 95 2C 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 3A 1B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 7D C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 83 FE 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 90 68 00 00 35 04 06 00 00 00 6B [20:13:46]Write i2c OK [20:13:46]MH_I2C_Read... [20:13:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:13:46]Read from MH i2c: E2 [20:13:46]MH_I2C_Read... [20:13:46]Read from MH i2c: E2 03 00 [20:13:46]MH_I2C_Read... [20:13:46]Read from MH i2c: E2 03 00 95 2C 00 90 00 35 [20:13:46]RAPDU: 90 00 [20:13:46]wFMCommunicate OK [20:13:46]wFMCommunicate request_size=11 [20:13:46]MH_SAM_APDU [20:13:46]CAPDU: 80 0D 02 02 06 08 4A FE 2E CC 31 [20:13:46]Write to MH i2c: E2 0E 00 96 2C 80 0D 02 02 06 00 08 4A FE 2E CC 31 00 00 C3 [20:13:46]Write i2c OK [20:13:46]MH_I2C_Read... [20:13:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:13:46]Read from MH i2c: E2 [20:13:46]MH_I2C_Read... [20:13:46]Read from MH i2c: E2 03 00 [20:13:46]MH_I2C_Read... [20:13:46]Read from MH i2c: E2 03 00 96 2C 00 90 00 36 [20:13:46]RAPDU: 90 00 [20:13:46]wFMCommunicate OK [20:13:46]wFMCommunicate request_size=4 [20:13:46]MH_SAM_APDU [20:13:46]CAPDU: 80 0D 03 02 [20:13:46]Write to MH i2c: E2 08 00 97 2C 80 0D 03 02 00 00 00 00 3E [20:13:46]Write i2c OK [20:13:46]MH_I2C_Read... [20:13:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:13:46]Read from MH i2c: E2 [20:13:46]MH_I2C_Read... [20:13:46]Read from MH i2c: E2 0B 00 [20:13:46]MH_I2C_Read... [20:13:46]Read from MH i2c: E2 0B 00 97 2C 00 08 D1 CC A7 56 12 EF 29 90 00 0B [20:13:46]RAPDU: 08 D1 CC A7 56 12 EF 29 90 00 [20:13:46]wFMCommunicate OK [20:13:46]SAM_PROTO_SignData done [20:13:46]FM_MakeSignedData done [20:13:46]CreateOFDProtocolMessage [20:13:46]wFMCommunicate request_size=4 [20:13:46]MH_SAM_APDU [20:13:46]CAPDU: 80 11 00 00 [20:13:46]Write to MH i2c: E2 08 00 98 2C 80 11 00 00 00 00 00 00 3E [20:13:46]Write i2c OK [20:13:46]MH_I2C_Read... [20:13:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:13:46]Read from MH i2c: E2 [20:13:46]MH_I2C_Read... [20:13:46]Read from MH i2c: E2 17 00 [20:13:46]MH_I2C_Read... [20:13:46]Read from MH i2c: E2 17 00 98 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 96 [20:13:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [20:13:46]wFMCommunicate OK [20:13:46]CreateOFDProtocolMessage done [20:13:46]OFDSenderStorePacket 26768 [20:13:46]StoreOFDPacket docnum=26768 [20:13:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 94 9F 08 01 27 12 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 3A 1B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 7D C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 83 FE 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 90 68 00 00 35 04 06 00 08 4A FE 2E CC 31 08 D1 CC A7 56 12 EF 29 [20:13:46]CheckFolder [20:13:46]dirname=/storage/ofd_packets [20:13:46]CheckFolder done [20:13:46]ProducePacketName [20:13:46]name=ofd_packets/00026768 [20:13:46]NVStorageSaveData ofd_packets/00026768 [20:13:46]File name is /storage/ofd_packets/00026768 [20:13:46]Write 302 bytes [20:13:46]NVStorageSaveData done [20:13:46]OFDSenderStorePacket done [20:13:46]KKMCreateOFDPacket done [20:13:46]NVStorageSaveData kkm_last_timestamp [20:13:46]File name is /storage/kkm_last_timestamp [20:13:46]Write 4 bytes [20:13:46]NVStorageSaveData done [20:13:46]ExternCall_PrintAddStr [20:13:46]wPrintStart [20:13:46]Write to MH i2c: 01 00 00 99 2C C5 [20:13:46]Write i2c OK [20:13:46]MH_I2C_Read... [20:13:46]Read from MH i2c: 01 [20:13:46]MH_I2C_Read... [20:13:46]Read from MH i2c: 01 07 00 [20:13:46]MH_I2C_Read... [20:13:46]Read from MH i2c: 01 07 00 99 2C 00 00 00 00 00 FF 0F DA [20:13:46]RasterBufferAndPrint [20:13:46]line Счет N : (1)359511 [20:13:46]line ИНН: 02508201610067 [20:13:46]line Контрольно-Кассовый Чек [20:13:46]line ПРОДАЖА [20:13:46]line ТРК (МРК, ГНК) : 21 [20:13:46]line Товар: 2710194210 [20:13:46]line ДТ(л)-К-5 [20:13:46]line 6.970 * 71.80 [20:13:46]line = 500.45 [20:13:46]line НДС 12% НСП 1% [20:13:46]line > о реализуемом товаре [20:13:46]line ОКРУГЛЕНИЕ: -0.45 [20:13:46]line ИТОГО: 500.00 [20:13:46]line Внесено: 500.00 [20:13:46]line СДАЧА: 0.00 [20:13:46]line НСП 1% : 4.43 [20:13:46]line НДС 12% : 53.14 [20:13:46]line Наличными: 500.00 [20:13:46]line Безнал.: 0.00 [20:13:46]line Место: АЗС № 122 "Партнер Нефть" [20:13:46]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [20:13:46]line СНО: Общий режим [20:13:46]line Чек 67 07.04.2024 20:13 [20:13:46]line Смена: 313 ФФД: 1.0 [20:13:46]line ЗНМ: 0300000147 [20:13:46]line РНМ: 0000000000091578 [20:13:46]line Версия ККМ: 001 [20:13:46]line ФМ: 0000000000874657 [20:13:46]line ФД: 26768 [20:13:46]line ФПД: 9118185081905 [20:13:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T201355&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26768&fm=9118185081905&tin=02508201610067®Number=0000000000091578&sum=50000 [20:13:46]OFD Sender: Processing packet 26768 [packets to send 44, broken 43] [20:13:46]ProducePacketName [20:13:46]name=ofd_packets/00026768 [20:13:46]OFD Sender: To server: pG, [20:13:46]CommunicateWithHost lk.salyk.kg:30040 [20:13:46]ConnectInit lk.salyk.kg [20:13:46]written 0, free lines is 4095 [20:13:46]Connected sock=10 [20:13: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 36 35 37 10 01 00 00 94 9F 08 01 27 12 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 3A 1B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 7D C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 83 FE 12 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 90 68 00 00 35 04 06 00 08 4A FE 2E CC 31 08 D1 CC A7 56 12 EF 29 [20:13:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 B4 EE 47 00 AA 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 36 35 37 10 04 04 00 90 68 00 00 F4 03 04 00 F0 A5 12 66 B6 04 01 00 00 EC A0 10 26 05 49 2E 15 [20:13:47]CommunicateWithHost err = 0 [20:13:47]CheckOFDResponse [20:13:47]1017 (14) - 77093643461234 [20:13:47]1041 (16) - 0000000000874657 [20:13:47]1040 (4) - 26768 [20:13:47]1012 (4) - 07.04.2024 13:56 [20:13:47]1206 (1) - 0 [20:13:47]OFD Sender: Remove packet 26768 [20:13:47]ProducePacketName [20:13:47]name=ofd_packets/00026768 [20:13:47]NVStorageDeleteData [20:13:47]Write to MH i2c: 01 00 00 C4 2C F0 [20:13:47]Write i2c OK [20:13:47]MH_I2C_Read... [20:13:47]Read from MH i2c: 01 [20:13:47]MH_I2C_Read... [20:13:47]Read from MH i2c: 01 07 00 [20:13:47]MH_I2C_Read... [20:13:47]Read from MH i2c: 01 07 00 C4 2C 00 00 00 00 00 6D 0C 70 [20:13:47]RasterBufferAndPrint [20:13:47]line [20:13:47]line [20:13:47]line [20:13:47]line [20:13:47]line [20:13:47]written 0, free lines is 3184 [20:13:47]MH_Cut [20:13:47]Write to MH i2c: D1 01 00 CB 2C 01 C9 [20:13:47]Write i2c OK [20:13:47]MH_I2C_Read... [20:13:47]Read from MH i2c: D1 [20:13:47]MH_I2C_Read... [20:13:47]Read from MH i2c: D1 01 00 [20:13:47]MH_I2C_Read... [20:13:47]Read from MH i2c: D1 01 00 CB 2C 00 C8 [20:13:47]Write to MH i2c: 01 00 00 CC 2C F8 [20:13:47]Write i2c OK [20:13:47]MH_I2C_Read... [20:13:47]OFD Sender: No OFD packet to send [20:13:48]*** Cut start [20:13:48]*** Partial cut [20:13:48]*** CUTSNS_PIN = 1 [20:13:48]*** CUTSNS_PIN = 0 [20:13:48]*** Brake cut motor [20:13:49]Read from MH i2c: 01 [20:13:49]MH_I2C_Read... [20:13:49]*** Stop cut motor [20:13:49]*** Cut end [20:13:49]Read from MH i2c: 01 07 00 [20:13:49]MH_I2C_Read... [20:13:49]Read from MH i2c: 01 07 00 CC 2C 00 00 00 00 00 FF 0F 0D [20:13:49]process_action close_receipt done [20:13:49]requested_data is exist [20:13:49]produce_requested_data [20:13:49]requested_item fm.sn is exist - process it [20:13:49]wFMCommunicate request_size=4 [20:13:49]MH_SAM_APDU [20:13:49]CAPDU: 80 11 00 00 [20:13:49]Write to MH i2c: E2 08 00 CD 2C 80 11 00 00 00 00 00 00 73 [20:13:49]Write i2c OK [20:13:49]MH_I2C_Read... [20:13:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:13:49]Read from MH i2c: E2 [20:13:49]MH_I2C_Read... [20:13:49]Read from MH i2c: E2 17 00 [20:13:49]MH_I2C_Read... [20:13:49]Read from MH i2c: E2 17 00 CD 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 CB [20:13:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [20:13:49]wFMCommunicate OK [20:13:49]requested_item fd.num is exist - process it [20:13:49]SAM_PROTO_GetFieldsCounters [20:13:49]wFMCommunicate request_size=4 [20:13:49]MH_SAM_APDU [20:13:49]CAPDU: 80 13 00 00 [20:13:49]Write to MH i2c: E2 08 00 CE 2C 80 13 00 00 00 00 00 00 76 [20:13:49]Write i2c OK [20:13:49]MH_I2C_Read... [20:13:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:13:49]Read from MH i2c: E2 [20:13:49]MH_I2C_Read... [20:13:49]Read from MH i2c: E2 62 00 [20:13:49]MH_I2C_Read... [20:13:49]Read from MH i2c: E2 62 00 CE 2C 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 90 68 00 00 0E 04 04 00 39 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 9C [20:13: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 90 68 00 00 0E 04 04 00 39 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 [20:13:49]wFMCommunicate OK [20:13:49]SAM_PROTO_GetFieldsCounters done [20:13:49]requested_item shift.num is exist - process it [20:13:49]requested_item shift.opened is exist - process it [20:13:49]req_shift_opened [20:13:49]FM_GetShiftState [20:13:49]SAM_PROTO_GetShiftState [20:13:49]wFMCommunicate request_size=4 [20:13:49]MH_SAM_APDU [20:13:49]CAPDU: 80 13 01 00 [20:13:49]Write to MH i2c: E2 08 00 CF 2C 80 13 01 00 00 00 00 00 78 [20:13:49]Write i2c OK [20:13:49]MH_I2C_Read... [20:13:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:13:49]Read from MH i2c: E2 [20:13:49]MH_I2C_Read... [20:13:49]Read from MH i2c: E2 0E 00 [20:13:49]MH_I2C_Read... [20:13:49]Read from MH i2c: E2 0E 00 CF 2C 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 0C [20:13:49]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [20:13:49]wFMCommunicate OK [20:13:49]SAM_PROTO_GetShiftState done [20:13:49]FM_GetShiftState done [20:13:49]req_shift_opened done [20:13:49]requested_item shift.open_date is exist - process it [20:13:49]req_shift_open_date [20:13:49]req_shift_open_date done [20:13:49]produce_requested_data done [20:13:49]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26768,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [20:13:49]process_action_free close_receipt [20:13:49]json_value_free [20:13:49]json_value_free done [20:13:49]process_json_proto returns [20:13:49]Send response to host [20:13:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26768,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [20:13:49]free response buf [20:13:49]execute_script done [20:13:49]execute_script returns [20:13:49]free content buf [20:13:49]Sock 8.Close socket [20:13:49]Sock 8.Thread stoped [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:42]OFD Sender: No OFD packet to send [20:15:47]OFD Sender: No OFD packet to send [20:15:52]OFD Sender: No OFD packet to send [20:15:57]OFD Sender: No OFD packet to send [20:16:02]OFD Sender: No OFD packet to send [20:16:07]OFD Sender: No OFD packet to send [20:16:12]OFD Sender: No OFD packet to send [20:16:17]OFD Sender: No OFD packet to send [20:16:22]OFD Sender: No OFD packet to send [20:16:27]OFD Sender: No OFD packet to send [20:16:32]OFD Sender: No OFD packet to send [20:16:37]OFD Sender: No OFD packet to send [20:16:42]OFD Sender: No OFD packet to send [20:16:47]OFD Sender: No OFD packet to send [20:16:52]OFD Sender: No OFD packet to send [20:16:57]OFD Sender: No OFD packet to send [20:17:02]OFD Sender: No OFD packet to send [20:17:07]OFD Sender: No OFD packet to send [20:17:12]OFD Sender: No OFD packet to send [20:17:17]OFD Sender: No OFD packet to send [20:17:22]OFD Sender: No OFD packet to send [20:17:27]OFD Sender: No OFD packet to send [20:17:32]OFD Sender: No OFD packet to send [20:17:37]OFD Sender: No OFD packet to send [20:17:42]OFD Sender: No OFD packet to send [20:17:47]OFD Sender: No OFD packet to send [20:17:52]OFD Sender: No OFD packet to send [20:17:57]OFD Sender: No OFD packet to send [20:18:02]OFD Sender: No OFD packet to send [20:18:07]OFD Sender: No OFD packet to send [20:18:12]OFD Sender: No OFD packet to send [20:18:17]OFD Sender: No OFD packet to send [20:18:22]OFD Sender: No OFD packet to send [20:18:27]OFD Sender: No OFD packet to send [20:18:32]OFD Sender: No OFD packet to send [20:18:37]OFD Sender: No OFD packet to send [20:18:42]OFD Sender: No OFD packet to send [20:18:47]OFD Sender: No OFD packet to send [20:18:52]OFD Sender: No OFD packet to send [20:18:57]OFD Sender: No OFD packet to send [20:19:02]OFD Sender: No OFD packet to send [20:19:07]OFD Sender: No OFD packet to send [20:19:12]OFD Sender: No OFD packet to send [20:19:17]OFD Sender: No OFD packet to send [20:19:22]OFD Sender: No OFD packet to send [20:19:27]OFD Sender: No OFD packet to send [20:19:32]OFD Sender: No OFD packet to send [20:19:37]OFD Sender: No OFD packet to send [20:19:42]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:14]accept exits with 9 [20:26:14]New connection [20:26:14]New thread 3066871140 created [20:26:14]Thread 3067014500 joined [20:26:14]Waiting for new connection... [20:26:14] Sock 9.Parse request [20:26:14]Sock 9.Check first char [20:26:14]Sock 9.First char is OK [20:26:14]request: POST /json_proto HTTP/1.0 [20:26:14]Method: POST [20:26:14]URL: /json_proto [20:26:14]Method is POST - this is cgi request [20:26:14]url: /json_proto [20:26:14]query_string will be loaded in cgi processing [20:26:14]execute_cgi json_proto POST (null) [20:26:14]execute_cgi path=json_proto method=POST [20:26:14]POST find Content-Length [20:26:14]Host: 172.17.35.3:8080 [20:26:14]Content-Length: 816 [20:26:14]Content-Type: application/json [20:26:14] [20:26:14]POST finish read [20:26:14]Found Content-Length = 816 [20:26:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359512", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 71.90, "quantity" : 6.960, "sum" : 500.42, "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" : 500.42 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:26:14]execute_script... [20:26: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 : (1)359512", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 71.90, "quantity" : 6.960, "sum" : 500.42, "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" : 500.42 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:26:14]POST & json_proto [20:26:14]process_json_proto [20:26:14]json parsed OK: [20:26:14]protocol is kg_v1.0 [20:26:14]action value=close_receipt [20:26:14]process_action close_receipt [20:26:14]cmd_close_receipt [20:26:14]MH_GetDate [20:26:14]Write to MH i2c: F0 00 00 D0 2C EB [20:26:14]Write i2c OK [20:26:14]MH_I2C_Read... [20:26:14]Read from MH i2c: F0 [20:26:14]MH_I2C_Read... [20:26:14]Read from MH i2c: F0 09 00 [20:26:14]MH_I2C_Read... [20:26:14]Read from MH i2c: F0 09 00 D0 2C 00 71 01 13 66 2B 11 66 64 E5 [20:26:14]GetLastDocTimeStamp 1712520835 [20:26:14]current date 1712521585 [20:26:14]FM_GetShiftState [20:26:14]SAM_PROTO_GetShiftState [20:26:14]wFMCommunicate request_size=4 [20:26:14]MH_SAM_APDU [20:26:14]CAPDU: 80 13 01 00 [20:26:14]Write to MH i2c: E2 08 00 D1 2C 80 13 01 00 00 00 00 00 7A [20:26:14]Write i2c OK [20:26:14]MH_I2C_Read... [20:26:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:26:14]Read from MH i2c: E2 [20:26:14]MH_I2C_Read... [20:26:14]Read from MH i2c: E2 0E 00 [20:26:14]MH_I2C_Read... [20:26:14]Read from MH i2c: E2 0E 00 D1 2C 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 0E [20:26:14]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [20:26:14]wFMCommunicate OK [20:26:14]SAM_PROTO_GetShiftState done [20:26:14]FM_GetShiftState done [20:26:14]opened in 1712450087 [20:26:14]opened+sec_in_day 1712536487 [20:26:14]quantity*price = 50042 [20:26:14]sum+1 = 50043 [20:26:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 500.42 НСП 1% : 4.43 НДС 12% : 53.14 Наличными: 0.00 Безнал.: 500.42 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 68 07.04.2024 20:26 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000874657 ФД: 26769 ФПД: 103169555396304 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T202625&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26769&fm=103169555396304&tin=02508201610067®Number=0000000000091578&sum=50042 [20:26:16]StoreToDocumentArchive [20:26:16]shift 313 fd 26769 [20:26:16]save to /storage/0313/doc_00026769 [20:26:16]save last doc name /storage/0313/doc_00026769 to /storage/kkm_last_doc_name [20:26:16]save OK [20:26:16]Clear old archive folders... [20:26:16]ProcessDocumentItem done err = 0, tmpTLVsize=251 [20:26:16]tlvbuf is B6F64150 [20:26:16]SAM_PROTO_ClearQueue [20:26:16]wFMCommunicate request_size=4 [20:26:16]MH_SAM_APDU [20:26:16]CAPDU: 80 09 00 00 [20:26:16]Write to MH i2c: E2 08 00 DE 2C 80 09 00 00 00 00 00 00 7C [20:26:16]Write i2c OK [20:26:16]MH_I2C_Read... [20:26:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:26:16]Read from MH i2c: E2 [20:26:16]MH_I2C_Read... [20:26:16]Read from MH i2c: E2 03 00 [20:26:16]MH_I2C_Read... [20:26:16]Read from MH i2c: E2 03 00 DE 2C 00 90 00 7E [20:26:16]RAPDU: 90 00 [20:26:16]wFMCommunicate OK [20:26:16]SAM_PROTO_ClearQueue done [20:26:16]KKMCreateOFDPacket [20:26:16]OFDProtocolAddRootSTLVToBuf [20:26:16]FM_MakeSignedData [20:26:16]FM_MakeSignedData [20:26:16]SAM_PROTO_SignData [20:26:16]wFMCommunicate request_size=4 [20:26:16]MH_SAM_APDU [20:26:16]CAPDU: 80 0D 01 02 [20:26:16]Write to MH i2c: E2 08 00 DF 2C 80 0D 01 02 00 00 00 00 84 [20:26:16]Write i2c OK [20:26:16]MH_I2C_Read... [20:26:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:26:16]Read from MH i2c: E2 [20:26:16]MH_I2C_Read... [20:26:16]Read from MH i2c: E2 03 00 [20:26:16]MH_I2C_Read... [20:26:16]Read from MH i2c: E2 03 00 DF 2C 00 90 00 7F [20:26:16]RAPDU: 90 00 [20:26:16]wFMCommunicate OK [20:26:16]wFMCommunicate request_size=255 [20:26:16]MH_SAM_APDU [20:26:16]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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 30 1B 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 7A C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7A C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7A C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 71 01 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 91 68 00 00 35 04 06 00 5D [20:26:16]Write to MH i2c: E2 02 01 E0 2C 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 30 1B 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 7A C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7A C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7A C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 71 01 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 91 68 00 00 35 04 06 00 5D 00 00 21 [20:26:16]Write i2c OK [20:26:16]MH_I2C_Read... [20:26:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:26:16]Read from MH i2c: E2 [20:26:16]MH_I2C_Read... [20:26:16]Read from MH i2c: E2 03 00 [20:26:16]MH_I2C_Read... [20:26:16]Read from MH i2c: E2 03 00 E0 2C 00 90 00 80 [20:26:16]RAPDU: 90 00 [20:26:16]wFMCommunicate OK [20:26:16]wFMCommunicate request_size=10 [20:26:16]MH_SAM_APDU [20:26:16]CAPDU: 80 0D 02 02 05 D5 08 B3 76 D0 [20:26:16]Write to MH i2c: E2 0D 00 E1 2C 80 0D 02 02 05 00 D5 08 B3 76 D0 00 00 67 [20:26:16]Write i2c OK [20:26:16]MH_I2C_Read... [20:26:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:26:16]Read from MH i2c: E2 [20:26:16]MH_I2C_Read... [20:26:16]Read from MH i2c: E2 03 00 [20:26:16]MH_I2C_Read... [20:26:16]Read from MH i2c: E2 03 00 E1 2C 00 90 00 81 [20:26:16]RAPDU: 90 00 [20:26:16]wFMCommunicate OK [20:26:16]wFMCommunicate request_size=4 [20:26:16]MH_SAM_APDU [20:26:16]CAPDU: 80 0D 03 02 [20:26:16]Write to MH i2c: E2 08 00 E2 2C 80 0D 03 02 00 00 00 00 89 [20:26:16]Write i2c OK [20:26:16]MH_I2C_Read... [20:26:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:26:16]Read from MH i2c: E2 [20:26:16]MH_I2C_Read... [20:26:16]Read from MH i2c: E2 0B 00 [20:26:16]MH_I2C_Read... [20:26:16]Read from MH i2c: E2 0B 00 E2 2C 00 FC CD 30 1B 69 92 90 B5 90 00 DE [20:26:16]RAPDU: FC CD 30 1B 69 92 90 B5 90 00 [20:26:16]wFMCommunicate OK [20:26:16]SAM_PROTO_SignData done [20:26:16]FM_MakeSignedData done [20:26:16]CreateOFDProtocolMessage [20:26:16]wFMCommunicate request_size=4 [20:26:16]MH_SAM_APDU [20:26:16]CAPDU: 80 11 00 00 [20:26:16]Write to MH i2c: E2 08 00 E3 2C 80 11 00 00 00 00 00 00 89 [20:26:16]Write i2c OK [20:26:16]MH_I2C_Read... [20:26:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:26:16]Read from MH i2c: E2 [20:26:16]MH_I2C_Read... [20:26:16]Read from MH i2c: E2 17 00 [20:26:16]MH_I2C_Read... [20:26:16]Read from MH i2c: E2 17 00 E3 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 E1 [20:26:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [20:26:16]wFMCommunicate OK [20:26:16]CreateOFDProtocolMessage done [20:26:16]OFDSenderStorePacket 26769 [20:26:16]StoreOFDPacket docnum=26769 [20:26:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 DA 25 07 01 E6 9B 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 30 1B 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 7A C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7A C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7A C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 71 01 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 91 68 00 00 35 04 06 00 5D D5 08 B3 76 D0 FC CD 30 1B 69 92 90 B5 [20:26:16]CheckFolder [20:26:16]dirname=/storage/ofd_packets [20:26:16]CheckFolder done [20:26:16]ProducePacketName [20:26:16]name=ofd_packets/00026769 [20:26:16]NVStorageSaveData ofd_packets/00026769 [20:26:16]File name is /storage/ofd_packets/00026769 [20:26:16]Write 301 bytes [20:26:16]NVStorageSaveData done [20:26:16]OFDSenderStorePacket done [20:26:16]KKMCreateOFDPacket done [20:26:16]NVStorageSaveData kkm_last_timestamp [20:26:16]File name is /storage/kkm_last_timestamp [20:26:16]Write 4 bytes [20:26:16]NVStorageSaveData done [20:26:16]ExternCall_PrintAddStr [20:26:16]wPrintStart [20:26:16]Write to MH i2c: 01 00 00 E4 2C 10 [20:26:16]Write i2c OK [20:26:16]MH_I2C_Read... [20:26:16]Read from MH i2c: 01 [20:26:16]MH_I2C_Read... [20:26:16]Read from MH i2c: 01 07 00 [20:26:16]MH_I2C_Read... [20:26:16]Read from MH i2c: 01 07 00 E4 2C 00 00 00 00 00 FF 0F 25 [20:26:16]RasterBufferAndPrint [20:26:16]line Счет N : (1)359512 [20:26:16]line ИНН: 02508201610067 [20:26:16]line Контрольно-Кассовый Чек [20:26:16]line ПРОДАЖА [20:26:16]line ТРК (МРК, ГНК) : 53 [20:26:16]line Товар: 2710124500 [20:26:16]line Аи-95-К-5 [20:26:16]line 6.960 * 71.90 [20:26:16]line = 500.42 [20:26:16]line НДС 12% НСП 1% [20:26:16]line > о реализуемом товаре [20:26:16]line ИТОГО: 500.42 [20:26:16]line НСП 1% : 4.43 [20:26:16]line НДС 12% : 53.14 [20:26:16]line Наличными: 0.00 [20:26:16]line Безнал.: 500.42 [20:26:16]line Место: АЗС № 122 "Партнер Нефть" [20:26:16]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [20:26:16]line СНО: Общий режим [20:26:16]line Чек 68 07.04.2024 20:26 [20:26:16]line Смена: 313 ФФД: 1.0 [20:26:16]line ЗНМ: 0300000147 [20:26:16]line РНМ: 0000000000091578 [20:26:16]line Версия ККМ: 001 [20:26:16]line Платежная система: Бакай Банк [20:26:16]line ФМ: 0000000000874657 [20:26:16]line ФД: 26769 [20:26:16]line ФПД: 103169555396304 [20:26:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T202625&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26769&fm=103169555396304&tin=02508201610067®Number=0000000000091578&sum=50042 [20:26:16]written 0, free lines is 4095 [20:26:16]OFD Sender: Processing packet 26769 [packets to send 44, broken 43] [20:26:16]ProducePacketName [20:26:16]name=ofd_packets/00026769 [20:26:16]OFD Sender: To server: pG, [20:26:16]CommunicateWithHost lk.salyk.kg:30040 [20:26:16]ConnectInit lk.salyk.kg [20:26:16]Connected sock=10 [20:26: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 36 35 37 0F 01 00 00 DA 25 07 01 E6 9B 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 30 1B 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 7A C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7A C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7A C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 71 01 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 91 68 00 00 35 04 06 00 5D D5 08 B3 76 D0 FC CD 30 1B 69 92 90 B5 [20:26:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 9F 21 47 00 A0 CF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 37 10 04 04 00 91 68 00 00 F4 03 04 00 DD A8 12 66 B6 04 01 00 00 29 07 B2 98 9B A0 9F 64 [20:26:16]CommunicateWithHost err = 0 [20:26:16]CheckOFDResponse [20:26:16]1017 (14) - 77093643461234 [20:26:16]1041 (16) - 0000000000874657 [20:26:16]1040 (4) - 26769 [20:26:16]1012 (4) - 07.04.2024 14:08 [20:26:16]1206 (1) - 0 [20:26:16]OFD Sender: Remove packet 26769 [20:26:16]ProducePacketName [20:26:16]name=ofd_packets/00026769 [20:26:16]NVStorageDeleteData [20:26:17]Write to MH i2c: 01 00 00 0E 2D 3B [20:26:17]Write i2c OK [20:26:17]MH_I2C_Read... [20:26:17]Read from MH i2c: 01 [20:26:17]MH_I2C_Read... [20:26:17]Read from MH i2c: 01 07 00 [20:26:17]MH_I2C_Read... [20:26:17]Read from MH i2c: 01 07 00 0E 2D 00 00 00 00 00 85 0C D3 [20:26:17]RasterBufferAndPrint [20:26:17]line [20:26:17]line [20:26:17]line [20:26:17]line [20:26:17]line [20:26:17]written 0, free lines is 3209 [20:26:17]MH_Cut [20:26:17]Write to MH i2c: D1 01 00 15 2D 01 14 [20:26:17]Write i2c OK [20:26:17]MH_I2C_Read... [20:26:17]Read from MH i2c: D1 [20:26:17]MH_I2C_Read... [20:26:17]Read from MH i2c: D1 01 00 [20:26:17]MH_I2C_Read... [20:26:17]Read from MH i2c: D1 01 00 15 2D 00 13 [20:26:17]Write to MH i2c: 01 00 00 16 2D 43 [20:26:17]Write i2c OK [20:26:17]MH_I2C_Read... [20:26:17]OFD Sender: No OFD packet to send [20:26:18]*** Cut start [20:26:18]*** Partial cut [20:26:18]*** CUTSNS_PIN = 1 [20:26:18]*** CUTSNS_PIN = 0 [20:26:18]*** Brake cut motor [20:26:18]Read from MH i2c: 01 [20:26:18]MH_I2C_Read... [20:26:18]*** Stop cut motor [20:26:18]*** Cut end [20:26:18]Read from MH i2c: 01 07 00 [20:26:18]MH_I2C_Read... [20:26:18]Read from MH i2c: 01 07 00 16 2D 00 00 00 00 00 FF 0F 58 [20:26:18]process_action close_receipt done [20:26:18]requested_data is exist [20:26:18]produce_requested_data [20:26:18]requested_item fm.sn is exist - process it [20:26:18]wFMCommunicate request_size=4 [20:26:18]MH_SAM_APDU [20:26:18]CAPDU: 80 11 00 00 [20:26:18]Write to MH i2c: E2 08 00 17 2D 80 11 00 00 00 00 00 00 BE [20:26:18]Write i2c OK [20:26:18]MH_I2C_Read... [20:26:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:26:18]Read from MH i2c: E2 [20:26:18]MH_I2C_Read... [20:26:18]Read from MH i2c: E2 17 00 [20:26:18]MH_I2C_Read... [20:26:18]Read from MH i2c: E2 17 00 17 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 16 [20:26:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [20:26:18]wFMCommunicate OK [20:26:18]requested_item fd.num is exist - process it [20:26:18]SAM_PROTO_GetFieldsCounters [20:26:18]wFMCommunicate request_size=4 [20:26:18]MH_SAM_APDU [20:26:18]CAPDU: 80 13 00 00 [20:26:18]Write to MH i2c: E2 08 00 18 2D 80 13 00 00 00 00 00 00 C1 [20:26:18]Write i2c OK [20:26:18]MH_I2C_Read... [20:26:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:26:19]Read from MH i2c: E2 [20:26:19]MH_I2C_Read... [20:26:19]Read from MH i2c: E2 62 00 [20:26:19]MH_I2C_Read... [20:26:19]Read from MH i2c: E2 62 00 18 2D 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 91 68 00 00 0E 04 04 00 39 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 EB [20:26: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 91 68 00 00 0E 04 04 00 39 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 [20:26:19]wFMCommunicate OK [20:26:19]SAM_PROTO_GetFieldsCounters done [20:26:19]requested_item shift.num is exist - process it [20:26:19]requested_item shift.opened is exist - process it [20:26:19]req_shift_opened [20:26:19]FM_GetShiftState [20:26:19]SAM_PROTO_GetShiftState [20:26:19]wFMCommunicate request_size=4 [20:26:19]MH_SAM_APDU [20:26:19]CAPDU: 80 13 01 00 [20:26:19]Write to MH i2c: E2 08 00 19 2D 80 13 01 00 00 00 00 00 C3 [20:26:19]Write i2c OK [20:26:19]MH_I2C_Read... [20:26:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:26:19]Read from MH i2c: E2 [20:26:19]MH_I2C_Read... [20:26:19]Read from MH i2c: E2 0E 00 [20:26:19]MH_I2C_Read... [20:26:19]Read from MH i2c: E2 0E 00 19 2D 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 57 [20:26:19]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [20:26:19]wFMCommunicate OK [20:26:19]SAM_PROTO_GetShiftState done [20:26:19]FM_GetShiftState done [20:26:19]req_shift_opened done [20:26:19]requested_item shift.open_date is exist - process it [20:26:19]req_shift_open_date [20:26:19]req_shift_open_date done [20:26:19]produce_requested_data done [20:26:19]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26769,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [20:26:19]process_action_free close_receipt [20:26:19]json_value_free [20:26:19]json_value_free done [20:26:19]process_json_proto returns [20:26:19]Send response to host [20:26:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26769,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [20:26:19]free response buf [20:26:19]execute_script done [20:26:19]execute_script returns [20:26:19]free content buf [20:26:19]Sock 9.Close socket [20:26:19]Sock 9.Thread stoped [20:26:22]OFD Sender: No OFD packet to send [20:26:27]OFD Sender: No OFD packet to send [20:26:32]OFD Sender: No OFD packet to send [20:26:37]OFD Sender: No OFD packet to send [20:26:42]OFD Sender: No OFD packet to send [20:26:47]OFD Sender: No OFD packet to send [20:26:52]OFD Sender: No OFD packet to send [20:26:57]OFD Sender: No OFD packet to send [20:27:02]OFD Sender: No OFD packet to send [20:27:07]OFD Sender: No OFD packet to send [20:27:12]OFD Sender: No OFD packet to send [20:27:17]OFD Sender: No OFD packet to send [20:27:22]OFD Sender: No OFD packet to send [20:27:27]OFD Sender: No OFD packet to send [20:27:32]OFD Sender: No OFD packet to send [20:27:37]OFD Sender: No OFD packet to send [20:27:42]OFD Sender: No OFD packet to send [20:27:47]OFD Sender: No OFD packet to send [20:27:52]OFD Sender: No OFD packet to send [20:27:57]OFD Sender: No OFD packet to send [20:28:02]OFD Sender: No OFD packet to send [20:28:07]OFD Sender: No OFD packet to send [20:28:12]OFD Sender: No OFD packet to send [20:28:17]OFD Sender: No OFD packet to send [20:28:22]OFD Sender: No OFD packet to send [20:28:27]OFD Sender: No OFD packet to send [20:28:32]OFD Sender: No OFD packet to send [20:28:37]OFD Sender: No OFD packet to send [20:28:42]OFD Sender: No OFD packet to send [20:28:47]OFD Sender: No OFD packet to send [20:28:52]OFD Sender: No OFD packet to send [20:28:57]OFD Sender: No OFD packet to send [20:29:02]OFD Sender: No OFD packet to send [20:29:07]OFD Sender: No OFD packet to send [20:29:12]OFD Sender: No OFD packet to send [20:29:17]OFD Sender: No OFD packet to send [20:29:22]OFD Sender: No OFD packet to send [20:29:27]OFD Sender: No OFD packet to send [20:29:32]OFD Sender: No OFD packet to send [20:29:37]OFD Sender: No OFD packet to send [20:29:41]accept exits with 8 [20:29:41]New connection [20:29:41]New thread 3067014500 created [20:29:41]Thread 3066871140 joined [20:29:41]Waiting for new connection... [20:29:41] Sock 8.Parse request [20:29:41]Sock 8.Check first char [20:29:41]Sock 8.First char is OK [20:29:41]request: POST /json_proto HTTP/1.0 [20:29:41]Method: POST [20:29:41]URL: /json_proto [20:29:41]Method is POST - this is cgi request [20:29:41]url: /json_proto [20:29:41]query_string will be loaded in cgi processing [20:29:41]execute_cgi json_proto POST (null) [20:29:41]execute_cgi path=json_proto method=POST [20:29:41]POST find Content-Length [20:29:41]Host: 172.17.35.3:8080 [20:29:41]Content-Length: 682 [20:29:41]Content-Type: application/json [20:29:41] [20:29:41]POST finish read [20:29:41]Found Content-Length = 682 [20:29:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359513", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "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" ] } } [20:29:41]execute_script... [20:29:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359513", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "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" ] } } [20:29:41]POST & json_proto [20:29:41]process_json_proto [20:29:41]json parsed OK: [20:29:41]protocol is kg_v1.0 [20:29:41]action value=close_receipt [20:29:41]process_action close_receipt [20:29:41]cmd_close_receipt [20:29:41]MH_GetDate [20:29:41]Write to MH i2c: F0 00 00 1A 2D 36 [20:29:41]Write i2c OK [20:29:41]MH_I2C_Read... [20:29:41]Read from MH i2c: F0 [20:29:41]MH_I2C_Read... [20:29:41]Read from MH i2c: F0 09 00 [20:29:41]MH_I2C_Read... [20:29:41]Read from MH i2c: F0 09 00 1A 2D 00 40 02 13 66 2B 11 66 64 00 [20:29:41]GetLastDocTimeStamp 1712521585 [20:29:41]current date 1712521792 [20:29:41]FM_GetShiftState [20:29:41]SAM_PROTO_GetShiftState [20:29:41]wFMCommunicate request_size=4 [20:29:41]MH_SAM_APDU [20:29:41]CAPDU: 80 13 01 00 [20:29:41]Write to MH i2c: E2 08 00 1B 2D 80 13 01 00 00 00 00 00 C5 [20:29:41]Write i2c OK [20:29:41]MH_I2C_Read... [20:29:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:29:41]Read from MH i2c: E2 [20:29:41]MH_I2C_Read... [20:29:41]Read from MH i2c: E2 0E 00 [20:29:41]MH_I2C_Read... [20:29:41]Read from MH i2c: E2 0E 00 1B 2D 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 59 [20:29:41]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [20:29:41]wFMCommunicate OK [20:29:41]SAM_PROTO_GetShiftState done [20:29:41]FM_GetShiftState done [20:29:41]opened in 1712450087 [20:29:41]opened+sec_in_day 1712536487 [20:29:41]quantity*price = 100045 [20:29:41]sum+1 = 100046 [20:29:41]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.45 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.24 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 69 07.04.2024 20:29 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26770 ФПД: 159171628063889 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T202952&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26770&fm=159171628063889&tin=02508201610067®Number=0000000000091578&sum=100000 [20:29:42]StoreToDocumentArchive [20:29:42]shift 313 fd 26770 [20:29:42]save to /storage/0313/doc_00026770 [20:29:42]save last doc name /storage/0313/doc_00026770 to /storage/kkm_last_doc_name [20:29:42]save OK [20:29:42]Clear old archive folders... [20:29:42]ProcessDocumentItem done err = 0, tmpTLVsize=251 [20:29:42]tlvbuf is 00EE5DD0 [20:29:42]SAM_PROTO_ClearQueue [20:29:42]wFMCommunicate request_size=4 [20:29:42]MH_SAM_APDU [20:29:42]CAPDU: 80 09 00 00 [20:29:42]Write to MH i2c: E2 08 00 28 2D 80 09 00 00 00 00 00 00 C7 [20:29:42]Write i2c OK [20:29:42]MH_I2C_Read... [20:29:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:29:42]Read from MH i2c: E2 [20:29:42]MH_I2C_Read... [20:29:42]Read from MH i2c: E2 03 00 [20:29:42]MH_I2C_Read... [20:29:42]Read from MH i2c: E2 03 00 28 2D 00 90 00 C9 [20:29:42]RAPDU: 90 00 [20:29:42]wFMCommunicate OK [20:29:42]SAM_PROTO_ClearQueue done [20:29:42]KKMCreateOFDPacket [20:29:42]OFDProtocolAddRootSTLVToBuf [20:29:42]FM_MakeSignedData [20:29:42]FM_MakeSignedData [20:29:42]SAM_PROTO_SignData [20:29:42]wFMCommunicate request_size=4 [20:29:42]MH_SAM_APDU [20:29:42]CAPDU: 80 0D 01 02 [20:29:42]Write to MH i2c: E2 08 00 29 2D 80 0D 01 02 00 00 00 00 CF [20:29:42]Write i2c OK [20:29:42]MH_I2C_Read... [20:29:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:29:42]Read from MH i2c: E2 [20:29:42]MH_I2C_Read... [20:29:42]Read from MH i2c: E2 03 00 [20:29:42]MH_I2C_Read... [20:29:42]Read from MH i2c: E2 03 00 29 2D 00 90 00 CA [20:29:42]RAPDU: 90 00 [20:29:42]wFMCommunicate OK [20:29:42]wFMCommunicate request_size=255 [20:29:42]MH_SAM_APDU [20:29: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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 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 45 00 00 00 F4 03 04 00 40 02 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 92 68 00 00 35 04 06 00 90 [20:29:42]Write to MH i2c: E2 02 01 2A 2D 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 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 45 00 00 00 F4 03 04 00 40 02 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 92 68 00 00 35 04 06 00 90 00 00 27 [20:29:42]Write i2c OK [20:29:42]MH_I2C_Read... [20:29:42]OFD Sender: No OFD packet to send [20:29:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:29:42]Read from MH i2c: E2 [20:29:42]MH_I2C_Read... [20:29:42]Read from MH i2c: E2 03 00 [20:29:42]MH_I2C_Read... [20:29:42]Read from MH i2c: E2 03 00 2A 2D 00 90 00 CB [20:29:42]RAPDU: 90 00 [20:29:42]wFMCommunicate OK [20:29:42]wFMCommunicate request_size=10 [20:29:42]MH_SAM_APDU [20:29:42]CAPDU: 80 0D 02 02 05 C4 08 59 5C 91 [20:29:42]Write to MH i2c: E2 0D 00 2B 2D 80 0D 02 02 05 00 C4 08 59 5C 91 00 00 EE [20:29:42]Write i2c OK [20:29:42]MH_I2C_Read... [20:29:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:29:42]Read from MH i2c: E2 [20:29:42]MH_I2C_Read... [20:29:42]Read from MH i2c: E2 03 00 [20:29:42]MH_I2C_Read... [20:29:42]Read from MH i2c: E2 03 00 2B 2D 00 90 00 CC [20:29:42]RAPDU: 90 00 [20:29:42]wFMCommunicate OK [20:29:42]wFMCommunicate request_size=4 [20:29:42]MH_SAM_APDU [20:29:42]CAPDU: 80 0D 03 02 [20:29:42]Write to MH i2c: E2 08 00 2C 2D 80 0D 03 02 00 00 00 00 D4 [20:29:42]Write i2c OK [20:29:42]MH_I2C_Read... [20:29:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:29:42]Read from MH i2c: E2 [20:29:42]MH_I2C_Read... [20:29:42]Read from MH i2c: E2 0B 00 [20:29:42]MH_I2C_Read... [20:29:42]Read from MH i2c: E2 0B 00 2C 2D 00 08 00 41 C6 F4 DC CF F3 90 00 76 [20:29:42]RAPDU: 08 00 41 C6 F4 DC CF F3 90 00 [20:29:42]wFMCommunicate OK [20:29:42]SAM_PROTO_SignData done [20:29:42]FM_MakeSignedData done [20:29:42]CreateOFDProtocolMessage [20:29:42]wFMCommunicate request_size=4 [20:29:42]MH_SAM_APDU [20:29:42]CAPDU: 80 11 00 00 [20:29:42]Write to MH i2c: E2 08 00 2D 2D 80 11 00 00 00 00 00 00 D4 [20:29:42]Write i2c OK [20:29:42]MH_I2C_Read... [20:29:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:29:42]Read from MH i2c: E2 [20:29:42]MH_I2C_Read... [20:29:42]Read from MH i2c: E2 17 00 [20:29:42]MH_I2C_Read... [20:29:42]Read from MH i2c: E2 17 00 2D 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 2C [20:29:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [20:29:42]wFMCommunicate OK [20:29:42]CreateOFDProtocolMessage done [20:29:42]OFDSenderStorePacket 26770 [20:29:42]StoreOFDPacket docnum=26770 [20:29:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 4C 45 07 01 6B 12 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 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 45 00 00 00 F4 03 04 00 40 02 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 92 68 00 00 35 04 06 00 90 C4 08 59 5C 91 08 00 41 C6 F4 DC CF F3 [20:29:42]CheckFolder [20:29:42]dirname=/storage/ofd_packets [20:29:42]CheckFolder done [20:29:42]ProducePacketName [20:29:42]name=ofd_packets/00026770 [20:29:42]NVStorageSaveData ofd_packets/00026770 [20:29:42]File name is /storage/ofd_packets/00026770 [20:29:42]Write 301 bytes [20:29:42]NVStorageSaveData done [20:29:42]OFDSenderStorePacket done [20:29:42]KKMCreateOFDPacket done [20:29:42]NVStorageSaveData kkm_last_timestamp [20:29:42]File name is /storage/kkm_last_timestamp [20:29:42]Write 4 bytes [20:29:42]NVStorageSaveData done [20:29:42]ExternCall_PrintAddStr [20:29:42]wPrintStart [20:29:42]Write to MH i2c: 01 00 00 2E 2D 5B [20:29:42]Write i2c OK [20:29:42]MH_I2C_Read... [20:29:42]Read from MH i2c: 01 [20:29:42]MH_I2C_Read... [20:29:42]Read from MH i2c: 01 07 00 [20:29:42]MH_I2C_Read... [20:29:42]Read from MH i2c: 01 07 00 2E 2D 00 00 00 00 00 FF 0F 70 [20:29:42]RasterBufferAndPrint [20:29:42]line Счет N : (1)359513 [20:29:42]line ИНН: 02508201610067 [20:29:42]line Контрольно-Кассовый Чек [20:29:42]line ПРОДАЖА [20:29:42]line ТРК (МРК, ГНК) : 51 [20:29:42]line Товар: 2710124130 [20:29:42]line Аи-92-К-5 [20:29:42]line 15.780 * 63.40 [20:29:42]line = 1000.45 [20:29:42]line НДС 12% НСП 1% [20:29:42]line > о реализуемом товаре [20:29:42]line ОКРУГЛЕНИЕ: -0.45 [20:29:42]line ИТОГО: 1000.00 [20:29:42]line Внесено: 1000.00 [20:29:42]line СДАЧА: 0.00 [20:29:42]line НСП 1% : 8.85 [20:29:42]line НДС 12% : 106.24 [20:29:42]line Наличными: 1000.00 [20:29:42]line Безнал.: 0.00 [20:29:42]line Место: АЗС № 122 "Партнер Нефть" [20:29:42]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [20:29:42]line СНО: Общий режим [20:29:42]line Чек 69 07.04.2024 20:29 [20:29:43]line Смена: 313 ФФД: 1.0 [20:29:43]line ЗНМ: 0300000147 [20:29:43]line РНМ: 0000000000091578 [20:29:43]line Версия ККМ: 001 [20:29:43]line ФМ: 0000000000874657 [20:29:43]line ФД: 26770 [20:29:43]line ФПД: 159171628063889 [20:29:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T202952&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26770&fm=159171628063889&tin=02508201610067®Number=0000000000091578&sum=100000 [20:29:43]OFD Sender: Processing packet 26770 [packets to send 44, broken 43] [20:29:43]ProducePacketName [20:29:43]name=ofd_packets/00026770 [20:29:43]OFD Sender: To server: pG, [20:29:43]CommunicateWithHost lk.salyk.kg:30040 [20:29:43]ConnectInit lk.salyk.kg [20:29:43]written 0, free lines is 4095 [20:29:43]Connected sock=10 [20:29: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 36 35 37 0F 01 00 00 4C 45 07 01 6B 12 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 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 45 00 00 00 F4 03 04 00 40 02 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 92 68 00 00 35 04 06 00 90 C4 08 59 5C 91 08 00 41 C6 F4 DC CF F3 [20:29:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 19 EF 47 00 EE 24 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 92 68 00 00 F4 03 04 00 AC A9 12 66 B6 04 01 00 00 86 19 57 8F FD E9 2A BA [20:29:43]CommunicateWithHost err = 0 [20:29:43]CheckOFDResponse [20:29:43]1017 (14) - 77093643461234 [20:29:43]1041 (16) - 0000000000874657 [20:29:43]1040 (4) - 26770 [20:29:43]1012 (4) - 07.04.2024 14:11 [20:29:43]1206 (1) - 0 [20:29:43]OFD Sender: Remove packet 26770 [20:29:43]ProducePacketName [20:29:43]name=ofd_packets/00026770 [20:29:43]NVStorageDeleteData [20:29:43]Write to MH i2c: 01 00 00 59 2D 86 [20:29:43]Write i2c OK [20:29:43]MH_I2C_Read... [20:29:43]Read from MH i2c: 01 [20:29:43]MH_I2C_Read... [20:29:43]Read from MH i2c: 01 07 00 [20:29:43]MH_I2C_Read... [20:29:43]Read from MH i2c: 01 07 00 59 2D 00 00 00 00 00 71 0C 0A [20:29:43]RasterBufferAndPrint [20:29:43]line [20:29:43]line [20:29:43]line [20:29:43]line [20:29:43]line [20:29:43]written 0, free lines is 3187 [20:29:43]MH_Cut [20:29:43]Write to MH i2c: D1 01 00 60 2D 01 5F [20:29:43]Write i2c OK [20:29:43]MH_I2C_Read... [20:29:43]Read from MH i2c: D1 [20:29:43]MH_I2C_Read... [20:29:43]Read from MH i2c: D1 01 00 [20:29:43]MH_I2C_Read... [20:29:43]Read from MH i2c: D1 01 00 60 2D 00 5E [20:29:43]Write to MH i2c: 01 00 00 61 2D 8E [20:29:43]Write i2c OK [20:29:43]MH_I2C_Read... [20:29:44]OFD Sender: No OFD packet to send [20:29:44]*** Cut start [20:29:44]*** Partial cut [20:29:44]*** CUTSNS_PIN = 1 [20:29:44]*** CUTSNS_PIN = 0 [20:29:45]*** Brake cut motor [20:29:45]Read from MH i2c: 01 [20:29:45]MH_I2C_Read... [20:29:45]*** Stop cut motor [20:29:45]*** Cut end [20:29:45]Read from MH i2c: 01 07 00 [20:29:45]MH_I2C_Read... [20:29:45]Read from MH i2c: 01 07 00 61 2D 00 00 00 00 00 FF 0F A3 [20:29:45]process_action close_receipt done [20:29:45]requested_data is exist [20:29:45]produce_requested_data [20:29:45]requested_item fm.sn is exist - process it [20:29:45]wFMCommunicate request_size=4 [20:29:45]MH_SAM_APDU [20:29:45]CAPDU: 80 11 00 00 [20:29:45]Write to MH i2c: E2 08 00 62 2D 80 11 00 00 00 00 00 00 09 [20:29:45]Write i2c OK [20:29:45]MH_I2C_Read... [20:29:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:29:45]Read from MH i2c: E2 [20:29:45]MH_I2C_Read... [20:29:45]Read from MH i2c: E2 17 00 [20:29:45]MH_I2C_Read... [20:29:45]Read from MH i2c: E2 17 00 62 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 61 [20:29:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [20:29:45]wFMCommunicate OK [20:29:45]requested_item fd.num is exist - process it [20:29:45]SAM_PROTO_GetFieldsCounters [20:29:45]wFMCommunicate request_size=4 [20:29:45]MH_SAM_APDU [20:29:45]CAPDU: 80 13 00 00 [20:29:45]Write to MH i2c: E2 08 00 63 2D 80 13 00 00 00 00 00 00 0C [20:29:45]Write i2c OK [20:29:45]MH_I2C_Read... [20:29:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:29:45]Read from MH i2c: E2 [20:29:45]MH_I2C_Read... [20:29:45]Read from MH i2c: E2 62 00 [20:29:45]MH_I2C_Read... [20:29:45]Read from MH i2c: E2 62 00 63 2D 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 92 68 00 00 0E 04 04 00 39 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 3A [20:29: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 92 68 00 00 0E 04 04 00 39 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 [20:29:45]wFMCommunicate OK [20:29:45]SAM_PROTO_GetFieldsCounters done [20:29:45]requested_item shift.num is exist - process it [20:29:45]requested_item shift.opened is exist - process it [20:29:45]req_shift_opened [20:29:45]FM_GetShiftState [20:29:45]SAM_PROTO_GetShiftState [20:29:45]wFMCommunicate request_size=4 [20:29:45]MH_SAM_APDU [20:29:45]CAPDU: 80 13 01 00 [20:29:45]Write to MH i2c: E2 08 00 64 2D 80 13 01 00 00 00 00 00 0E [20:29:45]Write i2c OK [20:29:45]MH_I2C_Read... [20:29:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:29:45]Read from MH i2c: E2 [20:29:45]MH_I2C_Read... [20:29:45]Read from MH i2c: E2 0E 00 [20:29:45]MH_I2C_Read... [20:29:45]Read from MH i2c: E2 0E 00 64 2D 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 A2 [20:29:45]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [20:29:45]wFMCommunicate OK [20:29:45]SAM_PROTO_GetShiftState done [20:29:45]FM_GetShiftState done [20:29:45]req_shift_opened done [20:29:45]requested_item shift.open_date is exist - process it [20:29:45]req_shift_open_date [20:29:45]req_shift_open_date done [20:29:45]produce_requested_data done [20:29:45]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26770,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [20:29:45]process_action_free close_receipt [20:29:45]json_value_free [20:29:45]json_value_free done [20:29:45]process_json_proto returns [20:29:45]Send response to host [20:29:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26770,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [20:29:45]free response buf [20:29:45]execute_script done [20:29:45]execute_script returns [20:29:45]free content buf [20:29:45]Sock 8.Close socket [20:29:45]Sock 8.Thread stoped [20:29:49]OFD Sender: No OFD packet to send [20:29:54]OFD Sender: No OFD packet to send [20:29:59]OFD Sender: No OFD packet to send [20:30:04]OFD Sender: No OFD packet to send [20:30:09]OFD Sender: No OFD packet to send [20:30:14]OFD Sender: No OFD packet to send [20:30:19]OFD Sender: No OFD packet to send [20:30:24]OFD Sender: No OFD packet to send [20:30:29]OFD Sender: No OFD packet to send [20:30:34]OFD Sender: No OFD packet to send [20:30:39]OFD Sender: No OFD packet to send [20:30:44]OFD Sender: No OFD packet to send [20:30:49]OFD Sender: No OFD packet to send [20:30:54]OFD Sender: No OFD packet to send [20:30:59]OFD Sender: No OFD packet to send [20:31:04]OFD Sender: No OFD packet to send [20:31:09]OFD Sender: No OFD packet to send [20:31:14]OFD Sender: No OFD packet to send [20:31:19]OFD Sender: No OFD packet to send [20:31:24]OFD Sender: No OFD packet to send [20:31:29]OFD Sender: No OFD packet to send [20:31:34]OFD Sender: No OFD packet to send [20:31:39]OFD Sender: No OFD packet to send [20:31:44]OFD Sender: No OFD packet to send [20:31:49]OFD Sender: No OFD packet to send [20:31:54]OFD Sender: No OFD packet to send [20:31:59]OFD Sender: No OFD packet to send [20:32:04]OFD Sender: No OFD packet to send [20:32:09]OFD Sender: No OFD packet to send [20:32:14]OFD Sender: No OFD packet to send [20:32:19]OFD Sender: No OFD packet to send [20:32:24]OFD Sender: No OFD packet to send [20:32:29]OFD Sender: No OFD packet to send [20:32:34]OFD Sender: No OFD packet to send [20:32:39]OFD Sender: No OFD packet to send [20:32:44]OFD Sender: No OFD packet to send [20:32:49]OFD Sender: No OFD packet to send [20:32:54]OFD Sender: No OFD packet to send [20:32:59]OFD Sender: No OFD packet to send [20:33:04]OFD Sender: No OFD packet to send [20:33:09]OFD Sender: No OFD packet to send [20:33:14]OFD Sender: No OFD packet to send [20:33:19]OFD Sender: No OFD packet to send [20:33:24]OFD Sender: No OFD packet to send [20:33:29]OFD Sender: No OFD packet to send [20:33:34]OFD Sender: No OFD packet to send [20:33:39]OFD Sender: No OFD packet to send [20:33:44]OFD Sender: No OFD packet to send [20:33:49]OFD Sender: No OFD packet to send [20:33:54]OFD Sender: No OFD packet to send [20:33:59]OFD Sender: No OFD packet to send [20:34:04]OFD Sender: No OFD packet to send [20:34:09]OFD Sender: No OFD packet to send [20:34:14]OFD Sender: No OFD packet to send [20:34:19]OFD Sender: No OFD packet to send [20:34:24]OFD Sender: No OFD packet to send [20:34:29]OFD Sender: No OFD packet to send [20:34:34]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:35]OFD Sender: No OFD packet to send [20:47:40]OFD Sender: No OFD packet to send [20:47:45]OFD Sender: No OFD packet to send [20:47:50]OFD Sender: No OFD packet to send [20:47:55]OFD Sender: No OFD packet to send [20:48:00]OFD Sender: No OFD packet to send [20:48:05]OFD Sender: No OFD packet to send [20:48:10]OFD Sender: No OFD packet to send [20:48:15]OFD Sender: No OFD packet to send [20:48:20]OFD Sender: No OFD packet to send [20:48:25]OFD Sender: No OFD packet to send [20:48:30]OFD Sender: No OFD packet to send [20:48:35]OFD Sender: No OFD packet to send [20:48:40]OFD Sender: No OFD packet to send [20:48:45]OFD Sender: No OFD packet to send [20:48:50]OFD Sender: No OFD packet to send [20:48:55]OFD Sender: No OFD packet to send [20:49:00]OFD Sender: No OFD packet to send [20:49:05]OFD Sender: No OFD packet to send [20:49:10]OFD Sender: No OFD packet to send [20:49:15]OFD Sender: No OFD packet to send [20:49:20]OFD Sender: No OFD packet to send [20:49:25]OFD Sender: No OFD packet to send [20:49:30]OFD Sender: No OFD packet to send [20:49:35]OFD Sender: No OFD packet to send [20:49:40]OFD Sender: No OFD packet to send [20:49:45]OFD Sender: No OFD packet to send [20:49:50]OFD Sender: No OFD packet to send [20:49:55]OFD Sender: No OFD packet to send [20:50:00]OFD Sender: No OFD packet to send [20:50:05]OFD Sender: No OFD packet to send [20:50:10]OFD Sender: No OFD packet to send [20:50:15]OFD Sender: No OFD packet to send [20:50:20]OFD Sender: No OFD packet to send [20:50:25]OFD Sender: No OFD packet to send [20:50:30]OFD Sender: No OFD packet to send [20:50:35]OFD Sender: No OFD packet to send [20:50:40]OFD Sender: No OFD packet to send [20:50:45]OFD Sender: No OFD packet to send [20:50:50]OFD Sender: No OFD packet to send [20:50:55]OFD Sender: No OFD packet to send [20:51:00]OFD Sender: No OFD packet to send [20:51:05]OFD Sender: No OFD packet to send [20:51:10]OFD Sender: No OFD packet to send [20:51:15]OFD Sender: No OFD packet to send [20:51:20]OFD Sender: No OFD packet to send [20:51:25]OFD Sender: No OFD packet to send [20:51:30]OFD Sender: No OFD packet to send [20:51:35]OFD Sender: No OFD packet to send [20:51:40]OFD Sender: No OFD packet to send [20:51:45]OFD Sender: No OFD packet to send [20:51:50]OFD Sender: No OFD packet to send [20:51:55]OFD Sender: No OFD packet to send [20:52:00]OFD Sender: No OFD packet to send [20:52:05]OFD Sender: No OFD packet to send [20:52:10]OFD Sender: No OFD packet to send [20:52:15]OFD Sender: No OFD packet to send [20:52:20]OFD Sender: No OFD packet to send [20:52:25]OFD Sender: No OFD packet to send [20:52:30]OFD Sender: No OFD packet to send [20:52:35]OFD Sender: No OFD packet to send [20:52:40]OFD Sender: No OFD packet to send [20:52:45]OFD Sender: No OFD packet to send [20:52:50]OFD Sender: No OFD packet to send [20:52:55]OFD Sender: No OFD packet to send [20:53:00]OFD Sender: No OFD packet to send [20:53:05]OFD Sender: No OFD packet to send [20:53:10]OFD Sender: No OFD packet to send [20:53:15]OFD Sender: No OFD packet to send [20:53:20]OFD Sender: No OFD packet to send [20:53:25]OFD Sender: No OFD packet to send [20:53:30]OFD Sender: No OFD packet to send [20:53:35]OFD Sender: No OFD packet to send [20:53:40]OFD Sender: No OFD packet to send [20:53:40]accept exits with 9 [20:53:40]New connection [20:53:40]New thread 3066871140 created [20:53:40]Thread 3067014500 joined [20:53:40]Waiting for new connection... [20:53:40] Sock 9.Parse request [20:53:40]Sock 9.Check first char [20:53:40]Sock 9.First char is OK [20:53:40]request: POST /json_proto HTTP/1.0 [20:53:40]Method: POST [20:53:40]URL: /json_proto [20:53:40]Method is POST - this is cgi request [20:53:40]url: /json_proto [20:53:40]query_string will be loaded in cgi processing [20:53:40]execute_cgi json_proto POST (null) [20:53:40]execute_cgi path=json_proto method=POST [20:53:40]POST find Content-Length [20:53:40]Host: 172.17.35.3:8080 [20:53:40]Content-Length: 687 [20:53:40]Content-Type: application/json [20:53:40] [20:53:40]POST finish read [20:53:40]Found Content-Length = 687 [20:53:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359514", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "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" ] } } [20:53:40]execute_script... [20: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 : (1)359514", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "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" ] } } [20:53:40]POST & json_proto [20:53:40]process_json_proto [20:53:40]json parsed OK: [20:53:40]protocol is kg_v1.0 [20:53:40]action value=close_receipt [20:53:40]process_action close_receipt [20:53:40]cmd_close_receipt [20:53:40]MH_GetDate [20:53:40]Write to MH i2c: F0 00 00 65 2D 81 [20:53:40]Write i2c OK [20:53:40]MH_I2C_Read... [20:53:40]Read from MH i2c: F0 [20:53:40]MH_I2C_Read... [20:53:40]Read from MH i2c: F0 09 00 [20:53:40]MH_I2C_Read... [20:53:40]Read from MH i2c: F0 09 00 65 2D 00 DF 07 13 66 2B 11 66 64 EF [20:53:40]GetLastDocTimeStamp 1712521792 [20:53:40]current date 1712523231 [20:53:40]FM_GetShiftState [20:53:40]SAM_PROTO_GetShiftState [20:53:40]wFMCommunicate request_size=4 [20:53:40]MH_SAM_APDU [20:53:40]CAPDU: 80 13 01 00 [20:53:40]Write to MH i2c: E2 08 00 66 2D 80 13 01 00 00 00 00 00 10 [20:53:40]Write i2c OK [20:53:40]MH_I2C_Read... [20:53:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:53:40]Read from MH i2c: E2 [20:53:40]MH_I2C_Read... [20:53:40]Read from MH i2c: E2 0E 00 [20:53:40]MH_I2C_Read... [20:53:40]Read from MH i2c: E2 0E 00 66 2D 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 A4 [20:53:40]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [20:53:40]wFMCommunicate OK [20:53:40]SAM_PROTO_GetShiftState done [20:53:40]FM_GetShiftState done [20:53:40]opened in 1712450087 [20:53:40]opened+sec_in_day 1712536487 [20:53:40]quantity*price = 100017 [20:53:40]sum+1 = 100018 [20:53:40]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.17 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.21 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 70 07.04.2024 20:53 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26771 ФПД: 31965392292428 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T205351&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26771&fm=31965392292428&tin=02508201610067®Number=0000000000091578&sum=100000 [20:53:41]StoreToDocumentArchive [20:53:41]shift 313 fd 26771 [20:53:41]save to /storage/0313/doc_00026771 [20:53:41]save last doc name /storage/0313/doc_00026771 to /storage/kkm_last_doc_name [20:53:41]save OK [20:53:41]Clear old archive folders... [20:53:41]ProcessDocumentItem done err = 0, tmpTLVsize=252 [20:53:41]tlvbuf is 00EE3350 [20:53:41]SAM_PROTO_ClearQueue [20:53:41]wFMCommunicate request_size=4 [20:53:41]MH_SAM_APDU [20:53:41]CAPDU: 80 09 00 00 [20:53:41]Write to MH i2c: E2 08 00 73 2D 80 09 00 00 00 00 00 00 12 [20:53:41]Write i2c OK [20:53:41]MH_I2C_Read... [20:53:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:53:41]Read from MH i2c: E2 [20:53:41]MH_I2C_Read... [20:53:41]Read from MH i2c: E2 03 00 [20:53:41]MH_I2C_Read... [20:53:41]Read from MH i2c: E2 03 00 73 2D 00 90 00 14 [20:53:41]RAPDU: 90 00 [20:53:41]wFMCommunicate OK [20:53:41]SAM_PROTO_ClearQueue done [20:53:41]KKMCreateOFDPacket [20:53:41]OFDProtocolAddRootSTLVToBuf [20:53:41]FM_MakeSignedData [20:53:41]FM_MakeSignedData [20:53:41]SAM_PROTO_SignData [20:53:41]wFMCommunicate request_size=4 [20:53:41]MH_SAM_APDU [20:53:41]CAPDU: 80 0D 01 02 [20:53:41]Write to MH i2c: E2 08 00 74 2D 80 0D 01 02 00 00 00 00 1A [20:53:41]Write i2c OK [20:53:41]MH_I2C_Read... [20:53:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:53:41]Read from MH i2c: E2 [20:53:41]MH_I2C_Read... [20:53:41]Read from MH i2c: E2 03 00 [20:53:41]MH_I2C_Read... [20:53:41]Read from MH i2c: E2 03 00 74 2D 00 90 00 15 [20:53:41]RAPDU: 90 00 [20:53:41]wFMCommunicate OK [20:53:41]wFMCommunicate request_size=255 [20:53:41]MH_SAM_APDU [20:53:41]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 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 7D 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 46 00 00 00 F4 03 04 00 DF 07 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 93 68 00 00 35 04 06 00 [20:53:41]Write to MH i2c: E2 02 01 75 2D 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 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 7D 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 46 00 00 00 F4 03 04 00 DF 07 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 93 68 00 00 35 04 06 00 00 00 AF [20:53:41]Write i2c OK [20:53:41]MH_I2C_Read... [20:53:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:53:42]Read from MH i2c: E2 [20:53:42]MH_I2C_Read... [20:53:42]Read from MH i2c: E2 03 00 [20:53:42]MH_I2C_Read... [20:53:42]Read from MH i2c: E2 03 00 75 2D 00 90 00 16 [20:53:42]RAPDU: 90 00 [20:53:42]wFMCommunicate OK [20:53:42]wFMCommunicate request_size=11 [20:53:42]MH_SAM_APDU [20:53:42]CAPDU: 80 0D 02 02 06 1D 12 85 DA 4A 4C [20:53:42]Write to MH i2c: E2 0E 00 76 2D 80 0D 02 02 06 00 1D 12 85 DA 4A 4C 00 00 4D [20:53:42]Write i2c OK [20:53:42]MH_I2C_Read... [20:53:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:53:42]Read from MH i2c: E2 [20:53:42]MH_I2C_Read... [20:53:42]Read from MH i2c: E2 03 00 [20:53:42]MH_I2C_Read... [20:53:42]Read from MH i2c: E2 03 00 76 2D 00 90 00 17 [20:53:42]RAPDU: 90 00 [20:53:42]wFMCommunicate OK [20:53:42]wFMCommunicate request_size=4 [20:53:42]MH_SAM_APDU [20:53:42]CAPDU: 80 0D 03 02 [20:53:42]Write to MH i2c: E2 08 00 77 2D 80 0D 03 02 00 00 00 00 1F [20:53:42]Write i2c OK [20:53:42]MH_I2C_Read... [20:53:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:53:42]Read from MH i2c: E2 [20:53:42]MH_I2C_Read... [20:53:42]Read from MH i2c: E2 0B 00 [20:53:42]MH_I2C_Read... [20:53:42]Read from MH i2c: E2 0B 00 77 2D 00 33 6E F6 C3 FC 2A 89 75 90 00 9E [20:53:42]RAPDU: 33 6E F6 C3 FC 2A 89 75 90 00 [20:53:42]wFMCommunicate OK [20:53:42]SAM_PROTO_SignData done [20:53:42]FM_MakeSignedData done [20:53:42]CreateOFDProtocolMessage [20:53:42]wFMCommunicate request_size=4 [20:53:42]MH_SAM_APDU [20:53:42]CAPDU: 80 11 00 00 [20:53:42]Write to MH i2c: E2 08 00 78 2D 80 11 00 00 00 00 00 00 1F [20:53:42]Write i2c OK [20:53:42]MH_I2C_Read... [20:53:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:53:42]Read from MH i2c: E2 [20:53:42]MH_I2C_Read... [20:53:42]Read from MH i2c: E2 17 00 [20:53:42]MH_I2C_Read... [20:53:42]Read from MH i2c: E2 17 00 78 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 77 [20:53:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [20:53:42]wFMCommunicate OK [20:53:42]CreateOFDProtocolMessage done [20:53:42]OFDSenderStorePacket 26771 [20:53:42]StoreOFDPacket docnum=26771 [20:53:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 A7 FA 08 01 26 18 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 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 7D 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 46 00 00 00 F4 03 04 00 DF 07 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 93 68 00 00 35 04 06 00 1D 12 85 DA 4A 4C 33 6E F6 C3 FC 2A 89 75 [20:53:42]CheckFolder [20:53:42]dirname=/storage/ofd_packets [20:53:42]CheckFolder done [20:53:42]ProducePacketName [20:53:42]name=ofd_packets/00026771 [20:53:42]NVStorageSaveData ofd_packets/00026771 [20:53:42]File name is /storage/ofd_packets/00026771 [20:53:42]Write 302 bytes [20:53:42]NVStorageSaveData done [20:53:42]OFDSenderStorePacket done [20:53:42]KKMCreateOFDPacket done [20:53:42]NVStorageSaveData kkm_last_timestamp [20:53:42]File name is /storage/kkm_last_timestamp [20:53:42]Write 4 bytes [20:53:42]NVStorageSaveData done [20:53:42]ExternCall_PrintAddStr [20:53:42]wPrintStart [20:53:42]Write to MH i2c: 01 00 00 79 2D A6 [20:53:42]Write i2c OK [20:53:42]MH_I2C_Read... [20:53:42]Read from MH i2c: 01 [20:53:42]MH_I2C_Read... [20:53:42]Read from MH i2c: 01 07 00 [20:53:42]MH_I2C_Read... [20:53:42]Read from MH i2c: 01 07 00 79 2D 00 00 00 00 00 FF 0F BB [20:53:42]RasterBufferAndPrint [20:53:42]line Счет N : (1)359514 [20:53:42]line ИНН: 02508201610067 [20:53:42]line Контрольно-Кассовый Чек [20:53:42]line ПРОДАЖА [20:53:42]line ТРК (МРК, ГНК) : 21 [20:53:42]line Товар: 2710194210 [20:53:42]line ДТ(л)-К-5 [20:53:42]line 13.930 * 71.80 [20:53:42]line = 1000.17 [20:53:42]line НДС 12% НСП 1% [20:53:42]line > о реализуемом товаре [20:53:42]line ОКРУГЛЕНИЕ: -0.17 [20:53:42]line ИТОГО: 1000.00 [20:53:42]line Внесено: 1000.00 [20:53:42]line СДАЧА: 0.00 [20:53:42]line НСП 1% : 8.85 [20:53:42]line НДС 12% : 106.21 [20:53:42]line Наличными: 1000.00 [20:53:42]line Безнал.: 0.00 [20:53:42]line Место: АЗС № 122 "Партнер Нефть" [20:53:42]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [20:53:42]line СНО: Общий режим [20:53:42]line Чек 70 07.04.2024 20:53 [20:53:42]line Смена: 313 ФФД: 1.0 [20:53:42]line ЗНМ: 0300000147 [20:53:42]line РНМ: 0000000000091578 [20:53:42]line Версия ККМ: 001 [20:53:42]line ФМ: 0000000000874657 [20:53:42]line ФД: 26771 [20:53:42]line ФПД: 31965392292428 [20:53:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T205351&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26771&fm=31965392292428&tin=02508201610067®Number=0000000000091578&sum=100000 [20:53:42]OFD Sender: Processing packet 26771 [packets to send 44, broken 43] [20:53:42]ProducePacketName [20:53:42]name=ofd_packets/00026771 [20:53:42]OFD Sender: To server: pG, [20:53:42]CommunicateWithHost lk.salyk.kg:30040 [20:53:42]ConnectInit lk.salyk.kg [20:53:42]written 0, free lines is 4095 [20:53:42]Connected sock=10 [20: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 36 35 37 10 01 00 00 A7 FA 08 01 26 18 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 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 7D 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 46 00 00 00 F4 03 04 00 DF 07 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 93 68 00 00 35 04 06 00 1D 12 85 DA 4A 4C 33 6E F6 C3 FC 2A 89 75 [20: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 36 35 37 4F 00 00 00 88 EE 47 00 00 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 36 35 37 10 04 04 00 93 68 00 00 F4 03 04 00 4B AF 12 66 B6 04 01 00 00 F0 5B 51 A3 A6 5A 66 C0 [20:53:42]CommunicateWithHost err = 0 [20:53:42]CheckOFDResponse [20:53:42]1017 (14) - 77093643461234 [20:53:42]1041 (16) - 0000000000874657 [20:53:42]1040 (4) - 26771 [20:53:42]1012 (4) - 07.04.2024 14:35 [20:53:42]1206 (1) - 0 [20:53:42]OFD Sender: Remove packet 26771 [20:53:42]ProducePacketName [20:53:42]name=ofd_packets/00026771 [20:53:42]NVStorageDeleteData [20:53:43]Write to MH i2c: 01 00 00 A4 2D D1 [20:53:43]Write i2c OK [20:53:43]MH_I2C_Read... [20:53:43]Read from MH i2c: 01 [20:53:43]MH_I2C_Read... [20:53:43]Read from MH i2c: 01 07 00 [20:53:43]MH_I2C_Read... [20:53:43]Read from MH i2c: 01 07 00 A4 2D 00 00 00 00 00 6C 0C 50 [20:53:43]RasterBufferAndPrint [20:53:43]line [20:53:43]line [20:53:43]line [20:53:43]line [20:53:43]line [20:53:43]written 0, free lines is 3184 [20:53:43]MH_Cut [20:53:43]Write to MH i2c: D1 01 00 AB 2D 01 AA [20:53:43]Write i2c OK [20:53:43]MH_I2C_Read... [20:53:43]Read from MH i2c: D1 [20:53:43]MH_I2C_Read... [20:53:43]Read from MH i2c: D1 01 00 [20:53:43]MH_I2C_Read... [20:53:43]Read from MH i2c: D1 01 00 AB 2D 00 A9 [20:53:43]Write to MH i2c: 01 00 00 AC 2D D9 [20:53:43]Write i2c OK [20:53:43]MH_I2C_Read... [20:53:43]OFD Sender: No OFD packet to send [20:53:44]*** Cut start [20:53:44]*** Partial cut [20:53:44]*** CUTSNS_PIN = 1 [20:53:44]*** CUTSNS_PIN = 0 [20:53:44]*** Brake cut motor [20:53:44]Read from MH i2c: 01 [20:53:44]MH_I2C_Read... [20:53:44]*** Stop cut motor [20:53:44]*** Cut end [20:53:44]Read from MH i2c: 01 07 00 [20:53:44]MH_I2C_Read... [20:53:44]Read from MH i2c: 01 07 00 AC 2D 00 00 00 00 00 FF 0F EE [20:53:44]process_action close_receipt done [20:53:44]requested_data is exist [20:53:44]produce_requested_data [20:53:44]requested_item fm.sn is exist - process it [20:53:44]wFMCommunicate request_size=4 [20:53:44]MH_SAM_APDU [20:53:44]CAPDU: 80 11 00 00 [20:53:44]Write to MH i2c: E2 08 00 AD 2D 80 11 00 00 00 00 00 00 54 [20:53:44]Write i2c OK [20:53:44]MH_I2C_Read... [20:53:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:53:44]Read from MH i2c: E2 [20:53:44]MH_I2C_Read... [20:53:44]Read from MH i2c: E2 17 00 [20:53:44]MH_I2C_Read... [20:53:44]Read from MH i2c: E2 17 00 AD 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 AC [20:53:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [20:53:44]wFMCommunicate OK [20:53:44]requested_item fd.num is exist - process it [20:53:44]SAM_PROTO_GetFieldsCounters [20:53:44]wFMCommunicate request_size=4 [20:53:44]MH_SAM_APDU [20:53:44]CAPDU: 80 13 00 00 [20:53:44]Write to MH i2c: E2 08 00 AE 2D 80 13 00 00 00 00 00 00 57 [20:53:44]Write i2c OK [20:53:44]MH_I2C_Read... [20:53:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:53:45]Read from MH i2c: E2 [20:53:45]MH_I2C_Read... [20:53:45]Read from MH i2c: E2 62 00 [20:53:45]MH_I2C_Read... [20:53:45]Read from MH i2c: E2 62 00 AE 2D 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 93 68 00 00 0E 04 04 00 39 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 89 [20:53: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 93 68 00 00 0E 04 04 00 39 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 [20:53:45]wFMCommunicate OK [20:53:45]SAM_PROTO_GetFieldsCounters done [20:53:45]requested_item shift.num is exist - process it [20:53:45]requested_item shift.opened is exist - process it [20:53:45]req_shift_opened [20:53:45]FM_GetShiftState [20:53:45]SAM_PROTO_GetShiftState [20:53:45]wFMCommunicate request_size=4 [20:53:45]MH_SAM_APDU [20:53:45]CAPDU: 80 13 01 00 [20:53:45]Write to MH i2c: E2 08 00 AF 2D 80 13 01 00 00 00 00 00 59 [20:53:45]Write i2c OK [20:53:45]MH_I2C_Read... [20:53:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:53:45]Read from MH i2c: E2 [20:53:45]MH_I2C_Read... [20:53:45]Read from MH i2c: E2 0E 00 [20:53:45]MH_I2C_Read... [20:53:45]Read from MH i2c: E2 0E 00 AF 2D 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 ED [20:53:45]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [20:53:45]wFMCommunicate OK [20:53:45]SAM_PROTO_GetShiftState done [20:53:45]FM_GetShiftState done [20:53:45]req_shift_opened done [20:53:45]requested_item shift.open_date is exist - process it [20:53:45]req_shift_open_date [20:53:45]req_shift_open_date done [20:53:45]produce_requested_data done [20:53:45]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26771,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [20:53:45]process_action_free close_receipt [20:53:45]json_value_free [20:53:45]json_value_free done [20:53:45]process_json_proto returns [20:53:45]Send response to host [20:53:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26771,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [20:53:45]free response buf [20:53:45]execute_script done [20:53:45]execute_script returns [20:53:45]free content buf [20:53:45]Sock 9.Close socket [20:53:45]Sock 9.Thread stoped [20:53:48]OFD Sender: No OFD packet to send [20:53:53]OFD Sender: No OFD packet to send [20:53:58]OFD Sender: No OFD packet to send [20:54:03]OFD Sender: No OFD packet to send [20:54:08]OFD Sender: No OFD packet to send [20:54:13]OFD Sender: No OFD packet to send [20:54:18]OFD Sender: No OFD packet to send [20:54:23]OFD Sender: No OFD packet to send [20:54:28]OFD Sender: No OFD packet to send [20:54:33]OFD Sender: No OFD packet to send [20:54:38]OFD Sender: No OFD packet to send [20:54:43]OFD Sender: No OFD packet to send [20:54:48]OFD Sender: No OFD packet to send [20:54:53]OFD Sender: No OFD packet to send [20:54:58]OFD Sender: No OFD packet to send [20:55:03]OFD Sender: No OFD packet to send [20:55:08]OFD Sender: No OFD packet to send [20:55:13]OFD Sender: No OFD packet to send [20:55:18]OFD Sender: No OFD packet to send [20:55:23]OFD Sender: No OFD packet to send [20:55:28]OFD Sender: No OFD packet to send [20:55:33]OFD Sender: No OFD packet to send [20:55:38]OFD Sender: No OFD packet to send [20:55:43]OFD Sender: No OFD packet to send [20:55:48]OFD Sender: No OFD packet to send [20:55:53]OFD Sender: No OFD packet to send [20:55:58]OFD Sender: No OFD packet to send [20:56:03]OFD Sender: No OFD packet to send [20:56:08]OFD Sender: No OFD packet to send [20:56:13]OFD Sender: No OFD packet to send [20:56:18]OFD Sender: No OFD packet to send [20:56:23]OFD Sender: No OFD packet to send [20:56:28]OFD Sender: No OFD packet to send [20:56:33]OFD Sender: No OFD packet to send [20:56:38]OFD Sender: No OFD packet to send [20:56:43]OFD Sender: No OFD packet to send [20:56:48]OFD Sender: No OFD packet to send [20:56:53]OFD Sender: No OFD packet to send [20:56:58]OFD Sender: No OFD packet to send [20:57:03]OFD Sender: No OFD packet to send [20:57:08]OFD Sender: No OFD packet to send [20:57:13]OFD Sender: No OFD packet to send [20:57:18]OFD Sender: No OFD packet to send [20:57:23]OFD Sender: No OFD packet to send [20:57:28]OFD Sender: No OFD packet to send [20:57:33]OFD Sender: No OFD packet to send [20:57:38]OFD Sender: No OFD packet to send [20:57:43]OFD Sender: No OFD packet to send [20:57:48]OFD Sender: No OFD packet to send [20:57:53]OFD Sender: No OFD packet to send [20:57:58]OFD Sender: No OFD packet to send [20:58:03]OFD Sender: No OFD packet to send [20:58:08]OFD Sender: No OFD packet to send [20:58:13]OFD Sender: No OFD packet to send [20:58:18]OFD Sender: No OFD packet to send [20:58:23]OFD Sender: No OFD packet to send [20:58:28]OFD Sender: No OFD packet to send [20:58:33]OFD Sender: No OFD packet to send [20:58:38]OFD Sender: No OFD packet to send [20:58:43]OFD Sender: No OFD packet to send [20:58:48]OFD Sender: No OFD packet to send [20:58:53]OFD Sender: No OFD packet to send [20:58:58]OFD Sender: No OFD packet to send [20:59:03]OFD Sender: No OFD packet to send [20:59:08]OFD Sender: No OFD packet to send [20:59:13]OFD Sender: No OFD packet to send [20:59:18]OFD Sender: No OFD packet to send [20:59:23]OFD Sender: No OFD packet to send [20:59:28]OFD Sender: No OFD packet to send [20:59:33]OFD Sender: No OFD packet to send [20:59:38]OFD Sender: No OFD packet to send [20:59:43]OFD Sender: No OFD packet to send [20:59:48]OFD Sender: No OFD packet to send [20:59:53]OFD Sender: No OFD packet to send [20:59:58]OFD Sender: No OFD packet to send [21:00:03]OFD Sender: No OFD packet to send [21:00:08]OFD Sender: No OFD packet to send [21:00:13]OFD Sender: No OFD packet to send [21:00:18]OFD Sender: No OFD packet to send [21:00:23]OFD Sender: No OFD packet to send [21:00:28]OFD Sender: No OFD packet to send [21:00:33]OFD Sender: No OFD packet to send [21:00:38]OFD Sender: No OFD packet to send [21:00:43]OFD Sender: No OFD packet to send [21:00:48]OFD Sender: No OFD packet to send [21:00:53]OFD Sender: No OFD packet to send [21:00:58]OFD Sender: No OFD packet to send [21:01:03]OFD Sender: No OFD packet to send [21:01:08]OFD Sender: No OFD packet to send [21:01:13]OFD Sender: No OFD packet to send [21:01:18]OFD Sender: No OFD packet to send [21:01:23]OFD Sender: No OFD packet to send [21:01:28]OFD Sender: No OFD packet to send [21:01:33]OFD Sender: No OFD packet to send [21:01:38]OFD Sender: No OFD packet to send [21:01:43]OFD Sender: No OFD packet to send [21:01:48]OFD Sender: No OFD packet to send [21:01:53]OFD Sender: No OFD packet to send [21:01:58]OFD Sender: No OFD packet to send [21:02:03]OFD Sender: No OFD packet to send [21:02:08]OFD Sender: No OFD packet to send [21:02:13]OFD Sender: No OFD packet to send [21:02:18]OFD Sender: No OFD packet to send [21:02:23]OFD Sender: No OFD packet to send [21:02:28]OFD Sender: No OFD packet to send [21:02:33]OFD Sender: No OFD packet to send [21:02:38]OFD Sender: No OFD packet to send [21:02:43]OFD Sender: No OFD packet to send [21:02:48]OFD Sender: No OFD packet to send [21:02:53]OFD Sender: No OFD packet to send [21:02:58]OFD Sender: No OFD packet to send [21:03:03]OFD Sender: No OFD packet to send [21:03:08]OFD Sender: No OFD packet to send [21:03:13]OFD Sender: No OFD packet to send [21:03:18]OFD Sender: No OFD packet to send [21:03:23]OFD Sender: No OFD packet to send [21:03:28]OFD Sender: No OFD packet to send [21:03:33]OFD Sender: No OFD packet to send [21:03:38]OFD Sender: No OFD packet to send [21:03:43]OFD Sender: No OFD packet to send [21:03:48]OFD Sender: No OFD packet to send [21:03:53]OFD Sender: No OFD packet to send [21:03:58]OFD Sender: No OFD packet to send [21:04:03]OFD Sender: No OFD packet to send [21:04:08]OFD Sender: No OFD packet to send [21:04:13]OFD Sender: No OFD packet to send [21:04:19]OFD Sender: No OFD packet to send [21:04:24]OFD Sender: No OFD packet to send [21:04:29]OFD Sender: No OFD packet to send [21:04:34]OFD Sender: No OFD packet to send [21:04:39]OFD Sender: No OFD packet to send [21:04:44]OFD Sender: No OFD packet to send [21:04:49]OFD Sender: No OFD packet to send [21:04:54]OFD Sender: No OFD packet to send [21:04:59]OFD Sender: No OFD packet to send [21:05:04]OFD Sender: No OFD packet to send [21:05:09]OFD Sender: No OFD packet to send [21:05:14]OFD Sender: No OFD packet to send [21:05:19]OFD Sender: No OFD packet to send [21:05:24]OFD Sender: No OFD packet to send [21:05:29]OFD Sender: No OFD packet to send [21:05:34]OFD Sender: No OFD packet to send [21:05:39]OFD Sender: No OFD packet to send [21:05:44]OFD Sender: No OFD packet to send [21:05:49]OFD Sender: No OFD packet to send [21:05:54]OFD Sender: No OFD packet to send [21:05:59]OFD Sender: No OFD packet to send [21:06:04]OFD Sender: No OFD packet to send [21:06:09]OFD Sender: No OFD packet to send [21:06:14]OFD Sender: No OFD packet to send [21:06:19]OFD Sender: No OFD packet to send [21:06:24]OFD Sender: No OFD packet to send [21:06:29]OFD Sender: No OFD packet to send [21:06:34]OFD Sender: No OFD packet to send [21:06:39]OFD Sender: No OFD packet to send [21:06:44]OFD Sender: No OFD packet to send [21:06:49]OFD Sender: No OFD packet to send [21:06:54]OFD Sender: No OFD packet to send [21:06:59]OFD Sender: No OFD packet to send [21:07:04]OFD Sender: No OFD packet to send [21:07:09]OFD Sender: No OFD packet to send [21:07:14]OFD Sender: No OFD packet to send [21:07:19]OFD Sender: No OFD packet to send [21:07:24]OFD Sender: No OFD packet to send [21:07:29]OFD Sender: No OFD packet to send [21:07:34]OFD Sender: No OFD packet to send [21:07:39]OFD Sender: No OFD packet to send [21:07:44]OFD Sender: No OFD packet to send [21:07:49]OFD Sender: No OFD packet to send [21:07:54]OFD Sender: No OFD packet to send [21:07:59]OFD Sender: No OFD packet to send [21:08:04]OFD Sender: No OFD packet to send [21:08:09]OFD Sender: No OFD packet to send [21:08:14]OFD Sender: No OFD packet to send [21:08:19]OFD Sender: No OFD packet to send [21:08:24]OFD Sender: No OFD packet to send [21:08:29]OFD Sender: No OFD packet to send [21:08:34]OFD Sender: No OFD packet to send [21:08:39]OFD Sender: No OFD packet to send [21:08:44]OFD Sender: No OFD packet to send [21:08:49]OFD Sender: No OFD packet to send [21:08:54]OFD Sender: No OFD packet to send [21:08:59]OFD Sender: No OFD packet to send [21:09:04]OFD Sender: No OFD packet to send [21:09:09]OFD Sender: No OFD packet to send [21:09:14]OFD Sender: No OFD packet to send [21:09:19]OFD Sender: No OFD packet to send [21:09:24]OFD Sender: No OFD packet to send [21:09:29]OFD Sender: No OFD packet to send [21:09:34]OFD Sender: No OFD packet to send [21:09:39]OFD Sender: No OFD packet to send [21:09:44]OFD Sender: No OFD packet to send [21:09:49]OFD Sender: No OFD packet to send [21:09:54]OFD Sender: No OFD packet to send [21:09:59]OFD Sender: No OFD packet to send [21:10:04]OFD Sender: No OFD packet to send [21:10:09]OFD Sender: No OFD packet to send [21:10:14]OFD Sender: No OFD packet to send [21:10:19]OFD Sender: No OFD packet to send [21:10:24]OFD Sender: No OFD packet to send [21:10:29]OFD Sender: No OFD packet to send [21:10:34]OFD Sender: No OFD packet to send [21:10:39]OFD Sender: No OFD packet to send [21:10:44]OFD Sender: No OFD packet to send [21:10:49]OFD Sender: No OFD packet to send [21:10:54]OFD Sender: No OFD packet to send [21:10:59]OFD Sender: No OFD packet to send [21:11:04]OFD Sender: No OFD packet to send [21:11:09]OFD Sender: No OFD packet to send [21:11:14]OFD Sender: No OFD packet to send [21:11:19]OFD Sender: No OFD packet to send [21:11:24]OFD Sender: No OFD packet to send [21:11:29]OFD Sender: No OFD packet to send [21:11:34]OFD Sender: No OFD packet to send [21:11:39]OFD Sender: No OFD packet to send [21:11:44]OFD Sender: No OFD packet to send [21:11:49]OFD Sender: No OFD packet to send [21:11:54]OFD Sender: No OFD packet to send [21:11:59]OFD Sender: No OFD packet to send [21:12:04]OFD Sender: No OFD packet to send [21:12:09]OFD Sender: No OFD packet to send [21:12:14]OFD Sender: No OFD packet to send [21:12:19]OFD Sender: No OFD packet to send [21:12:24]OFD Sender: No OFD packet to send [21:12:29]OFD Sender: No OFD packet to send [21:12:34]OFD Sender: No OFD packet to send [21:12:39]OFD Sender: No OFD packet to send [21:12:44]OFD Sender: No OFD packet to send [21:12:49]OFD Sender: No OFD packet to send [21:12:54]OFD Sender: No OFD packet to send [21:12:59]OFD Sender: No OFD packet to send [21:13:04]OFD Sender: No OFD packet to send [21:13:09]OFD Sender: No OFD packet to send [21:13:14]OFD Sender: No OFD packet to send [21:13:19]OFD Sender: No OFD packet to send [21:13:24]OFD Sender: No OFD packet to send [21:13:29]OFD Sender: No OFD packet to send [21:13:34]OFD Sender: No OFD packet to send [21:13:39]OFD Sender: No OFD packet to send [21:13:44]OFD Sender: No OFD packet to send [21:13:49]OFD Sender: No OFD packet to send [21:13:54]OFD Sender: No OFD packet to send [21:13:59]OFD Sender: No OFD packet to send [21:14:04]OFD Sender: No OFD packet to send [21:14:09]OFD Sender: No OFD packet to send [21:14:14]OFD Sender: No OFD packet to send [21:14:19]OFD Sender: No OFD packet to send [21:14:24]OFD Sender: No OFD packet to send [21:14:29]OFD Sender: No OFD packet to send [21:14:34]OFD Sender: No OFD packet to send [21:14:39]OFD Sender: No OFD packet to send [21:14:44]OFD Sender: No OFD packet to send [21:14:49]OFD Sender: No OFD packet to send [21:14:54]OFD Sender: No OFD packet to send [21:14:59]OFD Sender: No OFD packet to send [21:15:04]OFD Sender: No OFD packet to send [21:15:09]OFD Sender: No OFD packet to send [21:15:14]OFD Sender: No OFD packet to send [21:15:19]OFD Sender: No OFD packet to send [21:15:24]OFD Sender: No OFD packet to send [21:15:29]OFD Sender: No OFD packet to send [21:15:34]OFD Sender: No OFD packet to send [21:15:39]OFD Sender: No OFD packet to send [21:15:44]OFD Sender: No OFD packet to send [21:15:49]OFD Sender: No OFD packet to send [21:15:54]OFD Sender: No OFD packet to send [21:15:59]OFD Sender: No OFD packet to send [21:16:04]OFD Sender: No OFD packet to send [21:16:09]OFD Sender: No OFD packet to send [21:16:14]OFD Sender: No OFD packet to send [21:16:19]OFD Sender: No OFD packet to send [21:16:24]OFD Sender: No OFD packet to send [21:16:29]OFD Sender: No OFD packet to send [21:16:34]OFD Sender: No OFD packet to send [21:16:39]OFD Sender: No OFD packet to send [21:16:44]OFD Sender: No OFD packet to send [21:16:49]OFD Sender: No OFD packet to send [21:16:54]OFD Sender: No OFD packet to send [21:16:59]OFD Sender: No OFD packet to send [21:17:04]OFD Sender: No OFD packet to send [21:17:09]OFD Sender: No OFD packet to send [21:17:14]OFD Sender: No OFD packet to send [21:17:19]OFD Sender: No OFD packet to send [21:17:24]OFD Sender: No OFD packet to send [21:17:29]OFD Sender: No OFD packet to send [21:17:34]OFD Sender: No OFD packet to send [21:17:39]OFD Sender: No OFD packet to send [21:17:44]OFD Sender: No OFD packet to send [21:17:49]OFD Sender: No OFD packet to send [21:17:54]OFD Sender: No OFD packet to send [21:17:59]OFD Sender: No OFD packet to send [21:18:04]OFD Sender: No OFD packet to send [21:18:09]OFD Sender: No OFD packet to send [21:18:14]OFD Sender: No OFD packet to send [21:18:19]OFD Sender: No OFD packet to send [21:18:24]OFD Sender: No OFD packet to send [21:18:29]OFD Sender: No OFD packet to send [21:18:34]OFD Sender: No OFD packet to send [21:18:39]OFD Sender: No OFD packet to send [21:18:44]OFD Sender: No OFD packet to send [21:18:49]OFD Sender: No OFD packet to send [21:18:54]OFD Sender: No OFD packet to send [21:18:59]OFD Sender: No OFD packet to send [21:19:04]OFD Sender: No OFD packet to send [21:19:09]OFD Sender: No OFD packet to send [21:19:14]OFD Sender: No OFD packet to send [21:19:19]OFD Sender: No OFD packet to send [21:19:24]OFD Sender: No OFD packet to send [21:19:29]OFD Sender: No OFD packet to send [21:19:34]OFD Sender: No OFD packet to send [21:19:39]OFD Sender: No OFD packet to send [21:19:44]OFD Sender: No OFD packet to send [21:19:48]accept exits with 8 [21:19:48]New connection [21:19:48]New thread 3067014500 created [21:19:48]Thread 3066871140 joined [21:19:48]Waiting for new connection... [21:19:48] Sock 8.Parse request [21:19:48]Sock 8.Check first char [21:19:48]Sock 8.First char is OK [21:19:48]request: POST /json_proto HTTP/1.0 [21:19:48]Method: POST [21:19:48]URL: /json_proto [21:19:48]Method is POST - this is cgi request [21:19:48]url: /json_proto [21:19:48]query_string will be loaded in cgi processing [21:19:48]execute_cgi json_proto POST (null) [21:19:48]execute_cgi path=json_proto method=POST [21:19:48]POST find Content-Length [21:19:48]Host: 172.17.35.3:8080 [21:19:48]Content-Length: 683 [21:19:48]Content-Type: application/json [21:19:48] [21:19:48]POST finish read [21:19:48]Found Content-Length = 683 [21:19:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359515", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 12.540, "sum" : 900.37, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 900.00, "total" : 900.00, "payments": [ { "type": 0, "sum" : 900.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:19:48]execute_script... [21:19: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 : (1)359515", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 12.540, "sum" : 900.37, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 900.00, "total" : 900.00, "payments": [ { "type": 0, "sum" : 900.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:19:48]POST & json_proto [21:19:48]process_json_proto [21:19:48]json parsed OK: [21:19:48]protocol is kg_v1.0 [21:19:48]action value=close_receipt [21:19:48]process_action close_receipt [21:19:48]cmd_close_receipt [21:19:48]MH_GetDate [21:19:48]Write to MH i2c: F0 00 00 B0 2D CC [21:19:48]Write i2c OK [21:19:48]MH_I2C_Read... [21:19:48]Read from MH i2c: F0 [21:19:48]MH_I2C_Read... [21:19:48]Read from MH i2c: F0 09 00 [21:19:48]MH_I2C_Read... [21:19:48]Read from MH i2c: F0 09 00 B0 2D 00 FF 0D 13 66 2B 11 66 64 60 [21:19:48]GetLastDocTimeStamp 1712523231 [21:19:48]current date 1712524799 [21:19:48]FM_GetShiftState [21:19:48]SAM_PROTO_GetShiftState [21:19:48]wFMCommunicate request_size=4 [21:19:48]MH_SAM_APDU [21:19:48]CAPDU: 80 13 01 00 [21:19:48]Write to MH i2c: E2 08 00 B1 2D 80 13 01 00 00 00 00 00 5B [21:19:48]Write i2c OK [21:19:48]MH_I2C_Read... [21:19:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:19:48]Read from MH i2c: E2 [21:19:48]MH_I2C_Read... [21:19:48]Read from MH i2c: E2 0E 00 [21:19:48]MH_I2C_Read... [21:19:48]Read from MH i2c: E2 0E 00 B1 2D 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 EF [21:19:48]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [21:19:48]wFMCommunicate OK [21:19:48]SAM_PROTO_GetShiftState done [21:19:48]FM_GetShiftState done [21:19:48]opened in 1712450087 [21:19:48]opened+sec_in_day 1712536487 [21:19:48]quantity*price = 90037 [21:19:48]sum+1 = 90038 [21:19:48]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.37 ИТОГО: 900.00 Внесено: 900.00 СДАЧА: 0.00 НСП 1% : 7.97 НДС 12% : 95.61 Наличными: 900.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 71 07.04.2024 21:19 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26772 ФПД: 241725312483953 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T211959&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26772&fm=241725312483953&tin=02508201610067®Number=0000000000091578&sum=90000 [21:19:49]StoreToDocumentArchive [21:19:49]shift 313 fd 26772 [21:19:49]save to /storage/0313/doc_00026772 [21:19:49]save last doc name /storage/0313/doc_00026772 to /storage/kkm_last_doc_name [21:19:49]save OK [21:19:49]Clear old archive folders... [21:19:49]ProcessDocumentItem done err = 0, tmpTLVsize=252 [21:19:49]tlvbuf is B6F64200 [21:19:49]SAM_PROTO_ClearQueue [21:19:49]wFMCommunicate request_size=4 [21:19:49]MH_SAM_APDU [21:19:49]CAPDU: 80 09 00 00 [21:19:49]Write to MH i2c: E2 08 00 BE 2D 80 09 00 00 00 00 00 00 5D [21:19:49]Write i2c OK [21:19:49]MH_I2C_Read... [21:19:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:19:49]Read from MH i2c: E2 [21:19:49]MH_I2C_Read... [21:19:49]Read from MH i2c: E2 03 00 [21:19:49]MH_I2C_Read... [21:19:49]Read from MH i2c: E2 03 00 BE 2D 00 90 00 5F [21:19:49]RAPDU: 90 00 [21:19:49]wFMCommunicate OK [21:19:49]SAM_PROTO_ClearQueue done [21:19:49]KKMCreateOFDPacket [21:19:49]OFDProtocolAddRootSTLVToBuf [21:19:49]FM_MakeSignedData [21:19:49]FM_MakeSignedData [21:19:49]SAM_PROTO_SignData [21:19:49]wFMCommunicate request_size=4 [21:19:49]MH_SAM_APDU [21:19:49]CAPDU: 80 0D 01 02 [21:19:49]Write to MH i2c: E2 08 00 BF 2D 80 0D 01 02 00 00 00 00 65 [21:19:49]Write i2c OK [21:19:49]MH_I2C_Read... [21:19:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:19:49]Read from MH i2c: E2 [21:19:49]MH_I2C_Read... [21:19:49]Read from MH i2c: E2 03 00 [21:19:49]MH_I2C_Read... [21:19:49]Read from MH i2c: E2 03 00 BF 2D 00 90 00 60 [21:19:49]RAPDU: 90 00 [21:19:49]wFMCommunicate OK [21:19:49]wFMCommunicate request_size=255 [21:19:49]MH_SAM_APDU [21:19:49]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 FC 30 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B5 5F 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 5F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 59 25 00 00 00 00 07 04 06 00 90 5F 01 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 FF 0D 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 94 68 00 00 35 04 06 00 [21:19:49]Write to MH i2c: E2 02 01 C0 2D 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 FC 30 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B5 5F 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 5F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 59 25 00 00 00 00 07 04 06 00 90 5F 01 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 FF 0D 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 94 68 00 00 35 04 06 00 00 00 9D [21:19:49]Write i2c OK [21:19:49]MH_I2C_Read... [21:19:49]OFD Sender: No OFD packet to send [21:19:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:19:50]Read from MH i2c: E2 [21:19:50]MH_I2C_Read... [21:19:50]Read from MH i2c: E2 03 00 [21:19:50]MH_I2C_Read... [21:19:50]Read from MH i2c: E2 03 00 C0 2D 00 90 00 61 [21:19:50]RAPDU: 90 00 [21:19:50]wFMCommunicate OK [21:19:50]wFMCommunicate request_size=11 [21:19:50]MH_SAM_APDU [21:19:50]CAPDU: 80 0D 02 02 06 DB D9 0F 62 42 71 [21:19:50]Write to MH i2c: E2 0E 00 C1 2D 80 0D 02 02 06 00 DB D9 0F 62 42 71 00 00 4C [21:19:50]Write i2c OK [21:19:50]MH_I2C_Read... [21:19:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:19:50]Read from MH i2c: E2 [21:19:50]MH_I2C_Read... [21:19:50]Read from MH i2c: E2 03 00 [21:19:50]MH_I2C_Read... [21:19:50]Read from MH i2c: E2 03 00 C1 2D 00 90 00 62 [21:19:50]RAPDU: 90 00 [21:19:50]wFMCommunicate OK [21:19:50]wFMCommunicate request_size=4 [21:19:50]MH_SAM_APDU [21:19:50]CAPDU: 80 0D 03 02 [21:19:50]Write to MH i2c: E2 08 00 C2 2D 80 0D 03 02 00 00 00 00 6A [21:19:50]Write i2c OK [21:19:50]MH_I2C_Read... [21:19:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:19:50]Read from MH i2c: E2 [21:19:50]MH_I2C_Read... [21:19:50]Read from MH i2c: E2 0B 00 [21:19:50]MH_I2C_Read... [21:19:50]Read from MH i2c: E2 0B 00 C2 2D 00 27 DC 85 39 14 B8 60 A0 90 00 F8 [21:19:50]RAPDU: 27 DC 85 39 14 B8 60 A0 90 00 [21:19:50]wFMCommunicate OK [21:19:50]SAM_PROTO_SignData done [21:19:50]FM_MakeSignedData done [21:19:50]CreateOFDProtocolMessage [21:19:50]wFMCommunicate request_size=4 [21:19:50]MH_SAM_APDU [21:19:50]CAPDU: 80 11 00 00 [21:19:50]Write to MH i2c: E2 08 00 C3 2D 80 11 00 00 00 00 00 00 6A [21:19:50]Write i2c OK [21:19:50]MH_I2C_Read... [21:19:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:19:50]Read from MH i2c: E2 [21:19:50]MH_I2C_Read... [21:19:50]Read from MH i2c: E2 17 00 [21:19:50]MH_I2C_Read... [21:19:50]Read from MH i2c: E2 17 00 C3 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 C2 [21:19:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [21:19:50]wFMCommunicate OK [21:19:50]CreateOFDProtocolMessage done [21:19:50]OFDSenderStorePacket 26772 [21:19:50]StoreOFDPacket docnum=26772 [21:19:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 92 BE 08 01 3E 2D 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 FC 30 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B5 5F 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 5F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 59 25 00 00 00 00 07 04 06 00 90 5F 01 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 FF 0D 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 94 68 00 00 35 04 06 00 DB D9 0F 62 42 71 27 DC 85 39 14 B8 60 A0 [21:19:50]CheckFolder [21:19:50]dirname=/storage/ofd_packets [21:19:50]CheckFolder done [21:19:50]ProducePacketName [21:19:50]name=ofd_packets/00026772 [21:19:50]NVStorageSaveData ofd_packets/00026772 [21:19:50]File name is /storage/ofd_packets/00026772 [21:19:50]Write 302 bytes [21:19:50]NVStorageSaveData done [21:19:50]OFDSenderStorePacket done [21:19:50]KKMCreateOFDPacket done [21:19:50]NVStorageSaveData kkm_last_timestamp [21:19:50]File name is /storage/kkm_last_timestamp [21:19:50]Write 4 bytes [21:19:50]NVStorageSaveData done [21:19:50]ExternCall_PrintAddStr [21:19:50]wPrintStart [21:19:50]Write to MH i2c: 01 00 00 C4 2D F1 [21:19:50]Write i2c OK [21:19:50]MH_I2C_Read... [21:19:50]Read from MH i2c: 01 [21:19:50]MH_I2C_Read... [21:19:50]Read from MH i2c: 01 07 00 [21:19:50]MH_I2C_Read... [21:19:50]Read from MH i2c: 01 07 00 C4 2D 00 00 00 00 00 FF 0F 06 [21:19:50]RasterBufferAndPrint [21:19:50]line Счет N : (1)359515 [21:19:50]line ИНН: 02508201610067 [21:19:50]line Контрольно-Кассовый Чек [21:19:50]line ПРОДАЖА [21:19:50]line ТРК (МРК, ГНК) : 11 [21:19:50]line Товар: 2710194210 [21:19:50]line ДТ(л)-К-5 [21:19:50]line 12.540 * 71.80 [21:19:50]line = 900.37 [21:19:50]line НДС 12% НСП 1% [21:19:50]line > о реализуемом товаре [21:19:50]line ОКРУГЛЕНИЕ: -0.37 [21:19:50]line ИТОГО: 900.00 [21:19:50]line Внесено: 900.00 [21:19:50]line СДАЧА: 0.00 [21:19:50]line НСП 1% : 7.97 [21:19:50]line НДС 12% : 95.61 [21:19:50]line Наличными: 900.00 [21:19:50]line Безнал.: 0.00 [21:19:50]line Место: АЗС № 122 "Партнер Нефть" [21:19:50]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [21:19:50]line СНО: Общий режим [21:19:50]line Чек 71 07.04.2024 21:19 [21:19:50]line Смена: 313 ФФД: 1.0 [21:19:50]line ЗНМ: 0300000147 [21:19:50]line РНМ: 0000000000091578 [21:19:50]line Версия ККМ: 001 [21:19:50]line ФМ: 0000000000874657 [21:19:50]line ФД: 26772 [21:19:50]line ФПД: 241725312483953 [21:19:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T211959&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26772&fm=241725312483953&tin=02508201610067®Number=0000000000091578&sum=90000 [21:19:50]OFD Sender: Processing packet 26772 [packets to send 44, broken 43] [21:19:50]ProducePacketName [21:19:50]name=ofd_packets/00026772 [21:19:50]OFD Sender: To server: pG, [21:19:50]CommunicateWithHost lk.salyk.kg:30040 [21:19:50]ConnectInit lk.salyk.kg [21:19:50]written 0, free lines is 4095 [21:19:50]Connected sock=11 [21:19: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 36 35 37 10 01 00 00 92 BE 08 01 3E 2D 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 FC 30 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B5 5F 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 5F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 59 25 00 00 00 00 07 04 06 00 90 5F 01 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 FF 0D 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 94 68 00 00 35 04 06 00 DB D9 0F 62 42 71 27 DC 85 39 14 B8 60 A0 [21:19:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 66 74 47 00 73 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 36 35 37 10 04 04 00 94 68 00 00 F4 03 04 00 6B B5 12 66 B6 04 01 00 00 0A A8 A0 E2 4E 67 D4 C6 [21:19:50]CommunicateWithHost err = 0 [21:19:50]CheckOFDResponse [21:19:50]1017 (14) - 77093643461234 [21:19:50]1041 (16) - 0000000000874657 [21:19:50]1040 (4) - 26772 [21:19:50]1012 (4) - 07.04.2024 15:02 [21:19:50]1206 (1) - 0 [21:19:50]OFD Sender: Remove packet 26772 [21:19:50]ProducePacketName [21:19:50]name=ofd_packets/00026772 [21:19:50]NVStorageDeleteData [21:19:50]Write to MH i2c: 01 00 00 EF 2D 1C [21:19:50]Write i2c OK [21:19:50]MH_I2C_Read... [21:19:50]Read from MH i2c: 01 [21:19:50]MH_I2C_Read... [21:19:50]Read from MH i2c: 01 07 00 [21:19:50]MH_I2C_Read... [21:19:50]Read from MH i2c: 01 07 00 EF 2D 00 00 00 00 00 70 0C 9F [21:19:50]RasterBufferAndPrint [21:19:50]line [21:19:50]line [21:19:50]line [21:19:50]line [21:19:50]line [21:19:50]written 0, free lines is 3186 [21:19:50]MH_Cut [21:19:50]Write to MH i2c: D1 01 00 F6 2D 01 F5 [21:19:50]Write i2c OK [21:19:50]MH_I2C_Read... [21:19:50]Read from MH i2c: D1 [21:19:50]MH_I2C_Read... [21:19:50]Read from MH i2c: D1 01 00 [21:19:50]MH_I2C_Read... [21:19:50]Read from MH i2c: D1 01 00 F6 2D 00 F4 [21:19:50]Write to MH i2c: 01 00 00 F7 2D 24 [21:19:50]Write i2c OK [21:19:50]MH_I2C_Read... [21:19:51]OFD Sender: No OFD packet to send [21:19:52]*** Cut start [21:19:52]*** Partial cut [21:19:52]*** CUTSNS_PIN = 1 [21:19:52]*** CUTSNS_PIN = 0 [21:19:52]*** Brake cut motor [21:19:52]Read from MH i2c: 01 [21:19:52]MH_I2C_Read... [21:19:52]*** Stop cut motor [21:19:52]*** Cut end [21:19:52]Read from MH i2c: 01 07 00 [21:19:52]MH_I2C_Read... [21:19:52]Read from MH i2c: 01 07 00 F7 2D 00 00 00 00 00 FF 0F 39 [21:19:52]process_action close_receipt done [21:19:52]requested_data is exist [21:19:52]produce_requested_data [21:19:52]requested_item fm.sn is exist - process it [21:19:52]wFMCommunicate request_size=4 [21:19:52]MH_SAM_APDU [21:19:52]CAPDU: 80 11 00 00 [21:19:52]Write to MH i2c: E2 08 00 F8 2D 80 11 00 00 00 00 00 00 9F [21:19:52]Write i2c OK [21:19:52]MH_I2C_Read... [21:19:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:19:52]Read from MH i2c: E2 [21:19:52]MH_I2C_Read... [21:19:52]Read from MH i2c: E2 17 00 [21:19:52]MH_I2C_Read... [21:19:52]Read from MH i2c: E2 17 00 F8 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 F7 [21:19:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [21:19:52]wFMCommunicate OK [21:19:52]requested_item fd.num is exist - process it [21:19:52]SAM_PROTO_GetFieldsCounters [21:19:52]wFMCommunicate request_size=4 [21:19:52]MH_SAM_APDU [21:19:52]CAPDU: 80 13 00 00 [21:19:52]Write to MH i2c: E2 08 00 F9 2D 80 13 00 00 00 00 00 00 A2 [21:19:52]Write i2c OK [21:19:52]MH_I2C_Read... [21:19:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:19:52]Read from MH i2c: E2 [21:19:52]MH_I2C_Read... [21:19:52]Read from MH i2c: E2 62 00 [21:19:52]MH_I2C_Read... [21:19:52]Read from MH i2c: E2 62 00 F9 2D 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 94 68 00 00 0E 04 04 00 39 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 D8 [21:19: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 94 68 00 00 0E 04 04 00 39 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 [21:19:52]wFMCommunicate OK [21:19:52]SAM_PROTO_GetFieldsCounters done [21:19:52]requested_item shift.num is exist - process it [21:19:52]requested_item shift.opened is exist - process it [21:19:52]req_shift_opened [21:19:52]FM_GetShiftState [21:19:52]SAM_PROTO_GetShiftState [21:19:52]wFMCommunicate request_size=4 [21:19:52]MH_SAM_APDU [21:19:52]CAPDU: 80 13 01 00 [21:19:52]Write to MH i2c: E2 08 00 FA 2D 80 13 01 00 00 00 00 00 A4 [21:19:52]Write i2c OK [21:19:52]MH_I2C_Read... [21:19:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:19:53]Read from MH i2c: E2 [21:19:53]MH_I2C_Read... [21:19:53]Read from MH i2c: E2 0E 00 [21:19:53]MH_I2C_Read... [21:19:53]Read from MH i2c: E2 0E 00 FA 2D 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 38 [21:19:53]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [21:19:53]wFMCommunicate OK [21:19:53]SAM_PROTO_GetShiftState done [21:19:53]FM_GetShiftState done [21:19:53]req_shift_opened done [21:19:53]requested_item shift.open_date is exist - process it [21:19:53]req_shift_open_date [21:19:53]req_shift_open_date done [21:19:53]produce_requested_data done [21:19:53]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26772,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [21:19:53]process_action_free close_receipt [21:19:53]json_value_free [21:19:53]json_value_free done [21:19:53]process_json_proto returns [21:19:53]Send response to host [21:19:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26772,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [21:19:53]free response buf [21:19:53]execute_script done [21:19:53]execute_script returns [21:19:53]free content buf [21:19:53]Sock 8.Close socket [21:19:53]Sock 8.Thread stoped [21:19:56]OFD Sender: No OFD packet to send [21:20:01]OFD Sender: No OFD packet to send [21:20:06]OFD Sender: No OFD packet to send [21:20:11]OFD Sender: No OFD packet to send [21:20:16]OFD Sender: No OFD packet to send [21:20:21]OFD Sender: No OFD packet to send [21:20:26]OFD Sender: No OFD packet to send [21:20:31]OFD Sender: No OFD packet to send [21:20:36]OFD Sender: No OFD packet to send [21:20:41]OFD Sender: No OFD packet to send [21:20:46]OFD Sender: No OFD packet to send [21:20:51]OFD Sender: No OFD packet to send [21:20:56]OFD Sender: No OFD packet to send [21:21:01]OFD Sender: No OFD packet to send [21:21:06]OFD Sender: No OFD packet to send [21:21:11]OFD Sender: No OFD packet to send [21:21:16]OFD Sender: No OFD packet to send [21:21:21]OFD Sender: No OFD packet to send [21:21:26]OFD Sender: No OFD packet to send [21:21:31]OFD Sender: No OFD packet to send [21:21:36]OFD Sender: No OFD packet to send [21:21:41]OFD Sender: No OFD packet to send [21:21:46]OFD Sender: No OFD packet to send [21:21:51]OFD Sender: No OFD packet to send [21:21:56]OFD Sender: No OFD packet to send [21:22:01]OFD Sender: No OFD packet to send [21:22:06]OFD Sender: No OFD packet to send [21:22:11]OFD Sender: No OFD packet to send [21:22:16]OFD Sender: No OFD packet to send [21:22:21]OFD Sender: No OFD packet to send [21:22:26]OFD Sender: No OFD packet to send [21:22:31]OFD Sender: No OFD packet to send [21:22:36]OFD Sender: No OFD packet to send [21:22:41]OFD Sender: No OFD packet to send [21:22:46]OFD Sender: No OFD packet to send [21:22:51]OFD Sender: No OFD packet to send [21:22:56]OFD Sender: No OFD packet to send [21:23:01]OFD Sender: No OFD packet to send [21:23:06]OFD Sender: No OFD packet to send [21:23:11]OFD Sender: No OFD packet to send [21:23:16]OFD Sender: No OFD packet to send [21:23:21]OFD Sender: No OFD packet to send [21:23:26]OFD Sender: No OFD packet to send [21:23:31]OFD Sender: No OFD packet to send [21:23:36]OFD Sender: No OFD packet to send [21:23:41]OFD Sender: No OFD packet to send [21:23:46]OFD Sender: No OFD packet to send [21:23:51]OFD Sender: No OFD packet to send [21:23:56]OFD Sender: No OFD packet to send [21:24:01]OFD Sender: No OFD packet to send [21:24:06]OFD Sender: No OFD packet to send [21:24:11]OFD Sender: No OFD packet to send [21:24:16]OFD Sender: No OFD packet to send [21:24:21]OFD Sender: No OFD packet to send [21:24:26]OFD Sender: No OFD packet to send [21:24:31]OFD Sender: No OFD packet to send [21:24:36]OFD Sender: No OFD packet to send [21:24:41]OFD Sender: No OFD packet to send [21:24:46]OFD Sender: No OFD packet to send [21:24:51]OFD Sender: No OFD packet to send [21:24:56]OFD Sender: No OFD packet to send [21:25:01]OFD Sender: No OFD packet to send [21:25:06]OFD Sender: No OFD packet to send [21:25:11]OFD Sender: No OFD packet to send [21:25:16]OFD Sender: No OFD packet to send [21:25:21]OFD Sender: No OFD packet to send [21:25:26]OFD Sender: No OFD packet to send [21:25:31]OFD Sender: No OFD packet to send [21:25:36]OFD Sender: No OFD packet to send [21:25:41]OFD Sender: No OFD packet to send [21:25:46]OFD Sender: No OFD packet to send [21:25:51]OFD Sender: No OFD packet to send [21:25:56]OFD Sender: No OFD packet to send [21:26:01]OFD Sender: No OFD packet to send [21:26:06]OFD Sender: No OFD packet to send [21:26:11]OFD Sender: No OFD packet to send [21:26:16]OFD Sender: No OFD packet to send [21:26:21]OFD Sender: No OFD packet to send [21:26:26]OFD Sender: No OFD packet to send [21:26:31]OFD Sender: No OFD packet to send [21:26:36]OFD Sender: No OFD packet to send [21:26:41]OFD Sender: No OFD packet to send [21:26:46]OFD Sender: No OFD packet to send [21:26:51]OFD Sender: No OFD packet to send [21:26:56]OFD Sender: No OFD packet to send [21:27:01]OFD Sender: No OFD packet to send [21:27:06]OFD Sender: No OFD packet to send [21:27:11]OFD Sender: No OFD packet to send [21:27:16]OFD Sender: No OFD packet to send [21:27:21]OFD Sender: No OFD packet to send [21:27:26]OFD Sender: No OFD packet to send [21:27:31]OFD Sender: No OFD packet to send [21:27:36]OFD Sender: No OFD packet to send [21:27:41]OFD Sender: No OFD packet to send [21:27:46]OFD Sender: No OFD packet to send [21:27:51]OFD Sender: No OFD packet to send [21:27:56]OFD Sender: No OFD packet to send [21:28:01]OFD Sender: No OFD packet to send [21:28:06]OFD Sender: No OFD packet to send [21:28:11]OFD Sender: No OFD packet to send [21:28:16]OFD Sender: No OFD packet to send [21:28:21]OFD Sender: No OFD packet to send [21:28:26]OFD Sender: No OFD packet to send [21:28:31]OFD Sender: No OFD packet to send [21:28:36]OFD Sender: No OFD packet to send [21:28:41]OFD Sender: No OFD packet to send [21:28:46]OFD Sender: No OFD packet to send [21:28:51]OFD Sender: No OFD packet to send [21:28:56]OFD Sender: No OFD packet to send [21:29:01]OFD Sender: No OFD packet to send [21:29:06]OFD Sender: No OFD packet to send [21:29:11]OFD Sender: No OFD packet to send [21:29:16]OFD Sender: No OFD packet to send [21:29:21]OFD Sender: No OFD packet to send [21:29:26]OFD Sender: No OFD packet to send [21:29:31]OFD Sender: No OFD packet to send [21:29:36]OFD Sender: No OFD packet to send [21:29:41]OFD Sender: No OFD packet to send [21:29:46]OFD Sender: No OFD packet to send [21:29:51]OFD Sender: No OFD packet to send [21:29:56]OFD Sender: No OFD packet to send [21:30:01]OFD Sender: No OFD packet to send [21:30:06]OFD Sender: No OFD packet to send [21:30:11]OFD Sender: No OFD packet to send [21:30:16]OFD Sender: No OFD packet to send [21:30:21]OFD Sender: No OFD packet to send [21:30:26]OFD Sender: No OFD packet to send [21:30:31]OFD Sender: No OFD packet to send [21:30:36]OFD Sender: No OFD packet to send [21:30:41]OFD Sender: No OFD packet to send [21:30:46]OFD Sender: No OFD packet to send [21:30:51]OFD Sender: No OFD packet to send [21:30:56]OFD Sender: No OFD packet to send [21:31:01]OFD Sender: No OFD packet to send [21:31:06]OFD Sender: No OFD packet to send [21:31:11]OFD Sender: No OFD packet to send [21:31:16]OFD Sender: No OFD packet to send [21:31:21]OFD Sender: No OFD packet to send [21:31:26]OFD Sender: No OFD packet to send [21:31:31]OFD Sender: No OFD packet to send [21:31:36]OFD Sender: No OFD packet to send [21:31:41]OFD Sender: No OFD packet to send [21:31:46]OFD Sender: No OFD packet to send [21:31:51]OFD Sender: No OFD packet to send [21:31:56]OFD Sender: No OFD packet to send [21:31:58]accept exits with 9 [21:31:58]New connection [21:31:58]New thread 3066871140 created [21:31:58]Thread 3067014500 joined [21:31:58]Waiting for new connection... [21:31:58] Sock 9.Parse request [21:31:58]Sock 9.Check first char [21:31:58]Sock 9.First char is OK [21:31:58]request: POST /json_proto HTTP/1.0 [21:31:58]Method: POST [21:31:58]URL: /json_proto [21:31:58]Method is POST - this is cgi request [21:31:58]url: /json_proto [21:31:58]query_string will be loaded in cgi processing [21:31:58]execute_cgi json_proto POST (null) [21:31:58]execute_cgi path=json_proto method=POST [21:31:58]POST find Content-Length [21:31:58]Host: 172.17.35.3:8080 [21:31:58]Content-Length: 682 [21:31:58]Content-Type: application/json [21:31:58] [21:31:58]POST finish read [21:31:58]Found Content-Length = 682 [21:31:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359516", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 9.750, "sum" : 700.05, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 700.00, "total" : 700.00, "payments": [ { "type": 0, "sum" : 700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:31:58]execute_script... [21:31: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 : (1)359516", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 9.750, "sum" : 700.05, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 700.00, "total" : 700.00, "payments": [ { "type": 0, "sum" : 700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:31:58]POST & json_proto [21:31:58]process_json_proto [21:31:58]json parsed OK: [21:31:58]protocol is kg_v1.0 [21:31:58]action value=close_receipt [21:31:58]process_action close_receipt [21:31:58]cmd_close_receipt [21:31:58]MH_GetDate [21:31:58]Write to MH i2c: F0 00 00 FB 2D 17 [21:31:58]Write i2c OK [21:31:58]MH_I2C_Read... [21:31:58]Read from MH i2c: F0 [21:31:58]MH_I2C_Read... [21:31:58]Read from MH i2c: F0 09 00 [21:31:58]MH_I2C_Read... [21:31:58]Read from MH i2c: F0 09 00 FB 2D 00 D9 10 13 66 2B 11 66 64 88 [21:31:58]GetLastDocTimeStamp 1712524799 [21:31:58]current date 1712525529 [21:31:58]FM_GetShiftState [21:31:58]SAM_PROTO_GetShiftState [21:31:58]wFMCommunicate request_size=4 [21:31:58]MH_SAM_APDU [21:31:58]CAPDU: 80 13 01 00 [21:31:58]Write to MH i2c: E2 08 00 FC 2D 80 13 01 00 00 00 00 00 A6 [21:31:58]Write i2c OK [21:31:58]MH_I2C_Read... [21:31:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:31:58]Read from MH i2c: E2 [21:31:58]MH_I2C_Read... [21:31:58]Read from MH i2c: E2 0E 00 [21:31:58]MH_I2C_Read... [21:31:58]Read from MH i2c: E2 0E 00 FC 2D 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 3A [21:31:58]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [21:31:58]wFMCommunicate OK [21:31:58]SAM_PROTO_GetShiftState done [21:31:58]FM_GetShiftState done [21:31:58]opened in 1712450087 [21:31:58]opened+sec_in_day 1712536487 [21:31:58]quantity*price = 70005 [21:31:58]sum+1 = 70006 [21:31:58]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.05 ИТОГО: 700.00 Внесено: 700.00 СДАЧА: 0.00 НСП 1% : 6.19 НДС 12% : 74.34 Наличными: 700.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 72 07.04.2024 21:32 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26773 ФПД: 123049470713078 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T213209&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26773&fm=123049470713078&tin=02508201610067®Number=0000000000091578&sum=70000 [21:31:59]StoreToDocumentArchive [21:31:59]shift 313 fd 26773 [21:31:59]save to /storage/0313/doc_00026773 [21:31:59]save last doc name /storage/0313/doc_00026773 to /storage/kkm_last_doc_name [21:31:59]save OK [21:31:59]Clear old archive folders... [21:31:59]ProcessDocumentItem done err = 0, tmpTLVsize=252 [21:31:59]tlvbuf is 00F30A60 [21:31:59]SAM_PROTO_ClearQueue [21:31:59]wFMCommunicate request_size=4 [21:31:59]MH_SAM_APDU [21:31:59]CAPDU: 80 09 00 00 [21:31:59]Write to MH i2c: E2 08 00 09 2E 80 09 00 00 00 00 00 00 A9 [21:31:59]Write i2c OK [21:31:59]MH_I2C_Read... [21:31:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:31:59]Read from MH i2c: E2 [21:31:59]MH_I2C_Read... [21:31:59]Read from MH i2c: E2 03 00 [21:31:59]MH_I2C_Read... [21:31:59]Read from MH i2c: E2 03 00 09 2E 00 90 00 AB [21:31:59]RAPDU: 90 00 [21:31:59]wFMCommunicate OK [21:31:59]SAM_PROTO_ClearQueue done [21:31:59]KKMCreateOFDPacket [21:31:59]OFDProtocolAddRootSTLVToBuf [21:31:59]FM_MakeSignedData [21:31:59]FM_MakeSignedData [21:31:59]SAM_PROTO_SignData [21:31:59]wFMCommunicate request_size=4 [21:31:59]MH_SAM_APDU [21:31:59]CAPDU: 80 0D 01 02 [21:31:59]Write to MH i2c: E2 08 00 0A 2E 80 0D 01 02 00 00 00 00 B1 [21:31:59]Write i2c OK [21:31:59]MH_I2C_Read... [21:31:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:31:59]Read from MH i2c: E2 [21:31:59]MH_I2C_Read... [21:31:59]Read from MH i2c: E2 03 00 [21:31:59]MH_I2C_Read... [21:31:59]Read from MH i2c: E2 03 00 0A 2E 00 90 00 AC [21:31:59]RAPDU: 90 00 [21:31:59]wFMCommunicate OK [21:31:59]wFMCommunicate request_size=255 [21:31:59]MH_SAM_APDU [21:31:59]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 16 26 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 75 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0A 1D 00 00 00 00 07 04 06 00 70 11 01 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 D9 10 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 95 68 00 00 35 04 06 00 [21:31:59]Write to MH i2c: E2 02 01 0B 2E 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 16 26 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 75 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0A 1D 00 00 00 00 07 04 06 00 70 11 01 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 D9 10 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 95 68 00 00 35 04 06 00 00 00 64 [21:31:59]Write i2c OK [21:31:59]MH_I2C_Read... [21:32:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:32:00]Read from MH i2c: E2 [21:32:00]MH_I2C_Read... [21:32:00]Read from MH i2c: E2 03 00 [21:32:00]MH_I2C_Read... [21:32:00]Read from MH i2c: E2 03 00 0B 2E 00 90 00 AD [21:32:00]RAPDU: 90 00 [21:32:00]wFMCommunicate OK [21:32:00]wFMCommunicate request_size=11 [21:32:00]MH_SAM_APDU [21:32:00]CAPDU: 80 0D 02 02 06 6F E9 AF FD DC F6 [21:32:00]Write to MH i2c: E2 0E 00 0C 2E 80 0D 02 02 06 00 6F E9 AF FD DC F6 00 00 96 [21:32:00]Write i2c OK [21:32:00]MH_I2C_Read... [21:32:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:32:00]Read from MH i2c: E2 [21:32:00]MH_I2C_Read... [21:32:00]Read from MH i2c: E2 03 00 [21:32:00]MH_I2C_Read... [21:32:00]Read from MH i2c: E2 03 00 0C 2E 00 90 00 AE [21:32:00]RAPDU: 90 00 [21:32:00]wFMCommunicate OK [21:32:00]wFMCommunicate request_size=4 [21:32:00]MH_SAM_APDU [21:32:00]CAPDU: 80 0D 03 02 [21:32:00]Write to MH i2c: E2 08 00 0D 2E 80 0D 03 02 00 00 00 00 B6 [21:32:00]Write i2c OK [21:32:00]MH_I2C_Read... [21:32:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:32:00]Read from MH i2c: E2 [21:32:00]MH_I2C_Read... [21:32:00]Read from MH i2c: E2 0B 00 [21:32:00]MH_I2C_Read... [21:32:00]Read from MH i2c: E2 0B 00 0D 2E 00 EE E5 7A 6B 7E 6F 02 68 90 00 C6 [21:32:00]RAPDU: EE E5 7A 6B 7E 6F 02 68 90 00 [21:32:00]wFMCommunicate OK [21:32:00]SAM_PROTO_SignData done [21:32:00]FM_MakeSignedData done [21:32:00]CreateOFDProtocolMessage [21:32:00]wFMCommunicate request_size=4 [21:32:00]MH_SAM_APDU [21:32:00]CAPDU: 80 11 00 00 [21:32:00]Write to MH i2c: E2 08 00 0E 2E 80 11 00 00 00 00 00 00 B6 [21:32:00]Write i2c OK [21:32:00]MH_I2C_Read... [21:32:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:32:00]Read from MH i2c: E2 [21:32:00]MH_I2C_Read... [21:32:00]Read from MH i2c: E2 17 00 [21:32:00]MH_I2C_Read... [21:32:00]Read from MH i2c: E2 17 00 0E 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 0E [21:32:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [21:32:00]wFMCommunicate OK [21:32:00]CreateOFDProtocolMessage done [21:32:00]OFDSenderStorePacket 26773 [21:32:00]StoreOFDPacket docnum=26773 [21:32:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 71 EC 08 01 AD FE 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 16 26 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 75 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0A 1D 00 00 00 00 07 04 06 00 70 11 01 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 D9 10 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 95 68 00 00 35 04 06 00 6F E9 AF FD DC F6 EE E5 7A 6B 7E 6F 02 68 [21:32:00]CheckFolder [21:32:00]dirname=/storage/ofd_packets [21:32:00]CheckFolder done [21:32:00]ProducePacketName [21:32:00]name=ofd_packets/00026773 [21:32:00]NVStorageSaveData ofd_packets/00026773 [21:32:00]File name is /storage/ofd_packets/00026773 [21:32:00]Write 302 bytes [21:32:00]NVStorageSaveData done [21:32:00]OFDSenderStorePacket done [21:32:00]KKMCreateOFDPacket done [21:32:00]NVStorageSaveData kkm_last_timestamp [21:32:00]File name is /storage/kkm_last_timestamp [21:32:00]Write 4 bytes [21:32:00]NVStorageSaveData done [21:32:00]ExternCall_PrintAddStr [21:32:00]wPrintStart [21:32:00]Write to MH i2c: 01 00 00 0F 2E 3D [21:32:00]Write i2c OK [21:32:00]MH_I2C_Read... [21:32:00]Read from MH i2c: 01 [21:32:00]MH_I2C_Read... [21:32:00]Read from MH i2c: 01 07 00 [21:32:00]MH_I2C_Read... [21:32:00]Read from MH i2c: 01 07 00 0F 2E 00 00 00 00 00 FF 0F 52 [21:32:00]RasterBufferAndPrint [21:32:00]line Счет N : (1)359516 [21:32:00]line ИНН: 02508201610067 [21:32:00]line Контрольно-Кассовый Чек [21:32:00]line ПРОДАЖА [21:32:00]line ТРК (МРК, ГНК) : 21 [21:32:00]line Товар: 2710194210 [21:32:00]line ДТ(л)-К-5 [21:32:00]line 9.750 * 71.80 [21:32:00]line = 700.05 [21:32:00]line НДС 12% НСП 1% [21:32:00]line > о реализуемом товаре [21:32:00]line ОКРУГЛЕНИЕ: -0.05 [21:32:00]line ИТОГО: 700.00 [21:32:00]line Внесено: 700.00 [21:32:00]line СДАЧА: 0.00 [21:32:00]line НСП 1% : 6.19 [21:32:00]line НДС 12% : 74.34 [21:32:00]line Наличными: 700.00 [21:32:00]line Безнал.: 0.00 [21:32:00]line Место: АЗС № 122 "Партнер Нефть" [21:32:00]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [21:32:00]line СНО: Общий режим [21:32:00]line Чек 72 07.04.2024 21:32 [21:32:00]line Смена: 313 ФФД: 1.0 [21:32:00]line ЗНМ: 0300000147 [21:32:00]line РНМ: 0000000000091578 [21:32:00]line Версия ККМ: 001 [21:32:00]line ФМ: 0000000000874657 [21:32:00]line ФД: 26773 [21:32:00]line ФПД: 123049470713078 [21:32:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T213209&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26773&fm=123049470713078&tin=02508201610067®Number=0000000000091578&sum=70000 [21:32:00]OFD Sender: Processing packet 26773 [packets to send 44, broken 43] [21:32:00]ProducePacketName [21:32:00]name=ofd_packets/00026773 [21:32:00]OFD Sender: To server: pG, [21:32:00]CommunicateWithHost lk.salyk.kg:30040 [21:32:00]ConnectInit lk.salyk.kg [21:32:00]written 0, free lines is 4095 [21:32:00]Connected sock=10 [21:32: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 36 35 37 10 01 00 00 71 EC 08 01 AD FE 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 16 26 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 75 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0A 1D 00 00 00 00 07 04 06 00 70 11 01 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 D9 10 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 95 68 00 00 35 04 06 00 6F E9 AF FD DC F6 EE E5 7A 6B 7E 6F 02 68 [21:32:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 9E 20 47 00 90 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 36 35 37 10 04 04 00 95 68 00 00 F4 03 04 00 45 B8 12 66 B6 04 01 00 00 B6 E7 BD 19 FA 1A D7 38 [21:32:00]CommunicateWithHost err = 0 [21:32:00]CheckOFDResponse [21:32:00]1017 (14) - 77093643461234 [21:32:00]1041 (16) - 0000000000874657 [21:32:00]1040 (4) - 26773 [21:32:00]1012 (4) - 07.04.2024 15:14 [21:32:00]1206 (1) - 0 [21:32:00]OFD Sender: Remove packet 26773 [21:32:00]ProducePacketName [21:32:00]name=ofd_packets/00026773 [21:32:00]NVStorageDeleteData [21:32:01]Write to MH i2c: 01 00 00 3A 2E 68 [21:32:01]Write i2c OK [21:32:01]MH_I2C_Read... [21:32:01]Read from MH i2c: 01 [21:32:01]MH_I2C_Read... [21:32:01]Read from MH i2c: 01 07 00 [21:32:01]MH_I2C_Read... [21:32:01]Read from MH i2c: 01 07 00 3A 2E 00 00 00 00 00 67 0C E2 [21:32:01]RasterBufferAndPrint [21:32:01]line [21:32:01]line [21:32:01]line [21:32:01]line [21:32:01]line [21:32:01]written 0, free lines is 3178 [21:32:01]MH_Cut [21:32:01]Write to MH i2c: D1 01 00 41 2E 01 41 [21:32:01]Write i2c OK [21:32:01]MH_I2C_Read... [21:32:01]Read from MH i2c: D1 [21:32:01]MH_I2C_Read... [21:32:01]Read from MH i2c: D1 01 00 [21:32:01]MH_I2C_Read... [21:32:01]Read from MH i2c: D1 01 00 41 2E 00 40 [21:32:01]Write to MH i2c: 01 00 00 42 2E 70 [21:32:01]Write i2c OK [21:32:01]MH_I2C_Read... [21:32:01]OFD Sender: No OFD packet to send [21:32:02]*** Cut start [21:32:02]*** Partial cut [21:32:02]*** CUTSNS_PIN = 1 [21:32:02]*** CUTSNS_PIN = 0 [21:32:02]*** Brake cut motor [21:32:02]Read from MH i2c: 01 [21:32:02]MH_I2C_Read... [21:32:02]*** Stop cut motor [21:32:02]*** Cut end [21:32:02]Read from MH i2c: 01 07 00 [21:32:02]MH_I2C_Read... [21:32:02]Read from MH i2c: 01 07 00 42 2E 00 00 00 00 00 FF 0F 85 [21:32:02]process_action close_receipt done [21:32:02]requested_data is exist [21:32:02]produce_requested_data [21:32:02]requested_item fm.sn is exist - process it [21:32:02]wFMCommunicate request_size=4 [21:32:02]MH_SAM_APDU [21:32:02]CAPDU: 80 11 00 00 [21:32:02]Write to MH i2c: E2 08 00 43 2E 80 11 00 00 00 00 00 00 EB [21:32:02]Write i2c OK [21:32:02]MH_I2C_Read... [21:32:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:32:02]Read from MH i2c: E2 [21:32:02]MH_I2C_Read... [21:32:02]Read from MH i2c: E2 17 00 [21:32:02]MH_I2C_Read... [21:32:02]Read from MH i2c: E2 17 00 43 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 43 [21:32:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [21:32:02]wFMCommunicate OK [21:32:02]requested_item fd.num is exist - process it [21:32:02]SAM_PROTO_GetFieldsCounters [21:32:02]wFMCommunicate request_size=4 [21:32:02]MH_SAM_APDU [21:32:02]CAPDU: 80 13 00 00 [21:32:02]Write to MH i2c: E2 08 00 44 2E 80 13 00 00 00 00 00 00 EE [21:32:02]Write i2c OK [21:32:02]MH_I2C_Read... [21:32:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:32:03]Read from MH i2c: E2 [21:32:03]MH_I2C_Read... [21:32:03]Read from MH i2c: E2 62 00 [21:32:03]MH_I2C_Read... [21:32:03]Read from MH i2c: E2 62 00 44 2E 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 95 68 00 00 0E 04 04 00 39 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 28 [21:32:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 95 68 00 00 0E 04 04 00 39 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 [21:32:03]wFMCommunicate OK [21:32:03]SAM_PROTO_GetFieldsCounters done [21:32:03]requested_item shift.num is exist - process it [21:32:03]requested_item shift.opened is exist - process it [21:32:03]req_shift_opened [21:32:03]FM_GetShiftState [21:32:03]SAM_PROTO_GetShiftState [21:32:03]wFMCommunicate request_size=4 [21:32:03]MH_SAM_APDU [21:32:03]CAPDU: 80 13 01 00 [21:32:03]Write to MH i2c: E2 08 00 45 2E 80 13 01 00 00 00 00 00 F0 [21:32:03]Write i2c OK [21:32:03]MH_I2C_Read... [21:32:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:32:03]Read from MH i2c: E2 [21:32:03]MH_I2C_Read... [21:32:03]Read from MH i2c: E2 0E 00 [21:32:03]MH_I2C_Read... [21:32:03]Read from MH i2c: E2 0E 00 45 2E 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 84 [21:32:03]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [21:32:03]wFMCommunicate OK [21:32:03]SAM_PROTO_GetShiftState done [21:32:03]FM_GetShiftState done [21:32:03]req_shift_opened done [21:32:03]requested_item shift.open_date is exist - process it [21:32:03]req_shift_open_date [21:32:03]req_shift_open_date done [21:32:03]produce_requested_data done [21:32:03]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26773,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [21:32:03]process_action_free close_receipt [21:32:03]json_value_free [21:32:03]json_value_free done [21:32:03]process_json_proto returns [21:32:03]Send response to host [21:32:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26773,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [21:32:03]free response buf [21:32:03]execute_script done [21:32:03]execute_script returns [21:32:03]free content buf [21:32:03]Sock 9.Close socket [21:32:03]Sock 9.Thread stoped [21:32:06]OFD Sender: No OFD packet to send [21:32:11]OFD Sender: No OFD packet to send [21:32:16]OFD Sender: No OFD packet to send [21:32:21]OFD Sender: No OFD packet to send [21:32:26]OFD Sender: No OFD packet to send [21:32:31]OFD Sender: No OFD packet to send [21:32:36]OFD Sender: No OFD packet to send [21:32:41]OFD Sender: No OFD packet to send [21:32:46]OFD Sender: No OFD packet to send [21:32:51]OFD Sender: No OFD packet to send [21:32:56]OFD Sender: No OFD packet to send [21:33:01]OFD Sender: No OFD packet to send [21:33:06]OFD Sender: No OFD packet to send [21:33:11]OFD Sender: No OFD packet to send [21:33:16]OFD Sender: No OFD packet to send [21:33:21]OFD Sender: No OFD packet to send [21:33:26]OFD Sender: No OFD packet to send [21:33:31]OFD Sender: No OFD packet to send [21:33:36]OFD Sender: No OFD packet to send [21:33:41]OFD Sender: No OFD packet to send [21:33:46]OFD Sender: No OFD packet to send [21:33:51]OFD Sender: No OFD packet to send [21:33:56]OFD Sender: No OFD packet to send [21:34:01]OFD Sender: No OFD packet to send [21:34:06]OFD Sender: No OFD packet to send [21:34:11]OFD Sender: No OFD packet to send [21:34:16]OFD Sender: No OFD packet to send [21:34:21]OFD Sender: No OFD packet to send [21:34:26]OFD Sender: No OFD packet to send [21:34:31]OFD Sender: No OFD packet to send [21:34:36]OFD Sender: No OFD packet to send [21:34:41]OFD Sender: No OFD packet to send [21:34:46]OFD Sender: No OFD packet to send [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:43:11]OFD Sender: No OFD packet to send [21:43:16]OFD Sender: No OFD packet to send [21:43:21]OFD Sender: No OFD packet to send [21:43:26]OFD Sender: No OFD packet to send [21:43:31]OFD Sender: No OFD packet to send [21:43:36]OFD Sender: No OFD packet to send [21:43:42]OFD Sender: No OFD packet to send [21:43:47]OFD Sender: No OFD packet to send [21:43:52]OFD Sender: No OFD packet to send [21:43:57]OFD Sender: No OFD packet to send [21:44:02]OFD Sender: No OFD packet to send [21:44:07]OFD Sender: No OFD packet to send [21:44:12]OFD Sender: No OFD packet to send [21:44:14]accept exits with 8 [21:44:14]New connection [21:44:14]New thread 3067014500 created [21:44:14]Thread 3066871140 joined [21:44:14]Waiting for new connection... [21:44:14] Sock 8.Parse request [21:44:14]Sock 8.Check first char [21:44:14]Sock 8.First char is OK [21:44:14]request: POST /json_proto HTTP/1.0 [21:44:14]Method: POST [21:44:14]URL: /json_proto [21:44:14]Method is POST - this is cgi request [21:44:14]url: /json_proto [21:44:14]query_string will be loaded in cgi processing [21:44:14]execute_cgi json_proto POST (null) [21:44:14]execute_cgi path=json_proto method=POST [21:44:14]POST find Content-Length [21:44:14]Host: 172.17.35.3:8080 [21:44:14]Content-Length: 683 [21:44:14]Content-Type: application/json [21:44:14] [21:44:14]POST finish read [21:44:14]Found Content-Length = 683 [21:44:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359517", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 11.150, "sum" : 800.57, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 800.00, "total" : 800.00, "payments": [ { "type": 0, "sum" : 800.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:44:14]execute_script... [21:44: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 : (1)359517", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 11.150, "sum" : 800.57, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 800.00, "total" : 800.00, "payments": [ { "type": 0, "sum" : 800.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:44:14]POST & json_proto [21:44:14]process_json_proto [21:44:14]json parsed OK: [21:44:14]protocol is kg_v1.0 [21:44:14]action value=close_receipt [21:44:14]process_action close_receipt [21:44:14]cmd_close_receipt [21:44:14]MH_GetDate [21:44:14]Write to MH i2c: F0 00 00 46 2E 63 [21:44:14]Write i2c OK [21:44:14]MH_I2C_Read... [21:44:14]Read from MH i2c: F0 [21:44:14]MH_I2C_Read... [21:44:14]Read from MH i2c: F0 09 00 [21:44:14]MH_I2C_Read... [21:44:14]Read from MH i2c: F0 09 00 46 2E 00 B9 13 13 66 2B 11 66 64 B7 [21:44:14]GetLastDocTimeStamp 1712525529 [21:44:14]current date 1712526265 [21:44:14]FM_GetShiftState [21:44:14]SAM_PROTO_GetShiftState [21:44:14]wFMCommunicate request_size=4 [21:44:14]MH_SAM_APDU [21:44:14]CAPDU: 80 13 01 00 [21:44:14]Write to MH i2c: E2 08 00 47 2E 80 13 01 00 00 00 00 00 F2 [21:44:14]Write i2c OK [21:44:14]MH_I2C_Read... [21:44:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:44:14]Read from MH i2c: E2 [21:44:14]MH_I2C_Read... [21:44:14]Read from MH i2c: E2 0E 00 [21:44:14]MH_I2C_Read... [21:44:14]Read from MH i2c: E2 0E 00 47 2E 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 86 [21:44:14]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [21:44:14]wFMCommunicate OK [21:44:14]SAM_PROTO_GetShiftState done [21:44:14]FM_GetShiftState done [21:44:14]opened in 1712450087 [21:44:14]opened+sec_in_day 1712536487 [21:44:14]quantity*price = 80057 [21:44:14]sum+1 = 80058 [21:44:14]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.57 ИТОГО: 800.00 Внесено: 800.00 СДАЧА: 0.00 НСП 1% : 7.08 НДС 12% : 85.02 Наличными: 800.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 73 07.04.2024 21:44 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26774 ФПД: 49703950217627 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T214425&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26774&fm=49703950217627&tin=02508201610067®Number=0000000000091578&sum=80000 [21:44:15]StoreToDocumentArchive [21:44:15]shift 313 fd 26774 [21:44:15]save to /storage/0313/doc_00026774 [21:44:15]save last doc name /storage/0313/doc_00026774 to /storage/kkm_last_doc_name [21:44:15]save OK [21:44:15]Clear old archive folders... [21:44:15]ProcessDocumentItem done err = 0, tmpTLVsize=252 [21:44:15]tlvbuf is 00EC8A50 [21:44:15]SAM_PROTO_ClearQueue [21:44:15]wFMCommunicate request_size=4 [21:44:15]MH_SAM_APDU [21:44:15]CAPDU: 80 09 00 00 [21:44:15]Write to MH i2c: E2 08 00 54 2E 80 09 00 00 00 00 00 00 F4 [21:44:15]Write i2c OK [21:44:15]MH_I2C_Read... [21:44:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:44:15]Read from MH i2c: E2 [21:44:15]MH_I2C_Read... [21:44:15]Read from MH i2c: E2 03 00 [21:44:15]MH_I2C_Read... [21:44:15]Read from MH i2c: E2 03 00 54 2E 00 90 00 F6 [21:44:15]RAPDU: 90 00 [21:44:15]wFMCommunicate OK [21:44:15]SAM_PROTO_ClearQueue done [21:44:15]KKMCreateOFDPacket [21:44:15]OFDProtocolAddRootSTLVToBuf [21:44:15]FM_MakeSignedData [21:44:15]FM_MakeSignedData [21:44:15]SAM_PROTO_SignData [21:44:15]wFMCommunicate request_size=4 [21:44:15]MH_SAM_APDU [21:44:15]CAPDU: 80 0D 01 02 [21:44:15]Write to MH i2c: E2 08 00 55 2E 80 0D 01 02 00 00 00 00 FC [21:44:15]Write i2c OK [21:44:15]MH_I2C_Read... [21:44:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:44:15]Read from MH i2c: E2 [21:44:15]MH_I2C_Read... [21:44:15]Read from MH i2c: E2 03 00 [21:44:15]MH_I2C_Read... [21:44:15]Read from MH i2c: E2 03 00 55 2E 00 90 00 F7 [21:44:15]RAPDU: 90 00 [21:44:15]wFMCommunicate OK [21:44:15]wFMCommunicate request_size=255 [21:44:15]MH_SAM_APDU [21:44:15]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 8E 2B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B9 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 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 36 21 00 00 00 00 07 04 06 00 80 38 01 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 B9 13 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 96 68 00 00 35 04 06 00 [21:44:15]Write to MH i2c: E2 02 01 56 2E 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 8E 2B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B9 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 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 36 21 00 00 00 00 07 04 06 00 80 38 01 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 B9 13 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 96 68 00 00 35 04 06 00 00 00 73 [21:44:15]Write i2c OK [21:44:15]MH_I2C_Read... [21:44:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:44:15]Read from MH i2c: E2 [21:44:15]MH_I2C_Read... [21:44:15]Read from MH i2c: E2 03 00 [21:44:15]MH_I2C_Read... [21:44:15]Read from MH i2c: E2 03 00 56 2E 00 90 00 F8 [21:44:15]RAPDU: 90 00 [21:44:15]wFMCommunicate OK [21:44:15]wFMCommunicate request_size=11 [21:44:15]MH_SAM_APDU [21:44:15]CAPDU: 80 0D 02 02 06 2D 34 9A 4B F1 9B [21:44:15]Write to MH i2c: E2 0E 00 57 2E 80 0D 02 02 06 00 2D 34 9A 4B F1 9B 00 00 DD [21:44:15]Write i2c OK [21:44:15]MH_I2C_Read... [21:44:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:44:15]Read from MH i2c: E2 [21:44:15]MH_I2C_Read... [21:44:15]Read from MH i2c: E2 03 00 [21:44:15]MH_I2C_Read... [21:44:15]Read from MH i2c: E2 03 00 57 2E 00 90 00 F9 [21:44:15]RAPDU: 90 00 [21:44:15]wFMCommunicate OK [21:44:15]wFMCommunicate request_size=4 [21:44:15]MH_SAM_APDU [21:44:15]CAPDU: 80 0D 03 02 [21:44:15]Write to MH i2c: E2 08 00 58 2E 80 0D 03 02 00 00 00 00 01 [21:44:15]Write i2c OK [21:44:15]MH_I2C_Read... [21:44:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:44:15]Read from MH i2c: E2 [21:44:15]MH_I2C_Read... [21:44:15]Read from MH i2c: E2 0B 00 [21:44:15]MH_I2C_Read... [21:44:15]Read from MH i2c: E2 0B 00 58 2E 00 76 0F 39 59 67 3B EB 1D 90 00 C3 [21:44:15]RAPDU: 76 0F 39 59 67 3B EB 1D 90 00 [21:44:15]wFMCommunicate OK [21:44:15]SAM_PROTO_SignData done [21:44:15]FM_MakeSignedData done [21:44:15]CreateOFDProtocolMessage [21:44:15]wFMCommunicate request_size=4 [21:44:15]MH_SAM_APDU [21:44:15]CAPDU: 80 11 00 00 [21:44:15]Write to MH i2c: E2 08 00 59 2E 80 11 00 00 00 00 00 00 01 [21:44:15]Write i2c OK [21:44:15]MH_I2C_Read... [21:44:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:44:15]Read from MH i2c: E2 [21:44:15]MH_I2C_Read... [21:44:15]Read from MH i2c: E2 17 00 [21:44:15]MH_I2C_Read... [21:44:15]Read from MH i2c: E2 17 00 59 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 59 [21:44:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [21:44:15]wFMCommunicate OK [21:44:15]CreateOFDProtocolMessage done [21:44:15]OFDSenderStorePacket 26774 [21:44:15]StoreOFDPacket docnum=26774 [21:44:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 86 81 08 01 98 DF 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 8E 2B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B9 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 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 36 21 00 00 00 00 07 04 06 00 80 38 01 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 B9 13 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 96 68 00 00 35 04 06 00 2D 34 9A 4B F1 9B 76 0F 39 59 67 3B EB 1D [21:44:15]CheckFolder [21:44:15]dirname=/storage/ofd_packets [21:44:15]CheckFolder done [21:44:15]ProducePacketName [21:44:15]name=ofd_packets/00026774 [21:44:15]NVStorageSaveData ofd_packets/00026774 [21:44:15]File name is /storage/ofd_packets/00026774 [21:44:15]Write 302 bytes [21:44:15]NVStorageSaveData done [21:44:15]OFDSenderStorePacket done [21:44:15]KKMCreateOFDPacket done [21:44:15]NVStorageSaveData kkm_last_timestamp [21:44:15]File name is /storage/kkm_last_timestamp [21:44:15]Write 4 bytes [21:44:15]NVStorageSaveData done [21:44:15]ExternCall_PrintAddStr [21:44:15]wPrintStart [21:44:15]Write to MH i2c: 01 00 00 5A 2E 88 [21:44:15]Write i2c OK [21:44:15]MH_I2C_Read... [21:44:15]Read from MH i2c: 01 [21:44:15]MH_I2C_Read... [21:44:15]Read from MH i2c: 01 07 00 [21:44:15]MH_I2C_Read... [21:44:15]Read from MH i2c: 01 07 00 5A 2E 00 00 00 00 00 FF 0F 9D [21:44:15]RasterBufferAndPrint [21:44:15]line Счет N : (1)359517 [21:44:15]line ИНН: 02508201610067 [21:44:15]line Контрольно-Кассовый Чек [21:44:15]line ПРОДАЖА [21:44:15]line ТРК (МРК, ГНК) : 21 [21:44:15]line Товар: 2710194210 [21:44:15]line ДТ(л)-К-5 [21:44:15]line 11.150 * 71.80 [21:44:15]line = 800.57 [21:44:15]line НДС 12% НСП 1% [21:44:15]line > о реализуемом товаре [21:44:15]line ОКРУГЛЕНИЕ: -0.57 [21:44:15]line ИТОГО: 800.00 [21:44:15]line Внесено: 800.00 [21:44:15]line СДАЧА: 0.00 [21:44:15]line НСП 1% : 7.08 [21:44:15]line НДС 12% : 85.02 [21:44:15]line Наличными: 800.00 [21:44:15]line Безнал.: 0.00 [21:44:15]line Место: АЗС № 122 "Партнер Нефть" [21:44:15]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [21:44:15]line СНО: Общий режим [21:44:15]line Чек 73 07.04.2024 21:44 [21:44:15]line Смена: 313 ФФД: 1.0 [21:44:15]line ЗНМ: 0300000147 [21:44:15]line РНМ: 0000000000091578 [21:44:15]line Версия ККМ: 001 [21:44:15]line ФМ: 0000000000874657 [21:44:16]line ФД: 26774 [21:44:16]line ФПД: 49703950217627 [21:44:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T214425&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26774&fm=49703950217627&tin=02508201610067®Number=0000000000091578&sum=80000 [21:44:16]OFD Sender: Processing packet 26774 [packets to send 44, broken 43] [21:44:16]ProducePacketName [21:44:16]name=ofd_packets/00026774 [21:44:16]OFD Sender: To server: pG, [21:44:16]CommunicateWithHost lk.salyk.kg:30040 [21:44:16]ConnectInit lk.salyk.kg [21:44:16]written 0, free lines is 4095 [21:44:16]Connected sock=10 [21:44: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 36 35 37 10 01 00 00 86 81 08 01 98 DF 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 8E 2B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B9 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 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 36 21 00 00 00 00 07 04 06 00 80 38 01 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 B9 13 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 96 68 00 00 35 04 06 00 2D 34 9A 4B F1 9B 76 0F 39 59 67 3B EB 1D [21:44:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 04 08 47 00 8B CA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 37 10 04 04 00 96 68 00 00 F4 03 04 00 25 BB 12 66 B6 04 01 00 00 44 7A 45 80 A8 FF B8 B1 [21:44:16]CommunicateWithHost err = 0 [21:44:16]CheckOFDResponse [21:44:16]1017 (14) - 77093643461234 [21:44:16]1041 (16) - 0000000000874657 [21:44:16]1040 (4) - 26774 [21:44:16]1012 (4) - 07.04.2024 15:26 [21:44:16]1206 (1) - 0 [21:44:16]OFD Sender: Remove packet 26774 [21:44:16]ProducePacketName [21:44:16]name=ofd_packets/00026774 [21:44:16]NVStorageDeleteData [21:44:16]Write to MH i2c: 01 00 00 85 2E B3 [21:44:16]Write i2c OK [21:44:16]MH_I2C_Read... [21:44:16]Read from MH i2c: 01 [21:44:16]MH_I2C_Read... [21:44:16]Read from MH i2c: 01 07 00 [21:44:16]MH_I2C_Read... [21:44:16]Read from MH i2c: 01 07 00 85 2E 00 00 00 00 00 6F 0C 35 [21:44:16]RasterBufferAndPrint [21:44:16]line [21:44:16]line [21:44:16]line [21:44:16]line [21:44:16]line [21:44:16]written 0, free lines is 3186 [21:44:16]MH_Cut [21:44:16]Write to MH i2c: D1 01 00 8C 2E 01 8C [21:44:16]Write i2c OK [21:44:16]MH_I2C_Read... [21:44:16]Read from MH i2c: D1 [21:44:16]MH_I2C_Read... [21:44:16]Read from MH i2c: D1 01 00 [21:44:16]MH_I2C_Read... [21:44:16]Read from MH i2c: D1 01 00 8C 2E 00 8B [21:44:16]Write to MH i2c: 01 00 00 8D 2E BB [21:44:16]Write i2c OK [21:44:16]MH_I2C_Read... [21:44:17]OFD Sender: No OFD packet to send [21:44:17]*** Cut start [21:44:17]*** Partial cut [21:44:17]*** CUTSNS_PIN = 1 [21:44:17]*** CUTSNS_PIN = 0 [21:44:18]*** Brake cut motor [21:44:18]Read from MH i2c: 01 [21:44:18]MH_I2C_Read... [21:44:18]*** Stop cut motor [21:44:18]*** Cut end [21:44:18]Read from MH i2c: 01 07 00 [21:44:18]MH_I2C_Read... [21:44:18]Read from MH i2c: 01 07 00 8D 2E 00 00 00 00 00 FF 0F D0 [21:44:18]process_action close_receipt done [21:44:18]requested_data is exist [21:44:18]produce_requested_data [21:44:18]requested_item fm.sn is exist - process it [21:44:18]wFMCommunicate request_size=4 [21:44:18]MH_SAM_APDU [21:44:18]CAPDU: 80 11 00 00 [21:44:18]Write to MH i2c: E2 08 00 8E 2E 80 11 00 00 00 00 00 00 36 [21:44:18]Write i2c OK [21:44:18]MH_I2C_Read... [21:44:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:44:18]Read from MH i2c: E2 [21:44:18]MH_I2C_Read... [21:44:18]Read from MH i2c: E2 17 00 [21:44:18]MH_I2C_Read... [21:44:18]Read from MH i2c: E2 17 00 8E 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 8E [21:44:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [21:44:18]wFMCommunicate OK [21:44:18]requested_item fd.num is exist - process it [21:44:18]SAM_PROTO_GetFieldsCounters [21:44:18]wFMCommunicate request_size=4 [21:44:18]MH_SAM_APDU [21:44:18]CAPDU: 80 13 00 00 [21:44:18]Write to MH i2c: E2 08 00 8F 2E 80 13 00 00 00 00 00 00 39 [21:44:18]Write i2c OK [21:44:18]MH_I2C_Read... [21:44:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:44:18]Read from MH i2c: E2 [21:44:18]MH_I2C_Read... [21:44:18]Read from MH i2c: E2 62 00 [21:44:18]MH_I2C_Read... [21:44:18]Read from MH i2c: E2 62 00 8F 2E 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 96 68 00 00 0E 04 04 00 39 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 77 [21:44: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 96 68 00 00 0E 04 04 00 39 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 [21:44:18]wFMCommunicate OK [21:44:18]SAM_PROTO_GetFieldsCounters done [21:44:18]requested_item shift.num is exist - process it [21:44:18]requested_item shift.opened is exist - process it [21:44:18]req_shift_opened [21:44:18]FM_GetShiftState [21:44:18]SAM_PROTO_GetShiftState [21:44:18]wFMCommunicate request_size=4 [21:44:18]MH_SAM_APDU [21:44:18]CAPDU: 80 13 01 00 [21:44:18]Write to MH i2c: E2 08 00 90 2E 80 13 01 00 00 00 00 00 3B [21:44:18]Write i2c OK [21:44:18]MH_I2C_Read... [21:44:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:44:18]Read from MH i2c: E2 [21:44:18]MH_I2C_Read... [21:44:18]Read from MH i2c: E2 0E 00 [21:44:18]MH_I2C_Read... [21:44:18]Read from MH i2c: E2 0E 00 90 2E 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 CF [21:44:18]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [21:44:18]wFMCommunicate OK [21:44:18]SAM_PROTO_GetShiftState done [21:44:18]FM_GetShiftState done [21:44:18]req_shift_opened done [21:44:18]requested_item shift.open_date is exist - process it [21:44:18]req_shift_open_date [21:44:18]req_shift_open_date done [21:44:18]produce_requested_data done [21:44:18]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26774,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [21:44:18]process_action_free close_receipt [21:44:18]json_value_free [21:44:18]json_value_free done [21:44:18]process_json_proto returns [21:44:18]Send response to host [21:44:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26774,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [21:44:18]free response buf [21:44:18]execute_script done [21:44:18]execute_script returns [21:44:18]free content buf [21:44:18]Sock 8.Close socket [21:44:18]Sock 8.Thread stoped [21:44:22]OFD Sender: No OFD packet to send [21:44:27]OFD Sender: No OFD packet to send [21:44:32]OFD Sender: No OFD packet to send [21:44:37]OFD Sender: No OFD packet to send [21:44:42]OFD Sender: No OFD packet to send [21:44:47]OFD Sender: No OFD packet to send [21:44:52]OFD Sender: No OFD packet to send [21:44:57]OFD Sender: No OFD packet to send [21:45:02]OFD Sender: No OFD packet to send [21:45:07]OFD Sender: No OFD packet to send [21:45:12]OFD Sender: No OFD packet to send [21:45:17]OFD Sender: No OFD packet to send [21:45:22]OFD Sender: No OFD packet to send [21:45:27]OFD Sender: No OFD packet to send [21:45:32]OFD Sender: No OFD packet to send [21:45:37]OFD Sender: No OFD packet to send [21:45:42]OFD Sender: No OFD packet to send [21:45:47]OFD Sender: No OFD packet to send [21:45:52]OFD Sender: No OFD packet to send [21:45:57]OFD Sender: No OFD packet to send [21:46:02]OFD Sender: No OFD packet to send [21:46:07]OFD Sender: No OFD packet to send [21:46:12]OFD Sender: No OFD packet to send [21:46:17]OFD Sender: No OFD packet to send [21:46:22]OFD Sender: No OFD packet to send [21:46:27]OFD Sender: No OFD packet to send [21:46:32]OFD Sender: No OFD packet to send [21:46:37]OFD Sender: No OFD packet to send [21:46:42]OFD Sender: No OFD packet to send [21:46:47]OFD Sender: No OFD packet to send [21:46:52]OFD Sender: No OFD packet to send [21:46:57]OFD Sender: No OFD packet to send [21:47:02]OFD Sender: No OFD packet to send [21:47:07]OFD Sender: No OFD packet to send [21:47:12]OFD Sender: No OFD packet to send [21:47:17]OFD Sender: No OFD packet to send [21:47:22]OFD Sender: No OFD packet to send [21:47:27]OFD Sender: No OFD packet to send [21:47:32]OFD Sender: No OFD packet to send [21:47:37]OFD Sender: No OFD packet to send [21:47:42]OFD Sender: No OFD packet to send [21:47:47]OFD Sender: No OFD packet to send [21:47:52]OFD Sender: No OFD packet to send [21:47:57]OFD Sender: No OFD packet to send [21:48:02]OFD Sender: No OFD packet to send [21:48:07]OFD Sender: No OFD packet to send [21:48:12]OFD Sender: No OFD packet to send [21:48:17]OFD Sender: No OFD packet to send [21:48:22]OFD Sender: No OFD packet to send [21:48:27]OFD Sender: No OFD packet to send [21:48:32]OFD Sender: No OFD packet to send [21:48:37]OFD Sender: No OFD packet to send [21:48:42]OFD Sender: No OFD packet to send [21:48:47]OFD Sender: No OFD packet to send [21:48:52]OFD Sender: No OFD packet to send [21:48:57]OFD Sender: No OFD packet to send [21:49:02]OFD Sender: No OFD packet to send [21:49:07]OFD Sender: No OFD packet to send [21:49:12]OFD Sender: No OFD packet to send [21:49:17]OFD Sender: No OFD packet to send [21:49:22]OFD Sender: No OFD packet to send [21:49:27]OFD Sender: No OFD packet to send [21:49:32]OFD Sender: No OFD packet to send [21:49:37]OFD Sender: No OFD packet to send [21:49:42]OFD Sender: No OFD packet to send [21:49:47]OFD Sender: No OFD packet to send [21:49:52]OFD Sender: No OFD packet to send [21:49:57]OFD Sender: No OFD packet to send [21:50:02]OFD Sender: No OFD packet to send [21:50:07]OFD Sender: No OFD packet to send [21:50:12]OFD Sender: No OFD packet to send [21:50:17]OFD Sender: No OFD packet to send [21:50:22]OFD Sender: No OFD packet to send [21:50:27]OFD Sender: No OFD packet to send [21:50:32]OFD Sender: No OFD packet to send [21:50:37]OFD Sender: No OFD packet to send [21:50:42]OFD Sender: No OFD packet to send [21:50:47]OFD Sender: No OFD packet to send [21:50:52]OFD Sender: No OFD packet to send [21:50:57]OFD Sender: No OFD packet to send [21:51:02]OFD Sender: No OFD packet to send [21:51:07]OFD Sender: No OFD packet to send [21:51:12]OFD Sender: No OFD packet to send [21:51:17]OFD Sender: No OFD packet to send [21:51:22]OFD Sender: No OFD packet to send [21:51:27]OFD Sender: No OFD packet to send [21:51:32]OFD Sender: No OFD packet to send [21:51:37]OFD Sender: No OFD packet to send [21:51:42]OFD Sender: No OFD packet to send [21:51:47]OFD Sender: No OFD packet to send [21:51:52]OFD Sender: No OFD packet to send [21:51:57]OFD Sender: No OFD packet to send [21:52:02]OFD Sender: No OFD packet to send [21:52:07]OFD Sender: No OFD packet to send [21:52:12]OFD Sender: No OFD packet to send [21:52:17]OFD Sender: No OFD packet to send [21:52:22]OFD Sender: No OFD packet to send [21:52:27]OFD Sender: No OFD packet to send [21:52:32]OFD Sender: No OFD packet to send [21:52:37]OFD Sender: No OFD packet to send [21:52:42]OFD Sender: No OFD packet to send [21:52:47]OFD Sender: No OFD packet to send [21:52:52]OFD Sender: No OFD packet to send [21:52:57]OFD Sender: No OFD packet to send [21:53:02]OFD Sender: No OFD packet to send [21:53:07]OFD Sender: No OFD packet to send [21:53:12]OFD Sender: No OFD packet to send [21:53:17]OFD Sender: No OFD packet to send [21:53:22]OFD Sender: No OFD packet to send [21:53:27]OFD Sender: No OFD packet to send [21:53:32]OFD Sender: No OFD packet to send [21:53:37]OFD Sender: No OFD packet to send [21:53:42]OFD Sender: No OFD packet to send [21:53:47]OFD Sender: No OFD packet to send [21:53:52]OFD Sender: No OFD packet to send [21:53:57]OFD Sender: No OFD packet to send [21:54:02]OFD Sender: No OFD packet to send [21:54:07]OFD Sender: No OFD packet to send [21:54:12]OFD Sender: No OFD packet to send [21:54:17]OFD Sender: No OFD packet to send [21:54:22]OFD Sender: No OFD packet to send [21:54:27]OFD Sender: No OFD packet to send [21:54:32]OFD Sender: No OFD packet to send [21:54:37]OFD Sender: No OFD packet to send [21:54:42]OFD Sender: No OFD packet to send [21:54:47]OFD Sender: No OFD packet to send [21:54:52]OFD Sender: No OFD packet to send [21:54:57]OFD Sender: No OFD packet to send [21:55:02]OFD Sender: No OFD packet to send [21:55:07]OFD Sender: No OFD packet to send [21:55:12]OFD Sender: No OFD packet to send [21:55:17]OFD Sender: No OFD packet to send [21:55:22]OFD Sender: No OFD packet to send [21:55:27]OFD Sender: No OFD packet to send [21:55:32]OFD Sender: No OFD packet to send [21:55:37]OFD Sender: No OFD packet to send [21:55:42]OFD Sender: No OFD packet to send [21:55:47]OFD Sender: No OFD packet to send [21:55:52]OFD Sender: No OFD packet to send [21:55:57]OFD Sender: No OFD packet to send [21:56:02]OFD Sender: No OFD packet to send [21:56:07]OFD Sender: No OFD packet to send [21:56:12]OFD Sender: No OFD packet to send [21:56:17]OFD Sender: No OFD packet to send [21:56:22]OFD Sender: No OFD packet to send [21:56:27]OFD Sender: No OFD packet to send [21:56:32]OFD Sender: No OFD packet to send [21:56:37]OFD Sender: No OFD packet to send [21:56:42]OFD Sender: No OFD packet to send [21:56:47]OFD Sender: No OFD packet to send [21:56:52]OFD Sender: No OFD packet to send [21:56:57]OFD Sender: No OFD packet to send [21:57:02]OFD Sender: No OFD packet to send [21:57:07]OFD Sender: No OFD packet to send [21:57:12]OFD Sender: No OFD packet to send [21:57:17]OFD Sender: No OFD packet to send [21:57:22]OFD Sender: No OFD packet to send [21:57:27]OFD Sender: No OFD packet to send [21:57:32]OFD Sender: No OFD packet to send [21:57:37]OFD Sender: No OFD packet to send [21:57:42]OFD Sender: No OFD packet to send [21:57:47]OFD Sender: No OFD packet to send [21:57:52]OFD Sender: No OFD packet to send [21:57:57]OFD Sender: No OFD packet to send [21:58:02]OFD Sender: No OFD packet to send [21:58:07]OFD Sender: No OFD packet to send [21:58:12]OFD Sender: No OFD packet to send [21:58:17]OFD Sender: No OFD packet to send [21:58:22]OFD Sender: No OFD packet to send [21:58:27]OFD Sender: No OFD packet to send [21:58:32]OFD Sender: No OFD packet to send [21:58:37]OFD Sender: No OFD packet to send [21:58:42]OFD Sender: No OFD packet to send [21:58:47]OFD Sender: No OFD packet to send [21:58:52]OFD Sender: No OFD packet to send [21:58:57]OFD Sender: No OFD packet to send [21:59:02]OFD Sender: No OFD packet to send [21:59:07]OFD Sender: No OFD packet to send [21:59:12]OFD Sender: No OFD packet to send [21:59:17]OFD Sender: No OFD packet to send [21:59:22]OFD Sender: No OFD packet to send [21:59:27]OFD Sender: No OFD packet to send [21:59:32]OFD Sender: No OFD packet to send [21:59:37]OFD Sender: No OFD packet to send [21:59:42]OFD Sender: No OFD packet to send [21:59:47]OFD Sender: No OFD packet to send [21:59:52]OFD Sender: No OFD packet to send [21:59:57]OFD Sender: No OFD packet to send [22:00:02]OFD Sender: No OFD packet to send [22:00:07]OFD Sender: No OFD packet to send [22:00:12]OFD Sender: No OFD packet to send [22:00:17]OFD Sender: No OFD packet to send [22:00:22]OFD Sender: No OFD packet to send [22:00:27]OFD Sender: No OFD packet to send [22:00:32]accept exits with 9 [22:00:32]New connection [22:00:32]New thread 3066871140 created [22:00:32]Thread 3067014500 joined [22:00:32]Waiting for new connection... [22:00:32] Sock 9.Parse request [22:00:32]Sock 9.Check first char [22:00:32]Sock 9.First char is OK [22:00:32]request: POST /json_proto HTTP/1.0 [22:00:32]Method: POST [22:00:32]URL: /json_proto [22:00:32]Method is POST - this is cgi request [22:00:32]url: /json_proto [22:00:32]query_string will be loaded in cgi processing [22:00:32]execute_cgi json_proto POST (null) [22:00:32]execute_cgi path=json_proto method=POST [22:00:32]POST find Content-Length [22:00:32]Host: 172.17.35.3:8080 [22:00:32]Content-Length: 215 [22:00:32]Content-Type: application/json [22:00:32] [22:00:32]POST finish read [22:00:32]Found Content-Length = 215 [22:00:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:00:32]execute_script... [22:00:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:00:32]POST & json_proto [22:00:32]process_json_proto [22:00:32]json parsed OK: [22:00:32]protocol is kg_v1.0 [22:00:32]action value=get_value [22:00:32]process_action get_value [22:00:32]cmd_get_value [22:00:32]process_action get_value done [22:00:32]requested_data is exist [22:00:32]produce_requested_data [22:00:32]requested_item kkm.sn is exist - process it [22:00:32]requested_item kkm.ver is exist - process it [22:00:32]requested_item fm.sn is exist - process it [22:00:32]wFMCommunicate request_size=4 [22:00:32]MH_SAM_APDU [22:00:32]CAPDU: 80 11 00 00 [22:00:32]Write to MH i2c: E2 08 00 91 2E 80 11 00 00 00 00 00 00 39 [22:00:32]OFD Sender: No OFD packet to send [22:00:32]Write i2c OK [22:00:32]MH_I2C_Read... [22:00:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:00:32]Read from MH i2c: E2 [22:00:32]MH_I2C_Read... [22:00:32]Read from MH i2c: E2 17 00 [22:00:32]MH_I2C_Read... [22:00:32]Read from MH i2c: E2 17 00 91 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 91 [22:00:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [22:00:32]wFMCommunicate OK [22:00:32]requested_item fd.num is exist - process it [22:00:32]SAM_PROTO_GetFieldsCounters [22:00:32]wFMCommunicate request_size=4 [22:00:32]MH_SAM_APDU [22:00:32]CAPDU: 80 13 00 00 [22:00:32]Write to MH i2c: E2 08 00 92 2E 80 13 00 00 00 00 00 00 3C [22:00:32]Write i2c OK [22:00:32]MH_I2C_Read... [22:00:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:00:33]Read from MH i2c: E2 [22:00:33]MH_I2C_Read... [22:00:33]Read from MH i2c: E2 62 00 [22:00:33]MH_I2C_Read... [22:00:33]Read from MH i2c: E2 62 00 92 2E 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 96 68 00 00 0E 04 04 00 39 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 7A [22:00: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 96 68 00 00 0E 04 04 00 39 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 [22:00:33]wFMCommunicate OK [22:00:33]SAM_PROTO_GetFieldsCounters done [22:00:33]requested_item shift.num is exist - process it [22:00:33]requested_item shift.opened is exist - process it [22:00:33]req_shift_opened [22:00:33]FM_GetShiftState [22:00:33]SAM_PROTO_GetShiftState [22:00:33]wFMCommunicate request_size=4 [22:00:33]MH_SAM_APDU [22:00:33]CAPDU: 80 13 01 00 [22:00:33]Write to MH i2c: E2 08 00 93 2E 80 13 01 00 00 00 00 00 3E [22:00:33]Write i2c OK [22:00:33]MH_I2C_Read... [22:00:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:00:33]Read from MH i2c: E2 [22:00:33]MH_I2C_Read... [22:00:33]Read from MH i2c: E2 0E 00 [22:00:33]MH_I2C_Read... [22:00:33]Read from MH i2c: E2 0E 00 93 2E 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 D2 [22:00:33]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [22:00:33]wFMCommunicate OK [22:00:33]SAM_PROTO_GetShiftState done [22:00:33]FM_GetShiftState done [22:00:33]req_shift_opened done [22:00:33]requested_item shift.open_date is exist - process it [22:00:33]req_shift_open_date [22:00:33]req_shift_open_date done [22:00:33]produce_requested_data done [22:00:33]produce_requested_data return {"kkm.sn":"0300000147","kkm.ver":"001","fm.sn":"0000000000874657","fd.num":26774,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [22:00:33]process_action_free get_value [22:00:33]json_value_free [22:00:33]json_value_free done [22:00:33]process_json_proto returns [22:00:33]Send response to host [22:00:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000147","kkm.ver":"001","fm.sn":"0000000000874657","fd.num":26774,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [22:00:33]free response buf [22:00:33]execute_script done [22:00:33]execute_script returns [22:00:33]free content buf [22:00:33]Sock 9.Close socket [22:00:33]Sock 9.Thread stoped [22:00:33]accept exits with 8 [22:00:33]New connection [22:00:33]New thread 3067014500 created [22:00:33]Thread 3066871140 joined [22:00:33]Waiting for new connection... [22:00:33] Sock 8.Parse request [22:00:33]Sock 8.Check first char [22:00:33]Sock 8.First char is OK [22:00:33]request: POST /json_proto HTTP/1.0 [22:00:33]Method: POST [22:00:33]URL: /json_proto [22:00:33]Method is POST - this is cgi request [22:00:33]url: /json_proto [22:00:33]query_string will be loaded in cgi processing [22:00:33]execute_cgi json_proto POST (null) [22:00:33]execute_cgi path=json_proto method=POST [22:00:33]POST find Content-Length [22:00:33]Host: 172.17.35.3:8080 [22:00:33]Content-Length: 331 [22:00:33]Content-Type: application/json [22:00:33] [22:00:33]POST finish read [22:00:33]Found Content-Length = 331 [22:00:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [22:00:33]execute_script... [22:00:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [22:00:33]POST & json_proto [22:00:33]process_json_proto [22:00:33]json parsed OK: [22:00:33]protocol is kg_v1.0 [22:00:33]action value=get_value [22:00:33]process_action get_value [22:00:33]cmd_get_value [22:00:33]process_action get_value done [22:00:33]requested_data is exist [22:00:33]produce_requested_data [22:00:33]requested_item fm.sale.total is exist - process it [22:00:33]SAM_PROTO_GetFMData [22:00:33]wFMCommunicate request_size=4 [22:00:33]MH_SAM_APDU [22:00:33]CAPDU: 80 13 03 00 [22:00:33]Write to MH i2c: E2 08 00 94 2E 80 13 03 00 00 00 00 00 41 [22:00:33]Write i2c OK [22:00:33]MH_I2C_Read... [22:00:33]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [22:00:33]Read from MH i2c: E2 [22:00:33]MH_I2C_Read... [22:00:33]Read from MH i2c: E2 FD 00 [22:00:33]MH_I2C_Read... [22:00:33]Read from MH i2c: E2 FD 00 94 2E 00 C0 04 85 04 BC 04 6E 04 04 00 24 66 00 00 69 04 A1 00 6F 04 04 00 E2 65 00 00 B1 04 04 00 29 59 37 9B 70 04 04 00 60 26 81 7F 72 04 04 00 C9 32 B6 1B 00 04 7D 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 8D B1 7C 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 03 B3 5F 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 99 00 6F 04 04 00 42 00 00 00 B1 04 03 00 A4 6D BB 70 04 03 00 A4 6D BB 72 04 00 00 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 0B E8 13 EF 03 09 00 F6 03 01 00 90 00 80 [22:00:33]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 24 66 00 00 69 04 A1 00 6F 04 04 00 E2 65 00 00 B1 04 04 00 29 59 37 9B 70 04 04 00 60 26 81 7F 72 04 04 00 C9 32 B6 1B 00 04 7D 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 8D B1 7C 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 03 B3 5F 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 99 00 6F 04 04 00 42 00 00 00 B1 04 03 00 A4 6D BB 70 04 03 00 A4 6D BB 72 04 00 00 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 0B E8 13 EF 03 09 00 F6 03 01 00 90 00 [22:00:33]wFMCommunicate OK [22:00:33]wFMCommunicate request_size=4 [22:00:33]MH_SAM_APDU [22:00:33]CAPDU: 80 17 00 00 [22:00:33]Write to MH i2c: E2 08 00 95 2E 80 17 00 00 00 00 00 00 43 [22:00:33]Write i2c OK [22:00:33]MH_I2C_Read... [22:00:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:00:34]Read from MH i2c: E2 [22:00:34]MH_I2C_Read... [22:00:34]Read from MH i2c: E2 FD 00 [22:00:34]MH_I2C_Read... [22:00:34]Read from MH i2c: E2 FD 00 95 2E 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 A7 A8 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 90 00 C3 [22:00:34]RAPDU: 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 A7 A8 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 90 00 [22:00:34]wFMCommunicate OK [22:00:34]wFMCommunicate request_size=4 [22:00:34]MH_SAM_APDU [22:00:34]CAPDU: 80 17 00 00 [22:00:34]Write to MH i2c: E2 08 00 96 2E 80 17 00 00 00 00 00 00 44 [22:00:34]Write i2c OK [22:00:34]MH_I2C_Read... [22:00:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:00:34]Read from MH i2c: E2 [22:00:34]MH_I2C_Read... [22:00:34]Read from MH i2c: E2 FD 00 [22:00:34]MH_I2C_Read... [22:00:34]Read from MH i2c: E2 FD 00 96 2E 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 E7 [22:00:34]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [22:00:34]wFMCommunicate OK [22:00:34]wFMCommunicate request_size=4 [22:00:34]MH_SAM_APDU [22:00:34]CAPDU: 80 17 00 00 [22:00:34]Write to MH i2c: E2 08 00 97 2E 80 17 00 00 00 00 00 00 45 [22:00:34]Write i2c OK [22:00:34]MH_I2C_Read... [22:00:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:00:34]Read from MH i2c: E2 [22:00:34]MH_I2C_Read... [22:00:34]Read from MH i2c: E2 FD 00 [22:00:34]MH_I2C_Read... [22:00:34]Read from MH i2c: E2 FD 00 97 2E 00 01 00 04 F7 03 00 00 EF 03 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 90 00 BD [22:00:34]RAPDU: 01 00 04 F7 03 00 00 EF 03 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 90 00 [22:00:34]wFMCommunicate OK [22:00:34]wFMCommunicate request_size=4 [22:00:34]MH_SAM_APDU [22:00:34]CAPDU: 80 17 00 00 [22:00:34]Write to MH i2c: E2 08 00 98 2E 80 17 00 00 00 00 00 00 46 [22:00:34]Write i2c OK [22:00:34]MH_I2C_Read... [22:00:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [22:00:34]Read from MH i2c: E2 [22:00:34]MH_I2C_Read... [22:00:34]Read from MH i2c: E2 DD 00 [22:00:34]MH_I2C_Read... [22:00:34]Read from MH i2c: E2 DD 00 98 2E 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [22:00:34]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:00:34]wFMCommunicate OK [22:00:34]SAM_PROTO_GetFMData done [22:00:34]requested_item fm.sale_refund.total is exist - process it [22:00:34]requested_item fm.buy.total is exist - process it [22:00:34]requested_item shift.sale.total is exist - process it [22:00:34]SAM_PROTO_GetShiftData [22:00:34]wFMCommunicate request_size=4 [22:00:34]MH_SAM_APDU [22:00:34]CAPDU: 80 13 02 00 [22:00:34]Write to MH i2c: E2 08 00 99 2E 80 13 02 00 00 00 00 00 45 [22:00:34]Write i2c OK [22:00:34]MH_I2C_Read... [22:00:35]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [22:00:35]Read from MH i2c: E2 [22:00:35]MH_I2C_Read... [22:00:35]Read from MH i2c: E2 FD 00 [22:00:35]MH_I2C_Read... [22:00:35]Read from MH i2c: E2 FD 00 99 2E 00 AF 04 AA 04 AB 04 6E 04 04 00 49 00 00 00 69 04 9C 00 6F 04 04 00 49 00 00 00 B1 04 03 00 78 DD 78 70 04 03 00 D8 FB 49 72 04 03 00 A0 E1 2E 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 8D D6 0C 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 D9 11 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 90 00 99 [22:00:35]RAPDU: AF 04 AA 04 AB 04 6E 04 04 00 49 00 00 00 69 04 9C 00 6F 04 04 00 49 00 00 00 B1 04 03 00 78 DD 78 70 04 03 00 D8 FB 49 72 04 03 00 A0 E1 2E 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 8D D6 0C 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 D9 11 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 90 00 [22:00:35]wFMCommunicate OK [22:00:35]wFMCommunicate request_size=4 [22:00:35]MH_SAM_APDU [22:00:35]CAPDU: 80 17 00 00 [22:00:35]Write to MH i2c: E2 08 00 9A 2E 80 17 00 00 00 00 00 00 48 [22:00:35]Write i2c OK [22:00:35]MH_I2C_Read... [22:00:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:00:35]Read from MH i2c: E2 [22:00:35]MH_I2C_Read... [22:00:35]Read from MH i2c: E2 FD 00 [22:00:35]MH_I2C_Read... [22:00:35]Read from MH i2c: E2 FD 00 9A 2E 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 90 00 61 [22:00:35]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 90 00 [22:00:35]wFMCommunicate OK [22:00:35]wFMCommunicate request_size=4 [22:00:35]MH_SAM_APDU [22:00:35]CAPDU: 80 17 00 00 [22:00:35]Write to MH i2c: E2 08 00 9B 2E 80 17 00 00 00 00 00 00 49 [22:00:35]Write i2c OK [22:00:35]MH_I2C_Read... [22:00:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:00:35]Read from MH i2c: E2 [22:00:35]MH_I2C_Read... [22:00:36]Read from MH i2c: E2 FD 00 [22:00:36]MH_I2C_Read... [22:00:36]Read from MH i2c: E2 FD 00 9B 2E 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 90 00 FD [22:00:36]RAPDU: 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 90 00 [22:00:36]wFMCommunicate OK [22:00:36]wFMCommunicate request_size=4 [22:00:36]MH_SAM_APDU [22:00:36]CAPDU: 80 17 00 00 [22:00:36]Write to MH i2c: E2 08 00 9C 2E 80 17 00 00 00 00 00 00 4A [22:00:36]Write i2c OK [22:00:36]MH_I2C_Read... [22:00:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:00:36]Read from MH i2c: E2 [22:00:36]MH_I2C_Read... [22:00:36]Read from MH i2c: E2 FD 00 [22:00:36]MH_I2C_Read... [22:00:36]Read from MH i2c: E2 FD 00 9C 2E 00 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 90 00 C8 [22:00:36]RAPDU: 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 90 00 [22:00:36]wFMCommunicate OK [22:00:36]wFMCommunicate request_size=4 [22:00:36]MH_SAM_APDU [22:00:36]CAPDU: 80 17 00 00 [22:00:36]Write to MH i2c: E2 08 00 9D 2E 80 17 00 00 00 00 00 00 4B [22:00:36]Write i2c OK [22:00:36]MH_I2C_Read... [22:00:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 201! [22:00:36]Read from MH i2c: E2 [22:00:36]MH_I2C_Read... [22:00:36]Read from MH i2c: E2 CC 00 [22:00:36]MH_I2C_Read... [22:00:36]Read from MH i2c: E2 CC 00 9D 2E 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 2C [22:00:36]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:00:36]wFMCommunicate OK [22:00:36]SAM_PROTO_GetShiftData done [22:00:36]requested_item shift.sale.total_cash is exist - process it [22:00:36]requested_item shift.sale_refund.total is exist - process it [22:00:36]requested_item shift.sale_refund.total_cash is exist - process it [22:00:36]requested_item shift.buy.total is exist - process it [22:00:36]requested_item shift.buy.total_cash is exist - process it [22:00:36]produce_requested_data done [22:00:36]produce_requested_data return {"fm.sale.total":26040957.85,"fm.sale_refund.total":122833.00,"fm.buy.total":0.00,"shift.sale.total":79210.16,"shift.sale.total_cash":48486.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} [22:00:36]process_action_free get_value [22:00:36]json_value_free [22:00:36]json_value_free done [22:00:36]process_json_proto returns [22:00:36]Send response to host [22:00:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":26040957.85,"fm.sale_refund.total":122833.00,"fm.buy.total":0.00,"shift.sale.total":79210.16,"shift.sale.total_cash":48486.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}}} [22:00:36]free response buf [22:00:36]execute_script done [22:00:36]execute_script returns [22:00:36]free content buf [22:00:36]Sock 8.Close socket [22:00:36]Sock 8.Thread stoped [22:00:38]OFD Sender: No OFD packet to send [22:00:43]OFD Sender: No OFD packet to send [22:00:48]OFD Sender: No OFD packet to send [22:00:53]OFD Sender: No OFD packet to send [22:00:58]OFD Sender: No OFD packet to send [22:01:03]OFD Sender: No OFD packet to send [22:01:08]OFD Sender: No OFD packet to send [22:01:13]OFD Sender: No OFD packet to send [22:01:18]OFD Sender: No OFD packet to send [22:01:23]OFD Sender: No OFD packet to send [22:01:28]OFD Sender: No OFD packet to send [22:01:33]OFD Sender: No OFD packet to send [22:01:38]OFD Sender: No OFD packet to send [22:01:43]OFD Sender: No OFD packet to send [22:01:48]OFD Sender: No OFD packet to send [22:01:53]OFD Sender: No OFD packet to send [22:01:58]OFD Sender: No OFD packet to send [22:02:03]OFD Sender: No OFD packet to send [22:02:08]OFD Sender: No OFD packet to send [22:02:13]OFD Sender: No OFD packet to send [22:02:18]OFD Sender: No OFD packet to send [22:02:23]OFD Sender: No OFD packet to send [22:02:28]OFD Sender: No OFD packet to send [22:02:33]OFD Sender: No OFD packet to send [22:02:38]OFD Sender: No OFD packet to send [22:02:43]OFD Sender: No OFD packet to send [22:02:48]OFD Sender: No OFD packet to send [22:02:53]OFD Sender: No OFD packet to send [22:02:58]OFD Sender: No OFD packet to send [22:03:03]OFD Sender: No OFD packet to send [22:03:08]OFD Sender: No OFD packet to send [22:03:13]OFD Sender: No OFD packet to send [22:03:18]OFD Sender: No OFD packet to send [22:03:23]OFD Sender: No OFD packet to send [22:03:28]OFD Sender: No OFD packet to send [22:03:33]OFD Sender: No OFD packet to send [22:03:38]OFD Sender: No OFD packet to send [22:03:43]OFD Sender: No OFD packet to send [22:03:48]OFD Sender: No OFD packet to send [22:03:53]OFD Sender: No OFD packet to send [22:03:58]OFD Sender: No OFD packet to send [22:04:03]OFD Sender: No OFD packet to send [22:04:08]OFD Sender: No OFD packet to send [22:04:13]OFD Sender: No OFD packet to send [22:04:18]OFD Sender: No OFD packet to send [22:04:23]OFD Sender: No OFD packet to send [22:04:28]OFD Sender: No OFD packet to send [22:04:33]OFD Sender: No OFD packet to send [22:04:38]OFD Sender: No OFD packet to send [22:04:43]OFD Sender: No OFD packet to send [22:04:48]OFD Sender: No OFD packet to send [22:04:53]OFD Sender: No OFD packet to send [22:04:58]OFD Sender: No OFD packet to send [22:05:03]OFD Sender: No OFD packet to send [22:05:08]OFD Sender: No OFD packet to send [22:05:13]OFD Sender: No OFD packet to send [22:05:18]OFD Sender: No OFD packet to send [22:05:23]OFD Sender: No OFD packet to send [22:05:28]OFD Sender: No OFD packet to send [22:05:33]OFD Sender: No OFD packet to send [22:05:38]OFD Sender: No OFD packet to send [22:05:43]OFD Sender: No OFD packet to send [22:05:48]OFD Sender: No OFD packet to send [22:05:53]OFD Sender: No OFD packet to send [22:05:58]OFD Sender: No OFD packet to send [22:06:03]OFD Sender: No OFD packet to send [22:06:08]OFD Sender: No OFD packet to send [22:06:13]OFD Sender: No OFD packet to send [22:06:18]OFD Sender: No OFD packet to send [22:06:23]OFD Sender: No OFD packet to send [22:06:28]OFD Sender: No OFD packet to send [22:06:33]OFD Sender: No OFD packet to send [22:06:38]OFD Sender: No OFD packet to send [22:06:43]OFD Sender: No OFD packet to send [22:06:48]OFD Sender: No OFD packet to send [22:06:53]OFD Sender: No OFD packet to send [22:06:58]OFD Sender: No OFD packet to send [22:07:03]OFD Sender: No OFD packet to send [22:07:08]OFD Sender: No OFD packet to send [22:07:13]OFD Sender: No OFD packet to send [22:07:18]OFD Sender: No OFD packet to send [22:07:23]OFD Sender: No OFD packet to send [22:07:28]OFD Sender: No OFD packet to send [22:07:33]OFD Sender: No OFD packet to send [22:07:38]OFD Sender: No OFD packet to send [22:07:43]OFD Sender: No OFD packet to send [22:07:48]OFD Sender: No OFD packet to send [22:07:53]OFD Sender: No OFD packet to send [22:07:58]OFD Sender: No OFD packet to send [22:08:03]OFD Sender: No OFD packet to send [22:08:08]OFD Sender: No OFD packet to send [22:08:13]OFD Sender: No OFD packet to send [22:08:18]OFD Sender: No OFD packet to send [22:08:23]OFD Sender: No OFD packet to send [22:08:28]OFD Sender: No OFD packet to send [22:08:33]OFD Sender: No OFD packet to send [22:08:38]OFD Sender: No OFD packet to send [22:08:43]OFD Sender: No OFD packet to send [22:08:48]OFD Sender: No OFD packet to send [22:08:53]OFD Sender: No OFD packet to send [22:08:58]OFD Sender: No OFD packet to send [22:09:03]OFD Sender: No OFD packet to send [22:09:08]OFD Sender: No OFD packet to send [22:09:13]OFD Sender: No OFD packet to send [22:09:18]OFD Sender: No OFD packet to send [22:09:23]OFD Sender: No OFD packet to send [22:09:28]OFD Sender: No OFD packet to send [22:09:33]OFD Sender: No OFD packet to send [22:09:38]OFD Sender: No OFD packet to send [22:09:43]OFD Sender: No OFD packet to send [22:09:48]OFD Sender: No OFD packet to send [22:09:53]OFD Sender: No OFD packet to send [22:09:58]OFD Sender: No OFD packet to send [22:10:03]OFD Sender: No OFD packet to send [22:10:08]OFD Sender: No OFD packet to send [22:10:10]accept exits with 9 [22:10:10]New connection [22:10:10]New thread 3066871140 created [22:10:10]Thread 3067014500 joined [22:10:10]Waiting for new connection... [22:10:10] Sock 9.Parse request [22:10:10]Sock 9.Check first char [22:10:10]Sock 9.First char is OK [22:10:10]request: POST /json_proto HTTP/1.0 [22:10:10]Method: POST [22:10:10]URL: /json_proto [22:10:10]Method is POST - this is cgi request [22:10:10]url: /json_proto [22:10:10]query_string will be loaded in cgi processing [22:10:10]execute_cgi json_proto POST (null) [22:10:10]execute_cgi path=json_proto method=POST [22:10:10]POST find Content-Length [22:10:10]Host: 172.17.35.3:8080 [22:10:10]Content-Length: 677 [22:10:10]Content-Type: application/json [22:10:10] [22:10:10]POST finish read [22:10:10]Found Content-Length = 677 [22:10:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359518", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 7.890, "sum" : 500.23, "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" ] } } [22:10:10]execute_script... [22:10: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 : (1)359518", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 7.890, "sum" : 500.23, "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" ] } } [22:10:10]POST & json_proto [22:10:10]process_json_proto [22:10:10]json parsed OK: [22:10:10]protocol is kg_v1.0 [22:10:10]action value=close_receipt [22:10:10]process_action close_receipt [22:10:10]cmd_close_receipt [22:10:10]MH_GetDate [22:10:10]Write to MH i2c: F0 00 00 9E 2E BB [22:10:10]Write i2c OK [22:10:10]MH_I2C_Read... [22:10:10]Read from MH i2c: F0 [22:10:10]MH_I2C_Read... [22:10:10]Read from MH i2c: F0 09 00 [22:10:10]MH_I2C_Read... [22:10:10]Read from MH i2c: F0 09 00 9E 2E 00 CE 19 13 66 2B 11 66 64 2A [22:10:10]GetLastDocTimeStamp 1712526265 [22:10:10]current date 1712527822 [22:10:10]FM_GetShiftState [22:10:10]SAM_PROTO_GetShiftState [22:10:10]wFMCommunicate request_size=4 [22:10:10]MH_SAM_APDU [22:10:10]CAPDU: 80 13 01 00 [22:10:10]Write to MH i2c: E2 08 00 9F 2E 80 13 01 00 00 00 00 00 4A [22:10:10]Write i2c OK [22:10:10]MH_I2C_Read... [22:10:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:10:10]Read from MH i2c: E2 [22:10:10]MH_I2C_Read... [22:10:10]Read from MH i2c: E2 0E 00 [22:10:10]MH_I2C_Read... [22:10:10]Read from MH i2c: E2 0E 00 9F 2E 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 DE [22:10:10]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [22:10:10]wFMCommunicate OK [22:10:10]SAM_PROTO_GetShiftState done [22:10:10]FM_GetShiftState done [22:10:10]opened in 1712450087 [22:10:10]opened+sec_in_day 1712536487 [22:10:10]quantity*price = 50022 [22:10:10]sum+1 = 50024 [22:10:10]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.23 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.12 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 74 07.04.2024 22:10 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26775 ФПД: 265833338273699 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T221022&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26775&fm=265833338273699&tin=02508201610067®Number=0000000000091578&sum=50000 [22:10:11]StoreToDocumentArchive [22:10:11]shift 313 fd 26775 [22:10:11]save to /storage/0313/doc_00026775 [22:10:11]save last doc name /storage/0313/doc_00026775 to /storage/kkm_last_doc_name [22:10:11]save OK [22:10:11]Clear old archive folders... [22:10:11]ProcessDocumentItem done err = 0, tmpTLVsize=251 [22:10:11]tlvbuf is 00EF73F0 [22:10:11]SAM_PROTO_ClearQueue [22:10:11]wFMCommunicate request_size=4 [22:10:11]MH_SAM_APDU [22:10:11]CAPDU: 80 09 00 00 [22:10:11]Write to MH i2c: E2 08 00 AC 2E 80 09 00 00 00 00 00 00 4C [22:10:11]Write i2c OK [22:10:11]MH_I2C_Read... [22:10:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:10:11]Read from MH i2c: E2 [22:10:11]MH_I2C_Read... [22:10:11]Read from MH i2c: E2 03 00 [22:10:11]MH_I2C_Read... [22:10:11]Read from MH i2c: E2 03 00 AC 2E 00 90 00 4E [22:10:11]RAPDU: 90 00 [22:10:11]wFMCommunicate OK [22:10:11]SAM_PROTO_ClearQueue done [22:10:11]KKMCreateOFDPacket [22:10:11]OFDProtocolAddRootSTLVToBuf [22:10:11]FM_MakeSignedData [22:10:11]FM_MakeSignedData [22:10:11]SAM_PROTO_SignData [22:10:11]wFMCommunicate request_size=4 [22:10:11]MH_SAM_APDU [22:10:11]CAPDU: 80 0D 01 02 [22:10:11]Write to MH i2c: E2 08 00 AD 2E 80 0D 01 02 00 00 00 00 54 [22:10:11]Write i2c OK [22:10:11]MH_I2C_Read... [22:10:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:10:12]Read from MH i2c: E2 [22:10:12]MH_I2C_Read... [22:10:12]Read from MH i2c: E2 03 00 [22:10:12]MH_I2C_Read... [22:10:12]Read from MH i2c: E2 03 00 AD 2E 00 90 00 4F [22:10:12]RAPDU: 90 00 [22:10:12]wFMCommunicate OK [22:10:12]wFMCommunicate request_size=255 [22:10:12]MH_SAM_APDU [22:10:12]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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 4A 00 00 00 F4 03 04 00 CE 19 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 97 68 00 00 35 04 06 00 F1 [22:10:12]Write to MH i2c: E2 02 01 AE 2E 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 4A 00 00 00 F4 03 04 00 CE 19 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 97 68 00 00 35 04 06 00 F1 00 00 E8 [22:10:12]Write i2c OK [22:10:12]MH_I2C_Read... [22:10:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:10:12]Read from MH i2c: E2 [22:10:12]MH_I2C_Read... [22:10:12]Read from MH i2c: E2 03 00 [22:10:12]MH_I2C_Read... [22:10:12]Read from MH i2c: E2 03 00 AE 2E 00 90 00 50 [22:10:12]RAPDU: 90 00 [22:10:12]wFMCommunicate OK [22:10:12]wFMCommunicate request_size=10 [22:10:12]MH_SAM_APDU [22:10:12]CAPDU: 80 0D 02 02 05 C6 25 B2 7F A3 [22:10:12]Write to MH i2c: E2 0D 00 AF 2E 80 0D 02 02 05 00 C6 25 B2 7F A3 00 00 20 [22:10:12]Write i2c OK [22:10:12]MH_I2C_Read... [22:10:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:10:12]Read from MH i2c: E2 [22:10:12]MH_I2C_Read... [22:10:12]Read from MH i2c: E2 03 00 [22:10:12]MH_I2C_Read... [22:10:12]Read from MH i2c: E2 03 00 AF 2E 00 90 00 51 [22:10:12]RAPDU: 90 00 [22:10:12]wFMCommunicate OK [22:10:12]wFMCommunicate request_size=4 [22:10:12]MH_SAM_APDU [22:10:12]CAPDU: 80 0D 03 02 [22:10:12]Write to MH i2c: E2 08 00 B0 2E 80 0D 03 02 00 00 00 00 59 [22:10:12]Write i2c OK [22:10:12]MH_I2C_Read... [22:10:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:10:12]Read from MH i2c: E2 [22:10:12]MH_I2C_Read... [22:10:12]Read from MH i2c: E2 0B 00 [22:10:12]MH_I2C_Read... [22:10:12]Read from MH i2c: E2 0B 00 B0 2E 00 60 D3 8E E4 F4 F5 37 74 90 00 93 [22:10:12]RAPDU: 60 D3 8E E4 F4 F5 37 74 90 00 [22:10:12]wFMCommunicate OK [22:10:12]SAM_PROTO_SignData done [22:10:12]FM_MakeSignedData done [22:10:12]CreateOFDProtocolMessage [22:10:12]wFMCommunicate request_size=4 [22:10:12]MH_SAM_APDU [22:10:12]CAPDU: 80 11 00 00 [22:10:12]Write to MH i2c: E2 08 00 B1 2E 80 11 00 00 00 00 00 00 59 [22:10:12]Write i2c OK [22:10:12]MH_I2C_Read... [22:10:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:10:12]Read from MH i2c: E2 [22:10:12]MH_I2C_Read... [22:10:12]Read from MH i2c: E2 17 00 [22:10:12]MH_I2C_Read... [22:10:12]Read from MH i2c: E2 17 00 B1 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 B1 [22:10:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [22:10:12]wFMCommunicate OK [22:10:12]CreateOFDProtocolMessage done [22:10:12]OFDSenderStorePacket 26775 [22:10:12]StoreOFDPacket docnum=26775 [22:10:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 FC 36 07 01 AA 16 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 4A 00 00 00 F4 03 04 00 CE 19 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 97 68 00 00 35 04 06 00 F1 C6 25 B2 7F A3 60 D3 8E E4 F4 F5 37 74 [22:10:12]CheckFolder [22:10:12]dirname=/storage/ofd_packets [22:10:12]CheckFolder done [22:10:12]ProducePacketName [22:10:12]name=ofd_packets/00026775 [22:10:12]NVStorageSaveData ofd_packets/00026775 [22:10:12]File name is /storage/ofd_packets/00026775 [22:10:12]Write 301 bytes [22:10:12]NVStorageSaveData done [22:10:12]OFDSenderStorePacket done [22:10:12]KKMCreateOFDPacket done [22:10:12]NVStorageSaveData kkm_last_timestamp [22:10:12]File name is /storage/kkm_last_timestamp [22:10:12]Write 4 bytes [22:10:12]NVStorageSaveData done [22:10:12]ExternCall_PrintAddStr [22:10:12]wPrintStart [22:10:12]Write to MH i2c: 01 00 00 B2 2E E0 [22:10:12]Write i2c OK [22:10:12]MH_I2C_Read... [22:10:12]Read from MH i2c: 01 [22:10:12]MH_I2C_Read... [22:10:12]Read from MH i2c: 01 07 00 [22:10:12]MH_I2C_Read... [22:10:12]Read from MH i2c: 01 07 00 B2 2E 00 00 00 00 00 FF 0F F5 [22:10:12]RasterBufferAndPrint [22:10:12]line Счет N : (1)359518 [22:10:12]line ИНН: 02508201610067 [22:10:12]line Контрольно-Кассовый Чек [22:10:12]line ПРОДАЖА [22:10:12]line ТРК (МРК, ГНК) : 51 [22:10:12]line Товар: 2710124130 [22:10:12]line Аи-92-К-5 [22:10:12]line 7.890 * 63.40 [22:10:12]line = 500.23 [22:10:12]line НДС 12% НСП 1% [22:10:12]line > о реализуемом товаре [22:10:12]line ОКРУГЛЕНИЕ: -0.23 [22:10:12]line ИТОГО: 500.00 [22:10:12]line Внесено: 500.00 [22:10:12]line СДАЧА: 0.00 [22:10:12]line НСП 1% : 4.43 [22:10:12]line НДС 12% : 53.12 [22:10:12]line Наличными: 500.00 [22:10:12]line Безнал.: 0.00 [22:10:12]line Место: АЗС № 122 "Партнер Нефть" [22:10:12]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [22:10:12]line СНО: Общий режим [22:10:12]line Чек 74 07.04.2024 22:10 [22:10:12]line Смена: 313 ФФД: 1.0 [22:10:12]line ЗНМ: 0300000147 [22:10:12]line РНМ: 0000000000091578 [22:10:12]line Версия ККМ: 001 [22:10:12]line ФМ: 0000000000874657 [22:10:12]line ФД: 26775 [22:10:12]line ФПД: 265833338273699 [22:10:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T221022&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26775&fm=265833338273699&tin=02508201610067®Number=0000000000091578&sum=50000 [22:10:12]OFD Sender: Processing packet 26775 [packets to send 44, broken 43] [22:10:12]ProducePacketName [22:10:12]name=ofd_packets/00026775 [22:10:12]OFD Sender: To server: pG, [22:10:12]CommunicateWithHost lk.salyk.kg:30040 [22:10:12]ConnectInit lk.salyk.kg [22:10:12]written 0, free lines is 4095 [22:10:12]Connected sock=10 [22:10:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 FC 36 07 01 AA 16 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 4A 00 00 00 F4 03 04 00 CE 19 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 97 68 00 00 35 04 06 00 F1 C6 25 B2 7F A3 60 D3 8E E4 F4 F5 37 74 [22:10:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 19 C4 47 00 63 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 36 35 37 10 04 04 00 97 68 00 00 F4 03 04 00 3A C1 12 66 B6 04 01 00 00 68 AF 19 C6 12 45 E7 C6 [22:10:13]CommunicateWithHost err = 0 [22:10:13]CheckOFDResponse [22:10:13]1017 (14) - 77093643461234 [22:10:13]1041 (16) - 0000000000874657 [22:10:13]1040 (4) - 26775 [22:10:13]1012 (4) - 07.04.2024 15:52 [22:10:13]1206 (1) - 0 [22:10:13]OFD Sender: Remove packet 26775 [22:10:13]ProducePacketName [22:10:13]name=ofd_packets/00026775 [22:10:13]NVStorageDeleteData [22:10:13]Write to MH i2c: 01 00 00 DD 2E 0B [22:10:13]Write i2c OK [22:10:13]MH_I2C_Read... [22:10:13]Read from MH i2c: 01 [22:10:13]MH_I2C_Read... [22:10:13]Read from MH i2c: 01 07 00 [22:10:13]MH_I2C_Read... [22:10:13]Read from MH i2c: 01 07 00 DD 2E 00 00 00 00 00 6B 0C 89 [22:10:13]RasterBufferAndPrint [22:10:13]line [22:10:13]line [22:10:13]line [22:10:13]line [22:10:13]line [22:10:13]written 0, free lines is 3183 [22:10:13]MH_Cut [22:10:13]Write to MH i2c: D1 01 00 E4 2E 01 E4 [22:10:13]Write i2c OK [22:10:13]MH_I2C_Read... [22:10:13]Read from MH i2c: D1 [22:10:13]MH_I2C_Read... [22:10:13]Read from MH i2c: D1 01 00 [22:10:13]MH_I2C_Read... [22:10:13]Read from MH i2c: D1 01 00 E4 2E 00 E3 [22:10:13]Write to MH i2c: 01 00 00 E5 2E 13 [22:10:13]Write i2c OK [22:10:13]MH_I2C_Read... [22:10:13]OFD Sender: No OFD packet to send [22:10:14]*** Cut start [22:10:14]*** Partial cut [22:10:14]*** CUTSNS_PIN = 1 [22:10:14]*** CUTSNS_PIN = 0 [22:10:14]*** Brake cut motor [22:10:15]Read from MH i2c: 01 [22:10:15]MH_I2C_Read... [22:10:15]*** Stop cut motor [22:10:15]*** Cut end [22:10:15]Read from MH i2c: 01 07 00 [22:10:15]MH_I2C_Read... [22:10:15]Read from MH i2c: 01 07 00 E5 2E 00 00 00 00 00 FF 0F 28 [22:10:15]process_action close_receipt done [22:10:15]requested_data is exist [22:10:15]produce_requested_data [22:10:15]requested_item fm.sn is exist - process it [22:10:15]wFMCommunicate request_size=4 [22:10:15]MH_SAM_APDU [22:10:15]CAPDU: 80 11 00 00 [22:10:15]Write to MH i2c: E2 08 00 E6 2E 80 11 00 00 00 00 00 00 8E [22:10:15]Write i2c OK [22:10:15]MH_I2C_Read... [22:10:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:10:15]Read from MH i2c: E2 [22:10:15]MH_I2C_Read... [22:10:15]Read from MH i2c: E2 17 00 [22:10:15]MH_I2C_Read... [22:10:15]Read from MH i2c: E2 17 00 E6 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 E6 [22:10:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [22:10:15]wFMCommunicate OK [22:10:15]requested_item fd.num is exist - process it [22:10:15]SAM_PROTO_GetFieldsCounters [22:10:15]wFMCommunicate request_size=4 [22:10:15]MH_SAM_APDU [22:10:15]CAPDU: 80 13 00 00 [22:10:15]Write to MH i2c: E2 08 00 E7 2E 80 13 00 00 00 00 00 00 91 [22:10:15]Write i2c OK [22:10:15]MH_I2C_Read... [22:10:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:10:15]Read from MH i2c: E2 [22:10:15]MH_I2C_Read... [22:10:15]Read from MH i2c: E2 62 00 [22:10:15]MH_I2C_Read... [22:10:15]Read from MH i2c: E2 62 00 E7 2E 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 97 68 00 00 0E 04 04 00 39 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 D3 [22:10: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 97 68 00 00 0E 04 04 00 39 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 [22:10:15]wFMCommunicate OK [22:10:15]SAM_PROTO_GetFieldsCounters done [22:10:15]requested_item shift.num is exist - process it [22:10:15]requested_item shift.opened is exist - process it [22:10:15]req_shift_opened [22:10:15]FM_GetShiftState [22:10:15]SAM_PROTO_GetShiftState [22:10:15]wFMCommunicate request_size=4 [22:10:15]MH_SAM_APDU [22:10:15]CAPDU: 80 13 01 00 [22:10:15]Write to MH i2c: E2 08 00 E8 2E 80 13 01 00 00 00 00 00 93 [22:10:15]Write i2c OK [22:10:15]MH_I2C_Read... [22:10:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:10:15]Read from MH i2c: E2 [22:10:15]MH_I2C_Read... [22:10:15]Read from MH i2c: E2 0E 00 [22:10:15]MH_I2C_Read... [22:10:15]Read from MH i2c: E2 0E 00 E8 2E 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 27 [22:10:15]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [22:10:15]wFMCommunicate OK [22:10:15]SAM_PROTO_GetShiftState done [22:10:15]FM_GetShiftState done [22:10:15]req_shift_opened done [22:10:15]requested_item shift.open_date is exist - process it [22:10:15]req_shift_open_date [22:10:15]req_shift_open_date done [22:10:15]produce_requested_data done [22:10:15]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26775,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [22:10:15]process_action_free close_receipt [22:10:15]json_value_free [22:10:15]json_value_free done [22:10:15]process_json_proto returns [22:10:15]Send response to host [22:10:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26775,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [22:10:15]free response buf [22:10:15]execute_script done [22:10:15]execute_script returns [22:10:15]free content buf [22:10:15]Sock 9.Close socket [22:10:15]Sock 9.Thread stoped [22:10:18]OFD Sender: No OFD packet to send [22:10:23]OFD Sender: No OFD packet to send [22:10:28]OFD Sender: No OFD packet to send [22:10:33]OFD Sender: No OFD packet to send [22:10:38]OFD Sender: No OFD packet to send [22:10:43]OFD Sender: No OFD packet to send [22:10:48]OFD Sender: No OFD packet to send [22:10:53]OFD Sender: No OFD packet to send [22:10:58]OFD Sender: No OFD packet to send [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:43]OFD Sender: No OFD packet to send [22:11:48]OFD Sender: No OFD packet to send [22:11:50]accept exits with 8 [22:11:50]New connection [22:11:50]New thread 3067014500 created [22:11:50]Thread 3066871140 joined [22:11:50]Waiting for new connection... [22:11:50] Sock 8.Parse request [22:11:50]Sock 8.Check first char [22:11:50]Sock 8.First char is OK [22:11:50]request: POST /json_proto HTTP/1.0 [22:11:50]Method: POST [22:11:50]URL: /json_proto [22:11:50]Method is POST - this is cgi request [22:11:50]url: /json_proto [22:11:50]query_string will be loaded in cgi processing [22:11:50]execute_cgi json_proto POST (null) [22:11:50]execute_cgi path=json_proto method=POST [22:11:50]POST find Content-Length [22:11:50]Host: 172.17.35.3:8080 [22:11:50]Content-Length: 800 [22:11:50]Content-Type: application/json [22:11:50] [22:11:50]POST finish read [22:11:50]Found Content-Length = 800 [22:11:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359519", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 6.310, "sum" : 400.05, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 400.05 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:11:50]execute_script... [22: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 : (1)359519", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 6.310, "sum" : 400.05, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 400.05 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:11:50]POST & json_proto [22:11:50]process_json_proto [22:11:50]json parsed OK: [22:11:50]protocol is kg_v1.0 [22:11:50]action value=close_receipt [22:11:50]process_action close_receipt [22:11:50]cmd_close_receipt [22:11:50]MH_GetDate [22:11:50]Write to MH i2c: F0 00 00 E9 2E 06 [22:11:50]Write i2c OK [22:11:50]MH_I2C_Read... [22:11:50]Read from MH i2c: F0 [22:11:50]MH_I2C_Read... [22:11:50]Read from MH i2c: F0 09 00 [22:11:50]MH_I2C_Read... [22:11:50]Read from MH i2c: F0 09 00 E9 2E 00 32 1A 13 66 2B 11 66 64 DA [22:11:50]GetLastDocTimeStamp 1712527822 [22:11:50]current date 1712527922 [22:11:50]FM_GetShiftState [22:11:50]SAM_PROTO_GetShiftState [22:11:50]wFMCommunicate request_size=4 [22:11:50]MH_SAM_APDU [22:11:50]CAPDU: 80 13 01 00 [22:11:50]Write to MH i2c: E2 08 00 EA 2E 80 13 01 00 00 00 00 00 95 [22:11:50]Write i2c OK [22:11:50]MH_I2C_Read... [22:11:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:11:50]Read from MH i2c: E2 [22:11:50]MH_I2C_Read... [22:11:50]Read from MH i2c: E2 0E 00 [22:11:50]MH_I2C_Read... [22:11:50]Read from MH i2c: E2 0E 00 EA 2E 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 29 [22:11:50]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [22:11:50]wFMCommunicate OK [22:11:50]SAM_PROTO_GetShiftState done [22:11:50]FM_GetShiftState done [22:11:50]opened in 1712450087 [22:11:50]opened+sec_in_day 1712536487 [22:11:50]quantity*price = 40005 [22:11:50]sum+1 = 40006 [22:11:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 400.05 НСП 1% : 3.54 НДС 12% : 42.48 Наличными: 0.00 Безнал.: 400.05 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 75 07.04.2024 22:12 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000874657 ФД: 26776 ФПД: 13330791472437 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T221202&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26776&fm=13330791472437&tin=02508201610067®Number=0000000000091578&sum=40005 [22:11:51]StoreToDocumentArchive [22:11:51]shift 313 fd 26776 [22:11:51]save to /storage/0313/doc_00026776 [22:11:51]save last doc name /storage/0313/doc_00026776 to /storage/kkm_last_doc_name [22:11:51]save OK [22:11:51]Clear old archive folders... [22:11:51]ProcessDocumentItem done err = 0, tmpTLVsize=251 [22:11:51]tlvbuf is 00F30900 [22:11:51]SAM_PROTO_ClearQueue [22:11:51]wFMCommunicate request_size=4 [22:11:51]MH_SAM_APDU [22:11:51]CAPDU: 80 09 00 00 [22:11:51]Write to MH i2c: E2 08 00 F7 2E 80 09 00 00 00 00 00 00 97 [22:11:51]Write i2c OK [22:11:51]MH_I2C_Read... [22:11:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:11:51]Read from MH i2c: E2 [22:11:51]MH_I2C_Read... [22:11:51]Read from MH i2c: E2 03 00 [22:11:51]MH_I2C_Read... [22:11:51]Read from MH i2c: E2 03 00 F7 2E 00 90 00 99 [22:11:51]RAPDU: 90 00 [22:11:51]wFMCommunicate OK [22:11:51]SAM_PROTO_ClearQueue done [22:11:51]KKMCreateOFDPacket [22:11:51]OFDProtocolAddRootSTLVToBuf [22:11:51]FM_MakeSignedData [22:11:51]FM_MakeSignedData [22:11:51]SAM_PROTO_SignData [22:11:51]wFMCommunicate request_size=4 [22:11:51]MH_SAM_APDU [22:11:51]CAPDU: 80 0D 01 02 [22:11:51]Write to MH i2c: E2 08 00 F8 2E 80 0D 01 02 00 00 00 00 9F [22:11:51]Write i2c OK [22:11:51]MH_I2C_Read... [22:11:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:11:51]Read from MH i2c: E2 [22:11:51]MH_I2C_Read... [22:11:51]Read from MH i2c: E2 03 00 [22:11:51]MH_I2C_Read... [22:11:51]Read from MH i2c: E2 03 00 F8 2E 00 90 00 9A [22:11:51]RAPDU: 90 00 [22:11:51]wFMCommunicate OK [22:11:51]wFMCommunicate request_size=255 [22:11:51]MH_SAM_APDU [22:11:51]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 A6 18 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 45 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 45 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 98 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 45 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 32 1A 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 98 68 00 00 35 04 06 00 0C [22:11:51]Write to MH i2c: E2 02 01 F9 2E 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 A6 18 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 45 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 45 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 98 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 45 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 32 1A 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 98 68 00 00 35 04 06 00 0C 00 00 51 [22:11:52]Write i2c OK [22:11:52]MH_I2C_Read... [22:11:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:11:52]Read from MH i2c: E2 [22:11:52]MH_I2C_Read... [22:11:52]Read from MH i2c: E2 03 00 [22:11:52]MH_I2C_Read... [22:11:52]Read from MH i2c: E2 03 00 F9 2E 00 90 00 9B [22:11:52]RAPDU: 90 00 [22:11:52]wFMCommunicate OK [22:11:52]wFMCommunicate request_size=10 [22:11:52]MH_SAM_APDU [22:11:52]CAPDU: 80 0D 02 02 05 1F D1 17 1D 35 [22:11:52]Write to MH i2c: E2 0D 00 FA 2E 80 0D 02 02 05 00 1F D1 17 1D 35 00 00 05 [22:11:52]Write i2c OK [22:11:52]MH_I2C_Read... [22:11:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:11:52]Read from MH i2c: E2 [22:11:52]MH_I2C_Read... [22:11:52]Read from MH i2c: E2 03 00 [22:11:52]MH_I2C_Read... [22:11:52]Read from MH i2c: E2 03 00 FA 2E 00 90 00 9C [22:11:52]RAPDU: 90 00 [22:11:52]wFMCommunicate OK [22:11:52]wFMCommunicate request_size=4 [22:11:52]MH_SAM_APDU [22:11:52]CAPDU: 80 0D 03 02 [22:11:52]Write to MH i2c: E2 08 00 FB 2E 80 0D 03 02 00 00 00 00 A4 [22:11:52]Write i2c OK [22:11:52]MH_I2C_Read... [22:11:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:11:52]Read from MH i2c: E2 [22:11:52]MH_I2C_Read... [22:11:52]Read from MH i2c: E2 0B 00 [22:11:52]MH_I2C_Read... [22:11:52]Read from MH i2c: E2 0B 00 FB 2E 00 19 2B D2 61 05 47 AF E6 90 00 FD [22:11:52]RAPDU: 19 2B D2 61 05 47 AF E6 90 00 [22:11:52]wFMCommunicate OK [22:11:52]SAM_PROTO_SignData done [22:11:52]FM_MakeSignedData done [22:11:52]CreateOFDProtocolMessage [22:11:52]wFMCommunicate request_size=4 [22:11:52]MH_SAM_APDU [22:11:52]CAPDU: 80 11 00 00 [22:11:52]Write to MH i2c: E2 08 00 FC 2E 80 11 00 00 00 00 00 00 A4 [22:11:52]Write i2c OK [22:11:52]MH_I2C_Read... [22:11:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:11:52]Read from MH i2c: E2 [22:11:52]MH_I2C_Read... [22:11:52]Read from MH i2c: E2 17 00 [22:11:52]MH_I2C_Read... [22:11:52]Read from MH i2c: E2 17 00 FC 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 FC [22:11:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [22:11:52]wFMCommunicate OK [22:11:52]CreateOFDProtocolMessage done [22:11:52]OFDSenderStorePacket 26776 [22:11:52]StoreOFDPacket docnum=26776 [22:11:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 2F 0B 07 01 97 60 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 A6 18 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 45 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 45 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 98 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 45 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 32 1A 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 98 68 00 00 35 04 06 00 0C 1F D1 17 1D 35 19 2B D2 61 05 47 AF E6 [22:11:52]CheckFolder [22:11:52]dirname=/storage/ofd_packets [22:11:52]CheckFolder done [22:11:52]ProducePacketName [22:11:52]name=ofd_packets/00026776 [22:11:52]NVStorageSaveData ofd_packets/00026776 [22:11:52]File name is /storage/ofd_packets/00026776 [22:11:52]Write 301 bytes [22:11:52]NVStorageSaveData done [22:11:52]OFDSenderStorePacket done [22:11:52]KKMCreateOFDPacket done [22:11:52]NVStorageSaveData kkm_last_timestamp [22:11:52]File name is /storage/kkm_last_timestamp [22:11:52]Write 4 bytes [22:11:52]NVStorageSaveData done [22:11:52]ExternCall_PrintAddStr [22:11:52]wPrintStart [22:11:52]Write to MH i2c: 01 00 00 FD 2E 2B [22:11:52]Write i2c OK [22:11:52]MH_I2C_Read... [22:11:52]Read from MH i2c: 01 [22:11:52]MH_I2C_Read... [22:11:52]Read from MH i2c: 01 07 00 [22:11:52]MH_I2C_Read... [22:11:52]Read from MH i2c: 01 07 00 FD 2E 00 00 00 00 00 FF 0F 40 [22:11:52]RasterBufferAndPrint [22:11:52]line Счет N : (1)359519 [22:11:52]line ИНН: 02508201610067 [22:11:52]line Контрольно-Кассовый Чек [22:11:52]line ПРОДАЖА [22:11:52]line ТРК (МРК, ГНК) : 51 [22:11:52]line Товар: 2710124130 [22:11:52]line Аи-92-К-5 [22:11:52]line 6.310 * 63.40 [22:11:52]line = 400.05 [22:11:52]line НДС 12% НСП 1% [22:11:52]line > о реализуемом товаре [22:11:52]line ИТОГО: 400.05 [22:11:52]line НСП 1% : 3.54 [22:11:52]line НДС 12% : 42.48 [22:11:52]line Наличными: 0.00 [22:11:52]line Безнал.: 400.05 [22:11:52]line Место: АЗС № 122 "Партнер Нефть" [22:11:52]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [22:11:52]line СНО: Общий режим [22:11:52]line Чек 75 07.04.2024 22:12 [22:11:52]line Смена: 313 ФФД: 1.0 [22:11:52]line ЗНМ: 0300000147 [22:11:52]line РНМ: 0000000000091578 [22:11:52]line Версия ККМ: 001 [22:11:52]line Платежная система: O! деньги [22:11:52]line ФМ: 0000000000874657 [22:11:52]line ФД: 26776 [22:11:52]line ФПД: 13330791472437 [22:11:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T221202&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26776&fm=13330791472437&tin=02508201610067®Number=0000000000091578&sum=40005 [22:11:52]OFD Sender: Processing packet 26776 [packets to send 44, broken 43] [22:11:52]ProducePacketName [22:11:52]name=ofd_packets/00026776 [22:11:52]OFD Sender: To server: pG, [22:11:52]CommunicateWithHost lk.salyk.kg:30040 [22:11:52]ConnectInit lk.salyk.kg [22:11:52]written 0, free lines is 4095 [22:11:52]Connected sock=10 [22: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 36 35 37 0F 01 00 00 2F 0B 07 01 97 60 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 A6 18 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 45 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 45 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 98 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 45 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 32 1A 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 98 68 00 00 35 04 06 00 0C 1F D1 17 1D 35 19 2B D2 61 05 47 AF E6 [22:11:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 53 B1 47 00 08 55 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 37 10 04 04 00 98 68 00 00 F4 03 04 00 9E C1 12 66 B6 04 01 00 00 7D BC 32 96 C3 46 84 7E [22:11:53]CommunicateWithHost err = 0 [22:11:53]CheckOFDResponse [22:11:53]1017 (14) - 77093643461234 [22:11:53]1041 (16) - 0000000000874657 [22:11:53]1040 (4) - 26776 [22:11:53]1012 (4) - 07.04.2024 15:54 [22:11:53]1206 (1) - 0 [22:11:53]OFD Sender: Remove packet 26776 [22:11:53]ProducePacketName [22:11:53]name=ofd_packets/00026776 [22:11:53]NVStorageDeleteData [22:11:53]Write to MH i2c: 01 00 00 27 2F 56 [22:11:53]Write i2c OK [22:11:53]MH_I2C_Read... [22:11:53]Read from MH i2c: 01 [22:11:53]MH_I2C_Read... [22:11:53]Read from MH i2c: 01 07 00 [22:11:53]MH_I2C_Read... [22:11:53]Read from MH i2c: 01 07 00 27 2F 00 00 00 00 00 7F 0C E8 [22:11:53]RasterBufferAndPrint [22:11:53]line [22:11:53]line [22:11:53]line [22:11:53]line [22:11:53]line [22:11:53]written 0, free lines is 3202 [22:11:53]MH_Cut [22:11:53]Write to MH i2c: D1 01 00 2E 2F 01 2F [22:11:53]Write i2c OK [22:11:53]MH_I2C_Read... [22:11:53]Read from MH i2c: D1 [22:11:53]MH_I2C_Read... [22:11:53]Read from MH i2c: D1 01 00 [22:11:53]MH_I2C_Read... [22:11:53]Read from MH i2c: D1 01 00 2E 2F 00 2E [22:11:53]Write to MH i2c: 01 00 00 2F 2F 5E [22:11:53]Write i2c OK [22:11:53]MH_I2C_Read... [22:11:53]OFD Sender: No OFD packet to send [22:11:54]*** Cut start [22:11:54]*** Partial cut [22:11:54]*** CUTSNS_PIN = 1 [22:11:54]*** CUTSNS_PIN = 0 [22:11:54]*** Brake cut motor [22:11:55]Read from MH i2c: 01 [22:11:55]MH_I2C_Read... [22:11:55]*** Stop cut motor [22:11:55]*** Cut end [22:11:55]Read from MH i2c: 01 07 00 [22:11:55]MH_I2C_Read... [22:11:55]Read from MH i2c: 01 07 00 2F 2F 00 00 00 00 00 FF 0F 73 [22:11:55]process_action close_receipt done [22:11:55]requested_data is exist [22:11:55]produce_requested_data [22:11:55]requested_item fm.sn is exist - process it [22:11:55]wFMCommunicate request_size=4 [22:11:55]MH_SAM_APDU [22:11:55]CAPDU: 80 11 00 00 [22:11:55]Write to MH i2c: E2 08 00 30 2F 80 11 00 00 00 00 00 00 D9 [22:11:55]Write i2c OK [22:11:55]MH_I2C_Read... [22:11:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:11:55]Read from MH i2c: E2 [22:11:55]MH_I2C_Read... [22:11:55]Read from MH i2c: E2 17 00 [22:11:55]MH_I2C_Read... [22:11:55]Read from MH i2c: E2 17 00 30 2F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 31 [22:11:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [22:11:55]wFMCommunicate OK [22:11:55]requested_item fd.num is exist - process it [22:11:55]SAM_PROTO_GetFieldsCounters [22:11:55]wFMCommunicate request_size=4 [22:11:55]MH_SAM_APDU [22:11:55]CAPDU: 80 13 00 00 [22:11:55]Write to MH i2c: E2 08 00 31 2F 80 13 00 00 00 00 00 00 DC [22:11:55]Write i2c OK [22:11:55]MH_I2C_Read... [22:11:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:11:55]Read from MH i2c: E2 [22:11:55]MH_I2C_Read... [22:11:55]Read from MH i2c: E2 62 00 [22:11:55]MH_I2C_Read... [22:11:55]Read from MH i2c: E2 62 00 31 2F 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 98 68 00 00 0E 04 04 00 39 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 22 [22:11: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 98 68 00 00 0E 04 04 00 39 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 [22:11:55]wFMCommunicate OK [22:11:55]SAM_PROTO_GetFieldsCounters done [22:11:55]requested_item shift.num is exist - process it [22:11:55]requested_item shift.opened is exist - process it [22:11:55]req_shift_opened [22:11:55]FM_GetShiftState [22:11:55]SAM_PROTO_GetShiftState [22:11:55]wFMCommunicate request_size=4 [22:11:55]MH_SAM_APDU [22:11:55]CAPDU: 80 13 01 00 [22:11:55]Write to MH i2c: E2 08 00 32 2F 80 13 01 00 00 00 00 00 DE [22:11:55]Write i2c OK [22:11:55]MH_I2C_Read... [22:11:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:11:55]Read from MH i2c: E2 [22:11:55]MH_I2C_Read... [22:11:55]Read from MH i2c: E2 0E 00 [22:11:55]MH_I2C_Read... [22:11:55]Read from MH i2c: E2 0E 00 32 2F 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 72 [22:11:55]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [22:11:55]wFMCommunicate OK [22:11:55]SAM_PROTO_GetShiftState done [22:11:55]FM_GetShiftState done [22:11:55]req_shift_opened done [22:11:55]requested_item shift.open_date is exist - process it [22:11:55]req_shift_open_date [22:11:55]req_shift_open_date done [22:11:55]produce_requested_data done [22:11:55]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26776,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [22:11:55]process_action_free close_receipt [22:11:55]json_value_free [22:11:55]json_value_free done [22:11:55]process_json_proto returns [22:11:55]Send response to host [22:11:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26776,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [22:11:55]free response buf [22:11:55]execute_script done [22:11:55]execute_script returns [22:11:55]free content buf [22:11:55]Sock 8.Close socket [22:11:55]Sock 8.Thread stoped [22:11:58]OFD Sender: No OFD packet to send [22:12:03]OFD Sender: No OFD packet to send [22:12:08]OFD Sender: No OFD packet to send [22:12:13]OFD Sender: No OFD packet to send [22:12:18]OFD Sender: No OFD packet to send [22:12:23]OFD Sender: No OFD packet to send [22:12:28]OFD Sender: No OFD packet to send [22:12:33]OFD Sender: No OFD packet to send [22:12:38]OFD Sender: No OFD packet to send [22:12:43]OFD Sender: No OFD packet to send [22:12:48]OFD Sender: No OFD packet to send [22:12:53]OFD Sender: No OFD packet to send [22:12:58]OFD Sender: No OFD packet to send [22:13:03]OFD Sender: No OFD packet to send [22:13:08]OFD Sender: No OFD packet to send [22:13:13]OFD Sender: No OFD packet to send [22:13:18]OFD Sender: No OFD packet to send [22:13:23]OFD Sender: No OFD packet to send [22:13:28]OFD Sender: No OFD packet to send [22:13:33]OFD Sender: No OFD packet to send [22:13:38]OFD Sender: No OFD packet to send [22:13:43]OFD Sender: No OFD packet to send [22:13:48]OFD Sender: No OFD packet to send [22:13:53]OFD Sender: No OFD packet to send [22:13:58]OFD Sender: No OFD packet to send [22:14:03]OFD Sender: No OFD packet to send [22:14:08]OFD Sender: No OFD packet to send [22:14:13]OFD Sender: No OFD packet to send [22:14:18]OFD Sender: No OFD packet to send [22:14:23]OFD Sender: No OFD packet to send [22:14:28]OFD Sender: No OFD packet to send [22:14:33]OFD Sender: No OFD packet to send [22:14:38]OFD Sender: No OFD packet to send [22:14:43]OFD Sender: No OFD packet to send [22:14:48]OFD Sender: No OFD packet to send [22:14:53]OFD Sender: No OFD packet to send [22:14:58]OFD Sender: No OFD packet to send [22:14:58]accept exits with 9 [22:14:58]New connection [22:14:58]New thread 3066871140 created [22:14:58]Thread 3067014500 joined [22:14:58]Waiting for new connection... [22:14:58] Sock 9.Parse request [22:14:58]Sock 9.Check first char [22:14:58]Sock 9.First char is OK [22:14:58]request: POST /json_proto HTTP/1.0 [22:14:58]Method: POST [22:14:58]URL: /json_proto [22:14:58]Method is POST - this is cgi request [22:14:58]url: /json_proto [22:14:58]query_string will be loaded in cgi processing [22:14:58]execute_cgi json_proto POST (null) [22:14:58]execute_cgi path=json_proto method=POST [22:14:58]POST find Content-Length [22:14:58]Host: 172.17.35.3:8080 [22:14:58]Content-Length: 819 [22:14:58]Content-Type: application/json [22:14:58] [22:14:58]POST finish read [22:14:58]Found Content-Length = 819 [22:14:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359520", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "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" : 1000.45 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:14:58]execute_script... [22:14: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 : (1)359520", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "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" : 1000.45 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:14:58]POST & json_proto [22:14:58]process_json_proto [22:14:58]json parsed OK: [22:14:58]protocol is kg_v1.0 [22:14:58]action value=close_receipt [22:14:58]process_action close_receipt [22:14:58]cmd_close_receipt [22:14:58]MH_GetDate [22:14:58]Write to MH i2c: F0 00 00 33 2F 51 [22:14:58]Write i2c OK [22:14:58]MH_I2C_Read... [22:14:58]Read from MH i2c: F0 [22:14:58]MH_I2C_Read... [22:14:58]Read from MH i2c: F0 09 00 [22:14:58]MH_I2C_Read... [22:14:58]Read from MH i2c: F0 09 00 33 2F 00 EE 1A 13 66 2B 11 66 64 E1 [22:14:58]GetLastDocTimeStamp 1712527922 [22:14:58]current date 1712528110 [22:14:58]FM_GetShiftState [22:14:58]SAM_PROTO_GetShiftState [22:14:58]wFMCommunicate request_size=4 [22:14:58]MH_SAM_APDU [22:14:58]CAPDU: 80 13 01 00 [22:14:58]Write to MH i2c: E2 08 00 34 2F 80 13 01 00 00 00 00 00 E0 [22:14:58]Write i2c OK [22:14:58]MH_I2C_Read... [22:14:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:14:58]Read from MH i2c: E2 [22:14:58]MH_I2C_Read... [22:14:58]Read from MH i2c: E2 0E 00 [22:14:58]MH_I2C_Read... [22:14:58]Read from MH i2c: E2 0E 00 34 2F 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 74 [22:14:58]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [22:14:58]wFMCommunicate OK [22:14:58]SAM_PROTO_GetShiftState done [22:14:58]FM_GetShiftState done [22:14:58]opened in 1712450087 [22:14:58]opened+sec_in_day 1712536487 [22:14:58]quantity*price = 100045 [22:14:58]sum+1 = 100046 [22:14:58]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.45 НСП 1% : 8.85 НДС 12% : 106.24 Наличными: 0.00 Безнал.: 1000.45 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 76 07.04.2024 22:15 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000874657 ФД: 26777 ФПД: 218927417889380 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T221510&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26777&fm=218927417889380&tin=02508201610067®Number=0000000000091578&sum=100045 [22:15:00]StoreToDocumentArchive [22:15:00]shift 313 fd 26777 [22:15:00]save to /storage/0313/doc_00026777 [22:15:00]save last doc name /storage/0313/doc_00026777 to /storage/kkm_last_doc_name [22:15:00]save OK [22:15:00]Clear old archive folders... [22:15:00]ProcessDocumentItem done err = 0, tmpTLVsize=251 [22:15:00]tlvbuf is 00F3E4D0 [22:15:00]SAM_PROTO_ClearQueue [22:15:00]wFMCommunicate request_size=4 [22:15:00]MH_SAM_APDU [22:15:00]CAPDU: 80 09 00 00 [22:15:00]Write to MH i2c: E2 08 00 41 2F 80 09 00 00 00 00 00 00 E2 [22:15:00]Write i2c OK [22:15:00]MH_I2C_Read... [22:15:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:15:00]Read from MH i2c: E2 [22:15:00]MH_I2C_Read... [22:15:00]Read from MH i2c: E2 03 00 [22:15:00]MH_I2C_Read... [22:15:00]Read from MH i2c: E2 03 00 41 2F 00 90 00 E4 [22:15:00]RAPDU: 90 00 [22:15:00]wFMCommunicate OK [22:15:00]SAM_PROTO_ClearQueue done [22:15:00]KKMCreateOFDPacket [22:15:00]OFDProtocolAddRootSTLVToBuf [22:15:00]FM_MakeSignedData [22:15:00]FM_MakeSignedData [22:15:00]SAM_PROTO_SignData [22:15:00]wFMCommunicate request_size=4 [22:15:00]MH_SAM_APDU [22:15:00]CAPDU: 80 0D 01 02 [22:15:00]Write to MH i2c: E2 08 00 42 2F 80 0D 01 02 00 00 00 00 EA [22:15:00]Write i2c OK [22:15:00]MH_I2C_Read... [22:15:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:15:00]Read from MH i2c: E2 [22:15:00]MH_I2C_Read... [22:15:00]Read from MH i2c: E2 03 00 [22:15:00]MH_I2C_Read... [22:15:00]Read from MH i2c: E2 03 00 42 2F 00 90 00 E5 [22:15:00]RAPDU: 90 00 [22:15:00]wFMCommunicate OK [22:15:00]wFMCommunicate request_size=255 [22:15:00]MH_SAM_APDU [22:15:00]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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CD 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 00 00 00 00 00 00 39 04 06 00 CD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 EE 1A 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 99 68 00 00 35 04 06 00 C7 [22:15:00]Write to MH i2c: E2 02 01 43 2F 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CD 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 00 00 00 00 00 00 39 04 06 00 CD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 EE 1A 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 99 68 00 00 35 04 06 00 C7 00 00 A7 [22:15:00]Write i2c OK [22:15:00]MH_I2C_Read... [22:15:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:15:00]Read from MH i2c: E2 [22:15:00]MH_I2C_Read... [22:15:00]Read from MH i2c: E2 03 00 [22:15:00]MH_I2C_Read... [22:15:00]Read from MH i2c: E2 03 00 43 2F 00 90 00 E6 [22:15:00]RAPDU: 90 00 [22:15:00]wFMCommunicate OK [22:15:00]wFMCommunicate request_size=10 [22:15:00]MH_SAM_APDU [22:15:00]CAPDU: 80 0D 02 02 05 1D 02 F9 92 64 [22:15:00]Write to MH i2c: E2 0D 00 44 2F 80 0D 02 02 05 00 1D 02 F9 92 64 00 00 05 [22:15:00]Write i2c OK [22:15:00]MH_I2C_Read... [22:15:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:15:00]Read from MH i2c: E2 [22:15:00]MH_I2C_Read... [22:15:00]Read from MH i2c: E2 03 00 [22:15:00]MH_I2C_Read... [22:15:00]Read from MH i2c: E2 03 00 44 2F 00 90 00 E7 [22:15:00]RAPDU: 90 00 [22:15:00]wFMCommunicate OK [22:15:00]wFMCommunicate request_size=4 [22:15:00]MH_SAM_APDU [22:15:00]CAPDU: 80 0D 03 02 [22:15:00]Write to MH i2c: E2 08 00 45 2F 80 0D 03 02 00 00 00 00 EF [22:15:00]Write i2c OK [22:15:00]MH_I2C_Read... [22:15:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:15:00]Read from MH i2c: E2 [22:15:00]MH_I2C_Read... [22:15:00]Read from MH i2c: E2 0B 00 [22:15:00]MH_I2C_Read... [22:15:00]Read from MH i2c: E2 0B 00 45 2F 00 FB 85 F2 30 BA 29 E4 37 90 00 90 [22:15:00]RAPDU: FB 85 F2 30 BA 29 E4 37 90 00 [22:15:00]wFMCommunicate OK [22:15:00]SAM_PROTO_SignData done [22:15:00]FM_MakeSignedData done [22:15:00]CreateOFDProtocolMessage [22:15:00]wFMCommunicate request_size=4 [22:15:00]MH_SAM_APDU [22:15:00]CAPDU: 80 11 00 00 [22:15:00]Write to MH i2c: E2 08 00 46 2F 80 11 00 00 00 00 00 00 EF [22:15:00]Write i2c OK [22:15:00]MH_I2C_Read... [22:15:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:15:00]Read from MH i2c: E2 [22:15:00]MH_I2C_Read... [22:15:00]Read from MH i2c: E2 17 00 [22:15:00]MH_I2C_Read... [22:15:00]Read from MH i2c: E2 17 00 46 2F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 47 [22:15:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [22:15:00]wFMCommunicate OK [22:15:00]CreateOFDProtocolMessage done [22:15:00]OFDSenderStorePacket 26777 [22:15:00]StoreOFDPacket docnum=26777 [22:15:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 C8 45 07 01 5D 82 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CD 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 00 00 00 00 00 00 39 04 06 00 CD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 EE 1A 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 99 68 00 00 35 04 06 00 C7 1D 02 F9 92 64 FB 85 F2 30 BA 29 E4 37 [22:15:00]CheckFolder [22:15:00]dirname=/storage/ofd_packets [22:15:00]CheckFolder done [22:15:00]ProducePacketName [22:15:00]name=ofd_packets/00026777 [22:15:00]NVStorageSaveData ofd_packets/00026777 [22:15:00]File name is /storage/ofd_packets/00026777 [22:15:00]Write 301 bytes [22:15:00]NVStorageSaveData done [22:15:00]OFDSenderStorePacket done [22:15:00]KKMCreateOFDPacket done [22:15:00]NVStorageSaveData kkm_last_timestamp [22:15:00]File name is /storage/kkm_last_timestamp [22:15:00]Write 4 bytes [22:15:00]NVStorageSaveData done [22:15:00]ExternCall_PrintAddStr [22:15:00]wPrintStart [22:15:00]Write to MH i2c: 01 00 00 47 2F 76 [22:15:00]Write i2c OK [22:15:00]MH_I2C_Read... [22:15:00]Read from MH i2c: 01 [22:15:00]MH_I2C_Read... [22:15:00]Read from MH i2c: 01 07 00 [22:15:00]MH_I2C_Read... [22:15:00]Read from MH i2c: 01 07 00 47 2F 00 00 00 00 00 FF 0F 8B [22:15:00]RasterBufferAndPrint [22:15:00]line Счет N : (1)359520 [22:15:00]line ИНН: 02508201610067 [22:15:00]line Контрольно-Кассовый Чек [22:15:00]line ПРОДАЖА [22:15:00]line ТРК (МРК, ГНК) : 51 [22:15:00]line Товар: 2710124130 [22:15:00]line Аи-92-К-5 [22:15:00]line 15.780 * 63.40 [22:15:00]line = 1000.45 [22:15:00]line НДС 12% НСП 1% [22:15:00]line > о реализуемом товаре [22:15:00]line ИТОГО: 1000.45 [22:15:00]line НСП 1% : 8.85 [22:15:00]line НДС 12% : 106.24 [22:15:00]line Наличными: 0.00 [22:15:00]line Безнал.: 1000.45 [22:15:00]line Место: АЗС № 122 "Партнер Нефть" [22:15:00]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [22:15:00]line СНО: Общий режим [22:15:00]line Чек 76 07.04.2024 22:15 [22:15:00]line Смена: 313 ФФД: 1.0 [22:15:00]line ЗНМ: 0300000147 [22:15:00]line РНМ: 0000000000091578 [22:15:00]line Версия ККМ: 001 [22:15:00]line Платежная система: Бакай Банк [22:15:00]line ФМ: 0000000000874657 [22:15:00]line ФД: 26777 [22:15:00]line ФПД: 218927417889380 [22:15:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T221510&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26777&fm=218927417889380&tin=02508201610067®Number=0000000000091578&sum=100045 [22:15:00]OFD Sender: Processing packet 26777 [packets to send 44, broken 43] [22:15:00]ProducePacketName [22:15:00]name=ofd_packets/00026777 [22:15:00]OFD Sender: To server: pG, [22:15:00]CommunicateWithHost lk.salyk.kg:30040 [22:15:00]ConnectInit lk.salyk.kg [22:15:00]written 0, free lines is 4095 [22:15:00]Connected sock=10 [22:15: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 36 35 37 0F 01 00 00 C8 45 07 01 5D 82 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CD 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 00 00 00 00 00 00 39 04 06 00 CD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 EE 1A 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 99 68 00 00 35 04 06 00 C7 1D 02 F9 92 64 FB 85 F2 30 BA 29 E4 37 [22:15:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 AC 7B 47 00 5B 02 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 37 10 04 04 00 99 68 00 00 F4 03 04 00 5A C2 12 66 B6 04 01 00 00 C7 56 49 04 FF B7 39 AE [22:15:01]CommunicateWithHost err = 0 [22:15:01]CheckOFDResponse [22:15:01]1017 (14) - 77093643461234 [22:15:01]1041 (16) - 0000000000874657 [22:15:01]1040 (4) - 26777 [22:15:01]1012 (4) - 07.04.2024 15:57 [22:15:01]1206 (1) - 0 [22:15:01]OFD Sender: Remove packet 26777 [22:15:01]ProducePacketName [22:15:01]name=ofd_packets/00026777 [22:15:01]NVStorageDeleteData [22:15:01]Write to MH i2c: 01 00 00 71 2F A0 [22:15:01]Write i2c OK [22:15:01]MH_I2C_Read... [22:15:01]Read from MH i2c: 01 [22:15:01]MH_I2C_Read... [22:15:01]Read from MH i2c: 01 07 00 [22:15:01]MH_I2C_Read... [22:15:01]Read from MH i2c: 01 07 00 71 2F 00 00 00 00 00 88 0C 3B [22:15:01]RasterBufferAndPrint [22:15:01]line [22:15:01]line [22:15:01]line [22:15:01]line [22:15:01]line [22:15:01]written 0, free lines is 3212 [22:15:01]MH_Cut [22:15:01]Write to MH i2c: D1 01 00 78 2F 01 79 [22:15:01]Write i2c OK [22:15:01]MH_I2C_Read... [22:15:01]Read from MH i2c: D1 [22:15:01]MH_I2C_Read... [22:15:01]Read from MH i2c: D1 01 00 [22:15:01]MH_I2C_Read... [22:15:01]Read from MH i2c: D1 01 00 78 2F 00 78 [22:15:01]Write to MH i2c: 01 00 00 79 2F A8 [22:15:01]Write i2c OK [22:15:01]MH_I2C_Read... [22:15:01]OFD Sender: No OFD packet to send [22:15:02]*** Cut start [22:15:02]*** Partial cut [22:15:02]*** CUTSNS_PIN = 1 [22:15:02]*** CUTSNS_PIN = 0 [22:15:02]*** Brake cut motor [22:15:03]Read from MH i2c: 01 [22:15:03]MH_I2C_Read... [22:15:03]*** Stop cut motor [22:15:03]*** Cut end [22:15:03]Read from MH i2c: 01 07 00 [22:15:03]MH_I2C_Read... [22:15:03]Read from MH i2c: 01 07 00 79 2F 00 00 00 00 00 FF 0F BD [22:15:03]process_action close_receipt done [22:15:03]requested_data is exist [22:15:03]produce_requested_data [22:15:03]requested_item fm.sn is exist - process it [22:15:03]wFMCommunicate request_size=4 [22:15:03]MH_SAM_APDU [22:15:03]CAPDU: 80 11 00 00 [22:15:03]Write to MH i2c: E2 08 00 7A 2F 80 11 00 00 00 00 00 00 23 [22:15:03]Write i2c OK [22:15:03]MH_I2C_Read... [22:15:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:15:03]Read from MH i2c: E2 [22:15:03]MH_I2C_Read... [22:15:03]Read from MH i2c: E2 17 00 [22:15:03]MH_I2C_Read... [22:15:03]Read from MH i2c: E2 17 00 7A 2F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 7B [22:15:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [22:15:03]wFMCommunicate OK [22:15:03]requested_item fd.num is exist - process it [22:15:03]SAM_PROTO_GetFieldsCounters [22:15:03]wFMCommunicate request_size=4 [22:15:03]MH_SAM_APDU [22:15:03]CAPDU: 80 13 00 00 [22:15:03]Write to MH i2c: E2 08 00 7B 2F 80 13 00 00 00 00 00 00 26 [22:15:03]Write i2c OK [22:15:03]MH_I2C_Read... [22:15:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:15:03]Read from MH i2c: E2 [22:15:03]MH_I2C_Read... [22:15:03]Read from MH i2c: E2 62 00 [22:15:03]MH_I2C_Read... [22:15:03]Read from MH i2c: E2 62 00 7B 2F 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 99 68 00 00 0E 04 04 00 39 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 70 [22:15:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 99 68 00 00 0E 04 04 00 39 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 [22:15:03]wFMCommunicate OK [22:15:03]SAM_PROTO_GetFieldsCounters done [22:15:03]requested_item shift.num is exist - process it [22:15:03]requested_item shift.opened is exist - process it [22:15:03]req_shift_opened [22:15:03]FM_GetShiftState [22:15:03]SAM_PROTO_GetShiftState [22:15:03]wFMCommunicate request_size=4 [22:15:03]MH_SAM_APDU [22:15:03]CAPDU: 80 13 01 00 [22:15:03]Write to MH i2c: E2 08 00 7C 2F 80 13 01 00 00 00 00 00 28 [22:15:03]Write i2c OK [22:15:03]MH_I2C_Read... [22:15:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:15:03]Read from MH i2c: E2 [22:15:03]MH_I2C_Read... [22:15:03]Read from MH i2c: E2 0E 00 [22:15:03]MH_I2C_Read... [22:15:03]Read from MH i2c: E2 0E 00 7C 2F 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 BC [22:15:03]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [22:15:03]wFMCommunicate OK [22:15:03]SAM_PROTO_GetShiftState done [22:15:03]FM_GetShiftState done [22:15:03]req_shift_opened done [22:15:03]requested_item shift.open_date is exist - process it [22:15:03]req_shift_open_date [22:15:03]req_shift_open_date done [22:15:03]produce_requested_data done [22:15:03]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26777,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [22:15:03]process_action_free close_receipt [22:15:03]json_value_free [22:15:03]json_value_free done [22:15:03]process_json_proto returns [22:15:03]Send response to host [22:15:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26777,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [22:15:03]free response buf [22:15:03]execute_script done [22:15:03]execute_script returns [22:15:03]free content buf [22:15:03]Sock 9.Close socket [22:15:03]Sock 9.Thread stoped [22:15:06]OFD Sender: No OFD packet to send [22:15:11]OFD Sender: No OFD packet to send [22:15:16]OFD Sender: No OFD packet to send [22:15:21]OFD Sender: No OFD packet to send [22:15:26]OFD Sender: No OFD packet to send [22:15:31]OFD Sender: No OFD packet to send [22:15:36]OFD Sender: No OFD packet to send [22:15:41]OFD Sender: No OFD packet to send [22:15:46]OFD Sender: No OFD packet to send [22:15:51]OFD Sender: No OFD packet to send [22:15:56]OFD Sender: No OFD packet to send [22:16:01]OFD Sender: No OFD packet to send [22:16:06]OFD Sender: No OFD packet to send [22:16:11]OFD Sender: No OFD packet to send [22:16:16]OFD Sender: No OFD packet to send [22:16:21]OFD Sender: No OFD packet to send [22:16:26]OFD Sender: No OFD packet to send [22:16:31]OFD Sender: No OFD packet to send [22:16:36]OFD Sender: No OFD packet to send [22:16:41]OFD Sender: No OFD packet to send [22:16:46]OFD Sender: No OFD packet to send [22:16:51]OFD Sender: No OFD packet to send [22:16:56]OFD Sender: No OFD packet to send [22:17:01]OFD Sender: No OFD packet to send [22:17:06]OFD Sender: No OFD packet to send [22:17:11]OFD Sender: No OFD packet to send [22:17:16]OFD Sender: No OFD packet to send [22:17:21]OFD Sender: No OFD packet to send [22:17:26]OFD Sender: No OFD packet to send [22:17:31]OFD Sender: No OFD packet to send [22:17:36]OFD Sender: No OFD packet to send [22:17:41]OFD Sender: No OFD packet to send [22:17:46]OFD Sender: No OFD packet to send [22:17:51]OFD Sender: No OFD packet to send [22:17:56]OFD Sender: No OFD packet to send [22:18:01]OFD Sender: No OFD packet to send [22:18:06]OFD Sender: No OFD packet to send [22:18:11]OFD Sender: No OFD packet to send [22:18:16]OFD Sender: No OFD packet to send [22:18:21]OFD Sender: No OFD packet to send [22:18:26]OFD Sender: No OFD packet to send [22:18:31]OFD Sender: No OFD packet to send [22:18:36]OFD Sender: No OFD packet to send [22:18:41]OFD Sender: No OFD packet to send [22:18:46]OFD Sender: No OFD packet to send [22:18:51]OFD Sender: No OFD packet to send [22:18:56]OFD Sender: No OFD packet to send [22:19:01]OFD Sender: No OFD packet to send [22:19:06]OFD Sender: No OFD packet to send [22:19:11]OFD Sender: No OFD packet to send [22:19:16]OFD Sender: No OFD packet to send [22:19:21]OFD Sender: No OFD packet to send [22:19:26]OFD Sender: No OFD packet to send [22:19:31]OFD Sender: No OFD packet to send [22:19:36]OFD Sender: No OFD packet to send [22:19:41]OFD Sender: No OFD packet to send [22:19:46]OFD Sender: No OFD packet to send [22:19:51]OFD Sender: No OFD packet to send [22:19:56]OFD Sender: No OFD packet to send [22:20:01]OFD Sender: No OFD packet to send [22:20:06]OFD Sender: No OFD packet to send [22:20:11]OFD Sender: No OFD packet to send [22:20:16]OFD Sender: No OFD packet to send [22:20:21]OFD Sender: No OFD packet to send [22:20:26]OFD Sender: No OFD packet to send [22:20:31]OFD Sender: No OFD packet to send [22:20:36]OFD Sender: No OFD packet to send [22:20:38]accept exits with 8 [22:20:38]New connection [22:20:38]New thread 3067014500 created [22:20:38]Thread 3066871140 joined [22:20:38]Waiting for new connection... [22:20:38] Sock 8.Parse request [22:20:38]Sock 8.Check first char [22:20:38]Sock 8.First char is OK [22:20:38]request: POST /json_proto HTTP/1.0 [22:20:38]Method: POST [22:20:38]URL: /json_proto [22:20:38]Method is POST - this is cgi request [22:20:38]url: /json_proto [22:20:38]query_string will be loaded in cgi processing [22:20:38]execute_cgi json_proto POST (null) [22:20:38]execute_cgi path=json_proto method=POST [22:20:38]POST find Content-Length [22:20:38]Host: 172.17.35.3:8080 [22:20:38]Content-Length: 800 [22:20:38]Content-Type: application/json [22:20:38] [22:20:38]POST finish read [22:20:38]Found Content-Length = 800 [22:20:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359521", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 9.470, "sum" : 600.40, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 600.40 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:20:38]execute_script... [22:20:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359521", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 9.470, "sum" : 600.40, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 600.40 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:20:38]POST & json_proto [22:20:38]process_json_proto [22:20:38]json parsed OK: [22:20:38]protocol is kg_v1.0 [22:20:38]action value=close_receipt [22:20:38]process_action close_receipt [22:20:38]cmd_close_receipt [22:20:38]MH_GetDate [22:20:38]Write to MH i2c: F0 00 00 7D 2F 9B [22:20:38]Write i2c OK [22:20:38]MH_I2C_Read... [22:20:38]Read from MH i2c: F0 [22:20:38]MH_I2C_Read... [22:20:38]Read from MH i2c: F0 09 00 [22:20:38]MH_I2C_Read... [22:20:38]Read from MH i2c: F0 09 00 7D 2F 00 41 1C 13 66 2B 11 66 64 80 [22:20:38]GetLastDocTimeStamp 1712528110 [22:20:38]current date 1712528449 [22:20:38]FM_GetShiftState [22:20:38]SAM_PROTO_GetShiftState [22:20:38]wFMCommunicate request_size=4 [22:20:38]MH_SAM_APDU [22:20:38]CAPDU: 80 13 01 00 [22:20:38]Write to MH i2c: E2 08 00 7E 2F 80 13 01 00 00 00 00 00 2A [22:20:38]Write i2c OK [22:20:38]MH_I2C_Read... [22:20:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:20:38]Read from MH i2c: E2 [22:20:38]MH_I2C_Read... [22:20:38]Read from MH i2c: E2 0E 00 [22:20:38]MH_I2C_Read... [22:20:38]Read from MH i2c: E2 0E 00 7E 2F 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 BE [22:20:38]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [22:20:38]wFMCommunicate OK [22:20:38]SAM_PROTO_GetShiftState done [22:20:38]FM_GetShiftState done [22:20:38]opened in 1712450087 [22:20:38]opened+sec_in_day 1712536487 [22:20:38]quantity*price = 60039 [22:20:38]sum+1 = 60041 [22:20:38]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 600.40 НСП 1% : 5.31 НДС 12% : 63.76 Наличными: 0.00 Безнал.: 600.40 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 77 07.04.2024 22:20 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000874657 ФД: 26778 ФПД: 216060743925236 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T222049&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26778&fm=216060743925236&tin=02508201610067®Number=0000000000091578&sum=60040 [22:20:39]StoreToDocumentArchive [22:20:39]shift 313 fd 26778 [22:20:39]save to /storage/0313/doc_00026778 [22:20:39]save last doc name /storage/0313/doc_00026778 to /storage/kkm_last_doc_name [22:20:39]save OK [22:20:39]Clear old archive folders... [22:20:39]ProcessDocumentItem done err = 0, tmpTLVsize=251 [22:20:39]tlvbuf is 00F307A0 [22:20:39]SAM_PROTO_ClearQueue [22:20:39]wFMCommunicate request_size=4 [22:20:39]MH_SAM_APDU [22:20:39]CAPDU: 80 09 00 00 [22:20:39]Write to MH i2c: E2 08 00 8B 2F 80 09 00 00 00 00 00 00 2C [22:20:39]Write i2c OK [22:20:39]MH_I2C_Read... [22:20:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:20:39]Read from MH i2c: E2 [22:20:39]MH_I2C_Read... [22:20:39]Read from MH i2c: E2 03 00 [22:20:39]MH_I2C_Read... [22:20:39]Read from MH i2c: E2 03 00 8B 2F 00 90 00 2E [22:20:39]RAPDU: 90 00 [22:20:39]wFMCommunicate OK [22:20:39]SAM_PROTO_ClearQueue done [22:20:39]KKMCreateOFDPacket [22:20:39]OFDProtocolAddRootSTLVToBuf [22:20:39]FM_MakeSignedData [22:20:39]FM_MakeSignedData [22:20:39]SAM_PROTO_SignData [22:20:39]wFMCommunicate request_size=4 [22:20:39]MH_SAM_APDU [22:20:39]CAPDU: 80 0D 01 02 [22:20:39]Write to MH i2c: E2 08 00 8C 2F 80 0D 01 02 00 00 00 00 34 [22:20:39]Write i2c OK [22:20:39]MH_I2C_Read... [22:20:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:20:39]Read from MH i2c: E2 [22:20:39]MH_I2C_Read... [22:20:39]Read from MH i2c: E2 03 00 [22:20:39]MH_I2C_Read... [22:20:39]Read from MH i2c: E2 03 00 8C 2F 00 90 00 2F [22:20:39]RAPDU: 90 00 [22:20:39]wFMCommunicate OK [22:20:39]wFMCommunicate request_size=255 [22:20:39]MH_SAM_APDU [22:20:39]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 FE 24 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 88 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 18 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 88 EA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 41 1C 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 9A 68 00 00 35 04 06 00 C4 [22:20:39]Write to MH i2c: E2 02 01 8D 2F 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 FE 24 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 88 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 18 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 88 EA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 41 1C 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 9A 68 00 00 35 04 06 00 C4 00 00 D4 [22:20:39]Write i2c OK [22:20:39]MH_I2C_Read... [22:20:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:20:39]Read from MH i2c: E2 [22:20:39]MH_I2C_Read... [22:20:39]Read from MH i2c: E2 03 00 [22:20:39]MH_I2C_Read... [22:20:39]Read from MH i2c: E2 03 00 8D 2F 00 90 00 30 [22:20:39]RAPDU: 90 00 [22:20:39]wFMCommunicate OK [22:20:39]wFMCommunicate request_size=10 [22:20:39]MH_SAM_APDU [22:20:39]CAPDU: 80 0D 02 02 05 81 8F E4 3D F4 [22:20:39]Write to MH i2c: E2 0D 00 8E 2F 80 0D 02 02 05 00 81 8F E4 3D F4 00 00 66 [22:20:39]Write i2c OK [22:20:39]MH_I2C_Read... [22:20:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:20:39]Read from MH i2c: E2 [22:20:39]MH_I2C_Read... [22:20:39]Read from MH i2c: E2 03 00 [22:20:39]MH_I2C_Read... [22:20:39]Read from MH i2c: E2 03 00 8E 2F 00 90 00 31 [22:20:39]RAPDU: 90 00 [22:20:39]wFMCommunicate OK [22:20:39]wFMCommunicate request_size=4 [22:20:39]MH_SAM_APDU [22:20:39]CAPDU: 80 0D 03 02 [22:20:39]Write to MH i2c: E2 08 00 8F 2F 80 0D 03 02 00 00 00 00 39 [22:20:39]Write i2c OK [22:20:39]MH_I2C_Read... [22:20:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:20:40]Read from MH i2c: E2 [22:20:40]MH_I2C_Read... [22:20:40]Read from MH i2c: E2 0B 00 [22:20:40]MH_I2C_Read... [22:20:40]Read from MH i2c: E2 0B 00 8F 2F 00 A8 D4 EB 9B FE 1D CE DA 90 00 FF [22:20:40]RAPDU: A8 D4 EB 9B FE 1D CE DA 90 00 [22:20:40]wFMCommunicate OK [22:20:40]SAM_PROTO_SignData done [22:20:40]FM_MakeSignedData done [22:20:40]CreateOFDProtocolMessage [22:20:40]wFMCommunicate request_size=4 [22:20:40]MH_SAM_APDU [22:20:40]CAPDU: 80 11 00 00 [22:20:40]Write to MH i2c: E2 08 00 90 2F 80 11 00 00 00 00 00 00 39 [22:20:40]Write i2c OK [22:20:40]MH_I2C_Read... [22:20:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:20:40]Read from MH i2c: E2 [22:20:40]MH_I2C_Read... [22:20:40]Read from MH i2c: E2 17 00 [22:20:40]MH_I2C_Read... [22:20:40]Read from MH i2c: E2 17 00 90 2F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 91 [22:20:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [22:20:40]wFMCommunicate OK [22:20:40]CreateOFDProtocolMessage done [22:20:40]OFDSenderStorePacket 26778 [22:20:40]StoreOFDPacket docnum=26778 [22:20:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 4A 79 07 01 B5 B4 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 FE 24 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 88 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 18 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 88 EA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 41 1C 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 9A 68 00 00 35 04 06 00 C4 81 8F E4 3D F4 A8 D4 EB 9B FE 1D CE DA [22:20:40]CheckFolder [22:20:40]dirname=/storage/ofd_packets [22:20:40]CheckFolder done [22:20:40]ProducePacketName [22:20:40]name=ofd_packets/00026778 [22:20:40]NVStorageSaveData ofd_packets/00026778 [22:20:40]File name is /storage/ofd_packets/00026778 [22:20:40]Write 301 bytes [22:20:40]NVStorageSaveData done [22:20:40]OFDSenderStorePacket done [22:20:40]KKMCreateOFDPacket done [22:20:40]NVStorageSaveData kkm_last_timestamp [22:20:40]File name is /storage/kkm_last_timestamp [22:20:40]Write 4 bytes [22:20:40]NVStorageSaveData done [22:20:40]ExternCall_PrintAddStr [22:20:40]wPrintStart [22:20:40]Write to MH i2c: 01 00 00 91 2F C0 [22:20:40]Write i2c OK [22:20:40]MH_I2C_Read... [22:20:40]Read from MH i2c: 01 [22:20:40]MH_I2C_Read... [22:20:40]Read from MH i2c: 01 07 00 [22:20:40]MH_I2C_Read... [22:20:40]Read from MH i2c: 01 07 00 91 2F 00 00 00 00 00 FF 0F D5 [22:20:40]RasterBufferAndPrint [22:20:40]line Счет N : (1)359521 [22:20:40]line ИНН: 02508201610067 [22:20:40]line Контрольно-Кассовый Чек [22:20:40]line ПРОДАЖА [22:20:40]line ТРК (МРК, ГНК) : 51 [22:20:40]line Товар: 2710124130 [22:20:40]line Аи-92-К-5 [22:20:40]line 9.470 * 63.40 [22:20:40]line = 600.40 [22:20:40]line НДС 12% НСП 1% [22:20:40]line > о реализуемом товаре [22:20:40]line ИТОГО: 600.40 [22:20:40]line НСП 1% : 5.31 [22:20:40]line НДС 12% : 63.76 [22:20:40]line Наличными: 0.00 [22:20:40]line Безнал.: 600.40 [22:20:40]line Место: АЗС № 122 "Партнер Нефть" [22:20:40]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [22:20:40]line СНО: Общий режим [22:20:40]line Чек 77 07.04.2024 22:20 [22:20:40]line Смена: 313 ФФД: 1.0 [22:20:40]line ЗНМ: 0300000147 [22:20:40]line РНМ: 0000000000091578 [22:20:40]line Версия ККМ: 001 [22:20:40]line Платежная система: O! деньги [22:20:40]line ФМ: 0000000000874657 [22:20:40]line ФД: 26778 [22:20:40]line ФПД: 216060743925236 [22:20:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T222049&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26778&fm=216060743925236&tin=02508201610067®Number=0000000000091578&sum=60040 [22:20:40]OFD Sender: Processing packet 26778 [packets to send 44, broken 43] [22:20:40]ProducePacketName [22:20:40]name=ofd_packets/00026778 [22:20:40]OFD Sender: To server: pG, [22:20:40]CommunicateWithHost lk.salyk.kg:30040 [22:20:40]ConnectInit lk.salyk.kg [22:20:40]written 0, free lines is 4095 [22:20:40]Connected sock=10 [22:20: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 36 35 37 0F 01 00 00 4A 79 07 01 B5 B4 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 FE 24 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 88 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 18 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 88 EA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 41 1C 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 9A 68 00 00 35 04 06 00 C4 81 8F E4 3D F4 A8 D4 EB 9B FE 1D CE DA [22:20:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 97 54 47 00 3B 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 36 35 37 10 04 04 00 9A 68 00 00 F4 03 04 00 AD C3 12 66 B6 04 01 00 00 5F 62 AC 28 E5 86 8A D5 [22:20:40]CommunicateWithHost err = 0 [22:20:40]CheckOFDResponse [22:20:40]1017 (14) - 77093643461234 [22:20:40]1041 (16) - 0000000000874657 [22:20:40]1040 (4) - 26778 [22:20:40]1012 (4) - 07.04.2024 16:02 [22:20:40]1206 (1) - 0 [22:20:40]OFD Sender: Remove packet 26778 [22:20:40]ProducePacketName [22:20:40]name=ofd_packets/00026778 [22:20:40]NVStorageDeleteData [22:20:40]Write to MH i2c: 01 00 00 BB 2F EA [22:20:40]Write i2c OK [22:20:40]MH_I2C_Read... [22:20:40]Read from MH i2c: 01 [22:20:40]MH_I2C_Read... [22:20:40]Read from MH i2c: 01 07 00 [22:20:40]MH_I2C_Read... [22:20:40]Read from MH i2c: 01 07 00 BB 2F 00 00 00 00 00 91 0C 8E [22:20:40]RasterBufferAndPrint [22:20:40]line [22:20:40]line [22:20:40]line [22:20:40]line [22:20:40]line [22:20:40]written 0, free lines is 3220 [22:20:40]MH_Cut [22:20:40]Write to MH i2c: D1 01 00 C2 2F 01 C3 [22:20:40]Write i2c OK [22:20:40]MH_I2C_Read... [22:20:40]Read from MH i2c: D1 [22:20:40]MH_I2C_Read... [22:20:40]Read from MH i2c: D1 01 00 [22:20:40]MH_I2C_Read... [22:20:40]Read from MH i2c: D1 01 00 C2 2F 00 C2 [22:20:40]Write to MH i2c: 01 00 00 C3 2F F2 [22:20:40]Write i2c OK [22:20:40]MH_I2C_Read... [22:20:41]OFD Sender: No OFD packet to send [22:20:42]*** Cut start [22:20:42]*** Partial cut [22:20:42]*** CUTSNS_PIN = 1 [22:20:42]*** CUTSNS_PIN = 0 [22:20:42]*** Brake cut motor [22:20:42]Read from MH i2c: 01 [22:20:42]MH_I2C_Read... [22:20:42]*** Stop cut motor [22:20:42]*** Cut end [22:20:42]Read from MH i2c: 01 07 00 [22:20:42]MH_I2C_Read... [22:20:42]Read from MH i2c: 01 07 00 C3 2F 00 00 00 00 00 FF 0F 07 [22:20:42]process_action close_receipt done [22:20:42]requested_data is exist [22:20:42]produce_requested_data [22:20:42]requested_item fm.sn is exist - process it [22:20:42]wFMCommunicate request_size=4 [22:20:42]MH_SAM_APDU [22:20:42]CAPDU: 80 11 00 00 [22:20:42]Write to MH i2c: E2 08 00 C4 2F 80 11 00 00 00 00 00 00 6D [22:20:42]Write i2c OK [22:20:42]MH_I2C_Read... [22:20:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:20:42]Read from MH i2c: E2 [22:20:42]MH_I2C_Read... [22:20:42]Read from MH i2c: E2 17 00 [22:20:42]MH_I2C_Read... [22:20:42]Read from MH i2c: E2 17 00 C4 2F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 C5 [22:20:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [22:20:42]wFMCommunicate OK [22:20:42]requested_item fd.num is exist - process it [22:20:42]SAM_PROTO_GetFieldsCounters [22:20:42]wFMCommunicate request_size=4 [22:20:42]MH_SAM_APDU [22:20:42]CAPDU: 80 13 00 00 [22:20:42]Write to MH i2c: E2 08 00 C5 2F 80 13 00 00 00 00 00 00 70 [22:20:42]Write i2c OK [22:20:42]MH_I2C_Read... [22:20:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:20:42]Read from MH i2c: E2 [22:20:42]MH_I2C_Read... [22:20:42]Read from MH i2c: E2 62 00 [22:20:42]MH_I2C_Read... [22:20:42]Read from MH i2c: E2 62 00 C5 2F 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 9A 68 00 00 0E 04 04 00 39 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 BE [22:20: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 9A 68 00 00 0E 04 04 00 39 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 [22:20:42]wFMCommunicate OK [22:20:42]SAM_PROTO_GetFieldsCounters done [22:20:42]requested_item shift.num is exist - process it [22:20:42]requested_item shift.opened is exist - process it [22:20:42]req_shift_opened [22:20:42]FM_GetShiftState [22:20:42]SAM_PROTO_GetShiftState [22:20:42]wFMCommunicate request_size=4 [22:20:42]MH_SAM_APDU [22:20:42]CAPDU: 80 13 01 00 [22:20:42]Write to MH i2c: E2 08 00 C6 2F 80 13 01 00 00 00 00 00 72 [22:20:42]Write i2c OK [22:20:42]MH_I2C_Read... [22:20:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:20:42]Read from MH i2c: E2 [22:20:42]MH_I2C_Read... [22:20:42]Read from MH i2c: E2 0E 00 [22:20:42]MH_I2C_Read... [22:20:42]Read from MH i2c: E2 0E 00 C6 2F 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 06 [22:20:42]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [22:20:42]wFMCommunicate OK [22:20:42]SAM_PROTO_GetShiftState done [22:20:42]FM_GetShiftState done [22:20:42]req_shift_opened done [22:20:42]requested_item shift.open_date is exist - process it [22:20:42]req_shift_open_date [22:20:42]req_shift_open_date done [22:20:42]produce_requested_data done [22:20:42]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26778,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [22:20:42]process_action_free close_receipt [22:20:42]json_value_free [22:20:42]json_value_free done [22:20:42]process_json_proto returns [22:20:42]Send response to host [22:20:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26778,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [22:20:42]free response buf [22:20:42]execute_script done [22:20:42]execute_script returns [22:20:42]free content buf [22:20:42]Sock 8.Close socket [22:20:42]Sock 8.Thread stoped [22:20:46]OFD Sender: No OFD packet to send [22:20:51]OFD Sender: No OFD packet to send [22:20:56]OFD Sender: No OFD packet to send [22:21:01]OFD Sender: No OFD packet to send [22:21:06]OFD Sender: No OFD packet to send [22:21:11]OFD Sender: No OFD packet to send [22:21:16]OFD Sender: No OFD packet to send [22:21:21]OFD Sender: No OFD packet to send [22:21:26]OFD Sender: No OFD packet to send [22:21:31]OFD Sender: No OFD packet to send [22:21:36]OFD Sender: No OFD packet to send [22:21:41]OFD Sender: No OFD packet to send [22:21:46]OFD Sender: No OFD packet to send [22:21:51]OFD Sender: No OFD packet to send [22:21:56]OFD Sender: No OFD packet to send [22:22:01]OFD Sender: No OFD packet to send [22:22:06]OFD Sender: No OFD packet to send [22:22:11]OFD Sender: No OFD packet to send [22:22:16]OFD Sender: No OFD packet to send [22:22:21]OFD Sender: No OFD packet to send [22:22:26]OFD Sender: No OFD packet to send [22:22:31]OFD Sender: No OFD packet to send [22:22:36]OFD Sender: No OFD packet to send [22:22:41]OFD Sender: No OFD packet to send [22:22:46]accept exits with 9 [22:22:46]New connection [22:22:46]New thread 3066871140 created [22:22:46]Thread 3067014500 joined [22:22:46]Waiting for new connection... [22:22:46] Sock 9.Parse request [22:22:46]Sock 9.Check first char [22:22:46]Sock 9.First char is OK [22:22:46]request: POST /json_proto HTTP/1.0 [22:22:46]Method: POST [22:22:46]URL: /json_proto [22:22:46]Method is POST - this is cgi request [22:22:46]url: /json_proto [22:22:46]query_string will be loaded in cgi processing [22:22:46]execute_cgi json_proto POST (null) [22:22:46]execute_cgi path=json_proto method=POST [22:22:46]POST find Content-Length [22:22:46]Host: 172.17.35.3:8080 [22:22:46]Content-Length: 677 [22:22:46]Content-Type: application/json [22:22:46] [22:22:46]POST finish read [22:22:46]Found Content-Length = 677 [22:22:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359522", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 7.890, "sum" : 500.23, "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" ] } } [22:22:46]execute_script... [22:22:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359522", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 7.890, "sum" : 500.23, "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" ] } } [22:22:46]POST & json_proto [22:22:46]process_json_proto [22:22:46]json parsed OK: [22:22:46]protocol is kg_v1.0 [22:22:46]action value=close_receipt [22:22:46]process_action close_receipt [22:22:46]cmd_close_receipt [22:22:46]MH_GetDate [22:22:46]Write to MH i2c: F0 00 00 C7 2F E5 [22:22:46]Write i2c OK [22:22:46]MH_I2C_Read... [22:22:46]Read from MH i2c: F0 [22:22:46]MH_I2C_Read... [22:22:46]Read from MH i2c: F0 09 00 [22:22:46]MH_I2C_Read... [22:22:46]Read from MH i2c: F0 09 00 C7 2F 00 C1 1C 13 66 2B 11 66 64 4A [22:22:46]GetLastDocTimeStamp 1712528449 [22:22:46]current date 1712528577 [22:22:46]FM_GetShiftState [22:22:46]SAM_PROTO_GetShiftState [22:22:46]wFMCommunicate request_size=4 [22:22:46]MH_SAM_APDU [22:22:46]CAPDU: 80 13 01 00 [22:22:46]Write to MH i2c: E2 08 00 C8 2F 80 13 01 00 00 00 00 00 74 [22:22:46]Write i2c OK [22:22:46]MH_I2C_Read... [22:22:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:22:46]Read from MH i2c: E2 [22:22:46]MH_I2C_Read... [22:22:46]Read from MH i2c: E2 0E 00 [22:22:46]MH_I2C_Read... [22:22:46]Read from MH i2c: E2 0E 00 C8 2F 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 08 [22:22:46]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [22:22:46]wFMCommunicate OK [22:22:46]SAM_PROTO_GetShiftState done [22:22:46]FM_GetShiftState done [22:22:46]opened in 1712450087 [22:22:46]opened+sec_in_day 1712536487 [22:22:46]quantity*price = 50022 [22:22:46]sum+1 = 50024 [22:22:46]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.23 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.12 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 78 07.04.2024 22:22 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26779 ФПД: 147523497404704 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T222257&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26779&fm=147523497404704&tin=02508201610067®Number=0000000000091578&sum=50000 [22:22:47]StoreToDocumentArchive [22:22:47]shift 313 fd 26779 [22:22:47]save to /storage/0313/doc_00026779 [22:22:47]save last doc name /storage/0313/doc_00026779 to /storage/kkm_last_doc_name [22:22:47]save OK [22:22:47]Clear old archive folders... [22:22:47]ProcessDocumentItem done err = 0, tmpTLVsize=251 [22:22:47]tlvbuf is 00F308E0 [22:22:47]SAM_PROTO_ClearQueue [22:22:47]wFMCommunicate request_size=4 [22:22:47]MH_SAM_APDU [22:22:47]CAPDU: 80 09 00 00 [22:22:47]Write to MH i2c: E2 08 00 D5 2F 80 09 00 00 00 00 00 00 76 [22:22:47]Write i2c OK [22:22:47]MH_I2C_Read... [22:22:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:22:47]Read from MH i2c: E2 [22:22:47]MH_I2C_Read... [22:22:47]Read from MH i2c: E2 03 00 [22:22:47]MH_I2C_Read... [22:22:47]Read from MH i2c: E2 03 00 D5 2F 00 90 00 78 [22:22:47]RAPDU: 90 00 [22:22:47]wFMCommunicate OK [22:22:47]SAM_PROTO_ClearQueue done [22:22:47]KKMCreateOFDPacket [22:22:47]OFDProtocolAddRootSTLVToBuf [22:22:47]FM_MakeSignedData [22:22:47]FM_MakeSignedData [22:22:47]SAM_PROTO_SignData [22:22:47]wFMCommunicate request_size=4 [22:22:47]MH_SAM_APDU [22:22:47]CAPDU: 80 0D 01 02 [22:22:47]Write to MH i2c: E2 08 00 D6 2F 80 0D 01 02 00 00 00 00 7E [22:22:47]Write i2c OK [22:22:47]MH_I2C_Read... [22:22:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:22:47]Read from MH i2c: E2 [22:22:47]MH_I2C_Read... [22:22:47]Read from MH i2c: E2 03 00 [22:22:47]MH_I2C_Read... [22:22:47]Read from MH i2c: E2 03 00 D6 2F 00 90 00 79 [22:22:47]RAPDU: 90 00 [22:22:47]wFMCommunicate OK [22:22:47]wFMCommunicate request_size=255 [22:22:47]MH_SAM_APDU [22:22: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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 4E 00 00 00 F4 03 04 00 C1 1C 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 9B 68 00 00 35 04 06 00 86 [22:22:47]Write to MH i2c: E2 02 01 D7 2F 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 4E 00 00 00 F4 03 04 00 C1 1C 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 9B 68 00 00 35 04 06 00 86 00 00 A5 [22:22:47]Write i2c OK [22:22:47]MH_I2C_Read... [22:22:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:22:47]Read from MH i2c: E2 [22:22:47]MH_I2C_Read... [22:22:47]Read from MH i2c: E2 03 00 [22:22:47]MH_I2C_Read... [22:22:47]Read from MH i2c: E2 03 00 D7 2F 00 90 00 7A [22:22:47]RAPDU: 90 00 [22:22:47]wFMCommunicate OK [22:22:47]wFMCommunicate request_size=10 [22:22:47]MH_SAM_APDU [22:22:47]CAPDU: 80 0D 02 02 05 2B FD A8 A9 20 [22:22:47]Write to MH i2c: E2 0D 00 D8 2F 80 0D 02 02 05 00 2B FD A8 A9 20 00 00 24 [22:22:47]Write i2c OK [22:22:47]MH_I2C_Read... [22:22:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:22:47]Read from MH i2c: E2 [22:22:47]MH_I2C_Read... [22:22:47]Read from MH i2c: E2 03 00 [22:22:47]MH_I2C_Read... [22:22:47]Read from MH i2c: E2 03 00 D8 2F 00 90 00 7B [22:22:47]RAPDU: 90 00 [22:22:47]wFMCommunicate OK [22:22:47]wFMCommunicate request_size=4 [22:22:47]MH_SAM_APDU [22:22:47]CAPDU: 80 0D 03 02 [22:22:47]Write to MH i2c: E2 08 00 D9 2F 80 0D 03 02 00 00 00 00 83 [22:22:47]Write i2c OK [22:22:47]MH_I2C_Read... [22:22:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:22:47]Read from MH i2c: E2 [22:22:47]MH_I2C_Read... [22:22:47]Read from MH i2c: E2 0B 00 [22:22:47]MH_I2C_Read... [22:22:47]Read from MH i2c: E2 0B 00 D9 2F 00 24 FA 99 B0 8A 1B A2 99 90 00 CB [22:22:47]RAPDU: 24 FA 99 B0 8A 1B A2 99 90 00 [22:22:47]wFMCommunicate OK [22:22:47]SAM_PROTO_SignData done [22:22:47]FM_MakeSignedData done [22:22:47]CreateOFDProtocolMessage [22:22:47]wFMCommunicate request_size=4 [22:22:47]MH_SAM_APDU [22:22:47]CAPDU: 80 11 00 00 [22:22:47]Write to MH i2c: E2 08 00 DA 2F 80 11 00 00 00 00 00 00 83 [22:22:47]Write i2c OK [22:22:47]MH_I2C_Read... [22:22:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:22:47]Read from MH i2c: E2 [22:22:47]MH_I2C_Read... [22:22:47]Read from MH i2c: E2 17 00 [22:22:47]MH_I2C_Read... [22:22:47]Read from MH i2c: E2 17 00 DA 2F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 DB [22:22:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [22:22:47]wFMCommunicate OK [22:22:47]CreateOFDProtocolMessage done [22:22:47]OFDSenderStorePacket 26779 [22:22:47]StoreOFDPacket docnum=26779 [22:22:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 E1 CA 07 01 CF C2 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 4E 00 00 00 F4 03 04 00 C1 1C 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 9B 68 00 00 35 04 06 00 86 2B FD A8 A9 20 24 FA 99 B0 8A 1B A2 99 [22:22:47]CheckFolder [22:22:47]dirname=/storage/ofd_packets [22:22:47]CheckFolder done [22:22:47]ProducePacketName [22:22:47]name=ofd_packets/00026779 [22:22:47]NVStorageSaveData ofd_packets/00026779 [22:22:47]File name is /storage/ofd_packets/00026779 [22:22:47]Write 301 bytes [22:22:47]NVStorageSaveData done [22:22:47]OFDSenderStorePacket done [22:22:47]KKMCreateOFDPacket done [22:22:47]NVStorageSaveData kkm_last_timestamp [22:22:47]File name is /storage/kkm_last_timestamp [22:22:47]Write 4 bytes [22:22:47]NVStorageSaveData done [22:22:47]ExternCall_PrintAddStr [22:22:47]wPrintStart [22:22:47]Write to MH i2c: 01 00 00 DB 2F 0A [22:22:47]Write i2c OK [22:22:47]MH_I2C_Read... [22:22:47]Read from MH i2c: 01 [22:22:47]MH_I2C_Read... [22:22:47]Read from MH i2c: 01 07 00 [22:22:47]MH_I2C_Read... [22:22:47]Read from MH i2c: 01 07 00 DB 2F 00 00 00 00 00 FF 0F 1F [22:22:47]RasterBufferAndPrint [22:22:47]line Счет N : (1)359522 [22:22:47]line ИНН: 02508201610067 [22:22:47]line Контрольно-Кассовый Чек [22:22:47]line ПРОДАЖА [22:22:47]line ТРК (МРК, ГНК) : 61 [22:22:47]line Товар: 2710124130 [22:22:47]line Аи-92-К-5 [22:22:47]line 7.890 * 63.40 [22:22:47]line = 500.23 [22:22:47]line НДС 12% НСП 1% [22:22:47]line > о реализуемом товаре [22:22:47]line ОКРУГЛЕНИЕ: -0.23 [22:22:47]line ИТОГО: 500.00 [22:22:47]line Внесено: 500.00 [22:22:47]line СДАЧА: 0.00 [22:22:47]line НСП 1% : 4.43 [22:22:47]line НДС 12% : 53.12 [22:22:47]line Наличными: 500.00 [22:22:47]line Безнал.: 0.00 [22:22:47]line Место: АЗС № 122 "Партнер Нефть" [22:22:47]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [22:22:47]line СНО: Общий режим [22:22:47]line Чек 78 07.04.2024 22:22 [22:22:47]line Смена: 313 ФФД: 1.0 [22:22:47]line ЗНМ: 0300000147 [22:22:47]line РНМ: 0000000000091578 [22:22:47]line Версия ККМ: 001 [22:22:47]line ФМ: 0000000000874657 [22:22:47]line ФД: 26779 [22:22:47]line ФПД: 147523497404704 [22:22:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T222257&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26779&fm=147523497404704&tin=02508201610067®Number=0000000000091578&sum=50000 [22:22:48]OFD Sender: Processing packet 26779 [packets to send 44, broken 43] [22:22:48]ProducePacketName [22:22:48]name=ofd_packets/00026779 [22:22:48]OFD Sender: To server: pG, [22:22:48]CommunicateWithHost lk.salyk.kg:30040 [22:22:48]ConnectInit lk.salyk.kg [22:22:48]written 0, free lines is 4095 [22:22:48]Connected sock=10 [22:22: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 36 35 37 0F 01 00 00 E1 CA 07 01 CF C2 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 4E 00 00 00 F4 03 04 00 C1 1C 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 9B 68 00 00 35 04 06 00 86 2B FD A8 A9 20 24 FA 99 B0 8A 1B A2 99 [22:22:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 3B 34 47 00 D1 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 36 35 37 10 04 04 00 9B 68 00 00 F4 03 04 00 2D C4 12 66 B6 04 01 00 00 BA 53 45 F9 7B 86 8C 77 [22:22:48]CommunicateWithHost err = 0 [22:22:48]CheckOFDResponse [22:22:48]1017 (14) - 77093643461234 [22:22:48]1041 (16) - 0000000000874657 [22:22:48]1040 (4) - 26779 [22:22:48]1012 (4) - 07.04.2024 16:05 [22:22:48]1206 (1) - 0 [22:22:48]OFD Sender: Remove packet 26779 [22:22:48]ProducePacketName [22:22:48]name=ofd_packets/00026779 [22:22:48]NVStorageDeleteData [22:22:48]Write to MH i2c: 01 00 00 06 30 36 [22:22:48]Write i2c OK [22:22:48]MH_I2C_Read... [22:22:48]Read from MH i2c: 01 [22:22:48]MH_I2C_Read... [22:22:48]Read from MH i2c: 01 07 00 [22:22:48]MH_I2C_Read... [22:22:48]Read from MH i2c: 01 07 00 06 30 00 00 00 00 00 73 0C BC [22:22:48]RasterBufferAndPrint [22:22:48]line [22:22:48]line [22:22:48]line [22:22:48]line [22:22:48]line [22:22:48]written 0, free lines is 3191 [22:22:48]MH_Cut [22:22:48]Write to MH i2c: D1 01 00 0D 30 01 0F [22:22:48]Write i2c OK [22:22:48]MH_I2C_Read... [22:22:48]Read from MH i2c: D1 [22:22:48]MH_I2C_Read... [22:22:48]Read from MH i2c: D1 01 00 [22:22:48]MH_I2C_Read... [22:22:48]Read from MH i2c: D1 01 00 0D 30 00 0E [22:22:48]Write to MH i2c: 01 00 00 0E 30 3E [22:22:48]Write i2c OK [22:22:48]MH_I2C_Read... [22:22:49]OFD Sender: No OFD packet to send [22:22:49]*** Cut start [22:22:49]*** Partial cut [22:22:49]*** CUTSNS_PIN = 1 [22:22:49]*** CUTSNS_PIN = 0 [22:22:50]*** Brake cut motor [22:22:50]Read from MH i2c: 01 [22:22:50]MH_I2C_Read... [22:22:50]*** Stop cut motor [22:22:50]*** Cut end [22:22:50]Read from MH i2c: 01 07 00 [22:22:50]MH_I2C_Read... [22:22:50]Read from MH i2c: 01 07 00 0E 30 00 00 00 00 00 FF 0F 53 [22:22:50]process_action close_receipt done [22:22:50]requested_data is exist [22:22:50]produce_requested_data [22:22:50]requested_item fm.sn is exist - process it [22:22:50]wFMCommunicate request_size=4 [22:22:50]MH_SAM_APDU [22:22:50]CAPDU: 80 11 00 00 [22:22:50]Write to MH i2c: E2 08 00 0F 30 80 11 00 00 00 00 00 00 B9 [22:22:50]Write i2c OK [22:22:50]MH_I2C_Read... [22:22:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:22:50]Read from MH i2c: E2 [22:22:50]MH_I2C_Read... [22:22:50]Read from MH i2c: E2 17 00 [22:22:50]MH_I2C_Read... [22:22:50]Read from MH i2c: E2 17 00 0F 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 11 [22:22:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [22:22:50]wFMCommunicate OK [22:22:50]requested_item fd.num is exist - process it [22:22:50]SAM_PROTO_GetFieldsCounters [22:22:50]wFMCommunicate request_size=4 [22:22:50]MH_SAM_APDU [22:22:50]CAPDU: 80 13 00 00 [22:22:50]Write to MH i2c: E2 08 00 10 30 80 13 00 00 00 00 00 00 BC [22:22:50]Write i2c OK [22:22:50]MH_I2C_Read... [22:22:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:22:50]Read from MH i2c: E2 [22:22:50]MH_I2C_Read... [22:22:50]Read from MH i2c: E2 62 00 [22:22:50]MH_I2C_Read... [22:22:50]Read from MH i2c: E2 62 00 10 30 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 9B 68 00 00 0E 04 04 00 39 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 0E [22:22: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 9B 68 00 00 0E 04 04 00 39 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 [22:22:50]wFMCommunicate OK [22:22:50]SAM_PROTO_GetFieldsCounters done [22:22:50]requested_item shift.num is exist - process it [22:22:50]requested_item shift.opened is exist - process it [22:22:50]req_shift_opened [22:22:50]FM_GetShiftState [22:22:50]SAM_PROTO_GetShiftState [22:22:50]wFMCommunicate request_size=4 [22:22:50]MH_SAM_APDU [22:22:50]CAPDU: 80 13 01 00 [22:22:50]Write to MH i2c: E2 08 00 11 30 80 13 01 00 00 00 00 00 BE [22:22:50]Write i2c OK [22:22:50]MH_I2C_Read... [22:22:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:22:50]Read from MH i2c: E2 [22:22:50]MH_I2C_Read... [22:22:50]Read from MH i2c: E2 0E 00 [22:22:50]MH_I2C_Read... [22:22:50]Read from MH i2c: E2 0E 00 11 30 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 52 [22:22:50]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [22:22:50]wFMCommunicate OK [22:22:50]SAM_PROTO_GetShiftState done [22:22:50]FM_GetShiftState done [22:22:50]req_shift_opened done [22:22:50]requested_item shift.open_date is exist - process it [22:22:50]req_shift_open_date [22:22:50]req_shift_open_date done [22:22:50]produce_requested_data done [22:22:50]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26779,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [22:22:50]process_action_free close_receipt [22:22:50]json_value_free [22:22:50]json_value_free done [22:22:50]process_json_proto returns [22:22:50]Send response to host [22:22:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26779,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [22:22:50]free response buf [22:22:50]execute_script done [22:22:50]execute_script returns [22:22:50]free content buf [22:22:50]Sock 9.Close socket [22:22:50]Sock 9.Thread stoped [22:22:54]OFD Sender: No OFD packet to send [22:22:59]OFD Sender: No OFD packet to send [22:23:04]OFD Sender: No OFD packet to send [22:23:09]OFD Sender: No OFD packet to send [22:23:14]OFD Sender: No OFD packet to send [22:23:19]OFD Sender: No OFD packet to send [22:23:24]OFD Sender: No OFD packet to send [22:23:29]OFD Sender: No OFD packet to send [22:23:34]OFD Sender: No OFD packet to send [22:23:39]OFD Sender: No OFD packet to send [22:23:44]OFD Sender: No OFD packet to send [22:23:49]OFD Sender: No OFD packet to send [22:23:54]OFD Sender: No OFD packet to send [22:23:59]OFD Sender: No OFD packet to send [22:24:04]OFD Sender: No OFD packet to send [22:24:09]OFD Sender: No OFD packet to send [22:24:14]OFD Sender: No OFD packet to send [22:24:19]OFD Sender: No OFD packet to send [22:24:24]OFD Sender: No OFD packet to send [22:24:29]OFD Sender: No OFD packet to send [22:24:34]OFD Sender: No OFD packet to send [22:24:39]OFD Sender: No OFD packet to send [22:24:44]OFD Sender: No OFD packet to send [22:24:49]OFD Sender: No OFD packet to send [22:24:54]OFD Sender: No OFD packet to send [22:24:59]OFD Sender: No OFD packet to send [22:25:04]OFD Sender: No OFD packet to send [22:25:09]OFD Sender: No OFD packet to send [22:25:14]OFD Sender: No OFD packet to send [22:25:19]OFD Sender: No OFD packet to send [22:25:24]OFD Sender: No OFD packet to send [22:25:29]OFD Sender: No OFD packet to send [22:25:34]OFD Sender: No OFD packet to send [22:25:39]OFD Sender: No OFD packet to send [22:25:44]OFD Sender: No OFD packet to send [22:25:49]OFD Sender: No OFD packet to send [22:25:54]OFD Sender: No OFD packet to send [22:25:59]OFD Sender: No OFD packet to send [22:26:04]OFD Sender: No OFD packet to send [22:26:09]OFD Sender: No OFD packet to send [22:26:14]OFD Sender: No OFD packet to send [22:26:19]OFD Sender: No OFD packet to send [22:26:24]OFD Sender: No OFD packet to send [22:26:29]OFD Sender: No OFD packet to send [22:26:34]OFD Sender: No OFD packet to send [22:26:39]OFD Sender: No OFD packet to send [22:26:44]OFD Sender: No OFD packet to send [22:26:49]OFD Sender: No OFD packet to send [22:26:54]OFD Sender: No OFD packet to send [22:26:59]OFD Sender: No OFD packet to send [22:27:04]OFD Sender: No OFD packet to send [22:27:09]OFD Sender: No OFD packet to send [22:27:14]OFD Sender: No OFD packet to send [22:27:19]OFD Sender: No OFD packet to send [22:27:24]OFD Sender: No OFD packet to send [22:27:29]OFD Sender: No OFD packet to send [22:27:34]OFD Sender: No OFD packet to send [22:27:39]OFD Sender: No OFD packet to send [22:27:44]OFD Sender: No OFD packet to send [22:27:49]OFD Sender: No OFD packet to send [22:27:54]OFD Sender: No OFD packet to send [22:27:59]OFD Sender: No OFD packet to send [22:28:04]OFD Sender: No OFD packet to send [22:28:09]OFD Sender: No OFD packet to send [22:28:14]OFD Sender: No OFD packet to send [22:28:19]OFD Sender: No OFD packet to send [22:28:24]OFD Sender: No OFD packet to send [22:28:29]OFD Sender: No OFD packet to send [22:28:34]OFD Sender: No OFD packet to send [22:28:39]OFD Sender: No OFD packet to send [22:28:44]OFD Sender: No OFD packet to send [22:28:49]OFD Sender: No OFD packet to send [22:28:54]OFD Sender: No OFD packet to send [22:28:59]OFD Sender: No OFD packet to send [22:29:04]OFD Sender: No OFD packet to send [22:29:09]OFD Sender: No OFD packet to send [22:29:14]OFD Sender: No OFD packet to send [22:29:19]OFD Sender: No OFD packet to send [22:29:24]OFD Sender: No OFD packet to send [22:29:29]OFD Sender: No OFD packet to send [22:29:34]OFD Sender: No OFD packet to send [22:29:39]OFD Sender: No OFD packet to send [22:29:44]OFD Sender: No OFD packet to send [22:29:49]OFD Sender: No OFD packet to send [22:29:54]OFD Sender: No OFD packet to send [22:29:59]OFD Sender: No OFD packet to send [22:30:04]OFD Sender: No OFD packet to send [22:30:09]OFD Sender: No OFD packet to send [22:30:14]OFD Sender: No OFD packet to send [22:30:19]OFD Sender: No OFD packet to send [22:30:24]OFD Sender: No OFD packet to send [22:30:29]OFD Sender: No OFD packet to send [22:30:34]OFD Sender: No OFD packet to send [22:30:39]OFD Sender: No OFD packet to send [22:30:44]OFD Sender: No OFD packet to send [22:30:49]OFD Sender: No OFD packet to send [22:30:54]OFD Sender: No OFD packet to send [22:30:59]OFD Sender: No OFD packet to send [22:31:04]OFD Sender: No OFD packet to send [22:31:09]OFD Sender: No OFD packet to send [22:31:14]OFD Sender: No OFD packet to send [22:31:19]OFD Sender: No OFD packet to send [22:31:24]OFD Sender: No OFD packet to send [22:31:29]OFD Sender: No OFD packet to send [22:31:34]OFD Sender: No OFD packet to send [22:31:39]OFD Sender: No OFD packet to send [22:31:44]OFD Sender: No OFD packet to send [22:31:49]OFD Sender: No OFD packet to send [22:31:54]OFD Sender: No OFD packet to send [22:31:59]OFD Sender: No OFD packet to send [22:32:04]OFD Sender: No OFD packet to send [22:32:09]OFD Sender: No OFD packet to send [22:32:14]OFD Sender: No OFD packet to send [22:32:19]OFD Sender: No OFD packet to send [22:32:24]OFD Sender: No OFD packet to send [22:32:29]OFD Sender: No OFD packet to send [22:32:34]OFD Sender: No OFD packet to send [22:32:39]OFD Sender: No OFD packet to send [22:32:44]OFD Sender: No OFD packet to send [22:32:49]OFD Sender: No OFD packet to send [22:32:54]OFD Sender: No OFD packet to send [22:32:59]OFD Sender: No OFD packet to send [22:33:04]OFD Sender: No OFD packet to send [22:33:09]OFD Sender: No OFD packet to send [22:33:14]OFD Sender: No OFD packet to send [22:33:19]OFD Sender: No OFD packet to send [22:33:24]OFD Sender: No OFD packet to send [22:33:29]OFD Sender: No OFD packet to send [22:33:34]OFD Sender: No OFD packet to send [22:33:39]OFD Sender: No OFD packet to send [22:33:44]OFD Sender: No OFD packet to send [22:33:49]OFD Sender: No OFD packet to send [22:33:54]OFD Sender: No OFD packet to send [22:33:59]OFD Sender: No OFD packet to send [22:34:04]OFD Sender: No OFD packet to send [22:34:09]OFD Sender: No OFD packet to send [22:34:14]OFD Sender: No OFD packet to send [22:34:19]OFD Sender: No OFD packet to send [22:34:24]OFD Sender: No OFD packet to send [22:34:29]OFD Sender: No OFD packet to send [22:34:34]OFD Sender: No OFD packet to send [22:34:39]OFD Sender: No OFD packet to send [22:34:44]OFD Sender: No OFD packet to send [22:34:49]OFD Sender: No OFD packet to send [22:34:54]OFD Sender: No OFD packet to send [22:34:59]OFD Sender: No OFD packet to send [22:35:04]OFD Sender: No OFD packet to send [22:35:09]OFD Sender: No OFD packet to send [22:35:14]OFD Sender: No OFD packet to send [22:35:19]OFD Sender: No OFD packet to send [22:35:24]OFD Sender: No OFD packet to send [22:35:29]OFD Sender: No OFD packet to send [22:35:34]OFD Sender: No OFD packet to send [22:35:39]OFD Sender: No OFD packet to send [22:35:44]OFD Sender: No OFD packet to send [22:35:49]OFD Sender: No OFD packet to send [22:35:54]OFD Sender: No OFD packet to send [22:35:59]OFD Sender: No OFD packet to send [22:36:04]OFD Sender: No OFD packet to send [22:36:09]OFD Sender: No OFD packet to send [22:36:14]OFD Sender: No OFD packet to send [22:36:19]OFD Sender: No OFD packet to send [22:36:24]OFD Sender: No OFD packet to send [22:36:29]OFD Sender: No OFD packet to send [22:36:34]OFD Sender: No OFD packet to send [22:36:39]OFD Sender: No OFD packet to send [22:36:44]OFD Sender: No OFD packet to send [22:36:49]OFD Sender: No OFD packet to send [22:36:54]OFD Sender: No OFD packet to send [22:36:59]OFD Sender: No OFD packet to send [22:37:04]OFD Sender: No OFD packet to send [22:37:09]OFD Sender: No OFD packet to send [22:37:14]OFD Sender: No OFD packet to send [22:37:19]OFD Sender: No OFD packet to send [22:37:24]OFD Sender: No OFD packet to send [22:37:29]OFD Sender: No OFD packet to send [22:37:34]OFD Sender: No OFD packet to send [22:37:39]OFD Sender: No OFD packet to send [22:37:44]OFD Sender: No OFD packet to send [22:37:49]OFD Sender: No OFD packet to send [22:37:54]OFD Sender: No OFD packet to send [22:37:59]OFD Sender: No OFD packet to send [22:38:00]accept exits with 8 [22:38:00]New connection [22:38:00]New thread 3067014500 created [22:38:00]Thread 3066871140 joined [22:38:00]Waiting for new connection... [22:38:00] Sock 8.Parse request [22:38:00]Sock 8.Check first char [22:38:00]Sock 8.First char is OK [22:38:00]request: POST /json_proto HTTP/1.0 [22:38:00]Method: POST [22:38:00]URL: /json_proto [22:38:00]Method is POST - this is cgi request [22:38:00]url: /json_proto [22:38:00]query_string will be loaded in cgi processing [22:38:00]execute_cgi json_proto POST (null) [22:38:00]execute_cgi path=json_proto method=POST [22:38:00]POST find Content-Length [22:38:00]Host: 172.17.35.3:8080 [22:38:00]Content-Length: 687 [22:38:00]Content-Type: application/json [22:38:00] [22:38:00]POST finish read [22:38:00]Found Content-Length = 687 [22:38:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359523", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 34.820, "sum" : 2500.08, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2500.00, "total" : 2500.00, "payments": [ { "type": 0, "sum" : 2500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:38:00]execute_script... [22:38: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)359523", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 34.820, "sum" : 2500.08, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2500.00, "total" : 2500.00, "payments": [ { "type": 0, "sum" : 2500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:38:00]POST & json_proto [22:38:00]process_json_proto [22:38:00]json parsed OK: [22:38:00]protocol is kg_v1.0 [22:38:00]action value=close_receipt [22:38:00]process_action close_receipt [22:38:00]cmd_close_receipt [22:38:00]MH_GetDate [22:38:00]Write to MH i2c: F0 00 00 12 30 31 [22:38:00]Write i2c OK [22:38:00]MH_I2C_Read... [22:38:00]Read from MH i2c: F0 [22:38:00]MH_I2C_Read... [22:38:00]Read from MH i2c: F0 09 00 [22:38:00]MH_I2C_Read... [22:38:00]Read from MH i2c: F0 09 00 12 30 00 54 20 13 66 2B 11 66 64 2D [22:38:00]GetLastDocTimeStamp 1712528577 [22:38:00]current date 1712529492 [22:38:00]FM_GetShiftState [22:38:00]SAM_PROTO_GetShiftState [22:38:00]wFMCommunicate request_size=4 [22:38:00]MH_SAM_APDU [22:38:00]CAPDU: 80 13 01 00 [22:38:00]Write to MH i2c: E2 08 00 13 30 80 13 01 00 00 00 00 00 C0 [22:38:00]Write i2c OK [22:38:00]MH_I2C_Read... [22:38:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:38:00]Read from MH i2c: E2 [22:38:00]MH_I2C_Read... [22:38:00]Read from MH i2c: E2 0E 00 [22:38:00]MH_I2C_Read... [22:38:00]Read from MH i2c: E2 0E 00 13 30 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 54 [22:38:00]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [22:38:00]wFMCommunicate OK [22:38:00]SAM_PROTO_GetShiftState done [22:38:00]FM_GetShiftState done [22:38:00]opened in 1712450087 [22:38:00]opened+sec_in_day 1712536487 [22:38:00]quantity*price = 250007 [22:38:00]sum+1 = 250009 [22:38:00]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.08 ИТОГО: 2500.00 Внесено: 2500.00 СДАЧА: 0.00 НСП 1% : 22.12 НДС 12% : 265.49 Наличными: 2500.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 79 07.04.2024 22:38 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26780 ФПД: 127976821865653 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T223812&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26780&fm=127976821865653&tin=02508201610067®Number=0000000000091578&sum=250000 [22:38:01]StoreToDocumentArchive [22:38:01]shift 313 fd 26780 [22:38:01]save to /storage/0313/doc_00026780 [22:38:01]save last doc name /storage/0313/doc_00026780 to /storage/kkm_last_doc_name [22:38:01]save OK [22:38:01]Clear old archive folders... [22:38:01]ProcessDocumentItem done err = 0, tmpTLVsize=252 [22:38:01]tlvbuf is B6DB7180 [22:38:01]SAM_PROTO_ClearQueue [22:38:01]wFMCommunicate request_size=4 [22:38:01]MH_SAM_APDU [22:38:01]CAPDU: 80 09 00 00 [22:38:01]Write to MH i2c: E2 08 00 20 30 80 09 00 00 00 00 00 00 C2 [22:38:01]Write i2c OK [22:38:01]MH_I2C_Read... [22:38:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:38:01]Read from MH i2c: E2 [22:38:01]MH_I2C_Read... [22:38:01]Read from MH i2c: E2 03 00 [22:38:01]MH_I2C_Read... [22:38:01]Read from MH i2c: E2 03 00 20 30 00 90 00 C4 [22:38:01]RAPDU: 90 00 [22:38:01]wFMCommunicate OK [22:38:01]SAM_PROTO_ClearQueue done [22:38:01]KKMCreateOFDPacket [22:38:01]OFDProtocolAddRootSTLVToBuf [22:38:01]FM_MakeSignedData [22:38:01]FM_MakeSignedData [22:38:01]SAM_PROTO_SignData [22:38:01]wFMCommunicate request_size=4 [22:38:01]MH_SAM_APDU [22:38:01]CAPDU: 80 0D 01 02 [22:38:01]Write to MH i2c: E2 08 00 21 30 80 0D 01 02 00 00 00 00 CA [22:38:01]Write i2c OK [22:38:01]MH_I2C_Read... [22:38:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:38:01]Read from MH i2c: E2 [22:38:01]MH_I2C_Read... [22:38:01]Read from MH i2c: E2 03 00 [22:38:01]MH_I2C_Read... [22:38:01]Read from MH i2c: E2 03 00 21 30 00 90 00 C5 [22:38:01]RAPDU: 90 00 [22:38:01]wFMCommunicate OK [22:38:01]wFMCommunicate request_size=255 [22:38:01]MH_SAM_APDU [22:38:01]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 04 88 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 98 D0 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 D0 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 67 00 00 00 00 07 04 06 00 90 D0 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 54 20 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 9C 68 00 00 35 04 06 00 [22:38:01]Write to MH i2c: E2 02 01 22 30 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 04 88 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 98 D0 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 D0 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 67 00 00 00 00 07 04 06 00 90 D0 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 54 20 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 9C 68 00 00 35 04 06 00 00 00 40 [22:38:01]Write i2c OK [22:38:01]MH_I2C_Read... [22:38:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:38:02]Read from MH i2c: E2 [22:38:02]MH_I2C_Read... [22:38:02]Read from MH i2c: E2 03 00 [22:38:02]MH_I2C_Read... [22:38:02]Read from MH i2c: E2 03 00 22 30 00 90 00 C6 [22:38:02]RAPDU: 90 00 [22:38:02]wFMCommunicate OK [22:38:02]wFMCommunicate request_size=11 [22:38:02]MH_SAM_APDU [22:38:02]CAPDU: 80 0D 02 02 06 74 64 ED 01 BC B5 [22:38:02]Write to MH i2c: E2 0E 00 23 30 80 0D 02 02 06 00 74 64 ED 01 BC B5 00 00 10 [22:38:02]Write i2c OK [22:38:02]MH_I2C_Read... [22:38:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:38:02]Read from MH i2c: E2 [22:38:02]MH_I2C_Read... [22:38:02]Read from MH i2c: E2 03 00 [22:38:02]MH_I2C_Read... [22:38:02]Read from MH i2c: E2 03 00 23 30 00 90 00 C7 [22:38:02]RAPDU: 90 00 [22:38:02]wFMCommunicate OK [22:38:02]wFMCommunicate request_size=4 [22:38:02]MH_SAM_APDU [22:38:02]CAPDU: 80 0D 03 02 [22:38:02]Write to MH i2c: E2 08 00 24 30 80 0D 03 02 00 00 00 00 CF [22:38:02]Write i2c OK [22:38:02]MH_I2C_Read... [22:38:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:38:02]Read from MH i2c: E2 [22:38:02]MH_I2C_Read... [22:38:02]Read from MH i2c: E2 0B 00 [22:38:02]MH_I2C_Read... [22:38:02]Read from MH i2c: E2 0B 00 24 30 00 A5 02 9F D3 BD FB 95 E1 90 00 17 [22:38:02]RAPDU: A5 02 9F D3 BD FB 95 E1 90 00 [22:38:02]wFMCommunicate OK [22:38:02]SAM_PROTO_SignData done [22:38:02]FM_MakeSignedData done [22:38:02]CreateOFDProtocolMessage [22:38:02]wFMCommunicate request_size=4 [22:38:02]MH_SAM_APDU [22:38:02]CAPDU: 80 11 00 00 [22:38:02]Write to MH i2c: E2 08 00 25 30 80 11 00 00 00 00 00 00 CF [22:38:02]Write i2c OK [22:38:02]MH_I2C_Read... [22:38:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:38:02]Read from MH i2c: E2 [22:38:02]MH_I2C_Read... [22:38:02]Read from MH i2c: E2 17 00 [22:38:02]MH_I2C_Read... [22:38:02]Read from MH i2c: E2 17 00 25 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 27 [22:38:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [22:38:02]wFMCommunicate OK [22:38:02]CreateOFDProtocolMessage done [22:38:02]OFDSenderStorePacket 26780 [22:38:02]StoreOFDPacket docnum=26780 [22:38:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 30 02 08 01 13 09 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 04 88 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 98 D0 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 D0 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 67 00 00 00 00 07 04 06 00 90 D0 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 54 20 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 9C 68 00 00 35 04 06 00 74 64 ED 01 BC B5 A5 02 9F D3 BD FB 95 E1 [22:38:02]CheckFolder [22:38:02]dirname=/storage/ofd_packets [22:38:02]CheckFolder done [22:38:02]ProducePacketName [22:38:02]name=ofd_packets/00026780 [22:38:02]NVStorageSaveData ofd_packets/00026780 [22:38:02]File name is /storage/ofd_packets/00026780 [22:38:02]Write 302 bytes [22:38:02]NVStorageSaveData done [22:38:02]OFDSenderStorePacket done [22:38:02]KKMCreateOFDPacket done [22:38:02]NVStorageSaveData kkm_last_timestamp [22:38:02]File name is /storage/kkm_last_timestamp [22:38:02]Write 4 bytes [22:38:02]NVStorageSaveData done [22:38:02]ExternCall_PrintAddStr [22:38:02]wPrintStart [22:38:02]Write to MH i2c: 01 00 00 26 30 56 [22:38:02]Write i2c OK [22:38:02]MH_I2C_Read... [22:38:02]Read from MH i2c: 01 [22:38:02]MH_I2C_Read... [22:38:02]Read from MH i2c: 01 07 00 [22:38:02]MH_I2C_Read... [22:38:02]Read from MH i2c: 01 07 00 26 30 00 00 00 00 00 FF 0F 6B [22:38:02]RasterBufferAndPrint [22:38:02]line Счет N : (1)359523 [22:38:02]line ИНН: 02508201610067 [22:38:02]line Контрольно-Кассовый Чек [22:38:02]line ПРОДАЖА [22:38:02]line ТРК (МРК, ГНК) : 21 [22:38:02]line Товар: 2710194210 [22:38:02]line ДТ(л)-К-5 [22:38:02]line 34.820 * 71.80 [22:38:02]line = 2500.08 [22:38:02]line НДС 12% НСП 1% [22:38:02]line > о реализуемом товаре [22:38:02]line ОКРУГЛЕНИЕ: -0.08 [22:38:02]line ИТОГО: 2500.00 [22:38:02]line Внесено: 2500.00 [22:38:02]line СДАЧА: 0.00 [22:38:02]line НСП 1% : 22.12 [22:38:02]line НДС 12% : 265.49 [22:38:02]line Наличными: 2500.00 [22:38:02]line Безнал.: 0.00 [22:38:02]line Место: АЗС № 122 "Партнер Нефть" [22:38:02]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [22:38:02]line СНО: Общий режим [22:38:02]line Чек 79 07.04.2024 22:38 [22:38:02]line Смена: 313 ФФД: 1.0 [22:38:02]line ЗНМ: 0300000147 [22:38:02]line РНМ: 0000000000091578 [22:38:02]line Версия ККМ: 001 [22:38:02]line ФМ: 0000000000874657 [22:38:02]line ФД: 26780 [22:38:02]line ФПД: 127976821865653 [22:38:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T223812&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26780&fm=127976821865653&tin=02508201610067®Number=0000000000091578&sum=250000 [22:38:02]OFD Sender: Processing packet 26780 [packets to send 44, broken 43] [22:38:02]ProducePacketName [22:38:02]name=ofd_packets/00026780 [22:38:02]OFD Sender: To server: pG, [22:38:02]CommunicateWithHost lk.salyk.kg:30040 [22:38:02]ConnectInit lk.salyk.kg [22:38:02]written 0, free lines is 4095 [22:38:02]Connected sock=10 [22:38: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 36 35 37 10 01 00 00 30 02 08 01 13 09 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 04 88 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 98 D0 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 D0 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 67 00 00 00 00 07 04 06 00 90 D0 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 54 20 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 9C 68 00 00 35 04 06 00 74 64 ED 01 BC B5 A5 02 9F D3 BD FB 95 E1 [22:38:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 16 7C 47 00 2B 8D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 9C 68 00 00 F4 03 04 00 C0 C7 12 66 B6 04 01 00 00 A4 F3 89 D9 C2 D7 96 DE [22:38:02]CommunicateWithHost err = 0 [22:38:02]CheckOFDResponse [22:38:02]1017 (14) - 77093643461234 [22:38:02]1041 (16) - 0000000000874657 [22:38:02]1040 (4) - 26780 [22:38:02]1012 (4) - 07.04.2024 16:20 [22:38:02]1206 (1) - 0 [22:38:02]OFD Sender: Remove packet 26780 [22:38:02]ProducePacketName [22:38:02]name=ofd_packets/00026780 [22:38:02]NVStorageDeleteData [22:38:03]Write to MH i2c: 01 00 00 51 30 81 [22:38:03]Write i2c OK [22:38:03]MH_I2C_Read... [22:38:03]Read from MH i2c: 01 [22:38:03]MH_I2C_Read... [22:38:03]Read from MH i2c: 01 07 00 [22:38:03]MH_I2C_Read... [22:38:03]Read from MH i2c: 01 07 00 51 30 00 00 00 00 00 76 0C 0A [22:38:03]RasterBufferAndPrint [22:38:03]line [22:38:03]line [22:38:03]line [22:38:03]line [22:38:03]line [22:38:03]written 0, free lines is 3193 [22:38:03]MH_Cut [22:38:03]Write to MH i2c: D1 01 00 58 30 01 5A [22:38:03]Write i2c OK [22:38:03]MH_I2C_Read... [22:38:03]Read from MH i2c: D1 [22:38:03]MH_I2C_Read... [22:38:03]Read from MH i2c: D1 01 00 [22:38:03]MH_I2C_Read... [22:38:03]Read from MH i2c: D1 01 00 58 30 00 59 [22:38:03]Write to MH i2c: 01 00 00 59 30 89 [22:38:03]Write i2c OK [22:38:03]MH_I2C_Read... [22:38:03]OFD Sender: No OFD packet to send [22:38:04]*** Cut start [22:38:04]*** Partial cut [22:38:04]*** CUTSNS_PIN = 1 [22:38:04]*** CUTSNS_PIN = 0 [22:38:04]*** Brake cut motor [22:38:04]Read from MH i2c: 01 [22:38:05]MH_I2C_Read... [22:38:05]*** Stop cut motor [22:38:05]*** Cut end [22:38:05]Read from MH i2c: 01 07 00 [22:38:05]MH_I2C_Read... [22:38:05]Read from MH i2c: 01 07 00 59 30 00 00 00 00 00 FF 0F 9E [22:38:05]process_action close_receipt done [22:38:05]requested_data is exist [22:38:05]produce_requested_data [22:38:05]requested_item fm.sn is exist - process it [22:38:05]wFMCommunicate request_size=4 [22:38:05]MH_SAM_APDU [22:38:05]CAPDU: 80 11 00 00 [22:38:05]Write to MH i2c: E2 08 00 5A 30 80 11 00 00 00 00 00 00 04 [22:38:05]Write i2c OK [22:38:05]MH_I2C_Read... [22:38:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:38:05]Read from MH i2c: E2 [22:38:05]MH_I2C_Read... [22:38:05]Read from MH i2c: E2 17 00 [22:38:05]MH_I2C_Read... [22:38:05]Read from MH i2c: E2 17 00 5A 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 5C [22:38:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [22:38:05]wFMCommunicate OK [22:38:05]requested_item fd.num is exist - process it [22:38:05]SAM_PROTO_GetFieldsCounters [22:38:05]wFMCommunicate request_size=4 [22:38:05]MH_SAM_APDU [22:38:05]CAPDU: 80 13 00 00 [22:38:05]Write to MH i2c: E2 08 00 5B 30 80 13 00 00 00 00 00 00 07 [22:38:05]Write i2c OK [22:38:05]MH_I2C_Read... [22:38:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:38:05]Read from MH i2c: E2 [22:38:05]MH_I2C_Read... [22:38:05]Read from MH i2c: E2 62 00 [22:38:05]MH_I2C_Read... [22:38:05]Read from MH i2c: E2 62 00 5B 30 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 9C 68 00 00 0E 04 04 00 39 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 5D [22:38: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 9C 68 00 00 0E 04 04 00 39 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 [22:38:05]wFMCommunicate OK [22:38:05]SAM_PROTO_GetFieldsCounters done [22:38:05]requested_item shift.num is exist - process it [22:38:05]requested_item shift.opened is exist - process it [22:38:05]req_shift_opened [22:38:05]FM_GetShiftState [22:38:05]SAM_PROTO_GetShiftState [22:38:05]wFMCommunicate request_size=4 [22:38:05]MH_SAM_APDU [22:38:05]CAPDU: 80 13 01 00 [22:38:05]Write to MH i2c: E2 08 00 5C 30 80 13 01 00 00 00 00 00 09 [22:38:05]Write i2c OK [22:38:05]MH_I2C_Read... [22:38:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:38:05]Read from MH i2c: E2 [22:38:05]MH_I2C_Read... [22:38:05]Read from MH i2c: E2 0E 00 [22:38:05]MH_I2C_Read... [22:38:05]Read from MH i2c: E2 0E 00 5C 30 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 9D [22:38:05]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [22:38:05]wFMCommunicate OK [22:38:05]SAM_PROTO_GetShiftState done [22:38:05]FM_GetShiftState done [22:38:05]req_shift_opened done [22:38:05]requested_item shift.open_date is exist - process it [22:38:05]req_shift_open_date [22:38:05]req_shift_open_date done [22:38:05]produce_requested_data done [22:38:05]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26780,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [22:38:05]process_action_free close_receipt [22:38:05]json_value_free [22:38:05]json_value_free done [22:38:05]process_json_proto returns [22:38:05]Send response to host [22:38:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26780,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [22:38:05]free response buf [22:38:05]execute_script done [22:38:05]execute_script returns [22:38:05]free content buf [22:38:05]Sock 8.Close socket [22:38:05]Sock 8.Thread stoped [22:38:08]OFD Sender: No OFD packet to send [22:38:13]OFD Sender: No OFD packet to send [22:38:18]OFD Sender: No OFD packet to send [22:38:23]OFD Sender: No OFD packet to send [22:38:28]OFD Sender: No OFD packet to send [22:38:33]OFD Sender: No OFD packet to send [22:38:38]OFD Sender: No OFD packet to send [22:38:43]OFD Sender: No OFD packet to send [22:38:48]OFD Sender: No OFD packet to send [22:38:53]OFD Sender: No OFD packet to send [22:38:58]OFD Sender: No OFD packet to send [22:39:03]OFD Sender: No OFD packet to send [22:39:08]OFD Sender: No OFD packet to send [22:39:13]OFD Sender: No OFD packet to send [22:39:18]OFD Sender: No OFD packet to send [22:39:23]OFD Sender: No OFD packet to send [22:39:28]OFD Sender: No OFD packet to send [22:39:33]OFD Sender: No OFD packet to send [22:39:38]OFD Sender: No OFD packet to send [22:39:43]OFD Sender: No OFD packet to send [22:39:48]OFD Sender: No OFD packet to send [22:39:53]OFD Sender: No OFD packet to send [22:39:58]OFD Sender: No OFD packet to send [22:40:03]OFD Sender: No OFD packet to send [22:40:08]OFD Sender: No OFD packet to send [22:40:13]OFD Sender: No OFD packet to send [22:40:18]OFD Sender: No OFD packet to send [22:40:23]OFD Sender: No OFD packet to send [22:40:28]OFD Sender: No OFD packet to send [22:40:33]OFD Sender: No OFD packet to send [22:40:38]OFD Sender: No OFD packet to send [22:40:43]OFD Sender: No OFD packet to send [22:40:48]OFD Sender: No OFD packet to send [22:40:53]OFD Sender: No OFD packet to send [22:40:58]OFD Sender: No OFD packet to send [22:41:03]OFD Sender: No OFD packet to send [22:41:08]OFD Sender: No OFD packet to send [22:41:13]OFD Sender: No OFD packet to send [22:41:18]OFD Sender: No OFD packet to send [22:41:23]OFD Sender: No OFD packet to send [22:41:28]OFD Sender: No OFD packet to send [22:41:33]OFD Sender: No OFD packet to send [22:41:38]OFD Sender: No OFD packet to send [22:41:43]OFD Sender: No OFD packet to send [22:41:48]OFD Sender: No OFD packet to send [22:41:53]OFD Sender: No OFD packet to send [22:41:58]OFD Sender: No OFD packet to send [22:42:03]OFD Sender: No OFD packet to send [22:42:08]OFD Sender: No OFD packet to send [22:42:13]OFD Sender: No OFD packet to send [22:42:18]OFD Sender: No OFD packet to send [22:42:23]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:34]OFD Sender: No OFD packet to send [22:47:39]OFD Sender: No OFD packet to send [22:47:44]OFD Sender: No OFD packet to send [22:47:49]OFD Sender: No OFD packet to send [22:47:54]OFD Sender: No OFD packet to send [22:47:59]OFD Sender: No OFD packet to send [22:48:04]OFD Sender: No OFD packet to send [22:48:09]OFD Sender: No OFD packet to send [22:48:14]OFD Sender: No OFD packet to send [22:48:19]OFD Sender: No OFD packet to send [22:48:24]OFD Sender: No OFD packet to send [22:48:29]OFD Sender: No OFD packet to send [22:48:34]OFD Sender: No OFD packet to send [22:48:39]OFD Sender: No OFD packet to send [22:48:44]OFD Sender: No OFD packet to send [22:48:49]OFD Sender: No OFD packet to send [22:48:54]OFD Sender: No OFD packet to send [22:48:59]OFD Sender: No OFD packet to send [22:49:04]OFD Sender: No OFD packet to send [22:49:09]OFD Sender: No OFD packet to send [22:49:14]OFD Sender: No OFD packet to send [22:49:19]OFD Sender: No OFD packet to send [22:49:24]OFD Sender: No OFD packet to send [22:49:29]OFD Sender: No OFD packet to send [22:49:34]OFD Sender: No OFD packet to send [22:49:39]OFD Sender: No OFD packet to send [22:49:44]OFD Sender: No OFD packet to send [22:49:49]OFD Sender: No OFD packet to send [22:49:54]OFD Sender: No OFD packet to send [22:49:59]OFD Sender: No OFD packet to send [22:50:04]OFD Sender: No OFD packet to send [22:50:09]OFD Sender: No OFD packet to send [22:50:14]OFD Sender: No OFD packet to send [22:50:19]OFD Sender: No OFD packet to send [22:50:24]OFD Sender: No OFD packet to send [22:50:29]OFD Sender: No OFD packet to send [22:50:34]OFD Sender: No OFD packet to send [22:50:39]OFD Sender: No OFD packet to send [22:50:44]OFD Sender: No OFD packet to send [22:50:49]OFD Sender: No OFD packet to send [22:50:54]OFD Sender: No OFD packet to send [22:50:59]OFD Sender: No OFD packet to send [22:51:04]OFD Sender: No OFD packet to send [22:51:09]OFD Sender: No OFD packet to send [22:51:14]OFD Sender: No OFD packet to send [22:51:19]OFD Sender: No OFD packet to send [22:51:24]OFD Sender: No OFD packet to send [22:51:29]OFD Sender: No OFD packet to send [22:51:34]OFD Sender: No OFD packet to send [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:51]accept exits with 9 [22:51:51]New connection [22:51:51]New thread 3066871140 created [22:51:51]Thread 3067014500 joined [22:51:51]Waiting for new connection... [22:51:51] Sock 9.Parse request [22:51:51]Sock 9.Check first char [22:51:51]Sock 9.First char is OK [22:51:51]request: POST /json_proto HTTP/1.0 [22:51:51]Method: POST [22:51:51]URL: /json_proto [22:51:51]Method is POST - this is cgi request [22:51:51]url: /json_proto [22:51:51]query_string will be loaded in cgi processing [22:51:51]execute_cgi json_proto POST (null) [22:51:51]execute_cgi path=json_proto method=POST [22:51:51]POST find Content-Length [22:51:51]Host: 172.17.35.3:8080 [22:51:51]Content-Length: 677 [22:51:51]Content-Type: application/json [22:51:51] [22:51:51]POST finish read [22:51:51]Found Content-Length = 677 [22:51:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359524", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 4.740, "sum" : 300.52, "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" ] } } [22:51:51]execute_script... [22:51:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359524", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 4.740, "sum" : 300.52, "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" ] } } [22:51:51]POST & json_proto [22:51:51]process_json_proto [22:51:51]json parsed OK: [22:51:51]protocol is kg_v1.0 [22:51:51]action value=close_receipt [22:51:51]process_action close_receipt [22:51:51]cmd_close_receipt [22:51:51]MH_GetDate [22:51:51]Write to MH i2c: F0 00 00 5D 30 7C [22:51:51]Write i2c OK [22:51:51]MH_I2C_Read... [22:51:51]Read from MH i2c: F0 [22:51:51]MH_I2C_Read... [22:51:51]Read from MH i2c: F0 09 00 [22:51:51]MH_I2C_Read... [22:51:51]Read from MH i2c: F0 09 00 5D 30 00 93 23 13 66 2B 11 66 64 BA [22:51:51]GetLastDocTimeStamp 1712529492 [22:51:51]current date 1712530323 [22:51:51]FM_GetShiftState [22:51:51]SAM_PROTO_GetShiftState [22:51:51]wFMCommunicate request_size=4 [22:51:51]MH_SAM_APDU [22:51:51]CAPDU: 80 13 01 00 [22:51:51]Write to MH i2c: E2 08 00 5E 30 80 13 01 00 00 00 00 00 0B [22:51:51]Write i2c OK [22:51:51]MH_I2C_Read... [22:51:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:51:51]Read from MH i2c: E2 [22:51:51]MH_I2C_Read... [22:51:51]Read from MH i2c: E2 0E 00 [22:51:51]MH_I2C_Read... [22:51:51]Read from MH i2c: E2 0E 00 5E 30 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 9F [22:51:51]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [22:51:51]wFMCommunicate OK [22:51:51]SAM_PROTO_GetShiftState done [22:51:51]FM_GetShiftState done [22:51:51]opened in 1712450087 [22:51:51]opened+sec_in_day 1712536487 [22:51:51]quantity*price = 30051 [22:51:51]sum+1 = 30053 [22:51:51]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.52 ИТОГО: 300.00 Внесено: 300.00 СДАЧА: 0.00 НСП 1% : 2.66 НДС 12% : 31.91 Наличными: 300.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 80 07.04.2024 22:52 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26781 ФПД: 124118243831159 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T225203&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26781&fm=124118243831159&tin=02508201610067®Number=0000000000091578&sum=30000 [22:51:53]StoreToDocumentArchive [22:51:53]shift 313 fd 26781 [22:51:53]save to /storage/0313/doc_00026781 [22:51:53]save last doc name /storage/0313/doc_00026781 to /storage/kkm_last_doc_name [22:51:53]save OK [22:51:53]Clear old archive folders... [22:51:53]ProcessDocumentItem done err = 0, tmpTLVsize=251 [22:51:53]tlvbuf is B6EE9610 [22:51:53]SAM_PROTO_ClearQueue [22:51:53]wFMCommunicate request_size=4 [22:51:53]MH_SAM_APDU [22:51:53]CAPDU: 80 09 00 00 [22:51:53]Write to MH i2c: E2 08 00 6B 30 80 09 00 00 00 00 00 00 0D [22:51:53]Write i2c OK [22:51:53]MH_I2C_Read... [22:51:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:51:53]Read from MH i2c: E2 [22:51:53]MH_I2C_Read... [22:51:53]Read from MH i2c: E2 03 00 [22:51:53]MH_I2C_Read... [22:51:53]Read from MH i2c: E2 03 00 6B 30 00 90 00 0F [22:51:53]RAPDU: 90 00 [22:51:53]wFMCommunicate OK [22:51:53]SAM_PROTO_ClearQueue done [22:51:53]KKMCreateOFDPacket [22:51:53]OFDProtocolAddRootSTLVToBuf [22:51:53]FM_MakeSignedData [22:51:53]FM_MakeSignedData [22:51:53]SAM_PROTO_SignData [22:51:53]wFMCommunicate request_size=4 [22:51:53]MH_SAM_APDU [22:51:53]CAPDU: 80 0D 01 02 [22:51:53]Write to MH i2c: E2 08 00 6C 30 80 0D 01 02 00 00 00 00 15 [22:51:53]Write i2c OK [22:51:53]MH_I2C_Read... [22:51:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:51:53]Read from MH i2c: E2 [22:51:53]MH_I2C_Read... [22:51:53]Read from MH i2c: E2 03 00 [22:51:53]MH_I2C_Read... [22:51:53]Read from MH i2c: E2 03 00 6C 30 00 90 00 10 [22:51:53]RAPDU: 90 00 [22:51:53]wFMCommunicate OK [22:51:53]wFMCommunicate request_size=255 [22:51:53]MH_SAM_APDU [22:51:53]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 84 12 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 64 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 77 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 50 00 00 00 F4 03 04 00 93 23 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 9D 68 00 00 35 04 06 00 70 [22:51:53]Write to MH i2c: E2 02 01 6D 30 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 84 12 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 64 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 77 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 50 00 00 00 F4 03 04 00 93 23 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 9D 68 00 00 35 04 06 00 70 00 00 7A [22:51:53]Write i2c OK [22:51:53]MH_I2C_Read... [22:51:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:51:53]Read from MH i2c: E2 [22:51:53]MH_I2C_Read... [22:51:53]Read from MH i2c: E2 03 00 [22:51:53]MH_I2C_Read... [22:51:53]Read from MH i2c: E2 03 00 6D 30 00 90 00 11 [22:51:53]RAPDU: 90 00 [22:51:53]wFMCommunicate OK [22:51:53]wFMCommunicate request_size=10 [22:51:53]MH_SAM_APDU [22:51:53]CAPDU: 80 0D 02 02 05 E2 87 D5 6D 77 [22:51:53]Write to MH i2c: E2 0D 00 6E 30 80 0D 02 02 05 00 E2 87 D5 6D 77 00 00 44 [22:51:53]Write i2c OK [22:51:53]MH_I2C_Read... [22:51:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:51:53]Read from MH i2c: E2 [22:51:53]MH_I2C_Read... [22:51:53]Read from MH i2c: E2 03 00 [22:51:53]MH_I2C_Read... [22:51:53]Read from MH i2c: E2 03 00 6E 30 00 90 00 12 [22:51:53]RAPDU: 90 00 [22:51:53]wFMCommunicate OK [22:51:53]wFMCommunicate request_size=4 [22:51:53]MH_SAM_APDU [22:51:53]CAPDU: 80 0D 03 02 [22:51:53]Write to MH i2c: E2 08 00 6F 30 80 0D 03 02 00 00 00 00 1A [22:51:53]Write i2c OK [22:51:53]MH_I2C_Read... [22:51:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:51:53]Read from MH i2c: E2 [22:51:53]MH_I2C_Read... [22:51:53]Read from MH i2c: E2 0B 00 [22:51:53]MH_I2C_Read... [22:51:53]Read from MH i2c: E2 0B 00 6F 30 00 F5 4E 00 21 F8 06 13 FD 90 00 8D [22:51:53]RAPDU: F5 4E 00 21 F8 06 13 FD 90 00 [22:51:53]wFMCommunicate OK [22:51:53]SAM_PROTO_SignData done [22:51:53]FM_MakeSignedData done [22:51:53]CreateOFDProtocolMessage [22:51:53]wFMCommunicate request_size=4 [22:51:53]MH_SAM_APDU [22:51:53]CAPDU: 80 11 00 00 [22:51:53]Write to MH i2c: E2 08 00 70 30 80 11 00 00 00 00 00 00 1A [22:51:53]Write i2c OK [22:51:53]MH_I2C_Read... [22:51:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:51:53]Read from MH i2c: E2 [22:51:53]MH_I2C_Read... [22:51:53]Read from MH i2c: E2 17 00 [22:51:53]MH_I2C_Read... [22:51:53]Read from MH i2c: E2 17 00 70 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 72 [22:51:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [22:51:53]wFMCommunicate OK [22:51:53]CreateOFDProtocolMessage done [22:51:53]OFDSenderStorePacket 26781 [22:51:53]StoreOFDPacket docnum=26781 [22:51:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 D8 E1 07 01 30 7D 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 84 12 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 64 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 77 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 50 00 00 00 F4 03 04 00 93 23 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 9D 68 00 00 35 04 06 00 70 E2 87 D5 6D 77 F5 4E 00 21 F8 06 13 FD [22:51:53]CheckFolder [22:51:53]dirname=/storage/ofd_packets [22:51:53]CheckFolder done [22:51:53]ProducePacketName [22:51:53]name=ofd_packets/00026781 [22:51:53]NVStorageSaveData ofd_packets/00026781 [22:51:53]File name is /storage/ofd_packets/00026781 [22:51:53]Write 301 bytes [22:51:53]NVStorageSaveData done [22:51:53]OFDSenderStorePacket done [22:51:53]KKMCreateOFDPacket done [22:51:53]NVStorageSaveData kkm_last_timestamp [22:51:53]File name is /storage/kkm_last_timestamp [22:51:53]Write 4 bytes [22:51:53]NVStorageSaveData done [22:51:53]ExternCall_PrintAddStr [22:51:53]wPrintStart [22:51:53]Write to MH i2c: 01 00 00 71 30 A1 [22:51:53]Write i2c OK [22:51:53]MH_I2C_Read... [22:51:53]Read from MH i2c: 01 [22:51:53]MH_I2C_Read... [22:51:53]Read from MH i2c: 01 07 00 [22:51:53]MH_I2C_Read... [22:51:53]Read from MH i2c: 01 07 00 71 30 00 00 00 00 00 FF 0F B6 [22:51:53]RasterBufferAndPrint [22:51:53]line Счет N : (1)359524 [22:51:53]line ИНН: 02508201610067 [22:51:53]line Контрольно-Кассовый Чек [22:51:53]line ПРОДАЖА [22:51:53]line ТРК (МРК, ГНК) : 51 [22:51:53]line Товар: 2710124130 [22:51:53]line Аи-92-К-5 [22:51:53]line 4.740 * 63.40 [22:51:53]line = 300.52 [22:51:53]line НДС 12% НСП 1% [22:51:53]line > о реализуемом товаре [22:51:53]line ОКРУГЛЕНИЕ: -0.52 [22:51:53]line ИТОГО: 300.00 [22:51:53]line Внесено: 300.00 [22:51:53]line СДАЧА: 0.00 [22:51:53]line НСП 1% : 2.66 [22:51:53]line НДС 12% : 31.91 [22:51:53]line Наличными: 300.00 [22:51:53]line Безнал.: 0.00 [22:51:53]line Место: АЗС № 122 "Партнер Нефть" [22:51:53]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [22:51:53]line СНО: Общий режим [22:51:53]line Чек 80 07.04.2024 22:52 [22:51:53]line Смена: 313 ФФД: 1.0 [22:51:53]line ЗНМ: 0300000147 [22:51:53]line РНМ: 0000000000091578 [22:51:53]line Версия ККМ: 001 [22:51:53]line ФМ: 0000000000874657 [22:51:53]line ФД: 26781 [22:51:53]line ФПД: 124118243831159 [22:51:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T225203&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26781&fm=124118243831159&tin=02508201610067®Number=0000000000091578&sum=30000 [22:51:53]OFD Sender: Processing packet 26781 [packets to send 44, broken 43] [22:51:53]ProducePacketName [22:51:53]name=ofd_packets/00026781 [22:51:53]OFD Sender: To server: pG, [22:51:53]CommunicateWithHost lk.salyk.kg:30040 [22:51:53]ConnectInit lk.salyk.kg [22:51:53]written 0, free lines is 4095 [22:51:54]Connected sock=10 [22:51:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 D8 E1 07 01 30 7D 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 84 12 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 64 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 77 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 50 00 00 00 F4 03 04 00 93 23 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 9D 68 00 00 35 04 06 00 70 E2 87 D5 6D 77 F5 4E 00 21 F8 06 13 FD [22:51:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 DD 3A 47 00 B1 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 36 35 37 10 04 04 00 9D 68 00 00 F4 03 04 00 FF CA 12 66 B6 04 01 00 00 DB 57 58 85 F0 D2 29 7C [22:51:54]CommunicateWithHost err = 0 [22:51:54]CheckOFDResponse [22:51:54]1017 (14) - 77093643461234 [22:51:54]1041 (16) - 0000000000874657 [22:51:54]1040 (4) - 26781 [22:51:54]1012 (4) - 07.04.2024 16:34 [22:51:54]1206 (1) - 0 [22:51:54]OFD Sender: Remove packet 26781 [22:51:54]ProducePacketName [22:51:54]name=ofd_packets/00026781 [22:51:54]NVStorageDeleteData [22:51:54]Write to MH i2c: 01 00 00 9C 30 CC [22:51:54]Write i2c OK [22:51:54]MH_I2C_Read... [22:51:54]Read from MH i2c: 01 [22:51:54]MH_I2C_Read... [22:51:54]Read from MH i2c: 01 07 00 [22:51:54]MH_I2C_Read... [22:51:54]Read from MH i2c: 01 07 00 9C 30 00 00 00 00 00 71 0C 50 [22:51:54]RasterBufferAndPrint [22:51:54]line [22:51:54]line [22:51:54]line [22:51:54]line [22:51:54]line [22:51:54]written 0, free lines is 3187 [22:51:54]MH_Cut [22:51:54]Write to MH i2c: D1 01 00 A3 30 01 A5 [22:51:54]Write i2c OK [22:51:54]MH_I2C_Read... [22:51:54]Read from MH i2c: D1 [22:51:54]MH_I2C_Read... [22:51:54]Read from MH i2c: D1 01 00 [22:51:54]MH_I2C_Read... [22:51:54]Read from MH i2c: D1 01 00 A3 30 00 A4 [22:51:54]Write to MH i2c: 01 00 00 A4 30 D4 [22:51:54]Write i2c OK [22:51:54]MH_I2C_Read... [22:51:54]OFD Sender: No OFD packet to send [22:51:55]*** Cut start [22:51:55]*** Partial cut [22:51:55]*** CUTSNS_PIN = 1 [22:51:55]*** CUTSNS_PIN = 0 [22:51:55]*** Brake cut motor [22:51:56]Read from MH i2c: 01 [22:51:56]MH_I2C_Read... [22:51:56]*** Stop cut motor [22:51:56]*** Cut end [22:51:56]Read from MH i2c: 01 07 00 [22:51:56]MH_I2C_Read... [22:51:56]Read from MH i2c: 01 07 00 A4 30 00 00 00 00 00 FF 0F E9 [22:51:56]process_action close_receipt done [22:51:56]requested_data is exist [22:51:56]produce_requested_data [22:51:56]requested_item fm.sn is exist - process it [22:51:56]wFMCommunicate request_size=4 [22:51:56]MH_SAM_APDU [22:51:56]CAPDU: 80 11 00 00 [22:51:56]Write to MH i2c: E2 08 00 A5 30 80 11 00 00 00 00 00 00 4F [22:51:56]Write i2c OK [22:51:56]MH_I2C_Read... [22:51:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:51:56]Read from MH i2c: E2 [22:51:56]MH_I2C_Read... [22:51:56]Read from MH i2c: E2 17 00 [22:51:56]MH_I2C_Read... [22:51:56]Read from MH i2c: E2 17 00 A5 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 A7 [22:51:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [22:51:56]wFMCommunicate OK [22:51:56]requested_item fd.num is exist - process it [22:51:56]SAM_PROTO_GetFieldsCounters [22:51:56]wFMCommunicate request_size=4 [22:51:56]MH_SAM_APDU [22:51:56]CAPDU: 80 13 00 00 [22:51:56]Write to MH i2c: E2 08 00 A6 30 80 13 00 00 00 00 00 00 52 [22:51:56]Write i2c OK [22:51:56]MH_I2C_Read... [22:51:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:51:56]Read from MH i2c: E2 [22:51:56]MH_I2C_Read... [22:51:56]Read from MH i2c: E2 62 00 [22:51:56]MH_I2C_Read... [22:51:56]Read from MH i2c: E2 62 00 A6 30 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 9D 68 00 00 0E 04 04 00 39 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 AC [22:51:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 9D 68 00 00 0E 04 04 00 39 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 [22:51:56]wFMCommunicate OK [22:51:56]SAM_PROTO_GetFieldsCounters done [22:51:56]requested_item shift.num is exist - process it [22:51:56]requested_item shift.opened is exist - process it [22:51:56]req_shift_opened [22:51:56]FM_GetShiftState [22:51:56]SAM_PROTO_GetShiftState [22:51:56]wFMCommunicate request_size=4 [22:51:56]MH_SAM_APDU [22:51:56]CAPDU: 80 13 01 00 [22:51:56]Write to MH i2c: E2 08 00 A7 30 80 13 01 00 00 00 00 00 54 [22:51:56]Write i2c OK [22:51:56]MH_I2C_Read... [22:51:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:51:56]Read from MH i2c: E2 [22:51:56]MH_I2C_Read... [22:51:56]Read from MH i2c: E2 0E 00 [22:51:56]MH_I2C_Read... [22:51:56]Read from MH i2c: E2 0E 00 A7 30 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 E8 [22:51:56]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [22:51:56]wFMCommunicate OK [22:51:56]SAM_PROTO_GetShiftState done [22:51:56]FM_GetShiftState done [22:51:56]req_shift_opened done [22:51:56]requested_item shift.open_date is exist - process it [22:51:56]req_shift_open_date [22:51:56]req_shift_open_date done [22:51:56]produce_requested_data done [22:51:56]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26781,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [22:51:56]process_action_free close_receipt [22:51:56]json_value_free [22:51:56]json_value_free done [22:51:56]process_json_proto returns [22:51:56]Send response to host [22:51:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26781,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [22:51:56]free response buf [22:51:56]execute_script done [22:51:56]execute_script returns [22:51:56]free content buf [22:51:56]Sock 9.Close socket [22:51:56]Sock 9.Thread stoped [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:19]OFD Sender: No OFD packet to send [22:52:24]OFD Sender: No OFD packet to send [22:52:29]OFD Sender: No OFD packet to send [22:52:34]OFD Sender: No OFD packet to send [22:52:39]OFD Sender: No OFD packet to send [22:52:44]OFD Sender: No OFD packet to send [22:52:49]OFD Sender: No OFD packet to send [22:52:54]OFD Sender: No OFD packet to send [22:52:59]OFD Sender: No OFD packet to send [22:53:04]OFD Sender: No OFD packet to send [22:53:09]OFD Sender: No OFD packet to send [22:53:14]OFD Sender: No OFD packet to send [22:53:19]OFD Sender: No OFD packet to send [22:53:24]OFD Sender: No OFD packet to send [22:53:29]OFD Sender: No OFD packet to send [22:53:34]OFD Sender: No OFD packet to send [22:53:39]OFD Sender: No OFD packet to send [22:53:44]OFD Sender: No OFD packet to send [22:53:49]OFD Sender: No OFD packet to send [22:53:54]OFD Sender: No OFD packet to send [22:53:59]OFD Sender: No OFD packet to send [22:54:04]OFD Sender: No OFD packet to send [22:54:09]OFD Sender: No OFD packet to send [22:54:14]OFD Sender: No OFD packet to send [22:54:19]OFD Sender: No OFD packet to send [22:54:24]OFD Sender: No OFD packet to send [22:54:29]OFD Sender: No OFD packet to send [22:54:34]OFD Sender: No OFD packet to send [22:54:39]OFD Sender: No OFD packet to send [22:54:44]OFD Sender: No OFD packet to send [22:54:49]OFD Sender: No OFD packet to send [22:54:54]OFD Sender: No OFD packet to send [22:54:59]OFD Sender: No OFD packet to send [22:55:04]OFD Sender: No OFD packet to send [22:55:09]OFD Sender: No OFD packet to send [22:55:14]OFD Sender: No OFD packet to send [22:55:19]OFD Sender: No OFD packet to send [22:55:24]OFD Sender: No OFD packet to send [22:55:29]OFD Sender: No OFD packet to send [22:55:34]OFD Sender: No OFD packet to send [22:55:39]OFD Sender: No OFD packet to send [22:55:44]OFD Sender: No OFD packet to send [22:55:49]OFD Sender: No OFD packet to send [22:55:54]OFD Sender: No OFD packet to send [22:55:59]OFD Sender: No OFD packet to send [22:56:04]OFD Sender: No OFD packet to send [22:56:09]OFD Sender: No OFD packet to send [22:56:14]OFD Sender: No OFD packet to send [22:56:19]OFD Sender: No OFD packet to send [22:56:24]OFD Sender: No OFD packet to send [22:56:29]OFD Sender: No OFD packet to send [22:56:35]OFD Sender: No OFD packet to send [22:56:40]OFD Sender: No OFD packet to send [22:56:45]OFD Sender: No OFD packet to send [22:56:50]OFD Sender: No OFD packet to send [22:56:55]OFD Sender: No OFD packet to send [22:57:00]OFD Sender: No OFD packet to send [22:57:05]OFD Sender: No OFD packet to send [22:57:10]OFD Sender: No OFD packet to send [22:57:15]OFD Sender: No OFD packet to send [22:57:20]OFD Sender: No OFD packet to send [22:57:25]OFD Sender: No OFD packet to send [22:57:30]OFD Sender: No OFD packet to send [22:57:35]OFD Sender: No OFD packet to send [22:57:40]OFD Sender: No OFD packet to send [22:57:45]OFD Sender: No OFD packet to send [22:57:50]OFD Sender: No OFD packet to send [22:57:55]OFD Sender: No OFD packet to send [22:58:00]OFD Sender: No OFD packet to send [22:58:05]OFD Sender: No OFD packet to send [22:58:10]OFD Sender: No OFD packet to send [22:58:15]OFD Sender: No OFD packet to send [22:58:20]OFD Sender: No OFD packet to send [22:58:25]OFD Sender: No OFD packet to send [22:58:30]OFD Sender: No OFD packet to send [22:58:35]OFD Sender: No OFD packet to send [22:58:40]OFD Sender: No OFD packet to send [22:58:45]OFD Sender: No OFD packet to send [22:58:50]OFD Sender: No OFD packet to send [22:58:55]OFD Sender: No OFD packet to send [22:59:00]OFD Sender: No OFD packet to send [22:59:05]OFD Sender: No OFD packet to send [22:59:10]OFD Sender: No OFD packet to send [22:59:15]OFD Sender: No OFD packet to send [22:59:20]OFD Sender: No OFD packet to send [22:59:25]OFD Sender: No OFD packet to send [22:59:30]OFD Sender: No OFD packet to send [22:59:35]OFD Sender: No OFD packet to send [22:59:40]OFD Sender: No OFD packet to send [22:59:45]OFD Sender: No OFD packet to send [22:59:50]OFD Sender: No OFD packet to send [22:59:55]OFD Sender: No OFD packet to send [23:00:00]OFD Sender: No OFD packet to send [23:00:05]OFD Sender: No OFD packet to send [23:00:10]OFD Sender: No OFD packet to send [23:00:15]OFD Sender: No OFD packet to send [23:00:20]OFD Sender: No OFD packet to send [23:00:25]OFD Sender: No OFD packet to send [23:00:30]OFD Sender: No OFD packet to send [23:00:35]OFD Sender: No OFD packet to send [23:00:40]OFD Sender: No OFD packet to send [23:00:45]OFD Sender: No OFD packet to send [23:00:50]OFD Sender: No OFD packet to send [23:00:55]OFD Sender: No OFD packet to send [23:01:00]OFD Sender: No OFD packet to send [23:01:05]OFD Sender: No OFD packet to send [23:01:10]OFD Sender: No OFD packet to send [23:01:15]OFD Sender: No OFD packet to send [23:01:20]OFD Sender: No OFD packet to send [23:01:25]OFD Sender: No OFD packet to send [23:01:30]OFD Sender: No OFD packet to send [23:01:35]OFD Sender: No OFD packet to send [23:01:40]OFD Sender: No OFD packet to send [23:01:45]OFD Sender: No OFD packet to send [23:01:50]OFD Sender: No OFD packet to send [23:01:55]OFD Sender: No OFD packet to send [23:02:00]OFD Sender: No OFD packet to send [23:02:05]OFD Sender: No OFD packet to send [23:02:10]OFD Sender: No OFD packet to send [23:02:15]OFD Sender: No OFD packet to send [23:02:20]OFD Sender: No OFD packet to send [23:02:25]OFD Sender: No OFD packet to send [23:02:30]OFD Sender: No OFD packet to send [23:02:35]OFD Sender: No OFD packet to send [23:02:40]OFD Sender: No OFD packet to send [23:02:45]OFD Sender: No OFD packet to send [23:02:50]OFD Sender: No OFD packet to send [23:02:55]OFD Sender: No OFD packet to send [23:03:00]OFD Sender: No OFD packet to send [23:03:05]OFD Sender: No OFD packet to send [23:03:10]OFD Sender: No OFD packet to send [23:03:15]OFD Sender: No OFD packet to send [23:03:20]OFD Sender: No OFD packet to send [23:03:25]OFD Sender: No OFD packet to send [23:03:30]OFD Sender: No OFD packet to send [23:03:35]OFD Sender: No OFD packet to send [23:03:40]OFD Sender: No OFD packet to send [23:03:45]OFD Sender: No OFD packet to send [23:03:50]OFD Sender: No OFD packet to send [23:03:55]OFD Sender: No OFD packet to send [23:04:00]OFD Sender: No OFD packet to send [23:04:05]OFD Sender: No OFD packet to send [23:04:10]OFD Sender: No OFD packet to send [23:04:15]OFD Sender: No OFD packet to send [23:04:20]OFD Sender: No OFD packet to send [23:04:25]OFD Sender: No OFD packet to send [23:04:30]OFD Sender: No OFD packet to send [23:04:35]OFD Sender: No OFD packet to send [23:04:40]OFD Sender: No OFD packet to send [23:04:45]OFD Sender: No OFD packet to send [23:04:50]OFD Sender: No OFD packet to send [23:04:55]OFD Sender: No OFD packet to send [23:05:00]OFD Sender: No OFD packet to send [23:05:05]OFD Sender: No OFD packet to send [23:05:10]OFD Sender: No OFD packet to send [23:05:15]OFD Sender: No OFD packet to send [23:05:20]OFD Sender: No OFD packet to send [23:05:25]OFD Sender: No OFD packet to send [23:05:30]OFD Sender: No OFD packet to send [23:05:35]OFD Sender: No OFD packet to send [23:05:40]OFD Sender: No OFD packet to send [23:05:45]OFD Sender: No OFD packet to send [23:05:50]OFD Sender: No OFD packet to send [23:05:55]OFD Sender: No OFD packet to send [23:06:00]OFD Sender: No OFD packet to send [23:06:05]OFD Sender: No OFD packet to send [23:06:10]OFD Sender: No OFD packet to send [23:06:15]OFD Sender: No OFD packet to send [23:06:20]OFD Sender: No OFD packet to send [23:06:25]OFD Sender: No OFD packet to send [23:06:30]OFD Sender: No OFD packet to send [23:06:35]OFD Sender: No OFD packet to send [23:06:40]OFD Sender: No OFD packet to send [23:06:45]OFD Sender: No OFD packet to send [23:06:50]OFD Sender: No OFD packet to send [23:06:55]OFD Sender: No OFD packet to send [23:07:00]OFD Sender: No OFD packet to send [23:07:05]OFD Sender: No OFD packet to send [23:07:10]OFD Sender: No OFD packet to send [23:07:15]OFD Sender: No OFD packet to send [23:07:20]OFD Sender: No OFD packet to send [23:07:25]OFD Sender: No OFD packet to send [23:07:30]OFD Sender: No OFD packet to send [23:07:35]OFD Sender: No OFD packet to send [23:07:40]OFD Sender: No OFD packet to send [23:07:45]OFD Sender: No OFD packet to send [23:07:50]OFD Sender: No OFD packet to send [23:07:55]OFD Sender: No OFD packet to send [23:08:00]OFD Sender: No OFD packet to send [23:08:05]OFD Sender: No OFD packet to send [23:08:10]OFD Sender: No OFD packet to send [23:08:15]OFD Sender: No OFD packet to send [23:08:20]OFD Sender: No OFD packet to send [23:08:25]OFD Sender: No OFD packet to send [23:08:30]OFD Sender: No OFD packet to send [23:08:35]OFD Sender: No OFD packet to send [23:08:40]OFD Sender: No OFD packet to send [23:08:45]OFD Sender: No OFD packet to send [23:08:50]OFD Sender: No OFD packet to send [23:08:55]OFD Sender: No OFD packet to send [23:09:00]OFD Sender: No OFD packet to send [23:09:05]OFD Sender: No OFD packet to send [23:09:10]OFD Sender: No OFD packet to send [23:09:15]OFD Sender: No OFD packet to send [23:09:20]OFD Sender: No OFD packet to send [23:09:25]OFD Sender: No OFD packet to send [23:09:30]OFD Sender: No OFD packet to send [23:09:35]OFD Sender: No OFD packet to send [23:09:40]OFD Sender: No OFD packet to send [23:09:40]accept exits with 8 [23:09:40]New connection [23:09:40]New thread 3067014500 created [23:09:40]Thread 3066871140 joined [23:09:40]Waiting for new connection... [23:09:40] Sock 8.Parse request [23:09:40]Sock 8.Check first char [23:09:40]Sock 8.First char is OK [23:09:40]request: POST /json_proto HTTP/1.0 [23:09:40]Method: POST [23:09:40]URL: /json_proto [23:09:40]Method is POST - this is cgi request [23:09:40]url: /json_proto [23:09:40]query_string will be loaded in cgi processing [23:09:40]execute_cgi json_proto POST (null) [23:09:40]execute_cgi path=json_proto method=POST [23:09:40]POST find Content-Length [23:09:40]Host: 172.17.35.3:8080 [23:09:40]Content-Length: 682 [23:09:40]Content-Type: application/json [23:09:40] [23:09:40]POST finish read [23:09:40]Found Content-Length = 682 [23:09:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359525", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 71.90, "quantity" : 27.820, "sum" : 2000.26, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:09:40]execute_script... [23:09: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)359525", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 71.90, "quantity" : 27.820, "sum" : 2000.26, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:09:40]POST & json_proto [23:09:40]process_json_proto [23:09:40]json parsed OK: [23:09:40]protocol is kg_v1.0 [23:09:40]action value=close_receipt [23:09:40]process_action close_receipt [23:09:40]cmd_close_receipt [23:09:40]MH_GetDate [23:09:40]Write to MH i2c: F0 00 00 A8 30 C7 [23:09:40]Write i2c OK [23:09:40]MH_I2C_Read... [23:09:40]Read from MH i2c: F0 [23:09:40]MH_I2C_Read... [23:09:40]Read from MH i2c: F0 09 00 [23:09:40]MH_I2C_Read... [23:09:40]Read from MH i2c: F0 09 00 A8 30 00 C0 27 13 66 2B 11 66 64 36 [23:09:40]GetLastDocTimeStamp 1712530323 [23:09:40]current date 1712531392 [23:09:40]FM_GetShiftState [23:09:40]SAM_PROTO_GetShiftState [23:09:40]wFMCommunicate request_size=4 [23:09:40]MH_SAM_APDU [23:09:40]CAPDU: 80 13 01 00 [23:09:40]Write to MH i2c: E2 08 00 A9 30 80 13 01 00 00 00 00 00 56 [23:09:40]Write i2c OK [23:09:40]MH_I2C_Read... [23:09:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:09:40]Read from MH i2c: E2 [23:09:40]MH_I2C_Read... [23:09:40]Read from MH i2c: E2 0E 00 [23:09:40]MH_I2C_Read... [23:09:40]Read from MH i2c: E2 0E 00 A9 30 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 EA [23:09:40]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [23:09:40]wFMCommunicate OK [23:09:40]SAM_PROTO_GetShiftState done [23:09:40]FM_GetShiftState done [23:09:40]opened in 1712450087 [23:09:40]opened+sec_in_day 1712536487 [23:09:40]quantity*price = 200025 [23:09:40]sum+1 = 200027 [23:09:40]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.26 ИТОГО: 2000.00 Внесено: 2000.00 СДАЧА: 0.00 НСП 1% : 17.70 НДС 12% : 212.42 Наличными: 2000.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 81 07.04.2024 23:09 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26782 ФПД: 190050018353643 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T230952&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26782&fm=190050018353643&tin=02508201610067®Number=0000000000091578&sum=200000 [23:09:42]StoreToDocumentArchive [23:09:42]shift 313 fd 26782 [23:09:42]save to /storage/0313/doc_00026782 [23:09:42]save last doc name /storage/0313/doc_00026782 to /storage/kkm_last_doc_name [23:09:42]save OK [23:09:42]Clear old archive folders... [23:09:42]ProcessDocumentItem done err = 0, tmpTLVsize=251 [23:09:42]tlvbuf is 00E9E5F0 [23:09:42]SAM_PROTO_ClearQueue [23:09:42]wFMCommunicate request_size=4 [23:09:42]MH_SAM_APDU [23:09:42]CAPDU: 80 09 00 00 [23:09:42]Write to MH i2c: E2 08 00 B6 30 80 09 00 00 00 00 00 00 58 [23:09:42]Write i2c OK [23:09:42]MH_I2C_Read... [23:09:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:09:42]Read from MH i2c: E2 [23:09:42]MH_I2C_Read... [23:09:42]Read from MH i2c: E2 03 00 [23:09:42]MH_I2C_Read... [23:09:42]Read from MH i2c: E2 03 00 B6 30 00 90 00 5A [23:09:42]RAPDU: 90 00 [23:09:42]wFMCommunicate OK [23:09:42]SAM_PROTO_ClearQueue done [23:09:42]KKMCreateOFDPacket [23:09:42]OFDProtocolAddRootSTLVToBuf [23:09:42]FM_MakeSignedData [23:09:42]FM_MakeSignedData [23:09:42]SAM_PROTO_SignData [23:09:42]wFMCommunicate request_size=4 [23:09:42]MH_SAM_APDU [23:09:42]CAPDU: 80 0D 01 02 [23:09:42]Write to MH i2c: E2 08 00 B7 30 80 0D 01 02 00 00 00 00 60 [23:09:42]Write i2c OK [23:09:42]MH_I2C_Read... [23:09:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:09:42]Read from MH i2c: E2 [23:09:42]MH_I2C_Read... [23:09:42]Read from MH i2c: E2 03 00 [23:09:42]MH_I2C_Read... [23:09:42]Read from MH i2c: E2 03 00 B7 30 00 90 00 5B [23:09:42]RAPDU: 90 00 [23:09:42]wFMCommunicate OK [23:09:42]wFMCommunicate request_size=255 [23:09:42]MH_SAM_APDU [23:09: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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 AC 6C 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 5A 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 40 0D 03 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 C0 27 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 9E 68 00 00 35 04 06 00 AC [23:09:42]Write to MH i2c: E2 02 01 B8 30 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 AC 6C 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 5A 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 40 0D 03 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 C0 27 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 9E 68 00 00 35 04 06 00 AC 00 00 A5 [23:09:42]Write i2c OK [23:09:42]MH_I2C_Read... [23:09:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:09:42]Read from MH i2c: E2 [23:09:42]MH_I2C_Read... [23:09:42]Read from MH i2c: E2 03 00 [23:09:42]MH_I2C_Read... [23:09:42]Read from MH i2c: E2 03 00 B8 30 00 90 00 5C [23:09:42]RAPDU: 90 00 [23:09:42]wFMCommunicate OK [23:09:42]wFMCommunicate request_size=10 [23:09:42]MH_SAM_APDU [23:09:42]CAPDU: 80 0D 02 02 05 D9 77 D5 61 EB [23:09:42]Write to MH i2c: E2 0D 00 B9 30 80 0D 02 02 05 00 D9 77 D5 61 EB 00 00 DE [23:09:42]Write i2c OK [23:09:42]MH_I2C_Read... [23:09:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:09:42]Read from MH i2c: E2 [23:09:42]MH_I2C_Read... [23:09:42]Read from MH i2c: E2 03 00 [23:09:42]MH_I2C_Read... [23:09:42]Read from MH i2c: E2 03 00 B9 30 00 90 00 5D [23:09:42]RAPDU: 90 00 [23:09:42]wFMCommunicate OK [23:09:42]wFMCommunicate request_size=4 [23:09:42]MH_SAM_APDU [23:09:42]CAPDU: 80 0D 03 02 [23:09:42]Write to MH i2c: E2 08 00 BA 30 80 0D 03 02 00 00 00 00 65 [23:09:42]Write i2c OK [23:09:42]MH_I2C_Read... [23:09:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:09:42]Read from MH i2c: E2 [23:09:42]MH_I2C_Read... [23:09:42]Read from MH i2c: E2 0B 00 [23:09:42]MH_I2C_Read... [23:09:42]Read from MH i2c: E2 0B 00 BA 30 00 60 A1 EC 2C BB BA 90 A7 90 00 2B [23:09:42]RAPDU: 60 A1 EC 2C BB BA 90 A7 90 00 [23:09:42]wFMCommunicate OK [23:09:42]SAM_PROTO_SignData done [23:09:42]FM_MakeSignedData done [23:09:42]CreateOFDProtocolMessage [23:09:42]wFMCommunicate request_size=4 [23:09:42]MH_SAM_APDU [23:09:42]CAPDU: 80 11 00 00 [23:09:42]Write to MH i2c: E2 08 00 BB 30 80 11 00 00 00 00 00 00 65 [23:09:42]Write i2c OK [23:09:42]MH_I2C_Read... [23:09:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:09:42]Read from MH i2c: E2 [23:09:42]MH_I2C_Read... [23:09:42]Read from MH i2c: E2 17 00 [23:09:42]MH_I2C_Read... [23:09:42]Read from MH i2c: E2 17 00 BB 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 BD [23:09:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [23:09:42]wFMCommunicate OK [23:09:42]CreateOFDProtocolMessage done [23:09:42]OFDSenderStorePacket 26782 [23:09:42]StoreOFDPacket docnum=26782 [23:09:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 1D 90 07 01 77 62 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 AC 6C 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 5A 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 40 0D 03 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 C0 27 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 9E 68 00 00 35 04 06 00 AC D9 77 D5 61 EB 60 A1 EC 2C BB BA 90 A7 [23:09:42]CheckFolder [23:09:42]dirname=/storage/ofd_packets [23:09:42]CheckFolder done [23:09:42]ProducePacketName [23:09:42]name=ofd_packets/00026782 [23:09:42]NVStorageSaveData ofd_packets/00026782 [23:09:42]File name is /storage/ofd_packets/00026782 [23:09:42]Write 301 bytes [23:09:42]NVStorageSaveData done [23:09:42]OFDSenderStorePacket done [23:09:42]KKMCreateOFDPacket done [23:09:42]NVStorageSaveData kkm_last_timestamp [23:09:42]File name is /storage/kkm_last_timestamp [23:09:42]Write 4 bytes [23:09:42]NVStorageSaveData done [23:09:42]ExternCall_PrintAddStr [23:09:42]wPrintStart [23:09:42]Write to MH i2c: 01 00 00 BC 30 EC [23:09:42]Write i2c OK [23:09:42]MH_I2C_Read... [23:09:42]Read from MH i2c: 01 [23:09:42]MH_I2C_Read... [23:09:42]Read from MH i2c: 01 07 00 [23:09:42]MH_I2C_Read... [23:09:42]Read from MH i2c: 01 07 00 BC 30 00 00 00 00 00 FF 0F 01 [23:09:42]RasterBufferAndPrint [23:09:42]line Счет N : (1)359525 [23:09:42]line ИНН: 02508201610067 [23:09:42]line Контрольно-Кассовый Чек [23:09:42]line ПРОДАЖА [23:09:42]line ТРК (МРК, ГНК) : 63 [23:09:42]line Товар: 2710124500 [23:09:42]line Аи-95-К-5 [23:09:42]line 27.820 * 71.90 [23:09:42]line = 2000.26 [23:09:42]line НДС 12% НСП 1% [23:09:42]line > о реализуемом товаре [23:09:42]line ОКРУГЛЕНИЕ: -0.26 [23:09:42]line ИТОГО: 2000.00 [23:09:42]line Внесено: 2000.00 [23:09:42]line СДАЧА: 0.00 [23:09:42]line НСП 1% : 17.70 [23:09:42]line НДС 12% : 212.42 [23:09:42]line Наличными: 2000.00 [23:09:42]line Безнал.: 0.00 [23:09:42]line Место: АЗС № 122 "Партнер Нефть" [23:09:42]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [23:09:42]line СНО: Общий режим [23:09:42]line Чек 81 07.04.2024 23:09 [23:09:42]line Смена: 313 ФФД: 1.0 [23:09:42]line ЗНМ: 0300000147 [23:09:42]line РНМ: 0000000000091578 [23:09:42]line Версия ККМ: 001 [23:09:42]line ФМ: 0000000000874657 [23:09:42]line ФД: 26782 [23:09:42]line ФПД: 190050018353643 [23:09:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T230952&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26782&fm=190050018353643&tin=02508201610067®Number=0000000000091578&sum=200000 [23:09:42]OFD Sender: Processing packet 26782 [packets to send 44, broken 43] [23:09:42]ProducePacketName [23:09:42]name=ofd_packets/00026782 [23:09:42]OFD Sender: To server: pG, [23:09:42]CommunicateWithHost lk.salyk.kg:30040 [23:09:42]ConnectInit lk.salyk.kg [23:09:42]written 0, free lines is 4095 [23:09:43]Connected sock=10 [23:09: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 36 35 37 0F 01 00 00 1D 90 07 01 77 62 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 AC 6C 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 5A 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 40 0D 03 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 C0 27 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 9E 68 00 00 35 04 06 00 AC D9 77 D5 61 EB 60 A1 EC 2C BB BA 90 A7 [23:09:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 95 F3 47 00 0C BB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 37 10 04 04 00 9E 68 00 00 F4 03 04 00 2C CF 12 66 B6 04 01 00 00 46 85 E9 9D 13 4E 03 21 [23:09:43]CommunicateWithHost err = 0 [23:09:43]CheckOFDResponse [23:09:43]1017 (14) - 77093643461234 [23:09:43]1041 (16) - 0000000000874657 [23:09:43]1040 (4) - 26782 [23:09:43]1012 (4) - 07.04.2024 16:51 [23:09:43]1206 (1) - 0 [23:09:43]OFD Sender: Remove packet 26782 [23:09:43]ProducePacketName [23:09:43]name=ofd_packets/00026782 [23:09:43]NVStorageDeleteData [23:09:43]Write to MH i2c: 01 00 00 E7 30 17 [23:09:43]Write i2c OK [23:09:43]MH_I2C_Read... [23:09:43]Read from MH i2c: 01 [23:09:43]MH_I2C_Read... [23:09:43]Read from MH i2c: 01 07 00 [23:09:43]MH_I2C_Read... [23:09:43]Read from MH i2c: 01 07 00 E7 30 00 00 00 00 00 73 0C 9D [23:09:43]RasterBufferAndPrint [23:09:43]line [23:09:43]line [23:09:43]line [23:09:43]line [23:09:43]line [23:09:43]written 0, free lines is 3189 [23:09:43]MH_Cut [23:09:43]Write to MH i2c: D1 01 00 EE 30 01 F0 [23:09:43]Write i2c OK [23:09:43]MH_I2C_Read... [23:09:43]Read from MH i2c: D1 [23:09:43]MH_I2C_Read... [23:09:43]Read from MH i2c: D1 01 00 [23:09:43]MH_I2C_Read... [23:09:43]Read from MH i2c: D1 01 00 EE 30 00 EF [23:09:43]Write to MH i2c: 01 00 00 EF 30 1F [23:09:43]Write i2c OK [23:09:43]MH_I2C_Read... [23:09:43]OFD Sender: No OFD packet to send [23:09:44]*** Cut start [23:09:44]*** Partial cut [23:09:44]*** CUTSNS_PIN = 1 [23:09:44]*** CUTSNS_PIN = 0 [23:09:44]*** Brake cut motor [23:09:45]Read from MH i2c: 01 [23:09:45]MH_I2C_Read... [23:09:45]*** Stop cut motor [23:09:45]*** Cut end [23:09:45]Read from MH i2c: 01 07 00 [23:09:45]MH_I2C_Read... [23:09:45]Read from MH i2c: 01 07 00 EF 30 00 00 00 00 00 FF 0F 34 [23:09:45]process_action close_receipt done [23:09:45]requested_data is exist [23:09:45]produce_requested_data [23:09:45]requested_item fm.sn is exist - process it [23:09:45]wFMCommunicate request_size=4 [23:09:45]MH_SAM_APDU [23:09:45]CAPDU: 80 11 00 00 [23:09:45]Write to MH i2c: E2 08 00 F0 30 80 11 00 00 00 00 00 00 9A [23:09:45]Write i2c OK [23:09:45]MH_I2C_Read... [23:09:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:09:45]Read from MH i2c: E2 [23:09:45]MH_I2C_Read... [23:09:45]Read from MH i2c: E2 17 00 [23:09:45]MH_I2C_Read... [23:09:45]Read from MH i2c: E2 17 00 F0 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 F2 [23:09:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [23:09:45]wFMCommunicate OK [23:09:45]requested_item fd.num is exist - process it [23:09:45]SAM_PROTO_GetFieldsCounters [23:09:45]wFMCommunicate request_size=4 [23:09:45]MH_SAM_APDU [23:09:45]CAPDU: 80 13 00 00 [23:09:45]Write to MH i2c: E2 08 00 F1 30 80 13 00 00 00 00 00 00 9D [23:09:45]Write i2c OK [23:09:45]MH_I2C_Read... [23:09:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:09:45]Read from MH i2c: E2 [23:09:45]MH_I2C_Read... [23:09:45]Read from MH i2c: E2 62 00 [23:09:45]MH_I2C_Read... [23:09:45]Read from MH i2c: E2 62 00 F1 30 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 9E 68 00 00 0E 04 04 00 39 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 FB [23:09: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 9E 68 00 00 0E 04 04 00 39 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 [23:09:45]wFMCommunicate OK [23:09:45]SAM_PROTO_GetFieldsCounters done [23:09:45]requested_item shift.num is exist - process it [23:09:45]requested_item shift.opened is exist - process it [23:09:45]req_shift_opened [23:09:45]FM_GetShiftState [23:09:45]SAM_PROTO_GetShiftState [23:09:45]wFMCommunicate request_size=4 [23:09:45]MH_SAM_APDU [23:09:45]CAPDU: 80 13 01 00 [23:09:45]Write to MH i2c: E2 08 00 F2 30 80 13 01 00 00 00 00 00 9F [23:09:45]Write i2c OK [23:09:45]MH_I2C_Read... [23:09:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:09:45]Read from MH i2c: E2 [23:09:45]MH_I2C_Read... [23:09:45]Read from MH i2c: E2 0E 00 [23:09:45]MH_I2C_Read... [23:09:45]Read from MH i2c: E2 0E 00 F2 30 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 33 [23:09:45]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [23:09:45]wFMCommunicate OK [23:09:45]SAM_PROTO_GetShiftState done [23:09:45]FM_GetShiftState done [23:09:45]req_shift_opened done [23:09:45]requested_item shift.open_date is exist - process it [23:09:45]req_shift_open_date [23:09:45]req_shift_open_date done [23:09:45]produce_requested_data done [23:09:45]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26782,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [23:09:45]process_action_free close_receipt [23:09:45]json_value_free [23:09:45]json_value_free done [23:09:45]process_json_proto returns [23:09:45]Send response to host [23:09:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26782,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [23:09:45]free response buf [23:09:45]execute_script done [23:09:45]execute_script returns [23:09:45]free content buf [23:09:45]Sock 8.Close socket [23:09:45]Sock 8.Thread stoped [23:09:48]OFD Sender: No OFD packet to send [23:09:53]OFD Sender: No OFD packet to send [23:09:58]OFD Sender: No OFD packet to send [23:10:03]OFD Sender: No OFD packet to send [23:10:08]OFD Sender: No OFD packet to send [23:10:13]OFD Sender: No OFD packet to send [23:10:18]OFD Sender: No OFD packet to send [23:10:23]OFD Sender: No OFD packet to send [23:10:28]OFD Sender: No OFD packet to send [23:10:33]OFD Sender: No OFD packet to send [23:10:38]OFD Sender: No OFD packet to send [23:10:43]OFD Sender: No OFD packet to send [23:10:48]OFD Sender: No OFD packet to send [23:10:53]OFD Sender: No OFD packet to send [23:10:58]OFD Sender: No OFD packet to send [23:11:03]OFD Sender: No OFD packet to send [23:11:08]OFD Sender: No OFD packet to send [23:11:13]OFD Sender: No OFD packet to send [23:11:18]OFD Sender: No OFD packet to send [23:11:23]OFD Sender: No OFD packet to send [23:11:28]OFD Sender: No OFD packet to send [23:11:33]OFD Sender: No OFD packet to send [23:11:38]OFD Sender: No OFD packet to send [23:11:43]OFD Sender: No OFD packet to send [23:11:48]OFD Sender: No OFD packet to send [23:11:53]OFD Sender: No OFD packet to send [23:11:58]OFD Sender: No OFD packet to send [23:12:03]OFD Sender: No OFD packet to send [23:12:08]OFD Sender: No OFD packet to send [23:12:13]OFD Sender: No OFD packet to send [23:12:18]OFD Sender: No OFD packet to send [23:12:23]OFD Sender: No OFD packet to send [23:12:28]OFD Sender: No OFD packet to send [23:12:33]OFD Sender: No OFD packet to send [23:12:38]OFD Sender: No OFD packet to send [23:12:43]OFD Sender: No OFD packet to send [23:12:48]OFD Sender: No OFD packet to send [23:12:53]OFD Sender: No OFD packet to send [23:12:58]OFD Sender: No OFD packet to send [23:13:03]OFD Sender: No OFD packet to send [23:13:08]OFD Sender: No OFD packet to send [23:13:13]OFD Sender: No OFD packet to send [23:13:18]OFD Sender: No OFD packet to send [23:13:23]OFD Sender: No OFD packet to send [23:13:29]OFD Sender: No OFD packet to send [23:13:34]OFD Sender: No OFD packet to send [23:13:39]OFD Sender: No OFD packet to send [23:13:44]OFD Sender: No OFD packet to send [23:13:49]OFD Sender: No OFD packet to send [23:13:54]OFD Sender: No OFD packet to send [23:13:59]OFD Sender: No OFD packet to send [23:14:04]OFD Sender: No OFD packet to send [23:14:09]OFD Sender: No OFD packet to send [23:14:14]OFD Sender: No OFD packet to send [23:14:19]OFD Sender: No OFD packet to send [23:14:24]OFD Sender: No OFD packet to send [23:14:29]OFD Sender: No OFD packet to send [23:14:34]OFD Sender: No OFD packet to send [23:14:39]OFD Sender: No OFD packet to send [23:14:44]OFD Sender: No OFD packet to send [23:14:49]OFD Sender: No OFD packet to send [23:14:54]OFD Sender: No OFD packet to send [23:14:59]OFD Sender: No OFD packet to send [23:15:04]OFD Sender: No OFD packet to send [23:15:09]OFD Sender: No OFD packet to send [23:15:14]OFD Sender: No OFD packet to send [23:15:19]OFD Sender: No OFD packet to send [23:15:24]OFD Sender: No OFD packet to send [23:15:29]OFD Sender: No OFD packet to send [23:15:34]OFD Sender: No OFD packet to send [23:15:39]OFD Sender: No OFD packet to send [23:15:44]OFD Sender: No OFD packet to send [23:15:49]OFD Sender: No OFD packet to send [23:15:54]OFD Sender: No OFD packet to send [23:15:59]OFD Sender: No OFD packet to send [23:16:04]OFD Sender: No OFD packet to send [23:16:09]OFD Sender: No OFD packet to send [23:16:14]OFD Sender: No OFD packet to send [23:16:19]OFD Sender: No OFD packet to send [23:16:24]OFD Sender: No OFD packet to send [23:16:29]OFD Sender: No OFD packet to send [23:16:34]OFD Sender: No OFD packet to send [23:16:39]OFD Sender: No OFD packet to send [23:16:44]OFD Sender: No OFD packet to send [23:16:49]OFD Sender: No OFD packet to send [23:16:54]OFD Sender: No OFD packet to send [23:16:59]OFD Sender: No OFD packet to send [23:17:04]OFD Sender: No OFD packet to send [23:17:09]OFD Sender: No OFD packet to send [23:17:14]OFD Sender: No OFD packet to send [23:17:19]OFD Sender: No OFD packet to send [23:17:24]OFD Sender: No OFD packet to send [23:17:29]OFD Sender: No OFD packet to send [23:17:34]OFD Sender: No OFD packet to send [23:17:39]OFD Sender: No OFD packet to send [23:17:44]OFD Sender: No OFD packet to send [23:17:49]OFD Sender: No OFD packet to send [23:17:54]OFD Sender: No OFD packet to send [23:17:59]OFD Sender: No OFD packet to send [23:18:04]OFD Sender: No OFD packet to send [23:18:09]OFD Sender: No OFD packet to send [23:18:14]OFD Sender: No OFD packet to send [23:18:19]OFD Sender: No OFD packet to send [23:18:24]OFD Sender: No OFD packet to send [23:18:29]OFD Sender: No OFD packet to send [23:18:34]OFD Sender: No OFD packet to send [23:18:39]OFD Sender: No OFD packet to send [23:18:44]OFD Sender: No OFD packet to send [23:18:49]OFD Sender: No OFD packet to send [23:18:54]OFD Sender: No OFD packet to send [23:18:59]OFD Sender: No OFD packet to send [23:19:04]OFD Sender: No OFD packet to send [23:19:09]OFD Sender: No OFD packet to send [23:19:14]OFD Sender: No OFD packet to send [23:19:19]OFD Sender: No OFD packet to send [23:19:24]OFD Sender: No OFD packet to send [23:19:29]OFD Sender: No OFD packet to send [23:19:34]OFD Sender: No OFD packet to send [23:19:39]OFD Sender: No OFD packet to send [23:19:44]OFD Sender: No OFD packet to send [23:19:49]OFD Sender: No OFD packet to send [23:19:54]OFD Sender: No OFD packet to send [23:19:59]OFD Sender: No OFD packet to send [23:20:04]OFD Sender: No OFD packet to send [23:20:09]OFD Sender: No OFD packet to send [23:20:14]OFD Sender: No OFD packet to send [23:20:19]OFD Sender: No OFD packet to send [23:20:24]OFD Sender: No OFD packet to send [23:20:29]OFD Sender: No OFD packet to send [23:20:34]OFD Sender: No OFD packet to send [23:20:39]OFD Sender: No OFD packet to send [23:20:44]OFD Sender: No OFD packet to send [23:20:49]OFD Sender: No OFD packet to send [23:20:54]OFD Sender: No OFD packet to send [23:20:59]OFD Sender: No OFD packet to send [23:21:04]OFD Sender: No OFD packet to send [23:21:09]OFD Sender: No OFD packet to send [23:21:14]OFD Sender: No OFD packet to send [23:21:19]OFD Sender: No OFD packet to send [23:21:24]OFD Sender: No OFD packet to send [23:21:29]OFD Sender: No OFD packet to send [23:21:34]OFD Sender: No OFD packet to send [23:21:39]OFD Sender: No OFD packet to send [23:21:44]OFD Sender: No OFD packet to send [23:21:49]OFD Sender: No OFD packet to send [23:21:54]OFD Sender: No OFD packet to send [23:21:59]OFD Sender: No OFD packet to send [23:22:04]OFD Sender: No OFD packet to send [23:22:09]OFD Sender: No OFD packet to send [23:22:14]OFD Sender: No OFD packet to send [23:22:19]OFD Sender: No OFD packet to send [23:22:24]OFD Sender: No OFD packet to send [23:22:29]OFD Sender: No OFD packet to send [23:22:34]OFD Sender: No OFD packet to send [23:22:39]OFD Sender: No OFD packet to send [23:22:44]OFD Sender: No OFD packet to send [23:22:49]OFD Sender: No OFD packet to send [23:22:54]OFD Sender: No OFD packet to send [23:22:59]OFD Sender: No OFD packet to send [23:23:04]OFD Sender: No OFD packet to send [23:23:09]OFD Sender: No OFD packet to send [23:23:14]OFD Sender: No OFD packet to send [23:23:19]OFD Sender: No OFD packet to send [23:23:24]OFD Sender: No OFD packet to send [23:23:29]OFD Sender: No OFD packet to send [23:23:34]OFD Sender: No OFD packet to send [23:23:39]OFD Sender: No OFD packet to send [23:23:44]OFD Sender: No OFD packet to send [23:23:49]OFD Sender: No OFD packet to send [23:23:54]OFD Sender: No OFD packet to send [23:23:59]OFD Sender: No OFD packet to send [23:24:04]OFD Sender: No OFD packet to send [23:24:09]OFD Sender: No OFD packet to send [23:24:14]OFD Sender: No OFD packet to send [23:24:19]OFD Sender: No OFD packet to send [23:24:24]OFD Sender: No OFD packet to send [23:24:29]OFD Sender: No OFD packet to send [23:24:34]OFD Sender: No OFD packet to send [23:24:39]OFD Sender: No OFD packet to send [23:24:44]OFD Sender: No OFD packet to send [23:24:49]OFD Sender: No OFD packet to send [23:24:54]OFD Sender: No OFD packet to send [23:24:59]OFD Sender: No OFD packet to send [23:25:04]OFD Sender: No OFD packet to send [23:25:09]OFD Sender: No OFD packet to send [23:25:14]OFD Sender: No OFD packet to send [23:25:19]OFD Sender: No OFD packet to send [23:25:24]OFD Sender: No OFD packet to send [23:25:29]OFD Sender: No OFD packet to send [23:25:34]OFD Sender: No OFD packet to send [23:25:39]OFD Sender: No OFD packet to send [23:25:44]OFD Sender: No OFD packet to send [23:25:49]OFD Sender: No OFD packet to send [23:25:54]OFD Sender: No OFD packet to send [23:25:59]OFD Sender: No OFD packet to send [23:26:04]OFD Sender: No OFD packet to send [23:26:09]OFD Sender: No OFD packet to send [23:26:14]OFD Sender: No OFD packet to send [23:26:19]OFD Sender: No OFD packet to send [23:26:24]OFD Sender: No OFD packet to send [23:26:29]OFD Sender: No OFD packet to send [23:26:34]OFD Sender: No OFD packet to send [23:26:39]OFD Sender: No OFD packet to send [23:26:44]OFD Sender: No OFD packet to send [23:26:49]OFD Sender: No OFD packet to send [23:26:54]OFD Sender: No OFD packet to send [23:26:59]OFD Sender: No OFD packet to send [23:27:04]OFD Sender: No OFD packet to send [23:27:09]OFD Sender: No OFD packet to send [23:27:14]OFD Sender: No OFD packet to send [23:27:19]OFD Sender: No OFD packet to send [23:27:24]OFD Sender: No OFD packet to send [23:27:29]OFD Sender: No OFD packet to send [23:27:34]OFD Sender: No OFD packet to send [23:27:39]OFD Sender: No OFD packet to send [23:27:44]OFD Sender: No OFD packet to send [23:27:49]OFD Sender: No OFD packet to send [23:27:54]OFD Sender: No OFD packet to send [23:27:59]OFD Sender: No OFD packet to send [23:28:04]OFD Sender: No OFD packet to send [23:28:09]OFD Sender: No OFD packet to send [23:28:14]OFD Sender: No OFD packet to send [23:28:19]OFD Sender: No OFD packet to send [23:28:24]OFD Sender: No OFD packet to send [23:28:29]OFD Sender: No OFD packet to send [23:28:34]OFD Sender: No OFD packet to send [23:28:39]OFD Sender: No OFD packet to send [23:28:44]OFD Sender: No OFD packet to send [23:28:49]OFD Sender: No OFD packet to send [23:28:54]OFD Sender: No OFD packet to send [23:28:59]OFD Sender: No OFD packet to send [23:29:04]OFD Sender: No OFD packet to send [23:29:09]OFD Sender: No OFD packet to send [23:29:14]OFD Sender: No OFD packet to send [23:29:19]OFD Sender: No OFD packet to send [23:29:24]OFD Sender: No OFD packet to send [23:29:29]OFD Sender: No OFD packet to send [23:29:34]OFD Sender: No OFD packet to send [23:29:39]OFD Sender: No OFD packet to send [23:29:44]OFD Sender: No OFD packet to send [23:29:49]OFD Sender: No OFD packet to send [23:29:54]OFD Sender: No OFD packet to send [23:29:59]OFD Sender: No OFD packet to send [23:30:04]OFD Sender: No OFD packet to send [23:30:09]OFD Sender: No OFD packet to send [23:30:14]OFD Sender: No OFD packet to send [23:30:19]OFD Sender: No OFD packet to send [23:30:24]OFD Sender: No OFD packet to send [23:30:29]OFD Sender: No OFD packet to send [23:30:34]OFD Sender: No OFD packet to send [23:30:39]OFD Sender: No OFD packet to send [23:30:44]OFD Sender: No OFD packet to send [23:30:49]OFD Sender: No OFD packet to send [23:30:54]OFD Sender: No OFD packet to send [23:30:59]OFD Sender: No OFD packet to send [23:31:04]OFD Sender: No OFD packet to send [23:31:09]OFD Sender: No OFD packet to send [23:31:14]OFD Sender: No OFD packet to send [23:31:19]OFD Sender: No OFD packet to send [23:31:24]OFD Sender: No OFD packet to send [23:31:29]OFD Sender: No OFD packet to send [23:31:34]OFD Sender: No OFD packet to send [23:31:39]OFD Sender: No OFD packet to send [23:31:44]OFD Sender: No OFD packet to send [23:31:49]OFD Sender: No OFD packet to send [23:31:54]OFD Sender: No OFD packet to send [23:32:00]OFD Sender: No OFD packet to send [23:32:05]OFD Sender: No OFD packet to send [23:32:10]OFD Sender: No OFD packet to send [23:32:15]OFD Sender: No OFD packet to send [23:32:20]OFD Sender: No OFD packet to send [23:32:25]OFD Sender: No OFD packet to send [23:32:30]OFD Sender: No OFD packet to send [23:32:35]OFD Sender: No OFD packet to send [23:32:40]OFD Sender: No OFD packet to send [23:32:45]OFD Sender: No OFD packet to send [23:32:50]OFD Sender: No OFD packet to send [23:32:55]OFD Sender: No OFD packet to send [23:33:00]OFD Sender: No OFD packet to send [23:33:05]OFD Sender: No OFD packet to send [23:33:10]OFD Sender: No OFD packet to send [23:33:15]OFD Sender: No OFD packet to send [23:33:20]OFD Sender: No OFD packet to send [23:33:25]OFD Sender: No OFD packet to send [23:33:30]OFD Sender: No OFD packet to send [23:33:35]OFD Sender: No OFD packet to send [23:33:40]OFD Sender: No OFD packet to send [23:33:45]OFD Sender: No OFD packet to send [23:33:50]OFD Sender: No OFD packet to send [23:33:55]OFD Sender: No OFD packet to send [23:34:00]OFD Sender: No OFD packet to send [23:34:05]OFD Sender: No OFD packet to send [23:34:10]OFD Sender: No OFD packet to send [23:34:15]OFD Sender: No OFD packet to send [23:34:20]OFD Sender: No OFD packet to send [23:34:25]OFD Sender: No OFD packet to send [23:34:30]OFD Sender: No OFD packet to send [23:34:35]OFD Sender: No OFD packet to send [23:34:40]OFD Sender: No OFD packet to send [23:34:45]OFD Sender: No OFD packet to send [23:34:50]OFD Sender: No OFD packet to send [23:34:55]OFD Sender: No OFD packet to send [23:35:00]OFD Sender: No OFD packet to send [23:35:05]OFD Sender: No OFD packet to send [23:35:10]OFD Sender: No OFD packet to send [23:35:15]OFD Sender: No OFD packet to send [23:35:20]OFD Sender: No OFD packet to send [23:35:25]OFD Sender: No OFD packet to send [23:35:30]OFD Sender: No OFD packet to send [23:35:35]OFD Sender: No OFD packet to send [23:35:40]OFD Sender: No OFD packet to send [23:35:45]OFD Sender: No OFD packet to send [23:35:50]OFD Sender: No OFD packet to send [23:35:55]OFD Sender: No OFD packet to send [23:36:00]OFD Sender: No OFD packet to send [23:36:05]OFD Sender: No OFD packet to send [23:36:10]OFD Sender: No OFD packet to send [23:36:15]OFD Sender: No OFD packet to send [23:36:20]OFD Sender: No OFD packet to send [23:36:25]OFD Sender: No OFD packet to send [23:36:30]OFD Sender: No OFD packet to send [23:36:35]OFD Sender: No OFD packet to send [23:36:40]OFD Sender: No OFD packet to send [23:36:45]OFD Sender: No OFD packet to send [23:36:50]OFD Sender: No OFD packet to send [23:36:55]OFD Sender: No OFD packet to send [23:37:00]OFD Sender: No OFD packet to send [23:37:05]OFD Sender: No OFD packet to send [23:37:10]OFD Sender: No OFD packet to send [23:37:15]OFD Sender: No OFD packet to send [23:37:20]OFD Sender: No OFD packet to send [23:37:25]OFD Sender: No OFD packet to send [23:37:30]OFD Sender: No OFD packet to send [23:37:35]OFD Sender: No OFD packet to send [23:37:40]OFD Sender: No OFD packet to send [23:37:45]OFD Sender: No OFD packet to send [23:37:50]OFD Sender: No OFD packet to send [23:37:55]OFD Sender: No OFD packet to send [23:38:00]OFD Sender: No OFD packet to send [23:38:05]OFD Sender: No OFD packet to send [23:38:10]OFD Sender: No OFD packet to send [23:38:15]OFD Sender: No OFD packet to send [23:38:20]OFD Sender: No OFD packet to send [23:38:25]OFD Sender: No OFD packet to send [23:38:30]OFD Sender: No OFD packet to send [23:38:35]OFD Sender: No OFD packet to send [23:38:40]OFD Sender: No OFD packet to send [23:38:45]OFD Sender: No OFD packet to send [23:38:50]OFD Sender: No OFD packet to send [23:38:55]OFD Sender: No OFD packet to send [23:39:00]OFD Sender: No OFD packet to send [23:39:05]OFD Sender: No OFD packet to send [23:39:10]OFD Sender: No OFD packet to send [23:39:15]OFD Sender: No OFD packet to send [23:39:20]OFD Sender: No OFD packet to send [23:39:25]OFD Sender: No OFD packet to send [23:39:30]OFD Sender: No OFD packet to send [23:39:35]OFD Sender: No OFD packet to send [23:39:40]OFD Sender: No OFD packet to send [23:39:45]OFD Sender: No OFD packet to send [23:39:50]OFD Sender: No OFD packet to send [23:39:55]OFD Sender: No OFD packet to send [23:40:00]OFD Sender: No OFD packet to send [23:40:05]OFD Sender: No OFD packet to send [23:40:10]OFD Sender: No OFD packet to send [23:40:15]OFD Sender: No OFD packet to send [23:40:20]OFD Sender: No OFD packet to send [23:40:25]OFD Sender: No OFD packet to send [23:40:30]OFD Sender: No OFD packet to send [23:40:35]OFD Sender: No OFD packet to send [23:40:40]OFD Sender: No OFD packet to send [23:40:45]OFD Sender: No OFD packet to send [23:40:50]OFD Sender: No OFD packet to send [23:40:55]OFD Sender: No OFD packet to send [23:41:00]OFD Sender: No OFD packet to send [23:41:05]OFD Sender: No OFD packet to send [23:41:10]OFD Sender: No OFD packet to send [23:41:15]OFD Sender: No OFD packet to send [23:41:20]OFD Sender: No OFD packet to send [23:41:25]OFD Sender: No OFD packet to send [23:41:30]OFD Sender: No OFD packet to send [23:41:35]OFD Sender: No OFD packet to send [23:41:40]OFD Sender: No OFD packet to send [23:41:45]OFD Sender: No OFD packet to send [23:41:50]OFD Sender: No OFD packet to send [23:41:55]OFD Sender: No OFD packet to send [23:42:00]OFD Sender: No OFD packet to send [23:42:05]OFD Sender: No OFD packet to send [23:42:10]OFD Sender: No OFD packet to send [23:42:15]OFD Sender: No OFD packet to send [23:42:20]OFD Sender: No OFD packet to send [23:42:25]OFD Sender: No OFD packet to send [23:42:30]OFD Sender: No OFD packet to send [23:42:35]OFD Sender: No OFD packet to send [23:42:40]OFD Sender: No OFD packet to send [23:42:45]OFD Sender: No OFD packet to send [23:42:50]OFD Sender: No OFD packet to send [23:42:55]OFD Sender: No OFD packet to send [23:43:00]OFD Sender: No OFD packet to send [23:43:05]OFD Sender: No OFD packet to send [23:43:10]OFD Sender: No OFD packet to send [23:43:15]OFD Sender: No OFD packet to send [23:43:20]OFD Sender: No OFD packet to send [23:43:25]OFD Sender: No OFD packet to send [23:43:30]OFD Sender: No OFD packet to send [23:43:35]OFD Sender: No OFD packet to send [23:43:40]OFD Sender: No OFD packet to send [23:43:45]OFD Sender: No OFD packet to send [23:43:50]OFD Sender: No OFD packet to send [23:43:55]OFD Sender: No OFD packet to send [23:44:00]OFD Sender: No OFD packet to send [23:44:05]OFD Sender: No OFD packet to send [23:44:10]OFD Sender: No OFD packet to send [23:44:15]OFD Sender: No OFD packet to send [23:44:20]OFD Sender: No OFD packet to send [23:44:25]OFD Sender: No OFD packet to send [23:44:30]OFD Sender: No OFD packet to send [23:44:35]OFD Sender: No OFD packet to send [23:44:40]OFD Sender: No OFD packet to send [23:44:45]OFD Sender: No OFD packet to send [23:44:50]OFD Sender: No OFD packet to send [23:44:55]OFD Sender: No OFD packet to send [23:45:00]OFD Sender: No OFD packet to send [23:45:05]OFD Sender: No OFD packet to send [23:45:10]OFD Sender: No OFD packet to send [23:45:15]OFD Sender: No OFD packet to send [23:45:20]OFD Sender: No OFD packet to send [23:45:25]OFD Sender: No OFD packet to send [23:45:30]OFD Sender: No OFD packet to send [23:45:35]OFD Sender: No OFD packet to send [23:45:40]OFD Sender: No OFD packet to send [23:45:45]OFD Sender: No OFD packet to send [23:45:50]OFD Sender: No OFD packet to send [23:45:55]OFD Sender: No OFD packet to send [23:46:00]OFD Sender: No OFD packet to send [23:46:05]OFD Sender: No OFD packet to send [23:46:10]OFD Sender: No OFD packet to send [23:46:15]OFD Sender: No OFD packet to send [23:46:20]OFD Sender: No OFD packet to send [23:46:25]OFD Sender: No OFD packet to send [23:46:30]OFD Sender: No OFD packet to send [23:46:35]OFD Sender: No OFD packet to send [23:46:40]OFD Sender: No OFD packet to send [23:46:45]OFD Sender: No OFD packet to send [23:46:50]OFD Sender: No OFD packet to send [23:46:55]OFD Sender: No OFD packet to send [23:47:00]OFD Sender: No OFD packet to send [23:47:05]OFD Sender: No OFD packet to send [23:47:10]OFD Sender: No OFD packet to send [23:47:15]OFD Sender: No OFD packet to send [23:47:20]OFD Sender: No OFD packet to send [23:47:25]OFD Sender: No OFD packet to send [23:47:30]OFD Sender: No OFD packet to send [23:47:35]OFD Sender: No OFD packet to send [23:47:40]OFD Sender: No OFD packet to send [23:47:45]OFD Sender: No OFD packet to send [23:47:50]OFD Sender: No OFD packet to send [23:47:55]OFD Sender: No OFD packet to send [23:48:00]OFD Sender: No OFD packet to send [23:48:05]OFD Sender: No OFD packet to send [23:48:10]OFD Sender: No OFD packet to send [23:48:15]OFD Sender: No OFD packet to send [23:48:20]OFD Sender: No OFD packet to send [23:48:25]OFD Sender: No OFD packet to send [23:48:30]OFD Sender: No OFD packet to send [23:48:35]OFD Sender: No OFD packet to send [23:48:40]OFD Sender: No OFD packet to send [23:48:45]OFD Sender: No OFD packet to send [23:48:50]OFD Sender: No OFD packet to send [23:48:55]OFD Sender: No OFD packet to send [23:49:00]OFD Sender: No OFD packet to send [23:49:05]OFD Sender: No OFD packet to send [23:49:10]OFD Sender: No OFD packet to send [23:49:15]OFD Sender: No OFD packet to send [23:49:20]OFD Sender: No OFD packet to send [23:49:25]OFD Sender: No OFD packet to send [23:49:30]OFD Sender: No OFD packet to send [23:49:35]OFD Sender: No OFD packet to send [23:49:40]OFD Sender: No OFD packet to send [23:49:45]OFD Sender: No OFD packet to send [23:49:50]OFD Sender: No OFD packet to send [23:49:55]OFD Sender: No OFD packet to send [23:50:00]OFD Sender: No OFD packet to send [23:50:05]OFD Sender: No OFD packet to send [23:50:10]OFD Sender: No OFD packet to send [23:50:15]OFD Sender: No OFD packet to send [23:50:20]OFD Sender: No OFD packet to send [23:50:25]OFD Sender: No OFD packet to send [23:50:30]OFD Sender: No OFD packet to send [23:50:36]OFD Sender: No OFD packet to send [23:50:41]OFD Sender: No OFD packet to send [23:50:46]OFD Sender: No OFD packet to send [23:50:51]OFD Sender: No OFD packet to send [23:50:56]OFD Sender: No OFD packet to send [23:51:01]OFD Sender: No OFD packet to send [23:51:06]OFD Sender: No OFD packet to send [23:51:11]OFD Sender: No OFD packet to send [23:51:16]OFD Sender: No OFD packet to send [23:51:21]OFD Sender: No OFD packet to send [23:51:26]OFD Sender: No OFD packet to send [23:51:31]OFD Sender: No OFD packet to send [23:51:36]OFD Sender: No OFD packet to send [23:51:41]OFD Sender: No OFD packet to send [23:51:46]OFD Sender: No OFD packet to send [23:51:51]OFD Sender: No OFD packet to send [23:51:56]OFD Sender: No OFD packet to send [23:52:01]OFD Sender: No OFD packet to send [23:52:06]OFD Sender: No OFD packet to send [23:52:11]OFD Sender: No OFD packet to send [23:52:16]OFD Sender: No OFD packet to send [23:52:21]OFD Sender: No OFD packet to send [23:52:26]OFD Sender: No OFD packet to send [23:52:31]OFD Sender: No OFD packet to send [23:52:36]OFD Sender: No OFD packet to send [23:52:41]OFD Sender: No OFD packet to send [23:52:46]OFD Sender: No OFD packet to send [23:52:51]OFD Sender: No OFD packet to send [23:52:56]OFD Sender: No OFD packet to send [23:53:01]OFD Sender: No OFD packet to send [23:53:06]OFD Sender: No OFD packet to send [23:53:11]OFD Sender: No OFD packet to send [23:53:16]OFD Sender: No OFD packet to send [23:53:21]OFD Sender: No OFD packet to send [23:53:26]OFD Sender: No OFD packet to send [23:53:31]OFD Sender: No OFD packet to send [23:53:36]OFD Sender: No OFD packet to send [23:53:41]OFD Sender: No OFD packet to send [23:53:46]OFD Sender: No OFD packet to send [23:53:51]OFD Sender: No OFD packet to send [23:53:56]OFD Sender: No OFD packet to send [23:54:01]OFD Sender: No OFD packet to send [23:54:06]OFD Sender: No OFD packet to send [23:54:11]OFD Sender: No OFD packet to send [23:54:16]OFD Sender: No OFD packet to send [23:54:18]accept exits with 9 [23:54:18]New connection [23:54:18]New thread 3066871140 created [23:54:18]Thread 3067014500 joined [23:54:18]Waiting for new connection... [23:54:18] Sock 9.Parse request [23:54:18]Sock 9.Check first char [23:54:18]Sock 9.First char is OK [23:54:18]request: POST /json_proto HTTP/1.0 [23:54:18]Method: POST [23:54:18]URL: /json_proto [23:54:18]Method is POST - this is cgi request [23:54:18]url: /json_proto [23:54:18]query_string will be loaded in cgi processing [23:54:18]execute_cgi json_proto POST (null) [23:54:18]execute_cgi path=json_proto method=POST [23:54:18]POST find Content-Length [23:54:18]Host: 172.17.35.3:8080 [23:54:18]Content-Length: 824 [23:54:18]Content-Type: application/json [23:54:18] [23:54:18]POST finish read [23:54:18]Found Content-Length = 824 [23:54:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359526", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "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" : 1000.17 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:54:18]execute_script... [23:54: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 : (1)359526", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "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" : 1000.17 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:54:18]POST & json_proto [23:54:18]process_json_proto [23:54:18]json parsed OK: [23:54:18]protocol is kg_v1.0 [23:54:18]action value=close_receipt [23:54:18]process_action close_receipt [23:54:18]cmd_close_receipt [23:54:18]MH_GetDate [23:54:18]Write to MH i2c: F0 00 00 F3 30 12 [23:54:18]Write i2c OK [23:54:18]MH_I2C_Read... [23:54:18]Read from MH i2c: F0 [23:54:18]MH_I2C_Read... [23:54:18]Read from MH i2c: F0 09 00 [23:54:18]MH_I2C_Read... [23:54:18]Read from MH i2c: F0 09 00 F3 30 00 36 32 13 66 2B 11 66 64 02 [23:54:18]GetLastDocTimeStamp 1712531392 [23:54:18]current date 1712534070 [23:54:18]FM_GetShiftState [23:54:18]SAM_PROTO_GetShiftState [23:54:18]wFMCommunicate request_size=4 [23:54:18]MH_SAM_APDU [23:54:18]CAPDU: 80 13 01 00 [23:54:18]Write to MH i2c: E2 08 00 F4 30 80 13 01 00 00 00 00 00 A1 [23:54:18]Write i2c OK [23:54:18]MH_I2C_Read... [23:54:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:54:18]Read from MH i2c: E2 [23:54:18]MH_I2C_Read... [23:54:18]Read from MH i2c: E2 0E 00 [23:54:18]MH_I2C_Read... [23:54:18]Read from MH i2c: E2 0E 00 F4 30 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 35 [23:54:18]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [23:54:18]wFMCommunicate OK [23:54:18]SAM_PROTO_GetShiftState done [23:54:18]FM_GetShiftState done [23:54:18]opened in 1712450087 [23:54:18]opened+sec_in_day 1712536487 [23:54:18]quantity*price = 100017 [23:54:18]sum+1 = 100018 [23:54:18]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.17 НСП 1% : 8.85 НДС 12% : 106.21 Наличными: 0.00 Безнал.: 1000.17 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 82 07.04.2024 23:54 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000874657 ФД: 26783 ФПД: 274334340581404 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T235430&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26783&fm=274334340581404&tin=02508201610067®Number=0000000000091578&sum=100017 [23:54:19]StoreToDocumentArchive [23:54:19]shift 313 fd 26783 [23:54:19]save to /storage/0313/doc_00026783 [23:54:19]save last doc name /storage/0313/doc_00026783 to /storage/kkm_last_doc_name [23:54:19]save OK [23:54:19]Clear old archive folders... [23:54:19]ProcessDocumentItem done err = 0, tmpTLVsize=252 [23:54:19]tlvbuf is 00E555C0 [23:54:19]SAM_PROTO_ClearQueue [23:54:19]wFMCommunicate request_size=4 [23:54:19]MH_SAM_APDU [23:54:19]CAPDU: 80 09 00 00 [23:54:19]Write to MH i2c: E2 08 00 01 31 80 09 00 00 00 00 00 00 A4 [23:54:19]Write i2c OK [23:54:19]MH_I2C_Read... [23:54:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:54:19]Read from MH i2c: E2 [23:54:19]MH_I2C_Read... [23:54:19]Read from MH i2c: E2 03 00 [23:54:19]MH_I2C_Read... [23:54:19]Read from MH i2c: E2 03 00 01 31 00 90 00 A6 [23:54:19]RAPDU: 90 00 [23:54:19]wFMCommunicate OK [23:54:19]SAM_PROTO_ClearQueue done [23:54:19]KKMCreateOFDPacket [23:54:19]OFDProtocolAddRootSTLVToBuf [23:54:19]FM_MakeSignedData [23:54:19]FM_MakeSignedData [23:54:19]SAM_PROTO_SignData [23:54:19]wFMCommunicate request_size=4 [23:54:19]MH_SAM_APDU [23:54:19]CAPDU: 80 0D 01 02 [23:54:19]Write to MH i2c: E2 08 00 02 31 80 0D 01 02 00 00 00 00 AC [23:54:19]Write i2c OK [23:54:19]MH_I2C_Read... [23:54:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:54:19]Read from MH i2c: E2 [23:54:19]MH_I2C_Read... [23:54:19]Read from MH i2c: E2 03 00 [23:54:19]MH_I2C_Read... [23:54:19]Read from MH i2c: E2 03 00 02 31 00 90 00 A7 [23:54:19]RAPDU: 90 00 [23:54:19]wFMCommunicate OK [23:54:19]wFMCommunicate request_size=255 [23:54:19]MH_SAM_APDU [23:54:19]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 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 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 36 32 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 9F 68 00 00 35 04 06 00 [23:54:19]Write to MH i2c: E2 02 01 03 31 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 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 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 36 32 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 9F 68 00 00 35 04 06 00 00 00 FD [23:54:19]Write i2c OK [23:54:19]MH_I2C_Read... [23:54:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:54:19]Read from MH i2c: E2 [23:54:19]MH_I2C_Read... [23:54:19]Read from MH i2c: E2 03 00 [23:54:19]MH_I2C_Read... [23:54:19]Read from MH i2c: E2 03 00 03 31 00 90 00 A8 [23:54:19]RAPDU: 90 00 [23:54:19]wFMCommunicate OK [23:54:19]wFMCommunicate request_size=11 [23:54:19]MH_SAM_APDU [23:54:19]CAPDU: 80 0D 02 02 06 F9 81 70 EB 88 1C [23:54:19]Write to MH i2c: E2 0E 00 04 31 80 0D 02 02 06 00 F9 81 70 EB 88 1C 00 00 34 [23:54:19]Write i2c OK [23:54:19]MH_I2C_Read... [23:54:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:54:20]Read from MH i2c: E2 [23:54:20]MH_I2C_Read... [23:54:20]Read from MH i2c: E2 03 00 [23:54:20]MH_I2C_Read... [23:54:20]Read from MH i2c: E2 03 00 04 31 00 90 00 A9 [23:54:20]RAPDU: 90 00 [23:54:20]wFMCommunicate OK [23:54:20]wFMCommunicate request_size=4 [23:54:20]MH_SAM_APDU [23:54:20]CAPDU: 80 0D 03 02 [23:54:20]Write to MH i2c: E2 08 00 05 31 80 0D 03 02 00 00 00 00 B1 [23:54:20]Write i2c OK [23:54:20]MH_I2C_Read... [23:54:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:54:20]Read from MH i2c: E2 [23:54:20]MH_I2C_Read... [23:54:20]Read from MH i2c: E2 0B 00 [23:54:20]MH_I2C_Read... [23:54:20]Read from MH i2c: E2 0B 00 05 31 00 D3 FF 79 5F 7A 3B E6 21 90 00 18 [23:54:20]RAPDU: D3 FF 79 5F 7A 3B E6 21 90 00 [23:54:20]wFMCommunicate OK [23:54:20]SAM_PROTO_SignData done [23:54:20]FM_MakeSignedData done [23:54:20]CreateOFDProtocolMessage [23:54:20]wFMCommunicate request_size=4 [23:54:20]MH_SAM_APDU [23:54:20]CAPDU: 80 11 00 00 [23:54:20]Write to MH i2c: E2 08 00 06 31 80 11 00 00 00 00 00 00 B1 [23:54:20]Write i2c OK [23:54:20]MH_I2C_Read... [23:54:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:54:20]Read from MH i2c: E2 [23:54:20]MH_I2C_Read... [23:54:20]Read from MH i2c: E2 17 00 [23:54:20]MH_I2C_Read... [23:54:20]Read from MH i2c: E2 17 00 06 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 09 [23:54:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [23:54:20]wFMCommunicate OK [23:54:20]CreateOFDProtocolMessage done [23:54:20]OFDSenderStorePacket 26783 [23:54:20]StoreOFDPacket docnum=26783 [23:54:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 FE 71 08 01 22 E3 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 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 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 36 32 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 9F 68 00 00 35 04 06 00 F9 81 70 EB 88 1C D3 FF 79 5F 7A 3B E6 21 [23:54:20]CheckFolder [23:54:20]dirname=/storage/ofd_packets [23:54:20]CheckFolder done [23:54:20]ProducePacketName [23:54:20]name=ofd_packets/00026783 [23:54:20]NVStorageSaveData ofd_packets/00026783 [23:54:20]File name is /storage/ofd_packets/00026783 [23:54:20]Write 302 bytes [23:54:20]NVStorageSaveData done [23:54:20]OFDSenderStorePacket done [23:54:20]KKMCreateOFDPacket done [23:54:20]NVStorageSaveData kkm_last_timestamp [23:54:20]File name is /storage/kkm_last_timestamp [23:54:20]Write 4 bytes [23:54:20]NVStorageSaveData done [23:54:20]OFD Sender: Processing packet 26783 [packets to send 44, broken 43] [23:54:20]ProducePacketName [23:54:20]name=ofd_packets/00026783 [23:54:20]OFD Sender: To server: pG, [23:54:20]CommunicateWithHost lk.salyk.kg:30040 [23:54:20]ConnectInit lk.salyk.kg [23:54:20]ExternCall_PrintAddStr [23:54:20]wPrintStart [23:54:20]Write to MH i2c: 01 00 00 07 31 38 [23:54:20]Write i2c OK [23:54:20]MH_I2C_Read... [23:54:20]Read from MH i2c: 01 [23:54:20]MH_I2C_Read... [23:54:20]Read from MH i2c: 01 07 00 [23:54:20]MH_I2C_Read... [23:54:20]Read from MH i2c: 01 07 00 07 31 00 00 00 00 00 FF 0F 4D [23:54:20]RasterBufferAndPrint [23:54:20]line Счет N : (1)359526 [23:54:20]line ИНН: 02508201610067 [23:54:20]line Контрольно-Кассовый Чек [23:54:20]line ПРОДАЖА [23:54:20]line ТРК (МРК, ГНК) : 21 [23:54:20]line Товар: 2710194210 [23:54:20]line ДТ(л)-К-5 [23:54:20]line 13.930 * 71.80 [23:54:20]line = 1000.17 [23:54:20]line НДС 12% НСП 1% [23:54:20]line > о реализуемом товаре [23:54:20]line ИТОГО: 1000.17 [23:54:20]line НСП 1% : 8.85 [23:54:20]line НДС 12% : 106.21 [23:54:20]line Наличными: 0.00 [23:54:20]line Безнал.: 1000.17 [23:54:20]line Место: АЗС № 122 "Партнер Нефть" [23:54:20]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [23:54:20]line СНО: Общий режим [23:54:20]line Чек 82 07.04.2024 23:54 [23:54:20]line Смена: 313 ФФД: 1.0 [23:54:20]line ЗНМ: 0300000147 [23:54:20]line РНМ: 0000000000091578 [23:54:20]line Версия ККМ: 001 [23:54:20]line Платежная система: Бакай Банк [23:54:20]line ФМ: 0000000000874657 [23:54:20]line ФД: 26783 [23:54:20]line ФПД: 274334340581404 [23:54:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T235430&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26783&fm=274334340581404&tin=02508201610067®Number=0000000000091578&sum=100017 [23:54:20]Connected sock=11 [23:54: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 36 35 37 10 01 00 00 FE 71 08 01 22 E3 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 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 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 36 32 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 9F 68 00 00 35 04 06 00 F9 81 70 EB 88 1C D3 FF 79 5F 7A 3B E6 21 [23:54:20]written 0, free lines is 4095 [23:54:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 3C C5 47 00 10 0D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 37 10 04 04 00 9F 68 00 00 F4 03 04 00 A1 D9 12 66 B6 04 01 00 00 B6 1D DD 7D DF 96 CE 00 [23:54:20]CommunicateWithHost err = 0 [23:54:20]CheckOFDResponse [23:54:20]1017 (14) - 77093643461234 [23:54:20]1041 (16) - 0000000000874657 [23:54:20]1040 (4) - 26783 [23:54:20]1012 (4) - 07.04.2024 17:36 [23:54:20]1206 (1) - 0 [23:54:20]OFD Sender: Remove packet 26783 [23:54:20]ProducePacketName [23:54:20]name=ofd_packets/00026783 [23:54:20]NVStorageDeleteData [23:54:20]Write to MH i2c: 01 00 00 31 31 62 [23:54:20]Write i2c OK [23:54:20]MH_I2C_Read... [23:54:20]Read from MH i2c: 01 [23:54:20]MH_I2C_Read... [23:54:20]Read from MH i2c: 01 07 00 [23:54:20]MH_I2C_Read... [23:54:20]Read from MH i2c: 01 07 00 31 31 00 00 00 00 00 82 0C F7 [23:54:20]RasterBufferAndPrint [23:54:20]line [23:54:20]line [23:54:20]line [23:54:20]line [23:54:20]line [23:54:20]written 0, free lines is 3206 [23:54:20]MH_Cut [23:54:20]Write to MH i2c: D1 01 00 38 31 01 3B [23:54:20]Write i2c OK [23:54:20]MH_I2C_Read... [23:54:20]Read from MH i2c: D1 [23:54:20]MH_I2C_Read... [23:54:20]Read from MH i2c: D1 01 00 [23:54:20]MH_I2C_Read... [23:54:20]Read from MH i2c: D1 01 00 38 31 00 3A [23:54:20]Write to MH i2c: 01 00 00 39 31 6A [23:54:20]Write i2c OK [23:54:20]MH_I2C_Read... [23:54:21]OFD Sender: No OFD packet to send [23:54:22]*** Cut start [23:54:22]*** Partial cut [23:54:22]*** CUTSNS_PIN = 1 [23:54:22]*** CUTSNS_PIN = 0 [23:54:22]*** Brake cut motor [23:54:22]Read from MH i2c: 01 [23:54:22]MH_I2C_Read... [23:54:22]*** Stop cut motor [23:54:22]*** Cut end [23:54:22]Read from MH i2c: 01 07 00 [23:54:22]MH_I2C_Read... [23:54:22]Read from MH i2c: 01 07 00 39 31 00 00 00 00 00 FF 0F 7F [23:54:22]process_action close_receipt done [23:54:22]requested_data is exist [23:54:22]produce_requested_data [23:54:22]requested_item fm.sn is exist - process it [23:54:22]wFMCommunicate request_size=4 [23:54:22]MH_SAM_APDU [23:54:22]CAPDU: 80 11 00 00 [23:54:22]Write to MH i2c: E2 08 00 3A 31 80 11 00 00 00 00 00 00 E5 [23:54:22]Write i2c OK [23:54:22]MH_I2C_Read... [23:54:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:54:22]Read from MH i2c: E2 [23:54:22]MH_I2C_Read... [23:54:22]Read from MH i2c: E2 17 00 [23:54:22]MH_I2C_Read... [23:54:22]Read from MH i2c: E2 17 00 3A 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 3D [23:54:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [23:54:22]wFMCommunicate OK [23:54:22]requested_item fd.num is exist - process it [23:54:22]SAM_PROTO_GetFieldsCounters [23:54:22]wFMCommunicate request_size=4 [23:54:22]MH_SAM_APDU [23:54:22]CAPDU: 80 13 00 00 [23:54:22]Write to MH i2c: E2 08 00 3B 31 80 13 00 00 00 00 00 00 E8 [23:54:22]Write i2c OK [23:54:22]MH_I2C_Read... [23:54:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:54:22]Read from MH i2c: E2 [23:54:22]MH_I2C_Read... [23:54:22]Read from MH i2c: E2 62 00 [23:54:22]MH_I2C_Read... [23:54:22]Read from MH i2c: E2 62 00 3B 31 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 9F 68 00 00 0E 04 04 00 39 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 4A [23:54: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 9F 68 00 00 0E 04 04 00 39 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 [23:54:22]wFMCommunicate OK [23:54:22]SAM_PROTO_GetFieldsCounters done [23:54:22]requested_item shift.num is exist - process it [23:54:22]requested_item shift.opened is exist - process it [23:54:22]req_shift_opened [23:54:22]FM_GetShiftState [23:54:22]SAM_PROTO_GetShiftState [23:54:22]wFMCommunicate request_size=4 [23:54:22]MH_SAM_APDU [23:54:22]CAPDU: 80 13 01 00 [23:54:22]Write to MH i2c: E2 08 00 3C 31 80 13 01 00 00 00 00 00 EA [23:54:22]Write i2c OK [23:54:22]MH_I2C_Read... [23:54:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:54:23]Read from MH i2c: E2 [23:54:23]MH_I2C_Read... [23:54:23]Read from MH i2c: E2 0E 00 [23:54:23]MH_I2C_Read... [23:54:23]Read from MH i2c: E2 0E 00 3C 31 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 7E [23:54:23]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [23:54:23]wFMCommunicate OK [23:54:23]SAM_PROTO_GetShiftState done [23:54:23]FM_GetShiftState done [23:54:23]req_shift_opened done [23:54:23]requested_item shift.open_date is exist - process it [23:54:23]req_shift_open_date [23:54:23]req_shift_open_date done [23:54:23]produce_requested_data done [23:54:23]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26783,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [23:54:23]process_action_free close_receipt [23:54:23]json_value_free [23:54:23]json_value_free done [23:54:23]process_json_proto returns [23:54:23]Send response to host [23:54:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26783,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [23:54:23]free response buf [23:54:23]execute_script done [23:54:23]execute_script returns [23:54:23]free content buf [23:54:23]Sock 9.Close socket [23:54:23]Sock 9.Thread stoped [23:54:26]OFD Sender: No OFD packet to send [23:54:31]OFD Sender: No OFD packet to send [23:54:36]OFD Sender: No OFD packet to send [23:54:41]OFD Sender: No OFD packet to send [23:54:46]OFD Sender: No OFD packet to send [23:54:51]OFD Sender: No OFD packet to send [23:54:56]OFD Sender: No OFD packet to send [23:55:01]OFD Sender: No OFD packet to send [23:55:06]OFD Sender: No OFD packet to send [23:55:11]OFD Sender: No OFD packet to send [23:55:16]OFD Sender: No OFD packet to send [23:55:21]OFD Sender: No OFD packet to send [23:55:26]OFD Sender: No OFD packet to send [23:55:31]OFD Sender: No OFD packet to send [23:55:36]OFD Sender: No OFD packet to send [23:55:41]OFD Sender: No OFD packet to send [23:55:46]OFD Sender: No OFD packet to send [23:55:51]OFD Sender: No OFD packet to send [23:55:52]accept exits with 8 [23:55:52]New connection [23:55:52]New thread 3067014500 created [23:55:52]Thread 3066871140 joined [23:55:52]Waiting for new connection... [23:55:52] Sock 8.Parse request [23:55:52]Sock 8.Check first char [23:55:52]Sock 8.First char is OK [23:55:52]request: POST /json_proto HTTP/1.0 [23:55:52]Method: POST [23:55:52]URL: /json_proto [23:55:52]Method is POST - this is cgi request [23:55:52]url: /json_proto [23:55:52]query_string will be loaded in cgi processing [23:55:52]execute_cgi json_proto POST (null) [23:55:52]execute_cgi path=json_proto method=POST [23:55:52]POST find Content-Length [23:55:52]Host: 172.17.35.3:8080 [23:55:52]Content-Length: 824 [23:55:52]Content-Type: application/json [23:55:52] [23:55:52]POST finish read [23:55:52]Found Content-Length = 824 [23:55:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359527", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 34.820, "sum" : 2500.08, "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" : 2500.08 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:55:52]execute_script... [23:55:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359527", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 34.820, "sum" : 2500.08, "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" : 2500.08 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:55:52]POST & json_proto [23:55:52]process_json_proto [23:55:52]json parsed OK: [23:55:52]protocol is kg_v1.0 [23:55:52]action value=close_receipt [23:55:52]process_action close_receipt [23:55:52]cmd_close_receipt [23:55:52]MH_GetDate [23:55:52]Write to MH i2c: F0 00 00 3D 31 5D [23:55:52]Write i2c OK [23:55:52]MH_I2C_Read... [23:55:52]Read from MH i2c: F0 [23:55:52]MH_I2C_Read... [23:55:52]Read from MH i2c: F0 09 00 [23:55:52]MH_I2C_Read... [23:55:52]Read from MH i2c: F0 09 00 3D 31 00 94 32 13 66 2B 11 66 64 AB [23:55:52]GetLastDocTimeStamp 1712534070 [23:55:52]current date 1712534164 [23:55:52]FM_GetShiftState [23:55:52]SAM_PROTO_GetShiftState [23:55:52]wFMCommunicate request_size=4 [23:55:52]MH_SAM_APDU [23:55:52]CAPDU: 80 13 01 00 [23:55:52]Write to MH i2c: E2 08 00 3E 31 80 13 01 00 00 00 00 00 EC [23:55:52]Write i2c OK [23:55:52]MH_I2C_Read... [23:55:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:55:52]Read from MH i2c: E2 [23:55:52]MH_I2C_Read... [23:55:52]Read from MH i2c: E2 0E 00 [23:55:52]MH_I2C_Read... [23:55:52]Read from MH i2c: E2 0E 00 3E 31 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 80 [23:55:52]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [23:55:52]wFMCommunicate OK [23:55:52]SAM_PROTO_GetShiftState done [23:55:52]FM_GetShiftState done [23:55:52]opened in 1712450087 [23:55:52]opened+sec_in_day 1712536487 [23:55:52]quantity*price = 250007 [23:55:52]sum+1 = 250009 [23:55:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 2500.08 НСП 1% : 22.12 НДС 12% : 265.49 Наличными: 0.00 Безнал.: 2500.08 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 83 07.04.2024 23:56 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000874657 ФД: 26784 ФПД: 27120770089849 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T235604&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26784&fm=27120770089849&tin=02508201610067®Number=0000000000091578&sum=250008 [23:55:53]StoreToDocumentArchive [23:55:53]shift 313 fd 26784 [23:55:53]save to /storage/0313/doc_00026784 [23:55:53]save last doc name /storage/0313/doc_00026784 to /storage/kkm_last_doc_name [23:55:53]save OK [23:55:53]Clear old archive folders... [23:55:53]ProcessDocumentItem done err = 0, tmpTLVsize=252 [23:55:53]tlvbuf is B6EE9940 [23:55:53]SAM_PROTO_ClearQueue [23:55:53]wFMCommunicate request_size=4 [23:55:53]MH_SAM_APDU [23:55:53]CAPDU: 80 09 00 00 [23:55:53]Write to MH i2c: E2 08 00 4B 31 80 09 00 00 00 00 00 00 EE [23:55:53]Write i2c OK [23:55:53]MH_I2C_Read... [23:55:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:55:53]Read from MH i2c: E2 [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: E2 03 00 [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: E2 03 00 4B 31 00 90 00 F0 [23:55:53]RAPDU: 90 00 [23:55:53]wFMCommunicate OK [23:55:53]SAM_PROTO_ClearQueue done [23:55:53]KKMCreateOFDPacket [23:55:53]OFDProtocolAddRootSTLVToBuf [23:55:53]FM_MakeSignedData [23:55:53]FM_MakeSignedData [23:55:53]SAM_PROTO_SignData [23:55:53]wFMCommunicate request_size=4 [23:55:53]MH_SAM_APDU [23:55:53]CAPDU: 80 0D 01 02 [23:55:53]Write to MH i2c: E2 08 00 4C 31 80 0D 01 02 00 00 00 00 F6 [23:55:53]Write i2c OK [23:55:53]MH_I2C_Read... [23:55:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:55:53]Read from MH i2c: E2 [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: E2 03 00 [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: E2 03 00 4C 31 00 90 00 F1 [23:55:53]RAPDU: 90 00 [23:55:53]wFMCommunicate OK [23:55:53]wFMCommunicate request_size=255 [23:55:53]MH_SAM_APDU [23:55:53]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 04 88 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 98 D0 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 D0 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 67 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 D0 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 94 32 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A0 68 00 00 35 04 06 00 [23:55:53]Write to MH i2c: E2 02 01 4D 31 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 04 88 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 98 D0 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 D0 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 67 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 D0 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 94 32 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A0 68 00 00 35 04 06 00 00 00 D6 [23:55:53]Write i2c OK [23:55:53]MH_I2C_Read... [23:55:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:55:53]Read from MH i2c: E2 [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: E2 03 00 [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: E2 03 00 4D 31 00 90 00 F2 [23:55:53]RAPDU: 90 00 [23:55:53]wFMCommunicate OK [23:55:53]wFMCommunicate request_size=11 [23:55:53]MH_SAM_APDU [23:55:53]CAPDU: 80 0D 02 02 06 18 AA 8B DE 03 79 [23:55:53]Write to MH i2c: E2 0E 00 4E 31 80 0D 02 02 06 00 18 AA 8B DE 03 79 00 00 AC [23:55:53]Write i2c OK [23:55:53]MH_I2C_Read... [23:55:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:55:53]Read from MH i2c: E2 [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: E2 03 00 [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: E2 03 00 4E 31 00 90 00 F3 [23:55:53]RAPDU: 90 00 [23:55:53]wFMCommunicate OK [23:55:53]wFMCommunicate request_size=4 [23:55:53]MH_SAM_APDU [23:55:53]CAPDU: 80 0D 03 02 [23:55:53]Write to MH i2c: E2 08 00 4F 31 80 0D 03 02 00 00 00 00 FB [23:55:53]Write i2c OK [23:55:53]MH_I2C_Read... [23:55:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:55:53]Read from MH i2c: E2 [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: E2 0B 00 [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: E2 0B 00 4F 31 00 D2 D2 58 D6 A9 F9 5E B9 90 00 87 [23:55:53]RAPDU: D2 D2 58 D6 A9 F9 5E B9 90 00 [23:55:53]wFMCommunicate OK [23:55:53]SAM_PROTO_SignData done [23:55:53]FM_MakeSignedData done [23:55:53]CreateOFDProtocolMessage [23:55:53]wFMCommunicate request_size=4 [23:55:53]MH_SAM_APDU [23:55:53]CAPDU: 80 11 00 00 [23:55:53]Write to MH i2c: E2 08 00 50 31 80 11 00 00 00 00 00 00 FB [23:55:53]Write i2c OK [23:55:53]MH_I2C_Read... [23:55:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:55:53]Read from MH i2c: E2 [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: E2 17 00 [23:55:53]MH_I2C_Read... [23:55:54]Read from MH i2c: E2 17 00 50 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 53 [23:55:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [23:55:54]wFMCommunicate OK [23:55:54]CreateOFDProtocolMessage done [23:55:54]OFDSenderStorePacket 26784 [23:55:54]StoreOFDPacket docnum=26784 [23:55:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 F8 3C 08 01 B8 C5 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 04 88 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 98 D0 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 D0 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 67 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 D0 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 94 32 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A0 68 00 00 35 04 06 00 18 AA 8B DE 03 79 D2 D2 58 D6 A9 F9 5E B9 [23:55:54]CheckFolder [23:55:54]dirname=/storage/ofd_packets [23:55:54]CheckFolder done [23:55:54]ProducePacketName [23:55:54]name=ofd_packets/00026784 [23:55:54]NVStorageSaveData ofd_packets/00026784 [23:55:54]File name is /storage/ofd_packets/00026784 [23:55:54]Write 302 bytes [23:55:54]NVStorageSaveData done [23:55:54]OFDSenderStorePacket done [23:55:54]KKMCreateOFDPacket done [23:55:54]NVStorageSaveData kkm_last_timestamp [23:55:54]File name is /storage/kkm_last_timestamp [23:55:54]Write 4 bytes [23:55:54]NVStorageSaveData done [23:55:54]ExternCall_PrintAddStr [23:55:54]wPrintStart [23:55:54]Write to MH i2c: 01 00 00 51 31 82 [23:55:54]Write i2c OK [23:55:54]MH_I2C_Read... [23:55:54]Read from MH i2c: 01 [23:55:54]MH_I2C_Read... [23:55:54]Read from MH i2c: 01 07 00 [23:55:54]MH_I2C_Read... [23:55:54]Read from MH i2c: 01 07 00 51 31 00 00 00 00 00 FF 0F 97 [23:55:54]RasterBufferAndPrint [23:55:54]line Счет N : (1)359527 [23:55:54]line ИНН: 02508201610067 [23:55:54]line Контрольно-Кассовый Чек [23:55:54]line ПРОДАЖА [23:55:54]line ТРК (МРК, ГНК) : 21 [23:55:54]line Товар: 2710194210 [23:55:54]line ДТ(л)-К-5 [23:55:54]line 34.820 * 71.80 [23:55:54]line = 2500.08 [23:55:54]line НДС 12% НСП 1% [23:55:54]line > о реализуемом товаре [23:55:54]line ИТОГО: 2500.08 [23:55:54]line НСП 1% : 22.12 [23:55:54]line НДС 12% : 265.49 [23:55:54]line Наличными: 0.00 [23:55:54]line Безнал.: 2500.08 [23:55:54]line Место: АЗС № 122 "Партнер Нефть" [23:55:54]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [23:55:54]line СНО: Общий режим [23:55:54]line Чек 83 07.04.2024 23:56 [23:55:54]line Смена: 313 ФФД: 1.0 [23:55:54]line ЗНМ: 0300000147 [23:55:54]line РНМ: 0000000000091578 [23:55:54]line Версия ККМ: 001 [23:55:54]line Платежная система: Бакай Банк [23:55:54]line ФМ: 0000000000874657 [23:55:54]line ФД: 26784 [23:55:54]line ФПД: 27120770089849 [23:55:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T235604&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26784&fm=27120770089849&tin=02508201610067®Number=0000000000091578&sum=250008 [23:55:54]OFD Sender: Processing packet 26784 [packets to send 44, broken 43] [23:55:54]ProducePacketName [23:55:54]name=ofd_packets/00026784 [23:55:54]OFD Sender: To server: pG, [23:55:54]CommunicateWithHost lk.salyk.kg:30040 [23:55:54]ConnectInit lk.salyk.kg [23:55:54]written 0, free lines is 4095 [23:55:54]Write to MH i2c: 01 00 00 7B 31 AC [23:55:54]Write i2c OK [23:55:54]MH_I2C_Read... [23:55:54]Read from MH i2c: 01 [23:55:54]MH_I2C_Read... [23:55:54]Read from MH i2c: 01 07 00 [23:55:54]MH_I2C_Read... [23:55:54]Read from MH i2c: 01 07 00 7B 31 00 00 00 00 00 89 0C 48 [23:55:54]RasterBufferAndPrint [23:55:54]line [23:55:54]line [23:55:54]line [23:55:54]line [23:55:54]line [23:55:54]written 0, free lines is 3212 [23:55:54]MH_Cut [23:55:54]Write to MH i2c: D1 01 00 82 31 01 85 [23:55:54]Write i2c OK [23:55:54]MH_I2C_Read... [23:55:54]Read from MH i2c: D1 [23:55:54]MH_I2C_Read... [23:55:54]Read from MH i2c: D1 01 00 [23:55:54]MH_I2C_Read... [23:55:54]Read from MH i2c: D1 01 00 82 31 00 84 [23:55:54]Write to MH i2c: 01 00 00 83 31 B4 [23:55:54]Write i2c OK [23:55:54]MH_I2C_Read... [23:55:55]*** Cut start [23:55:55]*** Partial cut [23:55:55]*** CUTSNS_PIN = 1 [23:55:56]*** CUTSNS_PIN = 0 [23:55:56]*** Brake cut motor [23:55:56]Read from MH i2c: 01 [23:55:56]MH_I2C_Read... [23:55:56]*** Stop cut motor [23:55:56]*** Cut end [23:55:56]Read from MH i2c: 01 07 00 [23:55:56]MH_I2C_Read... [23:55:56]Read from MH i2c: 01 07 00 83 31 00 00 00 00 00 FF 0F C9 [23:55:56]process_action close_receipt done [23:55:56]requested_data is exist [23:55:56]produce_requested_data [23:55:56]requested_item fm.sn is exist - process it [23:55:56]wFMCommunicate request_size=4 [23:55:56]MH_SAM_APDU [23:55:56]CAPDU: 80 11 00 00 [23:55:56]Write to MH i2c: E2 08 00 84 31 80 11 00 00 00 00 00 00 2F [23:55:56]Write i2c OK [23:55:56]MH_I2C_Read... [23:55:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:55:56]Read from MH i2c: E2 [23:55:56]MH_I2C_Read... [23:55:56]Read from MH i2c: E2 17 00 [23:55:56]MH_I2C_Read... [23:55:56]Read from MH i2c: E2 17 00 84 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 87 [23:55:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [23:55:56]wFMCommunicate OK [23:55:56]requested_item fd.num is exist - process it [23:55:56]SAM_PROTO_GetFieldsCounters [23:55:56]wFMCommunicate request_size=4 [23:55:56]MH_SAM_APDU [23:55:56]CAPDU: 80 13 00 00 [23:55:56]Write to MH i2c: E2 08 00 85 31 80 13 00 00 00 00 00 00 32 [23:55:56]Write i2c OK [23:55:56]MH_I2C_Read... [23:55:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:55:56]Read from MH i2c: E2 [23:55:56]MH_I2C_Read... [23:55:56]Read from MH i2c: E2 62 00 [23:55:56]MH_I2C_Read... [23:55:56]Read from MH i2c: E2 62 00 85 31 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A0 68 00 00 0E 04 04 00 39 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 98 [23:55:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A0 68 00 00 0E 04 04 00 39 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 [23:55:56]wFMCommunicate OK [23:55:56]SAM_PROTO_GetFieldsCounters done [23:55:56]requested_item shift.num is exist - process it [23:55:56]requested_item shift.opened is exist - process it [23:55:56]req_shift_opened [23:55:56]FM_GetShiftState [23:55:56]SAM_PROTO_GetShiftState [23:55:56]wFMCommunicate request_size=4 [23:55:56]MH_SAM_APDU [23:55:56]CAPDU: 80 13 01 00 [23:55:56]Write to MH i2c: E2 08 00 86 31 80 13 01 00 00 00 00 00 34 [23:55:56]Write i2c OK [23:55:56]MH_I2C_Read... [23:55:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:55:56]Read from MH i2c: E2 [23:55:56]MH_I2C_Read... [23:55:56]Read from MH i2c: E2 0E 00 [23:55:56]MH_I2C_Read... [23:55:56]Read from MH i2c: E2 0E 00 86 31 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 C8 [23:55:56]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [23:55:56]wFMCommunicate OK [23:55:56]SAM_PROTO_GetShiftState done [23:55:56]FM_GetShiftState done [23:55:56]req_shift_opened done [23:55:56]requested_item shift.open_date is exist - process it [23:55:56]req_shift_open_date [23:55:56]req_shift_open_date done [23:55:56]produce_requested_data done [23:55:56]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26784,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [23:55:56]process_action_free close_receipt [23:55:56]json_value_free [23:55:56]json_value_free done [23:55:56]process_json_proto returns [23:55:56]Send response to host [23:55:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26784,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [23:55:56]free response buf [23:55:56]execute_script done [23:55:56]execute_script returns [23:55:56]free content buf [23:55:56]Sock 8.Close socket [23:55:56]Sock 8.Thread stoped [23:58:03]ConnectInit Can't connect to host [23:58:03]CommunicateWithHost connect error [23:58:03]CommunicateWithHost err = -1 [23:58:03]OFD Sender: Server communicate error [23:58:08]OFD Sender: Processing packet 26784 [packets to send 44, broken 43] [23:58:08]ProducePacketName [23:58:08]name=ofd_packets/00026784 [23:58:08]OFD Sender: To server: pG, [23:58:08]CommunicateWithHost lk.salyk.kg:30040 [23:58:08]ConnectInit lk.salyk.kg [23:58:09]Connected sock=8 [23:58: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 36 35 37 10 01 00 00 F8 3C 08 01 B8 C5 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 04 88 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 98 D0 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 D0 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 67 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 D0 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 94 32 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A0 68 00 00 35 04 06 00 18 AA 8B DE 03 79 D2 D2 58 D6 A9 F9 5E B9 [23:58:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 08 C7 47 00 20 8F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 37 10 04 04 00 A0 68 00 00 F4 03 04 00 86 DA 12 66 B6 04 01 00 00 F8 FC B9 3F 90 FA EA 3A [23:58:09]CommunicateWithHost err = 0 [23:58:09]CheckOFDResponse [23:58:09]1017 (14) - 77093643461234 [23:58:09]1041 (16) - 0000000000874657 [23:58:09]1040 (4) - 26784 [23:58:09]1012 (4) - 07.04.2024 17:40 [23:58:09]1206 (1) - 0 [23:58:09]OFD Sender: Remove packet 26784 [23:58:09]ProducePacketName [23:58:09]name=ofd_packets/00026784 [23:58:09]NVStorageDeleteData [23:58:09]OFD Sender: No OFD packet to send [23:58:14]OFD Sender: No OFD packet to send [23:58:19]OFD Sender: No OFD packet to send [23:58:24]OFD Sender: No OFD packet to send [23:58:29]OFD Sender: No OFD packet to send [23:58:34]OFD Sender: No OFD packet to send [23:58:39]OFD Sender: No OFD packet to send [23:58:44]OFD Sender: No OFD packet to send [23:58:49]OFD Sender: No OFD packet to send [23:58:54]OFD Sender: No OFD packet to send [23:58:59]OFD Sender: No OFD packet to send [23:59:03]accept exits with 9 [23:59:03]New connection [23:59:03]New thread 3066871140 created [23:59:03]Thread 3067014500 joined [23:59:03]Waiting for new connection... [23:59:03] Sock 9.Parse request [23:59:03]Sock 9.Check first char [23:59:03]Sock 9.First char is OK [23:59:03]request: POST /json_proto HTTP/1.0 [23:59:03]Method: POST [23:59:03]URL: /json_proto [23:59:03]Method is POST - this is cgi request [23:59:03]url: /json_proto [23:59:03]query_string will be loaded in cgi processing [23:59:03]execute_cgi json_proto POST (null) [23:59:03]execute_cgi path=json_proto method=POST [23:59:03]POST find Content-Length [23:59:03]Host: 172.17.35.3:8080 [23:59:03]Content-Length: 678 [23:59:03]Content-Type: application/json [23:59:03] [23:59:03]POST finish read [23:59:03]Found Content-Length = 678 [23:59:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359528", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 10.260, "sum" : 650.48, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 650.00, "total" : 650.00, "payments": [ { "type": 0, "sum" : 650.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:03]execute_script... [23:59: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 : (1)359528", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 10.260, "sum" : 650.48, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 650.00, "total" : 650.00, "payments": [ { "type": 0, "sum" : 650.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:03]POST & json_proto [23:59:03]process_json_proto [23:59:03]json parsed OK: [23:59:03]protocol is kg_v1.0 [23:59:03]action value=close_receipt [23:59:03]process_action close_receipt [23:59:03]cmd_close_receipt [23:59:03]MH_GetDate [23:59:03]Write to MH i2c: F0 00 00 87 31 A7 [23:59:03]Write i2c OK [23:59:03]MH_I2C_Read... [23:59:03]Read from MH i2c: F0 [23:59:03]MH_I2C_Read... [23:59:03]Read from MH i2c: F0 09 00 [23:59:03]MH_I2C_Read... [23:59:03]Read from MH i2c: F0 09 00 87 31 00 52 33 13 66 2B 11 66 64 B4 [23:59:03]GetLastDocTimeStamp 1712534164 [23:59:03]current date 1712534354 [23:59:03]FM_GetShiftState [23:59:03]SAM_PROTO_GetShiftState [23:59:03]wFMCommunicate request_size=4 [23:59:03]MH_SAM_APDU [23:59:03]CAPDU: 80 13 01 00 [23:59:03]Write to MH i2c: E2 08 00 88 31 80 13 01 00 00 00 00 00 36 [23:59:03]Write i2c OK [23:59:03]MH_I2C_Read... [23:59:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:59:03]Read from MH i2c: E2 [23:59:03]MH_I2C_Read... [23:59:03]Read from MH i2c: E2 0E 00 [23:59:03]MH_I2C_Read... [23:59:03]Read from MH i2c: E2 0E 00 88 31 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 CA [23:59:03]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [23:59:03]wFMCommunicate OK [23:59:03]SAM_PROTO_GetShiftState done [23:59:03]FM_GetShiftState done [23:59:03]opened in 1712450087 [23:59:03]opened+sec_in_day 1712536487 [23:59:03]quantity*price = 65048 [23:59:03]sum+1 = 65049 [23:59:03]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.48 ИТОГО: 650.00 Внесено: 650.00 СДАЧА: 0.00 НСП 1% : 5.76 НДС 12% : 69.08 Наличными: 650.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 84 07.04.2024 23:59 Смена: 313 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26785 ФПД: 101710292761412 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T235914&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26785&fm=101710292761412&tin=02508201610067®Number=0000000000091578&sum=65000 [23:59:04]StoreToDocumentArchive [23:59:04]shift 313 fd 26785 [23:59:04]save to /storage/0313/doc_00026785 [23:59:04]save last doc name /storage/0313/doc_00026785 to /storage/kkm_last_doc_name [23:59:04]save OK [23:59:04]Clear old archive folders... [23:59:04]ProcessDocumentItem done err = 0, tmpTLVsize=251 [23:59:04]tlvbuf is 00E9A5D0 [23:59:04]SAM_PROTO_ClearQueue [23:59:04]wFMCommunicate request_size=4 [23:59:04]MH_SAM_APDU [23:59:04]CAPDU: 80 09 00 00 [23:59:04]Write to MH i2c: E2 08 00 95 31 80 09 00 00 00 00 00 00 38 [23:59:04]Write i2c OK [23:59:04]MH_I2C_Read... [23:59:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:59:04]Read from MH i2c: E2 [23:59:04]MH_I2C_Read... [23:59:04]Read from MH i2c: E2 03 00 [23:59:04]MH_I2C_Read... [23:59:04]Read from MH i2c: E2 03 00 95 31 00 90 00 3A [23:59:04]RAPDU: 90 00 [23:59:04]wFMCommunicate OK [23:59:04]SAM_PROTO_ClearQueue done [23:59:04]KKMCreateOFDPacket [23:59:04]OFDProtocolAddRootSTLVToBuf [23:59:04]FM_MakeSignedData [23:59:04]FM_MakeSignedData [23:59:04]SAM_PROTO_SignData [23:59:04]wFMCommunicate request_size=4 [23:59:04]MH_SAM_APDU [23:59:04]CAPDU: 80 0D 01 02 [23:59:04]Write to MH i2c: E2 08 00 96 31 80 0D 01 02 00 00 00 00 40 [23:59:04]Write i2c OK [23:59:04]MH_I2C_Read... [23:59:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:59:04]Read from MH i2c: E2 [23:59:04]MH_I2C_Read... [23:59:04]Read from MH i2c: E2 03 00 [23:59:04]MH_I2C_Read... [23:59:04]Read from MH i2c: E2 03 00 96 31 00 90 00 3B [23:59:04]RAPDU: 90 00 [23:59:04]wFMCommunicate OK [23:59:04]wFMCommunicate request_size=255 [23:59:04]MH_SAM_APDU [23:59:04]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 14 28 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 18 FE 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 40 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 1A 00 00 00 00 07 04 06 00 E8 FD 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 52 33 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A1 68 00 00 35 04 06 00 5C [23:59:04]Write to MH i2c: E2 02 01 97 31 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 14 28 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 18 FE 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 40 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 1A 00 00 00 00 07 04 06 00 E8 FD 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 52 33 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A1 68 00 00 35 04 06 00 5C 00 00 95 [23:59:04]Write i2c OK [23:59:04]MH_I2C_Read... [23:59:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:59:04]Read from MH i2c: E2 [23:59:04]MH_I2C_Read... [23:59:04]Read from MH i2c: E2 03 00 [23:59:04]MH_I2C_Read... [23:59:04]Read from MH i2c: E2 03 00 97 31 00 90 00 3C [23:59:04]RAPDU: 90 00 [23:59:04]wFMCommunicate OK [23:59:04]wFMCommunicate request_size=10 [23:59:04]MH_SAM_APDU [23:59:04]CAPDU: 80 0D 02 02 05 81 45 DE BB 44 [23:59:04]Write to MH i2c: E2 0D 00 98 31 80 0D 02 02 05 00 81 45 DE BB 44 00 00 F0 [23:59:04]Write i2c OK [23:59:04]MH_I2C_Read... [23:59:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:59:04]Read from MH i2c: E2 [23:59:04]MH_I2C_Read... [23:59:04]Read from MH i2c: E2 03 00 [23:59:04]MH_I2C_Read... [23:59:04]Read from MH i2c: E2 03 00 98 31 00 90 00 3D [23:59:04]RAPDU: 90 00 [23:59:04]wFMCommunicate OK [23:59:04]wFMCommunicate request_size=4 [23:59:04]MH_SAM_APDU [23:59:04]CAPDU: 80 0D 03 02 [23:59:04]Write to MH i2c: E2 08 00 99 31 80 0D 03 02 00 00 00 00 45 [23:59:04]Write i2c OK [23:59:04]MH_I2C_Read... [23:59:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:59:04]OFD Sender: No OFD packet to send [23:59:04]Read from MH i2c: E2 [23:59:04]MH_I2C_Read... [23:59:04]Read from MH i2c: E2 0B 00 [23:59:04]MH_I2C_Read... [23:59:04]Read from MH i2c: E2 0B 00 99 31 00 6A 9B 98 B5 66 B6 62 D6 90 00 EC [23:59:04]RAPDU: 6A 9B 98 B5 66 B6 62 D6 90 00 [23:59:04]wFMCommunicate OK [23:59:04]SAM_PROTO_SignData done [23:59:04]FM_MakeSignedData done [23:59:04]CreateOFDProtocolMessage [23:59:04]wFMCommunicate request_size=4 [23:59:04]MH_SAM_APDU [23:59:04]CAPDU: 80 11 00 00 [23:59:04]Write to MH i2c: E2 08 00 9A 31 80 11 00 00 00 00 00 00 45 [23:59:04]Write i2c OK [23:59:04]MH_I2C_Read... [23:59:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:59:04]Read from MH i2c: E2 [23:59:04]MH_I2C_Read... [23:59:04]Read from MH i2c: E2 17 00 [23:59:04]MH_I2C_Read... [23:59:04]Read from MH i2c: E2 17 00 9A 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 9D [23:59:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [23:59:04]wFMCommunicate OK [23:59:04]CreateOFDProtocolMessage done [23:59:04]OFDSenderStorePacket 26785 [23:59:04]StoreOFDPacket docnum=26785 [23:59:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 BA 6E 07 01 44 6E 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 14 28 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 18 FE 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 40 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 1A 00 00 00 00 07 04 06 00 E8 FD 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 52 33 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A1 68 00 00 35 04 06 00 5C 81 45 DE BB 44 6A 9B 98 B5 66 B6 62 D6 [23:59:04]CheckFolder [23:59:04]dirname=/storage/ofd_packets [23:59:04]CheckFolder done [23:59:04]ProducePacketName [23:59:04]name=ofd_packets/00026785 [23:59:04]NVStorageSaveData ofd_packets/00026785 [23:59:04]File name is /storage/ofd_packets/00026785 [23:59:04]Write 301 bytes [23:59:04]NVStorageSaveData done [23:59:04]OFDSenderStorePacket done [23:59:04]KKMCreateOFDPacket done [23:59:04]NVStorageSaveData kkm_last_timestamp [23:59:04]File name is /storage/kkm_last_timestamp [23:59:04]Write 4 bytes [23:59:04]NVStorageSaveData done [23:59:04]ExternCall_PrintAddStr [23:59:04]wPrintStart [23:59:04]Write to MH i2c: 01 00 00 9B 31 CC [23:59:04]Write i2c OK [23:59:04]MH_I2C_Read... [23:59:04]Read from MH i2c: 01 [23:59:04]MH_I2C_Read... [23:59:04]Read from MH i2c: 01 07 00 [23:59:04]MH_I2C_Read... [23:59:04]Read from MH i2c: 01 07 00 9B 31 00 00 00 00 00 FF 0F E1 [23:59:04]RasterBufferAndPrint [23:59:04]line Счет N : (1)359528 [23:59:04]line ИНН: 02508201610067 [23:59:04]line Контрольно-Кассовый Чек [23:59:04]line ПРОДАЖА [23:59:04]line ТРК (МРК, ГНК) : 61 [23:59:04]line Товар: 2710124130 [23:59:04]line Аи-92-К-5 [23:59:04]line 10.260 * 63.40 [23:59:04]line = 650.48 [23:59:04]line НДС 12% НСП 1% [23:59:04]line > о реализуемом товаре [23:59:04]line ОКРУГЛЕНИЕ: -0.48 [23:59:04]line ИТОГО: 650.00 [23:59:04]line Внесено: 650.00 [23:59:04]line СДАЧА: 0.00 [23:59:04]line НСП 1% : 5.76 [23:59:04]line НДС 12% : 69.08 [23:59:04]line Наличными: 650.00 [23:59:04]line Безнал.: 0.00 [23:59:04]line Место: АЗС № 122 "Партнер Нефть" [23:59:04]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [23:59:04]line СНО: Общий режим [23:59:04]line Чек 84 07.04.2024 23:59 [23:59:04]line Смена: 313 ФФД: 1.0 [23:59:04]line ЗНМ: 0300000147 [23:59:04]line РНМ: 0000000000091578 [23:59:04]line Версия ККМ: 001 [23:59:04]line ФМ: 0000000000874657 [23:59:04]line ФД: 26785 [23:59:04]line ФПД: 101710292761412 [23:59:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240407T235914&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26785&fm=101710292761412&tin=02508201610067®Number=0000000000091578&sum=65000 [23:59:05]OFD Sender: Processing packet 26785 [packets to send 44, broken 43] [23:59:05]ProducePacketName [23:59:05]name=ofd_packets/00026785 [23:59:05]OFD Sender: To server: pG, [23:59:05]CommunicateWithHost lk.salyk.kg:30040 [23:59:05]ConnectInit lk.salyk.kg [23:59:05]written 0, free lines is 4095 [23:59:05]Connected sock=10 [23:59: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 36 35 37 0F 01 00 00 BA 6E 07 01 44 6E 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 14 28 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 18 FE 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 40 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 1A 00 00 00 00 07 04 06 00 E8 FD 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 52 33 13 66 0E 04 04 00 39 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A1 68 00 00 35 04 06 00 5C 81 45 DE BB 44 6A 9B 98 B5 66 B6 62 D6 [23:59:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 67 6E 47 00 81 6A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A1 68 00 00 F4 03 04 00 BE DA 12 66 B6 04 01 00 00 6B A0 C7 2E F4 38 0E FA [23:59:05]CommunicateWithHost err = 0 [23:59:05]CheckOFDResponse [23:59:05]1017 (14) - 77093643461234 [23:59:05]1041 (16) - 0000000000874657 [23:59:05]1040 (4) - 26785 [23:59:05]1012 (4) - 07.04.2024 17:41 [23:59:05]1206 (1) - 0 [23:59:05]OFD Sender: Remove packet 26785 [23:59:05]ProducePacketName [23:59:05]name=ofd_packets/00026785 [23:59:05]NVStorageDeleteData [23:59:05]Write to MH i2c: 01 00 00 C6 31 F7 [23:59:05]Write i2c OK [23:59:05]MH_I2C_Read... [23:59:05]Read from MH i2c: 01 [23:59:05]MH_I2C_Read... [23:59:05]Read from MH i2c: 01 07 00 [23:59:05]MH_I2C_Read... [23:59:05]Read from MH i2c: 01 07 00 C6 31 00 00 00 00 00 78 0C 82 [23:59:05]RasterBufferAndPrint [23:59:05]line [23:59:05]line [23:59:05]line [23:59:05]line [23:59:05]line [23:59:05]written 0, free lines is 3195 [23:59:05]MH_Cut [23:59:05]Write to MH i2c: D1 01 00 CD 31 01 D0 [23:59:05]Write i2c OK [23:59:05]MH_I2C_Read... [23:59:05]Read from MH i2c: D1 [23:59:05]MH_I2C_Read... [23:59:05]Read from MH i2c: D1 01 00 [23:59:05]MH_I2C_Read... [23:59:05]Read from MH i2c: D1 01 00 CD 31 00 CF [23:59:05]Write to MH i2c: 01 00 00 CE 31 FF [23:59:05]Write i2c OK [23:59:05]MH_I2C_Read... [23:59:05]OFD Sender: No OFD packet to send [23:59:06]*** Cut start [23:59:06]*** Partial cut [23:59:06]*** CUTSNS_PIN = 1 [23:59:06]*** CUTSNS_PIN = 0 [23:59:07]*** Brake cut motor [23:59:07]Read from MH i2c: 01 [23:59:07]MH_I2C_Read... [23:59:07]*** Stop cut motor [23:59:07]*** Cut end [23:59:07]Read from MH i2c: 01 07 00 [23:59:07]MH_I2C_Read... [23:59:07]Read from MH i2c: 01 07 00 CE 31 00 00 00 00 00 FF 0F 14 [23:59:07]process_action close_receipt done [23:59:07]requested_data is exist [23:59:07]produce_requested_data [23:59:07]requested_item fm.sn is exist - process it [23:59:07]wFMCommunicate request_size=4 [23:59:07]MH_SAM_APDU [23:59:07]CAPDU: 80 11 00 00 [23:59:07]Write to MH i2c: E2 08 00 CF 31 80 11 00 00 00 00 00 00 7A [23:59:07]Write i2c OK [23:59:07]MH_I2C_Read... [23:59:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:59:07]Read from MH i2c: E2 [23:59:07]MH_I2C_Read... [23:59:07]Read from MH i2c: E2 17 00 [23:59:07]MH_I2C_Read... [23:59:07]Read from MH i2c: E2 17 00 CF 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 D2 [23:59:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [23:59:07]wFMCommunicate OK [23:59:07]requested_item fd.num is exist - process it [23:59:07]SAM_PROTO_GetFieldsCounters [23:59:07]wFMCommunicate request_size=4 [23:59:07]MH_SAM_APDU [23:59:07]CAPDU: 80 13 00 00 [23:59:07]Write to MH i2c: E2 08 00 D0 31 80 13 00 00 00 00 00 00 7D [23:59:07]Write i2c OK [23:59:07]MH_I2C_Read... [23:59:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:59:07]Read from MH i2c: E2 [23:59:07]MH_I2C_Read... [23:59:07]Read from MH i2c: E2 62 00 [23:59:07]MH_I2C_Read... [23:59:07]Read from MH i2c: E2 62 00 D0 31 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A1 68 00 00 0E 04 04 00 39 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 E7 [23:59: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A1 68 00 00 0E 04 04 00 39 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 [23:59:07]wFMCommunicate OK [23:59:07]SAM_PROTO_GetFieldsCounters done [23:59:07]requested_item shift.num is exist - process it [23:59:07]requested_item shift.opened is exist - process it [23:59:07]req_shift_opened [23:59:07]FM_GetShiftState [23:59:07]SAM_PROTO_GetShiftState [23:59:07]wFMCommunicate request_size=4 [23:59:07]MH_SAM_APDU [23:59:07]CAPDU: 80 13 01 00 [23:59:07]Write to MH i2c: E2 08 00 D1 31 80 13 01 00 00 00 00 00 7F [23:59:07]Write i2c OK [23:59:07]MH_I2C_Read... [23:59:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:59:07]Read from MH i2c: E2 [23:59:07]MH_I2C_Read... [23:59:07]Read from MH i2c: E2 0E 00 [23:59:07]MH_I2C_Read... [23:59:07]Read from MH i2c: E2 0E 00 D1 31 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 13 [23:59:07]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [23:59:07]wFMCommunicate OK [23:59:07]SAM_PROTO_GetShiftState done [23:59:07]FM_GetShiftState done [23:59:07]req_shift_opened done [23:59:07]requested_item shift.open_date is exist - process it [23:59:07]req_shift_open_date [23:59:07]req_shift_open_date done [23:59:07]produce_requested_data done [23:59:07]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26785,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [23:59:07]process_action_free close_receipt [23:59:07]json_value_free [23:59:07]json_value_free done [23:59:07]process_json_proto returns [23:59:07]Send response to host [23:59:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26785,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [23:59:07]free response buf [23:59:07]execute_script done [23:59:07]execute_script returns [23:59:07]free content buf [23:59:07]Sock 9.Close socket [23:59:07]Sock 9.Thread stoped [23:59:10]OFD Sender: No OFD packet to send [23:59:15]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:36]OFD Sender: No OFD packet to send [00:03:41]OFD Sender: No OFD packet to send [00:03:46]OFD Sender: No OFD packet to send [00:03:51]OFD Sender: No OFD packet to send [00:03:56]OFD Sender: No OFD packet to send [00:04:01]OFD Sender: No OFD packet to send [00:04:06]OFD Sender: No OFD packet to send [00:04:11]OFD Sender: No OFD packet to send [00:04:16]OFD Sender: No OFD packet to send [00:04:21]OFD Sender: No OFD packet to send [00:04:21]accept exits with 8 [00:04:21]New connection [00:04:21]New thread 3067014500 created [00:04:21]Thread 3066871140 joined [00:04:21]Waiting for new connection... [00:04:21] Sock 8.Parse request [00:04:21]Sock 8.Check first char [00:04:21]Sock 8.First char is OK [00:04:21]request: POST /json_proto HTTP/1.0 [00:04:21]Method: POST [00:04:21]URL: /json_proto [00:04:21]Method is POST - this is cgi request [00:04:21]url: /json_proto [00:04:21]query_string will be loaded in cgi processing [00:04:21]execute_cgi json_proto POST (null) [00:04:21]execute_cgi path=json_proto method=POST [00:04:21]POST find Content-Length [00:04:21]Host: 172.17.35.3:8080 [00:04:21]Content-Length: 215 [00:04:21]Content-Type: application/json [00:04:21] [00:04:21]POST finish read [00:04:21]Found Content-Length = 215 [00:04:21]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:04:21]execute_script... [00:04:21]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:04:21]POST & json_proto [00:04:21]process_json_proto [00:04:21]json parsed OK: [00:04:21]protocol is kg_v1.0 [00:04:21]action value=get_value [00:04:21]process_action get_value [00:04:21]cmd_get_value [00:04:21]process_action get_value done [00:04:21]requested_data is exist [00:04:21]produce_requested_data [00:04:21]requested_item kkm.sn is exist - process it [00:04:21]requested_item kkm.ver is exist - process it [00:04:21]requested_item fm.sn is exist - process it [00:04:21]wFMCommunicate request_size=4 [00:04:21]MH_SAM_APDU [00:04:21]CAPDU: 80 11 00 00 [00:04:21]Write to MH i2c: E2 08 00 D2 31 80 11 00 00 00 00 00 00 7D [00:04:21]Write i2c OK [00:04:21]MH_I2C_Read... [00:04:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:04:22]Read from MH i2c: E2 [00:04:22]MH_I2C_Read... [00:04:22]Read from MH i2c: E2 17 00 [00:04:22]MH_I2C_Read... [00:04:22]Read from MH i2c: E2 17 00 D2 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 D5 [00:04:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [00:04:22]wFMCommunicate OK [00:04:22]requested_item fd.num is exist - process it [00:04:22]SAM_PROTO_GetFieldsCounters [00:04:22]wFMCommunicate request_size=4 [00:04:22]MH_SAM_APDU [00:04:22]CAPDU: 80 13 00 00 [00:04:22]Write to MH i2c: E2 08 00 D3 31 80 13 00 00 00 00 00 00 80 [00:04:22]Write i2c OK [00:04:22]MH_I2C_Read... [00:04:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:04:22]Read from MH i2c: E2 [00:04:22]MH_I2C_Read... [00:04:22]Read from MH i2c: E2 62 00 [00:04:22]MH_I2C_Read... [00:04:22]Read from MH i2c: E2 62 00 D3 31 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A1 68 00 00 0E 04 04 00 39 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 EA [00:04: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A1 68 00 00 0E 04 04 00 39 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 [00:04:22]wFMCommunicate OK [00:04:22]SAM_PROTO_GetFieldsCounters done [00:04:22]requested_item shift.num is exist - process it [00:04:22]requested_item shift.opened is exist - process it [00:04:22]req_shift_opened [00:04:22]FM_GetShiftState [00:04:22]SAM_PROTO_GetShiftState [00:04:22]wFMCommunicate request_size=4 [00:04:22]MH_SAM_APDU [00:04:22]CAPDU: 80 13 01 00 [00:04:22]Write to MH i2c: E2 08 00 D4 31 80 13 01 00 00 00 00 00 82 [00:04:22]Write i2c OK [00:04:22]MH_I2C_Read... [00:04:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:04:22]Read from MH i2c: E2 [00:04:22]MH_I2C_Read... [00:04:22]Read from MH i2c: E2 0E 00 [00:04:22]MH_I2C_Read... [00:04:22]Read from MH i2c: E2 0E 00 D4 31 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 16 [00:04:22]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [00:04:22]wFMCommunicate OK [00:04:22]SAM_PROTO_GetShiftState done [00:04:22]FM_GetShiftState done [00:04:22]req_shift_opened done [00:04:22]requested_item shift.open_date is exist - process it [00:04:22]req_shift_open_date [00:04:22]req_shift_open_date done [00:04:22]produce_requested_data done [00:04:22]produce_requested_data return {"kkm.sn":"0300000147","kkm.ver":"001","fm.sn":"0000000000874657","fd.num":26785,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [00:04:22]process_action_free get_value [00:04:22]json_value_free [00:04:22]json_value_free done [00:04:22]process_json_proto returns [00:04:22]Send response to host [00:04:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000147","kkm.ver":"001","fm.sn":"0000000000874657","fd.num":26785,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [00:04:22]free response buf [00:04:22]execute_script done [00:04:22]execute_script returns [00:04:22]free content buf [00:04:22]Sock 8.Close socket [00:04:22]Sock 8.Thread stoped [00:04:22]accept exits with 9 [00:04:22]New connection [00:04:22]New thread 3066871140 created [00:04:22]Thread 3067014500 joined [00:04:22]Waiting for new connection... [00:04:22] Sock 9.Parse request [00:04:22]Sock 9.Check first char [00:04:22]Sock 9.First char is OK [00:04:22]request: POST /json_proto HTTP/1.0 [00:04:22]Method: POST [00:04:22]URL: /json_proto [00:04:22]Method is POST - this is cgi request [00:04:22]url: /json_proto [00:04:22]query_string will be loaded in cgi processing [00:04:22]execute_cgi json_proto POST (null) [00:04:22]execute_cgi path=json_proto method=POST [00:04:22]POST find Content-Length [00:04:22]Host: 172.17.35.3:8080 [00:04:22]Content-Length: 331 [00:04:22]Content-Type: application/json [00:04:22] [00:04:22]POST finish read [00:04:22]Found Content-Length = 331 [00:04: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:04:22]execute_script... [00:04: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:04:22]POST & json_proto [00:04:22]process_json_proto [00:04:22]json parsed OK: [00:04:22]protocol is kg_v1.0 [00:04:22]action value=get_value [00:04:22]process_action get_value [00:04:22]cmd_get_value [00:04:22]process_action get_value done [00:04:22]requested_data is exist [00:04:22]produce_requested_data [00:04:22]requested_item fm.sale.total is exist - process it [00:04:22]SAM_PROTO_GetFMData [00:04:22]wFMCommunicate request_size=4 [00:04:22]MH_SAM_APDU [00:04:22]CAPDU: 80 13 03 00 [00:04:22]Write to MH i2c: E2 08 00 D5 31 80 13 03 00 00 00 00 00 85 [00:04:22]Write i2c OK [00:04:22]MH_I2C_Read... [00:04:22]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:04:22]Read from MH i2c: E2 [00:04:22]MH_I2C_Read... [00:04:22]Read from MH i2c: E2 FD 00 [00:04:22]MH_I2C_Read... [00:04:22]Read from MH i2c: E2 FD 00 D5 31 00 C0 04 85 04 BC 04 6E 04 04 00 2F 66 00 00 69 04 A1 00 6F 04 04 00 ED 65 00 00 B1 04 04 00 94 95 49 9B 70 04 04 00 E8 FD 8A 7F 72 04 04 00 AC 97 BE 1B 00 04 7D 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 61 A1 7E 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 54 DC 5F 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 99 00 6F 04 04 00 42 00 00 00 B1 04 03 00 A4 6D BB 70 04 03 00 A4 6D BB 72 04 00 00 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 0B E8 13 EF 03 09 00 F6 03 01 00 90 00 8B [00:04:22]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 2F 66 00 00 69 04 A1 00 6F 04 04 00 ED 65 00 00 B1 04 04 00 94 95 49 9B 70 04 04 00 E8 FD 8A 7F 72 04 04 00 AC 97 BE 1B 00 04 7D 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 61 A1 7E 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 54 DC 5F 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 99 00 6F 04 04 00 42 00 00 00 B1 04 03 00 A4 6D BB 70 04 03 00 A4 6D BB 72 04 00 00 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 0B E8 13 EF 03 09 00 F6 03 01 00 90 00 [00:04:22]wFMCommunicate OK [00:04:22]wFMCommunicate request_size=4 [00:04:22]MH_SAM_APDU [00:04:22]CAPDU: 80 17 00 00 [00:04:22]Write to MH i2c: E2 08 00 D6 31 80 17 00 00 00 00 00 00 87 [00:04:22]Write i2c OK [00:04:22]MH_I2C_Read... [00:04:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:23]Read from MH i2c: E2 [00:04:23]MH_I2C_Read... [00:04:23]Read from MH i2c: E2 FD 00 [00:04:23]MH_I2C_Read... [00:04:23]Read from MH i2c: E2 FD 00 D6 31 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 A7 A8 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 90 00 07 [00:04:23]RAPDU: 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 A7 A8 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 90 00 [00:04:23]wFMCommunicate OK [00:04:23]wFMCommunicate request_size=4 [00:04:23]MH_SAM_APDU [00:04:23]CAPDU: 80 17 00 00 [00:04:23]Write to MH i2c: E2 08 00 D7 31 80 17 00 00 00 00 00 00 88 [00:04:23]Write i2c OK [00:04:23]MH_I2C_Read... [00:04:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:23]Read from MH i2c: E2 [00:04:23]MH_I2C_Read... [00:04:23]Read from MH i2c: E2 FD 00 [00:04:23]MH_I2C_Read... [00:04:23]Read from MH i2c: E2 FD 00 D7 31 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 2B [00:04:23]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:04:23]wFMCommunicate OK [00:04:23]wFMCommunicate request_size=4 [00:04:23]MH_SAM_APDU [00:04:23]CAPDU: 80 17 00 00 [00:04:23]Write to MH i2c: E2 08 00 D8 31 80 17 00 00 00 00 00 00 89 [00:04:23]Write i2c OK [00:04:23]MH_I2C_Read... [00:04:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:23]Read from MH i2c: E2 [00:04:23]MH_I2C_Read... [00:04:23]Read from MH i2c: E2 FD 00 [00:04:23]MH_I2C_Read... [00:04:23]Read from MH i2c: E2 FD 00 D8 31 00 01 00 04 F7 03 00 00 EF 03 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 90 00 01 [00:04:23]RAPDU: 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:04:23]wFMCommunicate OK [00:04:23]wFMCommunicate request_size=4 [00:04:23]MH_SAM_APDU [00:04:23]CAPDU: 80 17 00 00 [00:04:23]Write to MH i2c: E2 08 00 D9 31 80 17 00 00 00 00 00 00 8A [00:04:23]Write i2c OK [00:04:23]MH_I2C_Read... [00:04:24]Read from MH i2c: E2 [00:04:24]MH_I2C_Read... [00:04:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:04:24]Read from MH i2c: E2 DD 00 [00:04:24]MH_I2C_Read... [00:04:24]Read from MH i2c: E2 DD 00 D9 31 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [00:04:24]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:04:24]wFMCommunicate OK [00:04:24]SAM_PROTO_GetFMData done [00:04:24]requested_item fm.sale_refund.total is exist - process it [00:04:24]requested_item fm.buy.total is exist - process it [00:04:24]requested_item shift.sale.total is exist - process it [00:04:24]SAM_PROTO_GetShiftData [00:04:24]wFMCommunicate request_size=4 [00:04:24]MH_SAM_APDU [00:04:24]CAPDU: 80 13 02 00 [00:04:24]Write to MH i2c: E2 08 00 DA 31 80 13 02 00 00 00 00 00 89 [00:04:24]Write i2c OK [00:04:24]MH_I2C_Read... [00:04:24]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:04:24]Read from MH i2c: E2 [00:04:24]MH_I2C_Read... [00:04:24]Read from MH i2c: E2 FD 00 [00:04:24]MH_I2C_Read... [00:04:24]Read from MH i2c: E2 FD 00 DA 31 00 AF 04 AA 04 AB 04 6E 04 04 00 54 00 00 00 69 04 9C 00 6F 04 04 00 54 00 00 00 B1 04 03 00 E3 19 8B 70 04 03 00 60 D3 53 72 04 03 00 83 46 37 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 61 C6 0E 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 2A 3B 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 90 00 A9 [00:04:24]RAPDU: AF 04 AA 04 AB 04 6E 04 04 00 54 00 00 00 69 04 9C 00 6F 04 04 00 54 00 00 00 B1 04 03 00 E3 19 8B 70 04 03 00 60 D3 53 72 04 03 00 83 46 37 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 61 C6 0E 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 2A 3B 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 90 00 [00:04:24]wFMCommunicate OK [00:04:24]wFMCommunicate request_size=4 [00:04:24]MH_SAM_APDU [00:04:24]CAPDU: 80 17 00 00 [00:04:24]Write to MH i2c: E2 08 00 DB 31 80 17 00 00 00 00 00 00 8C [00:04:24]Write i2c OK [00:04:24]MH_I2C_Read... [00:04:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:24]Read from MH i2c: E2 [00:04:24]MH_I2C_Read... [00:04:24]Read from MH i2c: E2 FD 00 [00:04:24]MH_I2C_Read... [00:04:24]Read from MH i2c: E2 FD 00 DB 31 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 90 00 A5 [00:04:24]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 90 00 [00:04:24]wFMCommunicate OK [00:04:24]wFMCommunicate request_size=4 [00:04:24]MH_SAM_APDU [00:04:24]CAPDU: 80 17 00 00 [00:04:24]Write to MH i2c: E2 08 00 DC 31 80 17 00 00 00 00 00 00 8D [00:04:24]Write i2c OK [00:04:24]MH_I2C_Read... [00:04:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:25]Read from MH i2c: E2 [00:04:25]MH_I2C_Read... [00:04:25]Read from MH i2c: E2 FD 00 [00:04:25]MH_I2C_Read... [00:04:25]Read from MH i2c: E2 FD 00 DC 31 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 90 00 41 [00:04:25]RAPDU: 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 90 00 [00:04:25]wFMCommunicate OK [00:04:25]wFMCommunicate request_size=4 [00:04:25]MH_SAM_APDU [00:04:25]CAPDU: 80 17 00 00 [00:04:25]Write to MH i2c: E2 08 00 DD 31 80 17 00 00 00 00 00 00 8E [00:04:25]Write i2c OK [00:04:25]MH_I2C_Read... [00:04:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:25]Read from MH i2c: E2 [00:04:25]MH_I2C_Read... [00:04:25]Read from MH i2c: E2 FD 00 [00:04:25]MH_I2C_Read... [00:04:25]Read from MH i2c: E2 FD 00 DD 31 00 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 90 00 0C [00:04:25]RAPDU: 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 90 00 [00:04:25]wFMCommunicate OK [00:04:25]wFMCommunicate request_size=4 [00:04:25]MH_SAM_APDU [00:04:25]CAPDU: 80 17 00 00 [00:04:25]Write to MH i2c: E2 08 00 DE 31 80 17 00 00 00 00 00 00 8F [00:04:25]Write i2c OK [00:04:25]MH_I2C_Read... [00:04:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 201! [00:04:25]Read from MH i2c: E2 [00:04:25]MH_I2C_Read... [00:04:25]Read from MH i2c: E2 CC 00 [00:04:25]MH_I2C_Read... [00:04:25]Read from MH i2c: E2 CC 00 DE 31 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 70 [00:04:25]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:04:25]wFMCommunicate OK [00:04:25]SAM_PROTO_GetShiftData done [00:04:25]requested_item shift.sale.total_cash is exist - process it [00:04:25]requested_item shift.sale_refund.total is exist - process it [00:04:25]requested_item shift.sale_refund.total_cash is exist - process it [00:04:25]requested_item shift.buy.total is exist - process it [00:04:25]requested_item shift.buy.total_cash is exist - process it [00:04:25]produce_requested_data done [00:04:25]produce_requested_data return {"fm.sale.total":26052909.00,"fm.sale_refund.total":122833.00,"fm.buy.total":0.00,"shift.sale.total":91161.31,"shift.sale.total_cash":54936.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:04:25]process_action_free get_value [00:04:25]json_value_free [00:04:25]json_value_free done [00:04:25]process_json_proto returns [00:04:25]Send response to host [00:04:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":26052909.00,"fm.sale_refund.total":122833.00,"fm.buy.total":0.00,"shift.sale.total":91161.31,"shift.sale.total_cash":54936.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:04:25]free response buf [00:04:25]execute_script done [00:04:25]execute_script returns [00:04:25]free content buf [00:04:25]Sock 9.Close socket [00:04:25]Sock 9.Thread stoped [00:04:26]OFD Sender: No OFD packet to send [00:04:31]OFD Sender: No OFD packet to send [00:04:36]OFD Sender: No OFD packet to send [00:04:41]OFD Sender: No OFD packet to send [00:04:46]OFD Sender: No OFD packet to send [00:04:51]OFD Sender: No OFD packet to send [00:04:56]OFD Sender: No OFD packet to send [00:05:01]OFD Sender: No OFD packet to send [00:05:06]OFD Sender: No OFD packet to send [00:05:11]OFD Sender: No OFD packet to send [00:05:16]OFD Sender: No OFD packet to send [00:05:21]OFD Sender: No OFD packet to send [00:05:26]OFD Sender: No OFD packet to send [00:05:31]OFD Sender: No OFD packet to send [00:05:36]OFD Sender: No OFD packet to send [00:05:41]OFD Sender: No OFD packet to send [00:05:46]OFD Sender: No OFD packet to send [00:05:51]OFD Sender: No OFD packet to send [00:05:56]OFD Sender: No OFD packet to send [00:06:01]OFD Sender: No OFD packet to send [00:06:06]OFD Sender: No OFD packet to send [00:06:11]OFD Sender: No OFD packet to send [00:06:16]OFD Sender: No OFD packet to send [00:06:21]OFD Sender: No OFD packet to send [00:06:26]OFD Sender: No OFD packet to send [00:06:31]OFD Sender: No OFD packet to send [00:06:36]OFD Sender: No OFD packet to send [00:06:41]OFD Sender: No OFD packet to send [00:06:46]OFD Sender: No OFD packet to send [00:06:51]OFD Sender: No OFD packet to send [00:06:56]OFD Sender: No OFD packet to send [00:07:01]OFD Sender: No OFD packet to send [00:07:06]OFD Sender: No OFD packet to send [00:07:11]OFD Sender: No OFD packet to send [00:07:16]OFD Sender: No OFD packet to send [00:07:21]OFD Sender: No OFD packet to send [00:07:26]OFD Sender: No OFD packet to send [00:07:31]OFD Sender: No OFD packet to send [00:07:36]OFD Sender: No OFD packet to send [00:07:41]OFD Sender: No OFD packet to send [00:07:46]OFD Sender: No OFD packet to send [00:07:51]OFD Sender: No OFD packet to send [00:07:56]OFD Sender: No OFD packet to send [00:08:01]OFD Sender: No OFD packet to send [00:08:06]OFD Sender: No OFD packet to send [00:08:11]OFD Sender: No OFD packet to send [00:08:16]OFD Sender: No OFD packet to send [00:08:21]OFD Sender: No OFD packet to send [00:08:26]OFD Sender: No OFD packet to send [00:08:31]OFD Sender: No OFD packet to send [00:08:36]OFD Sender: No OFD packet to send [00:08:41]OFD Sender: No OFD packet to send [00:08:46]OFD Sender: No OFD packet to send [00:08:51]OFD Sender: No OFD packet to send [00:08:56]OFD Sender: No OFD packet to send [00:09:01]OFD Sender: No OFD packet to send [00:09:06]OFD Sender: No OFD packet to send [00:09:11]OFD Sender: No OFD packet to send [00:09:16]OFD Sender: No OFD packet to send [00:09:21]OFD Sender: No OFD packet to send [00:09:24]accept exits with 8 [00:09:24]New connection [00:09:24]New thread 3067014500 created [00:09:24]Thread 3066871140 joined [00:09:24]Waiting for new connection... [00:09:24] Sock 8.Parse request [00:09:24]Sock 8.Check first char [00:09:24]Sock 8.First char is OK [00:09:24]request: POST /json_proto HTTP/1.0 [00:09:24]Method: POST [00:09:24]URL: /json_proto [00:09:24]Method is POST - this is cgi request [00:09:24]url: /json_proto [00:09:24]query_string will be loaded in cgi processing [00:09:24]execute_cgi json_proto POST (null) [00:09:24]execute_cgi path=json_proto method=POST [00:09:24]POST find Content-Length [00:09:24]Host: 172.17.35.3:8080 [00:09:24]Content-Length: 215 [00:09:24]Content-Type: application/json [00:09:24] [00:09:24]POST finish read [00:09:24]Found Content-Length = 215 [00:09: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:09:24]execute_script... [00:09: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:09:24]POST & json_proto [00:09:24]process_json_proto [00:09:24]json parsed OK: [00:09:24]protocol is kg_v1.0 [00:09:24]action value=get_value [00:09:24]process_action get_value [00:09:24]cmd_get_value [00:09:24]process_action get_value done [00:09:24]requested_data is exist [00:09:24]produce_requested_data [00:09:24]requested_item kkm.sn is exist - process it [00:09:24]requested_item kkm.ver is exist - process it [00:09:24]requested_item fm.sn is exist - process it [00:09:24]wFMCommunicate request_size=4 [00:09:24]MH_SAM_APDU [00:09:24]CAPDU: 80 11 00 00 [00:09:24]Write to MH i2c: E2 08 00 DF 31 80 11 00 00 00 00 00 00 8A [00:09:24]Write i2c OK [00:09:24]MH_I2C_Read... [00:09:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:09:24]Read from MH i2c: E2 [00:09:24]MH_I2C_Read... [00:09:24]Read from MH i2c: E2 17 00 [00:09:24]MH_I2C_Read... [00:09:24]Read from MH i2c: E2 17 00 DF 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 E2 [00:09:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [00:09:24]wFMCommunicate OK [00:09:24]requested_item fd.num is exist - process it [00:09:24]SAM_PROTO_GetFieldsCounters [00:09:24]wFMCommunicate request_size=4 [00:09:24]MH_SAM_APDU [00:09:24]CAPDU: 80 13 00 00 [00:09:24]Write to MH i2c: E2 08 00 E0 31 80 13 00 00 00 00 00 00 8D [00:09:24]Write i2c OK [00:09:24]MH_I2C_Read... [00:09:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:09:24]Read from MH i2c: E2 [00:09:24]MH_I2C_Read... [00:09:24]Read from MH i2c: E2 62 00 [00:09:24]MH_I2C_Read... [00:09:24]Read from MH i2c: E2 62 00 E0 31 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A1 68 00 00 0E 04 04 00 39 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 F7 [00:09: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A1 68 00 00 0E 04 04 00 39 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 [00:09:24]wFMCommunicate OK [00:09:24]SAM_PROTO_GetFieldsCounters done [00:09:24]requested_item shift.num is exist - process it [00:09:24]requested_item shift.opened is exist - process it [00:09:24]req_shift_opened [00:09:24]FM_GetShiftState [00:09:24]SAM_PROTO_GetShiftState [00:09:24]wFMCommunicate request_size=4 [00:09:24]MH_SAM_APDU [00:09:24]CAPDU: 80 13 01 00 [00:09:24]Write to MH i2c: E2 08 00 E1 31 80 13 01 00 00 00 00 00 8F [00:09:24]Write i2c OK [00:09:24]MH_I2C_Read... [00:09:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:09:24]Read from MH i2c: E2 [00:09:24]MH_I2C_Read... [00:09:24]Read from MH i2c: E2 0E 00 [00:09:24]MH_I2C_Read... [00:09:24]Read from MH i2c: E2 0E 00 E1 31 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 23 [00:09:24]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [00:09:24]wFMCommunicate OK [00:09:24]SAM_PROTO_GetShiftState done [00:09:24]FM_GetShiftState done [00:09:24]req_shift_opened done [00:09:24]requested_item shift.open_date is exist - process it [00:09:24]req_shift_open_date [00:09:24]req_shift_open_date done [00:09:24]produce_requested_data done [00:09:24]produce_requested_data return {"kkm.sn":"0300000147","kkm.ver":"001","fm.sn":"0000000000874657","fd.num":26785,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [00:09:24]process_action_free get_value [00:09:24]json_value_free [00:09:24]json_value_free done [00:09:24]process_json_proto returns [00:09:24]Send response to host [00:09:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000147","kkm.ver":"001","fm.sn":"0000000000874657","fd.num":26785,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [00:09:24]free response buf [00:09:24]execute_script done [00:09:24]execute_script returns [00:09:24]free content buf [00:09:24]Sock 8.Close socket [00:09:24]Sock 8.Thread stoped [00:09:24]accept exits with 9 [00:09:24]New connection [00:09:24]New thread 3066871140 created [00:09:24]Thread 3067014500 joined [00:09:24]Waiting for new connection... [00:09:24] Sock 9.Parse request [00:09:24]Sock 9.Check first char [00:09:24]Sock 9.First char is OK [00:09:24]request: POST /json_proto HTTP/1.0 [00:09:24]Method: POST [00:09:24]URL: /json_proto [00:09:24]Method is POST - this is cgi request [00:09:24]url: /json_proto [00:09:24]query_string will be loaded in cgi processing [00:09:24]execute_cgi json_proto POST (null) [00:09:24]execute_cgi path=json_proto method=POST [00:09:24]POST find Content-Length [00:09:24]Host: 172.17.35.3:8080 [00:09:24]Content-Length: 331 [00:09:24]Content-Type: application/json [00:09:24] [00:09:24]POST finish read [00:09:24]Found Content-Length = 331 [00:09: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:09:24]execute_script... [00:09: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:09:25]POST & json_proto [00:09:25]process_json_proto [00:09:25]json parsed OK: [00:09:25]protocol is kg_v1.0 [00:09:25]action value=get_value [00:09:25]process_action get_value [00:09:25]cmd_get_value [00:09:25]process_action get_value done [00:09:25]requested_data is exist [00:09:25]produce_requested_data [00:09:25]requested_item fm.sale.total is exist - process it [00:09:25]SAM_PROTO_GetFMData [00:09:25]wFMCommunicate request_size=4 [00:09:25]MH_SAM_APDU [00:09:25]CAPDU: 80 13 03 00 [00:09:25]Write to MH i2c: E2 08 00 E2 31 80 13 03 00 00 00 00 00 92 [00:09:25]Write i2c OK [00:09:25]MH_I2C_Read... [00:09:25]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:09:25]Read from MH i2c: E2 [00:09:25]MH_I2C_Read... [00:09:25]Read from MH i2c: E2 FD 00 [00:09:25]MH_I2C_Read... [00:09:25]Read from MH i2c: E2 FD 00 E2 31 00 C0 04 85 04 BC 04 6E 04 04 00 2F 66 00 00 69 04 A1 00 6F 04 04 00 ED 65 00 00 B1 04 04 00 94 95 49 9B 70 04 04 00 E8 FD 8A 7F 72 04 04 00 AC 97 BE 1B 00 04 7D 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 61 A1 7E 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 54 DC 5F 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 99 00 6F 04 04 00 42 00 00 00 B1 04 03 00 A4 6D BB 70 04 03 00 A4 6D BB 72 04 00 00 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 0B E8 13 EF 03 09 00 F6 03 01 00 90 00 98 [00:09:25]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 2F 66 00 00 69 04 A1 00 6F 04 04 00 ED 65 00 00 B1 04 04 00 94 95 49 9B 70 04 04 00 E8 FD 8A 7F 72 04 04 00 AC 97 BE 1B 00 04 7D 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 61 A1 7E 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 54 DC 5F 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 99 00 6F 04 04 00 42 00 00 00 B1 04 03 00 A4 6D BB 70 04 03 00 A4 6D BB 72 04 00 00 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 0B E8 13 EF 03 09 00 F6 03 01 00 90 00 [00:09:25]wFMCommunicate OK [00:09:25]wFMCommunicate request_size=4 [00:09:25]MH_SAM_APDU [00:09:25]CAPDU: 80 17 00 00 [00:09:25]Write to MH i2c: E2 08 00 E3 31 80 17 00 00 00 00 00 00 94 [00:09:25]Write i2c OK [00:09:25]MH_I2C_Read... [00:09:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:25]Read from MH i2c: E2 [00:09:25]MH_I2C_Read... [00:09:25]Read from MH i2c: E2 FD 00 [00:09:25]MH_I2C_Read... [00:09:25]Read from MH i2c: E2 FD 00 E3 31 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 A7 A8 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 90 00 14 [00:09:25]RAPDU: 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 A7 A8 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 90 00 [00:09:25]wFMCommunicate OK [00:09:25]wFMCommunicate request_size=4 [00:09:25]MH_SAM_APDU [00:09:25]CAPDU: 80 17 00 00 [00:09:25]Write to MH i2c: E2 08 00 E4 31 80 17 00 00 00 00 00 00 95 [00:09:25]Write i2c OK [00:09:25]MH_I2C_Read... [00:09:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:26]Read from MH i2c: E2 [00:09:26]MH_I2C_Read... [00:09:26]Read from MH i2c: E2 FD 00 [00:09:26]MH_I2C_Read... [00:09:26]Read from MH i2c: E2 FD 00 E4 31 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 38 [00:09:26]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:09:26]wFMCommunicate OK [00:09:26]wFMCommunicate request_size=4 [00:09:26]MH_SAM_APDU [00:09:26]CAPDU: 80 17 00 00 [00:09:26]Write to MH i2c: E2 08 00 E5 31 80 17 00 00 00 00 00 00 96 [00:09:26]Write i2c OK [00:09:26]MH_I2C_Read... [00:09:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:26]Read from MH i2c: E2 [00:09:26]MH_I2C_Read... [00:09:26]Read from MH i2c: E2 FD 00 [00:09:26]MH_I2C_Read... [00:09:26]Read from MH i2c: E2 FD 00 E5 31 00 01 00 04 F7 03 00 00 EF 03 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 90 00 0E [00:09:26]RAPDU: 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:09:26]wFMCommunicate OK [00:09:26]wFMCommunicate request_size=4 [00:09:26]MH_SAM_APDU [00:09:26]CAPDU: 80 17 00 00 [00:09:26]Write to MH i2c: E2 08 00 E6 31 80 17 00 00 00 00 00 00 97 [00:09:26]Write i2c OK [00:09:26]MH_I2C_Read... [00:09:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:09:26]Read from MH i2c: E2 [00:09:26]MH_I2C_Read... [00:09:26]Read from MH i2c: E2 DD 00 [00:09:26]MH_I2C_Read... [00:09:26]Read from MH i2c: E2 DD 00 E6 31 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 7F [00:09:26]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:09:26]wFMCommunicate OK [00:09:26]SAM_PROTO_GetFMData done [00:09:26]requested_item fm.sale_refund.total is exist - process it [00:09:26]requested_item fm.buy.total is exist - process it [00:09:26]requested_item shift.sale.total is exist - process it [00:09:26]SAM_PROTO_GetShiftData [00:09:26]wFMCommunicate request_size=4 [00:09:26]MH_SAM_APDU [00:09:26]CAPDU: 80 13 02 00 [00:09:26]Write to MH i2c: E2 08 00 E7 31 80 13 02 00 00 00 00 00 96 [00:09:26]Write i2c OK [00:09:26]MH_I2C_Read... [00:09:26]OFD Sender: No OFD packet to send [00:09:27]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:09:27]Read from MH i2c: E2 [00:09:27]MH_I2C_Read... [00:09:27]Read from MH i2c: E2 FD 00 [00:09:27]MH_I2C_Read... [00:09:27]Read from MH i2c: E2 FD 00 E7 31 00 AF 04 AA 04 AB 04 6E 04 04 00 54 00 00 00 69 04 9C 00 6F 04 04 00 54 00 00 00 B1 04 03 00 E3 19 8B 70 04 03 00 60 D3 53 72 04 03 00 83 46 37 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 61 C6 0E 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 2A 3B 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 90 00 B6 [00:09:27]RAPDU: AF 04 AA 04 AB 04 6E 04 04 00 54 00 00 00 69 04 9C 00 6F 04 04 00 54 00 00 00 B1 04 03 00 E3 19 8B 70 04 03 00 60 D3 53 72 04 03 00 83 46 37 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 61 C6 0E 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 2A 3B 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 90 00 [00:09:27]wFMCommunicate OK [00:09:27]wFMCommunicate request_size=4 [00:09:27]MH_SAM_APDU [00:09:27]CAPDU: 80 17 00 00 [00:09:27]Write to MH i2c: E2 08 00 E8 31 80 17 00 00 00 00 00 00 99 [00:09:27]Write i2c OK [00:09:27]MH_I2C_Read... [00:09:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:27]Read from MH i2c: E2 [00:09:27]MH_I2C_Read... [00:09:27]Read from MH i2c: E2 FD 00 [00:09:27]MH_I2C_Read... [00:09:27]Read from MH i2c: E2 FD 00 E8 31 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 90 00 B2 [00:09:27]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 90 00 [00:09:27]wFMCommunicate OK [00:09:27]wFMCommunicate request_size=4 [00:09:27]MH_SAM_APDU [00:09:27]CAPDU: 80 17 00 00 [00:09:27]Write to MH i2c: E2 08 00 E9 31 80 17 00 00 00 00 00 00 9A [00:09:27]Write i2c OK [00:09:27]MH_I2C_Read... [00:09:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:27]Read from MH i2c: E2 [00:09:27]MH_I2C_Read... [00:09:27]Read from MH i2c: E2 FD 00 [00:09:27]MH_I2C_Read... [00:09:27]Read from MH i2c: E2 FD 00 E9 31 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 90 00 4E [00:09:27]RAPDU: 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 90 00 [00:09:27]wFMCommunicate OK [00:09:27]wFMCommunicate request_size=4 [00:09:27]MH_SAM_APDU [00:09:27]CAPDU: 80 17 00 00 [00:09:27]Write to MH i2c: E2 08 00 EA 31 80 17 00 00 00 00 00 00 9B [00:09:27]Write i2c OK [00:09:27]MH_I2C_Read... [00:09:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:27]Read from MH i2c: E2 [00:09:27]MH_I2C_Read... [00:09:27]Read from MH i2c: E2 FD 00 [00:09:27]MH_I2C_Read... [00:09:27]Read from MH i2c: E2 FD 00 EA 31 00 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 90 00 19 [00:09:27]RAPDU: 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 90 00 [00:09:27]wFMCommunicate OK [00:09:27]wFMCommunicate request_size=4 [00:09:27]MH_SAM_APDU [00:09:27]CAPDU: 80 17 00 00 [00:09:27]Write to MH i2c: E2 08 00 EB 31 80 17 00 00 00 00 00 00 9C [00:09:28]Write i2c OK [00:09:28]MH_I2C_Read... [00:09:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 201! [00:09:28]Read from MH i2c: E2 [00:09:28]MH_I2C_Read... [00:09:28]Read from MH i2c: E2 CC 00 [00:09:28]MH_I2C_Read... [00:09:28]Read from MH i2c: E2 CC 00 EB 31 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:09:28]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:09:28]wFMCommunicate OK [00:09:28]SAM_PROTO_GetShiftData done [00:09:28]requested_item shift.sale.total_cash is exist - process it [00:09:28]requested_item shift.sale_refund.total is exist - process it [00:09:28]requested_item shift.sale_refund.total_cash is exist - process it [00:09:28]requested_item shift.buy.total is exist - process it [00:09:28]requested_item shift.buy.total_cash is exist - process it [00:09:28]produce_requested_data done [00:09:28]produce_requested_data return {"fm.sale.total":26052909.00,"fm.sale_refund.total":122833.00,"fm.buy.total":0.00,"shift.sale.total":91161.31,"shift.sale.total_cash":54936.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:09:28]process_action_free get_value [00:09:28]json_value_free [00:09:28]json_value_free done [00:09:28]process_json_proto returns [00:09:28]Send response to host [00:09:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":26052909.00,"fm.sale_refund.total":122833.00,"fm.buy.total":0.00,"shift.sale.total":91161.31,"shift.sale.total_cash":54936.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:09:28]free response buf [00:09:28]execute_script done [00:09:28]execute_script returns [00:09:28]free content buf [00:09:28]Sock 9.Close socket [00:09:28]Sock 9.Thread stoped [00:09:28]accept exits with 8 [00:09:28]New connection [00:09:28]New thread 3067014500 created [00:09:28]Thread 3066871140 joined [00:09:28]Waiting for new connection... [00:09:28] Sock 8.Parse request [00:09:28]Sock 8.Check first char [00:09:28]Sock 8.First char is OK [00:09:28]request: POST /json_proto HTTP/1.0 [00:09:28]Method: POST [00:09:28]URL: /json_proto [00:09:28]Method is POST - this is cgi request [00:09:28]url: /json_proto [00:09:28]query_string will be loaded in cgi processing [00:09:28]execute_cgi json_proto POST (null) [00:09:28]execute_cgi path=json_proto method=POST [00:09:28]POST find Content-Length [00:09:28]Host: 172.17.35.3:8080 [00:09:28]Content-Length: 331 [00:09:28]Content-Type: application/json [00:09:28] [00:09:28]POST finish read [00:09:28]Found Content-Length = 331 [00:09: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:09:28]execute_script... [00:09: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:09:28]POST & json_proto [00:09:28]process_json_proto [00:09:28]json parsed OK: [00:09:28]protocol is kg_v1.0 [00:09:28]action value=get_value [00:09:28]process_action get_value [00:09:28]cmd_get_value [00:09:28]process_action get_value done [00:09:28]requested_data is exist [00:09:28]produce_requested_data [00:09:28]requested_item fm.sale.total is exist - process it [00:09:28]SAM_PROTO_GetFMData [00:09:28]wFMCommunicate request_size=4 [00:09:28]MH_SAM_APDU [00:09:28]CAPDU: 80 13 03 00 [00:09:28]Write to MH i2c: E2 08 00 EC 31 80 13 03 00 00 00 00 00 9C [00:09:28]Write i2c OK [00:09:28]MH_I2C_Read... [00:09:28]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:09:28]Read from MH i2c: E2 [00:09:28]MH_I2C_Read... [00:09:28]Read from MH i2c: E2 FD 00 [00:09:28]MH_I2C_Read... [00:09:28]Read from MH i2c: E2 FD 00 EC 31 00 C0 04 85 04 BC 04 6E 04 04 00 2F 66 00 00 69 04 A1 00 6F 04 04 00 ED 65 00 00 B1 04 04 00 94 95 49 9B 70 04 04 00 E8 FD 8A 7F 72 04 04 00 AC 97 BE 1B 00 04 7D 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 61 A1 7E 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 54 DC 5F 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 99 00 6F 04 04 00 42 00 00 00 B1 04 03 00 A4 6D BB 70 04 03 00 A4 6D BB 72 04 00 00 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 0B E8 13 EF 03 09 00 F6 03 01 00 90 00 A2 [00:09:28]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 2F 66 00 00 69 04 A1 00 6F 04 04 00 ED 65 00 00 B1 04 04 00 94 95 49 9B 70 04 04 00 E8 FD 8A 7F 72 04 04 00 AC 97 BE 1B 00 04 7D 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 61 A1 7E 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 54 DC 5F 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 99 00 6F 04 04 00 42 00 00 00 B1 04 03 00 A4 6D BB 70 04 03 00 A4 6D BB 72 04 00 00 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 0B E8 13 EF 03 09 00 F6 03 01 00 90 00 [00:09:28]wFMCommunicate OK [00:09:28]wFMCommunicate request_size=4 [00:09:28]MH_SAM_APDU [00:09:28]CAPDU: 80 17 00 00 [00:09:28]Write to MH i2c: E2 08 00 ED 31 80 17 00 00 00 00 00 00 9E [00:09:28]Write i2c OK [00:09:28]MH_I2C_Read... [00:09:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:29]Read from MH i2c: E2 [00:09:29]MH_I2C_Read... [00:09:29]Read from MH i2c: E2 FD 00 [00:09:29]MH_I2C_Read... [00:09:29]Read from MH i2c: E2 FD 00 ED 31 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 A7 A8 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 90 00 1E [00:09:29]RAPDU: 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 A7 A8 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 90 00 [00:09:29]wFMCommunicate OK [00:09:29]wFMCommunicate request_size=4 [00:09:29]MH_SAM_APDU [00:09:29]CAPDU: 80 17 00 00 [00:09:29]Write to MH i2c: E2 08 00 EE 31 80 17 00 00 00 00 00 00 9F [00:09:29]Write i2c OK [00:09:29]MH_I2C_Read... [00:09:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:29]Read from MH i2c: E2 [00:09:29]MH_I2C_Read... [00:09:29]Read from MH i2c: E2 FD 00 [00:09:29]MH_I2C_Read... [00:09:29]Read from MH i2c: E2 FD 00 EE 31 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 42 [00:09:29]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:09:29]wFMCommunicate OK [00:09:29]wFMCommunicate request_size=4 [00:09:29]MH_SAM_APDU [00:09:29]CAPDU: 80 17 00 00 [00:09:29]Write to MH i2c: E2 08 00 EF 31 80 17 00 00 00 00 00 00 A0 [00:09:29]Write i2c OK [00:09:29]MH_I2C_Read... [00:09:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:29]Read from MH i2c: E2 [00:09:29]MH_I2C_Read... [00:09:29]Read from MH i2c: E2 FD 00 [00:09:29]MH_I2C_Read... [00:09:29]Read from MH i2c: E2 FD 00 EF 31 00 01 00 04 F7 03 00 00 EF 03 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 90 00 18 [00:09:29]RAPDU: 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:09:30]wFMCommunicate OK [00:09:30]wFMCommunicate request_size=4 [00:09:30]MH_SAM_APDU [00:09:30]CAPDU: 80 17 00 00 [00:09:30]Write to MH i2c: E2 08 00 F0 31 80 17 00 00 00 00 00 00 A1 [00:09:30]Write i2c OK [00:09:30]MH_I2C_Read... [00:09:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:09:30]Read from MH i2c: E2 [00:09:30]MH_I2C_Read... [00:09:30]Read from MH i2c: E2 DD 00 [00:09:30]MH_I2C_Read... [00:09:30]Read from MH i2c: E2 DD 00 F0 31 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 89 [00:09:30]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:09:30]wFMCommunicate OK [00:09:30]SAM_PROTO_GetFMData done [00:09:30]requested_item fm.sale_refund.total is exist - process it [00:09:30]requested_item fm.buy.total is exist - process it [00:09:30]requested_item shift.sale.total is exist - process it [00:09:30]SAM_PROTO_GetShiftData [00:09:30]wFMCommunicate request_size=4 [00:09:30]MH_SAM_APDU [00:09:30]CAPDU: 80 13 02 00 [00:09:30]Write to MH i2c: E2 08 00 F1 31 80 13 02 00 00 00 00 00 A0 [00:09:30]Write i2c OK [00:09:30]MH_I2C_Read... [00:09:30]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:09:30]Read from MH i2c: E2 [00:09:30]MH_I2C_Read... [00:09:30]Read from MH i2c: E2 FD 00 [00:09:30]MH_I2C_Read... [00:09:30]Read from MH i2c: E2 FD 00 F1 31 00 AF 04 AA 04 AB 04 6E 04 04 00 54 00 00 00 69 04 9C 00 6F 04 04 00 54 00 00 00 B1 04 03 00 E3 19 8B 70 04 03 00 60 D3 53 72 04 03 00 83 46 37 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 61 C6 0E 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 2A 3B 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 90 00 C0 [00:09:30]RAPDU: AF 04 AA 04 AB 04 6E 04 04 00 54 00 00 00 69 04 9C 00 6F 04 04 00 54 00 00 00 B1 04 03 00 E3 19 8B 70 04 03 00 60 D3 53 72 04 03 00 83 46 37 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 61 C6 0E 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 2A 3B 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 90 00 [00:09:30]wFMCommunicate OK [00:09:30]wFMCommunicate request_size=4 [00:09:30]MH_SAM_APDU [00:09:30]CAPDU: 80 17 00 00 [00:09:30]Write to MH i2c: E2 08 00 F2 31 80 17 00 00 00 00 00 00 A3 [00:09:30]Write i2c OK [00:09:30]MH_I2C_Read... [00:09:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:31]Read from MH i2c: E2 [00:09:31]MH_I2C_Read... [00:09:31]Read from MH i2c: E2 FD 00 [00:09:31]MH_I2C_Read... [00:09:31]Read from MH i2c: E2 FD 00 F2 31 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 90 00 BC [00:09:31]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 90 00 [00:09:31]wFMCommunicate OK [00:09:31]wFMCommunicate request_size=4 [00:09:31]MH_SAM_APDU [00:09:31]CAPDU: 80 17 00 00 [00:09:31]Write to MH i2c: E2 08 00 F3 31 80 17 00 00 00 00 00 00 A4 [00:09:31]Write i2c OK [00:09:31]MH_I2C_Read... [00:09:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:31]Read from MH i2c: E2 [00:09:31]MH_I2C_Read... [00:09:31]Read from MH i2c: E2 FD 00 [00:09:31]MH_I2C_Read... [00:09:31]Read from MH i2c: E2 FD 00 F3 31 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 90 00 58 [00:09:31]RAPDU: 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 90 00 [00:09:31]wFMCommunicate OK [00:09:31]OFD Sender: No OFD packet to send [00:09:31]wFMCommunicate request_size=4 [00:09:31]MH_SAM_APDU [00:09:31]CAPDU: 80 17 00 00 [00:09:31]Write to MH i2c: E2 08 00 F4 31 80 17 00 00 00 00 00 00 A5 [00:09:31]Write i2c OK [00:09:31]MH_I2C_Read... [00:09:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:32]Read from MH i2c: E2 [00:09:32]MH_I2C_Read... [00:09:32]Read from MH i2c: E2 FD 00 [00:09:32]MH_I2C_Read... [00:09:32]Read from MH i2c: E2 FD 00 F4 31 00 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 90 00 23 [00:09:32]RAPDU: 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 90 00 [00:09:32]wFMCommunicate OK [00:09:32]wFMCommunicate request_size=4 [00:09:32]MH_SAM_APDU [00:09:32]CAPDU: 80 17 00 00 [00:09:32]Write to MH i2c: E2 08 00 F5 31 80 17 00 00 00 00 00 00 A6 [00:09:32]Write i2c OK [00:09:32]MH_I2C_Read... [00:09:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 201! [00:09:32]Read from MH i2c: E2 [00:09:32]MH_I2C_Read... [00:09:32]Read from MH i2c: E2 CC 00 [00:09:32]MH_I2C_Read... [00:09:32]Read from MH i2c: E2 CC 00 F5 31 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [00:09:32]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:09:32]wFMCommunicate OK [00:09:32]SAM_PROTO_GetShiftData done [00:09:32]requested_item shift.sale.total_cash is exist - process it [00:09:32]requested_item shift.sale_refund.total is exist - process it [00:09:32]requested_item shift.sale_refund.total_cash is exist - process it [00:09:32]requested_item shift.buy.total is exist - process it [00:09:32]requested_item shift.buy.total_cash is exist - process it [00:09:32]produce_requested_data done [00:09:32]produce_requested_data return {"fm.sale.total":26052909.00,"fm.sale_refund.total":122833.00,"fm.buy.total":0.00,"shift.sale.total":91161.31,"shift.sale.total_cash":54936.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:09:32]process_action_free get_value [00:09:32]json_value_free [00:09:32]json_value_free done [00:09:32]process_json_proto returns [00:09:32]Send response to host [00:09:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":26052909.00,"fm.sale_refund.total":122833.00,"fm.buy.total":0.00,"shift.sale.total":91161.31,"shift.sale.total_cash":54936.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:09:32]free response buf [00:09:32]execute_script done [00:09:32]execute_script returns [00:09:32]free content buf [00:09:32]Sock 8.Close socket [00:09:32]Sock 8.Thread stoped [00:09:32]accept exits with 9 [00:09:32]New connection [00:09:32]New thread 3066871140 created [00:09:32]Thread 3067014500 joined [00:09:32]Waiting for new connection... [00:09:32] Sock 9.Parse request [00:09:32]Sock 9.Check first char [00:09:32]Sock 9.First char is OK [00:09:32]request: POST /json_proto HTTP/1.0 [00:09:32]Method: POST [00:09:32]URL: /json_proto [00:09:32]Method is POST - this is cgi request [00:09:32]url: /json_proto [00:09:32]query_string will be loaded in cgi processing [00:09:32]execute_cgi json_proto POST (null) [00:09:32]execute_cgi path=json_proto method=POST [00:09:32]POST find Content-Length [00:09:32]Host: 172.17.35.3:8080 [00:09:32]Content-Length: 256 [00:09:32]Content-Type: application/json [00:09:32] [00:09:32]POST finish read [00:09:32]Found Content-Length = 256 [00:09:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0421\u0430\u0440\u044B\u0431\u0430\u0435\u0432 \u0422." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:09:32]execute_script... [00:09:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0421\u0430\u0440\u044B\u0431\u0430\u0435\u0432 \u0422." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:09:32]POST & json_proto [00:09:32]process_json_proto [00:09:32]json parsed OK: [00:09:32]protocol is kg_v1.0 [00:09:32]action value=x_report [00:09:32]process_action x_report [00:09:32]cmd_x_report [00:09:32]MH_GetDate [00:09:32]Write to MH i2c: F0 00 00 F6 31 16 [00:09:32]Write i2c OK [00:09:32]MH_I2C_Read... [00:09:32]Read from MH i2c: F0 [00:09:32]MH_I2C_Read... [00:09:32]Read from MH i2c: F0 09 00 [00:09:32]MH_I2C_Read... [00:09:32]Read from MH i2c: F0 09 00 F6 31 00 C8 35 13 66 2B 11 66 64 9B [00:09:32]GetLastDocTimeStamp 1712534354 [00:09:32]current date 1712534984 [00:09:32]FM_GetShiftState [00:09:32]SAM_PROTO_GetShiftState [00:09:32]wFMCommunicate request_size=4 [00:09:32]MH_SAM_APDU [00:09:32]CAPDU: 80 13 01 00 [00:09:32]Write to MH i2c: E2 08 00 F7 31 80 13 01 00 00 00 00 00 A5 [00:09:32]Write i2c OK [00:09:32]MH_I2C_Read... [00:09:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:09:32]Read from MH i2c: E2 [00:09:32]MH_I2C_Read... [00:09:32]Read from MH i2c: E2 0E 00 [00:09:32]MH_I2C_Read... [00:09:32]Read from MH i2c: E2 0E 00 F7 31 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 39 [00:09:32]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [00:09:32]wFMCommunicate OK [00:09:32]SAM_PROTO_GetShiftState done [00:09:32]FM_GetShiftState done [00:09:32]KKMCreateXReportDocument [00:09:32]Load OK [00:09:32]Malloc new data [00:09:32]MH_GetDate [00:09:32]Write to MH i2c: F0 00 00 F8 31 18 [00:09:32]Write i2c OK [00:09:32]MH_I2C_Read... [00:09:32]Read from MH i2c: F0 [00:09:32]MH_I2C_Read... [00:09:32]Read from MH i2c: F0 09 00 [00:09:32]MH_I2C_Read... [00:09:32]Read from MH i2c: F0 09 00 F8 31 00 C8 35 13 66 2B 11 66 64 9D [00:09:32]Malloc new data [00:09:32]Malloc new data [00:09:32]wFMCommunicate request_size=4 [00:09:32]MH_SAM_APDU [00:09:32]CAPDU: 80 11 00 00 [00:09:32]Write to MH i2c: E2 08 00 F9 31 80 11 00 00 00 00 00 00 A4 [00:09:32]Write i2c OK [00:09:32]MH_I2C_Read... [00:09:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:09:32]Read from MH i2c: E2 [00:09:32]MH_I2C_Read... [00:09:32]Read from MH i2c: E2 17 00 [00:09:32]MH_I2C_Read... [00:09:32]Read from MH i2c: E2 17 00 F9 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 FC [00:09:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [00:09:32]wFMCommunicate OK [00:09:32]SAM_PROTO_GetFieldsCounters [00:09:32]wFMCommunicate request_size=4 [00:09:32]MH_SAM_APDU [00:09:32]CAPDU: 80 13 00 00 [00:09:32]Write to MH i2c: E2 08 00 FA 31 80 13 00 00 00 00 00 00 A7 [00:09:32]Write i2c OK [00:09:32]MH_I2C_Read... [00:09:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:09:33]Read from MH i2c: E2 [00:09:33]MH_I2C_Read... [00:09:33]Read from MH i2c: E2 62 00 [00:09:33]MH_I2C_Read... [00:09:33]Read from MH i2c: E2 62 00 FA 31 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A1 68 00 00 0E 04 04 00 39 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 11 [00:09: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A1 68 00 00 0E 04 04 00 39 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 [00:09:33]wFMCommunicate OK [00:09:33]SAM_PROTO_GetFieldsCounters done [00:09:33]Malloc new data [00:09:33]Malloc new data [00:09:33]Malloc new data [00:09:33]KKMCreateXReportDocument OK [00:09:33]KKMSetXReportData OK [00:09:33]KKMPrepareXReportFMData [00:09:33]SAM_PROTO_GetShiftData [00:09:33]wFMCommunicate request_size=4 [00:09:33]MH_SAM_APDU [00:09:33]CAPDU: 80 13 02 00 [00:09:33]Write to MH i2c: E2 08 00 FB 31 80 13 02 00 00 00 00 00 AA [00:09:33]Write i2c OK [00:09:33]MH_I2C_Read... [00:09:33]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:09:33]Read from MH i2c: E2 [00:09:33]MH_I2C_Read... [00:09:33]Read from MH i2c: E2 FD 00 [00:09:33]MH_I2C_Read... [00:09:33]Read from MH i2c: E2 FD 00 FB 31 00 AF 04 AA 04 AB 04 6E 04 04 00 54 00 00 00 69 04 9C 00 6F 04 04 00 54 00 00 00 B1 04 03 00 E3 19 8B 70 04 03 00 60 D3 53 72 04 03 00 83 46 37 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 61 C6 0E 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 2A 3B 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 90 00 CA [00:09:33]RAPDU: AF 04 AA 04 AB 04 6E 04 04 00 54 00 00 00 69 04 9C 00 6F 04 04 00 54 00 00 00 B1 04 03 00 E3 19 8B 70 04 03 00 60 D3 53 72 04 03 00 83 46 37 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 61 C6 0E 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 2A 3B 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 90 00 [00:09:33]wFMCommunicate OK [00:09:33]wFMCommunicate request_size=4 [00:09:33]MH_SAM_APDU [00:09:33]CAPDU: 80 17 00 00 [00:09:33]Write to MH i2c: E2 08 00 FC 31 80 17 00 00 00 00 00 00 AD [00:09:33]Write i2c OK [00:09:33]MH_I2C_Read... [00:09:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:33]Read from MH i2c: E2 [00:09:33]MH_I2C_Read... [00:09:33]Read from MH i2c: E2 FD 00 [00:09:33]MH_I2C_Read... [00:09:33]Read from MH i2c: E2 FD 00 FC 31 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 90 00 C6 [00:09:34]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 90 00 [00:09:34]wFMCommunicate OK [00:09:34]wFMCommunicate request_size=4 [00:09:34]MH_SAM_APDU [00:09:34]CAPDU: 80 17 00 00 [00:09:34]Write to MH i2c: E2 08 00 FD 31 80 17 00 00 00 00 00 00 AE [00:09:34]Write i2c OK [00:09:34]MH_I2C_Read... [00:09:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:34]Read from MH i2c: E2 [00:09:34]MH_I2C_Read... [00:09:34]Read from MH i2c: E2 FD 00 [00:09:34]MH_I2C_Read... [00:09:34]Read from MH i2c: E2 FD 00 FD 31 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 90 00 62 [00:09:34]RAPDU: 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 90 00 [00:09:34]wFMCommunicate OK [00:09:34]wFMCommunicate request_size=4 [00:09:34]MH_SAM_APDU [00:09:34]CAPDU: 80 17 00 00 [00:09:34]Write to MH i2c: E2 08 00 FE 31 80 17 00 00 00 00 00 00 AF [00:09:34]Write i2c OK [00:09:34]MH_I2C_Read... [00:09:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:34]Read from MH i2c: E2 [00:09:34]MH_I2C_Read... [00:09:34]Read from MH i2c: E2 FD 00 [00:09:34]MH_I2C_Read... [00:09:34]Read from MH i2c: E2 FD 00 FE 31 00 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 90 00 2D [00:09:34]RAPDU: 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 90 00 [00:09:35]wFMCommunicate OK [00:09:35]wFMCommunicate request_size=4 [00:09:35]MH_SAM_APDU [00:09:35]CAPDU: 80 17 00 00 [00:09:35]Write to MH i2c: E2 08 00 FF 31 80 17 00 00 00 00 00 00 B0 [00:09:35]Write i2c OK [00:09:35]MH_I2C_Read... [00:09:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 201! [00:09:35]Read from MH i2c: E2 [00:09:35]MH_I2C_Read... [00:09:35]Read from MH i2c: E2 CC 00 [00:09:35]MH_I2C_Read... [00:09:35]Read from MH i2c: E2 CC 00 FF 31 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [00:09:35]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:09:35]wFMCommunicate OK [00:09:35]SAM_PROTO_GetShiftData done [00:09:35]1194 (1195) - счетчики итогов смены [00:09:35] 1134 (4) - 84 - количество чеков со всеми признаками расчетов [00:09:35] 1129 (156) - счетчики операций «приход» [00:09:35] 1135 (4) - 84 - количество чеков по признаку расчетов [00:09:35] 1201 (3) - 91161.31 - общая итоговая сумма в чеках [00:09:35] 1136 (3) - 54936.00 - итоговая сумма в чеках наличными [00:09:35] 1138 (3) - 36225.31 - итоговая сумма в чеках безналичными [00:09:35] 1024 (123) - суммы налогов [00:09:35] 1006 (9) - суммы НДС [00:09:35] 1010 (1) - 0% - код ставки НДС [00:09:35] 1011 (0) - 0.00 - сумма НДС по ставке [00:09:35] 1006 (12) - суммы НДС [00:09:35] 1010 (1) - 12% - код ставки НДС [00:09:35] 1011 (3) - 9682.89 - сумма НДС по ставке [00:09:35] 1007 (9) - суммы НСП [00:09:35] 1014 (1) - 0% - код ставки НСП [00:09:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:35] 1007 (12) - суммы НСП [00:09:35] 1014 (1) - 1% - код ставки НСП [00:09:35] 1015 (3) - 806.82 - сумма НСП по ставке [00:09:35] 1007 (9) - суммы НСП [00:09:35] 1014 (1) - 2% - код ставки НСП [00:09:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:35] 1007 (9) - суммы НСП [00:09:35] 1014 (1) - 3% - код ставки НСП [00:09:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:35] 1007 (9) - суммы НСП [00:09:35] 1014 (1) - 5% - код ставки НСП [00:09:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:35] 1007 (9) - суммы НСП [00:09:35] 1014 (1) - 0,50% - код ставки НСП [00:09:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:35] 1007 (9) - суммы НСП [00:09:35] 1014 (1) - 1,50% - код ставки НСП [00:09:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:35] 1130 (141) - счетчики операций «возврат прихода» [00:09:35] 1135 (4) - 0 - количество чеков по признаку расчетов [00:09:35] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:09:35] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:09:35] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:09:35] 1024 (117) - суммы налогов [00:09:35] 1006 (9) - суммы НДС [00:09:35] 1010 (1) - 0% - код ставки НДС [00:09:35] 1011 (0) - 0.00 - сумма НДС по ставке [00:09:35] 1006 (9) - суммы НДС [00:09:35] 1010 (1) - 12% - код ставки НДС [00:09:35] 1011 (0) - 0.00 - сумма НДС по ставке [00:09:35] 1007 (9) - суммы НСП [00:09:35] 1014 (1) - 0% - код ставки НСП [00:09:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:35] 1007 (9) - суммы НСП [00:09:35] 1014 (1) - 1% - код ставки НСП [00:09:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:35] 1007 (9) - суммы НСП [00:09:35] 1014 (1) - 2% - код ставки НСП [00:09:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:35] 1007 (9) - суммы НСП [00:09:35] 1014 (1) - 3% - код ставки НСП [00:09:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:35] 1007 (9) - суммы НСП [00:09:35] 1014 (1) - 5% - код ставки НСП [00:09:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:35] 1007 (9) - суммы НСП [00:09:35] 1014 (1) - 0,50% - код ставки НСП [00:09:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:35] 1007 (9) - суммы НСП [00:09:35] 1014 (1) - 1,50% - код ставки НСП [00:09:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:35] 1131 (141) - счетчики операций «расход» [00:09:35] 1135 (4) - 0 - количество чеков по признаку расчетов [00:09:35] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:09:35] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:09:35] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:09:35] 1024 (117) - суммы налогов [00:09:35] 1006 (9) - суммы НДС [00:09:35] 1010 (1) - 0% - код ставки НДС [00:09:35] 1011 (0) - 0.00 - сумма НДС по ставке [00:09:35] 1006 (9) - суммы НДС [00:09:35] 1010 (1) - 12% - код ставки НДС [00:09:35] 1011 (0) - 0.00 - сумма НДС по ставке [00:09:35] 1007 (9) - суммы НСП [00:09:35] 1014 (1) - 0% - код ставки НСП [00:09:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:35] 1007 (9) - суммы НСП [00:09:35] 1014 (1) - 1% - код ставки НСП [00:09:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:35] 1007 (9) - суммы НСП [00:09:35] 1014 (1) - 2% - код ставки НСП [00:09:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:35] 1007 (9) - суммы НСП [00:09:35] 1014 (1) - 3% - код ставки НСП [00:09:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:35] 1007 (9) - суммы НСП [00:09:35] 1014 (1) - 5% - код ставки НСП [00:09:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:35] 1007 (9) - суммы НСП [00:09:35] 1014 (1) - 0,50% - код ставки НСП [00:09:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:35] 1007 (9) - суммы НСП [00:09:35] 1014 (1) - 1,50% - код ставки НСП [00:09:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:35] 1132 (141) - счетчики операций «возврат расхода» [00:09:35] 1135 (4) - 0 - количество чеков по признаку расчетов [00:09:35] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:09:35] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:09:35] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:09:35] 1024 (117) - суммы налогов [00:09:35] 1006 (9) - суммы НДС [00:09:35] 1010 (1) - 0% - код ставки НДС [00:09:35] 1011 (0) - 0.00 - сумма НДС по ставке [00:09:35] 1006 (9) - суммы НДС [00:09:35] 1010 (1) - 12% - код ставки НДС [00:09:35] 1011 (0) - 0.00 - сумма НДС по ставке [00:09:35] 1007 (9) - суммы НСП [00:09:35] 1014 (1) - 0% - код ставки НСП [00:09:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:35] 1007 (9) - суммы НСП [00:09:35] 1014 (1) - 1% - код ставки НСП [00:09:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:35] 1007 (9) - суммы НСП [00:09:35] 1014 (1) - 2% - код ставки НСП [00:09:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:35] 1007 (9) - суммы НСП [00:09:35] 1014 (1) - 3% - код ставки НСП [00:09:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:35] 1007 (9) - суммы НСП [00:09:35] 1014 (1) - 5% - код ставки НСП [00:09:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:35] 1007 (9) - суммы НСП [00:09:35] 1014 (1) - 0,50% - код ставки НСП [00:09:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:35] 1007 (9) - суммы НСП [00:09:35] 1014 (1) - 1,50% - код ставки НСП [00:09:35] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:35] 1133 (588) - - счетчики коррекции - не используются [00:09:35]SetTLVBufToDocument [00:09:35]Processing tag 1194 (04AA) [00:09:35]Load OK [00:09:35]SetTLVBufToDocument [00:09:35]Processing tag 1134 (046E) [00:09:35]Malloc new data [00:09:35]Processing tag 1129 (0469) [00:09:35]Load OK [00:09:35]SetTLVBufToDocument [00:09:35]Processing tag 1135 (046F) [00:09:35]Malloc new data [00:09:35]Processing tag 1201 (04B1) [00:09:35]Malloc new data [00:09:35]Processing tag 1136 (0470) [00:09:35]Malloc new data [00:09:35]Processing tag 1138 (0472) [00:09:35]Malloc new data [00:09:36]Processing tag 1024 (0400) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1006 (03EE) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1010 (03F2) [00:09:36]Malloc new data [00:09:36]Processing tag 1011 (03F3) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1006 (03EE) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1010 (03F2) [00:09:36]Malloc new data [00:09:36]Processing tag 1011 (03F3) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1007 (03EF) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1014 (03F6) [00:09:36]Malloc new data [00:09:36]Processing tag 1015 (03F7) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1007 (03EF) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1014 (03F6) [00:09:36]Malloc new data [00:09:36]Processing tag 1015 (03F7) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1007 (03EF) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1014 (03F6) [00:09:36]Malloc new data [00:09:36]Processing tag 1015 (03F7) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1007 (03EF) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1014 (03F6) [00:09:36]Malloc new data [00:09:36]Processing tag 1015 (03F7) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1007 (03EF) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1014 (03F6) [00:09:36]Malloc new data [00:09:36]Processing tag 1015 (03F7) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1007 (03EF) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1014 (03F6) [00:09:36]Malloc new data [00:09:36]Processing tag 1015 (03F7) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1007 (03EF) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1014 (03F6) [00:09:36]Malloc new data [00:09:36]Processing tag 1015 (03F7) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]SetTLVBufToDocument err=0 [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1130 (046A) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1135 (046F) [00:09:36]Malloc new data [00:09:36]Processing tag 1201 (04B1) [00:09:36]Malloc new data [00:09:36]Processing tag 1136 (0470) [00:09:36]Malloc new data [00:09:36]Processing tag 1138 (0472) [00:09:36]Malloc new data [00:09:36]Processing tag 1024 (0400) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1006 (03EE) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1010 (03F2) [00:09:36]Malloc new data [00:09:36]Processing tag 1011 (03F3) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1006 (03EE) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1010 (03F2) [00:09:36]Malloc new data [00:09:36]Processing tag 1011 (03F3) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1007 (03EF) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1014 (03F6) [00:09:36]Malloc new data [00:09:36]Processing tag 1015 (03F7) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1007 (03EF) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1014 (03F6) [00:09:36]Malloc new data [00:09:36]Processing tag 1015 (03F7) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1007 (03EF) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1014 (03F6) [00:09:36]Malloc new data [00:09:36]Processing tag 1015 (03F7) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1007 (03EF) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1014 (03F6) [00:09:36]Malloc new data [00:09:36]Processing tag 1015 (03F7) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1007 (03EF) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1014 (03F6) [00:09:36]Malloc new data [00:09:36]Processing tag 1015 (03F7) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1007 (03EF) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1014 (03F6) [00:09:36]Malloc new data [00:09:36]Processing tag 1015 (03F7) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1007 (03EF) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1014 (03F6) [00:09:36]Malloc new data [00:09:36]Processing tag 1015 (03F7) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]SetTLVBufToDocument err=0 [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1131 (046B) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1135 (046F) [00:09:36]Malloc new data [00:09:36]Processing tag 1201 (04B1) [00:09:36]Malloc new data [00:09:36]Processing tag 1136 (0470) [00:09:36]Malloc new data [00:09:36]Processing tag 1138 (0472) [00:09:36]Malloc new data [00:09:36]Processing tag 1024 (0400) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1006 (03EE) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1010 (03F2) [00:09:36]Malloc new data [00:09:36]Processing tag 1011 (03F3) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1006 (03EE) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1010 (03F2) [00:09:36]Malloc new data [00:09:36]Processing tag 1011 (03F3) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1007 (03EF) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1014 (03F6) [00:09:36]Malloc new data [00:09:36]Processing tag 1015 (03F7) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1007 (03EF) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1014 (03F6) [00:09:36]Malloc new data [00:09:36]Processing tag 1015 (03F7) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1007 (03EF) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1014 (03F6) [00:09:36]Malloc new data [00:09:36]Processing tag 1015 (03F7) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1007 (03EF) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1014 (03F6) [00:09:36]Malloc new data [00:09:36]Processing tag 1015 (03F7) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1007 (03EF) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1014 (03F6) [00:09:36]Malloc new data [00:09:36]Processing tag 1015 (03F7) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1007 (03EF) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1014 (03F6) [00:09:36]Malloc new data [00:09:36]Processing tag 1015 (03F7) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1007 (03EF) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1014 (03F6) [00:09:36]Malloc new data [00:09:36]Processing tag 1015 (03F7) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]SetTLVBufToDocument err=0 [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1132 (046C) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1135 (046F) [00:09:36]Malloc new data [00:09:36]Processing tag 1201 (04B1) [00:09:36]Malloc new data [00:09:36]Processing tag 1136 (0470) [00:09:36]Malloc new data [00:09:36]Processing tag 1138 (0472) [00:09:36]Malloc new data [00:09:36]Processing tag 1024 (0400) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1006 (03EE) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1010 (03F2) [00:09:36]Malloc new data [00:09:36]Processing tag 1011 (03F3) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1006 (03EE) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1010 (03F2) [00:09:36]Malloc new data [00:09:36]Processing tag 1011 (03F3) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1007 (03EF) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1014 (03F6) [00:09:36]Malloc new data [00:09:36]Processing tag 1015 (03F7) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1007 (03EF) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1014 (03F6) [00:09:36]Malloc new data [00:09:36]Processing tag 1015 (03F7) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1007 (03EF) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1014 (03F6) [00:09:36]Malloc new data [00:09:36]Processing tag 1015 (03F7) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1007 (03EF) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1014 (03F6) [00:09:36]Malloc new data [00:09:36]Processing tag 1015 (03F7) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1007 (03EF) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1014 (03F6) [00:09:36]Malloc new data [00:09:36]Processing tag 1015 (03F7) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1007 (03EF) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1014 (03F6) [00:09:36]Malloc new data [00:09:36]Processing tag 1015 (03F7) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1007 (03EF) [00:09:36]Load OK [00:09:36]SetTLVBufToDocument [00:09:36]Processing tag 1014 (03F6) [00:09:36]Malloc new data [00:09:36]Processing tag 1015 (03F7) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]SetTLVBufToDocument err=0 [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Processing tag 1133 (046D) [00:09:36]Malloc new data [00:09:36]SetTLVBufToDocument err=0 [00:09:36]SetTLVBufToDocument err=0 [00:09:36]Malloc new data [00:09:36]SAM_PROTO_GetFMData [00:09:36]wFMCommunicate request_size=4 [00:09:36]MH_SAM_APDU [00:09:36]CAPDU: 80 13 03 00 [00:09:36]Write to MH i2c: E2 08 00 00 32 80 13 03 00 00 00 00 00 B1 [00:09:36]Write i2c OK [00:09:36]MH_I2C_Read... [00:09:36]OFD Sender: No OFD packet to send [00:09:37]Read from MH i2c: E2 [00:09:37]MH_I2C_Read... [00:09:37]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:09:37]Read from MH i2c: E2 FD 00 [00:09:37]MH_I2C_Read... [00:09:37]Read from MH i2c: E2 FD 00 00 32 00 C0 04 85 04 BC 04 6E 04 04 00 2F 66 00 00 69 04 A1 00 6F 04 04 00 ED 65 00 00 B1 04 04 00 94 95 49 9B 70 04 04 00 E8 FD 8A 7F 72 04 04 00 AC 97 BE 1B 00 04 7D 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 61 A1 7E 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 54 DC 5F 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 99 00 6F 04 04 00 42 00 00 00 B1 04 03 00 A4 6D BB 70 04 03 00 A4 6D BB 72 04 00 00 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 0B E8 13 EF 03 09 00 F6 03 01 00 90 00 B7 [00:09:37]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 2F 66 00 00 69 04 A1 00 6F 04 04 00 ED 65 00 00 B1 04 04 00 94 95 49 9B 70 04 04 00 E8 FD 8A 7F 72 04 04 00 AC 97 BE 1B 00 04 7D 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 61 A1 7E 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 54 DC 5F 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 99 00 6F 04 04 00 42 00 00 00 B1 04 03 00 A4 6D BB 70 04 03 00 A4 6D BB 72 04 00 00 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 0B E8 13 EF 03 09 00 F6 03 01 00 90 00 [00:09:37]wFMCommunicate OK [00:09:37]wFMCommunicate request_size=4 [00:09:37]MH_SAM_APDU [00:09:37]CAPDU: 80 17 00 00 [00:09:37]Write to MH i2c: E2 08 00 01 32 80 17 00 00 00 00 00 00 B3 [00:09:37]Write i2c OK [00:09:37]MH_I2C_Read... [00:09:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:37]Read from MH i2c: E2 [00:09:37]MH_I2C_Read... [00:09:37]Read from MH i2c: E2 FD 00 [00:09:37]MH_I2C_Read... [00:09:37]Read from MH i2c: E2 FD 00 01 32 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 A7 A8 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 90 00 33 [00:09:37]RAPDU: 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 A7 A8 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 90 00 [00:09:37]wFMCommunicate OK [00:09:37]wFMCommunicate request_size=4 [00:09:37]MH_SAM_APDU [00:09:37]CAPDU: 80 17 00 00 [00:09:37]Write to MH i2c: E2 08 00 02 32 80 17 00 00 00 00 00 00 B4 [00:09:37]Write i2c OK [00:09:37]MH_I2C_Read... [00:09:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:38]Read from MH i2c: E2 [00:09:38]MH_I2C_Read... [00:09:38]Read from MH i2c: E2 FD 00 [00:09:38]MH_I2C_Read... [00:09:38]Read from MH i2c: E2 FD 00 02 32 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 57 [00:09:38]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:09:38]wFMCommunicate OK [00:09:38]wFMCommunicate request_size=4 [00:09:38]MH_SAM_APDU [00:09:38]CAPDU: 80 17 00 00 [00:09:38]Write to MH i2c: E2 08 00 03 32 80 17 00 00 00 00 00 00 B5 [00:09:38]Write i2c OK [00:09:38]MH_I2C_Read... [00:09:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:38]Read from MH i2c: E2 [00:09:38]MH_I2C_Read... [00:09:38]Read from MH i2c: E2 FD 00 [00:09:38]MH_I2C_Read... [00:09:38]Read from MH i2c: E2 FD 00 03 32 00 01 00 04 F7 03 00 00 EF 03 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 90 00 2D [00:09:38]RAPDU: 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:09:38]wFMCommunicate OK [00:09:38]wFMCommunicate request_size=4 [00:09:38]MH_SAM_APDU [00:09:38]CAPDU: 80 17 00 00 [00:09:38]Write to MH i2c: E2 08 00 04 32 80 17 00 00 00 00 00 00 B6 [00:09:38]Write i2c OK [00:09:38]MH_I2C_Read... [00:09:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:09:39]Read from MH i2c: E2 [00:09:39]MH_I2C_Read... [00:09:39]Read from MH i2c: E2 DD 00 [00:09:39]MH_I2C_Read... [00:09:39]Read from MH i2c: E2 DD 00 04 32 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 9E [00:09:39]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:09:39]wFMCommunicate OK [00:09:39]SAM_PROTO_GetFMData done [00:09:39]FM_GetFMData:85 04 BC 04 6E 04 04 00 2F 66 00 00 69 04 A1 00 6F 04 04 00 ED 65 00 00 B1 04 04 00 94 95 49 9B 70 04 04 00 E8 FD 8A 7F 72 04 04 00 AC 97 BE 1B 00 04 7D 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 61 A1 7E 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 54 DC 5F 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 99 00 6F 04 04 00 42 00 00 00 B1 04 03 00 A4 6D BB 70 04 03 00 A4 6D BB 72 04 00 00 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 0B E8 13 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 A7 A8 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 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:09:40]oper:6F 04 04 00 ED 65 00 00 B1 04 04 00 94 95 49 9B 70 04 04 00 E8 FD 8A 7F 72 04 04 00 AC 97 BE 1B 00 04 7D 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 61 A1 7E 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 54 DC 5F 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 [00:09:40]total:94 95 49 9B [00:09:40]Malloc new data [00:09:40]oper:6F 04 04 00 42 00 00 00 B1 04 03 00 A4 6D BB 70 04 03 00 A4 6D BB 72 04 00 00 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 0B E8 13 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 A7 A8 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 [00:09:40]total:A4 6D BB [00:09:40]Malloc new data [00:09: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:09:40]total: [00:09:40]Malloc new data [00:09: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:09:40]total: [00:09:40]Malloc new data [00:09:40]KKMPrepareXReportFMData err=0 [00:09:40]Х отчет ИНН: 02508201610067 Кассир: Сарыбаев Т. 08.04.2024 00:09 Смена: 266 РНМ: 0000000000091578 ЗНМ: 0300000147 СНО: Общий режим Всего чеков: 84 ИТОГИ ПРИХОД Чеков: 84 Общий итог: 91161.31 Итого наличными: 54936.00 Итого безнал.: 36225.31 НДС 0% : 0.00 НДС 12% : 9682.89 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 806.82 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ РАСХОД Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ ВОЗВРАТ РАСХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 Сумма внесений: 0.00 Сумма выплат: 0.00 Нал. в кассе: 54936.00 НС Приход: 26052909.00 НС Возвр.Прихода: 122833.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000874657 [00:09:40]StoreToDocumentArchive [00:09:40]MH_GetDate [00:09:40]Write to MH i2c: F0 00 00 05 32 26 [00:09:40]Write i2c OK [00:09:40]MH_I2C_Read... [00:09:40]Read from MH i2c: F0 [00:09:40]MH_I2C_Read... [00:09:40]Read from MH i2c: F0 09 00 [00:09:40]MH_I2C_Read... [00:09:40]Read from MH i2c: F0 09 00 05 32 00 D0 35 13 66 2B 11 66 64 B3 [00:09:40]shift 266 fd 1712534992 [00:09:40]Create dir for shift 0266 [00:09:40]save to /storage/0266/doc_1712534992 [00:09:40]save last doc name /storage/0266/doc_1712534992 to /storage/kkm_last_doc_name [00:09:40]save OK [00:09:40]Clear old archive folders... [00:09:40]NVStorageSaveData kkm_last_timestamp [00:09:40]File name is /storage/kkm_last_timestamp [00:09:40]Write 4 bytes [00:09:40]NVStorageSaveData done [00:09:40]ExternCall_PrintAddStr [00:09:40]wPrintStart [00:09:40]Write to MH i2c: 01 00 00 06 32 38 [00:09:40]Write i2c OK [00:09:40]MH_I2C_Read... [00:09:40]Read from MH i2c: 01 [00:09:40]MH_I2C_Read... [00:09:40]Read from MH i2c: 01 07 00 [00:09:40]MH_I2C_Read... [00:09:40]Read from MH i2c: 01 07 00 06 32 00 00 00 00 00 FF 0F 4D [00:09:40]RasterBufferAndPrint [00:09:40]line Х отчет [00:09:40]line ИНН: 02508201610067 [00:09:40]line Кассир: Сарыбаев Т. [00:09:40]line 08.04.2024 00:09 [00:09:40]line Смена: 266 [00:09:40]line РНМ: 0000000000091578 [00:09:40]line ЗНМ: 0300000147 [00:09:40]line СНО: Общий режим [00:09:40]line Всего чеков: 84 [00:09:40]line ИТОГИ ПРИХОД [00:09:40]line Чеков: 84 [00:09:40]line Общий итог: 91161.31 [00:09:40]line Итого наличными: 54936.00 [00:09:40]line Итого безнал.: 36225.31 [00:09:40]line НДС 0% : 0.00 [00:09:40]line НДС 12% : 9682.89 [00:09:40]line НСП 0% : 0.00 [00:09:40]line НСП 1,50% : 0.00 [00:09:40]line НСП 0,50% : 0.00 [00:09:40]line НСП 5% : 0.00 [00:09:40]line НСП 3% : 0.00 [00:09:40]line НСП 2% : 0.00 [00:09:40]line НСП 1% : 806.82 [00:09:40]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:09:40]line Чеков: 0 [00:09:40]line Общий итог: 0.00 [00:09:40]line Итого наличными: 0.00 [00:09:40]line Итого безнал.: 0.00 [00:09:40]line НДС 0% : 0.00 [00:09:40]line НДС 12% : 0.00 [00:09:40]line НСП 0% : 0.00 [00:09:40]line НСП 1,50% : 0.00 [00:09:40]line НСП 0,50% : 0.00 [00:09:40]line НСП 5% : 0.00 [00:09:40]line НСП 3% : 0.00 [00:09:40]line НСП 2% : 0.00 [00:09:40]line НСП 1% : 0.00 [00:09:40]line ИТОГИ РАСХОД [00:09:40]line Чеков: 0 [00:09:40]line Общий итог: 0.00 [00:09:40]line Итого наличными: 0.00 [00:09:40]line Итого безнал.: 0.00 [00:09:40]line НДС 0% : 0.00 [00:09:40]line НДС 12% : 0.00 [00:09:40]line НСП 0% : 0.00 [00:09:40]line НСП 1,50% : 0.00 [00:09:40]line НСП 0,50% : 0.00 [00:09:40]line НСП 5% : 0.00 [00:09:40]line НСП 3% : 0.00 [00:09:40]line НСП 2% : 0.00 [00:09:40]line НСП 1% : 0.00 [00:09:40]line ИТОГИ ВОЗВРАТ РАСХОДА [00:09:40]line Чеков: 0 [00:09:40]line Общий итог: 0.00 [00:09:40]line Итого наличными: 0.00 [00:09:40]line Итого безнал.: 0.00 [00:09:40]line НДС 0% : 0.00 [00:09:40]line НДС 12% : 0.00 [00:09:40]line НСП 0% : 0.00 [00:09:40]line НСП 1,50% : 0.00 [00:09:40]line НСП 0,50% : 0.00 [00:09:40]line НСП 5% : 0.00 [00:09:40]line НСП 3% : 0.00 [00:09:40]line НСП 2% : 0.00 [00:09:40]line НСП 1% : 0.00 [00:09:40]line Сумма внесений: 0.00 [00:09:40]line Сумма выплат: 0.00 [00:09:40]line Нал. в кассе: 54936.00 [00:09:40]line НС Приход: 26052909.00 [00:09:40]line НС Возвр.Прихода: 122833.00 [00:09:40]line НС Расход: 0.00 [00:09:40]line НС Возвр.Расхода: 0.00 [00:09:40]line ФМ: 0000000000874657 [00:09:40]written 0, free lines is 4095 [00:09:41]Write to MH i2c: 01 00 00 51 32 83 [00:09:41]Write i2c OK [00:09:41]MH_I2C_Read... [00:09:41]Read from MH i2c: 01 [00:09:41]MH_I2C_Read... [00:09:41]Read from MH i2c: 01 07 00 [00:09:41]MH_I2C_Read... [00:09:41]Read from MH i2c: 01 07 00 51 32 00 00 00 00 00 B4 09 47 [00:09:41]RasterBufferAndPrint [00:09:41]line [00:09:41]line [00:09:41]line [00:09:41]line [00:09:41]line [00:09:41]written 0, free lines is 2513 [00:09:41]MH_Cut [00:09:41]Write to MH i2c: D1 01 00 58 32 01 5C [00:09:41]Write i2c OK [00:09:41]MH_I2C_Read... [00:09:41]Read from MH i2c: D1 [00:09:41]MH_I2C_Read... [00:09:41]Read from MH i2c: D1 01 00 [00:09:41]MH_I2C_Read... [00:09:41]Read from MH i2c: D1 01 00 58 32 00 5B [00:09:41]Write to MH i2c: 01 00 00 59 32 8B [00:09:41]Write i2c OK [00:09:41]MH_I2C_Read... [00:09:41]OFD Sender: No OFD packet to send [00:09:42]*** Cut start [00:09:42]*** Partial cut [00:09:42]*** CUTSNS_PIN = 1 [00:09:42]*** CUTSNS_PIN = 0 [00:09:43]*** Brake cut motor [00:09:43]Read from MH i2c: 01 [00:09:43]MH_I2C_Read... [00:09:43]*** Stop cut motor [00:09:43]*** Cut end [00:09:43]Read from MH i2c: 01 07 00 [00:09:43]MH_I2C_Read... [00:09:43]Read from MH i2c: 01 07 00 59 32 00 00 00 00 00 FF 0F A0 [00:09:43]process_action x_report done [00:09:43]requested_data is exist [00:09:43]produce_requested_data [00:09:43]requested_item fd.num is exist - process it [00:09:43]SAM_PROTO_GetFieldsCounters [00:09:43]wFMCommunicate request_size=4 [00:09:43]MH_SAM_APDU [00:09:43]CAPDU: 80 13 00 00 [00:09:43]Write to MH i2c: E2 08 00 5A 32 80 13 00 00 00 00 00 00 08 [00:09:43]Write i2c OK [00:09:43]MH_I2C_Read... [00:09:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:09:43]Read from MH i2c: E2 [00:09:43]MH_I2C_Read... [00:09:43]Read from MH i2c: E2 62 00 [00:09:43]MH_I2C_Read... [00:09:43]Read from MH i2c: E2 62 00 5A 32 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A1 68 00 00 0E 04 04 00 39 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 72 [00:09:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A1 68 00 00 0E 04 04 00 39 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 [00:09:43]wFMCommunicate OK [00:09:43]SAM_PROTO_GetFieldsCounters done [00:09:43]requested_item shift.num is exist - process it [00:09:43]requested_item shift.opened is exist - process it [00:09:43]req_shift_opened [00:09:43]FM_GetShiftState [00:09:43]SAM_PROTO_GetShiftState [00:09:43]wFMCommunicate request_size=4 [00:09:43]MH_SAM_APDU [00:09:43]CAPDU: 80 13 01 00 [00:09:43]Write to MH i2c: E2 08 00 5B 32 80 13 01 00 00 00 00 00 0A [00:09:43]Write i2c OK [00:09:43]MH_I2C_Read... [00:09:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:09:43]Read from MH i2c: E2 [00:09:43]MH_I2C_Read... [00:09:43]Read from MH i2c: E2 0E 00 [00:09:43]MH_I2C_Read... [00:09:43]Read from MH i2c: E2 0E 00 5B 32 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 9E [00:09:43]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [00:09:43]wFMCommunicate OK [00:09:43]SAM_PROTO_GetShiftState done [00:09:43]FM_GetShiftState done [00:09:43]req_shift_opened done [00:09:43]requested_item shift.open_date is exist - process it [00:09:43]req_shift_open_date [00:09:43]req_shift_open_date done [00:09:43]produce_requested_data done [00:09:43]produce_requested_data return {"fd.num":26785,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [00:09:43]process_action_free x_report [00:09:43]json_value_free [00:09:43]json_value_free done [00:09:43]process_json_proto returns [00:09:43]Send response to host [00:09:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":26785,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [00:09:43]free response buf [00:09:43]execute_script done [00:09:43]execute_script returns [00:09:43]free content buf [00:09:43]Sock 9.Close socket [00:09:43]Sock 9.Thread stoped [00:09:46]OFD Sender: No OFD packet to send [00:09:51]OFD Sender: No OFD packet to send [00:09:56]OFD Sender: No OFD packet to send [00:10:01]OFD Sender: No OFD packet to send [00:10:06]OFD Sender: No OFD packet to send [00:10:11]OFD Sender: No OFD packet to send [00:10:16]OFD Sender: No OFD packet to send [00:10:21]OFD Sender: No OFD packet to send [00:10:26]OFD Sender: No OFD packet to send [00:10:31]OFD Sender: No OFD packet to send [00:10:36]OFD Sender: No OFD packet to send [00:10:41]OFD Sender: No OFD packet to send [00:10:46]OFD Sender: No OFD packet to send [00:10:51]OFD Sender: No OFD packet to send [00:10:57]OFD Sender: No OFD packet to send [00:11:02]OFD Sender: No OFD packet to send [00:11:06]accept exits with 8 [00:11:06]New connection [00:11:06]New thread 3067014500 created [00:11:06]Thread 3066871140 joined [00:11:06]Waiting for new connection... [00:11:06] Sock 8.Parse request [00:11:06]Sock 8.Check first char [00:11:06]Sock 8.First char is OK [00:11:06]request: POST /json_proto HTTP/1.0 [00:11:06]Method: POST [00:11:06]URL: /json_proto [00:11:06]Method is POST - this is cgi request [00:11:06]url: /json_proto [00:11:06]query_string will be loaded in cgi processing [00:11:06]execute_cgi json_proto POST (null) [00:11:06]execute_cgi path=json_proto method=POST [00:11:06]POST find Content-Length [00:11:06]Host: 172.17.35.3:8080 [00:11:06]Content-Length: 215 [00:11:06]Content-Type: application/json [00:11:06] [00:11:06]POST finish read [00:11:06]Found Content-Length = 215 [00:11:06]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:11:06]execute_script... [00:11:06]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:11:06]POST & json_proto [00:11:06]process_json_proto [00:11:06]json parsed OK: [00:11:06]protocol is kg_v1.0 [00:11:06]action value=get_value [00:11:06]process_action get_value [00:11:06]cmd_get_value [00:11:06]process_action get_value done [00:11:06]requested_data is exist [00:11:06]produce_requested_data [00:11:06]requested_item kkm.sn is exist - process it [00:11:06]requested_item kkm.ver is exist - process it [00:11:06]requested_item fm.sn is exist - process it [00:11:06]wFMCommunicate request_size=4 [00:11:06]MH_SAM_APDU [00:11:06]CAPDU: 80 11 00 00 [00:11:06]Write to MH i2c: E2 08 00 5C 32 80 11 00 00 00 00 00 00 08 [00:11:06]Write i2c OK [00:11:06]MH_I2C_Read... [00:11:07]OFD Sender: No OFD packet to send [00:11:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:11:07]Read from MH i2c: E2 [00:11:07]MH_I2C_Read... [00:11:07]Read from MH i2c: E2 17 00 [00:11:07]MH_I2C_Read... [00:11:07]Read from MH i2c: E2 17 00 5C 32 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 60 [00:11:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [00:11:07]wFMCommunicate OK [00:11:07]requested_item fd.num is exist - process it [00:11:07]SAM_PROTO_GetFieldsCounters [00:11:07]wFMCommunicate request_size=4 [00:11:07]MH_SAM_APDU [00:11:07]CAPDU: 80 13 00 00 [00:11:07]Write to MH i2c: E2 08 00 5D 32 80 13 00 00 00 00 00 00 0B [00:11:07]Write i2c OK [00:11:07]MH_I2C_Read... [00:11:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:11:07]Read from MH i2c: E2 [00:11:07]MH_I2C_Read... [00:11:07]Read from MH i2c: E2 62 00 [00:11:07]MH_I2C_Read... [00:11:07]Read from MH i2c: E2 62 00 5D 32 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A1 68 00 00 0E 04 04 00 39 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 75 [00:11: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A1 68 00 00 0E 04 04 00 39 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 [00:11:07]wFMCommunicate OK [00:11:07]SAM_PROTO_GetFieldsCounters done [00:11:07]requested_item shift.num is exist - process it [00:11:07]requested_item shift.opened is exist - process it [00:11:07]req_shift_opened [00:11:07]FM_GetShiftState [00:11:07]SAM_PROTO_GetShiftState [00:11:07]wFMCommunicate request_size=4 [00:11:07]MH_SAM_APDU [00:11:07]CAPDU: 80 13 01 00 [00:11:07]Write to MH i2c: E2 08 00 5E 32 80 13 01 00 00 00 00 00 0D [00:11:07]Write i2c OK [00:11:07]MH_I2C_Read... [00:11:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:11:07]Read from MH i2c: E2 [00:11:07]MH_I2C_Read... [00:11:07]Read from MH i2c: E2 0E 00 [00:11:07]MH_I2C_Read... [00:11:07]Read from MH i2c: E2 0E 00 5E 32 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 A1 [00:11:07]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [00:11:07]wFMCommunicate OK [00:11:07]SAM_PROTO_GetShiftState done [00:11:07]FM_GetShiftState done [00:11:07]req_shift_opened done [00:11:07]requested_item shift.open_date is exist - process it [00:11:07]req_shift_open_date [00:11:07]req_shift_open_date done [00:11:07]produce_requested_data done [00:11:07]produce_requested_data return {"kkm.sn":"0300000147","kkm.ver":"001","fm.sn":"0000000000874657","fd.num":26785,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087} [00:11:07]process_action_free get_value [00:11:07]json_value_free [00:11:07]json_value_free done [00:11:07]process_json_proto returns [00:11:07]Send response to host [00:11:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000147","kkm.ver":"001","fm.sn":"0000000000874657","fd.num":26785,"shift.num":313,"shift.opened":1,"shift.open_date":1712450087}}} [00:11:07]free response buf [00:11:07]execute_script done [00:11:07]execute_script returns [00:11:07]free content buf [00:11:07]Sock 8.Close socket [00:11:07]Sock 8.Thread stoped [00:11:07]accept exits with 9 [00:11:07]New connection [00:11:07]New thread 3066871140 created [00:11:07]Thread 3067014500 joined [00:11:07]Waiting for new connection... [00:11:07] Sock 9.Parse request [00:11:07]Sock 9.Check first char [00:11:07]Sock 9.First char is OK [00:11:07]request: POST /json_proto HTTP/1.0 [00:11:07]Method: POST [00:11:07]URL: /json_proto [00:11:07]Method is POST - this is cgi request [00:11:07]url: /json_proto [00:11:07]query_string will be loaded in cgi processing [00:11:07]execute_cgi json_proto POST (null) [00:11:07]execute_cgi path=json_proto method=POST [00:11:07]POST find Content-Length [00:11:07]Host: 172.17.35.3:8080 [00:11:07]Content-Length: 331 [00:11:07]Content-Type: application/json [00:11:07] [00:11:07]POST finish read [00:11:07]Found Content-Length = 331 [00:11:07]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:11:07]execute_script... [00:11:07]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:11:07]POST & json_proto [00:11:07]process_json_proto [00:11:07]json parsed OK: [00:11:07]protocol is kg_v1.0 [00:11:07]action value=get_value [00:11:07]process_action get_value [00:11:07]cmd_get_value [00:11:07]process_action get_value done [00:11:07]requested_data is exist [00:11:07]produce_requested_data [00:11:07]requested_item fm.sale.total is exist - process it [00:11:07]SAM_PROTO_GetFMData [00:11:07]wFMCommunicate request_size=4 [00:11:07]MH_SAM_APDU [00:11:07]CAPDU: 80 13 03 00 [00:11:07]Write to MH i2c: E2 08 00 5F 32 80 13 03 00 00 00 00 00 10 [00:11:07]Write i2c OK [00:11:07]MH_I2C_Read... [00:11:07]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:11:07]Read from MH i2c: E2 [00:11:07]MH_I2C_Read... [00:11:07]Read from MH i2c: E2 FD 00 [00:11:07]MH_I2C_Read... [00:11:07]Read from MH i2c: E2 FD 00 5F 32 00 C0 04 85 04 BC 04 6E 04 04 00 2F 66 00 00 69 04 A1 00 6F 04 04 00 ED 65 00 00 B1 04 04 00 94 95 49 9B 70 04 04 00 E8 FD 8A 7F 72 04 04 00 AC 97 BE 1B 00 04 7D 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 61 A1 7E 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 54 DC 5F 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 99 00 6F 04 04 00 42 00 00 00 B1 04 03 00 A4 6D BB 70 04 03 00 A4 6D BB 72 04 00 00 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 0B E8 13 EF 03 09 00 F6 03 01 00 90 00 16 [00:11:07]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 2F 66 00 00 69 04 A1 00 6F 04 04 00 ED 65 00 00 B1 04 04 00 94 95 49 9B 70 04 04 00 E8 FD 8A 7F 72 04 04 00 AC 97 BE 1B 00 04 7D 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 61 A1 7E 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 54 DC 5F 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 99 00 6F 04 04 00 42 00 00 00 B1 04 03 00 A4 6D BB 70 04 03 00 A4 6D BB 72 04 00 00 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 0B E8 13 EF 03 09 00 F6 03 01 00 90 00 [00:11:07]wFMCommunicate OK [00:11:07]wFMCommunicate request_size=4 [00:11:07]MH_SAM_APDU [00:11:07]CAPDU: 80 17 00 00 [00:11:07]Write to MH i2c: E2 08 00 60 32 80 17 00 00 00 00 00 00 12 [00:11:07]Write i2c OK [00:11:07]MH_I2C_Read... [00:11:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:08]Read from MH i2c: E2 [00:11:08]MH_I2C_Read... [00:11:08]Read from MH i2c: E2 FD 00 [00:11:08]MH_I2C_Read... [00:11:08]Read from MH i2c: E2 FD 00 60 32 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 A7 A8 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 90 00 92 [00:11:08]RAPDU: 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 A7 A8 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 90 00 [00:11:08]wFMCommunicate OK [00:11:08]wFMCommunicate request_size=4 [00:11:08]MH_SAM_APDU [00:11:08]CAPDU: 80 17 00 00 [00:11:08]Write to MH i2c: E2 08 00 61 32 80 17 00 00 00 00 00 00 13 [00:11:08]Write i2c OK [00:11:08]MH_I2C_Read... [00:11:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:08]Read from MH i2c: E2 [00:11:08]MH_I2C_Read... [00:11:08]Read from MH i2c: E2 FD 00 [00:11:08]MH_I2C_Read... [00:11:08]Read from MH i2c: E2 FD 00 61 32 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 B6 [00:11:08]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:11:08]wFMCommunicate OK [00:11:08]wFMCommunicate request_size=4 [00:11:08]MH_SAM_APDU [00:11:08]CAPDU: 80 17 00 00 [00:11:08]Write to MH i2c: E2 08 00 62 32 80 17 00 00 00 00 00 00 14 [00:11:08]Write i2c OK [00:11:08]MH_I2C_Read... [00:11:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:08]Read from MH i2c: E2 [00:11:08]MH_I2C_Read... [00:11:08]Read from MH i2c: E2 FD 00 [00:11:08]MH_I2C_Read... [00:11:08]Read from MH i2c: E2 FD 00 62 32 00 01 00 04 F7 03 00 00 EF 03 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 90 00 8C [00:11:08]RAPDU: 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:08]wFMCommunicate OK [00:11:08]wFMCommunicate request_size=4 [00:11:08]MH_SAM_APDU [00:11:08]CAPDU: 80 17 00 00 [00:11:08]Write to MH i2c: E2 08 00 63 32 80 17 00 00 00 00 00 00 15 [00:11:08]Write i2c OK [00:11:08]MH_I2C_Read... [00:11:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:11:08]Read from MH i2c: E2 [00:11:08]MH_I2C_Read... [00:11:08]Read from MH i2c: E2 DD 00 [00:11:08]MH_I2C_Read... [00:11:09]Read from MH i2c: E2 DD 00 63 32 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [00:11:09]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:11:09]wFMCommunicate OK [00:11:09]SAM_PROTO_GetFMData done [00:11:09]requested_item fm.sale_refund.total is exist - process it [00:11:09]requested_item fm.buy.total is exist - process it [00:11:09]requested_item shift.sale.total is exist - process it [00:11:09]SAM_PROTO_GetShiftData [00:11:09]wFMCommunicate request_size=4 [00:11:09]MH_SAM_APDU [00:11:09]CAPDU: 80 13 02 00 [00:11:09]Write to MH i2c: E2 08 00 64 32 80 13 02 00 00 00 00 00 14 [00:11:09]Write i2c OK [00:11:09]MH_I2C_Read... [00:11:09]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:11:09]Read from MH i2c: E2 [00:11:09]MH_I2C_Read... [00:11:09]Read from MH i2c: E2 FD 00 [00:11:09]MH_I2C_Read... [00:11:09]Read from MH i2c: E2 FD 00 64 32 00 AF 04 AA 04 AB 04 6E 04 04 00 54 00 00 00 69 04 9C 00 6F 04 04 00 54 00 00 00 B1 04 03 00 E3 19 8B 70 04 03 00 60 D3 53 72 04 03 00 83 46 37 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 61 C6 0E 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 2A 3B 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 90 00 34 [00:11:09]RAPDU: AF 04 AA 04 AB 04 6E 04 04 00 54 00 00 00 69 04 9C 00 6F 04 04 00 54 00 00 00 B1 04 03 00 E3 19 8B 70 04 03 00 60 D3 53 72 04 03 00 83 46 37 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 61 C6 0E 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 2A 3B 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 90 00 [00:11:09]wFMCommunicate OK [00:11:09]wFMCommunicate request_size=4 [00:11:09]MH_SAM_APDU [00:11:09]CAPDU: 80 17 00 00 [00:11:09]Write to MH i2c: E2 08 00 65 32 80 17 00 00 00 00 00 00 17 [00:11:09]Write i2c OK [00:11:09]MH_I2C_Read... [00:11:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:09]Read from MH i2c: E2 [00:11:09]MH_I2C_Read... [00:11:09]Read from MH i2c: E2 FD 00 [00:11:09]MH_I2C_Read... [00:11:09]Read from MH i2c: E2 FD 00 65 32 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 90 00 30 [00:11:09]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 90 00 [00:11:09]wFMCommunicate OK [00:11:09]wFMCommunicate request_size=4 [00:11:09]MH_SAM_APDU [00:11:09]CAPDU: 80 17 00 00 [00:11:09]Write to MH i2c: E2 08 00 66 32 80 17 00 00 00 00 00 00 18 [00:11:09]Write i2c OK [00:11:09]MH_I2C_Read... [00:11:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:10]Read from MH i2c: E2 [00:11:10]MH_I2C_Read... [00:11:10]Read from MH i2c: E2 FD 00 [00:11:10]MH_I2C_Read... [00:11:10]Read from MH i2c: E2 FD 00 66 32 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 90 00 CC [00:11:10]RAPDU: 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 90 00 [00:11:10]wFMCommunicate OK [00:11:10]wFMCommunicate request_size=4 [00:11:10]MH_SAM_APDU [00:11:10]CAPDU: 80 17 00 00 [00:11:10]Write to MH i2c: E2 08 00 67 32 80 17 00 00 00 00 00 00 19 [00:11:10]Write i2c OK [00:11:10]MH_I2C_Read... [00:11:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:10]Read from MH i2c: E2 [00:11:10]MH_I2C_Read... [00:11:10]Read from MH i2c: E2 FD 00 [00:11:10]MH_I2C_Read... [00:11:10]Read from MH i2c: E2 FD 00 67 32 00 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 90 00 97 [00:11:10]RAPDU: 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 90 00 [00:11:10]wFMCommunicate OK [00:11:10]wFMCommunicate request_size=4 [00:11:10]MH_SAM_APDU [00:11:10]CAPDU: 80 17 00 00 [00:11:10]Write to MH i2c: E2 08 00 68 32 80 17 00 00 00 00 00 00 1A [00:11:10]Write i2c OK [00:11:10]MH_I2C_Read... [00:11:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 201! [00:11:10]Read from MH i2c: E2 [00:11:10]MH_I2C_Read... [00:11:10]Read from MH i2c: E2 CC 00 [00:11:10]MH_I2C_Read... [00:11:10]Read from MH i2c: E2 CC 00 68 32 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [00:11:10]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:11:10]wFMCommunicate OK [00:11:10]SAM_PROTO_GetShiftData done [00:11:10]requested_item shift.sale.total_cash is exist - process it [00:11:10]requested_item shift.sale_refund.total is exist - process it [00:11:10]requested_item shift.sale_refund.total_cash is exist - process it [00:11:10]requested_item shift.buy.total is exist - process it [00:11:10]requested_item shift.buy.total_cash is exist - process it [00:11:10]produce_requested_data done [00:11:10]produce_requested_data return {"fm.sale.total":26052909.00,"fm.sale_refund.total":122833.00,"fm.buy.total":0.00,"shift.sale.total":91161.31,"shift.sale.total_cash":54936.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:11:10]process_action_free get_value [00:11:10]json_value_free [00:11:10]json_value_free done [00:11:10]process_json_proto returns [00:11:10]Send response to host [00:11:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":26052909.00,"fm.sale_refund.total":122833.00,"fm.buy.total":0.00,"shift.sale.total":91161.31,"shift.sale.total_cash":54936.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:11:10]free response buf [00:11:10]execute_script done [00:11:10]execute_script returns [00:11:10]free content buf [00:11:10]Sock 9.Close socket [00:11:10]Sock 9.Thread stoped [00:11:10]accept exits with 8 [00:11:10]New connection [00:11:10]New thread 3067014500 created [00:11:10]Thread 3066871140 joined [00:11:10]Waiting for new connection... [00:11:10] Sock 8.Parse request [00:11:10]Sock 8.Check first char [00:11:10]Sock 8.First char is OK [00:11:10]request: POST /json_proto HTTP/1.0 [00:11:10]Method: POST [00:11:10]URL: /json_proto [00:11:10]Method is POST - this is cgi request [00:11:10]url: /json_proto [00:11:10]query_string will be loaded in cgi processing [00:11:10]execute_cgi json_proto POST (null) [00:11:10]execute_cgi path=json_proto method=POST [00:11:10]POST find Content-Length [00:11:10]Host: 172.17.35.3:8080 [00:11:10]Content-Length: 331 [00:11:10]Content-Type: application/json [00:11:10] [00:11:10]POST finish read [00:11:10]Found Content-Length = 331 [00:11:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:11:10]execute_script... [00:11:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:11:10]POST & json_proto [00:11:10]process_json_proto [00:11:10]json parsed OK: [00:11:10]protocol is kg_v1.0 [00:11:10]action value=get_value [00:11:10]process_action get_value [00:11:10]cmd_get_value [00:11:10]process_action get_value done [00:11:10]requested_data is exist [00:11:10]produce_requested_data [00:11:10]requested_item fm.sale.total is exist - process it [00:11:10]SAM_PROTO_GetFMData [00:11:10]wFMCommunicate request_size=4 [00:11:10]MH_SAM_APDU [00:11:10]CAPDU: 80 13 03 00 [00:11:10]Write to MH i2c: E2 08 00 69 32 80 13 03 00 00 00 00 00 1A [00:11:10]Write i2c OK [00:11:10]MH_I2C_Read... [00:11:11]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:11:11]Read from MH i2c: E2 [00:11:11]MH_I2C_Read... [00:11:11]Read from MH i2c: E2 FD 00 [00:11:11]MH_I2C_Read... [00:11:11]Read from MH i2c: E2 FD 00 69 32 00 C0 04 85 04 BC 04 6E 04 04 00 2F 66 00 00 69 04 A1 00 6F 04 04 00 ED 65 00 00 B1 04 04 00 94 95 49 9B 70 04 04 00 E8 FD 8A 7F 72 04 04 00 AC 97 BE 1B 00 04 7D 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 61 A1 7E 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 54 DC 5F 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 99 00 6F 04 04 00 42 00 00 00 B1 04 03 00 A4 6D BB 70 04 03 00 A4 6D BB 72 04 00 00 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 0B E8 13 EF 03 09 00 F6 03 01 00 90 00 20 [00:11:11]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 2F 66 00 00 69 04 A1 00 6F 04 04 00 ED 65 00 00 B1 04 04 00 94 95 49 9B 70 04 04 00 E8 FD 8A 7F 72 04 04 00 AC 97 BE 1B 00 04 7D 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 61 A1 7E 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 54 DC 5F 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 99 00 6F 04 04 00 42 00 00 00 B1 04 03 00 A4 6D BB 70 04 03 00 A4 6D BB 72 04 00 00 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 0B E8 13 EF 03 09 00 F6 03 01 00 90 00 [00:11:11]wFMCommunicate OK [00:11:11]wFMCommunicate request_size=4 [00:11:11]MH_SAM_APDU [00:11:11]CAPDU: 80 17 00 00 [00:11:11]Write to MH i2c: E2 08 00 6A 32 80 17 00 00 00 00 00 00 1C [00:11:11]Write i2c OK [00:11:11]MH_I2C_Read... [00:11:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:11]Read from MH i2c: E2 [00:11:11]MH_I2C_Read... [00:11:11]Read from MH i2c: E2 FD 00 [00:11:11]MH_I2C_Read... [00:11:11]Read from MH i2c: E2 FD 00 6A 32 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 A7 A8 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 90 00 9C [00:11:11]RAPDU: 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 A7 A8 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 90 00 [00:11:11]wFMCommunicate OK [00:11:11]wFMCommunicate request_size=4 [00:11:11]MH_SAM_APDU [00:11:11]CAPDU: 80 17 00 00 [00:11:11]Write to MH i2c: E2 08 00 6B 32 80 17 00 00 00 00 00 00 1D [00:11:11]Write i2c OK [00:11:11]MH_I2C_Read... [00:11:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:11]Read from MH i2c: E2 [00:11:11]MH_I2C_Read... [00:11:11]Read from MH i2c: E2 FD 00 [00:11:11]MH_I2C_Read... [00:11:11]Read from MH i2c: E2 FD 00 6B 32 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 C0 [00:11:11]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:11:11]wFMCommunicate OK [00:11:11]wFMCommunicate request_size=4 [00:11:11]MH_SAM_APDU [00:11:11]CAPDU: 80 17 00 00 [00:11:11]Write to MH i2c: E2 08 00 6C 32 80 17 00 00 00 00 00 00 1E [00:11:11]Write i2c OK [00:11:11]MH_I2C_Read... [00:11:12]OFD Sender: No OFD packet to send [00:11:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:12]Read from MH i2c: E2 [00:11:12]MH_I2C_Read... [00:11:12]Read from MH i2c: E2 FD 00 [00:11:12]MH_I2C_Read... [00:11:12]Read from MH i2c: E2 FD 00 6C 32 00 01 00 04 F7 03 00 00 EF 03 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 90 00 96 [00:11:12]RAPDU: 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:12]wFMCommunicate OK [00:11:12]wFMCommunicate request_size=4 [00:11:12]MH_SAM_APDU [00:11:12]CAPDU: 80 17 00 00 [00:11:12]Write to MH i2c: E2 08 00 6D 32 80 17 00 00 00 00 00 00 1F [00:11:12]Write i2c OK [00:11:12]MH_I2C_Read... [00:11:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:11:12]Read from MH i2c: E2 [00:11:12]MH_I2C_Read... [00:11:12]Read from MH i2c: E2 DD 00 [00:11:12]MH_I2C_Read... [00:11:12]Read from MH i2c: E2 DD 00 6D 32 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [00:11:12]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:11:12]wFMCommunicate OK [00:11:12]SAM_PROTO_GetFMData done [00:11:12]requested_item fm.sale_refund.total is exist - process it [00:11:12]requested_item fm.buy.total is exist - process it [00:11:12]requested_item shift.sale.total is exist - process it [00:11:12]SAM_PROTO_GetShiftData [00:11:12]wFMCommunicate request_size=4 [00:11:12]MH_SAM_APDU [00:11:12]CAPDU: 80 13 02 00 [00:11:12]Write to MH i2c: E2 08 00 6E 32 80 13 02 00 00 00 00 00 1E [00:11:12]Write i2c OK [00:11:12]MH_I2C_Read... [00:11:13]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:11:13]Read from MH i2c: E2 [00:11:13]MH_I2C_Read... [00:11:13]Read from MH i2c: E2 FD 00 [00:11:13]MH_I2C_Read... [00:11:13]Read from MH i2c: E2 FD 00 6E 32 00 AF 04 AA 04 AB 04 6E 04 04 00 54 00 00 00 69 04 9C 00 6F 04 04 00 54 00 00 00 B1 04 03 00 E3 19 8B 70 04 03 00 60 D3 53 72 04 03 00 83 46 37 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 61 C6 0E 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 2A 3B 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 90 00 3E [00:11:13]RAPDU: AF 04 AA 04 AB 04 6E 04 04 00 54 00 00 00 69 04 9C 00 6F 04 04 00 54 00 00 00 B1 04 03 00 E3 19 8B 70 04 03 00 60 D3 53 72 04 03 00 83 46 37 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 61 C6 0E 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 2A 3B 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 90 00 [00:11:13]wFMCommunicate OK [00:11:13]wFMCommunicate request_size=4 [00:11:13]MH_SAM_APDU [00:11:13]CAPDU: 80 17 00 00 [00:11:13]Write to MH i2c: E2 08 00 6F 32 80 17 00 00 00 00 00 00 21 [00:11:13]Write i2c OK [00:11:13]MH_I2C_Read... [00:11:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:13]Read from MH i2c: E2 [00:11:13]MH_I2C_Read... [00:11:13]Read from MH i2c: E2 FD 00 [00:11:13]MH_I2C_Read... [00:11:13]Read from MH i2c: E2 FD 00 6F 32 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 90 00 3A [00:11:13]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 90 00 [00:11:13]wFMCommunicate OK [00:11:13]wFMCommunicate request_size=4 [00:11:13]MH_SAM_APDU [00:11:13]CAPDU: 80 17 00 00 [00:11:13]Write to MH i2c: E2 08 00 70 32 80 17 00 00 00 00 00 00 22 [00:11:13]Write i2c OK [00:11:13]MH_I2C_Read... [00:11:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:13]Read from MH i2c: E2 [00:11:13]MH_I2C_Read... [00:11:13]Read from MH i2c: E2 FD 00 [00:11:13]MH_I2C_Read... [00:11:13]Read from MH i2c: E2 FD 00 70 32 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 90 00 D6 [00:11:13]RAPDU: 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 90 00 [00:11:14]wFMCommunicate OK [00:11:14]wFMCommunicate request_size=4 [00:11:14]MH_SAM_APDU [00:11:14]CAPDU: 80 17 00 00 [00:11:14]Write to MH i2c: E2 08 00 71 32 80 17 00 00 00 00 00 00 23 [00:11:14]Write i2c OK [00:11:14]MH_I2C_Read... [00:11:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:14]Read from MH i2c: E2 [00:11:14]MH_I2C_Read... [00:11:14]Read from MH i2c: E2 FD 00 [00:11:14]MH_I2C_Read... [00:11:14]Read from MH i2c: E2 FD 00 71 32 00 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 90 00 A1 [00:11:14]RAPDU: 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 90 00 [00:11:14]wFMCommunicate OK [00:11:14]wFMCommunicate request_size=4 [00:11:14]MH_SAM_APDU [00:11:14]CAPDU: 80 17 00 00 [00:11:14]Write to MH i2c: E2 08 00 72 32 80 17 00 00 00 00 00 00 24 [00:11:14]Write i2c OK [00:11:14]MH_I2C_Read... [00:11:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 201! [00:11:14]Read from MH i2c: E2 [00:11:14]MH_I2C_Read... [00:11:14]Read from MH i2c: E2 CC 00 [00:11:14]MH_I2C_Read... [00:11:14]Read from MH i2c: E2 CC 00 72 32 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [00:11:14]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:11:14]wFMCommunicate OK [00:11:14]SAM_PROTO_GetShiftData done [00:11:14]requested_item shift.sale.total_cash is exist - process it [00:11:14]requested_item shift.sale_refund.total is exist - process it [00:11:14]requested_item shift.sale_refund.total_cash is exist - process it [00:11:14]requested_item shift.buy.total is exist - process it [00:11:14]requested_item shift.buy.total_cash is exist - process it [00:11:14]produce_requested_data done [00:11:14]produce_requested_data return {"fm.sale.total":26052909.00,"fm.sale_refund.total":122833.00,"fm.buy.total":0.00,"shift.sale.total":91161.31,"shift.sale.total_cash":54936.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:11:14]process_action_free get_value [00:11:14]json_value_free [00:11:14]json_value_free done [00:11:14]process_json_proto returns [00:11:14]Send response to host [00:11:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":26052909.00,"fm.sale_refund.total":122833.00,"fm.buy.total":0.00,"shift.sale.total":91161.31,"shift.sale.total_cash":54936.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:11:14]free response buf [00:11:14]execute_script done [00:11:14]execute_script returns [00:11:14]free content buf [00:11:14]Sock 8.Close socket [00:11:14]Sock 8.Thread stoped [00:11:14]accept exits with 9 [00:11:14]New connection [00:11:14]New thread 3066871140 created [00:11:14]Thread 3067014500 joined [00:11:14]Waiting for new connection... [00:11:14] Sock 9.Parse request [00:11:14]Sock 9.Check first char [00:11:14]Sock 9.First char is OK [00:11:14]request: POST /json_proto HTTP/1.0 [00:11:14]Method: POST [00:11:14]URL: /json_proto [00:11:14]Method is POST - this is cgi request [00:11:14]url: /json_proto [00:11:14]query_string will be loaded in cgi processing [00:11:14]execute_cgi json_proto POST (null) [00:11:14]execute_cgi path=json_proto method=POST [00:11:14]POST find Content-Length [00:11:14]Host: 172.17.35.3:8080 [00:11:14]Content-Length: 259 [00:11:14]Content-Type: application/json [00:11:14] [00:11:14]POST finish read [00:11:14]Found Content-Length = 259 [00:11:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0421\u0430\u0440\u044B\u0431\u0430\u0435\u0432 \u0422." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:11:14]execute_script... [00:11:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0421\u0430\u0440\u044B\u0431\u0430\u0435\u0432 \u0422." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:11:14]POST & json_proto [00:11:14]process_json_proto [00:11:14]json parsed OK: [00:11:14]protocol is kg_v1.0 [00:11:14]action value=close_shift [00:11:14]process_action close_shift [00:11:14]cmd_close_shift [00:11:14]MH_GetDate [00:11:14]Write to MH i2c: F0 00 00 73 32 94 [00:11:14]Write i2c OK [00:11:14]MH_I2C_Read... [00:11:14]Read from MH i2c: F0 [00:11:14]MH_I2C_Read... [00:11:14]Read from MH i2c: F0 09 00 [00:11:14]MH_I2C_Read... [00:11:14]Read from MH i2c: F0 09 00 73 32 00 2E 36 13 66 2B 11 66 64 80 [00:11:14]GetLastDocTimeStamp 1712534984 [00:11:14]current date 1712535086 [00:11:14]FM_GetShiftState [00:11:14]SAM_PROTO_GetShiftState [00:11:14]wFMCommunicate request_size=4 [00:11:14]MH_SAM_APDU [00:11:14]CAPDU: 80 13 01 00 [00:11:14]Write to MH i2c: E2 08 00 74 32 80 13 01 00 00 00 00 00 23 [00:11:14]Write i2c OK [00:11:14]MH_I2C_Read... [00:11:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:11:14]Read from MH i2c: E2 [00:11:14]MH_I2C_Read... [00:11:14]Read from MH i2c: E2 0E 00 [00:11:14]MH_I2C_Read... [00:11:14]Read from MH i2c: E2 0E 00 74 32 00 09 00 01 27 EA 11 66 00 00 00 00 90 00 B7 [00:11:14]RAPDU: 09 00 01 27 EA 11 66 00 00 00 00 90 00 [00:11:14]wFMCommunicate OK [00:11:14]SAM_PROTO_GetShiftState done [00:11:14]FM_GetShiftState done [00:11:14]KKMCreateCloseShiftDocument [00:11:14]Load OK [00:11:14]Malloc new data [00:11:14]MH_GetDate [00:11:14]Write to MH i2c: F0 00 00 75 32 96 [00:11:14]Write i2c OK [00:11:14]MH_I2C_Read... [00:11:14]Read from MH i2c: F0 [00:11:14]MH_I2C_Read... [00:11:14]Read from MH i2c: F0 09 00 [00:11:14]MH_I2C_Read... [00:11:14]Read from MH i2c: F0 09 00 75 32 00 2E 36 13 66 2B 11 66 64 82 [00:11:14]Malloc new data [00:11:14]Malloc new data [00:11:14]Malloc new data [00:11:14]Malloc new data [00:11:14]KKMCreateCloseShiftDocument OK [00:11:14]KKMSetCloseShiftData OK [00:11:14]ProcessDocumentItem done err = 0, tmpTLVsize=70 [00:11:14]tlvbuf is 00FBF860 [00:11:14]KKMLoadAndSignCloseShiftData [00:11:14]SAM_PROTO_ProcessDocument [00:11:14]wFMCommunicate request_size=9 [00:11:14]MH_SAM_APDU [00:11:14]CAPDU: 80 15 01 00 04 05 00 46 00 [00:11:14]Write to MH i2c: E2 0C 00 76 32 80 15 01 00 04 00 05 00 46 00 00 00 7A [00:11:14]Write i2c OK [00:11:14]MH_I2C_Read... [00:11:14]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:11:14]Read from MH i2c: E2 [00:11:14]MH_I2C_Read... [00:11:14]Read from MH i2c: E2 03 00 [00:11:14]MH_I2C_Read... [00:11:14]Read from MH i2c: E2 03 00 76 32 00 90 00 1C [00:11:14]RAPDU: 90 00 [00:11:14]wFMCommunicate OK [00:11:14]wFMCommunicate request_size=23 [00:11:14]MH_SAM_APDU [00:11:14]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [00:11:14]Write to MH i2c: E2 1A 00 77 32 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 1E [00:11:14]Write i2c OK [00:11:14]MH_I2C_Read... [00:11:15]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:11:15]Read from MH i2c: E2 [00:11:15]MH_I2C_Read... [00:11:15]Read from MH i2c: E2 03 00 [00:11:15]MH_I2C_Read... [00:11:15]Read from MH i2c: E2 03 00 77 32 00 90 00 1D [00:11:15]RAPDU: 90 00 [00:11:15]wFMCommunicate OK [00:11:15]wFMCommunicate request_size=29 [00:11:15]MH_SAM_APDU [00:11:15]CAPDU: 80 15 02 00 18 FD 03 14 00 D0 A1 D0 B0 D1 80 D1 8B D0 B1 D0 B0 D0 B5 D0 B2 20 D0 A2 2E [00:11:15]Write to MH i2c: E2 20 00 78 32 80 15 02 00 18 00 FD 03 14 00 D0 A1 D0 B0 D1 80 D1 8B D0 B1 D0 B0 D0 B5 D0 B2 20 D0 A2 2E 00 00 D4 [00:11:15]Write i2c OK [00:11:15]MH_I2C_Read... [00:11:15]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:11:15]Read from MH i2c: E2 [00:11:15]MH_I2C_Read... [00:11:15]Read from MH i2c: E2 03 00 [00:11:15]MH_I2C_Read... [00:11:15]Read from MH i2c: E2 03 00 78 32 00 90 00 1E [00:11:15]RAPDU: 90 00 [00:11:15]wFMCommunicate OK [00:11:15]wFMCommunicate request_size=13 [00:11:15]MH_SAM_APDU [00:11:15]CAPDU: 80 15 02 00 08 F4 03 04 00 2E 36 13 66 [00:11:15]Write to MH i2c: E2 10 00 79 32 80 15 02 00 08 00 F4 03 04 00 2E 36 13 66 00 00 13 [00:11:15]Write i2c OK [00:11:15]MH_I2C_Read... [00:11:15]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:11:15]Read from MH i2c: E2 [00:11:15]MH_I2C_Read... [00:11:15]Read from MH i2c: E2 03 00 [00:11:15]MH_I2C_Read... [00:11:15]Read from MH i2c: E2 03 00 79 32 00 90 00 1F [00:11:15]RAPDU: 90 00 [00:11:15]wFMCommunicate OK [00:11:15]wFMCommunicate request_size=25 [00:11:15]MH_SAM_APDU [00:11:15]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 [00:11:15]Write to MH i2c: E2 1C 00 7A 32 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 00 00 93 [00:11:15]Write i2c OK [00:11:15]MH_I2C_Read... [00:11:15]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:11:15]Read from MH i2c: E2 [00:11:15]MH_I2C_Read... [00:11:15]Read from MH i2c: E2 03 00 [00:11:15]MH_I2C_Read... [00:11:15]Read from MH i2c: E2 03 00 7A 32 00 90 00 20 [00:11:15]RAPDU: 90 00 [00:11:15]wFMCommunicate OK [00:11:15]wFMCommunicate request_size=4 [00:11:15]MH_SAM_APDU [00:11:15]CAPDU: 80 15 03 00 [00:11:15]Write to MH i2c: E2 08 00 7B 32 80 15 03 00 00 00 00 00 2E [00:11:15]Write i2c OK [00:11:15]MH_I2C_Read... [00:11:15]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [00:11:15]Read from MH i2c: E2 [00:11:15]MH_I2C_Read... [00:11:15]Read from MH i2c: E2 FD 00 [00:11:15]MH_I2C_Read... [00:11:15]Read from MH i2c: E2 FD 00 7B 32 00 F2 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A2 68 00 00 0E 04 04 00 39 01 00 00 5E 04 04 00 54 00 00 00 57 04 04 00 56 00 00 00 AA 04 AB 04 6E 04 04 00 54 00 00 00 69 04 9C 00 6F 04 04 00 54 00 00 00 B1 04 03 00 E3 19 8B 70 04 03 00 60 D3 53 72 04 03 00 83 46 37 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 61 C6 0E 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 2A 3B 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 90 00 D7 [00:11:15]RAPDU: F2 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A2 68 00 00 0E 04 04 00 39 01 00 00 5E 04 04 00 54 00 00 00 57 04 04 00 56 00 00 00 AA 04 AB 04 6E 04 04 00 54 00 00 00 69 04 9C 00 6F 04 04 00 54 00 00 00 B1 04 03 00 E3 19 8B 70 04 03 00 60 D3 53 72 04 03 00 83 46 37 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 61 C6 0E 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 2A 3B 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 90 00 [00:11:15]wFMCommunicate OK [00:11:15]SAM_PROTO_ProcessDocument answer len = 1266 [00:11:15]SAM_PROTO_ProcessDocument remain to read = 1018 [00:11:15]wFMCommunicate request_size=4 [00:11:15]MH_SAM_APDU [00:11:15]CAPDU: 80 17 00 00 [00:11:15]Write to MH i2c: E2 08 00 7C 32 80 17 00 00 00 00 00 00 2E [00:11:16]Write i2c OK [00:11:16]MH_I2C_Read... [00:11:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:16]Read from MH i2c: E2 [00:11:16]MH_I2C_Read... [00:11:16]Read from MH i2c: E2 FD 00 [00:11:16]MH_I2C_Read... [00:11:16]Read from MH i2c: E2 FD 00 7C 32 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 90 00 74 [00:11:16]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 90 00 [00:11:16]wFMCommunicate OK [00:11:16]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:11:16]SAM_PROTO_ProcessDocument remain to read = 768 [00:11:16]wFMCommunicate request_size=4 [00:11:16]MH_SAM_APDU [00:11:16]CAPDU: 80 17 00 00 [00:11:16]Write to MH i2c: E2 08 00 7D 32 80 17 00 00 00 00 00 00 2F [00:11:16]Write i2c OK [00:11:16]MH_I2C_Read... [00:11:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:16]Read from MH i2c: E2 [00:11:16]MH_I2C_Read... [00:11:16]Read from MH i2c: E2 FD 00 [00:11:16]MH_I2C_Read... [00:11:16]Read from MH i2c: E2 FD 00 7D 32 00 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 91 [00:11:16]RAPDU: 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 [00:11:16]wFMCommunicate OK [00:11:16]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:11:16]SAM_PROTO_ProcessDocument remain to read = 518 [00:11:16]wFMCommunicate request_size=4 [00:11:16]MH_SAM_APDU [00:11:16]CAPDU: 80 17 00 00 [00:11:16]Write to MH i2c: E2 08 00 7E 32 80 17 00 00 00 00 00 00 30 [00:11:16]Write i2c OK [00:11:16]MH_I2C_Read... [00:11:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:17]Read from MH i2c: E2 [00:11:17]MH_I2C_Read... [00:11:17]Read from MH i2c: E2 FD 00 [00:11:17]MH_I2C_Read... [00:11:17]OFD Sender: No OFD packet to send [00:11:17]Read from MH i2c: E2 FD 00 7E 32 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 CB [00:11:17]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:17]wFMCommunicate OK [00:11:17]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:11:17]SAM_PROTO_ProcessDocument remain to read = 268 [00:11:17]wFMCommunicate request_size=4 [00:11:17]MH_SAM_APDU [00:11:17]CAPDU: 80 17 00 00 [00:11:17]Write to MH i2c: E2 08 00 7F 32 80 17 00 00 00 00 00 00 31 [00:11:17]Write i2c OK [00:11:17]MH_I2C_Read... [00:11:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:17]Read from MH i2c: E2 [00:11:17]MH_I2C_Read... [00:11:17]Read from MH i2c: E2 FD 00 [00:11:17]MH_I2C_Read... [00:11:17]Read from MH i2c: E2 FD 00 7F 32 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 90 00 E8 [00:11:17]RAPDU: F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 90 00 [00:11:17]wFMCommunicate OK [00:11:17]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:11:17]SAM_PROTO_ProcessDocument remain to read = 18 [00:11:17]wFMCommunicate request_size=4 [00:11:17]MH_SAM_APDU [00:11:17]CAPDU: 80 17 00 00 [00:11:17]Write to MH i2c: E2 08 00 80 32 80 17 00 00 00 00 00 00 32 [00:11:17]Write i2c OK [00:11:17]MH_I2C_Read... [00:11:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 18! [00:11:17]Read from MH i2c: E2 [00:11:17]MH_I2C_Read... [00:11:17]Read from MH i2c: E2 15 00 [00:11:17]MH_I2C_Read... [00:11:17]Read from MH i2c: E2 15 00 80 32 00 03 01 00 06 F7 03 00 00 35 04 06 00 67 BE 04 2A 6A E2 90 00 1A [00:11:17]RAPDU: 03 01 00 06 F7 03 00 00 35 04 06 00 67 BE 04 2A 6A E2 90 00 [00:11:17]wFMCommunicate OK [00:11:17]SAM_PROTO_ProcessDocument received (without SW) 18 bytes [00:11:17]SAM_PROTO_ProcessDocument done [00:11:17]1209 (1) - 1.0 - номер версии ФФД [00:11:17]1041 (16) - 0000000000874657 - номер ФМ [00:11:17]1040 (4) - 26786 - номер ФД [00:11:17]1038 (4) - 313 - номер смены [00:11:17]1118 (4) - 84 - количество кассовых чеков за смену [00:11:17]1111 (4) - 86 - общее количество ФД за смену [00:11:17]1194 (1195) - счетчики итогов смены [00:11:17] 1134 (4) - 84 - количество чеков со всеми признаками расчетов [00:11:17] 1129 (156) - счетчики операций «приход» [00:11:17] 1135 (4) - 84 - количество чеков по признаку расчетов [00:11:17] 1201 (3) - 91161.31 - общая итоговая сумма в чеках [00:11:17] 1136 (3) - 54936.00 - итоговая сумма в чеках наличными [00:11:17] 1138 (3) - 36225.31 - итоговая сумма в чеках безналичными [00:11:17] 1024 (123) - суммы налогов [00:11:17] 1006 (9) - суммы НДС [00:11:17] 1010 (1) - 0% - код ставки НДС [00:11:17] 1011 (0) - 0.00 - сумма НДС по ставке [00:11:17] 1006 (12) - суммы НДС [00:11:17] 1010 (1) - 12% - код ставки НДС [00:11:18] 1011 (3) - 9682.89 - сумма НДС по ставке [00:11:18] 1007 (9) - суммы НСП [00:11:18] 1014 (1) - 0% - код ставки НСП [00:11:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:18] 1007 (12) - суммы НСП [00:11:18] 1014 (1) - 1% - код ставки НСП [00:11:18] 1015 (3) - 806.82 - сумма НСП по ставке [00:11:18] 1007 (9) - суммы НСП [00:11:18] 1014 (1) - 2% - код ставки НСП [00:11:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:18] 1007 (9) - суммы НСП [00:11:18] 1014 (1) - 3% - код ставки НСП [00:11:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:18] 1007 (9) - суммы НСП [00:11:18] 1014 (1) - 5% - код ставки НСП [00:11:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:18] 1007 (9) - суммы НСП [00:11:18] 1014 (1) - 0,50% - код ставки НСП [00:11:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:18] 1007 (9) - суммы НСП [00:11:18] 1014 (1) - 1,50% - код ставки НСП [00:11:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:18] 1130 (141) - счетчики операций «возврат прихода» [00:11:18] 1135 (4) - 0 - количество чеков по признаку расчетов [00:11:18] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:11:18] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:11:18] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:11:18] 1024 (117) - суммы налогов [00:11:18] 1006 (9) - суммы НДС [00:11:18] 1010 (1) - 0% - код ставки НДС [00:11:18] 1011 (0) - 0.00 - сумма НДС по ставке [00:11:18] 1006 (9) - суммы НДС [00:11:18] 1010 (1) - 12% - код ставки НДС [00:11:18] 1011 (0) - 0.00 - сумма НДС по ставке [00:11:18] 1007 (9) - суммы НСП [00:11:18] 1014 (1) - 0% - код ставки НСП [00:11:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:18] 1007 (9) - суммы НСП [00:11:18] 1014 (1) - 1% - код ставки НСП [00:11:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:18] 1007 (9) - суммы НСП [00:11:18] 1014 (1) - 2% - код ставки НСП [00:11:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:18] 1007 (9) - суммы НСП [00:11:18] 1014 (1) - 3% - код ставки НСП [00:11:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:18] 1007 (9) - суммы НСП [00:11:18] 1014 (1) - 5% - код ставки НСП [00:11:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:18] 1007 (9) - суммы НСП [00:11:18] 1014 (1) - 0,50% - код ставки НСП [00:11:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:18] 1007 (9) - суммы НСП [00:11:18] 1014 (1) - 1,50% - код ставки НСП [00:11:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:18] 1131 (141) - счетчики операций «расход» [00:11:18] 1135 (4) - 0 - количество чеков по признаку расчетов [00:11:18] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:11:18] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:11:18] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:11:18] 1024 (117) - суммы налогов [00:11:18] 1006 (9) - суммы НДС [00:11:18] 1010 (1) - 0% - код ставки НДС [00:11:18] 1011 (0) - 0.00 - сумма НДС по ставке [00:11:18] 1006 (9) - суммы НДС [00:11:18] 1010 (1) - 12% - код ставки НДС [00:11:18] 1011 (0) - 0.00 - сумма НДС по ставке [00:11:18] 1007 (9) - суммы НСП [00:11:18] 1014 (1) - 0% - код ставки НСП [00:11:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:18] 1007 (9) - суммы НСП [00:11:18] 1014 (1) - 1% - код ставки НСП [00:11:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:18] 1007 (9) - суммы НСП [00:11:18] 1014 (1) - 2% - код ставки НСП [00:11:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:18] 1007 (9) - суммы НСП [00:11:18] 1014 (1) - 3% - код ставки НСП [00:11:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:18] 1007 (9) - суммы НСП [00:11:18] 1014 (1) - 5% - код ставки НСП [00:11:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:18] 1007 (9) - суммы НСП [00:11:18] 1014 (1) - 0,50% - код ставки НСП [00:11:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:18] 1007 (9) - суммы НСП [00:11:18] 1014 (1) - 1,50% - код ставки НСП [00:11:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:18] 1132 (141) - счетчики операций «возврат расхода» [00:11:18] 1135 (4) - 0 - количество чеков по признаку расчетов [00:11:18] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:11:18] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:11:18] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:11:18] 1024 (117) - суммы налогов [00:11:18] 1006 (9) - суммы НДС [00:11:18] 1010 (1) - 0% - код ставки НДС [00:11:18] 1011 (0) - 0.00 - сумма НДС по ставке [00:11:18] 1006 (9) - суммы НДС [00:11:18] 1010 (1) - 12% - код ставки НДС [00:11:18] 1011 (0) - 0.00 - сумма НДС по ставке [00:11:18] 1007 (9) - суммы НСП [00:11:18] 1014 (1) - 0% - код ставки НСП [00:11:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:18] 1007 (9) - суммы НСП [00:11:18] 1014 (1) - 1% - код ставки НСП [00:11:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:18] 1007 (9) - суммы НСП [00:11:18] 1014 (1) - 2% - код ставки НСП [00:11:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:18] 1007 (9) - суммы НСП [00:11:18] 1014 (1) - 3% - код ставки НСП [00:11:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:18] 1007 (9) - суммы НСП [00:11:18] 1014 (1) - 5% - код ставки НСП [00:11:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:18] 1007 (9) - суммы НСП [00:11:18] 1014 (1) - 0,50% - код ставки НСП [00:11:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:18] 1007 (9) - суммы НСП [00:11:18] 1014 (1) - 1,50% - код ставки НСП [00:11:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:18] 1133 (588) - - счетчики коррекции - не используются [00:11:18]1077 (6) - 114065811335906 - ФПД [00:11:18]SetTLVBufToDocument [00:11:18]Processing tag 1209 (04B9) [00:11:18]Malloc new data [00:11:18]Processing tag 1041 (0411) [00:11:18]Processing tag 1040 (0410) [00:11:18]Malloc new data [00:11:18]Processing tag 1038 (040E) [00:11:18]Malloc new data [00:11:18]Processing tag 1118 (045E) [00:11:18]Malloc new data [00:11:18]Processing tag 1111 (0457) [00:11:18]Malloc new data [00:11:18]Processing tag 1194 (04AA) [00:11:18]Load OK [00:11:18]SetTLVBufToDocument [00:11:18]Processing tag 1134 (046E) [00:11:18]Malloc new data [00:11:18]Processing tag 1129 (0469) [00:11:18]Load OK [00:11:18]SetTLVBufToDocument [00:11:18]Processing tag 1135 (046F) [00:11:18]Malloc new data [00:11:18]Processing tag 1201 (04B1) [00:11:18]Malloc new data [00:11:18]Processing tag 1136 (0470) [00:11:18]Malloc new data [00:11:18]Processing tag 1138 (0472) [00:11:18]Malloc new data [00:11:18]Processing tag 1024 (0400) [00:11:18]Load OK [00:11:18]SetTLVBufToDocument [00:11:18]Processing tag 1006 (03EE) [00:11:18]Load OK [00:11:18]SetTLVBufToDocument [00:11:18]Processing tag 1010 (03F2) [00:11:18]Malloc new data [00:11:18]Processing tag 1011 (03F3) [00:11:18]Malloc new data [00:11:18]SetTLVBufToDocument err=0 [00:11:18]Processing tag 1006 (03EE) [00:11:18]Load OK [00:11:18]SetTLVBufToDocument [00:11:18]Processing tag 1010 (03F2) [00:11:18]Malloc new data [00:11:18]Processing tag 1011 (03F3) [00:11:18]Malloc new data [00:11:18]SetTLVBufToDocument err=0 [00:11:18]Processing tag 1007 (03EF) [00:11:18]Load OK [00:11:18]SetTLVBufToDocument [00:11:18]Processing tag 1014 (03F6) [00:11:18]Malloc new data [00:11:18]Processing tag 1015 (03F7) [00:11:18]Malloc new data [00:11:18]SetTLVBufToDocument err=0 [00:11:18]Processing tag 1007 (03EF) [00:11:18]Load OK [00:11:18]SetTLVBufToDocument [00:11:18]Processing tag 1014 (03F6) [00:11:18]Malloc new data [00:11:18]Processing tag 1015 (03F7) [00:11:18]Malloc new data [00:11:18]SetTLVBufToDocument err=0 [00:11:18]Processing tag 1007 (03EF) [00:11:18]Load OK [00:11:18]SetTLVBufToDocument [00:11:18]Processing tag 1014 (03F6) [00:11:18]Malloc new data [00:11:18]Processing tag 1015 (03F7) [00:11:18]Malloc new data [00:11:18]SetTLVBufToDocument err=0 [00:11:18]Processing tag 1007 (03EF) [00:11:18]Load OK [00:11:18]SetTLVBufToDocument [00:11:18]Processing tag 1014 (03F6) [00:11:18]Malloc new data [00:11:18]Processing tag 1015 (03F7) [00:11:18]Malloc new data [00:11:18]SetTLVBufToDocument err=0 [00:11:18]Processing tag 1007 (03EF) [00:11:18]Load OK [00:11:18]SetTLVBufToDocument [00:11:18]Processing tag 1014 (03F6) [00:11:18]Malloc new data [00:11:18]Processing tag 1015 (03F7) [00:11:18]Malloc new data [00:11:18]SetTLVBufToDocument err=0 [00:11:18]Processing tag 1007 (03EF) [00:11:18]Load OK [00:11:18]SetTLVBufToDocument [00:11:18]Processing tag 1014 (03F6) [00:11:18]Malloc new data [00:11:18]Processing tag 1015 (03F7) [00:11:18]Malloc new data [00:11:18]SetTLVBufToDocument err=0 [00:11:18]Processing tag 1007 (03EF) [00:11:18]Load OK [00:11:18]SetTLVBufToDocument [00:11:18]Processing tag 1014 (03F6) [00:11:18]Malloc new data [00:11:18]Processing tag 1015 (03F7) [00:11:18]Malloc new data [00:11:18]SetTLVBufToDocument err=0 [00:11:18]SetTLVBufToDocument err=0 [00:11:18]SetTLVBufToDocument err=0 [00:11:18]Processing tag 1130 (046A) [00:11:18]Load OK [00:11:18]SetTLVBufToDocument [00:11:18]Processing tag 1135 (046F) [00:11:18]Malloc new data [00:11:18]Processing tag 1201 (04B1) [00:11:18]Malloc new data [00:11:18]Processing tag 1136 (0470) [00:11:18]Malloc new data [00:11:18]Processing tag 1138 (0472) [00:11:18]Malloc new data [00:11:18]Processing tag 1024 (0400) [00:11:18]Load OK [00:11:18]SetTLVBufToDocument [00:11:18]Processing tag 1006 (03EE) [00:11:18]Load OK [00:11:18]SetTLVBufToDocument [00:11:18]Processing tag 1010 (03F2) [00:11:18]Malloc new data [00:11:18]Processing tag 1011 (03F3) [00:11:18]Malloc new data [00:11:18]SetTLVBufToDocument err=0 [00:11:18]Processing tag 1006 (03EE) [00:11:18]Load OK [00:11:18]SetTLVBufToDocument [00:11:18]Processing tag 1010 (03F2) [00:11:18]Malloc new data [00:11:18]Processing tag 1011 (03F3) [00:11:18]Malloc new data [00:11:18]SetTLVBufToDocument err=0 [00:11:18]Processing tag 1007 (03EF) [00:11:18]Load OK [00:11:18]SetTLVBufToDocument [00:11:18]Processing tag 1014 (03F6) [00:11:18]Malloc new data [00:11:18]Processing tag 1015 (03F7) [00:11:18]Malloc new data [00:11:18]SetTLVBufToDocument err=0 [00:11:18]Processing tag 1007 (03EF) [00:11:18]Load OK [00:11:18]SetTLVBufToDocument [00:11:18]Processing tag 1014 (03F6) [00:11:18]Malloc new data [00:11:18]Processing tag 1015 (03F7) [00:11:18]Malloc new data [00:11:18]SetTLVBufToDocument err=0 [00:11:18]Processing tag 1007 (03EF) [00:11:18]Load OK [00:11:18]SetTLVBufToDocument [00:11:18]Processing tag 1014 (03F6) [00:11:18]Malloc new data [00:11:18]Processing tag 1015 (03F7) [00:11:18]Malloc new data [00:11:18]SetTLVBufToDocument err=0 [00:11:18]Processing tag 1007 (03EF) [00:11:18]Load OK [00:11:18]SetTLVBufToDocument [00:11:18]Processing tag 1014 (03F6) [00:11:18]Malloc new data [00:11:18]Processing tag 1015 (03F7) [00:11:18]Malloc new data [00:11:18]SetTLVBufToDocument err=0 [00:11:18]Processing tag 1007 (03EF) [00:11:18]Load OK [00:11:18]SetTLVBufToDocument [00:11:18]Processing tag 1014 (03F6) [00:11:18]Malloc new data [00:11:18]Processing tag 1015 (03F7) [00:11:18]Malloc new data [00:11:18]SetTLVBufToDocument err=0 [00:11:18]Processing tag 1007 (03EF) [00:11:18]Load OK [00:11:18]SetTLVBufToDocument [00:11:18]Processing tag 1014 (03F6) [00:11:18]Malloc new data [00:11:18]Processing tag 1015 (03F7) [00:11:18]Malloc new data [00:11:18]SetTLVBufToDocument err=0 [00:11:18]Processing tag 1007 (03EF) [00:11:18]Load OK [00:11:18]SetTLVBufToDocument [00:11:18]Processing tag 1014 (03F6) [00:11:18]Malloc new data [00:11:18]Processing tag 1015 (03F7) [00:11:18]Malloc new data [00:11:18]SetTLVBufToDocument err=0 [00:11:18]SetTLVBufToDocument err=0 [00:11:18]SetTLVBufToDocument err=0 [00:11:18]Processing tag 1131 (046B) [00:11:18]Load OK [00:11:18]SetTLVBufToDocument [00:11:18]Processing tag 1135 (046F) [00:11:18]Malloc new data [00:11:18]Processing tag 1201 (04B1) [00:11:18]Malloc new data [00:11:18]Processing tag 1136 (0470) [00:11:18]Malloc new data [00:11:18]Processing tag 1138 (0472) [00:11:18]Malloc new data [00:11:18]Processing tag 1024 (0400) [00:11:18]Load OK [00:11:18]SetTLVBufToDocument [00:11:18]Processing tag 1006 (03EE) [00:11:18]Load OK [00:11:18]SetTLVBufToDocument [00:11:18]Processing tag 1010 (03F2) [00:11:18]Malloc new data [00:11:18]Processing tag 1011 (03F3) [00:11:18]Malloc new data [00:11:18]SetTLVBufToDocument err=0 [00:11:18]Processing tag 1006 (03EE) [00:11:18]Load OK [00:11:18]SetTLVBufToDocument [00:11:18]Processing tag 1010 (03F2) [00:11:18]Malloc new data [00:11:18]Processing tag 1011 (03F3) [00:11:18]Malloc new data [00:11:18]SetTLVBufToDocument err=0 [00:11:18]Processing tag 1007 (03EF) [00:11:18]Load OK [00:11:18]SetTLVBufToDocument [00:11:18]Processing tag 1014 (03F6) [00:11:18]Malloc new data [00:11:18]Processing tag 1015 (03F7) [00:11:18]Malloc new data [00:11:18]SetTLVBufToDocument err=0 [00:11:18]Processing tag 1007 (03EF) [00:11:18]Load OK [00:11:18]SetTLVBufToDocument [00:11:18]Processing tag 1014 (03F6) [00:11:18]Malloc new data [00:11:18]Processing tag 1015 (03F7) [00:11:18]Malloc new data [00:11:18]SetTLVBufToDocument err=0 [00:11:18]Processing tag 1007 (03EF) [00:11:18]Load OK [00:11:18]SetTLVBufToDocument [00:11:18]Processing tag 1014 (03F6) [00:11:18]Malloc new data [00:11:18]Processing tag 1015 (03F7) [00:11:18]Malloc new data [00:11:18]SetTLVBufToDocument err=0 [00:11:18]Processing tag 1007 (03EF) [00:11:18]Load OK [00:11:18]SetTLVBufToDocument [00:11:18]Processing tag 1014 (03F6) [00:11:18]Malloc new data [00:11:18]Processing tag 1015 (03F7) [00:11:18]Malloc new data [00:11:18]SetTLVBufToDocument err=0 [00:11:18]Processing tag 1007 (03EF) [00:11:18]Load OK [00:11:18]SetTLVBufToDocument [00:11:18]Processing tag 1014 (03F6) [00:11:18]Malloc new data [00:11:18]Processing tag 1015 (03F7) [00:11:18]Malloc new data [00:11:18]SetTLVBufToDocument err=0 [00:11:18]Processing tag 1007 (03EF) [00:11:18]Load OK [00:11:18]SetTLVBufToDocument [00:11:18]Processing tag 1014 (03F6) [00:11:18]Malloc new data [00:11:18]Processing tag 1015 (03F7) [00:11:18]Malloc new data [00:11:18]SetTLVBufToDocument err=0 [00:11:18]Processing tag 1007 (03EF) [00:11:18]Load OK [00:11:18]SetTLVBufToDocument [00:11:18]Processing tag 1014 (03F6) [00:11:18]Malloc new data [00:11:18]Processing tag 1015 (03F7) [00:11:18]Malloc new data [00:11:18]SetTLVBufToDocument err=0 [00:11:19]SetTLVBufToDocument err=0 [00:11:19]SetTLVBufToDocument err=0 [00:11:19]Processing tag 1132 (046C) [00:11:19]Load OK [00:11:19]SetTLVBufToDocument [00:11:19]Processing tag 1135 (046F) [00:11:19]Malloc new data [00:11:19]Processing tag 1201 (04B1) [00:11:19]Malloc new data [00:11:19]Processing tag 1136 (0470) [00:11:19]Malloc new data [00:11:19]Processing tag 1138 (0472) [00:11:19]Malloc new data [00:11:19]Processing tag 1024 (0400) [00:11:19]Load OK [00:11:19]SetTLVBufToDocument [00:11:19]Processing tag 1006 (03EE) [00:11:19]Load OK [00:11:19]SetTLVBufToDocument [00:11:19]Processing tag 1010 (03F2) [00:11:19]Malloc new data [00:11:19]Processing tag 1011 (03F3) [00:11:19]Malloc new data [00:11:19]SetTLVBufToDocument err=0 [00:11:19]Processing tag 1006 (03EE) [00:11:19]Load OK [00:11:19]SetTLVBufToDocument [00:11:19]Processing tag 1010 (03F2) [00:11:19]Malloc new data [00:11:19]Processing tag 1011 (03F3) [00:11:19]Malloc new data [00:11:19]SetTLVBufToDocument err=0 [00:11:19]Processing tag 1007 (03EF) [00:11:19]Load OK [00:11:19]SetTLVBufToDocument [00:11:19]Processing tag 1014 (03F6) [00:11:19]Malloc new data [00:11:19]Processing tag 1015 (03F7) [00:11:19]Malloc new data [00:11:19]SetTLVBufToDocument err=0 [00:11:19]Processing tag 1007 (03EF) [00:11:19]Load OK [00:11:19]SetTLVBufToDocument [00:11:19]Processing tag 1014 (03F6) [00:11:19]Malloc new data [00:11:19]Processing tag 1015 (03F7) [00:11:19]Malloc new data [00:11:19]SetTLVBufToDocument err=0 [00:11:19]Processing tag 1007 (03EF) [00:11:19]Load OK [00:11:19]SetTLVBufToDocument [00:11:19]Processing tag 1014 (03F6) [00:11:19]Malloc new data [00:11:19]Processing tag 1015 (03F7) [00:11:19]Malloc new data [00:11:19]SetTLVBufToDocument err=0 [00:11:19]Processing tag 1007 (03EF) [00:11:19]Load OK [00:11:19]SetTLVBufToDocument [00:11:19]Processing tag 1014 (03F6) [00:11:19]Malloc new data [00:11:19]Processing tag 1015 (03F7) [00:11:19]Malloc new data [00:11:19]SetTLVBufToDocument err=0 [00:11:19]Processing tag 1007 (03EF) [00:11:19]Load OK [00:11:19]SetTLVBufToDocument [00:11:19]Processing tag 1014 (03F6) [00:11:19]Malloc new data [00:11:19]Processing tag 1015 (03F7) [00:11:19]Malloc new data [00:11:19]SetTLVBufToDocument err=0 [00:11:19]Processing tag 1007 (03EF) [00:11:19]Load OK [00:11:19]SetTLVBufToDocument [00:11:19]Processing tag 1014 (03F6) [00:11:19]Malloc new data [00:11:19]Processing tag 1015 (03F7) [00:11:19]Malloc new data [00:11:19]SetTLVBufToDocument err=0 [00:11:19]Processing tag 1007 (03EF) [00:11:19]Load OK [00:11:19]SetTLVBufToDocument [00:11:19]Processing tag 1014 (03F6) [00:11:19]Malloc new data [00:11:19]Processing tag 1015 (03F7) [00:11:19]Malloc new data [00:11:19]SetTLVBufToDocument err=0 [00:11:19]SetTLVBufToDocument err=0 [00:11:19]SetTLVBufToDocument err=0 [00:11:19]Processing tag 1133 (046D) [00:11:19]Malloc new data [00:11:19]SetTLVBufToDocument err=0 [00:11:19]Processing tag 1077 (0435) [00:11:19]Malloc new data [00:11:19]SetTLVBufToDocument err=0 [00:11:19]Malloc new data [00:11:19]SAM_PROTO_GetFMData [00:11:19]wFMCommunicate request_size=4 [00:11:19]MH_SAM_APDU [00:11:19]CAPDU: 80 13 03 00 [00:11:19]Write to MH i2c: E2 08 00 81 32 80 13 03 00 00 00 00 00 32 [00:11:19]Write i2c OK [00:11:19]MH_I2C_Read... [00:11:19]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:11:19]Read from MH i2c: E2 [00:11:19]MH_I2C_Read... [00:11:19]Read from MH i2c: E2 FD 00 [00:11:19]MH_I2C_Read... [00:11:19]Read from MH i2c: E2 FD 00 81 32 00 C0 04 85 04 BC 04 6E 04 04 00 2F 66 00 00 69 04 A1 00 6F 04 04 00 ED 65 00 00 B1 04 04 00 94 95 49 9B 70 04 04 00 E8 FD 8A 7F 72 04 04 00 AC 97 BE 1B 00 04 7D 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 61 A1 7E 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 54 DC 5F 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 99 00 6F 04 04 00 42 00 00 00 B1 04 03 00 A4 6D BB 70 04 03 00 A4 6D BB 72 04 00 00 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 0B E8 13 EF 03 09 00 F6 03 01 00 90 00 38 [00:11:19]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 2F 66 00 00 69 04 A1 00 6F 04 04 00 ED 65 00 00 B1 04 04 00 94 95 49 9B 70 04 04 00 E8 FD 8A 7F 72 04 04 00 AC 97 BE 1B 00 04 7D 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 61 A1 7E 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 54 DC 5F 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 99 00 6F 04 04 00 42 00 00 00 B1 04 03 00 A4 6D BB 70 04 03 00 A4 6D BB 72 04 00 00 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 0B E8 13 EF 03 09 00 F6 03 01 00 90 00 [00:11:19]wFMCommunicate OK [00:11:19]wFMCommunicate request_size=4 [00:11:19]MH_SAM_APDU [00:11:19]CAPDU: 80 17 00 00 [00:11:19]Write to MH i2c: E2 08 00 82 32 80 17 00 00 00 00 00 00 34 [00:11:19]Write i2c OK [00:11:19]MH_I2C_Read... [00:11:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:20]Read from MH i2c: E2 [00:11:20]MH_I2C_Read... [00:11:20]Read from MH i2c: E2 FD 00 [00:11:20]MH_I2C_Read... [00:11:20]Read from MH i2c: E2 FD 00 82 32 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 A7 A8 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 90 00 B4 [00:11:20]RAPDU: 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 A7 A8 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 90 00 [00:11:20]wFMCommunicate OK [00:11:20]wFMCommunicate request_size=4 [00:11:20]MH_SAM_APDU [00:11:20]CAPDU: 80 17 00 00 [00:11:20]Write to MH i2c: E2 08 00 83 32 80 17 00 00 00 00 00 00 35 [00:11:20]Write i2c OK [00:11:20]MH_I2C_Read... [00:11:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:20]Read from MH i2c: E2 [00:11:20]MH_I2C_Read... [00:11:20]Read from MH i2c: E2 FD 00 [00:11:20]MH_I2C_Read... [00:11:20]Read from MH i2c: E2 FD 00 83 32 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 D8 [00:11:20]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:11:20]wFMCommunicate OK [00:11:20]wFMCommunicate request_size=4 [00:11:20]MH_SAM_APDU [00:11:20]CAPDU: 80 17 00 00 [00:11:20]Write to MH i2c: E2 08 00 84 32 80 17 00 00 00 00 00 00 36 [00:11:20]Write i2c OK [00:11:20]MH_I2C_Read... [00:11:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:21]Read from MH i2c: E2 [00:11:21]MH_I2C_Read... [00:11:21]Read from MH i2c: E2 FD 00 [00:11:21]MH_I2C_Read... [00:11:21]Read from MH i2c: E2 FD 00 84 32 00 01 00 04 F7 03 00 00 EF 03 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 90 00 AE [00:11:21]RAPDU: 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:21]wFMCommunicate OK [00:11:21]wFMCommunicate request_size=4 [00:11:21]MH_SAM_APDU [00:11:21]CAPDU: 80 17 00 00 [00:11:21]Write to MH i2c: E2 08 00 85 32 80 17 00 00 00 00 00 00 37 [00:11:21]Write i2c OK [00:11:21]MH_I2C_Read... [00:11:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:11:21]Read from MH i2c: E2 [00:11:21]MH_I2C_Read... [00:11:21]Read from MH i2c: E2 DD 00 [00:11:21]MH_I2C_Read... [00:11:21]Read from MH i2c: E2 DD 00 85 32 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [00:11:21]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:11:21]wFMCommunicate OK [00:11:21]SAM_PROTO_GetFMData done [00:11:21]Malloc new data [00:11:21]Malloc new data [00:11:21]Malloc new data [00:11:21]Malloc new data [00:11:21]KKMLoadAndSignCloseShiftData err=0 [00:11:21]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Сарыбаев Т. 08.04.2024 00:11 Смена: 313 РНМ: 0000000000091578 ЗНМ: 0300000147 СНО: Общий режим Чеков за смену: 84 ФД за смену: 86 Всего чеков: 84 ИТОГИ ПРИХОД Чеков: 84 Общий итог: 91161.31 Итого наличными: 54936.00 Итого безнал.: 36225.31 НДС 0% : 0.00 НДС 12% : 9682.89 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 806.82 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ РАСХОД Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ ВОЗВРАТ РАСХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 Сумма внесений: 0.00 Сумма выплат: 0.00 Нал. в кассе: 54936.00 НС Приход: 26052909.00 НС Возвр.Прихода: 122833.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 26786 ФМ: 0000000000874657 ФПД: 114065811335906 [00:11:21]StoreToDocumentArchive [00:11:21]shift 313 fd 26786 [00:11:21]save to /storage/0313/doc_00026786 [00:11:21]save last doc name /storage/0313/doc_00026786 to /storage/kkm_last_doc_name [00:11:21]save OK [00:11:21]Clear old archive folders... [00:11:21]Remove dir /storage/0266 [00:11:21]opendir ok [00:11:21]file . [00:11:21]file .. [00:11:21]file doc_1712534992 [00:11:21]remove file /storage/0266/doc_1712534992 [00:11:21]remove dir /storage/0266 [00:11:21]NVStorageSaveData kkm_registers [00:11:21]File name is /storage/kkm_registers [00:11:21]Write 24 bytes [00:11:21]NVStorageSaveData done [00:11:21]NVStorageSaveData kkm_registers [00:11:21]File name is /storage/kkm_registers [00:11:21]Write 24 bytes [00:11:21]NVStorageSaveData done [00:11:21]ProcessDocumentItem done err = 0, tmpTLVsize=1379 [00:11:21]tlvbuf is 00FF86E0 [00:11:21]SAM_PROTO_ClearQueue [00:11:21]wFMCommunicate request_size=4 [00:11:21]MH_SAM_APDU [00:11:21]CAPDU: 80 09 00 00 [00:11:21]Write to MH i2c: E2 08 00 86 32 80 09 00 00 00 00 00 00 2A [00:11:21]Write i2c OK [00:11:21]MH_I2C_Read... [00:11:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:11:21]Read from MH i2c: E2 [00:11:21]MH_I2C_Read... [00:11:21]Read from MH i2c: E2 03 00 [00:11:21]MH_I2C_Read... [00:11:21]Read from MH i2c: E2 03 00 86 32 00 90 00 2C [00:11:21]RAPDU: 90 00 [00:11:21]wFMCommunicate OK [00:11:21]SAM_PROTO_ClearQueue done [00:11:21]KKMCreateOFDPacket [00:11:21]OFDProtocolAddRootSTLVToBuf [00:11:21]FM_MakeSignedData [00:11:21]FM_MakeSignedData [00:11:21]SAM_PROTO_SignData [00:11:21]wFMCommunicate request_size=4 [00:11:21]MH_SAM_APDU [00:11:21]CAPDU: 80 0D 01 02 [00:11:21]Write to MH i2c: E2 08 00 87 32 80 0D 01 02 00 00 00 00 32 [00:11:21]Write i2c OK [00:11:21]MH_I2C_Read... [00:11:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:11:22]Read from MH i2c: E2 [00:11:22]MH_I2C_Read... [00:11:22]Read from MH i2c: E2 03 00 [00:11:22]MH_I2C_Read... [00:11:22]Read from MH i2c: E2 03 00 87 32 00 90 00 2D [00:11:22]RAPDU: 90 00 [00:11:22]wFMCommunicate OK [00:11:22]wFMCommunicate request_size=255 [00:11:22]MH_SAM_APDU [00:11:22]CAPDU: 80 0D 02 02 FA 05 00 63 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 14 00 D0 A1 D0 B0 D1 80 D1 8B D0 B1 D0 B0 D0 B5 D0 B2 20 D0 A2 2E F4 03 04 00 2E 36 13 66 0E 04 04 00 39 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 5E 04 04 00 54 00 00 00 57 04 04 00 56 00 00 00 AA 04 D6 04 6E 04 04 00 54 00 00 00 69 04 A3 00 6F 04 04 00 54 00 00 00 B1 04 03 00 E3 19 8B 70 04 03 00 60 D3 53 72 04 03 00 83 46 37 00 04 82 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 61 C6 0E 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:11:22]Write to MH i2c: E2 02 01 88 32 80 0D 02 02 FA 00 05 00 63 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 14 00 D0 A1 D0 B0 D1 80 D1 8B D0 B1 D0 B0 D0 B5 D0 B2 20 D0 A2 2E F4 03 04 00 2E 36 13 66 0E 04 04 00 39 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 5E 04 04 00 54 00 00 00 57 04 04 00 56 00 00 00 AA 04 D6 04 6E 04 04 00 54 00 00 00 69 04 A3 00 6F 04 04 00 54 00 00 00 B1 04 03 00 E3 19 8B 70 04 03 00 60 D3 53 72 04 03 00 83 46 37 00 04 82 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 61 C6 0E EF 03 0A 00 F6 03 01 OFD Sender: No OFD packet to send [00:11:22]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 AF [00:11:22]Write i2c OK [00:11:22]MH_I2C_Read... [00:11:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:11:22]Read from MH i2c: E2 [00:11:22]MH_I2C_Read... [00:11:22]Read from MH i2c: E2 03 00 [00:11:22]MH_I2C_Read... [00:11:22]Read from MH i2c: E2 03 00 88 32 00 90 00 2E [00:11:22]RAPDU: 90 00 [00:11:22]wFMCommunicate OK [00:11:22]wFMCommunicate request_size=255 [00:11:22]MH_SAM_APDU [00:11:22]CAPDU: 80 0D 02 02 FA 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2A 3B 01 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 [00:11:22]Write to MH i2c: E2 02 01 89 32 80 0D 02 02 FA 00 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 2A 3B 01 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 00 00 FE [00:11:22]Write i2c OK [00:11:22]MH_I2C_Read... [00:11:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:11:23]Read from MH i2c: E2 [00:11:23]MH_I2C_Read... [00:11:23]Read from MH i2c: E2 03 00 [00:11:23]MH_I2C_Read... [00:11:23]Read from MH i2c: E2 03 00 89 32 00 90 00 2F [00:11:23]RAPDU: 90 00 [00:11:23]wFMCommunicate OK [00:11:23]wFMCommunicate request_size=255 [00:11:23]MH_SAM_APDU [00:11:23]CAPDU: 80 0D 02 02 FA 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 [00:11:23]Write to MH i2c: E2 02 01 8A 32 80 0D 02 02 FA 00 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 00 00 05 [00:11:23]Write i2c OK [00:11:23]MH_I2C_Read... [00:11:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:11:23]Read from MH i2c: E2 [00:11:23]MH_I2C_Read... [00:11:23]Read from MH i2c: E2 03 00 [00:11:23]MH_I2C_Read... [00:11:23]Read from MH i2c: E2 03 00 8A 32 00 90 00 30 [00:11:23]RAPDU: 90 00 [00:11:23]wFMCommunicate OK [00:11:23]wFMCommunicate request_size=255 [00:11:23]MH_SAM_APDU [00:11:23]CAPDU: 80 0D 02 02 FA 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 [00:11:23]Write to MH i2c: E2 02 01 8B 32 80 0D 02 02 FA 00 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 00 00 FA [00:11:24]Write i2c OK [00:11:24]MH_I2C_Read... [00:11:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:11:24]Read from MH i2c: E2 [00:11:24]MH_I2C_Read... [00:11:24]Read from MH i2c: E2 03 00 [00:11:24]MH_I2C_Read... [00:11:24]Read from MH i2c: E2 03 00 8B 32 00 90 00 31 [00:11:24]RAPDU: 90 00 [00:11:24]wFMCommunicate OK [00:11:24]wFMCommunicate request_size=255 [00:11:24]MH_SAM_APDU [00:11:24]CAPDU: 80 0D 02 02 FA 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 [00:11:24]Write to MH i2c: E2 02 01 8C 32 80 0D 02 02 FA 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 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 00 00 CB [00:11:24]Write i2c OK [00:11:24]MH_I2C_Read... [00:11:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:11:24]Read from MH i2c: E2 [00:11:24]MH_I2C_Read... [00:11:24]Read from MH i2c: E2 03 00 [00:11:24]MH_I2C_Read... [00:11:24]Read from MH i2c: E2 03 00 8C 32 00 90 00 32 [00:11:24]RAPDU: 90 00 [00:11:24]wFMCommunicate OK [00:11:24]wFMCommunicate request_size=138 [00:11:24]MH_SAM_APDU [00:11:24]CAPDU: 80 0D 02 02 85 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 A2 68 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 35 04 06 00 67 BE 04 2A 6A E2 [00:11:25]Write to MH i2c: E2 8D 00 8D 32 80 0D 02 02 85 00 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 A2 68 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 35 04 06 00 67 BE 04 2A 6A E2 00 00 21 [00:11:25]Write i2c OK [00:11:25]MH_I2C_Read... [00:11:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:11:25]Read from MH i2c: E2 [00:11:25]MH_I2C_Read... [00:11:25]Read from MH i2c: E2 03 00 [00:11:25]MH_I2C_Read... [00:11:25]Read from MH i2c: E2 03 00 8D 32 00 90 00 33 [00:11:25]RAPDU: 90 00 [00:11:25]wFMCommunicate OK [00:11:25]wFMCommunicate request_size=4 [00:11:25]MH_SAM_APDU [00:11:25]CAPDU: 80 0D 03 02 [00:11:25]Write to MH i2c: E2 08 00 8E 32 80 0D 03 02 00 00 00 00 3B [00:11:25]Write i2c OK [00:11:25]MH_I2C_Read... [00:11:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:11:25]Read from MH i2c: E2 [00:11:25]MH_I2C_Read... [00:11:25]Read from MH i2c: E2 0B 00 [00:11:25]MH_I2C_Read... [00:11:25]Read from MH i2c: E2 0B 00 8E 32 00 A8 46 7C 31 B6 1F F7 C9 90 00 6C [00:11:25]RAPDU: A8 46 7C 31 B6 1F F7 C9 90 00 [00:11:25]wFMCommunicate OK [00:11:25]SAM_PROTO_SignData done [00:11:25]FM_MakeSignedData done [00:11:25]CreateOFDProtocolMessage [00:11:25]wFMCommunicate request_size=4 [00:11:25]MH_SAM_APDU [00:11:25]CAPDU: 80 11 00 00 [00:11:25]Write to MH i2c: E2 08 00 8F 32 80 11 00 00 00 00 00 00 3B [00:11:25]Write i2c OK [00:11:25]MH_I2C_Read... [00:11:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:11:25]Read from MH i2c: E2 [00:11:25]MH_I2C_Read... [00:11:25]Read from MH i2c: E2 17 00 [00:11:25]MH_I2C_Read... [00:11:25]Read from MH i2c: E2 17 00 8F 32 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 93 [00:11:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [00:11:25]wFMCommunicate OK [00:11:25]CreateOFDProtocolMessage done [00:11:25]OFDSenderStorePacket 26786 [00:11:25]StoreOFDPacket docnum=26786 [00:11:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 77 05 00 00 C0 6B 6F 05 57 FF 5A 05 01 00 05 00 63 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 14 00 D0 A1 D0 B0 D1 80 D1 8B D0 B1 D0 B0 D0 B5 D0 B2 20 D0 A2 2E F4 03 04 00 2E 36 13 66 0E 04 04 00 39 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 5E 04 04 00 54 00 00 00 57 04 04 00 56 00 00 00 AA 04 D6 04 6E 04 04 00 54 00 00 00 69 04 A3 00 6F 04 04 00 54 00 00 00 B1 04 03 00 E3 19 8B 70 04 03 00 60 D3 53 72 04 03 00 83 46 37 00 04 82 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 61 C6 0E 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 0C 00 F6 03 01 00 01 F7 03 03 00 2A 3B 01 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 A2 68 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 35 04 06 00 67 BE 04 2A 6A E2 A8 46 7C 31 B6 1F F7 C9 [00:11:25]CheckFolder [00:11:25]dirname=/storage/ofd_packets [00:11:25]CheckFolder done [00:11:25]ProducePacketName [00:11:25]name=ofd_packets/00026786 [00:11:25]NVStorageSaveData ofd_packets/00026786 [00:11:25]File name is /storage/ofd_packets/00026786 [00:11:25]Write 1429 bytes [00:11:25]NVStorageSaveData done [00:11:25]OFDSenderStorePacket done [00:11:25]KKMCreateOFDPacket done [00:11:25]NVStorageSaveData kkm_last_timestamp [00:11:25]File name is /storage/kkm_last_timestamp [00:11:25]Write 4 bytes [00:11:25]NVStorageSaveData done [00:11:25]ExternCall_PrintAddStr [00:11:25]wPrintStart [00:11:25]Write to MH i2c: 01 00 00 90 32 C2 [00:11:25]Write i2c OK [00:11:25]MH_I2C_Read... [00:11:25]Read from MH i2c: 01 [00:11:25]MH_I2C_Read... [00:11:25]Read from MH i2c: 01 07 00 [00:11:25]MH_I2C_Read... [00:11:25]Read from MH i2c: 01 07 00 90 32 00 00 00 00 00 FF 0F D7 [00:11:25]RasterBufferAndPrint [00:11:25]line Отчет о закрытии смены [00:11:25]line ФФД: 1.0 [00:11:25]line ИНН: 02508201610067 [00:11:25]line Кассир: Сарыбаев Т. [00:11:25]line 08.04.2024 00:11 [00:11:25]line Смена: 313 [00:11:25]line РНМ: 0000000000091578 [00:11:25]line ЗНМ: 0300000147 [00:11:25]line СНО: Общий режим [00:11:25]line Чеков за смену: 84 [00:11:25]line ФД за смену: 86 [00:11:25]line Всего чеков: 84 [00:11:25]line ИТОГИ ПРИХОД [00:11:25]line Чеков: 84 [00:11:25]line Общий итог: 91161.31 [00:11:25]line Итого наличными: 54936.00 [00:11:25]line Итого безнал.: 36225.31 [00:11:25]line НДС 0% : 0.00 [00:11:25]line НДС 12% : 9682.89 [00:11:25]line НСП 0% : 0.00 [00:11:25]line НСП 1,50% : 0.00 [00:11:25]line НСП 0,50% : 0.00 [00:11:25]line НСП 5% : 0.00 [00:11:25]line НСП 3% : 0.00 [00:11:25]line НСП 2% : 0.00 [00:11:25]line НСП 1% : 806.82 [00:11:25]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:11:25]line Чеков: 0 [00:11:25]line Общий итог: 0.00 [00:11:25]line Итого наличными: 0.00 [00:11:25]line Итого безнал.: 0.00 [00:11:25]line НДС 0% : 0.00 [00:11:25]line НДС 12% : 0.00 [00:11:25]line НСП 0% : 0.00 [00:11:25]line НСП 1,50% : 0.00 [00:11:25]line НСП 0,50% : 0.00 [00:11:25]line НСП 5% : 0.00 [00:11:25]line НСП 3% : 0.00 [00:11:25]line НСП 2% : 0.00 [00:11:25]line НСП 1% : 0.00 [00:11:25]line ИТОГИ РАСХОД [00:11:25]line Чеков: 0 [00:11:25]line Общий итог: 0.00 [00:11:25]line Итого наличными: 0.00 [00:11:25]line Итого безнал.: 0.00 [00:11:25]line НДС 0% : 0.00 [00:11:25]line НДС 12% : 0.00 [00:11:25]line НСП 0% : 0.00 [00:11:25]line НСП 1,50% : 0.00 [00:11:25]line НСП 0,50% : 0.00 [00:11:25]line НСП 5% : 0.00 [00:11:25]line НСП 3% : 0.00 [00:11:25]line НСП 2% : 0.00 [00:11:25]line НСП 1% : 0.00 [00:11:25]line ИТОГИ ВОЗВРАТ РАСХОДА [00:11:25]line Чеков: 0 [00:11:25]line Общий итог: 0.00 [00:11:25]line Итого наличными: 0.00 [00:11:25]line Итого безнал.: 0.00 [00:11:25]line НДС 0% : 0.00 [00:11:25]line НДС 12% : 0.00 [00:11:25]line НСП 0% : 0.00 [00:11:25]line НСП 1,50% : 0.00 [00:11:25]line НСП 0,50% : 0.00 [00:11:25]line НСП 5% : 0.00 [00:11:25]line НСП 3% : 0.00 [00:11:25]line НСП 2% : 0.00 [00:11:25]line НСП 1% : 0.00 [00:11:25]line Сумма внесений: 0.00 [00:11:25]line Сумма выплат: 0.00 [00:11:25]line Нал. в кассе: 54936.00 [00:11:25]line НС Приход: 26052909.00 [00:11:25]line НС Возвр.Прихода: 122833.00 [00:11:25]line НС Расход: 0.00 [00:11:25]line НС Возвр.Расхода: 0.00 [00:11:25]line ФД: 26786 [00:11:25]line ФМ: 0000000000874657 [00:11:25]line ФПД: 114065811335906 [00:11:25]written 0, free lines is 4095 [00:11:25]OFD Sender: Processing packet 26786 [packets to send 44, broken 43] [00:11:25]ProducePacketName [00:11:25]name=ofd_packets/00026786 [00:11:25]OFD Sender: To server: pG, [00:11:25]CommunicateWithHost lk.salyk.kg:30040 [00:11:25]ConnectInit lk.salyk.kg [00:11:25]Connected sock=10 [00:11: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 36 35 37 77 05 00 00 C0 6B 6F 05 57 FF 5A 05 01 00 05 00 63 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 14 00 D0 A1 D0 B0 D1 80 D1 8B D0 B1 D0 B0 D0 B5 D0 B2 20 D0 A2 2E F4 03 04 00 2E 36 13 66 0E 04 04 00 39 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 5E 04 04 00 54 00 00 00 57 04 04 00 56 00 00 00 AA 04 D6 04 6E 04 04 00 54 00 00 00 69 04 A3 00 6F 04 04 00 54 00 00 00 B1 04 03 00 E3 19 8B 70 04 03 00 60 D3 53 72 04 03 00 83 46 37 00 04 82 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 61 C6 0E 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 0C 00 F6 03 01 00 01 F7 03 03 00 2A 3B 01 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 Write to MH i2c: 00 01 F7 00 03 00 00 E0 00 32 EF 12 03 [00:11:26]09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 Write i2c OK [00:11:26]EF MH_I2C_Read... [00:11:26]03 Read from MH i2c: 09 01 00 [00:11:26]F6 MH_I2C_Read... [00:11:26]03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 Read from MH i2c: 03 01 00 07 00 00 EF [00:11:26]03 MH_I2C_Read... [00:11:26]09 Read from MH i2c: 00 01 F6 07 03 00 01 E0 00 32 05 00 F7 00 03 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 00 6F 7D 04 09 04 9F 00 [00:11:26]00 RasterBufferAndPrint [00:11:26]00 line [00:11:26]00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 line [00:11:26]75 line [00:11:26]00 line [00:11:26]EE line [00:11:26]03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF written 0, free lines is 2532 [00:11:26]03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 MH_Cut [00:11:26]00 Write to MH i2c: 01 D1 F7 01 03 00 00 E7 00 32 EF 01 03 EB 09 [00:11:26]00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 A2 Write i2c OK [00:11:26]68 MH_I2C_Read... [00:11:26]00 00 11 04 10 00 30 Read from MH i2c: 30 D1 30 [00:11:26]30 30 30 30 30 30 30 38 37 34 MH_I2C_Read... [00:11:26]36 Read from MH i2c: 35 D1 01 37 00 35 [00:11:26]04 MH_I2C_Read... [00:11:26]06 00 67 BE Read from MH i2c: 04 D1 2A 01 6A 00 E2 E7 A8 32 46 00 7C EA 31 [00:11:26]B6 Write to MH i2c: 1F 01 F7 00 C9 00 [00:11:26]E8 32 1A [00:11:26]Write i2c OK [00:11:26]MH_I2C_Read... [00:11:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 8F FD 47 00 FB 4A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 37 10 04 04 00 A2 68 00 00 F4 03 04 00 A4 DD 12 66 B6 04 01 00 00 AE C8 B1 57 90 9D 73 A6 [00:11:27]CommunicateWithHost err = 0 [00:11:27]CheckOFDResponse [00:11:27]1017 (14) - 77093643461234 [00:11:27]1041 (16) - 0000000000874657 [00:11:27]1040 (4) - 26786 [00:11:27]1012 (4) - 07.04.2024 17:53 [00:11:27]1206 (1) - 0 [00:11:27]OFD Sender: Remove packet 26786 [00:11:27]ProducePacketName [00:11:27]name=ofd_packets/00026786 [00:11:27]NVStorageDeleteData [00:11:27]OFD Sender: No OFD packet to send [00:11:28]*** Cut start [00:11:28]*** Partial cut [00:11:28]*** CUTSNS_PIN = 1 [00:11:28]*** CUTSNS_PIN = 0 [00:11:28]*** Brake cut motor [00:11:29]Read from MH i2c: 01 [00:11:29]MH_I2C_Read... [00:11:29]*** Stop cut motor [00:11:29]*** Cut end [00:11:29]Read from MH i2c: 01 07 00 [00:11:29]MH_I2C_Read... [00:11:29]Read from MH i2c: 01 07 00 E8 32 00 00 00 00 00 FF 0F 2F [00:11:29]process_action close_shift done [00:11:29]requested_data is exist [00:11:29]produce_requested_data [00:11:29]requested_item fd.num is exist - process it [00:11:29]SAM_PROTO_GetFieldsCounters [00:11:29]wFMCommunicate request_size=4 [00:11:29]MH_SAM_APDU [00:11:29]CAPDU: 80 13 00 00 [00:11:29]Write to MH i2c: E2 08 00 E9 32 80 13 00 00 00 00 00 00 97 [00:11:29]Write i2c OK [00:11:29]MH_I2C_Read... [00:11:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:11:29]Read from MH i2c: E2 [00:11:29]MH_I2C_Read... [00:11:29]Read from MH i2c: E2 62 00 [00:11:29]MH_I2C_Read... [00:11:29]Read from MH i2c: E2 62 00 E9 32 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A2 68 00 00 0E 04 04 00 39 01 00 00 12 04 04 00 54 00 00 00 5E 04 04 00 54 00 00 00 57 04 04 00 56 00 00 00 19 04 04 00 00 00 00 00 90 00 03 [00:11: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A2 68 00 00 0E 04 04 00 39 01 00 00 12 04 04 00 54 00 00 00 5E 04 04 00 54 00 00 00 57 04 04 00 56 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:11:29]wFMCommunicate OK [00:11:29]SAM_PROTO_GetFieldsCounters done [00:11:29]requested_item shift.num is exist - process it [00:11:29]requested_item shift.opened is exist - process it [00:11:29]req_shift_opened [00:11:29]FM_GetShiftState [00:11:29]SAM_PROTO_GetShiftState [00:11:29]wFMCommunicate request_size=4 [00:11:29]MH_SAM_APDU [00:11:29]CAPDU: 80 13 01 00 [00:11:29]Write to MH i2c: E2 08 00 EA 32 80 13 01 00 00 00 00 00 99 [00:11:29]Write i2c OK [00:11:29]MH_I2C_Read... [00:11:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:11:29]Read from MH i2c: E2 [00:11:29]MH_I2C_Read... [00:11:29]Read from MH i2c: E2 0E 00 [00:11:29]MH_I2C_Read... [00:11:29]Read from MH i2c: E2 0E 00 EA 32 00 09 00 00 00 00 00 00 00 00 00 00 90 00 A4 [00:11:29]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:11:29]wFMCommunicate OK [00:11:29]SAM_PROTO_GetShiftState done [00:11:29]FM_GetShiftState done [00:11:29]req_shift_opened done [00:11:29]requested_item shift.open_date is exist - process it [00:11:29]req_shift_open_date [00:11:29]FM_GetShiftState [00:11:29]SAM_PROTO_GetShiftState [00:11:29]wFMCommunicate request_size=4 [00:11:29]MH_SAM_APDU [00:11:29]CAPDU: 80 13 01 00 [00:11:29]Write to MH i2c: E2 08 00 EB 32 80 13 01 00 00 00 00 00 9A [00:11:29]Write i2c OK [00:11:29]MH_I2C_Read... [00:11:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:11:29]Read from MH i2c: E2 [00:11:29]MH_I2C_Read... [00:11:29]Read from MH i2c: E2 0E 00 [00:11:29]MH_I2C_Read... [00:11:29]Read from MH i2c: E2 0E 00 EB 32 00 09 00 00 00 00 00 00 00 00 00 00 90 00 A5 [00:11:29]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:11:29]wFMCommunicate OK [00:11:29]SAM_PROTO_GetShiftState done [00:11:29]FM_GetShiftState done [00:11:29]req_shift_open_date done [00:11:29]produce_requested_data done [00:11:29]produce_requested_data return {"fd.num":26786,"shift.num":313,"shift.opened":0,"shift.open_date":0} [00:11:29]process_action_free close_shift [00:11:29]json_value_free [00:11:29]json_value_free done [00:11:29]process_json_proto returns [00:11:29]Send response to host [00:11:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":26786,"shift.num":313,"shift.opened":0,"shift.open_date":0}}} [00:11:29]free response buf [00:11:29]execute_script done [00:11:29]execute_script returns [00:11:29]free content buf [00:11:29]Sock 9.Close socket [00:11:29]Sock 9.Thread stoped [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:28]OFD Sender: No OFD packet to send [00:16:33]OFD Sender: No OFD packet to send [00:16:38]OFD Sender: No OFD packet to send [00:16:43]OFD Sender: No OFD packet to send [00:16:48]OFD Sender: No OFD packet to send [00:16:53]OFD Sender: No OFD packet to send [00:16:58]OFD Sender: No OFD packet to send [00:17:03]OFD Sender: No OFD packet to send [00:17:08]OFD Sender: No OFD packet to send [00:17:13]OFD Sender: No OFD packet to send [00:17:18]OFD Sender: No OFD packet to send [00:17:23]OFD Sender: No OFD packet to send [00:17:28]OFD Sender: No OFD packet to send [00:17:33]OFD Sender: No OFD packet to send [00:17:38]OFD Sender: No OFD packet to send [00:17:43]OFD Sender: No OFD packet to send [00:17:48]OFD Sender: No OFD packet to send [00:17:53]OFD Sender: No OFD packet to send [00:17:58]OFD Sender: No OFD packet to send [00:18:03]OFD Sender: No OFD packet to send [00:18:08]OFD Sender: No OFD packet to send [00:18:13]OFD Sender: No OFD packet to send [00:18:18]OFD Sender: No OFD packet to send [00:18:23]OFD Sender: No OFD packet to send [00:18:28]OFD Sender: No OFD packet to send [00:18:33]OFD Sender: No OFD packet to send [00:18:38]OFD Sender: No OFD packet to send [00:18:43]OFD Sender: No OFD packet to send [00:18:48]OFD Sender: No OFD packet to send [00:18:53]OFD Sender: No OFD packet to send [00:18:58]OFD Sender: No OFD packet to send [00:19:03]OFD Sender: No OFD packet to send [00:19:08]OFD Sender: No OFD packet to send [00:19:13]OFD Sender: No OFD packet to send [00:19:18]OFD Sender: No OFD packet to send [00:19:23]OFD Sender: No OFD packet to send [00:19:28]OFD Sender: No OFD packet to send [00:19:33]OFD Sender: No OFD packet to send [00:19:38]OFD Sender: No OFD packet to send [00:19:43]OFD Sender: No OFD packet to send [00:19:48]OFD Sender: No OFD packet to send [00:19:53]OFD Sender: No OFD packet to send [00:19:58]OFD Sender: No OFD packet to send [00:20:03]OFD Sender: No OFD packet to send [00:20:08]OFD Sender: No OFD packet to send [00:20:13]OFD Sender: No OFD packet to send [00:20:18]OFD Sender: No OFD packet to send [00:20:23]OFD Sender: No OFD packet to send [00:20:28]OFD Sender: No OFD packet to send [00:20:33]OFD Sender: No OFD packet to send [00:20:38]OFD Sender: No OFD packet to send [00:20:43]OFD Sender: No OFD packet to send [00:20:48]OFD Sender: No OFD packet to send [00:20:53]OFD Sender: No OFD packet to send [00:20:58]OFD Sender: No OFD packet to send [00:21:03]OFD Sender: No OFD packet to send [00:21:08]OFD Sender: No OFD packet to send [00:21:13]OFD Sender: No OFD packet to send [00:21:18]OFD Sender: No OFD packet to send [00:21:23]OFD Sender: No OFD packet to send [00:21:28]OFD Sender: No OFD packet to send [00:21:33]OFD Sender: No OFD packet to send [00:21:38]OFD Sender: No OFD packet to send [00:21:43]OFD Sender: No OFD packet to send [00:21:48]OFD Sender: No OFD packet to send [00:21:53]OFD Sender: No OFD packet to send [00:21:58]OFD Sender: No OFD packet to send [00:22:03]OFD Sender: No OFD packet to send [00:22:08]OFD Sender: No OFD packet to send [00:22:13]OFD Sender: No OFD packet to send [00:22:18]OFD Sender: No OFD packet to send [00:22:23]OFD Sender: No OFD packet to send [00:22:28]OFD Sender: No OFD packet to send [00:22:33]OFD Sender: No OFD packet to send [00:22:38]OFD Sender: No OFD packet to send [00:22:43]OFD Sender: No OFD packet to send [00:22:48]OFD Sender: No OFD packet to send [00:22:53]OFD Sender: No OFD packet to send [00:22:58]OFD Sender: No OFD packet to send [00:23:03]OFD Sender: No OFD packet to send [00:23:08]OFD Sender: No OFD packet to send [00:23:13]OFD Sender: No OFD packet to send [00:23:18]OFD Sender: No OFD packet to send [00:23:23]OFD Sender: No OFD packet to send [00:23:28]OFD Sender: No OFD packet to send [00:23:33]OFD Sender: No OFD packet to send [00:23:38]OFD Sender: No OFD packet to send [00:23:43]OFD Sender: No OFD packet to send [00:23:48]OFD Sender: No OFD packet to send [00:23:53]OFD Sender: No OFD packet to send [00:23:58]OFD Sender: No OFD packet to send [00:24:03]OFD Sender: No OFD packet to send [00:24:08]OFD Sender: No OFD packet to send [00:24:13]OFD Sender: No OFD packet to send [00:24:18]OFD Sender: No OFD packet to send [00:24:23]OFD Sender: No OFD packet to send [00:24:28]OFD Sender: No OFD packet to send [00:24:33]OFD Sender: No OFD packet to send [00:24:38]OFD Sender: No OFD packet to send [00:24:43]OFD Sender: No OFD packet to send [00:24:48]OFD Sender: No OFD packet to send [00:24:53]OFD Sender: No OFD packet to send [00:24:58]OFD Sender: No OFD packet to send [00:25:03]OFD Sender: No OFD packet to send [00:25:08]OFD Sender: No OFD packet to send [00:25:13]OFD Sender: No OFD packet to send [00:25:18]OFD Sender: No OFD packet to send [00:25:23]OFD Sender: No OFD packet to send [00:25:28]OFD Sender: No OFD packet to send [00:25:33]OFD Sender: No OFD packet to send [00:25:38]OFD Sender: No OFD packet to send [00:25:43]OFD Sender: No OFD packet to send [00:25:48]OFD Sender: No OFD packet to send [00:25:53]OFD Sender: No OFD packet to send [00:25:58]OFD Sender: No OFD packet to send [00:26:03]OFD Sender: No OFD packet to send [00:26:08]OFD Sender: No OFD packet to send [00:26:13]OFD Sender: No OFD packet to send [00:26:18]OFD Sender: No OFD packet to send [00:26:23]OFD Sender: No OFD packet to send [00:26:28]OFD Sender: No OFD packet to send [00:26:33]OFD Sender: No OFD packet to send [00:26:38]OFD Sender: No OFD packet to send [00:26:43]OFD Sender: No OFD packet to send [00:26:48]OFD Sender: No OFD packet to send [00:26:53]OFD Sender: No OFD packet to send [00:26:58]OFD Sender: No OFD packet to send [00:27:03]OFD Sender: No OFD packet to send [00:27:08]OFD Sender: No OFD packet to send [00:27:13]OFD Sender: No OFD packet to send [00:27:18]OFD Sender: No OFD packet to send [00:27:23]OFD Sender: No OFD packet to send [00:27:28]OFD Sender: No OFD packet to send [00:27:33]OFD Sender: No OFD packet to send [00:27:38]OFD Sender: No OFD packet to send [00:27:43]OFD Sender: No OFD packet to send [00:27:48]OFD Sender: No OFD packet to send [00:27:53]OFD Sender: No OFD packet to send [00:27:58]OFD Sender: No OFD packet to send [00:28:03]OFD Sender: No OFD packet to send [00:28:08]OFD Sender: No OFD packet to send [00:28:13]OFD Sender: No OFD packet to send [00:28:18]OFD Sender: No OFD packet to send [00:28:23]OFD Sender: No OFD packet to send [00:28:28]OFD Sender: No OFD packet to send [00:28:33]OFD Sender: No OFD packet to send [00:28:38]OFD Sender: No OFD packet to send [00:28:43]OFD Sender: No OFD packet to send [00:28:48]OFD Sender: No OFD packet to send [00:28:53]OFD Sender: No OFD packet to send [00:28:58]OFD Sender: No OFD packet to send [00:29:03]OFD Sender: No OFD packet to send [00:29:08]OFD Sender: No OFD packet to send [00:29:13]OFD Sender: No OFD packet to send [00:29:18]OFD Sender: No OFD packet to send [00:29:23]OFD Sender: No OFD packet to send [00:29:28]OFD Sender: No OFD packet to send [00:29:33]OFD Sender: No OFD packet to send [00:29:38]OFD Sender: No OFD packet to send [00:29:43]OFD Sender: No OFD packet to send [00:29:48]OFD Sender: No OFD packet to send [00:29:53]OFD Sender: No OFD packet to send [00:29:58]OFD Sender: No OFD packet to send [00:30:03]OFD Sender: No OFD packet to send [00:30:08]OFD Sender: No OFD packet to send [00:30:13]OFD Sender: No OFD packet to send [00:30:18]OFD Sender: No OFD packet to send [00:30:23]OFD Sender: No OFD packet to send [00:30:28]OFD Sender: No OFD packet to send [00:30:33]OFD Sender: No OFD packet to send [00:30:38]OFD Sender: No OFD packet to send [00:30:43]OFD Sender: No OFD packet to send [00:30:48]OFD Sender: No OFD packet to send [00:30:53]OFD Sender: No OFD packet to send [00:30:54]accept exits with 8 [00:30:54]New connection [00:30:54]New thread 3067014500 created [00:30:54]Thread 3066871140 joined [00:30:54]Waiting for new connection... [00:30:54] Sock 8.Parse request [00:30:54]Sock 8.Check first char [00:30:54]Sock 8.First char is OK [00:30:54]request: POST /json_proto HTTP/1.0 [00:30:54]Method: POST [00:30:54]URL: /json_proto [00:30:54]Method is POST - this is cgi request [00:30:54]url: /json_proto [00:30:54]query_string will be loaded in cgi processing [00:30:54]execute_cgi json_proto POST (null) [00:30:54]execute_cgi path=json_proto method=POST [00:30:54]POST find Content-Length [00:30:54]Host: 172.17.35.3:8080 [00:30:54]Content-Length: 215 [00:30:54]Content-Type: application/json [00:30:54] [00:30:54]POST finish read [00:30:54]Found Content-Length = 215 [00:30:54]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:30:54]execute_script... [00:30:54]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:30:54]POST & json_proto [00:30:54]process_json_proto [00:30:54]json parsed OK: [00:30:54]protocol is kg_v1.0 [00:30:54]action value=get_value [00:30:54]process_action get_value [00:30:54]cmd_get_value [00:30:54]process_action get_value done [00:30:54]requested_data is exist [00:30:54]produce_requested_data [00:30:54]requested_item kkm.sn is exist - process it [00:30:54]requested_item kkm.ver is exist - process it [00:30:54]requested_item fm.sn is exist - process it [00:30:54]wFMCommunicate request_size=4 [00:30:54]MH_SAM_APDU [00:30:54]CAPDU: 80 11 00 00 [00:30:54]Write to MH i2c: E2 08 00 EC 32 80 11 00 00 00 00 00 00 98 [00:30:54]Write i2c OK [00:30:54]MH_I2C_Read... [00:30:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:30:54]Read from MH i2c: E2 [00:30:54]MH_I2C_Read... [00:30:54]Read from MH i2c: E2 17 00 [00:30:54]MH_I2C_Read... [00:30:54]Read from MH i2c: E2 17 00 EC 32 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 F0 [00:30:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [00:30:54]wFMCommunicate OK [00:30:54]requested_item fd.num is exist - process it [00:30:54]SAM_PROTO_GetFieldsCounters [00:30:54]wFMCommunicate request_size=4 [00:30:54]MH_SAM_APDU [00:30:54]CAPDU: 80 13 00 00 [00:30:54]Write to MH i2c: E2 08 00 ED 32 80 13 00 00 00 00 00 00 9B [00:30:54]Write i2c OK [00:30:54]MH_I2C_Read... [00:30:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:30:54]Read from MH i2c: E2 [00:30:54]MH_I2C_Read... [00:30:54]Read from MH i2c: E2 62 00 [00:30:54]MH_I2C_Read... [00:30:54]Read from MH i2c: E2 62 00 ED 32 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A2 68 00 00 0E 04 04 00 39 01 00 00 12 04 04 00 54 00 00 00 5E 04 04 00 54 00 00 00 57 04 04 00 56 00 00 00 19 04 04 00 00 00 00 00 90 00 07 [00:30: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A2 68 00 00 0E 04 04 00 39 01 00 00 12 04 04 00 54 00 00 00 5E 04 04 00 54 00 00 00 57 04 04 00 56 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:30:54]wFMCommunicate OK [00:30:54]SAM_PROTO_GetFieldsCounters done [00:30:54]requested_item shift.num is exist - process it [00:30:54]requested_item shift.opened is exist - process it [00:30:54]req_shift_opened [00:30:54]FM_GetShiftState [00:30:54]SAM_PROTO_GetShiftState [00:30:54]wFMCommunicate request_size=4 [00:30:54]MH_SAM_APDU [00:30:54]CAPDU: 80 13 01 00 [00:30:54]Write to MH i2c: E2 08 00 EE 32 80 13 01 00 00 00 00 00 9D [00:30:54]Write i2c OK [00:30:54]MH_I2C_Read... [00:30:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:30:54]Read from MH i2c: E2 [00:30:54]MH_I2C_Read... [00:30:54]Read from MH i2c: E2 0E 00 [00:30:54]MH_I2C_Read... [00:30:54]Read from MH i2c: E2 0E 00 EE 32 00 09 00 00 00 00 00 00 00 00 00 00 90 00 A8 [00:30:54]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:30:54]wFMCommunicate OK [00:30:54]SAM_PROTO_GetShiftState done [00:30:54]FM_GetShiftState done [00:30:54]req_shift_opened done [00:30:54]requested_item shift.open_date is exist - process it [00:30:54]req_shift_open_date [00:30:54]FM_GetShiftState [00:30:54]SAM_PROTO_GetShiftState [00:30:54]wFMCommunicate request_size=4 [00:30:54]MH_SAM_APDU [00:30:54]CAPDU: 80 13 01 00 [00:30:54]Write to MH i2c: E2 08 00 EF 32 80 13 01 00 00 00 00 00 9E [00:30:54]Write i2c OK [00:30:54]MH_I2C_Read... [00:30:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:30:54]Read from MH i2c: E2 [00:30:54]MH_I2C_Read... [00:30:54]Read from MH i2c: E2 0E 00 [00:30:54]MH_I2C_Read... [00:30:54]Read from MH i2c: E2 0E 00 EF 32 00 09 00 00 00 00 00 00 00 00 00 00 90 00 A9 [00:30:54]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:30:54]wFMCommunicate OK [00:30:54]SAM_PROTO_GetShiftState done [00:30:54]FM_GetShiftState done [00:30:54]req_shift_open_date done [00:30:54]produce_requested_data done [00:30:54]produce_requested_data return {"kkm.sn":"0300000147","kkm.ver":"001","fm.sn":"0000000000874657","fd.num":26786,"shift.num":313,"shift.opened":0,"shift.open_date":0} [00:30:54]process_action_free get_value [00:30:54]json_value_free [00:30:54]json_value_free done [00:30:54]process_json_proto returns [00:30:54]Send response to host [00:30:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000147","kkm.ver":"001","fm.sn":"0000000000874657","fd.num":26786,"shift.num":313,"shift.opened":0,"shift.open_date":0}}} [00:30:54]free response buf [00:30:54]execute_script done [00:30:54]execute_script returns [00:30:54]free content buf [00:30:54]Sock 8.Close socket [00:30:54]Sock 8.Thread stoped [00:30:54]accept exits with 9 [00:30:54]New connection [00:30:54]New thread 3066871140 created [00:30:54]Thread 3067014500 joined [00:30:54]Waiting for new connection... [00:30:54] Sock 9.Parse request [00:30:54]Sock 9.Check first char [00:30:54]Sock 9.First char is OK [00:30:54]request: POST /json_proto HTTP/1.0 [00:30:54]Method: POST [00:30:54]URL: /json_proto [00:30:54]Method is POST - this is cgi request [00:30:54]url: /json_proto [00:30:54]query_string will be loaded in cgi processing [00:30:54]execute_cgi json_proto POST (null) [00:30:54]execute_cgi path=json_proto method=POST [00:30:54]POST find Content-Length [00:30:54]Host: 172.17.35.3:8080 [00:30:54]Content-Length: 331 [00:30:54]Content-Type: application/json [00:30:54] [00:30:54]POST finish read [00:30:54]Found Content-Length = 331 [00:30:54]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:30:54]execute_script... [00:30: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:30:54]POST & json_proto [00:30:54]process_json_proto [00:30:54]json parsed OK: [00:30:54]protocol is kg_v1.0 [00:30:54]action value=get_value [00:30:54]process_action get_value [00:30:54]cmd_get_value [00:30:54]process_action get_value done [00:30:54]requested_data is exist [00:30:54]produce_requested_data [00:30:54]requested_item fm.sale.total is exist - process it [00:30:54]SAM_PROTO_GetFMData [00:30:54]wFMCommunicate request_size=4 [00:30:54]MH_SAM_APDU [00:30:54]CAPDU: 80 13 03 00 [00:30:54]Write to MH i2c: E2 08 00 F0 32 80 13 03 00 00 00 00 00 A1 [00:30:54]Write i2c OK [00:30:54]MH_I2C_Read... [00:30:55]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:30:55]Read from MH i2c: E2 [00:30:55]MH_I2C_Read... [00:30:55]Read from MH i2c: E2 FD 00 [00:30:55]MH_I2C_Read... [00:30:55]Read from MH i2c: E2 FD 00 F0 32 00 C0 04 85 04 BC 04 6E 04 04 00 2F 66 00 00 69 04 A1 00 6F 04 04 00 ED 65 00 00 B1 04 04 00 94 95 49 9B 70 04 04 00 E8 FD 8A 7F 72 04 04 00 AC 97 BE 1B 00 04 7D 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 61 A1 7E 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 54 DC 5F 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 99 00 6F 04 04 00 42 00 00 00 B1 04 03 00 A4 6D BB 70 04 03 00 A4 6D BB 72 04 00 00 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 0B E8 13 EF 03 09 00 F6 03 01 00 90 00 A7 [00:30:55]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 2F 66 00 00 69 04 A1 00 6F 04 04 00 ED 65 00 00 B1 04 04 00 94 95 49 9B 70 04 04 00 E8 FD 8A 7F 72 04 04 00 AC 97 BE 1B 00 04 7D 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 61 A1 7E 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 54 DC 5F 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 99 00 6F 04 04 00 42 00 00 00 B1 04 03 00 A4 6D BB 70 04 03 00 A4 6D BB 72 04 00 00 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 0B E8 13 EF 03 09 00 F6 03 01 00 90 00 [00:30:55]wFMCommunicate OK [00:30:55]wFMCommunicate request_size=4 [00:30:55]MH_SAM_APDU [00:30:55]CAPDU: 80 17 00 00 [00:30:55]Write to MH i2c: E2 08 00 F1 32 80 17 00 00 00 00 00 00 A3 [00:30:55]Write i2c OK [00:30:55]MH_I2C_Read... [00:30:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:55]Read from MH i2c: E2 [00:30:55]MH_I2C_Read... [00:30:55]Read from MH i2c: E2 FD 00 [00:30:55]MH_I2C_Read... [00:30:55]Read from MH i2c: E2 FD 00 F1 32 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 A7 A8 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 90 00 23 [00:30:55]RAPDU: 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 A7 A8 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 90 00 [00:30:55]wFMCommunicate OK [00:30:55]wFMCommunicate request_size=4 [00:30:55]MH_SAM_APDU [00:30:55]CAPDU: 80 17 00 00 [00:30:55]Write to MH i2c: E2 08 00 F2 32 80 17 00 00 00 00 00 00 A4 [00:30:55]Write i2c OK [00:30:55]MH_I2C_Read... [00:30:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:55]Read from MH i2c: E2 [00:30:55]MH_I2C_Read... [00:30:55]Read from MH i2c: E2 FD 00 [00:30:55]MH_I2C_Read... [00:30:55]Read from MH i2c: E2 FD 00 F2 32 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 47 [00:30:55]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:30:55]wFMCommunicate OK [00:30:55]wFMCommunicate request_size=4 [00:30:55]MH_SAM_APDU [00:30:55]CAPDU: 80 17 00 00 [00:30:55]Write to MH i2c: E2 08 00 F3 32 80 17 00 00 00 00 00 00 A5 [00:30:55]Write i2c OK [00:30:55]MH_I2C_Read... [00:30:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:55]Read from MH i2c: E2 [00:30:55]MH_I2C_Read... [00:30:55]Read from MH i2c: E2 FD 00 [00:30:55]MH_I2C_Read... [00:30:55]Read from MH i2c: E2 FD 00 F3 32 00 01 00 04 F7 03 00 00 EF 03 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 90 00 1D [00:30:55]RAPDU: 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:30:56]wFMCommunicate OK [00:30:56]wFMCommunicate request_size=4 [00:30:56]MH_SAM_APDU [00:30:56]CAPDU: 80 17 00 00 [00:30:56]Write to MH i2c: E2 08 00 F4 32 80 17 00 00 00 00 00 00 A6 [00:30:56]Write i2c OK [00:30:56]MH_I2C_Read... [00:30:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:30:56]Read from MH i2c: E2 [00:30:56]MH_I2C_Read... [00:30:56]Read from MH i2c: E2 DD 00 [00:30:56]MH_I2C_Read... [00:30:56]Read from MH i2c: E2 DD 00 F4 32 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 8E [00:30:56]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:30:56]wFMCommunicate OK [00:30:56]SAM_PROTO_GetFMData done [00:30:56]requested_item fm.sale_refund.total is exist - process it [00:30:56]requested_item fm.buy.total is exist - process it [00:30:56]requested_item shift.sale.total is exist - process it [00:30:56]SAM_PROTO_GetShiftData [00:30:56]wFMCommunicate request_size=4 [00:30:56]MH_SAM_APDU [00:30:56]CAPDU: 80 13 02 00 [00:30:56]Write to MH i2c: E2 08 00 F5 32 80 13 02 00 00 00 00 00 A5 [00:30:56]Write i2c OK [00:30:56]MH_I2C_Read... [00:30:56]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:30:56]Read from MH i2c: E2 [00:30:56]MH_I2C_Read... [00:30:56]Read from MH i2c: E2 FD 00 [00:30:56]MH_I2C_Read... [00:30:56]Read from MH i2c: E2 FD 00 F5 32 00 AF 04 AA 04 AB 04 6E 04 04 00 54 00 00 00 69 04 9C 00 6F 04 04 00 54 00 00 00 B1 04 03 00 E3 19 8B 70 04 03 00 60 D3 53 72 04 03 00 83 46 37 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 61 C6 0E 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 2A 3B 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 90 00 C5 [00:30:56]RAPDU: AF 04 AA 04 AB 04 6E 04 04 00 54 00 00 00 69 04 9C 00 6F 04 04 00 54 00 00 00 B1 04 03 00 E3 19 8B 70 04 03 00 60 D3 53 72 04 03 00 83 46 37 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 61 C6 0E 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 2A 3B 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 90 00 [00:30:56]wFMCommunicate OK [00:30:56]wFMCommunicate request_size=4 [00:30:56]MH_SAM_APDU [00:30:56]CAPDU: 80 17 00 00 [00:30:56]Write to MH i2c: E2 08 00 F6 32 80 17 00 00 00 00 00 00 A8 [00:30:56]Write i2c OK [00:30:56]MH_I2C_Read... [00:30:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:56]Read from MH i2c: E2 [00:30:56]MH_I2C_Read... [00:30:56]Read from MH i2c: E2 FD 00 [00:30:56]MH_I2C_Read... [00:30:56]Read from MH i2c: E2 FD 00 F6 32 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 90 00 C1 [00:30:56]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 90 00 [00:30:57]wFMCommunicate OK [00:30:57]wFMCommunicate request_size=4 [00:30:57]MH_SAM_APDU [00:30:57]CAPDU: 80 17 00 00 [00:30:57]Write to MH i2c: E2 08 00 F7 32 80 17 00 00 00 00 00 00 A9 [00:30:57]Write i2c OK [00:30:57]MH_I2C_Read... [00:30:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:57]Read from MH i2c: E2 [00:30:57]MH_I2C_Read... [00:30:57]Read from MH i2c: E2 FD 00 [00:30:57]MH_I2C_Read... [00:30:57]Read from MH i2c: E2 FD 00 F7 32 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 90 00 5D [00:30:57]RAPDU: 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 90 00 [00:30:57]wFMCommunicate OK [00:30:57]wFMCommunicate request_size=4 [00:30:57]MH_SAM_APDU [00:30:57]CAPDU: 80 17 00 00 [00:30:57]Write to MH i2c: E2 08 00 F8 32 80 17 00 00 00 00 00 00 AA [00:30:57]Write i2c OK [00:30:57]MH_I2C_Read... [00:30:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:57]Read from MH i2c: E2 [00:30:57]MH_I2C_Read... [00:30:57]Read from MH i2c: E2 FD 00 [00:30:57]MH_I2C_Read... [00:30:57]Read from MH i2c: E2 FD 00 F8 32 00 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 90 00 28 [00:30:57]RAPDU: 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 90 00 [00:30:57]wFMCommunicate OK [00:30:57]wFMCommunicate request_size=4 [00:30:57]MH_SAM_APDU [00:30:57]CAPDU: 80 17 00 00 [00:30:57]Write to MH i2c: E2 08 00 F9 32 80 17 00 00 00 00 00 00 AB [00:30:57]Write i2c OK [00:30:57]MH_I2C_Read... [00:30:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 201! [00:30:57]Read from MH i2c: E2 [00:30:57]MH_I2C_Read... [00:30:57]Read from MH i2c: E2 CC 00 [00:30:57]MH_I2C_Read... [00:30:57]Read from MH i2c: E2 CC 00 F9 32 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 8C [00:30:57]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:30:57]wFMCommunicate OK [00:30:57]SAM_PROTO_GetShiftData done [00:30:57]requested_item shift.sale.total_cash is exist - process it [00:30:57]requested_item shift.sale_refund.total is exist - process it [00:30:57]requested_item shift.sale_refund.total_cash is exist - process it [00:30:57]requested_item shift.buy.total is exist - process it [00:30:57]requested_item shift.buy.total_cash is exist - process it [00:30:57]produce_requested_data done [00:30:57]produce_requested_data return {"fm.sale.total":26052909.00,"fm.sale_refund.total":122833.00,"fm.buy.total":0.00,"shift.sale.total":91161.31,"shift.sale.total_cash":54936.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:30:57]process_action_free get_value [00:30:57]json_value_free [00:30:57]json_value_free done [00:30:57]process_json_proto returns [00:30:57]Send response to host [00:30:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":26052909.00,"fm.sale_refund.total":122833.00,"fm.buy.total":0.00,"shift.sale.total":91161.31,"shift.sale.total_cash":54936.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:30:57]free response buf [00:30:57]execute_script done [00:30:57]execute_script returns [00:30:57]free content buf [00:30:57]Sock 9.Close socket [00:30:57]Sock 9.Thread stoped [00:30:58]accept exits with 8 [00:30:58]New connection [00:30:58]New thread 3067014500 created [00:30:58]Thread 3066871140 joined [00:30:58]Waiting for new connection... [00:30:58] Sock 8.Parse request [00:30:58]Sock 8.Check first char [00:30:58]Sock 8.First char is OK [00:30:58]request: POST /json_proto HTTP/1.0 [00:30:58]Method: POST [00:30:58]URL: /json_proto [00:30:58]Method is POST - this is cgi request [00:30:58]url: /json_proto [00:30:58]query_string will be loaded in cgi processing [00:30:58]execute_cgi json_proto POST (null) [00:30:58]execute_cgi path=json_proto method=POST [00:30:58]POST find Content-Length [00:30:58]Host: 172.17.35.3:8080 [00:30:58]Content-Length: 258 [00:30:58]Content-Type: application/json [00:30:58] [00:30:58]POST finish read [00:30:58]Found Content-Length = 258 [00:30:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u042D\u0434\u0438\u043B\u0431\u0430\u0435\u0432 \u041A." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:30:58]execute_script... [00:30:58]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u042D\u0434\u0438\u043B\u0431\u0430\u0435\u0432 \u041A." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:30:58]POST & json_proto [00:30:58]process_json_proto [00:30:58]json parsed OK: [00:30:58]protocol is kg_v1.0 [00:30:58]action value=open_shift [00:30:58]process_action open_shift [00:30:58]cmd_open_shift [00:30:58]MH_GetDate [00:30:58]Write to MH i2c: F0 00 00 FA 32 1B [00:30:58]Write i2c OK [00:30:58]MH_I2C_Read... [00:30:58]Read from MH i2c: F0 [00:30:58]MH_I2C_Read... [00:30:58]Read from MH i2c: F0 09 00 [00:30:58]MH_I2C_Read... [00:30:58]Read from MH i2c: F0 09 00 FA 32 00 CD 3A 13 66 2B 11 66 64 AA [00:30:58]GetLastDocTimeStamp 1712535086 [00:30:58]current date 1712536269 [00:30:58]FM_GetShiftState [00:30:58]SAM_PROTO_GetShiftState [00:30:58]wFMCommunicate request_size=4 [00:30:58]MH_SAM_APDU [00:30:58]CAPDU: 80 13 01 00 [00:30:58]Write to MH i2c: E2 08 00 FB 32 80 13 01 00 00 00 00 00 AA [00:30:58]Write i2c OK [00:30:58]MH_I2C_Read... [00:30:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:30:58]Read from MH i2c: E2 [00:30:58]MH_I2C_Read... [00:30:58]Read from MH i2c: E2 0E 00 [00:30:58]MH_I2C_Read... [00:30:58]Read from MH i2c: E2 0E 00 FB 32 00 09 00 00 00 00 00 00 00 00 00 00 90 00 B5 [00:30:58]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:30:58]wFMCommunicate OK [00:30:58]SAM_PROTO_GetShiftState done [00:30:58]FM_GetShiftState done [00:30:58]KKMCreateOpenShiftDocument [00:30:58]Load OK [00:30:58]Malloc new data [00:30:58]MH_GetDate [00:30:58]Write to MH i2c: F0 00 00 FC 32 1D [00:30:58]Write i2c OK [00:30:58]MH_I2C_Read... [00:30:58]Read from MH i2c: F0 [00:30:58]MH_I2C_Read... [00:30:58]Read from MH i2c: F0 09 00 [00:30:58]MH_I2C_Read... [00:30:58]Read from MH i2c: F0 09 00 FC 32 00 CE 3A 13 66 2B 11 66 64 AD [00:30:58]Malloc new data [00:30:58]KKMCreateOpenShiftDocument OK [00:30:58]KKMSetOpenShiftData OK [00:30:58]ProcessDocumentItem done err = 0, tmpTLVsize=197 [00:30:58]tlvbuf is 00F65430 [00:30:58]KKMLoadAndSignOpenShiftData [00:30:58]SAM_PROTO_ProcessDocument [00:30:58]wFMCommunicate request_size=9 [00:30:58]MH_SAM_APDU [00:30:58]CAPDU: 80 15 01 00 04 02 00 C5 00 [00:30:58]Write to MH i2c: E2 0C 00 FD 32 80 15 01 00 04 00 02 00 C5 00 00 00 7D [00:30:58]Write i2c OK [00:30:58]MH_I2C_Read... [00:30:58]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:30:58]Read from MH i2c: E2 [00:30:58]MH_I2C_Read... [00:30:58]Read from MH i2c: E2 03 00 [00:30:58]MH_I2C_Read... [00:30:58]Read from MH i2c: E2 03 00 FD 32 00 90 00 A3 [00:30:58]RAPDU: 90 00 [00:30:58]wFMCommunicate OK [00:30:58]wFMCommunicate request_size=23 [00:30:58]MH_SAM_APDU [00:30:58]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:30:58]Write to MH i2c: E2 1A 00 FE 32 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 A5 [00:30:58]Write i2c OK [00:30:58]MH_I2C_Read... [00:30:58]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:30:58]Read from MH i2c: E2 [00:30:58]MH_I2C_Read... [00:30:58]Read from MH i2c: E2 03 00 [00:30:58]MH_I2C_Read... [00:30:58]Read from MH i2c: E2 03 00 FE 32 00 90 00 A4 [00:30:58]RAPDU: 90 00 [00:30:58]wFMCommunicate OK [00:30:58]wFMCommunicate request_size=29 [00:30:58]MH_SAM_APDU [00:30:58]CAPDU: 80 15 02 00 18 FD 03 14 00 D0 AD D0 B4 D0 B8 D0 BB D0 B1 D0 B0 D0 B5 D0 B2 20 D0 9A 2E [00:30:58]Write to MH i2c: E2 20 00 FF 32 80 15 02 00 18 00 FD 03 14 00 D0 AD D0 B4 D0 B8 D0 BB D0 B1 D0 B0 D0 B5 D0 B2 20 D0 9A 2E 00 00 C9 [00:30:58]Write i2c OK [00:30:58]MH_I2C_Read... [00:30:58]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:30:58]Read from MH i2c: E2 [00:30:58]MH_I2C_Read... [00:30:58]Read from MH i2c: E2 03 00 [00:30:58]MH_I2C_Read... [00:30:58]Read from MH i2c: E2 03 00 FF 32 00 90 00 A5 [00:30:58]RAPDU: 90 00 [00:30:58]wFMCommunicate OK [00:30:58]wFMCommunicate request_size=86 [00:30:58]MH_SAM_APDU [00:30:58]CAPDU: 80 15 02 00 51 F1 03 4D 00 37 32 30 30 30 31 20 D1 81 2E 20 D0 98 D0 B2 D0 B0 D0 BD D0 BE D0 B2 D0 BA D0 B0 2C 20 D1 83 D0 BB 2E 20 D0 93 2E 20 D0 98 D0 BB D1 8C D0 B8 D0 BD D0 B0 20 34 2F 31 2C 20 34 32 2E 38 39 34 30 39 33 2C 20 37 35 2E 30 34 30 36 37 38 [00:30:58]Write to MH i2c: E2 59 00 00 33 80 15 02 00 51 00 F1 03 4D 00 37 32 30 30 30 31 20 D1 81 2E 20 D0 98 D0 B2 D0 B0 D0 BD D0 BE D0 B2 D0 BA D0 B0 2C 20 D1 83 D0 BB 2E 20 D0 93 2E 20 D0 98 D0 BB D1 8C D0 B8 D0 BD D0 B0 20 34 2F 31 2C 20 34 32 2E 38 39 34 30 39 33 2C 20 37 35 2E 30 34 30 36 37 38 00 00 94 [00:30:58]Write i2c OK [00:30:58]MH_I2C_Read... [00:30:58]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:30:58]Read from MH i2c: E2 [00:30:58]MH_I2C_Read... [00:30:58]Read from MH i2c: E2 03 00 [00:30:58]MH_I2C_Read... [00:30:58]Read from MH i2c: E2 03 00 00 33 00 90 00 A7 [00:30:58]RAPDU: 90 00 [00:30:58]wFMCommunicate OK [00:30:58]wFMCommunicate request_size=51 [00:30:58]MH_SAM_APDU [00:30:58]CAPDU: 80 15 02 00 2E A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 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:30:58]Write to MH i2c: E2 36 00 01 33 80 15 02 00 2E 00 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 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 5B [00:30:58]Write i2c OK [00:30:58]MH_I2C_Read... [00:30:58]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:30:58]Read from MH i2c: E2 [00:30:58]MH_I2C_Read... [00:30:58]Read from MH i2c: E2 03 00 [00:30:58]MH_I2C_Read... [00:30:58]Read from MH i2c: E2 03 00 01 33 00 90 00 A8 [00:30:58]RAPDU: 90 00 [00:30:58]wFMCommunicate OK [00:30:58]wFMCommunicate request_size=13 [00:30:58]MH_SAM_APDU [00:30:58]CAPDU: 80 15 02 00 08 F4 03 04 00 CE 3A 13 66 [00:30:58]Write to MH i2c: E2 10 00 02 33 80 15 02 00 08 00 F4 03 04 00 CE 3A 13 66 00 00 41 [00:30:58]Write i2c OK [00:30:58]MH_I2C_Read... [00:30:58]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:30:58]Read from MH i2c: E2 [00:30:58]MH_I2C_Read... [00:30:58]Read from MH i2c: E2 03 00 [00:30:58]MH_I2C_Read... [00:30:58]Read from MH i2c: E2 03 00 02 33 00 90 00 A9 [00:30:58]RAPDU: 90 00 [00:30:58]wFMCommunicate OK [00:30:58]wFMCommunicate request_size=25 [00:30:58]MH_SAM_APDU [00:30:58]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 [00:30:58]Write to MH i2c: E2 1C 00 03 33 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 00 00 1D [00:30:58]Write i2c OK [00:30:58]MH_I2C_Read... [00:30:58]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:30:58]Read from MH i2c: E2 [00:30:58]MH_I2C_Read... [00:30:58]Read from MH i2c: E2 03 00 [00:30:58]MH_I2C_Read... [00:30:58]Read from MH i2c: E2 03 00 03 33 00 90 00 AA [00:30:58]RAPDU: 90 00 [00:30:58]wFMCommunicate OK [00:30:58]wFMCommunicate request_size=4 [00:30:58]MH_SAM_APDU [00:30:58]CAPDU: 80 15 03 00 [00:30:58]Write to MH i2c: E2 08 00 04 33 80 15 03 00 00 00 00 00 B8 [00:30:58]Write i2c OK [00:30:58]MH_I2C_Read... [00:30:58]OFD Sender: No OFD packet to send [00:30:59]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:30:59]Read from MH i2c: E2 [00:30:59]MH_I2C_Read... [00:30:59]Read from MH i2c: E2 38 00 [00:30:59]MH_I2C_Read... [00:30:59]Read from MH i2c: E2 38 00 04 33 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 36 35 37 10 04 04 00 A3 68 00 00 0E 04 04 00 3A 01 00 00 35 04 06 00 16 B2 C4 53 B3 E1 90 00 42 [00:30:59]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 36 35 37 10 04 04 00 A3 68 00 00 0E 04 04 00 3A 01 00 00 35 04 06 00 16 B2 C4 53 B3 E1 90 00 [00:30:59]wFMCommunicate OK [00:30:59]SAM_PROTO_ProcessDocument answer len = 51 [00:30:59]SAM_PROTO_ProcessDocument done [00:30:59]SetTLVBufToDocument [00:30:59]Processing tag 1209 (04B9) [00:30:59]Malloc new data [00:30:59]Processing tag 1041 (0411) [00:30:59]Processing tag 1040 (0410) [00:30:59]Malloc new data [00:30:59]Processing tag 1038 (040E) [00:30:59]Malloc new data [00:30:59]Processing tag 1077 (0435) [00:30:59]Malloc new data [00:30:59]SetTLVBufToDocument err=0 [00:30:59]KKMLoadAndSignOpenShiftData store KKM data [00:30:59]KKMLoadAndSignOpenShiftData err=0 [00:30:59]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Эдилбаев К. Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 Место: АЗС № 122 "Партнер Нефть" 08.04.2024 00:31 Смена: 314 РНМ: 0000000000091578 ЗНМ: 0300000147 ФД: 26787 ФМ: 0000000000874657 ФПД: 24957053809633 [00:30:59]StoreToDocumentArchive [00:30:59]shift 314 fd 26787 [00:30:59]Create dir for shift 0314 [00:30:59]save to /storage/0314/doc_00026787 [00:30:59]save last doc name /storage/0314/doc_00026787 to /storage/kkm_last_doc_name [00:30:59]save OK [00:30:59]Clear old archive folders... [00:30:59]Remove dir /storage/0313 [00:30:59]opendir ok [00:30:59]file . [00:30:59]file .. [00:30:59]file doc_00026701 [00:30:59]remove file /storage/0313/doc_00026701 [00:30:59]file doc_00026702 [00:30:59]remove file /storage/0313/doc_00026702 [00:30:59]file doc_00026703 [00:30:59]remove file /storage/0313/doc_00026703 [00:30:59]file doc_00026704 [00:30:59]remove file /storage/0313/doc_00026704 [00:30:59]file doc_00026705 [00:30:59]remove file /storage/0313/doc_00026705 [00:30:59]file doc_00026706 [00:30:59]remove file /storage/0313/doc_00026706 [00:30:59]file doc_00026707 [00:30:59]remove file /storage/0313/doc_00026707 [00:30:59]file doc_00026708 [00:30:59]remove file /storage/0313/doc_00026708 [00:30:59]file doc_00026709 [00:30:59]remove file /storage/0313/doc_00026709 [00:30:59]file doc_00026710 [00:30:59]remove file /storage/0313/doc_00026710 [00:30:59]file doc_00026711 [00:30:59]remove file /storage/0313/doc_00026711 [00:30:59]file doc_00026712 [00:30:59]remove file /storage/0313/doc_00026712 [00:30:59]file doc_00026713 [00:30:59]remove file /storage/0313/doc_00026713 [00:30:59]file doc_00026714 [00:30:59]remove file /storage/0313/doc_00026714 [00:30:59]file doc_00026715 [00:30:59]remove file /storage/0313/doc_00026715 [00:30:59]file doc_00026716 [00:30:59]remove file /storage/0313/doc_00026716 [00:30:59]file doc_00026717 [00:30:59]remove file /storage/0313/doc_00026717 [00:30:59]file doc_00026718 [00:30:59]remove file /storage/0313/doc_00026718 [00:30:59]file doc_00026719 [00:30:59]remove file /storage/0313/doc_00026719 [00:30:59]file doc_00026720 [00:30:59]remove file /storage/0313/doc_00026720 [00:30:59]file doc_00026721 [00:30:59]remove file /storage/0313/doc_00026721 [00:30:59]file doc_00026722 [00:30:59]remove file /storage/0313/doc_00026722 [00:30:59]file doc_00026723 [00:30:59]remove file /storage/0313/doc_00026723 [00:30:59]file doc_00026724 [00:30:59]remove file /storage/0313/doc_00026724 [00:30:59]file doc_00026725 [00:30:59]remove file /storage/0313/doc_00026725 [00:30:59]file doc_00026726 [00:30:59]remove file /storage/0313/doc_00026726 [00:30:59]file doc_00026727 [00:30:59]remove file /storage/0313/doc_00026727 [00:30:59]file doc_00026728 [00:30:59]remove file /storage/0313/doc_00026728 [00:30:59]file doc_00026729 [00:30:59]remove file /storage/0313/doc_00026729 [00:30:59]file doc_00026730 [00:30:59]remove file /storage/0313/doc_00026730 [00:30:59]file doc_00026731 [00:30:59]remove file /storage/0313/doc_00026731 [00:30:59]file doc_00026732 [00:30:59]remove file /storage/0313/doc_00026732 [00:30:59]file doc_00026733 [00:30:59]remove file /storage/0313/doc_00026733 [00:30:59]file doc_00026734 [00:30:59]remove file /storage/0313/doc_00026734 [00:30:59]file doc_00026735 [00:30:59]remove file /storage/0313/doc_00026735 [00:30:59]file doc_00026736 [00:30:59]remove file /storage/0313/doc_00026736 [00:30:59]file doc_00026737 [00:30:59]remove file /storage/0313/doc_00026737 [00:30:59]file doc_00026738 [00:30:59]remove file /storage/0313/doc_00026738 [00:30:59]file doc_00026739 [00:30:59]remove file /storage/0313/doc_00026739 [00:30:59]file doc_00026740 [00:30:59]remove file /storage/0313/doc_00026740 [00:30:59]file doc_00026741 [00:30:59]remove file /storage/0313/doc_00026741 [00:30:59]file doc_00026742 [00:30:59]remove file /storage/0313/doc_00026742 [00:30:59]file doc_00026743 [00:30:59]remove file /storage/0313/doc_00026743 [00:30:59]file doc_00026744 [00:30:59]remove file /storage/0313/doc_00026744 [00:30:59]file doc_00026745 [00:30:59]remove file /storage/0313/doc_00026745 [00:30:59]file doc_00026746 [00:30:59]remove file /storage/0313/doc_00026746 [00:30:59]file doc_00026747 [00:30:59]remove file /storage/0313/doc_00026747 [00:30:59]file doc_00026748 [00:30:59]remove file /storage/0313/doc_00026748 [00:30:59]file doc_00026749 [00:30:59]remove file /storage/0313/doc_00026749 [00:30:59]file doc_00026750 [00:30:59]remove file /storage/0313/doc_00026750 [00:30:59]file doc_00026751 [00:30:59]remove file /storage/0313/doc_00026751 [00:30:59]file doc_00026752 [00:30:59]remove file /storage/0313/doc_00026752 [00:30:59]file doc_00026753 [00:30:59]remove file /storage/0313/doc_00026753 [00:30:59]file doc_00026754 [00:30:59]remove file /storage/0313/doc_00026754 [00:30:59]file doc_00026755 [00:30:59]remove file /storage/0313/doc_00026755 [00:30:59]file doc_00026756 [00:30:59]remove file /storage/0313/doc_00026756 [00:30:59]file doc_00026757 [00:30:59]remove file /storage/0313/doc_00026757 [00:30:59]file doc_00026758 [00:30:59]remove file /storage/0313/doc_00026758 [00:30:59]file doc_00026759 [00:30:59]remove file /storage/0313/doc_00026759 [00:30:59]file doc_00026760 [00:30:59]remove file /storage/0313/doc_00026760 [00:30:59]file doc_00026761 [00:30:59]remove file /storage/0313/doc_00026761 [00:30:59]file doc_00026762 [00:30:59]remove file /storage/0313/doc_00026762 [00:30:59]file doc_00026763 [00:30:59]remove file /storage/0313/doc_00026763 [00:30:59]file doc_00026764 [00:30:59]remove file /storage/0313/doc_00026764 [00:30:59]file doc_00026765 [00:30:59]remove file /storage/0313/doc_00026765 [00:30:59]file doc_00026766 [00:30:59]remove file /storage/0313/doc_00026766 [00:30:59]file doc_00026767 [00:30:59]remove file /storage/0313/doc_00026767 [00:30:59]file doc_00026768 [00:30:59]remove file /storage/0313/doc_00026768 [00:30:59]file doc_00026769 [00:30:59]remove file /storage/0313/doc_00026769 [00:30:59]file doc_00026770 [00:30:59]remove file /storage/0313/doc_00026770 [00:30:59]file doc_00026771 [00:30:59]remove file /storage/0313/doc_00026771 [00:30:59]file doc_00026772 [00:30:59]remove file /storage/0313/doc_00026772 [00:30:59]file doc_00026773 [00:30:59]remove file /storage/0313/doc_00026773 [00:30:59]file doc_00026774 [00:30:59]remove file /storage/0313/doc_00026774 [00:30:59]file doc_00026775 [00:30:59]remove file /storage/0313/doc_00026775 [00:30:59]file doc_00026776 [00:30:59]remove file /storage/0313/doc_00026776 [00:30:59]file doc_00026777 [00:30:59]remove file /storage/0313/doc_00026777 [00:30:59]file doc_00026778 [00:30:59]remove file /storage/0313/doc_00026778 [00:30:59]file doc_00026779 [00:30:59]remove file /storage/0313/doc_00026779 [00:30:59]file doc_00026780 [00:30:59]remove file /storage/0313/doc_00026780 [00:30:59]file doc_00026781 [00:30:59]remove file /storage/0313/doc_00026781 [00:30:59]file doc_00026782 [00:30:59]remove file /storage/0313/doc_00026782 [00:30:59]file doc_00026783 [00:30:59]remove file /storage/0313/doc_00026783 [00:30:59]file doc_00026784 [00:30:59]remove file /storage/0313/doc_00026784 [00:30:59]file doc_00026785 [00:30:59]remove file /storage/0313/doc_00026785 [00:30:59]file doc_00026786 [00:30:59]remove file /storage/0313/doc_00026786 [00:30:59]remove dir /storage/0313 [00:30:59]ProcessDocumentItem done err = 0, tmpTLVsize=248 [00:30:59]tlvbuf is 00E87F90 [00:30:59]SAM_PROTO_ClearQueue [00:30:59]wFMCommunicate request_size=4 [00:30:59]MH_SAM_APDU [00:30:59]CAPDU: 80 09 00 00 [00:30:59]Write to MH i2c: E2 08 00 05 33 80 09 00 00 00 00 00 00 AA [00:30:59]Write i2c OK [00:30:59]MH_I2C_Read... [00:30:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:30:59]Read from MH i2c: E2 [00:30:59]MH_I2C_Read... [00:30:59]Read from MH i2c: E2 03 00 [00:30:59]MH_I2C_Read... [00:30:59]Read from MH i2c: E2 03 00 05 33 00 90 00 AC [00:30:59]RAPDU: 90 00 [00:30:59]wFMCommunicate OK [00:30:59]SAM_PROTO_ClearQueue done [00:30:59]KKMCreateOFDPacket [00:30:59]OFDProtocolAddRootSTLVToBuf [00:30:59]FM_MakeSignedData [00:30:59]FM_MakeSignedData [00:30:59]SAM_PROTO_SignData [00:30:59]wFMCommunicate request_size=4 [00:30:59]MH_SAM_APDU [00:30:59]CAPDU: 80 0D 01 02 [00:30:59]Write to MH i2c: E2 08 00 06 33 80 0D 01 02 00 00 00 00 B2 [00:30:59]Write i2c OK [00:30:59]MH_I2C_Read... [00:30:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:30:59]Read from MH i2c: E2 [00:30:59]MH_I2C_Read... [00:30:59]Read from MH i2c: E2 03 00 [00:30:59]MH_I2C_Read... [00:30:59]Read from MH i2c: E2 03 00 06 33 00 90 00 AD [00:30:59]RAPDU: 90 00 [00:30:59]wFMCommunicate OK [00:30:59]wFMCommunicate request_size=255 [00:30:59]MH_SAM_APDU [00:30:59]CAPDU: 80 0D 02 02 FA 02 00 F8 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 14 00 D0 AD D0 B4 D0 B8 D0 BB D0 B1 D0 B0 D0 B5 D0 B2 20 D0 9A 2E F1 03 4D 00 37 32 30 30 30 31 20 D1 81 2E 20 D0 98 D0 B2 D0 B0 D0 BD D0 BE D0 B2 D0 BA D0 B0 2C 20 D1 83 D0 BB 2E 20 D0 93 2E 20 D0 98 D0 BB D1 8C D0 B8 D0 BD D0 B0 20 34 2F 31 2C 20 34 32 2E 38 39 34 30 39 33 2C 20 37 35 2E 30 34 30 36 37 38 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 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 CE 3A 13 66 0E 04 04 00 3A 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A3 68 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 35 04 06 00 16 B2 C4 53 [00:30:59]Write to MH i2c: E2 02 01 07 33 80 0D 02 02 FA 00 02 00 F8 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 14 00 D0 AD D0 B4 D0 B8 D0 BB D0 B1 D0 B0 D0 B5 D0 B2 20 D0 9A 2E F1 03 4D 00 37 32 30 30 30 31 20 D1 81 2E 20 D0 98 D0 B2 D0 B0 D0 BD D0 BE D0 B2 D0 BA D0 B0 2C 20 D1 83 D0 BB 2E 20 D0 93 2E 20 D0 98 D0 BB D1 8C D0 B8 D0 BD D0 B0 20 34 2F 31 2C 20 34 32 2E 38 39 34 30 39 33 2C 20 37 35 2E 30 34 30 36 37 38 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 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 CE 3A 13 66 0E 04 04 00 3A 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A3 68 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 35 04 06 00 16 B2 C4 53 00 00 3C [00:30:59]Write i2c OK [00:30:59]MH_I2C_Read... [00:31:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:31:00]Read from MH i2c: E2 [00:31:00]MH_I2C_Read... [00:31:00]Read from MH i2c: E2 03 00 [00:31:00]MH_I2C_Read... [00:31:00]Read from MH i2c: E2 03 00 07 33 00 90 00 AE [00:31:00]RAPDU: 90 00 [00:31:00]wFMCommunicate OK [00:31:00]wFMCommunicate request_size=7 [00:31:00]MH_SAM_APDU [00:31:00]CAPDU: 80 0D 02 02 02 B3 E1 [00:31:00]Write to MH i2c: E2 0A 00 08 33 80 0D 02 02 02 00 B3 E1 00 00 4D [00:31:00]Write i2c OK [00:31:00]MH_I2C_Read... [00:31:00]Read from MH i2c: E2 [00:31:00]MH_I2C_Read... [00:31:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:31:00]Read from MH i2c: E2 03 00 [00:31:00]MH_I2C_Read... [00:31:00]Read from MH i2c: E2 03 00 08 33 00 90 00 AF [00:31:00]RAPDU: 90 00 [00:31:00]wFMCommunicate OK [00:31:00]wFMCommunicate request_size=4 [00:31:00]MH_SAM_APDU [00:31:00]CAPDU: 80 0D 03 02 [00:31:00]Write to MH i2c: E2 08 00 09 33 80 0D 03 02 00 00 00 00 B7 [00:31:00]Write i2c OK [00:31:00]MH_I2C_Read... [00:31:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:31:00]Read from MH i2c: E2 [00:31:00]MH_I2C_Read... [00:31:00]Read from MH i2c: E2 0B 00 [00:31:00]MH_I2C_Read... [00:31:00]Read from MH i2c: E2 0B 00 09 33 00 99 E2 AD BF 7A 52 CA 88 90 00 BD [00:31:00]RAPDU: 99 E2 AD BF 7A 52 CA 88 90 00 [00:31:00]wFMCommunicate OK [00:31:00]SAM_PROTO_SignData done [00:31:00]FM_MakeSignedData done [00:31:00]CreateOFDProtocolMessage [00:31:00]wFMCommunicate request_size=4 [00:31:00]MH_SAM_APDU [00:31:00]CAPDU: 80 11 00 00 [00:31:00]Write to MH i2c: E2 08 00 0A 33 80 11 00 00 00 00 00 00 B7 [00:31:00]Write i2c OK [00:31:00]MH_I2C_Read... [00:31:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:31:00]Read from MH i2c: E2 [00:31:00]MH_I2C_Read... [00:31:00]Read from MH i2c: E2 17 00 [00:31:00]MH_I2C_Read... [00:31:00]Read from MH i2c: E2 17 00 0A 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 0F [00:31:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [00:31:00]wFMCommunicate OK [00:31:00]CreateOFDProtocolMessage done [00:31:00]OFDSenderStorePacket 26787 [00:31:00]StoreOFDPacket docnum=26787 [00:31:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0C 01 00 00 5D 02 04 01 08 39 5A 02 01 00 02 00 F8 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 14 00 D0 AD D0 B4 D0 B8 D0 BB D0 B1 D0 B0 D0 B5 D0 B2 20 D0 9A 2E F1 03 4D 00 37 32 30 30 30 31 20 D1 81 2E 20 D0 98 D0 B2 D0 B0 D0 BD D0 BE D0 B2 D0 BA D0 B0 2C 20 D1 83 D0 BB 2E 20 D0 93 2E 20 D0 98 D0 BB D1 8C D0 B8 D0 BD D0 B0 20 34 2F 31 2C 20 34 32 2E 38 39 34 30 39 33 2C 20 37 35 2E 30 34 30 36 37 38 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 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 CE 3A 13 66 0E 04 04 00 3A 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A3 68 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 35 04 06 00 16 B2 C4 53 B3 E1 99 E2 AD BF 7A 52 CA 88 [00:31:00]CheckFolder [00:31:00]dirname=/storage/ofd_packets [00:31:00]CheckFolder done [00:31:00]ProducePacketName [00:31:00]name=ofd_packets/00026787 [00:31:00]NVStorageSaveData ofd_packets/00026787 [00:31:00]File name is /storage/ofd_packets/00026787 [00:31:00]Write 298 bytes [00:31:00]NVStorageSaveData done [00:31:00]OFDSenderStorePacket done [00:31:00]KKMCreateOFDPacket done [00:31:00]NVStorageSaveData kkm_last_timestamp [00:31:00]File name is /storage/kkm_last_timestamp [00:31:00]Write 4 bytes [00:31:00]NVStorageSaveData done [00:31:00]ExternCall_PrintAddStr [00:31:00]wPrintStart [00:31:00]Write to MH i2c: 01 00 00 0B 33 3E [00:31:00]Write i2c OK [00:31:00]MH_I2C_Read... [00:31:00]Read from MH i2c: 01 [00:31:00]MH_I2C_Read... [00:31:00]Read from MH i2c: 01 07 00 [00:31:00]MH_I2C_Read... [00:31:00]Read from MH i2c: 01 07 00 0B 33 00 00 00 00 00 FF 0F 53 [00:31:00]RasterBufferAndPrint [00:31:00]line Отчет об открытии смены [00:31:00]line ФФД: 1.0 [00:31:00]line ИНН: 02508201610067 [00:31:00]line Кассир: Эдилбаев К. [00:31:00]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [00:31:00]line Место: АЗС № 122 "Партнер Нефть" [00:31:00]line 08.04.2024 00:31 [00:31:00]line Смена: 314 [00:31:00]line РНМ: 0000000000091578 [00:31:00]line ЗНМ: 0300000147 [00:31:00]line ФД: 26787 [00:31:00]line ФМ: 0000000000874657 [00:31:00]line ФПД: 24957053809633 [00:31:00]OFD Sender: Processing packet 26787 [packets to send 44, broken 43] [00:31:00]ProducePacketName [00:31:00]name=ofd_packets/00026787 [00:31:00]OFD Sender: To server: pG, [00:31:00]CommunicateWithHost lk.salyk.kg:30040 [00:31:00]ConnectInit lk.salyk.kg [00:31:00]written 0, free lines is 4095 [00:31:00]Connected sock=10 [00:31: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 36 35 37 0C 01 00 00 5D 02 04 01 08 39 5A 02 01 00 02 00 F8 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 14 00 D0 AD D0 B4 D0 B8 D0 BB D0 B1 D0 B0 D0 B5 D0 B2 20 D0 9A 2E F1 03 4D 00 37 32 30 30 30 31 20 D1 81 2E 20 D0 98 D0 B2 D0 B0 D0 BD D0 BE D0 B2 D0 BA D0 B0 2C 20 D1 83 D0 BB 2E 20 D0 93 2E 20 D0 98 D0 BB D1 8C D0 B8 D0 BD D0 B0 20 34 2F 31 2C 20 34 32 2E 38 39 34 30 39 33 2C 20 37 35 2E 30 34 30 36 37 38 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 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 CE 3A 13 66 0E 04 04 00 3A 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A3 68 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 35 04 06 00 16 B2 C4 53 B3 E1 99 E2 AD BF 7A 52 CA 88 [00:31:00]Write to MH i2c: 01 00 00 1D 33 50 [00:31:00]Write i2c OK [00:31:00]MH_I2C_Read... [00:31:00]Read from MH i2c: 01 [00:31:00]MH_I2C_Read... [00:31:00]Read from MH i2c: 01 07 00 [00:31:00]MH_I2C_Read... [00:31:00]Read from MH i2c: 01 07 00 1D 33 00 00 00 00 00 5D 0E C2 [00:31:00]RasterBufferAndPrint [00:31:00]line [00:31:00]line [00:31:00]line [00:31:00]line [00:31:00]line [00:31:00]written 0, free lines is 3687 [00:31:00]MH_Cut [00:31:00]Write to MH i2c: D1 01 00 24 33 01 29 [00:31:00]Write i2c OK [00:31:00]MH_I2C_Read... [00:31:00]Read from MH i2c: D1 [00:31:00]MH_I2C_Read... [00:31:00]Read from MH i2c: D1 01 00 [00:31:00]MH_I2C_Read... [00:31:00]Read from MH i2c: D1 01 00 24 33 00 28 [00:31:00]Write to MH i2c: 01 00 00 25 33 58 [00:31:00]Write i2c OK [00:31:00]MH_I2C_Read... [00:31:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 7D 77 47 00 8C 76 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 37 10 04 04 00 A3 68 00 00 F4 03 04 00 39 E2 12 66 B6 04 01 00 00 AA 3A 89 01 51 5F AD 5D [00:31:00]CommunicateWithHost err = 0 [00:31:00]CheckOFDResponse [00:31:00]1017 (14) - 77093643461234 [00:31:00]1041 (16) - 0000000000874657 [00:31:00]1040 (4) - 26787 [00:31:00]1012 (4) - 07.04.2024 18:13 [00:31:00]1206 (1) - 0 [00:31:00]OFD Sender: Remove packet 26787 [00:31:00]ProducePacketName [00:31:00]name=ofd_packets/00026787 [00:31:00]NVStorageDeleteData [00:31:01]*** Cut start [00:31:01]*** Partial cut [00:31:01]*** CUTSNS_PIN = 1 [00:31:01]OFD Sender: No OFD packet to send [00:31:01]*** CUTSNS_PIN = 0 [00:31:01]*** Brake cut motor [00:31:01]Read from MH i2c: 01 [00:31:01]MH_I2C_Read... [00:31:01]*** Stop cut motor [00:31:01]*** Cut end [00:31:01]Read from MH i2c: 01 07 00 [00:31:01]MH_I2C_Read... [00:31:01]Read from MH i2c: 01 07 00 25 33 00 00 00 00 00 FF 0F 6D [00:31:01]process_action open_shift done [00:31:01]requested_data is exist [00:31:01]produce_requested_data [00:31:01]requested_item fd.num is exist - process it [00:31:01]SAM_PROTO_GetFieldsCounters [00:31:01]wFMCommunicate request_size=4 [00:31:01]MH_SAM_APDU [00:31:01]CAPDU: 80 13 00 00 [00:31:01]Write to MH i2c: E2 08 00 26 33 80 13 00 00 00 00 00 00 D5 [00:31:01]Write i2c OK [00:31:01]MH_I2C_Read... [00:31:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:31:02]Read from MH i2c: E2 [00:31:02]MH_I2C_Read... [00:31:02]Read from MH i2c: E2 62 00 [00:31:02]MH_I2C_Read... [00:31:02]Read from MH i2c: E2 62 00 26 33 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A3 68 00 00 0E 04 04 00 3A 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 46 [00:31: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A3 68 00 00 0E 04 04 00 3A 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:31:02]wFMCommunicate OK [00:31:02]SAM_PROTO_GetFieldsCounters done [00:31:02]requested_item shift.num is exist - process it [00:31:02]requested_item shift.opened is exist - process it [00:31:02]req_shift_opened [00:31:02]FM_GetShiftState [00:31:02]SAM_PROTO_GetShiftState [00:31:02]wFMCommunicate request_size=4 [00:31:02]MH_SAM_APDU [00:31:02]CAPDU: 80 13 01 00 [00:31:02]Write to MH i2c: E2 08 00 27 33 80 13 01 00 00 00 00 00 D7 [00:31:02]Write i2c OK [00:31:02]MH_I2C_Read... [00:31:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:31:02]Read from MH i2c: E2 [00:31:02]MH_I2C_Read... [00:31:02]Read from MH i2c: E2 0E 00 [00:31:02]MH_I2C_Read... [00:31:02]Read from MH i2c: E2 0E 00 27 33 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 64 [00:31:02]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [00:31:02]wFMCommunicate OK [00:31:02]SAM_PROTO_GetShiftState done [00:31:02]FM_GetShiftState done [00:31:02]req_shift_opened done [00:31:02]requested_item shift.open_date is exist - process it [00:31:02]req_shift_open_date [00:31:02]req_shift_open_date done [00:31:02]produce_requested_data done [00:31:02]produce_requested_data return {"fd.num":26787,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [00:31:02]process_action_free open_shift [00:31:02]json_value_free [00:31:02]json_value_free done [00:31:02]process_json_proto returns [00:31:02]Send response to host [00:31:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":26787,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [00:31:02]free response buf [00:31:02]execute_script done [00:31:02]execute_script returns [00:31:02]free content buf [00:31:02]Sock 8.Close socket [00:31:02]Sock 8.Thread stoped [00:31:02]accept exits with 9 [00:31:02]New connection [00:31:02]New thread 3066871140 created [00:31:02]Thread 3067014500 joined [00:31:02]Waiting for new connection... [00:31:02] Sock 9.Parse request [00:31:02]Sock 9.Check first char [00:31:02]Sock 9.First char is OK [00:31:02]request: POST /json_proto HTTP/1.0 [00:31:02]Method: POST [00:31:02]URL: /json_proto [00:31:02]Method is POST - this is cgi request [00:31:02]url: /json_proto [00:31:02]query_string will be loaded in cgi processing [00:31:02]execute_cgi json_proto POST (null) [00:31:02]execute_cgi path=json_proto method=POST [00:31:02]POST find Content-Length [00:31:02]Host: 172.17.35.3:8080 [00:31:02]Content-Length: 331 [00:31:02]Content-Type: application/json [00:31:02] [00:31:02]POST finish read [00:31:02]Found Content-Length = 331 [00:31:02]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:02]execute_script... [00:31:02]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:02]POST & json_proto [00:31:02]process_json_proto [00:31:02]json parsed OK: [00:31:02]protocol is kg_v1.0 [00:31:02]action value=get_value [00:31:02]process_action get_value [00:31:02]cmd_get_value [00:31:02]process_action get_value done [00:31:02]requested_data is exist [00:31:02]produce_requested_data [00:31:02]requested_item fm.sale.total is exist - process it [00:31:02]SAM_PROTO_GetFMData [00:31:02]wFMCommunicate request_size=4 [00:31:02]MH_SAM_APDU [00:31:02]CAPDU: 80 13 03 00 [00:31:02]Write to MH i2c: E2 08 00 28 33 80 13 03 00 00 00 00 00 DA [00:31:02]Write i2c OK [00:31:02]MH_I2C_Read... [00:31:02]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:31:02]Read from MH i2c: E2 [00:31:02]MH_I2C_Read... [00:31:02]Read from MH i2c: E2 FD 00 [00:31:02]MH_I2C_Read... [00:31:02]Read from MH i2c: E2 FD 00 28 33 00 C0 04 85 04 BC 04 6E 04 04 00 2F 66 00 00 69 04 A1 00 6F 04 04 00 ED 65 00 00 B1 04 04 00 94 95 49 9B 70 04 04 00 E8 FD 8A 7F 72 04 04 00 AC 97 BE 1B 00 04 7D 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 61 A1 7E 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 54 DC 5F 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 99 00 6F 04 04 00 42 00 00 00 B1 04 03 00 A4 6D BB 70 04 03 00 A4 6D BB 72 04 00 00 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 0B E8 13 EF 03 09 00 F6 03 01 00 90 00 E0 [00:31:02]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 2F 66 00 00 69 04 A1 00 6F 04 04 00 ED 65 00 00 B1 04 04 00 94 95 49 9B 70 04 04 00 E8 FD 8A 7F 72 04 04 00 AC 97 BE 1B 00 04 7D 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 61 A1 7E 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 54 DC 5F 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 99 00 6F 04 04 00 42 00 00 00 B1 04 03 00 A4 6D BB 70 04 03 00 A4 6D BB 72 04 00 00 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 0B E8 13 EF 03 09 00 F6 03 01 00 90 00 [00:31:02]wFMCommunicate OK [00:31:02]wFMCommunicate request_size=4 [00:31:02]MH_SAM_APDU [00:31:02]CAPDU: 80 17 00 00 [00:31:02]Write to MH i2c: E2 08 00 29 33 80 17 00 00 00 00 00 00 DC [00:31:02]Write i2c OK [00:31:02]MH_I2C_Read... [00:31:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:31:03]Read from MH i2c: E2 [00:31:03]MH_I2C_Read... [00:31:03]Read from MH i2c: E2 FD 00 [00:31:03]MH_I2C_Read... [00:31:03]Read from MH i2c: E2 FD 00 29 33 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 A7 A8 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 90 00 5C [00:31:03]RAPDU: 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 A7 A8 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 90 00 [00:31:03]wFMCommunicate OK [00:31:03]wFMCommunicate request_size=4 [00:31:03]MH_SAM_APDU [00:31:03]CAPDU: 80 17 00 00 [00:31:03]Write to MH i2c: E2 08 00 2A 33 80 17 00 00 00 00 00 00 DD [00:31:03]Write i2c OK [00:31:03]MH_I2C_Read... [00:31:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:31:03]Read from MH i2c: E2 [00:31:03]MH_I2C_Read... [00:31:03]Read from MH i2c: E2 FD 00 [00:31:03]MH_I2C_Read... [00:31:03]Read from MH i2c: E2 FD 00 2A 33 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 80 [00:31:03]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:31:03]wFMCommunicate OK [00:31:03]wFMCommunicate request_size=4 [00:31:03]MH_SAM_APDU [00:31:03]CAPDU: 80 17 00 00 [00:31:03]Write to MH i2c: E2 08 00 2B 33 80 17 00 00 00 00 00 00 DE [00:31:03]Write i2c OK [00:31:03]MH_I2C_Read... [00:31:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:31:04]Read from MH i2c: E2 [00:31:04]MH_I2C_Read... [00:31:04]Read from MH i2c: E2 FD 00 [00:31:04]MH_I2C_Read... [00:31:04]Read from MH i2c: E2 FD 00 2B 33 00 01 00 04 F7 03 00 00 EF 03 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 90 00 56 [00:31:04]RAPDU: 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:31:04]wFMCommunicate OK [00:31:04]wFMCommunicate request_size=4 [00:31:04]MH_SAM_APDU [00:31:04]CAPDU: 80 17 00 00 [00:31:04]Write to MH i2c: E2 08 00 2C 33 80 17 00 00 00 00 00 00 DF [00:31:04]Write i2c OK [00:31:04]MH_I2C_Read... [00:31:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:31:04]Read from MH i2c: E2 [00:31:04]MH_I2C_Read... [00:31:04]Read from MH i2c: E2 DD 00 [00:31:04]MH_I2C_Read... [00:31:04]Read from MH i2c: E2 DD 00 2C 33 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 C7 [00:31:04]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:04]wFMCommunicate OK [00:31:04]SAM_PROTO_GetFMData done [00:31:04]requested_item fm.sale_refund.total is exist - process it [00:31:04]requested_item fm.buy.total is exist - process it [00:31:04]requested_item shift.sale.total is exist - process it [00:31:04]SAM_PROTO_GetShiftData [00:31:04]wFMCommunicate request_size=4 [00:31:04]MH_SAM_APDU [00:31:04]CAPDU: 80 13 02 00 [00:31:04]Write to MH i2c: E2 08 00 2D 33 80 13 02 00 00 00 00 00 DE [00:31:04]Write i2c OK [00:31:04]MH_I2C_Read... [00:31:05]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:31:05]Read from MH i2c: E2 [00:31:05]MH_I2C_Read... [00:31:05]Read from MH i2c: E2 FD 00 [00:31:05]MH_I2C_Read... [00:31:05]Read from MH i2c: E2 FD 00 2D 33 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 51 [00:31:05]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:31:05]wFMCommunicate OK [00:31:05]wFMCommunicate request_size=4 [00:31:05]MH_SAM_APDU [00:31:05]CAPDU: 80 17 00 00 [00:31:05]Write to MH i2c: E2 08 00 2E 33 80 17 00 00 00 00 00 00 E1 [00:31:05]Write i2c OK [00:31:05]MH_I2C_Read... [00:31:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:31:05]Read from MH i2c: E2 [00:31:05]MH_I2C_Read... [00:31:05]Read from MH i2c: E2 FD 00 [00:31:05]MH_I2C_Read... [00:31:05]Read from MH i2c: E2 FD 00 2E 33 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 E9 [00:31:05]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:31:05]wFMCommunicate OK [00:31:05]wFMCommunicate request_size=4 [00:31:05]MH_SAM_APDU [00:31:05]CAPDU: 80 17 00 00 [00:31:05]Write to MH i2c: E2 08 00 2F 33 80 17 00 00 00 00 00 00 E2 [00:31:05]Write i2c OK [00:31:05]MH_I2C_Read... [00:31:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:31:05]Read from MH i2c: E2 [00:31:05]MH_I2C_Read... [00:31:05]Read from MH i2c: E2 FD 00 [00:31:05]MH_I2C_Read... [00:31:06]Read from MH i2c: E2 FD 00 2F 33 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 B4 [00:31:06]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:31:06]wFMCommunicate OK [00:31:06]wFMCommunicate request_size=4 [00:31:06]MH_SAM_APDU [00:31:06]CAPDU: 80 17 00 00 [00:31:06]Write to MH i2c: E2 08 00 30 33 80 17 00 00 00 00 00 00 E3 [00:31:06]Write i2c OK [00:31:06]MH_I2C_Read... [00:31:06]OFD Sender: No OFD packet to send [00:31:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:31:06]Read from MH i2c: E2 [00:31:06]MH_I2C_Read... [00:31:06]Read from MH i2c: E2 FD 00 [00:31:06]MH_I2C_Read... [00:31:06]Read from MH i2c: E2 FD 00 30 33 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 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 55 [00:31:06]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:31:06]wFMCommunicate OK [00:31:06]wFMCommunicate request_size=4 [00:31:06]MH_SAM_APDU [00:31:06]CAPDU: 80 17 00 00 [00:31:06]Write to MH i2c: E2 08 00 31 33 80 17 00 00 00 00 00 00 E4 [00:31:06]Write i2c OK [00:31:06]MH_I2C_Read... [00:31:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:31:06]Read from MH i2c: E2 [00:31:06]MH_I2C_Read... [00:31:06]Read from MH i2c: E2 BD 00 [00:31:06]MH_I2C_Read... [00:31:06]Read from MH i2c: E2 BD 00 31 33 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 CA [00:31:06]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:31:07]wFMCommunicate OK [00:31:07]SAM_PROTO_GetShiftData done [00:31:07]requested_item shift.sale.total_cash is exist - process it [00:31:07]requested_item shift.sale_refund.total is exist - process it [00:31:07]requested_item shift.sale_refund.total_cash is exist - process it [00:31:07]requested_item shift.buy.total is exist - process it [00:31:07]requested_item shift.buy.total_cash is exist - process it [00:31:07]produce_requested_data done [00:31:07]produce_requested_data return {"fm.sale.total":26052909.00,"fm.sale_refund.total":122833.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:31:07]process_action_free get_value [00:31:07]json_value_free [00:31:07]json_value_free done [00:31:07]process_json_proto returns [00:31:07]Send response to host [00:31:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":26052909.00,"fm.sale_refund.total":122833.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:31:07]free response buf [00:31:07]execute_script done [00:31:07]execute_script returns [00:31:07]free content buf [00:31:07]Sock 9.Close socket [00:31:07]Sock 9.Thread stoped [00:31:11]OFD Sender: No OFD packet to send [00:31:16]OFD Sender: No OFD packet to send [00:31:21]OFD Sender: No OFD packet to send [00:31:26]OFD Sender: No OFD packet to send [00:31:31]OFD Sender: No OFD packet to send [00:31:36]OFD Sender: No OFD packet to send [00:31:41]OFD Sender: No OFD packet to send [00:31:46]OFD Sender: No OFD packet to send [00:31:51]OFD Sender: No OFD packet to send [00:31:56]OFD Sender: No OFD packet to send [00:32:01]OFD Sender: No OFD packet to send [00:32:06]OFD Sender: No OFD packet to send [00:32:11]OFD Sender: No OFD packet to send [00:32:16]OFD Sender: No OFD packet to send [00:32:21]OFD Sender: No OFD packet to send [00:32:26]OFD Sender: No OFD packet to send [00:32:31]OFD Sender: No OFD packet to send [00:32:36]OFD Sender: No OFD packet to send [00:32:41]OFD Sender: No OFD packet to send [00:32:46]OFD Sender: No OFD packet to send [00:32:51]OFD Sender: No OFD packet to send [00:32:56]OFD Sender: No OFD packet to send [00:33:01]OFD Sender: No OFD packet to send [00:33:06]OFD Sender: No OFD packet to send [00:33:11]OFD Sender: No OFD packet to send [00:33:16]OFD Sender: No OFD packet to send [00:33:21]OFD Sender: No OFD packet to send [00:33:26]OFD Sender: No OFD packet to send [00:33:31]OFD Sender: No OFD packet to send [00:33:36]OFD Sender: No OFD packet to send [00:33:41]OFD Sender: No OFD packet to send [00:33:46]OFD Sender: No OFD packet to send [00:33:51]OFD Sender: No OFD packet to send [00:33:56]OFD Sender: No OFD packet to send [00:33:59]accept exits with 8 [00:33:59]New connection [00:33:59]New thread 3067014500 created [00:33:59]Thread 3066871140 joined [00:33:59]Waiting for new connection... [00:33:59] Sock 8.Parse request [00:33:59]Sock 8.Check first char [00:33:59]Sock 8.First char is OK [00:33:59]request: POST /json_proto HTTP/1.0 [00:33:59]Method: POST [00:33:59]URL: /json_proto [00:33:59]Method is POST - this is cgi request [00:33:59]url: /json_proto [00:33:59]query_string will be loaded in cgi processing [00:33:59]execute_cgi json_proto POST (null) [00:33:59]execute_cgi path=json_proto method=POST [00:33:59]POST find Content-Length [00:33:59]Host: 172.17.35.3:8080 [00:33:59]Content-Length: 677 [00:33:59]Content-Type: application/json [00:33:59] [00:33:59]POST finish read [00:33:59]Found Content-Length = 677 [00:33:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359529", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 8.360, "sum" : 530.02, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 530.00, "total" : 530.00, "payments": [ { "type": 0, "sum" : 530.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:33:59]execute_script... [00:33: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 : (1)359529", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 8.360, "sum" : 530.02, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 530.00, "total" : 530.00, "payments": [ { "type": 0, "sum" : 530.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:33:59]POST & json_proto [00:33:59]process_json_proto [00:33:59]json parsed OK: [00:33:59]protocol is kg_v1.0 [00:33:59]action value=close_receipt [00:33:59]process_action close_receipt [00:33:59]cmd_close_receipt [00:33:59]MH_GetDate [00:33:59]Write to MH i2c: F0 00 00 32 33 54 [00:33:59]Write i2c OK [00:33:59]MH_I2C_Read... [00:33:59]Read from MH i2c: F0 [00:33:59]MH_I2C_Read... [00:33:59]Read from MH i2c: F0 09 00 [00:33:59]MH_I2C_Read... [00:33:59]Read from MH i2c: F0 09 00 32 33 00 83 3B 13 66 2B 11 66 64 9A [00:33:59]GetLastDocTimeStamp 1712536270 [00:33:59]current date 1712536451 [00:33:59]FM_GetShiftState [00:33:59]SAM_PROTO_GetShiftState [00:33:59]wFMCommunicate request_size=4 [00:33:59]MH_SAM_APDU [00:33:59]CAPDU: 80 13 01 00 [00:33:59]Write to MH i2c: E2 08 00 33 33 80 13 01 00 00 00 00 00 E3 [00:33:59]Write i2c OK [00:33:59]MH_I2C_Read... [00:33:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:33:59]Read from MH i2c: E2 [00:33:59]MH_I2C_Read... [00:33:59]Read from MH i2c: E2 0E 00 [00:33:59]MH_I2C_Read... [00:33:59]Read from MH i2c: E2 0E 00 33 33 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 70 [00:33:59]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [00:33:59]wFMCommunicate OK [00:33:59]SAM_PROTO_GetShiftState done [00:33:59]FM_GetShiftState done [00:33:59]opened in 1712536270 [00:33:59]opened+sec_in_day 1712622670 [00:33:59]quantity*price = 53002 [00:33:59]sum+1 = 53003 [00:33:59]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.02 ИТОГО: 530.00 Внесено: 530.00 СДАЧА: 0.00 НСП 1% : 4.69 НДС 12% : 56.28 Наличными: 530.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 1 08.04.2024 00:34 Смена: 314 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26788 ФПД: 144678417246915 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T003411&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26788&fm=144678417246915&tin=02508201610067®Number=0000000000091578&sum=53000 [00:34:01]StoreToDocumentArchive [00:34:01]shift 314 fd 26788 [00:34:01]save to /storage/0314/doc_00026788 [00:34:01]save last doc name /storage/0314/doc_00026788 to /storage/kkm_last_doc_name [00:34:01]save OK [00:34:01]Clear old archive folders... [00:34:01]ProcessDocumentItem done err = 0, tmpTLVsize=251 [00:34:01]tlvbuf is 00EF7220 [00:34:01]SAM_PROTO_ClearQueue [00:34:01]wFMCommunicate request_size=4 [00:34:01]MH_SAM_APDU [00:34:01]CAPDU: 80 09 00 00 [00:34:01]Write to MH i2c: E2 08 00 40 33 80 09 00 00 00 00 00 00 E5 [00:34:01]Write i2c OK [00:34:01]MH_I2C_Read... [00:34:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:34:01]Read from MH i2c: E2 [00:34:01]MH_I2C_Read... [00:34:01]Read from MH i2c: E2 03 00 [00:34:01]MH_I2C_Read... [00:34:01]Read from MH i2c: E2 03 00 40 33 00 90 00 E7 [00:34:01]RAPDU: 90 00 [00:34:01]wFMCommunicate OK [00:34:01]SAM_PROTO_ClearQueue done [00:34:01]KKMCreateOFDPacket [00:34:01]OFDProtocolAddRootSTLVToBuf [00:34:01]FM_MakeSignedData [00:34:01]FM_MakeSignedData [00:34:01]SAM_PROTO_SignData [00:34:01]wFMCommunicate request_size=4 [00:34:01]MH_SAM_APDU [00:34:01]CAPDU: 80 0D 01 02 [00:34:01]Write to MH i2c: E2 08 00 41 33 80 0D 01 02 00 00 00 00 ED [00:34:01]Write i2c OK [00:34:01]MH_I2C_Read... [00:34:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:34:01]Read from MH i2c: E2 [00:34:01]MH_I2C_Read... [00:34:01]Read from MH i2c: E2 03 00 [00:34:01]MH_I2C_Read... [00:34:01]Read from MH i2c: E2 03 00 41 33 00 90 00 E8 [00:34:01]RAPDU: 90 00 [00:34:01]wFMCommunicate OK [00:34:01]wFMCommunicate request_size=255 [00:34:01]MH_SAM_APDU [00:34: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 A8 20 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 0A CF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 CF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D5 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 15 00 00 00 00 07 04 06 00 08 CF 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 83 3B 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A4 68 00 00 35 04 06 00 83 [00:34:01]Write to MH i2c: E2 02 01 42 33 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 A8 20 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 0A CF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 CF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D5 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 15 00 00 00 00 07 04 06 00 08 CF 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 83 3B 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A4 68 00 00 35 04 06 00 83 00 00 15 [00:34:01]Write i2c OK [00:34:01]MH_I2C_Read... [00:34:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:34:01]OFD Sender: No OFD packet to send [00:34:01]Read from MH i2c: E2 [00:34:01]MH_I2C_Read... [00:34:01]Read from MH i2c: E2 03 00 [00:34:01]MH_I2C_Read... [00:34:01]Read from MH i2c: E2 03 00 42 33 00 90 00 E9 [00:34:01]RAPDU: 90 00 [00:34:01]wFMCommunicate OK [00:34:01]wFMCommunicate request_size=10 [00:34:01]MH_SAM_APDU [00:34:01]CAPDU: 80 0D 02 02 05 95 91 AA AA C3 [00:34:01]Write to MH i2c: E2 0D 00 43 33 80 0D 02 02 05 00 95 91 AA AA C3 00 00 37 [00:34:01]Write i2c OK [00:34:01]MH_I2C_Read... [00:34:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:34:01]Read from MH i2c: E2 [00:34:01]MH_I2C_Read... [00:34:01]Read from MH i2c: E2 03 00 [00:34:01]MH_I2C_Read... [00:34:01]Read from MH i2c: E2 03 00 43 33 00 90 00 EA [00:34:01]RAPDU: 90 00 [00:34:01]wFMCommunicate OK [00:34:01]wFMCommunicate request_size=4 [00:34:01]MH_SAM_APDU [00:34:01]CAPDU: 80 0D 03 02 [00:34:01]Write to MH i2c: E2 08 00 44 33 80 0D 03 02 00 00 00 00 F2 [00:34:01]Write i2c OK [00:34:01]MH_I2C_Read... [00:34:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:34:01]Read from MH i2c: E2 [00:34:01]MH_I2C_Read... [00:34:01]Read from MH i2c: E2 0B 00 [00:34:01]MH_I2C_Read... [00:34:01]Read from MH i2c: E2 0B 00 44 33 00 46 BD DB A1 3A 2F 71 C1 90 00 0D [00:34:01]RAPDU: 46 BD DB A1 3A 2F 71 C1 90 00 [00:34:01]wFMCommunicate OK [00:34:01]SAM_PROTO_SignData done [00:34:01]FM_MakeSignedData done [00:34:01]CreateOFDProtocolMessage [00:34:01]wFMCommunicate request_size=4 [00:34:01]MH_SAM_APDU [00:34:01]CAPDU: 80 11 00 00 [00:34:01]Write to MH i2c: E2 08 00 45 33 80 11 00 00 00 00 00 00 F2 [00:34:01]Write i2c OK [00:34:01]MH_I2C_Read... [00:34:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:34:01]Read from MH i2c: E2 [00:34:01]MH_I2C_Read... [00:34:01]Read from MH i2c: E2 17 00 [00:34:01]MH_I2C_Read... [00:34:01]Read from MH i2c: E2 17 00 45 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 4A [00:34:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [00:34:01]wFMCommunicate OK [00:34:01]CreateOFDProtocolMessage done [00:34:01]OFDSenderStorePacket 26788 [00:34:01]StoreOFDPacket docnum=26788 [00:34:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 D2 50 07 01 92 02 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 A8 20 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 0A CF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 CF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D5 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 15 00 00 00 00 07 04 06 00 08 CF 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 83 3B 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A4 68 00 00 35 04 06 00 83 95 91 AA AA C3 46 BD DB A1 3A 2F 71 C1 [00:34:01]CheckFolder [00:34:01]dirname=/storage/ofd_packets [00:34:01]CheckFolder done [00:34:01]ProducePacketName [00:34:01]name=ofd_packets/00026788 [00:34:01]NVStorageSaveData ofd_packets/00026788 [00:34:01]File name is /storage/ofd_packets/00026788 [00:34:01]Write 301 bytes [00:34:01]NVStorageSaveData done [00:34:01]OFDSenderStorePacket done [00:34:01]KKMCreateOFDPacket done [00:34:01]NVStorageSaveData kkm_last_timestamp [00:34:01]File name is /storage/kkm_last_timestamp [00:34:01]Write 4 bytes [00:34:01]NVStorageSaveData done [00:34:01]ExternCall_PrintAddStr [00:34:01]wPrintStart [00:34:01]Write to MH i2c: 01 00 00 46 33 79 [00:34:01]Write i2c OK [00:34:01]MH_I2C_Read... [00:34:01]Read from MH i2c: 01 [00:34:01]MH_I2C_Read... [00:34:01]Read from MH i2c: 01 07 00 [00:34:01]MH_I2C_Read... [00:34:01]Read from MH i2c: 01 07 00 46 33 00 00 00 00 00 FF 0F 8E [00:34:01]RasterBufferAndPrint [00:34:01]line Счет N : (1)359529 [00:34:01]line ИНН: 02508201610067 [00:34:01]line Контрольно-Кассовый Чек [00:34:01]line ПРОДАЖА [00:34:01]line ТРК (МРК, ГНК) : 51 [00:34:01]line Товар: 2710124130 [00:34:01]line Аи-92-К-5 [00:34:01]line 8.360 * 63.40 [00:34:01]line = 530.02 [00:34:01]line НДС 12% НСП 1% [00:34:01]line > о реализуемом товаре [00:34:01]line ОКРУГЛЕНИЕ: -0.02 [00:34:01]line ИТОГО: 530.00 [00:34:01]line Внесено: 530.00 [00:34:01]line СДАЧА: 0.00 [00:34:01]line НСП 1% : 4.69 [00:34:01]line НДС 12% : 56.28 [00:34:01]line Наличными: 530.00 [00:34:01]line Безнал.: 0.00 [00:34:01]line Место: АЗС № 122 "Партнер Нефть" [00:34:01]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [00:34:01]line СНО: Общий режим [00:34:01]line Чек 1 08.04.2024 00:34 [00:34:01]line Смена: 314 ФФД: 1.0 [00:34:01]line ЗНМ: 0300000147 [00:34:01]line РНМ: 0000000000091578 [00:34:01]line Версия ККМ: 001 [00:34:01]line ФМ: 0000000000874657 [00:34:01]line ФД: 26788 [00:34:01]line ФПД: 144678417246915 [00:34:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T003411&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26788&fm=144678417246915&tin=02508201610067®Number=0000000000091578&sum=53000 [00:34:01]OFD Sender: Processing packet 26788 [packets to send 44, broken 43] [00:34:01]ProducePacketName [00:34:01]name=ofd_packets/00026788 [00:34:01]OFD Sender: To server: pG, [00:34:01]CommunicateWithHost lk.salyk.kg:30040 [00:34:01]ConnectInit lk.salyk.kg [00:34:01]written 0, free lines is 4095 [00:34:02]Connected sock=10 [00:34: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 36 35 37 0F 01 00 00 D2 50 07 01 92 02 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 A8 20 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 0A CF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 CF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D5 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 15 00 00 00 00 07 04 06 00 08 CF 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 83 3B 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A4 68 00 00 35 04 06 00 83 95 91 AA AA C3 46 BD DB A1 3A 2F 71 C1 [00:34:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 6C DE 47 00 54 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 36 35 37 10 04 04 00 A4 68 00 00 F4 03 04 00 EF E2 12 66 B6 04 01 00 00 4A 38 85 1C A9 1D E1 F8 [00:34:02]CommunicateWithHost err = 0 [00:34:02]CheckOFDResponse [00:34:02]1017 (14) - 77093643461234 [00:34:02]1041 (16) - 0000000000874657 [00:34:02]1040 (4) - 26788 [00:34:02]1012 (4) - 07.04.2024 18:16 [00:34:02]1206 (1) - 0 [00:34:02]OFD Sender: Remove packet 26788 [00:34:02]ProducePacketName [00:34:02]name=ofd_packets/00026788 [00:34:02]NVStorageDeleteData [00:34:02]Write to MH i2c: 01 00 00 71 33 A4 [00:34:02]Write i2c OK [00:34:02]MH_I2C_Read... [00:34:02]Read from MH i2c: 01 [00:34:02]MH_I2C_Read... [00:34:02]Read from MH i2c: 01 07 00 [00:34:02]MH_I2C_Read... [00:34:02]Read from MH i2c: 01 07 00 71 33 00 00 00 00 00 6B 0C 22 [00:34:02]RasterBufferAndPrint [00:34:02]line [00:34:02]line [00:34:02]line [00:34:02]line [00:34:02]line [00:34:02]written 0, free lines is 3183 [00:34:02]MH_Cut [00:34:02]Write to MH i2c: D1 01 00 78 33 01 7D [00:34:02]Write i2c OK [00:34:02]MH_I2C_Read... [00:34:02]Read from MH i2c: D1 [00:34:02]MH_I2C_Read... [00:34:02]Read from MH i2c: D1 01 00 [00:34:02]MH_I2C_Read... [00:34:02]Read from MH i2c: D1 01 00 78 33 00 7C [00:34:02]Write to MH i2c: 01 00 00 79 33 AC [00:34:02]Write i2c OK [00:34:02]MH_I2C_Read... [00:34:02]OFD Sender: No OFD packet to send [00:34:03]*** Cut start [00:34:03]*** Partial cut [00:34:03]*** CUTSNS_PIN = 1 [00:34:03]*** CUTSNS_PIN = 0 [00:34:03]*** Brake cut motor [00:34:04]Read from MH i2c: 01 [00:34:04]MH_I2C_Read... [00:34:04]*** Stop cut motor [00:34:04]*** Cut end [00:34:04]Read from MH i2c: 01 07 00 [00:34:04]MH_I2C_Read... [00:34:04]Read from MH i2c: 01 07 00 79 33 00 00 00 00 00 FF 0F C1 [00:34:04]process_action close_receipt done [00:34:04]requested_data is exist [00:34:04]produce_requested_data [00:34:04]requested_item fm.sn is exist - process it [00:34:04]wFMCommunicate request_size=4 [00:34:04]MH_SAM_APDU [00:34:04]CAPDU: 80 11 00 00 [00:34:04]Write to MH i2c: E2 08 00 7A 33 80 11 00 00 00 00 00 00 27 [00:34:04]Write i2c OK [00:34:04]MH_I2C_Read... [00:34:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:34:04]Read from MH i2c: E2 [00:34:04]MH_I2C_Read... [00:34:04]Read from MH i2c: E2 17 00 [00:34:04]MH_I2C_Read... [00:34:04]Read from MH i2c: E2 17 00 7A 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 7F [00:34:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [00:34:04]wFMCommunicate OK [00:34:04]requested_item fd.num is exist - process it [00:34:04]SAM_PROTO_GetFieldsCounters [00:34:04]wFMCommunicate request_size=4 [00:34:04]MH_SAM_APDU [00:34:04]CAPDU: 80 13 00 00 [00:34:04]Write to MH i2c: E2 08 00 7B 33 80 13 00 00 00 00 00 00 2A [00:34:04]Write i2c OK [00:34:04]MH_I2C_Read... [00:34:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:34:04]Read from MH i2c: E2 [00:34:04]MH_I2C_Read... [00:34:04]Read from MH i2c: E2 62 00 [00:34:04]MH_I2C_Read... [00:34:04]Read from MH i2c: E2 62 00 7B 33 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A4 68 00 00 0E 04 04 00 3A 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 9F [00:34: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A4 68 00 00 0E 04 04 00 3A 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:34:04]wFMCommunicate OK [00:34:04]SAM_PROTO_GetFieldsCounters done [00:34:04]requested_item shift.num is exist - process it [00:34:04]requested_item shift.opened is exist - process it [00:34:04]req_shift_opened [00:34:04]FM_GetShiftState [00:34:04]SAM_PROTO_GetShiftState [00:34:04]wFMCommunicate request_size=4 [00:34:04]MH_SAM_APDU [00:34:04]CAPDU: 80 13 01 00 [00:34:04]Write to MH i2c: E2 08 00 7C 33 80 13 01 00 00 00 00 00 2C [00:34:04]Write i2c OK [00:34:04]MH_I2C_Read... [00:34:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:34:04]Read from MH i2c: E2 [00:34:04]MH_I2C_Read... [00:34:04]Read from MH i2c: E2 0E 00 [00:34:04]MH_I2C_Read... [00:34:04]Read from MH i2c: E2 0E 00 7C 33 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 B9 [00:34:04]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [00:34:04]wFMCommunicate OK [00:34:04]SAM_PROTO_GetShiftState done [00:34:04]FM_GetShiftState done [00:34:04]req_shift_opened done [00:34:04]requested_item shift.open_date is exist - process it [00:34:04]req_shift_open_date [00:34:04]req_shift_open_date done [00:34:04]produce_requested_data done [00:34:04]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26788,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [00:34:04]process_action_free close_receipt [00:34:04]json_value_free [00:34:04]json_value_free done [00:34:04]process_json_proto returns [00:34:04]Send response to host [00:34:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26788,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [00:34:04]free response buf [00:34:04]execute_script done [00:34:04]execute_script returns [00:34:04]free content buf [00:34:04]Sock 8.Close socket [00:34:04]Sock 8.Thread stoped [00:34:07]OFD Sender: No OFD packet to send [00:34:12]OFD Sender: No OFD packet to send [00:34:17]OFD Sender: No OFD packet to send [00:34:22]OFD Sender: No OFD packet to send [00:34:27]OFD Sender: No OFD packet to send [00:34:32]OFD Sender: No OFD packet to send [00:34:37]OFD Sender: No OFD packet to send [00:34:42]OFD Sender: No OFD packet to send [00:34:47]OFD Sender: No OFD packet to send [00:34:52]OFD Sender: No OFD packet to send [00:34:57]OFD Sender: No OFD packet to send [00:35:02]OFD Sender: No OFD packet to send [00:35:07]OFD Sender: No OFD packet to send [00:35:12]OFD Sender: No OFD packet to send [00:35:17]OFD Sender: No OFD packet to send [00:35:22]OFD Sender: No OFD packet to send [00:35:27]OFD Sender: No OFD packet to send [00:35:32]OFD Sender: No OFD packet to send [00:35:37]OFD Sender: No OFD packet to send [00:35:42]OFD Sender: No OFD packet to send [00:35:47]OFD Sender: No OFD packet to send [00:35:52]OFD Sender: No OFD packet to send [00:35:57]OFD Sender: No OFD packet to send [00:36:02]OFD Sender: No OFD packet to send [00:36:07]OFD Sender: No OFD packet to send [00:36:12]OFD Sender: No OFD packet to send [00:36:17]OFD Sender: No OFD packet to send [00:36:22]OFD Sender: No OFD packet to send [00:36:27]OFD Sender: No OFD packet to send [00:36:32]OFD Sender: No OFD packet to send [00:36:37]OFD Sender: No OFD packet to send [00:36:42]OFD Sender: No OFD packet to send [00:36:47]OFD Sender: No OFD packet to send [00:36:52]OFD Sender: No OFD packet to send [00:36:57]OFD Sender: No OFD packet to send [00:37:02]OFD Sender: No OFD packet to send [00:37:07]OFD Sender: No OFD packet to send [00:37:12]OFD Sender: No OFD packet to send [00:37:17]OFD Sender: No OFD packet to send [00:37:22]OFD Sender: No OFD packet to send [00:37:27]OFD Sender: No OFD packet to send [00:37:32]OFD Sender: No OFD packet to send [00:37:37]OFD Sender: No OFD packet to send [00:37:42]OFD Sender: No OFD packet to send [00:37:47]OFD Sender: No OFD packet to send [00:37:52]OFD Sender: No OFD packet to send [00:37:57]OFD Sender: No OFD packet to send [00:38:02]OFD Sender: No OFD packet to send [00:38:07]OFD Sender: No OFD packet to send [00:38:12]OFD Sender: No OFD packet to send [00:38:17]OFD Sender: No OFD packet to send [00:38:22]OFD Sender: No OFD packet to send [00:38:27]OFD Sender: No OFD packet to send [00:38:32]OFD Sender: No OFD packet to send [00:38:37]OFD Sender: No OFD packet to send [00:38:42]OFD Sender: No OFD packet to send [00:38:47]OFD Sender: No OFD packet to send [00:38:52]OFD Sender: No OFD packet to send [00:38:58]OFD Sender: No OFD packet to send [00:39:03]OFD Sender: No OFD packet to send [00:39:08]OFD Sender: No OFD packet to send [00:39:13]OFD Sender: No OFD packet to send [00:39:18]OFD Sender: No OFD packet to send [00:39:23]OFD Sender: No OFD packet to send [00:39:28]OFD Sender: No OFD packet to send [00:39:33]OFD Sender: No OFD packet to send [00:39:38]OFD Sender: No OFD packet to send [00:39:43]OFD Sender: No OFD packet to send [00:39:48]OFD Sender: No OFD packet to send [00:39:53]OFD Sender: No OFD packet to send [00:39:58]OFD Sender: No OFD packet to send [00:40:03]OFD Sender: No OFD packet to send [00:40:08]OFD Sender: No OFD packet to send [00:40:13]OFD Sender: No OFD packet to send [00:40:18]OFD Sender: No OFD packet to send [00:40:23]OFD Sender: No OFD packet to send [00:40:28]OFD Sender: No OFD packet to send [00:40:33]OFD Sender: No OFD packet to send [00:40:38]OFD Sender: No OFD packet to send [00:40:43]OFD Sender: No OFD packet to send [00:40:48]OFD Sender: No OFD packet to send [00:40:53]OFD Sender: No OFD packet to send [00:40:58]OFD Sender: No OFD packet to send [00:41:03]OFD Sender: No OFD packet to send [00:41:08]OFD Sender: No OFD packet to send [00:41:13]OFD Sender: No OFD packet to send [00:41:18]OFD Sender: No OFD packet to send [00:41:23]OFD Sender: No OFD packet to send [00:41:28]OFD Sender: No OFD packet to send [00:41:33]OFD Sender: No OFD packet to send [00:41:38]OFD Sender: No OFD packet to send [00:41:43]OFD Sender: No OFD packet to send [00:41:48]OFD Sender: No OFD packet to send [00:41:53]OFD Sender: No OFD packet to send [00:41:58]OFD Sender: No OFD packet to send [00:42:03]OFD Sender: No OFD packet to send [00:42:08]OFD Sender: No OFD packet to send [00:42:13]OFD Sender: No OFD packet to send [00:42:18]OFD Sender: No OFD packet to send [00:42:23]OFD Sender: No OFD packet to send [00:42:28]OFD Sender: No OFD packet to send [00:42:33]OFD Sender: No OFD packet to send [00:42:38]OFD Sender: No OFD packet to send [00:42:43]OFD Sender: No OFD packet to send [00:42:48]OFD Sender: No OFD packet to send [00:42:53]OFD Sender: No OFD packet to send [00:42:58]OFD Sender: No OFD packet to send [00:43:03]OFD Sender: No OFD packet to send [00:43:08]OFD Sender: No OFD packet to send [00:43:13]OFD Sender: No OFD packet to send [00:43:18]OFD Sender: No OFD packet to send [00:43:23]OFD Sender: No OFD packet to send [00:43:28]OFD Sender: No OFD packet to send [00:43:33]OFD Sender: No OFD packet to send [00:43:38]OFD Sender: No OFD packet to send [00:43:43]OFD Sender: No OFD packet to send [00:43:48]OFD Sender: No OFD packet to send [00:43:53]OFD Sender: No OFD packet to send [00:43:58]OFD Sender: No OFD packet to send [00:44:03]OFD Sender: No OFD packet to send [00:44:08]OFD Sender: No OFD packet to send [00:44:13]OFD Sender: No OFD packet to send [00:44:18]OFD Sender: No OFD packet to send [00:44:23]OFD Sender: No OFD packet to send [00:44:28]OFD Sender: No OFD packet to send [00:44:33]OFD Sender: No OFD packet to send [00:44:38]OFD Sender: No OFD packet to send [00:44:43]OFD Sender: No OFD packet to send [00:44:48]OFD Sender: No OFD packet to send [00:44:53]OFD Sender: No OFD packet to send [00:44:58]OFD Sender: No OFD packet to send [00:45:03]OFD Sender: No OFD packet to send [00:45:08]OFD Sender: No OFD packet to send [00:45:13]OFD Sender: No OFD packet to send [00:45:18]OFD Sender: No OFD packet to send [00:45:23]OFD Sender: No OFD packet to send [00:45:28]OFD Sender: No OFD packet to send [00:45:33]OFD Sender: No OFD packet to send [00:45:38]OFD Sender: No OFD packet to send [00:45:43]OFD Sender: No OFD packet to send [00:45:48]OFD Sender: No OFD packet to send [00:45:53]OFD Sender: No OFD packet to send [00:45:58]OFD Sender: No OFD packet to send [00:46:03]OFD Sender: No OFD packet to send [00:46:08]OFD Sender: No OFD packet to send [00:46:13]OFD Sender: No OFD packet to send [00:46:18]OFD Sender: No OFD packet to send [00:46:23]OFD Sender: No OFD packet to send [00:46:28]OFD Sender: No OFD packet to send [00:46:33]OFD Sender: No OFD packet to send [00:46:38]OFD Sender: No OFD packet to send [00:46:43]OFD Sender: No OFD packet to send [00:46:48]OFD Sender: No OFD packet to send [00:46:53]OFD Sender: No OFD packet to send [00:46:58]OFD Sender: No OFD packet to send [00:47:03]OFD Sender: No OFD packet to send [00:47:08]OFD Sender: No OFD packet to send [00:47:13]OFD Sender: No OFD packet to send [00:47:18]OFD Sender: No OFD packet to send [00:47:23]OFD Sender: No OFD packet to send [00:47:28]OFD Sender: No OFD packet to send [00:47:33]OFD Sender: No OFD packet to send [00:47:38]OFD Sender: No OFD packet to send [00:47:43]OFD Sender: No OFD packet to send [00:47:48]OFD Sender: No OFD packet to send [00:47:53]OFD Sender: No OFD packet to send [00:47:58]OFD Sender: No OFD packet to send [00:48:03]OFD Sender: No OFD packet to send [00:48:08]OFD Sender: No OFD packet to send [00:48:13]OFD Sender: No OFD packet to send [00:48:18]OFD Sender: No OFD packet to send [00:48:23]OFD Sender: No OFD packet to send [00:48:28]OFD Sender: No OFD packet to send [00:48:33]OFD Sender: No OFD packet to send [00:48:38]OFD Sender: No OFD packet to send [00:48:43]OFD Sender: No OFD packet to send [00:48:48]OFD Sender: No OFD packet to send [00:48:53]OFD Sender: No OFD packet to send [00:48:58]OFD Sender: No OFD packet to send [00:49:03]OFD Sender: No OFD packet to send [00:49:08]OFD Sender: No OFD packet to send [00:49:13]OFD Sender: No OFD packet to send [00:49:18]OFD Sender: No OFD packet to send [00:49:23]OFD Sender: No OFD packet to send [00:49:28]OFD Sender: No OFD packet to send [00:49:33]OFD Sender: No OFD packet to send [00:49:38]OFD Sender: No OFD packet to send [00:49:43]OFD Sender: No OFD packet to send [00:49:48]OFD Sender: No OFD packet to send [00:49:53]OFD Sender: No OFD packet to send [00:49:58]OFD Sender: No OFD packet to send [00:50:03]OFD Sender: No OFD packet to send [00:50:08]OFD Sender: No OFD packet to send [00:50:13]OFD Sender: No OFD packet to send [00:50:18]OFD Sender: No OFD packet to send [00:50:23]OFD Sender: No OFD packet to send [00:50:28]OFD Sender: No OFD packet to send [00:50:33]OFD Sender: No OFD packet to send [00:50:38]OFD Sender: No OFD packet to send [00:50:43]OFD Sender: No OFD packet to send [00:50:48]OFD Sender: No OFD packet to send [00:50:53]OFD Sender: No OFD packet to send [00:50:58]OFD Sender: No OFD packet to send [00:51:03]OFD Sender: No OFD packet to send [00:51:08]OFD Sender: No OFD packet to send [00:51:13]OFD Sender: No OFD packet to send [00:51:18]OFD Sender: No OFD packet to send [00:51:23]OFD Sender: No OFD packet to send [00:51:28]OFD Sender: No OFD packet to send [00:51:33]OFD Sender: No OFD packet to send [00:51:38]OFD Sender: No OFD packet to send [00:51:43]OFD Sender: No OFD packet to send [00:51:48]OFD Sender: No OFD packet to send [00:51:53]OFD Sender: No OFD packet to send [00:51:58]OFD Sender: No OFD packet to send [00:52:03]OFD Sender: No OFD packet to send [00:52:08]OFD Sender: No OFD packet to send [00:52:13]OFD Sender: No OFD packet to send [00:52:18]OFD Sender: No OFD packet to send [00:52:23]OFD Sender: No OFD packet to send [00:52:28]OFD Sender: No OFD packet to send [00:52:33]OFD Sender: No OFD packet to send [00:52:38]OFD Sender: No OFD packet to send [00:52:43]OFD Sender: No OFD packet to send [00:52:48]OFD Sender: No OFD packet to send [00:52:49]accept exits with 9 [00:52:49]New connection [00:52:49]New thread 3066871140 created [00:52:49]Thread 3067014500 joined [00:52:49]Waiting for new connection... [00:52:49] Sock 9.Parse request [00:52:49]Sock 9.Check first char [00:52:49]Sock 9.First char is OK [00:52:49]request: POST /json_proto HTTP/1.0 [00:52:49]Method: POST [00:52:49]URL: /json_proto [00:52:49]Method is POST - this is cgi request [00:52:49]url: /json_proto [00:52:49]query_string will be loaded in cgi processing [00:52:49]execute_cgi json_proto POST (null) [00:52:49]execute_cgi path=json_proto method=POST [00:52:49]POST find Content-Length [00:52:49]Host: 172.17.35.3:8080 [00:52:49]Content-Length: 687 [00:52:49]Content-Type: application/json [00:52:49] [00:52:49]POST finish read [00:52:49]Found Content-Length = 687 [00:52:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359530", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "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" ] } } [00:52:49]execute_script... [00:52: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 : (1)359530", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "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" ] } } [00:52:49]POST & json_proto [00:52:49]process_json_proto [00:52:49]json parsed OK: [00:52:49]protocol is kg_v1.0 [00:52:49]action value=close_receipt [00:52:49]process_action close_receipt [00:52:49]cmd_close_receipt [00:52:49]MH_GetDate [00:52:49]Write to MH i2c: F0 00 00 7D 33 9F [00:52:49]Write i2c OK [00:52:49]MH_I2C_Read... [00:52:49]Read from MH i2c: F0 [00:52:49]MH_I2C_Read... [00:52:49]Read from MH i2c: F0 09 00 [00:52:49]MH_I2C_Read... [00:52:49]Read from MH i2c: F0 09 00 7D 33 00 ED 3F 13 66 2B 11 66 64 53 [00:52:49]GetLastDocTimeStamp 1712536451 [00:52:49]current date 1712537581 [00:52:49]FM_GetShiftState [00:52:49]SAM_PROTO_GetShiftState [00:52:49]wFMCommunicate request_size=4 [00:52:49]MH_SAM_APDU [00:52:49]CAPDU: 80 13 01 00 [00:52:49]Write to MH i2c: E2 08 00 7E 33 80 13 01 00 00 00 00 00 2E [00:52:49]Write i2c OK [00:52:49]MH_I2C_Read... [00:52:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:52:49]Read from MH i2c: E2 [00:52:49]MH_I2C_Read... [00:52:49]Read from MH i2c: E2 0E 00 [00:52:49]MH_I2C_Read... [00:52:49]Read from MH i2c: E2 0E 00 7E 33 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 BB [00:52:49]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [00:52:49]wFMCommunicate OK [00:52:49]SAM_PROTO_GetShiftState done [00:52:49]FM_GetShiftState done [00:52:49]opened in 1712536270 [00:52:49]opened+sec_in_day 1712622670 [00:52:49]quantity*price = 100017 [00:52:49]sum+1 = 100018 [00:52:49]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.17 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.21 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 2 08.04.2024 00:53 Смена: 314 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26789 ФПД: 250792817294601 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T005301&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26789&fm=250792817294601&tin=02508201610067®Number=0000000000091578&sum=100000 [00:52:50]StoreToDocumentArchive [00:52:50]shift 314 fd 26789 [00:52:50]save to /storage/0314/doc_00026789 [00:52:50]save last doc name /storage/0314/doc_00026789 to /storage/kkm_last_doc_name [00:52:50]save OK [00:52:50]Clear old archive folders... [00:52:50]ProcessDocumentItem done err = 0, tmpTLVsize=252 [00:52:50]tlvbuf is 00EF4E20 [00:52:50]SAM_PROTO_ClearQueue [00:52:50]wFMCommunicate request_size=4 [00:52:50]MH_SAM_APDU [00:52:50]CAPDU: 80 09 00 00 [00:52:50]Write to MH i2c: E2 08 00 8B 33 80 09 00 00 00 00 00 00 30 [00:52:50]Write i2c OK [00:52:50]MH_I2C_Read... [00:52:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:52:50]Read from MH i2c: E2 [00:52:50]MH_I2C_Read... [00:52:50]Read from MH i2c: E2 03 00 [00:52:50]MH_I2C_Read... [00:52:50]Read from MH i2c: E2 03 00 8B 33 00 90 00 32 [00:52:50]RAPDU: 90 00 [00:52:50]wFMCommunicate OK [00:52:50]SAM_PROTO_ClearQueue done [00:52:50]KKMCreateOFDPacket [00:52:50]OFDProtocolAddRootSTLVToBuf [00:52:50]FM_MakeSignedData [00:52:50]FM_MakeSignedData [00:52:50]SAM_PROTO_SignData [00:52:50]wFMCommunicate request_size=4 [00:52:50]MH_SAM_APDU [00:52:50]CAPDU: 80 0D 01 02 [00:52:50]Write to MH i2c: E2 08 00 8C 33 80 0D 01 02 00 00 00 00 38 [00:52:50]Write i2c OK [00:52:50]MH_I2C_Read... [00:52:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:52:51]Read from MH i2c: E2 [00:52:51]MH_I2C_Read... [00:52:51]Read from MH i2c: E2 03 00 [00:52:51]MH_I2C_Read... [00:52:51]Read from MH i2c: E2 03 00 8C 33 00 90 00 33 [00:52:51]RAPDU: 90 00 [00:52:51]wFMCommunicate OK [00:52:51]wFMCommunicate request_size=255 [00:52:51]MH_SAM_APDU [00:52:51]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 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 7D 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 02 00 00 00 F4 03 04 00 ED 3F 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A5 68 00 00 35 04 06 00 [00:52:51]Write to MH i2c: E2 02 01 8D 33 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 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 7D 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 02 00 00 00 F4 03 04 00 ED 3F 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A5 68 00 00 35 04 06 00 00 00 E2 [00:52:51]Write i2c OK [00:52:51]MH_I2C_Read... [00:52:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:52:51]Read from MH i2c: E2 [00:52:51]MH_I2C_Read... [00:52:51]Read from MH i2c: E2 03 00 [00:52:51]MH_I2C_Read... [00:52:51]Read from MH i2c: E2 03 00 8D 33 00 90 00 34 [00:52:51]RAPDU: 90 00 [00:52:51]wFMCommunicate OK [00:52:51]wFMCommunicate request_size=11 [00:52:51]MH_SAM_APDU [00:52:51]CAPDU: 80 0D 02 02 06 E4 18 40 C9 7D 09 [00:52:51]Write to MH i2c: E2 0E 00 8E 33 80 0D 02 02 06 00 E4 18 40 C9 7D 09 00 00 D2 [00:52:51]Write i2c OK [00:52:51]MH_I2C_Read... [00:52:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:52:51]Read from MH i2c: E2 [00:52:51]MH_I2C_Read... [00:52:51]Read from MH i2c: E2 03 00 [00:52:51]MH_I2C_Read... [00:52:51]Read from MH i2c: E2 03 00 8E 33 00 90 00 35 [00:52:51]RAPDU: 90 00 [00:52:51]wFMCommunicate OK [00:52:51]wFMCommunicate request_size=4 [00:52:51]MH_SAM_APDU [00:52:51]CAPDU: 80 0D 03 02 [00:52:51]Write to MH i2c: E2 08 00 8F 33 80 0D 03 02 00 00 00 00 3D [00:52:51]Write i2c OK [00:52:51]MH_I2C_Read... [00:52:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:52:51]Read from MH i2c: E2 [00:52:51]MH_I2C_Read... [00:52:51]Read from MH i2c: E2 0B 00 [00:52:51]MH_I2C_Read... [00:52:51]Read from MH i2c: E2 0B 00 8F 33 00 F4 83 07 BD EB A0 A3 61 90 00 08 [00:52:51]RAPDU: F4 83 07 BD EB A0 A3 61 90 00 [00:52:51]wFMCommunicate OK [00:52:51]SAM_PROTO_SignData done [00:52:51]FM_MakeSignedData done [00:52:51]CreateOFDProtocolMessage [00:52:51]wFMCommunicate request_size=4 [00:52:51]MH_SAM_APDU [00:52:51]CAPDU: 80 11 00 00 [00:52:51]Write to MH i2c: E2 08 00 90 33 80 11 00 00 00 00 00 00 3D [00:52:51]Write i2c OK [00:52:51]MH_I2C_Read... [00:52:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:52:51]Read from MH i2c: E2 [00:52:51]MH_I2C_Read... [00:52:51]Read from MH i2c: E2 17 00 [00:52:51]MH_I2C_Read... [00:52:51]Read from MH i2c: E2 17 00 90 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 95 [00:52:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [00:52:51]wFMCommunicate OK [00:52:51]CreateOFDProtocolMessage done [00:52:51]OFDSenderStorePacket 26789 [00:52:51]StoreOFDPacket docnum=26789 [00:52:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 85 2E 08 01 D7 C3 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 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 7D 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 02 00 00 00 F4 03 04 00 ED 3F 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A5 68 00 00 35 04 06 00 E4 18 40 C9 7D 09 F4 83 07 BD EB A0 A3 61 [00:52:51]CheckFolder [00:52:51]dirname=/storage/ofd_packets [00:52:51]CheckFolder done [00:52:51]ProducePacketName [00:52:51]name=ofd_packets/00026789 [00:52:51]NVStorageSaveData ofd_packets/00026789 [00:52:51]File name is /storage/ofd_packets/00026789 [00:52:51]Write 302 bytes [00:52:51]NVStorageSaveData done [00:52:51]OFDSenderStorePacket done [00:52:51]KKMCreateOFDPacket done [00:52:51]NVStorageSaveData kkm_last_timestamp [00:52:51]File name is /storage/kkm_last_timestamp [00:52:51]Write 4 bytes [00:52:51]NVStorageSaveData done [00:52:51]ExternCall_PrintAddStr [00:52:51]wPrintStart [00:52:51]Write to MH i2c: 01 00 00 91 33 C4 [00:52:51]Write i2c OK [00:52:51]MH_I2C_Read... [00:52:51]Read from MH i2c: 01 [00:52:51]MH_I2C_Read... [00:52:51]Read from MH i2c: 01 07 00 [00:52:51]MH_I2C_Read... [00:52:51]Read from MH i2c: 01 07 00 91 33 00 00 00 00 00 FF 0F D9 [00:52:51]RasterBufferAndPrint [00:52:51]line Счет N : (1)359530 [00:52:51]line ИНН: 02508201610067 [00:52:51]line Контрольно-Кассовый Чек [00:52:51]line ПРОДАЖА [00:52:51]line ТРК (МРК, ГНК) : 21 [00:52:51]line Товар: 2710194210 [00:52:51]line ДТ(л)-К-5 [00:52:51]line 13.930 * 71.80 [00:52:51]line = 1000.17 [00:52:51]line НДС 12% НСП 1% [00:52:51]line > о реализуемом товаре [00:52:51]line ОКРУГЛЕНИЕ: -0.17 [00:52:51]line ИТОГО: 1000.00 [00:52:51]line Внесено: 1000.00 [00:52:51]line СДАЧА: 0.00 [00:52:51]line НСП 1% : 8.85 [00:52:51]line НДС 12% : 106.21 [00:52:51]line Наличными: 1000.00 [00:52:51]line Безнал.: 0.00 [00:52:51]line Место: АЗС № 122 "Партнер Нефть" [00:52:51]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [00:52:51]line СНО: Общий режим [00:52:51]line Чек 2 08.04.2024 00:53 [00:52:51]line Смена: 314 ФФД: 1.0 [00:52:51]line ЗНМ: 0300000147 [00:52:51]line РНМ: 0000000000091578 [00:52:51]line Версия ККМ: 001 [00:52:51]line ФМ: 0000000000874657 [00:52:51]line ФД: 26789 [00:52:51]line ФПД: 250792817294601 [00:52:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T005301&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26789&fm=250792817294601&tin=02508201610067®Number=0000000000091578&sum=100000 [00:52:51]OFD Sender: Processing packet 26789 [packets to send 44, broken 43] [00:52:51]ProducePacketName [00:52:51]name=ofd_packets/00026789 [00:52:51]OFD Sender: To server: pG, [00:52:51]CommunicateWithHost lk.salyk.kg:30040 [00:52:51]ConnectInit lk.salyk.kg [00:52:51]written 0, free lines is 4095 [00:52:51]Connected sock=10 [00:52: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 36 35 37 10 01 00 00 85 2E 08 01 D7 C3 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 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 7D 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 02 00 00 00 F4 03 04 00 ED 3F 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A5 68 00 00 35 04 06 00 E4 18 40 C9 7D 09 F4 83 07 BD EB A0 A3 61 [00:52:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 7F E3 47 00 65 63 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A5 68 00 00 F4 03 04 00 59 E7 12 66 B6 04 01 00 00 C7 0C 30 85 87 F8 80 19 [00:52:52]CommunicateWithHost err = 0 [00:52:52]CheckOFDResponse [00:52:52]1017 (14) - 77093643461234 [00:52:52]1041 (16) - 0000000000874657 [00:52:52]1040 (4) - 26789 [00:52:52]1012 (4) - 07.04.2024 18:35 [00:52:52]1206 (1) - 0 [00:52:52]OFD Sender: Remove packet 26789 [00:52:52]ProducePacketName [00:52:52]name=ofd_packets/00026789 [00:52:52]NVStorageDeleteData [00:52:52]Write to MH i2c: 01 00 00 BC 33 EF [00:52:52]Write i2c OK [00:52:52]MH_I2C_Read... [00:52:52]Read from MH i2c: 01 [00:52:52]MH_I2C_Read... [00:52:52]Read from MH i2c: 01 07 00 [00:52:52]MH_I2C_Read... [00:52:52]Read from MH i2c: 01 07 00 BC 33 00 00 00 00 00 70 0C 72 [00:52:52]RasterBufferAndPrint [00:52:52]line [00:52:52]line [00:52:52]line [00:52:52]line [00:52:52]line [00:52:52]written 0, free lines is 3187 [00:52:52]MH_Cut [00:52:52]Write to MH i2c: D1 01 00 C3 33 01 C8 [00:52:52]Write i2c OK [00:52:52]MH_I2C_Read... [00:52:52]Read from MH i2c: D1 [00:52:52]MH_I2C_Read... [00:52:52]Read from MH i2c: D1 01 00 [00:52:52]MH_I2C_Read... [00:52:52]Read from MH i2c: D1 01 00 C3 33 00 C7 [00:52:52]Write to MH i2c: 01 00 00 C4 33 F7 [00:52:52]Write i2c OK [00:52:52]MH_I2C_Read... [00:52:52]OFD Sender: No OFD packet to send [00:52:53]*** Cut start [00:52:53]*** Partial cut [00:52:53]*** CUTSNS_PIN = 1 [00:52:53]*** CUTSNS_PIN = 0 [00:52:53]*** Brake cut motor [00:52:54]Read from MH i2c: 01 [00:52:54]MH_I2C_Read... [00:52:54]*** Stop cut motor [00:52:54]*** Cut end [00:52:54]Read from MH i2c: 01 07 00 [00:52:54]MH_I2C_Read... [00:52:54]Read from MH i2c: 01 07 00 C4 33 00 00 00 00 00 FF 0F 0C [00:52:54]process_action close_receipt done [00:52:54]requested_data is exist [00:52:54]produce_requested_data [00:52:54]requested_item fm.sn is exist - process it [00:52:54]wFMCommunicate request_size=4 [00:52:54]MH_SAM_APDU [00:52:54]CAPDU: 80 11 00 00 [00:52:54]Write to MH i2c: E2 08 00 C5 33 80 11 00 00 00 00 00 00 72 [00:52:54]Write i2c OK [00:52:54]MH_I2C_Read... [00:52:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:52:54]Read from MH i2c: E2 [00:52:54]MH_I2C_Read... [00:52:54]Read from MH i2c: E2 17 00 [00:52:54]MH_I2C_Read... [00:52:54]Read from MH i2c: E2 17 00 C5 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 CA [00:52:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [00:52:54]wFMCommunicate OK [00:52:54]requested_item fd.num is exist - process it [00:52:54]SAM_PROTO_GetFieldsCounters [00:52:54]wFMCommunicate request_size=4 [00:52:54]MH_SAM_APDU [00:52:54]CAPDU: 80 13 00 00 [00:52:54]Write to MH i2c: E2 08 00 C6 33 80 13 00 00 00 00 00 00 75 [00:52:54]Write i2c OK [00:52:54]MH_I2C_Read... [00:52:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:52:54]Read from MH i2c: E2 [00:52:54]MH_I2C_Read... [00:52:54]Read from MH i2c: E2 62 00 [00:52:54]MH_I2C_Read... [00:52:54]Read from MH i2c: E2 62 00 C6 33 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A5 68 00 00 0E 04 04 00 3A 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 EE [00:52: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A5 68 00 00 0E 04 04 00 3A 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:52:54]wFMCommunicate OK [00:52:54]SAM_PROTO_GetFieldsCounters done [00:52:54]requested_item shift.num is exist - process it [00:52:54]requested_item shift.opened is exist - process it [00:52:54]req_shift_opened [00:52:54]FM_GetShiftState [00:52:54]SAM_PROTO_GetShiftState [00:52:54]wFMCommunicate request_size=4 [00:52:54]MH_SAM_APDU [00:52:54]CAPDU: 80 13 01 00 [00:52:54]Write to MH i2c: E2 08 00 C7 33 80 13 01 00 00 00 00 00 77 [00:52:54]Write i2c OK [00:52:54]MH_I2C_Read... [00:52:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:52:54]Read from MH i2c: E2 [00:52:54]MH_I2C_Read... [00:52:54]Read from MH i2c: E2 0E 00 [00:52:54]MH_I2C_Read... [00:52:54]Read from MH i2c: E2 0E 00 C7 33 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 04 [00:52:54]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [00:52:54]wFMCommunicate OK [00:52:54]SAM_PROTO_GetShiftState done [00:52:54]FM_GetShiftState done [00:52:54]req_shift_opened done [00:52:54]requested_item shift.open_date is exist - process it [00:52:54]req_shift_open_date [00:52:54]req_shift_open_date done [00:52:54]produce_requested_data done [00:52:54]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26789,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [00:52:54]process_action_free close_receipt [00:52:54]json_value_free [00:52:54]json_value_free done [00:52:54]process_json_proto returns [00:52:54]Send response to host [00:52:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26789,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [00:52:54]free response buf [00:52:54]execute_script done [00:52:54]execute_script returns [00:52:54]free content buf [00:52:54]Sock 9.Close socket [00:52:54]Sock 9.Thread stoped [00:52:57]OFD Sender: No OFD packet to send [00:53:02]OFD Sender: No OFD packet to send [00:53:07]OFD Sender: No OFD packet to send [00:53:12]OFD Sender: No OFD packet to send [00:53:17]OFD Sender: No OFD packet to send [00:53:22]OFD Sender: No OFD packet to send [00:53:27]OFD Sender: No OFD packet to send [00:53:32]OFD Sender: No OFD packet to send [00:53:37]OFD Sender: No OFD packet to send [00:53:42]OFD Sender: No OFD packet to send [00:53:47]OFD Sender: No OFD packet to send [00:53:52]OFD Sender: No OFD packet to send [00:53:57]OFD Sender: No OFD packet to send [00:54:02]OFD Sender: No OFD packet to send [00:54:07]OFD Sender: No OFD packet to send [00:54:12]OFD Sender: No OFD packet to send [00:54:17]OFD Sender: No OFD packet to send [00:54:22]OFD Sender: No OFD packet to send [00:54:27]OFD Sender: No OFD packet to send [00:54:32]OFD Sender: No OFD packet to send [00:54:37]OFD Sender: No OFD packet to send [00:54:42]OFD Sender: No OFD packet to send [00:54:47]OFD Sender: No OFD packet to send [00:54:52]OFD Sender: No OFD packet to send [00:54:57]OFD Sender: No OFD packet to send [00:55:02]OFD Sender: No OFD packet to send [00:55:07]OFD Sender: No OFD packet to send [00:55:12]OFD Sender: No OFD packet to send [00:55:17]OFD Sender: No OFD packet to send [00:55:22]OFD Sender: No OFD packet to send [00:55:27]OFD Sender: No OFD packet to send [00:55:32]OFD Sender: No OFD packet to send [00:55:37]OFD Sender: No OFD packet to send [00:55:42]OFD Sender: No OFD packet to send [00:55:47]OFD Sender: No OFD packet to send [00:55:52]OFD Sender: No OFD packet to send [00:55:57]OFD Sender: No OFD packet to send [00:56:02]OFD Sender: No OFD packet to send [00:56:07]OFD Sender: No OFD packet to send [00:56:12]OFD Sender: No OFD packet to send [00:56:17]OFD Sender: No OFD packet to send [00:56:22]OFD Sender: No OFD packet to send [00:56:27]OFD Sender: No OFD packet to send [00:56:32]OFD Sender: No OFD packet to send [00:56:37]OFD Sender: No OFD packet to send [00:56:42]OFD Sender: No OFD packet to send [00:56:47]OFD Sender: No OFD packet to send [00:56:52]OFD Sender: No OFD packet to send [00:56:57]OFD Sender: No OFD packet to send [00:57:02]OFD Sender: No OFD packet to send [00:57:07]OFD Sender: No OFD packet to send [00:57:12]OFD Sender: No OFD packet to send [00:57:17]OFD Sender: No OFD packet to send [00:57:22]OFD Sender: No OFD packet to send [00:57:27]OFD Sender: No OFD packet to send [00:57:32]OFD Sender: No OFD packet to send [00:57:37]OFD Sender: No OFD packet to send [00:57:42]OFD Sender: No OFD packet to send [00:57:47]OFD Sender: No OFD packet to send [00:57:52]OFD Sender: No OFD packet to send [00:57:57]OFD Sender: No OFD packet to send [00:58:02]OFD Sender: No OFD packet to send [00:58:07]OFD Sender: No OFD packet to send [00:58:12]OFD Sender: No OFD packet to send [00:58:17]OFD Sender: No OFD packet to send [00:58:22]OFD Sender: No OFD packet to send [00:58:27]OFD Sender: No OFD packet to send [00:58:32]OFD Sender: No OFD packet to send [00:58:37]OFD Sender: No OFD packet to send [00:58:42]OFD Sender: No OFD packet to send [00:58:47]OFD Sender: No OFD packet to send [00:58:52]OFD Sender: No OFD packet to send [00:58:57]OFD Sender: No OFD packet to send [00:59:02]OFD Sender: No OFD packet to send [00:59:07]OFD Sender: No OFD packet to send [00:59:12]OFD Sender: No OFD packet to send [00:59:17]OFD Sender: No OFD packet to send [00:59:22]OFD Sender: No OFD packet to send [00:59:27]OFD Sender: No OFD packet to send [00:59:32]OFD Sender: No OFD packet to send [00:59:37]OFD Sender: No OFD packet to send [00:59:42]OFD Sender: No OFD packet to send [00:59:47]OFD Sender: No OFD packet to send [00:59:52]OFD Sender: No OFD packet to send [00:59:57]OFD Sender: No OFD packet to send [01:00:02]OFD Sender: No OFD packet to send [01:00:07]OFD Sender: No OFD packet to send [01:00:12]OFD Sender: No OFD packet to send [01:00:17]OFD Sender: No OFD packet to send [01:00:22]OFD Sender: No OFD packet to send [01:00:28]OFD Sender: No OFD packet to send [01:00:33]OFD Sender: No OFD packet to send [01:00:38]OFD Sender: No OFD packet to send [01:00:43]OFD Sender: No OFD packet to send [01:00:48]OFD Sender: No OFD packet to send [01:00:53]OFD Sender: No OFD packet to send [01:00:58]OFD Sender: No OFD packet to send [01:01:03]OFD Sender: No OFD packet to send [01:01:08]OFD Sender: No OFD packet to send [01:01:13]OFD Sender: No OFD packet to send [01:01:18]OFD Sender: No OFD packet to send [01:01:23]OFD Sender: No OFD packet to send [01:01:28]OFD Sender: No OFD packet to send [01:01:33]OFD Sender: No OFD packet to send [01:01:38]OFD Sender: No OFD packet to send [01:01:43]OFD Sender: No OFD packet to send [01:01:48]OFD Sender: No OFD packet to send [01:01:53]OFD Sender: No OFD packet to send [01:01:58]OFD Sender: No OFD packet to send [01:02:03]OFD Sender: No OFD packet to send [01:02:08]OFD Sender: No OFD packet to send [01:02:13]OFD Sender: No OFD packet to send [01:02:18]OFD Sender: No OFD packet to send [01:02:23]OFD Sender: No OFD packet to send [01:02:28]OFD Sender: No OFD packet to send [01:02:33]OFD Sender: No OFD packet to send [01:02:38]OFD Sender: No OFD packet to send [01:02:43]OFD Sender: No OFD packet to send [01:02:48]OFD Sender: No OFD packet to send [01:02:53]OFD Sender: No OFD packet to send [01:02:58]OFD Sender: No OFD packet to send [01:03:03]OFD Sender: No OFD packet to send [01:03:08]OFD Sender: No OFD packet to send [01:03:13]OFD Sender: No OFD packet to send [01:03:18]OFD Sender: No OFD packet to send [01:03:23]OFD Sender: No OFD packet to send [01:03:28]OFD Sender: No OFD packet to send [01:03:33]OFD Sender: No OFD packet to send [01:03:38]OFD Sender: No OFD packet to send [01:03:43]OFD Sender: No OFD packet to send [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:33]OFD Sender: No OFD packet to send [01:05:38]OFD Sender: No OFD packet to send [01:05:43]OFD Sender: No OFD packet to send [01:05:48]OFD Sender: No OFD packet to send [01:05:53]OFD Sender: No OFD packet to send [01:05:58]OFD Sender: No OFD packet to send [01:06:03]OFD Sender: No OFD packet to send [01:06:08]OFD Sender: No OFD packet to send [01:06:13]OFD Sender: No OFD packet to send [01:06:18]OFD Sender: No OFD packet to send [01:06:23]OFD Sender: No OFD packet to send [01:06:28]OFD Sender: No OFD packet to send [01:06:33]OFD Sender: No OFD packet to send [01:06:38]OFD Sender: No OFD packet to send [01:06:43]OFD Sender: No OFD packet to send [01:06:48]OFD Sender: No OFD packet to send [01:06:53]OFD Sender: No OFD packet to send [01:06:58]OFD Sender: No OFD packet to send [01:07:03]OFD Sender: No OFD packet to send [01:07:08]OFD Sender: No OFD packet to send [01:07:13]OFD Sender: No OFD packet to send [01:07:18]OFD Sender: No OFD packet to send [01:07:23]OFD Sender: No OFD packet to send [01:07:28]OFD Sender: No OFD packet to send [01:07:33]OFD Sender: No OFD packet to send [01:07:38]OFD Sender: No OFD packet to send [01:07:43]OFD Sender: No OFD packet to send [01:07:48]OFD Sender: No OFD packet to send [01:07:53]OFD Sender: No OFD packet to send [01:07:58]OFD Sender: No OFD packet to send [01:08:03]OFD Sender: No OFD packet to send [01:08:08]OFD Sender: No OFD packet to send [01:08:13]OFD Sender: No OFD packet to send [01:08:18]OFD Sender: No OFD packet to send [01:08:23]OFD Sender: No OFD packet to send [01:08:28]OFD Sender: No OFD packet to send [01:08:33]OFD Sender: No OFD packet to send [01:08:38]OFD Sender: No OFD packet to send [01:08:43]OFD Sender: No OFD packet to send [01:08:48]OFD Sender: No OFD packet to send [01:08:53]OFD Sender: No OFD packet to send [01:08:58]OFD Sender: No OFD packet to send [01:09:03]OFD Sender: No OFD packet to send [01:09:08]OFD Sender: No OFD packet to send [01:09:13]OFD Sender: No OFD packet to send [01:09:18]OFD Sender: No OFD packet to send [01:09:23]OFD Sender: No OFD packet to send [01:09:28]OFD Sender: No OFD packet to send [01:09:33]OFD Sender: No OFD packet to send [01:09:38]OFD Sender: No OFD packet to send [01:09:43]OFD Sender: No OFD packet to send [01:09:48]OFD Sender: No OFD packet to send [01:09:53]OFD Sender: No OFD packet to send [01:09:58]OFD Sender: No OFD packet to send [01:10:03]OFD Sender: No OFD packet to send [01:10:08]OFD Sender: No OFD packet to send [01:10:13]OFD Sender: No OFD packet to send [01:10:18]OFD Sender: No OFD packet to send [01:10:23]OFD Sender: No OFD packet to send [01:10:28]OFD Sender: No OFD packet to send [01:10:33]OFD Sender: No OFD packet to send [01:10:38]OFD Sender: No OFD packet to send [01:10:43]OFD Sender: No OFD packet to send [01:10:48]OFD Sender: No OFD packet to send [01:10:53]OFD Sender: No OFD packet to send [01:10:58]OFD Sender: No OFD packet to send [01:11:03]OFD Sender: No OFD packet to send [01:11:08]OFD Sender: No OFD packet to send [01:11:13]OFD Sender: No OFD packet to send [01:11:18]OFD Sender: No OFD packet to send [01:11:23]OFD Sender: No OFD packet to send [01:11:28]OFD Sender: No OFD packet to send [01:11:33]OFD Sender: No OFD packet to send [01:11:38]OFD Sender: No OFD packet to send [01:11:43]OFD Sender: No OFD packet to send [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:18]OFD Sender: No OFD packet to send [01:13:23]OFD Sender: No OFD packet to send [01:13:28]OFD Sender: No OFD packet to send [01:13:33]OFD Sender: No OFD packet to send [01:13:38]OFD Sender: No OFD packet to send [01:13:43]OFD Sender: No OFD packet to send [01:13:48]OFD Sender: No OFD packet to send [01:13:53]OFD Sender: No OFD packet to send [01:13:58]OFD Sender: No OFD packet to send [01:14:03]OFD Sender: No OFD packet to send [01:14:08]OFD Sender: No OFD packet to send [01:14:13]OFD Sender: No OFD packet to send [01:14:18]OFD Sender: No OFD packet to send [01:14:23]OFD Sender: No OFD packet to send [01:14:28]OFD Sender: No OFD packet to send [01:14:33]OFD Sender: No OFD packet to send [01:14:38]OFD Sender: No OFD packet to send [01:14:43]OFD Sender: No OFD packet to send [01:14:48]OFD Sender: No OFD packet to send [01:14:53]OFD Sender: No OFD packet to send [01:14:58]OFD Sender: No OFD packet to send [01:15:03]OFD Sender: No OFD packet to send [01:15:08]OFD Sender: No OFD packet to send [01:15:13]OFD Sender: No OFD packet to send [01:15:18]OFD Sender: No OFD packet to send [01:15:23]OFD Sender: No OFD packet to send [01:15:28]OFD Sender: No OFD packet to send [01:15:33]OFD Sender: No OFD packet to send [01:15:38]OFD Sender: No OFD packet to send [01:15:43]OFD Sender: No OFD packet to send [01:15:48]OFD Sender: No OFD packet to send [01:15:53]OFD Sender: No OFD packet to send [01:15:58]OFD Sender: No OFD packet to send [01:16:03]OFD Sender: No OFD packet to send [01:16:08]OFD Sender: No OFD packet to send [01:16:13]OFD Sender: No OFD packet to send [01:16:18]OFD Sender: No OFD packet to send [01:16:23]OFD Sender: No OFD packet to send [01:16:28]OFD Sender: No OFD packet to send [01:16:33]OFD Sender: No OFD packet to send [01:16:38]OFD Sender: No OFD packet to send [01:16:43]OFD Sender: No OFD packet to send [01:16:48]OFD Sender: No OFD packet to send [01:16:53]OFD Sender: No OFD packet to send [01:16:58]OFD Sender: No OFD packet to send [01:17:03]OFD Sender: No OFD packet to send [01:17:08]OFD Sender: No OFD packet to send [01:17:13]OFD Sender: No OFD packet to send [01:17:18]OFD Sender: No OFD packet to send [01:17:23]OFD Sender: No OFD packet to send [01:17:28]OFD Sender: No OFD packet to send [01:17:33]OFD Sender: No OFD packet to send [01:17:38]OFD Sender: No OFD packet to send [01:17:43]OFD Sender: No OFD packet to send [01:17:48]OFD Sender: No OFD packet to send [01:17:53]OFD Sender: No OFD packet to send [01:17:58]OFD Sender: No OFD packet to send [01:18:03]OFD Sender: No OFD packet to send [01:18:08]OFD Sender: No OFD packet to send [01:18:13]OFD Sender: No OFD packet to send [01:18:18]OFD Sender: No OFD packet to send [01:18:23]OFD Sender: No OFD packet to send [01:18:28]OFD Sender: No OFD packet to send [01:18:33]OFD Sender: No OFD packet to send [01:18:38]OFD Sender: No OFD packet to send [01:18:43]OFD Sender: No OFD packet to send [01:18:48]OFD Sender: No OFD packet to send [01:18:53]OFD Sender: No OFD packet to send [01:18:58]OFD Sender: No OFD packet to send [01:19:03]OFD Sender: No OFD packet to send [01:19:08]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:07]accept exits with 8 [01:28:07]New connection [01:28:07]New thread 3067014500 created [01:28:07]Thread 3066871140 joined [01:28:07]Waiting for new connection... [01:28:07] Sock 8.Parse request [01:28:07]Sock 8.Check first char [01:28:07]Sock 8.First char is OK [01:28:07]request: POST /json_proto HTTP/1.0 [01:28:07]Method: POST [01:28:07]URL: /json_proto [01:28:07]Method is POST - this is cgi request [01:28:07]url: /json_proto [01:28:07]query_string will be loaded in cgi processing [01:28:07]execute_cgi json_proto POST (null) [01:28:07]execute_cgi path=json_proto method=POST [01:28:07]POST find Content-Length [01:28:07]Host: 172.17.35.3:8080 [01:28:07]Content-Length: 682 [01:28:07]Content-Type: application/json [01:28:07] [01:28:07]POST finish read [01:28:07]Found Content-Length = 682 [01:28:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359531", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "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" ] } } [01:28:07]execute_script... [01:28: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 : (1)359531", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "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" ] } } [01:28:07]POST & json_proto [01:28:07]process_json_proto [01:28:07]json parsed OK: [01:28:07]protocol is kg_v1.0 [01:28:07]action value=close_receipt [01:28:07]process_action close_receipt [01:28:07]cmd_close_receipt [01:28:07]MH_GetDate [01:28:07]Write to MH i2c: F0 00 00 C8 33 EA [01:28:07]Write i2c OK [01:28:07]MH_I2C_Read... [01:28:07]Read from MH i2c: F0 [01:28:07]MH_I2C_Read... [01:28:07]Read from MH i2c: F0 09 00 [01:28:07]MH_I2C_Read... [01:28:07]Read from MH i2c: F0 09 00 C8 33 00 33 48 13 66 2B 11 66 64 ED [01:28:07]GetLastDocTimeStamp 1712537581 [01:28:07]current date 1712539699 [01:28:07]FM_GetShiftState [01:28:07]SAM_PROTO_GetShiftState [01:28:07]wFMCommunicate request_size=4 [01:28:07]MH_SAM_APDU [01:28:07]CAPDU: 80 13 01 00 [01:28:07]Write to MH i2c: E2 08 00 C9 33 80 13 01 00 00 00 00 00 79 [01:28:07]Write i2c OK [01:28:07]MH_I2C_Read... [01:28:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:28:07]Read from MH i2c: E2 [01:28:07]MH_I2C_Read... [01:28:07]Read from MH i2c: E2 0E 00 [01:28:07]MH_I2C_Read... [01:28:07]Read from MH i2c: E2 0E 00 C9 33 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 06 [01:28:07]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [01:28:07]wFMCommunicate OK [01:28:07]SAM_PROTO_GetShiftState done [01:28:07]FM_GetShiftState done [01:28:07]opened in 1712536270 [01:28:07]opened+sec_in_day 1712622670 [01:28:07]quantity*price = 100045 [01:28:07]sum+1 = 100046 [01:28:07]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.45 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.24 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 122 "Партнер Нефть" Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СНО: Общий режим Чек 3 08.04.2024 01:28 Смена: 314 ФФД: 1.0 ЗНМ: 0300000147 РНМ: 0000000000091578 Версия ККМ: 001 ФМ: 0000000000874657 ФД: 26790 ФПД: 43165264728122 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T012819&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26790&fm=43165264728122&tin=02508201610067®Number=0000000000091578&sum=100000 [01:28:08]StoreToDocumentArchive [01:28:08]shift 314 fd 26790 [01:28:08]save to /storage/0314/doc_00026790 [01:28:08]save last doc name /storage/0314/doc_00026790 to /storage/kkm_last_doc_name [01:28:08]save OK [01:28:08]Clear old archive folders... [01:28:08]ProcessDocumentItem done err = 0, tmpTLVsize=251 [01:28:08]tlvbuf is 00E33400 [01:28:08]SAM_PROTO_ClearQueue [01:28:08]wFMCommunicate request_size=4 [01:28:08]MH_SAM_APDU [01:28:08]CAPDU: 80 09 00 00 [01:28:08]Write to MH i2c: E2 08 00 D6 33 80 09 00 00 00 00 00 00 7B [01:28:08]Write i2c OK [01:28:08]MH_I2C_Read... [01:28:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:28:08]Read from MH i2c: E2 [01:28:08]MH_I2C_Read... [01:28:08]Read from MH i2c: E2 03 00 [01:28:08]MH_I2C_Read... [01:28:08]Read from MH i2c: E2 03 00 D6 33 00 90 00 7D [01:28:08]RAPDU: 90 00 [01:28:08]wFMCommunicate OK [01:28:08]SAM_PROTO_ClearQueue done [01:28:08]KKMCreateOFDPacket [01:28:08]OFDProtocolAddRootSTLVToBuf [01:28:08]FM_MakeSignedData [01:28:08]FM_MakeSignedData [01:28:08]SAM_PROTO_SignData [01:28:08]wFMCommunicate request_size=4 [01:28:08]MH_SAM_APDU [01:28:08]CAPDU: 80 0D 01 02 [01:28:08]Write to MH i2c: E2 08 00 D7 33 80 0D 01 02 00 00 00 00 83 [01:28:08]Write i2c OK [01:28:08]MH_I2C_Read... [01:28:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:28:08]Read from MH i2c: E2 [01:28:08]MH_I2C_Read... [01:28:08]Read from MH i2c: E2 03 00 [01:28:08]MH_I2C_Read... [01:28:08]Read from MH i2c: E2 03 00 D7 33 00 90 00 7E [01:28:08]RAPDU: 90 00 [01:28:08]wFMCommunicate OK [01:28:08]wFMCommunicate request_size=255 [01:28:08]MH_SAM_APDU [01:28:08]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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 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 03 00 00 00 F4 03 04 00 33 48 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A6 68 00 00 35 04 06 00 27 [01:28:08]Write to MH i2c: E2 02 01 D8 33 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 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 03 00 00 00 F4 03 04 00 33 48 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A6 68 00 00 35 04 06 00 27 00 00 7E [01:28:08]Write i2c OK [01:28:08]MH_I2C_Read... [01:28:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:28:08]Read from MH i2c: E2 [01:28:08]MH_I2C_Read... [01:28:08]Read from MH i2c: E2 03 00 [01:28:08]MH_I2C_Read... [01:28:08]Read from MH i2c: E2 03 00 D8 33 00 90 00 7F [01:28:08]RAPDU: 90 00 [01:28:08]wFMCommunicate OK [01:28:08]wFMCommunicate request_size=10 [01:28:08]MH_SAM_APDU [01:28:08]CAPDU: 80 0D 02 02 05 42 32 45 50 3A [01:28:08]Write to MH i2c: E2 0D 00 D9 33 80 0D 02 02 05 00 42 32 45 50 3A 00 00 D3 [01:28:08]Write i2c OK [01:28:08]MH_I2C_Read... [01:28:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:28:08]Read from MH i2c: E2 [01:28:08]MH_I2C_Read... [01:28:08]Read from MH i2c: E2 03 00 [01:28:08]MH_I2C_Read... [01:28:08]Read from MH i2c: E2 03 00 D9 33 00 90 00 80 [01:28:08]RAPDU: 90 00 [01:28:08]wFMCommunicate OK [01:28:08]wFMCommunicate request_size=4 [01:28:08]MH_SAM_APDU [01:28:08]CAPDU: 80 0D 03 02 [01:28:08]Write to MH i2c: E2 08 00 DA 33 80 0D 03 02 00 00 00 00 88 [01:28:08]Write i2c OK [01:28:08]MH_I2C_Read... [01:28:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:28:08]Read from MH i2c: E2 [01:28:08]MH_I2C_Read... [01:28:08]Read from MH i2c: E2 0B 00 [01:28:08]MH_I2C_Read... [01:28:08]Read from MH i2c: E2 0B 00 DA 33 00 D8 0D 1A B0 82 82 4E E7 90 00 71 [01:28:08]RAPDU: D8 0D 1A B0 82 82 4E E7 90 00 [01:28:08]wFMCommunicate OK [01:28:08]SAM_PROTO_SignData done [01:28:08]FM_MakeSignedData done [01:28:08]CreateOFDProtocolMessage [01:28:08]wFMCommunicate request_size=4 [01:28:08]MH_SAM_APDU [01:28:08]CAPDU: 80 11 00 00 [01:28:08]Write to MH i2c: E2 08 00 DB 33 80 11 00 00 00 00 00 00 88 [01:28:08]Write i2c OK [01:28:08]MH_I2C_Read... [01:28:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:28:08]Read from MH i2c: E2 [01:28:08]MH_I2C_Read... [01:28:08]Read from MH i2c: E2 17 00 [01:28:08]MH_I2C_Read... [01:28:08]Read from MH i2c: E2 17 00 DB 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 E0 [01:28:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [01:28:08]wFMCommunicate OK [01:28:08]CreateOFDProtocolMessage done [01:28:08]OFDSenderStorePacket 26790 [01:28:08]StoreOFDPacket docnum=26790 [01:28:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 6D 2C 07 01 1C 4C 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 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 03 00 00 00 F4 03 04 00 33 48 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A6 68 00 00 35 04 06 00 27 42 32 45 50 3A D8 0D 1A B0 82 82 4E E7 [01:28:08]CheckFolder [01:28:08]dirname=/storage/ofd_packets [01:28:08]CheckFolder done [01:28:08]ProducePacketName [01:28:08]name=ofd_packets/00026790 [01:28:08]NVStorageSaveData ofd_packets/00026790 [01:28:08]File name is /storage/ofd_packets/00026790 [01:28:08]Write 301 bytes [01:28:08]NVStorageSaveData done [01:28:08]OFDSenderStorePacket done [01:28:08]KKMCreateOFDPacket done [01:28:08]NVStorageSaveData kkm_last_timestamp [01:28:08]File name is /storage/kkm_last_timestamp [01:28:08]Write 4 bytes [01:28:08]NVStorageSaveData done [01:28:08]ExternCall_PrintAddStr [01:28:08]wPrintStart [01:28:08]Write to MH i2c: 01 00 00 DC 33 0F [01:28:08]Write i2c OK [01:28:08]MH_I2C_Read... [01:28:08]Read from MH i2c: 01 [01:28:08]MH_I2C_Read... [01:28:08]Read from MH i2c: 01 07 00 [01:28:08]MH_I2C_Read... [01:28:08]Read from MH i2c: 01 07 00 DC 33 00 00 00 00 00 FF 0F 24 [01:28:08]RasterBufferAndPrint [01:28:08]line Счет N : (1)359531 [01:28:08]line ИНН: 02508201610067 [01:28:08]line Контрольно-Кассовый Чек [01:28:08]line ПРОДАЖА [01:28:08]line ТРК (МРК, ГНК) : 61 [01:28:08]line Товар: 2710124130 [01:28:08]line Аи-92-К-5 [01:28:08]line 15.780 * 63.40 [01:28:08]line = 1000.45 [01:28:08]line НДС 12% НСП 1% [01:28:08]line > о реализуемом товаре [01:28:08]line ОКРУГЛЕНИЕ: -0.45 [01:28:08]line ИТОГО: 1000.00 [01:28:08]line Внесено: 1000.00 [01:28:08]line СДАЧА: 0.00 [01:28:08]line НСП 1% : 8.85 [01:28:08]line НДС 12% : 106.24 [01:28:08]line Наличными: 1000.00 [01:28:08]line Безнал.: 0.00 [01:28:08]line Место: АЗС № 122 "Партнер Нефть" [01:28:08]line Адрес: 720001 с. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [01:28:08]line СНО: Общий режим [01:28:08]line Чек 3 08.04.2024 01:28 [01:28:08]line Смена: 314 ФФД: 1.0 [01:28:08]line ЗНМ: 0300000147 [01:28:08]line РНМ: 0000000000091578 [01:28:08]line Версия ККМ: 001 [01:28:08]line ФМ: 0000000000874657 [01:28:08]line ФД: 26790 [01:28:08]line ФПД: 43165264728122 [01:28:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T012819&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26790&fm=43165264728122&tin=02508201610067®Number=0000000000091578&sum=100000 [01:28:09]OFD Sender: Processing packet 26790 [packets to send 44, broken 43] [01:28:09]ProducePacketName [01:28:09]name=ofd_packets/00026790 [01:28:09]OFD Sender: To server: pG, [01:28:09]CommunicateWithHost lk.salyk.kg:30040 [01:28:09]ConnectInit lk.salyk.kg [01:28:09]written 0, free lines is 4095 [01:28:09]Connected sock=10 [01:28: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 36 35 37 0F 01 00 00 6D 2C 07 01 1C 4C 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 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 03 00 00 00 F4 03 04 00 33 48 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A6 68 00 00 35 04 06 00 27 42 32 45 50 3A D8 0D 1A B0 82 82 4E E7 [01:28:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 39 BB 47 00 BC 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 36 35 37 10 04 04 00 A6 68 00 00 F4 03 04 00 9E EF 12 66 B6 04 01 00 00 8C 24 DC 84 D2 98 F9 44 [01:28:09]CommunicateWithHost err = 0 [01:28:09]CheckOFDResponse [01:28:09]1017 (14) - 77093643461234 [01:28:09]1041 (16) - 0000000000874657 [01:28:09]1040 (4) - 26790 [01:28:09]1012 (4) - 07.04.2024 19:10 [01:28:09]1206 (1) - 0 [01:28:09]OFD Sender: Remove packet 26790 [01:28:09]ProducePacketName [01:28:09]name=ofd_packets/00026790 [01:28:09]NVStorageDeleteData [01:28:09]Write to MH i2c: 01 00 00 07 34 3B [01:28:09]Write i2c OK [01:28:09]MH_I2C_Read... [01:28:09]Read from MH i2c: 01 [01:28:09]MH_I2C_Read... [01:28:09]Read from MH i2c: 01 07 00 [01:28:09]MH_I2C_Read... [01:28:09]Read from MH i2c: 01 07 00 07 34 00 00 00 00 00 6C 0C BA [01:28:09]RasterBufferAndPrint [01:28:09]line [01:28:09]line [01:28:09]line [01:28:09]line [01:28:09]line [01:28:09]written 0, free lines is 3183 [01:28:09]MH_Cut [01:28:09]Write to MH i2c: D1 01 00 0E 34 01 14 [01:28:09]Write i2c OK [01:28:09]MH_I2C_Read... [01:28:09]Read from MH i2c: D1 [01:28:09]MH_I2C_Read... [01:28:09]Read from MH i2c: D1 01 00 [01:28:09]MH_I2C_Read... [01:28:09]Read from MH i2c: D1 01 00 0E 34 00 13 [01:28:09]Write to MH i2c: 01 00 00 0F 34 43 [01:28:09]Write i2c OK [01:28:09]MH_I2C_Read... [01:28:09]OFD Sender: No OFD packet to send [01:28:10]*** Cut start [01:28:10]*** Partial cut [01:28:10]*** CUTSNS_PIN = 1 [01:28:10]*** CUTSNS_PIN = 0 [01:28:11]*** Brake cut motor [01:28:11]Read from MH i2c: 01 [01:28:11]MH_I2C_Read... [01:28:11]*** Stop cut motor [01:28:11]*** Cut end [01:28:11]Read from MH i2c: 01 07 00 [01:28:11]MH_I2C_Read... [01:28:11]Read from MH i2c: 01 07 00 0F 34 00 00 00 00 00 FF 0F 58 [01:28:11]process_action close_receipt done [01:28:11]requested_data is exist [01:28:11]produce_requested_data [01:28:11]requested_item fm.sn is exist - process it [01:28:11]wFMCommunicate request_size=4 [01:28:11]MH_SAM_APDU [01:28:11]CAPDU: 80 11 00 00 [01:28:11]Write to MH i2c: E2 08 00 10 34 80 11 00 00 00 00 00 00 BE [01:28:11]Write i2c OK [01:28:11]MH_I2C_Read... [01:28:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:28:11]Read from MH i2c: E2 [01:28:11]MH_I2C_Read... [01:28:11]Read from MH i2c: E2 17 00 [01:28:11]MH_I2C_Read... [01:28:11]Read from MH i2c: E2 17 00 10 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 16 [01:28:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [01:28:11]wFMCommunicate OK [01:28:11]requested_item fd.num is exist - process it [01:28:11]SAM_PROTO_GetFieldsCounters [01:28:11]wFMCommunicate request_size=4 [01:28:11]MH_SAM_APDU [01:28:11]CAPDU: 80 13 00 00 [01:28:11]Write to MH i2c: E2 08 00 11 34 80 13 00 00 00 00 00 00 C1 [01:28:11]Write i2c OK [01:28:11]MH_I2C_Read... [01:28:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:28:11]Read from MH i2c: E2 [01:28:11]MH_I2C_Read... [01:28:11]Read from MH i2c: E2 62 00 [01:28:11]MH_I2C_Read... [01:28:11]Read from MH i2c: E2 62 00 11 34 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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A6 68 00 00 0E 04 04 00 3A 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 3E [01:28: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 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A6 68 00 00 0E 04 04 00 3A 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 [01:28:11]wFMCommunicate OK [01:28:11]SAM_PROTO_GetFieldsCounters done [01:28:11]requested_item shift.num is exist - process it [01:28:11]requested_item shift.opened is exist - process it [01:28:11]req_shift_opened [01:28:11]FM_GetShiftState [01:28:11]SAM_PROTO_GetShiftState [01:28:11]wFMCommunicate request_size=4 [01:28:11]MH_SAM_APDU [01:28:11]CAPDU: 80 13 01 00 [01:28:11]Write to MH i2c: E2 08 00 12 34 80 13 01 00 00 00 00 00 C3 [01:28:11]Write i2c OK [01:28:11]MH_I2C_Read... [01:28:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:28:11]Read from MH i2c: E2 [01:28:11]MH_I2C_Read... [01:28:11]Read from MH i2c: E2 0E 00 [01:28:11]MH_I2C_Read... [01:28:11]Read from MH i2c: E2 0E 00 12 34 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 50 [01:28:11]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [01:28:11]wFMCommunicate OK [01:28:11]SAM_PROTO_GetShiftState done [01:28:11]FM_GetShiftState done [01:28:11]req_shift_opened done [01:28:11]requested_item shift.open_date is exist - process it [01:28:11]req_shift_open_date [01:28:11]req_shift_open_date done [01:28:11]produce_requested_data done [01:28:11]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26790,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [01:28:11]process_action_free close_receipt [01:28:11]json_value_free [01:28:11]json_value_free done [01:28:11]process_json_proto returns [01:28:11]Send response to host [01:28:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26790,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [01:28:11]free response buf [01:28:11]execute_script done [01:28:11]execute_script returns [01:28:11]free content buf [01:28:11]Sock 8.Close socket [01:28:11]Sock 8.Thread stoped [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:25]OFD Sender: No OFD packet to send [01:29:30]OFD Sender: No OFD packet to send [01:29:35]OFD Sender: No OFD packet to send [01:29:40]OFD Sender: No OFD packet to send [01:29:45]OFD Sender: No OFD packet to send [01:29:50]OFD Sender: No OFD packet to send [01:29:55]OFD Sender: No OFD packet to send [01:30:00]OFD Sender: No OFD packet to send [01:30:05]OFD Sender: No OFD packet to send [01:30:10]OFD Sender: No OFD packet to send [01:30:15]OFD Sender: No OFD packet to send [01:30:20]OFD Sender: No OFD packet to send [01:30:25]OFD Sender: No OFD packet to send [01:30:30]OFD Sender: No OFD packet to send [01:30:35]OFD Sender: No OFD packet to send [01:30:40]OFD Sender: No OFD packet to send [01:30:45]OFD Sender: No OFD packet to send [01:30:50]OFD Sender: No OFD packet to send [01:30:55]OFD Sender: No OFD packet to send [01:31:00]OFD Sender: No OFD packet to send [01:31:05]OFD Sender: No OFD packet to send [01:31:10]OFD Sender: No OFD packet to send [01:31:15]OFD Sender: No OFD packet to send [01:31:20]OFD Sender: No OFD packet to send [01:31:25]OFD Sender: No OFD packet to send [01:31:30]OFD Sender: No OFD packet to send [01:31:35]OFD Sender: No OFD packet to send [01:31:40]OFD Sender: No OFD packet to send [01:31:45]OFD Sender: No OFD packet to send [01:31:50]OFD Sender: No OFD packet to send [01:31:55]OFD Sender: No OFD packet to send [01:32:00]OFD Sender: No OFD packet to send [01:32:05]OFD Sender: No OFD packet to send [01:32:10]OFD Sender: No OFD packet to send [01:32:15]OFD Sender: No OFD packet to send [01:32:20]OFD Sender: No OFD packet to send [01:32:25]OFD Sender: No OFD packet to send [01:32:30]OFD Sender: No OFD packet to send [01:32:35]OFD Sender: No OFD packet to send [01:32:40]OFD Sender: No OFD packet to send [01:32:45]OFD Sender: No OFD packet to send [01:32:50]OFD Sender: No OFD packet to send [01:32:55]OFD Sender: No OFD packet to send [01:33:00]OFD Sender: No OFD packet to send [01:33:05]OFD Sender: No OFD packet to send [01:33:10]OFD Sender: No OFD packet to send [01:33:15]OFD Sender: No OFD packet to send [01:33:20]OFD Sender: No OFD packet to send [01:33:25]OFD Sender: No OFD packet to send [01:33:30]OFD Sender: No OFD packet to send [01:33:35]OFD Sender: No OFD packet to send [01:33:40]OFD Sender: No OFD packet to send [01:33:45]OFD Sender: No OFD packet to send [01:33:50]OFD Sender: No OFD packet to send [01:33:55]OFD Sender: No OFD packet to send [01:34:00]OFD Sender: No OFD packet to send [01:34:05]OFD Sender: No OFD packet to send [01:34:10]OFD Sender: No OFD packet to send [01:34:15]OFD Sender: No OFD packet to send [01:34:20]OFD Sender: No OFD packet to send [01:34:25]OFD Sender: No OFD packet to send [01:34:30]OFD Sender: No OFD packet to send [01:34:35]OFD Sender: No OFD packet to send [01:34:40]OFD Sender: No OFD packet to send [01:34:45]OFD Sender: No OFD packet to send [01:34:50]OFD Sender: No OFD packet to send [01:34:55]OFD Sender: No OFD packet to send [01:35:00]OFD Sender: No OFD packet to send [01:35:05]OFD Sender: No OFD packet to send [01:35:10]OFD Sender: No OFD packet to send [01:35:15]OFD Sender: No OFD packet to send [01:35:20]OFD Sender: No OFD packet to send [01:35:25]OFD Sender: No OFD packet to send [01:35:30]OFD Sender: No OFD packet to send [01:35:35]OFD Sender: No OFD packet to send [01:35:40]OFD Sender: No OFD packet to send [01:35:45]OFD Sender: No OFD packet to send [01:35:50]OFD Sender: No OFD packet to send [01:35:55]OFD Sender: No OFD packet to send [01:36:00]OFD Sender: No OFD packet to send [01:36:05]OFD Sender: No OFD packet to send [01:36:10]OFD Sender: No OFD packet to send [01:36:15]OFD Sender: No OFD packet to send [01:36:20]OFD Sender: No OFD packet to send [01:36:25]OFD Sender: No OFD packet to send [01:36:30]OFD Sender: No OFD packet to send [01:36:35]OFD Sender: No OFD packet to send [01:36:40]OFD Sender: No OFD packet to send [01:36:45]OFD Sender: No OFD packet to send [01:36:50]OFD Sender: No OFD packet to send [01:36:55]OFD Sender: No OFD packet to send [01:37:00]OFD Sender: No OFD packet to send [01:37:05]OFD Sender: No OFD packet to send [01:37:10]OFD Sender: No OFD packet to send [01:37:15]OFD Sender: No OFD packet to send [01:37:20]OFD Sender: No OFD packet to send [01:37:25]OFD Sender: No OFD packet to send [01:37:30]OFD Sender: No OFD packet to send [01:37:35]OFD Sender: No OFD packet to send [01:37:40]OFD Sender: No OFD packet to send [01:37:45]OFD Sender: No OFD packet to send [01:37:50]OFD Sender: No OFD packet to send [01:37:55]OFD Sender: No OFD packet to send [01:38:00]OFD Sender: No OFD packet to send [01:38:05]OFD Sender: No OFD packet to send [01:38:10]OFD Sender: No OFD packet to send [01:38:15]OFD Sender: No OFD packet to send [01:38:20]OFD Sender: No OFD packet to send [01:38:25]OFD Sender: No OFD packet to send [01:38:30]OFD Sender: No OFD packet to send [01:38:35]OFD Sender: No OFD packet to send [01:38:40]OFD Sender: No OFD packet to send [01:38:45]OFD Sender: No OFD packet to send [01:38:50]OFD Sender: No OFD packet to send [01:38:55]OFD Sender: No OFD packet to send [01:39:00]OFD Sender: No OFD packet to send [01:39:05]OFD Sender: No OFD packet to send [01:39:10]OFD Sender: No OFD packet to send [01:39:15]OFD Sender: No OFD packet to send [01:39:20]OFD Sender: No OFD packet to send [01:39:25]OFD Sender: No OFD packet to send [01:39:30]OFD Sender: No OFD packet to send [01:39:35]OFD Sender: No OFD packet to send [01:39:40]OFD Sender: No OFD packet to send [01:39:45]OFD Sender: No OFD packet to send [01:39:50]OFD Sender: No OFD packet to send [01:39:55]OFD Sender: No OFD packet to send [01:40:00]OFD Sender: No OFD packet to send [01:40:05]OFD Sender: No OFD packet to send [01:40:10]OFD Sender: No OFD packet to send [01:40:15]OFD Sender: No OFD packet to send [01:40:20]OFD Sender: No OFD packet to send [01:40:25]OFD Sender: No OFD packet to send [01:40:30]OFD Sender: No OFD packet to send [01:40:35]OFD Sender: No OFD packet to send [01:40:40]OFD Sender: No OFD packet to send [01:40:45]OFD Sender: No OFD packet to send [01:40:50]OFD Sender: No OFD packet to send [01:40:55]OFD Sender: No OFD packet to send [01:41:00]OFD Sender: No OFD packet to send [01:41:05]OFD Sender: No OFD packet to send [01:41:10]OFD Sender: No OFD packet to send [01:41:15]OFD Sender: No OFD packet to send [01:41:20]OFD Sender: No OFD packet to send [01:41:25]OFD Sender: No OFD packet to send [01:41:30]OFD Sender: No OFD packet to send [01:41:35]OFD Sender: No OFD packet to send [01:41:40]OFD Sender: No OFD packet to send [01:41:45]OFD Sender: No OFD packet to send [01:41:50]OFD Sender: No OFD packet to send [01:41:55]OFD Sender: No OFD packet to send [01:42:00]OFD Sender: No OFD packet to send [01:42:05]OFD Sender: No OFD packet to send [01:42:10]OFD Sender: No OFD packet to send [01:42:15]OFD Sender: No OFD packet to send [01:42:20]OFD Sender: No OFD packet to send [01:42:25]OFD Sender: No OFD packet to send [01:42:30]OFD Sender: No OFD packet to send [01:42:35]OFD Sender: No OFD packet to send [01:42:40]OFD Sender: No OFD packet to send [01:42:45]OFD Sender: No OFD packet to send [01:42:50]OFD Sender: No OFD packet to send [01:42:55]OFD Sender: No OFD packet to send [01:43:00]OFD Sender: No OFD packet to send [01:43:05]OFD Sender: No OFD packet to send [01:43:10]OFD Sender: No OFD packet to send [01:43:15]OFD Sender: No OFD packet to send [01:43:20]OFD Sender: No OFD packet to send [01:43:25]OFD Sender: No OFD packet to send [01:43:30]OFD Sender: No OFD packet to send [01:43:35]OFD Sender: No OFD packet to send [01:43:40]OFD Sender: No OFD packet to send [01:43:45]OFD Sender: No OFD packet to send [01:43:50]OFD Sender: No OFD packet to send [01:43:55]OFD Sender: No OFD packet to send [01:44:00]OFD Sender: No OFD packet to send [01:44:05]OFD Sender: No OFD packet to send [01:44:10]OFD Sender: No OFD packet to send [01:44:15]OFD Sender: No OFD packet to send [01:44:20]OFD Sender: No OFD packet to send [01:44:25]OFD Sender: No OFD packet to send [01:44:30]OFD Sender: No OFD packet to send [01:44:35]OFD Sender: No OFD packet to send [01:44:40]OFD Sender: No OFD packet to send [01:44:45]OFD Sender: No OFD packet to send [01:44:50]OFD Sender: No OFD packet to send [01:44:55]OFD Sender: No OFD packet to send [01:45:00]OFD Sender: No OFD packet to send [01:45:05]OFD Sender: No OFD packet to send [01:45:10]OFD Sender: No OFD packet to send [01:45:15]OFD Sender: No OFD packet to send [01:45:20]OFD Sender: No OFD packet to send [01:45:25]OFD Sender: No OFD packet to send [01:45:30]OFD Sender: No OFD packet to send [01:45:35]OFD Sender: No OFD packet to send [01:45:40]OFD Sender: No OFD packet to send [01:45:45]OFD Sender: No OFD packet to send [01:45:50]OFD Sender: No OFD packet to send [01:45:55]OFD Sender: No OFD packet to send [01:46:00]OFD Sender: No OFD packet to send [01:46:05]OFD Sender: No OFD packet to send [01:46:10]OFD Sender: No OFD packet to send [01:46:15]OFD Sender: No OFD packet to send [01:46:20]OFD Sender: No OFD packet to send [01:46:25]OFD Sender: No OFD packet to send [01:46:30]OFD Sender: No OFD packet to send [01:46:35]OFD Sender: No OFD packet to send [01:46:40]OFD Sender: No OFD packet to send [01:46:45]OFD Sender: No OFD packet to send [01:46:50]OFD Sender: No OFD packet to send [01:46:55]OFD Sender: No OFD packet to send [01:47:00]OFD Sender: No OFD packet to send [01:47:05]OFD Sender: No OFD packet to send [01:47:10]OFD Sender: No OFD packet to send [01:47:15]OFD Sender: No OFD packet to send [01:47:20]OFD Sender: No OFD packet to send [01:47:25]OFD Sender: No OFD packet to send [01:47:30]OFD Sender: No OFD packet to send [01:47:35]OFD Sender: No OFD packet to send [01:47:40]OFD Sender: No OFD packet to send [01:47:45]OFD Sender: No OFD packet to send [01:47:50]OFD Sender: No OFD packet to send [01:47:56]OFD Sender: No OFD packet to send [01:48:01]OFD Sender: No OFD packet to send [01:48:06]OFD Sender: No OFD packet to send [01:48:11]OFD Sender: No OFD packet to send [01:48:16]OFD Sender: No OFD packet to send [01:48:21]OFD Sender: No OFD packet to send [01:48:26]OFD Sender: No OFD packet to send [01:48:31]OFD Sender: No OFD packet to send [01:48:36]OFD Sender: No OFD packet to send [01:48:41]OFD Sender: No OFD packet to send [01:48:46]OFD Sender: No OFD packet to send [01:48:51]OFD Sender: No OFD packet to send [01:48:56]OFD Sender: No OFD packet to send [01:49:01]OFD Sender: No OFD packet to send [01:49:06]OFD Sender: No OFD packet to send [01:49:11]OFD Sender: No OFD packet to send [01:49:16]OFD Sender: No OFD packet to send [01:49:21]OFD Sender: No OFD packet to send [01:49:26]OFD Sender: No OFD packet to send [01:49:31]OFD Sender: No OFD packet to send [01:49:36]OFD Sender: No OFD packet to send [01:49:41]OFD Sender: No OFD packet to send [01:49:46]OFD Sender: No OFD packet to send [01:49:51]OFD Sender: No OFD packet to send [01:49:56]OFD Sender: No OFD packet to send [01:50:01]OFD Sender: No OFD packet to send [01:50:06]OFD Sender: No OFD packet to send [01:50:11]OFD Sender: No OFD packet to send [01:50:16]OFD Sender: No OFD packet to send [01:50:21]OFD Sender: No OFD packet to send [01:50:26]OFD Sender: No OFD packet to send [01:50:31]OFD Sender: No OFD packet to send [01:50:36]OFD Sender: No OFD packet to send [01:50:41]OFD Sender: No OFD packet to send [01:50:46]OFD Sender: No OFD packet to send [01:50:51]OFD Sender: No OFD packet to send [01:50:56]OFD Sender: No OFD packet to send [01:51:01]OFD Sender: No OFD packet to send [01:51:06]OFD Sender: No OFD packet to send [01:51:11]OFD Sender: No OFD packet to send [01:51:16]OFD Sender: No OFD packet to send [01:51:21]OFD Sender: No OFD packet to send [01:51:26]OFD Sender: No OFD packet to send [01:51:31]OFD Sender: No OFD packet to send [01:51:36]OFD Sender: No OFD packet to send [01:51:41]OFD Sender: No OFD packet to send [01:51:46]OFD Sender: No OFD packet to send [01:51:51]OFD Sender: No OFD packet to send [01:51:56]OFD Sender: No OFD packet to send [01:52:01]OFD Sender: No OFD packet to send [01:52:06]OFD Sender: No OFD packet to send [01:52:11]OFD Sender: No OFD packet to send [01:52:16]OFD Sender: No OFD packet to send [01:52:21]OFD Sender: No OFD packet to send [01:52:26]OFD Sender: No OFD packet to send [01:52:31]OFD Sender: No OFD packet to send [01:52:36]OFD Sender: No OFD packet to send [01:52:41]OFD Sender: No OFD packet to send [01:52:46]OFD Sender: No OFD packet to send [01:52:51]OFD Sender: No OFD packet to send [01:52:56]OFD Sender: No OFD packet to send [01:53:01]OFD Sender: No OFD packet to send [01:53:06]OFD Sender: No OFD packet to send [01:53:11]OFD Sender: No OFD packet to send [01:53:16]OFD Sender: No OFD packet to send [01:53:21]OFD Sender: No OFD packet to send [01:53:26]OFD Sender: No OFD packet to send [01:53:31]OFD Sender: No OFD packet to send [01:53:36]OFD Sender: No OFD packet to send [01:53:41]OFD Sender: No OFD packet to send [01:53:46]OFD Sender: No OFD packet to send [01:53:51]OFD Sender: No OFD packet to send [01:53:56]OFD Sender: No OFD packet to send [01:54:01]OFD Sender: No OFD packet to send [01:54:06]OFD Sender: No OFD packet to send [01:54:11]OFD Sender: No OFD packet to send [01:54:16]OFD Sender: No OFD packet to send [01:54:21]OFD Sender: No OFD packet to send [01:54:26]OFD Sender: No OFD packet to send [01:54:31]OFD Sender: No OFD packet to send [01:54:36]OFD Sender: No OFD packet to send [01:54:41]OFD Sender: No OFD packet to send [01:54:46]OFD Sender: No OFD packet to send [01:54:51]OFD Sender: No OFD packet to send [01:54:56]OFD Sender: No OFD packet to send [01:55:01]OFD Sender: No OFD packet to send [01:55:06]OFD Sender: No OFD packet to send [01:55:11]OFD Sender: No OFD packet to send [01:55:16]OFD Sender: No OFD packet to send [01:55:21]OFD Sender: No OFD packet to send [01:55:26]OFD Sender: No OFD packet to send [01:55:31]OFD Sender: No OFD packet to send [01:55:36]OFD Sender: No OFD packet to send [01:55:41]OFD Sender: No OFD packet to send [01:55:46]OFD Sender: No OFD packet to send [01:55:51]OFD Sender: No OFD packet to send [01:55:56]OFD Sender: No OFD packet to send [01:56:01]OFD Sender: No OFD packet to send [01:56:06]OFD Sender: No OFD packet to send [01:56:11]OFD Sender: No OFD packet to send [01:56:16]OFD Sender: No OFD packet to send [01:56:21]OFD Sender: No OFD packet to send [01:56:26]OFD Sender: No OFD packet to send [01:56:31]OFD Sender: No OFD packet to send [01:56:36]OFD Sender: No OFD packet to send [01:56:41]OFD Sender: No OFD packet to send [01:56:46]OFD Sender: No OFD packet to send [01:56:51]OFD Sender: No OFD packet to send [01:56:56]OFD Sender: No OFD packet to send [01:57:01]OFD Sender: No OFD packet to send [01:57:06]OFD Sender: No OFD packet to send [01:57:11]OFD Sender: No OFD packet to send [01:57:16]OFD Sender: No OFD packet to send [01:57:21]OFD Sender: No OFD packet to send [01:57:26]OFD Sender: No OFD packet to send [01:57:31]OFD Sender: No OFD packet to send [01:57:36]OFD Sender: No OFD packet to send [01:57:41]OFD Sender: No OFD packet to send [01:57:46]OFD Sender: No OFD packet to send [01:57:51]OFD Sender: No OFD packet to send [01:57:56]OFD Sender: No OFD packet to send [01:58:01]OFD Sender: No OFD packet to send [01:58:06]OFD Sender: No OFD packet to send [01:58:11]OFD Sender: No OFD packet to send [01:58:16]OFD Sender: No OFD packet to send [01:58:21]OFD Sender: No OFD packet to send [01:58:26]OFD Sender: No OFD packet to send [01:58:31]OFD Sender: No OFD packet to send [01:58:36]OFD Sender: No OFD packet to send [01:58:41]OFD Sender: No OFD packet to send [01:58:46]OFD Sender: No OFD packet to send [01:58:51]OFD Sender: No OFD packet to send [01:58:56]OFD Sender: No OFD packet to send [01:59:01]OFD Sender: No OFD packet to send [01:59:06]OFD Sender: No OFD packet to send [01:59:11]OFD Sender: No OFD packet to send [01:59:16]OFD Sender: No OFD packet to send [01:59:21]OFD Sender: No OFD packet to send [01:59:26]OFD Sender: No OFD packet to send [01:59:31]OFD Sender: No OFD packet to send [01:59:36]OFD Sender: No OFD packet to send [01:59:41]OFD Sender: No OFD packet to send [01:59:46]OFD Sender: No OFD packet to send [01:59:51]OFD Sender: No OFD packet to send [01:59:56]OFD Sender: No OFD packet to send [02:00:01]OFD Sender: No OFD packet to send [02:00:06]OFD Sender: No OFD packet to send [02:00:11]OFD Sender: No OFD packet to send [02:00:16]OFD Sender: No OFD packet to send [02:00:21]OFD Sender: No OFD packet to send [02:00:26]OFD Sender: No OFD packet to send [02:00:31]OFD Sender: No OFD packet to send [02:00:36]OFD Sender: No OFD packet to send [02:00:41]OFD Sender: No OFD packet to send [02:00:46]OFD Sender: No OFD packet to send [02:00:51]OFD Sender: No OFD packet to send [02:00:56]OFD Sender: No OFD packet to send [02:01:01]OFD Sender: No OFD packet to send [02:01:06]OFD Sender: No OFD packet to send [02:01:11]OFD Sender: No OFD packet to send [02:01:16]OFD Sender: No OFD packet to send [02:01:21]OFD Sender: No OFD packet to send [02:01:26]OFD Sender: No OFD packet to send [02:01:31]OFD Sender: No OFD packet to send [02:01:36]OFD Sender: No OFD packet to send [02:01:41]OFD Sender: No OFD packet to send [02:01:46]OFD Sender: No OFD packet to send [02:01:51]OFD Sender: No OFD packet to send [02:01:56]OFD Sender: No OFD packet to send [02:02:01]OFD Sender: No OFD packet to send [02:02:06]OFD Sender: No OFD packet to send [02:02:11]OFD Sender: No OFD packet to send [02:02:16]OFD Sender: No OFD packet to send [02:02:21]OFD Sender: No OFD packet to send [02:02:26]OFD Sender: No OFD packet to send [02:02:31]OFD Sender: No OFD packet to send [02:02:36]OFD Sender: No OFD packet to send [02:02:41]OFD Sender: No OFD packet to send [02:02:46]OFD Sender: No OFD packet to send [02:02:51]OFD Sender: No OFD packet to send [02:02:56]OFD Sender: No OFD packet to send [02:03:01]OFD Sender: No OFD packet to send [02:03:06]OFD Sender: No OFD packet to send [02:03:11]OFD Sender: No OFD packet to send [02:03:16]OFD Sender: No OFD packet to send [02:03:21]OFD Sender: No OFD packet to send [02:03:26]OFD Sender: No OFD packet to send [02:03:31]OFD Sender: No OFD packet to send [02:03:36]OFD Sender: No OFD packet to send [02:03:41]OFD Sender: No OFD packet to send [02:03:46]OFD Sender: No OFD packet to send [02:03:51]OFD Sender: No OFD packet to send [02:03:56]OFD Sender: No OFD packet to send [02:04:01]OFD Sender: No OFD packet to send [02:04:06]OFD Sender: No OFD packet to send [02:04:11]OFD Sender: No OFD packet to send [02:04:16]OFD Sender: No OFD packet to send [02:04:21]OFD Sender: No OFD packet to send [02:04:26]OFD Sender: No OFD packet to send [02:04:31]OFD Sender: No OFD packet to send [02:04:36]OFD Sender: No OFD packet to send [02:04:41]OFD Sender: No OFD packet to send [02:04:46]OFD Sender: No OFD packet to send [02:04:51]OFD Sender: No OFD packet to send [02:04:56]OFD Sender: No OFD packet to send [02:05:06]OFD Sender: No OFD packet to send [02:05:11]OFD Sender: No OFD packet to send [02:05:16]OFD Sender: No OFD packet to send [02:05:21]OFD Sender: No OFD packet to send [02:05:26]OFD Sender: No OFD packet to send [02:05:31]OFD Sender: No OFD packet to send [02:05:36]OFD Sender: No OFD packet to send [02:05:41]OFD Sender: No OFD packet to send [02:05:46]OFD Sender: No OFD packet to send [02:05:51]OFD Sender: No OFD packet to send [02:05:56]OFD Sender: No OFD packet to send [02:06:01]OFD Sender: No OFD packet to send [02:06:06]OFD Sender: No OFD packet to send [02:06:11]OFD Sender: No OFD packet to send [02:06:16]OFD Sender: No OFD packet to send [02:06:21]OFD Sender: No OFD packet to send [02:06:26]OFD Sender: No OFD packet to send [02:06:32]OFD Sender: No OFD packet to send [02:06:37]OFD Sender: No OFD packet to send [02:06:42]OFD Sender: No OFD packet to send [02:06:47]OFD Sender: No OFD packet to send [02:06:52]OFD Sender: No OFD packet to send [02:06:57]OFD Sender: No OFD packet to send [02:07:02]OFD Sender: No OFD packet to send [02:07:07]OFD Sender: No OFD packet to send [02:07:12]OFD Sender: No OFD packet to send [02:07:15]ConnectInit Can't connect to host [02:07:17]OFD Sender: No OFD packet to send [02:07:22]OFD Sender: No OFD packet to send [02:07:27]OFD Sender: No OFD packet to send [02:07:32]OFD Sender: No OFD packet to send [02:07:37]OFD Sender: No OFD packet to send [02:07:42]OFD Sender: No OFD packet to send [02:07:47]OFD Sender: No OFD packet to send [02:07:52]OFD Sender: No OFD packet to send [02:07:57]OFD Sender: No OFD packet to send [02:08:02]OFD Sender: No OFD packet to send [02:08:07]OFD Sender: No OFD packet to send [02:08:12]OFD Sender: No OFD packet to send [02:08:17]OFD Sender: No OFD packet to send [02:08:22]OFD Sender: No OFD packet to send [02:08:27]OFD Sender: No OFD packet to send [02:08:32]OFD Sender: No OFD packet to send [02:08:37]OFD Sender: No OFD packet to send [02:08:42]OFD Sender: No OFD packet to send [02:08:47]OFD Sender: No OFD packet to send [02:08:52]OFD Sender: No OFD packet to send [02:08:57]OFD Sender: No OFD packet to send [02:09:02]OFD Sender: No OFD packet to send [02:09:07]OFD Sender: No OFD packet to send [02:09:12]OFD Sender: No OFD packet to send [02:09:17]OFD Sender: No OFD packet to send [02:09:22]OFD Sender: No OFD packet to send [02:09:27]OFD Sender: No OFD packet to send [02:09:32]OFD Sender: No OFD packet to send [02:09:37]OFD Sender: No OFD packet to send [02:09:42]OFD Sender: No OFD packet to send [02:09:47]OFD Sender: No OFD packet to send [02:09:52]OFD Sender: No OFD packet to send [02:09:57]OFD Sender: No OFD packet to send [02:10:02]OFD Sender: No OFD packet to send [02:10:07]OFD Sender: No OFD packet to send [02:10:12]OFD Sender: No OFD packet to send [02:10:17]OFD Sender: No OFD packet to send [02:10:22]OFD Sender: No OFD packet to send [02:10:27]OFD Sender: No OFD packet to send [02:10:32]OFD Sender: No OFD packet to send [02:10:37]OFD Sender: No OFD packet to send [02:10:42]OFD Sender: No OFD packet to send [02:10:47]OFD Sender: No OFD packet to send [02:10:52]OFD Sender: No OFD packet to send [02:10:57]OFD Sender: No OFD packet to send [02:11:02]OFD Sender: No OFD packet to send [02:11:07]OFD Sender: No OFD packet to send [02:11:12]OFD Sender: No OFD packet to send [02:11:17]OFD Sender: No OFD packet to send [02:11:22]OFD Sender: No OFD packet to send [02:11:27]OFD Sender: No OFD packet to send [02:11:32]OFD Sender: No OFD packet to send [02:11:37]OFD Sender: No OFD packet to send [02:11:42]OFD Sender: No OFD packet to send [02:11:47]OFD Sender: No OFD packet to send [02:11:52]OFD Sender: No OFD packet to send [02:11:57]OFD Sender: No OFD packet to send [02:12:02]OFD Sender: No OFD packet to send [02:12:07]OFD Sender: No OFD packet to send [02:12:12]OFD Sender: No OFD packet to send [02:12:17]OFD Sender: No OFD packet to send [02:12:22]OFD Sender: No OFD packet to send [02:12:27]OFD Sender: No OFD packet to send [02:12:32]OFD Sender: No OFD packet to send [02:12:37]OFD Sender: No OFD packet to send [02:12:42]OFD Sender: No OFD packet to send [02:12:47]OFD Sender: No OFD packet to send [02:12:52]OFD Sender: No OFD packet to send [02:12:57]OFD Sender: No OFD packet to send [02:13:02]OFD Sender: No OFD packet to send [02:13:07]OFD Sender: No OFD packet to send [02:13:12]OFD Sender: No OFD packet to send [02:13:17]OFD Sender: No OFD packet to send [02:13:22]OFD Sender: No OFD packet to send [02:13:27]OFD Sender: No OFD packet to send [02:13:32]OFD Sender: No OFD packet to send [02:13:37]OFD Sender: No OFD packet to send [02:13:42]OFD Sender: No OFD packet to send [02:13:47]OFD Sender: No OFD packet to send [02:13:52]OFD Sender: No OFD packet to send [02:13:57]OFD Sender: No OFD packet to send [02:14:02]OFD Sender: No OFD packet to send [02:14:07]OFD Sender: No OFD packet to send [02:14:12]OFD Sender: No OFD packet to send [02:14:17]OFD Sender: No OFD packet to send [02:14:22]OFD Sender: No OFD packet to send [02:14:27]OFD Sender: No OFD packet to send [02:14:32]OFD Sender: No OFD packet to send [02:14:37]OFD Sender: No OFD packet to send [02:14:42]OFD Sender: No OFD packet to send [02:14:47]OFD Sender: No OFD packet to send [02:14:52]OFD Sender: No OFD packet to send [02:14:57]OFD Sender: No OFD packet to send [02:15:02]OFD Sender: No OFD packet to send [02:15:07]OFD Sender: No OFD packet to send [02:15:12]OFD Sender: No OFD packet to send [02:15:17]OFD Sender: No OFD packet to send [02:15:22]OFD Sender: No OFD packet to send [02:15:27]OFD Sender: No OFD packet to send [02:15:32]OFD Sender: No OFD packet to send [02:15:37]OFD Sender: No OFD packet to send [02:15:42]OFD Sender: No OFD packet to send [02:15:47]OFD Sender: No OFD packet to send [02:15:52]OFD Sender: No OFD packet to send [02:15:57]OFD Sender: No OFD packet to send [02:16:02]OFD Sender: No OFD packet to send [02:16:07]OFD Sender: No OFD packet to send [02:16:12]OFD Sender: No OFD packet to send [02:16:17]OFD Sender: No OFD packet to send [02:16:22]OFD Sender: No OFD packet to send [02:16:27]OFD Sender: No OFD packet to send [02:16:32]OFD Sender: No OFD packet to send [02:16:37]OFD Sender: No OFD packet to send [02:16:42]OFD Sender: No OFD packet to send [02:16:47]OFD Sender: No OFD packet to send [02:16:52]OFD Sender: No OFD packet to send [02:16:57]OFD Sender: No OFD packet to send [02:17:02]OFD Sender: No OFD packet to send [02:17:07]OFD Sender: No OFD packet to send [02:17:12]OFD Sender: No OFD packet to send [02:17:17]OFD Sender: No OFD packet to send [02:17:22]OFD Sender: No OFD packet to send [02:17:27]OFD Sender: No OFD packet to send [02:17:32]OFD Sender: No OFD packet to send [02:17:37]OFD Sender: No OFD packet to send [02:17:42]OFD Sender: No OFD packet to send [02:17:47]OFD Sender: No OFD packet to send [02:17:52]OFD Sender: No OFD packet to send [02:17:57]OFD Sender: No OFD packet to send [02:18:02]OFD Sender: No OFD packet to send [02:18:07]OFD Sender: No OFD packet to send [02:18:12]OFD Sender: No OFD packet to send [02:18:17]OFD Sender: No OFD packet to send [02:18:22]OFD Sender: No OFD packet to send [02:18:27]OFD Sender: No OFD packet to send [02:18:32]OFD Sender: No OFD packet to send [02:18:37]OFD Sender: No OFD packet to send [02:18:42]OFD Sender: No OFD packet to send [02:18:47]OFD Sender: No OFD packet to send [02:18:52]OFD Sender: No OFD packet to send [02:18:57]OFD Sender: No OFD packet to send [02:19:02]OFD Sender: No OFD packet to send [02:19:07]OFD Sender: No OFD packet to send [02:19:12]OFD Sender: No OFD packet to send [02:19:17]OFD Sender: No OFD packet to send [02:19:22]OFD Sender: No OFD packet to send [02:19:27]OFD Sender: No OFD packet to send [02:19:32]OFD Sender: No OFD packet to send [02:19:37]OFD Sender: No OFD packet to send [02:19:42]OFD Sender: No OFD packet to send [02:19:47]OFD Sender: No OFD packet to send [02:19:52]OFD Sender: No OFD packet to send [02:19:57]OFD Sender: No OFD packet to send [02:20:02]OFD Sender: No OFD packet to send [02:20:07]OFD Sender: No OFD packet to send [02:20:12]OFD Sender: No OFD packet to send [02:20:17]OFD Sender: No OFD packet to send [02:20:22]OFD Sender: No OFD packet to send [02:20:27]OFD Sender: No OFD packet to send [02:20:32]OFD Sender: No OFD packet to send [02:20:37]OFD Sender: No OFD packet to send [02:20:42]OFD Sender: No OFD packet to send [02:20:47]OFD Sender: No OFD packet to send [02:20:52]OFD Sender: No OFD packet to send [02:20:57]OFD Sender: No OFD packet to send [02:21:02]OFD Sender: No OFD packet to send [02:21:07]OFD Sender: No OFD packet to send [02:21:12]OFD Sender: No OFD packet to send [02:21:17]OFD Sender: No OFD packet to send [02:21:22]OFD Sender: No OFD packet to send [02:21:27]OFD Sender: No OFD packet to send [02:21:32]OFD Sender: No OFD packet to send [02:21:37]OFD Sender: No OFD packet to send [02:21:42]OFD Sender: No OFD packet to send [02:21:47]OFD Sender: No OFD packet to send [02:21:52]OFD Sender: No OFD packet to send [02:21:57]OFD Sender: No OFD packet to send [02:22:02]OFD Sender: No OFD packet to send [02:22:07]OFD Sender: No OFD packet to send [02:22:12]OFD Sender: No OFD packet to send [02:22:17]OFD Sender: No OFD packet to send [02:22:22]OFD Sender: No OFD packet to send [02:22:27]OFD Sender: No OFD packet to send [02:22:32]OFD Sender: No OFD packet to send [02:22:37]OFD Sender: No OFD packet to send [02:22:42]OFD Sender: No OFD packet to send [02:22:47]OFD Sender: No OFD packet to send [02:22:52]OFD Sender: No OFD packet to send [02:22:57]OFD Sender: No OFD packet to send [02:23:02]OFD Sender: No OFD packet to send [02:23:07]OFD Sender: No OFD packet to send [02:23:12]OFD Sender: No OFD packet to send [02:23:17]OFD Sender: No OFD packet to send [02:23:22]OFD Sender: No OFD packet to send [02:23:27]OFD Sender: No OFD packet to send [02:23:32]OFD Sender: No OFD packet to send [02:23:37]OFD Sender: No OFD packet to send [02:23:42]OFD Sender: No OFD packet to send [02:23:47]OFD Sender: No OFD packet to send [02:23:52]OFD Sender: No OFD packet to send [02:23:57]OFD Sender: No OFD packet to send [02:24:02]OFD Sender: No OFD packet to send [02:24:07]OFD Sender: No OFD packet to send [02:24:12]OFD Sender: No OFD packet to send [02:24:17]OFD Sender: No OFD packet to send [02:24:22]OFD Sender: No OFD packet to send [02:24:27]OFD Sender: No OFD packet to send [02:24:32]OFD Sender: No OFD packet to send [02:24:37]OFD Sender: No OFD packet to send [02:24:42]OFD Sender: No OFD packet to send [02:24:47]OFD Sender: No OFD packet to send [02:24:52]OFD Sender: No OFD packet to send [02:24:57]OFD Sender: No OFD packet to send [02:25:02]OFD Sender: No OFD packet to send [02:25:07]OFD Sender: No OFD packet to send [02:25:13]OFD Sender: No OFD packet to send [02:25:18]OFD Sender: No OFD packet to send [02:25:23]OFD Sender: No OFD packet to send [02:25:28]OFD Sender: No OFD packet to send [02:25:33]OFD Sender: No OFD packet to send [02:25:38]OFD Sender: No OFD packet to send [02:25:43]OFD Sender: No OFD packet to send [02:25:48]OFD Sender: No OFD packet to send [02:25:53]OFD Sender: No OFD packet to send [02:25:58]OFD Sender: No OFD packet to send [02:26:03]OFD Sender: No OFD packet to send [02:26:08]OFD Sender: No OFD packet to send [02:26:13]OFD Sender: No OFD packet to send [02:26:18]OFD Sender: No OFD packet to send [02:26:23]OFD Sender: No OFD packet to send [02:26:28]OFD Sender: No OFD packet to send [02:26:33]OFD Sender: No OFD packet to send [02:26:38]OFD Sender: No OFD packet to send [02:26:43]OFD Sender: No OFD packet to send [02:26:48]OFD Sender: No OFD packet to send [02:26:53]OFD Sender: No OFD packet to send [02:26:58]OFD Sender: No OFD packet to send [02:27:03]OFD Sender: No OFD packet to send [02:27:08]OFD Sender: No OFD packet to send [02:27:13]OFD Sender: No OFD packet to send [02:27:18]OFD Sender: No OFD packet to send [02:27:23]OFD Sender: No OFD packet to send [02:27:28]OFD Sender: No OFD packet to send [02:27:33]OFD Sender: No OFD packet to send [02:27:38]OFD Sender: No OFD packet to send [02:27:43]OFD Sender: No OFD packet to send [02:27:48]OFD Sender: No OFD packet to send [02:27:53]OFD Sender: No OFD packet to send [02:27:58]OFD Sender: No OFD packet to send [02:28:03]OFD Sender: No OFD packet to send [02:28:08]OFD Sender: No OFD packet to send [02:28:13]OFD Sender: No OFD packet to send [02:28:18]OFD Sender: No OFD packet to send [02:28:23]OFD Sender: No OFD packet to send [02:28:28]OFD Sender: No OFD packet to send [02:28:33]OFD Sender: No OFD packet to send [02:28:38]OFD Sender: No OFD packet to send [02:28:43]OFD Sender: No OFD packet to send [02:28:48]OFD Sender: No OFD packet to send [02:28:53]OFD Sender: No OFD packet to send [02:28:58]OFD Sender: No OFD packet to send [02:29:03]OFD Sender: No OFD packet to send [02:29:08]OFD Sender: No OFD packet to send [02:29:13]OFD Sender: No OFD packet to send [02:29:18]OFD Sender: No OFD packet to send [02:29:23]OFD Sender: No OFD packet to send [02:29:28]OFD Sender: No OFD packet to send [02:29:33]OFD Sender: No OFD packet to send [02:29:38]OFD Sender: No OFD packet to send [02:29:43]OFD Sender: No OFD packet to send [02:29:48]OFD Sender: No OFD packet to send [02:29:53]OFD Sender: No OFD packet to send [02:29:58]OFD Sender: No OFD packet to send [02:30:03]OFD Sender: No OFD packet to send [02:30:08]OFD Sender: No OFD packet to send [02:30:13]OFD Sender: No OFD packet to send [02:30:18]OFD Sender: No OFD packet to send [02:30:23]OFD Sender: No OFD packet to send [02:30:28]OFD Sender: No OFD packet to send [02:30:33]OFD Sender: No OFD packet to send [02:30:38]OFD Sender: No OFD packet to send [02:30:43]OFD Sender: No OFD packet to send [02:30:48]OFD Sender: No OFD packet to send [02:30:53]OFD Sender: No OFD packet to send [02:30:58]OFD Sender: No OFD packet to send [02:31:03]OFD Sender: No OFD packet to send [02:31:08]OFD Sender: No OFD packet to send [02:31:13]OFD Sender: No OFD packet to send [02:31:18]OFD Sender: No OFD packet to send [02:31:23]OFD Sender: No OFD packet to send [02:31:28]OFD Sender: No OFD packet to send [02:31:33]OFD Sender: No OFD packet to send [02:31:38]OFD Sender: No OFD packet to send [02:31:43]OFD Sender: No OFD packet to send [02:31:48]OFD Sender: No OFD packet to send [02:31:53]OFD Sender: No OFD packet to send [02:31:58]OFD Sender: No OFD packet to send [02:32:03]OFD Sender: No OFD packet to send [02:32:08]OFD Sender: No OFD packet to send [02:32:13]OFD Sender: No OFD packet to send [02:32:18]OFD Sender: No OFD packet to send [02:32:23]OFD Sender: No OFD packet to send [02:32:28]OFD Sender: No OFD packet to send [02:32:33]OFD Sender: No OFD packet to send [02:32:38]OFD Sender: No OFD packet to send [02:32:43]OFD Sender: No OFD packet to send [02:32:48]OFD Sender: No OFD packet to send [02:32:53]OFD Sender: No OFD packet to send [02:32:58]OFD Sender: No OFD packet to send [02:33:03]OFD Sender: No OFD packet to send [02:33:08]OFD Sender: No OFD packet to send [02:33:13]OFD Sender: No OFD packet to send [02:33:18]OFD Sender: No OFD packet to send [02:33:23]OFD Sender: No OFD packet to send [02:33:28]OFD Sender: No OFD packet to send [02:33:33]OFD Sender: No OFD packet to send [02:33:38]OFD Sender: No OFD packet to send [02:33:43]OFD Sender: No OFD packet to send [02:33:48]OFD Sender: No OFD packet to send [02:33:53]OFD Sender: No OFD packet to send [02:33:58]OFD Sender: No OFD packet to send [02:34:03]OFD Sender: No OFD packet to send [02:34:08]OFD Sender: No OFD packet to send [02:34:13]OFD Sender: No OFD packet to send [02:34:18]OFD Sender: No OFD packet to send [02:34:23]OFD Sender: No OFD packet to send [02:34:28]OFD Sender: No OFD packet to send [02:34:33]OFD Sender: No OFD packet to send [02:34:38]OFD Sender: No OFD packet to send [02:34:43]OFD Sender: No OFD packet to send [02:34:48]OFD Sender: No OFD packet to send [02:34:53]OFD Sender: No OFD packet to send [02:34:58]OFD Sender: No OFD packet to send [02:35:03]OFD Sender: No OFD packet to send [02:35:08]OFD Sender: No OFD packet to send [02:35:13]OFD Sender: No OFD packet to send [02:35:18]OFD Sender: No OFD packet to send [02:35:23]OFD Sender: No OFD packet to send [02:35:28]OFD Sender: No OFD packet to send [02:35:33]OFD Sender: No OFD packet to send [02:35:38]OFD Sender: No OFD packet to send [02:35:43]OFD Sender: No OFD packet to send [02:35:48]OFD Sender: No OFD packet to send [02:35:53]OFD Sender: No OFD packet to send [02:35:58]OFD Sender: No OFD packet to send [02:36:03]OFD Sender: No OFD packet to send [02:36:08]OFD Sender: No OFD packet to send [02:36:13]OFD Sender: No OFD packet to send [02:36:18]OFD Sender: No OFD packet to send [02:36:23]OFD Sender: No OFD packet to send [02:36:28]OFD Sender: No OFD packet to send [02:36:33]OFD Sender: No OFD packet to send [02:36:38]OFD Sender: No OFD packet to send [02:36:43]OFD Sender: No OFD packet to send [02:36:48]OFD Sender: No OFD packet to send [02:36:53]OFD Sender: No OFD packet to send [02:36: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:38]OFD Sender: No OFD packet to send [02:37:43]OFD Sender: No OFD packet to send [02:37:48]OFD Sender: No OFD packet to send [02:37:53]OFD Sender: No OFD packet to send [02:37:58]OFD Sender: No OFD packet to send [02:38:03]OFD Sender: No OFD packet to send [02:38:08]OFD Sender: No OFD packet to send [02:38:13]OFD Sender: No OFD packet to send [02:38:18]OFD Sender: No OFD packet to send [02:38:23]OFD Sender: No OFD packet to send [02:38:28]OFD Sender: No OFD packet to send [02:38:33]OFD Sender: No OFD packet to send [02:38:38]OFD Sender: No OFD packet to send [02:38:43]OFD Sender: No OFD packet to send [02:38:48]OFD Sender: No OFD packet to send [02:38:53]OFD Sender: No OFD packet to send [02:38:58]OFD Sender: No OFD packet to send [02:39:03]OFD Sender: No OFD packet to send [02:39:08]OFD Sender: No OFD packet to send [02:39:13]OFD Sender: No OFD packet to send [02:39:18]OFD Sender: No OFD packet to send [02:39:23]OFD Sender: No OFD packet to send [02:39:28]OFD Sender: No OFD packet to send [02:39:33]OFD Sender: No OFD packet to send [02:39:38]OFD Sender: No OFD packet to send [02:39:43]OFD Sender: No OFD packet to send [02:39:48]OFD Sender: No OFD packet to send [02:39:53]OFD Sender: No OFD packet to send [02:39:58]OFD Sender: No OFD packet to send [02:40:03]OFD Sender: No OFD packet to send [02:40:08]OFD Sender: No OFD packet to send [02:40:13]OFD Sender: No OFD packet to send [02:40:18]OFD Sender: No OFD packet to send [02:40:23]OFD Sender: No OFD packet to send [02:40:28]OFD Sender: No OFD packet to send [02:40:33]OFD Sender: No OFD packet to send [02:40:38]OFD Sender: No OFD packet to send [02:40:43]OFD Sender: No OFD packet to send [02:40:48]OFD Sender: No OFD packet to send [02:40:53]OFD Sender: No OFD packet to send [02:40:58]OFD Sender: No OFD packet to send [02:41:03]OFD Sender: No OFD packet to send [02:41:08]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:42:03]OFD Sender: No OFD packet to send [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:54]OFD Sender: No OFD packet to send [02:43:59]OFD Sender: No OFD packet to send [02:44:04]OFD Sender: No OFD packet to send [02:44:09]OFD Sender: No OFD packet to send [02:44:14]OFD Sender: No OFD packet to send [02:44:19]OFD Sender: No OFD packet to send [02:44:24]OFD Sender: No OFD packet to send [02:44:29]OFD Sender: No OFD packet to send [02:44:34]OFD Sender: No OFD packet to send [02:44:39]OFD Sender: No OFD packet to send [02:44:44]OFD Sender: No OFD packet to send [02:44:49]OFD Sender: No OFD packet to send [02:44:54]OFD Sender: No OFD packet to send [02:44:59]OFD Sender: No OFD packet to send [02:45:04]OFD Sender: No OFD packet to send [02:45:09]OFD Sender: No OFD packet to send [02:45:14]OFD Sender: No OFD packet to send [02:45:19]OFD Sender: No OFD packet to send [02:45:24]OFD Sender: No OFD packet to send [02:45:29]OFD Sender: No OFD packet to send [02:45:34]OFD Sender: No OFD packet to send [02:45:39]OFD Sender: No OFD packet to send [02:45:44]OFD Sender: No OFD packet to send [02:45:49]OFD Sender: No OFD packet to send [02:45:54]OFD Sender: No OFD packet to send [02:45:59]OFD Sender: No OFD packet to send [02:46:04]OFD Sender: No OFD packet to send [02:46:09]OFD Sender: No OFD packet to send [02:46:14]OFD Sender: No OFD packet to send [02:46:19]OFD Sender: No OFD packet to send [02:46:24]OFD Sender: No OFD packet to send [02:46:29]OFD Sender: No OFD packet to send [02:46:34]OFD Sender: No OFD packet to send [02:46:39]OFD Sender: No OFD packet to send [02:46:44]OFD Sender: No OFD packet to send [02:46:49]OFD Sender: No OFD packet to send [02:46:54]OFD Sender: No OFD packet to send [02:46:59]OFD Sender: No OFD packet to send [02:47:04]OFD Sender: No OFD packet to send [02:47:09]OFD Sender: No OFD packet to send [02:47:14]OFD Sender: No OFD packet to send [02:47:19]OFD Sender: No OFD packet to send [02:47:24]OFD Sender: No OFD packet to send [02:47:29]OFD Sender: No OFD packet to send [02:47:34]OFD Sender: No OFD packet to send [02:47:39]OFD Sender: No OFD packet to send [02:47:44]OFD Sender: No OFD packet to send [02:47:49]OFD Sender: No OFD packet to send [02:47:54]OFD Sender: No OFD packet to send [02:47:59]OFD Sender: No OFD packet to send [02:48:04]OFD Sender: No OFD packet to send [02:48:09]OFD Sender: No OFD packet to send [02:48:14]OFD Sender: No OFD packet to send [02:48:19]OFD Sender: No OFD packet to send [02:48:24]OFD Sender: No OFD packet to send [02:48:29]OFD Sender: No OFD packet to send [02:48:34]OFD Sender: No OFD packet to send [02:48:39]OFD Sender: No OFD packet to send [02:48:44]OFD Sender: No OFD packet to send [02:48:49]OFD Sender: No OFD packet to send [02:48:54]OFD Sender: No OFD packet to send [02:48:59]OFD Sender: No OFD packet to send [02:49:04]OFD Sender: No OFD packet to send [02:49:09]OFD Sender: No OFD packet to send [02:49:14]OFD Sender: No OFD packet to send [02:49:19]OFD Sender: No OFD packet to send [02:49:24]OFD Sender: No OFD packet to send [02:49:29]OFD Sender: No OFD packet to send [02:49:34]OFD Sender: No OFD packet to send [02:49:39]OFD Sender: No OFD packet to send [02:49:44]OFD Sender: No OFD packet to send [02:49:49]OFD Sender: No OFD packet to send [02:49:54]OFD Sender: No OFD packet to send [02:49:59]OFD Sender: No OFD packet to send [02:50:04]OFD Sender: No OFD packet to send [02:50:09]OFD Sender: No OFD packet to send [02:50:14]OFD Sender: No OFD packet to send [02:50:19]OFD Sender: No OFD packet to send [02:50:24]OFD Sender: No OFD packet to send [02:50:29]OFD Sender: No OFD packet to send [02:50:34]OFD Sender: No OFD packet to send [02:50:39]OFD Sender: No OFD packet to send [02:50:44]OFD Sender: No OFD packet to send [02:50:49]OFD Sender: No OFD packet to send [02:50:54]OFD Sender: No OFD packet to send [02:50:59]OFD Sender: No OFD packet to send [02:51:04]OFD Sender: No OFD packet to send [02:51:09]OFD Sender: No OFD packet to send [02:51:14]OFD Sender: No OFD packet to send [02:51:19]OFD Sender: No OFD packet to send [02:51:24]OFD Sender: No OFD packet to send [02:51:29]OFD Sender: No OFD packet to send [02:51:34]OFD Sender: No OFD packet to send [02:51:39]OFD Sender: No OFD packet to send [02:51:44]OFD Sender: No OFD packet to send [02:51:49]OFD Sender: No OFD packet to send [02:51:54]OFD Sender: No OFD packet to send [02:51:59]OFD Sender: No OFD packet to send [02:52:04]OFD Sender: No OFD packet to send [02:52:09]OFD Sender: No OFD packet to send [02:52:14]OFD Sender: No OFD packet to send [02:52:19]OFD Sender: No OFD packet to send [02:52:24]OFD Sender: No OFD packet to send [02:52:29]OFD Sender: No OFD packet to send [02:52:34]OFD Sender: No OFD packet to send [02:52:39]OFD Sender: No OFD packet to send [02:52:44]OFD Sender: No OFD packet to send [02:52:49]OFD Sender: No OFD packet to send [02:52:54]OFD Sender: No OFD packet to send [02:52:59]OFD Sender: No OFD packet to send [02:53:04]OFD Sender: No OFD packet to send [02:53:09]OFD Sender: No OFD packet to send [02:53:14]OFD Sender: No OFD packet to send [02:53:19]OFD Sender: No OFD packet to send [02:53:24]OFD Sender: No OFD packet to send [02:53:29]OFD Sender: No OFD packet to send [02:53:34]OFD Sender: No OFD packet to send [02:53:39]OFD Sender: No OFD packet to send [02:53:44]OFD Sender: No OFD packet to send [02:53:49]OFD Sender: No OFD packet to send [02:53:54]OFD Sender: No OFD packet to send [02:53:59]OFD Sender: No OFD packet to send [02:54:04]OFD Sender: No OFD packet to send [02:54:09]OFD Sender: No OFD packet to send [02:54:14]OFD Sender: No OFD packet to send [02:54:19]OFD Sender: No OFD packet to send [02:54:24]OFD Sender: No OFD packet to send [02:54:29]OFD Sender: No OFD packet to send [02:54:34]OFD Sender: No OFD packet to send [02:54:39]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:49]OFD Sender: No OFD packet to send [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:35]OFD Sender: No OFD packet to send [03:02:40]OFD Sender: No OFD packet to send [03:02:45]OFD Sender: No OFD packet to send [03:02:50]OFD Sender: No OFD packet to send [03:02:55]OFD Sender: No OFD packet to send [03:03:00]OFD Sender: No OFD packet to send [03:03:05]OFD Sender: No OFD packet to send [03:03:10]OFD Sender: No OFD packet to send [03:03:15]OFD Sender: No OFD packet to send [03:03:20]OFD Sender: No OFD packet to send [03:03:25]OFD Sender: No OFD packet to send [03:03:30]OFD Sender: No OFD packet to send [03:03:35]OFD Sender: No OFD packet to send [03:03:40]OFD Sender: No OFD packet to send [03:03:45]OFD Sender: No OFD packet to send [03:03:50]OFD Sender: No OFD packet to send [03:03:55]OFD Sender: No OFD packet to send [03:04:00]OFD Sender: No OFD packet to send [03:04:05]OFD Sender: No OFD packet to send [03:04:10]OFD Sender: No OFD packet to send [03:04:15]OFD Sender: No OFD packet to send [03:04:20]OFD Sender: No OFD packet to send [03:04:25]OFD Sender: No OFD packet to send [03:04:30]OFD Sender: No OFD packet to send [03:04:35]OFD Sender: No OFD packet to send [03:04:40]OFD Sender: No OFD packet to send [03:04:45]OFD Sender: No OFD packet to send [03:04:50]OFD Sender: No OFD packet to send [03:04:55]OFD Sender: No OFD packet to send [03:05:00]OFD Sender: No OFD packet to send [03:05:05]OFD Sender: No OFD packet to send [03:05:10]OFD Sender: No OFD packet to send [03:05:15]OFD Sender: No OFD packet to send [03:05:20]OFD Sender: No OFD packet to send [03:05:25]OFD Sender: No OFD packet to send [03:05:30]OFD Sender: No OFD packet to send [03:05:35]OFD Sender: No OFD packet to send [03:05:40]OFD Sender: No OFD packet to send [03:05:45]OFD Sender: No OFD packet to send [03:05:50]OFD Sender: No OFD packet to send [03:05:55]OFD Sender: No OFD packet to send [03:06:00]OFD Sender: No OFD packet to send [03:06:05]OFD Sender: No OFD packet to send [03:06:10]OFD Sender: No OFD packet to send [03:06:15]OFD Sender: No OFD packet to send [03:06:20]OFD Sender: No OFD packet to send [03:06:25]OFD Sender: No OFD packet to send [03:06:30]OFD Sender: No OFD packet to send [03:06:35]OFD Sender: No OFD packet to send [03:06:40]OFD Sender: No OFD packet to send [03:06:45]OFD Sender: No OFD packet to send [03:06:50]OFD Sender: No OFD packet to send [03:06:55]OFD Sender: No OFD packet to send [03:07:00]OFD Sender: No OFD packet to send [03:07:05]OFD Sender: No OFD packet to send [03:07:10]OFD Sender: No OFD packet to send [03:07:15]OFD Sender: No OFD packet to send [03:07:20]OFD Sender: No OFD packet to send [03:07:25]OFD Sender: No OFD packet to send [03:07:30]OFD Sender: No OFD packet to send [03:07:35]OFD Sender: No OFD packet to send [03:07:40]OFD Sender: No OFD packet to send [03:07:45]OFD Sender: No OFD packet to send [03:07:50]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