[03:13:17]OFD Sender: No OFD packet to send [03:13:22]OFD Sender: No OFD packet to send [03:13:27]OFD Sender: No OFD packet to send [03:13:32]OFD Sender: No OFD packet to send [03:13:37]OFD Sender: No OFD packet to send [03:13:42]OFD Sender: No OFD packet to send [03:13:47]OFD Sender: No OFD packet to send [03:13:52]OFD Sender: No OFD packet to send [03:13:57]OFD Sender: No OFD packet to send [03:14:02]OFD Sender: No OFD packet to send [03:14:07]OFD Sender: No OFD packet to send [03:14:12]OFD Sender: No OFD packet to send [03:14:17]OFD Sender: No OFD packet to send [03:14:22]OFD Sender: No OFD packet to send [03:14:27]OFD Sender: No OFD packet to send [03:14:32]OFD Sender: No OFD packet to send [03:14:37]OFD Sender: No OFD packet to send [03:14:42]OFD Sender: No OFD packet to send [03:14:47]OFD Sender: No OFD packet to send [03:14:52]OFD Sender: No OFD packet to send [03:14:57]OFD Sender: No OFD packet to send [03:15:02]OFD Sender: No OFD packet to send [03:15:07]OFD Sender: No OFD packet to send [03:15:12]OFD Sender: No OFD packet to send [03:15:17]OFD Sender: No OFD packet to send [03:15:22]OFD Sender: No OFD packet to send [03:15:27]OFD Sender: No OFD packet to send [03:15:32]OFD Sender: No OFD packet to send [03:15:37]OFD Sender: No OFD packet to send [03:15:42]OFD Sender: No OFD packet to send [03:15:47]OFD Sender: No OFD packet to send [03:15:52]OFD Sender: No OFD packet to send [03:15:57]OFD Sender: No OFD packet to send [03:16:02]OFD Sender: No OFD packet to send [03:16:07]OFD Sender: No OFD packet to send [03:16:12]OFD Sender: No OFD packet to send [03:16:18]OFD Sender: No OFD packet to send [03:16:23]OFD Sender: No OFD packet to send [03:16:28]OFD Sender: No OFD packet to send [03:16:33]OFD Sender: No OFD packet to send [03:16:38]OFD Sender: No OFD packet to send [03:16:43]OFD Sender: No OFD packet to send [03:16:48]OFD Sender: No OFD packet to send [03:16:53]OFD Sender: No OFD packet to send [03:16:58]OFD Sender: No OFD packet to send [03:17:03]OFD Sender: No OFD packet to send [03:17:08]OFD Sender: No OFD packet to send [03:17:13]OFD Sender: No OFD packet to send [03:17:18]OFD Sender: No OFD packet to send [03:17:23]OFD Sender: No OFD packet to send [03:17:28]OFD Sender: No OFD packet to send [03:17:33]OFD Sender: No OFD packet to send [03:17:38]OFD Sender: No OFD packet to send [03:17:43]OFD Sender: No OFD packet to send [03:17:48]OFD Sender: No OFD packet to send [03:17:53]OFD Sender: No OFD packet to send [03:17:58]OFD Sender: No OFD packet to send [03:18:03]OFD Sender: No OFD packet to send [03:18:08]OFD Sender: No OFD packet to send [03:18:13]OFD Sender: No OFD packet to send [03:18:18]OFD Sender: No OFD packet to send [03:18:23]OFD Sender: No OFD packet to send [03:18:28]OFD Sender: No OFD packet to send [03:18:33]OFD Sender: No OFD packet to send [03:18:38]OFD Sender: No OFD packet to send [03:18:43]OFD Sender: No OFD packet to send [03:18:48]OFD Sender: No OFD packet to send [03:18:53]OFD Sender: No OFD packet to send [03:18:58]OFD Sender: No OFD packet to send [03:19:03]OFD Sender: No OFD packet to send [03:19:08]OFD Sender: No OFD packet to send [03:19:13]OFD Sender: No OFD packet to send [03:19:18]OFD Sender: No OFD packet to send [03:19:23]OFD Sender: No OFD packet to send [03:19:28]OFD Sender: No OFD packet to send [03:19:33]OFD Sender: No OFD packet to send [03:19:38]OFD Sender: No OFD packet to send [03:19:43]OFD Sender: No OFD packet to send [03:19:48]OFD Sender: No OFD packet to send [03:19:53]OFD Sender: No OFD packet to send [03:19:58]OFD Sender: No OFD packet to send [03:20:03]OFD Sender: No OFD packet to send [03:20:08]OFD Sender: No OFD packet to send [03:20:13]OFD Sender: No OFD packet to send [03:20:18]OFD Sender: No OFD packet to send [03:20:23]OFD Sender: No OFD packet to send [03:20:28]OFD Sender: No OFD packet to send [03:20:33]OFD Sender: No OFD packet to send [03:20:38]OFD Sender: No OFD packet to send [03:20:43]OFD Sender: No OFD packet to send [03:20:48]OFD Sender: No OFD packet to send [03:20:53]OFD Sender: No OFD packet to send [03:20:58]OFD Sender: No OFD packet to send [03:21:03]OFD Sender: No OFD packet to send [03:21:08]OFD Sender: No OFD packet to send [03:21:13]OFD Sender: No OFD packet to send [03:21:18]OFD Sender: No OFD packet to send [03:21:23]OFD Sender: No OFD packet to send [03:21:28]OFD Sender: No OFD packet to send [03:21:33]OFD Sender: No OFD packet to send [03:21:38]OFD Sender: No OFD packet to send [03:21:43]OFD Sender: No OFD packet to send [03:21:48]OFD Sender: No OFD packet to send [03:21:53]OFD Sender: No OFD packet to send [03:21:58]OFD Sender: No OFD packet to send [03:22:03]OFD Sender: No OFD packet to send [03:22:08]OFD Sender: No OFD packet to send [03:22:13]OFD Sender: No OFD packet to send [03:22:18]OFD Sender: No OFD packet to send [03:22:23]OFD Sender: No OFD packet to send [03:22:28]OFD Sender: No OFD packet to send [03:22:33]OFD Sender: No OFD packet to send [03:22:38]OFD Sender: No OFD packet to send [03:22:43]OFD Sender: No OFD packet to send [03:22:48]OFD Sender: No OFD packet to send [03:22:53]OFD Sender: No OFD packet to send [03:22:58]OFD Sender: No OFD packet to send [03:23:03]OFD Sender: No OFD packet to send [03:23:08]OFD Sender: No OFD packet to send [03:23:13]OFD Sender: No OFD packet to send [03:23:18]OFD Sender: No OFD packet to send [03:23:23]OFD Sender: No OFD packet to send [03:23:28]OFD Sender: No OFD packet to send [03:23:33]OFD Sender: No OFD packet to send [03:23:38]OFD Sender: No OFD packet to send [03:23:43]OFD Sender: No OFD packet to send [03:23:48]OFD Sender: No OFD packet to send [03:23:53]OFD Sender: No OFD packet to send [03:23:58]OFD Sender: No OFD packet to send [03:24:03]OFD Sender: No OFD packet to send [03:24:08]OFD Sender: No OFD packet to send [03:24:13]OFD Sender: No OFD packet to send [03:24:18]OFD Sender: No OFD packet to send [03:24:23]OFD Sender: No OFD packet to send [03:24:28]OFD Sender: No OFD packet to send [03:24:33]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:44]OFD Sender: No OFD packet to send [03:37:49]OFD Sender: No OFD packet to send [03:37:54]OFD Sender: No OFD packet to send [03:37:59]OFD Sender: No OFD packet to send [03:38:04]OFD Sender: No OFD packet to send [03:38:09]OFD Sender: No OFD packet to send [03:38:14]OFD Sender: No OFD packet to send [03:38:19]OFD Sender: No OFD packet to send [03:38:24]OFD Sender: No OFD packet to send [03:38:29]OFD Sender: No OFD packet to send [03:38:34]OFD Sender: No OFD packet to send [03:38:39]OFD Sender: No OFD packet to send [03:38:44]OFD Sender: No OFD packet to send [03:38:49]OFD Sender: No OFD packet to send [03:38:54]OFD Sender: No OFD packet to send [03:38:59]OFD Sender: No OFD packet to send [03:39:04]OFD Sender: No OFD packet to send [03:39:09]OFD Sender: No OFD packet to send [03:39:14]OFD Sender: No OFD packet to send [03:39:19]OFD Sender: No OFD packet to send [03:39:24]OFD Sender: No OFD packet to send [03:39:29]OFD Sender: No OFD packet to send [03:39:34]OFD Sender: No OFD packet to send [03:39:39]OFD Sender: No OFD packet to send [03:39:44]OFD Sender: No OFD packet to send [03:39:49]OFD Sender: No OFD packet to send [03:39:54]OFD Sender: No OFD packet to send [03:39:59]OFD Sender: No OFD packet to send [03:40:04]OFD Sender: No OFD packet to send [03:40:09]OFD Sender: No OFD packet to send [03:40:14]OFD Sender: No OFD packet to send [03:40:19]OFD Sender: No OFD packet to send [03:40:24]OFD Sender: No OFD packet to send [03:40:29]OFD Sender: No OFD packet to send [03:40:34]OFD Sender: No OFD packet to send [03:40:39]OFD Sender: No OFD packet to send [03:40:44]OFD Sender: No OFD packet to send [03:40:49]OFD Sender: No OFD packet to send [03:40:54]OFD Sender: No OFD packet to send [03:40:59]OFD Sender: No OFD packet to send [03:41:04]OFD Sender: No OFD packet to send [03:41:09]OFD Sender: No OFD packet to send [03:41:14]OFD Sender: No OFD packet to send [03:41:19]OFD Sender: No OFD packet to send [03:41:24]OFD Sender: No OFD packet to send [03:41:29]OFD Sender: No OFD packet to send [03:41:34]OFD Sender: No OFD packet to send [03:41:39]OFD Sender: No OFD packet to send [03:41:44]OFD Sender: No OFD packet to send [03:41:49]OFD Sender: No OFD packet to send [03:41:54]OFD Sender: No OFD packet to send [03:41:59]OFD Sender: No OFD packet to send [03:42:04]OFD Sender: No OFD packet to send [03:42:09]OFD Sender: No OFD packet to send [03:42:14]OFD Sender: No OFD packet to send [03:42:19]OFD Sender: No OFD packet to send [03:42:24]OFD Sender: No OFD packet to send [03:42:29]OFD Sender: No OFD packet to send [03:42:34]OFD Sender: No OFD packet to send [03:42:39]OFD Sender: No OFD packet to send [03:42:44]OFD Sender: No OFD packet to send [03:42:49]OFD Sender: No OFD packet to send [03:42:54]OFD Sender: No OFD packet to send [03:42:59]OFD Sender: No OFD packet to send [03:43:04]OFD Sender: No OFD packet to send [03:43:09]OFD Sender: No OFD packet to send [03:43:14]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:55]OFD Sender: No OFD packet to send [03:59:00]OFD Sender: No OFD packet to send [03:59:05]OFD Sender: No OFD packet to send [03:59:10]OFD Sender: No OFD packet to send [03:59:15]OFD Sender: No OFD packet to send [03:59:20]OFD Sender: No OFD packet to send [03:59:25]OFD Sender: No OFD packet to send [03:59:30]OFD Sender: No OFD packet to send [03:59:35]OFD Sender: No OFD packet to send [03:59:40]OFD Sender: No OFD packet to send [03:59:45]OFD Sender: No OFD packet to send [03:59:50]OFD Sender: No OFD packet to send [03:59:55]OFD Sender: No OFD packet to send [04:00:00]OFD Sender: No OFD packet to send [04:00:05]OFD Sender: No OFD packet to send [04:00:10]OFD Sender: No OFD packet to send [04:00:15]OFD Sender: No OFD packet to send [04:00:20]OFD Sender: No OFD packet to send [04:00:25]OFD Sender: No OFD packet to send [04:00:30]OFD Sender: No OFD packet to send [04:00:35]OFD Sender: No OFD packet to send [04:00:40]OFD Sender: No OFD packet to send [04:00:45]OFD Sender: No OFD packet to send [04:00:50]OFD Sender: No OFD packet to send [04:00:55]OFD Sender: No OFD packet to send [04:01:00]OFD Sender: No OFD packet to send [04:01:05]OFD Sender: No OFD packet to send [04:01:10]OFD Sender: No OFD packet to send [04:01:15]OFD Sender: No OFD packet to send [04:01:20]OFD Sender: No OFD packet to send [04:01:25]OFD Sender: No OFD packet to send [04:01:30]OFD Sender: No OFD packet to send [04:01:35]OFD Sender: No OFD packet to send [04:01:40]OFD Sender: No OFD packet to send [04:01:45]OFD Sender: No OFD packet to send [04:01:50]OFD Sender: No OFD packet to send [04:01:55]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:11]OFD Sender: No OFD packet to send [04:20:16]OFD Sender: No OFD packet to send [04:20:21]OFD Sender: No OFD packet to send [04:20:26]OFD Sender: No OFD packet to send [04:20:31]OFD Sender: No OFD packet to send [04:20:36]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:26]OFD Sender: No OFD packet to send [04:39:31]OFD Sender: No OFD packet to send [04:39:36]OFD Sender: No OFD packet to send [04:39:41]OFD Sender: No OFD packet to send [04:39:46]OFD Sender: No OFD packet to send [04:39:51]OFD Sender: No OFD packet to send [04:39:56]OFD Sender: No OFD packet to send [04:40:01]OFD Sender: No OFD packet to send [04:40:06]OFD Sender: No OFD packet to send [04:40:11]OFD Sender: No OFD packet to send [04:40:16]OFD Sender: No OFD packet to send [04:40:21]OFD Sender: No OFD packet to send [04:40:26]OFD Sender: No OFD packet to send [04:40:31]OFD Sender: No OFD packet to send [04:40:36]OFD Sender: No OFD packet to send [04:40:41]OFD Sender: No OFD packet to send [04:40:46]OFD Sender: No OFD packet to send [04:40:51]OFD Sender: No OFD packet to send [04:40:56]OFD Sender: No OFD packet to send [04:41:01]OFD Sender: No OFD packet to send [04:41:06]OFD Sender: No OFD packet to send [04:41:11]OFD Sender: No OFD packet to send [04:41:16]OFD Sender: No OFD packet to send [04:41:21]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:02]OFD Sender: No OFD packet to send [04:58:07]OFD Sender: No OFD packet to send [04:58:12]OFD Sender: No OFD packet to send [04:58:17]OFD Sender: No OFD packet to send [04:58:22]OFD Sender: No OFD packet to send [04:58:27]OFD Sender: No OFD packet to send [04:58:32]OFD Sender: No OFD packet to send [04:58:37]OFD Sender: No OFD packet to send [04:58:42]OFD Sender: No OFD packet to send [04:58:47]OFD Sender: No OFD packet to send [04:58:52]OFD Sender: No OFD packet to send [04:58:57]OFD Sender: No OFD packet to send [04:59:02]OFD Sender: No OFD packet to send [04:59:07]OFD Sender: No OFD packet to send [04:59:12]OFD Sender: No OFD packet to send [04:59:17]OFD Sender: No OFD packet to send [04:59:22]OFD Sender: No OFD packet to send [04:59:27]OFD Sender: No OFD packet to send [04:59:32]OFD Sender: No OFD packet to send [04:59:37]OFD Sender: No OFD packet to send [04:59:42]OFD Sender: No OFD packet to send [04:59:47]OFD Sender: No OFD packet to send [04:59:52]OFD Sender: No OFD packet to send [04:59:57]OFD Sender: No OFD packet to send [05:00:02]OFD Sender: No OFD packet to send [05:00:07]OFD Sender: No OFD packet to send [05:00:12]OFD Sender: No OFD packet to send [05:00:17]OFD Sender: No OFD packet to send [05:00:22]OFD Sender: No OFD packet to send [05:00:27]OFD Sender: No OFD packet to send [05:00:32]OFD Sender: No OFD packet to send [05:00:37]OFD Sender: No OFD packet to send [05:00:42]OFD Sender: No OFD packet to send [05:00:47]OFD Sender: No OFD packet to send [05:00:52]OFD Sender: No OFD packet to send [05:00:57]OFD Sender: No OFD packet to send [05:01:02]OFD Sender: No OFD packet to send [05:01:07]OFD Sender: No OFD packet to send [05:01:12]OFD Sender: No OFD packet to send [05:01:17]OFD Sender: No OFD packet to send [05:01:22]OFD Sender: No OFD packet to send [05:01:27]OFD Sender: No OFD packet to send [05:01:32]OFD Sender: No OFD packet to send [05:01:37]OFD Sender: No OFD packet to send [05:01:42]OFD Sender: No OFD packet to send [05:01:47]OFD Sender: No OFD packet to send [05:01:52]OFD Sender: No OFD packet to send [05:01:57]OFD Sender: No OFD packet to send [05:02:02]OFD Sender: No OFD packet to send [05:02:07]OFD Sender: No OFD packet to send [05:02:12]OFD Sender: No OFD packet to send [05:02:17]OFD Sender: No OFD packet to send [05:02:22]OFD Sender: No OFD packet to send [05:02:27]OFD Sender: No OFD packet to send [05:02:32]OFD Sender: No OFD packet to send [05:02:37]OFD Sender: No OFD packet to send [05:02:42]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:33]OFD Sender: No OFD packet to send [05:16:38]OFD Sender: No OFD packet to send [05:16:43]OFD Sender: No OFD packet to send [05:16:48]OFD Sender: No OFD packet to send [05:16:53]OFD Sender: No OFD packet to send [05:16:58]OFD Sender: No OFD packet to send [05:17:03]OFD Sender: No OFD packet to send [05:17:08]OFD Sender: No OFD packet to send [05:17:13]OFD Sender: No OFD packet to send [05:17:18]OFD Sender: No OFD packet to send [05:17:23]OFD Sender: No OFD packet to send [05:17:28]OFD Sender: No OFD packet to send [05:17:33]OFD Sender: No OFD packet to send [05:17:38]OFD Sender: No OFD packet to send [05:17:43]OFD Sender: No OFD packet to send [05:17:48]OFD Sender: No OFD packet to send [05:17:53]OFD Sender: No OFD packet to send [05:17:58]OFD Sender: No OFD packet to send [05:18:03]OFD Sender: No OFD packet to send [05:18:08]OFD Sender: No OFD packet to send [05:18:13]OFD Sender: No OFD packet to send [05:18:18]OFD Sender: No OFD packet to send [05:18:23]OFD Sender: No OFD packet to send [05:18:28]OFD Sender: No OFD packet to send [05:18:33]OFD Sender: No OFD packet to send [05:18:38]OFD Sender: No OFD packet to send [05:18:43]OFD Sender: No OFD packet to send [05:18:48]OFD Sender: No OFD packet to send [05:18:53]OFD Sender: No OFD packet to send [05:18:58]OFD Sender: No OFD packet to send [05:19:03]OFD Sender: No OFD packet to send [05:19:08]OFD Sender: No OFD packet to send [05:19:13]OFD Sender: No OFD packet to send [05:19:18]OFD Sender: No OFD packet to send [05:19:23]OFD Sender: No OFD packet to send [05:19:28]OFD Sender: No OFD packet to send [05:19:33]OFD Sender: No OFD packet to send [05:19:38]OFD Sender: No OFD packet to send [05:19:43]OFD Sender: No OFD packet to send [05:19:48]OFD Sender: No OFD packet to send [05:19:53]OFD Sender: No OFD packet to send [05:19:58]OFD Sender: No OFD packet to send [05:20:03]OFD Sender: No OFD packet to send [05:20:08]OFD Sender: No OFD packet to send [05:20:13]OFD Sender: No OFD packet to send [05:20:18]OFD Sender: No OFD packet to send [05:20:23]OFD Sender: No OFD packet to send [05:20:28]OFD Sender: No OFD packet to send [05:20:33]OFD Sender: No OFD packet to send [05:20:38]OFD Sender: No OFD packet to send [05:20:43]OFD Sender: No OFD packet to send [05:20:48]OFD Sender: No OFD packet to send [05:20:53]OFD Sender: No OFD packet to send [05:20:58]OFD Sender: No OFD packet to send [05:21:03]OFD Sender: No OFD packet to send [05:21:08]OFD Sender: No OFD packet to send [05:21:13]OFD Sender: No OFD packet to send [05:21:18]OFD Sender: No OFD packet to send [05:21:23]OFD Sender: No OFD packet to send [05:21:28]OFD Sender: No OFD packet to send [05:21:33]OFD Sender: No OFD packet to send [05:21:38]OFD Sender: No OFD packet to send [05:21:43]OFD Sender: No OFD packet to send [05:21:48]OFD Sender: No OFD packet to send [05:21:53]OFD Sender: No OFD packet to send [05:21:58]OFD Sender: No OFD packet to send [05:22:03]OFD Sender: No OFD packet to send [05:22:08]OFD Sender: No OFD packet to send [05:22:13]OFD Sender: No OFD packet to send [05:22:18]OFD Sender: No OFD packet to send [05:22:23]OFD Sender: No OFD packet to send [05:22:28]OFD Sender: No OFD packet to send [05:22:33]OFD Sender: No OFD packet to send [05:22:38]OFD Sender: No OFD packet to send [05:22:43]OFD Sender: No OFD packet to send [05:22:48]OFD Sender: No OFD packet to send [05:22:53]OFD Sender: No OFD packet to send [05:22:58]OFD Sender: No OFD packet to send [05:23:03]OFD Sender: No OFD packet to send [05:23:08]OFD Sender: No OFD packet to send [05:23:13]OFD Sender: No OFD packet to send [05:23:18]OFD Sender: No OFD packet to send [05:23:23]OFD Sender: No OFD packet to send [05:23:28]OFD Sender: No OFD packet to send [05:23:33]OFD Sender: No OFD packet to send [05:23:38]OFD Sender: No OFD packet to send [05:23:43]OFD Sender: No OFD packet to send [05:23:48]OFD Sender: No OFD packet to send [05:23:53]OFD Sender: No OFD packet to send [05:23:58]OFD Sender: No OFD packet to send [05:24:03]OFD Sender: No OFD packet to send [05:24:08]OFD Sender: No OFD packet to send [05:24:13]OFD Sender: No OFD packet to send [05:24: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:14]OFD Sender: No OFD packet to send [05:28:19]OFD Sender: No OFD packet to send [05:28:24]OFD Sender: No OFD packet to send [05:28:29]OFD Sender: No OFD packet to send [05:28:34]OFD Sender: No OFD packet to send [05:28:39]OFD Sender: No OFD packet to send [05:28:44]OFD Sender: No OFD packet to send [05:28:49]OFD Sender: No OFD packet to send [05:28:54]OFD Sender: No OFD packet to send [05:28:59]OFD Sender: No OFD packet to send [05:29:04]OFD Sender: No OFD packet to send [05:29:09]OFD Sender: No OFD packet to send [05:29:14]OFD Sender: No OFD packet to send [05:29:19]OFD Sender: No OFD packet to send [05:29:24]OFD Sender: No OFD packet to send [05:29:29]OFD Sender: No OFD packet to send [05:29:34]OFD Sender: No OFD packet to send [05:29:39]OFD Sender: No OFD packet to send [05:29:44]OFD Sender: No OFD packet to send [05:29:49]OFD Sender: No OFD packet to send [05:29:54]OFD Sender: No OFD packet to send [05:29:59]OFD Sender: No OFD packet to send [05:30:04]OFD Sender: No OFD packet to send [05:30:09]OFD Sender: No OFD packet to send [05:30:14]OFD Sender: No OFD packet to send [05:30:19]OFD Sender: No OFD packet to send [05:30:24]OFD Sender: No OFD packet to send [05:30:29]OFD Sender: No OFD packet to send [05:30:34]OFD Sender: No OFD packet to send [05:30:39]OFD Sender: No OFD packet to send [05:30:44]OFD Sender: No OFD packet to send [05:30:49]OFD Sender: No OFD packet to send [05:30:54]OFD Sender: No OFD packet to send [05:30:59]OFD Sender: No OFD packet to send [05:31:04]OFD Sender: No OFD packet to send [05:31:09]OFD Sender: No OFD packet to send [05:31:14]OFD Sender: No OFD packet to send [05:31:19]OFD Sender: No OFD packet to send [05:31:24]OFD Sender: No OFD packet to send [05:31:29]OFD Sender: No OFD packet to send [05:31:34]OFD Sender: No OFD packet to send [05:31:39]OFD Sender: No OFD packet to send [05:31:44]OFD Sender: No OFD packet to send [05:31:49]OFD Sender: No OFD packet to send [05:31:54]OFD Sender: No OFD packet to send [05:31:59]OFD Sender: No OFD packet to send [05:32:04]OFD Sender: No OFD packet to send [05:32:09]OFD Sender: No OFD packet to send [05:32:14]OFD Sender: No OFD packet to send [05:32:19]OFD Sender: No OFD packet to send [05:32:24]OFD Sender: No OFD packet to send [05:32:29]OFD Sender: No OFD packet to send [05:32:34]OFD Sender: No OFD packet to send [05:32:39]OFD Sender: No OFD packet to send [05:32:44]OFD Sender: No OFD packet to send [05:32:49]OFD Sender: No OFD packet to send [05:32:54]OFD Sender: No OFD packet to send [05:32:59]OFD Sender: No OFD packet to send [05:33:04]OFD Sender: No OFD packet to send [05:33:09]OFD Sender: No OFD packet to send [05:33:14]OFD Sender: No OFD packet to send [05:33:19]OFD Sender: No OFD packet to send [05:33:24]OFD Sender: No OFD packet to send [05:33:29]OFD Sender: No OFD packet to send [05:33:34]OFD Sender: No OFD packet to send [05:33:39]OFD Sender: No OFD packet to send [05:33:44]OFD Sender: No OFD packet to send [05:33:49]OFD Sender: No OFD packet to send [05:33:54]OFD Sender: No OFD packet to send [05:33:59]OFD Sender: No OFD packet to send [05:34:04]OFD Sender: No OFD packet to send [05:34:09]OFD Sender: No OFD packet to send [05:34:14]OFD Sender: No OFD packet to send [05:34:19]OFD Sender: No OFD packet to send [05:34:24]OFD Sender: No OFD packet to send [05:34:29]OFD Sender: No OFD packet to send [05:34:34]OFD Sender: No OFD packet to send [05:34:39]OFD Sender: No OFD packet to send [05:34:44]OFD Sender: No OFD packet to send [05:34:49]OFD Sender: No OFD packet to send [05:34:54]OFD Sender: No OFD packet to send [05:34:59]OFD Sender: No OFD packet to send [05:35:04]OFD Sender: No OFD packet to send [05:35:09]OFD Sender: No OFD packet to send [05:35:14]OFD Sender: No OFD packet to send [05:35:19]OFD Sender: No OFD packet to send [05:35:24]OFD Sender: No OFD packet to send [05:35:29]OFD Sender: No OFD packet to send [05:35:34]OFD Sender: No OFD packet to send [05:35:39]OFD Sender: No OFD packet to send [05:35:44]OFD Sender: No OFD packet to send [05:35:49]OFD Sender: No OFD packet to send [05:35:54]OFD Sender: No OFD packet to send [05:35:59]OFD Sender: No OFD packet to send [05:36:04]OFD Sender: No OFD packet to send [05:36:09]OFD Sender: No OFD packet to send [05:36:14]OFD Sender: No OFD packet to send [05:36:19]OFD Sender: No OFD packet to send [05:36:24]OFD Sender: No OFD packet to send [05:36:29]OFD Sender: No OFD packet to send [05:36:34]OFD Sender: No OFD packet to send [05:36:39]OFD Sender: No OFD packet to send [05:36:44]OFD Sender: No OFD packet to send [05:36:49]OFD Sender: No OFD packet to send [05:36:54]OFD Sender: No OFD packet to send [05:36:59]OFD Sender: No OFD packet to send [05:37:04]OFD Sender: No OFD packet to send [05:37:09]OFD Sender: No OFD packet to send [05:37:14]OFD Sender: No OFD packet to send [05:37:19]OFD Sender: No OFD packet to send [05:37:24]OFD Sender: No OFD packet to send [05:37:29]OFD Sender: No OFD packet to send [05:37:34]OFD Sender: No OFD packet to send [05:37:39]OFD Sender: No OFD packet to send [05:37:44]OFD Sender: No OFD packet to send [05:37:49]OFD Sender: No OFD packet to send [05:37:54]OFD Sender: No OFD packet to send [05:37:59]OFD Sender: No OFD packet to send [05:38:04]OFD Sender: No OFD packet to send [05:38:09]OFD Sender: No OFD packet to send [05:38:14]OFD Sender: No OFD packet to send [05:38:19]OFD Sender: No OFD packet to send [05:38:24]OFD Sender: No OFD packet to send [05:38:29]OFD Sender: No OFD packet to send [05:38:34]OFD Sender: No OFD packet to send [05:38:39]OFD Sender: No OFD packet to send [05:38:44]OFD Sender: No OFD packet to send [05:38:49]OFD Sender: No OFD packet to send [05:38:54]OFD Sender: No OFD packet to send [05:38:59]OFD Sender: No OFD packet to send [05:39:04]OFD Sender: No OFD packet to send [05:39:09]OFD Sender: No OFD packet to send [05:39:14]OFD Sender: No OFD packet to send [05:39:19]OFD Sender: No OFD packet to send [05:39:24]OFD Sender: No OFD packet to send [05:39:29]OFD Sender: No OFD packet to send [05:39:34]OFD Sender: No OFD packet to send [05:39:39]OFD Sender: No OFD packet to send [05:39:44]OFD Sender: No OFD packet to send [05:39:49]OFD Sender: No OFD packet to send [05:39:54]OFD Sender: No OFD packet to send [05:39:59]OFD Sender: No OFD packet to send [05:40:04]OFD Sender: No OFD packet to send [05:40:09]OFD Sender: No OFD packet to send [05:40:14]OFD Sender: No OFD packet to send [05:40:19]OFD Sender: No OFD packet to send [05:40:24]OFD Sender: No OFD packet to send [05:40:29]OFD Sender: No OFD packet to send [05:40:34]OFD Sender: No OFD packet to send [05:40:39]OFD Sender: No OFD packet to send [05:40:44]OFD Sender: No OFD packet to send [05:40:49]OFD Sender: No OFD packet to send [05:40:54]OFD Sender: No OFD packet to send [05:40:59]OFD Sender: No OFD packet to send [05:41:04]OFD Sender: No OFD packet to send [05:41:09]OFD Sender: No OFD packet to send [05:41:14]OFD Sender: No OFD packet to send [05:41:19]OFD Sender: No OFD packet to send [05:41:24]OFD Sender: No OFD packet to send [05:41:29]OFD Sender: No OFD packet to send [05:41:34]OFD Sender: No OFD packet to send [05:41:39]OFD Sender: No OFD packet to send [05:41:44]OFD Sender: No OFD packet to send [05:41:49]OFD Sender: No OFD packet to send [05:41:54]OFD Sender: No OFD packet to send [05:41:59]OFD Sender: No OFD packet to send [05:42:04]OFD Sender: No OFD packet to send [05:42:09]OFD Sender: No OFD packet to send [05:42:14]OFD Sender: No OFD packet to send [05:42:19]OFD Sender: No OFD packet to send [05:42:24]OFD Sender: No OFD packet to send [05:42:29]OFD Sender: No OFD packet to send [05:42:34]OFD Sender: No OFD packet to send [05:42:39]OFD Sender: No OFD packet to send [05:42:44]OFD Sender: No OFD packet to send [05:42:49]OFD Sender: No OFD packet to send [05:42:54]OFD Sender: No OFD packet to send [05:42:59]OFD Sender: No OFD packet to send [05:43:04]OFD Sender: No OFD packet to send [05:43:09]OFD Sender: No OFD packet to send [05:43:14]OFD Sender: No OFD packet to send [05:43:19]OFD Sender: No OFD packet to send [05:43:24]OFD Sender: No OFD packet to send [05:43:29]OFD Sender: No OFD packet to send [05:43:34]OFD Sender: No OFD packet to send [05:43:39]OFD Sender: No OFD packet to send [05:43:44]OFD Sender: No OFD packet to send [05:43:49]OFD Sender: No OFD packet to send [05:43:54]OFD Sender: No OFD packet to send [05:43:59]OFD Sender: No OFD packet to send [05:44:04]OFD Sender: No OFD packet to send [05:44:09]OFD Sender: No OFD packet to send [05:44:14]OFD Sender: No OFD packet to send [05:44:19]OFD Sender: No OFD packet to send [05:44:24]OFD Sender: No OFD packet to send [05:44:29]OFD Sender: No OFD packet to send [05:44:34]OFD Sender: No OFD packet to send [05:44:39]OFD Sender: No OFD packet to send [05:44:44]OFD Sender: No OFD packet to send [05:44:49]OFD Sender: No OFD packet to send [05:44:54]OFD Sender: No OFD packet to send [05:44:59]OFD Sender: No OFD packet to send [05:45:04]OFD Sender: No OFD packet to send [05:45:09]OFD Sender: No OFD packet to send [05:45:14]OFD Sender: No OFD packet to send [05:45:19]OFD Sender: No OFD packet to send [05:45:24]OFD Sender: No OFD packet to send [05:45:29]OFD Sender: No OFD packet to send [05:45:35]OFD Sender: No OFD packet to send [05:45:40]OFD Sender: No OFD packet to send [05:45:45]OFD Sender: No OFD packet to send [05:45:50]OFD Sender: No OFD packet to send [05:45:55]OFD Sender: No OFD packet to send [05:46:00]OFD Sender: No OFD packet to send [05:46:05]OFD Sender: No OFD packet to send [05:46:10]OFD Sender: No OFD packet to send [05:46:15]OFD Sender: No OFD packet to send [05:46:20]OFD Sender: No OFD packet to send [05:46:25]OFD Sender: No OFD packet to send [05:46:30]OFD Sender: No OFD packet to send [05:46:35]OFD Sender: No OFD packet to send [05:46:40]OFD Sender: No OFD packet to send [05:46:45]OFD Sender: No OFD packet to send [05:46:50]OFD Sender: No OFD packet to send [05:46:55]OFD Sender: No OFD packet to send [05:47:00]OFD Sender: No OFD packet to send [05:47:05]OFD Sender: No OFD packet to send [05:47:10]OFD Sender: No OFD packet to send [05:47:15]OFD Sender: No OFD packet to send [05:47:20]OFD Sender: No OFD packet to send [05:47:25]OFD Sender: No OFD packet to send [05:47:30]OFD Sender: No OFD packet to send [05:47:35]OFD Sender: No OFD packet to send [05:47:40]OFD Sender: No OFD packet to send [05:47:45]OFD Sender: No OFD packet to send [05:47:50]OFD Sender: No OFD packet to send [05:47:55]OFD Sender: No OFD packet to send [05:48:00]OFD Sender: No OFD packet to send [05:48:05]OFD Sender: No OFD packet to send [05:48:10]OFD Sender: No OFD packet to send [05:48:15]OFD Sender: No OFD packet to send [05:48:20]OFD Sender: No OFD packet to send [05:48:25]OFD Sender: No OFD packet to send [05:48:30]OFD Sender: No OFD packet to send [05:48:35]OFD Sender: No OFD packet to send [05:48:40]OFD Sender: No OFD packet to send [05:48:45]OFD Sender: No OFD packet to send [05:48:50]OFD Sender: No OFD packet to send [05:48:55]OFD Sender: No OFD packet to send [05:49:00]OFD Sender: No OFD packet to send [05:49:05]OFD Sender: No OFD packet to send [05:49:10]OFD Sender: No OFD packet to send [05:49:15]OFD Sender: No OFD packet to send [05:49:20]OFD Sender: No OFD packet to send [05:49:25]OFD Sender: No OFD packet to send [05:49:30]OFD Sender: No OFD packet to send [05:49:35]OFD Sender: No OFD packet to send [05:49:40]OFD Sender: No OFD packet to send [05:49:45]OFD Sender: No OFD packet to send [05:49:50]OFD Sender: No OFD packet to send [05:49:55]OFD Sender: No OFD packet to send [05:50:00]OFD Sender: No OFD packet to send [05:50:05]OFD Sender: No OFD packet to send [05:50:10]OFD Sender: No OFD packet to send [05:50:15]OFD Sender: No OFD packet to send [05:50:20]OFD Sender: No OFD packet to send [05:50:25]OFD Sender: No OFD packet to send [05:50:30]OFD Sender: No OFD packet to send [05:50:35]OFD Sender: No OFD packet to send [05:50:40]OFD Sender: No OFD packet to send [05:50:45]OFD Sender: No OFD packet to send [05:50:50]OFD Sender: No OFD packet to send [05:50:55]OFD Sender: No OFD packet to send [05:51:00]OFD Sender: No OFD packet to send [05:51:05]OFD Sender: No OFD packet to send [05:51:10]OFD Sender: No OFD packet to send [05:51:15]OFD Sender: No OFD packet to send [05:51:20]OFD Sender: No OFD packet to send [05:51:25]OFD Sender: No OFD packet to send [05:51:30]OFD Sender: No OFD packet to send [05:51:35]OFD Sender: No OFD packet to send [05:51:40]OFD Sender: No OFD packet to send [05:51:45]OFD Sender: No OFD packet to send [05:51:50]OFD Sender: No OFD packet to send [05:51:55]OFD Sender: No OFD packet to send [05:52:00]OFD Sender: No OFD packet to send [05:52:05]OFD Sender: No OFD packet to send [05:52:10]OFD Sender: No OFD packet to send [05:52:15]OFD Sender: No OFD packet to send [05:52:20]OFD Sender: No OFD packet to send [05:52:25]OFD Sender: No OFD packet to send [05:52:30]OFD Sender: No OFD packet to send [05:52:35]OFD Sender: No OFD packet to send [05:52:40]OFD Sender: No OFD packet to send [05:52:45]OFD Sender: No OFD packet to send [05:52:50]OFD Sender: No OFD packet to send [05:52:55]OFD Sender: No OFD packet to send [05:53:00]OFD Sender: No OFD packet to send [05:53:05]OFD Sender: No OFD packet to send [05:53:10]OFD Sender: No OFD packet to send [05:53:15]OFD Sender: No OFD packet to send [05:53:20]OFD Sender: No OFD packet to send [05:53:25]OFD Sender: No OFD packet to send [05:53:30]OFD Sender: No OFD packet to send [05:53:35]OFD Sender: No OFD packet to send [05:53:40]OFD Sender: No OFD packet to send [05:53:45]OFD Sender: No OFD packet to send [05:53:50]OFD Sender: No OFD packet to send [05:53:55]OFD Sender: No OFD packet to send [05:54:00]OFD Sender: No OFD packet to send [05:54:05]OFD Sender: No OFD packet to send [05:54:10]OFD Sender: No OFD packet to send [05:54:15]OFD Sender: No OFD packet to send [05:54:20]OFD Sender: No OFD packet to send [05:54:25]OFD Sender: No OFD packet to send [05:54:30]OFD Sender: No OFD packet to send [05:54:35]OFD Sender: No OFD packet to send [05:54:40]OFD Sender: No OFD packet to send [05:54:45]OFD Sender: No OFD packet to send [05:54:50]OFD Sender: No OFD packet to send [05:54:55]OFD Sender: No OFD packet to send [05:55:00]OFD Sender: No OFD packet to send [05:55:05]OFD Sender: No OFD packet to send [05:55:10]OFD Sender: No OFD packet to send [05:55:15]OFD Sender: No OFD packet to send [05:55:20]OFD Sender: No OFD packet to send [05:55:25]OFD Sender: No OFD packet to send [05:55:30]OFD Sender: No OFD packet to send [05:55:35]OFD Sender: No OFD packet to send [05:55:40]OFD Sender: No OFD packet to send [05:55:45]OFD Sender: No OFD packet to send [05:55:50]OFD Sender: No OFD packet to send [05:55:55]OFD Sender: No OFD packet to send [05:56:00]OFD Sender: No OFD packet to send [05:56:05]OFD Sender: No OFD packet to send [05:56:10]OFD Sender: No OFD packet to send [05:56:15]OFD Sender: No OFD packet to send [05:56:20]OFD Sender: No OFD packet to send [05:56:25]OFD Sender: No OFD packet to send [05:56:30]OFD Sender: No OFD packet to send [05:56:35]OFD Sender: No OFD packet to send [05:56:40]OFD Sender: No OFD packet to send [05:56:45]OFD Sender: No OFD packet to send [05:56:50]OFD Sender: No OFD packet to send [05:56:55]OFD Sender: No OFD packet to send [05:57:00]OFD Sender: No OFD packet to send [05:57:05]OFD Sender: No OFD packet to send [05:57:10]OFD Sender: No OFD packet to send [05:57:15]OFD Sender: No OFD packet to send [05:57:20]OFD Sender: No OFD packet to send [05:57:25]OFD Sender: No OFD packet to send [05:57:30]OFD Sender: No OFD packet to send [05:57:35]OFD Sender: No OFD packet to send [05:57:40]OFD Sender: No OFD packet to send [05:57:45]OFD Sender: No OFD packet to send [05:57:50]OFD Sender: No OFD packet to send [05:57:55]OFD Sender: No OFD packet to send [05:58:00]OFD Sender: No OFD packet to send [05:58:05]OFD Sender: No OFD packet to send [05:58:10]OFD Sender: No OFD packet to send [05:58:15]OFD Sender: No OFD packet to send [05:58:20]OFD Sender: No OFD packet to send [05:58:25]OFD Sender: No OFD packet to send [05:58:30]OFD Sender: No OFD packet to send [05:58:35]OFD Sender: No OFD packet to send [05:58:40]OFD Sender: No OFD packet to send [05:58:45]OFD Sender: No OFD packet to send [05:58:50]OFD Sender: No OFD packet to send [05:58:55]OFD Sender: No OFD packet to send [05:59:00]OFD Sender: No OFD packet to send [05:59:05]OFD Sender: No OFD packet to send [05:59:10]OFD Sender: No OFD packet to send [05:59:15]OFD Sender: No OFD packet to send [05:59:20]OFD Sender: No OFD packet to send [05:59:25]OFD Sender: No OFD packet to send [05:59:30]OFD Sender: No OFD packet to send [05:59:35]OFD Sender: No OFD packet to send [05:59:40]OFD Sender: No OFD packet to send [05:59:45]OFD Sender: No OFD packet to send [05:59:50]OFD Sender: No OFD packet to send [05:59:55]OFD Sender: No OFD packet to send [06:00:00]OFD Sender: No OFD packet to send [06:00:05]OFD Sender: No OFD packet to send [06:00:10]OFD Sender: No OFD packet to send [06:00:15]OFD Sender: No OFD packet to send [06:00:20]OFD Sender: No OFD packet to send [06:00:25]OFD Sender: No OFD packet to send [06:00:30]OFD Sender: No OFD packet to send [06:00:35]OFD Sender: No OFD packet to send [06:00:40]OFD Sender: No OFD packet to send [06:00:45]OFD Sender: No OFD packet to send [06:00:50]OFD Sender: No OFD packet to send [06:00:55]OFD Sender: No OFD packet to send [06:01:00]OFD Sender: No OFD packet to send [06:01:05]OFD Sender: No OFD packet to send [06:01:10]OFD Sender: No OFD packet to send [06:01:15]OFD Sender: No OFD packet to send [06:01:20]OFD Sender: No OFD packet to send [06:01:25]OFD Sender: No OFD packet to send [06:01:30]OFD Sender: No OFD packet to send [06:01:35]OFD Sender: No OFD packet to send [06:01:40]OFD Sender: No OFD packet to send [06:01:45]OFD Sender: No OFD packet to send [06:01:50]OFD Sender: No OFD packet to send [06:01:55]OFD Sender: No OFD packet to send [06:02:00]OFD Sender: No OFD packet to send [06:02:05]OFD Sender: No OFD packet to send [06:02:10]OFD Sender: No OFD packet to send [06:02:15]OFD Sender: No OFD packet to send [06:02:20]OFD Sender: No OFD packet to send [06:02:25]OFD Sender: No OFD packet to send [06:02:30]OFD Sender: No OFD packet to send [06:02:35]OFD Sender: No OFD packet to send [06:02:40]OFD Sender: No OFD packet to send [06:02:45]OFD Sender: No OFD packet to send [06:02:50]OFD Sender: No OFD packet to send [06:02:55]OFD Sender: No OFD packet to send [06:03:00]OFD Sender: No OFD packet to send [06:03:05]OFD Sender: No OFD packet to send [06:03:10]OFD Sender: No OFD packet to send [06:03:15]OFD Sender: No OFD packet to send [06:03:20]OFD Sender: No OFD packet to send [06:03:25]OFD Sender: No OFD packet to send [06:03:30]OFD Sender: No OFD packet to send [06:03:35]OFD Sender: No OFD packet to send [06:03:40]OFD Sender: No OFD packet to send [06:03:45]OFD Sender: No OFD packet to send [06:03:50]OFD Sender: No OFD packet to send [06:03:55]OFD Sender: No OFD packet to send [06:04:00]OFD Sender: No OFD packet to send [06:04:05]OFD Sender: No OFD packet to send [06:04:10]OFD Sender: No OFD packet to send [06:04:15]OFD Sender: No OFD packet to send [06:04:20]OFD Sender: No OFD packet to send [06:04:25]OFD Sender: No OFD packet to send [06:04:30]OFD Sender: No OFD packet to send [06:04:35]OFD Sender: No OFD packet to send [06:04:40]OFD Sender: No OFD packet to send [06:04:45]OFD Sender: No OFD packet to send [06:04:50]OFD Sender: No OFD packet to send [06:04:55]OFD Sender: No OFD packet to send [06:05:00]OFD Sender: No OFD packet to send [06:05:05]OFD Sender: No OFD packet to send [06:05:10]OFD Sender: No OFD packet to send [06:05:15]OFD Sender: No OFD packet to send [06:05:20]OFD Sender: No OFD packet to send [06:05:25]OFD Sender: No OFD packet to send [06:05:30]OFD Sender: No OFD packet to send [06:05:35]OFD Sender: No OFD packet to send [06:05:40]OFD Sender: No OFD packet to send [06:05:45]OFD Sender: No OFD packet to send [06:05:50]OFD Sender: No OFD packet to send [06:05:55]OFD Sender: No OFD packet to send [06:06:00]OFD Sender: No OFD packet to send [06:06:05]OFD Sender: No OFD packet to send [06:06:10]OFD Sender: No OFD packet to send [06:06:15]OFD Sender: No OFD packet to send [06:06:20]OFD Sender: No OFD packet to send [06:06:25]OFD Sender: No OFD packet to send [06:06:30]OFD Sender: No OFD packet to send [06:06:35]OFD Sender: No OFD packet to send [06:06:40]OFD Sender: No OFD packet to send [06:06:45]OFD Sender: No OFD packet to send [06:06:51]OFD Sender: No OFD packet to send [06:06:56]OFD Sender: No OFD packet to send [06:07:01]OFD Sender: No OFD packet to send [06:07:06]OFD Sender: No OFD packet to send [06:07:11]OFD Sender: No OFD packet to send [06:07:16]OFD Sender: No OFD packet to send [06:07:21]OFD Sender: No OFD packet to send [06:07:26]OFD Sender: No OFD packet to send [06:07:31]OFD Sender: No OFD packet to send [06:07:36]OFD Sender: No OFD packet to send [06:07:41]OFD Sender: No OFD packet to send [06:07:46]OFD Sender: No OFD packet to send [06:07:51]OFD Sender: No OFD packet to send [06:07:56]OFD Sender: No OFD packet to send [06:08:01]OFD Sender: No OFD packet to send [06:08:06]OFD Sender: No OFD packet to send [06:08:11]OFD Sender: No OFD packet to send [06:08:16]OFD Sender: No OFD packet to send [06:08:21]OFD Sender: No OFD packet to send [06:08:26]OFD Sender: No OFD packet to send [06:08:31]OFD Sender: No OFD packet to send [06:08:36]OFD Sender: No OFD packet to send [06:08:41]OFD Sender: No OFD packet to send [06:08:46]OFD Sender: No OFD packet to send [06:08:51]OFD Sender: No OFD packet to send [06:08:56]OFD Sender: No OFD packet to send [06:09:01]OFD Sender: No OFD packet to send [06:09:06]OFD Sender: No OFD packet to send [06:09:11]OFD Sender: No OFD packet to send [06:09:16]OFD Sender: No OFD packet to send [06:09:21]OFD Sender: No OFD packet to send [06:09:26]OFD Sender: No OFD packet to send [06:09:31]OFD Sender: No OFD packet to send [06:09:36]OFD Sender: No OFD packet to send [06:09:41]OFD Sender: No OFD packet to send [06:09:46]OFD Sender: No OFD packet to send [06:09:51]OFD Sender: No OFD packet to send [06:09:56]OFD Sender: No OFD packet to send [06:10:01]OFD Sender: No OFD packet to send [06:10:06]OFD Sender: No OFD packet to send [06:10:11]OFD Sender: No OFD packet to send [06:10:16]OFD Sender: No OFD packet to send [06:10:21]OFD Sender: No OFD packet to send [06:10:26]OFD Sender: No OFD packet to send [06:10:31]OFD Sender: No OFD packet to send [06:10:36]OFD Sender: No OFD packet to send [06:10:41]OFD Sender: No OFD packet to send [06:10:46]OFD Sender: No OFD packet to send [06:10:51]OFD Sender: No OFD packet to send [06:10:56]OFD Sender: No OFD packet to send [06:11:01]OFD Sender: No OFD packet to send [06:11:06]OFD Sender: No OFD packet to send [06:11:11]OFD Sender: No OFD packet to send [06:11:16]OFD Sender: No OFD packet to send [06:11:21]OFD Sender: No OFD packet to send [06:11:26]OFD Sender: No OFD packet to send [06:11:31]OFD Sender: No OFD packet to send [06:11:36]OFD Sender: No OFD packet to send [06:11:41]OFD Sender: No OFD packet to send [06:11:46]OFD Sender: No OFD packet to send [06:11:51]OFD Sender: No OFD packet to send [06:11:56]OFD Sender: No OFD packet to send [06:12:01]OFD Sender: No OFD packet to send [06:12:06]OFD Sender: No OFD packet to send [06:12:11]OFD Sender: No OFD packet to send [06:12:16]OFD Sender: No OFD packet to send [06:12:21]OFD Sender: No OFD packet to send [06:12:26]OFD Sender: No OFD packet to send [06:12:31]OFD Sender: No OFD packet to send [06:12:36]OFD Sender: No OFD packet to send [06:12:41]OFD Sender: No OFD packet to send [06:12:46]OFD Sender: No OFD packet to send [06:12:51]OFD Sender: No OFD packet to send [06:12:56]OFD Sender: No OFD packet to send [06:13:01]OFD Sender: No OFD packet to send [06:13:06]OFD Sender: No OFD packet to send [06:13:11]OFD Sender: No OFD packet to send [06:13:16]OFD Sender: No OFD packet to send [06:13:21]OFD Sender: No OFD packet to send [06:13:26]OFD Sender: No OFD packet to send [06:13:31]OFD Sender: No OFD packet to send [06:13:36]OFD Sender: No OFD packet to send [06:13:41]OFD Sender: No OFD packet to send [06:13:46]OFD Sender: No OFD packet to send [06:13:51]OFD Sender: No OFD packet to send [06:13:56]OFD Sender: No OFD packet to send [06:14:01]OFD Sender: No OFD packet to send [06:14:06]OFD Sender: No OFD packet to send [06:14:11]OFD Sender: No OFD packet to send [06:14:16]OFD Sender: No OFD packet to send [06:14:21]OFD Sender: No OFD packet to send [06:14:26]OFD Sender: No OFD packet to send [06:14:31]OFD Sender: No OFD packet to send [06:14:36]OFD Sender: No OFD packet to send [06:14:41]OFD Sender: No OFD packet to send [06:14:46]OFD Sender: No OFD packet to send [06:14:51]OFD Sender: No OFD packet to send [06:14:56]OFD Sender: No OFD packet to send [06:15:01]OFD Sender: No OFD packet to send [06:15:06]OFD Sender: No OFD packet to send [06:15:11]OFD Sender: No OFD packet to send [06:15:16]OFD Sender: No OFD packet to send [06:15:21]OFD Sender: No OFD packet to send [06:15:26]OFD Sender: No OFD packet to send [06:15:31]OFD Sender: No OFD packet to send [06:15:36]OFD Sender: No OFD packet to send [06:15:41]OFD Sender: No OFD packet to send [06:15:46]OFD Sender: No OFD packet to send [06:15:51]OFD Sender: No OFD packet to send [06:15:56]OFD Sender: No OFD packet to send [06:16:01]OFD Sender: No OFD packet to send [06:16:06]OFD Sender: No OFD packet to send [06:16:11]OFD Sender: No OFD packet to send [06:16:16]OFD Sender: No OFD packet to send [06:16:21]OFD Sender: No OFD packet to send [06:16:26]OFD Sender: No OFD packet to send [06:16:31]OFD Sender: No OFD packet to send [06:16:36]OFD Sender: No OFD packet to send [06:16:41]OFD Sender: No OFD packet to send [06:16:46]OFD Sender: No OFD packet to send [06:16:51]OFD Sender: No OFD packet to send [06:16:56]OFD Sender: No OFD packet to send [06:17:01]OFD Sender: No OFD packet to send [06:17:06]OFD Sender: No OFD packet to send [06:17:11]OFD Sender: No OFD packet to send [06:17:16]OFD Sender: No OFD packet to send [06:17:21]OFD Sender: No OFD packet to send [06:17:26]OFD Sender: No OFD packet to send [06:17:31]OFD Sender: No OFD packet to send [06:17:36]OFD Sender: No OFD packet to send [06:17:41]OFD Sender: No OFD packet to send [06:17:46]OFD Sender: No OFD packet to send [06:17:51]OFD Sender: No OFD packet to send [06:17:56]OFD Sender: No OFD packet to send [06:18:01]OFD Sender: No OFD packet to send [06:18:06]OFD Sender: No OFD packet to send [06:18:11]OFD Sender: No OFD packet to send [06:18:16]OFD Sender: No OFD packet to send [06:18:21]OFD Sender: No OFD packet to send [06:18:26]OFD Sender: No OFD packet to send [06:18:31]OFD Sender: No OFD packet to send [06:18:36]OFD Sender: No OFD packet to send [06:18:41]OFD Sender: No OFD packet to send [06:18:46]OFD Sender: No OFD packet to send [06:18:51]OFD Sender: No OFD packet to send [06:18:56]OFD Sender: No OFD packet to send [06:19:01]OFD Sender: No OFD packet to send [06:19:06]OFD Sender: No OFD packet to send [06:19:11]OFD Sender: No OFD packet to send [06:19:16]OFD Sender: No OFD packet to send [06:19:21]OFD Sender: No OFD packet to send [06:19:26]OFD Sender: No OFD packet to send [06:19:31]OFD Sender: No OFD packet to send [06:19:36]OFD Sender: No OFD packet to send [06:19:41]OFD Sender: No OFD packet to send [06:19:46]OFD Sender: No OFD packet to send [06:19:51]OFD Sender: No OFD packet to send [06:19:56]OFD Sender: No OFD packet to send [06:20:01]OFD Sender: No OFD packet to send [06:20:06]OFD Sender: No OFD packet to send [06:20:11]OFD Sender: No OFD packet to send [06:20:16]OFD Sender: No OFD packet to send [06:20:21]OFD Sender: No OFD packet to send [06:20:26]OFD Sender: No OFD packet to send [06:20:31]OFD Sender: No OFD packet to send [06:20:36]OFD Sender: No OFD packet to send [06:20:41]OFD Sender: No OFD packet to send [06:20:46]OFD Sender: No OFD packet to send [06:20:51]OFD Sender: No OFD packet to send [06:20:56]OFD Sender: No OFD packet to send [06:21:01]OFD Sender: No OFD packet to send [06:21:06]OFD Sender: No OFD packet to send [06:21:11]OFD Sender: No OFD packet to send [06:21:16]OFD Sender: No OFD packet to send [06:21:21]OFD Sender: No OFD packet to send [06:21:26]OFD Sender: No OFD packet to send [06:21:31]OFD Sender: No OFD packet to send [06:21:36]OFD Sender: No OFD packet to send [06:21:41]OFD Sender: No OFD packet to send [06:21:46]OFD Sender: No OFD packet to send [06:21: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:06]OFD Sender: No OFD packet to send [06:23:11]OFD Sender: No OFD packet to send [06:23:16]OFD Sender: No OFD packet to send [06:23:21]OFD Sender: No OFD packet to send [06:23:26]OFD Sender: No OFD packet to send [06:23:31]OFD Sender: No OFD packet to send [06:23:36]OFD Sender: No OFD packet to send [06:23:41]OFD Sender: No OFD packet to send [06:23:46]OFD Sender: No OFD packet to send [06:23:51]OFD Sender: No OFD packet to send [06:23:56]OFD Sender: No OFD packet to send [06:24:01]OFD Sender: No OFD packet to send [06:24:06]OFD Sender: No OFD packet to send [06:24:11]OFD Sender: No OFD packet to send [06:24:16]OFD Sender: No OFD packet to send [06:24:21]OFD Sender: No OFD packet to send [06:24:26]OFD Sender: No OFD packet to send [06:24:31]OFD Sender: No OFD packet to send [06:24:36]OFD Sender: No OFD packet to send [06:24:41]OFD Sender: No OFD packet to send [06:24:46]OFD Sender: No OFD packet to send [06:24:51]OFD Sender: No OFD packet to send [06:24:56]OFD Sender: No OFD packet to send [06:25:01]OFD Sender: No OFD packet to send [06:25:06]OFD Sender: No OFD packet to send [06:25:11]OFD Sender: No OFD packet to send [06:25:16]OFD Sender: No OFD packet to send [06:25:21]OFD Sender: No OFD packet to send [06:25:26]OFD Sender: No OFD packet to send [06:25:31]OFD Sender: No OFD packet to send [06:25:36]OFD Sender: No OFD packet to send [06:25:41]OFD Sender: No OFD packet to send [06:25:46]OFD Sender: No OFD packet to send [06:25:51]OFD Sender: No OFD packet to send [06:25:56]OFD Sender: No OFD packet to send [06:26:01]OFD Sender: No OFD packet to send [06:26:06]OFD Sender: No OFD packet to send [06:26:11]OFD Sender: No OFD packet to send [06:26:16]OFD Sender: No OFD packet to send [06:26:21]OFD Sender: No OFD packet to send [06:26:26]OFD Sender: No OFD packet to send [06:26:31]OFD Sender: No OFD packet to send [06:26:36]OFD Sender: No OFD packet to send [06:26:41]OFD Sender: No OFD packet to send [06:26:46]OFD Sender: No OFD packet to send [06:26:51]OFD Sender: No OFD packet to send [06:26:56]OFD Sender: No OFD packet to send [06:27:01]OFD Sender: No OFD packet to send [06:27:06]OFD Sender: No OFD packet to send [06:27:11]OFD Sender: No OFD packet to send [06:27:16]OFD Sender: No OFD packet to send [06:27:21]OFD Sender: No OFD packet to send [06:27:26]OFD Sender: No OFD packet to send [06:27:31]OFD Sender: No OFD packet to send [06:27:36]OFD Sender: No OFD packet to send [06:27:41]OFD Sender: No OFD packet to send [06:27:46]OFD Sender: No OFD packet to send [06:27:51]OFD Sender: No OFD packet to send [06:27:56]OFD Sender: No OFD packet to send [06:28:01]OFD Sender: No OFD packet to send [06:28:06]OFD Sender: No OFD packet to send [06:28:12]OFD Sender: No OFD packet to send [06:28:17]OFD Sender: No OFD packet to send [06:28:22]OFD Sender: No OFD packet to send [06:28:27]OFD Sender: No OFD packet to send [06:28:32]OFD Sender: No OFD packet to send [06:28:37]OFD Sender: No OFD packet to send [06:28:42]OFD Sender: No OFD packet to send [06:28:47]OFD Sender: No OFD packet to send [06:28:52]OFD Sender: No OFD packet to send [06:28:57]OFD Sender: No OFD packet to send [06:29:02]OFD Sender: No OFD packet to send [06:29:07]OFD Sender: No OFD packet to send [06:29:12]OFD Sender: No OFD packet to send [06:29:17]OFD Sender: No OFD packet to send [06:29:22]OFD Sender: No OFD packet to send [06:29:27]OFD Sender: No OFD packet to send [06:29:32]OFD Sender: No OFD packet to send [06:29:37]OFD Sender: No OFD packet to send [06:29:42]OFD Sender: No OFD packet to send [06:29:47]OFD Sender: No OFD packet to send [06:29:52]OFD Sender: No OFD packet to send [06:29:57]OFD Sender: No OFD packet to send [06:30:02]OFD Sender: No OFD packet to send [06:30:07]OFD Sender: No OFD packet to send [06:30:12]OFD Sender: No OFD packet to send [06:30:17]OFD Sender: No OFD packet to send [06:30:22]OFD Sender: No OFD packet to send [06:30:27]OFD Sender: No OFD packet to send [06:30:32]OFD Sender: No OFD packet to send [06:30:37]OFD Sender: No OFD packet to send [06:30:42]OFD Sender: No OFD packet to send [06:30:47]OFD Sender: No OFD packet to send [06:30:52]OFD Sender: No OFD packet to send [06:30:57]OFD Sender: No OFD packet to send [06:31:02]OFD Sender: No OFD packet to send [06:31:07]OFD Sender: No OFD packet to send [06:31:12]OFD Sender: No OFD packet to send [06:31:17]OFD Sender: No OFD packet to send [06:31:22]OFD Sender: No OFD packet to send [06:31:27]OFD Sender: No OFD packet to send [06:31:32]OFD Sender: No OFD packet to send [06:31:37]OFD Sender: No OFD packet to send [06:31:42]OFD Sender: No OFD packet to send [06:31:47]OFD Sender: No OFD packet to send [06:31:52]OFD Sender: No OFD packet to send [06:31:57]OFD Sender: No OFD packet to send [06:32:02]OFD Sender: No OFD packet to send [06:32:07]OFD Sender: No OFD packet to send [06:32:12]OFD Sender: No OFD packet to send [06:32:17]OFD Sender: No OFD packet to send [06:32:22]OFD Sender: No OFD packet to send [06:32:27]OFD Sender: No OFD packet to send [06:32:32]OFD Sender: No OFD packet to send [06:32:37]OFD Sender: No OFD packet to send [06:32:42]OFD Sender: No OFD packet to send [06:32:47]OFD Sender: No OFD packet to send [06:32:52]OFD Sender: No OFD packet to send [06:32:57]OFD Sender: No OFD packet to send [06:33:02]OFD Sender: No OFD packet to send [06:33:07]OFD Sender: No OFD packet to send [06:33:12]OFD Sender: No OFD packet to send [06:33:17]OFD Sender: No OFD packet to send [06:33:22]OFD Sender: No OFD packet to send [06:33:27]OFD Sender: No OFD packet to send [06:33:32]OFD Sender: No OFD packet to send [06:33:37]OFD Sender: No OFD packet to send [06:33:42]OFD Sender: No OFD packet to send [06:33:47]OFD Sender: No OFD packet to send [06:33:52]OFD Sender: No OFD packet to send [06:33:57]OFD Sender: No OFD packet to send [06:34:02]OFD Sender: No OFD packet to send [06:34:07]OFD Sender: No OFD packet to send [06:34:12]OFD Sender: No OFD packet to send [06:34:17]OFD Sender: No OFD packet to send [06:34:22]OFD Sender: No OFD packet to send [06:34:27]OFD Sender: No OFD packet to send [06:34:32]OFD Sender: No OFD packet to send [06:34:37]OFD Sender: No OFD packet to send [06:34:42]OFD Sender: No OFD packet to send [06:34:47]OFD Sender: No OFD packet to send [06:34:52]OFD Sender: No OFD packet to send [06:34:57]OFD Sender: No OFD packet to send [06:35:02]OFD Sender: No OFD packet to send [06:35:07]OFD Sender: No OFD packet to send [06:35:12]OFD Sender: No OFD packet to send [06:35:17]OFD Sender: No OFD packet to send [06:35:22]OFD Sender: No OFD packet to send [06:35:27]OFD Sender: No OFD packet to send [06:35:32]OFD Sender: No OFD packet to send [06:35:37]OFD Sender: No OFD packet to send [06:35:42]OFD Sender: No OFD packet to send [06:35:47]OFD Sender: No OFD packet to send [06:35:52]OFD Sender: No OFD packet to send [06:35:57]OFD Sender: No OFD packet to send [06:36:02]OFD Sender: No OFD packet to send [06:36:07]OFD Sender: No OFD packet to send [06:36:12]OFD Sender: No OFD packet to send [06:36:17]OFD Sender: No OFD packet to send [06:36:22]OFD Sender: No OFD packet to send [06:36:27]OFD Sender: No OFD packet to send [06:36:32]OFD Sender: No OFD packet to send [06:36:37]OFD Sender: No OFD packet to send [06:36:42]OFD Sender: No OFD packet to send [06:36:47]OFD Sender: No OFD packet to send [06:36:52]OFD Sender: No OFD packet to send [06:36:57]OFD Sender: No OFD packet to send [06:37:02]OFD Sender: No OFD packet to send [06:37:07]OFD Sender: No OFD packet to send [06:37:12]OFD Sender: No OFD packet to send [06:37:17]OFD Sender: No OFD packet to send [06:37:22]OFD Sender: No OFD packet to send [06:37:27]OFD Sender: No OFD packet to send [06:37:32]OFD Sender: No OFD packet to send [06:37:37]OFD Sender: No OFD packet to send [06:37:42]OFD Sender: No OFD packet to send [06:37:47]OFD Sender: No OFD packet to send [06:37:52]OFD Sender: No OFD packet to send [06:37:57]OFD Sender: No OFD packet to send [06:38:02]OFD Sender: No OFD packet to send [06:38:07]OFD Sender: No OFD packet to send [06:38:12]OFD Sender: No OFD packet to send [06:38:17]OFD Sender: No OFD packet to send [06:38:22]OFD Sender: No OFD packet to send [06:38:27]OFD Sender: No OFD packet to send [06:38:32]OFD Sender: No OFD packet to send [06:38:37]OFD Sender: No OFD packet to send [06:38:42]OFD Sender: No OFD packet to send [06:38:47]OFD Sender: No OFD packet to send [06:38:52]OFD Sender: No OFD packet to send [06:38:57]OFD Sender: No OFD packet to send [06:39:02]OFD Sender: No OFD packet to send [06:39:07]OFD Sender: No OFD packet to send [06:39:12]OFD Sender: No OFD packet to send [06:39:17]OFD Sender: No OFD packet to send [06:39:22]OFD Sender: No OFD packet to send [06:39:27]OFD Sender: No OFD packet to send [06:39:32]OFD Sender: No OFD packet to send [06:39:37]OFD Sender: No OFD packet to send [06:39:42]OFD Sender: No OFD packet to send [06:39:47]OFD Sender: No OFD packet to send [06:39:52]OFD Sender: No OFD packet to send [06:39:57]OFD Sender: No OFD packet to send [06:40:02]OFD Sender: No OFD packet to send [06:40:07]OFD Sender: No OFD packet to send [06:40:12]OFD Sender: No OFD packet to send [06:40:17]OFD Sender: No OFD packet to send [06:40:22]OFD Sender: No OFD packet to send [06:40:27]OFD Sender: No OFD packet to send [06:40:32]OFD Sender: No OFD packet to send [06:40:37]OFD Sender: No OFD packet to send [06:40:42]OFD Sender: No OFD packet to send [06:40:47]OFD Sender: No OFD packet to send [06:40:52]OFD Sender: No OFD packet to send [06:40:57]OFD Sender: No OFD packet to send [06:41:02]OFD Sender: No OFD packet to send [06:41:07]OFD Sender: No OFD packet to send [06:41:12]OFD Sender: No OFD packet to send [06:41:17]OFD Sender: No OFD packet to send [06:41:22]OFD Sender: No OFD packet to send [06:41:27]OFD Sender: No OFD packet to send [06:41:32]OFD Sender: No OFD packet to send [06:41:37]OFD Sender: No OFD packet to send [06:41:42]OFD Sender: No OFD packet to send [06:41:47]OFD Sender: No OFD packet to send [06:41:52]OFD Sender: No OFD packet to send [06:41:57]OFD Sender: No OFD packet to send [06:42:02]OFD Sender: No OFD packet to send [06:42:07]OFD Sender: No OFD packet to send [06:42:12]OFD Sender: No OFD packet to send [06:42:17]OFD Sender: No OFD packet to send [06:42:22]OFD Sender: No OFD packet to send [06:42:27]OFD Sender: No OFD packet to send [06:42:32]OFD Sender: No OFD packet to send [06:42:37]OFD Sender: No OFD packet to send [06:42:42]OFD Sender: No OFD packet to send [06:42:47]OFD Sender: No OFD packet to send [06:42:52]OFD Sender: No OFD packet to send [06:42:57]OFD Sender: No OFD packet to send [06:43:02]OFD Sender: No OFD packet to send [06:43:07]OFD Sender: No OFD packet to send [06:43:12]OFD Sender: No OFD packet to send [06:43:17]OFD Sender: No OFD packet to send [06:43:22]OFD Sender: No OFD packet to send [06:43:27]OFD Sender: No OFD packet to send [06:43:32]OFD Sender: No OFD packet to send [06:43:37]OFD Sender: No OFD packet to send [06:43:42]OFD Sender: No OFD packet to send [06:43:47]OFD Sender: No OFD packet to send [06:43:52]OFD Sender: No OFD packet to send [06:43:57]OFD Sender: No OFD packet to send [06:44:02]OFD Sender: No OFD packet to send [06:44:07]OFD Sender: No OFD packet to send [06:44:12]OFD Sender: No OFD packet to send [06:44:17]OFD Sender: No OFD packet to send [06:44:22]OFD Sender: No OFD packet to send [06:44:27]OFD Sender: No OFD packet to send [06:44:32]OFD Sender: No OFD packet to send [06:44:37]OFD Sender: No OFD packet to send [06:44:42]OFD Sender: No OFD packet to send [06:44:47]OFD Sender: No OFD packet to send [06:44:52]OFD Sender: No OFD packet to send [06:44:57]OFD Sender: No OFD packet to send [06:45:02]OFD Sender: No OFD packet to send [06:45:07]OFD Sender: No OFD packet to send [06:45:12]OFD Sender: No OFD packet to send [06:45:17]OFD Sender: No OFD packet to send [06:45:22]OFD Sender: No OFD packet to send [06:45:27]OFD Sender: No OFD packet to send [06:45:32]OFD Sender: No OFD packet to send [06:45:37]OFD Sender: No OFD packet to send [06:45:42]OFD Sender: No OFD packet to send [06:45:47]OFD Sender: No OFD packet to send [06:45:52]OFD Sender: No OFD packet to send [06:45:57]OFD Sender: No OFD packet to send [06:46:02]OFD Sender: No OFD packet to send [06:46:07]OFD Sender: No OFD packet to send [06:46:12]OFD Sender: No OFD packet to send [06:46:17]OFD Sender: No OFD packet to send [06:46:22]OFD Sender: No OFD packet to send [06:46:27]OFD Sender: No OFD packet to send [06:46:32]OFD Sender: No OFD packet to send [06:46:37]OFD Sender: No OFD packet to send [06:46:42]OFD Sender: No OFD packet to send [06:46: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:43]OFD Sender: No OFD packet to send [06:49:48]OFD Sender: No OFD packet to send [06:49:53]OFD Sender: No OFD packet to send [06:49:58]OFD Sender: No OFD packet to send [06:50:03]OFD Sender: No OFD packet to send [06:50:08]OFD Sender: No OFD packet to send [06:50:13]OFD Sender: No OFD packet to send [06:50:18]OFD Sender: No OFD packet to send [06:50:23]OFD Sender: No OFD packet to send [06:50:28]OFD Sender: No OFD packet to send [06:50:33]OFD Sender: No OFD packet to send [06:50:38]OFD Sender: No OFD packet to send [06:50:43]OFD Sender: No OFD packet to send [06:50:48]OFD Sender: No OFD packet to send [06:50:53]OFD Sender: No OFD packet to send [06:50:58]OFD Sender: No OFD packet to send [06:51:03]OFD Sender: No OFD packet to send [06:51:08]OFD Sender: No OFD packet to send [06:51:13]OFD Sender: No OFD packet to send [06:51:18]OFD Sender: No OFD packet to send [06:51:23]OFD Sender: No OFD packet to send [06:51:28]OFD Sender: No OFD packet to send [06:51:33]OFD Sender: No OFD packet to send [06:51:38]OFD Sender: No OFD packet to send [06:51:43]OFD Sender: No OFD packet to send [06:51:48]OFD Sender: No OFD packet to send [06:51:53]OFD Sender: No OFD packet to send [06:51:58]OFD Sender: No OFD packet to send [06:52:03]OFD Sender: No OFD packet to send [06:52:08]OFD Sender: No OFD packet to send [06:52:13]OFD Sender: No OFD packet to send [06:52:18]OFD Sender: No OFD packet to send [06:52:23]OFD Sender: No OFD packet to send [06:52:28]OFD Sender: No OFD packet to send [06:52:33]OFD Sender: No OFD packet to send [06:52:38]OFD Sender: No OFD packet to send [06:52:43]OFD Sender: No OFD packet to send [06:52:48]OFD Sender: No OFD packet to send [06:52:53]OFD Sender: No OFD packet to send [06:52:58]OFD Sender: No OFD packet to send [06:53:03]OFD Sender: No OFD packet to send [06:53:08]OFD Sender: No OFD packet to send [06:53:13]OFD Sender: No OFD packet to send [06:53:18]OFD Sender: No OFD packet to send [06:53:23]OFD Sender: No OFD packet to send [06:53:28]OFD Sender: No OFD packet to send [06:53:33]OFD Sender: No OFD packet to send [06:53:38]OFD Sender: No OFD packet to send [06:53:43]OFD Sender: No OFD packet to send [06:53:48]OFD Sender: No OFD packet to send [06:53:53]OFD Sender: No OFD packet to send [06:53:58]OFD Sender: No OFD packet to send [06:54:03]OFD Sender: No OFD packet to send [06:54:08]OFD Sender: No OFD packet to send [06:54:13]OFD Sender: No OFD packet to send [06:54:18]OFD Sender: No OFD packet to send [06:54:23]OFD Sender: No OFD packet to send [06:54:28]OFD Sender: No OFD packet to send [06:54:33]OFD Sender: No OFD packet to send [06:54:38]OFD Sender: No OFD packet to send [06:54:43]OFD Sender: No OFD packet to send [06:54:48]OFD Sender: No OFD packet to send [06:54:53]OFD Sender: No OFD packet to send [06:54:58]OFD Sender: No OFD packet to send [06:55:03]OFD Sender: No OFD packet to send [06:55:08]OFD Sender: No OFD packet to send [06:55:13]OFD Sender: No OFD packet to send [06:55:18]OFD Sender: No OFD packet to send [06:55:23]OFD Sender: No OFD packet to send [06:55:28]OFD Sender: No OFD packet to send [06:55:33]OFD Sender: No OFD packet to send [06:55:38]OFD Sender: No OFD packet to send [06:55:43]OFD Sender: No OFD packet to send [06:55:48]OFD Sender: No OFD packet to send [06:55:53]OFD Sender: No OFD packet to send [06:55:58]OFD Sender: No OFD packet to send [06:56:03]OFD Sender: No OFD packet to send [06:56:08]OFD Sender: No OFD packet to send [06:56:13]OFD Sender: No OFD packet to send [06:56:18]OFD Sender: No OFD packet to send [06:56:23]OFD Sender: No OFD packet to send [06:56:28]OFD Sender: No OFD packet to send [06:56:33]OFD Sender: No OFD packet to send [06:56:38]OFD Sender: No OFD packet to send [06:56:43]OFD Sender: No OFD packet to send [06:56:48]OFD Sender: No OFD packet to send [06:56:53]OFD Sender: No OFD packet to send [06:56:58]OFD Sender: No OFD packet to send [06:57:03]OFD Sender: No OFD packet to send [06:57:08]OFD Sender: No OFD packet to send [06:57:13]OFD Sender: No OFD packet to send [06:57:18]OFD Sender: No OFD packet to send [06:57:23]OFD Sender: No OFD packet to send [06:57:28]OFD Sender: No OFD packet to send [06:57:33]OFD Sender: No OFD packet to send [06:57:38]OFD Sender: No OFD packet to send [06:57:43]OFD Sender: No OFD packet to send [06:57:48]OFD Sender: No OFD packet to send [06:57:53]OFD Sender: No OFD packet to send [06:57:58]OFD Sender: No OFD packet to send [06:58:03]OFD Sender: No OFD packet to send [06:58:08]OFD Sender: No OFD packet to send [06:58:13]OFD Sender: No OFD packet to send [06:58:18]OFD Sender: No OFD packet to send [06:58:23]OFD Sender: No OFD packet to send [06:58:28]OFD Sender: No OFD packet to send [06:58:33]OFD Sender: No OFD packet to send [06:58:38]OFD Sender: No OFD packet to send [06:58:43]OFD Sender: No OFD packet to send [06:58:48]OFD Sender: No OFD packet to send [06:58:53]OFD Sender: No OFD packet to send [06:58:58]OFD Sender: No OFD packet to send [06:59:03]OFD Sender: No OFD packet to send [06:59:08]OFD Sender: No OFD packet to send [06:59:13]OFD Sender: No OFD packet to send [06:59:18]OFD Sender: No OFD packet to send [06:59:23]OFD Sender: No OFD packet to send [06:59:28]OFD Sender: No OFD packet to send [06:59:33]OFD Sender: No OFD packet to send [06:59:38]OFD Sender: No OFD packet to send [06:59:43]OFD Sender: No OFD packet to send [06:59:48]OFD Sender: No OFD packet to send [06:59:53]OFD Sender: No OFD packet to send [06:59:58]OFD Sender: No OFD packet to send [07:00:03]OFD Sender: No OFD packet to send [07:00:08]OFD Sender: No OFD packet to send [07:00:13]OFD Sender: No OFD packet to send [07:00:18]OFD Sender: No OFD packet to send [07:00:23]OFD Sender: No OFD packet to send [07:00:28]OFD Sender: No OFD packet to send [07:00:33]OFD Sender: No OFD packet to send [07:00:38]OFD Sender: No OFD packet to send [07:00:43]OFD Sender: No OFD packet to send [07:00:48]OFD Sender: No OFD packet to send [07:00:53]OFD Sender: No OFD packet to send [07:00:58]OFD Sender: No OFD packet to send [07:01:03]OFD Sender: No OFD packet to send [07:01:08]OFD Sender: No OFD packet to send [07:01:13]OFD Sender: No OFD packet to send [07:01:18]OFD Sender: No OFD packet to send [07:01:23]OFD Sender: No OFD packet to send [07:01:28]OFD Sender: No OFD packet to send [07:01:33]OFD Sender: No OFD packet to send [07:01:38]OFD Sender: No OFD packet to send [07:01:43]OFD Sender: No OFD packet to send [07:01:48]OFD Sender: No OFD packet to send [07:01:53]OFD Sender: No OFD packet to send [07:01:58]OFD Sender: No OFD packet to send [07:02:03]OFD Sender: No OFD packet to send [07:02:08]OFD Sender: No OFD packet to send [07:02:13]OFD Sender: No OFD packet to send [07:02:18]OFD Sender: No OFD packet to send [07:02:23]OFD Sender: No OFD packet to send [07:02:28]OFD Sender: No OFD packet to send [07:02:33]OFD Sender: No OFD packet to send [07:02:38]OFD Sender: No OFD packet to send [07:02:43]OFD Sender: No OFD packet to send [07:02:48]OFD Sender: No OFD packet to send [07:02:53]OFD Sender: No OFD packet to send [07:02:58]OFD Sender: No OFD packet to send [07:03:03]OFD Sender: No OFD packet to send [07:03:08]OFD Sender: No OFD packet to send [07:03:13]OFD Sender: No OFD packet to send [07:03:18]OFD Sender: No OFD packet to send [07:03:23]OFD Sender: No OFD packet to send [07:03:28]OFD Sender: No OFD packet to send [07:03:33]OFD Sender: No OFD packet to send [07:03:38]OFD Sender: No OFD packet to send [07:03:43]OFD Sender: No OFD packet to send [07:03:48]OFD Sender: No OFD packet to send [07:03:53]OFD Sender: No OFD packet to send [07:03:58]OFD Sender: No OFD packet to send [07:04:03]OFD Sender: No OFD packet to send [07:04:08]OFD Sender: No OFD packet to send [07:04:13]OFD Sender: No OFD packet to send [07:04:18]OFD Sender: No OFD packet to send [07:04:23]OFD Sender: No OFD packet to send [07:04:28]OFD Sender: No OFD packet to send [07:04:33]OFD Sender: No OFD packet to send [07:04:38]OFD Sender: No OFD packet to send [07:04:43]OFD Sender: No OFD packet to send [07:04:48]OFD Sender: No OFD packet to send [07:04:53]OFD Sender: No OFD packet to send [07:04:58]OFD Sender: No OFD packet to send [07:05:03]OFD Sender: No OFD packet to send [07:05:08]OFD Sender: No OFD packet to send [07:05:13]OFD Sender: No OFD packet to send [07:05:18]OFD Sender: No OFD packet to send [07:05:23]OFD Sender: No OFD packet to send [07:05:28]OFD Sender: No OFD packet to send [07:05:33]OFD Sender: No OFD packet to send [07:05: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:44]accept exits with 8 [07:07:44]New connection [07:07:44]New thread 3066838372 created [07:07:44]Thread 3066695012 joined [07:07:44]Waiting for new connection... [07:07:44] Sock 8.Parse request [07:07:44]Sock 8.Check first char [07:07:44]Sock 8.First char is OK [07:07:44]request: POST /json_proto HTTP/1.0 [07:07:44]Method: POST [07:07:44]URL: /json_proto [07:07:44]Method is POST - this is cgi request [07:07:44]url: /json_proto [07:07:44]query_string will be loaded in cgi processing [07:07:44]execute_cgi json_proto POST (null) [07:07:44]execute_cgi path=json_proto method=POST [07:07:44]POST find Content-Length [07:07:44]Host: 172.17.62.6:8080 [07:07:44]Content-Length: 627 [07:07:44]Content-Type: application/json [07:07:44] [07:07:44]POST finish read [07:07:44]Found Content-Length = 627 [07:07:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32866", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:07:44]execute_script... [07:07:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32866", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:07:44]POST & json_proto [07:07:44]process_json_proto [07:07:44]json parsed OK: [07:07:44]protocol is kg_v1.0 [07:07:44]action value=close_receipt [07:07:44]process_action close_receipt [07:07:44]cmd_close_receipt [07:07:44]MH_GetDate [07:07:44]Write to MH i2c: F0 00 00 BB 0A B4 [07:07:44]Write i2c OK [07:07:44]MH_I2C_Read... [07:07:44]Read from MH i2c: F0 [07:07:44]MH_I2C_Read... [07:07:44]Read from MH i2c: F0 09 00 [07:07:44]MH_I2C_Read... [07:07:44]Read from MH i2c: F0 09 00 BB 0A 00 45 BB 24 66 61 69 D2 64 47 [07:07:44]GetLastDocTimeStamp 1713660996 [07:07:44]current date 1713683269 [07:07:44]FM_GetShiftState [07:07:44]SAM_PROTO_GetShiftState [07:07:44]wFMCommunicate request_size=4 [07:07:44]MH_SAM_APDU [07:07:44]CAPDU: 80 13 01 00 [07:07:44]Write to MH i2c: E2 08 00 BC 0A 80 13 01 00 00 00 00 00 43 [07:07:44]Write i2c OK [07:07:44]MH_I2C_Read... [07:07:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:07:44]Read from MH i2c: E2 [07:07:44]MH_I2C_Read... [07:07:44]Read from MH i2c: E2 0E 00 [07:07:44]MH_I2C_Read... [07:07:44]Read from MH i2c: E2 0E 00 BC 0A 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 9B [07:07:44]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [07:07:44]wFMCommunicate OK [07:07:44]SAM_PROTO_GetShiftState done [07:07:44]FM_GetShiftState done [07:07:44]opened in 1713658727 [07:07:44]opened+sec_in_day 1713745127 [07:07:44]quantity*price = 26000 [07:07:44]sum+1 = 26001 [07:07:44]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 260.00 НСП 1% : 2.30 НДС 12% : 27.61 Наличными: 260.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 6 21.04.2024 07:07 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12594 ФПД: 212518602740794 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T070749&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12594&fm=212518602740794&tin=02508201610067®Number=0000000000100748&sum=26000 0 [07:07:46]StoreToDocumentArchive [07:07:46]shift 281 fd 12594 [07:07:46]save to /storage/0281/doc_00012594 [07:07:46]save last doc name /storage/0281/doc_00012594 to /storage/kkm_last_doc_name [07:07:46]save OK [07:07:46]Clear old archive folders... [07:07:46]ProcessDocumentItem done err = 0, tmpTLVsize=276 [07:07:46]tlvbuf is 00342780 [07:07:46]SAM_PROTO_ClearQueue [07:07:46]wFMCommunicate request_size=4 [07:07:46]MH_SAM_APDU [07:07:46]CAPDU: 80 09 00 00 [07:07:46]Write to MH i2c: E2 08 00 C9 0A 80 09 00 00 00 00 00 00 45 [07:07:46]Write i2c OK [07:07:46]MH_I2C_Read... [07:07:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:07:46]Read from MH i2c: E2 [07:07:46]MH_I2C_Read... [07:07:46]Read from MH i2c: E2 03 00 [07:07:46]MH_I2C_Read... [07:07:46]Read from MH i2c: E2 03 00 C9 0A 00 90 00 47 [07:07:46]RAPDU: 90 00 [07:07:46]wFMCommunicate OK [07:07:46]SAM_PROTO_ClearQueue done [07:07:46]KKMCreateOFDPacket [07:07:46]OFDProtocolAddRootSTLVToBuf [07:07:46]FM_MakeSignedData [07:07:46]FM_MakeSignedData [07:07:46]SAM_PROTO_SignData [07:07:46]wFMCommunicate request_size=4 [07:07:46]MH_SAM_APDU [07:07:46]CAPDU: 80 0D 01 02 [07:07:46]Write to MH i2c: E2 08 00 CA 0A 80 0D 01 02 00 00 00 00 4D [07:07:46]Write i2c OK [07:07:46]MH_I2C_Read... [07:07:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:07:46]Read from MH i2c: E2 [07:07:46]MH_I2C_Read... [07:07:46]Read from MH i2c: E2 03 00 [07:07:46]MH_I2C_Read... [07:07:46]Read from MH i2c: E2 03 00 CA 0A 00 90 00 48 [07:07:46]RAPDU: 90 00 [07:07:46]wFMCommunicate OK [07:07:46]wFMCommunicate request_size=255 [07:07:46]MH_SAM_APDU [07:07:46]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 45 BB 24 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 [07:07:46]Write to MH i2c: E2 02 01 CB 0A 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 45 BB 24 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 00 00 C7 [07:07:46]Write i2c OK [07:07:46]MH_I2C_Read... [07:07:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:07:46]Read from MH i2c: E2 [07:07:46]MH_I2C_Read... [07:07:46]Read from MH i2c: E2 03 00 [07:07:46]MH_I2C_Read... [07:07:46]Read from MH i2c: E2 03 00 CB 0A 00 90 00 49 [07:07:46]RAPDU: 90 00 [07:07:46]wFMCommunicate OK [07:07:46]wFMCommunicate request_size=35 [07:07:46]MH_SAM_APDU [07:07:46]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 32 31 00 00 35 04 06 00 C1 48 D7 D3 14 3A [07:07:46]Write to MH i2c: E2 26 00 CC 0A 80 0D 02 02 1E 00 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 32 31 00 00 35 04 06 00 C1 48 D7 D3 14 3A 00 00 AE [07:07:46]Write i2c OK [07:07:46]MH_I2C_Read... [07:07:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:07:46]Read from MH i2c: E2 [07:07:46]MH_I2C_Read... [07:07:46]Read from MH i2c: E2 03 00 [07:07:46]MH_I2C_Read... [07:07:46]Read from MH i2c: E2 03 00 CC 0A 00 90 00 4A [07:07:46]RAPDU: 90 00 [07:07:46]wFMCommunicate OK [07:07:46]wFMCommunicate request_size=4 [07:07:46]MH_SAM_APDU [07:07:46]CAPDU: 80 0D 03 02 [07:07:46]Write to MH i2c: E2 08 00 CD 0A 80 0D 03 02 00 00 00 00 52 [07:07:46]Write i2c OK [07:07:46]MH_I2C_Read... [07:07:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:07:46]Read from MH i2c: E2 [07:07:46]MH_I2C_Read... [07:07:46]Read from MH i2c: E2 0B 00 [07:07:46]MH_I2C_Read... [07:07:46]Read from MH i2c: E2 0B 00 CD 0A 00 4D 34 12 6E D1 6C 9E 8D 90 00 BC [07:07:46]RAPDU: 4D 34 12 6E D1 6C 9E 8D 90 00 [07:07:46]wFMCommunicate OK [07:07:46]SAM_PROTO_SignData done [07:07:46]FM_MakeSignedData done [07:07:46]CreateOFDProtocolMessage [07:07:46]wFMCommunicate request_size=4 [07:07:46]MH_SAM_APDU [07:07:46]CAPDU: 80 11 00 00 [07:07:46]Write to MH i2c: E2 08 00 CE 0A 80 11 00 00 00 00 00 00 52 [07:07:46]Write i2c OK [07:07:46]MH_I2C_Read... [07:07:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:07:46]Read from MH i2c: E2 [07:07:46]MH_I2C_Read... [07:07:46]Read from MH i2c: E2 17 00 [07:07:46]MH_I2C_Read... [07:07:46]Read from MH i2c: E2 17 00 CE 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 AC [07:07:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [07:07:46]wFMCommunicate OK [07:07:46]CreateOFDProtocolMessage done [07:07:46]OFDSenderStorePacket 12594 [07:07:46]StoreOFDPacket docnum=12594 [07:07:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 28 01 00 00 17 04 20 01 EB 26 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 45 BB 24 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 32 31 00 00 35 04 06 00 C1 48 D7 D3 14 3A 4D 34 12 6E D1 6C 9E 8D [07:07:46]CheckFolder [07:07:46]dirname=/storage/ofd_packets [07:07:46]CheckFolder done [07:07:46]ProducePacketName [07:07:46]name=ofd_packets/00012594 [07:07:46]NVStorageSaveData ofd_packets/00012594 [07:07:46]File name is /storage/ofd_packets/00012594 [07:07:46]Write 326 bytes [07:07:46]NVStorageSaveData done [07:07:46]OFDSenderStorePacket done [07:07:46]KKMCreateOFDPacket done [07:07:46]NVStorageSaveData kkm_last_timestamp [07:07:46]File name is /storage/kkm_last_timestamp [07:07:46]Write 4 bytes [07:07:46]NVStorageSaveData done [07:07:46]ExternCall_PrintAddStr [07:07:46]wPrintStart [07:07:46]Write to MH i2c: 01 00 00 CF 0A D9 [07:07:46]Write i2c OK [07:07:46]MH_I2C_Read... [07:07:46]Read from MH i2c: 01 [07:07:46]MH_I2C_Read... [07:07:46]Read from MH i2c: 01 07 00 [07:07:46]MH_I2C_Read... [07:07:46]Read from MH i2c: 01 07 00 CF 0A 00 00 00 00 00 FF 0F EE [07:07:46]RasterBufferAndPrint [07:07:46]line Счет N : (3)32866 [07:07:46]line ИНН: 02508201610067 [07:07:46]line Контрольно-Кассовый Чек [07:07:46]line ПРОДАЖА [07:07:46]line Товар: 2000036230011 [07:07:46]line Кофе Латте XL(GABB TRADE) [07:07:46]line 2.000 * 130.00 [07:07:46]line = 260.00 [07:07:46]line НДС 12% НСП 1% [07:07:46]line > о реализуемом товаре [07:07:46]line ИТОГО: 260.00 [07:07:46]line НСП 1% : 2.30 [07:07:46]line НДС 12% : 27.61 [07:07:46]line Наличными: 260.00 [07:07:46]line Безнал.: 0.00 [07:07:46]line Место: АЗС № 106 "Партнер Нефть" [07:07:46]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [07:07:46]line СНО: Общий режим [07:07:46]line Чек 6 21.04.2024 07:07 [07:07:46]line Смена: 281 ФФД: 1.0 [07:07:46]line ЗНМ: 0300000004 [07:07:46]line РНМ: 0000000000100748 [07:07:46]line Версия ККМ: 001 [07:07:46]line ФМ: 0000000000965685 [07:07:46]line ФД: 12594 [07:07:46]line ФПД: 212518602740794 [07:07:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T070749&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12594&fm=212518602740794&tin=02508201610067®Number=0000000000100748&sum=26000 [07:07:46]line 0 [07:07:46]OFD Sender: Processing packet 12594 [packets to send 7, broken 6] [07:07:46]ProducePacketName [07:07:46]name=ofd_packets/00012594 [07:07:46]OFD Sender: To server: pG, [07:07:46]CommunicateWithHost lk.salyk.kg:30040 [07:07:46]ConnectInit lk.salyk.kg [07:07:46]written 0, free lines is 4095 [07:07:47]Connected sock=10 [07:07:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 28 01 00 00 17 04 20 01 EB 26 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 45 BB 24 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 32 31 00 00 35 04 06 00 C1 48 D7 D3 14 3A 4D 34 12 6E D1 6C 9E 8D [07:07:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 AF F1 47 00 20 EF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 32 31 00 00 F4 03 04 00 C7 63 24 66 B6 04 01 00 00 8F 13 8F 75 F4 72 20 A5 [07:07:47]CommunicateWithHost err = 0 [07:07:47]CheckOFDResponse [07:07:47]1017 (14) - 77093643461234 [07:07:47]1041 (16) - 0000000000965685 [07:07:47]1040 (4) - 12594 [07:07:47]1012 (4) - 21.04.2024 00:54 [07:07:47]1206 (1) - 0 [07:07:47]OFD Sender: Remove packet 12594 [07:07:47]ProducePacketName [07:07:47]name=ofd_packets/00012594 [07:07:47]NVStorageDeleteData [07:07:47]Write to MH i2c: 01 00 00 F6 0A 00 [07:07:47]Write i2c OK [07:07:47]MH_I2C_Read... [07:07:47]Read from MH i2c: 01 [07:07:47]MH_I2C_Read... [07:07:47]Read from MH i2c: 01 07 00 [07:07:47]MH_I2C_Read... [07:07:47]Read from MH i2c: 01 07 00 F6 0A 00 00 00 00 00 18 0D 2C [07:07:47]RasterBufferAndPrint [07:07:47]line [07:07:47]line [07:07:47]line [07:07:47]line [07:07:47]line [07:07:47]written 0, free lines is 3358 [07:07:47]MH_Cut [07:07:47]Write to MH i2c: D1 01 00 FD 0A 01 D9 [07:07:47]Write i2c OK [07:07:47]MH_I2C_Read... [07:07:47]Read from MH i2c: D1 [07:07:47]MH_I2C_Read... [07:07:47]Read from MH i2c: D1 01 00 [07:07:47]MH_I2C_Read... [07:07:47]Read from MH i2c: D1 01 00 FD 0A 00 D8 [07:07:47]Write to MH i2c: 01 00 00 FE 0A 08 [07:07:47]Write i2c OK [07:07:47]MH_I2C_Read... [07:07:47]OFD Sender: No OFD packet to send [07:07:48]*** Cut start [07:07:48]*** Partial cut [07:07:48]*** CUTSNS_PIN = 1 [07:07:48]*** CUTSNS_PIN = 0 [07:07:48]*** Brake cut motor [07:07:48]Read from MH i2c: 01 [07:07:48]MH_I2C_Read... [07:07:48]*** Stop cut motor [07:07:48]*** Cut end [07:07:48]Read from MH i2c: 01 07 00 [07:07:48]MH_I2C_Read... [07:07:48]Read from MH i2c: 01 07 00 FE 0A 00 00 00 00 00 FF 0F 1D [07:07:48]process_action close_receipt done [07:07:48]requested_data is exist [07:07:48]produce_requested_data [07:07:48]requested_item fm.sn is exist - process it [07:07:48]wFMCommunicate request_size=4 [07:07:48]MH_SAM_APDU [07:07:48]CAPDU: 80 11 00 00 [07:07:48]Write to MH i2c: E2 08 00 FF 0A 80 11 00 00 00 00 00 00 83 [07:07:48]Write i2c OK [07:07:48]MH_I2C_Read... [07:07:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:07:48]Read from MH i2c: E2 [07:07:48]MH_I2C_Read... [07:07:48]Read from MH i2c: E2 17 00 [07:07:48]MH_I2C_Read... [07:07:48]Read from MH i2c: E2 17 00 FF 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 DD [07:07:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [07:07:48]wFMCommunicate OK [07:07:48]requested_item fd.num is exist - process it [07:07:48]SAM_PROTO_GetFieldsCounters [07:07:48]wFMCommunicate request_size=4 [07:07:48]MH_SAM_APDU [07:07:48]CAPDU: 80 13 00 00 [07:07:48]Write to MH i2c: E2 08 00 00 0B 80 13 00 00 00 00 00 00 87 [07:07:48]Write i2c OK [07:07:48]MH_I2C_Read... [07:07:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:07:48]Read from MH i2c: E2 [07:07:48]MH_I2C_Read... [07:07:48]Read from MH i2c: E2 62 00 [07:07:48]MH_I2C_Read... [07:07:48]Read from MH i2c: E2 62 00 00 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 32 31 00 00 0E 04 04 00 19 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 39 [07:07:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 32 31 00 00 0E 04 04 00 19 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 [07:07:48]wFMCommunicate OK [07:07:48]SAM_PROTO_GetFieldsCounters done [07:07:48]requested_item shift.num is exist - process it [07:07:48]requested_item shift.opened is exist - process it [07:07:48]req_shift_opened [07:07:48]FM_GetShiftState [07:07:48]SAM_PROTO_GetShiftState [07:07:48]wFMCommunicate request_size=4 [07:07:48]MH_SAM_APDU [07:07:48]CAPDU: 80 13 01 00 [07:07:48]Write to MH i2c: E2 08 00 01 0B 80 13 01 00 00 00 00 00 89 [07:07:48]Write i2c OK [07:07:48]MH_I2C_Read... [07:07:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:07:49]Read from MH i2c: E2 [07:07:49]MH_I2C_Read... [07:07:49]Read from MH i2c: E2 0E 00 [07:07:49]MH_I2C_Read... [07:07:49]Read from MH i2c: E2 0E 00 01 0B 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 E1 [07:07:49]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [07:07:49]wFMCommunicate OK [07:07:49]SAM_PROTO_GetShiftState done [07:07:49]FM_GetShiftState done [07:07:49]req_shift_opened done [07:07:49]requested_item shift.open_date is exist - process it [07:07:49]req_shift_open_date [07:07:49]req_shift_open_date done [07:07:49]produce_requested_data done [07:07:49]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12594,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [07:07:49]process_action_free close_receipt [07:07:49]json_value_free [07:07:49]json_value_free done [07:07:49]process_json_proto returns [07:07:49]Send response to host [07:07:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12594,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [07:07:49]free response buf [07:07:49]execute_script done [07:07:49]execute_script returns [07:07:49]free content buf [07:07:49]Sock 8.Close socket [07:07:49]Sock 8.Thread stoped [07:07:52]OFD Sender: No OFD packet to send [07:07:57]OFD Sender: No OFD packet to send [07:08:02]OFD Sender: No OFD packet to send [07:08:07]OFD Sender: No OFD packet to send [07:08:12]OFD Sender: No OFD packet to send [07:08:17]OFD Sender: No OFD packet to send [07:08:22]OFD Sender: No OFD packet to send [07:08:27]OFD Sender: No OFD packet to send [07:08:32]OFD Sender: No OFD packet to send [07:08:37]OFD Sender: No OFD packet to send [07:08:42]OFD Sender: No OFD packet to send [07:08:47]OFD Sender: No OFD packet to send [07:08:52]OFD Sender: No OFD packet to send [07:08:57]OFD Sender: No OFD packet to send [07:09:02]OFD Sender: No OFD packet to send [07:09:07]OFD Sender: No OFD packet to send [07:09:12]OFD Sender: No OFD packet to send [07:09:17]OFD Sender: No OFD packet to send [07:09:22]OFD Sender: No OFD packet to send [07:09:27]OFD Sender: No OFD packet to send [07:09:32]OFD Sender: No OFD packet to send [07:09:37]OFD Sender: No OFD packet to send [07:09:42]OFD Sender: No OFD packet to send [07:09:47]OFD Sender: No OFD packet to send [07:09:52]OFD Sender: No OFD packet to send [07:09:57]OFD Sender: No OFD packet to send [07:10:02]OFD Sender: No OFD packet to send [07:10:07]OFD Sender: No OFD packet to send [07:10:12]OFD Sender: No OFD packet to send [07:10:17]OFD Sender: No OFD packet to send [07:10:22]OFD Sender: No OFD packet to send [07:10:27]OFD Sender: No OFD packet to send [07:10:32]OFD Sender: No OFD packet to send [07:10:37]OFD Sender: No OFD packet to send [07:10:42]OFD Sender: No OFD packet to send [07:10:47]OFD Sender: No OFD packet to send [07:10:52]OFD Sender: No OFD packet to send [07:10:57]OFD Sender: No OFD packet to send [07:11:02]OFD Sender: No OFD packet to send [07:11:07]OFD Sender: No OFD packet to send [07:11:12]OFD Sender: No OFD packet to send [07:11:17]OFD Sender: No OFD packet to send [07:11:22]OFD Sender: No OFD packet to send [07:11:27]OFD Sender: No OFD packet to send [07:11:32]OFD Sender: No OFD packet to send [07:11:37]OFD Sender: No OFD packet to send [07:11:42]OFD Sender: No OFD packet to send [07:11:47]OFD Sender: No OFD packet to send [07:11:52]OFD Sender: No OFD packet to send [07:11:57]OFD Sender: No OFD packet to send [07:12: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:15:03]OFD Sender: No OFD packet to send [07:15:08]OFD Sender: No OFD packet to send [07:15:13]OFD Sender: No OFD packet to send [07:15:18]OFD Sender: No OFD packet to send [07:15:23]OFD Sender: No OFD packet to send [07:15:28]OFD Sender: No OFD packet to send [07:15:33]OFD Sender: No OFD packet to send [07:15:38]OFD Sender: No OFD packet to send [07:15:43]OFD Sender: No OFD packet to send [07:15:48]OFD Sender: No OFD packet to send [07:15:53]OFD Sender: No OFD packet to send [07:15:58]OFD Sender: No OFD packet to send [07:16:03]OFD Sender: No OFD packet to send [07:16:08]OFD Sender: No OFD packet to send [07:16:13]OFD Sender: No OFD packet to send [07:16:18]OFD Sender: No OFD packet to send [07:16:23]OFD Sender: No OFD packet to send [07:16:28]OFD Sender: No OFD packet to send [07:16:33]OFD Sender: No OFD packet to send [07:16:38]OFD Sender: No OFD packet to send [07:16:43]OFD Sender: No OFD packet to send [07:16:48]OFD Sender: No OFD packet to send [07:16:53]OFD Sender: No OFD packet to send [07:16:58]OFD Sender: No OFD packet to send [07:17:03]OFD Sender: No OFD packet to send [07:17:08]OFD Sender: No OFD packet to send [07:17:13]OFD Sender: No OFD packet to send [07:17:18]OFD Sender: No OFD packet to send [07:17:23]OFD Sender: No OFD packet to send [07:17:28]OFD Sender: No OFD packet to send [07:17:33]OFD Sender: No OFD packet to send [07:17:38]OFD Sender: No OFD packet to send [07:17:43]OFD Sender: No OFD packet to send [07:17:48]OFD Sender: No OFD packet to send [07:17:53]OFD Sender: No OFD packet to send [07:17:58]OFD Sender: No OFD packet to send [07:18:03]OFD Sender: No OFD packet to send [07:18:08]OFD Sender: No OFD packet to send [07:18:13]OFD Sender: No OFD packet to send [07:18:18]OFD Sender: No OFD packet to send [07:18:23]OFD Sender: No OFD packet to send [07:18:28]OFD Sender: No OFD packet to send [07:18:33]OFD Sender: No OFD packet to send [07:18:38]OFD Sender: No OFD packet to send [07:18:43]OFD Sender: No OFD packet to send [07:18:48]OFD Sender: No OFD packet to send [07:18:53]OFD Sender: No OFD packet to send [07:18:58]OFD Sender: No OFD packet to send [07:19:03]OFD Sender: No OFD packet to send [07:19:08]OFD Sender: No OFD packet to send [07:19:13]OFD Sender: No OFD packet to send [07:19:18]OFD Sender: No OFD packet to send [07:19:23]OFD Sender: No OFD packet to send [07:19:28]OFD Sender: No OFD packet to send [07:19:33]OFD Sender: No OFD packet to send [07:19:38]OFD Sender: No OFD packet to send [07:19:43]OFD Sender: No OFD packet to send [07:19:48]OFD Sender: No OFD packet to send [07:19:53]OFD Sender: No OFD packet to send [07:19:58]OFD Sender: No OFD packet to send [07:20:03]OFD Sender: No OFD packet to send [07:20:08]OFD Sender: No OFD packet to send [07:20:13]OFD Sender: No OFD packet to send [07:20:18]OFD Sender: No OFD packet to send [07:20:23]OFD Sender: No OFD packet to send [07:20:28]OFD Sender: No OFD packet to send [07:20:33]OFD Sender: No OFD packet to send [07:20:38]OFD Sender: No OFD packet to send [07:20:43]OFD Sender: No OFD packet to send [07:20:48]OFD Sender: No OFD packet to send [07:20:53]OFD Sender: No OFD packet to send [07:20:58]OFD Sender: No OFD packet to send [07:21:03]OFD Sender: No OFD packet to send [07:21:08]OFD Sender: No OFD packet to send [07:21:13]OFD Sender: No OFD packet to send [07:21:18]OFD Sender: No OFD packet to send [07:21:23]OFD Sender: No OFD packet to send [07:21:28]OFD Sender: No OFD packet to send [07:21:33]OFD Sender: No OFD packet to send [07:21:38]OFD Sender: No OFD packet to send [07:21:43]OFD Sender: No OFD packet to send [07:21:48]OFD Sender: No OFD packet to send [07:21:53]OFD Sender: No OFD packet to send [07:21:58]OFD Sender: No OFD packet to send [07:22:03]OFD Sender: No OFD packet to send [07:22:08]OFD Sender: No OFD packet to send [07:22:13]OFD Sender: No OFD packet to send [07:22:18]OFD Sender: No OFD packet to send [07:22:23]OFD Sender: No OFD packet to send [07:22:28]OFD Sender: No OFD packet to send [07:22:33]OFD Sender: No OFD packet to send [07:22:38]OFD Sender: No OFD packet to send [07:22:43]OFD Sender: No OFD packet to send [07:22:48]OFD Sender: No OFD packet to send [07:22:53]OFD Sender: No OFD packet to send [07:22:58]OFD Sender: No OFD packet to send [07:23:03]OFD Sender: No OFD packet to send [07:23:08]OFD Sender: No OFD packet to send [07:23:13]OFD Sender: No OFD packet to send [07:23:18]OFD Sender: No OFD packet to send [07:23:23]OFD Sender: No OFD packet to send [07:23:28]OFD Sender: No OFD packet to send [07:23:33]OFD Sender: No OFD packet to send [07:23:38]OFD Sender: No OFD packet to send [07:23:43]OFD Sender: No OFD packet to send [07:23:48]OFD Sender: No OFD packet to send [07:23:53]OFD Sender: No OFD packet to send [07:23:58]OFD Sender: No OFD packet to send [07:24:03]OFD Sender: No OFD packet to send [07:24:08]OFD Sender: No OFD packet to send [07:24:13]OFD Sender: No OFD packet to send [07:24:18]OFD Sender: No OFD packet to send [07:24:23]OFD Sender: No OFD packet to send [07:24:28]OFD Sender: No OFD packet to send [07:24:33]OFD Sender: No OFD packet to send [07:24:38]OFD Sender: No OFD packet to send [07:24:43]OFD Sender: No OFD packet to send [07:24:48]OFD Sender: No OFD packet to send [07:24:53]OFD Sender: No OFD packet to send [07:24:58]OFD Sender: No OFD packet to send [07:25:03]OFD Sender: No OFD packet to send [07:25:08]OFD Sender: No OFD packet to send [07:25:13]OFD Sender: No OFD packet to send [07:25:18]OFD Sender: No OFD packet to send [07:25:23]OFD Sender: No OFD packet to send [07:25:28]OFD Sender: No OFD packet to send [07:25:33]OFD Sender: No OFD packet to send [07:25:38]OFD Sender: No OFD packet to send [07:25:43]OFD Sender: No OFD packet to send [07:25:48]OFD Sender: No OFD packet to send [07:25:53]OFD Sender: No OFD packet to send [07:25:58]OFD Sender: No OFD packet to send [07:26:03]OFD Sender: No OFD packet to send [07:26:08]OFD Sender: No OFD packet to send [07:26:13]OFD Sender: No OFD packet to send [07:26:18]OFD Sender: No OFD packet to send [07:26:23]OFD Sender: No OFD packet to send [07:26:28]OFD Sender: No OFD packet to send [07:26:33]OFD Sender: No OFD packet to send [07:26:38]OFD Sender: No OFD packet to send [07:26:43]OFD Sender: No OFD packet to send [07:26:48]OFD Sender: No OFD packet to send [07:26:53]OFD Sender: No OFD packet to send [07:26:58]OFD Sender: No OFD packet to send [07:27:03]OFD Sender: No OFD packet to send [07:27:08]OFD Sender: No OFD packet to send [07:27:13]OFD Sender: No OFD packet to send [07:27:18]OFD Sender: No OFD packet to send [07:27:23]OFD Sender: No OFD packet to send [07:27:28]OFD Sender: No OFD packet to send [07:27:33]OFD Sender: No OFD packet to send [07:27:38]OFD Sender: No OFD packet to send [07:27:43]OFD Sender: No OFD packet to send [07:27:48]OFD Sender: No OFD packet to send [07:27:53]OFD Sender: No OFD packet to send [07:27:58]OFD Sender: No OFD packet to send [07:28:03]OFD Sender: No OFD packet to send [07:28:08]OFD Sender: No OFD packet to send [07:28:13]OFD Sender: No OFD packet to send [07:28:18]OFD Sender: No OFD packet to send [07:28:23]OFD Sender: No OFD packet to send [07:28:28]OFD Sender: No OFD packet to send [07:28:33]OFD Sender: No OFD packet to send [07:28:38]OFD Sender: No OFD packet to send [07:28:43]OFD Sender: No OFD packet to send [07:28:48]OFD Sender: No OFD packet to send [07:28:53]OFD Sender: No OFD packet to send [07:28:58]OFD Sender: No OFD packet to send [07:29:03]OFD Sender: No OFD packet to send [07:29:08]OFD Sender: No OFD packet to send [07:29:13]OFD Sender: No OFD packet to send [07:29:18]OFD Sender: No OFD packet to send [07:29:23]OFD Sender: No OFD packet to send [07:29:28]OFD Sender: No OFD packet to send [07:29:33]OFD Sender: No OFD packet to send [07:29:38]OFD Sender: No OFD packet to send [07:29:43]OFD Sender: No OFD packet to send [07:29:48]OFD Sender: No OFD packet to send [07:29:53]OFD Sender: No OFD packet to send [07:29:58]OFD Sender: No OFD packet to send [07:30:03]OFD Sender: No OFD packet to send [07:30:08]OFD Sender: No OFD packet to send [07:30:13]OFD Sender: No OFD packet to send [07:30:18]OFD Sender: No OFD packet to send [07:30:23]OFD Sender: No OFD packet to send [07:30:28]OFD Sender: No OFD packet to send [07:30:33]OFD Sender: No OFD packet to send [07:30:38]OFD Sender: No OFD packet to send [07:30:43]OFD Sender: No OFD packet to send [07:30:48]OFD Sender: No OFD packet to send [07:30:53]OFD Sender: No OFD packet to send [07:30:58]OFD Sender: No OFD packet to send [07:31:03]OFD Sender: No OFD packet to send [07:31:08]OFD Sender: No OFD packet to send [07:31:13]OFD Sender: No OFD packet to send [07:31:18]OFD Sender: No OFD packet to send [07:31:23]OFD Sender: No OFD packet to send [07:31:28]OFD Sender: No OFD packet to send [07:31:33]OFD Sender: No OFD packet to send [07:31:38]OFD Sender: No OFD packet to send [07:31:43]OFD Sender: No OFD packet to send [07:31:48]OFD Sender: No OFD packet to send [07:31:53]OFD Sender: No OFD packet to send [07:31:58]OFD Sender: No OFD packet to send [07:32:03]OFD Sender: No OFD packet to send [07:32:08]OFD Sender: No OFD packet to send [07:32:13]OFD Sender: No OFD packet to send [07:32:18]OFD Sender: No OFD packet to send [07:32:23]OFD Sender: No OFD packet to send [07:32:28]OFD Sender: No OFD packet to send [07:32:33]OFD Sender: No OFD packet to send [07:32:38]OFD Sender: No OFD packet to send [07:32:43]OFD Sender: No OFD packet to send [07:32:48]OFD Sender: No OFD packet to send [07:32:53]OFD Sender: No OFD packet to send [07:32:58]OFD Sender: No OFD packet to send [07:33:03]OFD Sender: No OFD packet to send [07:33:08]OFD Sender: No OFD packet to send [07:33:13]OFD Sender: No OFD packet to send [07:33:18]OFD Sender: No OFD packet to send [07:33:24]OFD Sender: No OFD packet to send [07:33:29]OFD Sender: No OFD packet to send [07:33:34]OFD Sender: No OFD packet to send [07:33:39]OFD Sender: No OFD packet to send [07:33:44]OFD Sender: No OFD packet to send [07:33:49]OFD Sender: No OFD packet to send [07:33:54]OFD Sender: No OFD packet to send [07:33:59]OFD Sender: No OFD packet to send [07:34:04]OFD Sender: No OFD packet to send [07:34:09]OFD Sender: No OFD packet to send [07:34:14]OFD Sender: No OFD packet to send [07:34:19]OFD Sender: No OFD packet to send [07:34:24]OFD Sender: No OFD packet to send [07:34:29]OFD Sender: No OFD packet to send [07:34:34]OFD Sender: No OFD packet to send [07:34:39]OFD Sender: No OFD packet to send [07:34:44]OFD Sender: No OFD packet to send [07:34:49]OFD Sender: No OFD packet to send [07:34:54]OFD Sender: No OFD packet to send [07:34:59]OFD Sender: No OFD packet to send [07:35:04]OFD Sender: No OFD packet to send [07:35:09]OFD Sender: No OFD packet to send [07:35:14]OFD Sender: No OFD packet to send [07:35:19]OFD Sender: No OFD packet to send [07:35:24]OFD Sender: No OFD packet to send [07:35:29]OFD Sender: No OFD packet to send [07:35:34]OFD Sender: No OFD packet to send [07:35:39]OFD Sender: No OFD packet to send [07:35:44]OFD Sender: No OFD packet to send [07:35:49]OFD Sender: No OFD packet to send [07:35:54]OFD Sender: No OFD packet to send [07:35:59]OFD Sender: No OFD packet to send [07:36:04]OFD Sender: No OFD packet to send [07:36:09]OFD Sender: No OFD packet to send [07:36:14]OFD Sender: No OFD packet to send [07:36:19]OFD Sender: No OFD packet to send [07:36:24]OFD Sender: No OFD packet to send [07:36:29]OFD Sender: No OFD packet to send [07:36:34]OFD Sender: No OFD packet to send [07:36:39]OFD Sender: No OFD packet to send [07:36:44]OFD Sender: No OFD packet to send [07:36:49]OFD Sender: No OFD packet to send [07:36:54]OFD Sender: No OFD packet to send [07:36:59]OFD Sender: No OFD packet to send [07:37:04]OFD Sender: No OFD packet to send [07:37:09]OFD Sender: No OFD packet to send [07:37:14]OFD Sender: No OFD packet to send [07:37:19]OFD Sender: No OFD packet to send [07:37:24]OFD Sender: No OFD packet to send [07:37:29]OFD Sender: No OFD packet to send [07:37:34]OFD Sender: No OFD packet to send [07:37:39]OFD Sender: No OFD packet to send [07:37:44]OFD Sender: No OFD packet to send [07:37:49]OFD Sender: No OFD packet to send [07:37:54]OFD Sender: No OFD packet to send [07:37:59]OFD Sender: No OFD packet to send [07:38:04]OFD Sender: No OFD packet to send [07:38:09]OFD Sender: No OFD packet to send [07:38:14]OFD Sender: No OFD packet to send [07:38:19]OFD Sender: No OFD packet to send [07:38:24]OFD Sender: No OFD packet to send [07:38:29]OFD Sender: No OFD packet to send [07:38:34]OFD Sender: No OFD packet to send [07:38:39]OFD Sender: No OFD packet to send [07:38:44]OFD Sender: No OFD packet to send [07:38:49]OFD Sender: No OFD packet to send [07:38:54]OFD Sender: No OFD packet to send [07:38:59]OFD Sender: No OFD packet to send [07:39:04]OFD Sender: No OFD packet to send [07:39:09]OFD Sender: No OFD packet to send [07:39:14]OFD Sender: No OFD packet to send [07:39:19]OFD Sender: No OFD packet to send [07:39:24]OFD Sender: No OFD packet to send [07:39:29]OFD Sender: No OFD packet to send [07:39:34]OFD Sender: No OFD packet to send [07:39:39]OFD Sender: No OFD packet to send [07:39:44]OFD Sender: No OFD packet to send [07:39:49]OFD Sender: No OFD packet to send [07:39:54]OFD Sender: No OFD packet to send [07:39:59]OFD Sender: No OFD packet to send [07:40:04]OFD Sender: No OFD packet to send [07:40:09]OFD Sender: No OFD packet to send [07:40:14]OFD Sender: No OFD packet to send [07:40:19]OFD Sender: No OFD packet to send [07:40:24]OFD Sender: No OFD packet to send [07:40:29]OFD Sender: No OFD packet to send [07:40:34]OFD Sender: No OFD packet to send [07:40:39]OFD Sender: No OFD packet to send [07:40:44]OFD Sender: No OFD packet to send [07:40:49]OFD Sender: No OFD packet to send [07:40:54]OFD Sender: No OFD packet to send [07:40:59]OFD Sender: No OFD packet to send [07:41:04]OFD Sender: No OFD packet to send [07:41:09]OFD Sender: No OFD packet to send [07:41:14]OFD Sender: No OFD packet to send [07:41:19]OFD Sender: No OFD packet to send [07:41:24]OFD Sender: No OFD packet to send [07:41:29]OFD Sender: No OFD packet to send [07:41:34]OFD Sender: No OFD packet to send [07:41:39]OFD Sender: No OFD packet to send [07:41:44]OFD Sender: No OFD packet to send [07:41:49]OFD Sender: No OFD packet to send [07:41:54]OFD Sender: No OFD packet to send [07:41:59]OFD Sender: No OFD packet to send [07:42:04]OFD Sender: No OFD packet to send [07:42:09]OFD Sender: No OFD packet to send [07:42:14]OFD Sender: No OFD packet to send [07:42:19]OFD Sender: No OFD packet to send [07:42:24]OFD Sender: No OFD packet to send [07:42:29]OFD Sender: No OFD packet to send [07:42:34]OFD Sender: No OFD packet to send [07:42:39]OFD Sender: No OFD packet to send [07:42:44]OFD Sender: No OFD packet to send [07:42:49]OFD Sender: No OFD packet to send [07:42:54]OFD Sender: No OFD packet to send [07:42:59]OFD Sender: No OFD packet to send [07:43:04]OFD Sender: No OFD packet to send [07:43:09]OFD Sender: No OFD packet to send [07:43:14]OFD Sender: No OFD packet to send [07:43:19]OFD Sender: No OFD packet to send [07:43:24]OFD Sender: No OFD packet to send [07:43:29]OFD Sender: No OFD packet to send [07:43:34]OFD Sender: No OFD packet to send [07:43:39]OFD Sender: No OFD packet to send [07:43:44]OFD Sender: No OFD packet to send [07:43:49]OFD Sender: No OFD packet to send [07:43:54]OFD Sender: No OFD packet to send [07:43:59]OFD Sender: No OFD packet to send [07:44:04]OFD Sender: No OFD packet to send [07:44:09]OFD Sender: No OFD packet to send [07:44:14]OFD Sender: No OFD packet to send [07:44:19]OFD Sender: No OFD packet to send [07:44:24]OFD Sender: No OFD packet to send [07:44:29]OFD Sender: No OFD packet to send [07:44:34]OFD Sender: No OFD packet to send [07:44:39]OFD Sender: No OFD packet to send [07:44:44]OFD Sender: No OFD packet to send [07:44:49]OFD Sender: No OFD packet to send [07:44:54]OFD Sender: No OFD packet to send [07:44:59]OFD Sender: No OFD packet to send [07:45:04]OFD Sender: No OFD packet to send [07:45:09]OFD Sender: No OFD packet to send [07:45:14]OFD Sender: No OFD packet to send [07:45:19]OFD Sender: No OFD packet to send [07:45:24]OFD Sender: No OFD packet to send [07:45:29]OFD Sender: No OFD packet to send [07:45:34]OFD Sender: No OFD packet to send [07:45:39]OFD Sender: No OFD packet to send [07:45:44]OFD Sender: No OFD packet to send [07:45:49]OFD Sender: No OFD packet to send [07:45:54]OFD Sender: No OFD packet to send [07:45:59]OFD Sender: No OFD packet to send [07:46:04]OFD Sender: No OFD packet to send [07:46:09]OFD Sender: No OFD packet to send [07:46:14]OFD Sender: No OFD packet to send [07:46:19]OFD Sender: No OFD packet to send [07:46:24]OFD Sender: No OFD packet to send [07:46:29]OFD Sender: No OFD packet to send [07:46:34]OFD Sender: No OFD packet to send [07:46:39]OFD Sender: No OFD packet to send [07:46:44]OFD Sender: No OFD packet to send [07:46:49]OFD Sender: No OFD packet to send [07:46:54]OFD Sender: No OFD packet to send [07:46:59]OFD Sender: No OFD packet to send [07:47:04]OFD Sender: No OFD packet to send [07:47:09]OFD Sender: No OFD packet to send [07:47:14]OFD Sender: No OFD packet to send [07:47:19]OFD Sender: No OFD packet to send [07:47:24]OFD Sender: No OFD packet to send [07:47:29]OFD Sender: No OFD packet to send [07:47:34]OFD Sender: No OFD packet to send [07:47:39]OFD Sender: No OFD packet to send [07:47:44]OFD Sender: No OFD packet to send [07:47:49]OFD Sender: No OFD packet to send [07:47:54]OFD Sender: No OFD packet to send [07:47:59]OFD Sender: No OFD packet to send [07:48:04]OFD Sender: No OFD packet to send [07:48:09]OFD Sender: No OFD packet to send [07:48:14]OFD Sender: No OFD packet to send [07:48:19]OFD Sender: No OFD packet to send [07:48:24]OFD Sender: No OFD packet to send [07:48:29]OFD Sender: No OFD packet to send [07:48:34]OFD Sender: No OFD packet to send [07:48:39]OFD Sender: No OFD packet to send [07:48:44]OFD Sender: No OFD packet to send [07:48:49]OFD Sender: No OFD packet to send [07:48:54]OFD Sender: No OFD packet to send [07:48:59]OFD Sender: No OFD packet to send [07:49:04]OFD Sender: No OFD packet to send [07:49:09]OFD Sender: No OFD packet to send [07:49:14]OFD Sender: No OFD packet to send [07:49:19]OFD Sender: No OFD packet to send [07:49:24]OFD Sender: No OFD packet to send [07:49:29]OFD Sender: No OFD packet to send [07:49:34]OFD Sender: No OFD packet to send [07:49:39]OFD Sender: No OFD packet to send [07:49:44]OFD Sender: No OFD packet to send [07:49:49]OFD Sender: No OFD packet to send [07:49:54]OFD Sender: No OFD packet to send [07:49:59]OFD Sender: No OFD packet to send [07:50:04]OFD Sender: No OFD packet to send [07:50:09]OFD Sender: No OFD packet to send [07:50:14]OFD Sender: No OFD packet to send [07:50:19]OFD Sender: No OFD packet to send [07:50:24]OFD Sender: No OFD packet to send [07:50:29]OFD Sender: No OFD packet to send [07:50:34]OFD Sender: No OFD packet to send [07:50:39]OFD Sender: No OFD packet to send [07:50:44]OFD Sender: No OFD packet to send [07:50:49]OFD Sender: No OFD packet to send [07:50:54]OFD Sender: No OFD packet to send [07:50:59]OFD Sender: No OFD packet to send [07:51:04]OFD Sender: No OFD packet to send [07:51:09]OFD Sender: No OFD packet to send [07:51:14]OFD Sender: No OFD packet to send [07:51:19]OFD Sender: No OFD packet to send [07:51:24]OFD Sender: No OFD packet to send [07:51:29]OFD Sender: No OFD packet to send [07:51:34]OFD Sender: No OFD packet to send [07:51:39]OFD Sender: No OFD packet to send [07:51:44]OFD Sender: No OFD packet to send [07:51:49]OFD Sender: No OFD packet to send [07:51:54]OFD Sender: No OFD packet to send [07:51:59]OFD Sender: No OFD packet to send [07:52:04]OFD Sender: No OFD packet to send [07:52:09]OFD Sender: No OFD packet to send [07:52:14]OFD Sender: No OFD packet to send [07:52:19]OFD Sender: No OFD packet to send [07:52:24]OFD Sender: No OFD packet to send [07:52:29]OFD Sender: No OFD packet to send [07:52:34]OFD Sender: No OFD packet to send [07:52:39]OFD Sender: No OFD packet to send [07:52:44]OFD Sender: No OFD packet to send [07:52:49]OFD Sender: No OFD packet to send [07:52:54]OFD Sender: No OFD packet to send [07:52:59]OFD Sender: No OFD packet to send [07:53:04]OFD Sender: No OFD packet to send [07:53: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:50]OFD Sender: No OFD packet to send [07:54:55]OFD Sender: No OFD packet to send [07:55:00]OFD Sender: No OFD packet to send [07:55:05]OFD Sender: No OFD packet to send [07:55:10]OFD Sender: No OFD packet to send [07:55:15]OFD Sender: No OFD packet to send [07:55:20]OFD Sender: No OFD packet to send [07:55:25]OFD Sender: No OFD packet to send [07:55:30]OFD Sender: No OFD packet to send [07:55:35]OFD Sender: No OFD packet to send [07:55:40]OFD Sender: No OFD packet to send [07:55:45]OFD Sender: No OFD packet to send [07:55:50]OFD Sender: No OFD packet to send [07:55:55]OFD Sender: No OFD packet to send [07:56:00]OFD Sender: No OFD packet to send [07:56:05]OFD Sender: No OFD packet to send [07:56:10]OFD Sender: No OFD packet to send [07:56:15]OFD Sender: No OFD packet to send [07:56:20]OFD Sender: No OFD packet to send [07:56:25]OFD Sender: No OFD packet to send [07:56:30]OFD Sender: No OFD packet to send [07:56:35]OFD Sender: No OFD packet to send [07:56:40]OFD Sender: No OFD packet to send [07:56:45]OFD Sender: No OFD packet to send [07:56:50]OFD Sender: No OFD packet to send [07:56:55]OFD Sender: No OFD packet to send [07:57:00]OFD Sender: No OFD packet to send [07:57:05]OFD Sender: No OFD packet to send [07:57:10]OFD Sender: No OFD packet to send [07:57:15]OFD Sender: No OFD packet to send [07:57:20]OFD Sender: No OFD packet to send [07:57:25]OFD Sender: No OFD packet to send [07:57:30]OFD Sender: No OFD packet to send [07:57:35]OFD Sender: No OFD packet to send [07:57:40]OFD Sender: No OFD packet to send [07:57:45]OFD Sender: No OFD packet to send [07:57:50]OFD Sender: No OFD packet to send [07:57:55]OFD Sender: No OFD packet to send [07:58:00]OFD Sender: No OFD packet to send [07:58:05]OFD Sender: No OFD packet to send [07:58:10]OFD Sender: No OFD packet to send [07:58:15]OFD Sender: No OFD packet to send [07:58:20]OFD Sender: No OFD packet to send [07:58:25]OFD Sender: No OFD packet to send [07:58:30]OFD Sender: No OFD packet to send [07:58:35]OFD Sender: No OFD packet to send [07:58:40]OFD Sender: No OFD packet to send [07:58:45]OFD Sender: No OFD packet to send [07:58:50]OFD Sender: No OFD packet to send [07:58:55]OFD Sender: No OFD packet to send [07:59:00]OFD Sender: No OFD packet to send [07:59:05]OFD Sender: No OFD packet to send [07:59:10]OFD Sender: No OFD packet to send [07:59:15]OFD Sender: No OFD packet to send [07:59:20]OFD Sender: No OFD packet to send [07:59:25]OFD Sender: No OFD packet to send [07:59:30]OFD Sender: No OFD packet to send [07:59:35]OFD Sender: No OFD packet to send [07:59:40]OFD Sender: No OFD packet to send [07:59:45]OFD Sender: No OFD packet to send [07:59:50]OFD Sender: No OFD packet to send [07:59:55]OFD Sender: No OFD packet to send [08:00:00]OFD Sender: No OFD packet to send [08:00:05]OFD Sender: No OFD packet to send [08:00:10]OFD Sender: No OFD packet to send [08:00:15]OFD Sender: No OFD packet to send [08:00:20]OFD Sender: No OFD packet to send [08:00:25]OFD Sender: No OFD packet to send [08:00:30]OFD Sender: No OFD packet to send [08:00:35]OFD Sender: No OFD packet to send [08:00:40]OFD Sender: No OFD packet to send [08:00:45]OFD Sender: No OFD packet to send [08:00:50]OFD Sender: No OFD packet to send [08:00:55]OFD Sender: No OFD packet to send [08:01:00]OFD Sender: No OFD packet to send [08:01:05]OFD Sender: No OFD packet to send [08:01:10]OFD Sender: No OFD packet to send [08:01:15]OFD Sender: No OFD packet to send [08:01:20]OFD Sender: No OFD packet to send [08:01:25]OFD Sender: No OFD packet to send [08:01:30]OFD Sender: No OFD packet to send [08:01:35]accept exits with 9 [08:01:35]New connection [08:01:35]New thread 3066695012 created [08:01:35]Thread 3066838372 joined [08:01:35]Waiting for new connection... [08:01:35] Sock 9.Parse request [08:01:35]Sock 9.Check first char [08:01:35]Sock 9.First char is OK [08:01:35]request: POST /json_proto HTTP/1.0 [08:01:35]Method: POST [08:01:35]URL: /json_proto [08:01:35]Method is POST - this is cgi request [08:01:35]url: /json_proto [08:01:35]query_string will be loaded in cgi processing [08:01:35]execute_cgi json_proto POST (null) [08:01:35]execute_cgi path=json_proto method=POST [08:01:35]POST find Content-Length [08:01:35]Host: 172.17.62.6:8080 [08:01:35]Content-Length: 215 [08:01:35]Content-Type: application/json [08:01:35] [08:01:35]POST finish read [08:01:35]Found Content-Length = 215 [08:01:35]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" ] } } [08:01:35]execute_script... [08:01:35]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" ] } } [08:01:35]POST & json_proto [08:01:35]process_json_proto [08:01:35]json parsed OK: [08:01:35]protocol is kg_v1.0 [08:01:35]action value=get_value [08:01:35]process_action get_value [08:01:35]cmd_get_value [08:01:35]process_action get_value done [08:01:35]requested_data is exist [08:01:35]produce_requested_data [08:01:35]requested_item kkm.sn is exist - process it [08:01:35]requested_item kkm.ver is exist - process it [08:01:35]requested_item fm.sn is exist - process it [08:01:35]wFMCommunicate request_size=4 [08:01:35]MH_SAM_APDU [08:01:35]CAPDU: 80 11 00 00 [08:01:35]Write to MH i2c: E2 08 00 02 0B 80 11 00 00 00 00 00 00 87 [08:01:35]Write i2c OK [08:01:35]MH_I2C_Read... [08:01:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:01:35]Read from MH i2c: E2 [08:01:35]MH_I2C_Read... [08:01:35]Read from MH i2c: E2 17 00 [08:01:35]MH_I2C_Read... [08:01:35]Read from MH i2c: E2 17 00 02 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 E1 [08:01:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [08:01:35]wFMCommunicate OK [08:01:35]requested_item fd.num is exist - process it [08:01:35]SAM_PROTO_GetFieldsCounters [08:01:35]wFMCommunicate request_size=4 [08:01:35]MH_SAM_APDU [08:01:35]CAPDU: 80 13 00 00 [08:01:35]Write to MH i2c: E2 08 00 03 0B 80 13 00 00 00 00 00 00 8A [08:01:35]Write i2c OK [08:01:35]MH_I2C_Read... [08:01:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:01:35]Read from MH i2c: E2 [08:01:35]MH_I2C_Read... [08:01:35]Read from MH i2c: E2 62 00 [08:01:35]MH_I2C_Read... [08:01:35]Read from MH i2c: E2 62 00 03 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 32 31 00 00 0E 04 04 00 19 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 3C [08:01:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 32 31 00 00 0E 04 04 00 19 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 [08:01:35]wFMCommunicate OK [08:01:35]SAM_PROTO_GetFieldsCounters done [08:01:35]requested_item shift.num is exist - process it [08:01:35]requested_item shift.opened is exist - process it [08:01:35]req_shift_opened [08:01:35]FM_GetShiftState [08:01:35]SAM_PROTO_GetShiftState [08:01:35]wFMCommunicate request_size=4 [08:01:35]MH_SAM_APDU [08:01:35]CAPDU: 80 13 01 00 [08:01:35]Write to MH i2c: E2 08 00 04 0B 80 13 01 00 00 00 00 00 8C [08:01:35]Write i2c OK [08:01:35]MH_I2C_Read... [08:01:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:01:35]Read from MH i2c: E2 [08:01:35]MH_I2C_Read... [08:01:35]Read from MH i2c: E2 0E 00 [08:01:35]MH_I2C_Read... [08:01:35]Read from MH i2c: E2 0E 00 04 0B 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 E4 [08:01:35]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [08:01:35]wFMCommunicate OK [08:01:35]SAM_PROTO_GetShiftState done [08:01:35]FM_GetShiftState done [08:01:35]req_shift_opened done [08:01:35]requested_item shift.open_date is exist - process it [08:01:35]req_shift_open_date [08:01:35]req_shift_open_date done [08:01:35]produce_requested_data done [08:01:35]produce_requested_data return {"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12594,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [08:01:35]process_action_free get_value [08:01:35]json_value_free [08:01:35]json_value_free done [08:01:35]process_json_proto returns [08:01:35]Send response to host [08:01:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12594,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [08:01:35]free response buf [08:01:35]execute_script done [08:01:35]execute_script returns [08:01:35]free content buf [08:01:35]Sock 9.Close socket [08:01:35]Sock 9.Thread stoped [08:01:35]accept exits with 8 [08:01:35]New connection [08:01:35]New thread 3066838372 created [08:01:35]Thread 3066695012 joined [08:01:35]Waiting for new connection... [08:01:35] Sock 8.Parse request [08:01:35]Sock 8.Check first char [08:01:35]Sock 8.First char is OK [08:01:35]request: POST /json_proto HTTP/1.0 [08:01:35]Method: POST [08:01:35]URL: /json_proto [08:01:35]Method is POST - this is cgi request [08:01:35]url: /json_proto [08:01:35]query_string will be loaded in cgi processing [08:01:35]execute_cgi json_proto POST (null) [08:01:35]execute_cgi path=json_proto method=POST [08:01:35]POST find Content-Length [08:01:35]Host: 172.17.62.6:8080 [08:01:35]Content-Length: 331 [08:01:35]Content-Type: application/json [08:01:35] [08:01:35]POST finish read [08:01:35]Found Content-Length = 331 [08:01:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [08:01:35]execute_script... [08:01:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [08:01:35]POST & json_proto [08:01:35]process_json_proto [08:01:35]json parsed OK: [08:01:35]protocol is kg_v1.0 [08:01:35]action value=get_value [08:01:35]process_action get_value [08:01:35]cmd_get_value [08:01:35]process_action get_value done [08:01:35]requested_data is exist [08:01:35]produce_requested_data [08:01:35]requested_item fm.sale.total is exist - process it [08:01:35]SAM_PROTO_GetFMData [08:01:35]wFMCommunicate request_size=4 [08:01:35]MH_SAM_APDU [08:01:35]CAPDU: 80 13 03 00 [08:01:35]Write to MH i2c: E2 08 00 05 0B 80 13 03 00 00 00 00 00 8F [08:01:35]OFD Sender: No OFD packet to send [08:01:35]Write i2c OK [08:01:35]MH_I2C_Read... [08:01:36]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [08:01:36]Read from MH i2c: E2 [08:01:36]MH_I2C_Read... [08:01:36]Read from MH i2c: E2 FD 00 [08:01:36]MH_I2C_Read... [08:01:36]Read from MH i2c: E2 FD 00 05 0B 00 C1 04 85 04 BD 04 6E 04 04 00 00 2F 00 00 69 04 A0 00 6F 04 04 00 B4 2E 00 00 B1 04 04 00 DB 14 BE 0E 70 04 04 00 82 E1 B7 0C 72 04 04 00 59 33 06 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 7A C8 90 01 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 F1 61 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 D5 0B EF 03 09 00 F6 03 90 00 8F [08:01:36]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 00 2F 00 00 69 04 A0 00 6F 04 04 00 B4 2E 00 00 B1 04 04 00 DB 14 BE 0E 70 04 04 00 82 E1 B7 0C 72 04 04 00 59 33 06 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 7A C8 90 01 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 F1 61 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 D5 0B EF 03 09 00 F6 03 90 00 [08:01:36]wFMCommunicate OK [08:01:36]wFMCommunicate request_size=4 [08:01:36]MH_SAM_APDU [08:01:36]CAPDU: 80 17 00 00 [08:01:36]Write to MH i2c: E2 08 00 06 0B 80 17 00 00 00 00 00 00 91 [08:01:36]Write i2c OK [08:01:36]MH_I2C_Read... [08:01:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:01:36]Read from MH i2c: E2 [08:01:36]MH_I2C_Read... [08:01:36]Read from MH i2c: E2 FD 00 [08:01:36]MH_I2C_Read... [08:01:36]Read from MH i2c: E2 FD 00 06 0B 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 2F [08:01:36]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [08:01:36]wFMCommunicate OK [08:01:36]wFMCommunicate request_size=4 [08:01:36]MH_SAM_APDU [08:01:36]CAPDU: 80 17 00 00 [08:01:36]Write to MH i2c: E2 08 00 07 0B 80 17 00 00 00 00 00 00 92 [08:01:36]Write i2c OK [08:01:36]MH_I2C_Read... [08:01:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:01:36]Read from MH i2c: E2 [08:01:36]MH_I2C_Read... [08:01:36]Read from MH i2c: E2 FD 00 [08:01:36]MH_I2C_Read... [08:01:36]Read from MH i2c: E2 FD 00 07 0B 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 32 [08:01:36]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [08:01:36]wFMCommunicate OK [08:01:36]wFMCommunicate request_size=4 [08:01:36]MH_SAM_APDU [08:01:36]CAPDU: 80 17 00 00 [08:01:36]Write to MH i2c: E2 08 00 08 0B 80 17 00 00 00 00 00 00 93 [08:01:36]Write i2c OK [08:01:36]MH_I2C_Read... [08:01:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:01:36]Read from MH i2c: E2 [08:01:36]MH_I2C_Read... [08:01:36]Read from MH i2c: E2 FD 00 [08:01:36]MH_I2C_Read... [08:01:36]Read from MH i2c: E2 FD 00 08 0B 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 18 [08:01:36]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [08:01:36]wFMCommunicate OK [08:01:36]wFMCommunicate request_size=4 [08:01:36]MH_SAM_APDU [08:01:36]CAPDU: 80 17 00 00 [08:01:36]Write to MH i2c: E2 08 00 09 0B 80 17 00 00 00 00 00 00 94 [08:01:36]Write i2c OK [08:01:36]MH_I2C_Read... [08:01:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [08:01:37]Read from MH i2c: E2 [08:01:37]MH_I2C_Read... [08:01:37]Read from MH i2c: E2 DE 00 [08:01:37]MH_I2C_Read... [08:01:37]Read from MH i2c: E2 DE 00 09 0B 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 73 [08:01:37]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:01:37]wFMCommunicate OK [08:01:37]SAM_PROTO_GetFMData done [08:01:37]requested_item fm.sale_refund.total is exist - process it [08:01:37]requested_item fm.buy.total is exist - process it [08:01:37]requested_item shift.sale.total is exist - process it [08:01:37]SAM_PROTO_GetShiftData [08:01:37]wFMCommunicate request_size=4 [08:01:37]MH_SAM_APDU [08:01:37]CAPDU: 80 13 02 00 [08:01:37]Write to MH i2c: E2 08 00 0A 0B 80 13 02 00 00 00 00 00 93 [08:01:37]Write i2c OK [08:01:37]MH_I2C_Read... [08:01:37]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:01:37]Read from MH i2c: E2 [08:01:37]MH_I2C_Read... [08:01:37]Read from MH i2c: E2 FD 00 [08:01:37]MH_I2C_Read... [08:01:37]Read from MH i2c: E2 FD 00 0A 0B 00 AC 04 AA 04 A8 04 6E 04 04 00 06 00 00 00 69 04 99 00 6F 04 04 00 06 00 00 00 B1 04 03 00 10 9E 01 70 04 03 00 60 67 01 72 04 02 00 B0 36 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 F8 2B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 86 [08:01:37]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 06 00 00 00 69 04 99 00 6F 04 04 00 06 00 00 00 B1 04 03 00 10 9E 01 70 04 03 00 60 67 01 72 04 02 00 B0 36 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 F8 2B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 [08:01:37]wFMCommunicate OK [08:01:37]wFMCommunicate request_size=4 [08:01:37]MH_SAM_APDU [08:01:37]CAPDU: 80 17 00 00 [08:01:37]Write to MH i2c: E2 08 00 0B 0B 80 17 00 00 00 00 00 00 96 [08:01:37]Write i2c OK [08:01:37]MH_I2C_Read... [08:01:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:01:37]Read from MH i2c: E2 [08:01:37]MH_I2C_Read... [08:01:37]Read from MH i2c: E2 FD 00 [08:01:37]MH_I2C_Read... [08:01:37]Read from MH i2c: E2 FD 00 0B 0B 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 AB [08:01:37]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 [08:01:37]wFMCommunicate OK [08:01:37]wFMCommunicate request_size=4 [08:01:37]MH_SAM_APDU [08:01:37]CAPDU: 80 17 00 00 [08:01:37]Write to MH i2c: E2 08 00 0C 0B 80 17 00 00 00 00 00 00 97 [08:01:37]Write i2c OK [08:01:37]MH_I2C_Read... [08:01:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:01:38]Read from MH i2c: E2 [08:01:38]MH_I2C_Read... [08:01:38]Read from MH i2c: E2 FD 00 [08:01:38]MH_I2C_Read... [08:01:38]Read from MH i2c: E2 FD 00 0C 0B 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 58 [08:01:38]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 [08:01:38]wFMCommunicate OK [08:01:38]wFMCommunicate request_size=4 [08:01:38]MH_SAM_APDU [08:01:38]CAPDU: 80 17 00 00 [08:01:38]Write to MH i2c: E2 08 00 0D 0B 80 17 00 00 00 00 00 00 98 [08:01:38]Write i2c OK [08:01:38]MH_I2C_Read... [08:01:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:01:38]Read from MH i2c: E2 [08:01:38]MH_I2C_Read... [08:01:38]Read from MH i2c: E2 FD 00 [08:01:38]MH_I2C_Read... [08:01:38]Read from MH i2c: E2 FD 00 0D 0B 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 0D [08:01:38]RAPDU: EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 [08:01:38]wFMCommunicate OK [08:01:38]wFMCommunicate request_size=4 [08:01:38]MH_SAM_APDU [08:01:38]CAPDU: 80 17 00 00 [08:01:38]Write to MH i2c: E2 08 00 0E 0B 80 17 00 00 00 00 00 00 99 [08:01:38]Write i2c OK [08:01:38]MH_I2C_Read... [08:01:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [08:01:38]Read from MH i2c: E2 [08:01:38]MH_I2C_Read... [08:01:38]Read from MH i2c: E2 C9 00 [08:01:38]MH_I2C_Read... [08:01:38]Read from MH i2c: E2 C9 00 0E 0B 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [08:01:38]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:01:38]wFMCommunicate OK [08:01:38]SAM_PROTO_GetShiftData done [08:01:38]requested_item shift.sale.total_cash is exist - process it [08:01:38]requested_item shift.sale_refund.total is exist - process it [08:01:38]requested_item shift.sale_refund.total_cash is exist - process it [08:01:38]requested_item shift.buy.total is exist - process it [08:01:38]requested_item shift.buy.total_cash is exist - process it [08:01:38]produce_requested_data done [08:01:38]produce_requested_data return {"fm.sale.total":2473382.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":1060.00,"shift.sale.total_cash":920.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} [08:01:38]process_action_free get_value [08:01:38]json_value_free [08:01:38]json_value_free done [08:01:38]process_json_proto returns [08:01:38]Send response to host [08:01:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2473382.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":1060.00,"shift.sale.total_cash":920.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}}} [08:01:38]free response buf [08:01:38]execute_script done [08:01:38]execute_script returns [08:01:38]free content buf [08:01:38]Sock 8.Close socket [08:01:38]Sock 8.Thread stoped [08:01:40]OFD Sender: No OFD packet to send [08:01:45]OFD Sender: No OFD packet to send [08:01:50]OFD Sender: No OFD packet to send [08:01:55]OFD Sender: No OFD packet to send [08:02:00]OFD Sender: No OFD packet to send [08:02:05]OFD Sender: No OFD packet to send [08:02:10]OFD Sender: No OFD packet to send [08:02:15]OFD Sender: No OFD packet to send [08:02:20]OFD Sender: No OFD packet to send [08:02:25]OFD Sender: No OFD packet to send [08:02:30]OFD Sender: No OFD packet to send [08:02:35]OFD Sender: No OFD packet to send [08:02:40]OFD Sender: No OFD packet to send [08:02:45]OFD Sender: No OFD packet to send [08:02:50]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:11]OFD Sender: No OFD packet to send [08:09:16]OFD Sender: No OFD packet to send [08:09:21]OFD Sender: No OFD packet to send [08:09:26]OFD Sender: No OFD packet to send [08:09:31]OFD Sender: No OFD packet to send [08:09:36]OFD Sender: No OFD packet to send [08:09:41]OFD Sender: No OFD packet to send [08:09:46]OFD Sender: No OFD packet to send [08:09:51]OFD Sender: No OFD packet to send [08:09:56]OFD Sender: No OFD packet to send [08:10:01]OFD Sender: No OFD packet to send [08:10:06]OFD Sender: No OFD packet to send [08:10:11]OFD Sender: No OFD packet to send [08:10:16]OFD Sender: No OFD packet to send [08:10:21]OFD Sender: No OFD packet to send [08:10:26]OFD Sender: No OFD packet to send [08:10:31]OFD Sender: No OFD packet to send [08:10:36]OFD Sender: No OFD packet to send [08:10:41]OFD Sender: No OFD packet to send [08:10:46]OFD Sender: No OFD packet to send [08:10:51]OFD Sender: No OFD packet to send [08:10:56]OFD Sender: No OFD packet to send [08:11:01]OFD Sender: No OFD packet to send [08:11:06]OFD Sender: No OFD packet to send [08:11:11]OFD Sender: No OFD packet to send [08:11:16]OFD Sender: No OFD packet to send [08:11:21]OFD Sender: No OFD packet to send [08:11:26]OFD Sender: No OFD packet to send [08:11:31]OFD Sender: No OFD packet to send [08:11:36]OFD Sender: No OFD packet to send [08:11:41]OFD Sender: No OFD packet to send [08:11:46]OFD Sender: No OFD packet to send [08:11:51]OFD Sender: No OFD packet to send [08:11:56]OFD Sender: No OFD packet to send [08:12:01]OFD Sender: No OFD packet to send [08:12:06]OFD Sender: No OFD packet to send [08:12:11]OFD Sender: No OFD packet to send [08:12:16]OFD Sender: No OFD packet to send [08:12:21]OFD Sender: No OFD packet to send [08:12:26]OFD Sender: No OFD packet to send [08:12:31]OFD Sender: No OFD packet to send [08:12:36]OFD Sender: No OFD packet to send [08:12:41]OFD Sender: No OFD packet to send [08:12:46]OFD Sender: No OFD packet to send [08:12:51]OFD Sender: No OFD packet to send [08:12:56]OFD Sender: No OFD packet to send [08:13:01]OFD Sender: No OFD packet to send [08:13:06]OFD Sender: No OFD packet to send [08:13:11]OFD Sender: No OFD packet to send [08:13:16]OFD Sender: No OFD packet to send [08:13:21]OFD Sender: No OFD packet to send [08:13:26]OFD Sender: No OFD packet to send [08:13:31]OFD Sender: No OFD packet to send [08:13:36]OFD Sender: No OFD packet to send [08:13:41]OFD Sender: No OFD packet to send [08:13:46]OFD Sender: No OFD packet to send [08:13:51]OFD Sender: No OFD packet to send [08:13:56]OFD Sender: No OFD packet to send [08:14:01]OFD Sender: No OFD packet to send [08:14:06]OFD Sender: No OFD packet to send [08:14:11]OFD Sender: No OFD packet to send [08:14:16]OFD Sender: No OFD packet to send [08:14:21]OFD Sender: No OFD packet to send [08:14:26]OFD Sender: No OFD packet to send [08:14:31]OFD Sender: No OFD packet to send [08:14:36]OFD Sender: No OFD packet to send [08:14:41]OFD Sender: No OFD packet to send [08:14:46]OFD Sender: No OFD packet to send [08:14:51]OFD Sender: No OFD packet to send [08:14:56]OFD Sender: No OFD packet to send [08:15:01]OFD Sender: No OFD packet to send [08:15:06]OFD Sender: No OFD packet to send [08:15:11]OFD Sender: No OFD packet to send [08:15:16]OFD Sender: No OFD packet to send [08:15:21]OFD Sender: No OFD packet to send [08:15:26]OFD Sender: No OFD packet to send [08:15:31]OFD Sender: No OFD packet to send [08:15:36]OFD Sender: No OFD packet to send [08:15:41]OFD Sender: No OFD packet to send [08:15:46]OFD Sender: No OFD packet to send [08:15:51]OFD Sender: No OFD packet to send [08:15:56]OFD Sender: No OFD packet to send [08:16:01]OFD Sender: No OFD packet to send [08:16:06]OFD Sender: No OFD packet to send [08:16:11]OFD Sender: No OFD packet to send [08:16:16]OFD Sender: No OFD packet to send [08:16:21]OFD Sender: No OFD packet to send [08:16:26]OFD Sender: No OFD packet to send [08:16:31]OFD Sender: No OFD packet to send [08:16:36]OFD Sender: No OFD packet to send [08:16:41]OFD Sender: No OFD packet to send [08:16:46]OFD Sender: No OFD packet to send [08:16:46]accept exits with 9 [08:16:46]New connection [08:16:46]New thread 3066695012 created [08:16:46]Thread 3066838372 joined [08:16:46]Waiting for new connection... [08:16:46] Sock 9.Parse request [08:16:46]Sock 9.Check first char [08:16:46]Sock 9.First char is OK [08:16:46]request: POST /json_proto HTTP/1.0 [08:16:46]Method: POST [08:16:46]URL: /json_proto [08:16:46]Method is POST - this is cgi request [08:16:46]url: /json_proto [08:16:46]query_string will be loaded in cgi processing [08:16:46]execute_cgi json_proto POST (null) [08:16:46]execute_cgi path=json_proto method=POST [08:16:46]POST find Content-Length [08:16:46]Host: 172.17.62.6:8080 [08:16:46]Content-Length: 886 [08:16:46]Content-Type: application/json [08:16:46] [08:16:46]POST finish read [08:16:46]Found Content-Length = 886 [08:16:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32867", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 189.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:16:46]execute_script... [08:16:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32867", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 189.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:16:46]POST & json_proto [08:16:46]process_json_proto [08:16:46]json parsed OK: [08:16:46]protocol is kg_v1.0 [08:16:46]action value=close_receipt [08:16:46]process_action close_receipt [08:16:46]cmd_close_receipt [08:16:46]MH_GetDate [08:16:46]Write to MH i2c: F0 00 00 0F 0B 09 [08:16:46]Write i2c OK [08:16:46]MH_I2C_Read... [08:16:46]Read from MH i2c: F0 [08:16:46]MH_I2C_Read... [08:16:46]Read from MH i2c: F0 09 00 [08:16:46]MH_I2C_Read... [08:16:46]Read from MH i2c: F0 09 00 0F 0B 00 73 CB 24 66 61 69 D2 64 DA [08:16:46]GetLastDocTimeStamp 1713683269 [08:16:46]current date 1713687411 [08:16:46]FM_GetShiftState [08:16:46]SAM_PROTO_GetShiftState [08:16:46]wFMCommunicate request_size=4 [08:16:46]MH_SAM_APDU [08:16:46]CAPDU: 80 13 01 00 [08:16:46]Write to MH i2c: E2 08 00 10 0B 80 13 01 00 00 00 00 00 98 [08:16:46]Write i2c OK [08:16:46]MH_I2C_Read... [08:16:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:16:46]Read from MH i2c: E2 [08:16:46]MH_I2C_Read... [08:16:46]Read from MH i2c: E2 0E 00 [08:16:46]MH_I2C_Read... [08:16:46]Read from MH i2c: E2 0E 00 10 0B 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 F0 [08:16:46]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [08:16:46]wFMCommunicate OK [08:16:46]SAM_PROTO_GetShiftState done [08:16:46]FM_GetShiftState done [08:16:46]opened in 1713658727 [08:16:46]opened+sec_in_day 1713745127 [08:16:46]quantity*price = 13000 [08:16:46]sum+1 = 13001 [08:16:46]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607065001445 Шок батончик Snickers 50,5г 1.000 * 59.00 = 59.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 189.00 НСП 1% : 1.67 НДС 12% : 20.06 Наличными: 189.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 7 21.04.2024 08:16 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12595 ФПД: 84024700992834 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T081651&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12595&fm=84024700992834&tin=02508201610067®Number=0000000000100748&sum=18900 0 [08:16:48]StoreToDocumentArchive [08:16:48]shift 281 fd 12595 [08:16:48]save to /storage/0281/doc_00012595 [08:16:48]save last doc name /storage/0281/doc_00012595 to /storage/kkm_last_doc_name [08:16:48]save OK [08:16:48]Clear old archive folders... [08:16:48]ProcessDocumentItem done err = 0, tmpTLVsize=387 [08:16:48]tlvbuf is 00384F30 [08:16:48]SAM_PROTO_ClearQueue [08:16:48]wFMCommunicate request_size=4 [08:16:48]MH_SAM_APDU [08:16:48]CAPDU: 80 09 00 00 [08:16:48]Write to MH i2c: E2 08 00 1D 0B 80 09 00 00 00 00 00 00 9A [08:16:48]Write i2c OK [08:16:48]MH_I2C_Read... [08:16:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:16:48]Read from MH i2c: E2 [08:16:48]MH_I2C_Read... [08:16:48]Read from MH i2c: E2 03 00 [08:16:48]MH_I2C_Read... [08:16:48]Read from MH i2c: E2 03 00 1D 0B 00 90 00 9C [08:16:48]RAPDU: 90 00 [08:16:48]wFMCommunicate OK [08:16:48]SAM_PROTO_ClearQueue done [08:16:48]KKMCreateOFDPacket [08:16:48]OFDProtocolAddRootSTLVToBuf [08:16:48]FM_MakeSignedData [08:16:48]FM_MakeSignedData [08:16:48]SAM_PROTO_SignData [08:16:48]wFMCommunicate request_size=4 [08:16:48]MH_SAM_APDU [08:16:48]CAPDU: 80 0D 01 02 [08:16:48]Write to MH i2c: E2 08 00 1E 0B 80 0D 01 02 00 00 00 00 A2 [08:16:48]Write i2c OK [08:16:48]MH_I2C_Read... [08:16:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:16:48]Read from MH i2c: E2 [08:16:48]MH_I2C_Read... [08:16:48]Read from MH i2c: E2 03 00 [08:16:48]MH_I2C_Read... [08:16:48]Read from MH i2c: E2 03 00 1E 0B 00 90 00 9D [08:16:48]RAPDU: 90 00 [08:16:48]wFMCommunicate OK [08:16:48]wFMCommunicate request_size=255 [08:16:48]MH_SAM_APDU [08:16:48]CAPDU: 80 0D 02 02 FA 03 00 83 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 [08:16:48]Write to MH i2c: E2 02 01 1F 0B 80 0D 02 02 FA 00 03 00 83 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 00 00 96 [08:16:48]Write i2c OK [08:16:48]MH_I2C_Read... [08:16:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:16:48]Read from MH i2c: E2 [08:16:48]MH_I2C_Read... [08:16:48]Read from MH i2c: E2 03 00 [08:16:48]MH_I2C_Read... [08:16:48]Read from MH i2c: E2 03 00 1F 0B 00 90 00 9E [08:16:48]RAPDU: 90 00 [08:16:48]wFMCommunicate OK [08:16:48]wFMCommunicate request_size=146 [08:16:48]MH_SAM_APDU [08:16:48]CAPDU: 80 0D 02 02 8D 03 06 00 A7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D6 07 00 00 00 00 07 04 06 00 D4 49 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 73 CB 24 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 33 31 00 00 35 04 06 00 4C 6B 86 74 7D 42 [08:16:48]Write to MH i2c: E2 95 00 20 0B 80 0D 02 02 8D 00 03 06 00 A7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D6 07 00 00 00 00 07 04 06 00 D4 49 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 73 CB 24 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 33 31 00 00 35 04 06 00 4C 6B 86 74 7D 42 00 00 55 [08:16:48]Write i2c OK [08:16:48]MH_I2C_Read... [08:16:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:16:48]Read from MH i2c: E2 [08:16:48]MH_I2C_Read... [08:16:48]Read from MH i2c: E2 03 00 [08:16:48]MH_I2C_Read... [08:16:48]Read from MH i2c: E2 03 00 20 0B 00 90 00 9F [08:16:48]RAPDU: 90 00 [08:16:48]wFMCommunicate OK [08:16:48]wFMCommunicate request_size=4 [08:16:48]MH_SAM_APDU [08:16:48]CAPDU: 80 0D 03 02 [08:16:48]Write to MH i2c: E2 08 00 21 0B 80 0D 03 02 00 00 00 00 A7 [08:16:48]Write i2c OK [08:16:48]MH_I2C_Read... [08:16:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:16:48]Read from MH i2c: E2 [08:16:48]MH_I2C_Read... [08:16:48]Read from MH i2c: E2 0B 00 [08:16:48]MH_I2C_Read... [08:16:48]Read from MH i2c: E2 0B 00 21 0B 00 E2 46 57 86 B0 18 14 A0 90 00 29 [08:16:48]RAPDU: E2 46 57 86 B0 18 14 A0 90 00 [08:16:48]wFMCommunicate OK [08:16:48]SAM_PROTO_SignData done [08:16:48]FM_MakeSignedData done [08:16:48]CreateOFDProtocolMessage [08:16:48]wFMCommunicate request_size=4 [08:16:48]MH_SAM_APDU [08:16:48]CAPDU: 80 11 00 00 [08:16:48]Write to MH i2c: E2 08 00 22 0B 80 11 00 00 00 00 00 00 A7 [08:16:48]Write i2c OK [08:16:48]MH_I2C_Read... [08:16:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:16:48]Read from MH i2c: E2 [08:16:48]MH_I2C_Read... [08:16:48]Read from MH i2c: E2 17 00 [08:16:48]MH_I2C_Read... [08:16:48]Read from MH i2c: E2 17 00 22 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 01 [08:16:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [08:16:48]wFMCommunicate OK [08:16:48]CreateOFDProtocolMessage done [08:16:48]OFDSenderStorePacket 12595 [08:16:48]StoreOFDPacket docnum=12595 [08:16:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 97 01 00 00 B5 A8 8F 01 ED 75 5A 03 01 00 03 00 83 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D6 07 00 00 00 00 07 04 06 00 D4 49 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 73 CB 24 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 33 31 00 00 35 04 06 00 4C 6B 86 74 7D 42 E2 46 57 86 B0 18 14 A0 [08:16:48]CheckFolder [08:16:48]dirname=/storage/ofd_packets [08:16:48]CheckFolder done [08:16:48]ProducePacketName [08:16:48]name=ofd_packets/00012595 [08:16:48]NVStorageSaveData ofd_packets/00012595 [08:16:48]File name is /storage/ofd_packets/00012595 [08:16:48]Write 437 bytes [08:16:48]NVStorageSaveData done [08:16:48]OFDSenderStorePacket done [08:16:48]KKMCreateOFDPacket done [08:16:48]NVStorageSaveData kkm_last_timestamp [08:16:48]File name is /storage/kkm_last_timestamp [08:16:48]Write 4 bytes [08:16:48]NVStorageSaveData done [08:16:48]ExternCall_PrintAddStr [08:16:48]wPrintStart [08:16:48]Write to MH i2c: 01 00 00 23 0B 2E [08:16:48]Write i2c OK [08:16:48]MH_I2C_Read... [08:16:48]Read from MH i2c: 01 [08:16:48]MH_I2C_Read... [08:16:48]Read from MH i2c: 01 07 00 [08:16:48]MH_I2C_Read... [08:16:48]Read from MH i2c: 01 07 00 23 0B 00 00 00 00 00 FF 0F 43 [08:16:48]RasterBufferAndPrint [08:16:48]line Счет N : (3)32867 [08:16:49]line ИНН: 02508201610067 [08:16:49]line Контрольно-Кассовый Чек [08:16:49]line ПРОДАЖА [08:16:49]line Товар: 2000036230011 [08:16:49]line Кофе Латте XL(GABB TRADE) [08:16:49]line 1.000 * 130.00 [08:16:49]line = 130.00 [08:16:49]line НДС 12% НСП 1% [08:16:49]line > о реализуемом товаре [08:16:49]line Товар: 4607065001445 [08:16:49]line Шок батончик Snickers 50,5г [08:16:49]line 1.000 * 59.00 [08:16:49]line = 59.00 [08:16:49]line НДС 12% НСП 1% [08:16:49]line > о реализуемом товаре [08:16:49]line ИТОГО: 189.00 [08:16:49]line НСП 1% : 1.67 [08:16:49]line НДС 12% : 20.06 [08:16:49]line Наличными: 189.00 [08:16:49]line Безнал.: 0.00 [08:16:49]line Место: АЗС № 106 "Партнер Нефть" [08:16:49]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [08:16:49]line СНО: Общий режим [08:16:49]line Чек 7 21.04.2024 08:16 [08:16:49]line Смена: 281 ФФД: 1.0 [08:16:49]line ЗНМ: 0300000004 [08:16:49]line РНМ: 0000000000100748 [08:16:49]line Версия ККМ: 001 [08:16:49]line ФМ: 0000000000965685 [08:16:49]line ФД: 12595 [08:16:49]line ФПД: 84024700992834 [08:16:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T081651&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12595&fm=84024700992834&tin=02508201610067®Number=0000000000100748&sum=18900 [08:16:49]line 0 [08:16:49]OFD Sender: Processing packet 12595 [packets to send 7, broken 6] [08:16:49]ProducePacketName [08:16:49]name=ofd_packets/00012595 [08:16:49]OFD Sender: To server: pG, [08:16:49]CommunicateWithHost lk.salyk.kg:30040 [08:16:49]ConnectInit lk.salyk.kg [08:16:49]written 0, free lines is 4095 [08:16:49]Connected sock=10 [08:16:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 97 01 00 00 B5 A8 8F 01 ED 75 5A 03 01 00 03 00 83 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D6 07 00 00 00 00 07 04 06 00 D4 49 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 73 CB 24 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 33 31 00 00 35 04 06 00 4C 6B 86 74 7D 42 E2 46 57 86 B0 18 14 A0 [08:16:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 3C 08 47 00 E4 F1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 33 31 00 00 F4 03 04 00 F5 73 24 66 B6 04 01 00 00 5B 3B 1A EF 06 37 82 40 [08:16:49]CommunicateWithHost err = 0 [08:16:49]CheckOFDResponse [08:16:49]1017 (14) - 77093643461234 [08:16:49]1041 (16) - 0000000000965685 [08:16:49]1040 (4) - 12595 [08:16:49]1012 (4) - 21.04.2024 02:03 [08:16:49]1206 (1) - 0 [08:16:49]OFD Sender: Remove packet 12595 [08:16:49]ProducePacketName [08:16:49]name=ofd_packets/00012595 [08:16:49]NVStorageDeleteData [08:16:49]Write to MH i2c: 01 00 00 50 0B 5B [08:16:49]Write i2c OK [08:16:49]MH_I2C_Read... [08:16:49]Read from MH i2c: 01 [08:16:49]MH_I2C_Read... [08:16:49]Read from MH i2c: 01 07 00 [08:16:49]MH_I2C_Read... [08:16:49]Read from MH i2c: 01 07 00 50 0B 00 00 00 00 00 A9 0C 17 [08:16:49]RasterBufferAndPrint [08:16:49]line [08:16:49]line [08:16:49]line [08:16:49]line [08:16:49]line [08:16:49]written 0, free lines is 3249 [08:16:49]MH_Cut [08:16:49]Write to MH i2c: D1 01 00 57 0B 01 34 [08:16:49]Write i2c OK [08:16:49]MH_I2C_Read... [08:16:49]Read from MH i2c: D1 [08:16:49]MH_I2C_Read... [08:16:49]Read from MH i2c: D1 01 00 [08:16:49]MH_I2C_Read... [08:16:49]Read from MH i2c: D1 01 00 57 0B 00 33 [08:16:49]Write to MH i2c: 01 00 00 58 0B 63 [08:16:49]Write i2c OK [08:16:49]MH_I2C_Read... [08:16:49]OFD Sender: No OFD packet to send [08:16:50]*** Cut start [08:16:50]*** Partial cut [08:16:50]*** CUTSNS_PIN = 1 [08:16:50]*** CUTSNS_PIN = 0 [08:16:50]*** Brake cut motor [08:16:51]Read from MH i2c: 01 [08:16:51]MH_I2C_Read... [08:16:51]*** Stop cut motor [08:16:51]*** Cut end [08:16:51]Read from MH i2c: 01 07 00 [08:16:51]MH_I2C_Read... [08:16:51]Read from MH i2c: 01 07 00 58 0B 00 00 00 00 00 FF 0F 78 [08:16:51]process_action close_receipt done [08:16:51]requested_data is exist [08:16:51]produce_requested_data [08:16:51]requested_item fm.sn is exist - process it [08:16:51]wFMCommunicate request_size=4 [08:16:51]MH_SAM_APDU [08:16:51]CAPDU: 80 11 00 00 [08:16:51]Write to MH i2c: E2 08 00 59 0B 80 11 00 00 00 00 00 00 DE [08:16:51]Write i2c OK [08:16:51]MH_I2C_Read... [08:16:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:16:51]Read from MH i2c: E2 [08:16:51]MH_I2C_Read... [08:16:51]Read from MH i2c: E2 17 00 [08:16:51]MH_I2C_Read... [08:16:51]Read from MH i2c: E2 17 00 59 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 38 [08:16:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [08:16:51]wFMCommunicate OK [08:16:51]requested_item fd.num is exist - process it [08:16:51]SAM_PROTO_GetFieldsCounters [08:16:51]wFMCommunicate request_size=4 [08:16:51]MH_SAM_APDU [08:16:51]CAPDU: 80 13 00 00 [08:16:51]Write to MH i2c: E2 08 00 5A 0B 80 13 00 00 00 00 00 00 E1 [08:16:51]Write i2c OK [08:16:51]MH_I2C_Read... [08:16:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:16:51]Read from MH i2c: E2 [08:16:51]MH_I2C_Read... [08:16:51]Read from MH i2c: E2 62 00 [08:16:51]MH_I2C_Read... [08:16:51]Read from MH i2c: E2 62 00 5A 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 33 31 00 00 0E 04 04 00 19 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 97 [08:16:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 33 31 00 00 0E 04 04 00 19 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 [08:16:51]wFMCommunicate OK [08:16:51]SAM_PROTO_GetFieldsCounters done [08:16:51]requested_item shift.num is exist - process it [08:16:51]requested_item shift.opened is exist - process it [08:16:51]req_shift_opened [08:16:51]FM_GetShiftState [08:16:51]SAM_PROTO_GetShiftState [08:16:51]wFMCommunicate request_size=4 [08:16:51]MH_SAM_APDU [08:16:51]CAPDU: 80 13 01 00 [08:16:51]Write to MH i2c: E2 08 00 5B 0B 80 13 01 00 00 00 00 00 E3 [08:16:51]Write i2c OK [08:16:51]MH_I2C_Read... [08:16:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:16:51]Read from MH i2c: E2 [08:16:51]MH_I2C_Read... [08:16:51]Read from MH i2c: E2 0E 00 [08:16:51]MH_I2C_Read... [08:16:51]Read from MH i2c: E2 0E 00 5B 0B 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 3B [08:16:51]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [08:16:51]wFMCommunicate OK [08:16:51]SAM_PROTO_GetShiftState done [08:16:51]FM_GetShiftState done [08:16:51]req_shift_opened done [08:16:51]requested_item shift.open_date is exist - process it [08:16:51]req_shift_open_date [08:16:51]req_shift_open_date done [08:16:51]produce_requested_data done [08:16:51]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12595,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [08:16:51]process_action_free close_receipt [08:16:51]json_value_free [08:16:51]json_value_free done [08:16:51]process_json_proto returns [08:16:51]Send response to host [08:16:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12595,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [08:16:51]free response buf [08:16:51]execute_script done [08:16:51]execute_script returns [08:16:51]free content buf [08:16:51]Sock 9.Close socket [08:16:51]Sock 9.Thread stoped [08:16:54]OFD Sender: No OFD packet to send [08:16:59]OFD Sender: No OFD packet to send [08:17:05]OFD Sender: No OFD packet to send [08:17:10]OFD Sender: No OFD packet to send [08:17:15]OFD Sender: No OFD packet to send [08:17:20]OFD Sender: No OFD packet to send [08:17:25]OFD Sender: No OFD packet to send [08:17:30]OFD Sender: No OFD packet to send [08:17:35]OFD Sender: No OFD packet to send [08:17:40]OFD Sender: No OFD packet to send [08:17:45]OFD Sender: No OFD packet to send [08:17:50]OFD Sender: No OFD packet to send [08:17:55]OFD Sender: No OFD packet to send [08:18:00]OFD Sender: No OFD packet to send [08:18:05]OFD Sender: No OFD packet to send [08:18:10]OFD Sender: No OFD packet to send [08:18:15]OFD Sender: No OFD packet to send [08:18:20]OFD Sender: No OFD packet to send [08:18:25]OFD Sender: No OFD packet to send [08:18:30]OFD Sender: No OFD packet to send [08:18:35]OFD Sender: No OFD packet to send [08:18:40]OFD Sender: No OFD packet to send [08:18:45]OFD Sender: No OFD packet to send [08:18:50]OFD Sender: No OFD packet to send [08:18:55]OFD Sender: No OFD packet to send [08:19:00]OFD Sender: No OFD packet to send [08:19:05]OFD Sender: No OFD packet to send [08:19:10]OFD Sender: No OFD packet to send [08:19:15]OFD Sender: No OFD packet to send [08:19:20]OFD Sender: No OFD packet to send [08:19:25]OFD Sender: No OFD packet to send [08:19:30]OFD Sender: No OFD packet to send [08:19:35]OFD Sender: No OFD packet to send [08:19:40]OFD Sender: No OFD packet to send [08:19:45]OFD Sender: No OFD packet to send [08:19:50]OFD Sender: No OFD packet to send [08:19:55]OFD Sender: No OFD packet to send [08:20:00]OFD Sender: No OFD packet to send [08:20:05]OFD Sender: No OFD packet to send [08:20:10]OFD Sender: No OFD packet to send [08:20:15]OFD Sender: No OFD packet to send [08:20:20]OFD Sender: No OFD packet to send [08:20:25]OFD Sender: No OFD packet to send [08:20:30]OFD Sender: No OFD packet to send [08:20:35]OFD Sender: No OFD packet to send [08:20:40]OFD Sender: No OFD packet to send [08:20:45]OFD Sender: No OFD packet to send [08:20:50]OFD Sender: No OFD packet to send [08:20:55]OFD Sender: No OFD packet to send [08:21:00]OFD Sender: No OFD packet to send [08:21:05]OFD Sender: No OFD packet to send [08:21:10]OFD Sender: No OFD packet to send [08:21:15]OFD Sender: No OFD packet to send [08:21:20]OFD Sender: No OFD packet to send [08:21:25]OFD Sender: No OFD packet to send [08:21:30]OFD Sender: No OFD packet to send [08:21:35]OFD Sender: No OFD packet to send [08:21:40]OFD Sender: No OFD packet to send [08:21:45]OFD Sender: No OFD packet to send [08:21:50]OFD Sender: No OFD packet to send [08:21:55]OFD Sender: No OFD packet to send [08:22:00]OFD Sender: No OFD packet to send [08:22:05]OFD Sender: No OFD packet to send [08:22:10]OFD Sender: No OFD packet to send [08:22:15]OFD Sender: No OFD packet to send [08:22:20]OFD Sender: No OFD packet to send [08:22:25]OFD Sender: No OFD packet to send [08:22:30]OFD Sender: No OFD packet to send [08:22:35]OFD Sender: No OFD packet to send [08:22:40]OFD Sender: No OFD packet to send [08:22:45]OFD Sender: No OFD packet to send [08:22:50]OFD Sender: No OFD packet to send [08:22:55]OFD Sender: No OFD packet to send [08:23:00]OFD Sender: No OFD packet to send [08:23:05]OFD Sender: No OFD packet to send [08:23:10]OFD Sender: No OFD packet to send [08:23:15]OFD Sender: No OFD packet to send [08:23:20]OFD Sender: No OFD packet to send [08:23:25]OFD Sender: No OFD packet to send [08:23:30]OFD Sender: No OFD packet to send [08:23:35]OFD Sender: No OFD packet to send [08:23:40]OFD Sender: No OFD packet to send [08:23:45]OFD Sender: No OFD packet to send [08:23:50]OFD Sender: No OFD packet to send [08:23:55]OFD Sender: No OFD packet to send [08:24:00]OFD Sender: No OFD packet to send [08:24:05]OFD Sender: No OFD packet to send [08:24:10]OFD Sender: No OFD packet to send [08:24:15]OFD Sender: No OFD packet to send [08:24:20]OFD Sender: No OFD packet to send [08:24:25]OFD Sender: No OFD packet to send [08:24:30]OFD Sender: No OFD packet to send [08:24:35]OFD Sender: No OFD packet to send [08:24:40]OFD Sender: No OFD packet to send [08:24:45]OFD Sender: No OFD packet to send [08:24:50]OFD Sender: No OFD packet to send [08:24:55]OFD Sender: No OFD packet to send [08:25:00]OFD Sender: No OFD packet to send [08:25:05]OFD Sender: No OFD packet to send [08:25:10]OFD Sender: No OFD packet to send [08:25:15]OFD Sender: No OFD packet to send [08:25:20]OFD Sender: No OFD packet to send [08:25:25]OFD Sender: No OFD packet to send [08:25:30]OFD Sender: No OFD packet to send [08:25:35]OFD Sender: No OFD packet to send [08:25:40]OFD Sender: No OFD packet to send [08:25:45]OFD Sender: No OFD packet to send [08:25:50]OFD Sender: No OFD packet to send [08:25:55]OFD Sender: No OFD packet to send [08:26:00]OFD Sender: No OFD packet to send [08:26:05]OFD Sender: No OFD packet to send [08:26:10]OFD Sender: No OFD packet to send [08:26:15]OFD Sender: No OFD packet to send [08:26:20]OFD Sender: No OFD packet to send [08:26:25]OFD Sender: No OFD packet to send [08:26:30]OFD Sender: No OFD packet to send [08:26:35]OFD Sender: No OFD packet to send [08:26:40]OFD Sender: No OFD packet to send [08:26:45]OFD Sender: No OFD packet to send [08:26:50]OFD Sender: No OFD packet to send [08:26:55]OFD Sender: No OFD packet to send [08:27:00]OFD Sender: No OFD packet to send [08:27:05]OFD Sender: No OFD packet to send [08:27:10]OFD Sender: No OFD packet to send [08:27:15]OFD Sender: No OFD packet to send [08:27:20]OFD Sender: No OFD packet to send [08:27:25]OFD Sender: No OFD packet to send [08:27:30]OFD Sender: No OFD packet to send [08:27:35]OFD Sender: No OFD packet to send [08:27:40]OFD Sender: No OFD packet to send [08:27:45]OFD Sender: No OFD packet to send [08:27:50]OFD Sender: No OFD packet to send [08:27:55]OFD Sender: No OFD packet to send [08:28:00]OFD Sender: No OFD packet to send [08:28:05]OFD Sender: No OFD packet to send [08:28:10]OFD Sender: No OFD packet to send [08:28:15]OFD Sender: No OFD packet to send [08:28:20]OFD Sender: No OFD packet to send [08:28:25]OFD Sender: No OFD packet to send [08:28:30]OFD Sender: No OFD packet to send [08:28:35]OFD Sender: No OFD packet to send [08:28:40]OFD Sender: No OFD packet to send [08:28:45]OFD Sender: No OFD packet to send [08:28:50]OFD Sender: No OFD packet to send [08:28:55]OFD Sender: No OFD packet to send [08:29:00]OFD Sender: No OFD packet to send [08:29:05]OFD Sender: No OFD packet to send [08:29:10]OFD Sender: No OFD packet to send [08:29:15]OFD Sender: No OFD packet to send [08:29:20]OFD Sender: No OFD packet to send [08:29:25]OFD Sender: No OFD packet to send [08:29:30]OFD Sender: No OFD packet to send [08:29:35]OFD Sender: No OFD packet to send [08:29:40]OFD Sender: No OFD packet to send [08:29:45]OFD Sender: No OFD packet to send [08:29:50]OFD Sender: No OFD packet to send [08:29:55]OFD Sender: No OFD packet to send [08:30:00]OFD Sender: No OFD packet to send [08:30:05]OFD Sender: No OFD packet to send [08:30:10]OFD Sender: No OFD packet to send [08:30:15]OFD Sender: No OFD packet to send [08:30:20]OFD Sender: No OFD packet to send [08:30:25]OFD Sender: No OFD packet to send [08:30:30]OFD Sender: No OFD packet to send [08:30:35]OFD Sender: No OFD packet to send [08:30:40]OFD Sender: No OFD packet to send [08:30:45]OFD Sender: No OFD packet to send [08:30:50]OFD Sender: No OFD packet to send [08:30:55]OFD Sender: No OFD packet to send [08:31:00]OFD Sender: No OFD packet to send [08:31:05]OFD Sender: No OFD packet to send [08:31:10]OFD Sender: No OFD packet to send [08:31:15]OFD Sender: No OFD packet to send [08:31:20]OFD Sender: No OFD packet to send [08:31:25]OFD Sender: No OFD packet to send [08:31:30]OFD Sender: No OFD packet to send [08:31:35]OFD Sender: No OFD packet to send [08:31:40]OFD Sender: No OFD packet to send [08:31:45]OFD Sender: No OFD packet to send [08:31:50]OFD Sender: No OFD packet to send [08:31:55]OFD Sender: No OFD packet to send [08:32:00]OFD Sender: No OFD packet to send [08:32:05]OFD Sender: No OFD packet to send [08:32:10]OFD Sender: No OFD packet to send [08:32:15]OFD Sender: No OFD packet to send [08:32:20]OFD Sender: No OFD packet to send [08:32:25]OFD Sender: No OFD packet to send [08:32:30]OFD Sender: No OFD packet to send [08:32:35]OFD Sender: No OFD packet to send [08:32:40]OFD Sender: No OFD packet to send [08:32:45]OFD Sender: No OFD packet to send [08:32:50]OFD Sender: No OFD packet to send [08:32:55]OFD Sender: No OFD packet to send [08:33:00]OFD Sender: No OFD packet to send [08:33:05]OFD Sender: No OFD packet to send [08:33:10]OFD Sender: No OFD packet to send [08:33:15]OFD Sender: No OFD packet to send [08:33:20]OFD Sender: No OFD packet to send [08:33:25]OFD Sender: No OFD packet to send [08:33:30]OFD Sender: No OFD packet to send [08:33:35]OFD Sender: No OFD packet to send [08:33:40]OFD Sender: No OFD packet to send [08:33:45]OFD Sender: No OFD packet to send [08:33:50]OFD Sender: No OFD packet to send [08:33:55]OFD Sender: No OFD packet to send [08:34:00]OFD Sender: No OFD packet to send [08:34:05]OFD Sender: No OFD packet to send [08:34:10]OFD Sender: No OFD packet to send [08:34:15]OFD Sender: No OFD packet to send [08:34:20]OFD Sender: No OFD packet to send [08:34:25]OFD Sender: No OFD packet to send [08:34:30]OFD Sender: No OFD packet to send [08:34:35]OFD Sender: No OFD packet to send [08:34:40]OFD Sender: No OFD packet to send [08:34:45]OFD Sender: No OFD packet to send [08:34:50]OFD Sender: No OFD packet to send [08:34:55]OFD Sender: No OFD packet to send [08:35:00]OFD Sender: No OFD packet to send [08:35:05]OFD Sender: No OFD packet to send [08:35:10]OFD Sender: No OFD packet to send [08:35:15]OFD Sender: No OFD packet to send [08:35:20]OFD Sender: No OFD packet to send [08:35:25]OFD Sender: No OFD packet to send [08:35:30]OFD Sender: No OFD packet to send [08:35:35]OFD Sender: No OFD packet to send [08:35:40]OFD Sender: No OFD packet to send [08:35:45]OFD Sender: No OFD packet to send [08:35:50]OFD Sender: No OFD packet to send [08:35:55]OFD Sender: No OFD packet to send [08:36:00]OFD Sender: No OFD packet to send [08:36:05]OFD Sender: No OFD packet to send [08:36:10]OFD Sender: No OFD packet to send [08:36:15]OFD Sender: No OFD packet to send [08:36:20]OFD Sender: No OFD packet to send [08:36:25]OFD Sender: No OFD packet to send [08:36:30]OFD Sender: No OFD packet to send [08:36:35]OFD Sender: No OFD packet to send [08:36:40]OFD Sender: No OFD packet to send [08:36:45]OFD Sender: No OFD packet to send [08:36:50]OFD Sender: No OFD packet to send [08:36:55]OFD Sender: No OFD packet to send [08:37:00]OFD Sender: No OFD packet to send [08:37:05]OFD Sender: No OFD packet to send [08:37:10]OFD Sender: No OFD packet to send [08:37:15]OFD Sender: No OFD packet to send [08:37:20]OFD Sender: No OFD packet to send [08:37:25]OFD Sender: No OFD packet to send [08:37:30]OFD Sender: No OFD packet to send [08:37:35]OFD Sender: No OFD packet to send [08:37:40]OFD Sender: No OFD packet to send [08:37:45]OFD Sender: No OFD packet to send [08:37:50]OFD Sender: No OFD packet to send [08:37:55]OFD Sender: No OFD packet to send [08:38:00]OFD Sender: No OFD packet to send [08:38:05]OFD Sender: No OFD packet to send [08:38:10]OFD Sender: No OFD packet to send [08:38:15]OFD Sender: No OFD packet to send [08:38:20]OFD Sender: No OFD packet to send [08:38:26]OFD Sender: No OFD packet to send [08:38:31]OFD Sender: No OFD packet to send [08:38:36]OFD Sender: No OFD packet to send [08:38:41]OFD Sender: No OFD packet to send [08:38:46]OFD Sender: No OFD packet to send [08:38:51]OFD Sender: No OFD packet to send [08:38:56]OFD Sender: No OFD packet to send [08:39:01]OFD Sender: No OFD packet to send [08:39:06]OFD Sender: No OFD packet to send [08:39:11]OFD Sender: No OFD packet to send [08:39:16]OFD Sender: No OFD packet to send [08:39:21]OFD Sender: No OFD packet to send [08:39:26]OFD Sender: No OFD packet to send [08:39:31]OFD Sender: No OFD packet to send [08:39:36]OFD Sender: No OFD packet to send [08:39:41]OFD Sender: No OFD packet to send [08:39:46]OFD Sender: No OFD packet to send [08:39:51]OFD Sender: No OFD packet to send [08:39:56]OFD Sender: No OFD packet to send [08:40:01]OFD Sender: No OFD packet to send [08:40:06]OFD Sender: No OFD packet to send [08:40:11]OFD Sender: No OFD packet to send [08:40:16]OFD Sender: No OFD packet to send [08:40:21]OFD Sender: No OFD packet to send [08:40:26]OFD Sender: No OFD packet to send [08:40:31]OFD Sender: No OFD packet to send [08:40:36]OFD Sender: No OFD packet to send [08:40:41]OFD Sender: No OFD packet to send [08:40:46]OFD Sender: No OFD packet to send [08:40:51]OFD Sender: No OFD packet to send [08:40:56]OFD Sender: No OFD packet to send [08:41:01]OFD Sender: No OFD packet to send [08:41:06]OFD Sender: No OFD packet to send [08:41:11]OFD Sender: No OFD packet to send [08:41:16]OFD Sender: No OFD packet to send [08:41:21]OFD Sender: No OFD packet to send [08:41:26]OFD Sender: No OFD packet to send [08:41:31]OFD Sender: No OFD packet to send [08:41:36]OFD Sender: No OFD packet to send [08:41:41]OFD Sender: No OFD packet to send [08:41:46]OFD Sender: No OFD packet to send [08:41:51]OFD Sender: No OFD packet to send [08:41:56]OFD Sender: No OFD packet to send [08:42:01]OFD Sender: No OFD packet to send [08:42:06]OFD Sender: No OFD packet to send [08:42:11]OFD Sender: No OFD packet to send [08:42:16]OFD Sender: No OFD packet to send [08:42:21]OFD Sender: No OFD packet to send [08:42:26]OFD Sender: No OFD packet to send [08:42:31]OFD Sender: No OFD packet to send [08:42:36]OFD Sender: No OFD packet to send [08:42:41]OFD Sender: No OFD packet to send [08:42:46]OFD Sender: No OFD packet to send [08:42:51]OFD Sender: No OFD packet to send [08:42:56]OFD Sender: No OFD packet to send [08:43:01]OFD Sender: No OFD packet to send [08:43:06]OFD Sender: No OFD packet to send [08:43:11]OFD Sender: No OFD packet to send [08:43:16]OFD Sender: No OFD packet to send [08:43:21]OFD Sender: No OFD packet to send [08:43:26]OFD Sender: No OFD packet to send [08:43:31]OFD Sender: No OFD packet to send [08:43:36]OFD Sender: No OFD packet to send [08:43:41]OFD Sender: No OFD packet to send [08:43:46]OFD Sender: No OFD packet to send [08:43:51]OFD Sender: No OFD packet to send [08:43:56]OFD Sender: No OFD packet to send [08:44:01]OFD Sender: No OFD packet to send [08:44:06]OFD Sender: No OFD packet to send [08:44:11]OFD Sender: No OFD packet to send [08:44:16]OFD Sender: No OFD packet to send [08:44:21]OFD Sender: No OFD packet to send [08:44:26]OFD Sender: No OFD packet to send [08:44:31]OFD Sender: No OFD packet to send [08:44:36]OFD Sender: No OFD packet to send [08:44:41]OFD Sender: No OFD packet to send [08:44:46]OFD Sender: No OFD packet to send [08:44:51]OFD Sender: No OFD packet to send [08:44:56]OFD Sender: No OFD packet to send [08:45:01]OFD Sender: No OFD packet to send [08:45:06]OFD Sender: No OFD packet to send [08:45:11]OFD Sender: No OFD packet to send [08:45:16]OFD Sender: No OFD packet to send [08:45:21]OFD Sender: No OFD packet to send [08:45:26]OFD Sender: No OFD packet to send [08:45:31]OFD Sender: No OFD packet to send [08:45:36]OFD Sender: No OFD packet to send [08:45:41]OFD Sender: No OFD packet to send [08:45:46]OFD Sender: No OFD packet to send [08:45:51]OFD Sender: No OFD packet to send [08:45:56]OFD Sender: No OFD packet to send [08:46:01]OFD Sender: No OFD packet to send [08:46:06]OFD Sender: No OFD packet to send [08:46:11]OFD Sender: No OFD packet to send [08:46:16]OFD Sender: No OFD packet to send [08:46:21]OFD Sender: No OFD packet to send [08:46:26]OFD Sender: No OFD packet to send [08:46:31]OFD Sender: No OFD packet to send [08:46:36]OFD Sender: No OFD packet to send [08:46:41]OFD Sender: No OFD packet to send [08:46:46]OFD Sender: No OFD packet to send [08:46:51]OFD Sender: No OFD packet to send [08:46:56]OFD Sender: No OFD packet to send [08:47:01]OFD Sender: No OFD packet to send [08:47:06]OFD Sender: No OFD packet to send [08:47:11]OFD Sender: No OFD packet to send [08:47:16]OFD Sender: No OFD packet to send [08:47:21]OFD Sender: No OFD packet to send [08:47:26]OFD Sender: No OFD packet to send [08:47:31]OFD Sender: No OFD packet to send [08:47:36]OFD Sender: No OFD packet to send [08:47:41]OFD Sender: No OFD packet to send [08:47:46]OFD Sender: No OFD packet to send [08:47:51]OFD Sender: No OFD packet to send [08:47:56]OFD Sender: No OFD packet to send [08:48:01]OFD Sender: No OFD packet to send [08:48:06]OFD Sender: No OFD packet to send [08:48:11]OFD Sender: No OFD packet to send [08:48:16]OFD Sender: No OFD packet to send [08:48:21]OFD Sender: No OFD packet to send [08:48:26]OFD Sender: No OFD packet to send [08:48:31]OFD Sender: No OFD packet to send [08:48:36]OFD Sender: No OFD packet to send [08:48:41]OFD Sender: No OFD packet to send [08:48:46]OFD Sender: No OFD packet to send [08:48:51]OFD Sender: No OFD packet to send [08:48:56]OFD Sender: No OFD packet to send [08:49:01]OFD Sender: No OFD packet to send [08:49:06]OFD Sender: No OFD packet to send [08:49:11]OFD Sender: No OFD packet to send [08:49:16]OFD Sender: No OFD packet to send [08:49:21]OFD Sender: No OFD packet to send [08:49:26]OFD Sender: No OFD packet to send [08:49:31]OFD Sender: No OFD packet to send [08:49:36]OFD Sender: No OFD packet to send [08:49:41]OFD Sender: No OFD packet to send [08:49:46]OFD Sender: No OFD packet to send [08:49:51]OFD Sender: No OFD packet to send [08:49:56]OFD Sender: No OFD packet to send [08:50:01]OFD Sender: No OFD packet to send [08:50:06]OFD Sender: No OFD packet to send [08:50:11]OFD Sender: No OFD packet to send [08:50:16]OFD Sender: No OFD packet to send [08:50:21]OFD Sender: No OFD packet to send [08:50:26]OFD Sender: No OFD packet to send [08:50:31]OFD Sender: No OFD packet to send [08:50:36]OFD Sender: No OFD packet to send [08:50:41]OFD Sender: No OFD packet to send [08:50:46]OFD Sender: No OFD packet to send [08:50:51]OFD Sender: No OFD packet to send [08:50:56]OFD Sender: No OFD packet to send [08:51:01]OFD Sender: No OFD packet to send [08:51:06]OFD Sender: No OFD packet to send [08:51:11]OFD Sender: No OFD packet to send [08:51:16]OFD Sender: No OFD packet to send [08:51:21]OFD Sender: No OFD packet to send [08:51:26]OFD Sender: No OFD packet to send [08:51:31]OFD Sender: No OFD packet to send [08:51:36]OFD Sender: No OFD packet to send [08:51:41]OFD Sender: No OFD packet to send [08:51:46]OFD Sender: No OFD packet to send [08:51:51]OFD Sender: No OFD packet to send [08:51:56]OFD Sender: No OFD packet to send [08:52:01]OFD Sender: No OFD packet to send [08:52:06]OFD Sender: No OFD packet to send [08:52:11]OFD Sender: No OFD packet to send [08:52:16]OFD Sender: No OFD packet to send [08:52:21]OFD Sender: No OFD packet to send [08:52:26]OFD Sender: No OFD packet to send [08:52:31]OFD Sender: No OFD packet to send [08:52:36]OFD Sender: No OFD packet to send [08:52:41]OFD Sender: No OFD packet to send [08:52:46]OFD Sender: No OFD packet to send [08:52:51]OFD Sender: No OFD packet to send [08:52:56]OFD Sender: No OFD packet to send [08:53:01]OFD Sender: No OFD packet to send [08:53:06]OFD Sender: No OFD packet to send [08:53:11]OFD Sender: No OFD packet to send [08:53:16]OFD Sender: No OFD packet to send [08:53:21]OFD Sender: No OFD packet to send [08:53:25]accept exits with 8 [08:53:25]New connection [08:53:25]New thread 3066838372 created [08:53:25]Thread 3066695012 joined [08:53:25]Waiting for new connection... [08:53:25] Sock 8.Parse request [08:53:25]Sock 8.Check first char [08:53:25]Sock 8.First char is OK [08:53:25]request: POST /json_proto HTTP/1.0 [08:53:25]Method: POST [08:53:25]URL: /json_proto [08:53:25]Method is POST - this is cgi request [08:53:25]url: /json_proto [08:53:25]query_string will be loaded in cgi processing [08:53:25]execute_cgi json_proto POST (null) [08:53:25]execute_cgi path=json_proto method=POST [08:53:25]POST find Content-Length [08:53:25]Host: 172.17.62.6:8080 [08:53:25]Content-Length: 908 [08:53:25]Content-Type: application/json [08:53:25] [08:53:25]POST finish read [08:53:25]Found Content-Length = 908 [08:53:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32868", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 3.000, "sum" : 390.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "90448300", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red Bull 0,355\u043B", "price" : 220.00, "quantity" : 1.000, "sum" : 220.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 610.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:53:25]execute_script... [08:53:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32868", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 3.000, "sum" : 390.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "90448300", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red Bull 0,355\u043B", "price" : 220.00, "quantity" : 1.000, "sum" : 220.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 610.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:53:25]POST & json_proto [08:53:25]process_json_proto [08:53:25]json parsed OK: [08:53:25]protocol is kg_v1.0 [08:53:25]action value=close_receipt [08:53:25]process_action close_receipt [08:53:25]cmd_close_receipt [08:53:25]MH_GetDate [08:53:25]Write to MH i2c: F0 00 00 5C 0B 56 [08:53:25]Write i2c OK [08:53:25]MH_I2C_Read... [08:53:25]Read from MH i2c: F0 [08:53:25]MH_I2C_Read... [08:53:25]Read from MH i2c: F0 09 00 [08:53:25]MH_I2C_Read... [08:53:25]Read from MH i2c: F0 09 00 5C 0B 00 0A D4 24 66 61 69 D2 64 C7 [08:53:25]GetLastDocTimeStamp 1713687411 [08:53:25]current date 1713689610 [08:53:25]FM_GetShiftState [08:53:25]SAM_PROTO_GetShiftState [08:53:25]wFMCommunicate request_size=4 [08:53:25]MH_SAM_APDU [08:53:25]CAPDU: 80 13 01 00 [08:53:25]Write to MH i2c: E2 08 00 5D 0B 80 13 01 00 00 00 00 00 E5 [08:53:25]Write i2c OK [08:53:25]MH_I2C_Read... [08:53:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:53:25]Read from MH i2c: E2 [08:53:25]MH_I2C_Read... [08:53:25]Read from MH i2c: E2 0E 00 [08:53:25]MH_I2C_Read... [08:53:25]Read from MH i2c: E2 0E 00 5D 0B 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 3D [08:53:25]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [08:53:25]wFMCommunicate OK [08:53:25]SAM_PROTO_GetShiftState done [08:53:25]FM_GetShiftState done [08:53:25]opened in 1713658727 [08:53:25]opened+sec_in_day 1713745127 [08:53:25]quantity*price = 39000 [08:53:25]sum+1 = 39001 [08:53:25]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 90448300 Энерг напиток Red Bull 0,355л 1.000 * 220.00 = 220.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 610.00 НСП 1% : 5.40 НДС 12% : 64.78 Наличными: 610.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 8 21.04.2024 08:53 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12596 ФПД: 237465980461275 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T085330&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12596&fm=237465980461275&tin=02508201610067®Number=0000000000100748&sum=61000 0 [08:53:27]StoreToDocumentArchive [08:53:27]shift 281 fd 12596 [08:53:27]save to /storage/0281/doc_00012596 [08:53:27]save last doc name /storage/0281/doc_00012596 to /storage/kkm_last_doc_name [08:53:27]save OK [08:53:27]Clear old archive folders... [08:53:27]ProcessDocumentItem done err = 0, tmpTLVsize=391 [08:53:27]tlvbuf is 00385E70 [08:53:27]SAM_PROTO_ClearQueue [08:53:27]wFMCommunicate request_size=4 [08:53:27]MH_SAM_APDU [08:53:27]CAPDU: 80 09 00 00 [08:53:27]Write to MH i2c: E2 08 00 6A 0B 80 09 00 00 00 00 00 00 E7 [08:53:27]Write i2c OK [08:53:27]MH_I2C_Read... [08:53:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:53:27]Read from MH i2c: E2 [08:53:27]MH_I2C_Read... [08:53:27]Read from MH i2c: E2 03 00 [08:53:27]MH_I2C_Read... [08:53:27]Read from MH i2c: E2 03 00 6A 0B 00 90 00 E9 [08:53:27]RAPDU: 90 00 [08:53:27]wFMCommunicate OK [08:53:27]SAM_PROTO_ClearQueue done [08:53:27]KKMCreateOFDPacket [08:53:27]OFDProtocolAddRootSTLVToBuf [08:53:27]FM_MakeSignedData [08:53:27]FM_MakeSignedData [08:53:27]SAM_PROTO_SignData [08:53:27]wFMCommunicate request_size=4 [08:53:27]MH_SAM_APDU [08:53:27]CAPDU: 80 0D 01 02 [08:53:27]Write to MH i2c: E2 08 00 6B 0B 80 0D 01 02 00 00 00 00 EF [08:53:27]Write i2c OK [08:53:27]MH_I2C_Read... [08:53:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:53:27]Read from MH i2c: E2 [08:53:27]MH_I2C_Read... [08:53:27]Read from MH i2c: E2 03 00 [08:53:27]MH_I2C_Read... [08:53:27]Read from MH i2c: E2 03 00 6B 0B 00 90 00 EA [08:53:27]RAPDU: 90 00 [08:53:27]wFMCommunicate OK [08:53:27]wFMCommunicate request_size=255 [08:53:27]MH_SAM_APDU [08:53:27]CAPDU: 80 0D 02 02 FA 03 00 87 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 58 98 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 55 00 00 00 00 13 04 06 00 F0 55 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 EE 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 [08:53:27]Write to MH i2c: E2 02 01 6C 0B 80 0D 02 02 FA 00 03 00 87 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 58 98 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 55 00 00 00 00 13 04 06 00 F0 55 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 EE 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 00 00 21 [08:53:27]Write i2c OK [08:53:27]MH_I2C_Read... [08:53:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:53:27]Read from MH i2c: E2 [08:53:27]MH_I2C_Read... [08:53:27]Read from MH i2c: E2 03 00 [08:53:27]MH_I2C_Read... [08:53:27]Read from MH i2c: E2 03 00 6C 0B 00 90 00 EB [08:53:27]RAPDU: 90 00 [08:53:27]wFMCommunicate OK [08:53:27]wFMCommunicate request_size=150 [08:53:27]MH_SAM_APDU [08:53:27]CAPDU: 80 0D 02 02 91 01 00 01 F7 03 06 00 1C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4E 19 00 00 00 00 07 04 06 00 48 EE 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 0A D4 24 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 34 31 00 00 35 04 06 00 D7 F9 5B 69 60 DB [08:53:27]Write to MH i2c: E2 99 00 6D 0B 80 0D 02 02 91 00 01 00 01 F7 03 06 00 1C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4E 19 00 00 00 00 07 04 06 00 48 EE 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 0A D4 24 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 34 31 00 00 35 04 06 00 D7 F9 5B 69 60 DB 00 00 BE [08:53:27]Write i2c OK [08:53:27]MH_I2C_Read... [08:53:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:53:27]Read from MH i2c: E2 [08:53:27]MH_I2C_Read... [08:53:27]Read from MH i2c: E2 03 00 [08:53:27]MH_I2C_Read... [08:53:27]Read from MH i2c: E2 03 00 6D 0B 00 90 00 EC [08:53:27]RAPDU: 90 00 [08:53:27]wFMCommunicate OK [08:53:27]wFMCommunicate request_size=4 [08:53:27]MH_SAM_APDU [08:53:27]CAPDU: 80 0D 03 02 [08:53:27]Write to MH i2c: E2 08 00 6E 0B 80 0D 03 02 00 00 00 00 F4 [08:53:27]Write i2c OK [08:53:27]MH_I2C_Read... [08:53:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:53:27]Read from MH i2c: E2 [08:53:27]MH_I2C_Read... [08:53:27]Read from MH i2c: E2 0B 00 [08:53:27]MH_I2C_Read... [08:53:27]Read from MH i2c: E2 0B 00 6E 0B 00 6A A6 4C 74 D6 21 9D 83 90 00 DC [08:53:27]RAPDU: 6A A6 4C 74 D6 21 9D 83 90 00 [08:53:27]wFMCommunicate OK [08:53:27]SAM_PROTO_SignData done [08:53:27]FM_MakeSignedData done [08:53:27]CreateOFDProtocolMessage [08:53:27]wFMCommunicate request_size=4 [08:53:27]MH_SAM_APDU [08:53:27]CAPDU: 80 11 00 00 [08:53:27]Write to MH i2c: E2 08 00 6F 0B 80 11 00 00 00 00 00 00 F4 [08:53:27]Write i2c OK [08:53:27]MH_I2C_Read... [08:53:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:53:27]Read from MH i2c: E2 [08:53:27]MH_I2C_Read... [08:53:27]Read from MH i2c: E2 17 00 [08:53:27]MH_I2C_Read... [08:53:27]Read from MH i2c: E2 17 00 6F 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 4E [08:53:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [08:53:27]wFMCommunicate OK [08:53:27]CreateOFDProtocolMessage done [08:53:27]OFDSenderStorePacket 12596 [08:53:27]StoreOFDPacket docnum=12596 [08:53:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 9B 01 00 00 62 CD 93 01 BE A7 5A 03 01 00 03 00 87 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 58 98 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 55 00 00 00 00 13 04 06 00 F0 55 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 EE 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4E 19 00 00 00 00 07 04 06 00 48 EE 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 0A D4 24 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 34 31 00 00 35 04 06 00 D7 F9 5B 69 60 DB 6A A6 4C 74 D6 21 9D 83 [08:53:27]CheckFolder [08:53:27]dirname=/storage/ofd_packets [08:53:27]CheckFolder done [08:53:27]ProducePacketName [08:53:27]name=ofd_packets/00012596 [08:53:27]NVStorageSaveData ofd_packets/00012596 [08:53:27]File name is /storage/ofd_packets/00012596 [08:53:27]Write 441 bytes [08:53:27]NVStorageSaveData done [08:53:27]OFDSenderStorePacket done [08:53:27]KKMCreateOFDPacket done [08:53:27]NVStorageSaveData kkm_last_timestamp [08:53:27]File name is /storage/kkm_last_timestamp [08:53:27]Write 4 bytes [08:53:27]NVStorageSaveData done [08:53:27]ExternCall_PrintAddStr [08:53:27]wPrintStart [08:53:27]Write to MH i2c: 01 00 00 70 0B 7B [08:53:27]Write i2c OK [08:53:27]MH_I2C_Read... [08:53:27]Read from MH i2c: 01 [08:53:27]MH_I2C_Read... [08:53:27]Read from MH i2c: 01 07 00 [08:53:27]MH_I2C_Read... [08:53:27]OFD Sender: Processing packet 12596 [packets to send 7, broken 6] [08:53:27]ProducePacketName [08:53:27]name=ofd_packets/00012596 [08:53:27]OFD Sender: To server: pG, [08:53:27]CommunicateWithHost lk.salyk.kg:30040 [08:53:27]ConnectInit lk.salyk.kg [08:53:27]Read from MH i2c: 01 07 00 70 0B 00 00 00 00 00 FF 0F 90 [08:53:27]RasterBufferAndPrint [08:53:27]line Счет N : (3)32868 [08:53:27]line ИНН: 02508201610067 [08:53:27]line Контрольно-Кассовый Чек [08:53:27]line ПРОДАЖА [08:53:27]line Товар: 2000036220012 [08:53:27]line Кофе Капучино XL(GABB TRADE) [08:53:27]line 3.000 * 130.00 [08:53:27]line = 390.00 [08:53:28]line НДС 12% НСП 1% [08:53:28]line > о реализуемом товаре [08:53:28]line Товар: 90448300 [08:53:28]line Энерг напиток Red Bull 0,355л [08:53:28]line 1.000 * 220.00 [08:53:28]line = 220.00 [08:53:28]line НДС 12% НСП 1% [08:53:28]line > о реализуемом товаре [08:53:28]line ИТОГО: 610.00 [08:53:28]line НСП 1% : 5.40 [08:53:28]line НДС 12% : 64.78 [08:53:28]line Наличными: 610.00 [08:53:28]line Безнал.: 0.00 [08:53:28]line Место: АЗС № 106 "Партнер Нефть" [08:53:28]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [08:53:28]line СНО: Общий режим [08:53:28]line Чек 8 21.04.2024 08:53 [08:53:28]line Смена: 281 ФФД: 1.0 [08:53:28]line ЗНМ: 0300000004 [08:53:28]line РНМ: 0000000000100748 [08:53:28]line Версия ККМ: 001 [08:53:28]line ФМ: 0000000000965685 [08:53:28]line ФД: 12596 [08:53:28]line ФПД: 237465980461275 [08:53:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T085330&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12596&fm=237465980461275&tin=02508201610067®Number=0000000000100748&sum=61000 [08:53:28]line 0 [08:53:28]written 0, free lines is 4095 [08:53:28]Connected sock=9 [08:53:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 9B 01 00 00 62 CD 93 01 BE A7 5A 03 01 00 03 00 87 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 58 98 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 55 00 00 00 00 13 04 06 00 F0 55 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 EE 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4E 19 00 00 00 00 07 04 06 00 48 EE 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 0A D4 24 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 34 31 00 00 35 04 06 00 D7 F9 5B 69 60 DB 6A A6 4C 74 D6 21 9D 83 [08:53:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 EE 7C 47 00 79 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 39 36 35 36 38 35 10 04 04 00 34 31 00 00 F4 03 04 00 8C 7C 24 66 B6 04 01 00 00 F1 C4 DA 79 D5 34 C5 15 [08:53:28]CommunicateWithHost err = 0 [08:53:28]CheckOFDResponse [08:53:28]1017 (14) - 77093643461234 [08:53:28]1041 (16) - 0000000000965685 [08:53:28]1040 (4) - 12596 [08:53:28]1012 (4) - 21.04.2024 02:40 [08:53:28]1206 (1) - 0 [08:53:28]OFD Sender: Remove packet 12596 [08:53:28]ProducePacketName [08:53:28]name=ofd_packets/00012596 [08:53:28]NVStorageDeleteData [08:53:28]Write to MH i2c: 01 00 00 9E 0B A9 [08:53:28]Write i2c OK [08:53:28]MH_I2C_Read... [08:53:28]Read from MH i2c: 01 [08:53:28]MH_I2C_Read... [08:53:28]Read from MH i2c: 01 07 00 [08:53:28]MH_I2C_Read... [08:53:28]Read from MH i2c: 01 07 00 9E 0B 00 00 00 00 00 A7 0C 63 [08:53:28]RasterBufferAndPrint [08:53:28]line [08:53:28]line [08:53:28]line [08:53:28]line [08:53:28]line [08:53:28]written 0, free lines is 3246 [08:53:28]MH_Cut [08:53:28]Write to MH i2c: D1 01 00 A5 0B 01 82 [08:53:28]Write i2c OK [08:53:28]MH_I2C_Read... [08:53:28]Read from MH i2c: D1 [08:53:28]MH_I2C_Read... [08:53:28]Read from MH i2c: D1 01 00 [08:53:28]MH_I2C_Read... [08:53:28]Read from MH i2c: D1 01 00 A5 0B 00 81 [08:53:28]Write to MH i2c: 01 00 00 A6 0B B1 [08:53:28]Write i2c OK [08:53:28]MH_I2C_Read... [08:53:28]OFD Sender: No OFD packet to send [08:53:29]*** Cut start [08:53:29]*** Partial cut [08:53:29]*** CUTSNS_PIN = 1 [08:53:29]*** CUTSNS_PIN = 0 [08:53:29]*** Brake cut motor [08:53:29]Read from MH i2c: 01 [08:53:29]MH_I2C_Read... [08:53:29]*** Stop cut motor [08:53:29]*** Cut end [08:53:29]Read from MH i2c: 01 07 00 [08:53:29]MH_I2C_Read... [08:53:29]Read from MH i2c: 01 07 00 A6 0B 00 00 00 00 00 FF 0F C6 [08:53:29]process_action close_receipt done [08:53:29]requested_data is exist [08:53:29]produce_requested_data [08:53:29]requested_item fm.sn is exist - process it [08:53:29]wFMCommunicate request_size=4 [08:53:29]MH_SAM_APDU [08:53:29]CAPDU: 80 11 00 00 [08:53:29]Write to MH i2c: E2 08 00 A7 0B 80 11 00 00 00 00 00 00 2C [08:53:29]Write i2c OK [08:53:29]MH_I2C_Read... [08:53:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:53:30]Read from MH i2c: E2 [08:53:30]MH_I2C_Read... [08:53:30]Read from MH i2c: E2 17 00 [08:53:30]MH_I2C_Read... [08:53:30]Read from MH i2c: E2 17 00 A7 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 86 [08:53:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [08:53:30]wFMCommunicate OK [08:53:30]requested_item fd.num is exist - process it [08:53:30]SAM_PROTO_GetFieldsCounters [08:53:30]wFMCommunicate request_size=4 [08:53:30]MH_SAM_APDU [08:53:30]CAPDU: 80 13 00 00 [08:53:30]Write to MH i2c: E2 08 00 A8 0B 80 13 00 00 00 00 00 00 2F [08:53:30]Write i2c OK [08:53:30]MH_I2C_Read... [08:53:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:53:30]Read from MH i2c: E2 [08:53:30]MH_I2C_Read... [08:53:30]Read from MH i2c: E2 62 00 [08:53:30]MH_I2C_Read... [08:53:30]Read from MH i2c: E2 62 00 A8 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 34 31 00 00 0E 04 04 00 19 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 E9 [08:53:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 34 31 00 00 0E 04 04 00 19 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 [08:53:30]wFMCommunicate OK [08:53:30]SAM_PROTO_GetFieldsCounters done [08:53:30]requested_item shift.num is exist - process it [08:53:30]requested_item shift.opened is exist - process it [08:53:30]req_shift_opened [08:53:30]FM_GetShiftState [08:53:30]SAM_PROTO_GetShiftState [08:53:30]wFMCommunicate request_size=4 [08:53:30]MH_SAM_APDU [08:53:30]CAPDU: 80 13 01 00 [08:53:30]Write to MH i2c: E2 08 00 A9 0B 80 13 01 00 00 00 00 00 31 [08:53:30]Write i2c OK [08:53:30]MH_I2C_Read... [08:53:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:53:30]Read from MH i2c: E2 [08:53:30]MH_I2C_Read... [08:53:30]Read from MH i2c: E2 0E 00 [08:53:30]MH_I2C_Read... [08:53:30]Read from MH i2c: E2 0E 00 A9 0B 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 89 [08:53:30]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [08:53:30]wFMCommunicate OK [08:53:30]SAM_PROTO_GetShiftState done [08:53:30]FM_GetShiftState done [08:53:30]req_shift_opened done [08:53:30]requested_item shift.open_date is exist - process it [08:53:30]req_shift_open_date [08:53:30]req_shift_open_date done [08:53:30]produce_requested_data done [08:53:30]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12596,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [08:53:30]process_action_free close_receipt [08:53:30]json_value_free [08:53:30]json_value_free done [08:53:30]process_json_proto returns [08:53:30]Send response to host [08:53:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12596,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [08:53:30]free response buf [08:53:30]execute_script done [08:53:30]execute_script returns [08:53:30]free content buf [08:53:30]Sock 8.Close socket [08:53:30]Sock 8.Thread stoped [08:53:33]OFD Sender: No OFD packet to send [08:53:38]OFD Sender: No OFD packet to send [08:53:43]OFD Sender: No OFD packet to send [08:53:48]OFD Sender: No OFD packet to send [08:53:53]OFD Sender: No OFD packet to send [08:53:58]OFD Sender: No OFD packet to send [08:54:03]OFD Sender: No OFD packet to send [08:54:08]OFD Sender: No OFD packet to send [08:54:13]OFD Sender: No OFD packet to send [08:54:18]OFD Sender: No OFD packet to send [08:54:23]OFD Sender: No OFD packet to send [08:54:28]OFD Sender: No OFD packet to send [08:54:33]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:55:04]OFD Sender: No OFD packet to send [08:55:09]OFD Sender: No OFD packet to send [08:55:14]OFD Sender: No OFD packet to send [08:55:19]OFD Sender: No OFD packet to send [08:55:24]OFD Sender: No OFD packet to send [08:55:29]OFD Sender: No OFD packet to send [08:55:34]OFD Sender: No OFD packet to send [08:55:39]OFD Sender: No OFD packet to send [08:55:44]OFD Sender: No OFD packet to send [08:55:49]OFD Sender: No OFD packet to send [08:55:54]OFD Sender: No OFD packet to send [08:55:59]OFD Sender: No OFD packet to send [08:56:04]OFD Sender: No OFD packet to send [08:56:09]OFD Sender: No OFD packet to send [08:56:14]OFD Sender: No OFD packet to send [08:56:19]OFD Sender: No OFD packet to send [08:56:24]OFD Sender: No OFD packet to send [08:56:29]OFD Sender: No OFD packet to send [08:56:34]OFD Sender: No OFD packet to send [08:56:39]OFD Sender: No OFD packet to send [08:56:44]OFD Sender: No OFD packet to send [08:56:49]OFD Sender: No OFD packet to send [08:56:54]OFD Sender: No OFD packet to send [08:56:59]OFD Sender: No OFD packet to send [08:57:04]OFD Sender: No OFD packet to send [08:57:09]OFD Sender: No OFD packet to send [08:57:14]OFD Sender: No OFD packet to send [08:57:19]OFD Sender: No OFD packet to send [08:57:24]OFD Sender: No OFD packet to send [08:57:29]OFD Sender: No OFD packet to send [08:57:34]OFD Sender: No OFD packet to send [08:57:39]OFD Sender: No OFD packet to send [08:57:44]OFD Sender: No OFD packet to send [08:57:49]OFD Sender: No OFD packet to send [08:57:54]OFD Sender: No OFD packet to send [08:57:59]OFD Sender: No OFD packet to send [08:58:04]OFD Sender: No OFD packet to send [08:58:09]OFD Sender: No OFD packet to send [08:58:14]OFD Sender: No OFD packet to send [08:58:19]OFD Sender: No OFD packet to send [08:58:24]OFD Sender: No OFD packet to send [08:58:29]OFD Sender: No OFD packet to send [08:58:34]OFD Sender: No OFD packet to send [08:58:39]OFD Sender: No OFD packet to send [08:58:44]OFD Sender: No OFD packet to send [08:58:49]OFD Sender: No OFD packet to send [08:58:54]OFD Sender: No OFD packet to send [08:58:59]OFD Sender: No OFD packet to send [08:59:04]OFD Sender: No OFD packet to send [08:59:09]OFD Sender: No OFD packet to send [08:59:14]OFD Sender: No OFD packet to send [08:59:19]OFD Sender: No OFD packet to send [08:59:24]OFD Sender: No OFD packet to send [08:59:29]OFD Sender: No OFD packet to send [08:59:34]OFD Sender: No OFD packet to send [08:59:39]OFD Sender: No OFD packet to send [08:59:44]OFD Sender: No OFD packet to send [08:59:49]OFD Sender: No OFD packet to send [08:59:54]OFD Sender: No OFD packet to send [08:59:59]OFD Sender: No OFD packet to send [09:00:04]OFD Sender: No OFD packet to send [09:00:09]OFD Sender: No OFD packet to send [09:00:14]OFD Sender: No OFD packet to send [09:00:19]OFD Sender: No OFD packet to send [09:00:24]OFD Sender: No OFD packet to send [09:00:29]OFD Sender: No OFD packet to send [09:00:34]OFD Sender: No OFD packet to send [09:00:39]OFD Sender: No OFD packet to send [09:00:44]OFD Sender: No OFD packet to send [09:00:49]OFD Sender: No OFD packet to send [09:00:54]OFD Sender: No OFD packet to send [09:00:59]OFD Sender: No OFD packet to send [09:01:04]OFD Sender: No OFD packet to send [09:01:09]OFD Sender: No OFD packet to send [09:01:14]OFD Sender: No OFD packet to send [09:01:19]OFD Sender: No OFD packet to send [09:01:24]OFD Sender: No OFD packet to send [09:01:29]OFD Sender: No OFD packet to send [09:01:34]OFD Sender: No OFD packet to send [09:01:39]OFD Sender: No OFD packet to send [09:01:44]OFD Sender: No OFD packet to send [09:01:49]OFD Sender: No OFD packet to send [09:01:54]OFD Sender: No OFD packet to send [09:01:59]OFD Sender: No OFD packet to send [09:02:04]OFD Sender: No OFD packet to send [09:02:09]OFD Sender: No OFD packet to send [09:02:14]OFD Sender: No OFD packet to send [09:02:19]OFD Sender: No OFD packet to send [09:02:24]OFD Sender: No OFD packet to send [09:02:29]OFD Sender: No OFD packet to send [09:02:34]OFD Sender: No OFD packet to send [09:02:39]OFD Sender: No OFD packet to send [09:02:44]OFD Sender: No OFD packet to send [09:02:49]OFD Sender: No OFD packet to send [09:02:54]OFD Sender: No OFD packet to send [09:02:59]OFD Sender: No OFD packet to send [09:03:04]OFD Sender: No OFD packet to send [09:03:09]OFD Sender: No OFD packet to send [09:03:14]OFD Sender: No OFD packet to send [09:03:19]OFD Sender: No OFD packet to send [09:03:24]OFD Sender: No OFD packet to send [09:03:29]OFD Sender: No OFD packet to send [09:03:34]OFD Sender: No OFD packet to send [09:03:39]OFD Sender: No OFD packet to send [09:03:44]OFD Sender: No OFD packet to send [09:03:49]OFD Sender: No OFD packet to send [09:03:54]OFD Sender: No OFD packet to send [09:03:59]OFD Sender: No OFD packet to send [09:04:04]OFD Sender: No OFD packet to send [09:04:09]OFD Sender: No OFD packet to send [09:04:14]OFD Sender: No OFD packet to send [09:04:19]OFD Sender: No OFD packet to send [09:04:24]OFD Sender: No OFD packet to send [09:04:29]OFD Sender: No OFD packet to send [09:04:34]OFD Sender: No OFD packet to send [09:04:39]OFD Sender: No OFD packet to send [09:04:44]OFD Sender: No OFD packet to send [09:04:49]OFD Sender: No OFD packet to send [09:04:54]OFD Sender: No OFD packet to send [09:04:59]OFD Sender: No OFD packet to send [09:05:04]OFD Sender: No OFD packet to send [09:05:09]OFD Sender: No OFD packet to send [09:05:14]OFD Sender: No OFD packet to send [09:05:19]OFD Sender: No OFD packet to send [09:05:24]OFD Sender: No OFD packet to send [09:05:29]OFD Sender: No OFD packet to send [09:05:34]OFD Sender: No OFD packet to send [09:05:39]OFD Sender: No OFD packet to send [09:05:44]OFD Sender: No OFD packet to send [09:05:49]OFD Sender: No OFD packet to send [09:05:54]OFD Sender: No OFD packet to send [09:05:59]OFD Sender: No OFD packet to send [09:06:04]OFD Sender: No OFD packet to send [09:06:09]OFD Sender: No OFD packet to send [09:06:14]OFD Sender: No OFD packet to send [09:06:19]OFD Sender: No OFD packet to send [09:06:24]OFD Sender: No OFD packet to send [09:06:29]OFD Sender: No OFD packet to send [09:06:34]OFD Sender: No OFD packet to send [09:06:39]OFD Sender: No OFD packet to send [09:06:44]OFD Sender: No OFD packet to send [09:06:49]OFD Sender: No OFD packet to send [09:06:54]OFD Sender: No OFD packet to send [09:06:59]OFD Sender: No OFD packet to send [09:07:04]OFD Sender: No OFD packet to send [09:07:09]OFD Sender: No OFD packet to send [09:07:14]OFD Sender: No OFD packet to send [09:07:19]OFD Sender: No OFD packet to send [09:07:24]OFD Sender: No OFD packet to send [09:07:29]OFD Sender: No OFD packet to send [09:07:34]OFD Sender: No OFD packet to send [09:07:39]OFD Sender: No OFD packet to send [09:07:44]OFD Sender: No OFD packet to send [09:07:49]OFD Sender: No OFD packet to send [09:07:54]OFD Sender: No OFD packet to send [09:07:59]OFD Sender: No OFD packet to send [09:08:04]OFD Sender: No OFD packet to send [09:08:09]OFD Sender: No OFD packet to send [09:08:14]OFD Sender: No OFD packet to send [09:08:19]OFD Sender: No OFD packet to send [09:08:24]OFD Sender: No OFD packet to send [09:08:29]OFD Sender: No OFD packet to send [09:08:34]OFD Sender: No OFD packet to send [09:08:39]OFD Sender: No OFD packet to send [09:08:44]OFD Sender: No OFD packet to send [09:08:49]OFD Sender: No OFD packet to send [09:08:54]OFD Sender: No OFD packet to send [09:08:59]OFD Sender: No OFD packet to send [09:09:04]OFD Sender: No OFD packet to send [09:09:09]OFD Sender: No OFD packet to send [09:09:14]OFD Sender: No OFD packet to send [09:09:19]OFD Sender: No OFD packet to send [09:09:24]OFD Sender: No OFD packet to send [09:09:29]OFD Sender: No OFD packet to send [09:09:34]OFD Sender: No OFD packet to send [09:09:39]OFD Sender: No OFD packet to send [09:09:44]OFD Sender: No OFD packet to send [09:09:49]OFD Sender: No OFD packet to send [09:09:54]OFD Sender: No OFD packet to send [09:09:59]OFD Sender: No OFD packet to send [09:10:04]OFD Sender: No OFD packet to send [09:10:09]OFD Sender: No OFD packet to send [09:10:14]OFD Sender: No OFD packet to send [09:10:19]OFD Sender: No OFD packet to send [09:10:24]OFD Sender: No OFD packet to send [09:10:29]OFD Sender: No OFD packet to send [09:10:34]OFD Sender: No OFD packet to send [09:10:39]OFD Sender: No OFD packet to send [09:10:44]OFD Sender: No OFD packet to send [09:10:49]OFD Sender: No OFD packet to send [09:10:54]OFD Sender: No OFD packet to send [09:10:59]OFD Sender: No OFD packet to send [09:11:04]OFD Sender: No OFD packet to send [09:11:09]OFD Sender: No OFD packet to send [09:11:14]OFD Sender: No OFD packet to send [09:11:19]OFD Sender: No OFD packet to send [09:11:24]OFD Sender: No OFD packet to send [09:11:29]OFD Sender: No OFD packet to send [09:11:34]OFD Sender: No OFD packet to send [09:11:39]OFD Sender: No OFD packet to send [09:11:44]OFD Sender: No OFD packet to send [09:11:49]OFD Sender: No OFD packet to send [09:11:54]OFD Sender: No OFD packet to send [09:11:59]OFD Sender: No OFD packet to send [09:12:04]OFD Sender: No OFD packet to send [09:12:09]OFD Sender: No OFD packet to send [09:12:14]OFD Sender: No OFD packet to send [09:12:19]OFD Sender: No OFD packet to send [09:12:24]OFD Sender: No OFD packet to send [09:12:29]OFD Sender: No OFD packet to send [09:12:34]OFD Sender: No OFD packet to send [09:12:39]OFD Sender: No OFD packet to send [09:12:44]OFD Sender: No OFD packet to send [09:12:49]OFD Sender: No OFD packet to send [09:12:54]OFD Sender: No OFD packet to send [09:12:59]OFD Sender: No OFD packet to send [09:13:04]OFD Sender: No OFD packet to send [09:13:09]OFD Sender: No OFD packet to send [09:13:14]OFD Sender: No OFD packet to send [09:13:19]OFD Sender: No OFD packet to send [09:13:24]OFD Sender: No OFD packet to send [09:13:29]OFD Sender: No OFD packet to send [09:13:34]OFD Sender: No OFD packet to send [09:13:39]OFD Sender: No OFD packet to send [09:13:44]OFD Sender: No OFD packet to send [09:13:49]OFD Sender: No OFD packet to send [09:13:54]OFD Sender: No OFD packet to send [09:13:59]OFD Sender: No OFD packet to send [09:14:04]OFD Sender: No OFD packet to send [09:14:09]OFD Sender: No OFD packet to send [09:14:14]OFD Sender: No OFD packet to send [09:14:19]OFD Sender: No OFD packet to send [09:14:24]OFD Sender: No OFD packet to send [09:14:29]OFD Sender: No OFD packet to send [09:14:34]OFD Sender: No OFD packet to send [09:14:39]OFD Sender: No OFD packet to send [09:14:44]OFD Sender: No OFD packet to send [09:14:49]OFD Sender: No OFD packet to send [09:14:54]OFD Sender: No OFD packet to send [09:14:59]OFD Sender: No OFD packet to send [09:15:04]OFD Sender: No OFD packet to send [09:15:09]OFD Sender: No OFD packet to send [09:15:14]OFD Sender: No OFD packet to send [09:15:19]OFD Sender: No OFD packet to send [09:15:24]OFD Sender: No OFD packet to send [09:15:29]OFD Sender: No OFD packet to send [09:15:34]OFD Sender: No OFD packet to send [09:15:39]OFD Sender: No OFD packet to send [09:15:44]OFD Sender: No OFD packet to send [09:15:49]OFD Sender: No OFD packet to send [09:15:54]OFD Sender: No OFD packet to send [09:15:59]OFD Sender: No OFD packet to send [09:16:04]OFD Sender: No OFD packet to send [09:16:10]OFD Sender: No OFD packet to send [09:16:15]OFD Sender: No OFD packet to send [09:16:20]OFD Sender: No OFD packet to send [09:16:25]OFD Sender: No OFD packet to send [09:16:30]OFD Sender: No OFD packet to send [09:16:35]OFD Sender: No OFD packet to send [09:16:40]OFD Sender: No OFD packet to send [09:16:45]OFD Sender: No OFD packet to send [09:16:50]OFD Sender: No OFD packet to send [09:16:55]OFD Sender: No OFD packet to send [09:17:00]OFD Sender: No OFD packet to send [09:17:05]OFD Sender: No OFD packet to send [09:17:10]OFD Sender: No OFD packet to send [09:17:15]OFD Sender: No OFD packet to send [09:17:20]OFD Sender: No OFD packet to send [09:17:25]OFD Sender: No OFD packet to send [09:17:30]OFD Sender: No OFD packet to send [09:17:35]OFD Sender: No OFD packet to send [09:17:40]OFD Sender: No OFD packet to send [09:17:45]OFD Sender: No OFD packet to send [09:17:50]OFD Sender: No OFD packet to send [09:17:55]OFD Sender: No OFD packet to send [09:18:00]OFD Sender: No OFD packet to send [09:18:05]OFD Sender: No OFD packet to send [09:18:10]OFD Sender: No OFD packet to send [09:18:15]OFD Sender: No OFD packet to send [09:18:20]OFD Sender: No OFD packet to send [09:18:25]OFD Sender: No OFD packet to send [09:18:30]OFD Sender: No OFD packet to send [09:18:35]OFD Sender: No OFD packet to send [09:18:40]OFD Sender: No OFD packet to send [09:18:45]OFD Sender: No OFD packet to send [09:18:50]OFD Sender: No OFD packet to send [09:18:55]OFD Sender: No OFD packet to send [09:19:00]OFD Sender: No OFD packet to send [09:19:05]OFD Sender: No OFD packet to send [09:19:10]OFD Sender: No OFD packet to send [09:19:15]OFD Sender: No OFD packet to send [09:19:20]OFD Sender: No OFD packet to send [09:19:25]OFD Sender: No OFD packet to send [09:19:30]OFD Sender: No OFD packet to send [09:19:35]OFD Sender: No OFD packet to send [09:19:40]OFD Sender: No OFD packet to send [09:19:45]OFD Sender: No OFD packet to send [09:19:50]OFD Sender: No OFD packet to send [09:19:55]OFD Sender: No OFD packet to send [09:20:00]OFD Sender: No OFD packet to send [09:20:05]OFD Sender: No OFD packet to send [09:20:10]OFD Sender: No OFD packet to send [09:20:15]OFD Sender: No OFD packet to send [09:20:20]OFD Sender: No OFD packet to send [09:20:25]OFD Sender: No OFD packet to send [09:20:30]OFD Sender: No OFD packet to send [09:20:35]OFD Sender: No OFD packet to send [09:20:40]OFD Sender: No OFD packet to send [09:20:45]OFD Sender: No OFD packet to send [09:20:50]OFD Sender: No OFD packet to send [09:20:55]OFD Sender: No OFD packet to send [09:21:00]OFD Sender: No OFD packet to send [09:21:05]OFD Sender: No OFD packet to send [09:21:10]OFD Sender: No OFD packet to send [09:21:15]OFD Sender: No OFD packet to send [09:21:20]OFD Sender: No OFD packet to send [09:21:25]OFD Sender: No OFD packet to send [09:21:30]OFD Sender: No OFD packet to send [09:21:35]OFD Sender: No OFD packet to send [09:21:40]OFD Sender: No OFD packet to send [09:21:45]OFD Sender: No OFD packet to send [09:21:50]OFD Sender: No OFD packet to send [09:21:55]OFD Sender: No OFD packet to send [09:22:00]OFD Sender: No OFD packet to send [09:22:05]OFD Sender: No OFD packet to send [09:22:10]OFD Sender: No OFD packet to send [09:22:15]OFD Sender: No OFD packet to send [09:22:20]OFD Sender: No OFD packet to send [09:22:25]OFD Sender: No OFD packet to send [09:22:30]OFD Sender: No OFD packet to send [09:22:35]OFD Sender: No OFD packet to send [09:22:40]OFD Sender: No OFD packet to send [09:22:45]OFD Sender: No OFD packet to send [09:22:45]accept exits with 10 [09:22:45]New connection [09:22:45]New thread 3066695012 created [09:22:45]Thread 3066838372 joined [09:22:45]Waiting for new connection... [09:22:45] Sock 10.Parse request [09:22:45]Sock 10.Check first char [09:22:45]Sock 10.First char is OK [09:22:45]request: POST /json_proto HTTP/1.0 [09:22:45]Method: POST [09:22:45]URL: /json_proto [09:22:45]Method is POST - this is cgi request [09:22:45]url: /json_proto [09:22:45]query_string will be loaded in cgi processing [09:22:45]execute_cgi json_proto POST (null) [09:22:45]execute_cgi path=json_proto method=POST [09:22:45]POST find Content-Length [09:22:45]Host: 172.17.62.6:8080 [09:22:45]Content-Length: 215 [09:22:45]Content-Type: application/json [09:22:45] [09:22:45]POST finish read [09:22:45]Found Content-Length = 215 [09:22:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:22:45]execute_script... [09:22:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:22:45]POST & json_proto [09:22:45]process_json_proto [09:22:45]json parsed OK: [09:22:45]protocol is kg_v1.0 [09:22:45]action value=get_value [09:22:45]process_action get_value [09:22:45]cmd_get_value [09:22:45]process_action get_value done [09:22:45]requested_data is exist [09:22:45]produce_requested_data [09:22:45]requested_item kkm.sn is exist - process it [09:22:45]requested_item kkm.ver is exist - process it [09:22:45]requested_item fm.sn is exist - process it [09:22:45]wFMCommunicate request_size=4 [09:22:45]MH_SAM_APDU [09:22:45]CAPDU: 80 11 00 00 [09:22:45]Write to MH i2c: E2 08 00 AA 0B 80 11 00 00 00 00 00 00 2F [09:22:45]Write i2c OK [09:22:45]MH_I2C_Read... [09:22:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:22:45]Read from MH i2c: E2 [09:22:45]MH_I2C_Read... [09:22:45]Read from MH i2c: E2 17 00 [09:22:45]MH_I2C_Read... [09:22:45]Read from MH i2c: E2 17 00 AA 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 89 [09:22:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [09:22:45]wFMCommunicate OK [09:22:45]requested_item fd.num is exist - process it [09:22:45]SAM_PROTO_GetFieldsCounters [09:22:45]wFMCommunicate request_size=4 [09:22:45]MH_SAM_APDU [09:22:45]CAPDU: 80 13 00 00 [09:22:45]Write to MH i2c: E2 08 00 AB 0B 80 13 00 00 00 00 00 00 32 [09:22:45]Write i2c OK [09:22:45]MH_I2C_Read... [09:22:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:22:45]Read from MH i2c: E2 [09:22:45]MH_I2C_Read... [09:22:45]Read from MH i2c: E2 62 00 [09:22:45]MH_I2C_Read... [09:22:45]Read from MH i2c: E2 62 00 AB 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 34 31 00 00 0E 04 04 00 19 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 EC [09:22:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 34 31 00 00 0E 04 04 00 19 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 [09:22:45]wFMCommunicate OK [09:22:45]SAM_PROTO_GetFieldsCounters done [09:22:45]requested_item shift.num is exist - process it [09:22:45]requested_item shift.opened is exist - process it [09:22:45]req_shift_opened [09:22:45]FM_GetShiftState [09:22:45]SAM_PROTO_GetShiftState [09:22:45]wFMCommunicate request_size=4 [09:22:45]MH_SAM_APDU [09:22:45]CAPDU: 80 13 01 00 [09:22:45]Write to MH i2c: E2 08 00 AC 0B 80 13 01 00 00 00 00 00 34 [09:22:45]Write i2c OK [09:22:45]MH_I2C_Read... [09:22:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:22:45]Read from MH i2c: E2 [09:22:45]MH_I2C_Read... [09:22:45]Read from MH i2c: E2 0E 00 [09:22:45]MH_I2C_Read... [09:22:45]Read from MH i2c: E2 0E 00 AC 0B 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 8C [09:22:45]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [09:22:45]wFMCommunicate OK [09:22:45]SAM_PROTO_GetShiftState done [09:22:45]FM_GetShiftState done [09:22:45]req_shift_opened done [09:22:45]requested_item shift.open_date is exist - process it [09:22:45]req_shift_open_date [09:22:45]req_shift_open_date done [09:22:45]produce_requested_data done [09:22:45]produce_requested_data return {"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12596,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [09:22:45]process_action_free get_value [09:22:45]json_value_free [09:22:45]json_value_free done [09:22:45]process_json_proto returns [09:22:45]Send response to host [09:22:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12596,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [09:22:45]free response buf [09:22:45]execute_script done [09:22:45]execute_script returns [09:22:45]free content buf [09:22:45]Sock 10.Close socket [09:22:45]Sock 10.Thread stoped [09:22:45]accept exits with 8 [09:22:45]New connection [09:22:45]New thread 3066838372 created [09:22:45]Thread 3066695012 joined [09:22:45]Waiting for new connection... [09:22:45] Sock 8.Parse request [09:22:45]Sock 8.Check first char [09:22:45]Sock 8.First char is OK [09:22:45]request: POST /json_proto HTTP/1.0 [09:22:45]Method: POST [09:22:45]URL: /json_proto [09:22:45]Method is POST - this is cgi request [09:22:45]url: /json_proto [09:22:45]query_string will be loaded in cgi processing [09:22:45]execute_cgi json_proto POST (null) [09:22:45]execute_cgi path=json_proto method=POST [09:22:45]POST find Content-Length [09:22:45]Host: 172.17.62.6:8080 [09:22:45]Content-Length: 331 [09:22:45]Content-Type: application/json [09:22:45] [09:22:45]POST finish read [09:22:45]Found Content-Length = 331 [09:22:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [09:22:45]execute_script... [09:22:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [09:22:46]POST & json_proto [09:22:46]process_json_proto [09:22:46]json parsed OK: [09:22:46]protocol is kg_v1.0 [09:22:46]action value=get_value [09:22:46]process_action get_value [09:22:46]cmd_get_value [09:22:46]process_action get_value done [09:22:46]requested_data is exist [09:22:46]produce_requested_data [09:22:46]requested_item fm.sale.total is exist - process it [09:22:46]SAM_PROTO_GetFMData [09:22:46]wFMCommunicate request_size=4 [09:22:46]MH_SAM_APDU [09:22:46]CAPDU: 80 13 03 00 [09:22:46]Write to MH i2c: E2 08 00 AD 0B 80 13 03 00 00 00 00 00 37 [09:22:46]Write i2c OK [09:22:46]MH_I2C_Read... [09:22:46]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [09:22:46]Read from MH i2c: E2 [09:22:46]MH_I2C_Read... [09:22:46]Read from MH i2c: E2 FD 00 [09:22:46]MH_I2C_Read... [09:22:46]Read from MH i2c: E2 FD 00 AD 0B 00 C1 04 85 04 BD 04 6E 04 04 00 02 2F 00 00 69 04 A0 00 6F 04 04 00 B6 2E 00 00 B1 04 04 00 F7 4C BF 0E 70 04 04 00 9E 19 B9 0C 72 04 04 00 59 33 06 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 9E E9 90 01 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 B4 64 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 D5 0B EF 03 09 00 F6 03 90 00 F1 [09:22:46]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 02 2F 00 00 69 04 A0 00 6F 04 04 00 B6 2E 00 00 B1 04 04 00 F7 4C BF 0E 70 04 04 00 9E 19 B9 0C 72 04 04 00 59 33 06 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 9E E9 90 01 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 B4 64 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 D5 0B EF 03 09 00 F6 03 90 00 [09:22:46]wFMCommunicate OK [09:22:46]wFMCommunicate request_size=4 [09:22:46]MH_SAM_APDU [09:22:46]CAPDU: 80 17 00 00 [09:22:46]Write to MH i2c: E2 08 00 AE 0B 80 17 00 00 00 00 00 00 39 [09:22:46]Write i2c OK [09:22:46]MH_I2C_Read... [09:22:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:22:46]Read from MH i2c: E2 [09:22:46]MH_I2C_Read... [09:22:46]Read from MH i2c: E2 FD 00 [09:22:46]MH_I2C_Read... [09:22:46]Read from MH i2c: E2 FD 00 AE 0B 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 D7 [09:22:46]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [09:22:46]wFMCommunicate OK [09:22:46]wFMCommunicate request_size=4 [09:22:46]MH_SAM_APDU [09:22:46]CAPDU: 80 17 00 00 [09:22:46]Write to MH i2c: E2 08 00 AF 0B 80 17 00 00 00 00 00 00 3A [09:22:46]Write i2c OK [09:22:46]MH_I2C_Read... [09:22:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:22:47]Read from MH i2c: E2 [09:22:47]MH_I2C_Read... [09:22:47]Read from MH i2c: E2 FD 00 [09:22:47]MH_I2C_Read... [09:22:47]Read from MH i2c: E2 FD 00 AF 0B 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 DA [09:22:47]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [09:22:47]wFMCommunicate OK [09:22:47]wFMCommunicate request_size=4 [09:22:47]MH_SAM_APDU [09:22:47]CAPDU: 80 17 00 00 [09:22:47]Write to MH i2c: E2 08 00 B0 0B 80 17 00 00 00 00 00 00 3B [09:22:47]Write i2c OK [09:22:47]MH_I2C_Read... [09:22:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:22:47]Read from MH i2c: E2 [09:22:47]MH_I2C_Read... [09:22:47]Read from MH i2c: E2 FD 00 [09:22:47]MH_I2C_Read... [09:22:47]Read from MH i2c: E2 FD 00 B0 0B 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 C0 [09:22:47]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [09:22:47]wFMCommunicate OK [09:22:47]wFMCommunicate request_size=4 [09:22:47]MH_SAM_APDU [09:22:47]CAPDU: 80 17 00 00 [09:22:47]Write to MH i2c: E2 08 00 B1 0B 80 17 00 00 00 00 00 00 3C [09:22:47]Write i2c OK [09:22:47]MH_I2C_Read... [09:22:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [09:22:47]Read from MH i2c: E2 [09:22:47]MH_I2C_Read... [09:22:47]Read from MH i2c: E2 DE 00 [09:22:47]MH_I2C_Read... [09:22:47]Read from MH i2c: E2 DE 00 B1 0B 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 1B [09:22:47]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:22:47]wFMCommunicate OK [09:22:47]SAM_PROTO_GetFMData done [09:22:47]requested_item fm.sale_refund.total is exist - process it [09:22:47]requested_item fm.buy.total is exist - process it [09:22:47]requested_item shift.sale.total is exist - process it [09:22:47]SAM_PROTO_GetShiftData [09:22:47]wFMCommunicate request_size=4 [09:22:47]MH_SAM_APDU [09:22:47]CAPDU: 80 13 02 00 [09:22:47]Write to MH i2c: E2 08 00 B2 0B 80 13 02 00 00 00 00 00 3B [09:22:47]Write i2c OK [09:22:47]MH_I2C_Read... [09:22:48]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:22:48]Read from MH i2c: E2 [09:22:48]MH_I2C_Read... [09:22:48]Read from MH i2c: E2 FD 00 [09:22:48]MH_I2C_Read... [09:22:48]Read from MH i2c: E2 FD 00 B2 0B 00 AC 04 AA 04 A8 04 6E 04 04 00 08 00 00 00 69 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 2C D6 02 70 04 03 00 7C 9F 02 72 04 02 00 B0 36 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 1C 4D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 6D 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 E8 [09:22:48]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 08 00 00 00 69 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 2C D6 02 70 04 03 00 7C 9F 02 72 04 02 00 B0 36 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 1C 4D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 6D 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 [09:22:48]wFMCommunicate OK [09:22:48]wFMCommunicate request_size=4 [09:22:48]MH_SAM_APDU [09:22:48]CAPDU: 80 17 00 00 [09:22:48]Write to MH i2c: E2 08 00 B3 0B 80 17 00 00 00 00 00 00 3E [09:22:48]Write i2c OK [09:22:48]MH_I2C_Read... [09:22:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:22:48]Read from MH i2c: E2 [09:22:48]MH_I2C_Read... [09:22:48]Read from MH i2c: E2 FD 00 [09:22:48]MH_I2C_Read... [09:22:48]Read from MH i2c: E2 FD 00 B3 0B 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 53 [09:22:48]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 [09:22:48]wFMCommunicate OK [09:22:48]wFMCommunicate request_size=4 [09:22:48]MH_SAM_APDU [09:22:48]CAPDU: 80 17 00 00 [09:22:48]Write to MH i2c: E2 08 00 B4 0B 80 17 00 00 00 00 00 00 3F [09:22:48]Write i2c OK [09:22:48]MH_I2C_Read... [09:22:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:22:48]Read from MH i2c: E2 [09:22:48]MH_I2C_Read... [09:22:48]Read from MH i2c: E2 FD 00 [09:22:48]MH_I2C_Read... [09:22:48]Read from MH i2c: E2 FD 00 B4 0B 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 00 [09:22:48]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 [09:22:48]wFMCommunicate OK [09:22:48]wFMCommunicate request_size=4 [09:22:48]MH_SAM_APDU [09:22:48]CAPDU: 80 17 00 00 [09:22:48]Write to MH i2c: E2 08 00 B5 0B 80 17 00 00 00 00 00 00 40 [09:22:48]Write i2c OK [09:22:48]MH_I2C_Read... [09:22:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:22:48]Read from MH i2c: E2 [09:22:48]MH_I2C_Read... [09:22:48]Read from MH i2c: E2 FD 00 [09:22:48]MH_I2C_Read... [09:22:48]Read from MH i2c: E2 FD 00 B5 0B 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 B5 [09:22:48]RAPDU: EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 [09:22:48]wFMCommunicate OK [09:22:48]wFMCommunicate request_size=4 [09:22:48]MH_SAM_APDU [09:22:48]CAPDU: 80 17 00 00 [09:22:48]Write to MH i2c: E2 08 00 B6 0B 80 17 00 00 00 00 00 00 41 [09:22:48]Write i2c OK [09:22:48]MH_I2C_Read... [09:22:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [09:22:49]Read from MH i2c: E2 [09:22:49]MH_I2C_Read... [09:22:49]Read from MH i2c: E2 C9 00 [09:22:49]MH_I2C_Read... [09:22:49]Read from MH i2c: E2 C9 00 B6 0B 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 25 [09:22:49]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:22:49]wFMCommunicate OK [09:22:49]SAM_PROTO_GetShiftData done [09:22:49]requested_item shift.sale.total_cash is exist - process it [09:22:49]requested_item shift.sale_refund.total is exist - process it [09:22:49]requested_item shift.sale_refund.total_cash is exist - process it [09:22:49]requested_item shift.buy.total is exist - process it [09:22:49]requested_item shift.buy.total_cash is exist - process it [09:22:49]produce_requested_data done [09:22:49]produce_requested_data return {"fm.sale.total":2474181.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":1859.00,"shift.sale.total_cash":1719.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [09:22:49]process_action_free get_value [09:22:49]json_value_free [09:22:49]json_value_free done [09:22:49]process_json_proto returns [09:22:49]Send response to host [09:22:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2474181.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":1859.00,"shift.sale.total_cash":1719.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [09:22:49]free response buf [09:22:49]execute_script done [09:22:49]execute_script returns [09:22:49]free content buf [09:22:49]Sock 8.Close socket [09:22:49]Sock 8.Thread stoped [09:22:50]OFD Sender: No OFD packet to send [09:22:55]OFD Sender: No OFD packet to send [09:23:00]OFD Sender: No OFD packet to send [09:23:05]OFD Sender: No OFD packet to send [09:23:10]OFD Sender: No OFD packet to send [09:23:15]OFD Sender: No OFD packet to send [09:23:20]OFD Sender: No OFD packet to send [09:23:25]OFD Sender: No OFD packet to send [09:23:25]recv_with_timeout no data received [09:23:30]OFD Sender: No OFD packet to send [09:23:35]OFD Sender: No OFD packet to send [09:23:40]OFD Sender: No OFD packet to send [09:23:45]OFD Sender: No OFD packet to send [09:23:50]OFD Sender: No OFD packet to send [09:23:55]OFD Sender: No OFD packet to send [09:24:00]OFD Sender: No OFD packet to send [09:24:05]OFD Sender: No OFD packet to send [09:24:10]OFD Sender: No OFD packet to send [09:24:15]OFD Sender: No OFD packet to send [09:24:20]OFD Sender: No OFD packet to send [09:24:25]OFD Sender: No OFD packet to send [09:24:30]OFD Sender: No OFD packet to send [09:24:35]OFD Sender: No OFD packet to send [09:24:40]OFD Sender: No OFD packet to send [09:24:45]OFD Sender: No OFD packet to send [09:24:50]OFD Sender: No OFD packet to send [09:24:55]OFD Sender: No OFD packet to send [09:25:00]OFD Sender: No OFD packet to send [09:25:05]OFD Sender: No OFD packet to send [09:25:10]OFD Sender: No OFD packet to send [09:25:15]OFD Sender: No OFD packet to send [09:25:20]OFD Sender: No OFD packet to send [09:25:25]OFD Sender: No OFD packet to send [09:25:29]accept exits with 9 [09:25:29]New connection [09:25:29]New thread 3066695012 created [09:25:29]Thread 3066838372 joined [09:25:29]Waiting for new connection... [09:25:29] Sock 9.Parse request [09:25:29]Sock 9.Check first char [09:25:29]Sock 9.First char is OK [09:25:29]request: POST /json_proto HTTP/1.0 [09:25:29]Method: POST [09:25:29]URL: /json_proto [09:25:29]Method is POST - this is cgi request [09:25:29]url: /json_proto [09:25:29]query_string will be loaded in cgi processing [09:25:29]execute_cgi json_proto POST (null) [09:25:29]execute_cgi path=json_proto method=POST [09:25:29]POST find Content-Length [09:25:29]Host: 172.17.62.6:8080 [09:25:29]Content-Length: 895 [09:25:29]Content-Type: application/json [09:25:29] [09:25:29]POST finish read [09:25:29]Found Content-Length = 895 [09:25:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32869", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 261.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:25:29]execute_script... [09:25:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32869", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 261.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:25:29]POST & json_proto [09:25:29]process_json_proto [09:25:29]json parsed OK: [09:25:29]protocol is kg_v1.0 [09:25:29]action value=close_receipt [09:25:29]process_action close_receipt [09:25:29]cmd_close_receipt [09:25:29]MH_GetDate [09:25:29]Write to MH i2c: F0 00 00 B7 0B B1 [09:25:29]Write i2c OK [09:25:29]MH_I2C_Read... [09:25:29]Read from MH i2c: F0 [09:25:29]MH_I2C_Read... [09:25:29]Read from MH i2c: F0 09 00 [09:25:29]MH_I2C_Read... [09:25:29]Read from MH i2c: F0 09 00 B7 0B 00 8E DB 24 66 61 69 D2 64 AD [09:25:29]GetLastDocTimeStamp 1713689610 [09:25:29]current date 1713691534 [09:25:29]FM_GetShiftState [09:25:29]SAM_PROTO_GetShiftState [09:25:29]wFMCommunicate request_size=4 [09:25:29]MH_SAM_APDU [09:25:29]CAPDU: 80 13 01 00 [09:25:29]Write to MH i2c: E2 08 00 B8 0B 80 13 01 00 00 00 00 00 40 [09:25:29]Write i2c OK [09:25:29]MH_I2C_Read... [09:25:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:25:29]Read from MH i2c: E2 [09:25:29]MH_I2C_Read... [09:25:29]Read from MH i2c: E2 0E 00 [09:25:29]MH_I2C_Read... [09:25:29]Read from MH i2c: E2 0E 00 B8 0B 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 98 [09:25:29]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [09:25:29]wFMCommunicate OK [09:25:29]SAM_PROTO_GetShiftState done [09:25:29]FM_GetShiftState done [09:25:29]opened in 1713658727 [09:25:29]opened+sec_in_day 1713745127 [09:25:29]quantity*price = 11000 [09:25:29]sum+1 = 11001 [09:25:29]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48741958 Сигареты Parliament Aqua Blue 1.000 * 151.00 = 151.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 261.00 НСП 1% : 2.31 НДС 12% : 27.71 Наличными: 261.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 9 21.04.2024 09:25 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12597 ФПД: 259133943744209 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T092534&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12597&fm=259133943744209&tin=02508201610067®Number=0000000000100748&sum=26100 0 [09:25:30]StoreToDocumentArchive [09:25:30]shift 281 fd 12597 [09:25:30]save to /storage/0281/doc_00012597 [09:25:30]save last doc name /storage/0281/doc_00012597 to /storage/kkm_last_doc_name [09:25:30]save OK [09:25:30]Clear old archive folders... [09:25:30]ProcessDocumentItem done err = 0, tmpTLVsize=382 [09:25:30]tlvbuf is 00385A10 [09:25:30]SAM_PROTO_ClearQueue [09:25:30]wFMCommunicate request_size=4 [09:25:30]MH_SAM_APDU [09:25:30]CAPDU: 80 09 00 00 [09:25:30]Write to MH i2c: E2 08 00 C5 0B 80 09 00 00 00 00 00 00 42 [09:25:30]Write i2c OK [09:25:30]MH_I2C_Read... [09:25:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:25:30]Read from MH i2c: E2 [09:25:30]MH_I2C_Read... [09:25:30]Read from MH i2c: E2 03 00 [09:25:30]MH_I2C_Read... [09:25:30]Read from MH i2c: E2 03 00 C5 0B 00 90 00 44 [09:25:30]RAPDU: 90 00 [09:25:30]wFMCommunicate OK [09:25:30]SAM_PROTO_ClearQueue done [09:25:30]KKMCreateOFDPacket [09:25:30]OFDProtocolAddRootSTLVToBuf [09:25:30]FM_MakeSignedData [09:25:30]FM_MakeSignedData [09:25:30]SAM_PROTO_SignData [09:25:30]wFMCommunicate request_size=4 [09:25:30]MH_SAM_APDU [09:25:30]CAPDU: 80 0D 01 02 [09:25:30]Write to MH i2c: E2 08 00 C6 0B 80 0D 01 02 00 00 00 00 4A [09:25:30]Write i2c OK [09:25:30]MH_I2C_Read... [09:25:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:25:30]Read from MH i2c: E2 [09:25:30]MH_I2C_Read... [09:25:30]Read from MH i2c: E2 03 00 [09:25:30]MH_I2C_Read... [09:25:30]Read from MH i2c: E2 03 00 C6 0B 00 90 00 45 [09:25:30]RAPDU: 90 00 [09:25:30]wFMCommunicate OK [09:25:30]wFMCommunicate request_size=255 [09:25:30]MH_SAM_APDU [09:25:30]CAPDU: 80 0D 02 02 FA 03 00 7E 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E7 00 [09:25:30]Write to MH i2c: E2 02 01 C7 0B 80 0D 02 02 FA 00 03 00 7E 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E7 00 00 00 8B [09:25:30]Write i2c OK [09:25:30]MH_I2C_Read... [09:25:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:25:31]Read from MH i2c: E2 [09:25:31]MH_I2C_Read... [09:25:31]Read from MH i2c: E2 03 00 [09:25:31]MH_I2C_Read... [09:25:31]Read from MH i2c: E2 03 00 C7 0B 00 90 00 46 [09:25:31]RAPDU: 90 00 [09:25:31]wFMCommunicate OK [09:25:31]wFMCommunicate request_size=141 [09:25:31]MH_SAM_APDU [09:25:31]CAPDU: 80 0D 02 02 88 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 0A 00 00 00 00 07 04 06 00 F4 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 8E DB 24 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 35 31 00 00 35 04 06 00 EB AE 52 AA 86 D1 [09:25:31]Write to MH i2c: E2 90 00 C8 0B 80 0D 02 02 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 0A 00 00 00 00 07 04 06 00 F4 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 8E DB 24 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 35 31 00 00 35 04 06 00 EB AE 52 AA 86 D1 00 00 2A [09:25:31]Write i2c OK [09:25:31]MH_I2C_Read... [09:25:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:25:31]Read from MH i2c: E2 [09:25:31]MH_I2C_Read... [09:25:31]Read from MH i2c: E2 03 00 [09:25:31]MH_I2C_Read... [09:25:31]Read from MH i2c: E2 03 00 C8 0B 00 90 00 47 [09:25:31]RAPDU: 90 00 [09:25:31]wFMCommunicate OK [09:25:31]wFMCommunicate request_size=4 [09:25:31]MH_SAM_APDU [09:25:31]CAPDU: 80 0D 03 02 [09:25:31]Write to MH i2c: E2 08 00 C9 0B 80 0D 03 02 00 00 00 00 4F [09:25:31]Write i2c OK [09:25:31]MH_I2C_Read... [09:25:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:25:31]Read from MH i2c: E2 [09:25:31]MH_I2C_Read... [09:25:31]Read from MH i2c: E2 0B 00 [09:25:31]MH_I2C_Read... [09:25:31]Read from MH i2c: E2 0B 00 C9 0B 00 08 3C A6 65 78 F8 C1 79 90 00 49 [09:25:31]RAPDU: 08 3C A6 65 78 F8 C1 79 90 00 [09:25:31]wFMCommunicate OK [09:25:31]SAM_PROTO_SignData done [09:25:31]FM_MakeSignedData done [09:25:31]CreateOFDProtocolMessage [09:25:31]wFMCommunicate request_size=4 [09:25:31]MH_SAM_APDU [09:25:31]CAPDU: 80 11 00 00 [09:25:31]Write to MH i2c: E2 08 00 CA 0B 80 11 00 00 00 00 00 00 4F [09:25:31]Write i2c OK [09:25:31]MH_I2C_Read... [09:25:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:25:31]Read from MH i2c: E2 [09:25:31]MH_I2C_Read... [09:25:31]Read from MH i2c: E2 17 00 [09:25:31]MH_I2C_Read... [09:25:31]Read from MH i2c: E2 17 00 CA 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 A9 [09:25:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [09:25:31]wFMCommunicate OK [09:25:31]CreateOFDProtocolMessage done [09:25:31]OFDSenderStorePacket 12597 [09:25:31]StoreOFDPacket docnum=12597 [09:25:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 92 01 00 00 31 B3 8A 01 CC 1D 5A 03 01 00 03 00 7E 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 0A 00 00 00 00 07 04 06 00 F4 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 8E DB 24 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 35 31 00 00 35 04 06 00 EB AE 52 AA 86 D1 08 3C A6 65 78 F8 C1 79 [09:25:31]CheckFolder [09:25:31]dirname=/storage/ofd_packets [09:25:31]CheckFolder done [09:25:31]ProducePacketName [09:25:31]name=ofd_packets/00012597 [09:25:31]NVStorageSaveData ofd_packets/00012597 [09:25:31]File name is /storage/ofd_packets/00012597 [09:25:31]Write 432 bytes [09:25:31]NVStorageSaveData done [09:25:31]OFDSenderStorePacket done [09:25:31]KKMCreateOFDPacket done [09:25:31]NVStorageSaveData kkm_last_timestamp [09:25:31]File name is /storage/kkm_last_timestamp [09:25:31]Write 4 bytes [09:25:31]NVStorageSaveData done [09:25:31]ExternCall_PrintAddStr [09:25:31]wPrintStart [09:25:31]Write to MH i2c: 01 00 00 CB 0B D6 [09:25:31]Write i2c OK [09:25:31]MH_I2C_Read... [09:25:31]Read from MH i2c: 01 [09:25:31]MH_I2C_Read... [09:25:31]Read from MH i2c: 01 07 00 [09:25:31]MH_I2C_Read... [09:25:31]Read from MH i2c: 01 07 00 CB 0B 00 00 00 00 00 FF 0F EB [09:25:31]RasterBufferAndPrint [09:25:31]line Счет N : (3)32869 [09:25:31]line ИНН: 02508201610067 [09:25:31]line Контрольно-Кассовый Чек [09:25:31]line ПРОДАЖА [09:25:31]line Товар: 5449000054227 [09:25:31]line Напиток Кока-Кола 1л [09:25:31]line 1.000 * 110.00 [09:25:31]line = 110.00 [09:25:31]line НДС 12% НСП 1% [09:25:31]line > о реализуемом товаре [09:25:31]line Товар: 48741958 [09:25:31]line Сигареты Parliament Aqua Blue [09:25:31]line 1.000 * 151.00 [09:25:31]line = 151.00 [09:25:31]line НДС 12% НСП 1% [09:25:31]line > о реализуемом товаре [09:25:31]line ИТОГО: 261.00 [09:25:31]line НСП 1% : 2.31 [09:25:31]line НДС 12% : 27.71 [09:25:31]line Наличными: 261.00 [09:25:31]line Безнал.: 0.00 [09:25:31]line Место: АЗС № 106 "Партнер Нефть" [09:25:31]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [09:25:31]line СНО: Общий режим [09:25:31]line Чек 9 21.04.2024 09:25 [09:25:31]line Смена: 281 ФФД: 1.0 [09:25:31]line ЗНМ: 0300000004 [09:25:31]line РНМ: 0000000000100748 [09:25:31]line Версия ККМ: 001 [09:25:31]line ФМ: 0000000000965685 [09:25:31]line ФД: 12597 [09:25:31]line ФПД: 259133943744209 [09:25:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T092534&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12597&fm=259133943744209&tin=02508201610067®Number=0000000000100748&sum=26100 [09:25:31]line 0 [09:25:31]OFD Sender: Processing packet 12597 [packets to send 7, broken 6] [09:25:31]ProducePacketName [09:25:31]name=ofd_packets/00012597 [09:25:31]OFD Sender: To server: pG, [09:25:31]CommunicateWithHost lk.salyk.kg:30040 [09:25:31]ConnectInit lk.salyk.kg [09:25:31]written 0, free lines is 4095 [09:25:31]Connected sock=8 [09:25:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 92 01 00 00 31 B3 8A 01 CC 1D 5A 03 01 00 03 00 7E 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 0A 00 00 00 00 07 04 06 00 F4 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 8E DB 24 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 35 31 00 00 35 04 06 00 EB AE 52 AA 86 D1 08 3C A6 65 78 F8 C1 79 [09:25:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 7B D3 47 00 A9 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 39 36 35 36 38 35 10 04 04 00 35 31 00 00 F4 03 04 00 10 84 24 66 B6 04 01 00 00 37 D0 7C 94 80 D4 EE 6E [09:25:32]CommunicateWithHost err = 0 [09:25:32]CheckOFDResponse [09:25:32]1017 (14) - 77093643461234 [09:25:32]1041 (16) - 0000000000965685 [09:25:32]1040 (4) - 12597 [09:25:32]1012 (4) - 21.04.2024 03:12 [09:25:32]1206 (1) - 0 [09:25:32]OFD Sender: Remove packet 12597 [09:25:32]ProducePacketName [09:25:32]name=ofd_packets/00012597 [09:25:32]NVStorageDeleteData [09:25:32]Write to MH i2c: 01 00 00 F9 0B 04 [09:25:32]Write i2c OK [09:25:32]MH_I2C_Read... [09:25:32]Read from MH i2c: 01 [09:25:32]MH_I2C_Read... [09:25:32]Read from MH i2c: 01 07 00 [09:25:32]MH_I2C_Read... [09:25:32]Read from MH i2c: 01 07 00 F9 0B 00 00 00 00 00 99 0C B0 [09:25:32]RasterBufferAndPrint [09:25:32]line [09:25:32]line [09:25:32]line [09:25:32]line [09:25:32]line [09:25:32]written 0, free lines is 3234 [09:25:32]MH_Cut [09:25:32]Write to MH i2c: D1 01 00 00 0C 01 DE [09:25:32]Write i2c OK [09:25:32]MH_I2C_Read... [09:25:32]Read from MH i2c: D1 [09:25:32]MH_I2C_Read... [09:25:32]Read from MH i2c: D1 01 00 [09:25:32]MH_I2C_Read... [09:25:32]Read from MH i2c: D1 01 00 00 0C 00 DD [09:25:32]Write to MH i2c: 01 00 00 01 0C 0D [09:25:32]Write i2c OK [09:25:32]MH_I2C_Read... [09:25:32]OFD Sender: No OFD packet to send [09:25:33]*** Cut start [09:25:33]*** Partial cut [09:25:33]*** CUTSNS_PIN = 1 [09:25:33]*** CUTSNS_PIN = 0 [09:25:33]*** Brake cut motor [09:25:33]Read from MH i2c: 01 [09:25:33]MH_I2C_Read... [09:25:33]*** Stop cut motor [09:25:33]*** Cut end [09:25:33]Read from MH i2c: 01 07 00 [09:25:33]MH_I2C_Read... [09:25:33]Read from MH i2c: 01 07 00 01 0C 00 00 00 00 00 FF 0F 22 [09:25:33]process_action close_receipt done [09:25:33]requested_data is exist [09:25:33]produce_requested_data [09:25:33]requested_item fm.sn is exist - process it [09:25:33]wFMCommunicate request_size=4 [09:25:33]MH_SAM_APDU [09:25:33]CAPDU: 80 11 00 00 [09:25:33]Write to MH i2c: E2 08 00 02 0C 80 11 00 00 00 00 00 00 88 [09:25:33]Write i2c OK [09:25:33]MH_I2C_Read... [09:25:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:25:33]Read from MH i2c: E2 [09:25:33]MH_I2C_Read... [09:25:33]Read from MH i2c: E2 17 00 [09:25:33]MH_I2C_Read... [09:25:33]Read from MH i2c: E2 17 00 02 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 E2 [09:25:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [09:25:33]wFMCommunicate OK [09:25:33]requested_item fd.num is exist - process it [09:25:33]SAM_PROTO_GetFieldsCounters [09:25:33]wFMCommunicate request_size=4 [09:25:33]MH_SAM_APDU [09:25:33]CAPDU: 80 13 00 00 [09:25:33]Write to MH i2c: E2 08 00 03 0C 80 13 00 00 00 00 00 00 8B [09:25:33]Write i2c OK [09:25:33]MH_I2C_Read... [09:25:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:25:33]Read from MH i2c: E2 [09:25:33]MH_I2C_Read... [09:25:33]Read from MH i2c: E2 62 00 [09:25:33]MH_I2C_Read... [09:25:33]Read from MH i2c: E2 62 00 03 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 35 31 00 00 0E 04 04 00 19 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 49 [09:25:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 35 31 00 00 0E 04 04 00 19 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 [09:25:34]wFMCommunicate OK [09:25:34]SAM_PROTO_GetFieldsCounters done [09:25:34]requested_item shift.num is exist - process it [09:25:34]requested_item shift.opened is exist - process it [09:25:34]req_shift_opened [09:25:34]FM_GetShiftState [09:25:34]SAM_PROTO_GetShiftState [09:25:34]wFMCommunicate request_size=4 [09:25:34]MH_SAM_APDU [09:25:34]CAPDU: 80 13 01 00 [09:25:34]Write to MH i2c: E2 08 00 04 0C 80 13 01 00 00 00 00 00 8D [09:25:34]Write i2c OK [09:25:34]MH_I2C_Read... [09:25:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:25:34]Read from MH i2c: E2 [09:25:34]MH_I2C_Read... [09:25:34]Read from MH i2c: E2 0E 00 [09:25:34]MH_I2C_Read... [09:25:34]Read from MH i2c: E2 0E 00 04 0C 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 E5 [09:25:34]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [09:25:34]wFMCommunicate OK [09:25:34]SAM_PROTO_GetShiftState done [09:25:34]FM_GetShiftState done [09:25:34]req_shift_opened done [09:25:34]requested_item shift.open_date is exist - process it [09:25:34]req_shift_open_date [09:25:34]req_shift_open_date done [09:25:34]produce_requested_data done [09:25:34]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12597,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [09:25:34]process_action_free close_receipt [09:25:34]json_value_free [09:25:34]json_value_free done [09:25:34]process_json_proto returns [09:25:34]Send response to host [09:25:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12597,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [09:25:34]free response buf [09:25:34]execute_script done [09:25:34]execute_script returns [09:25:34]free content buf [09:25:34]Sock 9.Close socket [09:25:34]Sock 9.Thread stoped [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:08]OFD Sender: No OFD packet to send [09:31:13]OFD Sender: No OFD packet to send [09:31:18]OFD Sender: No OFD packet to send [09:31:23]OFD Sender: No OFD packet to send [09:31:28]OFD Sender: No OFD packet to send [09:31:33]OFD Sender: No OFD packet to send [09:31:38]OFD Sender: No OFD packet to send [09:31:43]OFD Sender: No OFD packet to send [09:31:48]OFD Sender: No OFD packet to send [09:31:53]OFD Sender: No OFD packet to send [09:31:58]OFD Sender: No OFD packet to send [09:32:03]OFD Sender: No OFD packet to send [09:32:08]OFD Sender: No OFD packet to send [09:32:13]OFD Sender: No OFD packet to send [09:32:18]OFD Sender: No OFD packet to send [09:32:23]OFD Sender: No OFD packet to send [09:32:28]OFD Sender: No OFD packet to send [09:32:33]OFD Sender: No OFD packet to send [09:32:38]OFD Sender: No OFD packet to send [09:32:43]OFD Sender: No OFD packet to send [09:32:48]OFD Sender: No OFD packet to send [09:32:53]OFD Sender: No OFD packet to send [09:32:58]OFD Sender: No OFD packet to send [09:33:03]OFD Sender: No OFD packet to send [09:33:08]OFD Sender: No OFD packet to send [09:33:13]OFD Sender: No OFD packet to send [09:33:18]OFD Sender: No OFD packet to send [09:33:23]OFD Sender: No OFD packet to send [09:33:28]OFD Sender: No OFD packet to send [09:33:33]OFD Sender: No OFD packet to send [09:33:38]OFD Sender: No OFD packet to send [09:33:43]OFD Sender: No OFD packet to send [09:33:48]OFD Sender: No OFD packet to send [09:33:53]OFD Sender: No OFD packet to send [09:33:58]OFD Sender: No OFD packet to send [09:34:03]OFD Sender: No OFD packet to send [09:34:08]OFD Sender: No OFD packet to send [09:34:13]OFD Sender: No OFD packet to send [09:34:18]OFD Sender: No OFD packet to send [09:34:23]OFD Sender: No OFD packet to send [09:34:28]OFD Sender: No OFD packet to send [09:34:33]OFD Sender: No OFD packet to send [09:34:38]OFD Sender: No OFD packet to send [09:34:43]OFD Sender: No OFD packet to send [09:34:48]OFD Sender: No OFD packet to send [09:34:53]OFD Sender: No OFD packet to send [09:34:58]OFD Sender: No OFD packet to send [09:35:03]OFD Sender: No OFD packet to send [09:35:08]OFD Sender: No OFD packet to send [09:35:13]OFD Sender: No OFD packet to send [09:35:18]OFD Sender: No OFD packet to send [09:35:23]OFD Sender: No OFD packet to send [09:35:28]OFD Sender: No OFD packet to send [09:35:33]OFD Sender: No OFD packet to send [09:35:38]OFD Sender: No OFD packet to send [09:35:43]OFD Sender: No OFD packet to send [09:35:48]OFD Sender: No OFD packet to send [09:35:53]OFD Sender: No OFD packet to send [09:35:58]OFD Sender: No OFD packet to send [09:36:03]OFD Sender: No OFD packet to send [09:36:08]OFD Sender: No OFD packet to send [09:36:13]OFD Sender: No OFD packet to send [09:36:18]OFD Sender: No OFD packet to send [09:36:23]OFD Sender: No OFD packet to send [09:36:28]OFD Sender: No OFD packet to send [09:36:33]OFD Sender: No OFD packet to send [09:36:38]OFD Sender: No OFD packet to send [09:36:43]OFD Sender: No OFD packet to send [09:36:48]OFD Sender: No OFD packet to send [09:36:53]OFD Sender: No OFD packet to send [09:36:58]OFD Sender: No OFD packet to send [09:37:03]OFD Sender: No OFD packet to send [09:37:08]OFD Sender: No OFD packet to send [09:37:13]OFD Sender: No OFD packet to send [09:37:18]OFD Sender: No OFD packet to send [09:37:23]OFD Sender: No OFD packet to send [09:37:28]OFD Sender: No OFD packet to send [09:37:33]OFD Sender: No OFD packet to send [09:37:38]OFD Sender: No OFD packet to send [09:37:43]OFD Sender: No OFD packet to send [09:37:48]OFD Sender: No OFD packet to send [09:37:53]OFD Sender: No OFD packet to send [09:37:58]OFD Sender: No OFD packet to send [09:38:03]OFD Sender: No OFD packet to send [09:38:08]OFD Sender: No OFD packet to send [09:38:13]OFD Sender: No OFD packet to send [09:38:18]OFD Sender: No OFD packet to send [09:38:23]OFD Sender: No OFD packet to send [09:38:28]OFD Sender: No OFD packet to send [09:38:33]OFD Sender: No OFD packet to send [09:38:38]OFD Sender: No OFD packet to send [09:38:43]OFD Sender: No OFD packet to send [09:38:48]OFD Sender: No OFD packet to send [09:38:53]OFD Sender: No OFD packet to send [09:38:58]OFD Sender: No OFD packet to send [09:39:03]OFD Sender: No OFD packet to send [09:39:08]OFD Sender: No OFD packet to send [09:39:13]OFD Sender: No OFD packet to send [09:39:18]OFD Sender: No OFD packet to send [09:39:23]OFD Sender: No OFD packet to send [09:39:28]OFD Sender: No OFD packet to send [09:39:33]OFD Sender: No OFD packet to send [09:39:38]OFD Sender: No OFD packet to send [09:39:43]OFD Sender: No OFD packet to send [09:39:48]OFD Sender: No OFD packet to send [09:39:53]OFD Sender: No OFD packet to send [09:39:58]OFD Sender: No OFD packet to send [09:40:03]OFD Sender: No OFD packet to send [09:40:08]OFD Sender: No OFD packet to send [09:40:13]OFD Sender: No OFD packet to send [09:40:18]OFD Sender: No OFD packet to send [09:40:23]OFD Sender: No OFD packet to send [09:40:28]OFD Sender: No OFD packet to send [09:40:33]OFD Sender: No OFD packet to send [09:40:38]OFD Sender: No OFD packet to send [09:40:43]OFD Sender: No OFD packet to send [09:40:48]OFD Sender: No OFD packet to send [09:40:53]OFD Sender: No OFD packet to send [09:40:58]OFD Sender: No OFD packet to send [09:41:03]OFD Sender: No OFD packet to send [09:41:08]OFD Sender: No OFD packet to send [09:41:13]OFD Sender: No OFD packet to send [09:41:18]OFD Sender: No OFD packet to send [09:41:23]OFD Sender: No OFD packet to send [09:41:28]OFD Sender: No OFD packet to send [09:41:33]OFD Sender: No OFD packet to send [09:41:38]OFD Sender: No OFD packet to send [09:41:43]OFD Sender: No OFD packet to send [09:41:48]OFD Sender: No OFD packet to send [09:41:53]OFD Sender: No OFD packet to send [09:41:58]OFD Sender: No OFD packet to send [09:42:03]OFD Sender: No OFD packet to send [09:42:08]OFD Sender: No OFD packet to send [09:42:13]OFD Sender: No OFD packet to send [09:42:18]OFD Sender: No OFD packet to send [09:42:23]OFD Sender: No OFD packet to send [09:42:28]OFD Sender: No OFD packet to send [09:42:33]OFD Sender: No OFD packet to send [09:42:38]OFD Sender: No OFD packet to send [09:42:43]OFD Sender: No OFD packet to send [09:42:48]OFD Sender: No OFD packet to send [09:42:53]OFD Sender: No OFD packet to send [09:42:58]OFD Sender: No OFD packet to send [09:43:03]OFD Sender: No OFD packet to send [09:43:08]OFD Sender: No OFD packet to send [09:43:13]OFD Sender: No OFD packet to send [09:43:18]OFD Sender: No OFD packet to send [09:43:23]OFD Sender: No OFD packet to send [09:43:28]OFD Sender: No OFD packet to send [09:43:33]OFD Sender: No OFD packet to send [09:43:38]OFD Sender: No OFD packet to send [09:43:43]OFD Sender: No OFD packet to send [09:43:48]OFD Sender: No OFD packet to send [09:43:53]OFD Sender: No OFD packet to send [09:43:58]OFD Sender: No OFD packet to send [09:44:03]OFD Sender: No OFD packet to send [09:44:08]OFD Sender: No OFD packet to send [09:44:13]OFD Sender: No OFD packet to send [09:44:18]OFD Sender: No OFD packet to send [09:44:23]OFD Sender: No OFD packet to send [09:44:28]OFD Sender: No OFD packet to send [09:44:33]OFD Sender: No OFD packet to send [09:44:38]OFD Sender: No OFD packet to send [09:44:43]OFD Sender: No OFD packet to send [09:44:48]OFD Sender: No OFD packet to send [09:44:53]OFD Sender: No OFD packet to send [09:44:58]OFD Sender: No OFD packet to send [09:45:03]OFD Sender: No OFD packet to send [09:45:08]OFD Sender: No OFD packet to send [09:45: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:29]OFD Sender: No OFD packet to send [09:52:34]OFD Sender: No OFD packet to send [09:52:39]OFD Sender: No OFD packet to send [09:52:44]OFD Sender: No OFD packet to send [09:52:49]OFD Sender: No OFD packet to send [09:52:54]OFD Sender: No OFD packet to send [09:52:59]OFD Sender: No OFD packet to send [09:53:04]OFD Sender: No OFD packet to send [09:53:09]OFD Sender: No OFD packet to send [09:53:14]OFD Sender: No OFD packet to send [09:53:19]OFD Sender: No OFD packet to send [09:53:24]OFD Sender: No OFD packet to send [09:53:29]OFD Sender: No OFD packet to send [09:53:34]OFD Sender: No OFD packet to send [09:53:39]OFD Sender: No OFD packet to send [09:53:44]OFD Sender: No OFD packet to send [09:53:49]OFD Sender: No OFD packet to send [09:53:54]OFD Sender: No OFD packet to send [09:53:59]OFD Sender: No OFD packet to send [09:54:04]OFD Sender: No OFD packet to send [09:54:09]OFD Sender: No OFD packet to send [09:54:14]OFD Sender: No OFD packet to send [09:54:19]OFD Sender: No OFD packet to send [09:54:24]OFD Sender: No OFD packet to send [09:54:29]OFD Sender: No OFD packet to send [09:54:34]OFD Sender: No OFD packet to send [09:54:39]OFD Sender: No OFD packet to send [09:54:44]OFD Sender: No OFD packet to send [09:54:49]OFD Sender: No OFD packet to send [09:54:54]OFD Sender: No OFD packet to send [09:54:59]OFD Sender: No OFD packet to send [09:55:04]OFD Sender: No OFD packet to send [09:55:09]OFD Sender: No OFD packet to send [09:55:14]OFD Sender: No OFD packet to send [09:55:19]OFD Sender: No OFD packet to send [09:55:24]OFD Sender: No OFD packet to send [09:55:29]OFD Sender: No OFD packet to send [09:55:34]OFD Sender: No OFD packet to send [09:55:39]OFD Sender: No OFD packet to send [09:55:44]OFD Sender: No OFD packet to send [09:55:49]OFD Sender: No OFD packet to send [09:55:54]OFD Sender: No OFD packet to send [09:55:59]OFD Sender: No OFD packet to send [09:56:04]OFD Sender: No OFD packet to send [09:56:09]OFD Sender: No OFD packet to send [09:56:14]OFD Sender: No OFD packet to send [09:56:19]OFD Sender: No OFD packet to send [09:56:24]OFD Sender: No OFD packet to send [09:56:29]OFD Sender: No OFD packet to send [09:56:34]OFD Sender: No OFD packet to send [09:56:39]OFD Sender: No OFD packet to send [09:56:44]OFD Sender: No OFD packet to send [09:56:49]OFD Sender: No OFD packet to send [09:56:54]OFD Sender: No OFD packet to send [09:56:59]OFD Sender: No OFD packet to send [09:57:04]OFD Sender: No OFD packet to send [09:57:09]OFD Sender: No OFD packet to send [09:57:14]OFD Sender: No OFD packet to send [09:57:19]OFD Sender: No OFD packet to send [09:57:24]OFD Sender: No OFD packet to send [09:57:29]OFD Sender: No OFD packet to send [09:57:34]OFD Sender: No OFD packet to send [09:57:39]OFD Sender: No OFD packet to send [09:57:44]OFD Sender: No OFD packet to send [09:57:49]OFD Sender: No OFD packet to send [09:57:54]OFD Sender: No OFD packet to send [09:57:59]OFD Sender: No OFD packet to send [09:58:04]OFD Sender: No OFD packet to send [09:58:09]OFD Sender: No OFD packet to send [09:58:14]OFD Sender: No OFD packet to send [09:58:19]OFD Sender: No OFD packet to send [09:58:24]OFD Sender: No OFD packet to send [09:58:29]OFD Sender: No OFD packet to send [09:58:34]OFD Sender: No OFD packet to send [09:58:39]OFD Sender: No OFD packet to send [09:58:44]OFD Sender: No OFD packet to send [09:58:49]OFD Sender: No OFD packet to send [09:58:54]OFD Sender: No OFD packet to send [09:58:59]OFD Sender: No OFD packet to send [09:59:04]OFD Sender: No OFD packet to send [09:59:09]OFD Sender: No OFD packet to send [09:59:14]OFD Sender: No OFD packet to send [09:59:19]OFD Sender: No OFD packet to send [09:59:24]OFD Sender: No OFD packet to send [09:59:29]OFD Sender: No OFD packet to send [09:59:34]OFD Sender: No OFD packet to send [09:59:39]OFD Sender: No OFD packet to send [09:59:44]OFD Sender: No OFD packet to send [09:59:49]OFD Sender: No OFD packet to send [09:59:54]OFD Sender: No OFD packet to send [09:59:59]OFD Sender: No OFD packet to send [10:00:04]OFD Sender: No OFD packet to send [10:00:09]OFD Sender: No OFD packet to send [10:00:14]OFD Sender: No OFD packet to send [10:00:19]OFD Sender: No OFD packet to send [10:00:24]OFD Sender: No OFD packet to send [10:00:29]OFD Sender: No OFD packet to send [10:00:34]OFD Sender: No OFD packet to send [10:00:39]OFD Sender: No OFD packet to send [10:00:44]OFD Sender: No OFD packet to send [10:00:49]OFD Sender: No OFD packet to send [10:00:54]OFD Sender: No OFD packet to send [10:00: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:49]OFD Sender: No OFD packet to send [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:19]OFD Sender: No OFD packet to send [10:06:24]OFD Sender: No OFD packet to send [10:06:29]OFD Sender: No OFD packet to send [10:06:34]OFD Sender: No OFD packet to send [10:06:39]OFD Sender: No OFD packet to send [10:06:44]OFD Sender: No OFD packet to send [10:06:49]OFD Sender: No OFD packet to send [10:06:54]OFD Sender: No OFD packet to send [10:06:59]OFD Sender: No OFD packet to send [10:07:04]OFD Sender: No OFD packet to send [10:07:09]OFD Sender: No OFD packet to send [10:07:14]OFD Sender: No OFD packet to send [10:07:19]OFD Sender: No OFD packet to send [10:07:24]OFD Sender: No OFD packet to send [10:07:29]OFD Sender: No OFD packet to send [10:07:34]OFD Sender: No OFD packet to send [10:07:39]OFD Sender: No OFD packet to send [10:07:44]OFD Sender: No OFD packet to send [10:07:49]OFD Sender: No OFD packet to send [10:07:54]OFD Sender: No OFD packet to send [10:07:59]OFD Sender: No OFD packet to send [10:08:04]OFD Sender: No OFD packet to send [10:08:09]OFD Sender: No OFD packet to send [10:08:14]OFD Sender: No OFD packet to send [10:08:19]OFD Sender: No OFD packet to send [10:08:24]OFD Sender: No OFD packet to send [10:08:29]OFD Sender: No OFD packet to send [10:08:34]OFD Sender: No OFD packet to send [10:08:39]OFD Sender: No OFD packet to send [10:08:44]OFD Sender: No OFD packet to send [10:08:49]OFD Sender: No OFD packet to send [10:08:54]OFD Sender: No OFD packet to send [10:08:59]OFD Sender: No OFD packet to send [10:09:04]OFD Sender: No OFD packet to send [10:09:09]OFD Sender: No OFD packet to send [10:09:14]OFD Sender: No OFD packet to send [10:09:19]OFD Sender: No OFD packet to send [10:09:24]OFD Sender: No OFD packet to send [10:09:29]OFD Sender: No OFD packet to send [10:09:34]OFD Sender: No OFD packet to send [10:09:39]OFD Sender: No OFD packet to send [10:09:44]OFD Sender: No OFD packet to send [10:09:49]OFD Sender: No OFD packet to send [10:09:54]OFD Sender: No OFD packet to send [10:09:59]OFD Sender: No OFD packet to send [10:10:04]OFD Sender: No OFD packet to send [10:10:09]OFD Sender: No OFD packet to send [10:10:14]OFD Sender: No OFD packet to send [10:10:19]OFD Sender: No OFD packet to send [10:10:24]OFD Sender: No OFD packet to send [10:10:29]OFD Sender: No OFD packet to send [10:10:34]OFD Sender: No OFD packet to send [10:10:39]OFD Sender: No OFD packet to send [10:10:44]OFD Sender: No OFD packet to send [10:10:49]OFD Sender: No OFD packet to send [10:10:54]OFD Sender: No OFD packet to send [10:10:59]OFD Sender: No OFD packet to send [10:11:04]OFD Sender: No OFD packet to send [10:11:09]OFD Sender: No OFD packet to send [10:11:14]OFD Sender: No OFD packet to send [10:11:19]OFD Sender: No OFD packet to send [10:11:24]OFD Sender: No OFD packet to send [10:11:29]OFD Sender: No OFD packet to send [10:11:34]OFD Sender: No OFD packet to send [10:11:39]OFD Sender: No OFD packet to send [10:11:44]OFD Sender: No OFD packet to send [10:11:49]OFD Sender: No OFD packet to send [10:11:54]OFD Sender: No OFD packet to send [10:11:59]OFD Sender: No OFD packet to send [10:12:04]OFD Sender: No OFD packet to send [10:12:09]OFD Sender: No OFD packet to send [10:12:14]OFD Sender: No OFD packet to send [10:12:19]OFD Sender: No OFD packet to send [10:12:24]OFD Sender: No OFD packet to send [10:12:29]OFD Sender: No OFD packet to send [10:12:34]OFD Sender: No OFD packet to send [10:12:39]OFD Sender: No OFD packet to send [10:12:44]OFD Sender: No OFD packet to send [10:12:49]OFD Sender: No OFD packet to send [10:12:54]OFD Sender: No OFD packet to send [10:12:59]OFD Sender: No OFD packet to send [10:13:04]OFD Sender: No OFD packet to send [10:13:09]OFD Sender: No OFD packet to send [10:13:14]OFD Sender: No OFD packet to send [10:13:19]OFD Sender: No OFD packet to send [10:13:24]OFD Sender: No OFD packet to send [10:13:29]OFD Sender: No OFD packet to send [10:13:34]OFD Sender: No OFD packet to send [10:13:39]OFD Sender: No OFD packet to send [10:13:44]OFD Sender: No OFD packet to send [10:13:49]OFD Sender: No OFD packet to send [10:13:54]OFD Sender: No OFD packet to send [10: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:10]OFD Sender: No OFD packet to send [10:15:15]OFD Sender: No OFD packet to send [10:15:20]OFD Sender: No OFD packet to send [10:15:25]OFD Sender: No OFD packet to send [10:15:30]OFD Sender: No OFD packet to send [10:15:35]OFD Sender: No OFD packet to send [10:15:40]OFD Sender: No OFD packet to send [10:15:45]OFD Sender: No OFD packet to send [10:15:50]OFD Sender: No OFD packet to send [10:15:55]OFD Sender: No OFD packet to send [10:16:00]OFD Sender: No OFD packet to send [10:16:05]OFD Sender: No OFD packet to send [10:16:10]OFD Sender: No OFD packet to send [10:16:15]OFD Sender: No OFD packet to send [10:16:20]OFD Sender: No OFD packet to send [10:16:25]OFD Sender: No OFD packet to send [10:16:30]OFD Sender: No OFD packet to send [10:16:35]OFD Sender: No OFD packet to send [10:16:40]OFD Sender: No OFD packet to send [10:16:45]OFD Sender: No OFD packet to send [10:16:50]OFD Sender: No OFD packet to send [10:16:55]OFD Sender: No OFD packet to send [10:17:00]OFD Sender: No OFD packet to send [10:17:05]OFD Sender: No OFD packet to send [10:17:10]OFD Sender: No OFD packet to send [10:17:15]OFD Sender: No OFD packet to send [10:17:20]OFD Sender: No OFD packet to send [10:17:25]OFD Sender: No OFD packet to send [10:17:30]OFD Sender: No OFD packet to send [10:17:35]OFD Sender: No OFD packet to send [10:17:40]OFD Sender: No OFD packet to send [10:17:45]OFD Sender: No OFD packet to send [10:17:50]OFD Sender: No OFD packet to send [10:17:55]OFD Sender: No OFD packet to send [10:18:00]OFD Sender: No OFD packet to send [10:18:05]OFD Sender: No OFD packet to send [10:18:10]OFD Sender: No OFD packet to send [10:18:15]OFD Sender: No OFD packet to send [10:18:20]OFD Sender: No OFD packet to send [10:18:25]OFD Sender: No OFD packet to send [10:18:30]OFD Sender: No OFD packet to send [10:18:35]OFD Sender: No OFD packet to send [10:18:40]OFD Sender: No OFD packet to send [10:18:45]OFD Sender: No OFD packet to send [10:18:50]OFD Sender: No OFD packet to send [10:18:55]OFD Sender: No OFD packet to send [10:19:00]OFD Sender: No OFD packet to send [10:19:05]OFD Sender: No OFD packet to send [10:19:10]OFD Sender: No OFD packet to send [10:19:15]OFD Sender: No OFD packet to send [10:19:20]OFD Sender: No OFD packet to send [10:19:25]OFD Sender: No OFD packet to send [10:19:30]OFD Sender: No OFD packet to send [10:19:35]OFD Sender: No OFD packet to send [10:19:40]OFD Sender: No OFD packet to send [10:19:45]OFD Sender: No OFD packet to send [10:19:50]OFD Sender: No OFD packet to send [10:19:55]OFD Sender: No OFD packet to send [10:20:00]OFD Sender: No OFD packet to send [10:20:05]OFD Sender: No OFD packet to send [10:20:10]OFD Sender: No OFD packet to send [10:20:15]OFD Sender: No OFD packet to send [10:20:20]OFD Sender: No OFD packet to send [10:20:25]OFD Sender: No OFD packet to send [10:20:30]OFD Sender: No OFD packet to send [10:20:35]OFD Sender: No OFD packet to send [10:20:40]OFD Sender: No OFD packet to send [10:20:45]OFD Sender: No OFD packet to send [10:20:50]OFD Sender: No OFD packet to send [10:20:55]OFD Sender: No OFD packet to send [10:21:00]OFD Sender: No OFD packet to send [10:21:05]OFD Sender: No OFD packet to send [10:21:10]OFD Sender: No OFD packet to send [10:21:15]OFD Sender: No OFD packet to send [10:21:20]OFD Sender: No OFD packet to send [10:21:25]OFD Sender: No OFD packet to send [10:21:30]OFD Sender: No OFD packet to send [10:21:35]OFD Sender: No OFD packet to send [10:21:40]OFD Sender: No OFD packet to send [10:21:45]OFD Sender: No OFD packet to send [10:21:50]OFD Sender: No OFD packet to send [10:21:55]OFD Sender: No OFD packet to send [10:22:00]OFD Sender: No OFD packet to send [10:22:05]OFD Sender: No OFD packet to send [10:22:10]OFD Sender: No OFD packet to send [10:22:15]OFD Sender: No OFD packet to send [10:22:20]OFD Sender: No OFD packet to send [10:22:25]OFD Sender: No OFD packet to send [10:22:30]OFD Sender: No OFD packet to send [10:22:35]OFD Sender: No OFD packet to send [10:22:40]OFD Sender: No OFD packet to send [10:22:45]OFD Sender: No OFD packet to send [10:22:50]OFD Sender: No OFD packet to send [10:22:55]OFD Sender: No OFD packet to send [10:23:00]OFD Sender: No OFD packet to send [10:23:05]OFD Sender: No OFD packet to send [10:23:10]OFD Sender: No OFD packet to send [10:23:15]OFD Sender: No OFD packet to send [10:23:20]OFD Sender: No OFD packet to send [10:23:25]OFD Sender: No OFD packet to send [10:23:30]OFD Sender: No OFD packet to send [10:23:35]OFD Sender: No OFD packet to send [10:23:40]OFD Sender: No OFD packet to send [10:23:45]OFD Sender: No OFD packet to send [10:23:50]OFD Sender: No OFD packet to send [10:23:55]OFD Sender: No OFD packet to send [10:24:00]OFD Sender: No OFD packet to send [10:24:05]OFD Sender: No OFD packet to send [10:24:10]OFD Sender: No OFD packet to send [10:24:15]OFD Sender: No OFD packet to send [10:24:20]OFD Sender: No OFD packet to send [10:24:25]OFD Sender: No OFD packet to send [10:24:30]OFD Sender: No OFD packet to send [10:24:35]OFD Sender: No OFD packet to send [10:24:40]OFD Sender: No OFD packet to send [10:24:45]OFD Sender: No OFD packet to send [10:24:50]OFD Sender: No OFD packet to send [10:24:55]OFD Sender: No OFD packet to send [10:25:00]OFD Sender: No OFD packet to send [10:25:05]OFD Sender: No OFD packet to send [10:25:10]OFD Sender: No OFD packet to send [10:25:15]OFD Sender: No OFD packet to send [10:25:20]OFD Sender: No OFD packet to send [10:25:25]OFD Sender: No OFD packet to send [10:25:30]OFD Sender: No OFD packet to send [10:25:35]OFD Sender: No OFD packet to send [10:25:40]OFD Sender: No OFD packet to send [10:25:45]OFD Sender: No OFD packet to send [10:25:50]OFD Sender: No OFD packet to send [10:25:55]OFD Sender: No OFD packet to send [10:26:00]OFD Sender: No OFD packet to send [10:26:05]OFD Sender: No OFD packet to send [10:26:10]OFD Sender: No OFD packet to send [10:26:15]OFD Sender: No OFD packet to send [10:26:20]OFD Sender: No OFD packet to send [10:26:25]OFD Sender: No OFD packet to send [10:26:30]OFD Sender: No OFD packet to send [10:26:35]OFD Sender: No OFD packet to send [10:26:40]OFD Sender: No OFD packet to send [10:26:45]OFD Sender: No OFD packet to send [10:26:50]OFD Sender: No OFD packet to send [10:26:55]OFD Sender: No OFD packet to send [10:27:00]OFD Sender: No OFD packet to send [10:27:05]OFD Sender: No OFD packet to send [10:27:10]OFD Sender: No OFD packet to send [10:27:15]OFD Sender: No OFD packet to send [10:27:20]OFD Sender: No OFD packet to send [10:27:25]OFD Sender: No OFD packet to send [10:27:30]OFD Sender: No OFD packet to send [10:27:35]OFD Sender: No OFD packet to send [10:27:40]OFD Sender: No OFD packet to send [10:27:45]OFD Sender: No OFD packet to send [10:27:50]OFD Sender: No OFD packet to send [10:27:55]OFD Sender: No OFD packet to send [10:28:00]OFD Sender: No OFD packet to send [10:28:05]OFD Sender: No OFD packet to send [10:28:10]OFD Sender: No OFD packet to send [10:28:15]OFD Sender: No OFD packet to send [10:28:20]OFD Sender: No OFD packet to send [10:28:25]OFD Sender: No OFD packet to send [10:28:30]OFD Sender: No OFD packet to send [10:28:35]OFD Sender: No OFD packet to send [10:28:40]OFD Sender: No OFD packet to send [10:28:45]OFD Sender: No OFD packet to send [10:28:50]OFD Sender: No OFD packet to send [10:28:55]OFD Sender: No OFD packet to send [10:29:00]OFD Sender: No OFD packet to send [10:29:05]OFD Sender: No OFD packet to send [10:29:10]OFD Sender: No OFD packet to send [10:29:15]OFD Sender: No OFD packet to send [10:29:20]OFD Sender: No OFD packet to send [10:29:25]OFD Sender: No OFD packet to send [10:29:30]OFD Sender: No OFD packet to send [10:29:35]OFD Sender: No OFD packet to send [10:29:40]OFD Sender: No OFD packet to send [10:29:45]OFD Sender: No OFD packet to send [10:29:50]OFD Sender: No OFD packet to send [10:29:55]OFD Sender: No OFD packet to send [10:30:00]OFD Sender: No OFD packet to send [10:30:05]OFD Sender: No OFD packet to send [10:30:10]OFD Sender: No OFD packet to send [10:30:15]OFD Sender: No OFD packet to send [10:30:20]OFD Sender: No OFD packet to send [10:30:25]OFD Sender: No OFD packet to send [10:30:30]OFD Sender: No OFD packet to send [10:30:35]OFD Sender: No OFD packet to send [10:30:40]OFD Sender: No OFD packet to send [10:30:45]OFD Sender: No OFD packet to send [10:30:50]OFD Sender: No OFD packet to send [10:30:55]OFD Sender: No OFD packet to send [10:31:00]OFD Sender: No OFD packet to send [10:31:05]OFD Sender: No OFD packet to send [10:31:10]OFD Sender: No OFD packet to send [10:31:15]OFD Sender: No OFD packet to send [10:31:20]OFD Sender: No OFD packet to send [10:31:25]OFD Sender: No OFD packet to send [10:31:30]OFD Sender: No OFD packet to send [10:31:35]OFD Sender: No OFD packet to send [10:31:40]OFD Sender: No OFD packet to send [10:31:45]OFD Sender: No OFD packet to send [10:31:50]OFD Sender: No OFD packet to send [10:31:55]OFD Sender: No OFD packet to send [10:32:00]OFD Sender: No OFD packet to send [10:32:05]OFD Sender: No OFD packet to send [10:32:10]OFD Sender: No OFD packet to send [10:32:15]OFD Sender: No OFD packet to send [10:32:20]OFD Sender: No OFD packet to send [10:32:25]OFD Sender: No OFD packet to send [10:32:30]OFD Sender: No OFD packet to send [10:32:35]OFD Sender: No OFD packet to send [10:32:40]OFD Sender: No OFD packet to send [10:32:45]OFD Sender: No OFD packet to send [10:32:50]OFD Sender: No OFD packet to send [10:32:55]OFD Sender: No OFD packet to send [10:33:00]OFD Sender: No OFD packet to send [10:33:05]OFD Sender: No OFD packet to send [10:33:10]OFD Sender: No OFD packet to send [10:33:15]OFD Sender: No OFD packet to send [10:33:20]OFD Sender: No OFD packet to send [10:33:25]OFD Sender: No OFD packet to send [10:33:30]OFD Sender: No OFD packet to send [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:26]OFD Sender: No OFD packet to send [10:35:31]OFD Sender: No OFD packet to send [10:35:36]OFD Sender: No OFD packet to send [10:35:41]OFD Sender: No OFD packet to send [10:35:46]OFD Sender: No OFD packet to send [10:35:51]OFD Sender: No OFD packet to send [10:35:56]OFD Sender: No OFD packet to send [10:36:01]OFD Sender: No OFD packet to send [10:36:06]OFD Sender: No OFD packet to send [10:36:11]OFD Sender: No OFD packet to send [10:36:16]OFD Sender: No OFD packet to send [10:36:21]OFD Sender: No OFD packet to send [10:36:26]OFD Sender: No OFD packet to send [10:36:31]OFD Sender: No OFD packet to send [10:36:36]OFD Sender: No OFD packet to send [10:36:41]OFD Sender: No OFD packet to send [10:36:46]OFD Sender: No OFD packet to send [10:36:51]OFD Sender: No OFD packet to send [10:36:56]OFD Sender: No OFD packet to send [10:37:01]OFD Sender: No OFD packet to send [10:37:06]OFD Sender: No OFD packet to send [10:37:11]OFD Sender: No OFD packet to send [10:37:16]OFD Sender: No OFD packet to send [10:37:21]OFD Sender: No OFD packet to send [10:37:26]OFD Sender: No OFD packet to send [10:37:31]OFD Sender: No OFD packet to send [10:37:36]OFD Sender: No OFD packet to send [10:37:41]OFD Sender: No OFD packet to send [10:37:46]OFD Sender: No OFD packet to send [10:37:51]OFD Sender: No OFD packet to send [10:37:56]OFD Sender: No OFD packet to send [10:38:01]OFD Sender: No OFD packet to send [10:38:06]OFD Sender: No OFD packet to send [10:38:11]OFD Sender: No OFD packet to send [10:38:16]OFD Sender: No OFD packet to send [10:38:21]OFD Sender: No OFD packet to send [10:38:26]OFD Sender: No OFD packet to send [10:38:31]OFD Sender: No OFD packet to send [10:38:36]OFD Sender: No OFD packet to send [10:38:41]OFD Sender: No OFD packet to send [10:38:46]OFD Sender: No OFD packet to send [10:38:51]OFD Sender: No OFD packet to send [10:38:56]OFD Sender: No OFD packet to send [10:39:01]OFD Sender: No OFD packet to send [10:39:06]OFD Sender: No OFD packet to send [10:39:11]OFD Sender: No OFD packet to send [10:39:16]OFD Sender: No OFD packet to send [10:39:21]OFD Sender: No OFD packet to send [10:39:26]OFD Sender: No OFD packet to send [10:39:31]OFD Sender: No OFD packet to send [10:39:36]OFD Sender: No OFD packet to send [10:39:41]OFD Sender: No OFD packet to send [10:39:46]OFD Sender: No OFD packet to send [10:39:51]OFD Sender: No OFD packet to send [10:39:56]OFD Sender: No OFD packet to send [10:40:01]OFD Sender: No OFD packet to send [10:40:06]OFD Sender: No OFD packet to send [10:40:11]OFD Sender: No OFD packet to send [10:40:16]OFD Sender: No OFD packet to send [10:40:21]OFD Sender: No OFD packet to send [10:40:26]OFD Sender: No OFD packet to send [10:40:31]OFD Sender: No OFD packet to send [10:40:36]OFD Sender: No OFD packet to send [10:40:41]OFD Sender: No OFD packet to send [10:40:46]OFD Sender: No OFD packet to send [10:40:51]OFD Sender: No OFD packet to send [10:40:56]OFD Sender: No OFD packet to send [10:41:01]OFD Sender: No OFD packet to send [10:41:06]OFD Sender: No OFD packet to send [10:41:11]OFD Sender: No OFD packet to send [10:41:16]OFD Sender: No OFD packet to send [10:41:21]OFD Sender: No OFD packet to send [10:41:26]OFD Sender: No OFD packet to send [10:41:31]OFD Sender: No OFD packet to send [10:41:36]OFD Sender: No OFD packet to send [10:41:41]OFD Sender: No OFD packet to send [10:41:46]OFD Sender: No OFD packet to send [10:41:51]OFD Sender: No OFD packet to send [10:41:56]OFD Sender: No OFD packet to send [10:42:01]OFD Sender: No OFD packet to send [10:42:06]OFD Sender: No OFD packet to send [10:42:11]OFD Sender: No OFD packet to send [10:42:16]OFD Sender: No OFD packet to send [10:42:21]OFD Sender: No OFD packet to send [10:42:26]OFD Sender: No OFD packet to send [10:42:31]OFD Sender: No OFD packet to send [10:42:36]OFD Sender: No OFD packet to send [10:42:41]OFD Sender: No OFD packet to send [10:42:46]OFD Sender: No OFD packet to send [10:42:51]OFD Sender: No OFD packet to send [10:42:56]OFD Sender: No OFD packet to send [10:43:01]OFD Sender: No OFD packet to send [10:43:06]OFD Sender: No OFD packet to send [10:43:11]OFD Sender: No OFD packet to send [10:43:16]OFD Sender: No OFD packet to send [10:43:21]OFD Sender: No OFD packet to send [10:43:26]OFD Sender: No OFD packet to send [10:43:31]OFD Sender: No OFD packet to send [10:43:36]OFD Sender: No OFD packet to send [10:43:41]OFD Sender: No OFD packet to send [10:43:46]OFD Sender: No OFD packet to send [10:43:51]OFD Sender: No OFD packet to send [10:43:56]OFD Sender: No OFD packet to send [10:44:01]OFD Sender: No OFD packet to send [10:44:06]OFD Sender: No OFD packet to send [10:44:11]OFD Sender: No OFD packet to send [10:44:16]OFD Sender: No OFD packet to send [10:44:21]OFD Sender: No OFD packet to send [10:44:26]OFD Sender: No OFD packet to send [10:44:31]OFD Sender: No OFD packet to send [10:44:36]OFD Sender: No OFD packet to send [10:44:41]OFD Sender: No OFD packet to send [10:44:46]OFD Sender: No OFD packet to send [10:44:51]OFD Sender: No OFD packet to send [10:44:56]OFD Sender: No OFD packet to send [10:45:01]OFD Sender: No OFD packet to send [10:45:06]OFD Sender: No OFD packet to send [10:45:11]OFD Sender: No OFD packet to send [10:45:16]OFD Sender: No OFD packet to send [10:45:21]OFD Sender: No OFD packet to send [10:45:26]OFD Sender: No OFD packet to send [10:45:31]OFD Sender: No OFD packet to send [10:45:36]OFD Sender: No OFD packet to send [10:45:41]OFD Sender: No OFD packet to send [10:45:46]OFD Sender: No OFD packet to send [10:45:51]OFD Sender: No OFD packet to send [10:45:56]OFD Sender: No OFD packet to send [10:46:01]OFD Sender: No OFD packet to send [10:46:06]OFD Sender: No OFD packet to send [10:46:11]OFD Sender: No OFD packet to send [10:46:16]OFD Sender: No OFD packet to send [10:46:21]OFD Sender: No OFD packet to send [10:46:26]OFD Sender: No OFD packet to send [10:46:31]OFD Sender: No OFD packet to send [10:46:36]OFD Sender: No OFD packet to send [10:46:41]OFD Sender: No OFD packet to send [10:46:46]OFD Sender: No OFD packet to send [10:46:51]OFD Sender: No OFD packet to send [10:46:56]OFD Sender: No OFD packet to send [10:47:01]OFD Sender: No OFD packet to send [10:47:06]OFD Sender: No OFD packet to send [10:47:11]OFD Sender: No OFD packet to send [10:47:16]OFD Sender: No OFD packet to send [10:47:21]OFD Sender: No OFD packet to send [10:47:26]OFD Sender: No OFD packet to send [10:47:31]OFD Sender: No OFD packet to send [10:47:36]OFD Sender: No OFD packet to send [10:47:41]OFD Sender: No OFD packet to send [10:47:46]OFD Sender: No OFD packet to send [10:47:51]OFD Sender: No OFD packet to send [10:47:56]OFD Sender: No OFD packet to send [10:48:01]OFD Sender: No OFD packet to send [10:48:06]OFD Sender: No OFD packet to send [10:48:11]OFD Sender: No OFD packet to send [10:48:16]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:52]OFD Sender: No OFD packet to send [10:56:57]OFD Sender: No OFD packet to send [10:57:02]OFD Sender: No OFD packet to send [10:57:07]OFD Sender: No OFD packet to send [10:57:12]OFD Sender: No OFD packet to send [10:57:17]OFD Sender: No OFD packet to send [10:57:22]OFD Sender: No OFD packet to send [10:57:27]OFD Sender: No OFD packet to send [10:57:32]OFD Sender: No OFD packet to send [10:57:37]OFD Sender: No OFD packet to send [10:57:42]OFD Sender: No OFD packet to send [10:57:47]OFD Sender: No OFD packet to send [10:57:52]OFD Sender: No OFD packet to send [10:57:57]OFD Sender: No OFD packet to send [10:58:02]OFD Sender: No OFD packet to send [10:58:07]OFD Sender: No OFD packet to send [10:58:12]OFD Sender: No OFD packet to send [10:58:17]OFD Sender: No OFD packet to send [10:58:22]OFD Sender: No OFD packet to send [10:58:27]OFD Sender: No OFD packet to send [10:58:32]OFD Sender: No OFD packet to send [10:58:37]OFD Sender: No OFD packet to send [10:58:42]OFD Sender: No OFD packet to send [10:58:47]OFD Sender: No OFD packet to send [10:58:52]OFD Sender: No OFD packet to send [10:58:57]OFD Sender: No OFD packet to send [10:59:02]OFD Sender: No OFD packet to send [10:59:07]OFD Sender: No OFD packet to send [10:59:12]OFD Sender: No OFD packet to send [10:59:17]OFD Sender: No OFD packet to send [10:59:22]OFD Sender: No OFD packet to send [10:59:27]OFD Sender: No OFD packet to send [10:59:32]OFD Sender: No OFD packet to send [10:59:37]OFD Sender: No OFD packet to send [10:59:42]OFD Sender: No OFD packet to send [10:59:47]OFD Sender: No OFD packet to send [10:59:52]OFD Sender: No OFD packet to send [10:59:57]OFD Sender: No OFD packet to send [11:00:02]OFD Sender: No OFD packet to send [11:00:07]OFD Sender: No OFD packet to send [11:00:12]OFD Sender: No OFD packet to send [11:00:17]OFD Sender: No OFD packet to send [11:00:22]OFD Sender: No OFD packet to send [11:00:27]OFD Sender: No OFD packet to send [11:00:32]OFD Sender: No OFD packet to send [11:00:37]OFD Sender: No OFD packet to send [11:00:42]OFD Sender: No OFD packet to send [11:00:47]OFD Sender: No OFD packet to send [11:00:52]OFD Sender: No OFD packet to send [11:00:57]OFD Sender: No OFD packet to send [11:01:02]OFD Sender: No OFD packet to send [11:01:07]OFD Sender: No OFD packet to send [11:01:12]OFD Sender: No OFD packet to send [11:01:17]OFD Sender: No OFD packet to send [11:01:22]OFD Sender: No OFD packet to send [11:01:27]OFD Sender: No OFD packet to send [11:01:32]OFD Sender: No OFD packet to send [11:01:37]OFD Sender: No OFD packet to send [11:01:42]OFD Sender: No OFD packet to send [11:01:47]OFD Sender: No OFD packet to send [11:01:52]OFD Sender: No OFD packet to send [11:01:57]OFD Sender: No OFD packet to send [11:02:02]OFD Sender: No OFD packet to send [11:02:07]OFD Sender: No OFD packet to send [11:02:12]OFD Sender: No OFD packet to send [11:02:17]OFD Sender: No OFD packet to send [11:02:22]OFD Sender: No OFD packet to send [11:02:27]OFD Sender: No OFD packet to send [11:02:32]OFD Sender: No OFD packet to send [11:02:37]OFD Sender: No OFD packet to send [11:02:42]OFD Sender: No OFD packet to send [11:02:47]OFD Sender: No OFD packet to send [11:02:52]OFD Sender: No OFD packet to send [11:02:57]OFD Sender: No OFD packet to send [11:03:02]OFD Sender: No OFD packet to send [11:03:07]OFD Sender: No OFD packet to send [11:03:12]OFD Sender: No OFD packet to send [11:03:17]OFD Sender: No OFD packet to send [11:03:22]OFD Sender: No OFD packet to send [11:03:27]OFD Sender: No OFD packet to send [11:03:32]OFD Sender: No OFD packet to send [11:03:37]OFD Sender: No OFD packet to send [11:03:42]OFD Sender: No OFD packet to send [11:03:47]OFD Sender: No OFD packet to send [11:03:52]OFD Sender: No OFD packet to send [11:03:57]OFD Sender: No OFD packet to send [11:04:02]OFD Sender: No OFD packet to send [11:04:07]OFD Sender: No OFD packet to send [11:04:12]OFD Sender: No OFD packet to send [11:04:17]OFD Sender: No OFD packet to send [11:04:22]OFD Sender: No OFD packet to send [11:04:27]OFD Sender: No OFD packet to send [11:04:32]OFD Sender: No OFD packet to send [11:04:37]OFD Sender: No OFD packet to send [11:04:42]OFD Sender: No OFD packet to send [11:04:47]OFD Sender: No OFD packet to send [11:04:52]OFD Sender: No OFD packet to send [11:04:57]OFD Sender: No OFD packet to send [11:05:02]OFD Sender: No OFD packet to send [11:05:07]OFD Sender: No OFD packet to send [11:05:12]OFD Sender: No OFD packet to send [11:05:17]OFD Sender: No OFD packet to send [11:05:22]OFD Sender: No OFD packet to send [11:05:27]OFD Sender: No OFD packet to send [11:05:32]OFD Sender: No OFD packet to send [11:05:37]OFD Sender: No OFD packet to send [11:05:42]OFD Sender: No OFD packet to send [11:05:47]OFD Sender: No OFD packet to send [11:05:52]OFD Sender: No OFD packet to send [11:05:57]OFD Sender: No OFD packet to send [11:06:02]OFD Sender: No OFD packet to send [11:06:07]OFD Sender: No OFD packet to send [11:06:12]OFD Sender: No OFD packet to send [11:06:17]OFD Sender: No OFD packet to send [11:06:22]OFD Sender: No OFD packet to send [11:06:27]OFD Sender: No OFD packet to send [11:06:32]OFD Sender: No OFD packet to send [11:06:36]accept exits with 10 [11:06:36]New connection [11:06:36]New thread 3066838372 created [11:06:36]Thread 3066695012 joined [11:06:36]Waiting for new connection... [11:06:36] Sock 10.Parse request [11:06:36]Sock 10.Check first char [11:06:36]Sock 10.First char is OK [11:06:36]request: POST /json_proto HTTP/1.0 [11:06:36]Method: POST [11:06:36]URL: /json_proto [11:06:36]Method is POST - this is cgi request [11:06:36]url: /json_proto [11:06:36]query_string will be loaded in cgi processing [11:06:36]execute_cgi json_proto POST (null) [11:06:36]execute_cgi path=json_proto method=POST [11:06:36]POST find Content-Length [11:06:36]Host: 172.17.62.6:8080 [11:06:36]Content-Length: 707 [11:06:36]Content-Type: application/json [11:06:36] [11:06:36]POST finish read [11:06:36]Found Content-Length = 707 [11:06:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32870", "tax_sys" : 0, "items" : [ { "code": "4600494694202", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 Adrenaline Rush \u0431", "price" : 145.00, "quantity" : 1.000, "sum" : 145.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 145.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:06:36]execute_script... [11:06:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32870", "tax_sys" : 0, "items" : [ { "code": "4600494694202", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 Adrenaline Rush \u0431", "price" : 145.00, "quantity" : 1.000, "sum" : 145.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 145.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:06:36]POST & json_proto [11:06:36]process_json_proto [11:06:36]json parsed OK: [11:06:36]protocol is kg_v1.0 [11:06:36]action value=close_receipt [11:06:36]process_action close_receipt [11:06:36]cmd_close_receipt [11:06:36]MH_GetDate [11:06:36]Write to MH i2c: F0 00 00 05 0C 00 [11:06:36]Write i2c OK [11:06:36]MH_I2C_Read... [11:06:36]Read from MH i2c: F0 [11:06:36]MH_I2C_Read... [11:06:36]Read from MH i2c: F0 09 00 [11:06:36]MH_I2C_Read... [11:06:36]Read from MH i2c: F0 09 00 05 0C 00 41 F3 24 66 61 69 D2 64 C7 [11:06:36]GetLastDocTimeStamp 1713691534 [11:06:36]current date 1713697601 [11:06:36]FM_GetShiftState [11:06:36]SAM_PROTO_GetShiftState [11:06:36]wFMCommunicate request_size=4 [11:06:36]MH_SAM_APDU [11:06:36]CAPDU: 80 13 01 00 [11:06:36]Write to MH i2c: E2 08 00 06 0C 80 13 01 00 00 00 00 00 8F [11:06:36]Write i2c OK [11:06:36]MH_I2C_Read... [11:06:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:06:36]Read from MH i2c: E2 [11:06:36]MH_I2C_Read... [11:06:36]Read from MH i2c: E2 0E 00 [11:06:36]MH_I2C_Read... [11:06:36]Read from MH i2c: E2 0E 00 06 0C 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 E7 [11:06:36]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [11:06:36]wFMCommunicate OK [11:06:36]SAM_PROTO_GetShiftState done [11:06:36]FM_GetShiftState done [11:06:36]opened in 1713658727 [11:06:36]opened+sec_in_day 1713745127 [11:06:36]quantity*price = 14500 [11:06:36]sum+1 = 14501 [11:06:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 145.00 НСП 1% : 1.28 НДС 12% : 15.40 Наличными: 145.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 10 21.04.2024 11:06 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12598 ФПД: 92585098354116 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T110641&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12598&fm=92585098354116&tin=02508201610067®Number=0000000000100748&sum=14500 0 [11:06:37]StoreToDocumentArchive [11:06:37]shift 281 fd 12598 [11:06:37]save to /storage/0281/doc_00012598 [11:06:37]save last doc name /storage/0281/doc_00012598 to /storage/kkm_last_doc_name [11:06:37]save OK [11:06:37]Clear old archive folders... [11:06:37]ProcessDocumentItem done err = 0, tmpTLVsize=304 [11:06:37]tlvbuf is 0031AA30 [11:06:37]SAM_PROTO_ClearQueue [11:06:37]wFMCommunicate request_size=4 [11:06:37]MH_SAM_APDU [11:06:37]CAPDU: 80 09 00 00 [11:06:37]Write to MH i2c: E2 08 00 13 0C 80 09 00 00 00 00 00 00 91 [11:06:37]Write i2c OK [11:06:37]MH_I2C_Read... [11:06:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:06:37]Read from MH i2c: E2 [11:06:37]MH_I2C_Read... [11:06:37]Read from MH i2c: E2 03 00 [11:06:37]MH_I2C_Read... [11:06:37]Read from MH i2c: E2 03 00 13 0C 00 90 00 93 [11:06:37]RAPDU: 90 00 [11:06:37]wFMCommunicate OK [11:06:37]SAM_PROTO_ClearQueue done [11:06:37]KKMCreateOFDPacket [11:06:37]OFDProtocolAddRootSTLVToBuf [11:06:37]FM_MakeSignedData [11:06:37]FM_MakeSignedData [11:06:37]SAM_PROTO_SignData [11:06:37]wFMCommunicate request_size=4 [11:06:37]MH_SAM_APDU [11:06:37]CAPDU: 80 0D 01 02 [11:06:37]Write to MH i2c: E2 08 00 14 0C 80 0D 01 02 00 00 00 00 99 [11:06:37]Write i2c OK [11:06:37]MH_I2C_Read... [11:06:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:06:37]Read from MH i2c: E2 [11:06:37]MH_I2C_Read... [11:06:37]Read from MH i2c: E2 03 00 [11:06:37]MH_I2C_Read... [11:06:37]Read from MH i2c: E2 03 00 14 0C 00 90 00 94 [11:06:37]RAPDU: 90 00 [11:06:37]wFMCommunicate OK [11:06:37]wFMCommunicate request_size=255 [11:06:37]MH_SAM_APDU [11:06:37]CAPDU: 80 0D 02 02 FA 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 36 30 30 34 39 34 36 39 34 32 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 41 64 72 65 6E 61 6C 69 6E 65 20 52 75 73 68 20 D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 41 F3 24 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 [11:06:37]Write to MH i2c: E2 02 01 15 0C 80 0D 02 02 FA 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 36 30 30 34 39 34 36 39 34 32 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 41 64 72 65 6E 61 6C 69 6E 65 20 52 75 73 68 20 D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 41 F3 24 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 00 00 DB [11:06:37]Write i2c OK [11:06:37]MH_I2C_Read... [11:06:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:06:37]Read from MH i2c: E2 [11:06:37]MH_I2C_Read... [11:06:37]Read from MH i2c: E2 03 00 [11:06:37]MH_I2C_Read... [11:06:37]Read from MH i2c: E2 03 00 15 0C 00 90 00 95 [11:06:37]RAPDU: 90 00 [11:06:37]wFMCommunicate OK [11:06:37]wFMCommunicate request_size=63 [11:06:37]MH_SAM_APDU [11:06:37]CAPDU: 80 0D 02 02 3A 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 36 31 00 00 35 04 06 00 54 34 A5 E6 1D C4 [11:06:37]Write to MH i2c: E2 42 00 16 0C 80 0D 02 02 3A 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 36 31 00 00 35 04 06 00 54 34 A5 E6 1D C4 00 00 43 [11:06:37]Write i2c OK [11:06:37]MH_I2C_Read... [11:06:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:06:38]Read from MH i2c: E2 [11:06:38]MH_I2C_Read... [11:06:38]Read from MH i2c: E2 03 00 [11:06:38]MH_I2C_Read... [11:06:38]Read from MH i2c: E2 03 00 16 0C 00 90 00 96 [11:06:38]RAPDU: 90 00 [11:06:38]wFMCommunicate OK [11:06:38]wFMCommunicate request_size=4 [11:06:38]MH_SAM_APDU [11:06:38]CAPDU: 80 0D 03 02 [11:06:38]Write to MH i2c: E2 08 00 17 0C 80 0D 03 02 00 00 00 00 9E [11:06:38]Write i2c OK [11:06:38]MH_I2C_Read... [11:06:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:06:38]Read from MH i2c: E2 [11:06:38]MH_I2C_Read... [11:06:38]Read from MH i2c: E2 0B 00 [11:06:38]MH_I2C_Read... [11:06:38]Read from MH i2c: E2 0B 00 17 0C 00 B2 0D DE 84 B7 16 E7 11 90 00 85 [11:06:38]RAPDU: B2 0D DE 84 B7 16 E7 11 90 00 [11:06:38]wFMCommunicate OK [11:06:38]SAM_PROTO_SignData done [11:06:38]FM_MakeSignedData done [11:06:38]CreateOFDProtocolMessage [11:06:38]wFMCommunicate request_size=4 [11:06:38]MH_SAM_APDU [11:06:38]CAPDU: 80 11 00 00 [11:06:38]Write to MH i2c: E2 08 00 18 0C 80 11 00 00 00 00 00 00 9E [11:06:38]Write i2c OK [11:06:38]MH_I2C_Read... [11:06:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:06:38]Read from MH i2c: E2 [11:06:38]MH_I2C_Read... [11:06:38]Read from MH i2c: E2 17 00 [11:06:38]MH_I2C_Read... [11:06:38]Read from MH i2c: E2 17 00 18 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 F8 [11:06:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [11:06:38]wFMCommunicate OK [11:06:38]CreateOFDProtocolMessage done [11:06:38]OFDSenderStorePacket 12598 [11:06:38]StoreOFDPacket docnum=12598 [11:06:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 44 01 00 00 7E 08 3C 01 A4 F6 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 36 30 30 34 39 34 36 39 34 32 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 41 64 72 65 6E 61 6C 69 6E 65 20 52 75 73 68 20 D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 41 F3 24 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 36 31 00 00 35 04 06 00 54 34 A5 E6 1D C4 B2 0D DE 84 B7 16 E7 11 [11:06:38]CheckFolder [11:06:38]dirname=/storage/ofd_packets [11:06:38]CheckFolder done [11:06:38]ProducePacketName [11:06:38]name=ofd_packets/00012598 [11:06:38]NVStorageSaveData ofd_packets/00012598 [11:06:38]File name is /storage/ofd_packets/00012598 [11:06:38]Write 354 bytes [11:06:38]NVStorageSaveData done [11:06:38]OFDSenderStorePacket done [11:06:38]KKMCreateOFDPacket done [11:06:38]NVStorageSaveData kkm_last_timestamp [11:06:38]File name is /storage/kkm_last_timestamp [11:06:38]Write 4 bytes [11:06:38]NVStorageSaveData done [11:06:38]ExternCall_PrintAddStr [11:06:38]wPrintStart [11:06:38]Write to MH i2c: 01 00 00 19 0C 25 [11:06:38]Write i2c OK [11:06:38]MH_I2C_Read... [11:06:38]Read from MH i2c: 01 [11:06:38]MH_I2C_Read... [11:06:38]Read from MH i2c: 01 07 00 [11:06:38]MH_I2C_Read... [11:06:38]Read from MH i2c: 01 07 00 19 0C 00 00 00 00 00 FF 0F 3A [11:06:38]RasterBufferAndPrint [11:06:38]line Счет N : (3)32870 [11:06:38]line ИНН: 02508201610067 [11:06:38]line Контрольно-Кассовый Чек [11:06:38]line ПРОДАЖА [11:06:38]line Товар: 4600494694202 [11:06:38]line Напиток энергетический Adrenaline Rush б [11:06:38]line 1.000 * 145.00 [11:06:38]line = 145.00 [11:06:38]line НДС 12% НСП 1% [11:06:38]line > о реализуемом товаре [11:06:38]line ИТОГО: 145.00 [11:06:38]line НСП 1% : 1.28 [11:06:38]line НДС 12% : 15.40 [11:06:38]line Наличными: 145.00 [11:06:38]line Безнал.: 0.00 [11:06:38]line Место: АЗС № 106 "Партнер Нефть" [11:06:38]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [11:06:38]line СНО: Общий режим [11:06:38]line Чек 10 21.04.2024 11:06 [11:06:38]line Смена: 281 ФФД: 1.0 [11:06:38]line ЗНМ: 0300000004 [11:06:38]line РНМ: 0000000000100748 [11:06:38]line Версия ККМ: 001 [11:06:38]line ФМ: 0000000000965685 [11:06:38]line ФД: 12598 [11:06:38]line ФПД: 92585098354116 [11:06:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T110641&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12598&fm=92585098354116&tin=02508201610067®Number=0000000000100748&sum=14500 [11:06:38]line 0 [11:06:38]OFD Sender: Processing packet 12598 [packets to send 7, broken 6] [11:06:38]ProducePacketName [11:06:38]name=ofd_packets/00012598 [11:06:38]OFD Sender: To server: pG, [11:06:38]CommunicateWithHost lk.salyk.kg:30040 [11:06:38]ConnectInit lk.salyk.kg [11:06:38]written 0, free lines is 4095 [11:06:38]Connected sock=9 [11:06:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 44 01 00 00 7E 08 3C 01 A4 F6 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 36 30 30 34 39 34 36 39 34 32 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 41 64 72 65 6E 61 6C 69 6E 65 20 52 75 73 68 20 D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 41 F3 24 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 36 31 00 00 35 04 06 00 54 34 A5 E6 1D C4 B2 0D DE 84 B7 16 E7 11 [11:06:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 E7 7F 47 00 95 06 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 36 31 00 00 F4 03 04 00 C3 9B 24 66 B6 04 01 00 00 66 4D 3A BD 32 AC 68 F4 [11:06:38]CommunicateWithHost err = 0 [11:06:38]CheckOFDResponse [11:06:38]1017 (14) - 77093643461234 [11:06:38]1041 (16) - 0000000000965685 [11:06:38]1040 (4) - 12598 [11:06:38]1012 (4) - 21.04.2024 04:53 [11:06:38]1206 (1) - 0 [11:06:38]OFD Sender: Remove packet 12598 [11:06:38]ProducePacketName [11:06:38]name=ofd_packets/00012598 [11:06:38]NVStorageDeleteData [11:06:38]Write to MH i2c: 01 00 00 41 0C 4D [11:06:38]Write i2c OK [11:06:38]MH_I2C_Read... [11:06:38]Read from MH i2c: 01 [11:06:38]MH_I2C_Read... [11:06:38]Read from MH i2c: 01 07 00 [11:06:38]MH_I2C_Read... [11:06:38]Read from MH i2c: 01 07 00 41 0C 00 00 00 00 00 F3 0C 53 [11:06:38]RasterBufferAndPrint [11:06:38]line [11:06:38]line [11:06:38]line [11:06:38]line [11:06:38]line [11:06:38]written 0, free lines is 3322 [11:06:38]MH_Cut [11:06:38]Write to MH i2c: D1 01 00 48 0C 01 26 [11:06:38]Write i2c OK [11:06:38]MH_I2C_Read... [11:06:38]Read from MH i2c: D1 [11:06:38]MH_I2C_Read... [11:06:38]Read from MH i2c: D1 01 00 [11:06:38]MH_I2C_Read... [11:06:38]Read from MH i2c: D1 01 00 48 0C 00 25 [11:06:38]Write to MH i2c: 01 00 00 49 0C 55 [11:06:38]Write i2c OK [11:06:38]MH_I2C_Read... [11:06:39]OFD Sender: No OFD packet to send [11:06:39]*** Cut start [11:06:39]*** Partial cut [11:06:39]*** CUTSNS_PIN = 1 [11:06:39]*** CUTSNS_PIN = 0 [11:06:39]*** Brake cut motor [11:06:40]Read from MH i2c: 01 [11:06:40]MH_I2C_Read... [11:06:40]*** Stop cut motor [11:06:40]*** Cut end [11:06:40]Read from MH i2c: 01 07 00 [11:06:40]MH_I2C_Read... [11:06:40]Read from MH i2c: 01 07 00 49 0C 00 00 00 00 00 FF 0F 6A [11:06:40]process_action close_receipt done [11:06:40]requested_data is exist [11:06:40]produce_requested_data [11:06:40]requested_item fm.sn is exist - process it [11:06:40]wFMCommunicate request_size=4 [11:06:40]MH_SAM_APDU [11:06:40]CAPDU: 80 11 00 00 [11:06:40]Write to MH i2c: E2 08 00 4A 0C 80 11 00 00 00 00 00 00 D0 [11:06:40]Write i2c OK [11:06:40]MH_I2C_Read... [11:06:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:06:40]Read from MH i2c: E2 [11:06:40]MH_I2C_Read... [11:06:40]Read from MH i2c: E2 17 00 [11:06:40]MH_I2C_Read... [11:06:40]Read from MH i2c: E2 17 00 4A 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 2A [11:06:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [11:06:40]wFMCommunicate OK [11:06:40]requested_item fd.num is exist - process it [11:06:40]SAM_PROTO_GetFieldsCounters [11:06:40]wFMCommunicate request_size=4 [11:06:40]MH_SAM_APDU [11:06:40]CAPDU: 80 13 00 00 [11:06:40]Write to MH i2c: E2 08 00 4B 0C 80 13 00 00 00 00 00 00 D3 [11:06:40]Write i2c OK [11:06:40]MH_I2C_Read... [11:06:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:06:40]Read from MH i2c: E2 [11:06:40]MH_I2C_Read... [11:06:40]Read from MH i2c: E2 62 00 [11:06:40]MH_I2C_Read... [11:06:40]Read from MH i2c: E2 62 00 4B 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 36 31 00 00 0E 04 04 00 19 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 95 [11:06:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 36 31 00 00 0E 04 04 00 19 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 [11:06:40]wFMCommunicate OK [11:06:40]SAM_PROTO_GetFieldsCounters done [11:06:40]requested_item shift.num is exist - process it [11:06:40]requested_item shift.opened is exist - process it [11:06:40]req_shift_opened [11:06:40]FM_GetShiftState [11:06:40]SAM_PROTO_GetShiftState [11:06:40]wFMCommunicate request_size=4 [11:06:40]MH_SAM_APDU [11:06:40]CAPDU: 80 13 01 00 [11:06:40]Write to MH i2c: E2 08 00 4C 0C 80 13 01 00 00 00 00 00 D5 [11:06:40]Write i2c OK [11:06:40]MH_I2C_Read... [11:06:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:06:40]Read from MH i2c: E2 [11:06:40]MH_I2C_Read... [11:06:40]Read from MH i2c: E2 0E 00 [11:06:40]MH_I2C_Read... [11:06:40]Read from MH i2c: E2 0E 00 4C 0C 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 2D [11:06:40]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [11:06:40]wFMCommunicate OK [11:06:40]SAM_PROTO_GetShiftState done [11:06:40]FM_GetShiftState done [11:06:40]req_shift_opened done [11:06:40]requested_item shift.open_date is exist - process it [11:06:40]req_shift_open_date [11:06:40]req_shift_open_date done [11:06:40]produce_requested_data done [11:06:40]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12598,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [11:06:40]process_action_free close_receipt [11:06:40]json_value_free [11:06:40]json_value_free done [11:06:40]process_json_proto returns [11:06:40]Send response to host [11:06:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12598,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [11:06:40]free response buf [11:06:40]execute_script done [11:06:40]execute_script returns [11:06:40]free content buf [11:06:40]Sock 10.Close socket [11:06:40]Sock 10.Thread stoped [11:06:44]OFD Sender: No OFD packet to send [11:06:49]OFD Sender: No OFD packet to send [11:06:54]OFD Sender: No OFD packet to send [11:06:59]OFD Sender: No OFD packet to send [11:07:04]OFD Sender: No OFD packet to send [11:07:09]OFD Sender: No OFD packet to send [11:07:14]OFD Sender: No OFD packet to send [11:07:19]OFD Sender: No OFD packet to send [11:07:24]OFD Sender: No OFD packet to send [11:07:29]OFD Sender: No OFD packet to send [11:07:34]OFD Sender: No OFD packet to send [11:07:39]OFD Sender: No OFD packet to send [11:07:44]OFD Sender: No OFD packet to send [11:07:49]OFD Sender: No OFD packet to send [11:07:54]OFD Sender: No OFD packet to send [11:07:59]OFD Sender: No OFD packet to send [11:08:04]OFD Sender: No OFD packet to send [11:08:09]OFD Sender: No OFD packet to send [11:08:14]OFD Sender: No OFD packet to send [11:08:19]OFD Sender: No OFD packet to send [11:08:24]OFD Sender: No OFD packet to send [11:08:29]OFD Sender: No OFD packet to send [11:08:34]OFD Sender: No OFD packet to send [11:08:39]OFD Sender: No OFD packet to send [11:08:44]OFD Sender: No OFD packet to send [11:08:49]OFD Sender: No OFD packet to send [11:08:54]OFD Sender: No OFD packet to send [11:08:59]OFD Sender: No OFD packet to send [11:09:04]OFD Sender: No OFD packet to send [11:09:09]OFD Sender: No OFD packet to send [11:09:14]OFD Sender: No OFD packet to send [11:09:19]OFD Sender: No OFD packet to send [11:09:24]OFD Sender: No OFD packet to send [11:09:29]OFD Sender: No OFD packet to send [11:09:34]OFD Sender: No OFD packet to send [11:09:39]OFD Sender: No OFD packet to send [11:09:44]OFD Sender: No OFD packet to send [11:09:49]OFD Sender: No OFD packet to send [11:09:54]OFD Sender: No OFD packet to send [11:09:59]OFD Sender: No OFD packet to send [11:10:04]OFD Sender: No OFD packet to send [11:10:09]OFD Sender: No OFD packet to send [11:10:14]OFD Sender: No OFD packet to send [11:10:19]OFD Sender: No OFD packet to send [11:10:24]OFD Sender: No OFD packet to send [11:10:29]OFD Sender: No OFD packet to send [11:10:34]OFD Sender: No OFD packet to send [11:10:39]OFD Sender: No OFD packet to send [11:10:44]OFD Sender: No OFD packet to send [11:10:49]OFD Sender: No OFD packet to send [11:10:54]OFD Sender: No OFD packet to send [11:10:59]OFD Sender: No OFD packet to send [11:11:04]OFD Sender: No OFD packet to send [11:11:09]OFD Sender: No OFD packet to send [11:11:14]OFD Sender: No OFD packet to send [11:11:19]OFD Sender: No OFD packet to send [11:11:24]OFD Sender: No OFD packet to send [11:11:29]OFD Sender: No OFD packet to send [11:11:34]OFD Sender: No OFD packet to send [11:11:39]OFD Sender: No OFD packet to send [11:11:44]OFD Sender: No OFD packet to send [11:11:49]OFD Sender: No OFD packet to send [11:11:54]OFD Sender: No OFD packet to send [11:11:59]OFD Sender: No OFD packet to send [11:12:04]OFD Sender: No OFD packet to send [11:12:09]OFD Sender: No OFD packet to send [11:12:14]OFD Sender: No OFD packet to send [11:12:19]OFD Sender: No OFD packet to send [11:12:24]OFD Sender: No OFD packet to send [11:12:29]OFD Sender: No OFD packet to send [11:12:34]OFD Sender: No OFD packet to send [11:12:39]OFD Sender: No OFD packet to send [11:12:44]OFD Sender: No OFD packet to send [11:12:49]OFD Sender: No OFD packet to send [11:12:54]OFD Sender: No OFD packet to send [11:12:59]OFD Sender: No OFD packet to send [11:13:04]OFD Sender: No OFD packet to send [11:13:09]OFD Sender: No OFD packet to send [11:13:14]OFD Sender: No OFD packet to send [11:13:19]OFD Sender: No OFD packet to send [11:13:24]OFD Sender: No OFD packet to send [11:13:29]OFD Sender: No OFD packet to send [11:13:34]OFD Sender: No OFD packet to send [11:13:39]OFD Sender: No OFD packet to send [11:13:44]OFD Sender: No OFD packet to send [11:13:49]OFD Sender: No OFD packet to send [11:13:54]OFD Sender: No OFD packet to send [11:13:59]OFD Sender: No OFD packet to send [11:14:04]OFD Sender: No OFD packet to send [11:14:09]OFD Sender: No OFD packet to send [11:14:14]OFD Sender: No OFD packet to send [11:14:19]OFD Sender: No OFD packet to send [11:14:24]OFD Sender: No OFD packet to send [11:14:29]OFD Sender: No OFD packet to send [11:14:34]OFD Sender: No OFD packet to send [11:14:39]OFD Sender: No OFD packet to send [11:14:44]OFD Sender: No OFD packet to send [11:14:49]OFD Sender: No OFD packet to send [11:14:54]OFD Sender: No OFD packet to send [11:14:59]OFD Sender: No OFD packet to send [11:15:04]OFD Sender: No OFD packet to send [11:15:09]OFD Sender: No OFD packet to send [11:15:14]OFD Sender: No OFD packet to send [11:15:19]OFD Sender: No OFD packet to send [11:15:24]OFD Sender: No OFD packet to send [11:15:29]OFD Sender: No OFD packet to send [11:15:34]OFD Sender: No OFD packet to send [11:15:39]OFD Sender: No OFD packet to send [11:15:44]OFD Sender: No OFD packet to send [11:15:49]OFD Sender: No OFD packet to send [11:15:54]OFD Sender: No OFD packet to send [11:15:59]OFD Sender: No OFD packet to send [11:16:04]OFD Sender: No OFD packet to send [11:16:09]OFD Sender: No OFD packet to send [11:16:14]OFD Sender: No OFD packet to send [11:16:19]OFD Sender: No OFD packet to send [11:16:24]OFD Sender: No OFD packet to send [11:16:29]OFD Sender: No OFD packet to send [11:16:34]OFD Sender: No OFD packet to send [11:16:39]OFD Sender: No OFD packet to send [11:16:44]OFD Sender: No OFD packet to send [11:16:49]OFD Sender: No OFD packet to send [11:16:54]OFD Sender: No OFD packet to send [11:16:59]OFD Sender: No OFD packet to send [11:17:04]OFD Sender: No OFD packet to send [11:17:09]OFD Sender: No OFD packet to send [11:17:14]OFD Sender: No OFD packet to send [11:17:19]OFD Sender: No OFD packet to send [11:17:24]OFD Sender: No OFD packet to send [11:17:29]OFD Sender: No OFD packet to send [11:17:34]OFD Sender: No OFD packet to send [11:17:39]OFD Sender: No OFD packet to send [11:17:44]OFD Sender: No OFD packet to send [11:17:49]OFD Sender: No OFD packet to send [11:17:54]OFD Sender: No OFD packet to send [11:17:59]OFD Sender: No OFD packet to send [11:18:04]OFD Sender: No OFD packet to send [11:18:09]OFD Sender: No OFD packet to send [11:18:14]OFD Sender: No OFD packet to send [11:18:19]OFD Sender: No OFD packet to send [11:18:24]OFD Sender: No OFD packet to send [11:18:29]OFD Sender: No OFD packet to send [11:18:34]OFD Sender: No OFD packet to send [11:18:39]OFD Sender: No OFD packet to send [11:18:44]OFD Sender: No OFD packet to send [11:18:49]OFD Sender: No OFD packet to send [11:18:54]OFD Sender: No OFD packet to send [11:18:59]OFD Sender: No OFD packet to send [11:19:04]OFD Sender: No OFD packet to send [11:19:09]OFD Sender: No OFD packet to send [11:19:14]OFD Sender: No OFD packet to send [11:19:19]OFD Sender: No OFD packet to send [11:19:24]OFD Sender: No OFD packet to send [11:19:29]OFD Sender: No OFD packet to send [11:19:34]OFD Sender: No OFD packet to send [11:19:39]OFD Sender: No OFD packet to send [11:19:44]OFD Sender: No OFD packet to send [11:19:49]OFD Sender: No OFD packet to send [11:19:54]OFD Sender: No OFD packet to send [11:19:59]OFD Sender: No OFD packet to send [11:20:04]OFD Sender: No OFD packet to send [11:20:09]OFD Sender: No OFD packet to send [11:20:14]OFD Sender: No OFD packet to send [11:20:19]OFD Sender: No OFD packet to send [11:20:24]OFD Sender: No OFD packet to send [11:20:29]OFD Sender: No OFD packet to send [11:20:34]OFD Sender: No OFD packet to send [11:20:39]OFD Sender: No OFD packet to send [11:20:44]OFD Sender: No OFD packet to send [11:20:49]OFD Sender: No OFD packet to send [11:20:54]OFD Sender: No OFD packet to send [11:20:59]OFD Sender: No OFD packet to send [11:21:04]OFD Sender: No OFD packet to send [11:21:09]OFD Sender: No OFD packet to send [11:21:14]OFD Sender: No OFD packet to send [11:21:19]OFD Sender: No OFD packet to send [11:21:24]OFD Sender: No OFD packet to send [11:21:30]OFD Sender: No OFD packet to send [11:21:35]OFD Sender: No OFD packet to send [11:21:40]OFD Sender: No OFD packet to send [11:21:45]OFD Sender: No OFD packet to send [11:21:50]OFD Sender: No OFD packet to send [11:21:55]OFD Sender: No OFD packet to send [11:22:00]OFD Sender: No OFD packet to send [11:22:05]OFD Sender: No OFD packet to send [11:22:10]OFD Sender: No OFD packet to send [11:22:15]OFD Sender: No OFD packet to send [11:22:20]OFD Sender: No OFD packet to send [11:22:25]OFD Sender: No OFD packet to send [11:22:30]OFD Sender: No OFD packet to send [11:22:35]OFD Sender: No OFD packet to send [11:22:40]OFD Sender: No OFD packet to send [11:22:45]OFD Sender: No OFD packet to send [11:22:50]OFD Sender: No OFD packet to send [11:22:55]OFD Sender: No OFD packet to send [11:23:00]OFD Sender: No OFD packet to send [11:23:05]OFD Sender: No OFD packet to send [11:23:10]OFD Sender: No OFD packet to send [11:23:15]OFD Sender: No OFD packet to send [11:23:20]OFD Sender: No OFD packet to send [11:23:25]OFD Sender: No OFD packet to send [11:23:30]OFD Sender: No OFD packet to send [11:23:35]OFD Sender: No OFD packet to send [11:23:40]OFD Sender: No OFD packet to send [11:23:45]OFD Sender: No OFD packet to send [11:23:50]OFD Sender: No OFD packet to send [11:23:55]OFD Sender: No OFD packet to send [11:24:00]OFD Sender: No OFD packet to send [11:24:05]OFD Sender: No OFD packet to send [11:24:10]OFD Sender: No OFD packet to send [11:24:15]OFD Sender: No OFD packet to send [11:24:20]OFD Sender: No OFD packet to send [11:24:25]OFD Sender: No OFD packet to send [11:24:30]OFD Sender: No OFD packet to send [11:24:35]OFD Sender: No OFD packet to send [11:24:40]OFD Sender: No OFD packet to send [11:24:45]OFD Sender: No OFD packet to send [11:24:50]OFD Sender: No OFD packet to send [11:24:55]OFD Sender: No OFD packet to send [11:25:00]OFD Sender: No OFD packet to send [11:25:05]OFD Sender: No OFD packet to send [11:25:10]OFD Sender: No OFD packet to send [11:25:15]OFD Sender: No OFD packet to send [11:25:20]OFD Sender: No OFD packet to send [11:25:25]OFD Sender: No OFD packet to send [11:25:30]OFD Sender: No OFD packet to send [11:25:35]OFD Sender: No OFD packet to send [11:25:40]OFD Sender: No OFD packet to send [11:25:45]OFD Sender: No OFD packet to send [11:25:50]OFD Sender: No OFD packet to send [11:25:55]OFD Sender: No OFD packet to send [11:26:00]OFD Sender: No OFD packet to send [11:26:05]OFD Sender: No OFD packet to send [11:26:10]OFD Sender: No OFD packet to send [11:26:15]OFD Sender: No OFD packet to send [11:26:20]OFD Sender: No OFD packet to send [11:26:25]OFD Sender: No OFD packet to send [11:26:30]OFD Sender: No OFD packet to send [11:26:35]OFD Sender: No OFD packet to send [11:26:40]OFD Sender: No OFD packet to send [11:26:45]OFD Sender: No OFD packet to send [11:26:50]OFD Sender: No OFD packet to send [11:26:55]OFD Sender: No OFD packet to send [11:27:00]OFD Sender: No OFD packet to send [11:27:05]OFD Sender: No OFD packet to send [11:27:10]OFD Sender: No OFD packet to send [11:27:15]OFD Sender: No OFD packet to send [11:27:20]OFD Sender: No OFD packet to send [11:27:25]OFD Sender: No OFD packet to send [11:27:30]OFD Sender: No OFD packet to send [11:27:35]OFD Sender: No OFD packet to send [11:27:40]OFD Sender: No OFD packet to send [11:27:45]OFD Sender: No OFD packet to send [11:27:50]OFD Sender: No OFD packet to send [11:27:55]OFD Sender: No OFD packet to send [11:28:00]OFD Sender: No OFD packet to send [11:28:05]OFD Sender: No OFD packet to send [11:28:10]OFD Sender: No OFD packet to send [11:28:15]OFD Sender: No OFD packet to send [11:28:20]OFD Sender: No OFD packet to send [11:28:25]OFD Sender: No OFD packet to send [11:28:30]OFD Sender: No OFD packet to send [11:28:35]OFD Sender: No OFD packet to send [11:28:40]OFD Sender: No OFD packet to send [11:28:45]OFD Sender: No OFD packet to send [11:28:50]OFD Sender: No OFD packet to send [11:28:55]OFD Sender: No OFD packet to send [11:29:00]OFD Sender: No OFD packet to send [11:29:05]OFD Sender: No OFD packet to send [11:29:10]OFD Sender: No OFD packet to send [11:29:15]OFD Sender: No OFD packet to send [11:29:20]OFD Sender: No OFD packet to send [11:29:25]OFD Sender: No OFD packet to send [11:29:30]OFD Sender: No OFD packet to send [11:29:35]OFD Sender: No OFD packet to send [11:29:40]OFD Sender: No OFD packet to send [11:29:45]OFD Sender: No OFD packet to send [11:29:50]OFD Sender: No OFD packet to send [11:29:55]OFD Sender: No OFD packet to send [11:30:00]OFD Sender: No OFD packet to send [11:30:05]OFD Sender: No OFD packet to send [11:30:10]OFD Sender: No OFD packet to send [11:30:15]OFD Sender: No OFD packet to send [11:30:20]OFD Sender: No OFD packet to send [11:30:25]OFD Sender: No OFD packet to send [11:30:30]OFD Sender: No OFD packet to send [11:30:35]OFD Sender: No OFD packet to send [11:30:40]OFD Sender: No OFD packet to send [11:30:45]OFD Sender: No OFD packet to send [11:30:50]OFD Sender: No OFD packet to send [11:30:55]OFD Sender: No OFD packet to send [11:31:00]OFD Sender: No OFD packet to send [11:31:05]OFD Sender: No OFD packet to send [11:31:10]OFD Sender: No OFD packet to send [11:31:15]OFD Sender: No OFD packet to send [11:31:20]OFD Sender: No OFD packet to send [11:31:25]OFD Sender: No OFD packet to send [11:31:30]OFD Sender: No OFD packet to send [11:31:35]OFD Sender: No OFD packet to send [11:31:40]OFD Sender: No OFD packet to send [11:31:45]OFD Sender: No OFD packet to send [11:31:50]OFD Sender: No OFD packet to send [11:31:55]OFD Sender: No OFD packet to send [11:32:00]OFD Sender: No OFD packet to send [11:32:05]OFD Sender: No OFD packet to send [11:32:10]OFD Sender: No OFD packet to send [11:32:15]OFD Sender: No OFD packet to send [11:32:20]OFD Sender: No OFD packet to send [11:32:25]OFD Sender: No OFD packet to send [11:32:30]OFD Sender: No OFD packet to send [11:32:35]OFD Sender: No OFD packet to send [11:32:40]OFD Sender: No OFD packet to send [11:32:45]OFD Sender: No OFD packet to send [11:32:50]OFD Sender: No OFD packet to send [11:32:55]OFD Sender: No OFD packet to send [11:33:00]OFD Sender: No OFD packet to send [11:33:05]OFD Sender: No OFD packet to send [11:33:10]OFD Sender: No OFD packet to send [11:33:15]OFD Sender: No OFD packet to send [11:33:20]OFD Sender: No OFD packet to send [11:33:25]OFD Sender: No OFD packet to send [11:33:30]OFD Sender: No OFD packet to send [11:33:35]OFD Sender: No OFD packet to send [11:33:40]OFD Sender: No OFD packet to send [11:33:45]OFD Sender: No OFD packet to send [11:33:50]OFD Sender: No OFD packet to send [11:33:55]OFD Sender: No OFD packet to send [11:34:00]OFD Sender: No OFD packet to send [11:34:05]OFD Sender: No OFD packet to send [11:34:10]OFD Sender: No OFD packet to send [11:34:15]OFD Sender: No OFD packet to send [11:34:20]OFD Sender: No OFD packet to send [11:34:25]OFD Sender: No OFD packet to send [11:34:30]OFD Sender: No OFD packet to send [11:34:35]OFD Sender: No OFD packet to send [11:34:40]OFD Sender: No OFD packet to send [11:34:45]OFD Sender: No OFD packet to send [11:34:50]OFD Sender: No OFD packet to send [11:34:55]OFD Sender: No OFD packet to send [11:35:00]OFD Sender: No OFD packet to send [11:35:05]OFD Sender: No OFD packet to send [11:35:10]OFD Sender: No OFD packet to send [11:35:15]OFD Sender: No OFD packet to send [11:35:20]OFD Sender: No OFD packet to send [11:35:21]accept exits with 8 [11:35:21]New connection [11:35:21]New thread 3066695012 created [11:35:21]Thread 3066838372 joined [11:35:21]Waiting for new connection... [11:35:21] Sock 8.Parse request [11:35:21]Sock 8.Check first char [11:35:21]Sock 8.First char is OK [11:35:21]request: POST /json_proto HTTP/1.0 [11:35:21]Method: POST [11:35:21]URL: /json_proto [11:35:21]Method is POST - this is cgi request [11:35:21]url: /json_proto [11:35:21]query_string will be loaded in cgi processing [11:35:21]execute_cgi json_proto POST (null) [11:35:21]execute_cgi path=json_proto method=POST [11:35:21]POST find Content-Length [11:35:21]Host: 172.17.62.6:8080 [11:35:21]Content-Length: 2269 [11:35:21]Content-Type: application/json [11:35:21] [11:35:21]POST finish read [11:35:21]Found Content-Length = 2269 [11:35:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32871", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4690388110802", "name": "\u0427\u0438\u0442\u043E\u0441 \u041A\u0440\u0430\u0431 50\u0433", "price" : 70.00, "quantity" : 2.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46114709", "name": "\u0416\u0435\u0432 \u041C\u0435\u043D\u0442\u043E\u0441 \u0422\u0443\u0442\u0442\u0438 \u0424\u0440\u0443\u0442\u0442\u0438 8*6*54\u0433 \u0431\u0430\u043D\u043A\u0430", "price" : 205.00, "quantity" : 1.000, "sum" : 205.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202522688", "name": "Garden \u043D\u0430\u043F\u0438\u0442\u043E\u043A \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u0433\u0440\u0430\u043D\u0430\u0442\u0430 0,45 \u041F\u042D", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189394", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u044F\u0433\u043E\u0434\u0430 0,5\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000000996", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,33\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 674.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:35:21]execute_script... [11:35:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32871", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4690388110802", "name": "\u0427\u0438\u0442\u043E\u0441 \u041A\u0440\u0430\u0431 50\u0433", "price" : 70.00, "quantity" : 2.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46114709", "name": "\u0416\u0435\u0432 \u041C\u0435\u043D\u0442\u043E\u0441 \u0422\u0443\u0442\u0442\u0438 \u0424\u0440\u0443\u0442\u0442\u0438 8*6*54\u0433 \u0431\u0430\u043D\u043A\u0430", "price" : 205.00, "quantity" : 1.000, "sum" : 205.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202522688", "name": "Garden \u043D\u0430\u043F\u0438\u0442\u043E\u043A \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u0433\u0440\u0430\u043D\u0430\u0442\u0430 0,45 \u041F\u042D", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189394", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u044F\u0433\u043E\u0434\u0430 0,5\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000000996", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,33\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 674.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:35:21]POST & json_proto [11:35:21]process_json_proto [11:35:21]json parsed OK: [11:35:21]protocol is kg_v1.0 [11:35:21]action value=close_receipt [11:35:21]process_action close_receipt [11:35:21]cmd_close_receipt [11:35:21]MH_GetDate [11:35:21]Write to MH i2c: F0 00 00 4D 0C 48 [11:35:21]Write i2c OK [11:35:21]MH_I2C_Read... [11:35:21]Read from MH i2c: F0 [11:35:21]MH_I2C_Read... [11:35:21]Read from MH i2c: F0 09 00 [11:35:21]MH_I2C_Read... [11:35:21]Read from MH i2c: F0 09 00 4D 0C 00 FF F9 24 66 61 69 D2 64 D3 [11:35:21]GetLastDocTimeStamp 1713697601 [11:35:21]current date 1713699327 [11:35:21]FM_GetShiftState [11:35:21]SAM_PROTO_GetShiftState [11:35:21]wFMCommunicate request_size=4 [11:35:21]MH_SAM_APDU [11:35:21]CAPDU: 80 13 01 00 [11:35:21]Write to MH i2c: E2 08 00 4E 0C 80 13 01 00 00 00 00 00 D7 [11:35:21]Write i2c OK [11:35:21]MH_I2C_Read... [11:35:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:35:21]Read from MH i2c: E2 [11:35:21]MH_I2C_Read... [11:35:21]Read from MH i2c: E2 0E 00 [11:35:21]MH_I2C_Read... [11:35:21]Read from MH i2c: E2 0E 00 4E 0C 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 2F [11:35:21]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [11:35:21]wFMCommunicate OK [11:35:21]SAM_PROTO_GetShiftState done [11:35:21]FM_GetShiftState done [11:35:21]opened in 1713658727 [11:35:21]opened+sec_in_day 1713745127 [11:35:21]quantity*price = 13000 [11:35:21]sum+1 = 13001 [11:35:21]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4690388110802 Читос Краб 50г 2.000 * 70.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 46114709 Жев Ментос Тутти Фрутти 8*6*54г банка 1.000 * 205.00 = 205.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870202522688 Garden напиток со вкусом граната 0,45 ПЭ 1.000 * 59.00 = 59.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000189394 Холодный чай Fuse ягода 0,5л 1.000 * 65.00 = 65.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000000996 Напиток Кока-Кола 0,33л 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 674.00 НСП 1% : 5.95 НДС 12% : 71.56 Наличными: 0.00 Безнал.: 674.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 11 21.04.2024 11:35 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000965685 ФД: 12599 ФПД: 130896277949666 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T113527&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12599&fm=130896277949666&tin=02508201610067®Number=0000000000100748&sum=67400 0 [11:35:23]StoreToDocumentArchive [11:35:23]shift 281 fd 12599 [11:35:23]save to /storage/0281/doc_00012599 [11:35:23]save last doc name /storage/0281/doc_00012599 to /storage/kkm_last_doc_name [11:35:23]save OK [11:35:23]Clear old archive folders... [11:35:23]ProcessDocumentItem done err = 0, tmpTLVsize=866 [11:35:23]tlvbuf is 0037E160 [11:35:23]SAM_PROTO_ClearQueue [11:35:23]wFMCommunicate request_size=4 [11:35:23]MH_SAM_APDU [11:35:23]CAPDU: 80 09 00 00 [11:35:23]Write to MH i2c: E2 08 00 5B 0C 80 09 00 00 00 00 00 00 D9 [11:35:23]Write i2c OK [11:35:23]MH_I2C_Read... [11:35:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:35:23]Read from MH i2c: E2 [11:35:23]MH_I2C_Read... [11:35:23]Read from MH i2c: E2 03 00 [11:35:23]MH_I2C_Read... [11:35:23]Read from MH i2c: E2 03 00 5B 0C 00 90 00 DB [11:35:23]RAPDU: 90 00 [11:35:23]wFMCommunicate OK [11:35:23]SAM_PROTO_ClearQueue done [11:35:23]KKMCreateOFDPacket [11:35:23]OFDProtocolAddRootSTLVToBuf [11:35:23]FM_MakeSignedData [11:35:23]FM_MakeSignedData [11:35:23]SAM_PROTO_SignData [11:35:23]wFMCommunicate request_size=4 [11:35:23]MH_SAM_APDU [11:35:23]CAPDU: 80 0D 01 02 [11:35:23]Write to MH i2c: E2 08 00 5C 0C 80 0D 01 02 00 00 00 00 E1 [11:35:23]Write i2c OK [11:35:23]MH_I2C_Read... [11:35:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:35:23]Read from MH i2c: E2 [11:35:23]MH_I2C_Read... [11:35:23]Read from MH i2c: E2 03 00 [11:35:23]MH_I2C_Read... [11:35:23]Read from MH i2c: E2 03 00 5C 0C 00 90 00 DC [11:35:23]RAPDU: 90 00 [11:35:23]wFMCommunicate OK [11:35:23]wFMCommunicate request_size=255 [11:35:23]MH_SAM_APDU [11:35:23]CAPDU: 80 0D 02 02 FA 03 00 62 03 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 36 39 30 33 38 38 31 31 30 38 30 32 06 04 18 00 D0 A7 D0 B8 D1 82 D0 BE D1 81 20 D0 9A D1 80 D0 B0 D0 B1 20 35 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 08 00 34 36 31 31 34 37 30 39 06 04 3F 00 D0 96 D0 B5 D0 B2 20 D0 9C D0 B5 D0 BD D1 82 D0 BE D1 81 [11:35:23]Write to MH i2c: E2 02 01 5D 0C 80 0D 02 02 FA 00 03 00 62 03 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 36 39 30 33 38 38 31 31 30 38 30 32 06 04 18 00 D0 A7 D0 B8 D1 82 D0 BE D1 81 20 D0 9A D1 80 D0 B0 D0 B1 20 35 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 08 00 34 36 31 31 34 37 30 39 06 04 3F 00 D0 96 D0 B5 D0 B2 20 D0 9C D0 B5 D0 BD D1 82 D0 BE D1 81 00 00 9A [11:35:23]Write i2c OK [11:35:23]MH_I2C_Read... [11:35:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:35:23]Read from MH i2c: E2 [11:35:23]MH_I2C_Read... [11:35:23]Read from MH i2c: E2 03 00 [11:35:23]MH_I2C_Read... [11:35:23]Read from MH i2c: E2 03 00 5D 0C 00 90 00 DD [11:35:23]RAPDU: 90 00 [11:35:23]wFMCommunicate OK [11:35:23]wFMCommunicate request_size=255 [11:35:23]MH_SAM_APDU [11:35:23]CAPDU: 80 0D 02 02 FA 20 D0 A2 D1 83 D1 82 D1 82 D0 B8 20 D0 A4 D1 80 D1 83 D1 82 D1 82 D0 B8 20 38 2A 36 2A 35 34 D0 B3 20 D0 B1 D0 B0 D0 BD D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 38 38 06 04 40 00 47 61 72 64 65 6E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 D0 B0 20 30 2C 34 35 20 D0 9F D0 AD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 39 34 06 04 [11:35:23]Write to MH i2c: E2 02 01 5E 0C 80 0D 02 02 FA 00 20 D0 A2 D1 83 D1 82 D1 82 D0 B8 20 D0 A4 D1 80 D1 83 D1 82 D1 82 D0 B8 20 38 2A 36 2A 35 34 D0 B3 20 D0 B1 D0 B0 D0 BD D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 38 38 06 04 40 00 47 61 72 64 65 6E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 D0 B0 20 30 2C 34 35 20 D0 9F D0 AD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 39 34 06 04 00 00 48 [11:35:23]Write i2c OK [11:35:23]MH_I2C_Read... [11:35:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:35:23]Read from MH i2c: E2 [11:35:23]MH_I2C_Read... [11:35:23]Read from MH i2c: E2 03 00 [11:35:23]MH_I2C_Read... [11:35:23]Read from MH i2c: E2 03 00 5E 0C 00 90 00 DE [11:35:23]RAPDU: 90 00 [11:35:23]wFMCommunicate OK [11:35:23]wFMCommunicate request_size=255 [11:35:23]MH_SAM_APDU [11:35:23]CAPDU: 80 0D 02 02 FA 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D1 8F D0 B3 D0 BE D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 07 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 [11:35:23]Write to MH i2c: E2 02 01 5F 0C 80 0D 02 02 FA 00 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D1 8F D0 B3 D0 BE D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 07 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 D5 [11:35:23]Write i2c OK [11:35:23]MH_I2C_Read... [11:35:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:35:24]Read from MH i2c: E2 [11:35:24]MH_I2C_Read... [11:35:24]Read from MH i2c: E2 03 00 [11:35:24]MH_I2C_Read... [11:35:24]Read from MH i2c: E2 03 00 5F 0C 00 90 00 DF [11:35:24]RAPDU: 90 00 [11:35:24]wFMCommunicate OK [11:35:24]wFMCommunicate request_size=125 [11:35:24]MH_SAM_APDU [11:35:24]CAPDU: 80 0D 02 02 78 00 F4 1B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 48 07 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 FF F9 24 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 37 31 00 00 35 04 06 00 77 0C AA 26 4C E2 [11:35:24]Write to MH i2c: E2 80 00 60 0C 80 0D 02 02 78 00 00 F4 1B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 48 07 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 FF F9 24 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 37 31 00 00 35 04 06 00 77 0C AA 26 4C E2 00 00 01 [11:35:24]Write i2c OK [11:35:24]MH_I2C_Read... [11:35:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:35:24]Read from MH i2c: E2 [11:35:24]MH_I2C_Read... [11:35:24]Read from MH i2c: E2 03 00 [11:35:24]MH_I2C_Read... [11:35:24]Read from MH i2c: E2 03 00 60 0C 00 90 00 E0 [11:35:24]RAPDU: 90 00 [11:35:24]wFMCommunicate OK [11:35:24]wFMCommunicate request_size=4 [11:35:24]MH_SAM_APDU [11:35:24]CAPDU: 80 0D 03 02 [11:35:24]Write to MH i2c: E2 08 00 61 0C 80 0D 03 02 00 00 00 00 E8 [11:35:24]Write i2c OK [11:35:24]MH_I2C_Read... [11:35:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:35:24]Read from MH i2c: E2 [11:35:24]MH_I2C_Read... [11:35:24]Read from MH i2c: E2 0B 00 [11:35:24]MH_I2C_Read... [11:35:24]Read from MH i2c: E2 0B 00 61 0C 00 48 F4 70 43 73 FA 38 21 90 00 9E [11:35:24]RAPDU: 48 F4 70 43 73 FA 38 21 90 00 [11:35:24]wFMCommunicate OK [11:35:24]SAM_PROTO_SignData done [11:35:24]FM_MakeSignedData done [11:35:24]CreateOFDProtocolMessage [11:35:24]wFMCommunicate request_size=4 [11:35:24]MH_SAM_APDU [11:35:24]CAPDU: 80 11 00 00 [11:35:24]Write to MH i2c: E2 08 00 62 0C 80 11 00 00 00 00 00 00 E8 [11:35:24]Write i2c OK [11:35:24]MH_I2C_Read... [11:35:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:35:24]Read from MH i2c: E2 [11:35:24]MH_I2C_Read... [11:35:24]Read from MH i2c: E2 17 00 [11:35:24]MH_I2C_Read... [11:35:24]Read from MH i2c: E2 17 00 62 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 42 [11:35:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [11:35:24]wFMCommunicate OK [11:35:24]CreateOFDProtocolMessage done [11:35:24]OFDSenderStorePacket 12599 [11:35:24]StoreOFDPacket docnum=12599 [11:35:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 76 03 00 00 1D B6 6E 03 77 25 5A 03 01 00 03 00 62 03 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 36 39 30 33 38 38 31 31 30 38 30 32 06 04 18 00 D0 A7 D0 B8 D1 82 D0 BE D1 81 20 D0 9A D1 80 D0 B0 D0 B1 20 35 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 08 00 34 36 31 31 34 37 30 39 06 04 3F 00 D0 96 D0 B5 D0 B2 20 D0 9C D0 B5 D0 BD D1 82 D0 BE D1 81 20 D0 A2 D1 83 D1 82 D1 82 D0 B8 20 D0 A4 D1 80 D1 83 D1 82 D1 82 D0 B8 20 38 2A 36 2A 35 34 D0 B3 20 D0 B1 D0 B0 D0 BD D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 38 38 06 04 40 00 47 61 72 64 65 6E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 D0 B0 20 30 2C 34 35 20 D0 9F D0 AD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 39 34 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D1 8F D0 B3 D0 BE D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 07 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F4 1B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 48 07 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 FF F9 24 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 37 31 00 00 35 04 06 00 77 0C AA 26 4C E2 48 F4 70 43 73 FA 38 21 [11:35:24]CheckFolder [11:35:24]dirname=/storage/ofd_packets [11:35:24]CheckFolder done [11:35:24]ProducePacketName [11:35:24]name=ofd_packets/00012599 [11:35:24]NVStorageSaveData ofd_packets/00012599 [11:35:24]File name is /storage/ofd_packets/00012599 [11:35:24]Write 916 bytes [11:35:24]NVStorageSaveData done [11:35:24]OFDSenderStorePacket done [11:35:24]KKMCreateOFDPacket done [11:35:24]NVStorageSaveData kkm_last_timestamp [11:35:24]File name is /storage/kkm_last_timestamp [11:35:24]Write 4 bytes [11:35:24]NVStorageSaveData done [11:35:24]ExternCall_PrintAddStr [11:35:24]wPrintStart [11:35:24]Write to MH i2c: 01 00 00 63 0C 6F [11:35:24]OFD Sender: Processing packet 12599 [packets to send 7, broken 6] [11:35:24]ProducePacketName [11:35:24]name=ofd_packets/00012599 [11:35:24]OFD Sender: To server: pG, [11:35:24]CommunicateWithHost lk.salyk.kg:30040 [11:35:24]ConnectInit lk.salyk.kg [11:35:24]Write i2c OK [11:35:24]MH_I2C_Read... [11:35:24]Read from MH i2c: 01 [11:35:24]MH_I2C_Read... [11:35:24]Read from MH i2c: 01 07 00 [11:35:24]MH_I2C_Read... [11:35:24]Read from MH i2c: 01 07 00 63 0C 00 00 00 00 00 FF 0F 84 [11:35:24]RasterBufferAndPrint [11:35:24]line Счет N : (3)32871 [11:35:24]line ИНН: 02508201610067 [11:35:24]line Контрольно-Кассовый Чек [11:35:24]line ПРОДАЖА [11:35:24]line Товар: 2000036230011 [11:35:24]line Кофе Латте XL(GABB TRADE) [11:35:24]line 1.000 * 130.00 [11:35:24]line = 130.00 [11:35:24]line НДС 12% НСП 1% [11:35:24]line > о реализуемом товаре [11:35:24]line Товар: 4690388110802 [11:35:24]line Читос Краб 50г [11:35:24]line 2.000 * 70.00 [11:35:24]line = 140.00 [11:35:24]line НДС 12% НСП 1% [11:35:24]line > о реализуемом товаре [11:35:24]line Товар: 46114709 [11:35:24]line Жев Ментос Тутти Фрутти 8*6*54г банка [11:35:24]line 1.000 * 205.00 [11:35:24]line = 205.00 [11:35:24]line НДС 12% НСП 1% [11:35:24]line > о реализуемом товаре [11:35:24]line Товар: 4870202522688 [11:35:24]line Garden напиток со вкусом граната 0,45 ПЭ [11:35:24]line 1.000 * 59.00 [11:35:24]line = 59.00 [11:35:24]line НДС 12% НСП 1% [11:35:24]line > о реализуемом товаре [11:35:24]line Товар: 5449000189394 [11:35:24]line Холодный чай Fuse ягода 0,5л [11:35:24]line 1.000 * 65.00 [11:35:24]line = 65.00 [11:35:24]line НДС 12% НСП 1% [11:35:24]line > о реализуемом товаре [11:35:24]line Товар: 5449000000996 [11:35:24]line Напиток Кока-Кола 0,33л [11:35:24]line 1.000 * 75.00 [11:35:24]line = 75.00 [11:35:24]line НДС 12% НСП 1% [11:35:24]line > о реализуемом товаре [11:35:24]line ИТОГО: 674.00 [11:35:24]line НСП 1% : 5.95 [11:35:24]line НДС 12% : 71.56 [11:35:24]line Наличными: 0.00 [11:35:24]line Безнал.: 674.00 [11:35:24]line Место: АЗС № 106 "Партнер Нефть" [11:35:24]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [11:35:24]line СНО: Общий режим [11:35:24]line Чек 11 21.04.2024 11:35 [11:35:24]line Смена: 281 ФФД: 1.0 [11:35:24]line ЗНМ: 0300000004 [11:35:24]line РНМ: 0000000000100748 [11:35:24]line Версия ККМ: 001 [11:35:24]line Платежная система: Бакай Банк [11:35:24]line ФМ: 0000000000965685 [11:35:24]line ФД: 12599 [11:35:24]line ФПД: 130896277949666 [11:35:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T113527&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12599&fm=130896277949666&tin=02508201610067®Number=0000000000100748&sum=67400 [11:35:24]line 0 [11:35:24]written 0, free lines is 4095 [11:35:24]Connected sock=10 [11:35:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 76 03 00 00 1D B6 6E 03 77 25 5A 03 01 00 03 00 62 03 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 36 39 30 33 38 38 31 31 30 38 30 32 06 04 18 00 D0 A7 D0 B8 D1 82 D0 BE D1 81 20 D0 9A D1 80 D0 B0 D0 B1 20 35 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 08 00 34 36 31 31 34 37 30 39 06 04 3F 00 D0 96 D0 B5 D0 B2 20 D0 9C D0 B5 D0 BD D1 82 D0 BE D1 81 20 D0 A2 D1 83 D1 82 D1 82 D0 B8 20 D0 A4 D1 80 D1 83 D1 82 D1 82 D0 B8 20 38 2A 36 2A 35 34 D0 B3 20 D0 B1 D0 B0 D0 BD D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 38 38 06 04 40 00 47 61 72 64 65 6E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 D0 B0 20 30 2C 34 35 20 D0 9F D0 AD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 39 34 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D1 8F D0 B3 D0 BE D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 07 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F4 1B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 48 07 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 FF F9 24 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 37 31 00 00 35 04 06 00 77 0C AA 26 4C E2 48 F4 70 43 73 FA 38 21 [11:35:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 8C 4B 47 00 F7 F7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 37 31 00 00 F4 03 04 00 81 A2 24 66 B6 04 01 00 00 58 07 4B AA DC 35 F8 95 [11:35:25]CommunicateWithHost err = 0 [11:35:25]CheckOFDResponse [11:35:25]1017 (14) - 77093643461234 [11:35:25]1041 (16) - 0000000000965685 [11:35:25]1040 (4) - 12599 [11:35:25]1012 (4) - 21.04.2024 05:22 [11:35:25]1206 (1) - 0 [11:35:25]OFD Sender: Remove packet 12599 [11:35:25]ProducePacketName [11:35:25]name=ofd_packets/00012599 [11:35:25]NVStorageDeleteData [11:35:25]Write to MH i2c: 01 00 00 AC 0C B8 [11:35:25]Write i2c OK [11:35:25]MH_I2C_Read... [11:35:25]Read from MH i2c: 01 [11:35:25]MH_I2C_Read... [11:35:25]Read from MH i2c: 01 07 00 [11:35:25]MH_I2C_Read... [11:35:25]Read from MH i2c: 01 07 00 AC 0C 00 00 00 00 00 21 0B EB [11:35:25]RasterBufferAndPrint [11:35:25]line [11:35:25]line [11:35:25]line [11:35:25]line [11:35:25]line [11:35:25]written 0, free lines is 2858 [11:35:25]MH_Cut [11:35:25]Write to MH i2c: D1 01 00 B3 0C 01 91 [11:35:25]Write i2c OK [11:35:25]MH_I2C_Read... [11:35:25]Read from MH i2c: D1 [11:35:25]MH_I2C_Read... [11:35:25]Read from MH i2c: D1 01 00 [11:35:25]MH_I2C_Read... [11:35:25]Read from MH i2c: D1 01 00 B3 0C 00 90 [11:35:25]Write to MH i2c: 01 00 00 B4 0C C0 [11:35:25]Write i2c OK [11:35:25]MH_I2C_Read... [11:35:25]OFD Sender: No OFD packet to send [11:35:26]*** Cut start [11:35:26]*** Partial cut [11:35:26]*** CUTSNS_PIN = 1 [11:35:26]*** CUTSNS_PIN = 0 [11:35:26]*** Brake cut motor [11:35:27]Read from MH i2c: 01 [11:35:27]MH_I2C_Read... [11:35:27]*** Stop cut motor [11:35:27]*** Cut end [11:35:27]Read from MH i2c: 01 07 00 [11:35:27]MH_I2C_Read... [11:35:27]Read from MH i2c: 01 07 00 B4 0C 00 00 00 00 00 FF 0F D5 [11:35:27]process_action close_receipt done [11:35:27]requested_data is exist [11:35:27]produce_requested_data [11:35:27]requested_item fm.sn is exist - process it [11:35:27]wFMCommunicate request_size=4 [11:35:27]MH_SAM_APDU [11:35:27]CAPDU: 80 11 00 00 [11:35:27]Write to MH i2c: E2 08 00 B5 0C 80 11 00 00 00 00 00 00 3B [11:35:27]Write i2c OK [11:35:27]MH_I2C_Read... [11:35:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:35:27]Read from MH i2c: E2 [11:35:27]MH_I2C_Read... [11:35:27]Read from MH i2c: E2 17 00 [11:35:27]MH_I2C_Read... [11:35:27]Read from MH i2c: E2 17 00 B5 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 95 [11:35:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [11:35:27]wFMCommunicate OK [11:35:27]requested_item fd.num is exist - process it [11:35:27]SAM_PROTO_GetFieldsCounters [11:35:27]wFMCommunicate request_size=4 [11:35:27]MH_SAM_APDU [11:35:27]CAPDU: 80 13 00 00 [11:35:27]Write to MH i2c: E2 08 00 B6 0C 80 13 00 00 00 00 00 00 3E [11:35:27]Write i2c OK [11:35:27]MH_I2C_Read... [11:35:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:35:27]Read from MH i2c: E2 [11:35:27]MH_I2C_Read... [11:35:27]Read from MH i2c: E2 62 00 [11:35:27]MH_I2C_Read... [11:35:27]Read from MH i2c: E2 62 00 B6 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 37 31 00 00 0E 04 04 00 19 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 04 [11:35:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 37 31 00 00 0E 04 04 00 19 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 [11:35:27]wFMCommunicate OK [11:35:27]SAM_PROTO_GetFieldsCounters done [11:35:27]requested_item shift.num is exist - process it [11:35:27]requested_item shift.opened is exist - process it [11:35:27]req_shift_opened [11:35:27]FM_GetShiftState [11:35:27]SAM_PROTO_GetShiftState [11:35:27]wFMCommunicate request_size=4 [11:35:27]MH_SAM_APDU [11:35:27]CAPDU: 80 13 01 00 [11:35:27]Write to MH i2c: E2 08 00 B7 0C 80 13 01 00 00 00 00 00 40 [11:35:27]Write i2c OK [11:35:27]MH_I2C_Read... [11:35:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:35:27]Read from MH i2c: E2 [11:35:27]MH_I2C_Read... [11:35:27]Read from MH i2c: E2 0E 00 [11:35:27]MH_I2C_Read... [11:35:27]Read from MH i2c: E2 0E 00 B7 0C 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 98 [11:35:27]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [11:35:27]wFMCommunicate OK [11:35:27]SAM_PROTO_GetShiftState done [11:35:27]FM_GetShiftState done [11:35:27]req_shift_opened done [11:35:27]requested_item shift.open_date is exist - process it [11:35:27]req_shift_open_date [11:35:27]req_shift_open_date done [11:35:27]produce_requested_data done [11:35:27]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12599,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [11:35:27]process_action_free close_receipt [11:35:27]json_value_free [11:35:27]json_value_free done [11:35:27]process_json_proto returns [11:35:27]Send response to host [11:35:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12599,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [11:35:27]free response buf [11:35:27]execute_script done [11:35:27]execute_script returns [11:35:27]free content buf [11:35:27]Sock 8.Close socket [11:35:27]Sock 8.Thread stoped [11:35:30]OFD Sender: No OFD packet to send [11:35:35]OFD Sender: No OFD packet to send [11:35:40]OFD Sender: No OFD packet to send [11:35:45]OFD Sender: No OFD packet to send [11:35:50]OFD Sender: No OFD packet to send [11:35:55]OFD Sender: No OFD packet to send [11:36:00]OFD Sender: No OFD packet to send [11:36:05]OFD Sender: No OFD packet to send [11:36:10]OFD Sender: No OFD packet to send [11:36:15]OFD Sender: No OFD packet to send [11:36:20]OFD Sender: No OFD packet to send [11:36:25]OFD Sender: No OFD packet to send [11:36:30]OFD Sender: No OFD packet to send [11:36:35]OFD Sender: No OFD packet to send [11:36:40]OFD Sender: No OFD packet to send [11:36:45]OFD Sender: No OFD packet to send [11:36:50]OFD Sender: No OFD packet to send [11:36:55]OFD Sender: No OFD packet to send [11:37:00]OFD Sender: No OFD packet to send [11:37:05]OFD Sender: No OFD packet to send [11:37:10]OFD Sender: No OFD packet to send [11:37:14]accept exits with 9 [11:37:14]New connection [11:37:14]New thread 3066838372 created [11:37:14]Thread 3066695012 joined [11:37:14]Waiting for new connection... [11:37:14] Sock 9.Parse request [11:37:14]Sock 9.Check first char [11:37:14]Sock 9.First char is OK [11:37:14]request: POST /json_proto HTTP/1.0 [11:37:14]Method: POST [11:37:14]URL: /json_proto [11:37:14]Method is POST - this is cgi request [11:37:14]url: /json_proto [11:37:14]query_string will be loaded in cgi processing [11:37:14]execute_cgi json_proto POST (null) [11:37:14]execute_cgi path=json_proto method=POST [11:37:14]POST find Content-Length [11:37:14]Host: 172.17.62.6:8080 [11:37:14]Content-Length: 792 [11:37:14]Content-Type: application/json [11:37:14] [11:37:14]POST finish read [11:37:14]Found Content-Length = 792 [11:37:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32872", "tax_sys" : 0, "items" : [ { "code": "4640030091584", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Gold", "price" : 143.00, "quantity" : 3.000, "sum" : 429.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 429.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:37:14]execute_script... [11:37:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32872", "tax_sys" : 0, "items" : [ { "code": "4640030091584", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Gold", "price" : 143.00, "quantity" : 3.000, "sum" : 429.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 429.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:37:14]POST & json_proto [11:37:14]process_json_proto [11:37:14]json parsed OK: [11:37:14]protocol is kg_v1.0 [11:37:14]action value=close_receipt [11:37:14]process_action close_receipt [11:37:14]cmd_close_receipt [11:37:14]MH_GetDate [11:37:14]Write to MH i2c: F0 00 00 B8 0C B3 [11:37:14]Write i2c OK [11:37:14]MH_I2C_Read... [11:37:14]Read from MH i2c: F0 [11:37:14]MH_I2C_Read... [11:37:14]Read from MH i2c: F0 09 00 [11:37:14]MH_I2C_Read... [11:37:14]Read from MH i2c: F0 09 00 B8 0C 00 6F FA 24 66 61 69 D2 64 AF [11:37:14]GetLastDocTimeStamp 1713699327 [11:37:14]current date 1713699439 [11:37:14]FM_GetShiftState [11:37:14]SAM_PROTO_GetShiftState [11:37:14]wFMCommunicate request_size=4 [11:37:14]MH_SAM_APDU [11:37:14]CAPDU: 80 13 01 00 [11:37:14]Write to MH i2c: E2 08 00 B9 0C 80 13 01 00 00 00 00 00 42 [11:37:14]Write i2c OK [11:37:14]MH_I2C_Read... [11:37:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:37:14]Read from MH i2c: E2 [11:37:14]MH_I2C_Read... [11:37:14]Read from MH i2c: E2 0E 00 [11:37:14]MH_I2C_Read... [11:37:14]Read from MH i2c: E2 0E 00 B9 0C 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 9A [11:37:14]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [11:37:14]wFMCommunicate OK [11:37:14]SAM_PROTO_GetShiftState done [11:37:14]FM_GetShiftState done [11:37:14]opened in 1713658727 [11:37:14]opened+sec_in_day 1713745127 [11:37:14]quantity*price = 42900 [11:37:14]sum+1 = 42901 [11:37:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 429.00 НСП 1% : 3.80 НДС 12% : 45.56 Наличными: 0.00 Безнал.: 429.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 12 21.04.2024 11:37 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000965685 ФД: 12600 ФПД: 255288960736662 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T113719&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12600&fm=255288960736662&tin=02508201610067®Number=0000000000100748&sum=42900 0 [11:37:15]StoreToDocumentArchive [11:37:15]shift 281 fd 12600 [11:37:15]save to /storage/0281/doc_00012600 [11:37:15]save last doc name /storage/0281/doc_00012600 to /storage/kkm_last_doc_name [11:37:15]save OK [11:37:15]Clear old archive folders... [11:37:15]ProcessDocumentItem done err = 0, tmpTLVsize=268 [11:37:15]tlvbuf is 0033B180 [11:37:15]SAM_PROTO_ClearQueue [11:37:15]wFMCommunicate request_size=4 [11:37:15]MH_SAM_APDU [11:37:15]CAPDU: 80 09 00 00 [11:37:15]Write to MH i2c: E2 08 00 C6 0C 80 09 00 00 00 00 00 00 44 [11:37:15]Write i2c OK [11:37:15]MH_I2C_Read... [11:37:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:37:15]Read from MH i2c: E2 [11:37:15]MH_I2C_Read... [11:37:15]Read from MH i2c: E2 03 00 [11:37:15]MH_I2C_Read... [11:37:15]Read from MH i2c: E2 03 00 C6 0C 00 90 00 46 [11:37:15]RAPDU: 90 00 [11:37:15]wFMCommunicate OK [11:37:15]SAM_PROTO_ClearQueue done [11:37:15]KKMCreateOFDPacket [11:37:15]OFDProtocolAddRootSTLVToBuf [11:37:15]FM_MakeSignedData [11:37:15]FM_MakeSignedData [11:37:15]SAM_PROTO_SignData [11:37:15]wFMCommunicate request_size=4 [11:37:15]MH_SAM_APDU [11:37:15]CAPDU: 80 0D 01 02 [11:37:15]Write to MH i2c: E2 08 00 C7 0C 80 0D 01 02 00 00 00 00 4C [11:37:15]Write i2c OK [11:37:15]MH_I2C_Read... [11:37:15]Read from MH i2c: E2 [11:37:15]MH_I2C_Read... [11:37:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:37:15]Read from MH i2c: E2 03 00 [11:37:15]MH_I2C_Read... [11:37:15]Read from MH i2c: E2 03 00 C7 0C 00 90 00 47 [11:37:15]RAPDU: 90 00 [11:37:15]wFMCommunicate OK [11:37:15]wFMCommunicate request_size=255 [11:37:15]MH_SAM_APDU [11:37:15]CAPDU: 80 0D 02 02 FA 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 94 A7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 A7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CC 11 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 A7 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 6F FA 24 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 [11:37:15]Write to MH i2c: E2 02 01 C8 0C 80 0D 02 02 FA 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 94 A7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 A7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CC 11 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 A7 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 6F FA 24 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 00 00 5C [11:37:15]Write i2c OK [11:37:15]MH_I2C_Read... [11:37:15]OFD Sender: No OFD packet to send [11:37:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:37:15]Read from MH i2c: E2 [11:37:15]MH_I2C_Read... [11:37:15]Read from MH i2c: E2 03 00 [11:37:15]MH_I2C_Read... [11:37:15]Read from MH i2c: E2 03 00 C8 0C 00 90 00 48 [11:37:15]RAPDU: 90 00 [11:37:15]wFMCommunicate OK [11:37:15]wFMCommunicate request_size=27 [11:37:15]MH_SAM_APDU [11:37:15]CAPDU: 80 0D 02 02 16 35 36 38 35 10 04 04 00 38 31 00 00 35 04 06 00 E8 2F 17 D1 DD 96 [11:37:15]Write to MH i2c: E2 1E 00 C9 0C 80 0D 02 02 16 00 35 36 38 35 10 04 04 00 38 31 00 00 35 04 06 00 E8 2F 17 D1 DD 96 00 00 85 [11:37:15]Write i2c OK [11:37:15]MH_I2C_Read... [11:37:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:37:15]Read from MH i2c: E2 [11:37:15]MH_I2C_Read... [11:37:15]Read from MH i2c: E2 03 00 [11:37:15]MH_I2C_Read... [11:37:15]Read from MH i2c: E2 03 00 C9 0C 00 90 00 49 [11:37:15]RAPDU: 90 00 [11:37:15]wFMCommunicate OK [11:37:15]wFMCommunicate request_size=4 [11:37:15]MH_SAM_APDU [11:37:15]CAPDU: 80 0D 03 02 [11:37:15]Write to MH i2c: E2 08 00 CA 0C 80 0D 03 02 00 00 00 00 51 [11:37:15]Write i2c OK [11:37:15]MH_I2C_Read... [11:37:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:37:15]Read from MH i2c: E2 [11:37:15]MH_I2C_Read... [11:37:15]Read from MH i2c: E2 0B 00 [11:37:15]MH_I2C_Read... [11:37:15]Read from MH i2c: E2 0B 00 CA 0C 00 A9 84 FB 59 1F 6F FC 41 90 00 9E [11:37:15]RAPDU: A9 84 FB 59 1F 6F FC 41 90 00 [11:37:15]wFMCommunicate OK [11:37:15]SAM_PROTO_SignData done [11:37:15]FM_MakeSignedData done [11:37:15]CreateOFDProtocolMessage [11:37:15]wFMCommunicate request_size=4 [11:37:15]MH_SAM_APDU [11:37:15]CAPDU: 80 11 00 00 [11:37:15]Write to MH i2c: E2 08 00 CB 0C 80 11 00 00 00 00 00 00 51 [11:37:15]Write i2c OK [11:37:15]MH_I2C_Read... [11:37:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:37:16]Read from MH i2c: E2 [11:37:16]MH_I2C_Read... [11:37:16]Read from MH i2c: E2 17 00 [11:37:16]MH_I2C_Read... [11:37:16]Read from MH i2c: E2 17 00 CB 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 AB [11:37:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [11:37:16]wFMCommunicate OK [11:37:16]CreateOFDProtocolMessage done [11:37:16]OFDSenderStorePacket 12600 [11:37:16]StoreOFDPacket docnum=12600 [11:37:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 20 01 00 00 F3 C6 18 01 3A C1 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 94 A7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 A7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CC 11 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 A7 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 6F FA 24 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 38 31 00 00 35 04 06 00 E8 2F 17 D1 DD 96 A9 84 FB 59 1F 6F FC 41 [11:37:16]CheckFolder [11:37:16]dirname=/storage/ofd_packets [11:37:16]CheckFolder done [11:37:16]ProducePacketName [11:37:16]name=ofd_packets/00012600 [11:37:16]NVStorageSaveData ofd_packets/00012600 [11:37:16]File name is /storage/ofd_packets/00012600 [11:37:16]Write 318 bytes [11:37:16]NVStorageSaveData done [11:37:16]OFDSenderStorePacket done [11:37:16]KKMCreateOFDPacket done [11:37:16]NVStorageSaveData kkm_last_timestamp [11:37:16]File name is /storage/kkm_last_timestamp [11:37:16]Write 4 bytes [11:37:16]NVStorageSaveData done [11:37:16]ExternCall_PrintAddStr [11:37:16]wPrintStart [11:37:16]Write to MH i2c: 01 00 00 CC 0C D8 [11:37:16]Write i2c OK [11:37:16]MH_I2C_Read... [11:37:16]Read from MH i2c: 01 [11:37:16]MH_I2C_Read... [11:37:16]Read from MH i2c: 01 07 00 [11:37:16]MH_I2C_Read... [11:37:16]Read from MH i2c: 01 07 00 CC 0C 00 00 00 00 00 FF 0F ED [11:37:16]RasterBufferAndPrint [11:37:16]line Счет N : (3)32872 [11:37:16]line ИНН: 02508201610067 [11:37:16]line Контрольно-Кассовый Чек [11:37:16]line ПРОДАЖА [11:37:16]line Товар: 4640030091584 [11:37:16]line Сигареты Esse Gold [11:37:16]line 3.000 * 143.00 [11:37:16]line = 429.00 [11:37:16]line НДС 12% НСП 1% [11:37:16]line > о реализуемом товаре [11:37:16]line ИТОГО: 429.00 [11:37:16]line НСП 1% : 3.80 [11:37:16]line НДС 12% : 45.56 [11:37:16]line Наличными: 0.00 [11:37:16]line Безнал.: 429.00 [11:37:16]line Место: АЗС № 106 "Партнер Нефть" [11:37:16]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [11:37:16]line СНО: Общий режим [11:37:16]line Чек 12 21.04.2024 11:37 [11:37:16]line Смена: 281 ФФД: 1.0 [11:37:16]line ЗНМ: 0300000004 [11:37:16]line РНМ: 0000000000100748 [11:37:16]line Версия ККМ: 001 [11:37:16]line Платежная система: Бакай Банк [11:37:16]line ФМ: 0000000000965685 [11:37:16]line ФД: 12600 [11:37:16]line ФПД: 255288960736662 [11:37:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T113719&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12600&fm=255288960736662&tin=02508201610067®Number=0000000000100748&sum=42900 [11:37:16]line 0 [11:37:16]written 0, free lines is 4095 [11:37:16]OFD Sender: Processing packet 12600 [packets to send 7, broken 6] [11:37:16]ProducePacketName [11:37:16]name=ofd_packets/00012600 [11:37:16]OFD Sender: To server: pG, [11:37:16]CommunicateWithHost lk.salyk.kg:30040 [11:37:16]ConnectInit lk.salyk.kg [11:37:16]Connected sock=8 [11:37:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 20 01 00 00 F3 C6 18 01 3A C1 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 94 A7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 A7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CC 11 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 A7 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 6F FA 24 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 38 31 00 00 35 04 06 00 E8 2F 17 D1 DD 96 A9 84 FB 59 1F 6F FC 41 [11:37:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 D1 08 47 00 A1 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 39 36 35 36 38 35 10 04 04 00 38 31 00 00 F4 03 04 00 F0 A2 24 66 B6 04 01 00 00 A8 81 C2 02 C4 75 1E 8F [11:37:16]CommunicateWithHost err = 0 [11:37:16]CheckOFDResponse [11:37:16]1017 (14) - 77093643461234 [11:37:16]1041 (16) - 0000000000965685 [11:37:16]1040 (4) - 12600 [11:37:16]1012 (4) - 21.04.2024 05:24 [11:37:16]1206 (1) - 0 [11:37:16]OFD Sender: Remove packet 12600 [11:37:16]ProducePacketName [11:37:16]name=ofd_packets/00012600 [11:37:16]NVStorageDeleteData [11:37:16]Write to MH i2c: 01 00 00 F5 0C 01 [11:37:16]Write i2c OK [11:37:16]MH_I2C_Read... [11:37:16]Read from MH i2c: 01 [11:37:16]MH_I2C_Read... [11:37:16]Read from MH i2c: 01 07 00 [11:37:16]MH_I2C_Read... [11:37:16]Read from MH i2c: 01 07 00 F5 0C 00 00 00 00 00 F9 0C 0D [11:37:16]RasterBufferAndPrint [11:37:16]line [11:37:16]line [11:37:16]line [11:37:16]line [11:37:16]line [11:37:16]written 0, free lines is 3331 [11:37:16]MH_Cut [11:37:16]Write to MH i2c: D1 01 00 FC 0C 01 DA [11:37:16]Write i2c OK [11:37:16]MH_I2C_Read... [11:37:16]Read from MH i2c: D1 [11:37:16]MH_I2C_Read... [11:37:16]Read from MH i2c: D1 01 00 [11:37:16]MH_I2C_Read... [11:37:16]Read from MH i2c: D1 01 00 FC 0C 00 D9 [11:37:16]Write to MH i2c: 01 00 00 FD 0C 09 [11:37:16]Write i2c OK [11:37:16]MH_I2C_Read... [11:37:16]OFD Sender: No OFD packet to send [11:37:17]*** Cut start [11:37:17]*** Partial cut [11:37:17]*** CUTSNS_PIN = 1 [11:37:17]*** CUTSNS_PIN = 0 [11:37:17]*** Brake cut motor [11:37:17]Read from MH i2c: 01 [11:37:17]MH_I2C_Read... [11:37:17]*** Stop cut motor [11:37:17]*** Cut end [11:37:17]Read from MH i2c: 01 07 00 [11:37:17]MH_I2C_Read... [11:37:17]Read from MH i2c: 01 07 00 FD 0C 00 00 00 00 00 FF 0F 1E [11:37:17]process_action close_receipt done [11:37:17]requested_data is exist [11:37:17]produce_requested_data [11:37:17]requested_item fm.sn is exist - process it [11:37:17]wFMCommunicate request_size=4 [11:37:17]MH_SAM_APDU [11:37:17]CAPDU: 80 11 00 00 [11:37:17]Write to MH i2c: E2 08 00 FE 0C 80 11 00 00 00 00 00 00 84 [11:37:17]Write i2c OK [11:37:17]MH_I2C_Read... [11:37:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:37:17]Read from MH i2c: E2 [11:37:17]MH_I2C_Read... [11:37:17]Read from MH i2c: E2 17 00 [11:37:17]MH_I2C_Read... [11:37:17]Read from MH i2c: E2 17 00 FE 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 DE [11:37:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [11:37:17]wFMCommunicate OK [11:37:17]requested_item fd.num is exist - process it [11:37:17]SAM_PROTO_GetFieldsCounters [11:37:17]wFMCommunicate request_size=4 [11:37:17]MH_SAM_APDU [11:37:17]CAPDU: 80 13 00 00 [11:37:17]Write to MH i2c: E2 08 00 FF 0C 80 13 00 00 00 00 00 00 87 [11:37:17]Write i2c OK [11:37:17]MH_I2C_Read... [11:37:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:37:18]Read from MH i2c: E2 [11:37:18]MH_I2C_Read... [11:37:18]Read from MH i2c: E2 62 00 [11:37:18]MH_I2C_Read... [11:37:18]Read from MH i2c: E2 62 00 FF 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 38 31 00 00 0E 04 04 00 19 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 51 [11:37:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 38 31 00 00 0E 04 04 00 19 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 [11:37:18]wFMCommunicate OK [11:37:18]SAM_PROTO_GetFieldsCounters done [11:37:18]requested_item shift.num is exist - process it [11:37:18]requested_item shift.opened is exist - process it [11:37:18]req_shift_opened [11:37:18]FM_GetShiftState [11:37:18]SAM_PROTO_GetShiftState [11:37:18]wFMCommunicate request_size=4 [11:37:18]MH_SAM_APDU [11:37:18]CAPDU: 80 13 01 00 [11:37:18]Write to MH i2c: E2 08 00 00 0D 80 13 01 00 00 00 00 00 8A [11:37:18]Write i2c OK [11:37:18]MH_I2C_Read... [11:37:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:37:18]Read from MH i2c: E2 [11:37:18]MH_I2C_Read... [11:37:18]Read from MH i2c: E2 0E 00 [11:37:18]MH_I2C_Read... [11:37:18]Read from MH i2c: E2 0E 00 00 0D 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 E2 [11:37:18]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [11:37:18]wFMCommunicate OK [11:37:18]SAM_PROTO_GetShiftState done [11:37:18]FM_GetShiftState done [11:37:18]req_shift_opened done [11:37:18]requested_item shift.open_date is exist - process it [11:37:18]req_shift_open_date [11:37:18]req_shift_open_date done [11:37:18]produce_requested_data done [11:37:18]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12600,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [11:37:18]process_action_free close_receipt [11:37:18]json_value_free [11:37:18]json_value_free done [11:37:18]process_json_proto returns [11:37:18]Send response to host [11:37:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12600,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [11:37:18]free response buf [11:37:18]execute_script done [11:37:18]execute_script returns [11:37:18]free content buf [11:37:18]Sock 9.Close socket [11:37:18]Sock 9.Thread stoped [11:37:21]OFD Sender: No OFD packet to send [11:37:26]OFD Sender: No OFD packet to send [11:37:31]OFD Sender: No OFD packet to send [11:37:36]OFD Sender: No OFD packet to send [11:37:41]OFD Sender: No OFD packet to send [11:37:46]OFD Sender: No OFD packet to send [11:37:52]OFD Sender: No OFD packet to send [11:37:57]OFD Sender: No OFD packet to send [11:38:02]OFD Sender: No OFD packet to send [11:38:07]OFD Sender: No OFD packet to send [11:38:12]OFD Sender: No OFD packet to send [11:38:17]OFD Sender: No OFD packet to send [11:38:22]OFD Sender: No OFD packet to send [11:38:27]OFD Sender: No OFD packet to send [11:38:32]OFD Sender: No OFD packet to send [11:38:37]OFD Sender: No OFD packet to send [11:38:42]OFD Sender: No OFD packet to send [11:38:47]OFD Sender: No OFD packet to send [11:38:52]OFD Sender: No OFD packet to send [11:38:57]OFD Sender: No OFD packet to send [11:39:02]OFD Sender: No OFD packet to send [11:39:07]OFD Sender: No OFD packet to send [11:39:12]OFD Sender: No OFD packet to send [11:39:17]OFD Sender: No OFD packet to send [11:39:22]OFD Sender: No OFD packet to send [11:39:27]OFD Sender: No OFD packet to send [11:39:32]OFD Sender: No OFD packet to send [11:39:37]OFD Sender: No OFD packet to send [11:39:42]OFD Sender: No OFD packet to send [11:39:47]OFD Sender: No OFD packet to send [11:39:52]OFD Sender: No OFD packet to send [11:39:57]OFD Sender: No OFD packet to send [11:40:02]OFD Sender: No OFD packet to send [11:40:07]OFD Sender: No OFD packet to send [11:40:12]OFD Sender: No OFD packet to send [11:40:17]OFD Sender: No OFD packet to send [11:40:22]OFD Sender: No OFD packet to send [11:40:27]OFD Sender: No OFD packet to send [11:40:32]OFD Sender: No OFD packet to send [11:40:37]OFD Sender: No OFD packet to send [11:40:42]OFD Sender: No OFD packet to send [11:40:47]OFD Sender: No OFD packet to send [11:40:52]OFD Sender: No OFD packet to send [11:40:57]OFD Sender: No OFD packet to send [11:41:02]OFD Sender: No OFD packet to send [11:41:07]OFD Sender: No OFD packet to send [11:41:12]OFD Sender: No OFD packet to send [11:41:17]OFD Sender: No OFD packet to send [11:41:22]OFD Sender: No OFD packet to send [11:41:27]OFD Sender: No OFD packet to send [11:41:32]OFD Sender: No OFD packet to send [11:41:37]OFD Sender: No OFD packet to send [11:41:42]OFD Sender: No OFD packet to send [11:41:47]OFD Sender: No OFD packet to send [11:41:52]OFD Sender: No OFD packet to send [11:41:57]OFD Sender: No OFD packet to send [11:42:02]OFD Sender: No OFD packet to send [11:42:07]OFD Sender: No OFD packet to send [11:42:12]OFD Sender: No OFD packet to send [11:42:17]OFD Sender: No OFD packet to send [11:42:22]OFD Sender: No OFD packet to send [11:42:27]OFD Sender: No OFD packet to send [11:42:32]OFD Sender: No OFD packet to send [11:42:37]OFD Sender: No OFD packet to send [11:42:42]OFD Sender: No OFD packet to send [11:42:47]OFD Sender: No OFD packet to send [11:42:52]OFD Sender: No OFD packet to send [11:42:57]OFD Sender: No OFD packet to send [11:43:02]OFD Sender: No OFD packet to send [11:43:07]OFD Sender: No OFD packet to send [11:43:12]OFD Sender: No OFD packet to send [11:43:17]OFD Sender: No OFD packet to send [11:43:22]OFD Sender: No OFD packet to send [11:43:27]OFD Sender: No OFD packet to send [11:43:32]OFD Sender: No OFD packet to send [11:43:37]OFD Sender: No OFD packet to send [11:43: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:03]accept exits with 10 [11:45:03]New connection [11:45:03]New thread 3066695012 created [11:45:03]Thread 3066838372 joined [11:45:03]Waiting for new connection... [11:45:03] Sock 10.Parse request [11:45:03]Sock 10.Check first char [11:45:03]Sock 10.First char is OK [11:45:03]request: POST /json_proto HTTP/1.0 [11:45:03]Method: POST [11:45:03]URL: /json_proto [11:45:03]Method is POST - this is cgi request [11:45:03]url: /json_proto [11:45:03]query_string will be loaded in cgi processing [11:45:03]execute_cgi json_proto POST (null) [11:45:03]execute_cgi path=json_proto method=POST [11:45:03]POST find Content-Length [11:45:03]Host: 172.17.62.6:8080 [11:45:03]Content-Length: 682 [11:45:03]Content-Type: application/json [11:45:03] [11:45:03]POST finish read [11:45:03]Found Content-Length = 682 [11:45:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32873", "tax_sys" : 0, "items" : [ { "code": "4870002328398", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043C\u044F\u0442\u0430 \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:45:03]execute_script... [11:45:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32873", "tax_sys" : 0, "items" : [ { "code": "4870002328398", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043C\u044F\u0442\u0430 \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:45:03]POST & json_proto [11:45:03]process_json_proto [11:45:03]json parsed OK: [11:45:03]protocol is kg_v1.0 [11:45:03]action value=close_receipt [11:45:03]process_action close_receipt [11:45:03]cmd_close_receipt [11:45:03]MH_GetDate [11:45:03]Write to MH i2c: F0 00 00 01 0D FD [11:45:03]Write i2c OK [11:45:03]MH_I2C_Read... [11:45:03]Read from MH i2c: F0 [11:45:03]MH_I2C_Read... [11:45:03]Read from MH i2c: F0 09 00 [11:45:03]MH_I2C_Read... [11:45:03]Read from MH i2c: F0 09 00 01 0D 00 44 FC 24 66 61 69 D2 64 D0 [11:45:03]GetLastDocTimeStamp 1713699439 [11:45:03]current date 1713699908 [11:45:03]FM_GetShiftState [11:45:03]SAM_PROTO_GetShiftState [11:45:03]wFMCommunicate request_size=4 [11:45:03]MH_SAM_APDU [11:45:03]CAPDU: 80 13 01 00 [11:45:03]Write to MH i2c: E2 08 00 02 0D 80 13 01 00 00 00 00 00 8C [11:45:03]Write i2c OK [11:45:03]MH_I2C_Read... [11:45:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:45:03]Read from MH i2c: E2 [11:45:03]MH_I2C_Read... [11:45:03]Read from MH i2c: E2 0E 00 [11:45:03]MH_I2C_Read... [11:45:03]Read from MH i2c: E2 0E 00 02 0D 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 E4 [11:45:03]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [11:45:03]wFMCommunicate OK [11:45:03]SAM_PROTO_GetShiftState done [11:45:03]FM_GetShiftState done [11:45:03]opened in 1713658727 [11:45:03]opened+sec_in_day 1713745127 [11:45:03]quantity*price = 10000 [11:45:03]sum+1 = 10001 [11:45:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 100.00 НСП 1% : 0.88 НДС 12% : 10.62 Наличными: 100.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 13 21.04.2024 11:45 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12601 ФПД: 90675321146050 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T114508&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12601&fm=90675321146050&tin=02508201610067®Number=0000000000100748&sum=10000 0 [11:45:04]StoreToDocumentArchive [11:45:04]shift 281 fd 12601 [11:45:04]save to /storage/0281/doc_00012601 [11:45:04]save last doc name /storage/0281/doc_00012601 to /storage/kkm_last_doc_name [11:45:04]save OK [11:45:04]Clear old archive folders... [11:45:04]ProcessDocumentItem done err = 0, tmpTLVsize=291 [11:45:04]tlvbuf is 0031BA60 [11:45:04]SAM_PROTO_ClearQueue [11:45:04]wFMCommunicate request_size=4 [11:45:04]MH_SAM_APDU [11:45:04]CAPDU: 80 09 00 00 [11:45:04]Write to MH i2c: E2 08 00 0F 0D 80 09 00 00 00 00 00 00 8E [11:45:04]Write i2c OK [11:45:04]MH_I2C_Read... [11:45:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:45:04]Read from MH i2c: E2 [11:45:04]MH_I2C_Read... [11:45:04]Read from MH i2c: E2 03 00 [11:45:04]MH_I2C_Read... [11:45:04]Read from MH i2c: E2 03 00 0F 0D 00 90 00 90 [11:45:04]RAPDU: 90 00 [11:45:04]wFMCommunicate OK [11:45:04]SAM_PROTO_ClearQueue done [11:45:04]KKMCreateOFDPacket [11:45:04]OFDProtocolAddRootSTLVToBuf [11:45:04]FM_MakeSignedData [11:45:04]FM_MakeSignedData [11:45:04]SAM_PROTO_SignData [11:45:04]wFMCommunicate request_size=4 [11:45:04]MH_SAM_APDU [11:45:04]CAPDU: 80 0D 01 02 [11:45:04]Write to MH i2c: E2 08 00 10 0D 80 0D 01 02 00 00 00 00 96 [11:45:04]Write i2c OK [11:45:04]MH_I2C_Read... [11:45:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:45:04]Read from MH i2c: E2 [11:45:04]MH_I2C_Read... [11:45:04]Read from MH i2c: E2 03 00 [11:45:04]MH_I2C_Read... [11:45:04]Read from MH i2c: E2 03 00 10 0D 00 90 00 91 [11:45:04]RAPDU: 90 00 [11:45:04]wFMCommunicate OK [11:45:04]wFMCommunicate request_size=255 [11:45:04]MH_SAM_APDU [11:45:04]CAPDU: 80 0D 02 02 FA 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 33 39 38 06 04 31 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 44 FC 24 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 [11:45:04]Write to MH i2c: E2 02 01 11 0D 80 0D 02 02 FA 00 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 33 39 38 06 04 31 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 44 FC 24 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 00 00 AB [11:45:04]Write i2c OK [11:45:04]MH_I2C_Read... [11:45:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:45:04]Read from MH i2c: E2 [11:45:04]MH_I2C_Read... [11:45:04]Read from MH i2c: E2 03 00 [11:45:04]MH_I2C_Read... [11:45:04]Read from MH i2c: E2 03 00 11 0D 00 90 00 92 [11:45:04]RAPDU: 90 00 [11:45:04]wFMCommunicate OK [11:45:04]wFMCommunicate request_size=50 [11:45:04]MH_SAM_APDU [11:45:04]CAPDU: 80 0D 02 02 2D 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 39 31 00 00 35 04 06 00 52 77 FE 4E 8A C2 [11:45:04]Write to MH i2c: E2 35 00 12 0D 80 0D 02 02 2D 00 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 39 31 00 00 35 04 06 00 52 77 FE 4E 8A C2 00 00 C5 [11:45:04]Write i2c OK [11:45:04]MH_I2C_Read... [11:45:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:45:04]Read from MH i2c: E2 [11:45:04]MH_I2C_Read... [11:45:04]Read from MH i2c: E2 03 00 [11:45:04]MH_I2C_Read... [11:45:04]Read from MH i2c: E2 03 00 12 0D 00 90 00 93 [11:45:04]RAPDU: 90 00 [11:45:04]wFMCommunicate OK [11:45:04]wFMCommunicate request_size=4 [11:45:04]MH_SAM_APDU [11:45:04]CAPDU: 80 0D 03 02 [11:45:04]Write to MH i2c: E2 08 00 13 0D 80 0D 03 02 00 00 00 00 9B [11:45:04]Write i2c OK [11:45:04]MH_I2C_Read... [11:45:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:45:04]Read from MH i2c: E2 [11:45:04]MH_I2C_Read... [11:45:04]Read from MH i2c: E2 0B 00 [11:45:04]MH_I2C_Read... [11:45:04]Read from MH i2c: E2 0B 00 13 0D 00 9E 51 2D 96 A2 A1 16 34 90 00 DB [11:45:04]RAPDU: 9E 51 2D 96 A2 A1 16 34 90 00 [11:45:04]wFMCommunicate OK [11:45:04]SAM_PROTO_SignData done [11:45:04]FM_MakeSignedData done [11:45:04]CreateOFDProtocolMessage [11:45:04]wFMCommunicate request_size=4 [11:45:04]MH_SAM_APDU [11:45:04]CAPDU: 80 11 00 00 [11:45:04]Write to MH i2c: E2 08 00 14 0D 80 11 00 00 00 00 00 00 9B [11:45:04]Write i2c OK [11:45:04]MH_I2C_Read... [11:45:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:45:04]Read from MH i2c: E2 [11:45:04]MH_I2C_Read... [11:45:04]Read from MH i2c: E2 17 00 [11:45:04]MH_I2C_Read... [11:45:04]Read from MH i2c: E2 17 00 14 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 F5 [11:45:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [11:45:04]wFMCommunicate OK [11:45:04]CreateOFDProtocolMessage done [11:45:04]OFDSenderStorePacket 12601 [11:45:04]StoreOFDPacket docnum=12601 [00:00:10] *** EcrCore started. Build 196 *** [00:00:11]/dev/ttyS4 opened [00:00:11]MH_InterfaceInit /dev/i2c-1 [00:00:11]Malloc ok [00:00:11]MH_GetMetrics [00:00:11]Write to MH i2c: 00 00 00 01 00 00 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 01 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 EC FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 91 [00:00:11]Are we in boot? [00:00:11]We are in boot - try to switch [00:00:11]Write to MH i2c: A0 00 00 02 00 A1 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]*** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:00:11]*** [00:00:11]Read from MH i2c: A0 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: A0 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:11]*** Starting fw at address 01020100 (2007E328 010249C5) [00:00:11]*** Waiting for read because exit forced [00:00:11]*** 10 ms more... [00:00:11]*** MH1903S init start (LINUX_LIGHT) [00:00:11]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:11]*** Serial: 3139303353513838 54000000005725EC (1903SQ88T) [00:00:11]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:11]*** step 0: 5000 (2650, 2350 REF) [00:00:11]*** step 1: 4835 (2500, 2335 REF) [00:00:11]*** step 2: 4676 (2440, 2236 REF) [00:00:11]*** step 3: 4523 (2280, 2243 REF) [00:00:11]*** step 4: 4376 (2160, 2216 REF) [00:00:11]*** step 5: 4235 (2050, 2185 REF) [00:00:11]*** step 6: 4098 (1950, 2148 REF) [00:00:11]*** step 7: 3967 (1870, 2097 REF) [00:00:11]*** step 8: 3840 (1828, 2012 REF) [00:00:11]*** step 9: 3719 (1728, 1991 REF) [00:00:11]*** step 10: 3601 (1675, 1926 REF) [00:00:11]*** step 11: 3488 (1635, 1853 REF) [00:00:11]*** step 12: 3379 (1595, 1784 REF) [00:00:11]*** step 13: 3275 (1565, 1710 REF) [00:00:11]*** step 14: 3174 (1543, 1631 REF) [00:00:11]*** step 15: 3077 (1523, 1554 REF) [00:00:11]*** step 16: 2983 (1503, 1480 REF) [00:00:11]*** step 17: 2893 (1486, 1407 REF) [00:00:11]*** step 18: 2806 (1466, 1340 REF) [00:00:11]*** step 19: 2723 (1426, 1297 REF) [00:00:11]*** step 20: 2642 (1406, 1236 REF) [00:00:11]*** step 21: 2565 (1384, 1181 REF) [00:00:11]*** step 22: 2490 (1364, 1126 REF) [00:00:11]*** step 23: 2418 (1344, 1074 REF) [00:00:11]*** step 24: 2349 (1322, 1027 REF) [00:00:11]*** step 25: 2283 (1302, 981 REF) [00:00:11]*** step 26: 2218 (1282, 936 REF) [00:00:11]*** step 27: 2157 (1262, 895 REF) [00:00:11]*** step 28: 2097 (1242, 855 REF) [00:00:11]*** step 29: 2040 (1222, 818 REF) [00:00:11]*** step 30: 1985 (1202, 783 REF) [00:00:11]*** step 31: 1932 (1191, 741 REF) [00:00:11]*** step 32: 1880 (1181, 699 REF) [00:00:11]*** step 33: 1831 (1171, 660 REF) [00:00:11]*** step 34: 1784 (1161, 623 REF) [00:00:11]*** step 35: 1738 (1151, 587 REF) [00:00:11]*** step 36: 1694 (1141, 553 REF) [00:00:11]*** step 37: 1652 (1131, 521 REF) [00:00:11]*** step 38: 1611 (1121, 490 REF) [00:00:11]*** step 39: 1572 (1111, 461 REF) [00:00:11]*** step 40: 1534 (1103, 431 REF) [00:00:11]*** step 41: 1497 (1093, 404 REF) [00:00:11]*** step 42: 1462 (1083, 379 REF) [00:00:11]*** step 43: 1428 (1073, 355 REF) [00:00:11]*** step 44: 1396 (1063, 333 REF) [00:00:11]*** step 45: 1365 (1053, 312 REF) [00:00:11]*** step 46: 1334 (1043, 291 REF) [00:00:11]*** step 47: 1305 (1033, 272 REF) [00:00:11]*** step 48: 1277 (1023, 254 REF) [00:00:11]*** step 49: 1250 (1013, 237 REF) [00:00:11]*** step 50: 1224 (990, 234 REF) [00:00:11]*** step 51: 1199 (980, 219 REF) [00:00:11]*** step 52: 1175 (970, 205 REF) [00:00:11]*** step 53: 1152 (960, 192 REF) [00:00:11]*** step 54: 1130 (950, 180 REF) [00:00:11]*** step 55: 1108 (940, 168 REF) [00:00:11]*** step 56: 1088 (930, 158 REF) [00:00:11]*** step 57: 1068 (920, 148 REF) [00:00:11]*** step 58: 1049 (910, 139 REF) [00:00:11]*** step 59: 1030 (900, 130 REF) [00:00:11]*** step 60: 1012 (890, 122 REF) [00:00:11]*** step 61: 995 (880, 115 REF) [00:00:11]*** step 62: 979 (870, 109 REF) [00:00:11]*** step 63: 963 (860, 103 REF) [00:00:11]*** step 64: 948 (850, 98 REF) [00:00:11]*** step 65: 933 (840, 93 REF) [00:00:11]*** step 66: 919 (830, 89 REF) [00:00:11]*** step 67: 905 (820, 85 REF) [00:00:11]*** step 68: 892 (810, 82 REF) [00:00:11]*** step 69: 879 (800, 79 REF) [00:00:11]*** step 70: 867 (790, 77 REF) [00:00:11]*** step 71: 855 (780, 75 REF) [00:00:11]*** step 72: 844 (770, 74 REF) [00:00:11]*** step 73: 833 (760, 73 REF) [00:00:11]*** step 74: 822 (750, 72 REF) [00:00:11]*** step 75: 812 (740, 72 REF) [00:00:11]*** step 76: 803 (730, 73 REF) [00:00:11]*** step 77: 793 (720, 73 REF) [00:00:11]*** step 78: 784 (710, 74 REF) [00:00:11]*** step 79: 776 (700, 76 REF) [00:00:11]*** step 80: 767 (690, 77 REF) [00:00:11]*** step 81: 759 (680, 79 REF) [00:00:11]*** step 82: 751 (670, 81 REF) [00:00:11]*** step 83: 744 (660, 84 REF) [00:00:11]*** step 84: 737 (650, 87 REF) [00:00:11]*** step 85: 730 (640, 90 REF) [00:00:11]*** step 86: 723 (630, 93 REF) [00:00:11]*** step 87: 717 (620, 97 REF) [00:00:11]*** step 88: 710 (610, 100 REF) [00:00:11]*** step 89: 705 (600, 105 REF) [00:00:11]*** step 90: 699 [00:00:11]*** step 91: 693 [00:00:11]*** step 92: 688 [00:00:11]*** step 93: 683 [00:00:11]*** step 94: 678 [00:00:11]*** step 95: 673 [00:00:11]*** step 96: 669 [00:00:11]*** step 97: 664 [00:00:11]*** step 98: 660 [00:00:11]*** step 99: 656 [00:00:11]*** step 100: 652 [00:00:11]*** step 101: 648 [00:00:11]*** step 102: 644 [00:00:11]*** step 103: 641 [00:00:11]*** step 104: 638 [00:00:11]*** step 105: 634 [00:00:11]*** step 106: 631 [00:00:11]*** step 107: 628 [00:00:11]*** step 108: 625 [00:00:11]*** step 109: 622 [00:00:11]*** step 110: 620 [00:00:11]*** step 111: 617 [00:00:11]*** step 112: 615 [00:00:11]*** step 113: 612 [00:00:11]*** step 114: 610 [00:00:11]*** step 115: 608 [00:00:11]*** step 116: 605 [00:00:11]*** step 117: 603 [00:00:11]*** step 118: 601 [00:00:11]*** step 119: 599 [00:00:11]*** printer: Printer HW initialized [00:00:11]*** initSamCard finished [00:00:11]*** RTC: 22194478+1691511137=1713705615 [00:00:11]*** BPK Status Register BPK_RDY = 0x0 [00:00:11]*** SEN State Register SEN_STATE = 0x200ff [00:00:11]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:11]*** Analog Control Register 0 SEN_ANA0 = 0x33530623 [00:00:11]*** Is cutter blocked? [00:00:12]MH_GetMetrics [00:00:12]Write to MH i2c: 00 00 00 03 00 02 [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 00 29 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 00 29 00 03 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 EC FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 92 [00:00:12]Are we in boot? [00:00:12]We are not in boot now [00:00:12]Write to MH i2c: 01 00 00 04 00 04 [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 01 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 01 07 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:12]Model is 3 [00:00:12]MH firmware is 30620 [00:00:12]MH boot firmware is 3 [00:00:12]MH_SetPrinterDots 448 [00:00:12]HeadWidthInBytes 56 [00:00:12]maxmasksize 7 [00:00:12]Write to MH i2c: D6 06 00 05 00 41 00 40 00 FF FF 5F [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D6 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D6 01 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:12]Write to MH i2c: D5 00 00 06 00 DA [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D5 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D5 01 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]ExternCall_SetCallbacks [00:00:12]NVStorageInit [00:00:12]MH_GetDate [00:00:12]Write to MH i2c: F0 00 00 07 00 F6 [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: F0 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: F0 09 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: F0 09 00 07 00 00 90 12 25 66 61 69 D2 64 2C [13:20:16]Current date/time: 21.04.2024 13:20 [13:20:16]FM_Init [13:20:16]wFMConnect [13:20:16]MH_SAM_On [13:20:16]Write to MH i2c: E0 00 00 08 00 E7 [13:20:16]Write i2c OK [13:20:16]MH_I2C_Read... [13:20:16]*** iso7816_init finished! [13:20:16]*** atr: [13:20:16]*** 0F 3B D5 18 FF 81 91 FE [13:20:16]*** 1F C3 80 73 C8 21 10 0A [13:20:16]*** 00 00 00 00 00 00 00 00 [13:20:16]*** 00 00 00 00 00 00 00 00 [13:20:16]*** 00 00 00 00 00 00 00 00 [13:20:16]*** 00 00 00 00 00 00 00 00 [13:20:16]*** 00 00 00 00 00 00 00 00 [13:20:16]*** 00 00 00 00 00 00 00 00 [13:20:16]Read from MH i2c: E0 [13:20:16]MH_I2C_Read... [13:20:16]Read from MH i2c: E0 10 00 [13:20:16]MH_I2C_Read... [13:20:16]Read from MH i2c: E0 10 00 08 00 00 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A 06 [13:20:16]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [13:20:16]wFMCommunicate request_size=10 [13:20:16]MH_SAM_APDU [13:20:16]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [13:20:16]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [13:20:16]Write i2c OK [13:20:16]MH_I2C_Read... [13:20:16]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [13:20:16]Read from MH i2c: E2 [13:20:16]MH_I2C_Read... [13:20:16]Read from MH i2c: E2 03 00 [13:20:16]MH_I2C_Read... [13:20:16]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [13:20:16]RAPDU: 90 00 [13:20:16]wFMCommunicate OK [13:20:16]wFMCommunicate request_size=4 [13:20:16]MH_SAM_APDU [13:20:16]CAPDU: 80 11 00 00 [13:20:16]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [13:20:16]Write i2c OK [13:20:16]MH_I2C_Read... [13:20:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:20:16]Read from MH i2c: E2 [13:20:16]MH_I2C_Read... [13:20:16]Read from MH i2c: E2 17 00 [13:20:16]MH_I2C_Read... [13:20:16]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 DE [13:20:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [13:20:16]wFMCommunicate OK [13:20:16]Detected FM SN is 0000000000965685 [13:20:16]Stored FM SN is 0000000000965685 [13:20:16]wFMCommunicate request_size=9 [13:20:16]MH_SAM_APDU [13:20:16]CAPDU: 80 16 00 00 04 8C 6F 01 00 [13:20:16]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 8C 6F 01 00 00 00 8E [13:20:16]Write i2c OK [13:20:16]MH_I2C_Read... [13:20:16]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [13:20:16]Read from MH i2c: E2 [13:20:16]MH_I2C_Read... [13:20:16]Read from MH i2c: E2 03 00 [13:20:16]MH_I2C_Read... [13:20:16]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [13:20:16]RAPDU: 90 00 [13:20:16]wFMCommunicate OK [13:20:16]FM PIN OK [13:20:16]wFMCommunicate request_size=8 [13:20:16]MH_SAM_APDU [13:20:16]CAPDU: 80 14 04 00 03 02 00 01 [13:20:16]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [13:20:16]Write i2c OK [13:20:16]MH_I2C_Read... [13:20:16]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [13:20:16]Read from MH i2c: E2 [13:20:16]MH_I2C_Read... [13:20:16]Read from MH i2c: E2 03 00 [13:20:16]MH_I2C_Read... [13:20:16]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [13:20:16]RAPDU: 90 00 [13:20:16]wFMCommunicate OK [13:20:16]wFMCommunicate request_size=13 [13:20:16]MH_SAM_APDU [13:20:16]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [13:20:16]Write to MH i2c: E2 10 00 0D 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 BB [13:20:16]Write i2c OK [13:20:16]MH_I2C_Read... [13:20:16]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [13:20:16]Read from MH i2c: E2 [13:20:16]MH_I2C_Read... [13:20:16]Read from MH i2c: E2 03 00 [13:20:16]MH_I2C_Read... [13:20:16]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [13:20:16]RAPDU: 90 00 [13:20:16]wFMCommunicate OK [13:20:16]wFMCommunicate request_size=4 [13:20:16]MH_SAM_APDU [13:20:16]CAPDU: 80 11 00 00 [13:20:16]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [13:20:16]Write i2c OK [13:20:16]MH_I2C_Read... [13:20:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:20:16]Read from MH i2c: E2 [13:20:16]MH_I2C_Read... [13:20:16]Read from MH i2c: E2 17 00 [13:20:16]MH_I2C_Read... [13:20:16]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 E2 [13:20:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [13:20:16]wFMCommunicate OK [13:20:16]DocumentArchiveInit [13:20:16]Start Httpd... [13:20:16]Httpd thread 3067477348 created [13:20:16]Write to MH i2c: 01 00 00 0F 00 0F [13:20:16]Write i2c OK [13:20:16]MH_I2C_Read... [13:20:16]Read from MH i2c: 01 [13:20:16]MH_I2C_Read... [13:20:16]Read from MH i2c: 01 07 00 [13:20:16]MH_I2C_Read... [13:20:16]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [13:20:16]Allocated Socket 5 [13:20:16]Bind OK [13:20:16]Listen OK [13:20:16]httpd running on port 8080 [13:20:16]Waiting for new connection... [13:20:16]MH Int Process started [13:20:16]OFD Sender: Processing packet 12601 [packets to send 7, broken 6] [13:20:16]ProducePacketName [13:20:16]name=ofd_packets/00012601 [13:20:16]OFD Sender: To server: pG, [13:20:16]CommunicateWithHost lk.salyk.kg:30040 [13:20:16]ConnectInit lk.salyk.kg [13:20:18]Connected sock=7 [13:20:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 37 01 00 00 3A 00 2F 01 06 13 5A 03 01 00 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 33 39 38 06 04 31 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 44 FC 24 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 39 31 00 00 35 04 06 00 52 77 FE 4E 8A C2 9E 51 2D 96 A2 A1 16 34 [13:20:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 9A 9E 47 00 A5 0E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 39 31 00 00 F4 03 04 00 11 BB 24 66 B6 04 01 00 00 82 44 0A 9A 42 CE 37 75 [13:20:18]CommunicateWithHost err = 0 [13:20:18]CheckOFDResponse [13:20:18]1017 (14) - 77093643461234 [13:20:18]1041 (16) - 0000000000965685 [13:20:18]1040 (4) - 12601 [13:20:18]1012 (4) - 21.04.2024 07:06 [13:20:18]1206 (1) - 0 [13:20:18]OFD Sender: Remove packet 12601 [13:20:18]ProducePacketName [13:20:18]name=ofd_packets/00012601 [13:20:18]NVStorageDeleteData [13:20:19]OFD Sender: No OFD packet to send [13:20:24]OFD Sender: No OFD packet to send [13:20:29]OFD Sender: No OFD packet to send [13:20:34]OFD Sender: No OFD packet to send [13:20:39]OFD Sender: No OFD packet to send [13:20:44]OFD Sender: No OFD packet to send [13:20:49]OFD Sender: No OFD packet to send [13:20:54]OFD Sender: No OFD packet to send [13:20:59]OFD Sender: No OFD packet to send [13:21:04]OFD Sender: No OFD packet to send [13:21:09]OFD Sender: No OFD packet to send [13:21:14]OFD Sender: No OFD packet to send [13:21:19]OFD Sender: No OFD packet to send [13:21:24]OFD Sender: No OFD packet to send [13:21:29]OFD Sender: No OFD packet to send [13:21:34]OFD Sender: No OFD packet to send [13:21:39]OFD Sender: No OFD packet to send [13:21:44]OFD Sender: No OFD packet to send [13:21:49]OFD Sender: No OFD packet to send [13:21:54]OFD Sender: No OFD packet to send [13:21:59]OFD Sender: No OFD packet to send [13:22:04]OFD Sender: No OFD packet to send [13:22:09]OFD Sender: No OFD packet to send [13:22:14]OFD Sender: No OFD packet to send [13:22:19]OFD Sender: No OFD packet to send [13:22:24]OFD Sender: No OFD packet to send [13:22:29]OFD Sender: No OFD packet to send [13:22:34]OFD Sender: No OFD packet to send [13:22:39]OFD Sender: No OFD packet to send [13:22:44]OFD Sender: No OFD packet to send [13:22:46]accept exits with 6 [13:22:46]New connection [13:22:46]New thread 3067190628 created [13:22:46]Waiting for new connection... [13:22:46] Sock 6.Parse request [13:22:46]Sock 6.Check first char [13:22:46]Sock 6.First char is OK [13:22:46]request: POST /json_proto HTTP/1.0 [13:22:46]Method: POST [13:22:46]URL: /json_proto [13:22:46]Method is POST - this is cgi request [13:22:46]url: /json_proto [13:22:46]query_string will be loaded in cgi processing [13:22:46]execute_cgi json_proto POST (null) [13:22:46]execute_cgi path=json_proto method=POST [13:22:46]POST find Content-Length [13:22:46]Host: 172.17.62.6:8080 [13:22:46]Content-Length: 215 [13:22:46]Content-Type: application/json [13:22:46] [13:22:46]POST finish read [13:22:46]Found Content-Length = 215 [13:22:46]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" ] } } [13:22:46]execute_script... [13:22:46]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" ] } } [13:22:46]POST & json_proto [13:22:46]process_json_proto [13:22:46]json parsed OK: [13:22:46]protocol is kg_v1.0 [13:22:46]action value=get_value [13:22:46]process_action get_value [13:22:46]cmd_get_value [13:22:46]process_action get_value done [13:22:46]requested_data is exist [13:22:46]produce_requested_data [13:22:46]requested_item kkm.sn is exist - process it [13:22:46]requested_item kkm.ver is exist - process it [13:22:46]requested_item fm.sn is exist - process it [13:22:46]wFMCommunicate request_size=4 [13:22:46]MH_SAM_APDU [13:22:46]CAPDU: 80 11 00 00 [13:22:46]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [13:22:46]Write i2c OK [13:22:46]MH_I2C_Read... [13:22:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:22:46]Read from MH i2c: E2 [13:22:46]MH_I2C_Read... [13:22:46]Read from MH i2c: E2 17 00 [13:22:46]MH_I2C_Read... [13:22:46]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 E4 [13:22:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [13:22:46]wFMCommunicate OK [13:22:46]requested_item fd.num is exist - process it [13:22:46]SAM_PROTO_GetFieldsCounters [13:22:46]wFMCommunicate request_size=4 [13:22:46]MH_SAM_APDU [13:22:46]CAPDU: 80 13 00 00 [13:22:46]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [13:22:46]Write i2c OK [13:22:46]MH_I2C_Read... [13:22:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:22:46]Read from MH i2c: E2 [13:22:46]MH_I2C_Read... [13:22:46]Read from MH i2c: E2 62 00 [13:22:46]MH_I2C_Read... [13:22:46]Read from MH i2c: E2 62 00 11 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 39 31 00 00 0E 04 04 00 19 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 5B [13:22:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 39 31 00 00 0E 04 04 00 19 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 [13:22:46]wFMCommunicate OK [13:22:46]SAM_PROTO_GetFieldsCounters done [13:22:46]requested_item shift.num is exist - process it [13:22:46]requested_item shift.opened is exist - process it [13:22:46]req_shift_opened [13:22:46]FM_GetShiftState [13:22:46]SAM_PROTO_GetShiftState [13:22:46]wFMCommunicate request_size=4 [13:22:46]MH_SAM_APDU [13:22:46]CAPDU: 80 13 01 00 [13:22:46]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [13:22:46]Write i2c OK [13:22:46]MH_I2C_Read... [13:22:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:22:46]Read from MH i2c: E2 [13:22:46]MH_I2C_Read... [13:22:46]Read from MH i2c: E2 0E 00 [13:22:46]MH_I2C_Read... [13:22:46]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 E7 [13:22:46]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [13:22:46]wFMCommunicate OK [13:22:46]SAM_PROTO_GetShiftState done [13:22:46]FM_GetShiftState done [13:22:46]req_shift_opened done [13:22:46]requested_item shift.open_date is exist - process it [13:22:46]req_shift_open_date [13:22:46]req_shift_open_date done [13:22:46]produce_requested_data done [13:22:46]produce_requested_data return {"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12601,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [13:22:46]process_action_free get_value [13:22:46]json_value_free [13:22:46]json_value_free done [13:22:46]process_json_proto returns [13:22:46]Send response to host [13:22:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12601,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [13:22:46]free response buf [13:22:46]execute_script done [13:22:46]execute_script returns [13:22:46]free content buf [13:22:46]Sock 6.Close socket [13:22:46]Sock 6.Thread stoped [13:22:46]accept exits with 9 [13:22:46]New connection [13:22:46]New thread 3067047268 created [13:22:46]Thread 3067190628 joined [13:22:46]Waiting for new connection... [13:22:46] Sock 9.Parse request [13:22:46]Sock 9.Check first char [13:22:46]Sock 9.First char is OK [13:22:46]request: POST /json_proto HTTP/1.0 [13:22:46]Method: POST [13:22:46]URL: /json_proto [13:22:46]Method is POST - this is cgi request [13:22:46]url: /json_proto [13:22:46]query_string will be loaded in cgi processing [13:22:46]execute_cgi json_proto POST (null) [13:22:46]execute_cgi path=json_proto method=POST [13:22:46]POST find Content-Length [13:22:46]Host: 172.17.62.6:8080 [13:22:46]Content-Length: 331 [13:22:46]Content-Type: application/json [13:22:46] [13:22:46]POST finish read [13:22:46]Found Content-Length = 331 [13:22:46]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" ] } } [13:22:46]execute_script... [13:22:46]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" ] } } [13:22:46]POST & json_proto [13:22:46]process_json_proto [13:22:46]json parsed OK: [13:22:46]protocol is kg_v1.0 [13:22:46]action value=get_value [13:22:46]process_action get_value [13:22:46]cmd_get_value [13:22:46]process_action get_value done [13:22:46]requested_data is exist [13:22:46]produce_requested_data [13:22:46]requested_item fm.sale.total is exist - process it [13:22:46]SAM_PROTO_GetFMData [13:22:46]wFMCommunicate request_size=4 [13:22:46]MH_SAM_APDU [13:22:46]CAPDU: 80 13 03 00 [13:22:46]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [13:22:46]Write i2c OK [13:22:46]MH_I2C_Read... [13:22:47]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [13:22:47]Read from MH i2c: E2 [13:22:47]MH_I2C_Read... [13:22:47]Read from MH i2c: E2 FD 00 [13:22:47]MH_I2C_Read... [13:22:47]Read from MH i2c: E2 FD 00 13 00 00 C1 04 85 04 BD 04 6E 04 04 00 07 2F 00 00 69 04 A0 00 6F 04 04 00 BB 2E 00 00 B1 04 04 00 7B C1 C1 0E 70 04 04 00 46 DF B9 0C 72 04 04 00 35 E2 07 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 5B 2C 91 01 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 42 6A 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 D5 0B EF 03 09 00 F6 03 90 00 E0 [13:22:47]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 07 2F 00 00 69 04 A0 00 6F 04 04 00 BB 2E 00 00 B1 04 04 00 7B C1 C1 0E 70 04 04 00 46 DF B9 0C 72 04 04 00 35 E2 07 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 5B 2C 91 01 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 42 6A 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 D5 0B EF 03 09 00 F6 03 90 00 [13:22:47]wFMCommunicate OK [13:22:47]wFMCommunicate request_size=4 [13:22:47]MH_SAM_APDU [13:22:47]CAPDU: 80 17 00 00 [13:22:47]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [13:22:47]Write i2c OK [13:22:47]MH_I2C_Read... [13:22:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:22:47]Read from MH i2c: E2 [13:22:47]MH_I2C_Read... [13:22:47]Read from MH i2c: E2 FD 00 [13:22:47]MH_I2C_Read... [13:22:47]Read from MH i2c: E2 FD 00 14 00 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 32 [13:22:47]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [13:22:47]wFMCommunicate OK [13:22:47]wFMCommunicate request_size=4 [13:22:47]MH_SAM_APDU [13:22:47]CAPDU: 80 17 00 00 [13:22:47]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [13:22:47]Write i2c OK [13:22:47]MH_I2C_Read... [13:22:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:22:47]Read from MH i2c: E2 [13:22:47]MH_I2C_Read... [13:22:47]Read from MH i2c: E2 FD 00 [13:22:47]MH_I2C_Read... [13:22:47]Read from MH i2c: E2 FD 00 15 00 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 35 [13:22:47]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [13:22:47]wFMCommunicate OK [13:22:47]wFMCommunicate request_size=4 [13:22:47]MH_SAM_APDU [13:22:47]CAPDU: 80 17 00 00 [13:22:47]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [13:22:47]Write i2c OK [13:22:47]MH_I2C_Read... [13:22:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:22:47]Read from MH i2c: E2 [13:22:47]MH_I2C_Read... [13:22:47]Read from MH i2c: E2 FD 00 [13:22:47]MH_I2C_Read... [13:22:47]Read from MH i2c: E2 FD 00 16 00 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 1B [13:22:47]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [13:22:47]wFMCommunicate OK [13:22:47]wFMCommunicate request_size=4 [13:22:47]MH_SAM_APDU [13:22:47]CAPDU: 80 17 00 00 [13:22:47]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [13:22:47]Write i2c OK [13:22:47]MH_I2C_Read... [13:22:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [13:22:48]Read from MH i2c: E2 [13:22:48]MH_I2C_Read... [13:22:48]Read from MH i2c: E2 DE 00 [13:22:48]MH_I2C_Read... [13:22:48]Read from MH i2c: E2 DE 00 17 00 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 76 [13:22:48]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [13:22:48]wFMCommunicate OK [13:22:48]SAM_PROTO_GetFMData done [13:22:48]requested_item fm.sale_refund.total is exist - process it [13:22:48]requested_item fm.buy.total is exist - process it [13:22:48]requested_item shift.sale.total is exist - process it [13:22:48]SAM_PROTO_GetShiftData [13:22:48]wFMCommunicate request_size=4 [13:22:48]MH_SAM_APDU [13:22:48]CAPDU: 80 13 02 00 [13:22:48]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [13:22:48]Write i2c OK [13:22:48]MH_I2C_Read... [13:22:48]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:22:48]Read from MH i2c: E2 [13:22:48]MH_I2C_Read... [13:22:48]Read from MH i2c: E2 FD 00 [13:22:48]MH_I2C_Read... [13:22:48]Read from MH i2c: E2 FD 00 18 00 00 AD 04 AA 04 A9 04 6E 04 04 00 0D 00 00 00 69 04 9A 00 6F 04 04 00 0D 00 00 00 B1 04 03 00 B0 4A 05 70 04 03 00 24 65 03 72 04 03 00 8C E5 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 D9 8F EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 FB 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 D9 [13:22:48]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 0D 00 00 00 69 04 9A 00 6F 04 04 00 0D 00 00 00 B1 04 03 00 B0 4A 05 70 04 03 00 24 65 03 72 04 03 00 8C E5 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 D9 8F EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 FB 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [13:22:48]wFMCommunicate OK [13:22:48]wFMCommunicate request_size=4 [13:22:48]MH_SAM_APDU [13:22:48]CAPDU: 80 17 00 00 [13:22:48]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [13:22:48]Write i2c OK [13:22:48]MH_I2C_Read... [13:22:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:22:48]Read from MH i2c: E2 [13:22:48]MH_I2C_Read... [13:22:48]Read from MH i2c: E2 FD 00 [13:22:48]MH_I2C_Read... [13:22:48]Read from MH i2c: E2 FD 00 19 00 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 AB [13:22:48]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [13:22:48]wFMCommunicate OK [13:22:48]wFMCommunicate request_size=4 [13:22:48]MH_SAM_APDU [13:22:48]CAPDU: 80 17 00 00 [13:22:48]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [13:22:48]Write i2c OK [13:22:48]MH_I2C_Read... [13:22:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:22:49]Read from MH i2c: E2 [13:22:49]MH_I2C_Read... [13:22:49]Read from MH i2c: E2 FD 00 [13:22:49]MH_I2C_Read... [13:22:49]Read from MH i2c: E2 FD 00 1A 00 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 5E [13:22:49]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [13:22:49]wFMCommunicate OK [13:22:49]wFMCommunicate request_size=4 [13:22:49]MH_SAM_APDU [13:22:49]CAPDU: 80 17 00 00 [13:22:49]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [13:22:49]Write i2c OK [13:22:49]MH_I2C_Read... [13:22:49]OFD Sender: No OFD packet to send [13:22:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:22:49]Read from MH i2c: E2 [13:22:49]MH_I2C_Read... [13:22:49]Read from MH i2c: E2 FD 00 [13:22:49]MH_I2C_Read... [13:22:49]Read from MH i2c: E2 FD 00 1B 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 10 [13:22:49]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [13:22:49]wFMCommunicate OK [13:22:49]wFMCommunicate request_size=4 [13:22:49]MH_SAM_APDU [13:22:49]CAPDU: 80 17 00 00 [13:22:49]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [13:22:49]Write i2c OK [13:22:49]MH_I2C_Read... [13:22:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [13:22:49]Read from MH i2c: E2 [13:22:49]MH_I2C_Read... [13:22:49]Read from MH i2c: E2 CA 00 [13:22:49]MH_I2C_Read... [13:22:49]Read from MH i2c: E2 CA 00 1C 00 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 81 [13:22:49]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [13:22:49]wFMCommunicate OK [13:22:49]SAM_PROTO_GetShiftData done [13:22:49]requested_item shift.sale.total_cash is exist - process it [13:22:49]requested_item shift.sale_refund.total is exist - process it [13:22:49]requested_item shift.sale_refund.total_cash is exist - process it [13:22:49]requested_item shift.buy.total is exist - process it [13:22:49]requested_item shift.buy.total_cash is exist - process it [13:22:49]produce_requested_data done [13:22:49]produce_requested_data return {"fm.sale.total":2475790.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":3468.00,"shift.sale.total_cash":2225.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} [13:22:49]process_action_free get_value [13:22:49]json_value_free [13:22:49]json_value_free done [13:22:49]process_json_proto returns [13:22:49]Send response to host [13:22:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2475790.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":3468.00,"shift.sale.total_cash":2225.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}}} [13:22:49]free response buf [13:22:49]execute_script done [13:22:49]execute_script returns [13:22:49]free content buf [13:22:49]Sock 9.Close socket [13:22:49]Sock 9.Thread stoped [13:22:51]accept exits with 6 [13:22:51]New connection [13:22:51]New thread 3067190628 created [13:22:51]Thread 3067047268 joined [13:22:51]Waiting for new connection... [13:22:51] Sock 6.Parse request [13:22:51]Sock 6.Check first char [13:22:51]Sock 6.First char is OK [13:22:51]request: POST /json_proto HTTP/1.0 [13:22:51]Method: POST [13:22:51]URL: /json_proto [13:22:51]Method is POST - this is cgi request [13:22:51]url: /json_proto [13:22:51]query_string will be loaded in cgi processing [13:22:51]execute_cgi json_proto POST (null) [13:22:51]execute_cgi path=json_proto method=POST [13:22:51]POST find Content-Length [13:22:51]Host: 172.17.62.6:8080 [13:22:51]Content-Length: 1269 [13:22:51]Content-Type: application/json [13:22:51] [13:22:51]POST finish read [13:22:51]Found Content-Length = 1269 [13:22:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32874", "tax_sys" : 0, "items" : [ { "code": "4700000481965", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u0434\u0438\u043A\u0438\u0435 \u044F\u0433\u043E\u0434\u044B 0,45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000273680", "name": "\u0421\u043E\u043A Piko Pulpy \u043A\u0440\u0430\u0441\u043D\u044B\u0439 \u0432\u0438\u043D\u043E\u0433\u0440\u0430\u0434 \u041F\u042D\u0422 0,5\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 275.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:22:51]execute_script... [13:22:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32874", "tax_sys" : 0, "items" : [ { "code": "4700000481965", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u0434\u0438\u043A\u0438\u0435 \u044F\u0433\u043E\u0434\u044B 0,45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000273680", "name": "\u0421\u043E\u043A Piko Pulpy \u043A\u0440\u0430\u0441\u043D\u044B\u0439 \u0432\u0438\u043D\u043E\u0433\u0440\u0430\u0434 \u041F\u042D\u0422 0,5\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 275.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:22:51]POST & json_proto [13:22:51]process_json_proto [13:22:51]json parsed OK: [13:22:51]protocol is kg_v1.0 [13:22:51]action value=close_receipt [13:22:51]process_action close_receipt [13:22:51]cmd_close_receipt [13:22:51]MH_GetDate [13:22:51]Write to MH i2c: F0 00 00 1D 00 0C [13:22:51]Write i2c OK [13:22:51]MH_I2C_Read... [13:22:51]Read from MH i2c: F0 [13:22:51]MH_I2C_Read... [13:22:51]Read from MH i2c: F0 09 00 [13:22:51]MH_I2C_Read... [13:22:51]Read from MH i2c: F0 09 00 1D 00 00 2B 13 25 66 61 69 D2 64 DE [13:22:51]GetLastDocTimeStamp 1713699908 [13:22:51]current date 1713705771 [13:22:51]FM_GetShiftState [13:22:51]SAM_PROTO_GetShiftState [13:22:51]wFMCommunicate request_size=4 [13:22:51]MH_SAM_APDU [13:22:51]CAPDU: 80 13 01 00 [13:22:51]Write to MH i2c: E2 08 00 1E 00 80 13 01 00 00 00 00 00 9B [13:22:51]Write i2c OK [13:22:51]MH_I2C_Read... [13:22:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:22:51]Read from MH i2c: E2 [13:22:51]MH_I2C_Read... [13:22:51]Read from MH i2c: E2 0E 00 [13:22:51]MH_I2C_Read... [13:22:51]Read from MH i2c: E2 0E 00 1E 00 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 F3 [13:22:51]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [13:22:51]wFMCommunicate OK [13:22:51]SAM_PROTO_GetShiftState done [13:22:51]FM_GetShiftState done [13:22:51]opened in 1713658727 [13:22:51]opened+sec_in_day 1713745127 [13:22:51]quantity*price = 9500 [13:22:51]sum+1 = 9501 [13:22:51]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000273680 Сок Piko Pulpy красный виноград ПЭТ 0,5л 1.000 * 100.00 = 100.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870001570057 Напиток Pepsi 0,5л 1.000 * 80.00 = 80.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 275.00 НСП 1% : 2.43 НДС 12% : 29.21 Наличными: 275.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 14 21.04.2024 13:22 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12602 ФПД: 175182485981110 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T132251&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12602&fm=175182485981110&tin=02508201610067®Number=0000000000100748&sum=27500 0 [13:22:52]StoreToDocumentArchive [13:22:52]shift 281 fd 12602 [13:22:52]save to /storage/0281/doc_00012602 [13:22:52]save last doc name /storage/0281/doc_00012602 to /storage/kkm_last_doc_name [13:22:52]save OK [13:22:52]Clear old archive folders... [13:22:52]ProcessDocumentItem done err = 0, tmpTLVsize=538 [13:22:52]tlvbuf is 019D9970 [13:22:52]SAM_PROTO_ClearQueue [13:22:52]wFMCommunicate request_size=4 [13:22:52]MH_SAM_APDU [13:22:52]CAPDU: 80 09 00 00 [13:22:52]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [13:22:52]Write i2c OK [13:22:52]MH_I2C_Read... [13:22:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:22:52]Read from MH i2c: E2 [13:22:52]MH_I2C_Read... [13:22:52]Read from MH i2c: E2 03 00 [13:22:52]MH_I2C_Read... [13:22:52]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [13:22:52]RAPDU: 90 00 [13:22:52]wFMCommunicate OK [13:22:52]SAM_PROTO_ClearQueue done [13:22:52]KKMCreateOFDPacket [13:22:52]OFDProtocolAddRootSTLVToBuf [13:22:52]FM_MakeSignedData [13:22:52]FM_MakeSignedData [13:22:52]SAM_PROTO_SignData [13:22:52]wFMCommunicate request_size=4 [13:22:52]MH_SAM_APDU [13:22:52]CAPDU: 80 0D 01 02 [13:22:52]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [13:22:52]Write i2c OK [13:22:52]MH_I2C_Read... [13:22:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:22:52]Read from MH i2c: E2 [13:22:52]MH_I2C_Read... [13:22:52]Read from MH i2c: E2 03 00 [13:22:52]MH_I2C_Read... [13:22:52]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [13:22:52]RAPDU: 90 00 [13:22:52]wFMCommunicate OK [13:22:52]wFMCommunicate request_size=255 [13:22:52]MH_SAM_APDU [13:22:52]CAPDU: 80 0D 02 02 FA 03 00 1A 02 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 36 35 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B4 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 38 30 06 04 3E 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 [13:22:52]Write to MH i2c: E2 02 01 2D 00 80 0D 02 02 FA 00 03 00 1A 02 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 36 35 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B4 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 38 30 06 04 3E 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 2D [13:22:53]Write i2c OK [13:22:53]MH_I2C_Read... [13:22:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:22:53]Read from MH i2c: E2 [13:22:53]MH_I2C_Read... [13:22:53]Read from MH i2c: E2 03 00 [13:22:53]MH_I2C_Read... [13:22:53]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [13:22:53]RAPDU: 90 00 [13:22:53]wFMCommunicate OK [13:22:53]wFMCommunicate request_size=255 [13:22:53]MH_SAM_APDU [13:22:53]CAPDU: 80 0D 02 02 FA 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 69 0B 00 00 00 00 07 04 06 00 6C 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 2B 13 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 [13:22:53]Write to MH i2c: E2 02 01 2E 00 80 0D 02 02 FA 00 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 69 0B 00 00 00 00 07 04 06 00 6C 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 2B 13 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 00 00 ED [13:22:53]Write i2c OK [13:22:53]MH_I2C_Read... [13:22:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:22:53]Read from MH i2c: E2 [13:22:53]MH_I2C_Read... [13:22:53]Read from MH i2c: E2 03 00 [13:22:53]MH_I2C_Read... [13:22:53]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [13:22:53]RAPDU: 90 00 [13:22:53]wFMCommunicate OK [13:22:53]wFMCommunicate request_size=47 [13:22:53]MH_SAM_APDU [13:22:53]CAPDU: 80 0D 02 02 2A 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 3A 31 00 00 35 04 06 00 9F 53 D9 D9 07 B6 [13:22:53]Write to MH i2c: E2 32 00 2F 00 80 0D 02 02 2A 00 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 3A 31 00 00 35 04 06 00 9F 53 D9 D9 07 B6 00 00 3F [13:22:53]Write i2c OK [13:22:53]MH_I2C_Read... [13:22:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:22:53]Read from MH i2c: E2 [13:22:53]MH_I2C_Read... [13:22:53]Read from MH i2c: E2 03 00 [13:22:53]MH_I2C_Read... [13:22:53]Read from MH i2c: E2 03 00 2F 00 00 90 00 A3 [13:22:53]RAPDU: 90 00 [13:22:53]wFMCommunicate OK [13:22:53]wFMCommunicate request_size=4 [13:22:53]MH_SAM_APDU [13:22:53]CAPDU: 80 0D 03 02 [13:22:53]Write to MH i2c: E2 08 00 30 00 80 0D 03 02 00 00 00 00 AB [13:22:53]Write i2c OK [13:22:53]MH_I2C_Read... [13:22:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:22:53]Read from MH i2c: E2 [13:22:53]MH_I2C_Read... [13:22:53]Read from MH i2c: E2 0B 00 [13:22:53]MH_I2C_Read... [13:22:53]Read from MH i2c: E2 0B 00 30 00 00 31 DE 69 17 1D B2 26 52 90 00 82 [13:22:53]RAPDU: 31 DE 69 17 1D B2 26 52 90 00 [13:22:53]wFMCommunicate OK [13:22:53]SAM_PROTO_SignData done [13:22:53]FM_MakeSignedData done [13:22:53]CreateOFDProtocolMessage [13:22:53]wFMCommunicate request_size=4 [13:22:53]MH_SAM_APDU [13:22:53]CAPDU: 80 11 00 00 [13:22:53]Write to MH i2c: E2 08 00 31 00 80 11 00 00 00 00 00 00 AB [13:22:53]Write i2c OK [13:22:53]MH_I2C_Read... [13:22:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:22:53]Read from MH i2c: E2 [13:22:53]MH_I2C_Read... [13:22:53]Read from MH i2c: E2 17 00 [13:22:53]MH_I2C_Read... [13:22:53]Read from MH i2c: E2 17 00 31 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 05 [13:22:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [13:22:53]wFMCommunicate OK [13:22:53]CreateOFDProtocolMessage done [13:22:53]OFDSenderStorePacket 12602 [13:22:53]StoreOFDPacket docnum=12602 [13:22:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2E 02 00 00 38 60 26 02 45 B0 5A 03 01 00 03 00 1A 02 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 36 35 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B4 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 38 30 06 04 3E 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 69 0B 00 00 00 00 07 04 06 00 6C 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 2B 13 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 3A 31 00 00 35 04 06 00 9F 53 D9 D9 07 B6 31 DE 69 17 1D B2 26 52 [13:22:53]CheckFolder [13:22:53]dirname=/storage/ofd_packets [13:22:53]CheckFolder done [13:22:53]ProducePacketName [13:22:53]name=ofd_packets/00012602 [13:22:53]NVStorageSaveData ofd_packets/00012602 [13:22:53]File name is /storage/ofd_packets/00012602 [13:22:53]Write 588 bytes [13:22:53]NVStorageSaveData done [13:22:53]OFDSenderStorePacket done [13:22:53]KKMCreateOFDPacket done [13:22:53]NVStorageSaveData kkm_last_timestamp [13:22:53]File name is /storage/kkm_last_timestamp [13:22:53]Write 4 bytes [13:22:53]NVStorageSaveData done [13:22:53]ExternCall_PrintAddStr [13:22:53]wPrintStart [13:22:53]Write to MH i2c: 01 00 00 32 00 32 [13:22:53]Write i2c OK [13:22:53]MH_I2C_Read... [13:22:53]Read from MH i2c: 01 [13:22:53]MH_I2C_Read... [13:22:53]Read from MH i2c: 01 07 00 [13:22:53]MH_I2C_Read... [13:22:53]Read from MH i2c: 01 07 00 32 00 00 00 00 00 00 FF 0F 47 [13:22:53]RasterBufferAndPrint [13:22:53]line Счет N : (3)32874 [13:22:53]line ИНН: 02508201610067 [13:22:53]line Контрольно-Кассовый Чек [13:22:53]line ПРОДАЖА [13:22:53]line Товар: 4700000481965 [13:22:53]line Напиток энерг Nitro дикие ягоды 0,45 ж/б [13:22:53]line 1.000 * 95.00 [13:22:53]line = 95.00 [13:22:53]line НДС 12% НСП 1% [13:22:53]line > о реализуемом товаре [13:22:53]line Товар: 5449000273680 [13:22:53]line Сок Piko Pulpy красный виноград ПЭТ 0,5л [13:22:53]line 1.000 * 100.00 [13:22:53]line = 100.00 [13:22:53]line НДС 12% НСП 1% [13:22:53]line > о реализуемом товаре [13:22:53]line Товар: 4870001570057 [13:22:53]line Напиток Pepsi 0,5л [13:22:53]line 1.000 * 80.00 [13:22:53]line = 80.00 [13:22:53]line НДС 12% НСП 1% [13:22:53]line > о реализуемом товаре [13:22:53]line ИТОГО: 275.00 [13:22:53]line НСП 1% : 2.43 [13:22:53]line НДС 12% : 29.21 [13:22:53]line Наличными: 275.00 [13:22:53]line Безнал.: 0.00 [13:22:53]line Место: АЗС № 106 "Партнер Нефть" [13:22:53]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [13:22:53]line СНО: Общий режим [13:22:53]line Чек 14 21.04.2024 13:22 [13:22:53]line Смена: 281 ФФД: 1.0 [13:22:53]line ЗНМ: 0300000004 [13:22:53]line РНМ: 0000000000100748 [13:22:53]line Версия ККМ: 001 [13:22:53]line ФМ: 0000000000965685 [13:22:53]line ФД: 12602 [13:22:53]line ФПД: 175182485981110 [13:22:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T132251&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12602&fm=175182485981110&tin=02508201610067®Number=0000000000100748&sum=27500 [13:22:53]line 0 [13:22:53]written 0, free lines is 4095 [13:22:53]OFD Sender: Processing packet 12602 [packets to send 7, broken 6] [13:22:53]ProducePacketName [13:22:53]name=ofd_packets/00012602 [13:22:53]OFD Sender: To server: pG, [13:22:53]CommunicateWithHost lk.salyk.kg:30040 [13:22:53]ConnectInit lk.salyk.kg [13:22:54]Connected sock=11 [13:22:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2E 02 00 00 38 60 26 02 45 B0 5A 03 01 00 03 00 1A 02 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 36 35 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B4 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 38 30 06 04 3E 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 69 0B 00 00 00 00 07 04 06 00 6C 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 2B 13 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 3A 31 00 00 35 04 06 00 9F 53 D9 D9 07 B6 31 DE 69 17 1D B2 26 52 [13:22:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 F3 DF 47 00 C3 7A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 3A 31 00 00 F4 03 04 00 AD BB 24 66 B6 04 01 00 00 0B 11 AA 52 5C F3 AB BA [13:22:54]CommunicateWithHost err = 0 [13:22:54]CheckOFDResponse [13:22:54]1017 (14) - 77093643461234 [13:22:54]1041 (16) - 0000000000965685 [13:22:54]1040 (4) - 12602 [13:22:54]1012 (4) - 21.04.2024 07:09 [13:22:54]1206 (1) - 0 [13:22:54]OFD Sender: Remove packet 12602 [13:22:54]ProducePacketName [13:22:54]name=ofd_packets/00012602 [13:22:54]NVStorageDeleteData [13:22:54]Write to MH i2c: 01 00 00 67 00 67 [13:22:54]Write i2c OK [13:22:54]MH_I2C_Read... [13:22:54]Read from MH i2c: 01 [13:22:54]MH_I2C_Read... [13:22:54]Read from MH i2c: 01 07 00 [13:22:54]MH_I2C_Read... [13:22:54]Read from MH i2c: 01 07 00 67 00 00 00 00 00 00 41 0C BB [13:22:54]RasterBufferAndPrint [13:22:54]line [13:22:54]line [13:22:54]line [13:22:54]line [13:22:54]line [13:22:54]written 0, free lines is 3150 [13:22:54]MH_Cut [13:22:54]Write to MH i2c: D1 01 00 6E 00 01 40 [13:22:54]Write i2c OK [13:22:54]MH_I2C_Read... [13:22:54]Read from MH i2c: D1 [13:22:54]MH_I2C_Read... [13:22:54]Read from MH i2c: D1 01 00 [13:22:54]MH_I2C_Read... [13:22:54]Read from MH i2c: D1 01 00 6E 00 00 3F [13:22:54]Write to MH i2c: 01 00 00 6F 00 6F [13:22:54]Write i2c OK [13:22:54]MH_I2C_Read... [13:22:54]OFD Sender: No OFD packet to send [13:22:55]*** Cut start [13:22:55]*** Partial cut [13:22:55]*** CUTSNS_PIN = 1 [13:22:55]*** CUTSNS_PIN = 0 [13:22:55]*** Brake cut motor [13:22:56]Read from MH i2c: 01 [13:22:56]MH_I2C_Read... [13:22:56]*** Stop cut motor [13:22:56]*** Cut end [13:22:56]Read from MH i2c: 01 07 00 [13:22:56]MH_I2C_Read... [13:22:56]Read from MH i2c: 01 07 00 6F 00 00 00 00 00 00 FF 0F 84 [13:22:56]process_action close_receipt done [13:22:56]requested_data is exist [13:22:56]produce_requested_data [13:22:56]requested_item fm.sn is exist - process it [13:22:56]wFMCommunicate request_size=4 [13:22:56]MH_SAM_APDU [13:22:56]CAPDU: 80 11 00 00 [13:22:56]Write to MH i2c: E2 08 00 70 00 80 11 00 00 00 00 00 00 EA [13:22:56]Write i2c OK [13:22:56]MH_I2C_Read... [13:22:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:22:56]Read from MH i2c: E2 [13:22:56]MH_I2C_Read... [13:22:56]Read from MH i2c: E2 17 00 [13:22:56]MH_I2C_Read... [13:22:56]Read from MH i2c: E2 17 00 70 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 44 [13:22:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [13:22:56]wFMCommunicate OK [13:22:56]requested_item fd.num is exist - process it [13:22:56]SAM_PROTO_GetFieldsCounters [13:22:56]wFMCommunicate request_size=4 [13:22:56]MH_SAM_APDU [13:22:56]CAPDU: 80 13 00 00 [13:22:56]Write to MH i2c: E2 08 00 71 00 80 13 00 00 00 00 00 00 ED [13:22:56]Write i2c OK [13:22:56]MH_I2C_Read... [13:22:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:22:56]Read from MH i2c: E2 [13:22:56]MH_I2C_Read... [13:22:56]Read from MH i2c: E2 62 00 [13:22:56]MH_I2C_Read... [13:22:56]Read from MH i2c: E2 62 00 71 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 3A 31 00 00 0E 04 04 00 19 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 BF [13:22:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 3A 31 00 00 0E 04 04 00 19 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 [13:22:56]wFMCommunicate OK [13:22:56]SAM_PROTO_GetFieldsCounters done [13:22:56]requested_item shift.num is exist - process it [13:22:56]requested_item shift.opened is exist - process it [13:22:56]req_shift_opened [13:22:56]FM_GetShiftState [13:22:56]SAM_PROTO_GetShiftState [13:22:56]wFMCommunicate request_size=4 [13:22:56]MH_SAM_APDU [13:22:56]CAPDU: 80 13 01 00 [13:22:56]Write to MH i2c: E2 08 00 72 00 80 13 01 00 00 00 00 00 EF [13:22:56]Write i2c OK [13:22:56]MH_I2C_Read... [13:22:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:22:56]Read from MH i2c: E2 [13:22:56]MH_I2C_Read... [13:22:56]Read from MH i2c: E2 0E 00 [13:22:56]MH_I2C_Read... [13:22:56]Read from MH i2c: E2 0E 00 72 00 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 47 [13:22:56]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [13:22:56]wFMCommunicate OK [13:22:56]SAM_PROTO_GetShiftState done [13:22:56]FM_GetShiftState done [13:22:56]req_shift_opened done [13:22:56]requested_item shift.open_date is exist - process it [13:22:56]req_shift_open_date [13:22:56]req_shift_open_date done [13:22:56]produce_requested_data done [13:22:56]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12602,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [13:22:56]process_action_free close_receipt [13:22:56]json_value_free [13:22:56]json_value_free done [13:22:56]process_json_proto returns [13:22:56]Send response to host [13:22:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12602,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [13:22:56]free response buf [13:22:56]execute_script done [13:22:56]execute_script returns [13:22:56]free content buf [13:22:56]Sock 6.Close socket [13:22:56]Sock 6.Thread stoped [13:22:58]accept exits with 9 [13:22:58]New connection [13:22:58]New thread 3067047268 created [13:22:58]Thread 3067190628 joined [13:22:58]Waiting for new connection... [13:22:58] Sock 9.Parse request [13:22:58]Sock 9.Check first char [13:22:58]Sock 9.First char is OK [13:22:58]request: POST /json_proto HTTP/1.0 [13:22:58]Method: POST [13:22:58]URL: /json_proto [13:22:58]Method is POST - this is cgi request [13:22:58]url: /json_proto [13:22:58]query_string will be loaded in cgi processing [13:22:58]execute_cgi json_proto POST (null) [13:22:58]execute_cgi path=json_proto method=POST [13:22:58]POST find Content-Length [13:22:58]Host: 172.17.62.6:8080 [13:22:58]Content-Length: 935 [13:22:58]Content-Type: application/json [13:22:58] [13:22:58]POST finish read [13:22:58]Found Content-Length = 935 [13:22:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32875", "tax_sys" : 0, "items" : [ { "code": "5449000189394", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u044F\u0433\u043E\u0434\u0430 0,5\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112002775", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI BITES 80\u0433\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:22:58]execute_script... [13:22:58]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32875", "tax_sys" : 0, "items" : [ { "code": "5449000189394", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u044F\u0433\u043E\u0434\u0430 0,5\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112002775", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI BITES 80\u0433\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:22:58]POST & json_proto [13:22:58]process_json_proto [13:22:58]json parsed OK: [13:22:58]protocol is kg_v1.0 [13:22:58]action value=close_receipt [13:22:58]process_action close_receipt [13:22:58]cmd_close_receipt [13:22:58]MH_GetDate [13:22:58]Write to MH i2c: F0 00 00 73 00 62 [13:22:58]Write i2c OK [13:22:58]MH_I2C_Read... [13:22:58]Read from MH i2c: F0 [13:22:58]MH_I2C_Read... [13:22:58]Read from MH i2c: F0 09 00 [13:22:58]MH_I2C_Read... [13:22:58]Read from MH i2c: F0 09 00 73 00 00 32 13 25 66 61 69 D2 64 3B [13:22:58]GetLastDocTimeStamp 1713705771 [13:22:58]current date 1713705778 [13:22:58]FM_GetShiftState [13:22:58]SAM_PROTO_GetShiftState [13:22:58]wFMCommunicate request_size=4 [13:22:58]MH_SAM_APDU [13:22:58]CAPDU: 80 13 01 00 [13:22:58]Write to MH i2c: E2 08 00 74 00 80 13 01 00 00 00 00 00 F1 [13:22:58]Write i2c OK [13:22:58]MH_I2C_Read... [13:22:58]Read from MH i2c: E2 [13:22:58]MH_I2C_Read... [13:22:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:22:58]Read from MH i2c: E2 0E 00 [13:22:58]MH_I2C_Read... [13:22:58]Read from MH i2c: E2 0E 00 74 00 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 49 [13:22:58]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [13:22:58]wFMCommunicate OK [13:22:58]SAM_PROTO_GetShiftState done [13:22:58]FM_GetShiftState done [13:22:58]opened in 1713658727 [13:22:58]opened+sec_in_day 1713745127 [13:22:58]quantity*price = 6500 [13:22:58]sum+1 = 6501 [13:22:58]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870112002775 Шок батончик ALBENI BITES 80гр 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.23 НДС 12% : 14.86 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 15 21.04.2024 13:22 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12603 ФПД: 93428038581489 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T132258&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12603&fm=93428038581489&tin=02508201610067®Number=0000000000100748&sum=14000 0 [13:22:59]StoreToDocumentArchive [13:22:59]shift 281 fd 12603 [13:22:59]save to /storage/0281/doc_00012603 [13:22:59]save last doc name /storage/0281/doc_00012603 to /storage/kkm_last_doc_name [13:22:59]save OK [13:22:59]Clear old archive folders... [13:22:59]ProcessDocumentItem done err = 0, tmpTLVsize=402 [13:22:59]tlvbuf is 01984F10 [13:22:59]SAM_PROTO_ClearQueue [13:22:59]wFMCommunicate request_size=4 [13:22:59]MH_SAM_APDU [13:22:59]CAPDU: 80 09 00 00 [13:22:59]Write to MH i2c: E2 08 00 81 00 80 09 00 00 00 00 00 00 F3 [13:22:59]Write i2c OK [13:22:59]MH_I2C_Read... [13:22:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:22:59]Read from MH i2c: E2 [13:22:59]MH_I2C_Read... [13:22:59]Read from MH i2c: E2 03 00 [13:22:59]MH_I2C_Read... [13:22:59]Read from MH i2c: E2 03 00 81 00 00 90 00 F5 [13:22:59]RAPDU: 90 00 [13:22:59]wFMCommunicate OK [13:22:59]SAM_PROTO_ClearQueue done [13:22:59]KKMCreateOFDPacket [13:22:59]OFDProtocolAddRootSTLVToBuf [13:22:59]FM_MakeSignedData [13:22:59]FM_MakeSignedData [13:22:59]SAM_PROTO_SignData [13:22:59]wFMCommunicate request_size=4 [13:22:59]MH_SAM_APDU [13:22:59]CAPDU: 80 0D 01 02 [13:22:59]Write to MH i2c: E2 08 00 82 00 80 0D 01 02 00 00 00 00 FB [13:22:59]Write i2c OK [13:22:59]MH_I2C_Read... [13:22:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:22:59]Read from MH i2c: E2 [13:22:59]MH_I2C_Read... [13:22:59]Read from MH i2c: E2 03 00 [13:22:59]MH_I2C_Read... [13:22:59]Read from MH i2c: E2 03 00 82 00 00 90 00 F6 [13:22:59]RAPDU: 90 00 [13:22:59]wFMCommunicate OK [13:22:59]wFMCommunicate request_size=255 [13:22:59]MH_SAM_APDU [13:22:59]CAPDU: 80 0D 02 02 FA 03 00 92 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 39 34 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D1 8F D0 B3 D0 BE D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 [13:22:59]Write to MH i2c: E2 02 01 83 00 80 0D 02 02 FA 00 03 00 92 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 39 34 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D1 8F D0 B3 D0 BE D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 00 E9 [13:22:59]Write i2c OK [13:22:59]MH_I2C_Read... [13:22:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:22:59]Read from MH i2c: E2 [13:22:59]MH_I2C_Read... [13:22:59]Read from MH i2c: E2 03 00 [13:22:59]MH_I2C_Read... [13:22:59]Read from MH i2c: E2 03 00 83 00 00 90 00 F7 [13:22:59]RAPDU: 90 00 [13:22:59]wFMCommunicate OK [13:22:59]wFMCommunicate request_size=161 [13:22:59]MH_SAM_APDU [13:22:59]CAPDU: 80 0D 02 02 9C 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CE 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 32 13 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 3B 31 00 00 35 04 06 00 54 F8 E9 0D 3C F1 [13:23:00]Write to MH i2c: E2 A4 00 84 00 80 0D 02 02 9C 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CE 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 32 13 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 3B 31 00 00 35 04 06 00 54 F8 E9 0D 3C F1 00 00 7D [13:23:00]OFD Sender: No OFD packet to send [13:23:00]Write i2c OK [13:23:00]MH_I2C_Read... [13:23:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:23:00]Read from MH i2c: E2 [13:23:00]MH_I2C_Read... [13:23:00]Read from MH i2c: E2 03 00 [13:23:00]MH_I2C_Read... [13:23:00]Read from MH i2c: E2 03 00 84 00 00 90 00 F8 [13:23:00]RAPDU: 90 00 [13:23:00]wFMCommunicate OK [13:23:00]wFMCommunicate request_size=4 [13:23:00]MH_SAM_APDU [13:23:00]CAPDU: 80 0D 03 02 [13:23:00]Write to MH i2c: E2 08 00 85 00 80 0D 03 02 00 00 00 00 00 [13:23:00]Write i2c OK [13:23:00]MH_I2C_Read... [13:23:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:23:00]Read from MH i2c: E2 [13:23:00]MH_I2C_Read... [13:23:00]Read from MH i2c: E2 0B 00 [13:23:00]MH_I2C_Read... [13:23:00]Read from MH i2c: E2 0B 00 85 00 00 7E 23 4D D7 56 ED 75 B8 90 00 36 [13:23:00]RAPDU: 7E 23 4D D7 56 ED 75 B8 90 00 [13:23:00]wFMCommunicate OK [13:23:00]SAM_PROTO_SignData done [13:23:00]FM_MakeSignedData done [13:23:00]CreateOFDProtocolMessage [13:23:00]wFMCommunicate request_size=4 [13:23:00]MH_SAM_APDU [13:23:00]CAPDU: 80 11 00 00 [13:23:00]Write to MH i2c: E2 08 00 86 00 80 11 00 00 00 00 00 00 00 [13:23:00]Write i2c OK [13:23:00]MH_I2C_Read... [13:23:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:23:00]Read from MH i2c: E2 [13:23:00]MH_I2C_Read... [13:23:00]Read from MH i2c: E2 17 00 [13:23:00]MH_I2C_Read... [13:23:00]Read from MH i2c: E2 17 00 86 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 5A [13:23:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [13:23:00]wFMCommunicate OK [13:23:00]CreateOFDProtocolMessage done [13:23:00]OFDSenderStorePacket 12603 [13:23:00]StoreOFDPacket docnum=12603 [13:23:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 A6 01 00 00 79 D1 9E 01 04 E5 5A 03 01 00 03 00 92 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 39 34 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D1 8F D0 B3 D0 BE D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CE 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 32 13 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 3B 31 00 00 35 04 06 00 54 F8 E9 0D 3C F1 7E 23 4D D7 56 ED 75 B8 [13:23:00]CheckFolder [13:23:00]dirname=/storage/ofd_packets [13:23:00]CheckFolder done [13:23:00]ProducePacketName [13:23:00]name=ofd_packets/00012603 [13:23:00]NVStorageSaveData ofd_packets/00012603 [13:23:00]File name is /storage/ofd_packets/00012603 [13:23:00]Write 452 bytes [13:23:00]NVStorageSaveData done [13:23:00]OFDSenderStorePacket done [13:23:00]KKMCreateOFDPacket done [13:23:00]NVStorageSaveData kkm_last_timestamp [13:23:00]File name is /storage/kkm_last_timestamp [13:23:00]Write 4 bytes [13:23:00]NVStorageSaveData done [13:23:00]ExternCall_PrintAddStr [13:23:00]wPrintStart [13:23:00]Write to MH i2c: 01 00 00 87 00 87 [13:23:00]Write i2c OK [13:23:00]MH_I2C_Read... [13:23:00]Read from MH i2c: 01 [13:23:00]MH_I2C_Read... [13:23:00]Read from MH i2c: 01 07 00 [13:23:00]MH_I2C_Read... [13:23:00]Read from MH i2c: 01 07 00 87 00 00 00 00 00 00 FF 0F 9C [13:23:00]RasterBufferAndPrint [13:23:00]line Счет N : (3)32875 [13:23:00]line ИНН: 02508201610067 [13:23:00]line Контрольно-Кассовый Чек [13:23:00]line ПРОДАЖА [13:23:00]line Товар: 5449000189394 [13:23:00]line Холодный чай Fuse ягода 0,5л [13:23:00]line 1.000 * 65.00 [13:23:00]line = 65.00 [13:23:00]line НДС 12% НСП 1% [13:23:00]line > о реализуемом товаре [13:23:00]line Товар: 4870112002775 [13:23:00]line Шок батончик ALBENI BITES 80гр [13:23:00]line 1.000 * 75.00 [13:23:00]line = 75.00 [13:23:00]line НДС 12% НСП 1% [13:23:00]line > о реализуемом товаре [13:23:00]line ИТОГО: 140.00 [13:23:00]line НСП 1% : 1.23 [13:23:00]line НДС 12% : 14.86 [13:23:00]line Наличными: 140.00 [13:23:00]line Безнал.: 0.00 [13:23:00]line Место: АЗС № 106 "Партнер Нефть" [13:23:00]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [13:23:00]line СНО: Общий режим [13:23:00]line Чек 15 21.04.2024 13:22 [13:23:00]line Смена: 281 ФФД: 1.0 [13:23:00]line ЗНМ: 0300000004 [13:23:00]line РНМ: 0000000000100748 [13:23:00]line Версия ККМ: 001 [13:23:00]line ФМ: 0000000000965685 [13:23:00]line ФД: 12603 [13:23:00]line ФПД: 93428038581489 [13:23:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T132258&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12603&fm=93428038581489&tin=02508201610067®Number=0000000000100748&sum=14000 [13:23:00]line 0 [13:23:00]written 0, free lines is 4095 [13:23:00]OFD Sender: Processing packet 12603 [packets to send 7, broken 6] [13:23:00]ProducePacketName [13:23:00]name=ofd_packets/00012603 [13:23:00]OFD Sender: To server: pG, [13:23:00]CommunicateWithHost lk.salyk.kg:30040 [13:23:00]ConnectInit lk.salyk.kg [13:23:00]Connected sock=10 [13:23:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 A6 01 00 00 79 D1 9E 01 04 E5 5A 03 01 00 03 00 92 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 39 34 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D1 8F D0 B3 D0 BE D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CE 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 32 13 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 3B 31 00 00 35 04 06 00 54 F8 E9 0D 3C F1 7E 23 4D D7 56 ED 75 B8 [13:23:00]Write to MH i2c: 01 00 00 B5 00 B5 [13:23:00]Write i2c OK [13:23:00]MH_I2C_Read... [13:23:00]Read from MH i2c: 01 [13:23:00]MH_I2C_Read... [13:23:00]Read from MH i2c: 01 07 00 [13:23:00]MH_I2C_Read... [13:23:00]Read from MH i2c: 01 07 00 B5 00 00 00 00 00 00 8D 0C 55 [13:23:00]RasterBufferAndPrint [13:23:00]line [13:23:00]line [13:23:00]line [13:23:00]line [13:23:00]line [13:23:00]written 0, free lines is 3238 [13:23:00]MH_Cut [13:23:00]Write to MH i2c: D1 01 00 BC 00 01 8E [13:23:00]Write i2c OK [13:23:00]MH_I2C_Read... [13:23:00]Read from MH i2c: D1 [13:23:00]MH_I2C_Read... [13:23:00]Read from MH i2c: D1 01 00 [13:23:00]MH_I2C_Read... [13:23:00]Read from MH i2c: D1 01 00 BC 00 00 8D [13:23:00]Write to MH i2c: 01 00 00 BD 00 BD [13:23:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 3D 4D 47 00 6E 75 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 3B 31 00 00 F4 03 04 00 B3 BB 24 66 B6 04 01 00 00 C9 E7 71 28 DF FB CF 4E [13:23:01]CommunicateWithHost err = 0 [13:23:01]CheckOFDResponse [13:23:01]1017 (14) - 77093643461234 [13:23:01]1041 (16) - 0000000000965685 [13:23:01]1040 (4) - 12603 [13:23:01]1012 (4) - 21.04.2024 07:09 [13:23:01]1206 (1) - 0 [13:23:01]OFD Sender: Remove packet 12603 [13:23:01]ProducePacketName [13:23:01]name=ofd_packets/00012603 [13:23:01]NVStorageDeleteData [13:23:01]Write i2c OK [13:23:01]MH_I2C_Read... [13:23:01]OFD Sender: No OFD packet to send [13:23:01]*** Cut start [13:23:01]*** Partial cut [13:23:01]*** CUTSNS_PIN = 1 [13:23:01]*** CUTSNS_PIN = 0 [13:23:02]*** Brake cut motor [13:23:02]Read from MH i2c: 01 [13:23:02]MH_I2C_Read... [13:23:02]*** Stop cut motor [13:23:02]*** Cut end [13:23:02]Read from MH i2c: 01 07 00 [13:23:02]MH_I2C_Read... [13:23:02]Read from MH i2c: 01 07 00 BD 00 00 00 00 00 00 FF 0F D2 [13:23:02]process_action close_receipt done [13:23:02]requested_data is exist [13:23:02]produce_requested_data [13:23:02]requested_item fm.sn is exist - process it [13:23:02]wFMCommunicate request_size=4 [13:23:02]MH_SAM_APDU [13:23:02]CAPDU: 80 11 00 00 [13:23:02]Write to MH i2c: E2 08 00 BE 00 80 11 00 00 00 00 00 00 38 [13:23:02]Write i2c OK [13:23:02]MH_I2C_Read... [13:23:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:23:02]Read from MH i2c: E2 [13:23:02]MH_I2C_Read... [13:23:02]Read from MH i2c: E2 17 00 [13:23:02]MH_I2C_Read... [13:23:02]Read from MH i2c: E2 17 00 BE 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 92 [13:23:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [13:23:02]wFMCommunicate OK [13:23:02]requested_item fd.num is exist - process it [13:23:02]SAM_PROTO_GetFieldsCounters [13:23:02]wFMCommunicate request_size=4 [13:23:02]MH_SAM_APDU [13:23:02]CAPDU: 80 13 00 00 [13:23:02]Write to MH i2c: E2 08 00 BF 00 80 13 00 00 00 00 00 00 3B [13:23:02]Write i2c OK [13:23:02]MH_I2C_Read... [13:23:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:23:02]Read from MH i2c: E2 [13:23:02]MH_I2C_Read... [13:23:02]Read from MH i2c: E2 62 00 [13:23:02]MH_I2C_Read... [13:23:02]Read from MH i2c: E2 62 00 BF 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 3B 31 00 00 0E 04 04 00 19 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 11 [13:23:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 3B 31 00 00 0E 04 04 00 19 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 [13:23:02]wFMCommunicate OK [13:23:02]SAM_PROTO_GetFieldsCounters done [13:23:02]requested_item shift.num is exist - process it [13:23:02]requested_item shift.opened is exist - process it [13:23:02]req_shift_opened [13:23:02]FM_GetShiftState [13:23:02]SAM_PROTO_GetShiftState [13:23:02]wFMCommunicate request_size=4 [13:23:02]MH_SAM_APDU [13:23:02]CAPDU: 80 13 01 00 [13:23:02]Write to MH i2c: E2 08 00 C0 00 80 13 01 00 00 00 00 00 3D [13:23:02]Write i2c OK [13:23:02]MH_I2C_Read... [13:23:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:23:02]Read from MH i2c: E2 [13:23:02]MH_I2C_Read... [13:23:02]Read from MH i2c: E2 0E 00 [13:23:02]MH_I2C_Read... [13:23:02]Read from MH i2c: E2 0E 00 C0 00 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 95 [13:23:02]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [13:23:02]wFMCommunicate OK [13:23:02]SAM_PROTO_GetShiftState done [13:23:02]FM_GetShiftState done [13:23:02]req_shift_opened done [13:23:02]requested_item shift.open_date is exist - process it [13:23:02]req_shift_open_date [13:23:02]req_shift_open_date done [13:23:02]produce_requested_data done [13:23:02]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12603,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [13:23:02]process_action_free close_receipt [13:23:02]json_value_free [13:23:02]json_value_free done [13:23:02]process_json_proto returns [13:23:02]Send response to host [13:23:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12603,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [13:23:02]free response buf [13:23:02]execute_script done [13:23:02]execute_script returns [13:23:02]free content buf [13:23:02]Sock 9.Close socket [13:23:02]Sock 9.Thread stoped [13:23:04]accept exits with 7 [13:23:04]New connection [13:23:04]New thread 3067190628 created [13:23:04]Thread 3067047268 joined [13:23:04]Waiting for new connection... [13:23:04] Sock 7.Parse request [13:23:04]Sock 7.Check first char [13:23:04]Sock 7.First char is OK [13:23:04]request: POST /json_proto HTTP/1.0 [13:23:04]Method: POST [13:23:04]URL: /json_proto [13:23:04]Method is POST - this is cgi request [13:23:04]url: /json_proto [13:23:04]query_string will be loaded in cgi processing [13:23:04]execute_cgi json_proto POST (null) [13:23:04]execute_cgi path=json_proto method=POST [13:23:04]POST find Content-Length [13:23:04]Host: 172.17.62.6:8080 [13:23:04]Content-Length: 1209 [13:23:04]Content-Type: application/json [13:23:04] [13:23:04]POST finish read [13:23:04]Found Content-Length = 1209 [13:23:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32876", "tax_sys" : 0, "items" : [ { "code": "5449000189318", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043B\u0438\u043C\u043E\u043D 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4602606003728", "name": "\u041C\u0430\u0440-\u0434 Fruit-tella \u0437\u043C\u0435\u0438 XXL 30*70\u0433", "price" : 103.00, "quantity" : 1.000, "sum" : 103.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46214621", "name": "\u0420/\u0436 mentos \u0442\u0443\u0442\u0442\u0438-\u0444\u0440\u0443\u0442\u0442\u0438 \u0440\u043E\u043B\u043B 16\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 272.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:23:04]execute_script... [13:23:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32876", "tax_sys" : 0, "items" : [ { "code": "5449000189318", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043B\u0438\u043C\u043E\u043D 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4602606003728", "name": "\u041C\u0430\u0440-\u0434 Fruit-tella \u0437\u043C\u0435\u0438 XXL 30*70\u0433", "price" : 103.00, "quantity" : 1.000, "sum" : 103.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46214621", "name": "\u0420/\u0436 mentos \u0442\u0443\u0442\u0442\u0438-\u0444\u0440\u0443\u0442\u0442\u0438 \u0440\u043E\u043B\u043B 16\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 272.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:23:04]POST & json_proto [13:23:04]process_json_proto [13:23:04]json parsed OK: [13:23:04]protocol is kg_v1.0 [13:23:04]action value=close_receipt [13:23:04]process_action close_receipt [13:23:04]cmd_close_receipt [13:23:04]MH_GetDate [13:23:04]Write to MH i2c: F0 00 00 C1 00 B0 [13:23:04]Write i2c OK [13:23:04]MH_I2C_Read... [13:23:04]Read from MH i2c: F0 [13:23:04]MH_I2C_Read... [13:23:04]Read from MH i2c: F0 09 00 [13:23:04]MH_I2C_Read... [13:23:04]Read from MH i2c: F0 09 00 C1 00 00 38 13 25 66 61 69 D2 64 8F [13:23:04]GetLastDocTimeStamp 1713705778 [13:23:04]current date 1713705784 [13:23:04]FM_GetShiftState [13:23:04]SAM_PROTO_GetShiftState [13:23:04]wFMCommunicate request_size=4 [13:23:04]MH_SAM_APDU [13:23:04]CAPDU: 80 13 01 00 [13:23:04]Write to MH i2c: E2 08 00 C2 00 80 13 01 00 00 00 00 00 3F [13:23:04]Write i2c OK [13:23:04]MH_I2C_Read... [13:23:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:23:04]Read from MH i2c: E2 [13:23:04]MH_I2C_Read... [13:23:04]Read from MH i2c: E2 0E 00 [13:23:04]MH_I2C_Read... [13:23:04]Read from MH i2c: E2 0E 00 C2 00 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 97 [13:23:04]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [13:23:04]wFMCommunicate OK [13:23:04]SAM_PROTO_GetShiftState done [13:23:04]FM_GetShiftState done [13:23:04]opened in 1713658727 [13:23:04]opened+sec_in_day 1713745127 [13:23:04]quantity*price = 12000 [13:23:04]sum+1 = 12001 [13:23:04]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4602606003728 Мар-д Fruit-tella змеи XXL 30*70г 1.000 * 103.00 = 103.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 46214621 Р/ж mentos тутти-фрутти ролл 16г 1.000 * 49.00 = 49.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 272.00 НСП 1% : 2.40 НДС 12% : 28.88 Наличными: 272.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 16 21.04.2024 13:23 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12604 ФПД: 182282842998662 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T132304&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12604&fm=182282842998662&tin=02508201610067®Number=0000000000100748&sum=27200 0 [13:23:05]StoreToDocumentArchive [13:23:05]shift 281 fd 12604 [13:23:05]save to /storage/0281/doc_00012604 [13:23:05]save last doc name /storage/0281/doc_00012604 to /storage/kkm_last_doc_name [13:23:05]save OK [13:23:05]Clear old archive folders... [13:23:05]ProcessDocumentItem done err = 0, tmpTLVsize=516 [13:23:05]tlvbuf is 01986350 [13:23:05]SAM_PROTO_ClearQueue [13:23:05]wFMCommunicate request_size=4 [13:23:05]MH_SAM_APDU [13:23:05]CAPDU: 80 09 00 00 [13:23:05]Write to MH i2c: E2 08 00 CF 00 80 09 00 00 00 00 00 00 41 [13:23:05]Write i2c OK [13:23:05]MH_I2C_Read... [13:23:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:23:05]Read from MH i2c: E2 [13:23:05]MH_I2C_Read... [13:23:05]Read from MH i2c: E2 03 00 [13:23:05]MH_I2C_Read... [13:23:05]Read from MH i2c: E2 03 00 CF 00 00 90 00 43 [13:23:05]RAPDU: 90 00 [13:23:05]wFMCommunicate OK [13:23:05]SAM_PROTO_ClearQueue done [13:23:05]KKMCreateOFDPacket [13:23:05]OFDProtocolAddRootSTLVToBuf [13:23:05]FM_MakeSignedData [13:23:05]FM_MakeSignedData [13:23:05]SAM_PROTO_SignData [13:23:05]wFMCommunicate request_size=4 [13:23:05]MH_SAM_APDU [13:23:05]CAPDU: 80 0D 01 02 [13:23:05]Write to MH i2c: E2 08 00 D0 00 80 0D 01 02 00 00 00 00 49 [13:23:05]Write i2c OK [13:23:05]MH_I2C_Read... [13:23:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:23:05]Read from MH i2c: E2 [13:23:05]MH_I2C_Read... [13:23:05]Read from MH i2c: E2 03 00 [13:23:05]MH_I2C_Read... [13:23:05]Read from MH i2c: E2 03 00 D0 00 00 90 00 44 [13:23:05]RAPDU: 90 00 [13:23:05]wFMCommunicate OK [13:23:05]wFMCommunicate request_size=255 [13:23:05]MH_SAM_APDU [13:23:05]CAPDU: 80 0D 02 02 FA 03 00 04 02 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 30 32 36 30 36 30 30 33 37 32 38 06 04 2A 00 D0 9C D0 B0 D1 80 2D D0 B4 20 46 72 75 69 74 2D 74 65 6C 6C 61 20 D0 B7 D0 BC D0 B5 D0 B8 20 58 58 4C 20 33 30 2A 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 28 00 00 00 00 13 04 06 00 3C 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 32 31 [13:23:06]Write to MH i2c: E2 02 01 D1 00 80 0D 02 02 FA 00 03 00 04 02 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 30 32 36 30 36 30 30 33 37 32 38 06 04 2A 00 D0 9C D0 B0 D1 80 2D D0 B4 20 46 72 75 69 74 2D 74 65 6C 6C 61 20 D0 B7 D0 BC D0 B5 D0 B8 20 58 58 4C 20 33 30 2A 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 28 00 00 00 00 13 04 06 00 3C 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 32 31 00 00 B0 [13:23:06]Write i2c OK [13:23:06]MH_I2C_Read... [13:23:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:23:06]Read from MH i2c: E2 [13:23:06]MH_I2C_Read... [13:23:06]Read from MH i2c: E2 03 00 [13:23:06]MH_I2C_Read... [13:23:06]Read from MH i2c: E2 03 00 D1 00 00 90 00 45 [13:23:06]RAPDU: 90 00 [13:23:06]wFMCommunicate OK [13:23:06]wFMCommunicate request_size=255 [13:23:06]MH_SAM_APDU [13:23:06]CAPDU: 80 0D 02 02 FA 34 36 32 31 06 04 32 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D1 82 D1 83 D1 82 D1 82 D0 B8 2D D1 84 D1 80 D1 83 D1 82 D1 82 D0 B8 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 6A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 0B 00 00 00 00 07 04 06 00 40 6A 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 38 13 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 [13:23:06]Write to MH i2c: E2 02 01 D2 00 80 0D 02 02 FA 00 34 36 32 31 06 04 32 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D1 82 D1 83 D1 82 D1 82 D0 B8 2D D1 84 D1 80 D1 83 D1 82 D1 82 D0 B8 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 6A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 0B 00 00 00 00 07 04 06 00 40 6A 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 38 13 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 00 00 1D [13:23:06]OFD Sender: No OFD packet to send [13:23:06]Write i2c OK [13:23:06]MH_I2C_Read... [13:23:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:23:06]Read from MH i2c: E2 [13:23:06]MH_I2C_Read... [13:23:06]Read from MH i2c: E2 03 00 [13:23:06]MH_I2C_Read... [13:23:06]Read from MH i2c: E2 03 00 D2 00 00 90 00 46 [13:23:06]RAPDU: 90 00 [13:23:06]wFMCommunicate OK [13:23:06]wFMCommunicate request_size=25 [13:23:06]MH_SAM_APDU [13:23:06]CAPDU: 80 0D 02 02 14 38 35 10 04 04 00 3C 31 00 00 35 04 06 00 A5 C9 08 1B 07 86 [13:23:06]Write to MH i2c: E2 1C 00 D3 00 80 0D 02 02 14 00 38 35 10 04 04 00 3C 31 00 00 35 04 06 00 A5 C9 08 1B 07 86 00 00 C4 [13:23:06]Write i2c OK [13:23:06]MH_I2C_Read... [13:23:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:23:06]Read from MH i2c: E2 [13:23:06]MH_I2C_Read... [13:23:06]Read from MH i2c: E2 03 00 [13:23:06]MH_I2C_Read... [13:23:07]Read from MH i2c: E2 03 00 D3 00 00 90 00 47 [13:23:07]RAPDU: 90 00 [13:23:07]wFMCommunicate OK [13:23:07]wFMCommunicate request_size=4 [13:23:07]MH_SAM_APDU [13:23:07]CAPDU: 80 0D 03 02 [13:23:07]Write to MH i2c: E2 08 00 D4 00 80 0D 03 02 00 00 00 00 4F [13:23:07]Write i2c OK [13:23:07]MH_I2C_Read... [13:23:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:23:07]Read from MH i2c: E2 [13:23:07]MH_I2C_Read... [13:23:07]Read from MH i2c: E2 0B 00 [13:23:07]MH_I2C_Read... [13:23:07]Read from MH i2c: E2 0B 00 D4 00 00 49 41 75 94 2A 21 70 71 90 00 0F [13:23:07]RAPDU: 49 41 75 94 2A 21 70 71 90 00 [13:23:07]wFMCommunicate OK [13:23:07]SAM_PROTO_SignData done [13:23:07]FM_MakeSignedData done [13:23:07]CreateOFDProtocolMessage [13:23:07]wFMCommunicate request_size=4 [13:23:07]MH_SAM_APDU [13:23:07]CAPDU: 80 11 00 00 [13:23:07]Write to MH i2c: E2 08 00 D5 00 80 11 00 00 00 00 00 00 4F [13:23:07]Write i2c OK [13:23:07]MH_I2C_Read... [13:23:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:23:07]Read from MH i2c: E2 [13:23:07]MH_I2C_Read... [13:23:07]Read from MH i2c: E2 17 00 [13:23:07]MH_I2C_Read... [13:23:07]Read from MH i2c: E2 17 00 D5 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 A9 [13:23:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [13:23:07]wFMCommunicate OK [13:23:07]CreateOFDProtocolMessage done [13:23:07]OFDSenderStorePacket 12604 [13:23:07]StoreOFDPacket docnum=12604 [13:23:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 18 02 00 00 E0 2B 10 02 06 89 5A 03 01 00 03 00 04 02 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 30 32 36 30 36 30 30 33 37 32 38 06 04 2A 00 D0 9C D0 B0 D1 80 2D D0 B4 20 46 72 75 69 74 2D 74 65 6C 6C 61 20 D0 B7 D0 BC D0 B5 D0 B8 20 58 58 4C 20 33 30 2A 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 28 00 00 00 00 13 04 06 00 3C 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 32 31 34 36 32 31 06 04 32 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D1 82 D1 83 D1 82 D1 82 D0 B8 2D D1 84 D1 80 D1 83 D1 82 D1 82 D0 B8 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 6A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 0B 00 00 00 00 07 04 06 00 40 6A 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 38 13 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 3C 31 00 00 35 04 06 00 A5 C9 08 1B 07 86 49 41 75 94 2A 21 70 71 [13:23:07]CheckFolder [13:23:07]dirname=/storage/ofd_packets [13:23:07]CheckFolder done [13:23:07]ProducePacketName [13:23:07]name=ofd_packets/00012604 [13:23:07]NVStorageSaveData ofd_packets/00012604 [13:23:07]File name is /storage/ofd_packets/00012604 [13:23:07]Write 566 bytes [13:23:07]NVStorageSaveData done [13:23:07]OFDSenderStorePacket done [13:23:07]KKMCreateOFDPacket done [13:23:07]NVStorageSaveData kkm_last_timestamp [13:23:07]File name is /storage/kkm_last_timestamp [13:23:07]Write 4 bytes [13:23:07]NVStorageSaveData done [13:23:07]ExternCall_PrintAddStr [13:23:07]wPrintStart [13:23:07]Write to MH i2c: 01 00 00 D6 00 D6 [13:23:07]Write i2c OK [13:23:07]MH_I2C_Read... [13:23:07]Read from MH i2c: 01 [13:23:07]MH_I2C_Read... [13:23:07]Read from MH i2c: 01 07 00 [13:23:07]MH_I2C_Read... [13:23:07]Read from MH i2c: 01 07 00 D6 00 00 00 00 00 00 FF 0F EB [13:23:07]RasterBufferAndPrint [13:23:07]line Счет N : (3)32876 [13:23:07]line ИНН: 02508201610067 [13:23:07]line Контрольно-Кассовый Чек [13:23:07]line ПРОДАЖА [13:23:07]line Товар: 5449000189318 [13:23:07]line Холодный чай Fuse лимон 1л [13:23:07]line 1.000 * 120.00 [13:23:07]line = 120.00 [13:23:07]line НДС 12% НСП 1% [13:23:07]line > о реализуемом товаре [13:23:07]line Товар: 4602606003728 [13:23:07]line Мар-д Fruit-tella змеи XXL 30*70г [13:23:07]line 1.000 * 103.00 [13:23:07]line = 103.00 [13:23:07]line НДС 12% НСП 1% [13:23:07]line > о реализуемом товаре [13:23:07]line Товар: 46214621 [13:23:07]line Р/ж mentos тутти-фрутти ролл 16г [13:23:07]line 1.000 * 49.00 [13:23:07]line = 49.00 [13:23:07]line НДС 12% НСП 1% [13:23:07]line > о реализуемом товаре [13:23:07]line ИТОГО: 272.00 [13:23:07]line НСП 1% : 2.40 [13:23:07]line НДС 12% : 28.88 [13:23:07]line Наличными: 272.00 [13:23:07]line Безнал.: 0.00 [13:23:07]line Место: АЗС № 106 "Партнер Нефть" [13:23:07]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [13:23:07]line СНО: Общий режим [13:23:07]line Чек 16 21.04.2024 13:23 [13:23:07]line Смена: 281 ФФД: 1.0 [13:23:07]line ЗНМ: 0300000004 [13:23:07]line РНМ: 0000000000100748 [13:23:07]line Версия ККМ: 001 [13:23:07]line ФМ: 0000000000965685 [13:23:07]line ФД: 12604 [13:23:07]line ФПД: 182282842998662 [13:23:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T132304&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12604&fm=182282842998662&tin=02508201610067®Number=0000000000100748&sum=27200 [13:23:07]line 0 [13:23:07]written 0, free lines is 4095 [13:23:07]OFD Sender: Processing packet 12604 [packets to send 7, broken 6] [13:23:07]ProducePacketName [13:23:07]name=ofd_packets/00012604 [13:23:07]OFD Sender: To server: pG, [13:23:07]CommunicateWithHost lk.salyk.kg:30040 [13:23:07]ConnectInit lk.salyk.kg [13:23:07]Connected sock=10 [13:23:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 18 02 00 00 E0 2B 10 02 06 89 5A 03 01 00 03 00 04 02 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 30 32 36 30 36 30 30 33 37 32 38 06 04 2A 00 D0 9C D0 B0 D1 80 2D D0 B4 20 46 72 75 69 74 2D 74 65 6C 6C 61 20 D0 B7 D0 BC D0 B5 D0 B8 20 58 58 4C 20 33 30 2A 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 28 00 00 00 00 13 04 06 00 3C 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 32 31 34 36 32 31 06 04 32 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D1 82 D1 83 D1 82 D1 82 D0 B8 2D D1 84 D1 80 D1 83 D1 82 D1 82 D0 B8 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 6A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 0B 00 00 00 00 07 04 06 00 40 6A 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 38 13 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 3C 31 00 00 35 04 06 00 A5 C9 08 1B 07 86 49 41 75 94 2A 21 70 71 [13:23:07]Write to MH i2c: 01 00 00 0B 01 0C [13:23:07]Write i2c OK [13:23:07]MH_I2C_Read... [13:23:07]Read from MH i2c: 01 [13:23:07]MH_I2C_Read... [13:23:07]Read from MH i2c: 01 07 00 [13:23:07]MH_I2C_Read... [13:23:07]Read from MH i2c: 01 07 00 0B 01 00 00 00 00 00 3A 0C 59 [13:23:07]RasterBufferAndPrint [13:23:07]line [13:23:07]line [13:23:07]line [13:23:07]line [13:23:07]line [13:23:07]written 0, free lines is 3153 [13:23:07]MH_Cut [13:23:07]Write to MH i2c: D1 01 00 12 01 01 E5 [13:23:07]Write i2c OK [13:23:07]MH_I2C_Read... [13:23:07]Read from MH i2c: D1 [13:23:07]MH_I2C_Read... [13:23:07]Read from MH i2c: D1 01 00 [13:23:07]MH_I2C_Read... [13:23:07]Read from MH i2c: D1 01 00 12 01 00 E4 [13:23:07]Write to MH i2c: 01 00 00 13 01 14 [13:23:07]Write i2c OK [13:23:07]MH_I2C_Read... [13:23:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 06 5D 47 00 AE 4E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 3C 31 00 00 F4 03 04 00 BA BB 24 66 B6 04 01 00 00 12 F4 74 8F 0A 30 A1 31 [13:23:07]CommunicateWithHost err = 0 [13:23:07]CheckOFDResponse [13:23:07]1017 (14) - 77093643461234 [13:23:07]1041 (16) - 0000000000965685 [13:23:07]1040 (4) - 12604 [13:23:07]1012 (4) - 21.04.2024 07:09 [13:23:07]1206 (1) - 0 [13:23:07]OFD Sender: Remove packet 12604 [13:23:07]ProducePacketName [13:23:07]name=ofd_packets/00012604 [13:23:07]NVStorageDeleteData [13:23:08]OFD Sender: No OFD packet to send [13:23:08]*** Cut start [13:23:08]*** Partial cut [13:23:08]*** CUTSNS_PIN = 1 [13:23:08]*** CUTSNS_PIN = 0 [13:23:08]*** Brake cut motor [13:23:09]Read from MH i2c: 01 [13:23:09]MH_I2C_Read... [13:23:09]*** Stop cut motor [13:23:09]*** Cut end [13:23:09]Read from MH i2c: 01 07 00 [13:23:09]MH_I2C_Read... [13:23:09]Read from MH i2c: 01 07 00 13 01 00 00 00 00 00 FF 0F 29 [13:23:09]process_action close_receipt done [13:23:09]requested_data is exist [13:23:09]produce_requested_data [13:23:09]requested_item fm.sn is exist - process it [13:23:09]wFMCommunicate request_size=4 [13:23:09]MH_SAM_APDU [13:23:09]CAPDU: 80 11 00 00 [13:23:09]Write to MH i2c: E2 08 00 14 01 80 11 00 00 00 00 00 00 8F [13:23:09]Write i2c OK [13:23:09]MH_I2C_Read... [13:23:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:23:09]Read from MH i2c: E2 [13:23:09]MH_I2C_Read... [13:23:09]Read from MH i2c: E2 17 00 [13:23:09]MH_I2C_Read... [13:23:09]Read from MH i2c: E2 17 00 14 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 E9 [13:23:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [13:23:09]wFMCommunicate OK [13:23:09]requested_item fd.num is exist - process it [13:23:09]SAM_PROTO_GetFieldsCounters [13:23:09]wFMCommunicate request_size=4 [13:23:09]MH_SAM_APDU [13:23:09]CAPDU: 80 13 00 00 [13:23:09]Write to MH i2c: E2 08 00 15 01 80 13 00 00 00 00 00 00 92 [13:23:09]Write i2c OK [13:23:09]MH_I2C_Read... [13:23:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:23:09]Read from MH i2c: E2 [13:23:09]MH_I2C_Read... [13:23:09]Read from MH i2c: E2 62 00 [13:23:09]MH_I2C_Read... [13:23:09]Read from MH i2c: E2 62 00 15 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 3C 31 00 00 0E 04 04 00 19 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 6C [13:23:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 3C 31 00 00 0E 04 04 00 19 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 [13:23:09]wFMCommunicate OK [13:23:09]SAM_PROTO_GetFieldsCounters done [13:23:09]requested_item shift.num is exist - process it [13:23:09]requested_item shift.opened is exist - process it [13:23:09]req_shift_opened [13:23:09]FM_GetShiftState [13:23:09]SAM_PROTO_GetShiftState [13:23:09]wFMCommunicate request_size=4 [13:23:09]MH_SAM_APDU [13:23:09]CAPDU: 80 13 01 00 [13:23:09]Write to MH i2c: E2 08 00 16 01 80 13 01 00 00 00 00 00 94 [13:23:09]Write i2c OK [13:23:09]MH_I2C_Read... [13:23:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:23:09]Read from MH i2c: E2 [13:23:09]MH_I2C_Read... [13:23:09]Read from MH i2c: E2 0E 00 [13:23:09]MH_I2C_Read... [13:23:09]Read from MH i2c: E2 0E 00 16 01 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 EC [13:23:09]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [13:23:09]wFMCommunicate OK [13:23:09]SAM_PROTO_GetShiftState done [13:23:09]FM_GetShiftState done [13:23:09]req_shift_opened done [13:23:09]requested_item shift.open_date is exist - process it [13:23:09]req_shift_open_date [13:23:09]req_shift_open_date done [13:23:09]produce_requested_data done [13:23:09]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12604,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [13:23:09]process_action_free close_receipt [13:23:09]json_value_free [13:23:09]json_value_free done [13:23:09]process_json_proto returns [13:23:09]Send response to host [13:23:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12604,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [13:23:09]free response buf [13:23:09]execute_script done [13:23:09]execute_script returns [13:23:09]free content buf [13:23:09]Sock 7.Close socket [13:23:09]Sock 7.Thread stoped [13:23:10]accept exits with 9 [13:23:10]New connection [13:23:10]New thread 3067047268 created [13:23:10]Thread 3067190628 joined [13:23:10]Waiting for new connection... [13:23:10] Sock 9.Parse request [13:23:10]Sock 9.Check first char [13:23:10]Sock 9.First char is OK [13:23:10]request: POST /json_proto HTTP/1.0 [13:23:10]Method: POST [13:23:10]URL: /json_proto [13:23:10]Method is POST - this is cgi request [13:23:10]url: /json_proto [13:23:10]query_string will be loaded in cgi processing [13:23:10]execute_cgi json_proto POST (null) [13:23:10]execute_cgi path=json_proto method=POST [13:23:10]POST find Content-Length [13:23:10]Host: 172.17.62.6:8080 [13:23:10]Content-Length: 673 [13:23:10]Content-Type: application/json [13:23:10] [13:23:10]POST finish read [13:23:10]Found Content-Length = 673 [13:23:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32877", "tax_sys" : 0, "items" : [ { "code": "5449000189325", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 0,5\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:23:10]execute_script... [13:23:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32877", "tax_sys" : 0, "items" : [ { "code": "5449000189325", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 0,5\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:23:10]POST & json_proto [13:23:10]process_json_proto [13:23:10]json parsed OK: [13:23:10]protocol is kg_v1.0 [13:23:10]action value=close_receipt [13:23:10]process_action close_receipt [13:23:10]cmd_close_receipt [13:23:10]MH_GetDate [13:23:10]Write to MH i2c: F0 00 00 17 01 07 [13:23:10]Write i2c OK [13:23:10]MH_I2C_Read... [13:23:10]Read from MH i2c: F0 [13:23:10]MH_I2C_Read... [13:23:10]Read from MH i2c: F0 09 00 [13:23:10]MH_I2C_Read... [13:23:10]Read from MH i2c: F0 09 00 17 01 00 3E 13 25 66 61 69 D2 64 EC [13:23:10]GetLastDocTimeStamp 1713705784 [13:23:10]current date 1713705790 [13:23:10]FM_GetShiftState [13:23:10]SAM_PROTO_GetShiftState [13:23:10]wFMCommunicate request_size=4 [13:23:10]MH_SAM_APDU [13:23:10]CAPDU: 80 13 01 00 [13:23:10]Write to MH i2c: E2 08 00 18 01 80 13 01 00 00 00 00 00 96 [13:23:10]Write i2c OK [13:23:10]MH_I2C_Read... [13:23:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:23:10]Read from MH i2c: E2 [13:23:10]MH_I2C_Read... [13:23:10]Read from MH i2c: E2 0E 00 [13:23:10]MH_I2C_Read... [13:23:10]Read from MH i2c: E2 0E 00 18 01 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 EE [13:23:10]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [13:23:10]wFMCommunicate OK [13:23:10]SAM_PROTO_GetShiftState done [13:23:10]FM_GetShiftState done [13:23:10]opened in 1713658727 [13:23:10]opened+sec_in_day 1713745127 [13:23:10]quantity*price = 6500 [13:23:10]sum+1 = 6501 [13:23:10]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 17 21.04.2024 13:23 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12605 ФПД: 123038864532454 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T132310&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12605&fm=123038864532454&tin=02508201610067®Number=0000000000100748&sum=6500 0 [13:23:12]StoreToDocumentArchive [13:23:12]shift 281 fd 12605 [13:23:12]save to /storage/0281/doc_00012605 [13:23:12]save last doc name /storage/0281/doc_00012605 to /storage/kkm_last_doc_name [13:23:12]save OK [13:23:12]Clear old archive folders... [13:23:12]ProcessDocumentItem done err = 0, tmpTLVsize=289 [13:23:12]tlvbuf is 01A1A3F0 [13:23:12]SAM_PROTO_ClearQueue [13:23:12]wFMCommunicate request_size=4 [13:23:12]MH_SAM_APDU [13:23:12]CAPDU: 80 09 00 00 [13:23:12]Write to MH i2c: E2 08 00 25 01 80 09 00 00 00 00 00 00 98 [13:23:12]Write i2c OK [13:23:12]MH_I2C_Read... [13:23:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:23:12]Read from MH i2c: E2 [13:23:12]MH_I2C_Read... [13:23:12]Read from MH i2c: E2 03 00 [13:23:12]MH_I2C_Read... [13:23:12]Read from MH i2c: E2 03 00 25 01 00 90 00 9A [13:23:12]RAPDU: 90 00 [13:23:12]wFMCommunicate OK [13:23:12]SAM_PROTO_ClearQueue done [13:23:12]KKMCreateOFDPacket [13:23:12]OFDProtocolAddRootSTLVToBuf [13:23:12]FM_MakeSignedData [13:23:12]FM_MakeSignedData [13:23:12]SAM_PROTO_SignData [13:23:12]wFMCommunicate request_size=4 [13:23:12]MH_SAM_APDU [13:23:12]CAPDU: 80 0D 01 02 [13:23:12]Write to MH i2c: E2 08 00 26 01 80 0D 01 02 00 00 00 00 A0 [13:23:12]Write i2c OK [13:23:12]MH_I2C_Read... [13:23:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:23:12]Read from MH i2c: E2 [13:23:12]MH_I2C_Read... [13:23:12]Read from MH i2c: E2 03 00 [13:23:12]MH_I2C_Read... [13:23:12]Read from MH i2c: E2 03 00 26 01 00 90 00 9B [13:23:12]RAPDU: 90 00 [13:23:12]wFMCommunicate OK [13:23:12]wFMCommunicate request_size=255 [13:23:12]MH_SAM_APDU [13:23:12]CAPDU: 80 0D 02 02 FA 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 32 35 06 04 2F 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 3E 13 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 [13:23:12]Write to MH i2c: E2 02 01 27 01 80 0D 02 02 FA 00 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 32 35 06 04 2F 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 3E 13 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 00 00 EB [13:23:12]Write i2c OK [13:23:12]MH_I2C_Read... [13:23:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:23:13]Read from MH i2c: E2 [13:23:13]MH_I2C_Read... [13:23:13]Read from MH i2c: E2 03 00 [13:23:13]MH_I2C_Read... [13:23:13]Read from MH i2c: E2 03 00 27 01 00 90 00 9C [13:23:13]RAPDU: 90 00 [13:23:13]wFMCommunicate OK [13:23:13]wFMCommunicate request_size=48 [13:23:13]MH_SAM_APDU [13:23:13]CAPDU: 80 0D 02 02 2B 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 3D 31 00 00 35 04 06 00 6F E7 37 D0 63 E6 [13:23:13]Write to MH i2c: E2 33 00 28 01 80 0D 02 02 2B 00 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 3D 31 00 00 35 04 06 00 6F E7 37 D0 63 E6 00 00 B3 [13:23:13]Write i2c OK [13:23:13]MH_I2C_Read... [13:23:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:23:13]Read from MH i2c: E2 [13:23:13]MH_I2C_Read... [13:23:13]Read from MH i2c: E2 03 00 [13:23:13]MH_I2C_Read... [13:23:13]Read from MH i2c: E2 03 00 28 01 00 90 00 9D [13:23:13]RAPDU: 90 00 [13:23:13]wFMCommunicate OK [13:23:13]wFMCommunicate request_size=4 [13:23:13]MH_SAM_APDU [13:23:13]CAPDU: 80 0D 03 02 [13:23:13]Write to MH i2c: E2 08 00 29 01 80 0D 03 02 00 00 00 00 A5 [13:23:13]Write i2c OK [13:23:13]MH_I2C_Read... [13:23:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:23:13]Read from MH i2c: E2 [13:23:13]MH_I2C_Read... [13:23:13]Read from MH i2c: E2 0B 00 [13:23:13]MH_I2C_Read... [13:23:13]Read from MH i2c: E2 0B 00 29 01 00 85 29 F5 42 02 89 BE D4 90 00 A8 [13:23:13]RAPDU: 85 29 F5 42 02 89 BE D4 90 00 [13:23:13]wFMCommunicate OK [13:23:13]SAM_PROTO_SignData done [13:23:13]FM_MakeSignedData done [13:23:13]CreateOFDProtocolMessage [13:23:13]wFMCommunicate request_size=4 [13:23:13]MH_SAM_APDU [13:23:13]CAPDU: 80 11 00 00 [13:23:13]Write to MH i2c: E2 08 00 2A 01 80 11 00 00 00 00 00 00 A5 [13:23:13]Write i2c OK [13:23:13]MH_I2C_Read... [13:23:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:23:13]Read from MH i2c: E2 [13:23:13]MH_I2C_Read... [13:23:13]Read from MH i2c: E2 17 00 [13:23:13]MH_I2C_Read... [13:23:13]Read from MH i2c: E2 17 00 2A 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 FF [13:23:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [13:23:13]wFMCommunicate OK [13:23:13]CreateOFDProtocolMessage done [13:23:13]OFDSenderStorePacket 12605 [13:23:13]StoreOFDPacket docnum=12605 [13:23:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 35 01 00 00 A5 B0 2D 01 45 27 5A 03 01 00 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 32 35 06 04 2F 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 3E 13 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 3D 31 00 00 35 04 06 00 6F E7 37 D0 63 E6 85 29 F5 42 02 89 BE D4 [13:23:13]CheckFolder [13:23:13]dirname=/storage/ofd_packets [13:23:13]CheckFolder done [13:23:13]ProducePacketName [13:23:13]name=ofd_packets/00012605 [13:23:13]NVStorageSaveData ofd_packets/00012605 [13:23:13]File name is /storage/ofd_packets/00012605 [13:23:13]Write 339 bytes [13:23:13]NVStorageSaveData done [13:23:13]OFDSenderStorePacket done [13:23:13]KKMCreateOFDPacket done [13:23:13]NVStorageSaveData kkm_last_timestamp [13:23:13]File name is /storage/kkm_last_timestamp [13:23:13]Write 4 bytes [13:23:13]NVStorageSaveData done [13:23:13]ExternCall_PrintAddStr [13:23:13]wPrintStart [13:23:13]Write to MH i2c: 01 00 00 2B 01 2C [13:23:13]Write i2c OK [13:23:13]MH_I2C_Read... [13:23:13]Read from MH i2c: 01 [13:23:13]MH_I2C_Read... [13:23:13]Read from MH i2c: 01 07 00 [13:23:13]MH_I2C_Read... [13:23:13]Read from MH i2c: 01 07 00 2B 01 00 00 00 00 00 FF 0F 41 [13:23:13]RasterBufferAndPrint [13:23:13]line Счет N : (3)32877 [13:23:13]line ИНН: 02508201610067 [13:23:13]line Контрольно-Кассовый Чек [13:23:13]line ПРОДАЖА [13:23:13]line Товар: 5449000189325 [13:23:13]line Холодный чай Fuse персик 0,5л [13:23:13]line 1.000 * 65.00 [13:23:13]line = 65.00 [13:23:13]line НДС 12% НСП 1% [13:23:13]line > о реализуемом товаре [13:23:13]line ИТОГО: 65.00 [13:23:13]line НСП 1% : 0.57 [13:23:13]line НДС 12% : 6.90 [13:23:13]line Наличными: 65.00 [13:23:13]line Безнал.: 0.00 [13:23:13]line Место: АЗС № 106 "Партнер Нефть" [13:23:13]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [13:23:13]line СНО: Общий режим [13:23:13]line Чек 17 21.04.2024 13:23 [13:23:13]line Смена: 281 ФФД: 1.0 [13:23:13]line ЗНМ: 0300000004 [13:23:13]line РНМ: 0000000000100748 [13:23:13]line Версия ККМ: 001 [13:23:13]line ФМ: 0000000000965685 [13:23:13]line ФД: 12605 [13:23:13]line ФПД: 123038864532454 [13:23:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T132310&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12605&fm=123038864532454&tin=02508201610067®Number=0000000000100748&sum=6500 [13:23:13]line 0 [13:23:13]written 0, free lines is 4095 [13:23:13]OFD Sender: Processing packet 12605 [packets to send 7, broken 6] [13:23:13]ProducePacketName [13:23:13]name=ofd_packets/00012605 [13:23:13]OFD Sender: To server: pG, [13:23:13]CommunicateWithHost lk.salyk.kg:30040 [13:23:13]ConnectInit lk.salyk.kg [13:23:13]Connected sock=10 [13:23:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 35 01 00 00 A5 B0 2D 01 45 27 5A 03 01 00 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 32 35 06 04 2F 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 3E 13 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 3D 31 00 00 35 04 06 00 6F E7 37 D0 63 E6 85 29 F5 42 02 89 BE D4 [13:23:13]Write to MH i2c: 01 00 00 53 01 54 [13:23:13]Write i2c OK [13:23:13]MH_I2C_Read... [13:23:13]Read from MH i2c: 01 [13:23:13]MH_I2C_Read... [13:23:13]Read from MH i2c: 01 07 00 [13:23:13]MH_I2C_Read... [13:23:13]Read from MH i2c: 01 07 00 53 01 00 00 00 00 00 06 0D 6E [13:23:13]RasterBufferAndPrint [13:23:13]line [13:23:13]line [13:23:13]line [13:23:13]line [13:23:13]line [13:23:13]written 0, free lines is 3371 [13:23:13]MH_Cut [13:23:13]Write to MH i2c: D1 01 00 5A 01 01 2D [13:23:13]Write i2c OK [13:23:13]MH_I2C_Read... [13:23:13]Read from MH i2c: D1 [13:23:13]MH_I2C_Read... [13:23:13]Read from MH i2c: D1 01 00 [13:23:13]MH_I2C_Read... [13:23:13]Read from MH i2c: D1 01 00 5A 01 00 2C [13:23:13]Write to MH i2c: 01 00 00 5B 01 5C [13:23:13]Write i2c OK [13:23:13]MH_I2C_Read... [13:23:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 A8 DD 47 00 1E 10 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 3D 31 00 00 F4 03 04 00 C0 BB 24 66 B6 04 01 00 00 8B 5E 8A 48 1C 52 8A CE [13:23:14]CommunicateWithHost err = 0 [13:23:14]CheckOFDResponse [13:23:14]1017 (14) - 77093643461234 [13:23:14]1041 (16) - 0000000000965685 [13:23:14]1040 (4) - 12605 [13:23:14]1012 (4) - 21.04.2024 07:09 [13:23:14]1206 (1) - 0 [13:23:14]OFD Sender: Remove packet 12605 [13:23:14]ProducePacketName [13:23:14]name=ofd_packets/00012605 [13:23:14]NVStorageDeleteData [13:23:14]OFD Sender: No OFD packet to send [13:23:14]*** Cut start [13:23:14]*** Partial cut [13:23:14]*** CUTSNS_PIN = 1 [13:23:14]*** CUTSNS_PIN = 0 [13:23:14]*** Brake cut motor [13:23:15]Read from MH i2c: 01 [13:23:15]MH_I2C_Read... [13:23:15]*** Stop cut motor [13:23:15]*** Cut end [13:23:15]Read from MH i2c: 01 07 00 [13:23:15]MH_I2C_Read... [13:23:15]Read from MH i2c: 01 07 00 5B 01 00 00 00 00 00 FF 0F 71 [13:23:15]process_action close_receipt done [13:23:15]requested_data is exist [13:23:15]produce_requested_data [13:23:15]requested_item fm.sn is exist - process it [13:23:15]wFMCommunicate request_size=4 [13:23:15]MH_SAM_APDU [13:23:15]CAPDU: 80 11 00 00 [13:23:15]Write to MH i2c: E2 08 00 5C 01 80 11 00 00 00 00 00 00 D7 [13:23:15]Write i2c OK [13:23:15]MH_I2C_Read... [13:23:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:23:15]Read from MH i2c: E2 [13:23:15]MH_I2C_Read... [13:23:15]Read from MH i2c: E2 17 00 [13:23:15]MH_I2C_Read... [13:23:15]Read from MH i2c: E2 17 00 5C 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 31 [13:23:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [13:23:15]wFMCommunicate OK [13:23:15]requested_item fd.num is exist - process it [13:23:15]SAM_PROTO_GetFieldsCounters [13:23:15]wFMCommunicate request_size=4 [13:23:15]MH_SAM_APDU [13:23:15]CAPDU: 80 13 00 00 [13:23:15]Write to MH i2c: E2 08 00 5D 01 80 13 00 00 00 00 00 00 DA [13:23:15]Write i2c OK [13:23:15]MH_I2C_Read... [13:23:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:23:15]Read from MH i2c: E2 [13:23:15]MH_I2C_Read... [13:23:15]Read from MH i2c: E2 62 00 [13:23:15]MH_I2C_Read... [13:23:15]Read from MH i2c: E2 62 00 5D 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 3D 31 00 00 0E 04 04 00 19 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 B8 [13:23:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 3D 31 00 00 0E 04 04 00 19 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 [13:23:15]wFMCommunicate OK [13:23:15]SAM_PROTO_GetFieldsCounters done [13:23:15]requested_item shift.num is exist - process it [13:23:15]requested_item shift.opened is exist - process it [13:23:15]req_shift_opened [13:23:15]FM_GetShiftState [13:23:15]SAM_PROTO_GetShiftState [13:23:15]wFMCommunicate request_size=4 [13:23:15]MH_SAM_APDU [13:23:15]CAPDU: 80 13 01 00 [13:23:15]Write to MH i2c: E2 08 00 5E 01 80 13 01 00 00 00 00 00 DC [13:23:15]Write i2c OK [13:23:15]MH_I2C_Read... [13:23:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:23:15]Read from MH i2c: E2 [13:23:15]MH_I2C_Read... [13:23:15]Read from MH i2c: E2 0E 00 [13:23:15]MH_I2C_Read... [13:23:15]Read from MH i2c: E2 0E 00 5E 01 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 34 [13:23:15]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [13:23:15]wFMCommunicate OK [13:23:15]SAM_PROTO_GetShiftState done [13:23:15]FM_GetShiftState done [13:23:15]req_shift_opened done [13:23:15]requested_item shift.open_date is exist - process it [13:23:15]req_shift_open_date [13:23:15]req_shift_open_date done [13:23:15]produce_requested_data done [13:23:15]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12605,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [13:23:15]process_action_free close_receipt [13:23:15]json_value_free [13:23:15]json_value_free done [13:23:15]process_json_proto returns [13:23:15]Send response to host [13:23:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12605,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [13:23:15]free response buf [13:23:15]execute_script done [13:23:15]execute_script returns [13:23:15]free content buf [13:23:15]Sock 9.Close socket [13:23:15]Sock 9.Thread stoped [13:23:16]accept exits with 7 [13:23:16]New connection [13:23:16]New thread 3067190628 created [13:23:16]Thread 3067047268 joined [13:23:16]Waiting for new connection... [13:23:16] Sock 7.Parse request [13:23:16]Sock 7.Check first char [13:23:16]Sock 7.First char is OK [13:23:16]request: POST /json_proto HTTP/1.0 [13:23:16]Method: POST [13:23:16]URL: /json_proto [13:23:16]Method is POST - this is cgi request [13:23:16]url: /json_proto [13:23:16]query_string will be loaded in cgi processing [13:23:16]execute_cgi json_proto POST (null) [13:23:16]execute_cgi path=json_proto method=POST [13:23:16]POST find Content-Length [13:23:16]Host: 172.17.62.6:8080 [13:23:16]Content-Length: 655 [13:23:16]Content-Type: application/json [13:23:16] [13:23:16]POST finish read [13:23:16]Found Content-Length = 655 [13:23:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32878", "tax_sys" : 0, "items" : [ { "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 1.000, "sum" : 4.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 4.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:23:16]execute_script... [13:23:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32878", "tax_sys" : 0, "items" : [ { "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 1.000, "sum" : 4.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 4.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:23:16]POST & json_proto [13:23:16]process_json_proto [13:23:16]json parsed OK: [13:23:16]protocol is kg_v1.0 [13:23:16]action value=close_receipt [13:23:16]process_action close_receipt [13:23:16]cmd_close_receipt [13:23:16]MH_GetDate [13:23:16]Write to MH i2c: F0 00 00 5F 01 4F [13:23:16]Write i2c OK [13:23:16]MH_I2C_Read... [13:23:16]Read from MH i2c: F0 [13:23:16]MH_I2C_Read... [13:23:16]Read from MH i2c: F0 09 00 [13:23:16]MH_I2C_Read... [13:23:16]Read from MH i2c: F0 09 00 5F 01 00 44 13 25 66 61 69 D2 64 3A [13:23:16]GetLastDocTimeStamp 1713705790 [13:23:16]current date 1713705796 [13:23:16]FM_GetShiftState [13:23:16]SAM_PROTO_GetShiftState [13:23:16]wFMCommunicate request_size=4 [13:23:16]MH_SAM_APDU [13:23:16]CAPDU: 80 13 01 00 [13:23:16]Write to MH i2c: E2 08 00 60 01 80 13 01 00 00 00 00 00 DE [13:23:16]Write i2c OK [13:23:16]MH_I2C_Read... [13:23:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:23:16]Read from MH i2c: E2 [13:23:16]MH_I2C_Read... [13:23:16]Read from MH i2c: E2 0E 00 [13:23:16]MH_I2C_Read... [13:23:16]Read from MH i2c: E2 0E 00 60 01 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 36 [13:23:16]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [13:23:16]wFMCommunicate OK [13:23:16]SAM_PROTO_GetShiftState done [13:23:16]FM_GetShiftState done [13:23:16]opened in 1713658727 [13:23:16]opened+sec_in_day 1713745127 [13:23:16]quantity*price = 400 [13:23:16]sum+1 = 401 [13:23:16]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 4.00 НСП 1% : 0.03 НДС 12% : 0.42 Наличными: 4.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 18 21.04.2024 13:23 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12606 ФПД: 147366434453202 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T132316&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12606&fm=147366434453202&tin=02508201610067®Number=0000000000100748&sum=400 0 [13:23:18]StoreToDocumentArchive [13:23:18]shift 281 fd 12606 [13:23:18]save to /storage/0281/doc_00012606 [13:23:18]save last doc name /storage/0281/doc_00012606 to /storage/kkm_last_doc_name [13:23:18]save OK [13:23:18]Clear old archive folders... [13:23:18]ProcessDocumentItem done err = 0, tmpTLVsize=278 [13:23:18]tlvbuf is 01A05FD0 [13:23:18]SAM_PROTO_ClearQueue [13:23:18]wFMCommunicate request_size=4 [13:23:18]MH_SAM_APDU [13:23:18]CAPDU: 80 09 00 00 [13:23:18]Write to MH i2c: E2 08 00 6D 01 80 09 00 00 00 00 00 00 E0 [13:23:18]Write i2c OK [13:23:18]MH_I2C_Read... [13:23:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:23:18]Read from MH i2c: E2 [13:23:18]MH_I2C_Read... [13:23:18]Read from MH i2c: E2 03 00 [13:23:18]MH_I2C_Read... [13:23:18]Read from MH i2c: E2 03 00 6D 01 00 90 00 E2 [13:23:18]RAPDU: 90 00 [13:23:18]wFMCommunicate OK [13:23:18]SAM_PROTO_ClearQueue done [13:23:18]KKMCreateOFDPacket [13:23:18]OFDProtocolAddRootSTLVToBuf [13:23:18]FM_MakeSignedData [13:23:18]FM_MakeSignedData [13:23:18]SAM_PROTO_SignData [13:23:18]wFMCommunicate request_size=4 [13:23:18]MH_SAM_APDU [13:23:18]CAPDU: 80 0D 01 02 [13:23:18]Write to MH i2c: E2 08 00 6E 01 80 0D 01 02 00 00 00 00 E8 [13:23:18]Write i2c OK [13:23:18]MH_I2C_Read... [13:23:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:23:18]Read from MH i2c: E2 [13:23:18]MH_I2C_Read... [13:23:18]Read from MH i2c: E2 03 00 [13:23:18]MH_I2C_Read... [13:23:18]Read from MH i2c: E2 03 00 6E 01 00 90 00 E3 [13:23:18]RAPDU: 90 00 [13:23:18]wFMCommunicate OK [13:23:18]wFMCommunicate request_size=255 [13:23:18]MH_SAM_APDU [13:23:18]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 01 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 03 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 00 00 00 00 00 07 04 06 00 90 01 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 44 13 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 [13:23:18]Write to MH i2c: E2 02 01 6F 01 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 01 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 03 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 00 00 00 00 00 07 04 06 00 90 01 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 44 13 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 00 00 2E [13:23:19]Write i2c OK [13:23:19]MH_I2C_Read... [13:23:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:23:19]Read from MH i2c: E2 [13:23:19]MH_I2C_Read... [13:23:19]Read from MH i2c: E2 03 00 [13:23:19]MH_I2C_Read... [13:23:19]Read from MH i2c: E2 03 00 6F 01 00 90 00 E4 [13:23:19]RAPDU: 90 00 [13:23:19]wFMCommunicate OK [13:23:19]wFMCommunicate request_size=37 [13:23:19]MH_SAM_APDU [13:23:19]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 3E 31 00 00 35 04 06 00 86 07 6B FA 36 D2 [13:23:19]Write to MH i2c: E2 28 00 70 01 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 3E 31 00 00 35 04 06 00 86 07 6B FA 36 D2 00 00 B2 [13:23:19]Write i2c OK [13:23:19]MH_I2C_Read... [13:23:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:23:19]Read from MH i2c: E2 [13:23:19]MH_I2C_Read... [13:23:19]Read from MH i2c: E2 03 00 [13:23:19]MH_I2C_Read... [13:23:19]Read from MH i2c: E2 03 00 70 01 00 90 00 E5 [13:23:19]RAPDU: 90 00 [13:23:19]wFMCommunicate OK [13:23:19]wFMCommunicate request_size=4 [13:23:19]MH_SAM_APDU [13:23:19]CAPDU: 80 0D 03 02 [13:23:19]Write to MH i2c: E2 08 00 71 01 80 0D 03 02 00 00 00 00 ED [13:23:19]Write i2c OK [13:23:19]MH_I2C_Read... [13:23:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:23:19]Read from MH i2c: E2 [13:23:19]MH_I2C_Read... [13:23:19]Read from MH i2c: E2 0B 00 [13:23:19]MH_I2C_Read... [13:23:19]Read from MH i2c: E2 0B 00 71 01 00 4A D0 81 72 6E FB 50 F5 90 00 A9 [13:23:19]RAPDU: 4A D0 81 72 6E FB 50 F5 90 00 [13:23:19]wFMCommunicate OK [13:23:19]SAM_PROTO_SignData done [13:23:19]FM_MakeSignedData done [13:23:19]CreateOFDProtocolMessage [13:23:19]wFMCommunicate request_size=4 [13:23:19]MH_SAM_APDU [13:23:19]CAPDU: 80 11 00 00 [13:23:19]Write to MH i2c: E2 08 00 72 01 80 11 00 00 00 00 00 00 ED [13:23:19]Write i2c OK [13:23:19]MH_I2C_Read... [13:23:19]Read from MH i2c: E2 [13:23:19]MH_I2C_Read... [13:23:19]OFD Sender: No OFD packet to send [13:23:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:23:19]Read from MH i2c: E2 17 00 [13:23:19]MH_I2C_Read... [13:23:19]Read from MH i2c: E2 17 00 72 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 47 [13:23:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [13:23:19]wFMCommunicate OK [13:23:19]CreateOFDProtocolMessage done [13:23:19]OFDSenderStorePacket 12606 [13:23:19]StoreOFDPacket docnum=12606 [13:23:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2A 01 00 00 46 B0 22 01 07 1C 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 01 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 03 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 00 00 00 00 00 07 04 06 00 90 01 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 44 13 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 3E 31 00 00 35 04 06 00 86 07 6B FA 36 D2 4A D0 81 72 6E FB 50 F5 [13:23:19]CheckFolder [13:23:19]dirname=/storage/ofd_packets [13:23:19]CheckFolder done [13:23:19]ProducePacketName [13:23:19]name=ofd_packets/00012606 [13:23:19]NVStorageSaveData ofd_packets/00012606 [13:23:19]File name is /storage/ofd_packets/00012606 [13:23:19]Write 328 bytes [13:23:19]NVStorageSaveData done [13:23:19]OFDSenderStorePacket done [13:23:19]KKMCreateOFDPacket done [13:23:19]NVStorageSaveData kkm_last_timestamp [13:23:19]File name is /storage/kkm_last_timestamp [13:23:19]Write 4 bytes [13:23:19]NVStorageSaveData done [13:23:19]ExternCall_PrintAddStr [13:23:19]wPrintStart [13:23:19]Write to MH i2c: 01 00 00 73 01 74 [13:23:19]Write i2c OK [13:23:19]MH_I2C_Read... [13:23:19]Read from MH i2c: 01 [13:23:19]MH_I2C_Read... [13:23:19]Read from MH i2c: 01 07 00 [13:23:19]MH_I2C_Read... [13:23:19]Read from MH i2c: 01 07 00 73 01 00 00 00 00 00 FF 0F 89 [13:23:19]RasterBufferAndPrint [13:23:19]line Счет N : (3)32878 [13:23:19]line ИНН: 02508201610067 [13:23:19]line Контрольно-Кассовый Чек [13:23:19]line ПРОДАЖА [13:23:19]line Товар: 2000031750019 [13:23:19]line Пакет Партнер Нефть [13:23:19]line 1.000 * 4.00 [13:23:19]line = 4.00 [13:23:19]line НДС 12% НСП 1% [13:23:19]line > о реализуемом товаре [13:23:19]line ИТОГО: 4.00 [13:23:19]line НСП 1% : 0.03 [13:23:19]line НДС 12% : 0.42 [13:23:19]line Наличными: 4.00 [13:23:19]line Безнал.: 0.00 [13:23:19]line Место: АЗС № 106 "Партнер Нефть" [13:23:19]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [13:23:19]line СНО: Общий режим [13:23:19]line Чек 18 21.04.2024 13:23 [13:23:19]line Смена: 281 ФФД: 1.0 [13:23:19]line ЗНМ: 0300000004 [13:23:19]line РНМ: 0000000000100748 [13:23:19]line Версия ККМ: 001 [13:23:19]line ФМ: 0000000000965685 [13:23:19]line ФД: 12606 [13:23:19]line ФПД: 147366434453202 [13:23:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T132316&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12606&fm=147366434453202&tin=02508201610067®Number=0000000000100748&sum=400 [13:23:19]line 0 [13:23:19]OFD Sender: Processing packet 12606 [packets to send 7, broken 6] [13:23:19]ProducePacketName [13:23:19]name=ofd_packets/00012606 [13:23:19]OFD Sender: To server: pG, [13:23:19]CommunicateWithHost lk.salyk.kg:30040 [13:23:19]ConnectInit lk.salyk.kg [13:23:19]written 0, free lines is 4095 [13:23:20]Connected sock=10 [13:23:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2A 01 00 00 46 B0 22 01 07 1C 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 01 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 03 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 00 00 00 00 00 07 04 06 00 90 01 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 44 13 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 3E 31 00 00 35 04 06 00 86 07 6B FA 36 D2 4A D0 81 72 6E FB 50 F5 [13:23:20]Write to MH i2c: 01 00 00 9A 01 9B [13:23:20]Write i2c OK [13:23:20]MH_I2C_Read... [13:23:20]Read from MH i2c: 01 [13:23:20]MH_I2C_Read... [13:23:20]Read from MH i2c: 01 07 00 [13:23:20]MH_I2C_Read... [13:23:20]Read from MH i2c: 01 07 00 9A 01 00 00 00 00 00 24 0D D3 [13:23:20]RasterBufferAndPrint [13:23:20]line [13:23:20]line [13:23:20]line [13:23:20]line [13:23:20]line [13:23:20]written 0, free lines is 3407 [13:23:20]MH_Cut [13:23:20]Write to MH i2c: D1 01 00 A1 01 01 74 [13:23:20]Write i2c OK [13:23:20]MH_I2C_Read... [13:23:20]Read from MH i2c: D1 [13:23:20]MH_I2C_Read... [13:23:20]Read from MH i2c: D1 01 00 [13:23:20]MH_I2C_Read... [13:23:20]Read from MH i2c: D1 01 00 A1 01 00 73 [13:23:20]Write to MH i2c: 01 00 00 A2 01 A3 [13:23:20]Write i2c OK [13:23:20]MH_I2C_Read... [13:23:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 48 9E 47 00 EE AC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 3E 31 00 00 F4 03 04 00 C7 BB 24 66 B6 04 01 00 00 7E 78 E4 53 74 09 87 0C [13:23:20]CommunicateWithHost err = 0 [13:23:20]CheckOFDResponse [13:23:20]1017 (14) - 77093643461234 [13:23:20]1041 (16) - 0000000000965685 [13:23:20]1040 (4) - 12606 [13:23:20]1012 (4) - 21.04.2024 07:09 [13:23:20]1206 (1) - 0 [13:23:20]OFD Sender: Remove packet 12606 [13:23:20]ProducePacketName [13:23:20]name=ofd_packets/00012606 [13:23:20]NVStorageDeleteData [13:23:21]*** Cut start [13:23:21]*** Partial cut [13:23:21]*** CUTSNS_PIN = 1 [13:23:21]*** CUTSNS_PIN = 0 [13:23:21]OFD Sender: No OFD packet to send [13:23:21]*** Brake cut motor [13:23:21]Read from MH i2c: 01 [13:23:21]MH_I2C_Read... [13:23:21]*** Stop cut motor [13:23:21]*** Cut end [13:23:21]Read from MH i2c: 01 07 00 [13:23:21]MH_I2C_Read... [13:23:21]Read from MH i2c: 01 07 00 A2 01 00 00 00 00 00 FF 0F B8 [13:23:21]process_action close_receipt done [13:23:21]requested_data is exist [13:23:21]produce_requested_data [13:23:21]requested_item fm.sn is exist - process it [13:23:21]wFMCommunicate request_size=4 [13:23:21]MH_SAM_APDU [13:23:21]CAPDU: 80 11 00 00 [13:23:21]Write to MH i2c: E2 08 00 A3 01 80 11 00 00 00 00 00 00 1E [13:23:21]Write i2c OK [13:23:21]MH_I2C_Read... [13:23:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:23:21]Read from MH i2c: E2 [13:23:21]MH_I2C_Read... [13:23:21]Read from MH i2c: E2 17 00 [13:23:21]MH_I2C_Read... [13:23:21]Read from MH i2c: E2 17 00 A3 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 78 [13:23:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [13:23:21]wFMCommunicate OK [13:23:21]requested_item fd.num is exist - process it [13:23:21]SAM_PROTO_GetFieldsCounters [13:23:21]wFMCommunicate request_size=4 [13:23:21]MH_SAM_APDU [13:23:21]CAPDU: 80 13 00 00 [13:23:21]Write to MH i2c: E2 08 00 A4 01 80 13 00 00 00 00 00 00 21 [13:23:21]Write i2c OK [13:23:21]MH_I2C_Read... [13:23:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:23:21]Read from MH i2c: E2 [13:23:21]MH_I2C_Read... [13:23:21]Read from MH i2c: E2 62 00 [13:23:21]MH_I2C_Read... [13:23:21]Read from MH i2c: E2 62 00 A4 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 3E 31 00 00 0E 04 04 00 19 01 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 03 [13:23:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 3E 31 00 00 0E 04 04 00 19 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 [13:23:22]wFMCommunicate OK [13:23:22]SAM_PROTO_GetFieldsCounters done [13:23:22]requested_item shift.num is exist - process it [13:23:22]requested_item shift.opened is exist - process it [13:23:22]req_shift_opened [13:23:22]FM_GetShiftState [13:23:22]SAM_PROTO_GetShiftState [13:23:22]wFMCommunicate request_size=4 [13:23:22]MH_SAM_APDU [13:23:22]CAPDU: 80 13 01 00 [13:23:22]Write to MH i2c: E2 08 00 A5 01 80 13 01 00 00 00 00 00 23 [13:23:22]Write i2c OK [13:23:22]MH_I2C_Read... [13:23:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:23:22]Read from MH i2c: E2 [13:23:22]MH_I2C_Read... [13:23:22]Read from MH i2c: E2 0E 00 [13:23:22]MH_I2C_Read... [13:23:22]Read from MH i2c: E2 0E 00 A5 01 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 7B [13:23:22]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [13:23:22]wFMCommunicate OK [13:23:22]SAM_PROTO_GetShiftState done [13:23:22]FM_GetShiftState done [13:23:22]req_shift_opened done [13:23:22]requested_item shift.open_date is exist - process it [13:23:22]req_shift_open_date [13:23:22]req_shift_open_date done [13:23:22]produce_requested_data done [13:23:22]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12606,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [13:23:22]process_action_free close_receipt [13:23:22]json_value_free [13:23:22]json_value_free done [13:23:22]process_json_proto returns [13:23:22]Send response to host [13:23:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12606,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [13:23:22]free response buf [13:23:22]execute_script done [13:23:22]execute_script returns [13:23:22]free content buf [13:23:22]Sock 7.Close socket [13:23:22]Sock 7.Thread stoped [13:23:26]OFD Sender: No OFD packet to send [13:23:31]OFD Sender: No OFD packet to send [13:23:36]OFD Sender: No OFD packet to send [13:23:41]OFD Sender: No OFD packet to send [13:23:46]OFD Sender: No OFD packet to send [13:23:51]OFD Sender: No OFD packet to send [13:23:56]OFD Sender: No OFD packet to send [13:24:01]OFD Sender: No OFD packet to send [13:24:06]OFD Sender: No OFD packet to send [13:24:11]OFD Sender: No OFD packet to send [13:24:16]OFD Sender: No OFD packet to send [13:24:21]OFD Sender: No OFD packet to send [13:24:21]accept exits with 9 [13:24:21]New connection [13:24:21]New thread 3067047268 created [13:24:21]Thread 3067190628 joined [13:24:21]Waiting for new connection... [13:24:21] Sock 9.Parse request [13:24:21]Sock 9.Check first char [13:24:21]Sock 9.First char is OK [13:24:21]request: POST /json_proto HTTP/1.0 [13:24:21]Method: POST [13:24:21]URL: /json_proto [13:24:21]Method is POST - this is cgi request [13:24:21]url: /json_proto [13:24:21]query_string will be loaded in cgi processing [13:24:21]execute_cgi json_proto POST (null) [13:24:21]execute_cgi path=json_proto method=POST [13:24:21]POST find Content-Length [13:24:21]Host: 172.17.62.6:8080 [13:24:21]Content-Length: 706 [13:24:21]Content-Type: application/json [13:24:21] [13:24:21]POST finish read [13:24:21]Found Content-Length = 706 [13:24:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32879", "tax_sys" : 0, "items" : [ { "code": "4600338000183", "name": "\u0421\u043E\u043A \u0424\u0440\u0443\u0442\u043E \u041D\u042F\u041D\u042F \u044F\u0431\u043B\u043E\u043A\u043E \u043E\u0441\u0432\u0435\u0442 0,2\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:24:21]execute_script... [13:24:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32879", "tax_sys" : 0, "items" : [ { "code": "4600338000183", "name": "\u0421\u043E\u043A \u0424\u0440\u0443\u0442\u043E \u041D\u042F\u041D\u042F \u044F\u0431\u043B\u043E\u043A\u043E \u043E\u0441\u0432\u0435\u0442 0,2\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:24:21]POST & json_proto [13:24:21]process_json_proto [13:24:21]json parsed OK: [13:24:21]protocol is kg_v1.0 [13:24:21]action value=close_receipt [13:24:21]process_action close_receipt [13:24:21]cmd_close_receipt [13:24:21]MH_GetDate [13:24:21]Write to MH i2c: F0 00 00 A6 01 96 [13:24:21]Write i2c OK [13:24:21]MH_I2C_Read... [13:24:21]Read from MH i2c: F0 [13:24:21]MH_I2C_Read... [13:24:21]Read from MH i2c: F0 09 00 [13:24:21]MH_I2C_Read... [13:24:21]Read from MH i2c: F0 09 00 A6 01 00 85 13 25 66 61 69 D2 64 C2 [13:24:21]GetLastDocTimeStamp 1713705796 [13:24:21]current date 1713705861 [13:24:21]FM_GetShiftState [13:24:21]SAM_PROTO_GetShiftState [13:24:21]wFMCommunicate request_size=4 [13:24:21]MH_SAM_APDU [13:24:21]CAPDU: 80 13 01 00 [13:24:21]Write to MH i2c: E2 08 00 A7 01 80 13 01 00 00 00 00 00 25 [13:24:21]Write i2c OK [13:24:21]MH_I2C_Read... [13:24:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:24:21]Read from MH i2c: E2 [13:24:21]MH_I2C_Read... [13:24:21]Read from MH i2c: E2 0E 00 [13:24:21]MH_I2C_Read... [13:24:21]Read from MH i2c: E2 0E 00 A7 01 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 7D [13:24:21]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [13:24:21]wFMCommunicate OK [13:24:21]SAM_PROTO_GetShiftState done [13:24:21]FM_GetShiftState done [13:24:21]opened in 1713658727 [13:24:21]opened+sec_in_day 1713745127 [13:24:21]quantity*price = 6500 [13:24:21]sum+1 = 6501 [13:24:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 19 21.04.2024 13:24 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12607 ФПД: 179197200845594 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T132421&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12607&fm=179197200845594&tin=02508201610067®Number=0000000000100748&sum=6500 0 [13:24:23]StoreToDocumentArchive [13:24:23]shift 281 fd 12607 [13:24:23]save to /storage/0281/doc_00012607 [13:24:23]save last doc name /storage/0281/doc_00012607 to /storage/kkm_last_doc_name [13:24:23]save OK [13:24:23]Clear old archive folders... [13:24:23]ProcessDocumentItem done err = 0, tmpTLVsize=298 [13:24:23]tlvbuf is 01A586E0 [13:24:23]SAM_PROTO_ClearQueue [13:24:23]wFMCommunicate request_size=4 [13:24:23]MH_SAM_APDU [13:24:23]CAPDU: 80 09 00 00 [13:24:23]Write to MH i2c: E2 08 00 B4 01 80 09 00 00 00 00 00 00 27 [13:24:23]Write i2c OK [13:24:23]MH_I2C_Read... [13:24:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:24:23]Read from MH i2c: E2 [13:24:23]MH_I2C_Read... [13:24:23]Read from MH i2c: E2 03 00 [13:24:23]MH_I2C_Read... [13:24:23]Read from MH i2c: E2 03 00 B4 01 00 90 00 29 [13:24:23]RAPDU: 90 00 [13:24:23]wFMCommunicate OK [13:24:23]SAM_PROTO_ClearQueue done [13:24:23]KKMCreateOFDPacket [13:24:23]OFDProtocolAddRootSTLVToBuf [13:24:23]FM_MakeSignedData [13:24:23]FM_MakeSignedData [13:24:23]SAM_PROTO_SignData [13:24:23]wFMCommunicate request_size=4 [13:24:23]MH_SAM_APDU [13:24:23]CAPDU: 80 0D 01 02 [13:24:23]Write to MH i2c: E2 08 00 B5 01 80 0D 01 02 00 00 00 00 2F [13:24:23]Write i2c OK [13:24:23]MH_I2C_Read... [13:24:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:24:23]Read from MH i2c: E2 [13:24:23]MH_I2C_Read... [13:24:23]Read from MH i2c: E2 03 00 [13:24:23]MH_I2C_Read... [13:24:23]Read from MH i2c: E2 03 00 B5 01 00 90 00 2A [13:24:23]RAPDU: 90 00 [13:24:23]wFMCommunicate OK [13:24:23]wFMCommunicate request_size=255 [13:24:23]MH_SAM_APDU [13:24:23]CAPDU: 80 0D 02 02 FA 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 36 30 30 33 33 38 30 30 30 31 38 33 06 04 38 00 D0 A1 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 20 D0 BE D1 81 D0 B2 D0 B5 D1 82 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 85 13 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 [13:24:23]Write to MH i2c: E2 02 01 B6 01 80 0D 02 02 FA 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 36 30 30 33 33 38 30 30 30 31 38 33 06 04 38 00 D0 A1 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 20 D0 BE D1 81 D0 B2 D0 B5 D1 82 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 85 13 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 00 00 14 [13:24:23]Write i2c OK [13:24:23]MH_I2C_Read... [13:24:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:24:23]Read from MH i2c: E2 [13:24:23]MH_I2C_Read... [13:24:23]Read from MH i2c: E2 03 00 [13:24:23]MH_I2C_Read... [13:24:23]Read from MH i2c: E2 03 00 B6 01 00 90 00 2B [13:24:23]RAPDU: 90 00 [13:24:23]wFMCommunicate OK [13:24:23]wFMCommunicate request_size=57 [13:24:23]MH_SAM_APDU [13:24:23]CAPDU: 80 0D 02 02 34 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 3F 31 00 00 35 04 06 00 A2 FA 99 80 4B 1A [13:24:23]Write to MH i2c: E2 3C 00 B7 01 80 0D 02 02 34 00 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 3F 31 00 00 35 04 06 00 A2 FA 99 80 4B 1A 00 00 7B [13:24:23]Write i2c OK [13:24:23]MH_I2C_Read... [13:24:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:24:23]Read from MH i2c: E2 [13:24:23]MH_I2C_Read... [13:24:23]Read from MH i2c: E2 03 00 [13:24:23]MH_I2C_Read... [13:24:23]Read from MH i2c: E2 03 00 B7 01 00 90 00 2C [13:24:23]RAPDU: 90 00 [13:24:23]wFMCommunicate OK [13:24:23]wFMCommunicate request_size=4 [13:24:23]MH_SAM_APDU [13:24:23]CAPDU: 80 0D 03 02 [13:24:23]Write to MH i2c: E2 08 00 B8 01 80 0D 03 02 00 00 00 00 34 [13:24:23]Write i2c OK [13:24:23]MH_I2C_Read... [13:24:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:24:23]Read from MH i2c: E2 [13:24:23]MH_I2C_Read... [13:24:23]Read from MH i2c: E2 0B 00 [13:24:23]MH_I2C_Read... [13:24:23]Read from MH i2c: E2 0B 00 B8 01 00 80 0D 67 F1 0A FB C6 9D 90 00 82 [13:24:23]RAPDU: 80 0D 67 F1 0A FB C6 9D 90 00 [13:24:23]wFMCommunicate OK [13:24:23]SAM_PROTO_SignData done [13:24:23]FM_MakeSignedData done [13:24:23]CreateOFDProtocolMessage [13:24:23]wFMCommunicate request_size=4 [13:24:23]MH_SAM_APDU [13:24:23]CAPDU: 80 11 00 00 [13:24:23]Write to MH i2c: E2 08 00 B9 01 80 11 00 00 00 00 00 00 34 [13:24:23]Write i2c OK [13:24:23]MH_I2C_Read... [13:24:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:24:23]Read from MH i2c: E2 [13:24:23]MH_I2C_Read... [13:24:23]Read from MH i2c: E2 17 00 [13:24:23]MH_I2C_Read... [13:24:23]Read from MH i2c: E2 17 00 B9 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 8E [13:24:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [13:24:23]wFMCommunicate OK [13:24:23]CreateOFDProtocolMessage done [13:24:23]OFDSenderStorePacket 12607 [13:24:23]StoreOFDPacket docnum=12607 [13:24:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 3E 01 00 00 AA 36 36 01 46 24 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 36 30 30 33 33 38 30 30 30 31 38 33 06 04 38 00 D0 A1 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 20 D0 BE D1 81 D0 B2 D0 B5 D1 82 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 85 13 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 3F 31 00 00 35 04 06 00 A2 FA 99 80 4B 1A 80 0D 67 F1 0A FB C6 9D [13:24:23]CheckFolder [13:24:23]dirname=/storage/ofd_packets [13:24:23]CheckFolder done [13:24:23]ProducePacketName [13:24:23]name=ofd_packets/00012607 [13:24:23]NVStorageSaveData ofd_packets/00012607 [13:24:23]File name is /storage/ofd_packets/00012607 [13:24:23]Write 348 bytes [13:24:23]NVStorageSaveData done [13:24:23]OFDSenderStorePacket done [13:24:23]KKMCreateOFDPacket done [13:24:23]NVStorageSaveData kkm_last_timestamp [13:24:23]File name is /storage/kkm_last_timestamp [13:24:23]Write 4 bytes [13:24:23]NVStorageSaveData done [13:24:23]ExternCall_PrintAddStr [13:24:23]wPrintStart [13:24:23]Write to MH i2c: 01 00 00 BA 01 BB [13:24:23]Write i2c OK [13:24:23]MH_I2C_Read... [13:24:23]Read from MH i2c: 01 [13:24:23]MH_I2C_Read... [13:24:23]Read from MH i2c: 01 07 00 [13:24:23]MH_I2C_Read... [13:24:23]Read from MH i2c: 01 07 00 BA 01 00 00 00 00 00 FF 0F D0 [13:24:23]RasterBufferAndPrint [13:24:23]line Счет N : (3)32879 [13:24:23]line ИНН: 02508201610067 [13:24:23]line Контрольно-Кассовый Чек [13:24:23]line ПРОДАЖА [13:24:23]line Товар: 4600338000183 [13:24:23]line Сок Фруто НЯНЯ яблоко освет 0,2л [13:24:23]line 1.000 * 65.00 [13:24:23]line = 65.00 [13:24:23]line НДС 12% НСП 1% [13:24:23]line > о реализуемом товаре [13:24:23]line ИТОГО: 65.00 [13:24:23]line НСП 1% : 0.57 [13:24:23]line НДС 12% : 6.90 [13:24:23]line Наличными: 65.00 [13:24:23]line Безнал.: 0.00 [13:24:23]line Место: АЗС № 106 "Партнер Нефть" [13:24:23]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [13:24:23]line СНО: Общий режим [13:24:23]line Чек 19 21.04.2024 13:24 [13:24:23]line Смена: 281 ФФД: 1.0 [13:24:23]line ЗНМ: 0300000004 [13:24:23]line РНМ: 0000000000100748 [13:24:23]line Версия ККМ: 001 [13:24:23]line ФМ: 0000000000965685 [13:24:23]line ФД: 12607 [13:24:23]line ФПД: 179197200845594 [13:24:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T132421&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12607&fm=179197200845594&tin=02508201610067®Number=0000000000100748&sum=6500 [13:24:23]OFD Sender: Processing packet 12607 [packets to send 7, broken 6] [13:24:23]ProducePacketName [13:24:23]name=ofd_packets/00012607 [13:24:23]OFD Sender: To server: pG, [13:24:23]CommunicateWithHost lk.salyk.kg:30040 [13:24:23]ConnectInit lk.salyk.kg [13:24:23]line 0 [13:24:23]written 0, free lines is 4095 [13:24:23]Connected sock=10 [13:24:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 3E 01 00 00 AA 36 36 01 46 24 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 36 30 30 33 33 38 30 30 30 31 38 33 06 04 38 00 D0 A1 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 20 D0 BE D1 81 D0 B2 D0 B5 D1 82 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 85 13 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 3F 31 00 00 35 04 06 00 A2 FA 99 80 4B 1A 80 0D 67 F1 0A FB C6 9D [13:24:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 65 CD 47 00 F5 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 39 36 35 36 38 35 10 04 04 00 3F 31 00 00 F4 03 04 00 06 BC 24 66 B6 04 01 00 00 57 14 1B 49 6B 2C 3C AB [13:24:24]CommunicateWithHost err = 0 [13:24:24]CheckOFDResponse [13:24:24]1017 (14) - 77093643461234 [13:24:24]1041 (16) - 0000000000965685 [13:24:24]1040 (4) - 12607 [13:24:24]1012 (4) - 21.04.2024 07:11 [13:24:24]1206 (1) - 0 [13:24:24]OFD Sender: Remove packet 12607 [13:24:24]ProducePacketName [13:24:24]name=ofd_packets/00012607 [13:24:24]NVStorageDeleteData [13:24:24]Write to MH i2c: 01 00 00 E2 01 E3 [13:24:24]Write i2c OK [13:24:24]MH_I2C_Read... [13:24:24]Read from MH i2c: 01 [13:24:24]MH_I2C_Read... [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 E2 01 00 00 00 00 00 09 0D 00 [13:24:24]RasterBufferAndPrint [13:24:24]line [13:24:24]line [13:24:24]line [13:24:24]line [13:24:24]line [13:24:24]written 0, free lines is 3353 [13:24:24]MH_Cut [13:24:24]Write to MH i2c: D1 01 00 E9 01 01 BC [13:24:24]Write i2c OK [13:24:24]MH_I2C_Read... [13:24:24]Read from MH i2c: D1 [13:24:24]MH_I2C_Read... [13:24:24]Read from MH i2c: D1 01 00 [13:24:24]MH_I2C_Read... [13:24:24]Read from MH i2c: D1 01 00 E9 01 00 BB [13:24:24]Write to MH i2c: 01 00 00 EA 01 EB [13:24:24]Write i2c OK [13:24:24]MH_I2C_Read... [13:24:24]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:25]*** Brake cut motor [13:24:25]Read from MH i2c: 01 [13:24:25]MH_I2C_Read... [13:24:25]*** Stop cut motor [13:24:25]*** Cut end [13:24:25]Read from MH i2c: 01 07 00 [13:24:25]MH_I2C_Read... [13:24:25]Read from MH i2c: 01 07 00 EA 01 00 00 00 00 00 FF 0F 00 [13:24:25]process_action close_receipt done [13:24:25]requested_data is exist [13:24:25]produce_requested_data [13:24:25]requested_item fm.sn is exist - process it [13:24:25]wFMCommunicate request_size=4 [13:24:25]MH_SAM_APDU [13:24:25]CAPDU: 80 11 00 00 [13:24:25]Write to MH i2c: E2 08 00 EB 01 80 11 00 00 00 00 00 00 66 [13:24:25]Write i2c OK [13:24:25]MH_I2C_Read... [13:24:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:24:25]Read from MH i2c: E2 [13:24:25]MH_I2C_Read... [13:24:25]Read from MH i2c: E2 17 00 [13:24:25]MH_I2C_Read... [13:24:25]Read from MH i2c: E2 17 00 EB 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 C0 [13:24:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [13:24:25]wFMCommunicate OK [13:24:25]requested_item fd.num is exist - process it [13:24:25]SAM_PROTO_GetFieldsCounters [13:24:25]wFMCommunicate request_size=4 [13:24:25]MH_SAM_APDU [13:24:25]CAPDU: 80 13 00 00 [13:24:25]Write to MH i2c: E2 08 00 EC 01 80 13 00 00 00 00 00 00 69 [13:24:25]Write i2c OK [13:24:25]MH_I2C_Read... [13:24:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:24:25]Read from MH i2c: E2 [13:24:25]MH_I2C_Read... [13:24:25]Read from MH i2c: E2 62 00 [13:24:25]MH_I2C_Read... [13:24:25]Read from MH i2c: E2 62 00 EC 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 3F 31 00 00 0E 04 04 00 19 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 4F [13:24:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 3F 31 00 00 0E 04 04 00 19 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 [13:24:25]wFMCommunicate OK [13:24:25]SAM_PROTO_GetFieldsCounters done [13:24:25]requested_item shift.num is exist - process it [13:24:25]requested_item shift.opened is exist - process it [13:24:25]req_shift_opened [13:24:25]FM_GetShiftState [13:24:25]SAM_PROTO_GetShiftState [13:24:25]wFMCommunicate request_size=4 [13:24:25]MH_SAM_APDU [13:24:25]CAPDU: 80 13 01 00 [13:24:25]Write to MH i2c: E2 08 00 ED 01 80 13 01 00 00 00 00 00 6B [13:24:25]Write i2c OK [13:24:25]MH_I2C_Read... [13:24:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:24:25]Read from MH i2c: E2 [13:24:25]MH_I2C_Read... [13:24:25]Read from MH i2c: E2 0E 00 [13:24:25]MH_I2C_Read... [13:24:25]Read from MH i2c: E2 0E 00 ED 01 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 C3 [13:24:25]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [13:24:25]wFMCommunicate OK [13:24:25]SAM_PROTO_GetShiftState done [13:24:25]FM_GetShiftState done [13:24:25]req_shift_opened done [13:24:25]requested_item shift.open_date is exist - process it [13:24:25]req_shift_open_date [13:24:25]req_shift_open_date done [13:24:25]produce_requested_data done [13:24:25]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12607,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [13:24:25]process_action_free close_receipt [13:24:25]json_value_free [13:24:25]json_value_free done [13:24:25]process_json_proto returns [13:24:25]Send response to host [13:24:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12607,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [13:24:25]free response buf [13:24:25]execute_script done [13:24:25]execute_script returns [13:24:25]free content buf [13:24:25]Sock 9.Close socket [13:24:25]Sock 9.Thread stoped [13:24:29]OFD Sender: No OFD packet to send [13:24:34]OFD Sender: No OFD packet to send [13:24:39]OFD Sender: No OFD packet to send [13:24:44]OFD Sender: No OFD packet to send [13:24:49]OFD Sender: No OFD packet to send [13:24:54]OFD Sender: No OFD packet to send [13:24:59]OFD Sender: No OFD packet to send [13:25:04]OFD Sender: No OFD packet to send [13:25:09]OFD Sender: No OFD packet to send [13:25:14]OFD Sender: No OFD packet to send [13:25:19]OFD Sender: No OFD packet to send [13:25:24]OFD Sender: No OFD packet to send [13:25:29]OFD Sender: No OFD packet to send [13:25:34]OFD Sender: No OFD packet to send [13:25:39]OFD Sender: No OFD packet to send [13:25:44]OFD Sender: No OFD packet to send [13:25:49]OFD Sender: No OFD packet to send [13:25:54]OFD Sender: No OFD packet to send [13:25:59]OFD Sender: No OFD packet to send [13:26:04]OFD Sender: No OFD packet to send [13:26:09]OFD Sender: No OFD packet to send [13:26:14]OFD Sender: No OFD packet to send [13:26:19]OFD Sender: No OFD packet to send [13:26:24]OFD Sender: No OFD packet to send [13:26:29]OFD Sender: No OFD packet to send [13:26:34]OFD Sender: No OFD packet to send [13:26:39]OFD Sender: No OFD packet to send [13:26:44]OFD Sender: No OFD packet to send [13:26:49]OFD Sender: No OFD packet to send [13:26:54]OFD Sender: No OFD packet to send [13:26:59]OFD Sender: No OFD packet to send [13:27:04]OFD Sender: No OFD packet to send [13:27:09]OFD Sender: No OFD packet to send [13:27:14]OFD Sender: No OFD packet to send [13:27:19]OFD Sender: No OFD packet to send [13:27:24]OFD Sender: No OFD packet to send [13:27:29]OFD Sender: No OFD packet to send [13:27:34]OFD Sender: No OFD packet to send [13:27:39]OFD Sender: No OFD packet to send [13:27:44]OFD Sender: No OFD packet to send [13:27:49]OFD Sender: No OFD packet to send [13:27:54]OFD Sender: No OFD packet to send [13:27:59]OFD Sender: No OFD packet to send [13:28:04]OFD Sender: No OFD packet to send [13:28:09]OFD Sender: No OFD packet to send [13:28:14]OFD Sender: No OFD packet to send [13:28:19]OFD Sender: No OFD packet to send [13:28:24]OFD Sender: No OFD packet to send [13:28:29]OFD Sender: No OFD packet to send [13:28:34]OFD Sender: No OFD packet to send [13:28:39]OFD Sender: No OFD packet to send [13:28:44]OFD Sender: No OFD packet to send [13:28:49]OFD Sender: No OFD packet to send [13:28:54]OFD Sender: No OFD packet to send [13:28:59]OFD Sender: No OFD packet to send [13:29:04]OFD Sender: No OFD packet to send [13:29:09]OFD Sender: No OFD packet to send [13:29:14]OFD Sender: No OFD packet to send [13:29:19]OFD Sender: No OFD packet to send [13:29:24]OFD Sender: No OFD packet to send [13:29:29]OFD Sender: No OFD packet to send [13:29:34]OFD Sender: No OFD packet to send [13:29:39]OFD Sender: No OFD packet to send [13:29:44]OFD Sender: No OFD packet to send [13:29:49]accept exits with 7 [13:29:49]New connection [13:29:49]New thread 3067190628 created [13:29:49]Thread 3067047268 joined [13:29:49]Waiting for new connection... [13:29:49] Sock 7.Parse request [13:29:49]Sock 7.Check first char [13:29:49]Sock 7.First char is OK [13:29:49]request: POST /json_proto HTTP/1.0 [13:29:49]Method: POST [13:29:49]URL: /json_proto [13:29:49]Method is POST - this is cgi request [13:29:49]url: /json_proto [13:29:49]query_string will be loaded in cgi processing [13:29:49]execute_cgi json_proto POST (null) [13:29:49]execute_cgi path=json_proto method=POST [13:29:49]POST find Content-Length [13:29:49]Host: 172.17.62.6:8080 [13:29:49]Content-Length: 1499 [13:29:49]Content-Type: application/json [13:29:49] [13:29:49]POST finish read [13:29:49]Found Content-Length = 1499 [13:29:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32880", "tax_sys" : 0, "items" : [ { "code": "4011100977624", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0411\u0430\u0443\u043D\u0442\u0438 55\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065000868", "name": "\u0428\u043E\u043A M\u0026M`s \u0441 \u0448\u043E\u043A\u043E\u043B\u0430\u0434\u043E\u043C 45\u0433", "price" : 69.00, "quantity" : 1.000, "sum" : 69.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002326172", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043B\u0438\u043C\u043E\u043D \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "3800020453407", "name": "Nestle KIT-KAT \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A chunky 36x40\u0433", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 308.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:29:49]execute_script... [13:29:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32880", "tax_sys" : 0, "items" : [ { "code": "4011100977624", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0411\u0430\u0443\u043D\u0442\u0438 55\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065000868", "name": "\u0428\u043E\u043A M\u0026M`s \u0441 \u0448\u043E\u043A\u043E\u043B\u0430\u0434\u043E\u043C 45\u0433", "price" : 69.00, "quantity" : 1.000, "sum" : 69.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002326172", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043B\u0438\u043C\u043E\u043D \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "3800020453407", "name": "Nestle KIT-KAT \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A chunky 36x40\u0433", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 308.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:29:49]POST & json_proto [13:29:49]process_json_proto [13:29:49]json parsed OK: [13:29:49]protocol is kg_v1.0 [13:29:49]action value=close_receipt [13:29:49]process_action close_receipt [13:29:49]cmd_close_receipt [13:29:49]MH_GetDate [13:29:49]Write to MH i2c: F0 00 00 EE 01 DE [13:29:49]Write i2c OK [13:29:49]MH_I2C_Read... [13:29:49]Read from MH i2c: F0 [13:29:49]MH_I2C_Read... [13:29:49]Read from MH i2c: F0 09 00 [13:29:49]MH_I2C_Read... [13:29:49]Read from MH i2c: F0 09 00 EE 01 00 CD 14 25 66 61 69 D2 64 53 [13:29:49]GetLastDocTimeStamp 1713705861 [13:29:49]current date 1713706189 [13:29:49]FM_GetShiftState [13:29:49]SAM_PROTO_GetShiftState [13:29:49]wFMCommunicate request_size=4 [13:29:49]MH_SAM_APDU [13:29:49]CAPDU: 80 13 01 00 [13:29:49]Write to MH i2c: E2 08 00 EF 01 80 13 01 00 00 00 00 00 6D [13:29:49]Write i2c OK [13:29:49]MH_I2C_Read... [13:29:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:29:49]Read from MH i2c: E2 [13:29:49]MH_I2C_Read... [13:29:49]Read from MH i2c: E2 0E 00 [13:29:49]MH_I2C_Read... [13:29:49]Read from MH i2c: E2 0E 00 EF 01 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 C5 [13:29:49]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [13:29:49]wFMCommunicate OK [13:29:49]SAM_PROTO_GetShiftState done [13:29:49]FM_GetShiftState done [13:29:49]opened in 1713658727 [13:29:49]opened+sec_in_day 1713745127 [13:29:49]quantity*price = 5900 [13:29:49]sum+1 = 5901 [13:29:49]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607065000868 Шок M&M`s с шоколадом 45г 1.000 * 69.00 = 69.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870002326172 Вода ASU пит н.газ лимон ПЭТ 1л 1.000 * 100.00 = 100.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 3800020453407 Nestle KIT-KAT батончик chunky 36x40г 1.000 * 80.00 = 80.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 308.00 НСП 1% : 2.72 НДС 12% : 32.71 Наличными: 308.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 20 21.04.2024 13:29 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12608 ФПД: 148842329719800 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T132949&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12608&fm=148842329719800&tin=02508201610067®Number=0000000000100748&sum=30800 0 [13:29:50]StoreToDocumentArchive [13:29:50]shift 281 fd 12608 [13:29:50]save to /storage/0281/doc_00012608 [13:29:50]save last doc name /storage/0281/doc_00012608 to /storage/kkm_last_doc_name [13:29:50]save OK [13:29:50]Clear old archive folders... [13:29:50]ProcessDocumentItem done err = 0, tmpTLVsize=635 [13:29:50]tlvbuf is 01A2AA20 [13:29:50]SAM_PROTO_ClearQueue [13:29:50]wFMCommunicate request_size=4 [13:29:50]MH_SAM_APDU [13:29:50]CAPDU: 80 09 00 00 [13:29:50]Write to MH i2c: E2 08 00 FC 01 80 09 00 00 00 00 00 00 6F [13:29:50]Write i2c OK [13:29:50]MH_I2C_Read... [13:29:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:29:50]Read from MH i2c: E2 [13:29:50]MH_I2C_Read... [13:29:50]Read from MH i2c: E2 03 00 [13:29:50]MH_I2C_Read... [13:29:50]Read from MH i2c: E2 03 00 FC 01 00 90 00 71 [13:29:50]RAPDU: 90 00 [13:29:50]wFMCommunicate OK [13:29:50]SAM_PROTO_ClearQueue done [13:29:50]KKMCreateOFDPacket [13:29:50]OFDProtocolAddRootSTLVToBuf [13:29:50]FM_MakeSignedData [13:29:50]FM_MakeSignedData [13:29:50]SAM_PROTO_SignData [13:29:50]wFMCommunicate request_size=4 [13:29:50]MH_SAM_APDU [13:29:50]CAPDU: 80 0D 01 02 [13:29:50]Write to MH i2c: E2 08 00 FD 01 80 0D 01 02 00 00 00 00 77 [13:29:50]Write i2c OK [13:29:50]MH_I2C_Read... [13:29:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:29:50]Read from MH i2c: E2 [13:29:50]MH_I2C_Read... [13:29:50]Read from MH i2c: E2 03 00 [13:29:50]MH_I2C_Read... [13:29:50]Read from MH i2c: E2 03 00 FD 01 00 90 00 72 [13:29:50]RAPDU: 90 00 [13:29:50]wFMCommunicate OK [13:29:50]wFMCommunicate request_size=255 [13:29:50]MH_SAM_APDU [13:29:50]CAPDU: 80 0D 02 02 FA 03 00 7B 02 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 36 32 34 06 04 29 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 38 36 38 06 04 27 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 [13:29:50]Write to MH i2c: E2 02 01 FE 01 80 0D 02 02 FA 00 03 00 7B 02 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 36 32 34 06 04 29 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 38 36 38 06 04 27 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 00 00 43 [13:29:50]Write i2c OK [13:29:50]MH_I2C_Read... [13:29:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:29:51]Read from MH i2c: E2 [13:29:51]MH_I2C_Read... [13:29:51]Read from MH i2c: E2 03 00 [13:29:51]MH_I2C_Read... [13:29:51]Read from MH i2c: E2 03 00 FE 01 00 90 00 73 [13:29:51]RAPDU: 90 00 [13:29:51]wFMCommunicate OK [13:29:51]wFMCommunicate request_size=255 [13:29:51]MH_SAM_APDU [13:29:51]CAPDU: 80 0D 02 02 FA 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 33 38 30 30 30 32 30 34 35 33 34 30 37 06 04 2E 00 4E 65 73 74 6C 65 20 4B 49 54 2D 4B 41 54 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 63 68 75 6E 6B 79 20 33 36 78 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 78 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 [13:29:51]Write to MH i2c: E2 02 01 FF 01 80 0D 02 02 FA 00 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 33 38 30 30 30 32 30 34 35 33 34 30 37 06 04 2E 00 4E 65 73 74 6C 65 20 4B 49 54 2D 4B 41 54 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 63 68 75 6E 6B 79 20 33 36 78 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 78 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 CC [13:29:51]Write i2c OK [13:29:51]MH_I2C_Read... [13:29:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:29:51]Read from MH i2c: E2 [13:29:51]MH_I2C_Read... [13:29:51]Read from MH i2c: E2 03 00 [13:29:51]MH_I2C_Read... [13:29:51]Read from MH i2c: E2 03 00 FF 01 00 90 00 74 [13:29:51]RAPDU: 90 00 [13:29:51]wFMCommunicate OK [13:29:51]wFMCommunicate request_size=144 [13:29:51]MH_SAM_APDU [13:29:51]CAPDU: 80 0D 02 02 8B 00 10 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 0C 00 00 00 00 07 04 06 00 50 78 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 CD 14 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 40 31 00 00 35 04 06 00 87 5F 0E 30 C3 F8 [13:29:51]Write to MH i2c: E2 93 00 00 02 80 0D 02 02 8B 00 00 10 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 0C 00 00 00 00 07 04 06 00 50 78 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 CD 14 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 40 31 00 00 35 04 06 00 87 5F 0E 30 C3 F8 00 00 57 [13:29:51]Write i2c OK [13:29:51]MH_I2C_Read... [13:29:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:29:51]Read from MH i2c: E2 [13:29:51]MH_I2C_Read... [13:29:51]Read from MH i2c: E2 03 00 [13:29:51]MH_I2C_Read... [13:29:51]Read from MH i2c: E2 03 00 00 02 00 90 00 76 [13:29:51]RAPDU: 90 00 [13:29:51]wFMCommunicate OK [13:29:51]wFMCommunicate request_size=4 [13:29:51]MH_SAM_APDU [13:29:51]CAPDU: 80 0D 03 02 [13:29:51]Write to MH i2c: E2 08 00 01 02 80 0D 03 02 00 00 00 00 7E [13:29:51]Write i2c OK [13:29:51]MH_I2C_Read... [13:29:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:29:51]Read from MH i2c: E2 [13:29:51]MH_I2C_Read... [13:29:51]Read from MH i2c: E2 0B 00 [13:29:51]MH_I2C_Read... [13:29:51]Read from MH i2c: E2 0B 00 01 02 00 0C 4E 43 D6 09 B1 28 85 90 00 59 [13:29:51]RAPDU: 0C 4E 43 D6 09 B1 28 85 90 00 [13:29:51]wFMCommunicate OK [13:29:51]SAM_PROTO_SignData done [13:29:51]FM_MakeSignedData done [13:29:51]CreateOFDProtocolMessage [13:29:51]wFMCommunicate request_size=4 [13:29:51]MH_SAM_APDU [13:29:51]CAPDU: 80 11 00 00 [13:29:51]Write to MH i2c: E2 08 00 02 02 80 11 00 00 00 00 00 00 7E [13:29:51]Write i2c OK [13:29:51]MH_I2C_Read... [13:29:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:29:51]Read from MH i2c: E2 [13:29:51]MH_I2C_Read... [13:29:51]Read from MH i2c: E2 17 00 [13:29:51]MH_I2C_Read... [13:29:51]Read from MH i2c: E2 17 00 02 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 D8 [13:29:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [13:29:51]wFMCommunicate OK [13:29:51]CreateOFDProtocolMessage done [13:29:51]OFDSenderStorePacket 12608 [13:29:51]StoreOFDPacket docnum=12608 [13:29:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 8F 02 00 00 6F 1B 87 02 79 95 5A 03 01 00 03 00 7B 02 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 36 32 34 06 04 29 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 38 36 38 06 04 27 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 33 38 30 30 30 32 30 34 35 33 34 30 37 06 04 2E 00 4E 65 73 74 6C 65 20 4B 49 54 2D 4B 41 54 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 63 68 75 6E 6B 79 20 33 36 78 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 78 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 10 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 0C 00 00 00 00 07 04 06 00 50 78 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 CD 14 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 40 31 00 00 35 04 06 00 87 5F 0E 30 C3 F8 0C 4E 43 D6 09 B1 28 85 [13:29:51]CheckFolder [13:29:51]dirname=/storage/ofd_packets [13:29:51]CheckFolder done [13:29:51]ProducePacketName [13:29:51]name=ofd_packets/00012608 [13:29:51]NVStorageSaveData ofd_packets/00012608 [13:29:51]File name is /storage/ofd_packets/00012608 [13:29:51]Write 685 bytes [13:29:51]NVStorageSaveData done [13:29:51]OFDSenderStorePacket done [13:29:51]KKMCreateOFDPacket done [13:29:51]NVStorageSaveData kkm_last_timestamp [13:29:51]File name is /storage/kkm_last_timestamp [13:29:51]Write 4 bytes [13:29:51]NVStorageSaveData done [13:29:51]ExternCall_PrintAddStr [13:29:51]wPrintStart [13:29:51]Write to MH i2c: 01 00 00 03 02 05 [13:29:51]Write i2c OK [13:29:51]MH_I2C_Read... [13:29:51]Read from MH i2c: 01 [13:29:51]MH_I2C_Read... [13:29:51]Read from MH i2c: 01 07 00 [13:29:51]MH_I2C_Read... [13:29:51]Read from MH i2c: 01 07 00 03 02 00 00 00 00 00 FF 0F 1A [13:29:51]RasterBufferAndPrint [13:29:51]line Счет N : (3)32880 [13:29:51]line ИНН: 02508201610067 [13:29:51]line Контрольно-Кассовый Чек [13:29:51]line ПРОДАЖА [13:29:51]line Товар: 4011100977624 [13:29:51]line Шок Батончик Баунти 55г [13:29:52]line 1.000 * 59.00 [13:29:52]line = 59.00 [13:29:52]line НДС 12% НСП 1% [13:29:52]line > о реализуемом товаре [13:29:52]line Товар: 4607065000868 [13:29:52]line Шок M&M`s с шоколадом 45г [13:29:52]line 1.000 * 69.00 [13:29:52]line = 69.00 [13:29:52]line НДС 12% НСП 1% [13:29:52]line > о реализуемом товаре [13:29:52]line Товар: 4870002326172 [13:29:52]line Вода ASU пит н.газ лимон ПЭТ 1л [13:29:52]line 1.000 * 100.00 [13:29:52]line = 100.00 [13:29:52]line НДС 12% НСП 1% [13:29:52]line > о реализуемом товаре [13:29:52]line Товар: 3800020453407 [13:29:52]line Nestle KIT-KAT батончик chunky 36x40г [13:29:52]line 1.000 * 80.00 [13:29:52]line = 80.00 [13:29:52]line НДС 12% НСП 1% [13:29:52]line > о реализуемом товаре [13:29:52]line ИТОГО: 308.00 [13:29:52]line НСП 1% : 2.72 [13:29:52]line НДС 12% : 32.71 [13:29:52]line Наличными: 308.00 [13:29:52]line Безнал.: 0.00 [13:29:52]line Место: АЗС № 106 "Партнер Нефть" [13:29:52]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [13:29:52]line СНО: Общий режим [13:29:52]line Чек 20 21.04.2024 13:29 [13:29:52]line Смена: 281 ФФД: 1.0 [13:29:52]line ЗНМ: 0300000004 [13:29:52]line РНМ: 0000000000100748 [13:29:52]line Версия ККМ: 001 [13:29:52]line ФМ: 0000000000965685 [13:29:52]line ФД: 12608 [13:29:52]line ФПД: 148842329719800 [13:29:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T132949&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12608&fm=148842329719800&tin=02508201610067®Number=0000000000100748&sum=30800 [13:29:52]OFD Sender: Processing packet 12608 [packets to send 7, broken 6] [13:29:52]ProducePacketName [13:29:52]name=ofd_packets/00012608 [13:29:52]OFD Sender: To server: pG, [13:29:52]CommunicateWithHost lk.salyk.kg:30040 [13:29:52]ConnectInit lk.salyk.kg [13:29:52]line 0 [13:29:52]written 0, free lines is 4095 [13:29:52]Write to MH i2c: 01 00 00 3E 02 40 [13:29:52]Write i2c OK [13:29:52]MH_I2C_Read... [13:29:52]Read from MH i2c: 01 [13:29:52]MH_I2C_Read... [13:29:52]Read from MH i2c: 01 07 00 [13:29:52]MH_I2C_Read... [13:29:52]Read from MH i2c: 01 07 00 3E 02 00 00 00 00 00 D9 0B 2B [13:29:52]RasterBufferAndPrint [13:29:52]line [13:29:52]line [13:29:52]line [13:29:52]line [13:29:52]line [13:29:52]written 0, free lines is 3040 [13:29:52]MH_Cut [13:29:52]Write to MH i2c: D1 01 00 45 02 01 19 [13:29:52]Write i2c OK [13:29:52]MH_I2C_Read... [13:29:52]Read from MH i2c: D1 [13:29:52]MH_I2C_Read... [13:29:52]Read from MH i2c: D1 01 00 [13:29:52]MH_I2C_Read... [13:29:52]Read from MH i2c: D1 01 00 45 02 00 18 [13:29:52]Write to MH i2c: 01 00 00 46 02 48 [13:29:52]Write i2c OK [13:29:52]MH_I2C_Read... [13:29:53]*** Cut start [13:29:53]*** Partial cut [13:29:53]*** CUTSNS_PIN = 1 [13:29:53]*** CUTSNS_PIN = 0 [13:29:53]*** Brake cut motor [13:29:54]Read from MH i2c: 01 [13:29:54]MH_I2C_Read... [13:29:54]*** Stop cut motor [13:29:54]*** Cut end [13:29:54]Read from MH i2c: 01 07 00 [13:29:54]MH_I2C_Read... [13:29:54]Read from MH i2c: 01 07 00 46 02 00 00 00 00 00 FF 0F 5D [13:29:54]process_action close_receipt done [13:29:54]requested_data is exist [13:29:54]produce_requested_data [13:29:54]requested_item fm.sn is exist - process it [13:29:54]wFMCommunicate request_size=4 [13:29:54]MH_SAM_APDU [13:29:54]CAPDU: 80 11 00 00 [13:29:54]Write to MH i2c: E2 08 00 47 02 80 11 00 00 00 00 00 00 C3 [13:29:54]Write i2c OK [13:29:54]MH_I2C_Read... [13:29:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:29:54]Read from MH i2c: E2 [13:29:54]MH_I2C_Read... [13:29:54]Read from MH i2c: E2 17 00 [13:29:54]MH_I2C_Read... [13:29:54]Read from MH i2c: E2 17 00 47 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 1D [13:29:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [13:29:54]wFMCommunicate OK [13:29:54]requested_item fd.num is exist - process it [13:29:54]SAM_PROTO_GetFieldsCounters [13:29:54]wFMCommunicate request_size=4 [13:29:54]MH_SAM_APDU [13:29:54]CAPDU: 80 13 00 00 [13:29:54]Write to MH i2c: E2 08 00 48 02 80 13 00 00 00 00 00 00 C6 [13:29:54]Write i2c OK [13:29:54]MH_I2C_Read... [13:29:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:29:54]Read from MH i2c: E2 [13:29:54]MH_I2C_Read... [13:29:54]Read from MH i2c: E2 62 00 [13:29:54]MH_I2C_Read... [13:29:54]Read from MH i2c: E2 62 00 48 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 40 31 00 00 0E 04 04 00 19 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 B0 [13:29:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 40 31 00 00 0E 04 04 00 19 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 [13:29:54]wFMCommunicate OK [13:29:54]SAM_PROTO_GetFieldsCounters done [13:29:54]requested_item shift.num is exist - process it [13:29:54]requested_item shift.opened is exist - process it [13:29:54]req_shift_opened [13:29:54]FM_GetShiftState [13:29:54]SAM_PROTO_GetShiftState [13:29:54]wFMCommunicate request_size=4 [13:29:54]MH_SAM_APDU [13:29:54]CAPDU: 80 13 01 00 [13:29:54]Write to MH i2c: E2 08 00 49 02 80 13 01 00 00 00 00 00 C8 [13:29:54]Write i2c OK [13:29:54]MH_I2C_Read... [13:29:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:29:54]Read from MH i2c: E2 [13:29:54]MH_I2C_Read... [13:29:54]Read from MH i2c: E2 0E 00 [13:29:54]MH_I2C_Read... [13:29:54]Read from MH i2c: E2 0E 00 49 02 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 20 [13:29:54]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [13:29:54]wFMCommunicate OK [13:29:54]SAM_PROTO_GetShiftState done [13:29:54]FM_GetShiftState done [13:29:54]req_shift_opened done [13:29:54]requested_item shift.open_date is exist - process it [13:29:54]req_shift_open_date [13:29:54]req_shift_open_date done [13:29:54]produce_requested_data done [13:29:54]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12608,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [13:29:54]process_action_free close_receipt [13:29:54]json_value_free [13:29:54]json_value_free done [13:29:54]process_json_proto returns [13:29:54]Send response to host [13:29:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12608,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [13:29:54]free response buf [13:29:54]execute_script done [13:29:54]execute_script returns [13:29:54]free content buf [13:29:54]Sock 7.Close socket [13:29:54]Sock 7.Thread stoped [13:29:57]ConnectInit Can't take IP for lk.salyk.kg [13:29:57]CommunicateWithHost connect error [13:29:57]CommunicateWithHost err = -1 [13:29:57]OFD Sender: Server communicate error [13:30:02]OFD Sender: Processing packet 12608 [packets to send 7, broken 6] [13:30:02]ProducePacketName [13:30:02]name=ofd_packets/00012608 [13:30:02]OFD Sender: To server: pG, [13:30:02]CommunicateWithHost lk.salyk.kg:30040 [13:30:02]ConnectInit lk.salyk.kg [13:30:02]Connected sock=7 [13:30:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 8F 02 00 00 6F 1B 87 02 79 95 5A 03 01 00 03 00 7B 02 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 36 32 34 06 04 29 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 38 36 38 06 04 27 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 33 38 30 30 30 32 30 34 35 33 34 30 37 06 04 2E 00 4E 65 73 74 6C 65 20 4B 49 54 2D 4B 41 54 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 63 68 75 6E 6B 79 20 33 36 78 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 78 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 10 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 0C 00 00 00 00 07 04 06 00 50 78 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 CD 14 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 40 31 00 00 35 04 06 00 87 5F 0E 30 C3 F8 0C 4E 43 D6 09 B1 28 85 [13:30:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 63 83 47 00 B2 38 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 40 31 00 00 F4 03 04 00 59 BD 24 66 B6 04 01 00 00 1B 94 B8 1D 90 62 94 AB [13:30:02]CommunicateWithHost err = 0 [13:30:02]CheckOFDResponse [13:30:02]1017 (14) - 77093643461234 [13:30:02]1041 (16) - 0000000000965685 [13:30:02]1040 (4) - 12608 [13:30:02]1012 (4) - 21.04.2024 07:16 [13:30:02]1206 (1) - 0 [13:30:02]OFD Sender: Remove packet 12608 [13:30:02]ProducePacketName [13:30:02]name=ofd_packets/00012608 [13:30:02]NVStorageDeleteData [13:30:02]OFD Sender: No OFD packet to send [13:30:07]OFD Sender: No OFD packet to send [13:30:12]OFD Sender: No OFD packet to send [13:30:17]OFD Sender: No OFD packet to send [13:30:22]OFD Sender: No OFD packet to send [13:30:27]OFD Sender: No OFD packet to send [13:30:32]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:44]accept exits with 9 [13:34:44]New connection [13:34:44]New thread 3067047268 created [13:34:44]Thread 3067190628 joined [13:34:44]Waiting for new connection... [13:34:44] Sock 9.Parse request [13:34:44]Sock 9.Check first char [13:34:44]Sock 9.First char is OK [13:34:44]request: POST /json_proto HTTP/1.0 [13:34:44]Method: POST [13:34:44]URL: /json_proto [13:34:44]Method is POST - this is cgi request [13:34:44]url: /json_proto [13:34:44]query_string will be loaded in cgi processing [13:34:44]execute_cgi json_proto POST (null) [13:34:44]execute_cgi path=json_proto method=POST [13:34:44]POST find Content-Length [13:34:44]Host: 172.17.62.6:8080 [13:34:44]Content-Length: 750 [13:34:44]Content-Type: application/json [13:34:44] [13:34:44]POST finish read [13:34:44]Found Content-Length = 750 [13:34:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32881", "tax_sys" : 0, "items" : [ { "code": "4601025113964", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0440\u0443\u0442\u043C\u043E\u0442\u0438\u0432 \u0442\u0440\u043E\u043F\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u043C\u0438\u043A\u0441 0,9", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:34:44]execute_script... [13:34:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32881", "tax_sys" : 0, "items" : [ { "code": "4601025113964", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0440\u0443\u0442\u043C\u043E\u0442\u0438\u0432 \u0442\u0440\u043E\u043F\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u043C\u0438\u043A\u0441 0,9", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:34:44]POST & json_proto [13:34:44]process_json_proto [13:34:44]json parsed OK: [13:34:44]protocol is kg_v1.0 [13:34:44]action value=close_receipt [13:34:44]process_action close_receipt [13:34:44]cmd_close_receipt [13:34:44]MH_GetDate [13:34:44]Write to MH i2c: F0 00 00 4A 02 3B [13:34:44]Write i2c OK [13:34:44]MH_I2C_Read... [13:34:44]Read from MH i2c: F0 [13:34:44]MH_I2C_Read... [13:34:44]Read from MH i2c: F0 09 00 [13:34:44]MH_I2C_Read... [13:34:44]Read from MH i2c: F0 09 00 4A 02 00 F4 15 25 66 61 69 D2 64 D8 [13:34:44]GetLastDocTimeStamp 1713706189 [13:34:44]current date 1713706484 [13:34:44]FM_GetShiftState [13:34:44]SAM_PROTO_GetShiftState [13:34:44]wFMCommunicate request_size=4 [13:34:44]MH_SAM_APDU [13:34:44]CAPDU: 80 13 01 00 [13:34:44]Write to MH i2c: E2 08 00 4B 02 80 13 01 00 00 00 00 00 CA [13:34:44]Write i2c OK [13:34:44]MH_I2C_Read... [13:34:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:34:44]Read from MH i2c: E2 [13:34:44]MH_I2C_Read... [13:34:44]Read from MH i2c: E2 0E 00 [13:34:44]MH_I2C_Read... [13:34:44]Read from MH i2c: E2 0E 00 4B 02 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 22 [13:34:44]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [13:34:44]wFMCommunicate OK [13:34:44]SAM_PROTO_GetShiftState done [13:34:44]FM_GetShiftState done [13:34:44]opened in 1713658727 [13:34:44]opened+sec_in_day 1713745127 [13:34:44]quantity*price = 13500 [13:34:44]sum+1 = 13501 [13:34:44]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 21 21.04.2024 13:34 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12609 ФПД: 181525810665602 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T133444&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12609&fm=181525810665602&tin=02508201610067®Number=0000000000100748&sum=13500 0 [13:34:45]StoreToDocumentArchive [13:34:45]shift 281 fd 12609 [13:34:45]save to /storage/0281/doc_00012609 [13:34:45]save last doc name /storage/0281/doc_00012609 to /storage/kkm_last_doc_name [13:34:45]save OK [13:34:45]Clear old archive folders... [13:34:45]ProcessDocumentItem done err = 0, tmpTLVsize=311 [13:34:45]tlvbuf is 01A32310 [13:34:45]SAM_PROTO_ClearQueue [13:34:45]wFMCommunicate request_size=4 [13:34:45]MH_SAM_APDU [13:34:45]CAPDU: 80 09 00 00 [13:34:45]Write to MH i2c: E2 08 00 58 02 80 09 00 00 00 00 00 00 CC [13:34:45]Write i2c OK [13:34:45]MH_I2C_Read... [13:34:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:34:45]Read from MH i2c: E2 [13:34:45]MH_I2C_Read... [13:34:45]Read from MH i2c: E2 03 00 [13:34:45]MH_I2C_Read... [13:34:45]Read from MH i2c: E2 03 00 58 02 00 90 00 CE [13:34:45]RAPDU: 90 00 [13:34:45]wFMCommunicate OK [13:34:45]SAM_PROTO_ClearQueue done [13:34:45]KKMCreateOFDPacket [13:34:45]OFDProtocolAddRootSTLVToBuf [13:34:45]FM_MakeSignedData [13:34:45]FM_MakeSignedData [13:34:45]SAM_PROTO_SignData [13:34:45]wFMCommunicate request_size=4 [13:34:45]MH_SAM_APDU [13:34:45]CAPDU: 80 0D 01 02 [13:34:45]Write to MH i2c: E2 08 00 59 02 80 0D 01 02 00 00 00 00 D4 [13:34:45]Write i2c OK [13:34:45]MH_I2C_Read... [13:34:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:34:46]Read from MH i2c: E2 [13:34:46]MH_I2C_Read... [13:34:46]Read from MH i2c: E2 03 00 [13:34:46]MH_I2C_Read... [13:34:46]Read from MH i2c: E2 03 00 59 02 00 90 00 CF [13:34:46]RAPDU: 90 00 [13:34:46]wFMCommunicate OK [13:34:46]wFMCommunicate request_size=255 [13:34:46]MH_SAM_APDU [13:34:46]CAPDU: 80 0D 02 02 FA 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 33 39 36 34 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D1 82 D1 80 D0 BE D0 BF D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BC D0 B8 D0 BA D1 81 20 30 2C 39 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 F4 15 25 66 0E 04 04 00 19 01 [13:34:46]Write to MH i2c: E2 02 01 5A 02 80 0D 02 02 FA 00 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 33 39 36 34 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D1 82 D1 80 D0 BE D0 BF D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BC D0 B8 D0 BA D1 81 20 30 2C 39 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 F4 15 25 66 0E 04 04 00 19 01 00 00 18 [13:34:46]Write i2c OK [13:34:46]MH_I2C_Read... [13:34:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:34:46]Read from MH i2c: E2 [13:34:46]MH_I2C_Read... [13:34:46]Read from MH i2c: E2 03 00 [13:34:46]MH_I2C_Read... [13:34:46]Read from MH i2c: E2 03 00 5A 02 00 90 00 D0 [13:34:46]RAPDU: 90 00 [13:34:46]wFMCommunicate OK [13:34:46]wFMCommunicate request_size=70 [13:34:46]MH_SAM_APDU [13:34:46]CAPDU: 80 0D 02 02 41 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 41 31 00 00 35 04 06 00 A5 18 C5 76 58 82 [13:34:46]Write to MH i2c: E2 49 00 5B 02 80 0D 02 02 41 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 41 31 00 00 35 04 06 00 A5 18 C5 76 58 82 00 00 34 [13:34:46]Write i2c OK [13:34:46]MH_I2C_Read... [13:34:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:34:46]Read from MH i2c: E2 [13:34:46]MH_I2C_Read... [13:34:46]Read from MH i2c: E2 03 00 [13:34:46]MH_I2C_Read... [13:34:46]Read from MH i2c: E2 03 00 5B 02 00 90 00 D1 [13:34:46]RAPDU: 90 00 [13:34:46]wFMCommunicate OK [13:34:46]wFMCommunicate request_size=4 [13:34:46]MH_SAM_APDU [13:34:46]CAPDU: 80 0D 03 02 [13:34:46]Write to MH i2c: E2 08 00 5C 02 80 0D 03 02 00 00 00 00 D9 [13:34:46]Write i2c OK [13:34:46]MH_I2C_Read... [13:34:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:34:46]Read from MH i2c: E2 [13:34:46]MH_I2C_Read... [13:34:46]Read from MH i2c: E2 0B 00 [13:34:46]MH_I2C_Read... [13:34:46]Read from MH i2c: E2 0B 00 5C 02 00 75 8E 9A 52 4A 40 F3 C2 90 00 08 [13:34:46]RAPDU: 75 8E 9A 52 4A 40 F3 C2 90 00 [13:34:46]wFMCommunicate OK [13:34:46]SAM_PROTO_SignData done [13:34:46]FM_MakeSignedData done [13:34:46]CreateOFDProtocolMessage [13:34:46]wFMCommunicate request_size=4 [13:34:46]MH_SAM_APDU [13:34:46]CAPDU: 80 11 00 00 [13:34:46]Write to MH i2c: E2 08 00 5D 02 80 11 00 00 00 00 00 00 D9 [13:34:46]Write i2c OK [13:34:46]MH_I2C_Read... [13:34:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:34:46]Read from MH i2c: E2 [13:34:46]MH_I2C_Read... [13:34:46]Read from MH i2c: E2 17 00 [13:34:46]MH_I2C_Read... [13:34:46]Read from MH i2c: E2 17 00 5D 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 33 [13:34:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [13:34:46]wFMCommunicate OK [13:34:46]CreateOFDProtocolMessage done [13:34:46]OFDSenderStorePacket 12609 [13:34:46]StoreOFDPacket docnum=12609 [13:34:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4B 01 00 00 6E 7D 43 01 D8 68 5A 03 01 00 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 33 39 36 34 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D1 82 D1 80 D0 BE D0 BF D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BC D0 B8 D0 BA D1 81 20 30 2C 39 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 F4 15 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 41 31 00 00 35 04 06 00 A5 18 C5 76 58 82 75 8E 9A 52 4A 40 F3 C2 [13:34:46]CheckFolder [13:34:46]dirname=/storage/ofd_packets [13:34:46]CheckFolder done [13:34:46]ProducePacketName [13:34:46]name=ofd_packets/00012609 [13:34:46]NVStorageSaveData ofd_packets/00012609 [13:34:46]File name is /storage/ofd_packets/00012609 [13:34:46]Write 361 bytes [13:34:46]NVStorageSaveData done [13:34:46]OFDSenderStorePacket done [13:34:46]KKMCreateOFDPacket done [13:34:46]NVStorageSaveData kkm_last_timestamp [13:34:46]File name is /storage/kkm_last_timestamp [13:34:46]Write 4 bytes [13:34:46]NVStorageSaveData done [13:34:46]ExternCall_PrintAddStr [13:34:46]wPrintStart [13:34:46]Write to MH i2c: 01 00 00 5E 02 60 [13:34:46]Write i2c OK [13:34:46]MH_I2C_Read... [13:34:46]Read from MH i2c: 01 [13:34:46]MH_I2C_Read... [13:34:46]Read from MH i2c: 01 07 00 [13:34:46]MH_I2C_Read... [13:34:46]Read from MH i2c: 01 07 00 5E 02 00 00 00 00 00 FF 0F 75 [13:34:46]RasterBufferAndPrint [13:34:46]line Счет N : (3)32881 [13:34:46]line ИНН: 02508201610067 [13:34:46]line Контрольно-Кассовый Чек [13:34:46]line ПРОДАЖА [13:34:46]line Товар: 4601025113964 [13:34:46]line Напиток Фрутмотив тропический микс 0,9 [13:34:46]line 1.000 * 135.00 [13:34:46]line = 135.00 [13:34:46]line НДС 12% НСП 1% [13:34:46]line > о реализуемом товаре [13:34:46]line ИТОГО: 135.00 [13:34:46]line НСП 1% : 1.19 [13:34:46]line НДС 12% : 14.34 [13:34:46]line Наличными: 135.00 [13:34:46]line Безнал.: 0.00 [13:34:46]line Место: АЗС № 106 "Партнер Нефть" [13:34:46]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [13:34:46]line СНО: Общий режим [13:34:46]line Чек 21 21.04.2024 13:34 [13:34:46]line Смена: 281 ФФД: 1.0 [13:34:46]line ЗНМ: 0300000004 [13:34:46]line РНМ: 0000000000100748 [13:34:46]line Версия ККМ: 001 [13:34:46]line ФМ: 0000000000965685 [13:34:46]line ФД: 12609 [13:34:46]line ФПД: 181525810665602 [13:34:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T133444&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12609&fm=181525810665602&tin=02508201610067®Number=0000000000100748&sum=13500 [13:34:46]line 0 [13:34:46]OFD Sender: Processing packet 12609 [packets to send 7, broken 6] [13:34:46]ProducePacketName [13:34:46]name=ofd_packets/00012609 [13:34:46]OFD Sender: To server: pG, [13:34:46]CommunicateWithHost lk.salyk.kg:30040 [13:34:46]ConnectInit lk.salyk.kg [13:34:46]written 0, free lines is 4095 [13:34:47]Connected sock=10 [13:34:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4B 01 00 00 6E 7D 43 01 D8 68 5A 03 01 00 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 33 39 36 34 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D1 82 D1 80 D0 BE D0 BF D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BC D0 B8 D0 BA D1 81 20 30 2C 39 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 F4 15 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 41 31 00 00 35 04 06 00 A5 18 C5 76 58 82 75 8E 9A 52 4A 40 F3 C2 [13:34:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 02 39 47 00 D3 6D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 41 31 00 00 F4 03 04 00 76 BE 24 66 B6 04 01 00 00 98 95 D9 24 09 35 11 EF [13:34:47]CommunicateWithHost err = 0 [13:34:47]CheckOFDResponse [13:34:47]1017 (14) - 77093643461234 [13:34:47]1041 (16) - 0000000000965685 [13:34:47]1040 (4) - 12609 [13:34:47]1012 (4) - 21.04.2024 07:21 [13:34:47]1206 (1) - 0 [13:34:47]OFD Sender: Remove packet 12609 [13:34:47]ProducePacketName [13:34:47]name=ofd_packets/00012609 [13:34:47]NVStorageDeleteData [13:34:47]Write to MH i2c: 01 00 00 86 02 88 [13:34:47]Write i2c OK [13:34:47]MH_I2C_Read... [13:34:47]Read from MH i2c: 01 [13:34:47]MH_I2C_Read... [13:34:47]Read from MH i2c: 01 07 00 [13:34:47]MH_I2C_Read... [13:34:47]Read from MH i2c: 01 07 00 86 02 00 00 00 00 00 E6 0C 81 [13:34:47]RasterBufferAndPrint [13:34:47]line [13:34:47]line [13:34:47]line [13:34:47]line [13:34:47]line [13:34:47]written 0, free lines is 3307 [13:34:47]MH_Cut [13:34:47]Write to MH i2c: D1 01 00 8D 02 01 61 [13:34:47]Write i2c OK [13:34:47]MH_I2C_Read... [13:34:47]Read from MH i2c: D1 [13:34:47]MH_I2C_Read... [13:34:47]Read from MH i2c: D1 01 00 [13:34:47]MH_I2C_Read... [13:34:47]Read from MH i2c: D1 01 00 8D 02 00 60 [13:34:47]Write to MH i2c: 01 00 00 8E 02 90 [13:34:47]Write i2c OK [13:34:47]MH_I2C_Read... [13:34:47]OFD Sender: No OFD packet to send [13:34:48]*** Cut start [13:34:48]*** Partial cut [13:34:48]*** CUTSNS_PIN = 1 [13:34:48]*** CUTSNS_PIN = 0 [13:34:48]*** Brake cut motor [13:34:48]Read from MH i2c: 01 [13:34:48]MH_I2C_Read... [13:34:48]*** Stop cut motor [13:34:48]*** Cut end [13:34:48]Read from MH i2c: 01 07 00 [13:34:48]MH_I2C_Read... [13:34:48]Read from MH i2c: 01 07 00 8E 02 00 00 00 00 00 FF 0F A5 [13:34:48]process_action close_receipt done [13:34:48]requested_data is exist [13:34:48]produce_requested_data [13:34:48]requested_item fm.sn is exist - process it [13:34:48]wFMCommunicate request_size=4 [13:34:48]MH_SAM_APDU [13:34:48]CAPDU: 80 11 00 00 [13:34:48]Write to MH i2c: E2 08 00 8F 02 80 11 00 00 00 00 00 00 0B [13:34:48]Write i2c OK [13:34:48]MH_I2C_Read... [13:34:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:34:48]Read from MH i2c: E2 [13:34:48]MH_I2C_Read... [13:34:48]Read from MH i2c: E2 17 00 [13:34:48]MH_I2C_Read... [13:34:48]Read from MH i2c: E2 17 00 8F 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 65 [13:34:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [13:34:48]wFMCommunicate OK [13:34:48]requested_item fd.num is exist - process it [13:34:48]SAM_PROTO_GetFieldsCounters [13:34:48]wFMCommunicate request_size=4 [13:34:48]MH_SAM_APDU [13:34:48]CAPDU: 80 13 00 00 [13:34:48]Write to MH i2c: E2 08 00 90 02 80 13 00 00 00 00 00 00 0E [13:34:48]Write i2c OK [13:34:48]MH_I2C_Read... [13:34:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:34:48]Read from MH i2c: E2 [13:34:48]MH_I2C_Read... [13:34:48]Read from MH i2c: E2 62 00 [13:34:48]MH_I2C_Read... [13:34:48]Read from MH i2c: E2 62 00 90 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 41 31 00 00 0E 04 04 00 19 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 FC [13:34:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 41 31 00 00 0E 04 04 00 19 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 [13:34:48]wFMCommunicate OK [13:34:48]SAM_PROTO_GetFieldsCounters done [13:34:48]requested_item shift.num is exist - process it [13:34:48]requested_item shift.opened is exist - process it [13:34:48]req_shift_opened [13:34:48]FM_GetShiftState [13:34:48]SAM_PROTO_GetShiftState [13:34:48]wFMCommunicate request_size=4 [13:34:48]MH_SAM_APDU [13:34:48]CAPDU: 80 13 01 00 [13:34:48]Write to MH i2c: E2 08 00 91 02 80 13 01 00 00 00 00 00 10 [13:34:48]Write i2c OK [13:34:48]MH_I2C_Read... [13:34:48]Read from MH i2c: E2 [13:34:48]MH_I2C_Read... [13:34:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:34:48]Read from MH i2c: E2 0E 00 [13:34:48]MH_I2C_Read... [13:34:48]Read from MH i2c: E2 0E 00 91 02 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 68 [13:34:48]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [13:34:48]wFMCommunicate OK [13:34:48]SAM_PROTO_GetShiftState done [13:34:48]FM_GetShiftState done [13:34:48]req_shift_opened done [13:34:48]requested_item shift.open_date is exist - process it [13:34:48]req_shift_open_date [13:34:48]req_shift_open_date done [13:34:48]produce_requested_data done [13:34:48]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12609,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [13:34:48]process_action_free close_receipt [13:34:48]json_value_free [13:34:48]json_value_free done [13:34:48]process_json_proto returns [13:34:48]Send response to host [13:34:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12609,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [13:34:48]free response buf [13:34:48]execute_script done [13:34:48]execute_script returns [13:34:48]free content buf [13:34:48]Sock 9.Close socket [13:34:48]Sock 9.Thread stoped [13:34:52]OFD Sender: No OFD packet to send [13:34:57]OFD Sender: No OFD packet to send [13:35:02]OFD Sender: No OFD packet to send [13:35:07]OFD Sender: No OFD packet to send [13:35:12]OFD Sender: No OFD packet to send [13:35:17]OFD Sender: No OFD packet to send [13:35:22]OFD Sender: No OFD packet to send [13:35:27]OFD Sender: No OFD packet to send [13:35:32]OFD Sender: No OFD packet to send [13:35:37]OFD Sender: No OFD packet to send [13:35:42]OFD Sender: No OFD packet to send [13:35:47]OFD Sender: No OFD packet to send [13:35:52]OFD Sender: No OFD packet to send [13:35:57]OFD Sender: No OFD packet to send [13:36:02]OFD Sender: No OFD packet to send [13:36:07]OFD Sender: No OFD packet to send [13:36:12]OFD Sender: No OFD packet to send [13:36:17]OFD Sender: No OFD packet to send [13:36:22]OFD Sender: No OFD packet to send [13:36:27]OFD Sender: No OFD packet to send [13:36:32]OFD Sender: No OFD packet to send [13:36:37]OFD Sender: No OFD packet to send [13:36:42]OFD Sender: No OFD packet to send [13:36:47]OFD Sender: No OFD packet to send [13:36:48]accept exits with 7 [13:36:48]New connection [13:36:48]New thread 3067190628 created [13:36:48]Thread 3067047268 joined [13:36:48]Waiting for new connection... [13:36:48] Sock 7.Parse request [13:36:48]Sock 7.Check first char [13:36:48]Sock 7.First char is OK [13:36:48]request: POST /json_proto HTTP/1.0 [13:36:48]Method: POST [13:36:48]URL: /json_proto [13:36:48]Method is POST - this is cgi request [13:36:48]url: /json_proto [13:36:48]query_string will be loaded in cgi processing [13:36:48]execute_cgi json_proto POST (null) [13:36:48]execute_cgi path=json_proto method=POST [13:36:48]POST find Content-Length [13:36:48]Host: 172.17.62.6:8080 [13:36:48]Content-Length: 619 [13:36:48]Content-Type: application/json [13:36:48] [13:36:48]POST finish read [13:36:48]Found Content-Length = 619 [13:36:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32882", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:36:48]execute_script... [13:36:48]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32882", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:36:48]POST & json_proto [13:36:48]process_json_proto [13:36:48]json parsed OK: [13:36:48]protocol is kg_v1.0 [13:36:48]action value=close_receipt [13:36:48]process_action close_receipt [13:36:48]cmd_close_receipt [13:36:48]MH_GetDate [13:36:48]Write to MH i2c: F0 00 00 92 02 83 [13:36:48]Write i2c OK [13:36:48]MH_I2C_Read... [13:36:48]Read from MH i2c: F0 [13:36:48]MH_I2C_Read... [13:36:48]Read from MH i2c: F0 09 00 [13:36:48]MH_I2C_Read... [13:36:48]Read from MH i2c: F0 09 00 92 02 00 70 16 25 66 61 69 D2 64 9D [13:36:48]GetLastDocTimeStamp 1713706484 [13:36:48]current date 1713706608 [13:36:48]FM_GetShiftState [13:36:48]SAM_PROTO_GetShiftState [13:36:48]wFMCommunicate request_size=4 [13:36:48]MH_SAM_APDU [13:36:48]CAPDU: 80 13 01 00 [13:36:48]Write to MH i2c: E2 08 00 93 02 80 13 01 00 00 00 00 00 12 [13:36:48]Write i2c OK [13:36:48]MH_I2C_Read... [13:36:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:36:48]Read from MH i2c: E2 [13:36:48]MH_I2C_Read... [13:36:48]Read from MH i2c: E2 0E 00 [13:36:48]MH_I2C_Read... [13:36:48]Read from MH i2c: E2 0E 00 93 02 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 6A [13:36:48]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [13:36:48]wFMCommunicate OK [13:36:48]SAM_PROTO_GetShiftState done [13:36:48]FM_GetShiftState done [13:36:48]opened in 1713658727 [13:36:48]opened+sec_in_day 1713745127 [13:36:48]quantity*price = 13000 [13:36:48]sum+1 = 13001 [13:36:48]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 22 21.04.2024 13:36 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12610 ФПД: 40731179459452 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T133648&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12610&fm=40731179459452&tin=02508201610067®Number=0000000000100748&sum=13000 0 [13:36:49]StoreToDocumentArchive [13:36:49]shift 281 fd 12610 [13:36:49]save to /storage/0281/doc_00012610 [13:36:49]save last doc name /storage/0281/doc_00012610 to /storage/kkm_last_doc_name [13:36:49]save OK [13:36:49]Clear old archive folders... [13:36:49]ProcessDocumentItem done err = 0, tmpTLVsize=272 [13:36:49]tlvbuf is 01A32180 [13:36:49]SAM_PROTO_ClearQueue [13:36:49]wFMCommunicate request_size=4 [13:36:49]MH_SAM_APDU [13:36:49]CAPDU: 80 09 00 00 [13:36:49]Write to MH i2c: E2 08 00 A0 02 80 09 00 00 00 00 00 00 14 [13:36:49]Write i2c OK [13:36:49]MH_I2C_Read... [13:36:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:36:49]Read from MH i2c: E2 [13:36:49]MH_I2C_Read... [13:36:49]Read from MH i2c: E2 03 00 [13:36:49]MH_I2C_Read... [13:36:49]Read from MH i2c: E2 03 00 A0 02 00 90 00 16 [13:36:49]RAPDU: 90 00 [13:36:49]wFMCommunicate OK [13:36:49]SAM_PROTO_ClearQueue done [13:36:49]KKMCreateOFDPacket [13:36:49]OFDProtocolAddRootSTLVToBuf [13:36:49]FM_MakeSignedData [13:36:49]FM_MakeSignedData [13:36:49]SAM_PROTO_SignData [13:36:49]wFMCommunicate request_size=4 [13:36:49]MH_SAM_APDU [13:36:49]CAPDU: 80 0D 01 02 [13:36:49]Write to MH i2c: E2 08 00 A1 02 80 0D 01 02 00 00 00 00 1C [13:36:49]Write i2c OK [13:36:49]MH_I2C_Read... [13:36:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:36:49]Read from MH i2c: E2 [13:36:49]MH_I2C_Read... [13:36:49]Read from MH i2c: E2 03 00 [13:36:49]MH_I2C_Read... [13:36:49]Read from MH i2c: E2 03 00 A1 02 00 90 00 17 [13:36:49]RAPDU: 90 00 [13:36:49]wFMCommunicate OK [13:36:49]wFMCommunicate request_size=255 [13:36:49]MH_SAM_APDU [13:36:49]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 70 16 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 [13:36:49]Write to MH i2c: E2 02 01 A2 02 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 70 16 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 00 00 01 [13:36:49]Write i2c OK [13:36:49]MH_I2C_Read... [13:36:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:36:50]Read from MH i2c: E2 [13:36:50]MH_I2C_Read... [13:36:50]Read from MH i2c: E2 03 00 [13:36:50]MH_I2C_Read... [13:36:50]Read from MH i2c: E2 03 00 A2 02 00 90 00 18 [13:36:50]RAPDU: 90 00 [13:36:50]wFMCommunicate OK [13:36:50]wFMCommunicate request_size=31 [13:36:50]MH_SAM_APDU [13:36:50]CAPDU: 80 0D 02 02 1A 30 30 39 36 35 36 38 35 10 04 04 00 42 31 00 00 35 04 06 00 25 0B 77 7B A3 7C [13:36:50]Write to MH i2c: E2 22 00 A3 02 80 0D 02 02 1A 00 30 30 39 36 35 36 38 35 10 04 04 00 42 31 00 00 35 04 06 00 25 0B 77 7B A3 7C 00 00 05 [13:36:50]Write i2c OK [13:36:50]MH_I2C_Read... [13:36:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:36:50]Read from MH i2c: E2 [13:36:50]MH_I2C_Read... [13:36:50]Read from MH i2c: E2 03 00 [13:36:50]MH_I2C_Read... [13:36:50]Read from MH i2c: E2 03 00 A3 02 00 90 00 19 [13:36:50]RAPDU: 90 00 [13:36:50]wFMCommunicate OK [13:36:50]wFMCommunicate request_size=4 [13:36:50]MH_SAM_APDU [13:36:50]CAPDU: 80 0D 03 02 [13:36:50]Write to MH i2c: E2 08 00 A4 02 80 0D 03 02 00 00 00 00 21 [13:36:50]Write i2c OK [13:36:50]MH_I2C_Read... [13:36:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:36:50]Read from MH i2c: E2 [13:36:50]MH_I2C_Read... [13:36:50]Read from MH i2c: E2 0B 00 [13:36:50]MH_I2C_Read... [13:36:50]Read from MH i2c: E2 0B 00 A4 02 00 1A A4 A1 E1 07 60 6E B0 90 00 E7 [13:36:50]RAPDU: 1A A4 A1 E1 07 60 6E B0 90 00 [13:36:50]wFMCommunicate OK [13:36:50]SAM_PROTO_SignData done [13:36:50]FM_MakeSignedData done [13:36:50]CreateOFDProtocolMessage [13:36:50]wFMCommunicate request_size=4 [13:36:50]MH_SAM_APDU [13:36:50]CAPDU: 80 11 00 00 [13:36:50]Write to MH i2c: E2 08 00 A5 02 80 11 00 00 00 00 00 00 21 [13:36:50]Write i2c OK [13:36:50]MH_I2C_Read... [13:36:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:36:50]Read from MH i2c: E2 [13:36:50]MH_I2C_Read... [13:36:50]Read from MH i2c: E2 17 00 [13:36:50]MH_I2C_Read... [13:36:50]Read from MH i2c: E2 17 00 A5 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 7B [13:36:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [13:36:50]wFMCommunicate OK [13:36:50]CreateOFDProtocolMessage done [13:36:50]OFDSenderStorePacket 12610 [13:36:50]StoreOFDPacket docnum=12610 [13:36:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 24 01 00 00 FE CF 1C 01 62 F9 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 70 16 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 42 31 00 00 35 04 06 00 25 0B 77 7B A3 7C 1A A4 A1 E1 07 60 6E B0 [13:36:50]CheckFolder [13:36:50]dirname=/storage/ofd_packets [13:36:50]CheckFolder done [13:36:50]ProducePacketName [13:36:50]name=ofd_packets/00012610 [13:36:50]NVStorageSaveData ofd_packets/00012610 [13:36:50]File name is /storage/ofd_packets/00012610 [13:36:50]Write 322 bytes [13:36:50]NVStorageSaveData done [13:36:50]OFDSenderStorePacket done [13:36:50]KKMCreateOFDPacket done [13:36:50]NVStorageSaveData kkm_last_timestamp [13:36:50]File name is /storage/kkm_last_timestamp [13:36:50]Write 4 bytes [13:36:50]NVStorageSaveData done [13:36:50]ExternCall_PrintAddStr [13:36:50]wPrintStart [13:36:50]Write to MH i2c: 01 00 00 A6 02 A8 [13:36:50]Write i2c OK [13:36:50]MH_I2C_Read... [13:36:50]Read from MH i2c: 01 [13:36:50]MH_I2C_Read... [13:36:50]Read from MH i2c: 01 07 00 [13:36:50]MH_I2C_Read... [13:36:50]Read from MH i2c: 01 07 00 A6 02 00 00 00 00 00 FF 0F BD [13:36:50]RasterBufferAndPrint [13:36:50]line Счет N : (3)32882 [13:36:50]line ИНН: 02508201610067 [13:36:50]line Контрольно-Кассовый Чек [13:36:50]line ПРОДАЖА [13:36:50]line Товар: 48745000 [13:36:50]line Сигареты Winston Purple Mix [13:36:50]line 1.000 * 130.00 [13:36:50]line = 130.00 [13:36:50]line НДС 12% НСП 1% [13:36:50]line > о реализуемом товаре [13:36:50]line ИТОГО: 130.00 [13:36:50]line НСП 1% : 1.15 [13:36:50]line НДС 12% : 13.80 [13:36:50]line Наличными: 130.00 [13:36:50]line Безнал.: 0.00 [13:36:50]line Место: АЗС № 106 "Партнер Нефть" [13:36:50]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [13:36:50]line СНО: Общий режим [13:36:50]line Чек 22 21.04.2024 13:36 [13:36:50]line Смена: 281 ФФД: 1.0 [13:36:50]line ЗНМ: 0300000004 [13:36:50]line РНМ: 0000000000100748 [13:36:50]line Версия ККМ: 001 [13:36:50]line ФМ: 0000000000965685 [13:36:50]line ФД: 12610 [13:36:50]line ФПД: 40731179459452 [13:36:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T133648&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12610&fm=40731179459452&tin=02508201610067®Number=0000000000100748&sum=13000 [13:36:50]line 0 [13:36:50]OFD Sender: Processing packet 12610 [packets to send 7, broken 6] [13:36:50]ProducePacketName [13:36:50]name=ofd_packets/00012610 [13:36:50]OFD Sender: To server: pG, [13:36:50]CommunicateWithHost lk.salyk.kg:30040 [13:36:50]ConnectInit lk.salyk.kg [13:36:50]written 0, free lines is 4095 [13:36:50]Connected sock=10 [13:36:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 24 01 00 00 FE CF 1C 01 62 F9 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 70 16 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 42 31 00 00 35 04 06 00 25 0B 77 7B A3 7C 1A A4 A1 E1 07 60 6E B0 [13:36:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 7E 20 47 00 6D 5B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 42 31 00 00 F4 03 04 00 F1 BE 24 66 B6 04 01 00 00 C7 08 C0 85 EB D1 7F E0 [13:36:51]CommunicateWithHost err = 0 [13:36:51]CheckOFDResponse [13:36:51]1017 (14) - 77093643461234 [13:36:51]1041 (16) - 0000000000965685 [13:36:51]1040 (4) - 12610 [13:36:51]1012 (4) - 21.04.2024 07:23 [13:36:51]1206 (1) - 0 [13:36:51]OFD Sender: Remove packet 12610 [13:36:51]ProducePacketName [13:36:51]name=ofd_packets/00012610 [13:36:51]NVStorageDeleteData [13:36:51]Write to MH i2c: 01 00 00 CD 02 CF [13:36:51]Write i2c OK [13:36:51]MH_I2C_Read... [13:36:51]Read from MH i2c: 01 [13:36:51]MH_I2C_Read... [13:36:51]Read from MH i2c: 01 07 00 [13:36:51]MH_I2C_Read... [13:36:51]Read from MH i2c: 01 07 00 CD 02 00 00 00 00 00 0A 0D ED [13:36:51]RasterBufferAndPrint [13:36:51]line [13:36:51]line [13:36:51]line [13:36:51]line [13:36:51]line [13:36:51]written 0, free lines is 3344 [13:36:51]MH_Cut [13:36:51]Write to MH i2c: D1 01 00 D4 02 01 A8 [13:36:51]Write i2c OK [13:36:51]MH_I2C_Read... [13:36:51]Read from MH i2c: D1 [13:36:51]MH_I2C_Read... [13:36:51]Read from MH i2c: D1 01 00 [13:36:51]MH_I2C_Read... [13:36:51]Read from MH i2c: D1 01 00 D4 02 00 A7 [13:36:51]Write to MH i2c: 01 00 00 D5 02 D7 [13:36:51]Write i2c OK [13:36:51]MH_I2C_Read... [13:36:51]OFD Sender: No OFD packet to send [13:36:51]*** Cut start [13:36:51]*** Partial cut [13:36:51]*** CUTSNS_PIN = 1 [13:36:51]*** CUTSNS_PIN = 0 [13:36:52]*** Brake cut motor [13:36:52]Read from MH i2c: 01 [13:36:52]MH_I2C_Read... [13:36:52]*** Stop cut motor [13:36:52]*** Cut end [13:36:52]Read from MH i2c: 01 07 00 [13:36:52]MH_I2C_Read... [13:36:52]Read from MH i2c: 01 07 00 D5 02 00 00 00 00 00 FF 0F EC [13:36:52]process_action close_receipt done [13:36:52]requested_data is exist [13:36:52]produce_requested_data [13:36:52]requested_item fm.sn is exist - process it [13:36:52]wFMCommunicate request_size=4 [13:36:52]MH_SAM_APDU [13:36:52]CAPDU: 80 11 00 00 [13:36:52]Write to MH i2c: E2 08 00 D6 02 80 11 00 00 00 00 00 00 52 [13:36:52]Write i2c OK [13:36:52]MH_I2C_Read... [13:36:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:36:52]Read from MH i2c: E2 [13:36:52]MH_I2C_Read... [13:36:52]Read from MH i2c: E2 17 00 [13:36:52]MH_I2C_Read... [13:36:52]Read from MH i2c: E2 17 00 D6 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 AC [13:36:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [13:36:52]wFMCommunicate OK [13:36:52]requested_item fd.num is exist - process it [13:36:52]SAM_PROTO_GetFieldsCounters [13:36:52]wFMCommunicate request_size=4 [13:36:52]MH_SAM_APDU [13:36:52]CAPDU: 80 13 00 00 [13:36:52]Write to MH i2c: E2 08 00 D7 02 80 13 00 00 00 00 00 00 55 [13:36:52]Write i2c OK [13:36:52]MH_I2C_Read... [13:36:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:36:52]Read from MH i2c: E2 [13:36:52]MH_I2C_Read... [13:36:52]Read from MH i2c: E2 62 00 [13:36:52]MH_I2C_Read... [13:36:52]Read from MH i2c: E2 62 00 D7 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 42 31 00 00 0E 04 04 00 19 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 47 [13:36:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 42 31 00 00 0E 04 04 00 19 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 [13:36:52]wFMCommunicate OK [13:36:52]SAM_PROTO_GetFieldsCounters done [13:36:52]requested_item shift.num is exist - process it [13:36:52]requested_item shift.opened is exist - process it [13:36:52]req_shift_opened [13:36:52]FM_GetShiftState [13:36:52]SAM_PROTO_GetShiftState [13:36:52]wFMCommunicate request_size=4 [13:36:52]MH_SAM_APDU [13:36:52]CAPDU: 80 13 01 00 [13:36:52]Write to MH i2c: E2 08 00 D8 02 80 13 01 00 00 00 00 00 57 [13:36:52]Write i2c OK [13:36:52]MH_I2C_Read... [13:36:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:36:52]Read from MH i2c: E2 [13:36:52]MH_I2C_Read... [13:36:52]Read from MH i2c: E2 0E 00 [13:36:52]MH_I2C_Read... [13:36:52]Read from MH i2c: E2 0E 00 D8 02 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 AF [13:36:52]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [13:36:52]wFMCommunicate OK [13:36:52]SAM_PROTO_GetShiftState done [13:36:52]FM_GetShiftState done [13:36:52]req_shift_opened done [13:36:52]requested_item shift.open_date is exist - process it [13:36:52]req_shift_open_date [13:36:52]req_shift_open_date done [13:36:52]produce_requested_data done [13:36:52]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12610,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [13:36:52]process_action_free close_receipt [13:36:52]json_value_free [13:36:52]json_value_free done [13:36:52]process_json_proto returns [13:36:52]Send response to host [13:36:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12610,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [13:36:52]free response buf [13:36:52]execute_script done [13:36:52]execute_script returns [13:36:52]free content buf [13:36:52]Sock 7.Close socket [13:36:52]Sock 7.Thread stoped [13:36:56]OFD Sender: No OFD packet to send [13:37:01]OFD Sender: No OFD packet to send [13:37:06]OFD Sender: No OFD packet to send [13:37:11]OFD Sender: No OFD packet to send [13:37:16]OFD Sender: No OFD packet to send [13:37:21]OFD Sender: No OFD packet to send [13:37:26]OFD Sender: No OFD packet to send [13:37:31]OFD Sender: No OFD packet to send [13:37:36]OFD Sender: No OFD packet to send [13:37:41]OFD Sender: No OFD packet to send [13:37:46]OFD Sender: No OFD packet to send [13:37:51]OFD Sender: No OFD packet to send [13:37:56]OFD Sender: No OFD packet to send [13:38:01]OFD Sender: No OFD packet to send [13:38:06]OFD Sender: No OFD packet to send [13:38:11]OFD Sender: No OFD packet to send [13:38:16]OFD Sender: No OFD packet to send [13:38:21]OFD Sender: No OFD packet to send [13:38:26]OFD Sender: No OFD packet to send [13:38:31]OFD Sender: No OFD packet to send [13:38:36]OFD Sender: No OFD packet to send [13:38:41]OFD Sender: No OFD packet to send [13:38:46]OFD Sender: No OFD packet to send [13:38:51]OFD Sender: No OFD packet to send [13:38:56]OFD Sender: No OFD packet to send [13:39:01]OFD Sender: No OFD packet to send [13:39:06]OFD Sender: No OFD packet to send [13:39:11]OFD Sender: No OFD packet to send [13:39:16]OFD Sender: No OFD packet to send [13:39:21]OFD Sender: No OFD packet to send [13:39:26]OFD Sender: No OFD packet to send [13:39:31]OFD Sender: No OFD packet to send [13:39:36]OFD Sender: No OFD packet to send [13:39:41]OFD Sender: No OFD packet to send [13:39:46]OFD Sender: No OFD packet to send [13:39:51]OFD Sender: No OFD packet to send [13:39:56]OFD Sender: No OFD packet to send [13:40:01]OFD Sender: No OFD packet to send [13:40:06]OFD Sender: No OFD packet to send [13:40:11]OFD Sender: No OFD packet to send [13:40:16]OFD Sender: No OFD packet to send [13:40:21]OFD Sender: No OFD packet to send [13:40:26]OFD Sender: No OFD packet to send [13:40:31]OFD Sender: No OFD packet to send [13:40:36]OFD Sender: No OFD packet to send [13:40:41]OFD Sender: No OFD packet to send [13:40:46]OFD Sender: No OFD packet to send [13:40:51]OFD Sender: No OFD packet to send [13:40:56]OFD Sender: No OFD packet to send [13:41:01]OFD Sender: No OFD packet to send [13:41:06]OFD Sender: No OFD packet to send [13:41:11]OFD Sender: No OFD packet to send [13:41:16]OFD Sender: No OFD packet to send [13:41:21]OFD Sender: No OFD packet to send [13:41:26]OFD Sender: No OFD packet to send [13:41:31]OFD Sender: No OFD packet to send [13:41:36]OFD Sender: No OFD packet to send [13:41:41]OFD Sender: No OFD packet to send [13:41:46]OFD Sender: No OFD packet to send [13:41:51]OFD Sender: No OFD packet to send [13:41:56]OFD Sender: No OFD packet to send [13:42:01]OFD Sender: No OFD packet to send [13:42:06]OFD Sender: No OFD packet to send [13:42:11]OFD Sender: No OFD packet to send [13:42:16]OFD Sender: No OFD packet to send [13:42:21]OFD Sender: No OFD packet to send [13:42:26]OFD Sender: No OFD packet to send [13:42:31]OFD Sender: No OFD packet to send [13:42:36]OFD Sender: No OFD packet to send [13:42:41]OFD Sender: No OFD packet to send [13:42:46]OFD Sender: No OFD packet to send [13:42:51]OFD Sender: No OFD packet to send [13:42:56]OFD Sender: No OFD packet to send [13:43:01]OFD Sender: No OFD packet to send [13:43:06]OFD Sender: No OFD packet to send [13:43:11]OFD Sender: No OFD packet to send [13:43:16]OFD Sender: No OFD packet to send [13:43:21]OFD Sender: No OFD packet to send [13:43:26]OFD Sender: No OFD packet to send [13:43:31]OFD Sender: No OFD packet to send [13:43:36]OFD Sender: No OFD packet to send [13:43:41]OFD Sender: No OFD packet to send [13:43:46]OFD Sender: No OFD packet to send [13:43:51]OFD Sender: No OFD packet to send [13:43:56]OFD Sender: No OFD packet to send [13:44:01]OFD Sender: No OFD packet to send [13:44:06]OFD Sender: No OFD packet to send [13:44:11]OFD Sender: No OFD packet to send [13:44:16]OFD Sender: No OFD packet to send [13:44:21]OFD Sender: No OFD packet to send [13:44:26]OFD Sender: No OFD packet to send [13:44:31]OFD Sender: No OFD packet to send [13:44:36]OFD Sender: No OFD packet to send [13:44:41]OFD Sender: No OFD packet to send [13:44:46]OFD Sender: No OFD packet to send [13:44:51]OFD Sender: No OFD packet to send [13:44:56]OFD Sender: No OFD packet to send [13:45:01]OFD Sender: No OFD packet to send [13:45:06]OFD Sender: No OFD packet to send [13:45:11]OFD Sender: No OFD packet to send [13:45:16]OFD Sender: No OFD packet to send [13:45:21]OFD Sender: No OFD packet to send [13:45:26]OFD Sender: No OFD packet to send [13:45:31]OFD Sender: No OFD packet to send [13:45:36]OFD Sender: No OFD packet to send [13:45:41]OFD Sender: No OFD packet to send [13:45:46]OFD Sender: No OFD packet to send [13:45:50]accept exits with 9 [13:45:50]New connection [13:45:50]New thread 3067047268 created [13:45:50]Thread 3067190628 joined [13:45:50]Waiting for new connection... [13:45:50] Sock 9.Parse request [13:45:50]Sock 9.Check first char [13:45:50]Sock 9.First char is OK [13:45:50]request: POST /json_proto HTTP/1.0 [13:45:50]Method: POST [13:45:50]URL: /json_proto [13:45:50]Method is POST - this is cgi request [13:45:50]url: /json_proto [13:45:50]query_string will be loaded in cgi processing [13:45:50]execute_cgi json_proto POST (null) [13:45:50]execute_cgi path=json_proto method=POST [13:45:50]POST find Content-Length [13:45:50]Host: 172.17.62.6:8080 [13:45:50]Content-Length: 657 [13:45:50]Content-Type: application/json [13:45:50] [13:45:50]POST finish read [13:45:50]Found Content-Length = 657 [13:45:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32883", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:45:50]execute_script... [13:45:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32883", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:45:50]POST & json_proto [13:45:50]process_json_proto [13:45:50]json parsed OK: [13:45:50]protocol is kg_v1.0 [13:45:50]action value=close_receipt [13:45:50]process_action close_receipt [13:45:50]cmd_close_receipt [13:45:50]MH_GetDate [13:45:50]Write to MH i2c: F0 00 00 D9 02 CA [13:45:50]Write i2c OK [13:45:50]MH_I2C_Read... [13:45:50]Read from MH i2c: F0 [13:45:50]MH_I2C_Read... [13:45:50]Read from MH i2c: F0 09 00 [13:45:50]MH_I2C_Read... [13:45:50]Read from MH i2c: F0 09 00 D9 02 00 8E 18 25 66 61 69 D2 64 04 [13:45:50]GetLastDocTimeStamp 1713706608 [13:45:50]current date 1713707150 [13:45:50]FM_GetShiftState [13:45:50]SAM_PROTO_GetShiftState [13:45:50]wFMCommunicate request_size=4 [13:45:50]MH_SAM_APDU [13:45:50]CAPDU: 80 13 01 00 [13:45:50]Write to MH i2c: E2 08 00 DA 02 80 13 01 00 00 00 00 00 59 [13:45:50]Write i2c OK [13:45:50]MH_I2C_Read... [13:45:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:45:50]Read from MH i2c: E2 [13:45:50]MH_I2C_Read... [13:45:50]Read from MH i2c: E2 0E 00 [13:45:50]MH_I2C_Read... [13:45:50]Read from MH i2c: E2 0E 00 DA 02 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 B1 [13:45:50]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [13:45:50]wFMCommunicate OK [13:45:50]SAM_PROTO_GetShiftState done [13:45:50]FM_GetShiftState done [13:45:50]opened in 1713658727 [13:45:50]opened+sec_in_day 1713745127 [13:45:50]quantity*price = 11000 [13:45:50]sum+1 = 11001 [13:45:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 110.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 23 21.04.2024 13:45 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12611 ФПД: 45646979072900 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T134550&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12611&fm=45646979072900&tin=02508201610067®Number=0000000000100748&sum=11000 0 [13:45:51]StoreToDocumentArchive [13:45:51]shift 281 fd 12611 [13:45:51]save to /storage/0281/doc_00012611 [13:45:51]save last doc name /storage/0281/doc_00012611 to /storage/kkm_last_doc_name [13:45:51]save OK [13:45:51]Clear old archive folders... [13:45:51]ProcessDocumentItem done err = 0, tmpTLVsize=278 [13:45:51]tlvbuf is 01986A80 [13:45:51]SAM_PROTO_ClearQueue [13:45:51]wFMCommunicate request_size=4 [13:45:51]MH_SAM_APDU [13:45:51]CAPDU: 80 09 00 00 [13:45:51]Write to MH i2c: E2 08 00 E7 02 80 09 00 00 00 00 00 00 5B [13:45:51]Write i2c OK [13:45:51]MH_I2C_Read... [13:45:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:45:51]Read from MH i2c: E2 [13:45:51]MH_I2C_Read... [13:45:51]Read from MH i2c: E2 03 00 [13:45:51]MH_I2C_Read... [13:45:51]Read from MH i2c: E2 03 00 E7 02 00 90 00 5D [13:45:51]RAPDU: 90 00 [13:45:51]wFMCommunicate OK [13:45:51]SAM_PROTO_ClearQueue done [13:45:51]KKMCreateOFDPacket [13:45:51]OFDProtocolAddRootSTLVToBuf [13:45:51]FM_MakeSignedData [13:45:51]FM_MakeSignedData [13:45:51]SAM_PROTO_SignData [13:45:51]wFMCommunicate request_size=4 [13:45:51]MH_SAM_APDU [13:45:51]CAPDU: 80 0D 01 02 [13:45:51]Write to MH i2c: E2 08 00 E8 02 80 0D 01 02 00 00 00 00 63 [13:45:51]Write i2c OK [13:45:51]MH_I2C_Read... [13:45:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:45:51]Read from MH i2c: E2 [13:45:51]MH_I2C_Read... [13:45:51]Read from MH i2c: E2 03 00 [13:45:51]MH_I2C_Read... [13:45:51]Read from MH i2c: E2 03 00 E8 02 00 90 00 5E [13:45:51]RAPDU: 90 00 [13:45:51]wFMCommunicate OK [13:45:51]wFMCommunicate request_size=255 [13:45:51]MH_SAM_APDU [13:45:51]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 8E 18 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 [13:45:51]Write to MH i2c: E2 02 01 E9 02 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 8E 18 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 00 00 36 [13:45:51]Write i2c OK [13:45:51]MH_I2C_Read... [13:45:51]OFD Sender: No OFD packet to send [13:45:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:45:52]Read from MH i2c: E2 [13:45:52]MH_I2C_Read... [13:45:52]Read from MH i2c: E2 03 00 [13:45:52]MH_I2C_Read... [13:45:52]Read from MH i2c: E2 03 00 E9 02 00 90 00 5F [13:45:52]RAPDU: 90 00 [13:45:52]wFMCommunicate OK [13:45:52]wFMCommunicate request_size=37 [13:45:52]MH_SAM_APDU [13:45:52]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 43 31 00 00 35 04 06 00 29 84 03 F9 03 84 [13:45:52]Write to MH i2c: E2 28 00 EA 02 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 43 31 00 00 35 04 06 00 29 84 03 F9 03 84 00 00 68 [13:45:52]Write i2c OK [13:45:52]MH_I2C_Read... [13:45:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:45:52]Read from MH i2c: E2 [13:45:52]MH_I2C_Read... [13:45:52]Read from MH i2c: E2 03 00 [13:45:52]MH_I2C_Read... [13:45:52]Read from MH i2c: E2 03 00 EA 02 00 90 00 60 [13:45:52]RAPDU: 90 00 [13:45:52]wFMCommunicate OK [13:45:52]wFMCommunicate request_size=4 [13:45:52]MH_SAM_APDU [13:45:52]CAPDU: 80 0D 03 02 [13:45:52]Write to MH i2c: E2 08 00 EB 02 80 0D 03 02 00 00 00 00 68 [13:45:52]Write i2c OK [13:45:52]MH_I2C_Read... [13:45:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:45:52]Read from MH i2c: E2 [13:45:52]MH_I2C_Read... [13:45:52]Read from MH i2c: E2 0B 00 [13:45:52]MH_I2C_Read... [13:45:52]Read from MH i2c: E2 0B 00 EB 02 00 88 CC 77 49 D8 D8 22 89 90 00 D8 [13:45:52]RAPDU: 88 CC 77 49 D8 D8 22 89 90 00 [13:45:52]wFMCommunicate OK [13:45:52]SAM_PROTO_SignData done [13:45:52]FM_MakeSignedData done [13:45:52]CreateOFDProtocolMessage [13:45:52]wFMCommunicate request_size=4 [13:45:52]MH_SAM_APDU [13:45:52]CAPDU: 80 11 00 00 [13:45:52]Write to MH i2c: E2 08 00 EC 02 80 11 00 00 00 00 00 00 68 [13:45:52]Write i2c OK [13:45:52]MH_I2C_Read... [13:45:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:45:52]Read from MH i2c: E2 [13:45:52]MH_I2C_Read... [13:45:52]Read from MH i2c: E2 17 00 [13:45:52]MH_I2C_Read... [13:45:52]Read from MH i2c: E2 17 00 EC 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 C2 [13:45:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [13:45:52]wFMCommunicate OK [13:45:52]CreateOFDProtocolMessage done [13:45:52]OFDSenderStorePacket 12611 [13:45:52]StoreOFDPacket docnum=12611 [13:45:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2A 01 00 00 5F 2E 22 01 EB 32 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 8E 18 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 43 31 00 00 35 04 06 00 29 84 03 F9 03 84 88 CC 77 49 D8 D8 22 89 [13:45:52]CheckFolder [13:45:52]dirname=/storage/ofd_packets [13:45:52]CheckFolder done [13:45:52]ProducePacketName [13:45:52]name=ofd_packets/00012611 [13:45:52]NVStorageSaveData ofd_packets/00012611 [13:45:52]File name is /storage/ofd_packets/00012611 [13:45:52]Write 328 bytes [13:45:52]NVStorageSaveData done [13:45:52]OFDSenderStorePacket done [13:45:52]KKMCreateOFDPacket done [13:45:52]NVStorageSaveData kkm_last_timestamp [13:45:52]File name is /storage/kkm_last_timestamp [13:45:52]Write 4 bytes [13:45:52]NVStorageSaveData done [13:45:52]ExternCall_PrintAddStr [13:45:52]wPrintStart [13:45:52]Write to MH i2c: 01 00 00 ED 02 EF [13:45:52]Write i2c OK [13:45:52]MH_I2C_Read... [13:45:52]Read from MH i2c: 01 [13:45:52]MH_I2C_Read... [13:45:52]Read from MH i2c: 01 07 00 [13:45:52]MH_I2C_Read... [13:45:52]Read from MH i2c: 01 07 00 ED 02 00 00 00 00 00 FF 0F 04 [13:45:52]RasterBufferAndPrint [13:45:52]line Счет N : (3)32883 [13:45:52]line ИНН: 02508201610067 [13:45:52]line Контрольно-Кассовый Чек [13:45:52]line ПРОДАЖА [13:45:52]line Товар: 5449000054227 [13:45:52]line Напиток Кока-Кола 1л [13:45:52]line 1.000 * 110.00 [13:45:52]line = 110.00 [13:45:52]line НДС 12% НСП 1% [13:45:52]line > о реализуемом товаре [13:45:52]line ИТОГО: 110.00 [13:45:52]line НСП 1% : 0.97 [13:45:52]line НДС 12% : 11.68 [13:45:52]line Наличными: 110.00 [13:45:52]line Безнал.: 0.00 [13:45:52]line Место: АЗС № 106 "Партнер Нефть" [13:45:52]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [13:45:52]line СНО: Общий режим [13:45:52]line Чек 23 21.04.2024 13:45 [13:45:52]line Смена: 281 ФФД: 1.0 [13:45:52]line ЗНМ: 0300000004 [13:45:52]line РНМ: 0000000000100748 [13:45:52]line Версия ККМ: 001 [13:45:52]line ФМ: 0000000000965685 [13:45:52]line ФД: 12611 [13:45:52]line ФПД: 45646979072900 [13:45:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T134550&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12611&fm=45646979072900&tin=02508201610067®Number=0000000000100748&sum=11000 [13:45:52]line 0 [13:45:52]OFD Sender: Processing packet 12611 [packets to send 7, broken 6] [13:45:52]ProducePacketName [13:45:52]name=ofd_packets/00012611 [13:45:52]OFD Sender: To server: pG, [13:45:52]CommunicateWithHost lk.salyk.kg:30040 [13:45:52]ConnectInit lk.salyk.kg [13:45:52]written 0, free lines is 4095 [13:45:52]Connected sock=11 [13:45:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2A 01 00 00 5F 2E 22 01 EB 32 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 8E 18 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 43 31 00 00 35 04 06 00 29 84 03 F9 03 84 88 CC 77 49 D8 D8 22 89 [13:45:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 AE 39 47 00 C2 91 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 43 31 00 00 F4 03 04 00 0F C1 24 66 B6 04 01 00 00 B4 F6 64 62 B5 6F EE DA [13:45:53]CommunicateWithHost err = 0 [13:45:53]CheckOFDResponse [13:45:53]1017 (14) - 77093643461234 [13:45:53]1041 (16) - 0000000000965685 [13:45:53]1040 (4) - 12611 [13:45:53]1012 (4) - 21.04.2024 07:32 [13:45:53]1206 (1) - 0 [13:45:53]OFD Sender: Remove packet 12611 [13:45:53]ProducePacketName [13:45:53]name=ofd_packets/00012611 [13:45:53]NVStorageDeleteData [13:45:53]Write to MH i2c: 01 00 00 14 03 17 [13:45:53]Write i2c OK [13:45:53]MH_I2C_Read... [13:45:53]Read from MH i2c: 01 [13:45:53]MH_I2C_Read... [13:45:53]Read from MH i2c: 01 07 00 [13:45:53]MH_I2C_Read... [13:45:53]Read from MH i2c: 01 07 00 14 03 00 00 00 00 00 0D 0D 38 [13:45:53]RasterBufferAndPrint [13:45:53]line [13:45:53]line [13:45:53]line [13:45:53]line [13:45:53]line [13:45:53]written 0, free lines is 3347 [13:45:53]MH_Cut [13:45:53]Write to MH i2c: D1 01 00 1B 03 01 F0 [13:45:53]Write i2c OK [13:45:53]MH_I2C_Read... [13:45:53]Read from MH i2c: D1 [13:45:53]MH_I2C_Read... [13:45:53]Read from MH i2c: D1 01 00 [13:45:53]MH_I2C_Read... [13:45:53]Read from MH i2c: D1 01 00 1B 03 00 EF [13:45:53]Write to MH i2c: 01 00 00 1C 03 1F [13:45:53]Write i2c OK [13:45:53]MH_I2C_Read... [13:45:53]OFD Sender: No OFD packet to send [13:45:53]*** Cut start [13:45:53]*** Partial cut [13:45:53]*** CUTSNS_PIN = 1 [13:45:53]*** CUTSNS_PIN = 0 [13:45:54]*** Brake cut motor [13:45:54]Read from MH i2c: 01 [13:45:54]MH_I2C_Read... [13:45:54]*** Stop cut motor [13:45:54]*** Cut end [13:45:54]Read from MH i2c: 01 07 00 [13:45:54]MH_I2C_Read... [13:45:54]Read from MH i2c: 01 07 00 1C 03 00 00 00 00 00 FF 0F 34 [13:45:54]process_action close_receipt done [13:45:54]requested_data is exist [13:45:54]produce_requested_data [13:45:54]requested_item fm.sn is exist - process it [13:45:54]wFMCommunicate request_size=4 [13:45:54]MH_SAM_APDU [13:45:54]CAPDU: 80 11 00 00 [13:45:54]Write to MH i2c: E2 08 00 1D 03 80 11 00 00 00 00 00 00 9A [13:45:54]Write i2c OK [13:45:54]MH_I2C_Read... [13:45:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:45:54]Read from MH i2c: E2 [13:45:54]MH_I2C_Read... [13:45:54]Read from MH i2c: E2 17 00 [13:45:54]MH_I2C_Read... [13:45:54]Read from MH i2c: E2 17 00 1D 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 F4 [13:45:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [13:45:54]wFMCommunicate OK [13:45:54]requested_item fd.num is exist - process it [13:45:54]SAM_PROTO_GetFieldsCounters [13:45:54]wFMCommunicate request_size=4 [13:45:54]MH_SAM_APDU [13:45:54]CAPDU: 80 13 00 00 [13:45:54]Write to MH i2c: E2 08 00 1E 03 80 13 00 00 00 00 00 00 9D [13:45:54]Write i2c OK [13:45:54]MH_I2C_Read... [13:45:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:45:54]Read from MH i2c: E2 [13:45:54]MH_I2C_Read... [13:45:54]Read from MH i2c: E2 62 00 [13:45:54]MH_I2C_Read... [13:45:54]Read from MH i2c: E2 62 00 1E 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 43 31 00 00 0E 04 04 00 19 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 93 [13:45:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 43 31 00 00 0E 04 04 00 19 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:45:54]wFMCommunicate OK [13:45:54]SAM_PROTO_GetFieldsCounters done [13:45:54]requested_item shift.num is exist - process it [13:45:54]requested_item shift.opened is exist - process it [13:45:54]req_shift_opened [13:45:54]FM_GetShiftState [13:45:54]SAM_PROTO_GetShiftState [13:45:54]wFMCommunicate request_size=4 [13:45:54]MH_SAM_APDU [13:45:54]CAPDU: 80 13 01 00 [13:45:54]Write to MH i2c: E2 08 00 1F 03 80 13 01 00 00 00 00 00 9F [13:45:54]Write i2c OK [13:45:54]MH_I2C_Read... [13:45:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:45:54]Read from MH i2c: E2 [13:45:54]MH_I2C_Read... [13:45:54]Read from MH i2c: E2 0E 00 [13:45:54]MH_I2C_Read... [13:45:54]Read from MH i2c: E2 0E 00 1F 03 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 F7 [13:45:54]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [13:45:54]wFMCommunicate OK [13:45:54]SAM_PROTO_GetShiftState done [13:45:54]FM_GetShiftState done [13:45:54]req_shift_opened done [13:45:54]requested_item shift.open_date is exist - process it [13:45:54]req_shift_open_date [13:45:54]req_shift_open_date done [13:45:54]produce_requested_data done [13:45:54]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12611,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [13:45:54]process_action_free close_receipt [13:45:54]json_value_free [13:45:54]json_value_free done [13:45:54]process_json_proto returns [13:45:54]Send response to host [13:45:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12611,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [13:45:54]free response buf [13:45:54]execute_script done [13:45:54]execute_script returns [13:45:54]free content buf [13:45:54]Sock 9.Close socket [13:45:54]Sock 9.Thread stoped [13:45:58]OFD Sender: No OFD packet to send [13:46:03]OFD Sender: No OFD packet to send [13:46:08]OFD Sender: No OFD packet to send [13:46:13]OFD Sender: No OFD packet to send [13:46:18]OFD Sender: No OFD packet to send [13:46:23]OFD Sender: No OFD packet to send [13:46:28]OFD Sender: No OFD packet to send [13:46:33]OFD Sender: No OFD packet to send [13:46:38]OFD Sender: No OFD packet to send [13:46:43]OFD Sender: No OFD packet to send [13:46:48]OFD Sender: No OFD packet to send [13:46:53]OFD Sender: No OFD packet to send [13:46:58]OFD Sender: No OFD packet to send [13:47:03]OFD Sender: No OFD packet to send [13:47:08]OFD Sender: No OFD packet to send [13:47:13]OFD Sender: No OFD packet to send [13:47:18]OFD Sender: No OFD packet to send [13:47:23]OFD Sender: No OFD packet to send [13:47:28]OFD Sender: No OFD packet to send [13:47:33]OFD Sender: No OFD packet to send [13:47:38]OFD Sender: No OFD packet to send [13:47:43]OFD Sender: No OFD packet to send [13:47:48]OFD Sender: No OFD packet to send [13:47:53]OFD Sender: No OFD packet to send [13:47:58]OFD Sender: No OFD packet to send [13:48:03]OFD Sender: No OFD packet to send [13:48:08]OFD Sender: No OFD packet to send [13:48:13]OFD Sender: No OFD packet to send [13:48:18]OFD Sender: No OFD packet to send [13:48:23]OFD Sender: No OFD packet to send [13:48:28]OFD Sender: No OFD packet to send [13:48:33]OFD Sender: No OFD packet to send [13:48:38]OFD Sender: No OFD packet to send [13:48:43]OFD Sender: No OFD packet to send [13:48:48]OFD Sender: No OFD packet to send [13:48:53]OFD Sender: No OFD packet to send [13:48:58]OFD Sender: No OFD packet to send [13:49:03]OFD Sender: No OFD packet to send [13:49:08]OFD Sender: No OFD packet to send [13:49:13]OFD Sender: No OFD packet to send [13:49:18]OFD Sender: No OFD packet to send [13:49:23]OFD Sender: No OFD packet to send [13:49:28]OFD Sender: No OFD packet to send [13:49:33]OFD Sender: No OFD packet to send [13:49:38]OFD Sender: No OFD packet to send [13:49:43]OFD Sender: No OFD packet to send [13:49:48]OFD Sender: No OFD packet to send [13:49:53]OFD Sender: No OFD packet to send [13:49:58]OFD Sender: No OFD packet to send [13:50:03]OFD Sender: No OFD packet to send [13:50:08]OFD Sender: No OFD packet to send [13:50:13]OFD Sender: No OFD packet to send [13:50:18]OFD Sender: No OFD packet to send [13:50:23]OFD Sender: No OFD packet to send [13:50:28]OFD Sender: No OFD packet to send [13:50:33]OFD Sender: No OFD packet to send [13:50:38]OFD Sender: No OFD packet to send [13:50:43]OFD Sender: No OFD packet to send [13:50:48]OFD Sender: No OFD packet to send [13:50:53]OFD Sender: No OFD packet to send [13:50:58]OFD Sender: No OFD packet to send [13:51:03]OFD Sender: No OFD packet to send [13:51:08]OFD Sender: No OFD packet to send [13:51:13]OFD Sender: No OFD packet to send [13:51:18]OFD Sender: No OFD packet to send [13:51:23]OFD Sender: No OFD packet to send [13:51:28]OFD Sender: No OFD packet to send [13:51:33]OFD Sender: No OFD packet to send [13:51:38]OFD Sender: No OFD packet to send [13:51:43]OFD Sender: No OFD packet to send [13:51:48]OFD Sender: No OFD packet to send [13:51:53]OFD Sender: No OFD packet to send [13:51:58]OFD Sender: No OFD packet to send [13:52:03]OFD Sender: No OFD packet to send [13:52:08]OFD Sender: No OFD packet to send [13:52:13]OFD Sender: No OFD packet to send [13:52:18]OFD Sender: No OFD packet to send [13:52:23]OFD Sender: No OFD packet to send [13:52:28]OFD Sender: No OFD packet to send [13:52:33]OFD Sender: No OFD packet to send [13:52:38]OFD Sender: No OFD packet to send [13:52:43]OFD Sender: No OFD packet to send [13:52:48]OFD Sender: No OFD packet to send [13:52:53]OFD Sender: No OFD packet to send [13:52:58]OFD Sender: No OFD packet to send [13:53:03]OFD Sender: No OFD packet to send [13:53:08]OFD Sender: No OFD packet to send [13:53:13]OFD Sender: No OFD packet to send [13:53:18]OFD Sender: No OFD packet to send [13:53:23]OFD Sender: No OFD packet to send [13:53:28]OFD Sender: No OFD packet to send [13:53:33]OFD Sender: No OFD packet to send [13:53:38]OFD Sender: No OFD packet to send [13:53:43]OFD Sender: No OFD packet to send [13:53:48]OFD Sender: No OFD packet to send [13:53:53]OFD Sender: No OFD packet to send [13:53:58]OFD Sender: No OFD packet to send [13:54:03]OFD Sender: No OFD packet to send [13:54:08]OFD Sender: No OFD packet to send [13:54:13]OFD Sender: No OFD packet to send [13:54:18]OFD Sender: No OFD packet to send [13:54:23]OFD Sender: No OFD packet to send [13:54:28]OFD Sender: No OFD packet to send [13:54:33]OFD Sender: No OFD packet to send [13:54:38]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:51]accept exits with 7 [13:55:51]New connection [13:55:51]New thread 3067190628 created [13:55:51]Thread 3067047268 joined [13:55:51]Waiting for new connection... [13:55:51] Sock 7.Parse request [13:55:51]Sock 7.Check first char [13:55:51]Sock 7.First char is OK [13:55:51]request: POST /json_proto HTTP/1.0 [13:55:51]Method: POST [13:55:51]URL: /json_proto [13:55:51]Method is POST - this is cgi request [13:55:51]url: /json_proto [13:55:51]query_string will be loaded in cgi processing [13:55:51]execute_cgi json_proto POST (null) [13:55:51]execute_cgi path=json_proto method=POST [13:55:51]POST find Content-Length [13:55:51]Host: 172.17.62.6:8080 [13:55:51]Content-Length: 657 [13:55:51]Content-Type: application/json [13:55:51] [13:55:51]POST finish read [13:55:51]Found Content-Length = 657 [13:55:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32884", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:55:51]execute_script... [13:55:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32884", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:55:51]POST & json_proto [13:55:51]process_json_proto [13:55:51]json parsed OK: [13:55:51]protocol is kg_v1.0 [13:55:51]action value=close_receipt [13:55:51]process_action close_receipt [13:55:51]cmd_close_receipt [13:55:51]MH_GetDate [13:55:51]Write to MH i2c: F0 00 00 20 03 12 [13:55:51]Write i2c OK [13:55:51]MH_I2C_Read... [13:55:51]Read from MH i2c: F0 [13:55:51]MH_I2C_Read... [13:55:51]Read from MH i2c: F0 09 00 [13:55:51]MH_I2C_Read... [13:55:51]Read from MH i2c: F0 09 00 20 03 00 E7 1A 25 66 61 69 D2 64 A7 [13:55:51]GetLastDocTimeStamp 1713707150 [13:55:51]current date 1713707751 [13:55:51]FM_GetShiftState [13:55:51]SAM_PROTO_GetShiftState [13:55:51]wFMCommunicate request_size=4 [13:55:51]MH_SAM_APDU [13:55:51]CAPDU: 80 13 01 00 [13:55:51]Write to MH i2c: E2 08 00 21 03 80 13 01 00 00 00 00 00 A1 [13:55:51]Write i2c OK [13:55:51]MH_I2C_Read... [13:55:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:55:51]Read from MH i2c: E2 [13:55:51]MH_I2C_Read... [13:55:51]Read from MH i2c: E2 0E 00 [13:55:51]MH_I2C_Read... [13:55:51]Read from MH i2c: E2 0E 00 21 03 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 F9 [13:55:51]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [13:55:51]wFMCommunicate OK [13:55:51]SAM_PROTO_GetShiftState done [13:55:51]FM_GetShiftState done [13:55:51]opened in 1713658727 [13:55:51]opened+sec_in_day 1713745127 [13:55:51]quantity*price = 11000 [13:55:51]sum+1 = 11001 [13:55:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 110.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 24 21.04.2024 13:55 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12612 ФПД: 18495346326333 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T135552&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12612&fm=18495346326333&tin=02508201610067®Number=0000000000100748&sum=11000 0 [13:55:52]StoreToDocumentArchive [13:55:52]shift 281 fd 12612 [13:55:52]save to /storage/0281/doc_00012612 [13:55:52]save last doc name /storage/0281/doc_00012612 to /storage/kkm_last_doc_name [13:55:52]save OK [13:55:52]Clear old archive folders... [13:55:52]ProcessDocumentItem done err = 0, tmpTLVsize=278 [13:55:52]tlvbuf is 01986960 [13:55:52]SAM_PROTO_ClearQueue [13:55:52]wFMCommunicate request_size=4 [13:55:52]MH_SAM_APDU [13:55:52]CAPDU: 80 09 00 00 [13:55:52]Write to MH i2c: E2 08 00 2E 03 80 09 00 00 00 00 00 00 A3 [13:55:52]Write i2c OK [13:55:52]MH_I2C_Read... [13:55:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:55:52]Read from MH i2c: E2 [13:55:52]MH_I2C_Read... [13:55:52]Read from MH i2c: E2 03 00 [13:55:52]MH_I2C_Read... [13:55:52]Read from MH i2c: E2 03 00 2E 03 00 90 00 A5 [13:55:52]RAPDU: 90 00 [13:55:52]wFMCommunicate OK [13:55:52]SAM_PROTO_ClearQueue done [13:55:52]KKMCreateOFDPacket [13:55:52]OFDProtocolAddRootSTLVToBuf [13:55:52]FM_MakeSignedData [13:55:52]FM_MakeSignedData [13:55:52]SAM_PROTO_SignData [13:55:52]wFMCommunicate request_size=4 [13:55:52]MH_SAM_APDU [13:55:52]CAPDU: 80 0D 01 02 [13:55:52]Write to MH i2c: E2 08 00 2F 03 80 0D 01 02 00 00 00 00 AB [13:55:52]Write i2c OK [13:55:52]MH_I2C_Read... [13:55:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:55:52]Read from MH i2c: E2 [13:55:52]MH_I2C_Read... [13:55:52]Read from MH i2c: E2 03 00 [13:55:52]MH_I2C_Read... [13:55:52]Read from MH i2c: E2 03 00 2F 03 00 90 00 A6 [13:55:52]RAPDU: 90 00 [13:55:52]wFMCommunicate OK [13:55:52]wFMCommunicate request_size=255 [13:55:52]MH_SAM_APDU [13:55:52]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 E8 1A 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 [13:55:52]Write to MH i2c: E2 02 01 30 03 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 E8 1A 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 00 00 DB [13:55:53]Write i2c OK [13:55:53]MH_I2C_Read... [13:55:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:55:53]Read from MH i2c: E2 [13:55:53]MH_I2C_Read... [13:55:53]Read from MH i2c: E2 03 00 [13:55:53]MH_I2C_Read... [13:55:53]Read from MH i2c: E2 03 00 30 03 00 90 00 A7 [13:55:53]RAPDU: 90 00 [13:55:53]wFMCommunicate OK [13:55:53]wFMCommunicate request_size=37 [13:55:53]MH_SAM_APDU [13:55:53]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 44 31 00 00 35 04 06 00 10 D2 48 8C 3B 3D [13:55:53]Write to MH i2c: E2 28 00 31 03 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 44 31 00 00 35 04 06 00 10 D2 48 8C 3B 3D 00 00 AF [13:55:53]Write i2c OK [13:55:53]MH_I2C_Read... [13:55:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:55:53]Read from MH i2c: E2 [13:55:53]MH_I2C_Read... [13:55:53]Read from MH i2c: E2 03 00 [13:55:53]MH_I2C_Read... [13:55:53]Read from MH i2c: E2 03 00 31 03 00 90 00 A8 [13:55:53]RAPDU: 90 00 [13:55:53]wFMCommunicate OK [13:55:53]wFMCommunicate request_size=4 [13:55:53]MH_SAM_APDU [13:55:53]CAPDU: 80 0D 03 02 [13:55:53]Write to MH i2c: E2 08 00 32 03 80 0D 03 02 00 00 00 00 B0 [13:55:53]Write i2c OK [13:55:53]MH_I2C_Read... [13:55:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:55:53]Read from MH i2c: E2 [13:55:53]MH_I2C_Read... [13:55:53]Read from MH i2c: E2 0B 00 [13:55:53]MH_I2C_Read... [13:55:53]Read from MH i2c: E2 0B 00 32 03 00 A0 C4 F2 22 39 1E 9A 8B 90 00 A5 [13:55:53]RAPDU: A0 C4 F2 22 39 1E 9A 8B 90 00 [13:55:53]wFMCommunicate OK [13:55:53]SAM_PROTO_SignData done [13:55:53]FM_MakeSignedData done [13:55:53]CreateOFDProtocolMessage [13:55:53]wFMCommunicate request_size=4 [13:55:53]MH_SAM_APDU [13:55:53]CAPDU: 80 11 00 00 [13:55:53]Write to MH i2c: E2 08 00 33 03 80 11 00 00 00 00 00 00 B0 [13:55:53]Write i2c OK [13:55:53]MH_I2C_Read... [13:55:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:55:53]Read from MH i2c: E2 [13:55:53]MH_I2C_Read... [13:55:53]Read from MH i2c: E2 17 00 [13:55:53]MH_I2C_Read... [13:55:53]Read from MH i2c: E2 17 00 33 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 0A [13:55:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [13:55:53]wFMCommunicate OK [13:55:53]CreateOFDProtocolMessage done [13:55:53]OFDSenderStorePacket 12612 [13:55:53]StoreOFDPacket docnum=12612 [13:55:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2A 01 00 00 0D EA 22 01 EF BC 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 E8 1A 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 44 31 00 00 35 04 06 00 10 D2 48 8C 3B 3D A0 C4 F2 22 39 1E 9A 8B [13:55:53]CheckFolder [13:55:53]dirname=/storage/ofd_packets [13:55:53]CheckFolder done [13:55:53]ProducePacketName [13:55:53]name=ofd_packets/00012612 [13:55:53]NVStorageSaveData ofd_packets/00012612 [13:55:53]File name is /storage/ofd_packets/00012612 [13:55:53]Write 328 bytes [13:55:53]NVStorageSaveData done [13:55:53]OFDSenderStorePacket done [13:55:53]KKMCreateOFDPacket done [13:55:53]NVStorageSaveData kkm_last_timestamp [13:55:53]File name is /storage/kkm_last_timestamp [13:55:53]Write 4 bytes [13:55:53]NVStorageSaveData done [13:55:53]ExternCall_PrintAddStr [13:55:53]wPrintStart [13:55:53]Write to MH i2c: 01 00 00 34 03 37 [13:55:53]Write i2c OK [13:55:53]MH_I2C_Read... [13:55:53]Read from MH i2c: 01 [13:55:53]MH_I2C_Read... [13:55:53]Read from MH i2c: 01 07 00 [13:55:53]MH_I2C_Read... [13:55:53]Read from MH i2c: 01 07 00 34 03 00 00 00 00 00 FF 0F 4C [13:55:53]RasterBufferAndPrint [13:55:53]line Счет N : (3)32884 [13:55:53]line ИНН: 02508201610067 [13:55:53]line Контрольно-Кассовый Чек [13:55:53]line ПРОДАЖА [13:55:53]line Товар: 5449000054227 [13:55:53]line Напиток Кока-Кола 1л [13:55:53]line 1.000 * 110.00 [13:55:53]line = 110.00 [13:55:53]line НДС 12% НСП 1% [13:55:53]line > о реализуемом товаре [13:55:53]line ИТОГО: 110.00 [13:55:53]line НСП 1% : 0.97 [13:55:53]line НДС 12% : 11.68 [13:55:53]line Наличными: 110.00 [13:55:53]line Безнал.: 0.00 [13:55:53]line Место: АЗС № 106 "Партнер Нефть" [13:55:53]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [13:55:53]line СНО: Общий режим [13:55:53]line Чек 24 21.04.2024 13:55 [13:55:53]line Смена: 281 ФФД: 1.0 [13:55:53]line ЗНМ: 0300000004 [13:55:53]line РНМ: 0000000000100748 [13:55:53]line Версия ККМ: 001 [13:55:53]line ФМ: 0000000000965685 [13:55:53]line ФД: 12612 [13:55:53]line ФПД: 18495346326333 [13:55:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T135552&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12612&fm=18495346326333&tin=02508201610067®Number=0000000000100748&sum=11000 [13:55:53]line 0 [13:55:53]OFD Sender: Processing packet 12612 [packets to send 7, broken 6] [13:55:53]ProducePacketName [13:55:53]name=ofd_packets/00012612 [13:55:53]OFD Sender: To server: pG, [13:55:53]CommunicateWithHost lk.salyk.kg:30040 [13:55:53]ConnectInit lk.salyk.kg [13:55:53]written 0, free lines is 4095 [13:55:53]Connected sock=10 [13:55:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2A 01 00 00 0D EA 22 01 EF BC 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 E8 1A 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 44 31 00 00 35 04 06 00 10 D2 48 8C 3B 3D A0 C4 F2 22 39 1E 9A 8B [13:55:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 F9 76 47 00 75 0E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 44 31 00 00 F4 03 04 00 69 C3 24 66 B6 04 01 00 00 AC 89 A9 24 03 4C F9 48 [13:55:54]CommunicateWithHost err = 0 [13:55:54]CheckOFDResponse [13:55:54]1017 (14) - 77093643461234 [13:55:54]1041 (16) - 0000000000965685 [13:55:54]1040 (4) - 12612 [13:55:54]1012 (4) - 21.04.2024 07:42 [13:55:54]1206 (1) - 0 [13:55:54]OFD Sender: Remove packet 12612 [13:55:54]ProducePacketName [13:55:54]name=ofd_packets/00012612 [13:55:54]NVStorageDeleteData [13:55:54]Write to MH i2c: 01 00 00 5B 03 5E [13:55:54]Write i2c OK [13:55:54]MH_I2C_Read... [13:55:54]Read from MH i2c: 01 [13:55:54]MH_I2C_Read... [13:55:54]Read from MH i2c: 01 07 00 [13:55:54]MH_I2C_Read... [13:55:54]Read from MH i2c: 01 07 00 5B 03 00 00 00 00 00 0A 0D 7C [13:55:54]RasterBufferAndPrint [13:55:54]line [13:55:54]line [13:55:54]line [13:55:54]line [13:55:54]line [13:55:54]written 0, free lines is 3344 [13:55:54]MH_Cut [13:55:54]Write to MH i2c: D1 01 00 62 03 01 37 [13:55:54]Write i2c OK [13:55:54]MH_I2C_Read... [13:55:54]Read from MH i2c: D1 [13:55:54]MH_I2C_Read... [13:55:54]Read from MH i2c: D1 01 00 [13:55:54]MH_I2C_Read... [13:55:54]Read from MH i2c: D1 01 00 62 03 00 36 [13:55:54]Write to MH i2c: 01 00 00 63 03 66 [13:55:54]Write i2c OK [13:55:54]MH_I2C_Read... [13:55:54]OFD Sender: No OFD packet to send [13:55:54]*** Cut start [13:55:54]*** Partial cut [13:55:54]*** CUTSNS_PIN = 1 [13:55:54]*** CUTSNS_PIN = 0 [13:55:55]*** Brake cut motor [13:55:55]Read from MH i2c: 01 [13:55:55]MH_I2C_Read... [13:55:55]*** Stop cut motor [13:55:55]*** Cut end [13:55:55]Read from MH i2c: 01 07 00 [13:55:55]MH_I2C_Read... [13:55:55]Read from MH i2c: 01 07 00 63 03 00 00 00 00 00 FF 0F 7B [13:55:55]process_action close_receipt done [13:55:55]requested_data is exist [13:55:55]produce_requested_data [13:55:55]requested_item fm.sn is exist - process it [13:55:55]wFMCommunicate request_size=4 [13:55:55]MH_SAM_APDU [13:55:55]CAPDU: 80 11 00 00 [13:55:55]Write to MH i2c: E2 08 00 64 03 80 11 00 00 00 00 00 00 E1 [13:55:55]Write i2c OK [13:55:55]MH_I2C_Read... [13:55:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:55:55]Read from MH i2c: E2 [13:55:55]MH_I2C_Read... [13:55:55]Read from MH i2c: E2 17 00 [13:55:55]MH_I2C_Read... [13:55:55]Read from MH i2c: E2 17 00 64 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 3B [13:55:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [13:55:55]wFMCommunicate OK [13:55:55]requested_item fd.num is exist - process it [13:55:55]SAM_PROTO_GetFieldsCounters [13:55:55]wFMCommunicate request_size=4 [13:55:55]MH_SAM_APDU [13:55:55]CAPDU: 80 13 00 00 [13:55:55]Write to MH i2c: E2 08 00 65 03 80 13 00 00 00 00 00 00 E4 [13:55:55]Write i2c OK [13:55:55]MH_I2C_Read... [13:55:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:55:55]Read from MH i2c: E2 [13:55:55]MH_I2C_Read... [13:55:55]Read from MH i2c: E2 62 00 [13:55:55]MH_I2C_Read... [13:55:55]Read from MH i2c: E2 62 00 65 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 44 31 00 00 0E 04 04 00 19 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 DE [13:55:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 44 31 00 00 0E 04 04 00 19 01 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:55:55]wFMCommunicate OK [13:55:55]SAM_PROTO_GetFieldsCounters done [13:55:55]requested_item shift.num is exist - process it [13:55:55]requested_item shift.opened is exist - process it [13:55:55]req_shift_opened [13:55:55]FM_GetShiftState [13:55:55]SAM_PROTO_GetShiftState [13:55:55]wFMCommunicate request_size=4 [13:55:55]MH_SAM_APDU [13:55:55]CAPDU: 80 13 01 00 [13:55:55]Write to MH i2c: E2 08 00 66 03 80 13 01 00 00 00 00 00 E6 [13:55:55]Write i2c OK [13:55:55]MH_I2C_Read... [13:55:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:55:55]Read from MH i2c: E2 [13:55:55]MH_I2C_Read... [13:55:55]Read from MH i2c: E2 0E 00 [13:55:55]MH_I2C_Read... [13:55:55]Read from MH i2c: E2 0E 00 66 03 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 3E [13:55:55]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [13:55:55]wFMCommunicate OK [13:55:55]SAM_PROTO_GetShiftState done [13:55:55]FM_GetShiftState done [13:55:55]req_shift_opened done [13:55:55]requested_item shift.open_date is exist - process it [13:55:55]req_shift_open_date [13:55:55]req_shift_open_date done [13:55:55]produce_requested_data done [13:55:55]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12612,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [13:55:55]process_action_free close_receipt [13:55:55]json_value_free [13:55:55]json_value_free done [13:55:55]process_json_proto returns [13:55:55]Send response to host [13:55:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12612,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [13:55:55]free response buf [13:55:55]execute_script done [13:55:55]execute_script returns [13:55:55]free content buf [13:55:55]Sock 7.Close socket [13:55:55]Sock 7.Thread stoped [13:55:59]OFD Sender: No OFD packet to send [13:56:04]OFD Sender: No OFD packet to send [13:56:09]OFD Sender: No OFD packet to send [13:56:14]OFD Sender: No OFD packet to send [13:56:19]OFD Sender: No OFD packet to send [13:56:24]OFD Sender: No OFD packet to send [13:56:29]OFD Sender: No OFD packet to send [13:56:34]OFD Sender: No OFD packet to send [13:56:39]OFD Sender: No OFD packet to send [13:56:44]OFD Sender: No OFD packet to send [13:56:49]OFD Sender: No OFD packet to send [13:56:54]OFD Sender: No OFD packet to send [13:56:59]OFD Sender: No OFD packet to send [13:57:04]OFD Sender: No OFD packet to send [13:57:09]OFD Sender: No OFD packet to send [13:57:14]OFD Sender: No OFD packet to send [13:57:19]OFD Sender: No OFD packet to send [13:57:24]OFD Sender: No OFD packet to send [13:57:29]OFD Sender: No OFD packet to send [13:57:34]OFD Sender: No OFD packet to send [13:57:39]OFD Sender: No OFD packet to send [13:57:44]OFD Sender: No OFD packet to send [13:57:49]OFD Sender: No OFD packet to send [13:57:54]OFD Sender: No OFD packet to send [13:57:59]OFD Sender: No OFD packet to send [13:58:04]OFD Sender: No OFD packet to send [13:58:09]OFD Sender: No OFD packet to send [13:58:14]OFD Sender: No OFD packet to send [13:58:19]OFD Sender: No OFD packet to send [13:58:24]OFD Sender: No OFD packet to send [13:58:29]OFD Sender: No OFD packet to send [13:58:34]OFD Sender: No OFD packet to send [13:58:39]OFD Sender: No OFD packet to send [13:58:44]OFD Sender: No OFD packet to send [13:58:49]OFD Sender: No OFD packet to send [13:58:54]OFD Sender: No OFD packet to send [13:58:59]OFD Sender: No OFD packet to send [13:59:04]OFD Sender: No OFD packet to send [13:59:09]OFD Sender: No OFD packet to send [13:59:14]OFD Sender: No OFD packet to send [13:59:19]OFD Sender: No OFD packet to send [13:59:24]OFD Sender: No OFD packet to send [13:59:29]OFD Sender: No OFD packet to send [13:59:34]OFD Sender: No OFD packet to send [13:59:39]OFD Sender: No OFD packet to send [13:59:44]OFD Sender: No OFD packet to send [13:59:49]OFD Sender: No OFD packet to send [13:59:54]OFD Sender: No OFD packet to send [13:59:59]OFD Sender: No OFD packet to send [14:00:04]OFD Sender: No OFD packet to send [14:00:09]OFD Sender: No OFD packet to send [14:00:14]OFD Sender: No OFD packet to send [14:00:19]OFD Sender: No OFD packet to send [14:00:24]OFD Sender: No OFD packet to send [14:00:29]OFD Sender: No OFD packet to send [14:00:34]OFD Sender: No OFD packet to send [14:00:39]OFD Sender: No OFD packet to send [14:00:44]OFD Sender: No OFD packet to send [14:00:49]OFD Sender: No OFD packet to send [14:00:54]OFD Sender: No OFD packet to send [14:00:59]OFD Sender: No OFD packet to send [14:01:04]OFD Sender: No OFD packet to send [14:01:09]OFD Sender: No OFD packet to send [14:01:14]OFD Sender: No OFD packet to send [14:01:19]OFD Sender: No OFD packet to send [14:01:24]OFD Sender: No OFD packet to send [14:01:29]OFD Sender: No OFD packet to send [14:01:34]OFD Sender: No OFD packet to send [14:01:39]OFD Sender: No OFD packet to send [14:01:44]OFD Sender: No OFD packet to send [14:01:49]OFD Sender: No OFD packet to send [14:01:54]OFD Sender: No OFD packet to send [14:01:59]OFD Sender: No OFD packet to send [14:02:04]OFD Sender: No OFD packet to send [14:02:09]OFD Sender: No OFD packet to send [14:02:14]OFD Sender: No OFD packet to send [14:02:19]OFD Sender: No OFD packet to send [14:02:24]OFD Sender: No OFD packet to send [14:02:29]OFD Sender: No OFD packet to send [14:02:34]OFD Sender: No OFD packet to send [14:02:39]OFD Sender: No OFD packet to send [14:02:44]OFD Sender: No OFD packet to send [14:02:49]OFD Sender: No OFD packet to send [14:02:54]OFD Sender: No OFD packet to send [14:02:58]accept exits with 9 [14:02:58]New connection [14:02:58]New thread 3067047268 created [14:02:58]Thread 3067190628 joined [14:02:58]Waiting for new connection... [14:02:58] Sock 9.Parse request [14:02:58]Sock 9.Check first char [14:02:58]Sock 9.First char is OK [14:02:58]request: POST /json_proto HTTP/1.0 [14:02:58]Method: POST [14:02:58]URL: /json_proto [14:02:58]Method is POST - this is cgi request [14:02:58]url: /json_proto [14:02:58]query_string will be loaded in cgi processing [14:02:58]execute_cgi json_proto POST (null) [14:02:58]execute_cgi path=json_proto method=POST [14:02:58]POST find Content-Length [14:02:58]Host: 172.17.62.6:8080 [14:02:58]Content-Length: 215 [14:02:58]Content-Type: application/json [14:02:58] [14:02:58]POST finish read [14:02:58]Found Content-Length = 215 [14:02:58]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:02:58]execute_script... [14:02:58]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:02:58]POST & json_proto [14:02:58]process_json_proto [14:02:58]json parsed OK: [14:02:58]protocol is kg_v1.0 [14:02:58]action value=get_value [14:02:58]process_action get_value [14:02:58]cmd_get_value [14:02:58]process_action get_value done [14:02:58]requested_data is exist [14:02:58]produce_requested_data [14:02:58]requested_item kkm.sn is exist - process it [14:02:58]requested_item kkm.ver is exist - process it [14:02:58]requested_item fm.sn is exist - process it [14:02:58]wFMCommunicate request_size=4 [14:02:58]MH_SAM_APDU [14:02:58]CAPDU: 80 11 00 00 [14:02:58]Write to MH i2c: E2 08 00 67 03 80 11 00 00 00 00 00 00 E4 [14:02:58]Write i2c OK [14:02:58]MH_I2C_Read... [14:02:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:02:58]Read from MH i2c: E2 [14:02:58]MH_I2C_Read... [14:02:58]Read from MH i2c: E2 17 00 [14:02:58]MH_I2C_Read... [14:02:58]Read from MH i2c: E2 17 00 67 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 3E [14:02:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [14:02:58]wFMCommunicate OK [14:02:58]requested_item fd.num is exist - process it [14:02:58]SAM_PROTO_GetFieldsCounters [14:02:58]wFMCommunicate request_size=4 [14:02:58]MH_SAM_APDU [14:02:58]CAPDU: 80 13 00 00 [14:02:58]Write to MH i2c: E2 08 00 68 03 80 13 00 00 00 00 00 00 E7 [14:02:58]Write i2c OK [14:02:58]MH_I2C_Read... [14:02:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:02:58]Read from MH i2c: E2 [14:02:58]MH_I2C_Read... [14:02:58]Read from MH i2c: E2 62 00 [14:02:58]MH_I2C_Read... [14:02:58]Read from MH i2c: E2 62 00 68 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 44 31 00 00 0E 04 04 00 19 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 E1 [14:02:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 44 31 00 00 0E 04 04 00 19 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 [14:02:58]wFMCommunicate OK [14:02:58]SAM_PROTO_GetFieldsCounters done [14:02:58]requested_item shift.num is exist - process it [14:02:58]requested_item shift.opened is exist - process it [14:02:58]req_shift_opened [14:02:58]FM_GetShiftState [14:02:58]SAM_PROTO_GetShiftState [14:02:58]wFMCommunicate request_size=4 [14:02:58]MH_SAM_APDU [14:02:58]CAPDU: 80 13 01 00 [14:02:58]Write to MH i2c: E2 08 00 69 03 80 13 01 00 00 00 00 00 E9 [14:02:58]Write i2c OK [14:02:58]MH_I2C_Read... [14:02:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:02:58]Read from MH i2c: E2 [14:02:58]MH_I2C_Read... [14:02:58]Read from MH i2c: E2 0E 00 [14:02:58]MH_I2C_Read... [14:02:58]Read from MH i2c: E2 0E 00 69 03 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 41 [14:02:58]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [14:02:58]wFMCommunicate OK [14:02:58]SAM_PROTO_GetShiftState done [14:02:58]FM_GetShiftState done [14:02:58]req_shift_opened done [14:02:58]requested_item shift.open_date is exist - process it [14:02:58]req_shift_open_date [14:02:58]req_shift_open_date done [14:02:58]produce_requested_data done [14:02:58]produce_requested_data return {"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12612,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [14:02:58]process_action_free get_value [14:02:58]json_value_free [14:02:58]json_value_free done [14:02:58]process_json_proto returns [14:02:58]Send response to host [14:02:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12612,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [14:02:58]free response buf [14:02:58]execute_script done [14:02:58]execute_script returns [14:02:58]free content buf [14:02:58]Sock 9.Close socket [14:02:58]Sock 9.Thread stoped [14:02:58]accept exits with 7 [14:02:58]New connection [14:02:58]New thread 3067190628 created [14:02:58]Thread 3067047268 joined [14:02:58]Waiting for new connection... [14:02:58] Sock 7.Parse request [14:02:58]Sock 7.Check first char [14:02:58]Sock 7.First char is OK [14:02:58]request: POST /json_proto HTTP/1.0 [14:02:58]Method: POST [14:02:58]URL: /json_proto [14:02:58]Method is POST - this is cgi request [14:02:58]url: /json_proto [14:02:58]query_string will be loaded in cgi processing [14:02:58]execute_cgi json_proto POST (null) [14:02:58]execute_cgi path=json_proto method=POST [14:02:58]POST find Content-Length [14:02:58]Host: 172.17.62.6:8080 [14:02:58]Content-Length: 331 [14:02:58]Content-Type: application/json [14:02:58] [14:02:58]POST finish read [14:02:58]Found Content-Length = 331 [14:02:58]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:02:58]execute_script... [14:02:59]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:02:59]POST & json_proto [14:02:59]process_json_proto [14:02:59]json parsed OK: [14:02:59]protocol is kg_v1.0 [14:02:59]action value=get_value [14:02:59]process_action get_value [14:02:59]cmd_get_value [14:02:59]process_action get_value done [14:02:59]requested_data is exist [14:02:59]produce_requested_data [14:02:59]requested_item fm.sale.total is exist - process it [14:02:59]SAM_PROTO_GetFMData [14:02:59]wFMCommunicate request_size=4 [14:02:59]MH_SAM_APDU [14:02:59]CAPDU: 80 13 03 00 [14:02:59]Write to MH i2c: E2 08 00 6A 03 80 13 03 00 00 00 00 00 EC [14:02:59]Write i2c OK [14:02:59]MH_I2C_Read... [14:02:59]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [14:02:59]Read from MH i2c: E2 [14:02:59]MH_I2C_Read... [14:02:59]Read from MH i2c: E2 FD 00 [14:02:59]MH_I2C_Read... [14:02:59]Read from MH i2c: E2 FD 00 6A 03 00 C1 04 85 04 BD 04 6E 04 04 00 12 2F 00 00 69 04 A0 00 6F 04 04 00 C6 2E 00 00 B1 04 04 00 F3 37 C4 0E 70 04 04 00 BE 55 BC 0C 72 04 04 00 35 E2 07 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4D 6F 91 01 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 D1 6F 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 D5 0B EF 03 09 00 F6 03 90 00 FB [14:02:59]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 12 2F 00 00 69 04 A0 00 6F 04 04 00 C6 2E 00 00 B1 04 04 00 F3 37 C4 0E 70 04 04 00 BE 55 BC 0C 72 04 04 00 35 E2 07 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4D 6F 91 01 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 D1 6F 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 D5 0B EF 03 09 00 F6 03 90 00 [14:02:59]wFMCommunicate OK [14:02:59]wFMCommunicate request_size=4 [14:02:59]MH_SAM_APDU [14:02:59]CAPDU: 80 17 00 00 [14:02:59]Write to MH i2c: E2 08 00 6B 03 80 17 00 00 00 00 00 00 EE [14:02:59]Write i2c OK [14:02:59]MH_I2C_Read... [14:02:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:02:59]Read from MH i2c: E2 [14:02:59]MH_I2C_Read... [14:02:59]Read from MH i2c: E2 FD 00 [14:02:59]MH_I2C_Read... [14:02:59]Read from MH i2c: E2 FD 00 6B 03 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 8C [14:02:59]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [14:02:59]wFMCommunicate OK [14:02:59]wFMCommunicate request_size=4 [14:02:59]MH_SAM_APDU [14:02:59]CAPDU: 80 17 00 00 [14:02:59]Write to MH i2c: E2 08 00 6C 03 80 17 00 00 00 00 00 00 EF [14:02:59]Write i2c OK [14:02:59]MH_I2C_Read... [14:03:00]OFD Sender: No OFD packet to send [14:03:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:03:00]Read from MH i2c: E2 [14:03:00]MH_I2C_Read... [14:03:00]Read from MH i2c: E2 FD 00 [14:03:00]MH_I2C_Read... [14:03:00]Read from MH i2c: E2 FD 00 6C 03 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 8F [14:03:00]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [14:03:00]wFMCommunicate OK [14:03:00]wFMCommunicate request_size=4 [14:03:00]MH_SAM_APDU [14:03:00]CAPDU: 80 17 00 00 [14:03:00]Write to MH i2c: E2 08 00 6D 03 80 17 00 00 00 00 00 00 F0 [14:03:00]Write i2c OK [14:03:00]MH_I2C_Read... [14:03:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:03:00]Read from MH i2c: E2 [14:03:00]MH_I2C_Read... [14:03:00]Read from MH i2c: E2 FD 00 [14:03:00]MH_I2C_Read... [14:03:00]Read from MH i2c: E2 FD 00 6D 03 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 75 [14:03:00]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [14:03:00]wFMCommunicate OK [14:03:00]wFMCommunicate request_size=4 [14:03:00]MH_SAM_APDU [14:03:00]CAPDU: 80 17 00 00 [14:03:00]Write to MH i2c: E2 08 00 6E 03 80 17 00 00 00 00 00 00 F1 [14:03:00]Write i2c OK [14:03:00]MH_I2C_Read... [14:03:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [14:03:00]Read from MH i2c: E2 [14:03:00]MH_I2C_Read... [14:03:00]Read from MH i2c: E2 DE 00 [14:03:00]MH_I2C_Read... [14:03:00]Read from MH i2c: E2 DE 00 6E 03 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 D0 [14:03:00]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [14:03:00]wFMCommunicate OK [14:03:00]SAM_PROTO_GetFMData done [14:03:00]requested_item fm.sale_refund.total is exist - process it [14:03:00]requested_item fm.buy.total is exist - process it [14:03:00]requested_item shift.sale.total is exist - process it [14:03:00]SAM_PROTO_GetShiftData [14:03:00]wFMCommunicate request_size=4 [14:03:00]MH_SAM_APDU [14:03:00]CAPDU: 80 13 02 00 [14:03:00]Write to MH i2c: E2 08 00 6F 03 80 13 02 00 00 00 00 00 F0 [14:03:00]Write i2c OK [14:03:00]MH_I2C_Read... [14:03:01]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:03:01]Read from MH i2c: E2 [14:03:01]MH_I2C_Read... [14:03:01]Read from MH i2c: E2 FD 00 [14:03:01]MH_I2C_Read... [14:03:01]Read from MH i2c: E2 FD 00 6F 03 00 AD 04 AA 04 A9 04 6E 04 04 00 18 00 00 00 69 04 9A 00 6F 04 04 00 18 00 00 00 B1 04 03 00 28 C1 07 70 04 03 00 9C DB 05 72 04 03 00 8C E5 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 CB D2 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8A 11 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 F4 [14:03:01]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 18 00 00 00 69 04 9A 00 6F 04 04 00 18 00 00 00 B1 04 03 00 28 C1 07 70 04 03 00 9C DB 05 72 04 03 00 8C E5 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 CB D2 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8A 11 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [14:03:01]wFMCommunicate OK [14:03:01]wFMCommunicate request_size=4 [14:03:01]MH_SAM_APDU [14:03:01]CAPDU: 80 17 00 00 [14:03:01]Write to MH i2c: E2 08 00 70 03 80 17 00 00 00 00 00 00 F3 [14:03:01]Write i2c OK [14:03:01]MH_I2C_Read... [14:03:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:03:01]Read from MH i2c: E2 [14:03:01]MH_I2C_Read... [14:03:01]Read from MH i2c: E2 FD 00 [14:03:01]MH_I2C_Read... [14:03:01]Read from MH i2c: E2 FD 00 70 03 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 05 [14:03:01]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [14:03:01]wFMCommunicate OK [14:03:01]wFMCommunicate request_size=4 [14:03:01]MH_SAM_APDU [14:03:01]CAPDU: 80 17 00 00 [14:03:01]Write to MH i2c: E2 08 00 71 03 80 17 00 00 00 00 00 00 F4 [14:03:01]Write i2c OK [14:03:01]MH_I2C_Read... [14:03:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:03:01]Read from MH i2c: E2 [14:03:01]MH_I2C_Read... [14:03:01]Read from MH i2c: E2 FD 00 [14:03:01]MH_I2C_Read... [14:03:01]Read from MH i2c: E2 FD 00 71 03 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 B8 [14:03:01]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [14:03:01]wFMCommunicate OK [14:03:01]wFMCommunicate request_size=4 [14:03:01]MH_SAM_APDU [14:03:01]CAPDU: 80 17 00 00 [14:03:01]Write to MH i2c: E2 08 00 72 03 80 17 00 00 00 00 00 00 F5 [14:03:01]Write i2c OK [14:03:01]MH_I2C_Read... [14:03:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:03:01]Read from MH i2c: E2 [14:03:01]MH_I2C_Read... [14:03:01]Read from MH i2c: E2 FD 00 [14:03:01]MH_I2C_Read... [14:03:01]Read from MH i2c: E2 FD 00 72 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 6A [14:03:01]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [14:03:01]wFMCommunicate OK [14:03:01]wFMCommunicate request_size=4 [14:03:01]MH_SAM_APDU [14:03:01]CAPDU: 80 17 00 00 [14:03:01]Write to MH i2c: E2 08 00 73 03 80 17 00 00 00 00 00 00 F6 [14:03:02]Write i2c OK [14:03:02]MH_I2C_Read... [14:03:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [14:03:02]Read from MH i2c: E2 [14:03:02]MH_I2C_Read... [14:03:02]Read from MH i2c: E2 CA 00 [14:03:02]MH_I2C_Read... [14:03:02]Read from MH i2c: E2 CA 00 73 03 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 DB [14:03:02]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [14:03:02]wFMCommunicate OK [14:03:02]SAM_PROTO_GetShiftData done [14:03:02]requested_item shift.sale.total_cash is exist - process it [14:03:02]requested_item shift.sale_refund.total is exist - process it [14:03:02]requested_item shift.sale_refund.total_cash is exist - process it [14:03:02]requested_item shift.buy.total is exist - process it [14:03:02]requested_item shift.buy.total_cash is exist - process it [14:03:02]produce_requested_data done [14:03:02]produce_requested_data return {"fm.sale.total":2477404.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":5082.00,"shift.sale.total_cash":3839.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:02]process_action_free get_value [14:03:02]json_value_free [14:03:02]json_value_free done [14:03:02]process_json_proto returns [14:03:02]Send response to host [14:03:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2477404.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":5082.00,"shift.sale.total_cash":3839.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:02]free response buf [14:03:02]execute_script done [14:03:02]execute_script returns [14:03:02]free content buf [14:03:02]Sock 7.Close socket [14:03:02]Sock 7.Thread stoped [14:03:05]OFD Sender: No OFD packet to send [14:03:10]OFD Sender: No OFD packet to send [14:03:15]OFD Sender: No OFD packet to send [14:03:20]OFD Sender: No OFD packet to send [14:03:25]OFD Sender: No OFD packet to send [14:03:30]OFD Sender: No OFD packet to send [14:03:35]OFD Sender: No OFD packet to send [14:03:40]OFD Sender: No OFD packet to send [14:03:45]OFD Sender: No OFD packet to send [14:03:48]accept exits with 9 [14:03:48]New connection [14:03:48]New thread 3067047268 created [14:03:48]Thread 3067190628 joined [14:03:48]Waiting for new connection... [14:03:48] Sock 9.Parse request [14:03:48]Sock 9.Check first char [14:03:48]Sock 9.First char is OK [14:03:48]request: POST /json_proto HTTP/1.0 [14:03:48]Method: POST [14:03:48]URL: /json_proto [14:03:48]Method is POST - this is cgi request [14:03:48]url: /json_proto [14:03:48]query_string will be loaded in cgi processing [14:03:48]execute_cgi json_proto POST (null) [14:03:48]execute_cgi path=json_proto method=POST [14:03:48]POST find Content-Length [14:03:48]Host: 172.17.62.6:8080 [14:03:48]Content-Length: 215 [14:03:48]Content-Type: application/json [14:03:48] [14:03:48]POST finish read [14:03:48]Found Content-Length = 215 [14:03:48]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:48]execute_script... [14:03:48]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:48]POST & json_proto [14:03:48]process_json_proto [14:03:48]json parsed OK: [14:03:48]protocol is kg_v1.0 [14:03:48]action value=get_value [14:03:48]process_action get_value [14:03:48]cmd_get_value [14:03:48]process_action get_value done [14:03:48]requested_data is exist [14:03:48]produce_requested_data [14:03:48]requested_item kkm.sn is exist - process it [14:03:48]requested_item kkm.ver is exist - process it [14:03:48]requested_item fm.sn is exist - process it [14:03:48]wFMCommunicate request_size=4 [14:03:48]MH_SAM_APDU [14:03:48]CAPDU: 80 11 00 00 [14:03:48]Write to MH i2c: E2 08 00 74 03 80 11 00 00 00 00 00 00 F1 [14:03:48]Write i2c OK [14:03:48]MH_I2C_Read... [14:03:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:03:48]Read from MH i2c: E2 [14:03:48]MH_I2C_Read... [14:03:48]Read from MH i2c: E2 17 00 [14:03:48]MH_I2C_Read... [14:03:48]Read from MH i2c: E2 17 00 74 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 4B [14:03:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [14:03:48]wFMCommunicate OK [14:03:48]requested_item fd.num is exist - process it [14:03:48]SAM_PROTO_GetFieldsCounters [14:03:48]wFMCommunicate request_size=4 [14:03:48]MH_SAM_APDU [14:03:48]CAPDU: 80 13 00 00 [14:03:48]Write to MH i2c: E2 08 00 75 03 80 13 00 00 00 00 00 00 F4 [14:03:48]Write i2c OK [14:03:48]MH_I2C_Read... [14:03:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:03:48]Read from MH i2c: E2 [14:03:48]MH_I2C_Read... [14:03:48]Read from MH i2c: E2 62 00 [14:03:48]MH_I2C_Read... [14:03:48]Read from MH i2c: E2 62 00 75 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 44 31 00 00 0E 04 04 00 19 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 EE [14:03:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 44 31 00 00 0E 04 04 00 19 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 [14:03:48]wFMCommunicate OK [14:03:48]SAM_PROTO_GetFieldsCounters done [14:03:48]requested_item shift.num is exist - process it [14:03:48]requested_item shift.opened is exist - process it [14:03:48]req_shift_opened [14:03:48]FM_GetShiftState [14:03:48]SAM_PROTO_GetShiftState [14:03:48]wFMCommunicate request_size=4 [14:03:48]MH_SAM_APDU [14:03:48]CAPDU: 80 13 01 00 [14:03:48]Write to MH i2c: E2 08 00 76 03 80 13 01 00 00 00 00 00 F6 [14:03:48]Write i2c OK [14:03:48]MH_I2C_Read... [14:03:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:03:48]Read from MH i2c: E2 [14:03:48]MH_I2C_Read... [14:03:48]Read from MH i2c: E2 0E 00 [14:03:48]MH_I2C_Read... [14:03:48]Read from MH i2c: E2 0E 00 76 03 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 4E [14:03:48]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [14:03:48]wFMCommunicate OK [14:03:48]SAM_PROTO_GetShiftState done [14:03:48]FM_GetShiftState done [14:03:48]req_shift_opened done [14:03:48]requested_item shift.open_date is exist - process it [14:03:48]req_shift_open_date [14:03:48]req_shift_open_date done [14:03:48]produce_requested_data done [14:03:48]produce_requested_data return {"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12612,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [14:03:48]process_action_free get_value [14:03:48]json_value_free [14:03:48]json_value_free done [14:03:48]process_json_proto returns [14:03:48]Send response to host [14:03:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12612,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [14:03:48]free response buf [14:03:48]execute_script done [14:03:48]execute_script returns [14:03:48]free content buf [14:03:48]Sock 9.Close socket [14:03:48]Sock 9.Thread stoped [14:03:48]accept exits with 10 [14:03:48]New connection [14:03:48]New thread 3067190628 created [14:03:48]Thread 3067047268 joined [14:03:48]Waiting for new connection... [14:03:48] Sock 10.Parse request [14:03:48]Sock 10.Check first char [14:03:48]Sock 10.First char is OK [14:03:48]request: POST /json_proto HTTP/1.0 [14:03:48]Method: POST [14:03:48]URL: /json_proto [14:03:48]Method is POST - this is cgi request [14:03:48]url: /json_proto [14:03:48]query_string will be loaded in cgi processing [14:03:48]execute_cgi json_proto POST (null) [14:03:48]execute_cgi path=json_proto method=POST [14:03:48]POST find Content-Length [14:03:48]Host: 172.17.62.6:8080 [14:03:48]Content-Length: 331 [14:03:48]Content-Type: application/json [14:03:48] [14:03:48]POST finish read [14:03:48]Found Content-Length = 331 [14:03:48]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:48]execute_script... [14:03:48]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:48]POST & json_proto [14:03:48]process_json_proto [14:03:48]json parsed OK: [14:03:48]protocol is kg_v1.0 [14:03:48]action value=get_value [14:03:49]process_action get_value [14:03:49]cmd_get_value [14:03:49]process_action get_value done [14:03:49]requested_data is exist [14:03:49]produce_requested_data [14:03:49]requested_item fm.sale.total is exist - process it [14:03:49]SAM_PROTO_GetFMData [14:03:49]wFMCommunicate request_size=4 [14:03:49]MH_SAM_APDU [14:03:49]CAPDU: 80 13 03 00 [14:03:49]Write to MH i2c: E2 08 00 77 03 80 13 03 00 00 00 00 00 F9 [14:03:49]Write i2c OK [14:03:49]MH_I2C_Read... [14:03:49]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [14:03:49]Read from MH i2c: E2 [14:03:49]MH_I2C_Read... [14:03:49]Read from MH i2c: E2 FD 00 [14:03:49]MH_I2C_Read... [14:03:49]Read from MH i2c: E2 FD 00 77 03 00 C1 04 85 04 BD 04 6E 04 04 00 12 2F 00 00 69 04 A0 00 6F 04 04 00 C6 2E 00 00 B1 04 04 00 F3 37 C4 0E 70 04 04 00 BE 55 BC 0C 72 04 04 00 35 E2 07 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4D 6F 91 01 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 D1 6F 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 D5 0B EF 03 09 00 F6 03 90 00 08 [14:03:49]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 12 2F 00 00 69 04 A0 00 6F 04 04 00 C6 2E 00 00 B1 04 04 00 F3 37 C4 0E 70 04 04 00 BE 55 BC 0C 72 04 04 00 35 E2 07 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4D 6F 91 01 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 D1 6F 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 D5 0B EF 03 09 00 F6 03 90 00 [14:03:49]wFMCommunicate OK [14:03:49]wFMCommunicate request_size=4 [14:03:49]MH_SAM_APDU [14:03:49]CAPDU: 80 17 00 00 [14:03:49]Write to MH i2c: E2 08 00 78 03 80 17 00 00 00 00 00 00 FB [14:03:49]Write i2c OK [14:03:49]MH_I2C_Read... [14:03:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:03:49]Read from MH i2c: E2 [14:03:49]MH_I2C_Read... [14:03:49]Read from MH i2c: E2 FD 00 [14:03:49]MH_I2C_Read... [14:03:49]Read from MH i2c: E2 FD 00 78 03 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 99 [14:03:49]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [14:03:49]wFMCommunicate OK [14:03:49]wFMCommunicate request_size=4 [14:03:49]MH_SAM_APDU [14:03:49]CAPDU: 80 17 00 00 [14:03:49]Write to MH i2c: E2 08 00 79 03 80 17 00 00 00 00 00 00 FC [14:03:49]Write i2c OK [14:03:49]MH_I2C_Read... [14:03:50]OFD Sender: No OFD packet to send [14:03:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:03:50]Read from MH i2c: E2 [14:03:50]MH_I2C_Read... [14:03:50]Read from MH i2c: E2 FD 00 [14:03:50]MH_I2C_Read... [14:03:50]Read from MH i2c: E2 FD 00 79 03 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 9C [14:03:50]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [14:03:50]wFMCommunicate OK [14:03:50]wFMCommunicate request_size=4 [14:03:50]MH_SAM_APDU [14:03:50]CAPDU: 80 17 00 00 [14:03:50]Write to MH i2c: E2 08 00 7A 03 80 17 00 00 00 00 00 00 FD [14:03:50]Write i2c OK [14:03:50]MH_I2C_Read... [14:03:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:03:50]Read from MH i2c: E2 [14:03:50]MH_I2C_Read... [14:03:50]Read from MH i2c: E2 FD 00 [14:03:50]MH_I2C_Read... [14:03:50]Read from MH i2c: E2 FD 00 7A 03 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 82 [14:03:50]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [14:03:50]wFMCommunicate OK [14:03:50]wFMCommunicate request_size=4 [14:03:50]MH_SAM_APDU [14:03:50]CAPDU: 80 17 00 00 [14:03:50]Write to MH i2c: E2 08 00 7B 03 80 17 00 00 00 00 00 00 FE [14:03:50]Write i2c OK [14:03:50]MH_I2C_Read... [14:03:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [14:03:50]Read from MH i2c: E2 [14:03:50]MH_I2C_Read... [14:03:50]Read from MH i2c: E2 DE 00 [14:03:50]MH_I2C_Read... [14:03:50]Read from MH i2c: E2 DE 00 7B 03 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 DD [14:03:50]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [14:03:50]wFMCommunicate OK [14:03:50]SAM_PROTO_GetFMData done [14:03:50]requested_item fm.sale_refund.total is exist - process it [14:03:50]requested_item fm.buy.total is exist - process it [14:03:50]requested_item shift.sale.total is exist - process it [14:03:50]SAM_PROTO_GetShiftData [14:03:50]wFMCommunicate request_size=4 [14:03:50]MH_SAM_APDU [14:03:50]CAPDU: 80 13 02 00 [14:03:50]Write to MH i2c: E2 08 00 7C 03 80 13 02 00 00 00 00 00 FD [14:03:50]Write i2c OK [14:03:50]MH_I2C_Read... [14:03:51]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:03:51]Read from MH i2c: E2 [14:03:51]MH_I2C_Read... [14:03:51]Read from MH i2c: E2 FD 00 [14:03:51]MH_I2C_Read... [14:03:51]Read from MH i2c: E2 FD 00 7C 03 00 AD 04 AA 04 A9 04 6E 04 04 00 18 00 00 00 69 04 9A 00 6F 04 04 00 18 00 00 00 B1 04 03 00 28 C1 07 70 04 03 00 9C DB 05 72 04 03 00 8C E5 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 CB D2 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8A 11 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 01 [14:03:51]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 18 00 00 00 69 04 9A 00 6F 04 04 00 18 00 00 00 B1 04 03 00 28 C1 07 70 04 03 00 9C DB 05 72 04 03 00 8C E5 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 CB D2 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8A 11 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [14:03:51]wFMCommunicate OK [14:03:51]wFMCommunicate request_size=4 [14:03:51]MH_SAM_APDU [14:03:51]CAPDU: 80 17 00 00 [14:03:51]Write to MH i2c: E2 08 00 7D 03 80 17 00 00 00 00 00 00 00 [14:03:51]Write i2c OK [14:03:51]MH_I2C_Read... [14:03:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:03:51]Read from MH i2c: E2 [14:03:51]MH_I2C_Read... [14:03:51]Read from MH i2c: E2 FD 00 [14:03:51]MH_I2C_Read... [14:03:51]Read from MH i2c: E2 FD 00 7D 03 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 12 [14:03:51]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [14:03:51]wFMCommunicate OK [14:03:51]wFMCommunicate request_size=4 [14:03:51]MH_SAM_APDU [14:03:51]CAPDU: 80 17 00 00 [14:03:51]Write to MH i2c: E2 08 00 7E 03 80 17 00 00 00 00 00 00 01 [14:03:51]Write i2c OK [14:03:51]MH_I2C_Read... [14:03:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:03:51]Read from MH i2c: E2 [14:03:51]MH_I2C_Read... [14:03:51]Read from MH i2c: E2 FD 00 [14:03:51]MH_I2C_Read... [14:03:51]Read from MH i2c: E2 FD 00 7E 03 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 C5 [14:03:51]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [14:03:51]wFMCommunicate OK [14:03:51]wFMCommunicate request_size=4 [14:03:51]MH_SAM_APDU [14:03:51]CAPDU: 80 17 00 00 [14:03:51]Write to MH i2c: E2 08 00 7F 03 80 17 00 00 00 00 00 00 02 [14:03:51]Write i2c OK [14:03:51]MH_I2C_Read... [14:03:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:03:51]Read from MH i2c: E2 [14:03:51]MH_I2C_Read... [14:03:51]Read from MH i2c: E2 FD 00 [14:03:51]MH_I2C_Read... [14:03:51]Read from MH i2c: E2 FD 00 7F 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 77 [14:03:52]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [14:03:52]wFMCommunicate OK [14:03:52]wFMCommunicate request_size=4 [14:03:52]MH_SAM_APDU [14:03:52]CAPDU: 80 17 00 00 [14:03:52]Write to MH i2c: E2 08 00 80 03 80 17 00 00 00 00 00 00 03 [14:03:52]Write i2c OK [14:03:52]MH_I2C_Read... [14:03:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [14:03:52]Read from MH i2c: E2 [14:03:52]MH_I2C_Read... [14:03:52]Read from MH i2c: E2 CA 00 [14:03:52]MH_I2C_Read... [14:03:52]Read from MH i2c: E2 CA 00 80 03 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 E8 [14:03:52]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [14:03:52]wFMCommunicate OK [14:03:52]SAM_PROTO_GetShiftData done [14:03:52]requested_item shift.sale.total_cash is exist - process it [14:03:52]requested_item shift.sale_refund.total is exist - process it [14:03:52]requested_item shift.sale_refund.total_cash is exist - process it [14:03:52]requested_item shift.buy.total is exist - process it [14:03:52]requested_item shift.buy.total_cash is exist - process it [14:03:52]produce_requested_data done [14:03:52]produce_requested_data return {"fm.sale.total":2477404.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":5082.00,"shift.sale.total_cash":3839.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:52]process_action_free get_value [14:03:52]json_value_free [14:03:52]json_value_free done [14:03:52]process_json_proto returns [14:03:52]Send response to host [14:03:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2477404.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":5082.00,"shift.sale.total_cash":3839.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:52]free response buf [14:03:52]execute_script done [14:03:52]execute_script returns [14:03:52]free content buf [14:03:52]Sock 10.Close socket [14:03:52]Sock 10.Thread stoped [14:03:55]OFD Sender: No OFD packet to send [14:04:00]OFD Sender: No OFD packet to send [14:04:05]OFD Sender: No OFD packet to send [14:04:10]OFD Sender: No OFD packet to send [14:04:15]OFD Sender: No OFD packet to send [14:04:20]OFD Sender: No OFD packet to send [14:04:25]OFD Sender: No OFD packet to send [14:04:30]OFD Sender: No OFD packet to send [14:04:35]OFD Sender: No OFD packet to send [14:04:40]OFD Sender: No OFD packet to send [14:04:45]OFD Sender: No OFD packet to send [14:04:50]OFD Sender: No OFD packet to send [14:04:55]OFD Sender: No OFD packet to send [14:05:00]OFD Sender: No OFD packet to send [14:05:04]accept exits with 7 [14:05:04]New connection [14:05:04]New thread 3067047268 created [14:05:04]Thread 3067190628 joined [14:05:04]Waiting for new connection... [14:05:04] Sock 7.Parse request [14:05:04]Sock 7.Check first char [14:05:04]Sock 7.First char is OK [14:05:04]request: POST /json_proto HTTP/1.0 [14:05:04]Method: POST [14:05:04]URL: /json_proto [14:05:04]Method is POST - this is cgi request [14:05:04]url: /json_proto [14:05:04]query_string will be loaded in cgi processing [14:05:04]execute_cgi json_proto POST (null) [14:05:04]execute_cgi path=json_proto method=POST [14:05:04]POST find Content-Length [14:05:04]Host: 172.17.62.6:8080 [14:05:04]Content-Length: 724 [14:05:04]Content-Type: application/json [14:05:04] [14:05:04]POST finish read [14:05:04]Found Content-Length = 724 [14:05:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32885", "tax_sys" : 0, "items" : [ { "code": "4870202521179", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,45", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:05:04]execute_script... [14:05:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32885", "tax_sys" : 0, "items" : [ { "code": "4870202521179", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,45", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:05:04]POST & json_proto [14:05:04]process_json_proto [14:05:04]json parsed OK: [14:05:04]protocol is kg_v1.0 [14:05:04]action value=close_receipt [14:05:04]process_action close_receipt [14:05:04]cmd_close_receipt [14:05:04]MH_GetDate [14:05:04]Write to MH i2c: F0 00 00 81 03 73 [14:05:04]Write i2c OK [14:05:04]MH_I2C_Read... [14:05:04]Read from MH i2c: F0 [14:05:04]MH_I2C_Read... [14:05:04]Read from MH i2c: F0 09 00 [14:05:04]MH_I2C_Read... [14:05:04]Read from MH i2c: F0 09 00 81 03 00 10 1D 25 66 61 69 D2 64 34 [14:05:04]GetLastDocTimeStamp 1713707752 [14:05:04]current date 1713708304 [14:05:04]FM_GetShiftState [14:05:04]SAM_PROTO_GetShiftState [14:05:04]wFMCommunicate request_size=4 [14:05:04]MH_SAM_APDU [14:05:04]CAPDU: 80 13 01 00 [14:05:04]Write to MH i2c: E2 08 00 82 03 80 13 01 00 00 00 00 00 02 [14:05:04]Write i2c OK [14:05:04]MH_I2C_Read... [14:05:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:05:04]Read from MH i2c: E2 [14:05:04]MH_I2C_Read... [14:05:04]Read from MH i2c: E2 0E 00 [14:05:04]MH_I2C_Read... [14:05:04]Read from MH i2c: E2 0E 00 82 03 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 5A [14:05:04]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [14:05:04]wFMCommunicate OK [14:05:04]SAM_PROTO_GetShiftState done [14:05:04]FM_GetShiftState done [14:05:04]opened in 1713658727 [14:05:04]opened+sec_in_day 1713745127 [14:05:04]quantity*price = 7000 [14:05:04]sum+1 = 7001 [14:05:04]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 70.00 НСП 1% : 0.62 НДС 12% : 7.43 Наличными: 70.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 25 21.04.2024 14:05 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12613 ФПД: 202017124500967 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T140504&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12613&fm=202017124500967&tin=02508201610067®Number=0000000000100748&sum=7000 0 [14:05:05]StoreToDocumentArchive [14:05:05]shift 281 fd 12613 [14:05:05]save to /storage/0281/doc_00012613 [14:05:05]save last doc name /storage/0281/doc_00012613 to /storage/kkm_last_doc_name [14:05:05]save OK [14:05:05]Clear old archive folders... [14:05:05]ProcessDocumentItem done err = 0, tmpTLVsize=308 [14:05:05]tlvbuf is 01A2B500 [14:05:05]SAM_PROTO_ClearQueue [14:05:05]wFMCommunicate request_size=4 [14:05:05]MH_SAM_APDU [14:05:05]CAPDU: 80 09 00 00 [14:05:05]Write to MH i2c: E2 08 00 8F 03 80 09 00 00 00 00 00 00 04 [14:05:05]Write i2c OK [14:05:05]MH_I2C_Read... [14:05:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:05:05]Read from MH i2c: E2 [14:05:05]MH_I2C_Read... [14:05:05]Read from MH i2c: E2 03 00 [14:05:05]MH_I2C_Read... [14:05:05]Read from MH i2c: E2 03 00 8F 03 00 90 00 06 [14:05:05]RAPDU: 90 00 [14:05:05]wFMCommunicate OK [14:05:05]SAM_PROTO_ClearQueue done [14:05:05]KKMCreateOFDPacket [14:05:05]OFDProtocolAddRootSTLVToBuf [14:05:05]FM_MakeSignedData [14:05:05]FM_MakeSignedData [14:05:05]SAM_PROTO_SignData [14:05:05]wFMCommunicate request_size=4 [14:05:05]MH_SAM_APDU [14:05:05]CAPDU: 80 0D 01 02 [14:05:05]Write to MH i2c: E2 08 00 90 03 80 0D 01 02 00 00 00 00 0C [14:05:05]Write i2c OK [14:05:05]MH_I2C_Read... [14:05:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:05:05]Read from MH i2c: E2 [14:05:05]MH_I2C_Read... [14:05:05]Read from MH i2c: E2 03 00 [14:05:05]MH_I2C_Read... [14:05:05]Read from MH i2c: E2 03 00 90 03 00 90 00 07 [14:05:05]RAPDU: 90 00 [14:05:05]wFMCommunicate OK [14:05:05]wFMCommunicate request_size=255 [14:05:05]MH_SAM_APDU [14:05:05]CAPDU: 80 0D 02 02 FA 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 37 39 06 04 42 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 34 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 10 1D 25 66 0E 04 04 00 19 01 00 00 B9 [14:05:05]Write to MH i2c: E2 02 01 91 03 80 0D 02 02 FA 00 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 37 39 06 04 42 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 34 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 10 1D 25 66 0E 04 04 00 19 01 00 00 B9 00 00 CF [14:05:05]Write i2c OK [14:05:05]MH_I2C_Read... [14:05:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:05:06]Read from MH i2c: E2 [14:05:06]MH_I2C_Read... [14:05:06]Read from MH i2c: E2 03 00 [14:05:06]MH_I2C_Read... [14:05:06]Read from MH i2c: E2 03 00 91 03 00 90 00 08 [14:05:06]RAPDU: 90 00 [14:05:06]wFMCommunicate OK [14:05:06]wFMCommunicate request_size=67 [14:05:06]MH_SAM_APDU [14:05:06]CAPDU: 80 0D 02 02 3E 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 45 31 00 00 35 04 06 00 B7 BB C6 F1 C5 E7 [14:05:06]Write to MH i2c: E2 46 00 92 03 80 0D 02 02 3E 00 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 45 31 00 00 35 04 06 00 B7 BB C6 F1 C5 E7 00 00 B4 [14:05:06]Write i2c OK [14:05:06]MH_I2C_Read... [14:05:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:05:06]Read from MH i2c: E2 [14:05:06]MH_I2C_Read... [14:05:06]Read from MH i2c: E2 03 00 [14:05:06]MH_I2C_Read... [14:05:06]Read from MH i2c: E2 03 00 92 03 00 90 00 09 [14:05:06]RAPDU: 90 00 [14:05:06]wFMCommunicate OK [14:05:06]wFMCommunicate request_size=4 [14:05:06]MH_SAM_APDU [14:05:06]CAPDU: 80 0D 03 02 [14:05:06]Write to MH i2c: E2 08 00 93 03 80 0D 03 02 00 00 00 00 11 [14:05:06]Write i2c OK [14:05:06]MH_I2C_Read... [14:05:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:05:06]Read from MH i2c: E2 [14:05:06]MH_I2C_Read... [14:05:06]Read from MH i2c: E2 0B 00 [14:05:06]MH_I2C_Read... [14:05:06]Read from MH i2c: E2 0B 00 93 03 00 D1 35 77 DC D5 45 E5 A2 90 00 0C [14:05:06]RAPDU: D1 35 77 DC D5 45 E5 A2 90 00 [14:05:06]wFMCommunicate OK [14:05:06]SAM_PROTO_SignData done [14:05:06]FM_MakeSignedData done [14:05:06]CreateOFDProtocolMessage [14:05:06]wFMCommunicate request_size=4 [14:05:06]MH_SAM_APDU [14:05:06]CAPDU: 80 11 00 00 [14:05:06]Write to MH i2c: E2 08 00 94 03 80 11 00 00 00 00 00 00 11 [14:05:06]Write i2c OK [14:05:06]MH_I2C_Read... [14:05:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:05:06]Read from MH i2c: E2 [14:05:06]MH_I2C_Read... [14:05:06]Read from MH i2c: E2 17 00 [14:05:06]MH_I2C_Read... [14:05:06]Read from MH i2c: E2 17 00 94 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 6B [14:05:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [14:05:06]wFMCommunicate OK [14:05:06]CreateOFDProtocolMessage done [14:05:06]OFDSenderStorePacket 12613 [14:05:06]StoreOFDPacket docnum=12613 [14:05:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 48 01 00 00 20 53 40 01 17 D1 5A 03 01 00 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 37 39 06 04 42 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 34 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 10 1D 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 45 31 00 00 35 04 06 00 B7 BB C6 F1 C5 E7 D1 35 77 DC D5 45 E5 A2 [14:05:06]CheckFolder [14:05:06]dirname=/storage/ofd_packets [14:05:06]CheckFolder done [14:05:06]ProducePacketName [14:05:06]name=ofd_packets/00012613 [14:05:06]NVStorageSaveData ofd_packets/00012613 [14:05:06]File name is /storage/ofd_packets/00012613 [14:05:06]Write 358 bytes [14:05:06]NVStorageSaveData done [14:05:06]OFDSenderStorePacket done [14:05:06]KKMCreateOFDPacket done [14:05:06]NVStorageSaveData kkm_last_timestamp [14:05:06]File name is /storage/kkm_last_timestamp [14:05:06]Write 4 bytes [14:05:06]NVStorageSaveData done [14:05:06]ExternCall_PrintAddStr [14:05:06]wPrintStart [14:05:06]Write to MH i2c: 01 00 00 95 03 98 [14:05:06]Write i2c OK [14:05:06]MH_I2C_Read... [14:05:06]Read from MH i2c: 01 [14:05:06]MH_I2C_Read... [14:05:06]Read from MH i2c: 01 07 00 [14:05:06]MH_I2C_Read... [14:05:06]Read from MH i2c: 01 07 00 95 03 00 00 00 00 00 FF 0F AD [14:05:06]RasterBufferAndPrint [14:05:06]line Счет N : (3)32885 [14:05:06]line ИНН: 02508201610067 [14:05:06]line Контрольно-Кассовый Чек [14:05:06]line ПРОДАЖА [14:05:06]line Товар: 4870202521179 [14:05:06]line Чай холодный MAXI черный персик ПЭТ 0,45 [14:05:06]line 1.000 * 70.00 [14:05:06]line = 70.00 [14:05:06]line НДС 12% НСП 1% [14:05:06]line > о реализуемом товаре [14:05:06]line ИТОГО: 70.00 [14:05:06]line НСП 1% : 0.62 [14:05:06]line НДС 12% : 7.43 [14:05:06]line Наличными: 70.00 [14:05:06]line Безнал.: 0.00 [14:05:06]line Место: АЗС № 106 "Партнер Нефть" [14:05:06]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [14:05:06]line СНО: Общий режим [14:05:06]line Чек 25 21.04.2024 14:05 [14:05:06]line Смена: 281 ФФД: 1.0 [14:05:06]line ЗНМ: 0300000004 [14:05:06]line РНМ: 0000000000100748 [14:05:06]line Версия ККМ: 001 [14:05:06]line ФМ: 0000000000965685 [14:05:06]line ФД: 12613 [14:05:06]line ФПД: 202017124500967 [14:05:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T140504&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12613&fm=202017124500967&tin=02508201610067®Number=0000000000100748&sum=7000 [14:05:06]line 0 [14:05:06]OFD Sender: Processing packet 12613 [packets to send 7, broken 6] [14:05:06]ProducePacketName [14:05:06]name=ofd_packets/00012613 [14:05:06]OFD Sender: To server: pG, [14:05:06]CommunicateWithHost lk.salyk.kg:30040 [14:05:06]ConnectInit lk.salyk.kg [14:05:06]written 0, free lines is 4095 [14:05:06]Connected sock=9 [14:05:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 48 01 00 00 20 53 40 01 17 D1 5A 03 01 00 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 37 39 06 04 42 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 34 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 10 1D 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 45 31 00 00 35 04 06 00 B7 BB C6 F1 C5 E7 D1 35 77 DC D5 45 E5 A2 [14:05:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 68 47 47 00 D4 A8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 45 31 00 00 F4 03 04 00 91 C5 24 66 B6 04 01 00 00 0E A1 34 A6 D8 3D 10 B8 [14:05:07]CommunicateWithHost err = 0 [14:05:07]CheckOFDResponse [14:05:07]1017 (14) - 77093643461234 [14:05:07]1041 (16) - 0000000000965685 [14:05:07]1040 (4) - 12613 [14:05:07]1012 (4) - 21.04.2024 07:51 [14:05:07]1206 (1) - 0 [14:05:07]OFD Sender: Remove packet 12613 [14:05:07]ProducePacketName [14:05:07]name=ofd_packets/00012613 [14:05:07]NVStorageDeleteData [14:05:07]Write to MH i2c: 01 00 00 BD 03 C0 [14:05:07]Write i2c OK [14:05:07]MH_I2C_Read... [14:05:07]Read from MH i2c: 01 [14:05:07]MH_I2C_Read... [14:05:07]Read from MH i2c: 01 07 00 [14:05:07]MH_I2C_Read... [14:05:07]Read from MH i2c: 01 07 00 BD 03 00 00 00 00 00 E6 0C B9 [14:05:07]RasterBufferAndPrint [14:05:07]line [14:05:07]line [14:05:07]line [14:05:07]line [14:05:07]line [14:05:07]written 0, free lines is 3310 [14:05:07]MH_Cut [14:05:07]Write to MH i2c: D1 01 00 C4 03 01 99 [14:05:07]Write i2c OK [14:05:07]MH_I2C_Read... [14:05:07]Read from MH i2c: D1 [14:05:07]MH_I2C_Read... [14:05:07]Read from MH i2c: D1 01 00 [14:05:07]MH_I2C_Read... [14:05:07]Read from MH i2c: D1 01 00 C4 03 00 98 [14:05:07]Write to MH i2c: 01 00 00 C5 03 C8 [14:05:07]Write i2c OK [14:05:07]MH_I2C_Read... [14:05:07]OFD Sender: No OFD packet to send [14:05:07]*** Cut start [14:05:07]*** Partial cut [14:05:07]*** CUTSNS_PIN = 1 [14:05:07]*** CUTSNS_PIN = 0 [14:05:08]*** Brake cut motor [14:05:08]Read from MH i2c: 01 [14:05:08]MH_I2C_Read... [14:05:08]*** Stop cut motor [14:05:08]*** Cut end [14:05:08]Read from MH i2c: 01 07 00 [14:05:08]MH_I2C_Read... [14:05:08]Read from MH i2c: 01 07 00 C5 03 00 00 00 00 00 FF 0F DD [14:05:08]process_action close_receipt done [14:05:08]requested_data is exist [14:05:08]produce_requested_data [14:05:08]requested_item fm.sn is exist - process it [14:05:08]wFMCommunicate request_size=4 [14:05:08]MH_SAM_APDU [14:05:08]CAPDU: 80 11 00 00 [14:05:08]Write to MH i2c: E2 08 00 C6 03 80 11 00 00 00 00 00 00 43 [14:05:08]Write i2c OK [14:05:08]MH_I2C_Read... [14:05:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:05:08]Read from MH i2c: E2 [14:05:08]MH_I2C_Read... [14:05:08]Read from MH i2c: E2 17 00 [14:05:08]MH_I2C_Read... [14:05:08]Read from MH i2c: E2 17 00 C6 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 9D [14:05:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [14:05:08]wFMCommunicate OK [14:05:08]requested_item fd.num is exist - process it [14:05:08]SAM_PROTO_GetFieldsCounters [14:05:08]wFMCommunicate request_size=4 [14:05:08]MH_SAM_APDU [14:05:08]CAPDU: 80 13 00 00 [14:05:08]Write to MH i2c: E2 08 00 C7 03 80 13 00 00 00 00 00 00 46 [14:05:08]Write i2c OK [14:05:08]MH_I2C_Read... [14:05:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:05:08]Read from MH i2c: E2 [14:05:08]MH_I2C_Read... [14:05:08]Read from MH i2c: E2 62 00 [14:05:08]MH_I2C_Read... [14:05:08]Read from MH i2c: E2 62 00 C7 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 45 31 00 00 0E 04 04 00 19 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 44 [14:05:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 45 31 00 00 0E 04 04 00 19 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 [14:05:08]wFMCommunicate OK [14:05:08]SAM_PROTO_GetFieldsCounters done [14:05:08]requested_item shift.num is exist - process it [14:05:08]requested_item shift.opened is exist - process it [14:05:08]req_shift_opened [14:05:08]FM_GetShiftState [14:05:08]SAM_PROTO_GetShiftState [14:05:08]wFMCommunicate request_size=4 [14:05:08]MH_SAM_APDU [14:05:08]CAPDU: 80 13 01 00 [14:05:08]Write to MH i2c: E2 08 00 C8 03 80 13 01 00 00 00 00 00 48 [14:05:08]Write i2c OK [14:05:08]MH_I2C_Read... [14:05:08]Read from MH i2c: E2 [14:05:08]MH_I2C_Read... [14:05:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:05:08]Read from MH i2c: E2 0E 00 [14:05:08]MH_I2C_Read... [14:05:08]Read from MH i2c: E2 0E 00 C8 03 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 A0 [14:05:08]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [14:05:08]wFMCommunicate OK [14:05:08]SAM_PROTO_GetShiftState done [14:05:08]FM_GetShiftState done [14:05:08]req_shift_opened done [14:05:08]requested_item shift.open_date is exist - process it [14:05:08]req_shift_open_date [14:05:08]req_shift_open_date done [14:05:08]produce_requested_data done [14:05:08]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12613,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [14:05:08]process_action_free close_receipt [14:05:08]json_value_free [14:05:08]json_value_free done [14:05:08]process_json_proto returns [14:05:08]Send response to host [14:05:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12613,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [14:05:08]free response buf [14:05:08]execute_script done [14:05:08]execute_script returns [14:05:08]free content buf [14:05:08]Sock 7.Close socket [14:05:08]Sock 7.Thread stoped [14:05:12]OFD Sender: No OFD packet to send [14:05:17]OFD Sender: No OFD packet to send [14:05:18]accept exits with 10 [14:05:18]New connection [14:05:18]New thread 3067190628 created [14:05:18]Thread 3067047268 joined [14:05:18]Waiting for new connection... [14:05:18] Sock 10.Parse request [14:05:18]Sock 10.Check first char [14:05:18]Sock 10.First char is OK [14:05:18]request: POST /json_proto HTTP/1.0 [14:05:18]Method: POST [14:05:18]URL: /json_proto [14:05:18]Method is POST - this is cgi request [14:05:18]url: /json_proto [14:05:18]query_string will be loaded in cgi processing [14:05:18]execute_cgi json_proto POST (null) [14:05:18]execute_cgi path=json_proto method=POST [14:05:18]POST find Content-Length [14:05:18]Host: 172.17.62.6:8080 [14:05:18]Content-Length: 622 [14:05:18]Content-Type: application/json [14:05:18] [14:05:18]POST finish read [14:05:18]Found Content-Length = 622 [14:05:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32886", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:05:18]execute_script... [14:05:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32886", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:05:18]POST & json_proto [14:05:18]process_json_proto [14:05:18]json parsed OK: [14:05:18]protocol is kg_v1.0 [14:05:18]action value=close_receipt [14:05:18]process_action close_receipt [14:05:18]cmd_close_receipt [14:05:18]MH_GetDate [14:05:18]Write to MH i2c: F0 00 00 C9 03 BB [14:05:18]Write i2c OK [14:05:18]MH_I2C_Read... [14:05:18]Read from MH i2c: F0 [14:05:18]MH_I2C_Read... [14:05:18]Read from MH i2c: F0 09 00 [14:05:18]MH_I2C_Read... [14:05:18]Read from MH i2c: F0 09 00 C9 03 00 1E 1D 25 66 61 69 D2 64 8A [14:05:18]GetLastDocTimeStamp 1713708304 [14:05:18]current date 1713708318 [14:05:18]FM_GetShiftState [14:05:18]SAM_PROTO_GetShiftState [14:05:18]wFMCommunicate request_size=4 [14:05:18]MH_SAM_APDU [14:05:18]CAPDU: 80 13 01 00 [14:05:18]Write to MH i2c: E2 08 00 CA 03 80 13 01 00 00 00 00 00 4A [14:05:18]Write i2c OK [14:05:18]MH_I2C_Read... [14:05:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:05:18]Read from MH i2c: E2 [14:05:18]MH_I2C_Read... [14:05:18]Read from MH i2c: E2 0E 00 [14:05:18]MH_I2C_Read... [14:05:18]Read from MH i2c: E2 0E 00 CA 03 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 A2 [14:05:18]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [14:05:18]wFMCommunicate OK [14:05:18]SAM_PROTO_GetShiftState done [14:05:18]FM_GetShiftState done [14:05:18]opened in 1713658727 [14:05:18]opened+sec_in_day 1713745127 [14:05:18]quantity*price = 13500 [14:05:18]sum+1 = 13501 [14:05:18]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 26 21.04.2024 14:05 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12614 ФПД: 205359905290334 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T140518&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12614&fm=205359905290334&tin=02508201610067®Number=0000000000100748&sum=13500 0 [14:05:19]StoreToDocumentArchive [14:05:19]shift 281 fd 12614 [14:05:19]save to /storage/0281/doc_00012614 [14:05:19]save last doc name /storage/0281/doc_00012614 to /storage/kkm_last_doc_name [14:05:19]save OK [14:05:19]Clear old archive folders... [14:05:19]ProcessDocumentItem done err = 0, tmpTLVsize=275 [14:05:19]tlvbuf is 01A40420 [14:05:19]SAM_PROTO_ClearQueue [14:05:19]wFMCommunicate request_size=4 [14:05:19]MH_SAM_APDU [14:05:19]CAPDU: 80 09 00 00 [14:05:19]Write to MH i2c: E2 08 00 D7 03 80 09 00 00 00 00 00 00 4C [14:05:19]Write i2c OK [14:05:19]MH_I2C_Read... [14:05:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:05:19]Read from MH i2c: E2 [14:05:19]MH_I2C_Read... [14:05:19]Read from MH i2c: E2 03 00 [14:05:19]MH_I2C_Read... [14:05:19]Read from MH i2c: E2 03 00 D7 03 00 90 00 4E [14:05:19]RAPDU: 90 00 [14:05:19]wFMCommunicate OK [14:05:19]SAM_PROTO_ClearQueue done [14:05:19]KKMCreateOFDPacket [14:05:19]OFDProtocolAddRootSTLVToBuf [14:05:19]FM_MakeSignedData [14:05:19]FM_MakeSignedData [14:05:19]SAM_PROTO_SignData [14:05:19]wFMCommunicate request_size=4 [14:05:19]MH_SAM_APDU [14:05:19]CAPDU: 80 0D 01 02 [14:05:19]Write to MH i2c: E2 08 00 D8 03 80 0D 01 02 00 00 00 00 54 [14:05:19]Write i2c OK [14:05:19]MH_I2C_Read... [14:05:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:05:19]Read from MH i2c: E2 [14:05:19]MH_I2C_Read... [14:05:19]Read from MH i2c: E2 03 00 [14:05:19]MH_I2C_Read... [14:05:19]Read from MH i2c: E2 03 00 D8 03 00 90 00 4F [14:05:19]RAPDU: 90 00 [14:05:19]wFMCommunicate OK [14:05:19]wFMCommunicate request_size=255 [14:05:19]MH_SAM_APDU [14:05:19]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 1E 1D 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 [14:05:19]Write to MH i2c: E2 02 01 D9 03 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 1E 1D 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 00 00 C7 [14:05:19]Write i2c OK [14:05:19]MH_I2C_Read... [14:05:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:05:20]Read from MH i2c: E2 [14:05:20]MH_I2C_Read... [14:05:20]Read from MH i2c: E2 03 00 [14:05:20]MH_I2C_Read... [14:05:20]Read from MH i2c: E2 03 00 D9 03 00 90 00 50 [14:05:20]RAPDU: 90 00 [14:05:20]wFMCommunicate OK [14:05:20]wFMCommunicate request_size=34 [14:05:20]MH_SAM_APDU [14:05:20]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 46 31 00 00 35 04 06 00 BA C6 14 34 B8 5E [14:05:20]Write to MH i2c: E2 25 00 DA 03 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 46 31 00 00 35 04 06 00 BA C6 14 34 B8 5E 00 00 74 [14:05:20]Write i2c OK [14:05:20]MH_I2C_Read... [14:05:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:05:20]Read from MH i2c: E2 [14:05:20]MH_I2C_Read... [14:05:20]Read from MH i2c: E2 03 00 [14:05:20]MH_I2C_Read... [14:05:20]Read from MH i2c: E2 03 00 DA 03 00 90 00 51 [14:05:20]RAPDU: 90 00 [14:05:20]wFMCommunicate OK [14:05:20]wFMCommunicate request_size=4 [14:05:20]MH_SAM_APDU [14:05:20]CAPDU: 80 0D 03 02 [14:05:20]Write to MH i2c: E2 08 00 DB 03 80 0D 03 02 00 00 00 00 59 [14:05:20]Write i2c OK [14:05:20]MH_I2C_Read... [14:05:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:05:20]Read from MH i2c: E2 [14:05:20]MH_I2C_Read... [14:05:20]Read from MH i2c: E2 0B 00 [14:05:20]MH_I2C_Read... [14:05:20]Read from MH i2c: E2 0B 00 DB 03 00 CC 4B 0C 7E E9 E1 6A 11 90 00 40 [14:05:20]RAPDU: CC 4B 0C 7E E9 E1 6A 11 90 00 [14:05:20]wFMCommunicate OK [14:05:20]SAM_PROTO_SignData done [14:05:20]FM_MakeSignedData done [14:05:20]CreateOFDProtocolMessage [14:05:20]wFMCommunicate request_size=4 [14:05:20]MH_SAM_APDU [14:05:20]CAPDU: 80 11 00 00 [14:05:20]Write to MH i2c: E2 08 00 DC 03 80 11 00 00 00 00 00 00 59 [14:05:20]Write i2c OK [14:05:20]MH_I2C_Read... [14:05:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:05:20]Read from MH i2c: E2 [14:05:20]MH_I2C_Read... [14:05:20]Read from MH i2c: E2 17 00 [14:05:20]MH_I2C_Read... [14:05:20]Read from MH i2c: E2 17 00 DC 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 B3 [14:05:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [14:05:20]wFMCommunicate OK [14:05:20]CreateOFDProtocolMessage done [14:05:20]OFDSenderStorePacket 12614 [14:05:20]StoreOFDPacket docnum=12614 [14:05:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 27 01 00 00 FC 94 1F 01 34 0A 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 1E 1D 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 46 31 00 00 35 04 06 00 BA C6 14 34 B8 5E CC 4B 0C 7E E9 E1 6A 11 [14:05:20]CheckFolder [14:05:20]dirname=/storage/ofd_packets [14:05:20]CheckFolder done [14:05:20]ProducePacketName [14:05:20]name=ofd_packets/00012614 [14:05:20]NVStorageSaveData ofd_packets/00012614 [14:05:20]File name is /storage/ofd_packets/00012614 [14:05:20]Write 325 bytes [14:05:20]NVStorageSaveData done [14:05:20]OFDSenderStorePacket done [14:05:20]KKMCreateOFDPacket done [14:05:20]NVStorageSaveData kkm_last_timestamp [14:05:20]File name is /storage/kkm_last_timestamp [14:05:20]Write 4 bytes [14:05:20]NVStorageSaveData done [14:05:20]ExternCall_PrintAddStr [14:05:20]wPrintStart [14:05:20]Write to MH i2c: 01 00 00 DD 03 E0 [14:05:20]Write i2c OK [14:05:20]MH_I2C_Read... [14:05:20]Read from MH i2c: 01 [14:05:20]MH_I2C_Read... [14:05:20]Read from MH i2c: 01 07 00 [14:05:20]MH_I2C_Read... [14:05:20]Read from MH i2c: 01 07 00 DD 03 00 00 00 00 00 FF 0F F5 [14:05:20]RasterBufferAndPrint [14:05:20]line Счет N : (3)32886 [14:05:20]line ИНН: 02508201610067 [14:05:20]line Контрольно-Кассовый Чек [14:05:20]line ПРОДАЖА [14:05:20]line Товар: 48743587 [14:05:20]line Сигареты Winston XStyle Silver [14:05:20]line 1.000 * 135.00 [14:05:20]line = 135.00 [14:05:20]line НДС 12% НСП 1% [14:05:20]line > о реализуемом товаре [14:05:20]line ИТОГО: 135.00 [14:05:20]line НСП 1% : 1.19 [14:05:20]line НДС 12% : 14.34 [14:05:20]line Наличными: 135.00 [14:05:20]line Безнал.: 0.00 [14:05:20]line Место: АЗС № 106 "Партнер Нефть" [14:05:20]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [14:05:20]line СНО: Общий режим [14:05:20]line Чек 26 21.04.2024 14:05 [14:05:20]line Смена: 281 ФФД: 1.0 [14:05:20]line ЗНМ: 0300000004 [14:05:20]line РНМ: 0000000000100748 [14:05:20]line Версия ККМ: 001 [14:05:20]line ФМ: 0000000000965685 [14:05:20]line ФД: 12614 [14:05:20]line ФПД: 205359905290334 [14:05:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T140518&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12614&fm=205359905290334&tin=02508201610067®Number=0000000000100748&sum=13500 [14:05:20]OFD Sender: Processing packet 12614 [packets to send 7, broken 6] [14:05:20]ProducePacketName [14:05:20]name=ofd_packets/00012614 [14:05:20]OFD Sender: To server: pG, [14:05:20]CommunicateWithHost lk.salyk.kg:30040 [14:05:20]ConnectInit lk.salyk.kg [14:05:20]line 0 [14:05:20]written 0, free lines is 4095 [14:05:20]Connected sock=11 [14:05:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 27 01 00 00 FC 94 1F 01 34 0A 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 1E 1D 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 46 31 00 00 35 04 06 00 BA C6 14 34 B8 5E CC 4B 0C 7E E9 E1 6A 11 [14:05:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 74 92 47 00 3A 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 39 36 35 36 38 35 10 04 04 00 46 31 00 00 F4 03 04 00 A0 C5 24 66 B6 04 01 00 00 BE D0 C3 14 16 AA 6E 95 [14:05:21]CommunicateWithHost err = 0 [14:05:21]CheckOFDResponse [14:05:21]1017 (14) - 77093643461234 [14:05:21]1041 (16) - 0000000000965685 [14:05:21]1040 (4) - 12614 [14:05:21]1012 (4) - 21.04.2024 07:52 [14:05:21]1206 (1) - 0 [14:05:21]OFD Sender: Remove packet 12614 [14:05:21]ProducePacketName [14:05:21]name=ofd_packets/00012614 [14:05:21]NVStorageDeleteData [14:05:21]Write to MH i2c: 01 00 00 05 04 09 [14:05:21]Write i2c OK [14:05:21]MH_I2C_Read... [14:05:21]Read from MH i2c: 01 [14:05:21]MH_I2C_Read... [14:05:21]Read from MH i2c: 01 07 00 [14:05:21]MH_I2C_Read... [14:05:21]Read from MH i2c: 01 07 00 05 04 00 00 00 00 00 E9 0C 05 [14:05:21]RasterBufferAndPrint [14:05:21]line [14:05:21]line [14:05:21]line [14:05:21]line [14:05:21]line [14:05:21]written 0, free lines is 3311 [14:05:21]MH_Cut [14:05:21]Write to MH i2c: D1 01 00 0C 04 01 E2 [14:05:21]Write i2c OK [14:05:21]MH_I2C_Read... [14:05:21]Read from MH i2c: D1 [14:05:21]MH_I2C_Read... [14:05:21]Read from MH i2c: D1 01 00 [14:05:21]MH_I2C_Read... [14:05:21]Read from MH i2c: D1 01 00 0C 04 00 E1 [14:05:21]Write to MH i2c: 01 00 00 0D 04 11 [14:05:21]Write i2c OK [14:05:21]MH_I2C_Read... [14:05:21]OFD Sender: No OFD packet to send [14:05:21]*** Cut start [14:05:21]*** Partial cut [14:05:21]*** CUTSNS_PIN = 1 [14:05:21]*** CUTSNS_PIN = 0 [14:05:22]*** Brake cut motor [14:05:22]Read from MH i2c: 01 [14:05:22]MH_I2C_Read... [14:05:22]*** Stop cut motor [14:05:22]*** Cut end [14:05:22]Read from MH i2c: 01 07 00 [14:05:22]MH_I2C_Read... [14:05:22]Read from MH i2c: 01 07 00 0D 04 00 00 00 00 00 FF 0F 26 [14:05:22]process_action close_receipt done [14:05:22]requested_data is exist [14:05:22]produce_requested_data [14:05:22]requested_item fm.sn is exist - process it [14:05:22]wFMCommunicate request_size=4 [14:05:22]MH_SAM_APDU [14:05:22]CAPDU: 80 11 00 00 [14:05:22]Write to MH i2c: E2 08 00 0E 04 80 11 00 00 00 00 00 00 8C [14:05:22]Write i2c OK [14:05:22]MH_I2C_Read... [14:05:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:05:22]Read from MH i2c: E2 [14:05:22]MH_I2C_Read... [14:05:22]Read from MH i2c: E2 17 00 [14:05:22]MH_I2C_Read... [14:05:22]Read from MH i2c: E2 17 00 0E 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 E6 [14:05:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [14:05:22]wFMCommunicate OK [14:05:22]requested_item fd.num is exist - process it [14:05:22]SAM_PROTO_GetFieldsCounters [14:05:22]wFMCommunicate request_size=4 [14:05:22]MH_SAM_APDU [14:05:22]CAPDU: 80 13 00 00 [14:05:22]Write to MH i2c: E2 08 00 0F 04 80 13 00 00 00 00 00 00 8F [14:05:22]Write i2c OK [14:05:22]MH_I2C_Read... [14:05:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:05:22]Read from MH i2c: E2 [14:05:22]MH_I2C_Read... [14:05:22]Read from MH i2c: E2 62 00 [14:05:22]MH_I2C_Read... [14:05:22]Read from MH i2c: E2 62 00 0F 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 46 31 00 00 0E 04 04 00 19 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 91 [14:05:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 46 31 00 00 0E 04 04 00 19 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 [14:05:22]wFMCommunicate OK [14:05:22]SAM_PROTO_GetFieldsCounters done [14:05:22]requested_item shift.num is exist - process it [14:05:22]requested_item shift.opened is exist - process it [14:05:22]req_shift_opened [14:05:22]FM_GetShiftState [14:05:22]SAM_PROTO_GetShiftState [14:05:22]wFMCommunicate request_size=4 [14:05:22]MH_SAM_APDU [14:05:22]CAPDU: 80 13 01 00 [14:05:22]Write to MH i2c: E2 08 00 10 04 80 13 01 00 00 00 00 00 91 [14:05:22]Write i2c OK [14:05:22]MH_I2C_Read... [14:05:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:05:22]Read from MH i2c: E2 [14:05:22]MH_I2C_Read... [14:05:22]Read from MH i2c: E2 0E 00 [14:05:22]MH_I2C_Read... [14:05:22]Read from MH i2c: E2 0E 00 10 04 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 E9 [14:05:22]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [14:05:22]wFMCommunicate OK [14:05:22]SAM_PROTO_GetShiftState done [14:05:22]FM_GetShiftState done [14:05:22]req_shift_opened done [14:05:22]requested_item shift.open_date is exist - process it [14:05:22]req_shift_open_date [14:05:22]req_shift_open_date done [14:05:22]produce_requested_data done [14:05:22]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12614,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [14:05:22]process_action_free close_receipt [14:05:22]json_value_free [14:05:22]json_value_free done [14:05:22]process_json_proto returns [14:05:22]Send response to host [14:05:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12614,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [14:05:22]free response buf [14:05:22]execute_script done [14:05:22]execute_script returns [14:05:22]free content buf [14:05:22]Sock 10.Close socket [14:05:22]Sock 10.Thread stoped [14:05:26]OFD Sender: No OFD packet to send [14:05:31]OFD Sender: No OFD packet to send [14:05:36]OFD Sender: No OFD packet to send [14:05:41]OFD Sender: No OFD packet to send [14:05:46]OFD Sender: No OFD packet to send [14:05:51]OFD Sender: No OFD packet to send [14:05:56]OFD Sender: No OFD packet to send [14:06:01]OFD Sender: No OFD packet to send [14:06:06]OFD Sender: No OFD packet to send [14:06:11]OFD Sender: No OFD packet to send [14:06:16]OFD Sender: No OFD packet to send [14:06:21]OFD Sender: No OFD packet to send [14:06:26]OFD Sender: No OFD packet to send [14:06:31]OFD Sender: No OFD packet to send [14:06:36]OFD Sender: No OFD packet to send [14:06:41]OFD Sender: No OFD packet to send [14:06:46]OFD Sender: No OFD packet to send [14:06:51]OFD Sender: No OFD packet to send [14:06:56]OFD Sender: No OFD packet to send [14:07:01]OFD Sender: No OFD packet to send [14:07:06]OFD Sender: No OFD packet to send [14:07:11]OFD Sender: No OFD packet to send [14:07:16]OFD Sender: No OFD packet to send [14:07:21]OFD Sender: No OFD packet to send [14:07:26]OFD Sender: No OFD packet to send [14:07:31]OFD Sender: No OFD packet to send [14:07:36]OFD Sender: No OFD packet to send [14:07:41]OFD Sender: No OFD packet to send [14:07:46]OFD Sender: No OFD packet to send [14:07:51]OFD Sender: No OFD packet to send [14:07:56]OFD Sender: No OFD packet to send [14:08:01]OFD Sender: No OFD packet to send [14:08:06]OFD Sender: No OFD packet to send [14:08:11]OFD Sender: No OFD packet to send [14:08:16]OFD Sender: No OFD packet to send [14:08:21]OFD Sender: No OFD packet to send [14:08:26]OFD Sender: No OFD packet to send [14:08:31]OFD Sender: No OFD packet to send [14:08:36]OFD Sender: No OFD packet to send [14:08:41]OFD Sender: No OFD packet to send [14:08:46]OFD Sender: No OFD packet to send [14:08:51]OFD Sender: No OFD packet to send [14:08:56]OFD Sender: No OFD packet to send [14:09:01]OFD Sender: No OFD packet to send [14:09:06]OFD Sender: No OFD packet to send [14:09:11]OFD Sender: No OFD packet to send [14:09:16]OFD Sender: No OFD packet to send [14:09:21]OFD Sender: No OFD packet to send [14:09:26]OFD Sender: No OFD packet to send [14:09:31]OFD Sender: No OFD packet to send [14:09:36]OFD Sender: No OFD packet to send [14:09:41]OFD Sender: No OFD packet to send [14:09:46]OFD Sender: No OFD packet to send [14:09:51]OFD Sender: No OFD packet to send [14:09:56]OFD Sender: No OFD packet to send [14:10:01]OFD Sender: No OFD packet to send [14:10:06]OFD Sender: No OFD packet to send [14:10:11]OFD Sender: No OFD packet to send [14:10:16]OFD Sender: No OFD packet to send [14:10:21]OFD Sender: No OFD packet to send [14:10:26]OFD Sender: No OFD packet to send [14:10:31]OFD Sender: No OFD packet to send [14:10:36]OFD Sender: No OFD packet to send [14:10:41]OFD Sender: No OFD packet to send [14:10:46]OFD Sender: No OFD packet to send [14:10:51]OFD Sender: No OFD packet to send [14:10:56]OFD Sender: No OFD packet to send [14:11:01]OFD Sender: No OFD packet to send [14:11:06]OFD Sender: No OFD packet to send [14:11:11]OFD Sender: No OFD packet to send [14:11:16]OFD Sender: No OFD packet to send [14:11:21]OFD Sender: No OFD packet to send [14:11:26]OFD Sender: No OFD packet to send [14:11:31]OFD Sender: No OFD packet to send [14:11:36]OFD Sender: No OFD packet to send [14:11:41]OFD Sender: No OFD packet to send [14:11:46]OFD Sender: No OFD packet to send [14:11:51]OFD Sender: No OFD packet to send [14:11:56]OFD Sender: No OFD packet to send [14:12:01]OFD Sender: No OFD packet to send [14:12:06]OFD Sender: No OFD packet to send [14:12:11]OFD Sender: No OFD packet to send [14:12:16]OFD Sender: No OFD packet to send [14:12:21]OFD Sender: No OFD packet to send [14:12:26]OFD Sender: No OFD packet to send [14:12:31]OFD Sender: No OFD packet to send [14:12:36]OFD Sender: No OFD packet to send [14:12:41]OFD Sender: No OFD packet to send [14:12:46]OFD Sender: No OFD packet to send [14:12:51]OFD Sender: No OFD packet to send [14:12: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:57]OFD Sender: No OFD packet to send [14:17:02]OFD Sender: No OFD packet to send [14:17:07]OFD Sender: No OFD packet to send [14:17:12]OFD Sender: No OFD packet to send [14:17:17]OFD Sender: No OFD packet to send [14:17:22]OFD Sender: No OFD packet to send [14:17:27]OFD Sender: No OFD packet to send [14:17:32]OFD Sender: No OFD packet to send [14:17:37]OFD Sender: No OFD packet to send [14:17:42]OFD Sender: No OFD packet to send [14:17:47]OFD Sender: No OFD packet to send [14:17:52]OFD Sender: No OFD packet to send [14:17:57]OFD Sender: No OFD packet to send [14:18:02]OFD Sender: No OFD packet to send [14:18:07]OFD Sender: No OFD packet to send [14:18:12]OFD Sender: No OFD packet to send [14:18:17]OFD Sender: No OFD packet to send [14:18:22]OFD Sender: No OFD packet to send [14:18:27]OFD Sender: No OFD packet to send [14:18:32]OFD Sender: No OFD packet to send [14:18:37]OFD Sender: No OFD packet to send [14:18:42]OFD Sender: No OFD packet to send [14:18:47]OFD Sender: No OFD packet to send [14:18:52]OFD Sender: No OFD packet to send [14:18:57]OFD Sender: No OFD packet to send [14:19:02]OFD Sender: No OFD packet to send [14:19:07]OFD Sender: No OFD packet to send [14:19:12]OFD Sender: No OFD packet to send [14:19:17]OFD Sender: No OFD packet to send [14:19:22]OFD Sender: No OFD packet to send [14:19:27]OFD Sender: No OFD packet to send [14:19:32]OFD Sender: No OFD packet to send [14:19:37]OFD Sender: No OFD packet to send [14:19:42]OFD Sender: No OFD packet to send [14:19:47]OFD Sender: No OFD packet to send [14:19:52]OFD Sender: No OFD packet to send [14:19:57]OFD Sender: No OFD packet to send [14:20:02]OFD Sender: No OFD packet to send [14:20:07]OFD Sender: No OFD packet to send [14:20:12]OFD Sender: No OFD packet to send [14:20:17]OFD Sender: No OFD packet to send [14:20:22]OFD Sender: No OFD packet to send [14:20:27]OFD Sender: No OFD packet to send [14:20:32]OFD Sender: No OFD packet to send [14:20:37]OFD Sender: No OFD packet to send [14:20:42]OFD Sender: No OFD packet to send [14:20:47]OFD Sender: No OFD packet to send [14:20:52]OFD Sender: No OFD packet to send [14:20:57]OFD Sender: No OFD packet to send [14:21:02]OFD Sender: No OFD packet to send [14:21:07]OFD Sender: No OFD packet to send [14:21:12]OFD Sender: No OFD packet to send [14:21:17]OFD Sender: No OFD packet to send [14:21:22]OFD Sender: No OFD packet to send [14:21:27]OFD Sender: No OFD packet to send [14:21:32]OFD Sender: No OFD packet to send [14:21:37]OFD Sender: No OFD packet to send [14:21:42]OFD Sender: No OFD packet to send [14:21:47]OFD Sender: No OFD packet to send [14:21:52]OFD Sender: No OFD packet to send [14:21:57]OFD Sender: No OFD packet to send [14:22:02]OFD Sender: No OFD packet to send [14:22:07]OFD Sender: No OFD packet to send [14:22:12]OFD Sender: No OFD packet to send [14:22:17]OFD Sender: No OFD packet to send [14:22:22]OFD Sender: No OFD packet to send [14:22:27]OFD Sender: No OFD packet to send [14:22:32]OFD Sender: No OFD packet to send [14:22:37]OFD Sender: No OFD packet to send [14:22:42]OFD Sender: No OFD packet to send [14:22:47]OFD Sender: No OFD packet to send [14:22:52]OFD Sender: No OFD packet to send [14:22:57]OFD Sender: No OFD packet to send [14:23:02]OFD Sender: No OFD packet to send [14:23:07]OFD Sender: No OFD packet to send [14:23:12]OFD Sender: No OFD packet to send [14:23:17]OFD Sender: No OFD packet to send [14:23:22]OFD Sender: No OFD packet to send [14:23:27]OFD Sender: No OFD packet to send [14:23:32]OFD Sender: No OFD packet to send [14:23:37]OFD Sender: No OFD packet to send [14:23:42]OFD Sender: No OFD packet to send [14:23:47]OFD Sender: No OFD packet to send [14:23:52]OFD Sender: No OFD packet to send [14:23:57]OFD Sender: No OFD packet to send [14:24:02]OFD Sender: No OFD packet to send [14:24:07]OFD Sender: No OFD packet to send [14:24:12]OFD Sender: No OFD packet to send [14:24:17]OFD Sender: No OFD packet to send [14:24:22]OFD Sender: No OFD packet to send [14:24:27]OFD Sender: No OFD packet to send [14:24:32]OFD Sender: No OFD packet to send [14:24:37]OFD Sender: No OFD packet to send [14:24:42]OFD Sender: No OFD packet to send [14:24:47]OFD Sender: No OFD packet to send [14:24:52]OFD Sender: No OFD packet to send [14:24:57]OFD Sender: No OFD packet to send [14:25:02]OFD Sender: No OFD packet to send [14:25:07]OFD Sender: No OFD packet to send [14:25:12]OFD Sender: No OFD packet to send [14:25:17]OFD Sender: No OFD packet to send [14:25:22]OFD Sender: No OFD packet to send [14:25:27]OFD Sender: No OFD packet to send [14:25:32]OFD Sender: No OFD packet to send [14:25:37]OFD Sender: No OFD packet to send [14:25:42]OFD Sender: No OFD packet to send [14:25:47]OFD Sender: No OFD packet to send [14:25:52]OFD Sender: No OFD packet to send [14:25:57]OFD Sender: No OFD packet to send [14:26:02]OFD Sender: No OFD packet to send [14:26:07]OFD Sender: No OFD packet to send [14:26:12]OFD Sender: No OFD packet to send [14:26:17]OFD Sender: No OFD packet to send [14:26:22]OFD Sender: No OFD packet to send [14:26:27]OFD Sender: No OFD packet to send [14:26:32]OFD Sender: No OFD packet to send [14:26:37]OFD Sender: No OFD packet to send [14:26:42]OFD Sender: No OFD packet to send [14:26:47]OFD Sender: No OFD packet to send [14:26:52]OFD Sender: No OFD packet to send [14:26:57]OFD Sender: No OFD packet to send [14:27:02]OFD Sender: No OFD packet to send [14:27:07]OFD Sender: No OFD packet to send [14:27:12]OFD Sender: No OFD packet to send [14:27:17]OFD Sender: No OFD packet to send [14:27:22]OFD Sender: No OFD packet to send [14:27:27]OFD Sender: No OFD packet to send [14:27:32]OFD Sender: No OFD packet to send [14:27:37]OFD Sender: No OFD packet to send [14:27:42]OFD Sender: No OFD packet to send [14:27:47]OFD Sender: No OFD packet to send [14:27:52]OFD Sender: No OFD packet to send [14:27:57]OFD Sender: No OFD packet to send [14:28:02]OFD Sender: No OFD packet to send [14:28:07]OFD Sender: No OFD packet to send [14:28:12]OFD Sender: No OFD packet to send [14:28:17]OFD Sender: No OFD packet to send [14:28:22]OFD Sender: No OFD packet to send [14:28:27]OFD Sender: No OFD packet to send [14:28:32]OFD Sender: No OFD packet to send [14:28:37]OFD Sender: No OFD packet to send [14:28:42]OFD Sender: No OFD packet to send [14:28:47]OFD Sender: No OFD packet to send [14:28:52]OFD Sender: No OFD packet to send [14:28:57]OFD Sender: No OFD packet to send [14:29:02]OFD Sender: No OFD packet to send [14:29:07]OFD Sender: No OFD packet to send [14:29:12]OFD Sender: No OFD packet to send [14:29:17]OFD Sender: No OFD packet to send [14:29:22]OFD Sender: No OFD packet to send [14:29:27]OFD Sender: No OFD packet to send [14:29:32]OFD Sender: No OFD packet to send [14:29:37]OFD Sender: No OFD packet to send [14:29:42]OFD Sender: No OFD packet to send [14:29:47]OFD Sender: No OFD packet to send [14:29:52]OFD Sender: No OFD packet to send [14:29:57]OFD Sender: No OFD packet to send [14:30:02]OFD Sender: No OFD packet to send [14:30:07]OFD Sender: No OFD packet to send [14:30:12]OFD Sender: No OFD packet to send [14:30:17]OFD Sender: No OFD packet to send [14:30:22]OFD Sender: No OFD packet to send [14:30:27]OFD Sender: No OFD packet to send [14:30:32]OFD Sender: No OFD packet to send [14:30:37]OFD Sender: No OFD packet to send [14:30:42]OFD Sender: No OFD packet to send [14:30:47]OFD Sender: No OFD packet to send [14:30:52]OFD Sender: No OFD packet to send [14:30:57]OFD Sender: No OFD packet to send [14:31:02]OFD Sender: No OFD packet to send [14:31:07]OFD Sender: No OFD packet to send [14:31:12]OFD Sender: No OFD packet to send [14:31:17]OFD Sender: No OFD packet to send [14:31:22]OFD Sender: No OFD packet to send [14:31:27]OFD Sender: No OFD packet to send [14:31:32]OFD Sender: No OFD packet to send [14:31:37]OFD Sender: No OFD packet to send [14:31:42]OFD Sender: No OFD packet to send [14:31:47]OFD Sender: No OFD packet to send [14:31:52]OFD Sender: No OFD packet to send [14:31:57]OFD Sender: No OFD packet to send [14:32:02]OFD Sender: No OFD packet to send [14:32:07]OFD Sender: No OFD packet to send [14:32:12]OFD Sender: No OFD packet to send [14:32:17]OFD Sender: No OFD packet to send [14:32:22]OFD Sender: No OFD packet to send [14:32:27]OFD Sender: No OFD packet to send [14:32:32]OFD Sender: No OFD packet to send [14:32:37]OFD Sender: No OFD packet to send [14:32:42]OFD Sender: No OFD packet to send [14:32:47]OFD Sender: No OFD packet to send [14:32:52]OFD Sender: No OFD packet to send [14:32:57]OFD Sender: No OFD packet to send [14:33:02]OFD Sender: No OFD packet to send [14:33:07]OFD Sender: No OFD packet to send [14:33:12]OFD Sender: No OFD packet to send [14:33:17]OFD Sender: No OFD packet to send [14:33:22]OFD Sender: No OFD packet to send [14:33:27]OFD Sender: No OFD packet to send [14:33:32]OFD Sender: No OFD packet to send [14:33:37]OFD Sender: No OFD packet to send [14:33:42]OFD Sender: No OFD packet to send [14:33:47]OFD Sender: No OFD packet to send [14:33:52]OFD Sender: No OFD packet to send [14:33:57]OFD Sender: No OFD packet to send [14:34:02]OFD Sender: No OFD packet to send [14:34:07]OFD Sender: No OFD packet to send [14:34:12]OFD Sender: No OFD packet to send [14:34:17]OFD Sender: No OFD packet to send [14:34:23]OFD Sender: No OFD packet to send [14:34:28]OFD Sender: No OFD packet to send [14:34:33]OFD Sender: No OFD packet to send [14:34:38]OFD Sender: No OFD packet to send [14:34:43]OFD Sender: No OFD packet to send [14:34:48]OFD Sender: No OFD packet to send [14:34:53]OFD Sender: No OFD packet to send [14:34:58]OFD Sender: No OFD packet to send [14:35:03]OFD Sender: No OFD packet to send [14:35:08]OFD Sender: No OFD packet to send [14:35:13]OFD Sender: No OFD packet to send [14:35:18]OFD Sender: No OFD packet to send [14:35:23]OFD Sender: No OFD packet to send [14:35:28]OFD Sender: No OFD packet to send [14:35:33]OFD Sender: No OFD packet to send [14:35:38]OFD Sender: No OFD packet to send [14:35:43]OFD Sender: No OFD packet to send [14:35:48]OFD Sender: No OFD packet to send [14:35:53]OFD Sender: No OFD packet to send [14:35:58]OFD Sender: No OFD packet to send [14:36:03]OFD Sender: No OFD packet to send [14:36:08]OFD Sender: No OFD packet to send [14:36:13]OFD Sender: No OFD packet to send [14:36:18]OFD Sender: No OFD packet to send [14:36:23]OFD Sender: No OFD packet to send [14:36:28]OFD Sender: No OFD packet to send [14:36:33]OFD Sender: No OFD packet to send [14:36:38]OFD Sender: No OFD packet to send [14:36:43]OFD Sender: No OFD packet to send [14:36:48]OFD Sender: No OFD packet to send [14:36:53]OFD Sender: No OFD packet to send [14:36:58]OFD Sender: No OFD packet to send [14:37:03]OFD Sender: No OFD packet to send [14:37:08]OFD Sender: No OFD packet to send [14:37:13]OFD Sender: No OFD packet to send [14:37:18]OFD Sender: No OFD packet to send [14:37:23]OFD Sender: No OFD packet to send [14:37:28]OFD Sender: No OFD packet to send [14:37:33]OFD Sender: No OFD packet to send [14:37:38]OFD Sender: No OFD packet to send [14:37:43]OFD Sender: No OFD packet to send [14:37:48]OFD Sender: No OFD packet to send [14:37:53]OFD Sender: No OFD packet to send [14:37:58]OFD Sender: No OFD packet to send [14:38:03]OFD Sender: No OFD packet to send [14:38:08]OFD Sender: No OFD packet to send [14:38:13]OFD Sender: No OFD packet to send [14:38:18]OFD Sender: No OFD packet to send [14:38:23]OFD Sender: No OFD packet to send [14:38:28]OFD Sender: No OFD packet to send [14:38:33]OFD Sender: No OFD packet to send [14:38:38]OFD Sender: No OFD packet to send [14:38:43]OFD Sender: No OFD packet to send [14:38:48]OFD Sender: No OFD packet to send [14:38:53]OFD Sender: No OFD packet to send [14:38:58]OFD Sender: No OFD packet to send [14:39:03]OFD Sender: No OFD packet to send [14:39:08]OFD Sender: No OFD packet to send [14:39:13]OFD Sender: No OFD packet to send [14:39:18]OFD Sender: No OFD packet to send [14:39:23]OFD Sender: No OFD packet to send [14:39:28]OFD Sender: No OFD packet to send [14:39:33]OFD Sender: No OFD packet to send [14:39:38]OFD Sender: No OFD packet to send [14:39:43]OFD Sender: No OFD packet to send [14:39:48]OFD Sender: No OFD packet to send [14:39:53]OFD Sender: No OFD packet to send [14:39:58]OFD Sender: No OFD packet to send [14:40:03]OFD Sender: No OFD packet to send [14:40:08]OFD Sender: No OFD packet to send [14:40:13]OFD Sender: No OFD packet to send [14:40:18]OFD Sender: No OFD packet to send [14:40:23]OFD Sender: No OFD packet to send [14:40:28]OFD Sender: No OFD packet to send [14:40:33]OFD Sender: No OFD packet to send [14:40:38]OFD Sender: No OFD packet to send [14:40:43]OFD Sender: No OFD packet to send [14:40:48]OFD Sender: No OFD packet to send [14:40:53]OFD Sender: No OFD packet to send [14:40:58]OFD Sender: No OFD packet to send [14:41:03]OFD Sender: No OFD packet to send [14:41:08]OFD Sender: No OFD packet to send [14:41:13]OFD Sender: No OFD packet to send [14:41:18]OFD Sender: No OFD packet to send [14:41:23]OFD Sender: No OFD packet to send [14:41:28]OFD Sender: No OFD packet to send [14:41:33]OFD Sender: No OFD packet to send [14:41:38]OFD Sender: No OFD packet to send [14:41:43]OFD Sender: No OFD packet to send [14:41:48]OFD Sender: No OFD packet to send [14:41:53]OFD Sender: No OFD packet to send [14:41:58]OFD Sender: No OFD packet to send [14:42:03]OFD Sender: No OFD packet to send [14:42:08]OFD Sender: No OFD packet to send [14:42:13]OFD Sender: No OFD packet to send [14:42:18]OFD Sender: No OFD packet to send [14:42:23]OFD Sender: No OFD packet to send [14:42:28]OFD Sender: No OFD packet to send [14:42:33]OFD Sender: No OFD packet to send [14:42:38]OFD Sender: No OFD packet to send [14:42:43]OFD Sender: No OFD packet to send [14:42:48]OFD Sender: No OFD packet to send [14:42:53]OFD Sender: No OFD packet to send [14:42:58]OFD Sender: No OFD packet to send [14:43:03]OFD Sender: No OFD packet to send [14:43:08]OFD Sender: No OFD packet to send [14:43:13]OFD Sender: No OFD packet to send [14:43:18]OFD Sender: No OFD packet to send [14:43:23]OFD Sender: No OFD packet to send [14:43:28]OFD Sender: No OFD packet to send [14:43:33]OFD Sender: No OFD packet to send [14:43:38]OFD Sender: No OFD packet to send [14:43:43]OFD Sender: No OFD packet to send [14:43:48]OFD Sender: No OFD packet to send [14:43:53]OFD Sender: No OFD packet to send [14:43:58]OFD Sender: No OFD packet to send [14:44:03]OFD Sender: No OFD packet to send [14:44:08]OFD Sender: No OFD packet to send [14:44:13]OFD Sender: No OFD packet to send [14:44:18]OFD Sender: No OFD packet to send [14:44:23]OFD Sender: No OFD packet to send [14:44:28]OFD Sender: No OFD packet to send [14:44:33]OFD Sender: No OFD packet to send [14:44:38]OFD Sender: No OFD packet to send [14:44:43]OFD Sender: No OFD packet to send [14:44:48]OFD Sender: No OFD packet to send [14:44:53]OFD Sender: No OFD packet to send [14:44:58]OFD Sender: No OFD packet to send [14:45:03]OFD Sender: No OFD packet to send [14:45:08]OFD Sender: No OFD packet to send [14:45:13]OFD Sender: No OFD packet to send [14:45:18]OFD Sender: No OFD packet to send [14:45:23]OFD Sender: No OFD packet to send [14:45:28]OFD Sender: No OFD packet to send [14:45:33]OFD Sender: No OFD packet to send [14:45:38]OFD Sender: No OFD packet to send [14:45:43]OFD Sender: No OFD packet to send [14:45:48]OFD Sender: No OFD packet to send [14:45:53]OFD Sender: No OFD packet to send [14:45:58]OFD Sender: No OFD packet to send [14:46:03]OFD Sender: No OFD packet to send [14:46:08]OFD Sender: No OFD packet to send [14:46:13]OFD Sender: No OFD packet to send [14:46:18]OFD Sender: No OFD packet to send [14:46:23]OFD Sender: No OFD packet to send [14:46:28]OFD Sender: No OFD packet to send [14:46:33]OFD Sender: No OFD packet to send [14:46:38]OFD Sender: No OFD packet to send [14:46:43]OFD Sender: No OFD packet to send [14:46:48]OFD Sender: No OFD packet to send [14:46:53]OFD Sender: No OFD packet to send [14:46:58]OFD Sender: No OFD packet to send [14:47:00]accept exits with 7 [14:47:00]New connection [14:47:00]New thread 3067047268 created [14:47:00]Thread 3067190628 joined [14:47:00]Waiting for new connection... [14:47:00] Sock 7.Parse request [14:47:00]Sock 7.Check first char [14:47:00]Sock 7.First char is OK [14:47:00]request: POST /json_proto HTTP/1.0 [14:47:00]Method: POST [14:47:00]URL: /json_proto [14:47:00]Method is POST - this is cgi request [14:47:00]url: /json_proto [14:47:00]query_string will be loaded in cgi processing [14:47:00]execute_cgi json_proto POST (null) [14:47:00]execute_cgi path=json_proto method=POST [14:47:00]POST find Content-Length [14:47:00]Host: 172.17.62.6:8080 [14:47:00]Content-Length: 644 [14:47:00]Content-Type: application/json [14:47:00] [14:47:00]POST finish read [14:47:00]Found Content-Length = 644 [14:47:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32887", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:47:00]execute_script... [14:47:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32887", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:47:00]POST & json_proto [14:47:00]process_json_proto [14:47:00]json parsed OK: [14:47:00]protocol is kg_v1.0 [14:47:00]action value=close_receipt [14:47:00]process_action close_receipt [14:47:00]cmd_close_receipt [14:47:00]MH_GetDate [14:47:00]Write to MH i2c: F0 00 00 11 04 04 [14:47:00]Write i2c OK [14:47:00]MH_I2C_Read... [14:47:00]Read from MH i2c: F0 [14:47:00]MH_I2C_Read... [14:47:00]Read from MH i2c: F0 09 00 [14:47:00]MH_I2C_Read... [14:47:00]Read from MH i2c: F0 09 00 11 04 00 E5 26 25 66 61 69 D2 64 A3 [14:47:00]GetLastDocTimeStamp 1713708318 [14:47:00]current date 1713710821 [14:47:00]FM_GetShiftState [14:47:00]SAM_PROTO_GetShiftState [14:47:00]wFMCommunicate request_size=4 [14:47:00]MH_SAM_APDU [14:47:00]CAPDU: 80 13 01 00 [14:47:00]Write to MH i2c: E2 08 00 12 04 80 13 01 00 00 00 00 00 93 [14:47:00]Write i2c OK [14:47:00]MH_I2C_Read... [14:47:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:47:00]Read from MH i2c: E2 [14:47:00]MH_I2C_Read... [14:47:00]Read from MH i2c: E2 0E 00 [14:47:00]MH_I2C_Read... [14:47:00]Read from MH i2c: E2 0E 00 12 04 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 EB [14:47:00]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [14:47:00]wFMCommunicate OK [14:47:00]SAM_PROTO_GetShiftState done [14:47:00]FM_GetShiftState done [14:47:00]opened in 1713658727 [14:47:00]opened+sec_in_day 1713745127 [14:47:00]quantity*price = 6000 [14:47:00]sum+1 = 6001 [14:47:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 27 21.04.2024 14:47 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12615 ФПД: 102982705190509 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T144701&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12615&fm=102982705190509&tin=02508201610067®Number=0000000000100748&sum=6000 0 [14:47:01]StoreToDocumentArchive [14:47:01]shift 281 fd 12615 [14:47:01]save to /storage/0281/doc_00012615 [14:47:01]save last doc name /storage/0281/doc_00012615 to /storage/kkm_last_doc_name [14:47:01]save OK [14:47:01]Clear old archive folders... [14:47:01]ProcessDocumentItem done err = 0, tmpTLVsize=276 [14:47:01]tlvbuf is 01A364E0 [14:47:01]SAM_PROTO_ClearQueue [14:47:01]wFMCommunicate request_size=4 [14:47:01]MH_SAM_APDU [14:47:01]CAPDU: 80 09 00 00 [14:47:01]Write to MH i2c: E2 08 00 1F 04 80 09 00 00 00 00 00 00 95 [14:47:01]Write i2c OK [14:47:01]MH_I2C_Read... [14:47:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:47:01]Read from MH i2c: E2 [14:47:01]MH_I2C_Read... [14:47:01]Read from MH i2c: E2 03 00 [14:47:01]MH_I2C_Read... [14:47:01]Read from MH i2c: E2 03 00 1F 04 00 90 00 97 [14:47:01]RAPDU: 90 00 [14:47:01]wFMCommunicate OK [14:47:01]SAM_PROTO_ClearQueue done [14:47:01]KKMCreateOFDPacket [14:47:01]OFDProtocolAddRootSTLVToBuf [14:47:01]FM_MakeSignedData [14:47:01]FM_MakeSignedData [14:47:01]SAM_PROTO_SignData [14:47:01]wFMCommunicate request_size=4 [14:47:01]MH_SAM_APDU [14:47:01]CAPDU: 80 0D 01 02 [14:47:01]Write to MH i2c: E2 08 00 20 04 80 0D 01 02 00 00 00 00 9D [14:47:01]Write i2c OK [14:47:01]MH_I2C_Read... [14:47:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:47:01]Read from MH i2c: E2 [14:47:01]MH_I2C_Read... [14:47:01]Read from MH i2c: E2 03 00 [14:47:01]MH_I2C_Read... [14:47:01]Read from MH i2c: E2 03 00 20 04 00 90 00 98 [14:47:01]RAPDU: 90 00 [14:47:01]wFMCommunicate OK [14:47:01]wFMCommunicate request_size=255 [14:47:01]MH_SAM_APDU [14:47:01]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 E5 26 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 [14:47:01]Write to MH i2c: E2 02 01 21 04 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 E5 26 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 00 00 9E [14:47:01]Write i2c OK [14:47:01]MH_I2C_Read... [14:47:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:47:02]Read from MH i2c: E2 [14:47:02]MH_I2C_Read... [14:47:02]Read from MH i2c: E2 03 00 [14:47:02]MH_I2C_Read... [14:47:02]Read from MH i2c: E2 03 00 21 04 00 90 00 99 [14:47:02]RAPDU: 90 00 [14:47:02]wFMCommunicate OK [14:47:02]wFMCommunicate request_size=35 [14:47:02]MH_SAM_APDU [14:47:02]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 47 31 00 00 35 04 06 00 5D A9 87 8F 96 6D [14:47:02]Write to MH i2c: E2 26 00 22 04 80 0D 02 02 1E 00 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 47 31 00 00 35 04 06 00 5D A9 87 8F 96 6D 00 00 31 [14:47:02]Write i2c OK [14:47:02]MH_I2C_Read... [14:47:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:47:02]Read from MH i2c: E2 [14:47:02]MH_I2C_Read... [14:47:02]Read from MH i2c: E2 03 00 [14:47:02]MH_I2C_Read... [14:47:02]Read from MH i2c: E2 03 00 22 04 00 90 00 9A [14:47:02]RAPDU: 90 00 [14:47:02]wFMCommunicate OK [14:47:02]wFMCommunicate request_size=4 [14:47:02]MH_SAM_APDU [14:47:02]CAPDU: 80 0D 03 02 [14:47:02]Write to MH i2c: E2 08 00 23 04 80 0D 03 02 00 00 00 00 A2 [14:47:02]Write i2c OK [14:47:02]MH_I2C_Read... [14:47:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:47:02]Read from MH i2c: E2 [14:47:02]MH_I2C_Read... [14:47:02]Read from MH i2c: E2 0B 00 [14:47:02]MH_I2C_Read... [14:47:02]Read from MH i2c: E2 0B 00 23 04 00 15 75 CD A6 21 0C 33 56 90 00 56 [14:47:02]RAPDU: 15 75 CD A6 21 0C 33 56 90 00 [14:47:02]wFMCommunicate OK [14:47:02]SAM_PROTO_SignData done [14:47:02]FM_MakeSignedData done [14:47:02]CreateOFDProtocolMessage [14:47:02]wFMCommunicate request_size=4 [14:47:02]MH_SAM_APDU [14:47:02]CAPDU: 80 11 00 00 [14:47:02]Write to MH i2c: E2 08 00 24 04 80 11 00 00 00 00 00 00 A2 [14:47:02]Write i2c OK [14:47:02]MH_I2C_Read... [14:47:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:47:02]Read from MH i2c: E2 [14:47:02]MH_I2C_Read... [14:47:02]Read from MH i2c: E2 17 00 [14:47:02]MH_I2C_Read... [14:47:02]Read from MH i2c: E2 17 00 24 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 FC [14:47:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [14:47:02]wFMCommunicate OK [14:47:02]CreateOFDProtocolMessage done [14:47:02]OFDSenderStorePacket 12615 [14:47:02]StoreOFDPacket docnum=12615 [14:47:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 28 01 00 00 90 7A 20 01 E5 C3 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 E5 26 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 47 31 00 00 35 04 06 00 5D A9 87 8F 96 6D 15 75 CD A6 21 0C 33 56 [14:47:02]CheckFolder [14:47:02]dirname=/storage/ofd_packets [14:47:02]CheckFolder done [14:47:02]ProducePacketName [14:47:02]name=ofd_packets/00012615 [14:47:02]NVStorageSaveData ofd_packets/00012615 [14:47:02]File name is /storage/ofd_packets/00012615 [14:47:02]Write 326 bytes [14:47:02]NVStorageSaveData done [14:47:02]OFDSenderStorePacket done [14:47:02]KKMCreateOFDPacket done [14:47:02]NVStorageSaveData kkm_last_timestamp [14:47:02]File name is /storage/kkm_last_timestamp [14:47:02]Write 4 bytes [14:47:02]NVStorageSaveData done [14:47:02]ExternCall_PrintAddStr [14:47:02]wPrintStart [14:47:02]Write to MH i2c: 01 00 00 25 04 29 [14:47:02]Write i2c OK [14:47:02]MH_I2C_Read... [14:47:02]Read from MH i2c: 01 [14:47:02]MH_I2C_Read... [14:47:02]Read from MH i2c: 01 07 00 [14:47:02]MH_I2C_Read... [14:47:02]Read from MH i2c: 01 07 00 25 04 00 00 00 00 00 FF 0F 3E [14:47:02]RasterBufferAndPrint [14:47:02]line Счет N : (3)32887 [14:47:02]line ИНН: 02508201610067 [14:47:02]line Контрольно-Кассовый Чек [14:47:02]line ПРОДАЖА [14:47:02]line Товар: 4700000310043 [14:47:02]line Вода Жалалабат 27 1л [14:47:02]line 1.000 * 60.00 [14:47:02]line = 60.00 [14:47:02]line НДС 12% НСП 1% [14:47:02]line > о реализуемом товаре [14:47:02]line ИТОГО: 60.00 [14:47:02]line НСП 1% : 0.53 [14:47:02]line НДС 12% : 6.37 [14:47:02]line Наличными: 60.00 [14:47:02]line Безнал.: 0.00 [14:47:02]line Место: АЗС № 106 "Партнер Нефть" [14:47:02]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [14:47:02]line СНО: Общий режим [14:47:02]line Чек 27 21.04.2024 14:47 [14:47:02]line Смена: 281 ФФД: 1.0 [14:47:02]line ЗНМ: 0300000004 [14:47:02]line РНМ: 0000000000100748 [14:47:02]line Версия ККМ: 001 [14:47:02]line ФМ: 0000000000965685 [14:47:02]line ФД: 12615 [14:47:02]line ФПД: 102982705190509 [14:47:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T144701&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12615&fm=102982705190509&tin=02508201610067®Number=0000000000100748&sum=6000 [14:47:02]line 0 [14:47:02]OFD Sender: Processing packet 12615 [packets to send 7, broken 6] [14:47:02]ProducePacketName [14:47:02]name=ofd_packets/00012615 [14:47:02]OFD Sender: To server: pG, [14:47:02]CommunicateWithHost lk.salyk.kg:30040 [14:47:02]ConnectInit lk.salyk.kg [14:47:02]written 0, free lines is 4095 [14:47:02]Connected sock=10 [14:47:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 28 01 00 00 90 7A 20 01 E5 C3 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 E5 26 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 47 31 00 00 35 04 06 00 5D A9 87 8F 96 6D 15 75 CD A6 21 0C 33 56 [14:47:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 2D B5 47 00 32 7A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 47 31 00 00 F4 03 04 00 65 CF 24 66 B6 04 01 00 00 83 76 20 20 6F 48 BB 2B [14:47:02]CommunicateWithHost err = 0 [14:47:02]CheckOFDResponse [14:47:02]1017 (14) - 77093643461234 [14:47:02]1041 (16) - 0000000000965685 [14:47:02]1040 (4) - 12615 [14:47:02]1012 (4) - 21.04.2024 08:33 [14:47:02]1206 (1) - 0 [14:47:02]OFD Sender: Remove packet 12615 [14:47:02]ProducePacketName [14:47:02]name=ofd_packets/00012615 [14:47:02]NVStorageDeleteData [14:47:03]Write to MH i2c: 01 00 00 4C 04 50 [14:47:03]Write i2c OK [14:47:03]MH_I2C_Read... [14:47:03]Read from MH i2c: 01 [14:47:03]MH_I2C_Read... [14:47:03]Read from MH i2c: 01 07 00 [14:47:03]MH_I2C_Read... [14:47:03]Read from MH i2c: 01 07 00 4C 04 00 00 00 00 00 09 0D 6D [14:47:03]RasterBufferAndPrint [14:47:03]line [14:47:03]line [14:47:03]line [14:47:03]line [14:47:03]line [14:47:03]written 0, free lines is 3343 [14:47:03]MH_Cut [14:47:03]Write to MH i2c: D1 01 00 53 04 01 29 [14:47:03]Write i2c OK [14:47:03]MH_I2C_Read... [14:47:03]Read from MH i2c: D1 [14:47:03]MH_I2C_Read... [14:47:03]Read from MH i2c: D1 01 00 [14:47:03]MH_I2C_Read... [14:47:03]Read from MH i2c: D1 01 00 53 04 00 28 [14:47:03]Write to MH i2c: 01 00 00 54 04 58 [14:47:03]Write i2c OK [14:47:03]MH_I2C_Read... [14:47:03]OFD Sender: No OFD packet to send [14:47:03]*** Cut start [14:47:03]*** Partial cut [14:47:03]*** CUTSNS_PIN = 1 [14:47:03]*** CUTSNS_PIN = 0 [14:47:04]*** Brake cut motor [14:47:04]Read from MH i2c: 01 [14:47:04]MH_I2C_Read... [14:47:04]*** Stop cut motor [14:47:04]*** Cut end [14:47:04]Read from MH i2c: 01 07 00 [14:47:04]MH_I2C_Read... [14:47:04]Read from MH i2c: 01 07 00 54 04 00 00 00 00 00 FF 0F 6D [14:47:04]process_action close_receipt done [14:47:04]requested_data is exist [14:47:04]produce_requested_data [14:47:04]requested_item fm.sn is exist - process it [14:47:04]wFMCommunicate request_size=4 [14:47:04]MH_SAM_APDU [14:47:04]CAPDU: 80 11 00 00 [14:47:04]Write to MH i2c: E2 08 00 55 04 80 11 00 00 00 00 00 00 D3 [14:47:04]Write i2c OK [14:47:04]MH_I2C_Read... [14:47:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:47:04]Read from MH i2c: E2 [14:47:04]MH_I2C_Read... [14:47:04]Read from MH i2c: E2 17 00 [14:47:04]MH_I2C_Read... [14:47:04]Read from MH i2c: E2 17 00 55 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 2D [14:47:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [14:47:04]wFMCommunicate OK [14:47:04]requested_item fd.num is exist - process it [14:47:04]SAM_PROTO_GetFieldsCounters [14:47:04]wFMCommunicate request_size=4 [14:47:04]MH_SAM_APDU [14:47:04]CAPDU: 80 13 00 00 [14:47:04]Write to MH i2c: E2 08 00 56 04 80 13 00 00 00 00 00 00 D6 [14:47:04]Write i2c OK [14:47:04]MH_I2C_Read... [14:47:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:47:04]Read from MH i2c: E2 [14:47:04]MH_I2C_Read... [14:47:04]Read from MH i2c: E2 62 00 [14:47:04]MH_I2C_Read... [14:47:04]Read from MH i2c: E2 62 00 56 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 47 31 00 00 0E 04 04 00 19 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 DC [14:47:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 47 31 00 00 0E 04 04 00 19 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 [14:47:04]wFMCommunicate OK [14:47:04]SAM_PROTO_GetFieldsCounters done [14:47:04]requested_item shift.num is exist - process it [14:47:04]requested_item shift.opened is exist - process it [14:47:04]req_shift_opened [14:47:04]FM_GetShiftState [14:47:04]SAM_PROTO_GetShiftState [14:47:04]wFMCommunicate request_size=4 [14:47:04]MH_SAM_APDU [14:47:04]CAPDU: 80 13 01 00 [14:47:04]Write to MH i2c: E2 08 00 57 04 80 13 01 00 00 00 00 00 D8 [14:47:04]Write i2c OK [14:47:04]MH_I2C_Read... [14:47:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:47:04]Read from MH i2c: E2 [14:47:04]MH_I2C_Read... [14:47:04]Read from MH i2c: E2 0E 00 [14:47:04]MH_I2C_Read... [14:47:04]Read from MH i2c: E2 0E 00 57 04 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 30 [14:47:04]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [14:47:04]wFMCommunicate OK [14:47:04]SAM_PROTO_GetShiftState done [14:47:04]FM_GetShiftState done [14:47:04]req_shift_opened done [14:47:04]requested_item shift.open_date is exist - process it [14:47:04]req_shift_open_date [14:47:04]req_shift_open_date done [14:47:04]produce_requested_data done [14:47:04]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12615,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [14:47:04]process_action_free close_receipt [14:47:04]json_value_free [14:47:04]json_value_free done [14:47:04]process_json_proto returns [14:47:04]Send response to host [14:47:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12615,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [14:47:04]free response buf [14:47:04]execute_script done [14:47:04]execute_script returns [14:47:04]free content buf [14:47:04]Sock 7.Close socket [14:47:04]Sock 7.Thread stoped [14:47:08]OFD Sender: No OFD packet to send [14:47:13]OFD Sender: No OFD packet to send [14:47:18]OFD Sender: No OFD packet to send [14:47:23]OFD Sender: No OFD packet to send [14:47:28]OFD Sender: No OFD packet to send [14:47:33]OFD Sender: No OFD packet to send [14:47:38]OFD Sender: No OFD packet to send [14:47:43]OFD Sender: No OFD packet to send [14:47:48]OFD Sender: No OFD packet to send [14:47:53]OFD Sender: No OFD packet to send [14:47:58]OFD Sender: No OFD packet to send [14:48:03]OFD Sender: No OFD packet to send [14:48:08]OFD Sender: No OFD packet to send [14:48:13]OFD Sender: No OFD packet to send [14:48:18]OFD Sender: No OFD packet to send [14:48:23]OFD Sender: No OFD packet to send [14:48:28]OFD Sender: No OFD packet to send [14:48:33]OFD Sender: No OFD packet to send [14:48:38]OFD Sender: No OFD packet to send [14:48:43]OFD Sender: No OFD packet to send [14:48:48]OFD Sender: No OFD packet to send [14:48:53]OFD Sender: No OFD packet to send [14:48:58]OFD Sender: No OFD packet to send [14:49:03]OFD Sender: No OFD packet to send [14:49:08]OFD Sender: No OFD packet to send [14:49:13]OFD Sender: No OFD packet to send [14:49:18]OFD Sender: No OFD packet to send [14:49:23]OFD Sender: No OFD packet to send [14:49:28]OFD Sender: No OFD packet to send [14:49:33]OFD Sender: No OFD packet to send [14:49:38]OFD Sender: No OFD packet to send [14:49:43]OFD Sender: No OFD packet to send [14:49:48]OFD Sender: No OFD packet to send [14:49:53]OFD Sender: No OFD packet to send [14:49:58]OFD Sender: No OFD packet to send [14:50:03]OFD Sender: No OFD packet to send [14:50:08]OFD Sender: No OFD packet to send [14:50:13]OFD Sender: No OFD packet to send [14:50:18]OFD Sender: No OFD packet to send [14:50:23]OFD Sender: No OFD packet to send [14:50:28]OFD Sender: No OFD packet to send [14:50:33]OFD Sender: No OFD packet to send [14:50:38]OFD Sender: No OFD packet to send [14:50:43]OFD Sender: No OFD packet to send [14:50:48]OFD Sender: No OFD packet to send [14:50:53]OFD Sender: No OFD packet to send [14:50:58]OFD Sender: No OFD packet to send [14:51:03]OFD Sender: No OFD packet to send [14:51:08]OFD Sender: No OFD packet to send [14:51:13]OFD Sender: No OFD packet to send [14:51:18]OFD Sender: No OFD packet to send [14:51:23]OFD Sender: No OFD packet to send [14:51:28]OFD Sender: No OFD packet to send [14:51:33]OFD Sender: No OFD packet to send [14:51:38]OFD Sender: No OFD packet to send [14:51:43]OFD Sender: No OFD packet to send [14:51:48]OFD Sender: No OFD packet to send [14:51:53]OFD Sender: No OFD packet to send [14:51:58]OFD Sender: No OFD packet to send [14:52:03]OFD Sender: No OFD packet to send [14:52:08]OFD Sender: No OFD packet to send [14:52:13]OFD Sender: No OFD packet to send [14:52:18]OFD Sender: No OFD packet to send [14:52:23]OFD Sender: No OFD packet to send [14:52:28]OFD Sender: No OFD packet to send [14:52:33]OFD Sender: No OFD packet to send [14:52:38]OFD Sender: No OFD packet to send [14:52:43]OFD Sender: No OFD packet to send [14:52:48]OFD Sender: No OFD packet to send [14:52:53]OFD Sender: No OFD packet to send [14:52:58]OFD Sender: No OFD packet to send [14:53:03]OFD Sender: No OFD packet to send [14:53:08]OFD Sender: No OFD packet to send [14:53:13]OFD Sender: No OFD packet to send [14:53:18]OFD Sender: No OFD packet to send [14:53:23]OFD Sender: No OFD packet to send [14:53:28]OFD Sender: No OFD packet to send [14:53:33]OFD Sender: No OFD packet to send [14:53:38]OFD Sender: No OFD packet to send [14:53:43]OFD Sender: No OFD packet to send [14:53:48]OFD Sender: No OFD packet to send [14:53:53]OFD Sender: No OFD packet to send [14:53:58]OFD Sender: No OFD packet to send [14:54:03]OFD Sender: No OFD packet to send [14:54:08]OFD Sender: No OFD packet to send [14:54:13]OFD Sender: No OFD packet to send [14:54:18]OFD Sender: No OFD packet to send [14:54:23]OFD Sender: No OFD packet to send [14:54:28]OFD Sender: No OFD packet to send [14:54:33]OFD Sender: No OFD packet to send [14:54:38]OFD Sender: No OFD packet to send [14:54:43]OFD Sender: No OFD packet to send [14:54:48]OFD Sender: No OFD packet to send [14:54:53]OFD Sender: No OFD packet to send [14:54:58]OFD Sender: No OFD packet to send [14:55:03]OFD Sender: No OFD packet to send [14:55:08]OFD Sender: No OFD packet to send [14:55:13]OFD Sender: No OFD packet to send [14:55:18]OFD Sender: No OFD packet to send [14:55:23]OFD Sender: No OFD packet to send [14:55:28]OFD Sender: No OFD packet to send [14:55:33]OFD Sender: No OFD packet to send [14:55:38]OFD Sender: No OFD packet to send [14:55:43]OFD Sender: No OFD packet to send [14:55:48]OFD Sender: No OFD packet to send [14:55:53]OFD Sender: No OFD packet to send [14:55:58]OFD Sender: No OFD packet to send [14:56:03]OFD Sender: No OFD packet to send [14:56:08]OFD Sender: No OFD packet to send [14:56:13]OFD Sender: No OFD packet to send [14:56:18]OFD Sender: No OFD packet to send [14:56:23]OFD Sender: No OFD packet to send [14:56:28]OFD Sender: No OFD packet to send [14:56:33]OFD Sender: No OFD packet to send [14:56:38]OFD Sender: No OFD packet to send [14:56:43]OFD Sender: No OFD packet to send [14:56:48]OFD Sender: No OFD packet to send [14:56:53]OFD Sender: No OFD packet to send [14:56:58]OFD Sender: No OFD packet to send [14:57:03]OFD Sender: No OFD packet to send [14:57:08]OFD Sender: No OFD packet to send [14:57:13]OFD Sender: No OFD packet to send [14:57:18]OFD Sender: No OFD packet to send [14:57:23]OFD Sender: No OFD packet to send [14:57:28]OFD Sender: No OFD packet to send [14:57:33]OFD Sender: No OFD packet to send [14:57:38]OFD Sender: No OFD packet to send [14:57:43]OFD Sender: No OFD packet to send [14:57:48]OFD Sender: No OFD packet to send [14:57:53]OFD Sender: No OFD packet to send [14:57:59]OFD Sender: No OFD packet to send [14:58:04]OFD Sender: No OFD packet to send [14:58:09]OFD Sender: No OFD packet to send [14:58:14]OFD Sender: No OFD packet to send [14:58:19]OFD Sender: No OFD packet to send [14:58:24]OFD Sender: No OFD packet to send [14:58:29]OFD Sender: No OFD packet to send [14:58:34]OFD Sender: No OFD packet to send [14:58:39]OFD Sender: No OFD packet to send [14:58:44]OFD Sender: No OFD packet to send [14:58:49]OFD Sender: No OFD packet to send [14:58:54]OFD Sender: No OFD packet to send [14:58:59]OFD Sender: No OFD packet to send [14:59:04]OFD Sender: No OFD packet to send [14:59:09]OFD Sender: No OFD packet to send [14:59:14]OFD Sender: No OFD packet to send [14:59:19]OFD Sender: No OFD packet to send [14:59:24]OFD Sender: No OFD packet to send [14:59:29]OFD Sender: No OFD packet to send [14:59:34]OFD Sender: No OFD packet to send [14:59:39]OFD Sender: No OFD packet to send [14:59:44]OFD Sender: No OFD packet to send [14:59:49]OFD Sender: No OFD packet to send [14:59:54]OFD Sender: No OFD packet to send [14:59:59]OFD Sender: No OFD packet to send [15:00:04]OFD Sender: No OFD packet to send [15:00:09]OFD Sender: No OFD packet to send [15:00:14]OFD Sender: No OFD packet to send [15:00:19]OFD Sender: No OFD packet to send [15:00:24]OFD Sender: No OFD packet to send [15:00:29]OFD Sender: No OFD packet to send [15:00:34]OFD Sender: No OFD packet to send [15:00:39]OFD Sender: No OFD packet to send [15:00:44]OFD Sender: No OFD packet to send [15:00:49]OFD Sender: No OFD packet to send [15:00:54]OFD Sender: No OFD packet to send [15:00:59]OFD Sender: No OFD packet to send [15:01:04]OFD Sender: No OFD packet to send [15:01:09]OFD Sender: No OFD packet to send [15:01:14]OFD Sender: No OFD packet to send [15:01:19]OFD Sender: No OFD packet to send [15:01:24]OFD Sender: No OFD packet to send [15:01:29]OFD Sender: No OFD packet to send [15:01:34]OFD Sender: No OFD packet to send [15:01:39]OFD Sender: No OFD packet to send [15:01:44]OFD Sender: No OFD packet to send [15:01:49]OFD Sender: No OFD packet to send [15:01:54]OFD Sender: No OFD packet to send [15:01:59]OFD Sender: No OFD packet to send [15:02:04]OFD Sender: No OFD packet to send [15:02:09]OFD Sender: No OFD packet to send [15:02:14]OFD Sender: No OFD packet to send [15:02:19]OFD Sender: No OFD packet to send [15:02:24]OFD Sender: No OFD packet to send [15:02:29]OFD Sender: No OFD packet to send [15:02:34]OFD Sender: No OFD packet to send [15:02:39]OFD Sender: No OFD packet to send [15:02:44]OFD Sender: No OFD packet to send [15:02:49]OFD Sender: No OFD packet to send [15:02:54]OFD Sender: No OFD packet to send [15:02:59]OFD Sender: No OFD packet to send [15:03:04]OFD Sender: No OFD packet to send [15:03:09]OFD Sender: No OFD packet to send [15:03:14]OFD Sender: No OFD packet to send [15:03:19]OFD Sender: No OFD packet to send [15:03:24]OFD Sender: No OFD packet to send [15:03:29]OFD Sender: No OFD packet to send [15:03:34]OFD Sender: No OFD packet to send [15:03:39]OFD Sender: No OFD packet to send [15:03:44]OFD Sender: No OFD packet to send [15:03:49]OFD Sender: No OFD packet to send [15:03:54]OFD Sender: No OFD packet to send [15:03:59]OFD Sender: No OFD packet to send [15:04:04]OFD Sender: No OFD packet to send [15:04:09]OFD Sender: No OFD packet to send [15:04:14]OFD Sender: No OFD packet to send [15:04:19]OFD Sender: No OFD packet to send [15:04:24]OFD Sender: No OFD packet to send [15:04:29]OFD Sender: No OFD packet to send [15:04:34]OFD Sender: No OFD packet to send [15:04:39]OFD Sender: No OFD packet to send [15:04:44]OFD Sender: No OFD packet to send [15:04:49]OFD Sender: No OFD packet to send [15:04:54]OFD Sender: No OFD packet to send [15:04:59]OFD Sender: No OFD packet to send [15:05:04]OFD Sender: No OFD packet to send [15:05:09]OFD Sender: No OFD packet to send [15:05:14]OFD Sender: No OFD packet to send [15:05:19]OFD Sender: No OFD packet to send [15:05:24]OFD Sender: No OFD packet to send [15:05:29]OFD Sender: No OFD packet to send [15:05:34]OFD Sender: No OFD packet to send [15:05:39]OFD Sender: No OFD packet to send [15:05:44]OFD Sender: No OFD packet to send [15:05:49]OFD Sender: No OFD packet to send [15:05:54]OFD Sender: No OFD packet to send [15:05:59]OFD Sender: No OFD packet to send [15:06:04]OFD Sender: No OFD packet to send [15:06:09]OFD Sender: No OFD packet to send [15:06:14]OFD Sender: No OFD packet to send [15:06:19]OFD Sender: No OFD packet to send [15:06:24]OFD Sender: No OFD packet to send [15:06:29]OFD Sender: No OFD packet to send [15:06:34]OFD Sender: No OFD packet to send [15:06:39]OFD Sender: No OFD packet to send [15:06:44]OFD Sender: No OFD packet to send [15:06:49]OFD Sender: No OFD packet to send [15:06:54]OFD Sender: No OFD packet to send [15:06:59]OFD Sender: No OFD packet to send [15:07:04]OFD Sender: No OFD packet to send [15:07:09]OFD Sender: No OFD packet to send [15:07:14]OFD Sender: No OFD packet to send [15:07:19]OFD Sender: No OFD packet to send [15:07:24]OFD Sender: No OFD packet to send [15:07:29]OFD Sender: No OFD packet to send [15:07:34]OFD Sender: No OFD packet to send [15:07:39]OFD Sender: No OFD packet to send [15:07:44]OFD Sender: No OFD packet to send [15:07:49]OFD Sender: No OFD packet to send [15:07:54]OFD Sender: No OFD packet to send [15:07:59]OFD Sender: No OFD packet to send [15:08:04]OFD Sender: No OFD packet to send [15:08:09]OFD Sender: No OFD packet to send [15:08:14]OFD Sender: No OFD packet to send [15:08:19]OFD Sender: No OFD packet to send [15:08:24]OFD Sender: No OFD packet to send [15:08:29]OFD Sender: No OFD packet to send [15:08:34]OFD Sender: No OFD packet to send [15:08:39]OFD Sender: No OFD packet to send [15:08:44]OFD Sender: No OFD packet to send [15:08:49]OFD Sender: No OFD packet to send [15:08:54]OFD Sender: No OFD packet to send [15:08:59]OFD Sender: No OFD packet to send [15:09:04]OFD Sender: No OFD packet to send [15:09:09]OFD Sender: No OFD packet to send [15:09:14]OFD Sender: No OFD packet to send [15:09:19]OFD Sender: No OFD packet to send [15:09:24]OFD Sender: No OFD packet to send [15:09:29]OFD Sender: No OFD packet to send [15:09:34]OFD Sender: No OFD packet to send [15:09:39]OFD Sender: No OFD packet to send [15:09:44]OFD Sender: No OFD packet to send [15:09:49]OFD Sender: No OFD packet to send [15:09:54]OFD Sender: No OFD packet to send [15:09:59]OFD Sender: No OFD packet to send [15:10:04]OFD Sender: No OFD packet to send [15:10:09]OFD Sender: No OFD packet to send [15:10:14]OFD Sender: No OFD packet to send [15:10:19]OFD Sender: No OFD packet to send [15:10:24]OFD Sender: No OFD packet to send [15:10:29]OFD Sender: No OFD packet to send [15:10:34]OFD Sender: No OFD packet to send [15:10:39]OFD Sender: No OFD packet to send [15:10:44]OFD Sender: No OFD packet to send [15:10:49]OFD Sender: No OFD packet to send [15:10:54]OFD Sender: No OFD packet to send [15:10:59]OFD Sender: No OFD packet to send [15: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:25]OFD Sender: No OFD packet to send [15:19:30]OFD Sender: No OFD packet to send [15:19:35]OFD Sender: No OFD packet to send [15:19:40]OFD Sender: No OFD packet to send [15:19:45]OFD Sender: No OFD packet to send [15:19:50]OFD Sender: No OFD packet to send [15:19:55]OFD Sender: No OFD packet to send [15:20:00]OFD Sender: No OFD packet to send [15:20:05]OFD Sender: No OFD packet to send [15:20:10]OFD Sender: No OFD packet to send [15:20:15]OFD Sender: No OFD packet to send [15:20:20]OFD Sender: No OFD packet to send [15:20:25]OFD Sender: No OFD packet to send [15:20:26]accept exits with 9 [15:20:26]New connection [15:20:26]New thread 3067190628 created [15:20:26]Thread 3067047268 joined [15:20:26]Waiting for new connection... [15:20:26] Sock 9.Parse request [15:20:26]Sock 9.Check first char [15:20:26]Sock 9.First char is OK [15:20:26]request: POST /json_proto HTTP/1.0 [15:20:26]Method: POST [15:20:26]URL: /json_proto [15:20:26]Method is POST - this is cgi request [15:20:26]url: /json_proto [15:20:26]query_string will be loaded in cgi processing [15:20:26]execute_cgi json_proto POST (null) [15:20:26]execute_cgi path=json_proto method=POST [15:20:26]POST find Content-Length [15:20:26]Host: 172.17.62.6:8080 [15:20:26]Content-Length: 1194 [15:20:26]Content-Type: application/json [15:20:26] [15:20:26]POST finish read [15:20:26]Found Content-Length = 1194 [15:20:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32888", "tax_sys" : 0, "items" : [ { "code": "8691216080348", "name": "\u0416\u0435\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u043C\u0430\u0440\u043C\u0435\u043B\u0430\u0434 HARIBO Zubi 80\u0433\u0440 (2", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8691216090446", "name": "\u0416\u0435\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u043C\u0430\u0440\u043C\u0435\u043B\u0430\u0434 HARIBO Kola 80\u0433\u0440 (2", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:20:26]execute_script... [15:20:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32888", "tax_sys" : 0, "items" : [ { "code": "8691216080348", "name": "\u0416\u0435\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u043C\u0430\u0440\u043C\u0435\u043B\u0430\u0434 HARIBO Zubi 80\u0433\u0440 (2", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8691216090446", "name": "\u0416\u0435\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u043C\u0430\u0440\u043C\u0435\u043B\u0430\u0434 HARIBO Kola 80\u0433\u0440 (2", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:20:26]POST & json_proto [15:20:26]process_json_proto [15:20:26]json parsed OK: [15:20:26]protocol is kg_v1.0 [15:20:26]action value=close_receipt [15:20:26]process_action close_receipt [15:20:26]cmd_close_receipt [15:20:26]MH_GetDate [15:20:26]Write to MH i2c: F0 00 00 58 04 4B [15:20:26]Write i2c OK [15:20:26]MH_I2C_Read... [15:20:26]Read from MH i2c: F0 [15:20:26]MH_I2C_Read... [15:20:26]Read from MH i2c: F0 09 00 [15:20:26]MH_I2C_Read... [15:20:26]Read from MH i2c: F0 09 00 58 04 00 BB 2E 25 66 61 69 D2 64 C8 [15:20:26]GetLastDocTimeStamp 1713710821 [15:20:26]current date 1713712827 [15:20:26]FM_GetShiftState [15:20:26]SAM_PROTO_GetShiftState [15:20:26]wFMCommunicate request_size=4 [15:20:26]MH_SAM_APDU [15:20:26]CAPDU: 80 13 01 00 [15:20:26]Write to MH i2c: E2 08 00 59 04 80 13 01 00 00 00 00 00 DA [15:20:26]Write i2c OK [15:20:26]MH_I2C_Read... [15:20:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:20:26]Read from MH i2c: E2 [15:20:26]MH_I2C_Read... [15:20:26]Read from MH i2c: E2 0E 00 [15:20:26]MH_I2C_Read... [15:20:26]Read from MH i2c: E2 0E 00 59 04 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 32 [15:20:26]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [15:20:26]wFMCommunicate OK [15:20:26]SAM_PROTO_GetShiftState done [15:20:26]FM_GetShiftState done [15:20:26]opened in 1713658727 [15:20:26]opened+sec_in_day 1713745127 [15:20:26]quantity*price = 9500 [15:20:26]sum+1 = 9501 [15:20:26]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 8691216090446 Жевательный мармелад HARIBO Kola 80гр (2 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 190.00 НСП 1% : 1.68 НДС 12% : 20.18 Наличными: 0.00 Безнал.: 190.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 28 21.04.2024 15:20 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000965685 ФД: 12616 ФПД: 267861916156912 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T152027&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12616&fm=267861916156912&tin=02508201610067®Number=0000000000100748&sum=19000 0 [15:20:27]StoreToDocumentArchive [15:20:27]shift 281 fd 12616 [15:20:27]save to /storage/0281/doc_00012616 [15:20:27]save last doc name /storage/0281/doc_00012616 to /storage/kkm_last_doc_name [15:20:27]save OK [15:20:27]Clear old archive folders... [15:20:27]ProcessDocumentItem done err = 0, tmpTLVsize=436 [15:20:27]tlvbuf is 01A23440 [15:20:27]SAM_PROTO_ClearQueue [15:20:27]wFMCommunicate request_size=4 [15:20:27]MH_SAM_APDU [15:20:27]CAPDU: 80 09 00 00 [15:20:27]Write to MH i2c: E2 08 00 66 04 80 09 00 00 00 00 00 00 DC [15:20:27]Write i2c OK [15:20:27]MH_I2C_Read... [15:20:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:20:27]Read from MH i2c: E2 [15:20:27]MH_I2C_Read... [15:20:27]Read from MH i2c: E2 03 00 [15:20:27]MH_I2C_Read... [15:20:27]Read from MH i2c: E2 03 00 66 04 00 90 00 DE [15:20:27]RAPDU: 90 00 [15:20:27]wFMCommunicate OK [15:20:27]SAM_PROTO_ClearQueue done [15:20:27]KKMCreateOFDPacket [15:20:27]OFDProtocolAddRootSTLVToBuf [15:20:27]FM_MakeSignedData [15:20:27]FM_MakeSignedData [15:20:27]SAM_PROTO_SignData [15:20:27]wFMCommunicate request_size=4 [15:20:27]MH_SAM_APDU [15:20:27]CAPDU: 80 0D 01 02 [15:20:27]Write to MH i2c: E2 08 00 67 04 80 0D 01 02 00 00 00 00 E4 [15:20:27]Write i2c OK [15:20:27]MH_I2C_Read... [15:20:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:20:27]Read from MH i2c: E2 [15:20:27]MH_I2C_Read... [15:20:27]Read from MH i2c: E2 03 00 [15:20:27]MH_I2C_Read... [15:20:27]Read from MH i2c: E2 03 00 67 04 00 90 00 DF [15:20:27]RAPDU: 90 00 [15:20:27]wFMCommunicate OK [15:20:27]wFMCommunicate request_size=255 [15:20:27]MH_SAM_APDU [15:20:27]CAPDU: 80 0D 02 02 FA 03 00 B4 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 38 36 39 31 32 31 36 30 38 30 33 34 38 06 04 3D 00 D0 96 D0 B5 D0 B2 D0 B0 D1 82 D0 B5 D0 BB D1 8C D0 BD D1 8B D0 B9 20 D0 BC D0 B0 D1 80 D0 BC D0 B5 D0 BB D0 B0 D0 B4 20 48 41 52 49 42 4F 20 5A 75 62 69 20 38 30 D0 B3 D1 80 20 28 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 38 36 39 31 32 31 36 30 39 30 34 34 36 06 04 3D 00 D0 96 D0 B5 D0 B2 D0 B0 D1 82 D0 B5 D0 BB D1 8C D0 BD D1 8B D0 B9 20 D0 BC D0 B0 D1 80 D0 BC D0 B5 D0 BB D0 B0 D0 B4 20 48 41 52 49 42 4F 20 4B 6F 6C 61 20 38 30 D0 B3 D1 80 20 28 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 [15:20:27]Write to MH i2c: E2 02 01 68 04 80 0D 02 02 FA 00 03 00 B4 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 38 36 39 31 32 31 36 30 38 30 33 34 38 06 04 3D 00 D0 96 D0 B5 D0 B2 D0 B0 D1 82 D0 B5 D0 BB D1 8C D0 BD D1 8B D0 B9 20 D0 BC D0 B0 D1 80 D0 BC D0 B5 D0 BB D0 B0 D0 B4 20 48 41 52 49 42 4F 20 5A 75 62 69 20 38 30 D0 B3 D1 80 20 28 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 38 36 39 31 32 31 36 30 39 30 34 34 36 06 04 3D 00 D0 96 D0 B5 D0 B2 D0 B0 D1 82 D0 B5 D0 BB D1 8C D0 BD D1 8B D0 B9 20 D0 BC D0 B0 D1 80 D0 BC D0 B5 D0 BB D0 B0 D0 B4 20 48 41 52 49 42 4F 20 4B 6F 6C 61 20 38 30 D0 B3 D1 80 20 28 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 00 00 50 [15:20:27]Write i2c OK [15:20:27]MH_I2C_Read... [15:20:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:20:28]Read from MH i2c: E2 [15:20:28]MH_I2C_Read... [15:20:28]Read from MH i2c: E2 03 00 [15:20:28]MH_I2C_Read... [15:20:28]Read from MH i2c: E2 03 00 68 04 00 90 00 E0 [15:20:28]RAPDU: 90 00 [15:20:28]wFMCommunicate OK [15:20:28]wFMCommunicate request_size=195 [15:20:28]MH_SAM_APDU [15:20:28]CAPDU: 80 0D 02 02 BE 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 4A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 BB 2E 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 48 31 00 00 35 04 06 00 F3 9E 76 5C 83 F0 [15:20:28]Write to MH i2c: E2 C6 00 69 04 80 0D 02 02 BE 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 4A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 BB 2E 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 48 31 00 00 35 04 06 00 F3 9E 76 5C 83 F0 00 00 47 [15:20:28]Write i2c OK [15:20:28]MH_I2C_Read... [15:20:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:20:28]Read from MH i2c: E2 [15:20:28]MH_I2C_Read... [15:20:28]Read from MH i2c: E2 03 00 [15:20:28]MH_I2C_Read... [15:20:28]Read from MH i2c: E2 03 00 69 04 00 90 00 E1 [15:20:28]RAPDU: 90 00 [15:20:28]wFMCommunicate OK [15:20:28]wFMCommunicate request_size=4 [15:20:28]MH_SAM_APDU [15:20:28]CAPDU: 80 0D 03 02 [15:20:28]Write to MH i2c: E2 08 00 6A 04 80 0D 03 02 00 00 00 00 E9 [15:20:28]Write i2c OK [15:20:28]MH_I2C_Read... [15:20:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:20:28]Read from MH i2c: E2 [15:20:28]MH_I2C_Read... [15:20:28]Read from MH i2c: E2 0B 00 [15:20:28]MH_I2C_Read... [15:20:28]Read from MH i2c: E2 0B 00 6A 04 00 D7 1E B8 DF 22 0F ED C4 90 00 58 [15:20:28]RAPDU: D7 1E B8 DF 22 0F ED C4 90 00 [15:20:28]wFMCommunicate OK [15:20:28]SAM_PROTO_SignData done [15:20:28]FM_MakeSignedData done [15:20:28]CreateOFDProtocolMessage [15:20:28]wFMCommunicate request_size=4 [15:20:28]MH_SAM_APDU [15:20:28]CAPDU: 80 11 00 00 [15:20:28]Write to MH i2c: E2 08 00 6B 04 80 11 00 00 00 00 00 00 E9 [15:20:28]Write i2c OK [15:20:28]MH_I2C_Read... [15:20:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:20:28]Read from MH i2c: E2 [15:20:28]MH_I2C_Read... [15:20:28]Read from MH i2c: E2 17 00 [15:20:28]MH_I2C_Read... [15:20:28]Read from MH i2c: E2 17 00 6B 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 43 [15:20:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [15:20:28]wFMCommunicate OK [15:20:28]CreateOFDProtocolMessage done [15:20:28]OFDSenderStorePacket 12616 [15:20:28]StoreOFDPacket docnum=12616 [15:20:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 C8 01 00 00 E3 FD C0 01 28 30 5A 03 01 00 03 00 B4 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 38 36 39 31 32 31 36 30 38 30 33 34 38 06 04 3D 00 D0 96 D0 B5 D0 B2 D0 B0 D1 82 D0 B5 D0 BB D1 8C D0 BD D1 8B D0 B9 20 D0 BC D0 B0 D1 80 D0 BC D0 B5 D0 BB D0 B0 D0 B4 20 48 41 52 49 42 4F 20 5A 75 62 69 20 38 30 D0 B3 D1 80 20 28 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 38 36 39 31 32 31 36 30 39 30 34 34 36 06 04 3D 00 D0 96 D0 B5 D0 B2 D0 B0 D1 82 D0 B5 D0 BB D1 8C D0 BD D1 8B D0 B9 20 D0 BC D0 B0 D1 80 D0 BC D0 B5 D0 BB D0 B0 D0 B4 20 48 41 52 49 42 4F 20 4B 6F 6C 61 20 38 30 D0 B3 D1 80 20 28 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 4A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 BB 2E 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 48 31 00 00 35 04 06 00 F3 9E 76 5C 83 F0 D7 1E B8 DF 22 0F ED C4 [15:20:28]CheckFolder [15:20:28]dirname=/storage/ofd_packets [15:20:28]CheckFolder done [15:20:28]ProducePacketName [15:20:28]name=ofd_packets/00012616 [15:20:28]NVStorageSaveData ofd_packets/00012616 [15:20:28]File name is /storage/ofd_packets/00012616 [15:20:28]Write 486 bytes [15:20:28]NVStorageSaveData done [15:20:28]OFDSenderStorePacket done [15:20:28]KKMCreateOFDPacket done [15:20:28]NVStorageSaveData kkm_last_timestamp [15:20:28]File name is /storage/kkm_last_timestamp [15:20:28]Write 4 bytes [15:20:28]NVStorageSaveData done [15:20:28]ExternCall_PrintAddStr [15:20:28]wPrintStart [15:20:28]Write to MH i2c: 01 00 00 6C 04 70 [15:20:28]Write i2c OK [15:20:28]MH_I2C_Read... [15:20:28]Read from MH i2c: 01 [15:20:28]MH_I2C_Read... [15:20:28]Read from MH i2c: 01 07 00 [15:20:28]MH_I2C_Read... [15:20:28]Read from MH i2c: 01 07 00 6C 04 00 00 00 00 00 FF 0F 85 [15:20:28]RasterBufferAndPrint [15:20:28]line Счет N : (3)32888 [15:20:28]line ИНН: 02508201610067 [15:20:28]line Контрольно-Кассовый Чек [15:20:28]line ПРОДАЖА [15:20:28]line Товар: 8691216080348 [15:20:28]line Жевательный мармелад HARIBO Zubi 80гр (2 [15:20:28]line 1.000 * 95.00 [15:20:28]line = 95.00 [15:20:28]line НДС 12% НСП 1% [15:20:28]line > о реализуемом товаре [15:20:28]line Товар: 8691216090446 [15:20:28]line Жевательный мармелад HARIBO Kola 80гр (2 [15:20:28]line 1.000 * 95.00 [15:20:28]line = 95.00 [15:20:28]line НДС 12% НСП 1% [15:20:28]line > о реализуемом товаре [15:20:28]line ИТОГО: 190.00 [15:20:28]line НСП 1% : 1.68 [15:20:28]line НДС 12% : 20.18 [15:20:28]line Наличными: 0.00 [15:20:28]line Безнал.: 190.00 [15:20:28]line Место: АЗС № 106 "Партнер Нефть" [15:20:28]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [15:20:28]line СНО: Общий режим [15:20:28]line Чек 28 21.04.2024 15:20 [15:20:28]line Смена: 281 ФФД: 1.0 [15:20:28]line ЗНМ: 0300000004 [15:20:28]line РНМ: 0000000000100748 [15:20:28]line Версия ККМ: 001 [15:20:28]line Платежная система: Бакай Банк [15:20:28]line ФМ: 0000000000965685 [15:20:28]line ФД: 12616 [15:20:28]line ФПД: 267861916156912 [15:20:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T152027&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12616&fm=267861916156912&tin=02508201610067®Number=0000000000100748&sum=19000 [15:20:28]OFD Sender: Processing packet 12616 [packets to send 7, broken 6] [15:20:28]ProducePacketName [15:20:28]name=ofd_packets/00012616 [15:20:28]OFD Sender: To server: pG, [15:20:28]CommunicateWithHost lk.salyk.kg:30040 [15:20:28]ConnectInit lk.salyk.kg [15:20:28]line 0 [15:20:28]written 0, free lines is 4095 [15:20:28]Connected sock=10 [15:20:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 C8 01 00 00 E3 FD C0 01 28 30 5A 03 01 00 03 00 B4 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 38 36 39 31 32 31 36 30 38 30 33 34 38 06 04 3D 00 D0 96 D0 B5 D0 B2 D0 B0 D1 82 D0 B5 D0 BB D1 8C D0 BD D1 8B D0 B9 20 D0 BC D0 B0 D1 80 D0 BC D0 B5 D0 BB D0 B0 D0 B4 20 48 41 52 49 42 4F 20 5A 75 62 69 20 38 30 D0 B3 D1 80 20 28 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 38 36 39 31 32 31 36 30 39 30 34 34 36 06 04 3D 00 D0 96 D0 B5 D0 B2 D0 B0 D1 82 D0 B5 D0 BB D1 8C D0 BD D1 8B D0 B9 20 D0 BC D0 B0 D1 80 D0 BC D0 B5 D0 BB D0 B0 D0 B4 20 48 41 52 49 42 4F 20 4B 6F 6C 61 20 38 30 D0 B3 D1 80 20 28 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 4A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 BB 2E 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 48 31 00 00 35 04 06 00 F3 9E 76 5C 83 F0 D7 1E B8 DF 22 0F ED C4 [15:20:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 00 D9 47 00 89 32 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 48 31 00 00 F4 03 04 00 3C D7 24 66 B6 04 01 00 00 EF A6 36 07 6A 20 8D 7A [15:20:29]CommunicateWithHost err = 0 [15:20:29]CheckOFDResponse [15:20:29]1017 (14) - 77093643461234 [15:20:29]1041 (16) - 0000000000965685 [15:20:29]1040 (4) - 12616 [15:20:29]1012 (4) - 21.04.2024 09:07 [15:20:29]1206 (1) - 0 [15:20:29]OFD Sender: Remove packet 12616 [15:20:29]ProducePacketName [15:20:29]name=ofd_packets/00012616 [15:20:29]NVStorageDeleteData [15:20:29]Write to MH i2c: 01 00 00 9D 04 A1 [15:20:29]Write i2c OK [15:20:29]MH_I2C_Read... [15:20:29]Read from MH i2c: 01 [15:20:29]MH_I2C_Read... [15:20:29]Read from MH i2c: 01 07 00 [15:20:29]MH_I2C_Read... [15:20:29]Read from MH i2c: 01 07 00 9D 04 00 00 00 00 00 59 0C 0D [15:20:29]RasterBufferAndPrint [15:20:29]line [15:20:29]line [15:20:29]line [15:20:29]line [15:20:29]line [15:20:29]written 0, free lines is 3168 [15:20:29]MH_Cut [15:20:29]Write to MH i2c: D1 01 00 A4 04 01 7A [15:20:29]Write i2c OK [15:20:29]MH_I2C_Read... [15:20:29]Read from MH i2c: D1 [15:20:29]MH_I2C_Read... [15:20:29]Read from MH i2c: D1 01 00 [15:20:29]MH_I2C_Read... [15:20:29]Read from MH i2c: D1 01 00 A4 04 00 79 [15:20:29]Write to MH i2c: 01 00 00 A5 04 A9 [15:20:29]Write i2c OK [15:20:29]MH_I2C_Read... [15:20:29]OFD Sender: No OFD packet to send [15:20:30]*** Cut start [15:20:30]*** Partial cut [15:20:30]*** CUTSNS_PIN = 1 [15:20:30]*** CUTSNS_PIN = 0 [15:20:30]*** Brake cut motor [15:20:30]Read from MH i2c: 01 [15:20:30]MH_I2C_Read... [15:20:30]*** Stop cut motor [15:20:30]*** Cut end [15:20:30]Read from MH i2c: 01 07 00 [15:20:30]MH_I2C_Read... [15:20:30]Read from MH i2c: 01 07 00 A5 04 00 00 00 00 00 FF 0F BE [15:20:30]process_action close_receipt done [15:20:30]requested_data is exist [15:20:30]produce_requested_data [15:20:30]requested_item fm.sn is exist - process it [15:20:30]wFMCommunicate request_size=4 [15:20:30]MH_SAM_APDU [15:20:30]CAPDU: 80 11 00 00 [15:20:30]Write to MH i2c: E2 08 00 A6 04 80 11 00 00 00 00 00 00 24 [15:20:30]Write i2c OK [15:20:30]MH_I2C_Read... [15:20:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:20:30]Read from MH i2c: E2 [15:20:30]MH_I2C_Read... [15:20:30]Read from MH i2c: E2 17 00 [15:20:30]MH_I2C_Read... [15:20:30]Read from MH i2c: E2 17 00 A6 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 7E [15:20:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [15:20:30]wFMCommunicate OK [15:20:30]requested_item fd.num is exist - process it [15:20:30]SAM_PROTO_GetFieldsCounters [15:20:30]wFMCommunicate request_size=4 [15:20:30]MH_SAM_APDU [15:20:30]CAPDU: 80 13 00 00 [15:20:30]Write to MH i2c: E2 08 00 A7 04 80 13 00 00 00 00 00 00 27 [15:20:30]Write i2c OK [15:20:30]MH_I2C_Read... [15:20:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:20:30]Read from MH i2c: E2 [15:20:30]MH_I2C_Read... [15:20:30]Read from MH i2c: E2 62 00 [15:20:30]MH_I2C_Read... [15:20:30]Read from MH i2c: E2 62 00 A7 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 48 31 00 00 0E 04 04 00 19 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 31 [15:20:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 48 31 00 00 0E 04 04 00 19 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 [15:20:30]wFMCommunicate OK [15:20:30]SAM_PROTO_GetFieldsCounters done [15:20:30]requested_item shift.num is exist - process it [15:20:30]requested_item shift.opened is exist - process it [15:20:30]req_shift_opened [15:20:30]FM_GetShiftState [15:20:30]SAM_PROTO_GetShiftState [15:20:30]wFMCommunicate request_size=4 [15:20:30]MH_SAM_APDU [15:20:30]CAPDU: 80 13 01 00 [15:20:30]Write to MH i2c: E2 08 00 A8 04 80 13 01 00 00 00 00 00 29 [15:20:30]Write i2c OK [15:20:30]MH_I2C_Read... [15:20:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:20:31]Read from MH i2c: E2 [15:20:31]MH_I2C_Read... [15:20:31]Read from MH i2c: E2 0E 00 [15:20:31]MH_I2C_Read... [15:20:31]Read from MH i2c: E2 0E 00 A8 04 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 81 [15:20:31]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [15:20:31]wFMCommunicate OK [15:20:31]SAM_PROTO_GetShiftState done [15:20:31]FM_GetShiftState done [15:20:31]req_shift_opened done [15:20:31]requested_item shift.open_date is exist - process it [15:20:31]req_shift_open_date [15:20:31]req_shift_open_date done [15:20:31]produce_requested_data done [15:20:31]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12616,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [15:20:31]process_action_free close_receipt [15:20:31]json_value_free [15:20:31]json_value_free done [15:20:31]process_json_proto returns [15:20:31]Send response to host [15:20:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12616,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [15:20:31]free response buf [15:20:31]execute_script done [15:20:31]execute_script returns [15:20:31]free content buf [15:20:31]Sock 9.Close socket [15:20:31]Sock 9.Thread stoped [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:09]OFD Sender: No OFD packet to send [15:24:14]OFD Sender: No OFD packet to send [15:24:19]OFD Sender: No OFD packet to send [15:24:24]OFD Sender: No OFD packet to send [15:24:29]OFD Sender: No OFD packet to send [15:24:34]OFD Sender: No OFD packet to send [15:24:39]OFD Sender: No OFD packet to send [15:24:44]OFD Sender: No OFD packet to send [15:24:49]OFD Sender: No OFD packet to send [15:24:54]OFD Sender: No OFD packet to send [15:24:59]OFD Sender: No OFD packet to send [15:25:04]OFD Sender: No OFD packet to send [15:25:09]OFD Sender: No OFD packet to send [15:25:14]OFD Sender: No OFD packet to send [15:25:19]OFD Sender: No OFD packet to send [15:25:24]OFD Sender: No OFD packet to send [15:25:29]OFD Sender: No OFD packet to send [15:25:34]OFD Sender: No OFD packet to send [15:25:39]OFD Sender: No OFD packet to send [15:25:44]OFD Sender: No OFD packet to send [15:25:49]OFD Sender: No OFD packet to send [15:25:54]OFD Sender: No OFD packet to send [15:25:59]OFD Sender: No OFD packet to send [15:26:04]OFD Sender: No OFD packet to send [15:26:09]OFD Sender: No OFD packet to send [15:26:14]OFD Sender: No OFD packet to send [15:26:19]OFD Sender: No OFD packet to send [15:26:24]OFD Sender: No OFD packet to send [15:26:29]OFD Sender: No OFD packet to send [15:26:34]OFD Sender: No OFD packet to send [15:26:39]OFD Sender: No OFD packet to send [15:26:44]OFD Sender: No OFD packet to send [15:26:49]OFD Sender: No OFD packet to send [15:26:54]OFD Sender: No OFD packet to send [15:26:59]OFD Sender: No OFD packet to send [15:27:04]OFD Sender: No OFD packet to send [15:27:09]OFD Sender: No OFD packet to send [15:27:14]OFD Sender: No OFD packet to send [15:27:19]OFD Sender: No OFD packet to send [15:27:24]OFD Sender: No OFD packet to send [15:27:29]OFD Sender: No OFD packet to send [15:27:34]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:52]accept exits with 7 [15:33:52]New connection [15:33:52]New thread 3067047268 created [15:33:52]Thread 3067190628 joined [15:33:52]Waiting for new connection... [15:33:52] Sock 7.Parse request [15:33:52]Sock 7.Check first char [15:33:52]Sock 7.First char is OK [15:33:52]request: POST /json_proto HTTP/1.0 [15:33:52]Method: POST [15:33:52]URL: /json_proto [15:33:52]Method is POST - this is cgi request [15:33:52]url: /json_proto [15:33:52]query_string will be loaded in cgi processing [15:33:52]execute_cgi json_proto POST (null) [15:33:52]execute_cgi path=json_proto method=POST [15:33:52]POST find Content-Length [15:33:52]Host: 172.17.62.6:8080 [15:33:52]Content-Length: 698 [15:33:52]Content-Type: application/json [15:33:52] [15:33:52]POST finish read [15:33:52]Found Content-Length = 698 [15:33:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32889", "tax_sys" : 0, "items" : [ { "code": "4620017455554", "name": "\u041C\u0430\u0440\u043C\u0435\u043B\u0430\u0434 \u0411\u043E\u043D\u0434\u0438 \u0430\u0441\u0441\u043E\u0440\u0442 \u043F\u0430\u043A 70\u0433", "price" : 43.00, "quantity" : 1.000, "sum" : 43.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 43.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:33:52]execute_script... [15:33:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32889", "tax_sys" : 0, "items" : [ { "code": "4620017455554", "name": "\u041C\u0430\u0440\u043C\u0435\u043B\u0430\u0434 \u0411\u043E\u043D\u0434\u0438 \u0430\u0441\u0441\u043E\u0440\u0442 \u043F\u0430\u043A 70\u0433", "price" : 43.00, "quantity" : 1.000, "sum" : 43.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 43.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:33:52]POST & json_proto [15:33:52]process_json_proto [15:33:52]json parsed OK: [15:33:52]protocol is kg_v1.0 [15:33:52]action value=close_receipt [15:33:52]process_action close_receipt [15:33:52]cmd_close_receipt [15:33:52]MH_GetDate [15:33:52]Write to MH i2c: F0 00 00 A9 04 9C [15:33:52]Write i2c OK [15:33:52]MH_I2C_Read... [15:33:52]Read from MH i2c: F0 [15:33:52]MH_I2C_Read... [15:33:52]Read from MH i2c: F0 09 00 [15:33:52]MH_I2C_Read... [15:33:52]Read from MH i2c: F0 09 00 A9 04 00 E1 31 25 66 61 69 D2 64 42 [15:33:52]GetLastDocTimeStamp 1713712827 [15:33:52]current date 1713713633 [15:33:52]FM_GetShiftState [15:33:52]SAM_PROTO_GetShiftState [15:33:52]wFMCommunicate request_size=4 [15:33:52]MH_SAM_APDU [15:33:52]CAPDU: 80 13 01 00 [15:33:52]Write to MH i2c: E2 08 00 AA 04 80 13 01 00 00 00 00 00 2B [15:33:52]Write i2c OK [15:33:52]MH_I2C_Read... [15:33:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:33:52]Read from MH i2c: E2 [15:33:52]MH_I2C_Read... [15:33:52]Read from MH i2c: E2 0E 00 [15:33:52]MH_I2C_Read... [15:33:52]Read from MH i2c: E2 0E 00 AA 04 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 83 [15:33:52]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [15:33:52]wFMCommunicate OK [15:33:52]SAM_PROTO_GetShiftState done [15:33:52]FM_GetShiftState done [15:33:52]opened in 1713658727 [15:33:52]opened+sec_in_day 1713745127 [15:33:52]quantity*price = 4300 [15:33:52]sum+1 = 4301 [15:33:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 43.00 НСП 1% : 0.38 НДС 12% : 4.57 Наличными: 43.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 29 21.04.2024 15:33 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12617 ФПД: 117571254203692 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T153353&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12617&fm=117571254203692&tin=02508201610067®Number=0000000000100748&sum=4300 0 [15:33:53]StoreToDocumentArchive [15:33:53]shift 281 fd 12617 [15:33:53]save to /storage/0281/doc_00012617 [15:33:53]save last doc name /storage/0281/doc_00012617 to /storage/kkm_last_doc_name [15:33:53]save OK [15:33:53]Clear old archive folders... [15:33:53]ProcessDocumentItem done err = 0, tmpTLVsize=294 [15:33:53]tlvbuf is 01A22CD0 [15:33:53]SAM_PROTO_ClearQueue [15:33:53]wFMCommunicate request_size=4 [15:33:53]MH_SAM_APDU [15:33:53]CAPDU: 80 09 00 00 [15:33:53]Write to MH i2c: E2 08 00 B7 04 80 09 00 00 00 00 00 00 2D [15:33:53]Write i2c OK [15:33:53]MH_I2C_Read... [15:33:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:33:53]Read from MH i2c: E2 [15:33:53]MH_I2C_Read... [15:33:53]Read from MH i2c: E2 03 00 [15:33:53]MH_I2C_Read... [15:33:53]Read from MH i2c: E2 03 00 B7 04 00 90 00 2F [15:33:53]RAPDU: 90 00 [15:33:53]wFMCommunicate OK [15:33:53]SAM_PROTO_ClearQueue done [15:33:53]KKMCreateOFDPacket [15:33:53]OFDProtocolAddRootSTLVToBuf [15:33:53]FM_MakeSignedData [15:33:53]FM_MakeSignedData [15:33:53]SAM_PROTO_SignData [15:33:53]wFMCommunicate request_size=4 [15:33:53]MH_SAM_APDU [15:33:53]CAPDU: 80 0D 01 02 [15:33:53]Write to MH i2c: E2 08 00 B8 04 80 0D 01 02 00 00 00 00 35 [15:33:53]Write i2c OK [15:33:53]MH_I2C_Read... [15:33:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:33:53]Read from MH i2c: E2 [15:33:53]MH_I2C_Read... [15:33:53]Read from MH i2c: E2 03 00 [15:33:53]MH_I2C_Read... [15:33:53]Read from MH i2c: E2 03 00 B8 04 00 90 00 30 [15:33:53]RAPDU: 90 00 [15:33:53]wFMCommunicate OK [15:33:53]wFMCommunicate request_size=255 [15:33:53]MH_SAM_APDU [15:33:53]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 35 35 35 34 06 04 34 00 D0 9C D0 B0 D1 80 D0 BC D0 B5 D0 BB D0 B0 D0 B4 20 D0 91 D0 BE D0 BD D0 B4 D0 B8 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 20 D0 BF D0 B0 D0 BA 20 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 10 00 00 00 00 13 04 06 00 CC 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 10 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 01 00 00 00 00 07 04 06 00 CC 10 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 E1 31 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [15:33:53]Write to MH i2c: E2 02 01 B9 04 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 35 35 35 34 06 04 34 00 D0 9C D0 B0 D1 80 D0 BC D0 B5 D0 BB D0 B0 D0 B4 20 D0 91 D0 BE D0 BD D0 B4 D0 B8 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 20 D0 BF D0 B0 D0 BA 20 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 10 00 00 00 00 13 04 06 00 CC 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 10 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 01 00 00 00 00 07 04 06 00 CC 10 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 E1 31 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 3B [15:33:53]Write i2c OK [15:33:53]MH_I2C_Read... [15:33:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:33:54]Read from MH i2c: E2 [15:33:54]MH_I2C_Read... [15:33:54]Read from MH i2c: E2 03 00 [15:33:54]MH_I2C_Read... [15:33:54]Read from MH i2c: E2 03 00 B9 04 00 90 00 31 [15:33:54]RAPDU: 90 00 [15:33:54]wFMCommunicate OK [15:33:54]wFMCommunicate request_size=53 [15:33:54]MH_SAM_APDU [15:33:54]CAPDU: 80 0D 02 02 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 49 31 00 00 35 04 06 00 6A EE 30 D7 B5 2C [15:33:54]Write to MH i2c: E2 38 00 BA 04 80 0D 02 02 30 00 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 49 31 00 00 35 04 06 00 6A EE 30 D7 B5 2C 00 00 E9 [15:33:54]Write i2c OK [15:33:54]MH_I2C_Read... [15:33:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:33:54]Read from MH i2c: E2 [15:33:54]MH_I2C_Read... [15:33:54]Read from MH i2c: E2 03 00 [15:33:54]MH_I2C_Read... [15:33:54]Read from MH i2c: E2 03 00 BA 04 00 90 00 32 [15:33:54]RAPDU: 90 00 [15:33:54]wFMCommunicate OK [15:33:54]wFMCommunicate request_size=4 [15:33:54]MH_SAM_APDU [15:33:54]CAPDU: 80 0D 03 02 [15:33:54]Write to MH i2c: E2 08 00 BB 04 80 0D 03 02 00 00 00 00 3A [15:33:54]Write i2c OK [15:33:54]MH_I2C_Read... [15:33:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:33:54]Read from MH i2c: E2 [15:33:54]MH_I2C_Read... [15:33:54]Read from MH i2c: E2 0B 00 [15:33:54]MH_I2C_Read... [15:33:54]Read from MH i2c: E2 0B 00 BB 04 00 EE CD BE 9F 3D 50 F1 26 90 00 F7 [15:33:54]RAPDU: EE CD BE 9F 3D 50 F1 26 90 00 [15:33:54]wFMCommunicate OK [15:33:54]SAM_PROTO_SignData done [15:33:54]FM_MakeSignedData done [15:33:54]CreateOFDProtocolMessage [15:33:54]wFMCommunicate request_size=4 [15:33:54]MH_SAM_APDU [15:33:54]CAPDU: 80 11 00 00 [15:33:54]Write to MH i2c: E2 08 00 BC 04 80 11 00 00 00 00 00 00 3A [15:33:54]Write i2c OK [15:33:54]MH_I2C_Read... [15:33:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:33:54]Read from MH i2c: E2 [15:33:54]MH_I2C_Read... [15:33:54]Read from MH i2c: E2 17 00 [15:33:54]MH_I2C_Read... [15:33:54]Read from MH i2c: E2 17 00 BC 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 94 [15:33:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [15:33:54]wFMCommunicate OK [15:33:54]CreateOFDProtocolMessage done [15:33:54]OFDSenderStorePacket 12617 [15:33:54]StoreOFDPacket docnum=12617 [15:33:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 3A 01 00 00 1A 7E 32 01 16 73 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 35 35 35 34 06 04 34 00 D0 9C D0 B0 D1 80 D0 BC D0 B5 D0 BB D0 B0 D0 B4 20 D0 91 D0 BE D0 BD D0 B4 D0 B8 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 20 D0 BF D0 B0 D0 BA 20 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 10 00 00 00 00 13 04 06 00 CC 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 10 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 01 00 00 00 00 07 04 06 00 CC 10 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 E1 31 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 49 31 00 00 35 04 06 00 6A EE 30 D7 B5 2C EE CD BE 9F 3D 50 F1 26 [15:33:54]CheckFolder [15:33:54]dirname=/storage/ofd_packets [15:33:54]CheckFolder done [15:33:54]ProducePacketName [15:33:54]name=ofd_packets/00012617 [15:33:54]NVStorageSaveData ofd_packets/00012617 [15:33:54]File name is /storage/ofd_packets/00012617 [15:33:54]Write 344 bytes [15:33:54]NVStorageSaveData done [15:33:54]OFDSenderStorePacket done [15:33:54]KKMCreateOFDPacket done [15:33:54]NVStorageSaveData kkm_last_timestamp [15:33:54]File name is /storage/kkm_last_timestamp [15:33:54]Write 4 bytes [15:33:54]NVStorageSaveData done [15:33:54]ExternCall_PrintAddStr [15:33:54]wPrintStart [15:33:54]Write to MH i2c: 01 00 00 BD 04 C1 [15:33:54]Write i2c OK [15:33:54]MH_I2C_Read... [15:33:54]Read from MH i2c: 01 [15:33:54]MH_I2C_Read... [15:33:54]Read from MH i2c: 01 07 00 [15:33:54]MH_I2C_Read... [15:33:54]Read from MH i2c: 01 07 00 BD 04 00 00 00 00 00 FF 0F D6 [15:33:54]RasterBufferAndPrint [15:33:54]line Счет N : (3)32889 [15:33:54]line ИНН: 02508201610067 [15:33:54]line Контрольно-Кассовый Чек [15:33:54]line ПРОДАЖА [15:33:54]line Товар: 4620017455554 [15:33:54]line Мармелад Бонди ассорт пак 70г [15:33:54]line 1.000 * 43.00 [15:33:54]line = 43.00 [15:33:54]line НДС 12% НСП 1% [15:33:54]line > о реализуемом товаре [15:33:54]line ИТОГО: 43.00 [15:33:54]line НСП 1% : 0.38 [15:33:54]line НДС 12% : 4.57 [15:33:54]line Наличными: 43.00 [15:33:54]line Безнал.: 0.00 [15:33:54]line Место: АЗС № 106 "Партнер Нефть" [15:33:54]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [15:33:54]line СНО: Общий режим [15:33:54]line Чек 29 21.04.2024 15:33 [15:33:54]line Смена: 281 ФФД: 1.0 [15:33:54]line ЗНМ: 0300000004 [15:33:54]line РНМ: 0000000000100748 [15:33:54]line Версия ККМ: 001 [15:33:54]line ФМ: 0000000000965685 [15:33:54]line ФД: 12617 [15:33:54]line ФПД: 117571254203692 [15:33:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T153353&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12617&fm=117571254203692&tin=02508201610067®Number=0000000000100748&sum=4300 [15:33:54]line 0 [15:33:54]OFD Sender: Processing packet 12617 [packets to send 7, broken 6] [15:33:54]ProducePacketName [15:33:54]name=ofd_packets/00012617 [15:33:54]OFD Sender: To server: pG, [15:33:54]CommunicateWithHost lk.salyk.kg:30040 [15:33:54]ConnectInit lk.salyk.kg [15:33:54]written 0, free lines is 4095 [15:33:54]Connected sock=10 [15:33:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 3A 01 00 00 1A 7E 32 01 16 73 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 35 35 35 34 06 04 34 00 D0 9C D0 B0 D1 80 D0 BC D0 B5 D0 BB D0 B0 D0 B4 20 D0 91 D0 BE D0 BD D0 B4 D0 B8 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 20 D0 BF D0 B0 D0 BA 20 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 10 00 00 00 00 13 04 06 00 CC 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 10 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 01 00 00 00 00 07 04 06 00 CC 10 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 E1 31 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 49 31 00 00 35 04 06 00 6A EE 30 D7 B5 2C EE CD BE 9F 3D 50 F1 26 [15:33:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 FA 31 47 00 D9 62 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 49 31 00 00 F4 03 04 00 61 DA 24 66 B6 04 01 00 00 D2 52 20 EC 5D 15 A9 35 [15:33:54]CommunicateWithHost err = 0 [15:33:54]CheckOFDResponse [15:33:54]1017 (14) - 77093643461234 [15:33:54]1041 (16) - 0000000000965685 [15:33:54]1040 (4) - 12617 [15:33:54]1012 (4) - 21.04.2024 09:20 [15:33:54]1206 (1) - 0 [15:33:54]OFD Sender: Remove packet 12617 [15:33:54]ProducePacketName [15:33:54]name=ofd_packets/00012617 [15:33:54]NVStorageDeleteData [15:33:54]Write to MH i2c: 01 00 00 E5 04 E9 [15:33:54]Write i2c OK [15:33:54]MH_I2C_Read... [15:33:54]Read from MH i2c: 01 [15:33:54]MH_I2C_Read... [15:33:54]Read from MH i2c: 01 07 00 [15:33:54]MH_I2C_Read... [15:33:54]Read from MH i2c: 01 07 00 E5 04 00 00 00 00 00 E6 0C E2 [15:33:54]RasterBufferAndPrint [15:33:54]line [15:33:54]line [15:33:54]line [15:33:54]line [15:33:54]line [15:33:54]written 0, free lines is 3309 [15:33:55]MH_Cut [15:33:55]Write to MH i2c: D1 01 00 EC 04 01 C2 [15:33:55]Write i2c OK [15:33:55]MH_I2C_Read... [15:33:55]Read from MH i2c: D1 [15:33:55]MH_I2C_Read... [15:33:55]Read from MH i2c: D1 01 00 [15:33:55]MH_I2C_Read... [15:33:55]Read from MH i2c: D1 01 00 EC 04 00 C1 [15:33:55]Write to MH i2c: 01 00 00 ED 04 F1 [15:33:55]Write i2c OK [15:33:55]MH_I2C_Read... [15:33:55]OFD Sender: No OFD packet to send [15:33:55]*** Cut start [15:33:55]*** Partial cut [15:33:55]*** CUTSNS_PIN = 1 [15:33:55]*** CUTSNS_PIN = 0 [15:33:56]*** Brake cut motor [15:33:56]Read from MH i2c: 01 [15:33:56]MH_I2C_Read... [15:33:56]*** Stop cut motor [15:33:56]*** Cut end [15:33:56]Read from MH i2c: 01 07 00 [15:33:56]MH_I2C_Read... [15:33:56]Read from MH i2c: 01 07 00 ED 04 00 00 00 00 00 FF 0F 06 [15:33:56]process_action close_receipt done [15:33:56]requested_data is exist [15:33:56]produce_requested_data [15:33:56]requested_item fm.sn is exist - process it [15:33:56]wFMCommunicate request_size=4 [15:33:56]MH_SAM_APDU [15:33:56]CAPDU: 80 11 00 00 [15:33:56]Write to MH i2c: E2 08 00 EE 04 80 11 00 00 00 00 00 00 6C [15:33:56]Write i2c OK [15:33:56]MH_I2C_Read... [15:33:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:33:56]Read from MH i2c: E2 [15:33:56]MH_I2C_Read... [15:33:56]Read from MH i2c: E2 17 00 [15:33:56]MH_I2C_Read... [15:33:56]Read from MH i2c: E2 17 00 EE 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 C6 [15:33:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [15:33:56]wFMCommunicate OK [15:33:56]requested_item fd.num is exist - process it [15:33:56]SAM_PROTO_GetFieldsCounters [15:33:56]wFMCommunicate request_size=4 [15:33:56]MH_SAM_APDU [15:33:56]CAPDU: 80 13 00 00 [15:33:56]Write to MH i2c: E2 08 00 EF 04 80 13 00 00 00 00 00 00 6F [15:33:56]Write i2c OK [15:33:56]MH_I2C_Read... [15:33:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:33:56]Read from MH i2c: E2 [15:33:56]MH_I2C_Read... [15:33:56]Read from MH i2c: E2 62 00 [15:33:56]MH_I2C_Read... [15:33:56]Read from MH i2c: E2 62 00 EF 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 49 31 00 00 0E 04 04 00 19 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 7D [15:33:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 49 31 00 00 0E 04 04 00 19 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 [15:33:56]wFMCommunicate OK [15:33:56]SAM_PROTO_GetFieldsCounters done [15:33:56]requested_item shift.num is exist - process it [15:33:56]requested_item shift.opened is exist - process it [15:33:56]req_shift_opened [15:33:56]FM_GetShiftState [15:33:56]SAM_PROTO_GetShiftState [15:33:56]wFMCommunicate request_size=4 [15:33:56]MH_SAM_APDU [15:33:56]CAPDU: 80 13 01 00 [15:33:56]Write to MH i2c: E2 08 00 F0 04 80 13 01 00 00 00 00 00 71 [15:33:56]Write i2c OK [15:33:56]MH_I2C_Read... [15:33:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:33:56]Read from MH i2c: E2 [15:33:56]MH_I2C_Read... [15:33:56]Read from MH i2c: E2 0E 00 [15:33:56]MH_I2C_Read... [15:33:56]Read from MH i2c: E2 0E 00 F0 04 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 C9 [15:33:56]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [15:33:56]wFMCommunicate OK [15:33:56]SAM_PROTO_GetShiftState done [15:33:56]FM_GetShiftState done [15:33:56]req_shift_opened done [15:33:56]requested_item shift.open_date is exist - process it [15:33:56]req_shift_open_date [15:33:56]req_shift_open_date done [15:33:56]produce_requested_data done [15:33:56]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12617,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [15:33:56]process_action_free close_receipt [15:33:56]json_value_free [15:33:56]json_value_free done [15:33:56]process_json_proto returns [15:33:56]Send response to host [15:33:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12617,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [15:33:56]free response buf [15:33:56]execute_script done [15:33:56]execute_script returns [15:33:56]free content buf [15:33:56]Sock 7.Close socket [15:33:56]Sock 7.Thread stoped [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:05]OFD Sender: No OFD packet to send [15:38:10]OFD Sender: No OFD packet to send [15:38:15]OFD Sender: No OFD packet to send [15:38:20]OFD Sender: No OFD packet to send [15:38:25]OFD Sender: No OFD packet to send [15:38:30]OFD Sender: No OFD packet to send [15:38:35]OFD Sender: No OFD packet to send [15:38:40]OFD Sender: No OFD packet to send [15:38:45]OFD Sender: No OFD packet to send [15:38:50]OFD Sender: No OFD packet to send [15:38:55]OFD Sender: No OFD packet to send [15:39:00]OFD Sender: No OFD packet to send [15:39:05]OFD Sender: No OFD packet to send [15:39:10]OFD Sender: No OFD packet to send [15:39:15]OFD Sender: No OFD packet to send [15:39:20]OFD Sender: No OFD packet to send [15:39:25]OFD Sender: No OFD packet to send [15:39:30]OFD Sender: No OFD packet to send [15:39:35]OFD Sender: No OFD packet to send [15:39:40]OFD Sender: No OFD packet to send [15:39:45]OFD Sender: No OFD packet to send [15:39:50]OFD Sender: No OFD packet to send [15:39:55]OFD Sender: No OFD packet to send [15:40:00]OFD Sender: No OFD packet to send [15:40:05]OFD Sender: No OFD packet to send [15:40:10]OFD Sender: No OFD packet to send [15:40:15]OFD Sender: No OFD packet to send [15:40:20]OFD Sender: No OFD packet to send [15:40:25]OFD Sender: No OFD packet to send [15:40:30]OFD Sender: No OFD packet to send [15:40:35]OFD Sender: No OFD packet to send [15:40:40]OFD Sender: No OFD packet to send [15:40:45]OFD Sender: No OFD packet to send [15:40:50]OFD Sender: No OFD packet to send [15:40:55]OFD Sender: No OFD packet to send [15:41:00]OFD Sender: No OFD packet to send [15:41:05]OFD Sender: No OFD packet to send [15:41:10]OFD Sender: No OFD packet to send [15:41:15]OFD Sender: No OFD packet to send [15:41:20]OFD Sender: No OFD packet to send [15:41:25]OFD Sender: No OFD packet to send [15:41:30]OFD Sender: No OFD packet to send [15:41:35]OFD Sender: No OFD packet to send [15:41:40]OFD Sender: No OFD packet to send [15:41:45]OFD Sender: No OFD packet to send [15:41:50]OFD Sender: No OFD packet to send [15:41:55]OFD Sender: No OFD packet to send [15:42:00]OFD Sender: No OFD packet to send [15:42:05]OFD Sender: No OFD packet to send [15:42:10]OFD Sender: No OFD packet to send [15:42:15]OFD Sender: No OFD packet to send [15:42:20]OFD Sender: No OFD packet to send [15:42:25]OFD Sender: No OFD packet to send [15:42:30]OFD Sender: No OFD packet to send [15:42:35]OFD Sender: No OFD packet to send [15:42:40]OFD Sender: No OFD packet to send [15:42:45]OFD Sender: No OFD packet to send [15:42:50]OFD Sender: No OFD packet to send [15:42:55]OFD Sender: No OFD packet to send [15:43:00]OFD Sender: No OFD packet to send [15:43:05]OFD Sender: No OFD packet to send [15:43:10]OFD Sender: No OFD packet to send [15:43:15]OFD Sender: No OFD packet to send [15:43:20]OFD Sender: No OFD packet to send [15:43:25]OFD Sender: No OFD packet to send [15:43:30]OFD Sender: No OFD packet to send [15:43:35]OFD Sender: No OFD packet to send [15:43:40]OFD Sender: No OFD packet to send [15:43:45]OFD Sender: No OFD packet to send [15:43:50]OFD Sender: No OFD packet to send [15:43:55]OFD Sender: No OFD packet to send [15:44:00]OFD Sender: No OFD packet to send [15:44:05]OFD Sender: No OFD packet to send [15:44:10]OFD Sender: No OFD packet to send [15:44:15]OFD Sender: No OFD packet to send [15:44:20]OFD Sender: No OFD packet to send [15:44:25]OFD Sender: No OFD packet to send [15:44:30]OFD Sender: No OFD packet to send [15:44:35]OFD Sender: No OFD packet to send [15:44:40]OFD Sender: No OFD packet to send [15:44:45]OFD Sender: No OFD packet to send [15:44:50]OFD Sender: No OFD packet to send [15:44:55]OFD Sender: No OFD packet to send [15:45:00]OFD Sender: No OFD packet to send [15:45:05]OFD Sender: No OFD packet to send [15:45:10]OFD Sender: No OFD packet to send [15:45:15]OFD Sender: No OFD packet to send [15:45:20]OFD Sender: No OFD packet to send [15:45:25]OFD Sender: No OFD packet to send [15:45:30]OFD Sender: No OFD packet to send [15:45:35]OFD Sender: No OFD packet to send [15:45:40]OFD Sender: No OFD packet to send [15:45:45]OFD Sender: No OFD packet to send [15:45:50]OFD Sender: No OFD packet to send [15:45:55]OFD Sender: No OFD packet to send [15:46:00]OFD Sender: No OFD packet to send [15:46:05]OFD Sender: No OFD packet to send [15:46:10]OFD Sender: No OFD packet to send [15:46:15]OFD Sender: No OFD packet to send [15:46:20]OFD Sender: No OFD packet to send [15:46:25]OFD Sender: No OFD packet to send [15:46:30]OFD Sender: No OFD packet to send [15:46:35]OFD Sender: No OFD packet to send [15:46:40]OFD Sender: No OFD packet to send [15:46:46]OFD Sender: No OFD packet to send [15:46:51]OFD Sender: No OFD packet to send [15:46:56]OFD Sender: No OFD packet to send [15:47:01]OFD Sender: No OFD packet to send [15:47:06]OFD Sender: No OFD packet to send [15:47:11]OFD Sender: No OFD packet to send [15:47:16]OFD Sender: No OFD packet to send [15:47:21]OFD Sender: No OFD packet to send [15:47:26]OFD Sender: No OFD packet to send [15:47:31]OFD Sender: No OFD packet to send [15:47:36]OFD Sender: No OFD packet to send [15:47:41]OFD Sender: No OFD packet to send [15:47:46]OFD Sender: No OFD packet to send [15:47:51]OFD Sender: No OFD packet to send [15:47:56]OFD Sender: No OFD packet to send [15:48:01]OFD Sender: No OFD packet to send [15:48:06]OFD Sender: No OFD packet to send [15:48:11]OFD Sender: No OFD packet to send [15:48:16]OFD Sender: No OFD packet to send [15:48:21]OFD Sender: No OFD packet to send [15:48:26]OFD Sender: No OFD packet to send [15:48:31]OFD Sender: No OFD packet to send [15:48:36]OFD Sender: No OFD packet to send [15:48:41]OFD Sender: No OFD packet to send [15:48:46]OFD Sender: No OFD packet to send [15:48:51]OFD Sender: No OFD packet to send [15:48:56]OFD Sender: No OFD packet to send [15:49:01]OFD Sender: No OFD packet to send [15:49:06]OFD Sender: No OFD packet to send [15:49:11]OFD Sender: No OFD packet to send [15:49:16]OFD Sender: No OFD packet to send [15:49:21]OFD Sender: No OFD packet to send [15:49:26]OFD Sender: No OFD packet to send [15:49:31]OFD Sender: No OFD packet to send [15:49:36]OFD Sender: No OFD packet to send [15:49:41]OFD Sender: No OFD packet to send [15:49:46]OFD Sender: No OFD packet to send [15:49:51]OFD Sender: No OFD packet to send [15:49:56]OFD Sender: No OFD packet to send [15:50:01]OFD Sender: No OFD packet to send [15:50:06]OFD Sender: No OFD packet to send [15:50:11]OFD Sender: No OFD packet to send [15:50:16]OFD Sender: No OFD packet to send [15:50:21]OFD Sender: No OFD packet to send [15:50:26]OFD Sender: No OFD packet to send [15:50:31]OFD Sender: No OFD packet to send [15:50:36]OFD Sender: No OFD packet to send [15:50:41]OFD Sender: No OFD packet to send [15:50:46]OFD Sender: No OFD packet to send [15:50:51]OFD Sender: No OFD packet to send [15:50:56]OFD Sender: No OFD packet to send [15:51:01]OFD Sender: No OFD packet to send [15:51:06]OFD Sender: No OFD packet to send [15:51:11]OFD Sender: No OFD packet to send [15:51:16]OFD Sender: No OFD packet to send [15:51:21]OFD Sender: No OFD packet to send [15:51:26]OFD Sender: No OFD packet to send [15:51:31]OFD Sender: No OFD packet to send [15:51:36]OFD Sender: No OFD packet to send [15:51:41]OFD Sender: No OFD packet to send [15:51:46]OFD Sender: No OFD packet to send [15:51:51]OFD Sender: No OFD packet to send [15:51:56]OFD Sender: No OFD packet to send [15:52:01]OFD Sender: No OFD packet to send [15:52:06]OFD Sender: No OFD packet to send [15:52:11]OFD Sender: No OFD packet to send [15:52:16]OFD Sender: No OFD packet to send [15:52:19]accept exits with 9 [15:52:19]New connection [15:52:19]New thread 3067190628 created [15:52:19]Thread 3067047268 joined [15:52:19]Waiting for new connection... [15:52:19] Sock 9.Parse request [15:52:19]Sock 9.Check first char [15:52:19]Sock 9.First char is OK [15:52:19]request: POST /json_proto HTTP/1.0 [15:52:19]Method: POST [15:52:19]URL: /json_proto [15:52:19]Method is POST - this is cgi request [15:52:19]url: /json_proto [15:52:19]query_string will be loaded in cgi processing [15:52:19]execute_cgi json_proto POST (null) [15:52:19]execute_cgi path=json_proto method=POST [15:52:19]POST find Content-Length [15:52:19]Host: 172.17.62.6:8080 [15:52:19]Content-Length: 215 [15:52:19]Content-Type: application/json [15:52:19] [15:52:19]POST finish read [15:52:19]Found Content-Length = 215 [15:52:19]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" ] } } [15:52:19]execute_script... [15:52:19]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" ] } } [15:52:19]POST & json_proto [15:52:19]process_json_proto [15:52:19]json parsed OK: [15:52:19]protocol is kg_v1.0 [15:52:19]action value=get_value [15:52:19]process_action get_value [15:52:19]cmd_get_value [15:52:19]process_action get_value done [15:52:19]requested_data is exist [15:52:19]produce_requested_data [15:52:19]requested_item kkm.sn is exist - process it [15:52:19]requested_item kkm.ver is exist - process it [15:52:19]requested_item fm.sn is exist - process it [15:52:19]wFMCommunicate request_size=4 [15:52:19]MH_SAM_APDU [15:52:19]CAPDU: 80 11 00 00 [15:52:19]Write to MH i2c: E2 08 00 F1 04 80 11 00 00 00 00 00 00 6F [15:52:19]Write i2c OK [15:52:19]MH_I2C_Read... [15:52:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:52:19]Read from MH i2c: E2 [15:52:19]MH_I2C_Read... [15:52:19]Read from MH i2c: E2 17 00 [15:52:19]MH_I2C_Read... [15:52:19]Read from MH i2c: E2 17 00 F1 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 C9 [15:52:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [15:52:19]wFMCommunicate OK [15:52:19]requested_item fd.num is exist - process it [15:52:19]SAM_PROTO_GetFieldsCounters [15:52:19]wFMCommunicate request_size=4 [15:52:19]MH_SAM_APDU [15:52:19]CAPDU: 80 13 00 00 [15:52:19]Write to MH i2c: E2 08 00 F2 04 80 13 00 00 00 00 00 00 72 [15:52:19]Write i2c OK [15:52:19]MH_I2C_Read... [15:52:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:52:19]Read from MH i2c: E2 [15:52:19]MH_I2C_Read... [15:52:19]Read from MH i2c: E2 62 00 [15:52:19]MH_I2C_Read... [15:52:19]Read from MH i2c: E2 62 00 F2 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 49 31 00 00 0E 04 04 00 19 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 80 [15:52:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 49 31 00 00 0E 04 04 00 19 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 [15:52:19]wFMCommunicate OK [15:52:19]SAM_PROTO_GetFieldsCounters done [15:52:19]requested_item shift.num is exist - process it [15:52:19]requested_item shift.opened is exist - process it [15:52:19]req_shift_opened [15:52:19]FM_GetShiftState [15:52:19]SAM_PROTO_GetShiftState [15:52:19]wFMCommunicate request_size=4 [15:52:19]MH_SAM_APDU [15:52:19]CAPDU: 80 13 01 00 [15:52:19]Write to MH i2c: E2 08 00 F3 04 80 13 01 00 00 00 00 00 74 [15:52:19]Write i2c OK [15:52:19]MH_I2C_Read... [15:52:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:52:19]Read from MH i2c: E2 [15:52:19]MH_I2C_Read... [15:52:19]Read from MH i2c: E2 0E 00 [15:52:19]MH_I2C_Read... [15:52:19]Read from MH i2c: E2 0E 00 F3 04 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 CC [15:52:19]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [15:52:19]wFMCommunicate OK [15:52:19]SAM_PROTO_GetShiftState done [15:52:19]FM_GetShiftState done [15:52:19]req_shift_opened done [15:52:19]requested_item shift.open_date is exist - process it [15:52:19]req_shift_open_date [15:52:19]req_shift_open_date done [15:52:19]produce_requested_data done [15:52:19]produce_requested_data return {"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12617,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [15:52:19]process_action_free get_value [15:52:19]json_value_free [15:52:19]json_value_free done [15:52:19]process_json_proto returns [15:52:19]Send response to host [15:52:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12617,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [15:52:19]free response buf [15:52:19]execute_script done [15:52:19]execute_script returns [15:52:19]free content buf [15:52:19]Sock 9.Close socket [15:52:19]Sock 9.Thread stoped [15:52:21]OFD Sender: No OFD packet to send [15:52:22]accept exits with 10 [15:52:22]New connection [15:52:22]New thread 3067047268 created [15:52:22]Thread 3067190628 joined [15:52:22]Waiting for new connection... [15:52:22] Sock 10.Parse request [15:52:22]Sock 10.Check first char [15:52:22]Sock 10.First char is OK [15:52:22]request: POST /json_proto HTTP/1.0 [15:52:22]Method: POST [15:52:22]URL: /json_proto [15:52:22]Method is POST - this is cgi request [15:52:22]url: /json_proto [15:52:22]query_string will be loaded in cgi processing [15:52:22]execute_cgi json_proto POST (null) [15:52:22]execute_cgi path=json_proto method=POST [15:52:22]POST find Content-Length [15:52:22]Host: 172.17.62.6:8080 [15:52:22]Content-Length: 331 [15:52:22]Content-Type: application/json [15:52:22] [15:52:22]POST finish read [15:52:22]Found Content-Length = 331 [15:52: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" ] } } [15:52:22]execute_script... [15:52: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" ] } } [15:52:22]POST & json_proto [15:52:22]process_json_proto [15:52:22]json parsed OK: [15:52:22]protocol is kg_v1.0 [15:52:22]action value=get_value [15:52:22]process_action get_value [15:52:22]cmd_get_value [15:52:22]process_action get_value done [15:52:22]requested_data is exist [15:52:22]produce_requested_data [15:52:22]requested_item fm.sale.total is exist - process it [15:52:22]SAM_PROTO_GetFMData [15:52:22]wFMCommunicate request_size=4 [15:52:22]MH_SAM_APDU [15:52:22]CAPDU: 80 13 03 00 [15:52:22]Write to MH i2c: E2 08 00 F4 04 80 13 03 00 00 00 00 00 77 [15:52:22]Write i2c OK [15:52:22]MH_I2C_Read... [15:52:23]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [15:52:23]Read from MH i2c: E2 [15:52:23]MH_I2C_Read... [15:52:23]Read from MH i2c: E2 FD 00 [15:52:23]MH_I2C_Read... [15:52:23]Read from MH i2c: E2 FD 00 F4 04 00 C1 04 85 04 BD 04 6E 04 04 00 17 2F 00 00 69 04 A0 00 6F 04 04 00 CB 2E 00 00 B1 04 04 00 7B FA C4 0E 70 04 04 00 0E CE BC 0C 72 04 04 00 6D 2C 08 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 F6 83 91 01 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 89 71 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 D5 0B EF 03 09 00 F6 03 90 00 9E [15:52:23]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 17 2F 00 00 69 04 A0 00 6F 04 04 00 CB 2E 00 00 B1 04 04 00 7B FA C4 0E 70 04 04 00 0E CE BC 0C 72 04 04 00 6D 2C 08 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 F6 83 91 01 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 89 71 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 D5 0B EF 03 09 00 F6 03 90 00 [15:52:23]wFMCommunicate OK [15:52:23]wFMCommunicate request_size=4 [15:52:23]MH_SAM_APDU [15:52:23]CAPDU: 80 17 00 00 [15:52:23]Write to MH i2c: E2 08 00 F5 04 80 17 00 00 00 00 00 00 79 [15:52:23]Write i2c OK [15:52:23]MH_I2C_Read... [15:52:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:52:23]Read from MH i2c: E2 [15:52:23]MH_I2C_Read... [15:52:23]Read from MH i2c: E2 FD 00 [15:52:23]MH_I2C_Read... [15:52:23]Read from MH i2c: E2 FD 00 F5 04 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 17 [15:52:23]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [15:52:23]wFMCommunicate OK [15:52:23]wFMCommunicate request_size=4 [15:52:23]MH_SAM_APDU [15:52:23]CAPDU: 80 17 00 00 [15:52:23]Write to MH i2c: E2 08 00 F6 04 80 17 00 00 00 00 00 00 7A [15:52:23]Write i2c OK [15:52:23]MH_I2C_Read... [15:52:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:52:23]Read from MH i2c: E2 [15:52:23]MH_I2C_Read... [15:52:23]Read from MH i2c: E2 FD 00 [15:52:23]MH_I2C_Read... [15:52:23]Read from MH i2c: E2 FD 00 F6 04 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 1A [15:52:23]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [15:52:23]wFMCommunicate OK [15:52:23]wFMCommunicate request_size=4 [15:52:23]MH_SAM_APDU [15:52:23]CAPDU: 80 17 00 00 [15:52:23]Write to MH i2c: E2 08 00 F7 04 80 17 00 00 00 00 00 00 7B [15:52:23]Write i2c OK [15:52:23]MH_I2C_Read... [15:52:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:52:24]Read from MH i2c: E2 [15:52:24]MH_I2C_Read... [15:52:24]Read from MH i2c: E2 FD 00 [15:52:24]MH_I2C_Read... [15:52:24]Read from MH i2c: E2 FD 00 F7 04 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 00 [15:52:24]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [15:52:24]wFMCommunicate OK [15:52:24]wFMCommunicate request_size=4 [15:52:24]MH_SAM_APDU [15:52:24]CAPDU: 80 17 00 00 [15:52:24]Write to MH i2c: E2 08 00 F8 04 80 17 00 00 00 00 00 00 7C [15:52:24]Write i2c OK [15:52:24]MH_I2C_Read... [15:52:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [15:52:24]Read from MH i2c: E2 [15:52:24]MH_I2C_Read... [15:52:24]Read from MH i2c: E2 DE 00 [15:52:24]MH_I2C_Read... [15:52:24]Read from MH i2c: E2 DE 00 F8 04 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 5B [15:52:24]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [15:52:24]wFMCommunicate OK [15:52:24]SAM_PROTO_GetFMData done [15:52:24]requested_item fm.sale_refund.total is exist - process it [15:52:24]requested_item fm.buy.total is exist - process it [15:52:24]requested_item shift.sale.total is exist - process it [15:52:24]SAM_PROTO_GetShiftData [15:52:24]wFMCommunicate request_size=4 [15:52:24]MH_SAM_APDU [15:52:24]CAPDU: 80 13 02 00 [15:52:24]Write to MH i2c: E2 08 00 F9 04 80 13 02 00 00 00 00 00 7B [15:52:24]Write i2c OK [15:52:24]MH_I2C_Read... [15:52:24]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [15:52:24]Read from MH i2c: E2 [15:52:24]MH_I2C_Read... [15:52:24]Read from MH i2c: E2 FD 00 [15:52:24]MH_I2C_Read... [15:52:24]Read from MH i2c: E2 FD 00 F9 04 00 AD 04 AA 04 A9 04 6E 04 04 00 1D 00 00 00 69 04 9A 00 6F 04 04 00 1D 00 00 00 B1 04 03 00 B0 83 08 70 04 03 00 EC 53 06 72 04 03 00 C4 2F 02 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 74 E7 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 42 13 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 98 [15:52:24]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 1D 00 00 00 69 04 9A 00 6F 04 04 00 1D 00 00 00 B1 04 03 00 B0 83 08 70 04 03 00 EC 53 06 72 04 03 00 C4 2F 02 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 74 E7 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 42 13 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [15:52:24]wFMCommunicate OK [15:52:24]wFMCommunicate request_size=4 [15:52:24]MH_SAM_APDU [15:52:24]CAPDU: 80 17 00 00 [15:52:24]Write to MH i2c: E2 08 00 FA 04 80 17 00 00 00 00 00 00 7E [15:52:24]Write i2c OK [15:52:24]MH_I2C_Read... [15:52:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:52:25]Read from MH i2c: E2 [15:52:25]MH_I2C_Read... [15:52:25]Read from MH i2c: E2 FD 00 [15:52:25]MH_I2C_Read... [15:52:25]Read from MH i2c: E2 FD 00 FA 04 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 90 [15:52:25]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [15:52:25]wFMCommunicate OK [15:52:25]wFMCommunicate request_size=4 [15:52:25]MH_SAM_APDU [15:52:25]CAPDU: 80 17 00 00 [15:52:25]Write to MH i2c: E2 08 00 FB 04 80 17 00 00 00 00 00 00 7F [15:52:25]Write i2c OK [15:52:25]MH_I2C_Read... [15:52:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:52:25]Read from MH i2c: E2 [15:52:25]MH_I2C_Read... [15:52:25]Read from MH i2c: E2 FD 00 [15:52:25]MH_I2C_Read... [15:52:25]Read from MH i2c: E2 FD 00 FB 04 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 43 [15:52:25]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [15:52:25]wFMCommunicate OK [15:52:25]wFMCommunicate request_size=4 [15:52:25]MH_SAM_APDU [15:52:25]CAPDU: 80 17 00 00 [15:52:25]Write to MH i2c: E2 08 00 FC 04 80 17 00 00 00 00 00 00 80 [15:52:25]Write i2c OK [15:52:25]MH_I2C_Read... [15:52:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:52:25]Read from MH i2c: E2 [15:52:25]MH_I2C_Read... [15:52:25]Read from MH i2c: E2 FD 00 [15:52:25]MH_I2C_Read... [15:52:25]Read from MH i2c: E2 FD 00 FC 04 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 F5 [15:52:25]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [15:52:25]wFMCommunicate OK [15:52:25]wFMCommunicate request_size=4 [15:52:25]MH_SAM_APDU [15:52:25]CAPDU: 80 17 00 00 [15:52:25]Write to MH i2c: E2 08 00 FD 04 80 17 00 00 00 00 00 00 81 [15:52:25]Write i2c OK [15:52:25]MH_I2C_Read... [15:52:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [15:52:25]Read from MH i2c: E2 [15:52:25]MH_I2C_Read... [15:52:25]Read from MH i2c: E2 CA 00 [15:52:25]MH_I2C_Read... [15:52:25]Read from MH i2c: E2 CA 00 FD 04 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 66 [15:52:26]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [15:52:26]wFMCommunicate OK [15:52:26]SAM_PROTO_GetShiftData done [15:52:26]requested_item shift.sale.total_cash is exist - process it [15:52:26]requested_item shift.sale_refund.total is exist - process it [15:52:26]requested_item shift.sale_refund.total_cash is exist - process it [15:52:26]requested_item shift.buy.total is exist - process it [15:52:26]requested_item shift.buy.total_cash is exist - process it [15:52:26]produce_requested_data done [15:52:26]produce_requested_data return {"fm.sale.total":2477902.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":5580.00,"shift.sale.total_cash":4147.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} [15:52:26]process_action_free get_value [15:52:26]json_value_free [15:52:26]json_value_free done [15:52:26]process_json_proto returns [15:52:26]Send response to host [15:52:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2477902.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":5580.00,"shift.sale.total_cash":4147.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}}} [15:52:26]free response buf [15:52:26]execute_script done [15:52:26]execute_script returns [15:52:26]free content buf [15:52:26]Sock 10.Close socket [15:52:26]Sock 10.Thread stoped [15:52:26]OFD Sender: No OFD packet to send [15:52:31]OFD Sender: No OFD packet to send [15:52:36]OFD Sender: No OFD packet to send [15:52:41]OFD Sender: No OFD packet to send [15:52:46]OFD Sender: No OFD packet to send [15:52:51]OFD Sender: No OFD packet to send [15:52:56]OFD Sender: No OFD packet to send [15:53:01]OFD Sender: No OFD packet to send [15:53:06]OFD Sender: No OFD packet to send [15:53:11]OFD Sender: No OFD packet to send [15:53:16]OFD Sender: No OFD packet to send [15:53:21]OFD Sender: No OFD packet to send [15:53:26]OFD Sender: No OFD packet to send [15:53:31]OFD Sender: No OFD packet to send [15:53:36]OFD Sender: No OFD packet to send [15:53:41]OFD Sender: No OFD packet to send [15:53:46]OFD Sender: No OFD packet to send [15:53:51]OFD Sender: No OFD packet to send [15:53:56]OFD Sender: No OFD packet to send [15:54:01]OFD Sender: No OFD packet to send [15:54:06]OFD Sender: No OFD packet to send [15:54:11]OFD Sender: No OFD packet to send [15:54:16]OFD Sender: No OFD packet to send [15:54:21]OFD Sender: No OFD packet to send [15:54:26]OFD Sender: No OFD packet to send [15:54:31]OFD Sender: No OFD packet to send [15:54:36]OFD Sender: No OFD packet to send [15:54:36]accept exits with 7 [15:54:36]New connection [15:54:36]New thread 3067190628 created [15:54:36]Thread 3067047268 joined [15:54:36]Waiting for new connection... [15:54:36] Sock 7.Parse request [15:54:36]Sock 7.Check first char [15:54:36]Sock 7.First char is OK [15:54:36]request: POST /json_proto HTTP/1.0 [15:54:36]Method: POST [15:54:36]URL: /json_proto [15:54:36]Method is POST - this is cgi request [15:54:36]url: /json_proto [15:54:36]query_string will be loaded in cgi processing [15:54:36]execute_cgi json_proto POST (null) [15:54:36]execute_cgi path=json_proto method=POST [15:54:36]POST find Content-Length [15:54:36]Host: 172.17.62.6:8080 [15:54:36]Content-Length: 811 [15:54:36]Content-Type: application/json [15:54:36] [15:54:36]POST finish read [15:54:36]Found Content-Length = 811 [15:54:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32890", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:54:36]execute_script... [15:54:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32890", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:54:36]POST & json_proto [15:54:36]process_json_proto [15:54:36]json parsed OK: [15:54:36]protocol is kg_v1.0 [15:54:36]action value=close_receipt [15:54:36]process_action close_receipt [15:54:36]cmd_close_receipt [15:54:36]MH_GetDate [15:54:36]Write to MH i2c: F0 00 00 FE 04 F1 [15:54:36]Write i2c OK [15:54:36]MH_I2C_Read... [15:54:36]Read from MH i2c: F0 [15:54:36]MH_I2C_Read... [15:54:36]Read from MH i2c: F0 09 00 [15:54:36]MH_I2C_Read... [15:54:36]Read from MH i2c: F0 09 00 FE 04 00 BD 36 25 66 61 69 D2 64 78 [15:54:36]GetLastDocTimeStamp 1713713633 [15:54:36]current date 1713714877 [15:54:36]FM_GetShiftState [15:54:36]SAM_PROTO_GetShiftState [15:54:36]wFMCommunicate request_size=4 [15:54:36]MH_SAM_APDU [15:54:36]CAPDU: 80 13 01 00 [15:54:36]Write to MH i2c: E2 08 00 FF 04 80 13 01 00 00 00 00 00 80 [15:54:36]Write i2c OK [15:54:36]MH_I2C_Read... [15:54:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:54:36]Read from MH i2c: E2 [15:54:36]MH_I2C_Read... [15:54:36]Read from MH i2c: E2 0E 00 [15:54:36]MH_I2C_Read... [15:54:36]Read from MH i2c: E2 0E 00 FF 04 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 D8 [15:54:36]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [15:54:36]wFMCommunicate OK [15:54:36]SAM_PROTO_GetShiftState done [15:54:36]FM_GetShiftState done [15:54:36]opened in 1713658727 [15:54:36]opened+sec_in_day 1713745127 [15:54:36]quantity*price = 13000 [15:54:36]sum+1 = 13001 [15:54:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 0.00 Безнал.: 130.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 30 21.04.2024 15:54 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000965685 ФД: 12618 ФПД: 247999704104168 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T155437&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12618&fm=247999704104168&tin=02508201610067®Number=0000000000100748&sum=13000 0 [15:54:37]StoreToDocumentArchive [15:54:37]shift 281 fd 12618 [15:54:37]save to /storage/0281/doc_00012618 [15:54:37]save last doc name /storage/0281/doc_00012618 to /storage/kkm_last_doc_name [15:54:37]save OK [15:54:37]Clear old archive folders... [15:54:37]ProcessDocumentItem done err = 0, tmpTLVsize=282 [15:54:37]tlvbuf is 01A2C1B0 [15:54:37]SAM_PROTO_ClearQueue [15:54:37]wFMCommunicate request_size=4 [15:54:37]MH_SAM_APDU [15:54:37]CAPDU: 80 09 00 00 [15:54:37]Write to MH i2c: E2 08 00 0C 05 80 09 00 00 00 00 00 00 83 [15:54:37]Write i2c OK [15:54:37]MH_I2C_Read... [15:54:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:54:37]Read from MH i2c: E2 [15:54:37]MH_I2C_Read... [15:54:37]Read from MH i2c: E2 03 00 [15:54:37]MH_I2C_Read... [15:54:37]Read from MH i2c: E2 03 00 0C 05 00 90 00 85 [15:54:37]RAPDU: 90 00 [15:54:37]wFMCommunicate OK [15:54:37]SAM_PROTO_ClearQueue done [15:54:37]KKMCreateOFDPacket [15:54:37]OFDProtocolAddRootSTLVToBuf [15:54:37]FM_MakeSignedData [15:54:37]FM_MakeSignedData [15:54:37]SAM_PROTO_SignData [15:54:37]wFMCommunicate request_size=4 [15:54:37]MH_SAM_APDU [15:54:37]CAPDU: 80 0D 01 02 [15:54:37]Write to MH i2c: E2 08 00 0D 05 80 0D 01 02 00 00 00 00 8B [15:54:37]Write i2c OK [15:54:37]MH_I2C_Read... [15:54:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:54:37]Read from MH i2c: E2 [15:54:37]MH_I2C_Read... [15:54:37]Read from MH i2c: E2 03 00 [15:54:37]MH_I2C_Read... [15:54:37]Read from MH i2c: E2 03 00 0D 05 00 90 00 86 [15:54:37]RAPDU: 90 00 [15:54:37]wFMCommunicate OK [15:54:37]wFMCommunicate request_size=255 [15:54:37]MH_SAM_APDU [15:54:37]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 BD 36 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 [15:54:37]Write to MH i2c: E2 02 01 0E 05 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 BD 36 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 00 00 4B [15:54:37]Write i2c OK [15:54:37]MH_I2C_Read... [15:54:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:54:38]Read from MH i2c: E2 [15:54:38]MH_I2C_Read... [15:54:38]Read from MH i2c: E2 03 00 [15:54:38]MH_I2C_Read... [15:54:38]Read from MH i2c: E2 03 00 0E 05 00 90 00 87 [15:54:38]RAPDU: 90 00 [15:54:38]wFMCommunicate OK [15:54:38]wFMCommunicate request_size=41 [15:54:38]MH_SAM_APDU [15:54:38]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 4A 31 00 00 35 04 06 00 E1 8D EE 44 7C E8 [15:54:38]Write to MH i2c: E2 2C 00 0F 05 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 4A 31 00 00 35 04 06 00 E1 8D EE 44 7C E8 00 00 E3 [15:54:38]Write i2c OK [15:54:38]MH_I2C_Read... [15:54:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:54:38]Read from MH i2c: E2 [15:54:38]MH_I2C_Read... [15:54:38]Read from MH i2c: E2 03 00 [15:54:38]MH_I2C_Read... [15:54:38]Read from MH i2c: E2 03 00 0F 05 00 90 00 88 [15:54:38]RAPDU: 90 00 [15:54:38]wFMCommunicate OK [15:54:38]wFMCommunicate request_size=4 [15:54:38]MH_SAM_APDU [15:54:38]CAPDU: 80 0D 03 02 [15:54:38]Write to MH i2c: E2 08 00 10 05 80 0D 03 02 00 00 00 00 90 [15:54:38]Write i2c OK [15:54:38]MH_I2C_Read... [15:54:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:54:38]Read from MH i2c: E2 [15:54:38]MH_I2C_Read... [15:54:38]Read from MH i2c: E2 0B 00 [15:54:38]MH_I2C_Read... [15:54:38]Read from MH i2c: E2 0B 00 10 05 00 C7 D7 9C 90 A9 48 41 55 90 00 E2 [15:54:38]RAPDU: C7 D7 9C 90 A9 48 41 55 90 00 [15:54:38]wFMCommunicate OK [15:54:38]SAM_PROTO_SignData done [15:54:38]FM_MakeSignedData done [15:54:38]CreateOFDProtocolMessage [15:54:38]wFMCommunicate request_size=4 [15:54:38]MH_SAM_APDU [15:54:38]CAPDU: 80 11 00 00 [15:54:38]Write to MH i2c: E2 08 00 11 05 80 11 00 00 00 00 00 00 90 [15:54:38]Write i2c OK [15:54:38]MH_I2C_Read... [15:54:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:54:38]Read from MH i2c: E2 [15:54:38]MH_I2C_Read... [15:54:38]Read from MH i2c: E2 17 00 [15:54:38]MH_I2C_Read... [15:54:38]Read from MH i2c: E2 17 00 11 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 EA [15:54:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [15:54:38]wFMCommunicate OK [15:54:38]CreateOFDProtocolMessage done [15:54:38]OFDSenderStorePacket 12618 [15:54:38]StoreOFDPacket docnum=12618 [15:54:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2E 01 00 00 DC F3 26 01 A6 FC 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 BD 36 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 4A 31 00 00 35 04 06 00 E1 8D EE 44 7C E8 C7 D7 9C 90 A9 48 41 55 [15:54:38]CheckFolder [15:54:38]dirname=/storage/ofd_packets [15:54:38]CheckFolder done [15:54:38]ProducePacketName [15:54:38]name=ofd_packets/00012618 [15:54:38]NVStorageSaveData ofd_packets/00012618 [15:54:38]File name is /storage/ofd_packets/00012618 [15:54:38]Write 332 bytes [15:54:38]NVStorageSaveData done [15:54:38]OFDSenderStorePacket done [15:54:38]KKMCreateOFDPacket done [15:54:38]NVStorageSaveData kkm_last_timestamp [15:54:38]File name is /storage/kkm_last_timestamp [15:54:38]Write 4 bytes [15:54:38]NVStorageSaveData done [15:54:38]ExternCall_PrintAddStr [15:54:38]wPrintStart [15:54:38]Write to MH i2c: 01 00 00 12 05 17 [15:54:38]Write i2c OK [15:54:38]MH_I2C_Read... [15:54:38]Read from MH i2c: 01 [15:54:38]MH_I2C_Read... [15:54:38]Read from MH i2c: 01 07 00 [15:54:38]MH_I2C_Read... [15:54:38]Read from MH i2c: 01 07 00 12 05 00 00 00 00 00 FF 0F 2C [15:54:38]RasterBufferAndPrint [15:54:38]line Счет N : (3)32890 [15:54:38]line ИНН: 02508201610067 [15:54:38]line Контрольно-Кассовый Чек [15:54:38]line ПРОДАЖА [15:54:38]line Товар: 2000036220012 [15:54:38]line Кофе Капучино XL(GABB TRADE) [15:54:38]line 1.000 * 130.00 [15:54:38]line = 130.00 [15:54:38]line НДС 12% НСП 1% [15:54:38]line > о реализуемом товаре [15:54:38]line ИТОГО: 130.00 [15:54:38]line НСП 1% : 1.15 [15:54:38]line НДС 12% : 13.80 [15:54:38]line Наличными: 0.00 [15:54:38]line Безнал.: 130.00 [15:54:38]line Место: АЗС № 106 "Партнер Нефть" [15:54:38]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [15:54:38]line СНО: Общий режим [15:54:38]line Чек 30 21.04.2024 15:54 [15:54:38]line Смена: 281 ФФД: 1.0 [15:54:38]line ЗНМ: 0300000004 [15:54:38]line РНМ: 0000000000100748 [15:54:38]line Версия ККМ: 001 [15:54:38]line Платежная система: О! деньги [15:54:38]line ФМ: 0000000000965685 [15:54:38]line ФД: 12618 [15:54:38]line ФПД: 247999704104168 [15:54:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T155437&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12618&fm=247999704104168&tin=02508201610067®Number=0000000000100748&sum=13000 [15:54:38]line 0 [15:54:38]OFD Sender: Processing packet 12618 [packets to send 7, broken 6] [15:54:38]ProducePacketName [15:54:38]name=ofd_packets/00012618 [15:54:38]OFD Sender: To server: pG, [15:54:38]CommunicateWithHost lk.salyk.kg:30040 [15:54:38]ConnectInit lk.salyk.kg [15:54:38]written 0, free lines is 4095 [15:54:38]Connected sock=10 [15:54:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2E 01 00 00 DC F3 26 01 A6 FC 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 BD 36 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 4A 31 00 00 35 04 06 00 E1 8D EE 44 7C E8 C7 D7 9C 90 A9 48 41 55 [15:54:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 84 C8 47 00 3D 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 39 36 35 36 38 35 10 04 04 00 4A 31 00 00 F4 03 04 00 3E DF 24 66 B6 04 01 00 00 AD 25 15 95 73 5E C6 21 [15:54:39]CommunicateWithHost err = 0 [15:54:39]CheckOFDResponse [15:54:39]1017 (14) - 77093643461234 [15:54:39]1041 (16) - 0000000000965685 [15:54:39]1040 (4) - 12618 [15:54:39]1012 (4) - 21.04.2024 09:41 [15:54:39]1206 (1) - 0 [15:54:39]OFD Sender: Remove packet 12618 [15:54:39]ProducePacketName [15:54:39]name=ofd_packets/00012618 [15:54:39]NVStorageDeleteData [15:54:39]Write to MH i2c: 01 00 00 3C 05 41 [15:54:39]Write i2c OK [15:54:39]MH_I2C_Read... [15:54:39]Read from MH i2c: 01 [15:54:39]MH_I2C_Read... [15:54:39]Read from MH i2c: 01 07 00 [15:54:39]MH_I2C_Read... [15:54:39]Read from MH i2c: 01 07 00 3C 05 00 00 00 00 00 E4 0C 38 [15:54:39]RasterBufferAndPrint [15:54:39]line [15:54:39]line [15:54:39]line [15:54:39]line [15:54:39]line [15:54:39]written 0, free lines is 3307 [15:54:39]MH_Cut [15:54:39]Write to MH i2c: D1 01 00 43 05 01 1A [15:54:39]Write i2c OK [15:54:39]MH_I2C_Read... [15:54:39]Read from MH i2c: D1 [15:54:39]MH_I2C_Read... [15:54:39]Read from MH i2c: D1 01 00 [15:54:39]MH_I2C_Read... [15:54:39]Read from MH i2c: D1 01 00 43 05 00 19 [15:54:39]Write to MH i2c: 01 00 00 44 05 49 [15:54:39]Write i2c OK [15:54:39]MH_I2C_Read... [15:54:39]OFD Sender: No OFD packet to send [15:54:39]*** Cut start [15:54:39]*** Partial cut [15:54:39]*** CUTSNS_PIN = 1 [15:54:40]*** CUTSNS_PIN = 0 [15:54:40]*** Brake cut motor [15:54:40]Read from MH i2c: 01 [15:54:40]MH_I2C_Read... [15:54:40]*** Stop cut motor [15:54:40]*** Cut end [15:54:40]Read from MH i2c: 01 07 00 [15:54:40]MH_I2C_Read... [15:54:40]Read from MH i2c: 01 07 00 44 05 00 00 00 00 00 FF 0F 5E [15:54:40]process_action close_receipt done [15:54:40]requested_data is exist [15:54:40]produce_requested_data [15:54:40]requested_item fm.sn is exist - process it [15:54:40]wFMCommunicate request_size=4 [15:54:40]MH_SAM_APDU [15:54:40]CAPDU: 80 11 00 00 [15:54:40]Write to MH i2c: E2 08 00 45 05 80 11 00 00 00 00 00 00 C4 [15:54:40]Write i2c OK [15:54:40]MH_I2C_Read... [15:54:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:54:40]Read from MH i2c: E2 [15:54:40]MH_I2C_Read... [15:54:40]Read from MH i2c: E2 17 00 [15:54:40]MH_I2C_Read... [15:54:40]Read from MH i2c: E2 17 00 45 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 1E [15:54:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [15:54:40]wFMCommunicate OK [15:54:40]requested_item fd.num is exist - process it [15:54:40]SAM_PROTO_GetFieldsCounters [15:54:40]wFMCommunicate request_size=4 [15:54:40]MH_SAM_APDU [15:54:40]CAPDU: 80 13 00 00 [15:54:40]Write to MH i2c: E2 08 00 46 05 80 13 00 00 00 00 00 00 C7 [15:54:40]Write i2c OK [15:54:40]MH_I2C_Read... [15:54:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:54:40]Read from MH i2c: E2 [15:54:40]MH_I2C_Read... [15:54:40]Read from MH i2c: E2 62 00 [15:54:40]MH_I2C_Read... [15:54:40]Read from MH i2c: E2 62 00 46 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 4A 31 00 00 0E 04 04 00 19 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 D9 [15:54:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 4A 31 00 00 0E 04 04 00 19 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 [15:54:40]wFMCommunicate OK [15:54:40]SAM_PROTO_GetFieldsCounters done [15:54:40]requested_item shift.num is exist - process it [15:54:40]requested_item shift.opened is exist - process it [15:54:40]req_shift_opened [15:54:40]FM_GetShiftState [15:54:40]SAM_PROTO_GetShiftState [15:54:40]wFMCommunicate request_size=4 [15:54:40]MH_SAM_APDU [15:54:40]CAPDU: 80 13 01 00 [15:54:40]Write to MH i2c: E2 08 00 47 05 80 13 01 00 00 00 00 00 C9 [15:54:40]Write i2c OK [15:54:40]MH_I2C_Read... [15:54:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:54:40]Read from MH i2c: E2 [15:54:40]MH_I2C_Read... [15:54:40]Read from MH i2c: E2 0E 00 [15:54:40]MH_I2C_Read... [15:54:40]Read from MH i2c: E2 0E 00 47 05 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 21 [15:54:40]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [15:54:40]wFMCommunicate OK [15:54:40]SAM_PROTO_GetShiftState done [15:54:40]FM_GetShiftState done [15:54:40]req_shift_opened done [15:54:40]requested_item shift.open_date is exist - process it [15:54:40]req_shift_open_date [15:54:40]req_shift_open_date done [15:54:40]produce_requested_data done [15:54:40]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12618,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [15:54:40]process_action_free close_receipt [15:54:40]json_value_free [15:54:40]json_value_free done [15:54:40]process_json_proto returns [15:54:40]Send response to host [15:54:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12618,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [15:54:40]free response buf [15:54:40]execute_script done [15:54:40]execute_script returns [15:54:40]free content buf [15:54:40]Sock 7.Close socket [15:54:40]Sock 7.Thread stoped [15:54:44]OFD Sender: No OFD packet to send [15:54:49]OFD Sender: No OFD packet to send [15:54:54]OFD Sender: No OFD packet to send [15:54:59]OFD Sender: No OFD packet to send [15:55:04]OFD Sender: No OFD packet to send [15:55:09]OFD Sender: No OFD packet to send [15:55:14]OFD Sender: No OFD packet to send [15:55:19]OFD Sender: No OFD packet to send [15:55:24]OFD Sender: No OFD packet to send [15:55:29]OFD Sender: No OFD packet to send [15:55:34]OFD Sender: No OFD packet to send [15:55:39]OFD Sender: No OFD packet to send [15:55:44]OFD Sender: No OFD packet to send [15:55:49]OFD Sender: No OFD packet to send [15:55:54]OFD Sender: No OFD packet to send [15:55:59]OFD Sender: No OFD packet to send [15:56:04]OFD Sender: No OFD packet to send [15:56:09]OFD Sender: No OFD packet to send [15:56:14]OFD Sender: No OFD packet to send [15:56:19]OFD Sender: No OFD packet to send [15:56:24]OFD Sender: No OFD packet to send [15:56:29]OFD Sender: No OFD packet to send [15:56:34]OFD Sender: No OFD packet to send [15:56:39]OFD Sender: No OFD packet to send [15:56:44]OFD Sender: No OFD packet to send [15:56:49]OFD Sender: No OFD packet to send [15:56:54]OFD Sender: No OFD packet to send [15:56:59]OFD Sender: No OFD packet to send [15:57:04]OFD Sender: No OFD packet to send [15:57:09]OFD Sender: No OFD packet to send [15:57:14]OFD Sender: No OFD packet to send [15:57:19]OFD Sender: No OFD packet to send [15:57:24]OFD Sender: No OFD packet to send [15:57:29]OFD Sender: No OFD packet to send [15:57:34]OFD Sender: No OFD packet to send [15:57:39]OFD Sender: No OFD packet to send [15:57:44]OFD Sender: No OFD packet to send [15:57:49]OFD Sender: No OFD packet to send [15:57:54]OFD Sender: No OFD packet to send [15:57:59]OFD Sender: No OFD packet to send [15:58:04]OFD Sender: No OFD packet to send [15:58:09]OFD Sender: No OFD packet to send [15:58:14]OFD Sender: No OFD packet to send [15:58:19]OFD Sender: No OFD packet to send [15:58:24]OFD Sender: No OFD packet to send [15:58:29]OFD Sender: No OFD packet to send [15:58:34]OFD Sender: No OFD packet to send [15:58:39]OFD Sender: No OFD packet to send [15:58:44]OFD Sender: No OFD packet to send [15:58:49]OFD Sender: No OFD packet to send [15:58:54]OFD Sender: No OFD packet to send [15:58:59]OFD Sender: No OFD packet to send [15:59:04]OFD Sender: No OFD packet to send [15:59:09]OFD Sender: No OFD packet to send [15:59:14]OFD Sender: No OFD packet to send [15:59:19]OFD Sender: No OFD packet to send [15:59:24]OFD Sender: No OFD packet to send [15:59:29]OFD Sender: No OFD packet to send [15:59:34]OFD Sender: No OFD packet to send [15:59:39]OFD Sender: No OFD packet to send [15:59:44]OFD Sender: No OFD packet to send [15:59:49]OFD Sender: No OFD packet to send [15:59:54]OFD Sender: No OFD packet to send [15:59:59]OFD Sender: No OFD packet to send [16:00:04]OFD Sender: No OFD packet to send [16:00:09]OFD Sender: No OFD packet to send [16:00:14]OFD Sender: No OFD packet to send [16:00:19]OFD Sender: No OFD packet to send [16:00:24]OFD Sender: No OFD packet to send [16:00:29]OFD Sender: No OFD packet to send [16:00:34]OFD Sender: No OFD packet to send [16:00:39]OFD Sender: No OFD packet to send [16:00:44]OFD Sender: No OFD packet to send [16:00:49]OFD Sender: No OFD packet to send [16:00:54]OFD Sender: No OFD packet to send [16:00:59]OFD Sender: No OFD packet to send [16:01:04]OFD Sender: No OFD packet to send [16:01:09]OFD Sender: No OFD packet to send [16:01:14]OFD Sender: No OFD packet to send [16:01:19]OFD Sender: No OFD packet to send [16:01:24]OFD Sender: No OFD packet to send [16:01:29]OFD Sender: No OFD packet to send [16:01:34]OFD Sender: No OFD packet to send [16:01:39]OFD Sender: No OFD packet to send [16:01:44]OFD Sender: No OFD packet to send [16:01:49]OFD Sender: No OFD packet to send [16:01:54]OFD Sender: No OFD packet to send [16:01:59]OFD Sender: No OFD packet to send [16:02:04]OFD Sender: No OFD packet to send [16:02:09]OFD Sender: No OFD packet to send [16:02:14]OFD Sender: No OFD packet to send [16:02:19]OFD Sender: No OFD packet to send [16:02:24]OFD Sender: No OFD packet to send [16:02:29]OFD Sender: No OFD packet to send [16:02:34]OFD Sender: No OFD packet to send [16:02:39]OFD Sender: No OFD packet to send [16:02:44]OFD Sender: No OFD packet to send [16:02:49]OFD Sender: No OFD packet to send [16:02:54]OFD Sender: No OFD packet to send [16:02:59]OFD Sender: No OFD packet to send [16:03:04]OFD Sender: No OFD packet to send [16:03:09]OFD Sender: No OFD packet to send [16:03:14]OFD Sender: No OFD packet to send [16:03: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:55]OFD Sender: No OFD packet to send [16:06:00]OFD Sender: No OFD packet to send [16:06:05]OFD Sender: No OFD packet to send [16:06:10]OFD Sender: No OFD packet to send [16:06:15]OFD Sender: No OFD packet to send [16:06:20]OFD Sender: No OFD packet to send [16:06:25]OFD Sender: No OFD packet to send [16:06:30]OFD Sender: No OFD packet to send [16:06:35]OFD Sender: No OFD packet to send [16:06:40]OFD Sender: No OFD packet to send [16:06:45]OFD Sender: No OFD packet to send [16:06:50]OFD Sender: No OFD packet to send [16:06:55]OFD Sender: No OFD packet to send [16:07:00]OFD Sender: No OFD packet to send [16:07:05]OFD Sender: No OFD packet to send [16:07:10]OFD Sender: No OFD packet to send [16:07:15]OFD Sender: No OFD packet to send [16:07:20]OFD Sender: No OFD packet to send [16:07:25]OFD Sender: No OFD packet to send [16:07:30]OFD Sender: No OFD packet to send [16:07:35]OFD Sender: No OFD packet to send [16:07:40]OFD Sender: No OFD packet to send [16:07:45]OFD Sender: No OFD packet to send [16:07:50]OFD Sender: No OFD packet to send [16:07:55]OFD Sender: No OFD packet to send [16:08:00]OFD Sender: No OFD packet to send [16:08:05]OFD Sender: No OFD packet to send [16:08:10]OFD Sender: No OFD packet to send [16:08:15]OFD Sender: No OFD packet to send [16:08:20]OFD Sender: No OFD packet to send [16:08:25]OFD Sender: No OFD packet to send [16:08:30]OFD Sender: No OFD packet to send [16:08:35]OFD Sender: No OFD packet to send [16:08:40]OFD Sender: No OFD packet to send [16:08:45]OFD Sender: No OFD packet to send [16:08:50]OFD Sender: No OFD packet to send [16:08:55]OFD Sender: No OFD packet to send [16:09:00]OFD Sender: No OFD packet to send [16:09:05]OFD Sender: No OFD packet to send [16:09:10]OFD Sender: No OFD packet to send [16:09:15]OFD Sender: No OFD packet to send [16:09:20]OFD Sender: No OFD packet to send [16:09:25]OFD Sender: No OFD packet to send [16:09:30]OFD Sender: No OFD packet to send [16:09:35]OFD Sender: No OFD packet to send [16:09:40]OFD Sender: No OFD packet to send [16:09:45]OFD Sender: No OFD packet to send [16:09:50]OFD Sender: No OFD packet to send [16:09:55]OFD Sender: No OFD packet to send [16:10:00]OFD Sender: No OFD packet to send [16:10:05]OFD Sender: No OFD packet to send [16:10:10]OFD Sender: No OFD packet to send [16:10:15]OFD Sender: No OFD packet to send [16:10:20]OFD Sender: No OFD packet to send [16:10:25]OFD Sender: No OFD packet to send [16:10:30]OFD Sender: No OFD packet to send [16:10:35]OFD Sender: No OFD packet to send [16:10:40]OFD Sender: No OFD packet to send [16:10:45]OFD Sender: No OFD packet to send [16:10:50]OFD Sender: No OFD packet to send [16:10:55]OFD Sender: No OFD packet to send [16:11:00]OFD Sender: No OFD packet to send [16:11:05]OFD Sender: No OFD packet to send [16:11:10]OFD Sender: No OFD packet to send [16:11:15]OFD Sender: No OFD packet to send [16:11:20]OFD Sender: No OFD packet to send [16:11:25]OFD Sender: No OFD packet to send [16:11:30]OFD Sender: No OFD packet to send [16:11:35]OFD Sender: No OFD packet to send [16:11:40]OFD Sender: No OFD packet to send [16:11:45]OFD Sender: No OFD packet to send [16:11:50]OFD Sender: No OFD packet to send [16:11:55]OFD Sender: No OFD packet to send [16:12:00]OFD Sender: No OFD packet to send [16:12:05]OFD Sender: No OFD packet to send [16:12:10]OFD Sender: No OFD packet to send [16:12:15]OFD Sender: No OFD packet to send [16:12:20]OFD Sender: No OFD packet to send [16:12:25]OFD Sender: No OFD packet to send [16:12:30]OFD Sender: No OFD packet to send [16:12:35]OFD Sender: No OFD packet to send [16:12:40]OFD Sender: No OFD packet to send [16:12:45]OFD Sender: No OFD packet to send [16:12:50]OFD Sender: No OFD packet to send [16:12:55]OFD Sender: No OFD packet to send [16:13:00]OFD Sender: No OFD packet to send [16:13:05]OFD Sender: No OFD packet to send [16:13:10]OFD Sender: No OFD packet to send [16:13:15]OFD Sender: No OFD packet to send [16:13:20]OFD Sender: No OFD packet to send [16:13:25]OFD Sender: No OFD packet to send [16:13:30]OFD Sender: No OFD packet to send [16:13:35]OFD Sender: No OFD packet to send [16:13:40]OFD Sender: No OFD packet to send [16:13:45]OFD Sender: No OFD packet to send [16:13:50]OFD Sender: No OFD packet to send [16:13:55]OFD Sender: No OFD packet to send [16:14:00]OFD Sender: No OFD packet to send [16:14:05]OFD Sender: No OFD packet to send [16:14:10]OFD Sender: No OFD packet to send [16:14:15]OFD Sender: No OFD packet to send [16:14:20]OFD Sender: No OFD packet to send [16:14:25]OFD Sender: No OFD packet to send [16:14:30]OFD Sender: No OFD packet to send [16:14:35]OFD Sender: No OFD packet to send [16:14:40]OFD Sender: No OFD packet to send [16:14:45]OFD Sender: No OFD packet to send [16:14:50]OFD Sender: No OFD packet to send [16:14:55]OFD Sender: No OFD packet to send [16:15:00]OFD Sender: No OFD packet to send [16:15:05]OFD Sender: No OFD packet to send [16:15:10]OFD Sender: No OFD packet to send [16:15:15]OFD Sender: No OFD packet to send [16:15:20]OFD Sender: No OFD packet to send [16:15:25]OFD Sender: No OFD packet to send [16:15:30]OFD Sender: No OFD packet to send [16:15:35]OFD Sender: No OFD packet to send [16:15:40]OFD Sender: No OFD packet to send [16:15:45]OFD Sender: No OFD packet to send [16:15:50]OFD Sender: No OFD packet to send [16:15:55]OFD Sender: No OFD packet to send [16:16:00]OFD Sender: No OFD packet to send [16:16:05]OFD Sender: No OFD packet to send [16:16:10]OFD Sender: No OFD packet to send [16:16:15]OFD Sender: No OFD packet to send [16:16:20]OFD Sender: No OFD packet to send [16:16:25]OFD Sender: No OFD packet to send [16:16:30]OFD Sender: No OFD packet to send [16:16:35]OFD Sender: No OFD packet to send [16:16:40]OFD Sender: No OFD packet to send [16:16:45]OFD Sender: No OFD packet to send [16:16:50]OFD Sender: No OFD packet to send [16:16:55]OFD Sender: No OFD packet to send [16:17:00]OFD Sender: No OFD packet to send [16:17:05]OFD Sender: No OFD packet to send [16:17:10]OFD Sender: No OFD packet to send [16:17:15]OFD Sender: No OFD packet to send [16:17:20]OFD Sender: No OFD packet to send [16:17:25]OFD Sender: No OFD packet to send [16:17:30]OFD Sender: No OFD packet to send [16:17:35]OFD Sender: No OFD packet to send [16:17:40]OFD Sender: No OFD packet to send [16:17:45]OFD Sender: No OFD packet to send [16:17:50]OFD Sender: No OFD packet to send [16:17:55]OFD Sender: No OFD packet to send [16:18:00]OFD Sender: No OFD packet to send [16:18:05]OFD Sender: No OFD packet to send [16:18:10]OFD Sender: No OFD packet to send [16:18:15]OFD Sender: No OFD packet to send [16:18:20]OFD Sender: No OFD packet to send [16:18:25]OFD Sender: No OFD packet to send [16:18:30]OFD Sender: No OFD packet to send [16:18:35]OFD Sender: No OFD packet to send [16:18:40]OFD Sender: No OFD packet to send [16:18:45]OFD Sender: No OFD packet to send [16:18:50]OFD Sender: No OFD packet to send [16:18:55]OFD Sender: No OFD packet to send [16:19:00]OFD Sender: No OFD packet to send [16:19:05]OFD Sender: No OFD packet to send [16:19:10]OFD Sender: No OFD packet to send [16:19:15]OFD Sender: No OFD packet to send [16:19:20]OFD Sender: No OFD packet to send [16:19:25]OFD Sender: No OFD packet to send [16:19:30]OFD Sender: No OFD packet to send [16:19:35]OFD Sender: No OFD packet to send [16:19:40]OFD Sender: No OFD packet to send [16:19:45]OFD Sender: No OFD packet to send [16:19:50]OFD Sender: No OFD packet to send [16:19:55]OFD Sender: No OFD packet to send [16:20:00]OFD Sender: No OFD packet to send [16:20:05]OFD Sender: No OFD packet to send [16:20:10]OFD Sender: No OFD packet to send [16:20:15]OFD Sender: No OFD packet to send [16:20:20]OFD Sender: No OFD packet to send [16:20:25]OFD Sender: No OFD packet to send [16:20:30]OFD Sender: No OFD packet to send [16:20:35]OFD Sender: No OFD packet to send [16:20:40]OFD Sender: No OFD packet to send [16:20:45]OFD Sender: No OFD packet to send [16:20:50]OFD Sender: No OFD packet to send [16:20:55]OFD Sender: No OFD packet to send [16:21:00]OFD Sender: No OFD packet to send [16:21:05]OFD Sender: No OFD packet to send [16:21:10]OFD Sender: No OFD packet to send [16:21:15]OFD Sender: No OFD packet to send [16:21:20]OFD Sender: No OFD packet to send [16:21:25]OFD Sender: No OFD packet to send [16:21:30]OFD Sender: No OFD packet to send [16:21:35]OFD Sender: No OFD packet to send [16:21:40]OFD Sender: No OFD packet to send [16:21:45]OFD Sender: No OFD packet to send [16:21:50]OFD Sender: No OFD packet to send [16:21:55]OFD Sender: No OFD packet to send [16:22:00]OFD Sender: No OFD packet to send [16:22:05]OFD Sender: No OFD packet to send [16:22:10]OFD Sender: No OFD packet to send [16:22:15]OFD Sender: No OFD packet to send [16:22:20]OFD Sender: No OFD packet to send [16:22:25]OFD Sender: No OFD packet to send [16:22:30]OFD Sender: No OFD packet to send [16:22:35]OFD Sender: No OFD packet to send [16:22:40]OFD Sender: No OFD packet to send [16:22:45]OFD Sender: No OFD packet to send [16:22:50]OFD Sender: No OFD packet to send [16:22:55]OFD Sender: No OFD packet to send [16:23:00]OFD Sender: No OFD packet to send [16:23:01]accept exits with 9 [16:23:01]New connection [16:23:01]New thread 3067047268 created [16:23:01]Thread 3067190628 joined [16:23:01]Waiting for new connection... [16:23:01] Sock 9.Parse request [16:23:01]Sock 9.Check first char [16:23:01]Sock 9.First char is OK [16:23:01]request: POST /json_proto HTTP/1.0 [16:23:01]Method: POST [16:23:01]URL: /json_proto [16:23:01]Method is POST - this is cgi request [16:23:01]url: /json_proto [16:23:01]query_string will be loaded in cgi processing [16:23:01]execute_cgi json_proto POST (null) [16:23:01]execute_cgi path=json_proto method=POST [16:23:01]POST find Content-Length [16:23:01]Host: 172.17.62.6:8080 [16:23:01]Content-Length: 695 [16:23:01]Content-Type: application/json [16:23:01] [16:23:01]POST finish read [16:23:01]Found Content-Length = 695 [16:23:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32891", "tax_sys" : 0, "items" : [ { "code": "4870202521261", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u043B\u0435\u0441\u043D\u044B\u0435 \u044F\u0433\u043E\u0434\u044B", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:23:01]execute_script... [16:23:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32891", "tax_sys" : 0, "items" : [ { "code": "4870202521261", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u043B\u0435\u0441\u043D\u044B\u0435 \u044F\u0433\u043E\u0434\u044B", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:23:01]POST & json_proto [16:23:01]process_json_proto [16:23:01]json parsed OK: [16:23:01]protocol is kg_v1.0 [16:23:01]action value=close_receipt [16:23:01]process_action close_receipt [16:23:01]cmd_close_receipt [16:23:01]MH_GetDate [16:23:01]Write to MH i2c: F0 00 00 48 05 3C [16:23:01]Write i2c OK [16:23:01]MH_I2C_Read... [16:23:01]Read from MH i2c: F0 [16:23:01]MH_I2C_Read... [16:23:01]Read from MH i2c: F0 09 00 [16:23:01]MH_I2C_Read... [16:23:01]Read from MH i2c: F0 09 00 48 05 00 66 3D 25 66 61 69 D2 64 73 [16:23:01]GetLastDocTimeStamp 1713714877 [16:23:01]current date 1713716582 [16:23:01]FM_GetShiftState [16:23:01]SAM_PROTO_GetShiftState [16:23:01]wFMCommunicate request_size=4 [16:23:01]MH_SAM_APDU [16:23:01]CAPDU: 80 13 01 00 [16:23:01]Write to MH i2c: E2 08 00 49 05 80 13 01 00 00 00 00 00 CB [16:23:01]Write i2c OK [16:23:01]MH_I2C_Read... [16:23:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:23:01]Read from MH i2c: E2 [16:23:01]MH_I2C_Read... [16:23:01]Read from MH i2c: E2 0E 00 [16:23:01]MH_I2C_Read... [16:23:01]Read from MH i2c: E2 0E 00 49 05 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 23 [16:23:01]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [16:23:01]wFMCommunicate OK [16:23:01]SAM_PROTO_GetShiftState done [16:23:01]FM_GetShiftState done [16:23:01]opened in 1713658727 [16:23:01]opened+sec_in_day 1713745127 [16:23:01]quantity*price = 11500 [16:23:01]sum+1 = 11501 [16:23:01]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 115.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 31 21.04.2024 16:23 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12619 ФПД: 38702094121833 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T162302&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12619&fm=38702094121833&tin=02508201610067®Number=0000000000100748&sum=11500 0 [16:23:02]StoreToDocumentArchive [16:23:02]shift 281 fd 12619 [16:23:02]save to /storage/0281/doc_00012619 [16:23:02]save last doc name /storage/0281/doc_00012619 to /storage/kkm_last_doc_name [16:23:02]save OK [16:23:02]Clear old archive folders... [16:23:02]ProcessDocumentItem done err = 0, tmpTLVsize=296 [16:23:02]tlvbuf is 019860E0 [16:23:02]SAM_PROTO_ClearQueue [16:23:02]wFMCommunicate request_size=4 [16:23:02]MH_SAM_APDU [16:23:02]CAPDU: 80 09 00 00 [16:23:02]Write to MH i2c: E2 08 00 56 05 80 09 00 00 00 00 00 00 CD [16:23:02]Write i2c OK [16:23:02]MH_I2C_Read... [16:23:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:23:02]Read from MH i2c: E2 [16:23:02]MH_I2C_Read... [16:23:02]Read from MH i2c: E2 03 00 [16:23:02]MH_I2C_Read... [16:23:02]Read from MH i2c: E2 03 00 56 05 00 90 00 CF [16:23:02]RAPDU: 90 00 [16:23:02]wFMCommunicate OK [16:23:02]SAM_PROTO_ClearQueue done [16:23:02]KKMCreateOFDPacket [16:23:02]OFDProtocolAddRootSTLVToBuf [16:23:02]FM_MakeSignedData [16:23:02]FM_MakeSignedData [16:23:02]SAM_PROTO_SignData [16:23:02]wFMCommunicate request_size=4 [16:23:02]MH_SAM_APDU [16:23:02]CAPDU: 80 0D 01 02 [16:23:02]Write to MH i2c: E2 08 00 57 05 80 0D 01 02 00 00 00 00 D5 [16:23:02]Write i2c OK [16:23:02]MH_I2C_Read... [16:23:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:23:02]Read from MH i2c: E2 [16:23:02]MH_I2C_Read... [16:23:02]Read from MH i2c: E2 03 00 [16:23:02]MH_I2C_Read... [16:23:02]Read from MH i2c: E2 03 00 57 05 00 90 00 D0 [16:23:02]RAPDU: 90 00 [16:23:02]wFMCommunicate OK [16:23:02]wFMCommunicate request_size=255 [16:23:02]MH_SAM_APDU [16:23:02]CAPDU: 80 0D 02 02 FA 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 66 3D 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 [16:23:02]Write to MH i2c: E2 02 01 58 05 80 0D 02 02 FA 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 66 3D 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 00 00 CC [16:23:02]Write i2c OK [16:23:02]MH_I2C_Read... [16:23:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:23:03]Read from MH i2c: E2 [16:23:03]MH_I2C_Read... [16:23:03]Read from MH i2c: E2 03 00 [16:23:03]MH_I2C_Read... [16:23:03]Read from MH i2c: E2 03 00 58 05 00 90 00 D1 [16:23:03]RAPDU: 90 00 [16:23:03]wFMCommunicate OK [16:23:03]wFMCommunicate request_size=55 [16:23:03]MH_SAM_APDU [16:23:03]CAPDU: 80 0D 02 02 32 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 4B 31 00 00 35 04 06 00 23 33 08 92 7B 69 [16:23:03]Write to MH i2c: E2 3A 00 59 05 80 0D 02 02 32 00 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 4B 31 00 00 35 04 06 00 23 33 08 92 7B 69 00 00 83 [16:23:03]Write i2c OK [16:23:03]MH_I2C_Read... [16:23:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:23:03]Read from MH i2c: E2 [16:23:03]MH_I2C_Read... [16:23:03]Read from MH i2c: E2 03 00 [16:23:03]MH_I2C_Read... [16:23:03]Read from MH i2c: E2 03 00 59 05 00 90 00 D2 [16:23:03]RAPDU: 90 00 [16:23:03]wFMCommunicate OK [16:23:03]wFMCommunicate request_size=4 [16:23:03]MH_SAM_APDU [16:23:03]CAPDU: 80 0D 03 02 [16:23:03]Write to MH i2c: E2 08 00 5A 05 80 0D 03 02 00 00 00 00 DA [16:23:03]Write i2c OK [16:23:03]MH_I2C_Read... [16:23:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:23:03]Read from MH i2c: E2 [16:23:03]MH_I2C_Read... [16:23:03]Read from MH i2c: E2 0B 00 [16:23:03]MH_I2C_Read... [16:23:03]Read from MH i2c: E2 0B 00 5A 05 00 B0 FC 93 77 EC AE 7A B6 90 00 5B [16:23:03]RAPDU: B0 FC 93 77 EC AE 7A B6 90 00 [16:23:03]wFMCommunicate OK [16:23:03]SAM_PROTO_SignData done [16:23:03]FM_MakeSignedData done [16:23:03]CreateOFDProtocolMessage [16:23:03]wFMCommunicate request_size=4 [16:23:03]MH_SAM_APDU [16:23:03]CAPDU: 80 11 00 00 [16:23:03]Write to MH i2c: E2 08 00 5B 05 80 11 00 00 00 00 00 00 DA [16:23:03]Write i2c OK [16:23:03]MH_I2C_Read... [16:23:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:23:03]Read from MH i2c: E2 [16:23:03]MH_I2C_Read... [16:23:03]Read from MH i2c: E2 17 00 [16:23:03]MH_I2C_Read... [16:23:03]Read from MH i2c: E2 17 00 5B 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 34 [16:23:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [16:23:03]wFMCommunicate OK [16:23:03]CreateOFDProtocolMessage done [16:23:03]OFDSenderStorePacket 12619 [16:23:03]StoreOFDPacket docnum=12619 [16:23:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 3C 01 00 00 BE 15 34 01 1F 99 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 66 3D 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 4B 31 00 00 35 04 06 00 23 33 08 92 7B 69 B0 FC 93 77 EC AE 7A B6 [16:23:03]CheckFolder [16:23:03]dirname=/storage/ofd_packets [16:23:03]CheckFolder done [16:23:03]ProducePacketName [16:23:03]name=ofd_packets/00012619 [16:23:03]NVStorageSaveData ofd_packets/00012619 [16:23:03]File name is /storage/ofd_packets/00012619 [16:23:03]Write 346 bytes [16:23:03]NVStorageSaveData done [16:23:03]OFDSenderStorePacket done [16:23:03]KKMCreateOFDPacket done [16:23:03]NVStorageSaveData kkm_last_timestamp [16:23:03]File name is /storage/kkm_last_timestamp [16:23:03]Write 4 bytes [16:23:03]NVStorageSaveData done [16:23:03]ExternCall_PrintAddStr [16:23:03]wPrintStart [16:23:03]Write to MH i2c: 01 00 00 5C 05 61 [16:23:03]Write i2c OK [16:23:03]MH_I2C_Read... [16:23:03]Read from MH i2c: 01 [16:23:03]MH_I2C_Read... [16:23:03]Read from MH i2c: 01 07 00 [16:23:03]MH_I2C_Read... [16:23:03]Read from MH i2c: 01 07 00 5C 05 00 00 00 00 00 FF 0F 76 [16:23:03]RasterBufferAndPrint [16:23:03]line Счет N : (3)32891 [16:23:03]line ИНН: 02508201610067 [16:23:03]line Контрольно-Кассовый Чек [16:23:03]line ПРОДАЖА [16:23:03]line Товар: 4870202521261 [16:23:03]line Напиток MAXI чай 1,2 лесные ягоды [16:23:03]line 1.000 * 115.00 [16:23:03]line = 115.00 [16:23:03]line НДС 12% НСП 1% [16:23:03]line > о реализуемом товаре [16:23:03]line ИТОГО: 115.00 [16:23:03]line НСП 1% : 1.02 [16:23:03]line НДС 12% : 12.21 [16:23:03]line Наличными: 115.00 [16:23:03]line Безнал.: 0.00 [16:23:03]line Место: АЗС № 106 "Партнер Нефть" [16:23:03]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [16:23:03]line СНО: Общий режим [16:23:03]line Чек 31 21.04.2024 16:23 [16:23:03]line Смена: 281 ФФД: 1.0 [16:23:03]line ЗНМ: 0300000004 [16:23:03]line РНМ: 0000000000100748 [16:23:03]line Версия ККМ: 001 [16:23:03]line ФМ: 0000000000965685 [16:23:03]line ФД: 12619 [16:23:03]line ФПД: 38702094121833 [16:23:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T162302&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12619&fm=38702094121833&tin=02508201610067®Number=0000000000100748&sum=11500 [16:23:03]line 0 [16:23:03]OFD Sender: Processing packet 12619 [packets to send 7, broken 6] [16:23:03]ProducePacketName [16:23:03]name=ofd_packets/00012619 [16:23:03]OFD Sender: To server: pG, [16:23:03]CommunicateWithHost lk.salyk.kg:30040 [16:23:03]ConnectInit lk.salyk.kg [16:23:03]written 0, free lines is 4095 [16:23:03]Connected sock=10 [16:23:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 3C 01 00 00 BE 15 34 01 1F 99 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 66 3D 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 4B 31 00 00 35 04 06 00 23 33 08 92 7B 69 B0 FC 93 77 EC AE 7A B6 [16:23:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 95 CB 47 00 1B 9A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 4B 31 00 00 F4 03 04 00 E7 E5 24 66 B6 04 01 00 00 57 29 EC 36 AF 86 1B FE [16:23:03]CommunicateWithHost err = 0 [16:23:03]CheckOFDResponse [16:23:03]1017 (14) - 77093643461234 [16:23:03]1041 (16) - 0000000000965685 [16:23:03]1040 (4) - 12619 [16:23:03]1012 (4) - 21.04.2024 10:09 [16:23:03]1206 (1) - 0 [16:23:03]OFD Sender: Remove packet 12619 [16:23:03]ProducePacketName [16:23:03]name=ofd_packets/00012619 [16:23:03]NVStorageDeleteData [16:23:03]Write to MH i2c: 01 00 00 84 05 89 [16:23:03]Write i2c OK [16:23:03]MH_I2C_Read... [16:23:03]Read from MH i2c: 01 [16:23:03]MH_I2C_Read... [16:23:03]Read from MH i2c: 01 07 00 [16:23:03]MH_I2C_Read... [16:23:03]Read from MH i2c: 01 07 00 84 05 00 00 00 00 00 EB 0C 87 [16:23:03]RasterBufferAndPrint [16:23:03]line [16:23:03]line [16:23:03]line [16:23:03]line [16:23:03]line [16:23:03]written 0, free lines is 3313 [16:23:03]MH_Cut [16:23:03]Write to MH i2c: D1 01 00 8B 05 01 62 [16:23:03]Write i2c OK [16:23:03]MH_I2C_Read... [16:23:03]Read from MH i2c: D1 [16:23:03]MH_I2C_Read... [16:23:03]Read from MH i2c: D1 01 00 [16:23:03]MH_I2C_Read... [16:23:03]Read from MH i2c: D1 01 00 8B 05 00 61 [16:23:03]Write to MH i2c: 01 00 00 8C 05 91 [16:23:03]Write i2c OK [16:23:03]MH_I2C_Read... [16:23:04]OFD Sender: No OFD packet to send [16:23:04]*** Cut start [16:23:04]*** Partial cut [16:23:04]*** CUTSNS_PIN = 1 [16:23:04]*** CUTSNS_PIN = 0 [16:23:05]*** Brake cut motor [16:23:05]Read from MH i2c: 01 [16:23:05]MH_I2C_Read... [16:23:05]*** Stop cut motor [16:23:05]*** Cut end [16:23:05]Read from MH i2c: 01 07 00 [16:23:05]MH_I2C_Read... [16:23:05]Read from MH i2c: 01 07 00 8C 05 00 00 00 00 00 FF 0F A6 [16:23:05]process_action close_receipt done [16:23:05]requested_data is exist [16:23:05]produce_requested_data [16:23:05]requested_item fm.sn is exist - process it [16:23:05]wFMCommunicate request_size=4 [16:23:05]MH_SAM_APDU [16:23:05]CAPDU: 80 11 00 00 [16:23:05]Write to MH i2c: E2 08 00 8D 05 80 11 00 00 00 00 00 00 0C [16:23:05]Write i2c OK [16:23:05]MH_I2C_Read... [16:23:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:23:05]Read from MH i2c: E2 [16:23:05]MH_I2C_Read... [16:23:05]Read from MH i2c: E2 17 00 [16:23:05]MH_I2C_Read... [16:23:05]Read from MH i2c: E2 17 00 8D 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 66 [16:23:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [16:23:05]wFMCommunicate OK [16:23:05]requested_item fd.num is exist - process it [16:23:05]SAM_PROTO_GetFieldsCounters [16:23:05]wFMCommunicate request_size=4 [16:23:05]MH_SAM_APDU [16:23:05]CAPDU: 80 13 00 00 [16:23:05]Write to MH i2c: E2 08 00 8E 05 80 13 00 00 00 00 00 00 0F [16:23:05]Write i2c OK [16:23:05]MH_I2C_Read... [16:23:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:23:05]Read from MH i2c: E2 [16:23:05]MH_I2C_Read... [16:23:05]Read from MH i2c: E2 62 00 [16:23:05]MH_I2C_Read... [16:23:05]Read from MH i2c: E2 62 00 8E 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 4B 31 00 00 0E 04 04 00 19 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 25 [16:23:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 4B 31 00 00 0E 04 04 00 19 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 [16:23:05]wFMCommunicate OK [16:23:05]SAM_PROTO_GetFieldsCounters done [16:23:05]requested_item shift.num is exist - process it [16:23:05]requested_item shift.opened is exist - process it [16:23:05]req_shift_opened [16:23:05]FM_GetShiftState [16:23:05]SAM_PROTO_GetShiftState [16:23:05]wFMCommunicate request_size=4 [16:23:05]MH_SAM_APDU [16:23:05]CAPDU: 80 13 01 00 [16:23:05]Write to MH i2c: E2 08 00 8F 05 80 13 01 00 00 00 00 00 11 [16:23:05]Write i2c OK [16:23:05]MH_I2C_Read... [16:23:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:23:05]Read from MH i2c: E2 [16:23:05]MH_I2C_Read... [16:23:05]Read from MH i2c: E2 0E 00 [16:23:05]MH_I2C_Read... [16:23:05]Read from MH i2c: E2 0E 00 8F 05 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 69 [16:23:05]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [16:23:05]wFMCommunicate OK [16:23:05]SAM_PROTO_GetShiftState done [16:23:05]FM_GetShiftState done [16:23:05]req_shift_opened done [16:23:05]requested_item shift.open_date is exist - process it [16:23:05]req_shift_open_date [16:23:05]req_shift_open_date done [16:23:05]produce_requested_data done [16:23:05]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12619,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [16:23:05]process_action_free close_receipt [16:23:05]json_value_free [16:23:05]json_value_free done [16:23:05]process_json_proto returns [16:23:05]Send response to host [16:23:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12619,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [16:23:05]free response buf [16:23:05]execute_script done [16:23:05]execute_script returns [16:23:05]free content buf [16:23:05]Sock 9.Close socket [16:23:05]Sock 9.Thread stoped [16:23:09]OFD Sender: No OFD packet to send [16:23:14]OFD Sender: No OFD packet to send [16:23:19]OFD Sender: No OFD packet to send [16:23:24]OFD Sender: No OFD packet to send [16:23:29]OFD Sender: No OFD packet to send [16:23:34]OFD Sender: No OFD packet to send [16:23:39]OFD Sender: No OFD packet to send [16:23:44]OFD Sender: No OFD packet to send [16:23:49]OFD Sender: No OFD packet to send [16:23:54]OFD Sender: No OFD packet to send [16:23:59]OFD Sender: No OFD packet to send [16:24:04]OFD Sender: No OFD packet to send [16:24:09]OFD Sender: No OFD packet to send [16:24:14]OFD Sender: No OFD packet to send [16:24:19]OFD Sender: No OFD packet to send [16:24:24]OFD Sender: No OFD packet to send [16:24:29]OFD Sender: No OFD packet to send [16:24:34]OFD Sender: No OFD packet to send [16:24:39]OFD Sender: No OFD packet to send [16:24:44]OFD Sender: No OFD packet to send [16:24:49]OFD Sender: No OFD packet to send [16:24:54]OFD Sender: No OFD packet to send [16:24:59]OFD Sender: No OFD packet to send [16:25:04]OFD Sender: No OFD packet to send [16:25:09]OFD Sender: No OFD packet to send [16:25:14]OFD Sender: No OFD packet to send [16:25:19]OFD Sender: No OFD packet to send [16:25:24]OFD Sender: No OFD packet to send [16:25:29]OFD Sender: No OFD packet to send [16:25:34]OFD Sender: No OFD packet to send [16:25:39]OFD Sender: No OFD packet to send [16:25:42]accept exits with 7 [16:25:42]New connection [16:25:42]New thread 3067190628 created [16:25:42]Thread 3067047268 joined [16:25:42]Waiting for new connection... [16:25:42] Sock 7.Parse request [16:25:42]Sock 7.Check first char [16:25:42]Sock 7.First char is OK [16:25:42]request: POST /json_proto HTTP/1.0 [16:25:42]Method: POST [16:25:42]URL: /json_proto [16:25:42]Method is POST - this is cgi request [16:25:42]url: /json_proto [16:25:42]query_string will be loaded in cgi processing [16:25:42]execute_cgi json_proto POST (null) [16:25:42]execute_cgi path=json_proto method=POST [16:25:42]POST find Content-Length [16:25:42]Host: 172.17.62.6:8080 [16:25:42]Content-Length: 604 [16:25:42]Content-Type: application/json [16:25:42] [16:25:42]POST finish read [16:25:42]Found Content-Length = 604 [16:25:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32892", "tax_sys" : 0, "items" : [ { "code": "42113270", "name": "\u0416\u0435\u0432 Orbit \u0430\u0440\u0431\u0443\u0437", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 35.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:25:42]execute_script... [16:25:42]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32892", "tax_sys" : 0, "items" : [ { "code": "42113270", "name": "\u0416\u0435\u0432 Orbit \u0430\u0440\u0431\u0443\u0437", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 35.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:25:42]POST & json_proto [16:25:42]process_json_proto [16:25:42]json parsed OK: [16:25:42]protocol is kg_v1.0 [16:25:42]action value=close_receipt [16:25:42]process_action close_receipt [16:25:42]cmd_close_receipt [16:25:42]MH_GetDate [16:25:42]Write to MH i2c: F0 00 00 90 05 84 [16:25:42]Write i2c OK [16:25:42]MH_I2C_Read... [16:25:42]Read from MH i2c: F0 [16:25:42]MH_I2C_Read... [16:25:42]Read from MH i2c: F0 09 00 [16:25:42]MH_I2C_Read... [16:25:42]Read from MH i2c: F0 09 00 90 05 00 07 3E 25 66 61 69 D2 64 5D [16:25:42]GetLastDocTimeStamp 1713716582 [16:25:42]current date 1713716743 [16:25:42]FM_GetShiftState [16:25:42]SAM_PROTO_GetShiftState [16:25:42]wFMCommunicate request_size=4 [16:25:42]MH_SAM_APDU [16:25:42]CAPDU: 80 13 01 00 [16:25:42]Write to MH i2c: E2 08 00 91 05 80 13 01 00 00 00 00 00 13 [16:25:42]Write i2c OK [16:25:42]MH_I2C_Read... [16:25:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:25:42]Read from MH i2c: E2 [16:25:42]MH_I2C_Read... [16:25:42]Read from MH i2c: E2 0E 00 [16:25:42]MH_I2C_Read... [16:25:42]Read from MH i2c: E2 0E 00 91 05 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 6B [16:25:42]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [16:25:42]wFMCommunicate OK [16:25:42]SAM_PROTO_GetShiftState done [16:25:42]FM_GetShiftState done [16:25:42]opened in 1713658727 [16:25:42]opened+sec_in_day 1713745127 [16:25:42]quantity*price = 3500 [16:25:42]sum+1 = 3501 [16:25:42]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 35.00 НСП 1% : 0.31 НДС 12% : 3.72 Наличными: 35.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 32 21.04.2024 16:25 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12620 ФПД: 280720982609216 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T162543&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12620&fm=280720982609216&tin=02508201610067®Number=0000000000100748&sum=3500 0 [16:25:43]StoreToDocumentArchive [16:25:43]shift 281 fd 12620 [16:25:43]save to /storage/0281/doc_00012620 [16:25:43]save last doc name /storage/0281/doc_00012620 to /storage/kkm_last_doc_name [16:25:43]save OK [16:25:43]Clear old archive folders... [16:25:43]ProcessDocumentItem done err = 0, tmpTLVsize=260 [16:25:43]tlvbuf is 01A227B0 [16:25:43]SAM_PROTO_ClearQueue [16:25:43]wFMCommunicate request_size=4 [16:25:43]MH_SAM_APDU [16:25:43]CAPDU: 80 09 00 00 [16:25:43]Write to MH i2c: E2 08 00 9E 05 80 09 00 00 00 00 00 00 15 [16:25:43]Write i2c OK [16:25:43]MH_I2C_Read... [16:25:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:25:43]Read from MH i2c: E2 [16:25:43]MH_I2C_Read... [16:25:43]Read from MH i2c: E2 03 00 [16:25:43]MH_I2C_Read... [16:25:43]Read from MH i2c: E2 03 00 9E 05 00 90 00 17 [16:25:43]RAPDU: 90 00 [16:25:43]wFMCommunicate OK [16:25:43]SAM_PROTO_ClearQueue done [16:25:43]KKMCreateOFDPacket [16:25:43]OFDProtocolAddRootSTLVToBuf [16:25:43]FM_MakeSignedData [16:25:43]FM_MakeSignedData [16:25:43]SAM_PROTO_SignData [16:25:43]wFMCommunicate request_size=4 [16:25:43]MH_SAM_APDU [16:25:43]CAPDU: 80 0D 01 02 [16:25:43]Write to MH i2c: E2 08 00 9F 05 80 0D 01 02 00 00 00 00 1D [16:25:43]Write i2c OK [16:25:43]MH_I2C_Read... [16:25:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:25:43]Read from MH i2c: E2 [16:25:43]MH_I2C_Read... [16:25:43]Read from MH i2c: E2 03 00 [16:25:43]MH_I2C_Read... [16:25:43]Read from MH i2c: E2 03 00 9F 05 00 90 00 18 [16:25:43]RAPDU: 90 00 [16:25:43]wFMCommunicate OK [16:25:43]wFMCommunicate request_size=255 [16:25:43]MH_SAM_APDU [16:25:43]CAPDU: 80 0D 02 02 FA 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 0D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 07 3E 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 [16:25:43]Write to MH i2c: E2 02 01 A0 05 80 0D 02 02 FA 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 0D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 07 3E 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 00 00 73 [16:25:43]Write i2c OK [16:25:43]MH_I2C_Read... [16:25:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:25:44]Read from MH i2c: E2 [16:25:44]MH_I2C_Read... [16:25:44]Read from MH i2c: E2 03 00 [16:25:44]MH_I2C_Read... [16:25:44]Read from MH i2c: E2 03 00 A0 05 00 90 00 19 [16:25:44]RAPDU: 90 00 [16:25:44]wFMCommunicate OK [16:25:44]wFMCommunicate request_size=19 [16:25:44]MH_SAM_APDU [16:25:44]CAPDU: 80 0D 02 02 0E 4C 31 00 00 35 04 06 00 FF 50 72 73 0D 40 [16:25:44]Write to MH i2c: E2 16 00 A1 05 80 0D 02 02 0E 00 4C 31 00 00 35 04 06 00 FF 50 72 73 0D 40 00 00 79 [16:25:44]Write i2c OK [16:25:44]MH_I2C_Read... [16:25:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:25:44]Read from MH i2c: E2 [16:25:44]MH_I2C_Read... [16:25:44]Read from MH i2c: E2 03 00 [16:25:44]MH_I2C_Read... [16:25:44]Read from MH i2c: E2 03 00 A1 05 00 90 00 1A [16:25:44]RAPDU: 90 00 [16:25:44]wFMCommunicate OK [16:25:44]wFMCommunicate request_size=4 [16:25:44]MH_SAM_APDU [16:25:44]CAPDU: 80 0D 03 02 [16:25:44]Write to MH i2c: E2 08 00 A2 05 80 0D 03 02 00 00 00 00 22 [16:25:44]Write i2c OK [16:25:44]MH_I2C_Read... [16:25:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:25:44]Read from MH i2c: E2 [16:25:44]MH_I2C_Read... [16:25:44]Read from MH i2c: E2 0B 00 [16:25:44]MH_I2C_Read... [16:25:44]Read from MH i2c: E2 0B 00 A2 05 00 F6 BA A2 BA F0 95 80 97 90 00 CB [16:25:44]RAPDU: F6 BA A2 BA F0 95 80 97 90 00 [16:25:44]wFMCommunicate OK [16:25:44]SAM_PROTO_SignData done [16:25:44]FM_MakeSignedData done [16:25:44]CreateOFDProtocolMessage [16:25:44]wFMCommunicate request_size=4 [16:25:44]MH_SAM_APDU [16:25:44]CAPDU: 80 11 00 00 [16:25:44]Write to MH i2c: E2 08 00 A3 05 80 11 00 00 00 00 00 00 22 [16:25:44]Write i2c OK [16:25:44]MH_I2C_Read... [16:25:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:25:44]Read from MH i2c: E2 [16:25:44]MH_I2C_Read... [16:25:44]Read from MH i2c: E2 17 00 [16:25:44]MH_I2C_Read... [16:25:44]Read from MH i2c: E2 17 00 A3 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 7C [16:25:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [16:25:44]wFMCommunicate OK [16:25:44]CreateOFDProtocolMessage done [16:25:44]OFDSenderStorePacket 12620 [16:25:44]StoreOFDPacket docnum=12620 [16:25:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 18 01 00 00 87 C4 10 01 A1 EA 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 0D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 07 3E 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 4C 31 00 00 35 04 06 00 FF 50 72 73 0D 40 F6 BA A2 BA F0 95 80 97 [16:25:44]CheckFolder [16:25:44]dirname=/storage/ofd_packets [16:25:44]CheckFolder done [16:25:44]ProducePacketName [16:25:44]name=ofd_packets/00012620 [16:25:44]NVStorageSaveData ofd_packets/00012620 [16:25:44]File name is /storage/ofd_packets/00012620 [16:25:44]Write 310 bytes [16:25:44]NVStorageSaveData done [16:25:44]OFDSenderStorePacket done [16:25:44]KKMCreateOFDPacket done [16:25:44]NVStorageSaveData kkm_last_timestamp [16:25:44]File name is /storage/kkm_last_timestamp [16:25:44]Write 4 bytes [16:25:44]NVStorageSaveData done [16:25:44]ExternCall_PrintAddStr [16:25:44]wPrintStart [16:25:44]Write to MH i2c: 01 00 00 A4 05 A9 [16:25:44]Write i2c OK [16:25:44]MH_I2C_Read... [16:25:44]Read from MH i2c: 01 [16:25:44]MH_I2C_Read... [16:25:44]Read from MH i2c: 01 07 00 [16:25:44]MH_I2C_Read... [16:25:44]Read from MH i2c: 01 07 00 A4 05 00 00 00 00 00 FF 0F BE [16:25:44]RasterBufferAndPrint [16:25:44]line Счет N : (3)32892 [16:25:44]line ИНН: 02508201610067 [16:25:44]line Контрольно-Кассовый Чек [16:25:44]line ПРОДАЖА [16:25:44]line Товар: 42113270 [16:25:44]line Жев Orbit арбуз [16:25:44]line 1.000 * 35.00 [16:25:44]line = 35.00 [16:25:44]line НДС 12% НСП 1% [16:25:44]line > о реализуемом товаре [16:25:44]line ИТОГО: 35.00 [16:25:44]line НСП 1% : 0.31 [16:25:44]line НДС 12% : 3.72 [16:25:44]line Наличными: 35.00 [16:25:44]line Безнал.: 0.00 [16:25:44]line Место: АЗС № 106 "Партнер Нефть" [16:25:44]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [16:25:44]line СНО: Общий режим [16:25:44]line Чек 32 21.04.2024 16:25 [16:25:44]line Смена: 281 ФФД: 1.0 [16:25:44]line ЗНМ: 0300000004 [16:25:44]line РНМ: 0000000000100748 [16:25:44]line Версия ККМ: 001 [16:25:44]line ФМ: 0000000000965685 [16:25:44]line ФД: 12620 [16:25:44]line ФПД: 280720982609216 [16:25:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T162543&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12620&fm=280720982609216&tin=02508201610067®Number=0000000000100748&sum=3500 [16:25:44]line 0 [16:25:44]OFD Sender: Processing packet 12620 [packets to send 7, broken 6] [16:25:44]ProducePacketName [16:25:44]name=ofd_packets/00012620 [16:25:44]OFD Sender: To server: pG, [16:25:44]CommunicateWithHost lk.salyk.kg:30040 [16:25:44]ConnectInit lk.salyk.kg [16:25:44]written 0, free lines is 4095 [16:25:44]Connected sock=10 [16:25:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 18 01 00 00 87 C4 10 01 A1 EA 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 0D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 07 3E 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 4C 31 00 00 35 04 06 00 FF 50 72 73 0D 40 F6 BA A2 BA F0 95 80 97 [16:25:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 8A 2D 47 00 EA 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 39 36 35 36 38 35 10 04 04 00 4C 31 00 00 F4 03 04 00 88 E6 24 66 B6 04 01 00 00 94 D8 3D 91 3C 37 33 02 [16:25:44]CommunicateWithHost err = 0 [16:25:44]CheckOFDResponse [16:25:44]1017 (14) - 77093643461234 [16:25:44]1041 (16) - 0000000000965685 [16:25:44]1040 (4) - 12620 [16:25:44]1012 (4) - 21.04.2024 10:12 [16:25:44]1206 (1) - 0 [16:25:44]OFD Sender: Remove packet 12620 [16:25:44]ProducePacketName [16:25:44]name=ofd_packets/00012620 [16:25:44]NVStorageDeleteData [16:25:44]Write to MH i2c: 01 00 00 CB 05 D0 [16:25:44]Write i2c OK [16:25:44]MH_I2C_Read... [16:25:44]Read from MH i2c: 01 [16:25:44]MH_I2C_Read... [16:25:44]Read from MH i2c: 01 07 00 [16:25:44]MH_I2C_Read... [16:25:44]Read from MH i2c: 01 07 00 CB 05 00 00 00 00 00 1B 0D FF [16:25:44]RasterBufferAndPrint [16:25:44]line [16:25:44]line [16:25:44]line [16:25:44]line [16:25:44]line [16:25:44]written 0, free lines is 3361 [16:25:44]MH_Cut [16:25:44]Write to MH i2c: D1 01 00 D2 05 01 A9 [16:25:44]Write i2c OK [16:25:44]MH_I2C_Read... [16:25:45]Read from MH i2c: D1 [16:25:45]MH_I2C_Read... [16:25:45]Read from MH i2c: D1 01 00 [16:25:45]MH_I2C_Read... [16:25:45]Read from MH i2c: D1 01 00 D2 05 00 A8 [16:25:45]Write to MH i2c: 01 00 00 D3 05 D8 [16:25:45]Write i2c OK [16:25:45]MH_I2C_Read... [16:25:45]OFD Sender: No OFD packet to send [16:25:45]*** Cut start [16:25:45]*** Partial cut [16:25:45]*** CUTSNS_PIN = 1 [16:25:45]*** CUTSNS_PIN = 0 [16:25:46]*** Brake cut motor [16:25:46]Read from MH i2c: 01 [16:25:46]MH_I2C_Read... [16:25:46]*** Stop cut motor [16:25:46]*** Cut end [16:25:46]Read from MH i2c: 01 07 00 [16:25:46]MH_I2C_Read... [16:25:46]Read from MH i2c: 01 07 00 D3 05 00 00 00 00 00 FF 0F ED [16:25:46]process_action close_receipt done [16:25:46]requested_data is exist [16:25:46]produce_requested_data [16:25:46]requested_item fm.sn is exist - process it [16:25:46]wFMCommunicate request_size=4 [16:25:46]MH_SAM_APDU [16:25:46]CAPDU: 80 11 00 00 [16:25:46]Write to MH i2c: E2 08 00 D4 05 80 11 00 00 00 00 00 00 53 [16:25:46]Write i2c OK [16:25:46]MH_I2C_Read... [16:25:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:25:46]Read from MH i2c: E2 [16:25:46]MH_I2C_Read... [16:25:46]Read from MH i2c: E2 17 00 [16:25:46]MH_I2C_Read... [16:25:46]Read from MH i2c: E2 17 00 D4 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 AD [16:25:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [16:25:46]wFMCommunicate OK [16:25:46]requested_item fd.num is exist - process it [16:25:46]SAM_PROTO_GetFieldsCounters [16:25:46]wFMCommunicate request_size=4 [16:25:46]MH_SAM_APDU [16:25:46]CAPDU: 80 13 00 00 [16:25:46]Write to MH i2c: E2 08 00 D5 05 80 13 00 00 00 00 00 00 56 [16:25:46]Write i2c OK [16:25:46]MH_I2C_Read... [16:25:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:25:46]Read from MH i2c: E2 [16:25:46]MH_I2C_Read... [16:25:46]Read from MH i2c: E2 62 00 [16:25:46]MH_I2C_Read... [16:25:46]Read from MH i2c: E2 62 00 D5 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 4C 31 00 00 0E 04 04 00 19 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 70 [16:25:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 4C 31 00 00 0E 04 04 00 19 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 [16:25:46]wFMCommunicate OK [16:25:46]SAM_PROTO_GetFieldsCounters done [16:25:46]requested_item shift.num is exist - process it [16:25:46]requested_item shift.opened is exist - process it [16:25:46]req_shift_opened [16:25:46]FM_GetShiftState [16:25:46]SAM_PROTO_GetShiftState [16:25:46]wFMCommunicate request_size=4 [16:25:46]MH_SAM_APDU [16:25:46]CAPDU: 80 13 01 00 [16:25:46]Write to MH i2c: E2 08 00 D6 05 80 13 01 00 00 00 00 00 58 [16:25:46]Write i2c OK [16:25:46]MH_I2C_Read... [16:25:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:25:46]Read from MH i2c: E2 [16:25:46]MH_I2C_Read... [16:25:46]Read from MH i2c: E2 0E 00 [16:25:46]MH_I2C_Read... [16:25:46]Read from MH i2c: E2 0E 00 D6 05 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 B0 [16:25:46]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [16:25:46]wFMCommunicate OK [16:25:46]SAM_PROTO_GetShiftState done [16:25:46]FM_GetShiftState done [16:25:46]req_shift_opened done [16:25:46]requested_item shift.open_date is exist - process it [16:25:46]req_shift_open_date [16:25:46]req_shift_open_date done [16:25:46]produce_requested_data done [16:25:46]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12620,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [16:25:46]process_action_free close_receipt [16:25:46]json_value_free [16:25:46]json_value_free done [16:25:46]process_json_proto returns [16:25:46]Send response to host [16:25:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12620,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [16:25:46]free response buf [16:25:46]execute_script done [16:25:46]execute_script returns [16:25:46]free content buf [16:25:46]Sock 7.Close socket [16:25:46]Sock 7.Thread stoped [16:25:50]OFD Sender: No OFD packet to send [16:25:55]OFD Sender: No OFD packet to send [16:26:00]OFD Sender: No OFD packet to send [16:26:05]OFD Sender: No OFD packet to send [16:26:10]OFD Sender: No OFD packet to send [16:26:15]OFD Sender: No OFD packet to send [16:26:20]OFD Sender: No OFD packet to send [16:26:25]OFD Sender: No OFD packet to send [16:26:30]OFD Sender: No OFD packet to send [16:26:35]OFD Sender: No OFD packet to send [16:26:40]OFD Sender: No OFD packet to send [16:26:45]OFD Sender: No OFD packet to send [16:26:50]OFD Sender: No OFD packet to send [16:26:55]OFD Sender: No OFD packet to send [16:27:00]OFD Sender: No OFD packet to send [16:27:05]OFD Sender: No OFD packet to send [16:27:10]OFD Sender: No OFD packet to send [16:27:15]OFD Sender: No OFD packet to send [16:27:20]OFD Sender: No OFD packet to send [16:27:25]OFD Sender: No OFD packet to send [16:27:30]OFD Sender: No OFD packet to send [16:27:35]OFD Sender: No OFD packet to send [16:27:40]OFD Sender: No OFD packet to send [16:27:45]OFD Sender: No OFD packet to send [16:27:50]OFD Sender: No OFD packet to send [16:27:55]OFD Sender: No OFD packet to send [16:28:00]OFD Sender: No OFD packet to send [16:28:05]OFD Sender: No OFD packet to send [16:28:10]OFD Sender: No OFD packet to send [16:28:15]OFD Sender: No OFD packet to send [16:28:20]OFD Sender: No OFD packet to send [16:28:25]OFD Sender: No OFD packet to send [16:28:30]OFD Sender: No OFD packet to send [16:28:35]OFD Sender: No OFD packet to send [16:28:40]OFD Sender: No OFD packet to send [16:28:45]OFD Sender: No OFD packet to send [16:28:50]OFD Sender: No OFD packet to send [16:28:55]OFD Sender: No OFD packet to send [16:29:00]OFD Sender: No OFD packet to send [16:29:05]OFD Sender: No OFD packet to send [16:29:10]OFD Sender: No OFD packet to send [16:29:15]OFD Sender: No OFD packet to send [16:29:20]OFD Sender: No OFD packet to send [16:29:25]OFD Sender: No OFD packet to send [16:29:30]OFD Sender: No OFD packet to send [16:29:35]OFD Sender: No OFD packet to send [16:29:40]OFD Sender: No OFD packet to send [16:29:45]OFD Sender: No OFD packet to send [16:29:50]OFD Sender: No OFD packet to send [16:29:55]OFD Sender: No OFD packet to send [16:30:00]OFD Sender: No OFD packet to send [16:30:05]OFD Sender: No OFD packet to send [16:30:10]OFD Sender: No OFD packet to send [16:30:15]OFD Sender: No OFD packet to send [16:30:20]OFD Sender: No OFD packet to send [16:30:25]OFD Sender: No OFD packet to send [16:30:30]OFD Sender: No OFD packet to send [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:36:00]OFD Sender: No OFD packet to send [16:36:05]OFD Sender: No OFD packet to send [16:36:10]OFD Sender: No OFD packet to send [16:36:15]OFD Sender: No OFD packet to send [16:36:20]OFD Sender: No OFD packet to send [16:36:25]OFD Sender: No OFD packet to send [16:36:30]OFD Sender: No OFD packet to send [16:36:35]OFD Sender: No OFD packet to send [16:36:40]OFD Sender: No OFD packet to send [16:36:45]OFD Sender: No OFD packet to send [16:36:50]OFD Sender: No OFD packet to send [16:36:55]OFD Sender: No OFD packet to send [16:37:00]OFD Sender: No OFD packet to send [16:37:05]OFD Sender: No OFD packet to send [16:37:10]OFD Sender: No OFD packet to send [16:37:15]OFD Sender: No OFD packet to send [16:37:20]OFD Sender: No OFD packet to send [16:37:25]OFD Sender: No OFD packet to send [16:37:30]OFD Sender: No OFD packet to send [16:37:35]OFD Sender: No OFD packet to send [16:37:40]OFD Sender: No OFD packet to send [16:37:45]OFD Sender: No OFD packet to send [16:37:51]OFD Sender: No OFD packet to send [16:37:56]OFD Sender: No OFD packet to send [16:38:01]OFD Sender: No OFD packet to send [16:38:06]OFD Sender: No OFD packet to send [16:38:11]OFD Sender: No OFD packet to send [16:38:16]OFD Sender: No OFD packet to send [16:38:21]OFD Sender: No OFD packet to send [16:38:26]OFD Sender: No OFD packet to send [16:38:31]OFD Sender: No OFD packet to send [16:38:36]OFD Sender: No OFD packet to send [16:38:41]OFD Sender: No OFD packet to send [16:38:46]OFD Sender: No OFD packet to send [16:38:51]OFD Sender: No OFD packet to send [16:38:56]OFD Sender: No OFD packet to send [16:39:01]OFD Sender: No OFD packet to send [16:39:06]OFD Sender: No OFD packet to send [16:39:11]OFD Sender: No OFD packet to send [16:39:16]OFD Sender: No OFD packet to send [16:39:21]OFD Sender: No OFD packet to send [16:39:26]OFD Sender: No OFD packet to send [16:39:31]OFD Sender: No OFD packet to send [16:39:36]OFD Sender: No OFD packet to send [16:39:41]OFD Sender: No OFD packet to send [16:39:46]OFD Sender: No OFD packet to send [16:39:51]OFD Sender: No OFD packet to send [16:39:56]OFD Sender: No OFD packet to send [16:40:01]OFD Sender: No OFD packet to send [16:40:06]OFD Sender: No OFD packet to send [16:40:11]OFD Sender: No OFD packet to send [16:40:16]OFD Sender: No OFD packet to send [16:40:21]OFD Sender: No OFD packet to send [16:40:26]OFD Sender: No OFD packet to send [16:40:31]OFD Sender: No OFD packet to send [16:40:36]OFD Sender: No OFD packet to send [16:40:41]OFD Sender: No OFD packet to send [16:40:46]OFD Sender: No OFD packet to send [16:40:51]OFD Sender: No OFD packet to send [16:40:56]OFD Sender: No OFD packet to send [16:41:01]OFD Sender: No OFD packet to send [16:41:06]OFD Sender: No OFD packet to send [16:41:11]OFD Sender: No OFD packet to send [16:41:16]OFD Sender: No OFD packet to send [16:41:21]OFD Sender: No OFD packet to send [16:41:26]OFD Sender: No OFD packet to send [16:41:31]OFD Sender: No OFD packet to send [16:41:36]OFD Sender: No OFD packet to send [16:41:41]OFD Sender: No OFD packet to send [16:41:46]OFD Sender: No OFD packet to send [16:41:51]OFD Sender: No OFD packet to send [16:41:51]accept exits with 9 [16:41:51]New connection [16:41:51]New thread 3067047268 created [16:41:51]Thread 3067190628 joined [16:41:51]Waiting for new connection... [16:41:51] Sock 9.Parse request [16:41:51]Sock 9.Check first char [16:41:51]Sock 9.First char is OK [16:41:51]request: POST /json_proto HTTP/1.0 [16:41:51]Method: POST [16:41:51]URL: /json_proto [16:41:51]Method is POST - this is cgi request [16:41:51]url: /json_proto [16:41:51]query_string will be loaded in cgi processing [16:41:51]execute_cgi json_proto POST (null) [16:41:51]execute_cgi path=json_proto method=POST [16:41:51]POST find Content-Length [16:41:51]Host: 172.17.62.6:8080 [16:41:51]Content-Length: 625 [16:41:51]Content-Type: application/json [16:41:51] [16:41:51]POST finish read [16:41:51]Found Content-Length = 625 [16:41:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32893", "tax_sys" : 0, "items" : [ { "code": "4640030092499", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE SENSE Himalaya", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:41:51]execute_script... [16:41:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32893", "tax_sys" : 0, "items" : [ { "code": "4640030092499", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE SENSE Himalaya", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:41:51]POST & json_proto [16:41:51]process_json_proto [16:41:51]json parsed OK: [16:41:51]protocol is kg_v1.0 [16:41:51]action value=close_receipt [16:41:51]process_action close_receipt [16:41:51]cmd_close_receipt [16:41:51]MH_GetDate [16:41:51]Write to MH i2c: F0 00 00 D7 05 CB [16:41:51]Write i2c OK [16:41:51]MH_I2C_Read... [16:41:51]Read from MH i2c: F0 [16:41:51]MH_I2C_Read... [16:41:51]Read from MH i2c: F0 09 00 [16:41:51]MH_I2C_Read... [16:41:51]Read from MH i2c: F0 09 00 D7 05 00 D0 41 25 66 61 69 D2 64 70 [16:41:51]GetLastDocTimeStamp 1713716743 [16:41:51]current date 1713717712 [16:41:51]FM_GetShiftState [16:41:51]SAM_PROTO_GetShiftState [16:41:51]wFMCommunicate request_size=4 [16:41:51]MH_SAM_APDU [16:41:51]CAPDU: 80 13 01 00 [16:41:51]Write to MH i2c: E2 08 00 D8 05 80 13 01 00 00 00 00 00 5A [16:41:51]Write i2c OK [16:41:51]MH_I2C_Read... [16:41:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:41:51]Read from MH i2c: E2 [16:41:51]MH_I2C_Read... [16:41:51]Read from MH i2c: E2 0E 00 [16:41:51]MH_I2C_Read... [16:41:51]Read from MH i2c: E2 0E 00 D8 05 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 B2 [16:41:51]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [16:41:51]wFMCommunicate OK [16:41:51]SAM_PROTO_GetShiftState done [16:41:51]FM_GetShiftState done [16:41:51]opened in 1713658727 [16:41:51]opened+sec_in_day 1713745127 [16:41:51]quantity*price = 13800 [16:41:51]sum+1 = 13801 [16:41:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 138.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 33 21.04.2024 16:41 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12621 ФПД: 189946467400343 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T164152&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12621&fm=189946467400343&tin=02508201610067®Number=0000000000100748&sum=13800 0 [16:41:52]StoreToDocumentArchive [16:41:52]shift 281 fd 12621 [16:41:52]save to /storage/0281/doc_00012621 [16:41:52]save last doc name /storage/0281/doc_00012621 to /storage/kkm_last_doc_name [16:41:52]save OK [16:41:52]Clear old archive folders... [16:41:52]ProcessDocumentItem done err = 0, tmpTLVsize=278 [16:41:52]tlvbuf is 01A22680 [16:41:52]SAM_PROTO_ClearQueue [16:41:52]wFMCommunicate request_size=4 [16:41:52]MH_SAM_APDU [16:41:52]CAPDU: 80 09 00 00 [16:41:52]Write to MH i2c: E2 08 00 E5 05 80 09 00 00 00 00 00 00 5C [16:41:52]Write i2c OK [16:41:52]MH_I2C_Read... [16:41:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:41:52]Read from MH i2c: E2 [16:41:52]MH_I2C_Read... [16:41:52]Read from MH i2c: E2 03 00 [16:41:52]MH_I2C_Read... [16:41:52]Read from MH i2c: E2 03 00 E5 05 00 90 00 5E [16:41:52]RAPDU: 90 00 [16:41:52]wFMCommunicate OK [16:41:52]SAM_PROTO_ClearQueue done [16:41:52]KKMCreateOFDPacket [16:41:52]OFDProtocolAddRootSTLVToBuf [16:41:52]FM_MakeSignedData [16:41:52]FM_MakeSignedData [16:41:52]SAM_PROTO_SignData [16:41:52]wFMCommunicate request_size=4 [16:41:52]MH_SAM_APDU [16:41:52]CAPDU: 80 0D 01 02 [16:41:52]Write to MH i2c: E2 08 00 E6 05 80 0D 01 02 00 00 00 00 64 [16:41:52]Write i2c OK [16:41:52]MH_I2C_Read... [16:41:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:41:52]Read from MH i2c: E2 [16:41:52]MH_I2C_Read... [16:41:52]Read from MH i2c: E2 03 00 [16:41:52]MH_I2C_Read... [16:41:52]Read from MH i2c: E2 03 00 E6 05 00 90 00 5F [16:41:52]RAPDU: 90 00 [16:41:52]wFMCommunicate OK [16:41:52]wFMCommunicate request_size=255 [16:41:52]MH_SAM_APDU [16:41:52]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 D0 41 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 [16:41:52]Write to MH i2c: E2 02 01 E7 05 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 D0 41 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 00 00 FB [16:41:52]Write i2c OK [16:41:52]MH_I2C_Read... [16:41:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:41:53]Read from MH i2c: E2 [16:41:53]MH_I2C_Read... [16:41:53]Read from MH i2c: E2 03 00 [16:41:53]MH_I2C_Read... [16:41:53]Read from MH i2c: E2 03 00 E7 05 00 90 00 60 [16:41:53]RAPDU: 90 00 [16:41:53]wFMCommunicate OK [16:41:53]wFMCommunicate request_size=37 [16:41:53]MH_SAM_APDU [16:41:53]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 4D 31 00 00 35 04 06 00 AC C1 5B B7 3A 97 [16:41:53]Write to MH i2c: E2 28 00 E8 05 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 4D 31 00 00 35 04 06 00 AC C1 5B B7 3A 97 00 00 93 [16:41:53]Write i2c OK [16:41:53]MH_I2C_Read... [16:41:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:41:53]Read from MH i2c: E2 [16:41:53]MH_I2C_Read... [16:41:53]Read from MH i2c: E2 03 00 [16:41:53]MH_I2C_Read... [16:41:53]Read from MH i2c: E2 03 00 E8 05 00 90 00 61 [16:41:53]RAPDU: 90 00 [16:41:53]wFMCommunicate OK [16:41:53]wFMCommunicate request_size=4 [16:41:53]MH_SAM_APDU [16:41:53]CAPDU: 80 0D 03 02 [16:41:53]Write to MH i2c: E2 08 00 E9 05 80 0D 03 02 00 00 00 00 69 [16:41:53]Write i2c OK [16:41:53]MH_I2C_Read... [16:41:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:41:53]Read from MH i2c: E2 [16:41:53]MH_I2C_Read... [16:41:53]Read from MH i2c: E2 0B 00 [16:41:53]MH_I2C_Read... [16:41:53]Read from MH i2c: E2 0B 00 E9 05 00 D1 5E 37 DB F3 4E 9D 43 90 00 CC [16:41:53]RAPDU: D1 5E 37 DB F3 4E 9D 43 90 00 [16:41:53]wFMCommunicate OK [16:41:53]SAM_PROTO_SignData done [16:41:53]FM_MakeSignedData done [16:41:53]CreateOFDProtocolMessage [16:41:53]wFMCommunicate request_size=4 [16:41:53]MH_SAM_APDU [16:41:53]CAPDU: 80 11 00 00 [16:41:53]Write to MH i2c: E2 08 00 EA 05 80 11 00 00 00 00 00 00 69 [16:41:53]Write i2c OK [16:41:53]MH_I2C_Read... [16:41:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:41:53]Read from MH i2c: E2 [16:41:53]MH_I2C_Read... [16:41:53]Read from MH i2c: E2 17 00 [16:41:53]MH_I2C_Read... [16:41:53]Read from MH i2c: E2 17 00 EA 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 C3 [16:41:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [16:41:53]wFMCommunicate OK [16:41:53]CreateOFDProtocolMessage done [16:41:53]OFDSenderStorePacket 12621 [16:41:53]StoreOFDPacket docnum=12621 [16:41:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2A 01 00 00 12 8B 22 01 12 D8 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 D0 41 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 4D 31 00 00 35 04 06 00 AC C1 5B B7 3A 97 D1 5E 37 DB F3 4E 9D 43 [16:41:53]CheckFolder [16:41:53]dirname=/storage/ofd_packets [16:41:53]CheckFolder done [16:41:53]ProducePacketName [16:41:53]name=ofd_packets/00012621 [16:41:53]NVStorageSaveData ofd_packets/00012621 [16:41:53]File name is /storage/ofd_packets/00012621 [16:41:53]Write 328 bytes [16:41:53]NVStorageSaveData done [16:41:53]OFDSenderStorePacket done [16:41:53]KKMCreateOFDPacket done [16:41:53]NVStorageSaveData kkm_last_timestamp [16:41:53]File name is /storage/kkm_last_timestamp [16:41:53]Write 4 bytes [16:41:53]NVStorageSaveData done [16:41:53]ExternCall_PrintAddStr [16:41:53]wPrintStart [16:41:53]Write to MH i2c: 01 00 00 EB 05 F0 [16:41:53]Write i2c OK [16:41:53]MH_I2C_Read... [16:41:53]Read from MH i2c: 01 [16:41:53]MH_I2C_Read... [16:41:53]Read from MH i2c: 01 07 00 [16:41:53]MH_I2C_Read... [16:41:53]Read from MH i2c: 01 07 00 EB 05 00 00 00 00 00 FF 0F 05 [16:41:53]RasterBufferAndPrint [16:41:53]line Счет N : (3)32893 [16:41:53]line ИНН: 02508201610067 [16:41:53]line Контрольно-Кассовый Чек [16:41:53]line ПРОДАЖА [16:41:53]line Товар: 4640030092499 [16:41:53]line Сигареты ESSE SENSE Himalaya [16:41:53]line 1.000 * 138.00 [16:41:53]line = 138.00 [16:41:53]line НДС 12% НСП 1% [16:41:53]line > о реализуемом товаре [16:41:53]line ИТОГО: 138.00 [16:41:53]line НСП 1% : 1.22 [16:41:53]line НДС 12% : 14.65 [16:41:53]line Наличными: 138.00 [16:41:53]line Безнал.: 0.00 [16:41:53]line Место: АЗС № 106 "Партнер Нефть" [16:41:53]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [16:41:53]line СНО: Общий режим [16:41:53]line Чек 33 21.04.2024 16:41 [16:41:53]line Смена: 281 ФФД: 1.0 [16:41:53]line ЗНМ: 0300000004 [16:41:53]line РНМ: 0000000000100748 [16:41:53]line Версия ККМ: 001 [16:41:53]line ФМ: 0000000000965685 [16:41:53]line ФД: 12621 [16:41:53]line ФПД: 189946467400343 [16:41:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T164152&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12621&fm=189946467400343&tin=02508201610067®Number=0000000000100748&sum=13800 [16:41:53]line 0 [16:41:53]OFD Sender: Processing packet 12621 [packets to send 7, broken 6] [16:41:53]ProducePacketName [16:41:53]name=ofd_packets/00012621 [16:41:53]OFD Sender: To server: pG, [16:41:53]CommunicateWithHost lk.salyk.kg:30040 [16:41:53]ConnectInit lk.salyk.kg [16:41:53]written 0, free lines is 4095 [16:41:54]Write to MH i2c: 01 00 00 13 06 19 [16:41:54]Write i2c OK [16:41:54]MH_I2C_Read... [16:41:54]Read from MH i2c: 01 [16:41:54]MH_I2C_Read... [16:41:54]Read from MH i2c: 01 07 00 [16:41:54]MH_I2C_Read... [16:41:54]Read from MH i2c: 01 07 00 13 06 00 00 00 00 00 EE 0C 1A [16:41:54]RasterBufferAndPrint [16:41:54]line [16:41:54]line [16:41:54]line [16:41:54]line [16:41:54]line [16:41:54]written 0, free lines is 3317 [16:41:54]MH_Cut [16:41:54]Write to MH i2c: D1 01 00 1A 06 01 F2 [16:41:54]Write i2c OK [16:41:54]MH_I2C_Read... [16:41:54]Read from MH i2c: D1 [16:41:54]MH_I2C_Read... [16:41:54]Read from MH i2c: D1 01 00 [16:41:54]MH_I2C_Read... [16:41:54]Read from MH i2c: D1 01 00 1A 06 00 F1 [16:41:54]Write to MH i2c: 01 00 00 1B 06 21 [16:41:54]Write i2c OK [16:41:54]MH_I2C_Read... [16:41:54]*** Cut start [16:41:54]*** Partial cut [16:41:54]*** CUTSNS_PIN = 1 [16:41:54]*** CUTSNS_PIN = 0 [16:41:55]*** Brake cut motor [16:41:55]Read from MH i2c: 01 [16:41:55]MH_I2C_Read... [16:41:55]*** Stop cut motor [16:41:55]*** Cut end [16:41:55]Read from MH i2c: 01 07 00 [16:41:55]MH_I2C_Read... [16:41:55]Read from MH i2c: 01 07 00 1B 06 00 00 00 00 00 FF 0F 36 [16:41:55]process_action close_receipt done [16:41:55]requested_data is exist [16:41:55]produce_requested_data [16:41:55]requested_item fm.sn is exist - process it [16:41:55]wFMCommunicate request_size=4 [16:41:55]MH_SAM_APDU [16:41:55]CAPDU: 80 11 00 00 [16:41:55]Write to MH i2c: E2 08 00 1C 06 80 11 00 00 00 00 00 00 9C [16:41:55]Write i2c OK [16:41:55]MH_I2C_Read... [16:41:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:41:55]Read from MH i2c: E2 [16:41:55]MH_I2C_Read... [16:41:55]Read from MH i2c: E2 17 00 [16:41:55]MH_I2C_Read... [16:41:55]Read from MH i2c: E2 17 00 1C 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 F6 [16:41:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [16:41:55]wFMCommunicate OK [16:41:55]requested_item fd.num is exist - process it [16:41:55]SAM_PROTO_GetFieldsCounters [16:41:55]wFMCommunicate request_size=4 [16:41:55]MH_SAM_APDU [16:41:55]CAPDU: 80 13 00 00 [16:41:55]Write to MH i2c: E2 08 00 1D 06 80 13 00 00 00 00 00 00 9F [16:41:55]Write i2c OK [16:41:55]MH_I2C_Read... [16:41:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:41:55]Read from MH i2c: E2 [16:41:55]MH_I2C_Read... [16:41:55]Read from MH i2c: E2 62 00 [16:41:55]MH_I2C_Read... [16:41:55]Read from MH i2c: E2 62 00 1D 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 4D 31 00 00 0E 04 04 00 19 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 BD [16:41:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 4D 31 00 00 0E 04 04 00 19 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 [16:41:55]wFMCommunicate OK [16:41:55]SAM_PROTO_GetFieldsCounters done [16:41:55]requested_item shift.num is exist - process it [16:41:55]requested_item shift.opened is exist - process it [16:41:55]req_shift_opened [16:41:55]FM_GetShiftState [16:41:55]SAM_PROTO_GetShiftState [16:41:55]wFMCommunicate request_size=4 [16:41:55]MH_SAM_APDU [16:41:55]CAPDU: 80 13 01 00 [16:41:55]Write to MH i2c: E2 08 00 1E 06 80 13 01 00 00 00 00 00 A1 [16:41:55]Write i2c OK [16:41:55]MH_I2C_Read... [16:41:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:41:55]Read from MH i2c: E2 [16:41:55]MH_I2C_Read... [16:41:55]Read from MH i2c: E2 0E 00 [16:41:55]MH_I2C_Read... [16:41:55]Read from MH i2c: E2 0E 00 1E 06 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 F9 [16:41:55]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [16:41:55]wFMCommunicate OK [16:41:55]SAM_PROTO_GetShiftState done [16:41:55]FM_GetShiftState done [16:41:55]req_shift_opened done [16:41:55]requested_item shift.open_date is exist - process it [16:41:55]req_shift_open_date [16:41:55]req_shift_open_date done [16:41:55]produce_requested_data done [16:41:55]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12621,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [16:41:55]process_action_free close_receipt [16:41:55]json_value_free [16:41:55]json_value_free done [16:41:55]process_json_proto returns [16:41:55]Send response to host [16:41:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12621,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [16:41:55]free response buf [16:41:55]execute_script done [16:41:55]execute_script returns [16:41:55]free content buf [16:41:55]Sock 9.Close socket [16:41:55]Sock 9.Thread stoped [16:41:58]ConnectInit Can't take IP for lk.salyk.kg [16:41:58]CommunicateWithHost connect error [16:41:58]CommunicateWithHost err = -1 [16:41:58]OFD Sender: Server communicate error [16:42:02]accept exits with 10 [16:42:02]New connection [16:42:02]New thread 3067190628 created [16:42:02]Thread 3067047268 joined [16:42:02]Waiting for new connection... [16:42:02] Sock 10.Parse request [16:42:02]Sock 10.Check first char [16:42:02]Sock 10.First char is OK [16:42:02]request: POST /json_proto HTTP/1.0 [16:42:02]Method: POST [16:42:02]URL: /json_proto [16:42:02]Method is POST - this is cgi request [16:42:02]url: /json_proto [16:42:02]query_string will be loaded in cgi processing [16:42:02]execute_cgi json_proto POST (null) [16:42:02]execute_cgi path=json_proto method=POST [16:42:02]POST find Content-Length [16:42:02]Host: 172.17.62.6:8080 [16:42:02]Content-Length: 661 [16:42:02]Content-Type: application/json [16:42:02] [16:42:02]POST finish read [16:42:02]Found Content-Length = 661 [16:42:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32894", "tax_sys" : 0, "items" : [ { "code": "5449000176431", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 0,5\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:42:02]execute_script... [16:42:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32894", "tax_sys" : 0, "items" : [ { "code": "5449000176431", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 0,5\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:42:02]POST & json_proto [16:42:02]process_json_proto [16:42:02]json parsed OK: [16:42:02]protocol is kg_v1.0 [16:42:02]action value=close_receipt [16:42:02]process_action close_receipt [16:42:02]cmd_close_receipt [16:42:02]MH_GetDate [16:42:02]Write to MH i2c: F0 00 00 1F 06 14 [16:42:02]Write i2c OK [16:42:02]MH_I2C_Read... [16:42:02]Read from MH i2c: F0 [16:42:02]MH_I2C_Read... [16:42:02]Read from MH i2c: F0 09 00 [16:42:02]MH_I2C_Read... [16:42:02]Read from MH i2c: F0 09 00 1F 06 00 DB 41 25 66 61 69 D2 64 C4 [16:42:02]GetLastDocTimeStamp 1713717712 [16:42:02]current date 1713717723 [16:42:02]FM_GetShiftState [16:42:02]SAM_PROTO_GetShiftState [16:42:02]wFMCommunicate request_size=4 [16:42:02]MH_SAM_APDU [16:42:02]CAPDU: 80 13 01 00 [16:42:02]Write to MH i2c: E2 08 00 20 06 80 13 01 00 00 00 00 00 A3 [16:42:02]Write i2c OK [16:42:02]MH_I2C_Read... [16:42:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:42:02]Read from MH i2c: E2 [16:42:02]MH_I2C_Read... [16:42:02]Read from MH i2c: E2 0E 00 [16:42:02]MH_I2C_Read... [16:42:02]Read from MH i2c: E2 0E 00 20 06 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 FB [16:42:02]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [16:42:02]wFMCommunicate OK [16:42:02]SAM_PROTO_GetShiftState done [16:42:02]FM_GetShiftState done [16:42:02]opened in 1713658727 [16:42:02]opened+sec_in_day 1713745127 [16:42:02]quantity*price = 9500 [16:42:02]sum+1 = 9501 [16:42:02]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 34 21.04.2024 16:42 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12622 ФПД: 175438941254082 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T164203&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12622&fm=175438941254082&tin=02508201610067®Number=0000000000100748&sum=9500 0 [16:42:03]StoreToDocumentArchive [16:42:03]shift 281 fd 12622 [16:42:03]save to /storage/0281/doc_00012622 [16:42:03]save last doc name /storage/0281/doc_00012622 to /storage/kkm_last_doc_name [16:42:03]save OK [16:42:03]Clear old archive folders... [16:42:03]ProcessDocumentItem done err = 0, tmpTLVsize=289 [16:42:03]tlvbuf is 01A535C0 [16:42:03]SAM_PROTO_ClearQueue [16:42:03]wFMCommunicate request_size=4 [16:42:03]MH_SAM_APDU [16:42:03]CAPDU: 80 09 00 00 [16:42:03]Write to MH i2c: E2 08 00 2D 06 80 09 00 00 00 00 00 00 A5 [16:42:03]Write i2c OK [16:42:03]MH_I2C_Read... [16:42:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:42:03]Read from MH i2c: E2 [16:42:03]MH_I2C_Read... [16:42:03]Read from MH i2c: E2 03 00 [16:42:03]MH_I2C_Read... [16:42:03]Read from MH i2c: E2 03 00 2D 06 00 90 00 A7 [16:42:03]RAPDU: 90 00 [16:42:03]wFMCommunicate OK [16:42:03]SAM_PROTO_ClearQueue done [16:42:03]KKMCreateOFDPacket [16:42:03]OFDProtocolAddRootSTLVToBuf [16:42:03]FM_MakeSignedData [16:42:03]FM_MakeSignedData [16:42:03]SAM_PROTO_SignData [16:42:03]wFMCommunicate request_size=4 [16:42:03]MH_SAM_APDU [16:42:03]CAPDU: 80 0D 01 02 [16:42:03]Write to MH i2c: E2 08 00 2E 06 80 0D 01 02 00 00 00 00 AD [16:42:03]Write i2c OK [16:42:03]MH_I2C_Read... [16:42:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:42:03]Read from MH i2c: E2 [16:42:03]MH_I2C_Read... [16:42:03]Read from MH i2c: E2 03 00 [16:42:03]MH_I2C_Read... [16:42:03]Read from MH i2c: E2 03 00 2E 06 00 90 00 A8 [16:42:03]RAPDU: 90 00 [16:42:03]wFMCommunicate OK [16:42:03]wFMCommunicate request_size=255 [16:42:03]MH_SAM_APDU [16:42:03]CAPDU: 80 0D 02 02 FA 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 DB 41 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 [16:42:03]Write to MH i2c: E2 02 01 2F 06 80 0D 02 02 FA 00 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 DB 41 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 00 00 01 [16:42:04]Connected sock=9 [16:42:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2A 01 00 00 12 8B 22 01 12 D8 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 D0 41 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 4D 31 00 00 35 04 06 00 AC C1 5B B7 3A 97 D1 5E 37 DB F3 4E 9D 43 [16:42:04]Write i2c OK [16:42:04]MH_I2C_Read... [16:42:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:42:04]Read from MH i2c: E2 [16:42:04]MH_I2C_Read... [16:42:04]Read from MH i2c: E2 03 00 [16:42:04]MH_I2C_Read... [16:42:04]Read from MH i2c: E2 03 00 2F 06 00 90 00 A9 [16:42:04]RAPDU: 90 00 [16:42:04]wFMCommunicate OK [16:42:04]wFMCommunicate request_size=48 [16:42:04]MH_SAM_APDU [16:42:04]CAPDU: 80 0D 02 02 2B 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 4E 31 00 00 35 04 06 00 9F 8F 8F C5 F1 C2 [16:42:04]Write to MH i2c: E2 33 00 30 06 80 0D 02 02 2B 00 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 4E 31 00 00 35 04 06 00 9F 8F 8F C5 F1 C2 00 00 60 [16:42:04]Write i2c OK [16:42:04]MH_I2C_Read... [16:42:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 B0 A9 47 00 02 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 39 36 35 36 38 35 10 04 04 00 4D 31 00 00 F4 03 04 00 5B EA 24 66 B6 04 01 00 00 21 59 FD C6 ED 65 FE 1F [16:42:04]CommunicateWithHost err = 0 [16:42:04]CheckOFDResponse [16:42:04]1017 (14) - 77093643461234 [16:42:04]1041 (16) - 0000000000965685 [16:42:04]1040 (4) - 12621 [16:42:04]1012 (4) - 21.04.2024 10:28 [16:42:04]1206 (1) - 0 [16:42:04]OFD Sender: Remove packet 12621 [16:42:04]ProducePacketName [16:42:04]name=ofd_packets/00012621 [16:42:04]NVStorageDeleteData [16:42:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:42:04]Read from MH i2c: E2 [16:42:04]MH_I2C_Read... [16:42:04]Read from MH i2c: E2 03 00 [16:42:04]MH_I2C_Read... [16:42:04]Read from MH i2c: E2 03 00 30 06 00 90 00 AA [16:42:04]RAPDU: 90 00 [16:42:04]wFMCommunicate OK [16:42:04]wFMCommunicate request_size=4 [16:42:04]MH_SAM_APDU [16:42:04]CAPDU: 80 0D 03 02 [16:42:04]Write to MH i2c: E2 08 00 31 06 80 0D 03 02 00 00 00 00 B2 [16:42:04]Write i2c OK [16:42:04]MH_I2C_Read... [16:42:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:42:04]Read from MH i2c: E2 [16:42:04]MH_I2C_Read... [16:42:04]Read from MH i2c: E2 0B 00 [00:00:08] *** EcrCore started. Build 196 *** [00:00:08]/dev/ttyS4 opened [00:00:08]MH_InterfaceInit /dev/i2c-1 [00:00:08]Malloc ok [00:00:08]MH_GetMetrics [00:00:08]Write to MH i2c: 00 00 00 01 00 00 [00:00:08]Write i2c OK [00:00:08]MH_I2C_Read... [00:00:08]Read from MH i2c: 00 [00:00:08]MH_I2C_Read... [00:00:08]Read from MH i2c: 00 29 00 [00:00:08]MH_I2C_Read... [00:00:08]Read from MH i2c: 00 29 00 01 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 EC FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 91 [00:00:08]Are we in boot? [00:00:08]We are in boot - try to switch [00:00:08]Write to MH i2c: A0 00 00 02 00 A1 [00:00:08]Write i2c OK [00:00:08]MH_I2C_Read... [00:00:08]*** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:00:08]*** [00:00:08]Read from MH i2c: A0 [00:00:08]MH_I2C_Read... [00:00:08]Read from MH i2c: A0 01 00 [00:00:08]MH_I2C_Read... [00:00:08]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:08]*** Starting fw at address 01020100 (2007E328 010249C5) [00:00:08]*** Waiting for read because exit forced [00:00:08]*** 10 ms more... [00:00:09]*** MH1903S init start (LINUX_LIGHT) [00:00:09]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:09]*** Serial: 3139303353513838 54000000005725EC (1903SQ88T) [00:00:09]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:09]*** step 0: 5000 (2650, 2350 REF) [00:00:09]*** step 1: 4835 (2500, 2335 REF) [00:00:09]*** step 2: 4676 (2440, 2236 REF) [00:00:09]*** step 3: 4523 (2280, 2243 REF) [00:00:09]*** step 4: 4376 (2160, 2216 REF) [00:00:09]*** step 5: 4235 (2050, 2185 REF) [00:00:09]*** step 6: 4098 (1950, 2148 REF) [00:00:09]*** step 7: 3967 (1870, 2097 REF) [00:00:09]*** step 8: 3840 (1828, 2012 REF) [00:00:09]*** step 9: 3719 (1728, 1991 REF) [00:00:09]*** step 10: 3601 (1675, 1926 REF) [00:00:09]*** step 11: 3488 (1635, 1853 REF) [00:00:09]*** step 12: 3379 (1595, 1784 REF) [00:00:09]*** step 13: 3275 (1565, 1710 REF) [00:00:09]*** step 14: 3174 (1543, 1631 REF) [00:00:09]*** step 15: 3077 (1523, 1554 REF) [00:00:09]*** step 16: 2983 (1503, 1480 REF) [00:00:09]*** step 17: 2893 (1486, 1407 REF) [00:00:09]*** step 18: 2806 (1466, 1340 REF) [00:00:09]*** step 19: 2723 (1426, 1297 REF) [00:00:09]*** step 20: 2642 (1406, 1236 REF) [00:00:09]*** step 21: 2565 (1384, 1181 REF) [00:00:09]*** step 22: 2490 (1364, 1126 REF) [00:00:09]*** step 23: 2418 (1344, 1074 REF) [00:00:09]*** step 24: 2349 (1322, 1027 REF) [00:00:09]*** step 25: 2283 (1302, 981 REF) [00:00:09]*** step 26: 2218 (1282, 936 REF) [00:00:09]*** step 27: 2157 (1262, 895 REF) [00:00:09]*** step 28: 2097 (1242, 855 REF) [00:00:09]*** step 29: 2040 (1222, 818 REF) [00:00:09]*** step 30: 1985 (1202, 783 REF) [00:00:09]*** step 31: 1932 (1191, 741 REF) [00:00:09]*** step 32: 1880 (1181, 699 REF) [00:00:09]*** step 33: 1831 (1171, 660 REF) [00:00:09]*** step 34: 1784 (1161, 623 REF) [00:00:09]*** step 35: 1738 (1151, 587 REF) [00:00:09]*** step 36: 1694 (1141, 553 REF) [00:00:09]*** step 37: 1652 (1131, 521 REF) [00:00:09]*** step 38: 1611 (1121, 490 REF) [00:00:09]*** step 39: 1572 (1111, 461 REF) [00:00:09]*** step 40: 1534 (1103, 431 REF) [00:00:09]*** step 41: 1497 (1093, 404 REF) [00:00:09]*** step 42: 1462 (1083, 379 REF) [00:00:09]*** step 43: 1428 (1073, 355 REF) [00:00:09]*** step 44: 1396 (1063, 333 REF) [00:00:09]*** step 45: 1365 (1053, 312 REF) [00:00:09]*** step 46: 1334 (1043, 291 REF) [00:00:09]*** step 47: 1305 (1033, 272 REF) [00:00:09]*** step 48: 1277 (1023, 254 REF) [00:00:09]*** step 49: 1250 (1013, 237 REF) [00:00:09]*** step 50: 1224 (990, 234 REF) [00:00:09]*** step 51: 1199 (980, 219 REF) [00:00:09]*** step 52: 1175 (970, 205 REF) [00:00:09]*** step 53: 1152 (960, 192 REF) [00:00:09]*** step 54: 1130 (950, 180 REF) [00:00:09]*** step 55: 1108 (940, 168 REF) [00:00:09]*** step 56: 1088 (930, 158 REF) [00:00:09]*** step 57: 1068 (920, 148 REF) [00:00:09]*** step 58: 1049 (910, 139 REF) [00:00:09]*** step 59: 1030 (900, 130 REF) [00:00:09]*** step 60: 1012 (890, 122 REF) [00:00:09]*** step 61: 995 (880, 115 REF) [00:00:09]*** step 62: 979 (870, 109 REF) [00:00:09]*** step 63: 963 (860, 103 REF) [00:00:09]*** step 64: 948 (850, 98 REF) [00:00:09]*** step 65: 933 (840, 93 REF) [00:00:09]*** step 66: 919 (830, 89 REF) [00:00:09]*** step 67: 905 (820, 85 REF) [00:00:09]*** step 68: 892 (810, 82 REF) [00:00:09]*** step 69: 879 (800, 79 REF) [00:00:09]*** step 70: 867 (790, 77 REF) [00:00:09]*** step 71: 855 (780, 75 REF) [00:00:09]*** step 72: 844 (770, 74 REF) [00:00:09]*** step 73: 833 (760, 73 REF) [00:00:09]*** step 74: 822 (750, 72 REF) [00:00:09]*** step 75: 812 (740, 72 REF) [00:00:09]*** step 76: 803 (730, 73 REF) [00:00:09]*** step 77: 793 (720, 73 REF) [00:00:09]*** step 78: 784 (710, 74 REF) [00:00:09]*** step 79: 776 (700, 76 REF) [00:00:09]*** step 80: 767 (690, 77 REF) [00:00:09]*** step 81: 759 (680, 79 REF) [00:00:09]*** step 82: 751 (670, 81 REF) [00:00:09]*** step 83: 744 (660, 84 REF) [00:00:09]*** step 84: 737 (650, 87 REF) [00:00:09]*** step 85: 730 (640, 90 REF) [00:00:09]*** step 86: 723 (630, 93 REF) [00:00:09]*** step 87: 717 (620, 97 REF) [00:00:09]*** step 88: 710 (610, 100 REF) [00:00:09]*** step 89: 705 (600, 105 REF) [00:00:09]*** step 90: 699 [00:00:09]*** step 91: 693 [00:00:09]*** step 92: 688 [00:00:09]*** step 93: 683 [00:00:09]*** step 94: 678 [00:00:09]*** step 95: 673 [00:00:09]*** step 96: 669 [00:00:09]*** step 97: 664 [00:00:09]*** step 98: 660 [00:00:09]*** step 99: 656 [00:00:09]*** step 100: 652 [00:00:09]*** step 101: 648 [00:00:09]*** step 102: 644 [00:00:09]*** step 103: 641 [00:00:09]*** step 104: 638 [00:00:09]*** step 105: 634 [00:00:09]*** step 106: 631 [00:00:09]*** step 107: 628 [00:00:09]*** step 108: 625 [00:00:09]*** step 109: 622 [00:00:09]*** step 110: 620 [00:00:09]*** step 111: 617 [00:00:09]*** step 112: 615 [00:00:09]*** step 113: 612 [00:00:09]*** step 114: 610 [00:00:09]*** step 115: 608 [00:00:09]*** step 116: 605 [00:00:09]*** step 117: 603 [00:00:09]*** step 118: 601 [00:00:09]*** step 119: 599 [00:00:09]*** printer: Printer HW initialized [00:00:09]*** initSamCard finished [00:00:09]*** RTC: 22206658+1691511137=1713717795 [00:00:09]*** BPK Status Register BPK_RDY = 0x0 [00:00:09]*** SEN State Register SEN_STATE = 0x200ff [00:00:09]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:09]*** Analog Control Register 0 SEN_ANA0 = 0x33530623 [00:00:09]*** Is cutter blocked? [00:00:09]MH_GetMetrics [00:00:09]Write to MH i2c: 00 00 00 03 00 02 [00:00:09]Write i2c OK [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: 00 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: 00 29 00 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: 00 29 00 03 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 EC FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 92 [00:00:09]Are we in boot? [00:00:09]We are not in boot now [00:00:09]Write to MH i2c: 01 00 00 04 00 04 [00:00:09]Write i2c OK [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: 01 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: 01 07 00 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:09]Model is 3 [00:00:09]MH firmware is 30620 [00:00:09]MH boot firmware is 3 [00:00:09]MH_SetPrinterDots 448 [00:00:09]HeadWidthInBytes 56 [00:00:09]maxmasksize 7 [00:00:10]Write to MH i2c: D6 06 00 05 00 41 00 40 00 FF FF 5F [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D6 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D6 01 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:10]Write to MH i2c: D5 00 00 06 00 DA [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D5 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D5 01 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]ExternCall_SetCallbacks [00:00:10]NVStorageInit [00:00:10]MH_GetDate [00:00:10]Write to MH i2c: F0 00 00 07 00 F6 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: F0 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: F0 09 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: F0 09 00 07 00 00 24 42 25 66 61 69 D2 64 F0 [16:43:16]Current date/time: 21.04.2024 16:43 [16:43:16]FM_Init [16:43:16]wFMConnect [16:43:16]MH_SAM_On [16:43:16]Write to MH i2c: E0 00 00 08 00 E7 [16:43:16]Write i2c OK [16:43:16]MH_I2C_Read... [16:43:16]*** iso7816_init finished! [16:43:16]*** atr: [16:43:16]*** 0F 3B D5 18 FF 81 91 FE [16:43:16]*** 1F C3 80 73 C8 21 10 0A [16:43:16]*** 00 00 00 00 00 00 00 00 [16:43:16]*** 00 00 00 00 00 00 00 00 [16:43:16]*** 00 00 00 00 00 00 00 00 [16:43:16]*** 00 00 00 00 00 00 00 00 [16:43:16]*** 00 00 00 00 00 00 00 00 [16:43:16]*** 00 00 00 00 00 00 00 00 [16:43:16]Read from MH i2c: E0 [16:43:16]MH_I2C_Read... [16:43:16]Read from MH i2c: E0 10 00 [16:43:16]MH_I2C_Read... [16:43:16]Read from MH i2c: E0 10 00 08 00 00 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A 06 [16:43:16]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [16:43:16]wFMCommunicate request_size=10 [16:43:16]MH_SAM_APDU [16:43:16]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [16:43:16]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [16:43:16]Write i2c OK [16:43:16]MH_I2C_Read... [16:43:16]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [16:43:16]Read from MH i2c: E2 [16:43:16]MH_I2C_Read... [16:43:16]Read from MH i2c: E2 03 00 [16:43:16]MH_I2C_Read... [16:43:16]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [16:43:16]RAPDU: 90 00 [16:43:16]wFMCommunicate OK [16:43:16]wFMCommunicate request_size=4 [16:43:16]MH_SAM_APDU [16:43:16]CAPDU: 80 11 00 00 [16:43:16]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [16:43:16]Write i2c OK [16:43:16]MH_I2C_Read... [16:43:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:43:16]Read from MH i2c: E2 [16:43:16]MH_I2C_Read... [16:43:16]Read from MH i2c: E2 17 00 [16:43:16]MH_I2C_Read... [16:43:16]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 DE [16:43:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [16:43:16]wFMCommunicate OK [16:43:16]Detected FM SN is 0000000000965685 [16:43:16]Stored FM SN is 0000000000965685 [16:43:16]wFMCommunicate request_size=9 [16:43:16]MH_SAM_APDU [16:43:16]CAPDU: 80 16 00 00 04 8C 6F 01 00 [16:43:16]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 8C 6F 01 00 00 00 8E [16:43:16]Write i2c OK [16:43:16]MH_I2C_Read... [16:43:16]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [16:43:16]Read from MH i2c: E2 [16:43:16]MH_I2C_Read... [16:43:16]Read from MH i2c: E2 03 00 [16:43:16]MH_I2C_Read... [16:43:16]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [16:43:16]RAPDU: 90 00 [16:43:16]wFMCommunicate OK [16:43:16]FM PIN OK [16:43:16]wFMCommunicate request_size=8 [16:43:16]MH_SAM_APDU [16:43:16]CAPDU: 80 14 04 00 03 02 00 01 [16:43:16]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [16:43:16]Write i2c OK [16:43:16]MH_I2C_Read... [16:43:16]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [16:43:16]Read from MH i2c: E2 [16:43:16]MH_I2C_Read... [16:43:16]Read from MH i2c: E2 03 00 [16:43:16]MH_I2C_Read... [16:43:16]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [16:43:16]RAPDU: 90 00 [16:43:16]wFMCommunicate OK [16:43:16]wFMCommunicate request_size=13 [16:43:16]MH_SAM_APDU [16:43:16]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [16:43:16]Write to MH i2c: E2 10 00 0D 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 BB [16:43:16]Write i2c OK [16:43:16]MH_I2C_Read... [16:43:16]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [16:43:16]Read from MH i2c: E2 [16:43:16]MH_I2C_Read... [16:43:16]Read from MH i2c: E2 03 00 [16:43:16]MH_I2C_Read... [16:43:16]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [16:43:16]RAPDU: 90 00 [16:43:16]wFMCommunicate OK [16:43:16]wFMCommunicate request_size=4 [16:43:16]MH_SAM_APDU [16:43:16]CAPDU: 80 11 00 00 [16:43:16]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [16:43:16]Write i2c OK [16:43:16]MH_I2C_Read... [16:43:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:43:16]Read from MH i2c: E2 [16:43:16]MH_I2C_Read... [16:43:16]Read from MH i2c: E2 17 00 [16:43:16]MH_I2C_Read... [16:43:16]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 E2 [16:43:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [16:43:16]wFMCommunicate OK [16:43:16]DocumentArchiveInit [16:43:16]Start Httpd... [16:43:16]Httpd thread 3067923812 created [16:43:16]Write to MH i2c: 01 00 00 0F 00 0F [16:43:16]Write i2c OK [16:43:16]MH_I2C_Read... [16:43:16]Read from MH i2c: 01 [16:43:16]MH_I2C_Read... [16:43:16]Read from MH i2c: 01 07 00 [16:43:16]MH_I2C_Read... [16:43:16]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [16:43:16]MH Int Process started [16:43:16]Allocated Socket 6 [16:43:16]Bind OK [16:43:16]Listen OK [16:43:16]httpd running on port 8080 [16:43:16]Waiting for new connection... [16:43:16]OFD Sender: Processing packet 12622 [packets to send 7, broken 6] [16:43:16]ProducePacketName [16:43:16]name=ofd_packets/00012622 [16:43:16]OFD Sender: To server: pG, [16:43:16]CommunicateWithHost lk.salyk.kg:30040 [16:43:16]ConnectInit lk.salyk.kg [16:43:16]Connected sock=8 [16:43:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 35 01 00 00 82 C1 2D 01 4E F2 5A 03 01 00 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 DB 41 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 4E 31 00 00 35 04 06 00 9F 8F 8F C5 F1 C2 E0 1C 89 F3 20 03 89 EC [16:43:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 D8 BA 47 00 14 C9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 4E 31 00 00 F4 03 04 00 A3 EA 24 66 B6 04 01 00 00 0B 45 C5 2A F0 6C F0 7E [16:43:16]CommunicateWithHost err = 0 [16:43:16]CheckOFDResponse [16:43:16]1017 (14) - 77093643461234 [16:43:16]1041 (16) - 0000000000965685 [16:43:16]1040 (4) - 12622 [16:43:16]1012 (4) - 21.04.2024 10:29 [16:43:16]1206 (1) - 0 [16:43:16]OFD Sender: Remove packet 12622 [16:43:16]ProducePacketName [16:43:16]name=ofd_packets/00012622 [16:43:16]NVStorageDeleteData [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:06]accept exits with 7 [16:44:06]New connection [16:44:06]New thread 3067637092 created [16:44:06]Waiting for new connection... [16:44:06] Sock 7.Parse request [16:44:06]Sock 7.Check first char [16:44:06]Sock 7.First char is OK [16:44:06]request: POST /json_proto HTTP/1.0 [16:44:06]Method: POST [16:44:06]URL: /json_proto [16:44:06]Method is POST - this is cgi request [16:44:06]url: /json_proto [16:44:06]query_string will be loaded in cgi processing [16:44:06]execute_cgi json_proto POST (null) [16:44:06]execute_cgi path=json_proto method=POST [16:44:06]POST find Content-Length [16:44:06]Host: 172.17.62.6:8080 [16:44:06]Content-Length: 215 [16:44:06]Content-Type: application/json [16:44:06] [16:44:06]POST finish read [16:44:06]Found Content-Length = 215 [16:44: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" ] } } [16:44:06]execute_script... [16:44: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" ] } } [16:44:06]POST & json_proto [16:44:06]process_json_proto [16:44:06]json parsed OK: [16:44:06]protocol is kg_v1.0 [16:44:06]action value=get_value [16:44:06]process_action get_value [16:44:06]cmd_get_value [16:44:06]process_action get_value done [16:44:06]requested_data is exist [16:44:06]produce_requested_data [16:44:06]requested_item kkm.sn is exist - process it [16:44:06]requested_item kkm.ver is exist - process it [16:44:06]requested_item fm.sn is exist - process it [16:44:06]wFMCommunicate request_size=4 [16:44:06]MH_SAM_APDU [16:44:06]CAPDU: 80 11 00 00 [16:44:06]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [16:44:06]Write i2c OK [16:44:06]MH_I2C_Read... [16:44:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:44:07]Read from MH i2c: E2 [16:44:07]MH_I2C_Read... [16:44:07]Read from MH i2c: E2 17 00 [16:44:07]MH_I2C_Read... [16:44:07]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 E4 [16:44:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [16:44:07]wFMCommunicate OK [16:44:07]requested_item fd.num is exist - process it [16:44:07]SAM_PROTO_GetFieldsCounters [16:44:07]wFMCommunicate request_size=4 [16:44:07]MH_SAM_APDU [16:44:07]CAPDU: 80 13 00 00 [16:44:07]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [16:44:07]Write i2c OK [16:44:07]MH_I2C_Read... [16:44:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:44:07]Read from MH i2c: E2 [16:44:07]MH_I2C_Read... [16:44:07]Read from MH i2c: E2 62 00 [16:44:07]MH_I2C_Read... [16:44:07]Read from MH i2c: E2 62 00 11 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 4E 31 00 00 0E 04 04 00 19 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 AF [16:44:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 4E 31 00 00 0E 04 04 00 19 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 [16:44:07]wFMCommunicate OK [16:44:07]SAM_PROTO_GetFieldsCounters done [16:44:07]requested_item shift.num is exist - process it [16:44:07]requested_item shift.opened is exist - process it [16:44:07]req_shift_opened [16:44:07]FM_GetShiftState [16:44:07]SAM_PROTO_GetShiftState [16:44:07]wFMCommunicate request_size=4 [16:44:07]MH_SAM_APDU [16:44:07]CAPDU: 80 13 01 00 [16:44:07]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [16:44:07]Write i2c OK [16:44:07]MH_I2C_Read... [16:44:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:44:07]Read from MH i2c: E2 [16:44:07]MH_I2C_Read... [16:44:07]Read from MH i2c: E2 0E 00 [16:44:07]MH_I2C_Read... [16:44:07]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 E7 [16:44:07]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [16:44:07]wFMCommunicate OK [16:44:07]SAM_PROTO_GetShiftState done [16:44:07]FM_GetShiftState done [16:44:07]req_shift_opened done [16:44:07]requested_item shift.open_date is exist - process it [16:44:07]req_shift_open_date [16:44:07]req_shift_open_date done [16:44:07]produce_requested_data done [16:44:07]produce_requested_data return {"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12622,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [16:44:07]process_action_free get_value [16:44:07]json_value_free [16:44:07]json_value_free done [16:44:07]process_json_proto returns [16:44:07]Send response to host [16:44:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12622,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [16:44:07]free response buf [16:44:07]execute_script done [16:44:07]execute_script returns [16:44:07]free content buf [16:44:07]Sock 7.Close socket [16:44:07]Sock 7.Thread stoped [16:44:07]accept exits with 9 [16:44:07]New connection [16:44:07]New thread 3067493732 created [16:44:07]Thread 3067637092 joined [16:44:07]Waiting for new connection... [16:44:07] Sock 9.Parse request [16:44:07]Sock 9.Check first char [16:44:07]Sock 9.First char is OK [16:44:07]request: POST /json_proto HTTP/1.0 [16:44:07]Method: POST [16:44:07]URL: /json_proto [16:44:07]Method is POST - this is cgi request [16:44:07]url: /json_proto [16:44:07]query_string will be loaded in cgi processing [16:44:07]execute_cgi json_proto POST (null) [16:44:07]execute_cgi path=json_proto method=POST [16:44:07]POST find Content-Length [16:44:07]Host: 172.17.62.6:8080 [16:44:07]Content-Length: 331 [16:44:07]Content-Type: application/json [16:44:07] [16:44:07]POST finish read [16:44:07]Found Content-Length = 331 [16:44: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" ] } } [16:44:07]execute_script... [16:44: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" ] } } [16:44:07]POST & json_proto [16:44:07]process_json_proto [16:44:07]json parsed OK: [16:44:07]protocol is kg_v1.0 [16:44:07]action value=get_value [16:44:07]process_action get_value [16:44:07]cmd_get_value [16:44:07]process_action get_value done [16:44:07]requested_data is exist [16:44:07]produce_requested_data [16:44:07]requested_item fm.sale.total is exist - process it [16:44:07]SAM_PROTO_GetFMData [16:44:07]wFMCommunicate request_size=4 [16:44:07]MH_SAM_APDU [16:44:07]CAPDU: 80 13 03 00 [16:44:07]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [16:44:07]OFD Sender: No OFD packet to send [16:44:07]Write i2c OK [16:44:07]MH_I2C_Read... [16:44:07]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [16:44:07]Read from MH i2c: E2 [16:44:07]MH_I2C_Read... [16:44:07]Read from MH i2c: E2 FD 00 [16:44:07]MH_I2C_Read... [16:44:07]Read from MH i2c: E2 FD 00 13 00 00 C1 04 85 04 BD 04 6E 04 04 00 1C 2F 00 00 69 04 A0 00 6F 04 04 00 D0 2E 00 00 B1 04 04 00 DF C2 C5 0E 70 04 04 00 AA 63 BD 0C 72 04 04 00 35 5F 08 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 3D 99 91 01 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 4F 73 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 D5 0B EF 03 09 00 F6 03 90 00 42 [16:44:07]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 1C 2F 00 00 69 04 A0 00 6F 04 04 00 D0 2E 00 00 B1 04 04 00 DF C2 C5 0E 70 04 04 00 AA 63 BD 0C 72 04 04 00 35 5F 08 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 3D 99 91 01 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 4F 73 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 D5 0B EF 03 09 00 F6 03 90 00 [16:44:07]wFMCommunicate OK [16:44:07]wFMCommunicate request_size=4 [16:44:07]MH_SAM_APDU [16:44:07]CAPDU: 80 17 00 00 [16:44:07]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [16:44:07]Write i2c OK [16:44:07]MH_I2C_Read... [16:44:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:44:08]Read from MH i2c: E2 [16:44:08]MH_I2C_Read... [16:44:08]Read from MH i2c: E2 FD 00 [16:44:08]MH_I2C_Read... [16:44:08]Read from MH i2c: E2 FD 00 14 00 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 32 [16:44:08]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [16:44:08]wFMCommunicate OK [16:44:08]wFMCommunicate request_size=4 [16:44:08]MH_SAM_APDU [16:44:08]CAPDU: 80 17 00 00 [16:44:08]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [16:44:08]Write i2c OK [16:44:08]MH_I2C_Read... [16:44:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:44:08]Read from MH i2c: E2 [16:44:08]MH_I2C_Read... [16:44:08]Read from MH i2c: E2 FD 00 [16:44:08]MH_I2C_Read... [16:44:08]Read from MH i2c: E2 FD 00 15 00 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 35 [16:44:08]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [16:44:08]wFMCommunicate OK [16:44:08]wFMCommunicate request_size=4 [16:44:08]MH_SAM_APDU [16:44:08]CAPDU: 80 17 00 00 [16:44:08]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [16:44:08]Write i2c OK [16:44:08]MH_I2C_Read... [16:44:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:44:08]Read from MH i2c: E2 [16:44:08]MH_I2C_Read... [16:44:08]Read from MH i2c: E2 FD 00 [16:44:08]MH_I2C_Read... [16:44:08]Read from MH i2c: E2 FD 00 16 00 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 1B [16:44:08]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [16:44:08]wFMCommunicate OK [16:44:08]wFMCommunicate request_size=4 [16:44:08]MH_SAM_APDU [16:44:08]CAPDU: 80 17 00 00 [16:44:08]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [16:44:08]Write i2c OK [16:44:08]MH_I2C_Read... [16:44:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [16:44:08]Read from MH i2c: E2 [16:44:08]MH_I2C_Read... [16:44:08]Read from MH i2c: E2 DE 00 [16:44:08]MH_I2C_Read... [16:44:08]Read from MH i2c: E2 DE 00 17 00 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 76 [16:44:09]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [16:44:09]wFMCommunicate OK [16:44:09]SAM_PROTO_GetFMData done [16:44:09]requested_item fm.sale_refund.total is exist - process it [16:44:09]requested_item fm.buy.total is exist - process it [16:44:09]requested_item shift.sale.total is exist - process it [16:44:09]SAM_PROTO_GetShiftData [16:44:09]wFMCommunicate request_size=4 [16:44:09]MH_SAM_APDU [16:44:09]CAPDU: 80 13 02 00 [16:44:09]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [16:44:09]Write i2c OK [16:44:09]MH_I2C_Read... [16:44:09]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [16:44:09]Read from MH i2c: E2 [16:44:09]MH_I2C_Read... [16:44:09]Read from MH i2c: E2 FD 00 [16:44:09]MH_I2C_Read... [16:44:09]Read from MH i2c: E2 FD 00 18 00 00 AD 04 AA 04 A9 04 6E 04 04 00 22 00 00 00 69 04 9A 00 6F 04 04 00 22 00 00 00 B1 04 03 00 14 4C 09 70 04 03 00 88 E9 06 72 04 03 00 8C 62 02 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 BB FC EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 08 15 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 3C [16:44:09]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 22 00 00 00 69 04 9A 00 6F 04 04 00 22 00 00 00 B1 04 03 00 14 4C 09 70 04 03 00 88 E9 06 72 04 03 00 8C 62 02 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 BB FC EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 08 15 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [16:44:09]wFMCommunicate OK [16:44:09]wFMCommunicate request_size=4 [16:44:09]MH_SAM_APDU [16:44:09]CAPDU: 80 17 00 00 [16:44:09]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [16:44:09]Write i2c OK [16:44:09]MH_I2C_Read... [16:44:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:44:09]Read from MH i2c: E2 [16:44:09]MH_I2C_Read... [16:44:09]Read from MH i2c: E2 FD 00 [16:44:09]MH_I2C_Read... [16:44:09]Read from MH i2c: E2 FD 00 19 00 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 AB [16:44:09]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [16:44:09]wFMCommunicate OK [16:44:09]wFMCommunicate request_size=4 [16:44:09]MH_SAM_APDU [16:44:09]CAPDU: 80 17 00 00 [16:44:09]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [16:44:09]Write i2c OK [16:44:09]MH_I2C_Read... [16:44:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:44:09]Read from MH i2c: E2 [16:44:09]MH_I2C_Read... [16:44:09]Read from MH i2c: E2 FD 00 [16:44:09]MH_I2C_Read... [16:44:10]Read from MH i2c: E2 FD 00 1A 00 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 5E [16:44:10]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [16:44:10]wFMCommunicate OK [16:44:10]wFMCommunicate request_size=4 [16:44:10]MH_SAM_APDU [16:44:10]CAPDU: 80 17 00 00 [16:44:10]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [16:44:10]Write i2c OK [16:44:10]MH_I2C_Read... [16:44:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:44:10]Read from MH i2c: E2 [16:44:10]MH_I2C_Read... [16:44:10]Read from MH i2c: E2 FD 00 [16:44:10]MH_I2C_Read... [16:44:10]Read from MH i2c: E2 FD 00 1B 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 10 [16:44:10]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [16:44:10]wFMCommunicate OK [16:44:10]wFMCommunicate request_size=4 [16:44:10]MH_SAM_APDU [16:44:10]CAPDU: 80 17 00 00 [16:44:10]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [16:44:10]Write i2c OK [16:44:10]MH_I2C_Read... [16:44:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [16:44:10]Read from MH i2c: E2 [16:44:10]MH_I2C_Read... [16:44:10]Read from MH i2c: E2 CA 00 [16:44:10]MH_I2C_Read... [16:44:10]Read from MH i2c: E2 CA 00 1C 00 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 81 [16:44:10]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [16:44:10]wFMCommunicate OK [16:44:10]SAM_PROTO_GetShiftData done [16:44:10]requested_item shift.sale.total_cash is exist - process it [16:44:10]requested_item shift.sale_refund.total is exist - process it [16:44:10]requested_item shift.sale_refund.total_cash is exist - process it [16:44:10]requested_item shift.buy.total is exist - process it [16:44:10]requested_item shift.buy.total_cash is exist - process it [16:44:10]produce_requested_data done [16:44:10]produce_requested_data return {"fm.sale.total":2478415.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":6093.00,"shift.sale.total_cash":4530.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} [16:44:10]process_action_free get_value [16:44:10]json_value_free [16:44:10]json_value_free done [16:44:10]process_json_proto returns [16:44:10]Send response to host [16:44:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2478415.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":6093.00,"shift.sale.total_cash":4530.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}}} [16:44:10]free response buf [16:44:10]execute_script done [16:44:10]execute_script returns [16:44:10]free content buf [16:44:10]Sock 9.Close socket [16:44:10]Sock 9.Thread stoped [16:44:12]accept exits with 7 [16:44:12]New connection [16:44:12]New thread 3067637092 created [16:44:12]Thread 3067493732 joined [16:44:12]Waiting for new connection... [16:44:12] Sock 7.Parse request [16:44:12]Sock 7.Check first char [16:44:12]Sock 7.First char is OK [16:44:12]request: POST /json_proto HTTP/1.0 [16:44:12]Method: POST [16:44:12]URL: /json_proto [16:44:12]Method is POST - this is cgi request [16:44:12]url: /json_proto [16:44:12]query_string will be loaded in cgi processing [16:44:12]execute_cgi json_proto POST (null) [16:44:12]execute_cgi path=json_proto method=POST [16:44:12]POST find Content-Length [16:44:12]Host: 172.17.62.6:8080 [16:44:12]Content-Length: 660 [16:44:12]Content-Type: application/json [16:44:12] [16:44:12]POST finish read [16:44:12]Found Content-Length = 660 [16:44:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32895", "tax_sys" : 0, "items" : [ { "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 67.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:44:12]execute_script... [16:44:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32895", "tax_sys" : 0, "items" : [ { "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 67.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:44:12]POST & json_proto [16:44:12]process_json_proto [16:44:12]json parsed OK: [16:44:12]protocol is kg_v1.0 [16:44:12]action value=close_receipt [16:44:12]process_action close_receipt [16:44:12]cmd_close_receipt [16:44:12]MH_GetDate [16:44:12]Write to MH i2c: F0 00 00 1D 00 0C [16:44:12]Write i2c OK [16:44:12]MH_I2C_Read... [16:44:12]Read from MH i2c: F0 [16:44:12]MH_I2C_Read... [16:44:12]Read from MH i2c: F0 09 00 [16:44:12]MH_I2C_Read... [16:44:12]Read from MH i2c: F0 09 00 1D 00 00 5C 42 25 66 61 69 D2 64 3E [16:44:12]GetLastDocTimeStamp 1713717723 [16:44:12]current date 1713717852 [16:44:12]FM_GetShiftState [16:44:12]SAM_PROTO_GetShiftState [16:44:12]wFMCommunicate request_size=4 [16:44:12]MH_SAM_APDU [16:44:12]CAPDU: 80 13 01 00 [16:44:12]Write to MH i2c: E2 08 00 1E 00 80 13 01 00 00 00 00 00 9B [16:44:12]Write i2c OK [16:44:12]MH_I2C_Read... [16:44:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:44:12]Read from MH i2c: E2 [16:44:12]MH_I2C_Read... [16:44:12]Read from MH i2c: E2 0E 00 [16:44:12]MH_I2C_Read... [16:44:12]Read from MH i2c: E2 0E 00 1E 00 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 F3 [16:44:12]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [16:44:12]wFMCommunicate OK [16:44:12]SAM_PROTO_GetShiftState done [16:44:12]FM_GetShiftState done [16:44:12]opened in 1713658727 [16:44:12]opened+sec_in_day 1713745127 [16:44:12]quantity*price = 6700 [16:44:12]sum+1 = 6701 [16:44:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 67.00 НСП 1% : 0.59 НДС 12% : 7.11 Наличными: 67.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 35 21.04.2024 16:44 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12623 ФПД: 64662777654638 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T164412&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12623&fm=64662777654638&tin=02508201610067®Number=0000000000100748&sum=6700 0 [16:44:13]StoreToDocumentArchive [16:44:13]shift 281 fd 12623 [16:44:13]save to /storage/0281/doc_00012623 [16:44:13]save last doc name /storage/0281/doc_00012623 to /storage/kkm_last_doc_name [16:44:13]save OK [16:44:13]Clear old archive folders... [16:44:13]ProcessDocumentItem done err = 0, tmpTLVsize=284 [16:44:13]tlvbuf is 013C1850 [16:44:13]SAM_PROTO_ClearQueue [16:44:13]wFMCommunicate request_size=4 [16:44:13]MH_SAM_APDU [16:44:13]CAPDU: 80 09 00 00 [16:44:13]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [16:44:13]Write i2c OK [16:44:13]MH_I2C_Read... [16:44:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:44:13]Read from MH i2c: E2 [16:44:13]MH_I2C_Read... [16:44:13]Read from MH i2c: E2 03 00 [16:44:13]MH_I2C_Read... [16:44:13]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [16:44:13]RAPDU: 90 00 [16:44:13]wFMCommunicate OK [16:44:13]SAM_PROTO_ClearQueue done [16:44:13]KKMCreateOFDPacket [16:44:13]OFDProtocolAddRootSTLVToBuf [16:44:13]FM_MakeSignedData [16:44:13]FM_MakeSignedData [16:44:13]SAM_PROTO_SignData [16:44:13]wFMCommunicate request_size=4 [16:44:13]MH_SAM_APDU [16:44:13]CAPDU: 80 0D 01 02 [16:44:13]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [16:44:13]Write i2c OK [16:44:13]MH_I2C_Read... [16:44:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:44:13]Read from MH i2c: E2 [16:44:13]MH_I2C_Read... [16:44:13]Read from MH i2c: E2 03 00 [16:44:13]MH_I2C_Read... [16:44:13]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [16:44:13]RAPDU: 90 00 [16:44:13]wFMCommunicate OK [16:44:13]wFMCommunicate request_size=255 [16:44:13]MH_SAM_APDU [16:44:13]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 2C 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 5C 42 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 [16:44:13]Write to MH i2c: E2 02 01 2D 00 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 2C 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 5C 42 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 00 00 27 [16:44:13]Write i2c OK [16:44:13]MH_I2C_Read... [16:44:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:44:14]Read from MH i2c: E2 [16:44:14]MH_I2C_Read... [16:44:14]Read from MH i2c: E2 03 00 [16:44:14]MH_I2C_Read... [16:44:14]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [16:44:14]RAPDU: 90 00 [16:44:14]wFMCommunicate OK [16:44:14]wFMCommunicate request_size=43 [16:44:14]MH_SAM_APDU [16:44:14]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 4F 31 00 00 35 04 06 00 3A CF 79 E4 6D 6E [16:44:14]Write to MH i2c: E2 2E 00 2E 00 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 4F 31 00 00 35 04 06 00 3A CF 79 E4 6D 6E 00 00 58 [16:44:14]Write i2c OK [16:44:14]MH_I2C_Read... [16:44:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:44:14]Read from MH i2c: E2 [16:44:14]MH_I2C_Read... [16:44:14]Read from MH i2c: E2 03 00 [16:44:14]MH_I2C_Read... [16:44:14]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [16:44:14]RAPDU: 90 00 [16:44:14]wFMCommunicate OK [16:44:14]wFMCommunicate request_size=4 [16:44:14]MH_SAM_APDU [16:44:14]CAPDU: 80 0D 03 02 [16:44:14]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [16:44:14]Write i2c OK [16:44:14]MH_I2C_Read... [16:44:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:44:14]Read from MH i2c: E2 [16:44:14]MH_I2C_Read... [16:44:14]Read from MH i2c: E2 0B 00 [16:44:14]MH_I2C_Read... [16:44:14]Read from MH i2c: E2 0B 00 2F 00 00 5E 49 6E FF AE 23 73 40 90 00 43 [16:44:14]RAPDU: 5E 49 6E FF AE 23 73 40 90 00 [16:44:14]wFMCommunicate OK [16:44:14]SAM_PROTO_SignData done [16:44:14]FM_MakeSignedData done [16:44:14]CreateOFDProtocolMessage [16:44:14]wFMCommunicate request_size=4 [16:44:14]MH_SAM_APDU [16:44:14]CAPDU: 80 11 00 00 [16:44:14]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [16:44:14]Write i2c OK [16:44:14]MH_I2C_Read... [16:44:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:44:14]Read from MH i2c: E2 [16:44:14]MH_I2C_Read... [16:44:14]Read from MH i2c: E2 17 00 [16:44:14]MH_I2C_Read... [16:44:14]Read from MH i2c: E2 17 00 30 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 04 [16:44:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [16:44:14]wFMCommunicate OK [16:44:14]CreateOFDProtocolMessage done [16:44:14]OFDSenderStorePacket 12623 [16:44:14]StoreOFDPacket docnum=12623 [16:44:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 30 01 00 00 FB C5 28 01 4A 39 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 2C 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 5C 42 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 4F 31 00 00 35 04 06 00 3A CF 79 E4 6D 6E 5E 49 6E FF AE 23 73 40 [16:44:14]CheckFolder [16:44:14]dirname=/storage/ofd_packets [16:44:14]CheckFolder done [16:44:14]ProducePacketName [16:44:14]name=ofd_packets/00012623 [16:44:14]NVStorageSaveData ofd_packets/00012623 [16:44:14]File name is /storage/ofd_packets/00012623 [16:44:14]Write 334 bytes [16:44:14]NVStorageSaveData done [16:44:14]OFDSenderStorePacket done [16:44:14]KKMCreateOFDPacket done [16:44:14]NVStorageSaveData kkm_last_timestamp [16:44:14]File name is /storage/kkm_last_timestamp [16:44:14]Write 4 bytes [16:44:14]NVStorageSaveData done [16:44:14]ExternCall_PrintAddStr [16:44:14]wPrintStart [16:44:14]Write to MH i2c: 01 00 00 31 00 31 [16:44:14]Write i2c OK [16:44:14]MH_I2C_Read... [16:44:14]Read from MH i2c: 01 [16:44:14]MH_I2C_Read... [16:44:14]Read from MH i2c: 01 07 00 [16:44:14]MH_I2C_Read... [16:44:14]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [16:44:14]RasterBufferAndPrint [16:44:14]line Счет N : (3)32895 [16:44:14]line ИНН: 02508201610067 [16:44:14]line Контрольно-Кассовый Чек [16:44:14]line ПРОДАЖА [16:44:14]line Товар: 6931280300549 [16:44:14]line Зажигалка Cricket ПН пьезо [16:44:14]line 1.000 * 67.00 [16:44:14]line = 67.00 [16:44:14]line НДС 12% НСП 1% [16:44:14]line > о реализуемом товаре [16:44:14]line ИТОГО: 67.00 [16:44:14]line НСП 1% : 0.59 [16:44:14]line НДС 12% : 7.11 [16:44:14]line Наличными: 67.00 [16:44:14]line Безнал.: 0.00 [16:44:14]line Место: АЗС № 106 "Партнер Нефть" [16:44:14]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [16:44:14]line СНО: Общий режим [16:44:14]line Чек 35 21.04.2024 16:44 [16:44:14]line Смена: 281 ФФД: 1.0 [16:44:14]line ЗНМ: 0300000004 [16:44:14]line РНМ: 0000000000100748 [16:44:14]line Версия ККМ: 001 [16:44:14]line ФМ: 0000000000965685 [16:44:14]line ФД: 12623 [16:44:14]line ФПД: 64662777654638 [16:44:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T164412&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12623&fm=64662777654638&tin=02508201610067®Number=0000000000100748&sum=6700 [16:44:14]line 0 [16:44:14]written 0, free lines is 4095 [16:44:14]OFD Sender: Processing packet 12623 [packets to send 7, broken 6] [16:44:14]ProducePacketName [16:44:14]name=ofd_packets/00012623 [16:44:14]OFD Sender: To server: pG, [16:44:14]CommunicateWithHost lk.salyk.kg:30040 [16:44:14]ConnectInit lk.salyk.kg [16:44:14]Connected sock=10 [16:44:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 30 01 00 00 FB C5 28 01 4A 39 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 2C 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 5C 42 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 4F 31 00 00 35 04 06 00 3A CF 79 E4 6D 6E 5E 49 6E FF AE 23 73 40 [16:44:14]Write to MH i2c: 01 00 00 58 00 58 [16:44:14]Write i2c OK [16:44:14]MH_I2C_Read... [16:44:14]Read from MH i2c: 01 [16:44:14]MH_I2C_Read... [16:44:14]Read from MH i2c: 01 07 00 [16:44:14]MH_I2C_Read... [16:44:14]Read from MH i2c: 01 07 00 58 00 00 00 00 00 00 14 0D 80 [16:44:14]RasterBufferAndPrint [16:44:14]line [16:44:14]line [16:44:14]line [16:44:14]line [16:44:14]line [16:44:14]written 0, free lines is 3367 [16:44:14]MH_Cut [16:44:14]Write to MH i2c: D1 01 00 5F 00 01 31 [16:44:14]Write i2c OK [16:44:14]MH_I2C_Read... [16:44:14]Read from MH i2c: D1 [16:44:14]MH_I2C_Read... [16:44:14]Read from MH i2c: D1 01 00 [16:44:14]MH_I2C_Read... [16:44:14]Read from MH i2c: D1 01 00 5F 00 00 30 [16:44:14]Write to MH i2c: 01 00 00 60 00 60 [16:44:14]Write i2c OK [16:44:14]MH_I2C_Read... [16:44:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 BC E8 47 00 16 B6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 4F 31 00 00 F4 03 04 00 DD EA 24 66 B6 04 01 00 00 D6 8E 79 88 14 91 9B 87 [16:44:14]CommunicateWithHost err = 0 [16:44:14]CheckOFDResponse [16:44:14]1017 (14) - 77093643461234 [16:44:14]1041 (16) - 0000000000965685 [16:44:14]1040 (4) - 12623 [16:44:14]1012 (4) - 21.04.2024 10:30 [16:44:14]1206 (1) - 0 [16:44:14]OFD Sender: Remove packet 12623 [16:44:14]ProducePacketName [16:44:14]name=ofd_packets/00012623 [16:44:14]NVStorageDeleteData [16:44:15]OFD Sender: No OFD packet to send [16:44:15]*** Cut start [16:44:15]*** Partial cut [16:44:15]*** CUTSNS_PIN = 1 [16:44:15]*** CUTSNS_PIN = 0 [16:44:15]*** Brake cut motor [16:44:16]Read from MH i2c: 01 [16:44:16]MH_I2C_Read... [16:44:16]*** Stop cut motor [16:44:16]*** Cut end [16:44:16]Read from MH i2c: 01 07 00 [16:44:16]MH_I2C_Read... [16:44:16]Read from MH i2c: 01 07 00 60 00 00 00 00 00 00 FF 0F 75 [16:44:16]process_action close_receipt done [16:44:16]requested_data is exist [16:44:16]produce_requested_data [16:44:16]requested_item fm.sn is exist - process it [16:44:16]wFMCommunicate request_size=4 [16:44:16]MH_SAM_APDU [16:44:16]CAPDU: 80 11 00 00 [16:44:16]Write to MH i2c: E2 08 00 61 00 80 11 00 00 00 00 00 00 DB [16:44:16]Write i2c OK [16:44:16]MH_I2C_Read... [16:44:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:44:16]Read from MH i2c: E2 [16:44:16]MH_I2C_Read... [16:44:16]Read from MH i2c: E2 17 00 [16:44:16]MH_I2C_Read... [16:44:16]Read from MH i2c: E2 17 00 61 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 35 [16:44:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [16:44:16]wFMCommunicate OK [16:44:16]requested_item fd.num is exist - process it [16:44:16]SAM_PROTO_GetFieldsCounters [16:44:16]wFMCommunicate request_size=4 [16:44:16]MH_SAM_APDU [16:44:16]CAPDU: 80 13 00 00 [16:44:16]Write to MH i2c: E2 08 00 62 00 80 13 00 00 00 00 00 00 DE [16:44:16]Write i2c OK [16:44:16]MH_I2C_Read... [16:44:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:44:16]Read from MH i2c: E2 [16:44:16]MH_I2C_Read... [16:44:16]Read from MH i2c: E2 62 00 [16:44:16]MH_I2C_Read... [16:44:16]Read from MH i2c: E2 62 00 62 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 4F 31 00 00 0E 04 04 00 19 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 04 [16:44:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 4F 31 00 00 0E 04 04 00 19 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 [16:44:16]wFMCommunicate OK [16:44:16]SAM_PROTO_GetFieldsCounters done [16:44:16]requested_item shift.num is exist - process it [16:44:16]requested_item shift.opened is exist - process it [16:44:16]req_shift_opened [16:44:16]FM_GetShiftState [16:44:16]SAM_PROTO_GetShiftState [16:44:16]wFMCommunicate request_size=4 [16:44:16]MH_SAM_APDU [16:44:16]CAPDU: 80 13 01 00 [16:44:16]Write to MH i2c: E2 08 00 63 00 80 13 01 00 00 00 00 00 E0 [16:44:16]Write i2c OK [16:44:16]MH_I2C_Read... [16:44:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:44:16]Read from MH i2c: E2 [16:44:16]MH_I2C_Read... [16:44:16]Read from MH i2c: E2 0E 00 [16:44:16]MH_I2C_Read... [16:44:16]Read from MH i2c: E2 0E 00 63 00 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 38 [16:44:16]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [16:44:16]wFMCommunicate OK [16:44:16]SAM_PROTO_GetShiftState done [16:44:16]FM_GetShiftState done [16:44:16]req_shift_opened done [16:44:16]requested_item shift.open_date is exist - process it [16:44:16]req_shift_open_date [16:44:16]req_shift_open_date done [16:44:16]produce_requested_data done [16:44:16]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12623,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [16:44:16]process_action_free close_receipt [16:44:16]json_value_free [16:44:16]json_value_free done [16:44:16]process_json_proto returns [16:44:16]Send response to host [16:44:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12623,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [16:44:16]free response buf [16:44:16]execute_script done [16:44:16]execute_script returns [16:44:16]free content buf [16:44:16]Sock 7.Close socket [16:44:16]Sock 7.Thread stoped [16:44:20]OFD Sender: No OFD packet to send [16:44:25]OFD Sender: No OFD packet to send [16:44:30]OFD Sender: No OFD packet to send [16:44:35]OFD Sender: No OFD packet to send [16:44:40]OFD Sender: No OFD packet to send [16:44:45]OFD Sender: No OFD packet to send [16:44:50]OFD Sender: No OFD packet to send [16:44:55]OFD Sender: No OFD packet to send [16:45:00]OFD Sender: No OFD packet to send [16:45:05]OFD Sender: No OFD packet to send [16:45:10]OFD Sender: No OFD packet to send [16:45:15]OFD Sender: No OFD packet to send [16:45:20]OFD Sender: No OFD packet to send [16:45:25]OFD Sender: No OFD packet to send [16:45:30]OFD Sender: No OFD packet to send [16:45:35]OFD Sender: No OFD packet to send [16:45:40]OFD Sender: No OFD packet to send [16:45:45]OFD Sender: No OFD packet to send [16:45:50]OFD Sender: No OFD packet to send [16:45:55]OFD Sender: No OFD packet to send [16:46:00]OFD Sender: No OFD packet to send [16:46:05]OFD Sender: No OFD packet to send [16:46:10]OFD Sender: No OFD packet to send [16:46:15]OFD Sender: No OFD packet to send [16:46:20]OFD Sender: No OFD packet to send [16:46:25]OFD Sender: No OFD packet to send [16:46:30]OFD Sender: No OFD packet to send [16:46:35]OFD Sender: No OFD packet to send [16:46:40]OFD Sender: No OFD packet to send [16:46:45]OFD Sender: No OFD packet to send [16:46:50]OFD Sender: No OFD packet to send [16:46:55]OFD Sender: No OFD packet to send [16:47:00]OFD Sender: No OFD packet to send [16:47:05]OFD Sender: No OFD packet to send [16:47:10]OFD Sender: No OFD packet to send [16:47:15]OFD Sender: No OFD packet to send [16:47:20]OFD Sender: No OFD packet to send [16:47:25]OFD Sender: No OFD packet to send [16:47:30]OFD Sender: No OFD packet to send [16:47:35]OFD Sender: No OFD packet to send [16:47:40]OFD Sender: No OFD packet to send [16:47:45]OFD Sender: No OFD packet to send [16:47:50]OFD Sender: No OFD packet to send [16:47:55]OFD Sender: No OFD packet to send [16:48:00]OFD Sender: No OFD packet to send [16:48:05]OFD Sender: No OFD packet to send [16:48:10]OFD Sender: No OFD packet to send [16:48:15]OFD Sender: No OFD packet to send [16:48:20]OFD Sender: No OFD packet to send [16:48:25]OFD Sender: No OFD packet to send [16:48:30]OFD Sender: No OFD packet to send [16:48:35]OFD Sender: No OFD packet to send [16:48:40]OFD Sender: No OFD packet to send [16:48:45]OFD Sender: No OFD packet to send [16:48:50]OFD Sender: No OFD packet to send [16:48:55]OFD Sender: No OFD packet to send [16:49:00]OFD Sender: No OFD packet to send [16:49:05]OFD Sender: No OFD packet to send [16:49:10]OFD Sender: No OFD packet to send [16:49:15]OFD Sender: No OFD packet to send [16:49:20]OFD Sender: No OFD packet to send [16:49:25]OFD Sender: No OFD packet to send [16:49:30]OFD Sender: No OFD packet to send [16:49:30]accept exits with 9 [16:49:30]New connection [16:49:30]New thread 3067493732 created [16:49:30]Thread 3067637092 joined [16:49:30]Waiting for new connection... [16:49:30] Sock 9.Parse request [16:49:30]Sock 9.Check first char [16:49:30]Sock 9.First char is OK [16:49:30]request: POST /json_proto HTTP/1.0 [16:49:30]Method: POST [16:49:30]URL: /json_proto [16:49:30]Method is POST - this is cgi request [16:49:30]url: /json_proto [16:49:30]query_string will be loaded in cgi processing [16:49:30]execute_cgi json_proto POST (null) [16:49:30]execute_cgi path=json_proto method=POST [16:49:30]POST find Content-Length [16:49:30]Host: 172.17.62.6:8080 [16:49:30]Content-Length: 215 [16:49:30]Content-Type: application/json [16:49:30] [16:49:30]POST finish read [16:49:30]Found Content-Length = 215 [16:49:30]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" ] } } [16:49:30]execute_script... [16:49:30]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" ] } } [16:49:30]POST & json_proto [16:49:30]process_json_proto [16:49:30]json parsed OK: [16:49:30]protocol is kg_v1.0 [16:49:30]action value=get_value [16:49:30]process_action get_value [16:49:30]cmd_get_value [16:49:30]process_action get_value done [16:49:30]requested_data is exist [16:49:30]produce_requested_data [16:49:30]requested_item kkm.sn is exist - process it [16:49:30]requested_item kkm.ver is exist - process it [16:49:30]requested_item fm.sn is exist - process it [16:49:30]wFMCommunicate request_size=4 [16:49:30]MH_SAM_APDU [16:49:30]CAPDU: 80 11 00 00 [16:49:30]Write to MH i2c: E2 08 00 64 00 80 11 00 00 00 00 00 00 DE [16:49:30]Write i2c OK [16:49:30]MH_I2C_Read... [16:49:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:49:30]Read from MH i2c: E2 [16:49:30]MH_I2C_Read... [16:49:30]Read from MH i2c: E2 17 00 [16:49:30]MH_I2C_Read... [16:49:30]Read from MH i2c: E2 17 00 64 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 38 [16:49:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [16:49:30]wFMCommunicate OK [16:49:30]requested_item fd.num is exist - process it [16:49:30]SAM_PROTO_GetFieldsCounters [16:49:30]wFMCommunicate request_size=4 [16:49:30]MH_SAM_APDU [16:49:30]CAPDU: 80 13 00 00 [16:49:30]Write to MH i2c: E2 08 00 65 00 80 13 00 00 00 00 00 00 E1 [16:49:30]Write i2c OK [16:49:30]MH_I2C_Read... [16:49:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:49:30]Read from MH i2c: E2 [16:49:30]MH_I2C_Read... [16:49:30]Read from MH i2c: E2 62 00 [16:49:30]MH_I2C_Read... [16:49:30]Read from MH i2c: E2 62 00 65 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 4F 31 00 00 0E 04 04 00 19 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 07 [16:49:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 4F 31 00 00 0E 04 04 00 19 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 [16:49:30]wFMCommunicate OK [16:49:30]SAM_PROTO_GetFieldsCounters done [16:49:30]requested_item shift.num is exist - process it [16:49:30]requested_item shift.opened is exist - process it [16:49:30]req_shift_opened [16:49:30]FM_GetShiftState [16:49:30]SAM_PROTO_GetShiftState [16:49:30]wFMCommunicate request_size=4 [16:49:30]MH_SAM_APDU [16:49:30]CAPDU: 80 13 01 00 [16:49:30]Write to MH i2c: E2 08 00 66 00 80 13 01 00 00 00 00 00 E3 [16:49:30]Write i2c OK [16:49:30]MH_I2C_Read... [16:49:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:49:31]Read from MH i2c: E2 [16:49:31]MH_I2C_Read... [16:49:31]Read from MH i2c: E2 0E 00 [16:49:31]MH_I2C_Read... [16:49:31]Read from MH i2c: E2 0E 00 66 00 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 3B [16:49:31]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [16:49:31]wFMCommunicate OK [16:49:31]SAM_PROTO_GetShiftState done [16:49:31]FM_GetShiftState done [16:49:31]req_shift_opened done [16:49:31]requested_item shift.open_date is exist - process it [16:49:31]req_shift_open_date [16:49:31]req_shift_open_date done [16:49:31]produce_requested_data done [16:49:31]produce_requested_data return {"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12623,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [16:49:31]process_action_free get_value [16:49:31]json_value_free [16:49:31]json_value_free done [16:49:31]process_json_proto returns [16:49:31]Send response to host [16:49:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12623,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [16:49:31]free response buf [16:49:31]execute_script done [16:49:31]execute_script returns [16:49:31]free content buf [16:49:31]Sock 9.Close socket [16:49:31]Sock 9.Thread stoped [16:49:31]accept exits with 8 [16:49:31]New connection [16:49:31]New thread 3067637092 created [16:49:31]Thread 3067493732 joined [16:49:31]Waiting for new connection... [16:49:31] Sock 8.Parse request [16:49:31]Sock 8.Check first char [16:49:31]Sock 8.First char is OK [16:49:31]request: POST /json_proto HTTP/1.0 [16:49:31]Method: POST [16:49:31]URL: /json_proto [16:49:31]Method is POST - this is cgi request [16:49:31]url: /json_proto [16:49:31]query_string will be loaded in cgi processing [16:49:31]execute_cgi json_proto POST (null) [16:49:31]execute_cgi path=json_proto method=POST [16:49:31]POST find Content-Length [16:49:31]Host: 172.17.62.6:8080 [16:49:31]Content-Length: 331 [16:49:31]Content-Type: application/json [16:49:31] [16:49:31]POST finish read [16:49:31]Found Content-Length = 331 [16:49:31]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" ] } } [16:49:31]execute_script... [16:49:31]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" ] } } [16:49:31]POST & json_proto [16:49:31]process_json_proto [16:49:31]json parsed OK: [16:49:31]protocol is kg_v1.0 [16:49:31]action value=get_value [16:49:31]process_action get_value [16:49:31]cmd_get_value [16:49:31]process_action get_value done [16:49:31]requested_data is exist [16:49:31]produce_requested_data [16:49:31]requested_item fm.sale.total is exist - process it [16:49:31]SAM_PROTO_GetFMData [16:49:31]wFMCommunicate request_size=4 [16:49:31]MH_SAM_APDU [16:49:31]CAPDU: 80 13 03 00 [16:49:31]Write to MH i2c: E2 08 00 67 00 80 13 03 00 00 00 00 00 E6 [16:49:31]Write i2c OK [16:49:31]MH_I2C_Read... [16:49:31]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [16:49:31]Read from MH i2c: E2 [16:49:31]MH_I2C_Read... [16:49:31]Read from MH i2c: E2 FD 00 [16:49:31]MH_I2C_Read... [16:49:31]Read from MH i2c: E2 FD 00 67 00 00 C1 04 85 04 BD 04 6E 04 04 00 1D 2F 00 00 69 04 A0 00 6F 04 04 00 D1 2E 00 00 B1 04 04 00 0B DD C5 0E 70 04 04 00 D6 7D BD 0C 72 04 04 00 35 5F 08 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 04 9C 91 01 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 8A 73 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 D5 0B EF 03 09 00 F6 03 90 00 2A [16:49:31]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 1D 2F 00 00 69 04 A0 00 6F 04 04 00 D1 2E 00 00 B1 04 04 00 0B DD C5 0E 70 04 04 00 D6 7D BD 0C 72 04 04 00 35 5F 08 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 04 9C 91 01 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 8A 73 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 D5 0B EF 03 09 00 F6 03 90 00 [16:49:31]wFMCommunicate OK [16:49:31]wFMCommunicate request_size=4 [16:49:31]MH_SAM_APDU [16:49:31]CAPDU: 80 17 00 00 [16:49:31]Write to MH i2c: E2 08 00 68 00 80 17 00 00 00 00 00 00 E8 [16:49:31]Write i2c OK [16:49:31]MH_I2C_Read... [16:49:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:49:32]Read from MH i2c: E2 [16:49:32]MH_I2C_Read... [16:49:32]Read from MH i2c: E2 FD 00 [16:49:32]MH_I2C_Read... [16:49:32]Read from MH i2c: E2 FD 00 68 00 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 86 [16:49:32]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [16:49:32]wFMCommunicate OK [16:49:32]wFMCommunicate request_size=4 [16:49:32]MH_SAM_APDU [16:49:32]CAPDU: 80 17 00 00 [16:49:32]Write to MH i2c: E2 08 00 69 00 80 17 00 00 00 00 00 00 E9 [16:49:32]Write i2c OK [16:49:32]MH_I2C_Read... [16:49:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:49:32]Read from MH i2c: E2 [16:49:32]MH_I2C_Read... [16:49:32]Read from MH i2c: E2 FD 00 [16:49:32]MH_I2C_Read... [16:49:32]Read from MH i2c: E2 FD 00 69 00 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 89 [16:49:32]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [16:49:32]wFMCommunicate OK [16:49:32]wFMCommunicate request_size=4 [16:49:32]MH_SAM_APDU [16:49:32]CAPDU: 80 17 00 00 [16:49:32]Write to MH i2c: E2 08 00 6A 00 80 17 00 00 00 00 00 00 EA [16:49:32]Write i2c OK [16:49:32]MH_I2C_Read... [16:49:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:49:32]Read from MH i2c: E2 [16:49:32]MH_I2C_Read... [16:49:32]Read from MH i2c: E2 FD 00 [16:49:32]MH_I2C_Read... [16:49:32]Read from MH i2c: E2 FD 00 6A 00 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 6F [16:49:32]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [16:49:32]wFMCommunicate OK [16:49:32]wFMCommunicate request_size=4 [16:49:32]MH_SAM_APDU [16:49:32]CAPDU: 80 17 00 00 [16:49:32]Write to MH i2c: E2 08 00 6B 00 80 17 00 00 00 00 00 00 EB [16:49:32]Write i2c OK [16:49:32]MH_I2C_Read... [16:49:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [16:49:32]Read from MH i2c: E2 [16:49:32]MH_I2C_Read... [16:49:32]Read from MH i2c: E2 DE 00 [16:49:32]MH_I2C_Read... [16:49:32]Read from MH i2c: E2 DE 00 6B 00 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 CA [16:49:32]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [16:49:32]wFMCommunicate OK [16:49:32]SAM_PROTO_GetFMData done [16:49:32]requested_item fm.sale_refund.total is exist - process it [16:49:32]requested_item fm.buy.total is exist - process it [16:49:32]requested_item shift.sale.total is exist - process it [16:49:32]SAM_PROTO_GetShiftData [16:49:32]wFMCommunicate request_size=4 [16:49:32]MH_SAM_APDU [16:49:32]CAPDU: 80 13 02 00 [16:49:32]Write to MH i2c: E2 08 00 6C 00 80 13 02 00 00 00 00 00 EA [16:49:32]Write i2c OK [16:49:32]MH_I2C_Read... [16:49:33]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [16:49:33]Read from MH i2c: E2 [16:49:33]MH_I2C_Read... [16:49:33]Read from MH i2c: E2 FD 00 [16:49:33]MH_I2C_Read... [16:49:33]Read from MH i2c: E2 FD 00 6C 00 00 AD 04 AA 04 A9 04 6E 04 04 00 23 00 00 00 69 04 9A 00 6F 04 04 00 23 00 00 00 B1 04 03 00 40 66 09 70 04 03 00 B4 03 07 72 04 03 00 8C 62 02 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 82 FF EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 43 15 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 24 [16:49:33]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 23 00 00 00 69 04 9A 00 6F 04 04 00 23 00 00 00 B1 04 03 00 40 66 09 70 04 03 00 B4 03 07 72 04 03 00 8C 62 02 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 82 FF EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 43 15 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [16:49:33]wFMCommunicate OK [16:49:33]wFMCommunicate request_size=4 [16:49:33]MH_SAM_APDU [16:49:33]CAPDU: 80 17 00 00 [16:49:33]Write to MH i2c: E2 08 00 6D 00 80 17 00 00 00 00 00 00 ED [16:49:33]Write i2c OK [16:49:33]MH_I2C_Read... [16:49:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:49:33]Read from MH i2c: E2 [16:49:33]MH_I2C_Read... [16:49:33]Read from MH i2c: E2 FD 00 [16:49:33]MH_I2C_Read... [16:49:33]Read from MH i2c: E2 FD 00 6D 00 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 FF [16:49:33]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [16:49:33]wFMCommunicate OK [16:49:33]wFMCommunicate request_size=4 [16:49:33]MH_SAM_APDU [16:49:33]CAPDU: 80 17 00 00 [16:49:33]Write to MH i2c: E2 08 00 6E 00 80 17 00 00 00 00 00 00 EE [16:49:33]Write i2c OK [16:49:33]MH_I2C_Read... [16:49:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:49:33]Read from MH i2c: E2 [16:49:33]MH_I2C_Read... [16:49:33]Read from MH i2c: E2 FD 00 [16:49:33]MH_I2C_Read... [16:49:33]Read from MH i2c: E2 FD 00 6E 00 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 B2 [16:49:33]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [16:49:33]wFMCommunicate OK [16:49:33]wFMCommunicate request_size=4 [16:49:33]MH_SAM_APDU [16:49:33]CAPDU: 80 17 00 00 [16:49:33]Write to MH i2c: E2 08 00 6F 00 80 17 00 00 00 00 00 00 EF [16:49:33]Write i2c OK [16:49:33]MH_I2C_Read... [16:49:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:49:34]Read from MH i2c: E2 [16:49:34]MH_I2C_Read... [16:49:34]Read from MH i2c: E2 FD 00 [16:49:34]MH_I2C_Read... [16:49:34]Read from MH i2c: E2 FD 00 6F 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 64 [16:49:34]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [16:49:34]wFMCommunicate OK [16:49:34]wFMCommunicate request_size=4 [16:49:34]MH_SAM_APDU [16:49:34]CAPDU: 80 17 00 00 [16:49:34]Write to MH i2c: E2 08 00 70 00 80 17 00 00 00 00 00 00 F0 [16:49:34]Write i2c OK [16:49:34]MH_I2C_Read... [16:49:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [16:49:34]Read from MH i2c: E2 [16:49:34]MH_I2C_Read... [16:49:34]Read from MH i2c: E2 CA 00 [16:49:34]MH_I2C_Read... [16:49:34]Read from MH i2c: E2 CA 00 70 00 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 D5 [16:49:34]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [16:49:34]wFMCommunicate OK [16:49:34]SAM_PROTO_GetShiftData done [16:49:34]requested_item shift.sale.total_cash is exist - process it [16:49:34]requested_item shift.sale_refund.total is exist - process it [16:49:34]requested_item shift.sale_refund.total_cash is exist - process it [16:49:34]requested_item shift.buy.total is exist - process it [16:49:34]requested_item shift.buy.total_cash is exist - process it [16:49:34]produce_requested_data done [16:49:34]produce_requested_data return {"fm.sale.total":2478482.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":6160.00,"shift.sale.total_cash":4597.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} [16:49:34]process_action_free get_value [16:49:34]json_value_free [16:49:34]json_value_free done [16:49:34]process_json_proto returns [16:49:34]Send response to host [16:49:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2478482.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":6160.00,"shift.sale.total_cash":4597.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}}} [16:49:34]free response buf [16:49:34]execute_script done [16:49:34]execute_script returns [16:49:34]free content buf [16:49:34]Sock 8.Close socket [16:49:34]Sock 8.Thread stoped [16:49:35]OFD Sender: No OFD packet to send [16:49:40]OFD Sender: No OFD packet to send [16:49:45]OFD Sender: No OFD packet to send [16:49:50]OFD Sender: No OFD packet to send [16:49:55]OFD Sender: No OFD packet to send [16:50:00]OFD Sender: No OFD packet to send [16:50:05]OFD Sender: No OFD packet to send [16:50:10]OFD Sender: No OFD packet to send [16:50:15]OFD Sender: No OFD packet to send [16:50:20]OFD Sender: No OFD packet to send [16:50:25]OFD Sender: No OFD packet to send [16:50:30]OFD Sender: No OFD packet to send [16:50:35]OFD Sender: No OFD packet to send [16:50:40]OFD Sender: No OFD packet to send [16:50:45]OFD Sender: No OFD packet to send [16:50:50]OFD Sender: No OFD packet to send [16:50:55]OFD Sender: No OFD packet to send [16:51:00]OFD Sender: No OFD packet to send [16:51:05]OFD Sender: No OFD packet to send [16:51:10]OFD Sender: No OFD packet to send [16:51:15]OFD Sender: No OFD packet to send [16:51:20]OFD Sender: No OFD packet to send [16:51:25]OFD Sender: No OFD packet to send [16:51:30]OFD Sender: No OFD packet to send [16:51:35]OFD Sender: No OFD packet to send [16:51:40]OFD Sender: No OFD packet to send [16:51:45]OFD Sender: No OFD packet to send [16:51:50]OFD Sender: No OFD packet to send [16:51:55]OFD Sender: No OFD packet to send [16:52:00]OFD Sender: No OFD packet to send [16:52:05]OFD Sender: No OFD packet to send [16:52:10]OFD Sender: No OFD packet to send [16:52:15]OFD Sender: No OFD packet to send [16:52:20]OFD Sender: No OFD packet to send [16:52:25]OFD Sender: No OFD packet to send [16:52:30]OFD Sender: No OFD packet to send [16:52:35]OFD Sender: No OFD packet to send [16:52:40]OFD Sender: No OFD packet to send [16:52:45]OFD Sender: No OFD packet to send [16:52:50]OFD Sender: No OFD packet to send [16:52:55]OFD Sender: No OFD packet to send [16:53:00]OFD Sender: No OFD packet to send [16:53:05]OFD Sender: No OFD packet to send [16:53:10]OFD Sender: No OFD packet to send [16:53:15]OFD Sender: No OFD packet to send [16:53:20]OFD Sender: No OFD packet to send [16:53:25]OFD Sender: No OFD packet to send [16:53:30]OFD Sender: No OFD packet to send [16:53:35]OFD Sender: No OFD packet to send [16:53:40]OFD Sender: No OFD packet to send [16:53:45]OFD Sender: No OFD packet to send [16:53:50]OFD Sender: No OFD packet to send [16:53:55]OFD Sender: No OFD packet to send [16:54:00]OFD Sender: No OFD packet to send [16:54:05]OFD Sender: No OFD packet to send [16:54:09]accept exits with 9 [16:54:09]New connection [16:54:09]New thread 3067493732 created [16:54:09]Thread 3067637092 joined [16:54:09]Waiting for new connection... [16:54:09] Sock 9.Parse request [16:54:09]Sock 9.Check first char [16:54:09]Sock 9.First char is OK [16:54:09]request: POST /json_proto HTTP/1.0 [16:54:09]Method: POST [16:54:09]URL: /json_proto [16:54:09]Method is POST - this is cgi request [16:54:09]url: /json_proto [16:54:09]query_string will be loaded in cgi processing [16:54:09]execute_cgi json_proto POST (null) [16:54:09]execute_cgi path=json_proto method=POST [16:54:09]POST find Content-Length [16:54:09]Host: 172.17.62.6:8080 [16:54:09]Content-Length: 710 [16:54:09]Content-Type: application/json [16:54:09] [16:54:09]POST finish read [16:54:09]Found Content-Length = 710 [16:54:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32896", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:54:09]execute_script... [16:54:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32896", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:54:09]POST & json_proto [16:54:09]process_json_proto [16:54:09]json parsed OK: [16:54:09]protocol is kg_v1.0 [16:54:09]action value=close_receipt [16:54:09]process_action close_receipt [16:54:09]cmd_close_receipt [16:54:09]MH_GetDate [16:54:09]Write to MH i2c: F0 00 00 71 00 60 [16:54:09]Write i2c OK [16:54:09]MH_I2C_Read... [16:54:09]Read from MH i2c: F0 [16:54:09]MH_I2C_Read... [16:54:09]Read from MH i2c: F0 09 00 [16:54:09]MH_I2C_Read... [16:54:09]Read from MH i2c: F0 09 00 71 00 00 B2 44 25 66 61 69 D2 64 EA [16:54:09]GetLastDocTimeStamp 1713717852 [16:54:09]current date 1713718450 [16:54:09]FM_GetShiftState [16:54:09]SAM_PROTO_GetShiftState [16:54:09]wFMCommunicate request_size=4 [16:54:09]MH_SAM_APDU [16:54:09]CAPDU: 80 13 01 00 [16:54:09]Write to MH i2c: E2 08 00 72 00 80 13 01 00 00 00 00 00 EF [16:54:10]Write i2c OK [16:54:10]MH_I2C_Read... [16:54:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:54:10]Read from MH i2c: E2 [16:54:10]MH_I2C_Read... [16:54:10]Read from MH i2c: E2 0E 00 [16:54:10]MH_I2C_Read... [16:54:10]Read from MH i2c: E2 0E 00 72 00 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 47 [16:54:10]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [16:54:10]wFMCommunicate OK [16:54:10]SAM_PROTO_GetShiftState done [16:54:10]FM_GetShiftState done [16:54:10]opened in 1713658727 [16:54:10]opened+sec_in_day 1713745127 [16:54:10]quantity*price = 11500 [16:54:10]sum+1 = 11501 [16:54:10]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 115.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 36 21.04.2024 16:54 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12624 ФПД: 203167376608478 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T165410&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12624&fm=203167376608478&tin=02508201610067®Number=0000000000100748&sum=11500 0 [16:54:11]StoreToDocumentArchive [16:54:11]shift 281 fd 12624 [16:54:11]save to /storage/0281/doc_00012624 [16:54:11]save last doc name /storage/0281/doc_00012624 to /storage/kkm_last_doc_name [16:54:11]save OK [16:54:11]Clear old archive folders... [16:54:11]ProcessDocumentItem done err = 0, tmpTLVsize=303 [16:54:11]tlvbuf is 013CDFC0 [16:54:11]SAM_PROTO_ClearQueue [16:54:11]wFMCommunicate request_size=4 [16:54:11]MH_SAM_APDU [16:54:11]CAPDU: 80 09 00 00 [16:54:11]Write to MH i2c: E2 08 00 7F 00 80 09 00 00 00 00 00 00 F1 [16:54:11]Write i2c OK [16:54:11]MH_I2C_Read... [16:54:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:54:11]Read from MH i2c: E2 [16:54:11]MH_I2C_Read... [16:54:11]Read from MH i2c: E2 03 00 [16:54:11]MH_I2C_Read... [16:54:11]Read from MH i2c: E2 03 00 7F 00 00 90 00 F3 [16:54:11]RAPDU: 90 00 [16:54:11]wFMCommunicate OK [16:54:11]SAM_PROTO_ClearQueue done [16:54:11]KKMCreateOFDPacket [16:54:11]OFDProtocolAddRootSTLVToBuf [16:54:11]FM_MakeSignedData [16:54:11]FM_MakeSignedData [16:54:11]SAM_PROTO_SignData [16:54:11]wFMCommunicate request_size=4 [16:54:11]MH_SAM_APDU [16:54:11]CAPDU: 80 0D 01 02 [16:54:11]Write to MH i2c: E2 08 00 80 00 80 0D 01 02 00 00 00 00 F9 [16:54:11]Write i2c OK [16:54:11]MH_I2C_Read... [16:54:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:54:11]Read from MH i2c: E2 [16:54:11]MH_I2C_Read... [16:54:11]Read from MH i2c: E2 03 00 [16:54:11]MH_I2C_Read... [16:54:11]Read from MH i2c: E2 03 00 80 00 00 90 00 F4 [16:54:11]RAPDU: 90 00 [16:54:11]wFMCommunicate OK [16:54:11]wFMCommunicate request_size=255 [16:54:11]MH_SAM_APDU [16:54:11]CAPDU: 80 0D 02 02 FA 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 B2 44 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D [16:54:11]Write to MH i2c: E2 02 01 81 00 80 0D 02 02 FA 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 B2 44 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 00 00 BA [16:54:11]Write i2c OK [16:54:11]MH_I2C_Read... [16:54:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:54:11]Read from MH i2c: E2 [16:54:11]MH_I2C_Read... [16:54:11]Read from MH i2c: E2 03 00 [16:54:11]MH_I2C_Read... [16:54:11]Read from MH i2c: E2 03 00 81 00 00 90 00 F5 [16:54:11]RAPDU: 90 00 [16:54:11]wFMCommunicate OK [16:54:11]wFMCommunicate request_size=62 [16:54:11]MH_SAM_APDU [16:54:11]CAPDU: 80 0D 02 02 39 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 50 31 00 00 35 04 06 00 B8 C7 97 50 0C DE [16:54:11]Write to MH i2c: E2 41 00 82 00 80 0D 02 02 39 00 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 50 31 00 00 35 04 06 00 B8 C7 97 50 0C DE 00 00 0A [16:54:11]Write i2c OK [16:54:11]MH_I2C_Read... [16:54:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:54:11]Read from MH i2c: E2 [16:54:11]MH_I2C_Read... [16:54:11]Read from MH i2c: E2 03 00 [16:54:11]MH_I2C_Read... [16:54:11]Read from MH i2c: E2 03 00 82 00 00 90 00 F6 [16:54:11]RAPDU: 90 00 [16:54:11]wFMCommunicate OK [16:54:11]wFMCommunicate request_size=4 [16:54:11]MH_SAM_APDU [16:54:11]CAPDU: 80 0D 03 02 [16:54:11]Write to MH i2c: E2 08 00 83 00 80 0D 03 02 00 00 00 00 FE [16:54:11]Write i2c OK [16:54:11]MH_I2C_Read... [16:54:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:54:11]Read from MH i2c: E2 [16:54:11]MH_I2C_Read... [16:54:11]Read from MH i2c: E2 0B 00 [16:54:11]MH_I2C_Read... [16:54:11]Read from MH i2c: E2 0B 00 83 00 00 54 13 3E E6 4B 0F FA 11 90 00 EF [16:54:11]RAPDU: 54 13 3E E6 4B 0F FA 11 90 00 [16:54:11]wFMCommunicate OK [16:54:11]SAM_PROTO_SignData done [16:54:11]FM_MakeSignedData done [16:54:11]CreateOFDProtocolMessage [16:54:11]wFMCommunicate request_size=4 [16:54:11]MH_SAM_APDU [16:54:11]CAPDU: 80 11 00 00 [16:54:11]Write to MH i2c: E2 08 00 84 00 80 11 00 00 00 00 00 00 FE [16:54:11]Write i2c OK [16:54:11]MH_I2C_Read... [16:54:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:54:11]Read from MH i2c: E2 [16:54:11]MH_I2C_Read... [16:54:11]Read from MH i2c: E2 17 00 [16:54:11]MH_I2C_Read... [16:54:11]Read from MH i2c: E2 17 00 84 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 58 [16:54:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [16:54:11]wFMCommunicate OK [16:54:11]CreateOFDProtocolMessage done [16:54:11]OFDSenderStorePacket 12624 [16:54:11]StoreOFDPacket docnum=12624 [16:54:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 43 01 00 00 6E 2F 3B 01 8B 52 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 B2 44 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 50 31 00 00 35 04 06 00 B8 C7 97 50 0C DE 54 13 3E E6 4B 0F FA 11 [16:54:11]CheckFolder [16:54:11]dirname=/storage/ofd_packets [16:54:11]CheckFolder done [16:54:11]ProducePacketName [16:54:11]name=ofd_packets/00012624 [16:54:11]NVStorageSaveData ofd_packets/00012624 [16:54:11]File name is /storage/ofd_packets/00012624 [16:54:11]Write 353 bytes [16:54:11]NVStorageSaveData done [16:54:11]OFDSenderStorePacket done [16:54:11]KKMCreateOFDPacket done [16:54:11]NVStorageSaveData kkm_last_timestamp [16:54:11]File name is /storage/kkm_last_timestamp [16:54:11]Write 4 bytes [16:54:11]NVStorageSaveData done [16:54:11]ExternCall_PrintAddStr [16:54:11]wPrintStart [16:54:11]Write to MH i2c: 01 00 00 85 00 85 [16:54:11]Write i2c OK [16:54:11]MH_I2C_Read... [16:54:11]Read from MH i2c: 01 [16:54:11]MH_I2C_Read... [16:54:11]Read from MH i2c: 01 07 00 [16:54:11]MH_I2C_Read... [16:54:11]Read from MH i2c: 01 07 00 85 00 00 00 00 00 00 FF 0F 9A [16:54:11]RasterBufferAndPrint [16:54:11]line Счет N : (3)32896 [16:54:11]line ИНН: 02508201610067 [16:54:11]line Контрольно-Кассовый Чек [16:54:11]line ПРОДАЖА [16:54:11]line Товар: 4870202521216 [16:54:11]line Напиток MAXI чай 1,2 зел.лимон (новый) [16:54:11]line 1.000 * 115.00 [16:54:11]line = 115.00 [16:54:11]line НДС 12% НСП 1% [16:54:11]line > о реализуемом товаре [16:54:11]line ИТОГО: 115.00 [16:54:11]line НСП 1% : 1.02 [16:54:11]line НДС 12% : 12.21 [16:54:11]line Наличными: 115.00 [16:54:11]line Безнал.: 0.00 [16:54:11]line Место: АЗС № 106 "Партнер Нефть" [16:54:11]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [16:54:11]line СНО: Общий режим [16:54:11]line Чек 36 21.04.2024 16:54 [16:54:11]line Смена: 281 ФФД: 1.0 [16:54:11]line ЗНМ: 0300000004 [16:54:11]line РНМ: 0000000000100748 [16:54:11]line Версия ККМ: 001 [16:54:11]line ФМ: 0000000000965685 [16:54:11]line ФД: 12624 [16:54:11]line ФПД: 203167376608478 [16:54:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T165410&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12624&fm=203167376608478&tin=02508201610067®Number=0000000000100748&sum=11500 [16:54:12]line 0 [16:54:12]OFD Sender: Processing packet 12624 [packets to send 7, broken 6] [16:54:12]ProducePacketName [16:54:12]name=ofd_packets/00012624 [16:54:12]OFD Sender: To server: pG, [16:54:12]CommunicateWithHost lk.salyk.kg:30040 [16:54:12]ConnectInit lk.salyk.kg [16:54:12]written 0, free lines is 4095 [16:54:12]Connected sock=10 [16:54:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 43 01 00 00 6E 2F 3B 01 8B 52 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 B2 44 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 50 31 00 00 35 04 06 00 B8 C7 97 50 0C DE 54 13 3E E6 4B 0F FA 11 [16:54:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 6A 4A 47 00 78 77 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 50 31 00 00 F4 03 04 00 33 ED 24 66 B6 04 01 00 00 AD 11 AB 00 F7 C9 C9 CE [16:54:12]CommunicateWithHost err = 0 [16:54:12]CheckOFDResponse [16:54:12]1017 (14) - 77093643461234 [16:54:12]1041 (16) - 0000000000965685 [16:54:12]1040 (4) - 12624 [16:54:12]1012 (4) - 21.04.2024 10:40 [16:54:12]1206 (1) - 0 [16:54:12]OFD Sender: Remove packet 12624 [16:54:12]ProducePacketName [16:54:12]name=ofd_packets/00012624 [16:54:12]NVStorageDeleteData [16:54:12]Write to MH i2c: 01 00 00 AD 00 AD [16:54:12]Write i2c OK [16:54:12]MH_I2C_Read... [16:54:12]Read from MH i2c: 01 [16:54:12]MH_I2C_Read... [16:54:12]Read from MH i2c: 01 07 00 [16:54:12]MH_I2C_Read... [16:54:12]Read from MH i2c: 01 07 00 AD 00 00 00 00 00 00 EF 0C AF [16:54:12]RasterBufferAndPrint [16:54:12]line [16:54:12]line [16:54:12]line [16:54:12]line [16:54:12]line [16:54:12]written 0, free lines is 3318 [16:54:12]MH_Cut [16:54:12]Write to MH i2c: D1 01 00 B4 00 01 86 [16:54:12]Write i2c OK [16:54:12]MH_I2C_Read... [16:54:12]Read from MH i2c: D1 [16:54:12]MH_I2C_Read... [16:54:12]Read from MH i2c: D1 01 00 [16:54:12]MH_I2C_Read... [16:54:12]Read from MH i2c: D1 01 00 B4 00 00 85 [16:54:12]Write to MH i2c: 01 00 00 B5 00 B5 [16:54:12]Write i2c OK [16:54:12]MH_I2C_Read... [16:54:12]OFD Sender: No OFD packet to send [16:54:13]*** Cut start [16:54:13]*** Partial cut [16:54:13]*** CUTSNS_PIN = 1 [16:54:13]*** CUTSNS_PIN = 0 [16:54:13]*** Brake cut motor [16:54:13]Read from MH i2c: 01 [16:54:13]MH_I2C_Read... [16:54:13]*** Stop cut motor [16:54:13]*** Cut end [16:54:13]Read from MH i2c: 01 07 00 [16:54:13]MH_I2C_Read... [16:54:13]Read from MH i2c: 01 07 00 B5 00 00 00 00 00 00 FF 0F CA [16:54:13]process_action close_receipt done [16:54:13]requested_data is exist [16:54:13]produce_requested_data [16:54:13]requested_item fm.sn is exist - process it [16:54:13]wFMCommunicate request_size=4 [16:54:13]MH_SAM_APDU [16:54:13]CAPDU: 80 11 00 00 [16:54:13]Write to MH i2c: E2 08 00 B6 00 80 11 00 00 00 00 00 00 30 [16:54:13]Write i2c OK [16:54:13]MH_I2C_Read... [16:54:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:54:13]Read from MH i2c: E2 [16:54:13]MH_I2C_Read... [16:54:13]Read from MH i2c: E2 17 00 [16:54:13]MH_I2C_Read... [16:54:13]Read from MH i2c: E2 17 00 B6 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 8A [16:54:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [16:54:13]wFMCommunicate OK [16:54:13]requested_item fd.num is exist - process it [16:54:13]SAM_PROTO_GetFieldsCounters [16:54:13]wFMCommunicate request_size=4 [16:54:13]MH_SAM_APDU [16:54:13]CAPDU: 80 13 00 00 [16:54:13]Write to MH i2c: E2 08 00 B7 00 80 13 00 00 00 00 00 00 33 [16:54:13]Write i2c OK [16:54:13]MH_I2C_Read... [16:54:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:54:14]Read from MH i2c: E2 [16:54:14]MH_I2C_Read... [16:54:14]Read from MH i2c: E2 62 00 [16:54:14]MH_I2C_Read... [16:54:14]Read from MH i2c: E2 62 00 B7 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 50 31 00 00 0E 04 04 00 19 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 5D [16:54:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 50 31 00 00 0E 04 04 00 19 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 [16:54:14]wFMCommunicate OK [16:54:14]SAM_PROTO_GetFieldsCounters done [16:54:14]requested_item shift.num is exist - process it [16:54:14]requested_item shift.opened is exist - process it [16:54:14]req_shift_opened [16:54:14]FM_GetShiftState [16:54:14]SAM_PROTO_GetShiftState [16:54:14]wFMCommunicate request_size=4 [16:54:14]MH_SAM_APDU [16:54:14]CAPDU: 80 13 01 00 [16:54:14]Write to MH i2c: E2 08 00 B8 00 80 13 01 00 00 00 00 00 35 [16:54:14]Write i2c OK [16:54:14]MH_I2C_Read... [16:54:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:54:14]Read from MH i2c: E2 [16:54:14]MH_I2C_Read... [16:54:14]Read from MH i2c: E2 0E 00 [16:54:14]MH_I2C_Read... [16:54:14]Read from MH i2c: E2 0E 00 B8 00 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 8D [16:54:14]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [16:54:14]wFMCommunicate OK [16:54:14]SAM_PROTO_GetShiftState done [16:54:14]FM_GetShiftState done [16:54:14]req_shift_opened done [16:54:14]requested_item shift.open_date is exist - process it [16:54:14]req_shift_open_date [16:54:14]req_shift_open_date done [16:54:14]produce_requested_data done [16:54:14]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12624,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [16:54:14]process_action_free close_receipt [16:54:14]json_value_free [16:54:14]json_value_free done [16:54:14]process_json_proto returns [16:54:14]Send response to host [16:54:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12624,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [16:54:14]free response buf [16:54:14]execute_script done [16:54:14]execute_script returns [16:54:14]free content buf [16:54:14]Sock 9.Close socket [16:54:14]Sock 9.Thread stoped [16:54:17]OFD Sender: No OFD packet to send [16:54:22]OFD Sender: No OFD packet to send [16:54:27]OFD Sender: No OFD packet to send [16:54:32]OFD Sender: No OFD packet to send [16:54:37]OFD Sender: No OFD packet to send [16:54:42]OFD Sender: No OFD packet to send [16:54:47]OFD Sender: No OFD packet to send [16:54:52]OFD Sender: No OFD packet to send [16:54:57]OFD Sender: No OFD packet to send [16:55:02]OFD Sender: No OFD packet to send [16:55:07]OFD Sender: No OFD packet to send [16:55:12]OFD Sender: No OFD packet to send [16:55:17]OFD Sender: No OFD packet to send [16:55:22]OFD Sender: No OFD packet to send [16:55:27]OFD Sender: No OFD packet to send [16:55:32]OFD Sender: No OFD packet to send [16:55: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:18]accept exits with 8 [16:58:18]New connection [16:58:18]New thread 3067637092 created [16:58:18]Thread 3067493732 joined [16:58:18]Waiting for new connection... [16:58:18] Sock 8.Parse request [16:58:18]Sock 8.Check first char [16:58:18]Sock 8.First char is OK [16:58:18]request: POST /json_proto HTTP/1.0 [16:58:18]Method: POST [16:58:18]URL: /json_proto [16:58:18]Method is POST - this is cgi request [16:58:18]url: /json_proto [16:58:18]query_string will be loaded in cgi processing [16:58:18]execute_cgi json_proto POST (null) [16:58:18]execute_cgi path=json_proto method=POST [16:58:18]POST find Content-Length [16:58:18]Host: 172.17.62.6:8080 [16:58:18]Content-Length: 945 [16:58:18]Content-Type: application/json [16:58:18] [16:58:18]POST finish read [16:58:18]Found Content-Length = 945 [16:58:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32897", "tax_sys" : 0, "items" : [ { "code": "4600452021095", "name": "\u0411\u0435\u043B\u044B\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 OZera Caramel 90\u0433", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4650243871828", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 205.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:58:18]execute_script... [16:58:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32897", "tax_sys" : 0, "items" : [ { "code": "4600452021095", "name": "\u0411\u0435\u043B\u044B\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 OZera Caramel 90\u0433", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4650243871828", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 205.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:58:18]POST & json_proto [16:58:18]process_json_proto [16:58:18]json parsed OK: [16:58:18]protocol is kg_v1.0 [16:58:18]action value=close_receipt [16:58:18]process_action close_receipt [16:58:18]cmd_close_receipt [16:58:18]MH_GetDate [16:58:18]Write to MH i2c: F0 00 00 B9 00 A8 [16:58:18]Write i2c OK [16:58:18]MH_I2C_Read... [16:58:18]Read from MH i2c: F0 [16:58:18]MH_I2C_Read... [16:58:18]Read from MH i2c: F0 09 00 [16:58:18]MH_I2C_Read... [16:58:18]Read from MH i2c: F0 09 00 B9 00 00 AA 45 25 66 61 69 D2 64 2B [16:58:18]GetLastDocTimeStamp 1713718450 [16:58:18]current date 1713718698 [16:58:18]FM_GetShiftState [16:58:18]SAM_PROTO_GetShiftState [16:58:18]wFMCommunicate request_size=4 [16:58:18]MH_SAM_APDU [16:58:18]CAPDU: 80 13 01 00 [16:58:18]Write to MH i2c: E2 08 00 BA 00 80 13 01 00 00 00 00 00 37 [16:58:18]Write i2c OK [16:58:18]MH_I2C_Read... [16:58:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:58:18]Read from MH i2c: E2 [16:58:18]MH_I2C_Read... [16:58:18]Read from MH i2c: E2 0E 00 [16:58:18]MH_I2C_Read... [16:58:18]Read from MH i2c: E2 0E 00 BA 00 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 8F [16:58:18]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [16:58:18]wFMCommunicate OK [16:58:18]SAM_PROTO_GetShiftState done [16:58:18]FM_GetShiftState done [16:58:18]opened in 1713658727 [16:58:18]opened+sec_in_day 1713745127 [16:58:18]quantity*price = 9500 [16:58:18]sum+1 = 9501 [16:58:18]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4650243871828 Gorilla эн нап манго-кокос 0,45 ж/б 1.000 * 110.00 = 110.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 205.00 НСП 1% : 1.81 НДС 12% : 21.77 Наличными: 205.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 37 21.04.2024 16:58 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12625 ФПД: 20753562326574 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T165818&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12625&fm=20753562326574&tin=02508201610067®Number=0000000000100748&sum=20500 0 [16:58:19]StoreToDocumentArchive [16:58:19]shift 281 fd 12625 [16:58:19]save to /storage/0281/doc_00012625 [16:58:19]save last doc name /storage/0281/doc_00012625 to /storage/kkm_last_doc_name [16:58:19]save OK [16:58:19]Clear old archive folders... [16:58:19]ProcessDocumentItem done err = 0, tmpTLVsize=410 [16:58:19]tlvbuf is 0137E150 [16:58:19]SAM_PROTO_ClearQueue [16:58:19]wFMCommunicate request_size=4 [16:58:19]MH_SAM_APDU [16:58:19]CAPDU: 80 09 00 00 [16:58:19]Write to MH i2c: E2 08 00 C7 00 80 09 00 00 00 00 00 00 39 [16:58:19]Write i2c OK [16:58:19]MH_I2C_Read... [16:58:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:58:19]Read from MH i2c: E2 [16:58:19]MH_I2C_Read... [16:58:19]Read from MH i2c: E2 03 00 [16:58:19]MH_I2C_Read... [16:58:19]Read from MH i2c: E2 03 00 C7 00 00 90 00 3B [16:58:19]RAPDU: 90 00 [16:58:19]wFMCommunicate OK [16:58:19]SAM_PROTO_ClearQueue done [16:58:19]KKMCreateOFDPacket [16:58:19]OFDProtocolAddRootSTLVToBuf [16:58:19]FM_MakeSignedData [16:58:19]FM_MakeSignedData [16:58:19]SAM_PROTO_SignData [16:58:19]wFMCommunicate request_size=4 [16:58:19]MH_SAM_APDU [16:58:19]CAPDU: 80 0D 01 02 [16:58:19]Write to MH i2c: E2 08 00 C8 00 80 0D 01 02 00 00 00 00 41 [16:58:19]Write i2c OK [16:58:19]MH_I2C_Read... [16:58:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:58:19]Read from MH i2c: E2 [16:58:19]MH_I2C_Read... [16:58:19]Read from MH i2c: E2 03 00 [16:58:19]MH_I2C_Read... [16:58:19]Read from MH i2c: E2 03 00 C8 00 00 90 00 3C [16:58:19]RAPDU: 90 00 [16:58:19]wFMCommunicate OK [16:58:19]wFMCommunicate request_size=255 [16:58:19]MH_SAM_APDU [16:58:19]CAPDU: 80 0D 02 02 FA 03 00 9A 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 30 39 35 06 04 2C 00 D0 91 D0 B5 D0 BB D1 8B D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 4F 5A 65 72 61 20 43 61 72 61 6D 65 6C 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 38 32 38 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC [16:58:19]Write to MH i2c: E2 02 01 C9 00 80 0D 02 02 FA 00 03 00 9A 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 30 39 35 06 04 2C 00 D0 91 D0 B5 D0 BB D1 8B D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 4F 5A 65 72 61 20 43 61 72 61 6D 65 6C 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 38 32 38 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 00 00 1B [16:58:19]Write i2c OK [16:58:19]MH_I2C_Read... [16:58:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:58:19]Read from MH i2c: E2 [16:58:19]MH_I2C_Read... [16:58:19]Read from MH i2c: E2 03 00 [16:58:19]MH_I2C_Read... [16:58:19]Read from MH i2c: E2 03 00 C9 00 00 90 00 3D [16:58:19]RAPDU: 90 00 [16:58:19]wFMCommunicate OK [16:58:19]wFMCommunicate request_size=169 [16:58:19]MH_SAM_APDU [16:58:19]CAPDU: 80 0D 02 02 A4 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 AA 45 25 66 0E 04 04 [00:00:10] *** EcrCore started. Build 196 *** [00:00:10]/dev/ttyS4 opened [00:00:10]MH_InterfaceInit /dev/i2c-1 [00:00:10]Malloc ok [00:00:10]MH_GetMetrics [00:00:10]Write to MH i2c: 00 00 00 01 00 00 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 01 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 EC FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 91 [00:00:10]Are we in boot? [00:00:10]We are in boot - try to switch [00:00:10]Write to MH i2c: A0 00 00 02 00 A1 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]*** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:00:10]*** [00:00:10]Read from MH i2c: A0 [00:00:10]MH_I2C_Read... [00:00:10]*** Starting fw at address 01020100 (2007E328 010249C5) [00:00:10]*** Waiting for read because exit forced [00:00:10]Read from MH i2c: A0 01 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:10]*** 10 ms more... [00:00:10]*** MH1903S init start (LINUX_LIGHT) [00:00:10]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:10]*** Serial: 3139303353513838 54000000005725EC (1903SQ88T) [00:00:10]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:10]*** step 0: 5000 (2650, 2350 REF) [00:00:10]*** step 1: 4835 (2500, 2335 REF) [00:00:10]*** step 2: 4676 (2440, 2236 REF) [00:00:10]*** step 3: 4523 (2280, 2243 REF) [00:00:10]*** step 4: 4376 (2160, 2216 REF) [00:00:10]*** step 5: 4235 (2050, 2185 REF) [00:00:10]*** step 6: 4098 (1950, 2148 REF) [00:00:10]*** step 7: 3967 (1870, 2097 REF) [00:00:10]*** step 8: 3840 (1828, 2012 REF) [00:00:10]*** step 9: 3719 (1728, 1991 REF) [00:00:10]*** step 10: 3601 (1675, 1926 REF) [00:00:10]*** step 11: 3488 (1635, 1853 REF) [00:00:10]*** step 12: 3379 (1595, 1784 REF) [00:00:10]*** step 13: 3275 (1565, 1710 REF) [00:00:10]*** step 14: 3174 (1543, 1631 REF) [00:00:10]*** step 15: 3077 (1523, 1554 REF) [00:00:10]*** step 16: 2983 (1503, 1480 REF) [00:00:10]*** step 17: 2893 (1486, 1407 REF) [00:00:10]*** step 18: 2806 (1466, 1340 REF) [00:00:10]*** step 19: 2723 (1426, 1297 REF) [00:00:10]*** step 20: 2642 (1406, 1236 REF) [00:00:10]*** step 21: 2565 (1384, 1181 REF) [00:00:10]*** step 22: 2490 (1364, 1126 REF) [00:00:10]*** step 23: 2418 (1344, 1074 REF) [00:00:10]*** step 24: 2349 (1322, 1027 REF) [00:00:10]*** step 25: 2283 (1302, 981 REF) [00:00:10]*** step 26: 2218 (1282, 936 REF) [00:00:10]*** step 27: 2157 (1262, 895 REF) [00:00:10]*** step 28: 2097 (1242, 855 REF) [00:00:10]*** step 29: 2040 (1222, 818 REF) [00:00:10]*** step 30: 1985 (1202, 783 REF) [00:00:10]*** step 31: 1932 (1191, 741 REF) [00:00:10]*** step 32: 1880 (1181, 699 REF) [00:00:10]*** step 33: 1831 (1171, 660 REF) [00:00:10]*** step 34: 1784 (1161, 623 REF) [00:00:10]*** step 35: 1738 (1151, 587 REF) [00:00:10]*** step 36: 1694 (1141, 553 REF) [00:00:10]*** step 37: 1652 (1131, 521 REF) [00:00:10]*** step 38: 1611 (1121, 490 REF) [00:00:10]*** step 39: 1572 (1111, 461 REF) [00:00:10]*** step 40: 1534 (1103, 431 REF) [00:00:10]*** step 41: 1497 (1093, 404 REF) [00:00:10]*** step 42: 1462 (1083, 379 REF) [00:00:10]*** step 43: 1428 (1073, 355 REF) [00:00:10]*** step 44: 1396 (1063, 333 REF) [00:00:10]*** step 45: 1365 (1053, 312 REF) [00:00:10]*** step 46: 1334 (1043, 291 REF) [00:00:10]*** step 47: 1305 (1033, 272 REF) [00:00:10]*** step 48: 1277 (1023, 254 REF) [00:00:10]*** step 49: 1250 (1013, 237 REF) [00:00:10]*** step 50: 1224 (990, 234 REF) [00:00:10]*** step 51: 1199 (980, 219 REF) [00:00:10]*** step 52: 1175 (970, 205 REF) [00:00:10]*** step 53: 1152 (960, 192 REF) [00:00:10]*** step 54: 1130 (950, 180 REF) [00:00:10]*** step 55: 1108 (940, 168 REF) [00:00:10]*** step 56: 1088 (930, 158 REF) [00:00:10]*** step 57: 1068 (920, 148 REF) [00:00:10]*** step 58: 1049 (910, 139 REF) [00:00:10]*** step 59: 1030 (900, 130 REF) [00:00:10]*** step 60: 1012 (890, 122 REF) [00:00:10]*** step 61: 995 (880, 115 REF) [00:00:10]*** step 62: 979 (870, 109 REF) [00:00:10]*** step 63: 963 (860, 103 REF) [00:00:10]*** step 64: 948 (850, 98 REF) [00:00:10]*** step 65: 933 (840, 93 REF) [00:00:10]*** step 66: 919 (830, 89 REF) [00:00:10]*** step 67: 905 (820, 85 REF) [00:00:10]*** step 68: 892 (810, 82 REF) [00:00:10]*** step 69: 879 (800, 79 REF) [00:00:10]*** step 70: 867 (790, 77 REF) [00:00:10]*** step 71: 855 (780, 75 REF) [00:00:10]*** step 72: 844 (770, 74 REF) [00:00:10]*** step 73: 833 (760, 73 REF) [00:00:10]*** step 74: 822 (750, 72 REF) [00:00:10]*** step 75: 812 (740, 72 REF) [00:00:10]*** step 76: 803 (730, 73 REF) [00:00:10]*** step 77: 793 (720, 73 REF) [00:00:10]*** step 78: 784 (710, 74 REF) [00:00:10]*** step 79: 776 (700, 76 REF) [00:00:10]*** step 80: 767 (690, 77 REF) [00:00:10]*** step 81: 759 (680, 79 REF) [00:00:10]*** step 82: 751 (670, 81 REF) [00:00:10]*** step 83: 744 (660, 84 REF) [00:00:10]*** step 84: 737 (650, 87 REF) [00:00:10]*** step 85: 730 (640, 90 REF) [00:00:10]*** step 86: 723 (630, 93 REF) [00:00:10]*** step 87: 717 (620, 97 REF) [00:00:10]*** step 88: 710 (610, 100 REF) [00:00:10]*** step 89: 705 (600, 105 REF) [00:00:10]*** step 90: 699 [00:00:10]*** step 91: 693 [00:00:10]*** step 92: 688 [00:00:10]*** step 93: 683 [00:00:10]*** step 94: 678 [00:00:10]*** step 95: 673 [00:00:10]*** step 96: 669 [00:00:10]*** step 97: 664 [00:00:10]*** step 98: 660 [00:00:10]*** step 99: 656 [00:00:10]*** step 100: 652 [00:00:10]*** step 101: 648 [00:00:10]*** step 102: 644 [00:00:10]*** step 103: 641 [00:00:10]*** step 104: 638 [00:00:10]*** step 105: 634 [00:00:10]*** step 106: 631 [00:00:10]*** step 107: 628 [00:00:10]*** step 108: 625 [00:00:10]*** step 109: 622 [00:00:10]*** step 110: 620 [00:00:10]*** step 111: 617 [00:00:10]*** step 112: 615 [00:00:10]*** step 113: 612 [00:00:10]*** step 114: 610 [00:00:10]*** step 115: 608 [00:00:10]*** step 116: 605 [00:00:10]*** step 117: 603 [00:00:10]*** step 118: 601 [00:00:10]*** step 119: 599 [00:00:10]*** printer: Printer HW initialized [00:00:10]*** initSamCard finished [00:00:10]*** RTC: 22208164+1691511137=1713719301 [00:00:10]*** BPK Status Register BPK_RDY = 0x0 [00:00:10]*** SEN State Register SEN_STATE = 0x200ff [00:00:10]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:10]*** Analog Control Register 0 SEN_ANA0 = 0x33530623 [00:00:10]*** Is cutter blocked? [00:00:11]MH_GetMetrics [00:00:11]Write to MH i2c: 00 00 00 03 00 02 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 03 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 EC FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 92 [00:00:11]Are we in boot? [00:00:11]We are not in boot now [00:00:11]Write to MH i2c: 01 00 00 04 00 04 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:11]Model is 3 [00:00:11]MH firmware is 30620 [00:00:11]MH boot firmware is 3 [00:00:11]MH_SetPrinterDots 448 [00:00:11]HeadWidthInBytes 56 [00:00:11]maxmasksize 7 [00:00:11]Write to MH i2c: D6 06 00 05 00 41 00 40 00 FF FF 5F [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:11]Write to MH i2c: D5 00 00 06 00 DA [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]ExternCall_SetCallbacks [00:00:11]NVStorageInit [00:00:11]MH_GetDate [00:00:11]Write to MH i2c: F0 00 00 07 00 F6 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 07 00 00 06 48 25 66 61 69 D2 64 D8 [17:08:22]Current date/time: 21.04.2024 17:08 [17:08:22]FM_Init [17:08:22]wFMConnect [17:08:22]MH_SAM_On [17:08:22]Write to MH i2c: E0 00 00 08 00 E7 [17:08:22]Write i2c OK [17:08:22]MH_I2C_Read... [17:08:22]*** iso7816_init finished! [17:08:22]*** atr: [17:08:22]*** 0F 3B D5 18 FF 81 91 FE [17:08:22]*** 1F C3 80 73 C8 21 10 0A [17:08:22]*** 00 00 00 00 00 00 00 00 [17:08:22]*** 00 00 00 00 00 00 00 00 [17:08:22]*** 00 00 00 00 00 00 00 00 [17:08:22]*** 00 00 00 00 00 00 00 00 [17:08:22]*** 00 00 00 00 00 00 00 00 [17:08:22]*** 00 00 00 00 00 00 00 00 [17:08:22]Read from MH i2c: E0 [17:08:22]MH_I2C_Read... [17:08:22]Read from MH i2c: E0 10 00 [17:08:22]MH_I2C_Read... [17:08:22]Read from MH i2c: E0 10 00 08 00 00 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A 06 [17:08:22]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [17:08:22]wFMCommunicate request_size=10 [17:08:22]MH_SAM_APDU [17:08:22]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [17:08:22]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [17:08:22]Write i2c OK [17:08:22]MH_I2C_Read... [17:08:22]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [17:08:22]Read from MH i2c: E2 [17:08:22]MH_I2C_Read... [17:08:22]Read from MH i2c: E2 03 00 [17:08:22]MH_I2C_Read... [17:08:22]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [17:08:22]RAPDU: 90 00 [17:08:22]wFMCommunicate OK [17:08:22]wFMCommunicate request_size=4 [17:08:22]MH_SAM_APDU [17:08:22]CAPDU: 80 11 00 00 [17:08:22]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [17:08:22]Write i2c OK [17:08:22]MH_I2C_Read... [17:08:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:08:22]Read from MH i2c: E2 [17:08:22]MH_I2C_Read... [17:08:22]Read from MH i2c: E2 17 00 [17:08:22]MH_I2C_Read... [17:08:22]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 DE [17:08:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [17:08:22]wFMCommunicate OK [17:08:22]Detected FM SN is 0000000000965685 [17:08:22]Stored FM SN is 0000000000965685 [17:08:22]wFMCommunicate request_size=9 [17:08:22]MH_SAM_APDU [17:08:22]CAPDU: 80 16 00 00 04 8C 6F 01 00 [17:08:22]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 8C 6F 01 00 00 00 8E [17:08:22]Write i2c OK [17:08:22]MH_I2C_Read... [17:08:22]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [17:08:22]Read from MH i2c: E2 [17:08:22]MH_I2C_Read... [17:08:22]Read from MH i2c: E2 03 00 [17:08:22]MH_I2C_Read... [17:08:22]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [17:08:22]RAPDU: 90 00 [17:08:22]wFMCommunicate OK [17:08:22]FM PIN OK [17:08:22]wFMCommunicate request_size=8 [17:08:22]MH_SAM_APDU [17:08:22]CAPDU: 80 14 04 00 03 02 00 01 [17:08:22]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [17:08:22]Write i2c OK [17:08:22]MH_I2C_Read... [17:08:22]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [17:08:22]Read from MH i2c: E2 [17:08:22]MH_I2C_Read... [17:08:22]Read from MH i2c: E2 03 00 [17:08:22]MH_I2C_Read... [17:08:22]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [17:08:22]RAPDU: 90 00 [17:08:22]wFMCommunicate OK [17:08:22]wFMCommunicate request_size=13 [17:08:22]MH_SAM_APDU [17:08:22]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [17:08:22]Write to MH i2c: E2 10 00 0D 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 BB [17:08:22]Write i2c OK [17:08:22]MH_I2C_Read... [17:08:22]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [17:08:22]Read from MH i2c: E2 [17:08:22]MH_I2C_Read... [17:08:22]Read from MH i2c: E2 03 00 [17:08:22]MH_I2C_Read... [17:08:22]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [17:08:22]RAPDU: 90 00 [17:08:22]wFMCommunicate OK [17:08:22]wFMCommunicate request_size=4 [17:08:22]MH_SAM_APDU [17:08:22]CAPDU: 80 11 00 00 [17:08:22]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [17:08:22]Write i2c OK [17:08:22]MH_I2C_Read... [17:08:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:08:22]Read from MH i2c: E2 [17:08:22]MH_I2C_Read... [17:08:22]Read from MH i2c: E2 17 00 [17:08:22]MH_I2C_Read... [17:08:22]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 E2 [17:08:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [17:08:22]wFMCommunicate OK [17:08:22]DocumentArchiveInit [17:08:22]Start Httpd... [17:08:22]Httpd thread 3067243876 created [17:08:22]Write to MH i2c: 01 00 00 0F 00 0F [17:08:22]Write i2c OK [17:08:22]MH_I2C_Read... [17:08:22]Read from MH i2c: 01 [17:08:22]MH_I2C_Read... [17:08:22]Read from MH i2c: 01 07 00 [17:08:22]MH_I2C_Read... [17:08:22]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [17:08:22]MH Int Process started [17:08:22]Allocated Socket 8 [17:08:22]Bind OK [17:08:22]Listen OK [17:08:22]httpd running on port 8080 [17:08:22]Waiting for new connection... [17:08:22]OFD Sender: Processing packet 12625 [packets to send 7, broken 6] [17:08:22]ProducePacketName [17:08:22]name=ofd_packets/00012625 [17:08:22]OFD Sender: To server: pG, [17:08:22]CommunicateWithHost lk.salyk.kg:30040 [17:08:22]ConnectInit lk.salyk.kg [17:08:22]Connected sock=6 [17:08:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 AE 01 00 00 34 B9 A6 01 57 E4 5A 03 01 00 03 00 9A 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 30 39 35 06 04 2C 00 D0 91 D0 B5 D0 BB D1 8B D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 4F 5A 65 72 61 20 43 61 72 61 6D 65 6C 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 38 32 38 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 AA 45 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 51 31 00 00 35 04 06 00 12 E0 10 B5 D6 2E 21 49 73 50 B6 BE D3 41 [17:08:22]accept exits with 9 [17:08:22]New connection [17:08:22]New thread 3066957156 created [17:08:22]Waiting for new connection... [17:08:22] Sock 9.Parse request [17:08:22]Sock 9.Check first char [17:08:22]Sock 9.First char is OK [17:08:22]request: POST /json_proto HTTP/1.0 [17:08:22]Method: POST [17:08:22]URL: /json_proto [17:08:22]Method is POST - this is cgi request [17:08:22]url: /json_proto [17:08:22]query_string will be loaded in cgi processing [17:08:22]execute_cgi json_proto POST (null) [17:08:22]execute_cgi path=json_proto method=POST [17:08:22]POST find Content-Length [17:08:22]Host: 172.17.62.6:8080 [17:08:22]Content-Length: 215 [17:08:22]Content-Type: application/json [17:08:22] [17:08:22]POST finish read [17:08:22]Found Content-Length = 215 [17:08:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:08:22]execute_script... [17:08:22]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:08:22]POST & json_proto [17:08:22]process_json_proto [17:08:22]json parsed OK: [17:08:22]protocol is kg_v1.0 [17:08:22]action value=get_value [17:08:22]process_action get_value [17:08:22]cmd_get_value [17:08:22]process_action get_value done [17:08:22]requested_data is exist [17:08:22]produce_requested_data [17:08:22]requested_item kkm.sn is exist - process it [17:08:22]requested_item kkm.ver is exist - process it [17:08:22]requested_item fm.sn is exist - process it [17:08:22]wFMCommunicate request_size=4 [17:08:22]MH_SAM_APDU [17:08:22]CAPDU: 80 11 00 00 [17:08:22]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [17:08:22]Write i2c OK [17:08:22]MH_I2C_Read... [17:08:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:08:22]Read from MH i2c: E2 [17:08:22]MH_I2C_Read... [17:08:22]Read from MH i2c: E2 17 00 [17:08:22]MH_I2C_Read... [17:08:22]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 E4 [17:08:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [17:08:22]wFMCommunicate OK [17:08:22]requested_item fd.num is exist - process it [17:08:22]SAM_PROTO_GetFieldsCounters [17:08:22]wFMCommunicate request_size=4 [17:08:22]MH_SAM_APDU [17:08:22]CAPDU: 80 13 00 00 [17:08:22]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [17:08:22]Write i2c OK [17:08:22]MH_I2C_Read... [17:08:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 47 2A 47 00 BD A8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 51 31 00 00 F4 03 04 00 85 F0 24 66 B6 04 01 00 00 AE 88 C4 62 13 E6 8A EF [17:08:22]CommunicateWithHost err = 0 [17:08:22]CheckOFDResponse [17:08:22]1017 (14) - 77093643461234 [17:08:22]1041 (16) - 0000000000965685 [17:08:22]1040 (4) - 12625 [17:08:22]1012 (4) - 21.04.2024 10:55 [17:08:22]1206 (1) - 0 [17:08:22]OFD Sender: Remove packet 12625 [17:08:22]ProducePacketName [17:08:22]name=ofd_packets/00012625 [17:08:22]NVStorageDeleteData [17:08:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:08:22]Read from MH i2c: E2 [17:08:22]MH_I2C_Read... [17:08:22]Read from MH i2c: E2 62 00 [17:08:22]MH_I2C_Read... [17:08:22]Read from MH i2c: E2 62 00 11 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 51 31 00 00 0E 04 04 00 19 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 BB [17:08:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 51 31 00 00 0E 04 04 00 19 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 [17:08:22]wFMCommunicate OK [17:08:22]SAM_PROTO_GetFieldsCounters done [17:08:22]requested_item shift.num is exist - process it [17:08:22]requested_item shift.opened is exist - process it [17:08:22]req_shift_opened [17:08:22]FM_GetShiftState [17:08:22]SAM_PROTO_GetShiftState [17:08:22]wFMCommunicate request_size=4 [17:08:22]MH_SAM_APDU [17:08:22]CAPDU: 80 13 01 00 [17:08:22]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [17:08:22]Write i2c OK [17:08:22]MH_I2C_Read... [17:08:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:08:22]Read from MH i2c: E2 [17:08:22]MH_I2C_Read... [17:08:22]Read from MH i2c: E2 0E 00 [17:08:22]MH_I2C_Read... [17:08:22]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 E7 [17:08:22]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [17:08:22]wFMCommunicate OK [17:08:22]SAM_PROTO_GetShiftState done [17:08:22]FM_GetShiftState done [17:08:22]req_shift_opened done [17:08:22]requested_item shift.open_date is exist - process it [17:08:22]req_shift_open_date [17:08:22]req_shift_open_date done [17:08:22]produce_requested_data done [17:08:22]produce_requested_data return {"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12625,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [17:08:22]process_action_free get_value [17:08:22]json_value_free [17:08:22]json_value_free done [17:08:22]process_json_proto returns [17:08:22]Send response to host [17:08:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12625,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [17:08:22]free response buf [17:08:22]execute_script done [17:08:22]execute_script returns [17:08:22]free content buf [17:08:22]Sock 9.Close socket [17:08:22]Sock 9.Thread stoped [17:08:22]accept exits with 10 [17:08:22]New connection [17:08:22]New thread 3066813796 created [17:08:22]Thread 3066957156 joined [17:08:22]Waiting for new connection... [17:08:22] Sock 10.Parse request [17:08:22]Sock 10.Check first char [17:08:22]Sock 10.First char is OK [17:08:22]request: POST /json_proto HTTP/1.0 [17:08:22]Method: POST [17:08:22]URL: /json_proto [17:08:22]Method is POST - this is cgi request [17:08:22]url: /json_proto [17:08:22]query_string will be loaded in cgi processing [17:08:23]execute_cgi json_proto POST (null) [17:08:23]execute_cgi path=json_proto method=POST [17:08:23]POST find Content-Length [17:08:23]Host: 172.17.62.6:8080 [17:08:23]Content-Length: 331 [17:08:23]Content-Type: application/json [17:08:23] [17:08:23]POST finish read [17:08:23]Found Content-Length = 331 [17:08:23]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" ] } } [17:08:23]execute_script... [17:08:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [17:08:23]POST & json_proto [17:08:23]process_json_proto [17:08:23]json parsed OK: [17:08:23]protocol is kg_v1.0 [17:08:23]action value=get_value [17:08:23]process_action get_value [17:08:23]cmd_get_value [17:08:23]process_action get_value done [17:08:23]requested_data is exist [17:08:23]produce_requested_data [17:08:23]requested_item fm.sale.total is exist - process it [17:08:23]SAM_PROTO_GetFMData [17:08:23]wFMCommunicate request_size=4 [17:08:23]MH_SAM_APDU [17:08:23]CAPDU: 80 13 03 00 [17:08:23]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [17:08:23]Write i2c OK [17:08:23]MH_I2C_Read... [17:08:23]OFD Sender: No OFD packet to send [17:08:23]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [17:08:23]Read from MH i2c: E2 [17:08:23]MH_I2C_Read... [17:08:23]Read from MH i2c: E2 FD 00 [17:08:23]MH_I2C_Read... [17:08:23]Read from MH i2c: E2 FD 00 13 00 00 C1 04 85 04 BD 04 6E 04 04 00 1F 2F 00 00 69 04 A0 00 6F 04 04 00 D3 2E 00 00 B1 04 04 00 0B 5A C6 0E 70 04 04 00 D6 FA BD 0C 72 04 04 00 35 5F 08 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4A A9 91 01 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 A5 74 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 D5 0B EF 03 09 00 F6 03 90 00 44 [17:08:23]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 1F 2F 00 00 69 04 A0 00 6F 04 04 00 D3 2E 00 00 B1 04 04 00 0B 5A C6 0E 70 04 04 00 D6 FA BD 0C 72 04 04 00 35 5F 08 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 4A A9 91 01 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 A5 74 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 D5 0B EF 03 09 00 F6 03 90 00 [17:08:23]wFMCommunicate OK [17:08:23]wFMCommunicate request_size=4 [17:08:23]MH_SAM_APDU [17:08:23]CAPDU: 80 17 00 00 [17:08:23]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [17:08:23]Write i2c OK [17:08:23]MH_I2C_Read... [17:08:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:08:23]Read from MH i2c: E2 [17:08:23]MH_I2C_Read... [17:08:23]Read from MH i2c: E2 FD 00 [17:08:23]MH_I2C_Read... [17:08:23]Read from MH i2c: E2 FD 00 14 00 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 32 [17:08:23]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [17:08:23]wFMCommunicate OK [17:08:23]wFMCommunicate request_size=4 [17:08:23]MH_SAM_APDU [17:08:23]CAPDU: 80 17 00 00 [17:08:23]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [17:08:23]Write i2c OK [17:08:23]MH_I2C_Read... [17:08:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:08:24]Read from MH i2c: E2 [17:08:24]MH_I2C_Read... [17:08:24]Read from MH i2c: E2 FD 00 [17:08:24]MH_I2C_Read... [17:08:24]Read from MH i2c: E2 FD 00 15 00 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 35 [17:08:24]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [17:08:24]wFMCommunicate OK [17:08:24]wFMCommunicate request_size=4 [17:08:24]MH_SAM_APDU [17:08:24]CAPDU: 80 17 00 00 [17:08:24]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [17:08:24]Write i2c OK [17:08:24]MH_I2C_Read... [17:08:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:08:24]Read from MH i2c: E2 [17:08:24]MH_I2C_Read... [17:08:24]Read from MH i2c: E2 FD 00 [17:08:24]MH_I2C_Read... [17:08:24]Read from MH i2c: E2 FD 00 16 00 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 1B [17:08:24]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [17:08:24]wFMCommunicate OK [17:08:24]wFMCommunicate request_size=4 [17:08:24]MH_SAM_APDU [17:08:24]CAPDU: 80 17 00 00 [17:08:24]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [17:08:24]Write i2c OK [17:08:24]MH_I2C_Read... [17:08:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [17:08:24]Read from MH i2c: E2 [17:08:24]MH_I2C_Read... [17:08:24]Read from MH i2c: E2 DE 00 [17:08:24]MH_I2C_Read... [17:08:24]Read from MH i2c: E2 DE 00 17 00 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 76 [17:08:24]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:08:24]wFMCommunicate OK [17:08:24]SAM_PROTO_GetFMData done [17:08:24]requested_item fm.sale_refund.total is exist - process it [17:08:24]requested_item fm.buy.total is exist - process it [17:08:24]requested_item shift.sale.total is exist - process it [17:08:24]SAM_PROTO_GetShiftData [17:08:24]wFMCommunicate request_size=4 [17:08:24]MH_SAM_APDU [17:08:24]CAPDU: 80 13 02 00 [17:08:24]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [17:08:24]Write i2c OK [17:08:24]MH_I2C_Read... [17:08:25]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [17:08:25]Read from MH i2c: E2 [17:08:25]MH_I2C_Read... [17:08:25]Read from MH i2c: E2 FD 00 [17:08:25]MH_I2C_Read... [17:08:25]Read from MH i2c: E2 FD 00 18 00 00 AE 04 AA 04 AA 04 6E 04 04 00 25 00 00 00 69 04 9B 00 6F 04 04 00 25 00 00 00 B1 04 03 00 40 E3 09 70 04 03 00 B4 80 07 72 04 03 00 8C 62 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C8 0C 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 5E 16 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 41 [17:08:25]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 25 00 00 00 69 04 9B 00 6F 04 04 00 25 00 00 00 B1 04 03 00 40 E3 09 70 04 03 00 B4 80 07 72 04 03 00 8C 62 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C8 0C 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 5E 16 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [17:08:25]wFMCommunicate OK [17:08:25]wFMCommunicate request_size=4 [17:08:25]MH_SAM_APDU [17:08:25]CAPDU: 80 17 00 00 [17:08:25]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [17:08:25]Write i2c OK [17:08:25]MH_I2C_Read... [17:08:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:08:25]Read from MH i2c: E2 [17:08:25]MH_I2C_Read... [17:08:25]Read from MH i2c: E2 FD 00 [17:08:25]MH_I2C_Read... [17:08:25]Read from MH i2c: E2 FD 00 19 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 BB [17:08:25]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [17:08:25]wFMCommunicate OK [17:08:25]wFMCommunicate request_size=4 [17:08:25]MH_SAM_APDU [17:08:25]CAPDU: 80 17 00 00 [17:08:25]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [17:08:25]Write i2c OK [17:08:25]MH_I2C_Read... [17:08:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:08:25]Read from MH i2c: E2 [17:08:25]MH_I2C_Read... [17:08:25]Read from MH i2c: E2 FD 00 [17:08:25]MH_I2C_Read... [17:08:25]Read from MH i2c: E2 FD 00 1A 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 51 [17:08:25]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [17:08:26]wFMCommunicate OK [17:08:26]wFMCommunicate request_size=4 [17:08:26]MH_SAM_APDU [17:08:26]CAPDU: 80 17 00 00 [17:08:26]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [17:08:26]Write i2c OK [17:08:26]MH_I2C_Read... [17:08:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:08:26]Read from MH i2c: E2 [17:08:26]MH_I2C_Read... [17:08:26]Read from MH i2c: E2 FD 00 [17:08:26]MH_I2C_Read... [17:08:26]Read from MH i2c: E2 FD 00 1B 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 0D [17:08:26]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [17:08:26]wFMCommunicate OK [17:08:26]wFMCommunicate request_size=4 [17:08:26]MH_SAM_APDU [17:08:26]CAPDU: 80 17 00 00 [17:08:26]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [17:08:26]Write i2c OK [17:08:26]MH_I2C_Read... [17:08:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [17:08:26]Read from MH i2c: E2 [17:08:26]MH_I2C_Read... [17:08:26]Read from MH i2c: E2 CB 00 [17:08:26]MH_I2C_Read... [17:08:26]Read from MH i2c: E2 CB 00 1C 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [17:08:26]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:08:26]wFMCommunicate OK [17:08:26]SAM_PROTO_GetShiftData done [17:08:26]requested_item shift.sale.total_cash is exist - process it [17:08:26]requested_item shift.sale_refund.total is exist - process it [17:08:26]requested_item shift.sale_refund.total_cash is exist - process it [17:08:26]requested_item shift.buy.total is exist - process it [17:08:26]requested_item shift.buy.total_cash is exist - process it [17:08:26]produce_requested_data done [17:08:26]produce_requested_data return {"fm.sale.total":2478802.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":6480.00,"shift.sale.total_cash":4917.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} [17:08:26]process_action_free get_value [17:08:26]json_value_free [17:08:26]json_value_free done [17:08:26]process_json_proto returns [17:08:26]Send response to host [17:08:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2478802.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":6480.00,"shift.sale.total_cash":4917.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}}} [17:08:26]free response buf [17:08:26]execute_script done [17:08:26]execute_script returns [17:08:26]free content buf [17:08:26]Sock 10.Close socket [17:08:26]Sock 10.Thread stoped [17:08:28]accept exits with 6 [17:08:28]New connection [17:08:28]New thread 3066957156 created [17:08:28]Thread 3066813796 joined [17:08:28]Waiting for new connection... [17:08:28] Sock 6.Parse request [17:08:28]Sock 6.Check first char [17:08:28]Sock 6.First char is OK [17:08:28]request: POST /json_proto HTTP/1.0 [17:08:28]Method: POST [17:08:28]URL: /json_proto [17:08:28]Method is POST - this is cgi request [17:08:28]url: /json_proto [17:08:28]query_string will be loaded in cgi processing [17:08:28]execute_cgi json_proto POST (null) [17:08:28]execute_cgi path=json_proto method=POST [17:08:28]POST find Content-Length [17:08:28]Host: 172.17.62.6:8080 [17:08:28]Content-Length: 631 [17:08:28]Content-Type: application/json [17:08:28] [17:08:28]POST finish read [17:08:28]Found Content-Length = 631 [17:08:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32898", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:08:28]execute_script... [17:08:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32898", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:08:28]POST & json_proto [17:08:28]process_json_proto [17:08:28]json parsed OK: [17:08:28]protocol is kg_v1.0 [17:08:28]action value=close_receipt [17:08:28]process_action close_receipt [17:08:28]cmd_close_receipt [17:08:28]MH_GetDate [17:08:28]Write to MH i2c: F0 00 00 1D 00 0C [17:08:28]Write i2c OK [17:08:28]MH_I2C_Read... [17:08:28]Read from MH i2c: F0 [17:08:28]MH_I2C_Read... [17:08:28]Read from MH i2c: F0 09 00 [17:08:28]MH_I2C_Read... [17:08:28]Read from MH i2c: F0 09 00 1D 00 00 0C 48 25 66 61 69 D2 64 F4 [17:08:28]GetLastDocTimeStamp 1713718698 [17:08:28]current date 1713719308 [17:08:28]FM_GetShiftState [17:08:28]SAM_PROTO_GetShiftState [17:08:28]wFMCommunicate request_size=4 [17:08:28]MH_SAM_APDU [17:08:28]CAPDU: 80 13 01 00 [17:08:28]Write to MH i2c: E2 08 00 1E 00 80 13 01 00 00 00 00 00 9B [17:08:28]Write i2c OK [17:08:28]MH_I2C_Read... [17:08:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:08:28]Read from MH i2c: E2 [17:08:28]MH_I2C_Read... [17:08:28]Read from MH i2c: E2 0E 00 [17:08:28]MH_I2C_Read... [17:08:28]Read from MH i2c: E2 0E 00 1E 00 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 F3 [17:08:28]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [17:08:28]wFMCommunicate OK [17:08:28]SAM_PROTO_GetShiftState done [17:08:28]FM_GetShiftState done [17:08:28]opened in 1713658727 [17:08:28]opened+sec_in_day 1713745127 [17:08:28]quantity*price = 4000 [17:08:28]sum+1 = 4001 [17:08:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 38 21.04.2024 17:08 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12626 ФПД: 267155818184602 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T170828&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12626&fm=267155818184602&tin=02508201610067®Number=0000000000100748&sum=4000 0 [17:08:29]StoreToDocumentArchive [17:08:29]shift 281 fd 12626 [17:08:29]save to /storage/0281/doc_00012626 [17:08:29]save last doc name /storage/0281/doc_00012626 to /storage/kkm_last_doc_name [17:08:29]save OK [17:08:29]Clear old archive folders... [17:08:29]ProcessDocumentItem done err = 0, tmpTLVsize=271 [17:08:29]tlvbuf is 016ACD00 [17:08:29]SAM_PROTO_ClearQueue [17:08:29]wFMCommunicate request_size=4 [17:08:29]MH_SAM_APDU [17:08:29]CAPDU: 80 09 00 00 [17:08:29]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [17:08:29]Write i2c OK [17:08:29]MH_I2C_Read... [17:08:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:08:29]Read from MH i2c: E2 [17:08:29]MH_I2C_Read... [17:08:29]Read from MH i2c: E2 03 00 [17:08:29]MH_I2C_Read... [17:08:29]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [17:08:29]RAPDU: 90 00 [17:08:29]wFMCommunicate OK [17:08:29]SAM_PROTO_ClearQueue done [17:08:29]KKMCreateOFDPacket [17:08:29]OFDProtocolAddRootSTLVToBuf [17:08:29]FM_MakeSignedData [17:08:29]FM_MakeSignedData [17:08:29]SAM_PROTO_SignData [17:08:29]wFMCommunicate request_size=4 [17:08:29]MH_SAM_APDU [17:08:29]CAPDU: 80 0D 01 02 [17:08:29]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [17:08:29]Write i2c OK [17:08:29]MH_I2C_Read... [17:08:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:08:29]Read from MH i2c: E2 [17:08:29]MH_I2C_Read... [17:08:29]Read from MH i2c: E2 03 00 [17:08:29]MH_I2C_Read... [17:08:29]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [17:08:29]RAPDU: 90 00 [17:08:29]wFMCommunicate OK [17:08:29]wFMCommunicate request_size=255 [17:08:29]MH_SAM_APDU [17:08:29]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 0C 48 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 [17:08:29]Write to MH i2c: E2 02 01 2D 00 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 0C 48 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 A4 [17:08:29]Write i2c OK [17:08:29]MH_I2C_Read... [17:08:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:08:30]Read from MH i2c: E2 [17:08:30]MH_I2C_Read... [17:08:30]Read from MH i2c: E2 03 00 [17:08:30]MH_I2C_Read... [17:08:30]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [17:08:30]RAPDU: 90 00 [17:08:30]wFMCommunicate OK [17:08:30]wFMCommunicate request_size=30 [17:08:30]MH_SAM_APDU [17:08:30]CAPDU: 80 0D 02 02 19 30 39 36 35 36 38 35 10 04 04 00 52 31 00 00 35 04 06 00 F2 FA 0F A4 7F 9A [17:08:30]Write to MH i2c: E2 21 00 2E 00 80 0D 02 02 19 00 30 39 36 35 36 38 35 10 04 04 00 52 31 00 00 35 04 06 00 F2 FA 0F A4 7F 9A 00 00 E3 [17:08:30]Write i2c OK [17:08:30]MH_I2C_Read... [17:08:30]Read from MH i2c: E2 [17:08:30]MH_I2C_Read... [17:08:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:08:30]Read from MH i2c: E2 03 00 [17:08:30]MH_I2C_Read... [17:08:30]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [17:08:30]RAPDU: 90 00 [17:08:30]wFMCommunicate OK [17:08:30]wFMCommunicate request_size=4 [17:08:30]MH_SAM_APDU [17:08:30]CAPDU: 80 0D 03 02 [17:08:30]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [17:08:30]Write i2c OK [17:08:30]MH_I2C_Read... [17:08:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:08:30]Read from MH i2c: E2 [17:08:30]MH_I2C_Read... [17:08:30]Read from MH i2c: E2 0B 00 [17:08:30]MH_I2C_Read... [17:08:30]Read from MH i2c: E2 0B 00 2F 00 00 09 FA E2 CB 04 24 D4 68 90 00 BF [17:08:30]RAPDU: 09 FA E2 CB 04 24 D4 68 90 00 [17:08:30]wFMCommunicate OK [17:08:30]SAM_PROTO_SignData done [17:08:30]FM_MakeSignedData done [17:08:30]CreateOFDProtocolMessage [17:08:30]wFMCommunicate request_size=4 [17:08:30]MH_SAM_APDU [17:08:30]CAPDU: 80 11 00 00 [17:08:30]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [17:08:30]Write i2c OK [17:08:30]MH_I2C_Read... [17:08:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:08:30]Read from MH i2c: E2 [17:08:30]MH_I2C_Read... [17:08:30]Read from MH i2c: E2 17 00 [17:08:30]MH_I2C_Read... [17:08:30]Read from MH i2c: E2 17 00 30 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 04 [17:08:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [17:08:30]wFMCommunicate OK [17:08:30]CreateOFDProtocolMessage done [17:08:30]OFDSenderStorePacket 12626 [17:08:30]StoreOFDPacket docnum=12626 [17:08:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 23 01 00 00 F2 3B 1B 01 0E 87 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 0C 48 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 52 31 00 00 35 04 06 00 F2 FA 0F A4 7F 9A 09 FA E2 CB 04 24 D4 68 [17:08:30]CheckFolder [17:08:30]dirname=/storage/ofd_packets [17:08:30]CheckFolder done [17:08:30]ProducePacketName [17:08:30]name=ofd_packets/00012626 [17:08:30]NVStorageSaveData ofd_packets/00012626 [17:08:30]File name is /storage/ofd_packets/00012626 [17:08:30]Write 321 bytes [17:08:30]NVStorageSaveData done [17:08:30]OFDSenderStorePacket done [17:08:30]KKMCreateOFDPacket done [17:08:30]NVStorageSaveData kkm_last_timestamp [17:08:30]File name is /storage/kkm_last_timestamp [17:08:30]Write 4 bytes [17:08:30]NVStorageSaveData done [17:08:30]ExternCall_PrintAddStr [17:08:30]wPrintStart [17:08:30]Write to MH i2c: 01 00 00 31 00 31 [17:08:30]Write i2c OK [17:08:30]MH_I2C_Read... [17:08:30]Read from MH i2c: 01 [17:08:30]MH_I2C_Read... [17:08:30]OFD Sender: Processing packet 12626 [packets to send 7, broken 6] [17:08:30]ProducePacketName [17:08:30]name=ofd_packets/00012626 [17:08:30]OFD Sender: To server: pG, [17:08:30]CommunicateWithHost lk.salyk.kg:30040 [17:08:30]ConnectInit lk.salyk.kg [17:08:30]Read from MH i2c: 01 07 00 [17:08:30]MH_I2C_Read... [17:08:30]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [17:08:30]RasterBufferAndPrint [17:08:30]line Счет N : (3)32898 [17:08:30]line ИНН: 02508201610067 [17:08:30]line Контрольно-Кассовый Чек [17:08:30]line ПРОДАЖА [17:08:30]line Товар: 4700000160211 [17:08:30]line Вода Легенда 0,5л [17:08:30]line 1.000 * 40.00 [17:08:30]line = 40.00 [17:08:30]line НДС 12% НСП 1% [17:08:30]line > о реализуемом товаре [17:08:30]line ИТОГО: 40.00 [17:08:30]line НСП 1% : 0.35 [17:08:30]line НДС 12% : 4.25 [17:08:30]line Наличными: 40.00 [17:08:30]line Безнал.: 0.00 [17:08:30]line Место: АЗС № 106 "Партнер Нефть" [17:08:30]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [17:08:30]line СНО: Общий режим [17:08:30]line Чек 38 21.04.2024 17:08 [17:08:30]line Смена: 281 ФФД: 1.0 [17:08:30]line ЗНМ: 0300000004 [17:08:30]line РНМ: 0000000000100748 [17:08:30]line Версия ККМ: 001 [17:08:30]line ФМ: 0000000000965685 [17:08:30]line ФД: 12626 [17:08:30]line ФПД: 267155818184602 [17:08:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T170828&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12626&fm=267155818184602&tin=02508201610067®Number=0000000000100748&sum=4000 [17:08:30]line 0 [17:08:30]written 0, free lines is 4095 [17:08:30]Connected sock=10 [17:08:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 23 01 00 00 F2 3B 1B 01 0E 87 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 0C 48 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 52 31 00 00 35 04 06 00 F2 FA 0F A4 7F 9A 09 FA E2 CB 04 24 D4 68 [17:08:30]Write to MH i2c: 01 00 00 58 00 58 [17:08:30]Write i2c OK [17:08:30]MH_I2C_Read... [17:08:30]Read from MH i2c: 01 [17:08:30]MH_I2C_Read... [17:08:30]Read from MH i2c: 01 07 00 [17:08:30]MH_I2C_Read... [17:08:30]Read from MH i2c: 01 07 00 58 00 00 00 00 00 00 23 0D 8F [17:08:30]RasterBufferAndPrint [17:08:30]line [17:08:30]line [17:08:30]line [17:08:30]line [17:08:30]line [17:08:30]written 0, free lines is 3389 [17:08:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 C6 7A 47 00 05 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 39 36 35 36 38 35 10 04 04 00 52 31 00 00 F4 03 04 00 8D F0 24 66 B6 04 01 00 00 9A 06 B6 55 A6 01 36 06 [17:08:30]CommunicateWithHost err = 0 [17:08:30]CheckOFDResponse [17:08:30]1017 (14) - 77093643461234 [17:08:30]1041 (16) - 0000000000965685 [17:08:30]1040 (4) - 12626 [17:08:30]1012 (4) - 21.04.2024 10:55 [17:08:30]1206 (1) - 0 [17:08:30]OFD Sender: Remove packet 12626 [17:08:30]ProducePacketName [17:08:30]name=ofd_packets/00012626 [17:08:30]NVStorageDeleteData [17:08:30]MH_Cut [17:08:30]Write to MH i2c: D1 01 00 5F 00 01 31 [17:08:30]Write i2c OK [17:08:30]MH_I2C_Read... [17:08:30]Read from MH i2c: D1 [17:08:30]MH_I2C_Read... [17:08:30]Read from MH i2c: D1 01 00 [17:08:30]MH_I2C_Read... [17:08:30]Read from MH i2c: D1 01 00 5F 00 00 30 [17:08:30]Write to MH i2c: 01 00 00 60 00 60 [17:08:30]Write i2c OK [17:08:30]MH_I2C_Read... [17:08:31]OFD Sender: No OFD packet to send [17:08:31]*** Cut start [17:08:31]*** Partial cut [17:08:31]*** CUTSNS_PIN = 1 [17:08:31]*** CUTSNS_PIN = 0 [17:08:31]*** Brake cut motor [17:08:32]Read from MH i2c: 01 [17:08:32]MH_I2C_Read... [17:08:32]*** Stop cut motor [17:08:32]*** Cut end [17:08:32]Read from MH i2c: 01 07 00 [17:08:32]MH_I2C_Read... [17:08:32]Read from MH i2c: 01 07 00 60 00 00 00 00 00 00 FF 0F 75 [17:08:32]process_action close_receipt done [17:08:32]requested_data is exist [17:08:32]produce_requested_data [17:08:32]requested_item fm.sn is exist - process it [17:08:32]wFMCommunicate request_size=4 [17:08:32]MH_SAM_APDU [17:08:32]CAPDU: 80 11 00 00 [17:08:32]Write to MH i2c: E2 08 00 61 00 80 11 00 00 00 00 00 00 DB [17:08:32]Write i2c OK [17:08:32]MH_I2C_Read... [17:08:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:08:32]Read from MH i2c: E2 [17:08:32]MH_I2C_Read... [17:08:32]Read from MH i2c: E2 17 00 [17:08:32]MH_I2C_Read... [17:08:32]Read from MH i2c: E2 17 00 61 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 35 [17:08:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [17:08:32]wFMCommunicate OK [17:08:32]requested_item fd.num is exist - process it [17:08:32]SAM_PROTO_GetFieldsCounters [17:08:32]wFMCommunicate request_size=4 [17:08:32]MH_SAM_APDU [17:08:32]CAPDU: 80 13 00 00 [17:08:32]Write to MH i2c: E2 08 00 62 00 80 13 00 00 00 00 00 00 DE [17:08:32]Write i2c OK [17:08:32]MH_I2C_Read... [17:08:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:08:32]Read from MH i2c: E2 [17:08:32]MH_I2C_Read... [17:08:32]Read from MH i2c: E2 62 00 [17:08:32]MH_I2C_Read... [17:08:32]Read from MH i2c: E2 62 00 62 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 52 31 00 00 0E 04 04 00 19 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 10 [17:08:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 52 31 00 00 0E 04 04 00 19 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 [17:08:32]wFMCommunicate OK [17:08:32]SAM_PROTO_GetFieldsCounters done [17:08:32]requested_item shift.num is exist - process it [17:08:32]requested_item shift.opened is exist - process it [17:08:32]req_shift_opened [17:08:32]FM_GetShiftState [17:08:32]SAM_PROTO_GetShiftState [17:08:32]wFMCommunicate request_size=4 [17:08:32]MH_SAM_APDU [17:08:32]CAPDU: 80 13 01 00 [17:08:32]Write to MH i2c: E2 08 00 63 00 80 13 01 00 00 00 00 00 E0 [17:08:32]Write i2c OK [17:08:32]MH_I2C_Read... [17:08:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:08:32]Read from MH i2c: E2 [17:08:32]MH_I2C_Read... [17:08:32]Read from MH i2c: E2 0E 00 [17:08:32]MH_I2C_Read... [17:08:32]Read from MH i2c: E2 0E 00 63 00 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 38 [17:08:32]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [17:08:32]wFMCommunicate OK [17:08:32]SAM_PROTO_GetShiftState done [17:08:32]FM_GetShiftState done [17:08:32]req_shift_opened done [17:08:32]requested_item shift.open_date is exist - process it [17:08:32]req_shift_open_date [17:08:32]req_shift_open_date done [17:08:32]produce_requested_data done [17:08:32]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12626,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [17:08:32]process_action_free close_receipt [17:08:32]json_value_free [17:08:32]json_value_free done [17:08:32]process_json_proto returns [17:08:32]Send response to host [17:08:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12626,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [17:08:32]free response buf [17:08:32]execute_script done [17:08:32]execute_script returns [17:08:32]free content buf [17:08:32]Sock 6.Close socket [17:08:32]Sock 6.Thread stoped [17:08:36]OFD Sender: No OFD packet to send [17:08:41]OFD Sender: No OFD packet to send [17:08:46]OFD Sender: No OFD packet to send [17:08:51]OFD Sender: No OFD packet to send [17:08:56]OFD Sender: No OFD packet to send [17:09:01]OFD Sender: No OFD packet to send [17:09:06]OFD Sender: No OFD packet to send [17:09:11]OFD Sender: No OFD packet to send [17:09:16]OFD Sender: No OFD packet to send [17:09:21]OFD Sender: No OFD packet to send [17:09:26]OFD Sender: No OFD packet to send [17:09:31]OFD Sender: No OFD packet to send [17:09:36]OFD Sender: No OFD packet to send [17:09:41]OFD Sender: No OFD packet to send [17:09:46]OFD Sender: No OFD packet to send [17:09:51]OFD Sender: No OFD packet to send [17:09:56]OFD Sender: No OFD packet to send [17:10:01]OFD Sender: No OFD packet to send [17:10:06]OFD Sender: No OFD packet to send [17:10:11]OFD Sender: No OFD packet to send [17:10:16]OFD Sender: No OFD packet to send [17:10:21]OFD Sender: No OFD packet to send [17:10:26]OFD Sender: No OFD packet to send [17:10:31]OFD Sender: No OFD packet to send [17:10:36]OFD Sender: No OFD packet to send [17:10:41]OFD Sender: No OFD packet to send [17:10:46]OFD Sender: No OFD packet to send [17:10:51]OFD Sender: No OFD packet to send [17:10:56]OFD Sender: No OFD packet to send [17:11:01]OFD Sender: No OFD packet to send [17:11:06]OFD Sender: No OFD packet to send [17:11:11]OFD Sender: No OFD packet to send [17:11:16]OFD Sender: No OFD packet to send [17:11:21]OFD Sender: No OFD packet to send [17:11:26]OFD Sender: No OFD packet to send [17:11:31]OFD Sender: No OFD packet to send [17:11:36]OFD Sender: No OFD packet to send [17:11:41]OFD Sender: No OFD packet to send [17:11:46]OFD Sender: No OFD packet to send [17:11:51]OFD Sender: No OFD packet to send [17:11:56]OFD Sender: No OFD packet to send [17:12:01]OFD Sender: No OFD packet to send [17:12:06]OFD Sender: No OFD packet to send [17:12:11]OFD Sender: No OFD packet to send [17:12:16]OFD Sender: No OFD packet to send [17:12:21]OFD Sender: No OFD packet to send [17:12:26]OFD Sender: No OFD packet to send [17:12:31]OFD Sender: No OFD packet to send [17:12:36]OFD Sender: No OFD packet to send [17:12:41]OFD Sender: No OFD packet to send [17:12:46]OFD Sender: No OFD packet to send [17:12:51]OFD Sender: No OFD packet to send [17:12:56]OFD Sender: No OFD packet to send [17:13:01]OFD Sender: No OFD packet to send [17:13:06]OFD Sender: No OFD packet to send [17:13:11]OFD Sender: No OFD packet to send [17:13:16]OFD Sender: No OFD packet to send [17:13:21]OFD Sender: No OFD packet to send [17:13:26]OFD Sender: No OFD packet to send [17:13:31]OFD Sender: No OFD packet to send [17:13:36]OFD Sender: No OFD packet to send [17:13:41]OFD Sender: No OFD packet to send [17:13:46]OFD Sender: No OFD packet to send [17:13:51]OFD Sender: No OFD packet to send [17:13:56]OFD Sender: No OFD packet to send [17:14:01]OFD Sender: No OFD packet to send [17:14:06]OFD Sender: No OFD packet to send [17:14:11]OFD Sender: No OFD packet to send [17:14:16]OFD Sender: No OFD packet to send [17:14:21]OFD Sender: No OFD packet to send [17:14:26]OFD Sender: No OFD packet to send [17:14:31]OFD Sender: No OFD packet to send [17:14:36]OFD Sender: No OFD packet to send [17:14:41]OFD Sender: No OFD packet to send [17:14:46]OFD Sender: No OFD packet to send [17:14:51]OFD Sender: No OFD packet to send [17:14:56]OFD Sender: No OFD packet to send [17:15:01]OFD Sender: No OFD packet to send [17:15:06]OFD Sender: No OFD packet to send [17:15:11]OFD Sender: No OFD packet to send [17:15:16]OFD Sender: No OFD packet to send [17:15:21]OFD Sender: No OFD packet to send [17:15:26]OFD Sender: No OFD packet to send [17:15:31]OFD Sender: No OFD packet to send [17:15:36]OFD Sender: No OFD packet to send [17:15:41]OFD Sender: No OFD packet to send [17:15:46]OFD Sender: No OFD packet to send [17:15:51]OFD Sender: No OFD packet to send [17:15:56]OFD Sender: No OFD packet to send [17:16:01]OFD Sender: No OFD packet to send [17:16:06]OFD Sender: No OFD packet to send [17:16:11]OFD Sender: No OFD packet to send [17:16:16]OFD Sender: No OFD packet to send [17:16:21]OFD Sender: No OFD packet to send [17:16:26]OFD Sender: No OFD packet to send [17:16:31]OFD Sender: No OFD packet to send [17:16:36]OFD Sender: No OFD packet to send [17:16:41]OFD Sender: No OFD packet to send [17:16:46]OFD Sender: No OFD packet to send [17:16:51]OFD Sender: No OFD packet to send [17:16:56]OFD Sender: No OFD packet to send [17:17:01]OFD Sender: No OFD packet to send [17:17:06]OFD Sender: No OFD packet to send [17:17:11]OFD Sender: No OFD packet to send [17:17:16]OFD Sender: No OFD packet to send [17:17:21]OFD Sender: No OFD packet to send [17:17:26]OFD Sender: No OFD packet to send [17:17:31]OFD Sender: No OFD packet to send [17:17:36]OFD Sender: No OFD packet to send [17:17:41]OFD Sender: No OFD packet to send [17:17:46]OFD Sender: No OFD packet to send [17:17:51]OFD Sender: No OFD packet to send [17:17:56]OFD Sender: No OFD packet to send [17:18:01]OFD Sender: No OFD packet to send [17:18:06]OFD Sender: No OFD packet to send [17:18:11]OFD Sender: No OFD packet to send [17:18:16]OFD Sender: No OFD packet to send [17:18:21]OFD Sender: No OFD packet to send [17:18:26]OFD Sender: No OFD packet to send [17:18:31]OFD Sender: No OFD packet to send [17:18:36]OFD Sender: No OFD packet to send [17:18:41]OFD Sender: No OFD packet to send [17:18:46]OFD Sender: No OFD packet to send [17:18:51]OFD Sender: No OFD packet to send [17:18:56]OFD Sender: No OFD packet to send [17:19:01]OFD Sender: No OFD packet to send [17:19:06]OFD Sender: No OFD packet to send [17:19:11]OFD Sender: No OFD packet to send [17:19:16]OFD Sender: No OFD packet to send [17:19:21]OFD Sender: No OFD packet to send [17:19:26]OFD Sender: No OFD packet to send [17:19:31]OFD Sender: No OFD packet to send [17:19:36]OFD Sender: No OFD packet to send [17:19:41]OFD Sender: No OFD packet to send [17:19:46]OFD Sender: No OFD packet to send [17:19:51]OFD Sender: No OFD packet to send [17:19:56]OFD Sender: No OFD packet to send [17:20:01]OFD Sender: No OFD packet to send [17:20:06]OFD Sender: No OFD packet to send [17:20:11]OFD Sender: No OFD packet to send [17:20:16]OFD Sender: No OFD packet to send [17:20:21]OFD Sender: No OFD packet to send [17:20:26]OFD Sender: No OFD packet to send [17:20:31]OFD Sender: No OFD packet to send [17:20:36]OFD Sender: No OFD packet to send [17:20:41]OFD Sender: No OFD packet to send [17:20:46]OFD Sender: No OFD packet to send [17:20:51]OFD Sender: No OFD packet to send [17:20:56]OFD Sender: No OFD packet to send [17:21:01]OFD Sender: No OFD packet to send [17:21:06]OFD Sender: No OFD packet to send [17:21:11]OFD Sender: No OFD packet to send [17:21:16]OFD Sender: No OFD packet to send [17:21:21]OFD Sender: No OFD packet to send [17:21:26]OFD Sender: No OFD packet to send [17:21:31]OFD Sender: No OFD packet to send [17:21:36]OFD Sender: No OFD packet to send [17:21:41]OFD Sender: No OFD packet to send [17:21:47]OFD Sender: No OFD packet to send [17:21:52]OFD Sender: No OFD packet to send [17:21:57]OFD Sender: No OFD packet to send [17:22:02]OFD Sender: No OFD packet to send [17:22:07]OFD Sender: No OFD packet to send [17:22:12]OFD Sender: No OFD packet to send [17:22:17]OFD Sender: No OFD packet to send [17:22:22]OFD Sender: No OFD packet to send [17:22:27]OFD Sender: No OFD packet to send [17:22:32]OFD Sender: No OFD packet to send [17:22:37]OFD Sender: No OFD packet to send [17:22:42]OFD Sender: No OFD packet to send [17:22:47]OFD Sender: No OFD packet to send [17:22:52]OFD Sender: No OFD packet to send [17:22:57]OFD Sender: No OFD packet to send [17:23:02]OFD Sender: No OFD packet to send [17:23:07]OFD Sender: No OFD packet to send [17:23:12]OFD Sender: No OFD packet to send [17:23:17]OFD Sender: No OFD packet to send [17:23:22]OFD Sender: No OFD packet to send [17:23:27]OFD Sender: No OFD packet to send [17:23:32]OFD Sender: No OFD packet to send [17:23:37]OFD Sender: No OFD packet to send [17:23:42]OFD Sender: No OFD packet to send [17:23:47]OFD Sender: No OFD packet to send [17:23:52]OFD Sender: No OFD packet to send [17:23:57]OFD Sender: No OFD packet to send [17:24:02]OFD Sender: No OFD packet to send [17:24:07]OFD Sender: No OFD packet to send [17:24:12]OFD Sender: No OFD packet to send [17:24:17]OFD Sender: No OFD packet to send [17:24:22]OFD Sender: No OFD packet to send [17:24:27]OFD Sender: No OFD packet to send [17:24:32]OFD Sender: No OFD packet to send [17:24:37]OFD Sender: No OFD packet to send [17:24:42]OFD Sender: No OFD packet to send [17:24:47]OFD Sender: No OFD packet to send [17:24:52]OFD Sender: No OFD packet to send [17:24:57]OFD Sender: No OFD packet to send [17:25:02]OFD Sender: No OFD packet to send [17:25:07]OFD Sender: No OFD packet to send [17:25:12]OFD Sender: No OFD packet to send [17:25:17]OFD Sender: No OFD packet to send [17:25:22]OFD Sender: No OFD packet to send [17:25:27]OFD Sender: No OFD packet to send [17:25:32]OFD Sender: No OFD packet to send [17:25:37]OFD Sender: No OFD packet to send [17:25:42]OFD Sender: No OFD packet to send [17:25:47]OFD Sender: No OFD packet to send [17:25:52]OFD Sender: No OFD packet to send [17:25:57]OFD Sender: No OFD packet to send [17:26:02]OFD Sender: No OFD packet to send [17:26:06]accept exits with 9 [17:26:06]New connection [17:26:06]New thread 3066813796 created [17:26:06]Thread 3066957156 joined [17:26:06]Waiting for new connection... [17:26:06] Sock 9.Parse request [17:26:06]Sock 9.Check first char [17:26:06]Sock 9.First char is OK [17:26:06]request: POST /json_proto HTTP/1.0 [17:26:06]Method: POST [17:26:06]URL: /json_proto [17:26:06]Method is POST - this is cgi request [17:26:06]url: /json_proto [17:26:06]query_string will be loaded in cgi processing [17:26:06]execute_cgi json_proto POST (null) [17:26:06]execute_cgi path=json_proto method=POST [17:26:06]POST find Content-Length [17:26:06]Host: 172.17.62.6:8080 [17:26:06]Content-Length: 921 [17:26:06]Content-Type: application/json [17:26:06] [17:26:06]POST finish read [17:26:06]Found Content-Length = 921 [17:26:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32899", "tax_sys" : 0, "items" : [ { "code": "4607065000790", "name": "\u0428\u043E\u043A M\u0026M`s \u0441 \u0430\u0440\u0430\u0445\u0438\u0441\u043E\u043C 45\u0433", "price" : 63.00, "quantity" : 1.000, "sum" : 63.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065000868", "name": "\u0428\u043E\u043A M\u0026M`s \u0441 \u0448\u043E\u043A\u043E\u043B\u0430\u0434\u043E\u043C 45\u0433", "price" : 69.00, "quantity" : 1.000, "sum" : 69.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 132.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:26:06]execute_script... [17:26:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32899", "tax_sys" : 0, "items" : [ { "code": "4607065000790", "name": "\u0428\u043E\u043A M\u0026M`s \u0441 \u0430\u0440\u0430\u0445\u0438\u0441\u043E\u043C 45\u0433", "price" : 63.00, "quantity" : 1.000, "sum" : 63.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065000868", "name": "\u0428\u043E\u043A M\u0026M`s \u0441 \u0448\u043E\u043A\u043E\u043B\u0430\u0434\u043E\u043C 45\u0433", "price" : 69.00, "quantity" : 1.000, "sum" : 69.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 132.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:26:06]POST & json_proto [17:26:06]process_json_proto [17:26:06]json parsed OK: [17:26:06]protocol is kg_v1.0 [17:26:06]action value=close_receipt [17:26:06]process_action close_receipt [17:26:06]cmd_close_receipt [17:26:06]MH_GetDate [17:26:06]Write to MH i2c: F0 00 00 64 00 53 [17:26:06]Write i2c OK [17:26:06]MH_I2C_Read... [17:26:06]Read from MH i2c: F0 [17:26:06]MH_I2C_Read... [17:26:06]Read from MH i2c: F0 09 00 [17:26:06]MH_I2C_Read... [17:26:06]Read from MH i2c: F0 09 00 64 00 00 2E 4C 25 66 61 69 D2 64 61 [17:26:06]GetLastDocTimeStamp 1713719308 [17:26:06]current date 1713720366 [17:26:06]FM_GetShiftState [17:26:06]SAM_PROTO_GetShiftState [17:26:06]wFMCommunicate request_size=4 [17:26:06]MH_SAM_APDU [17:26:06]CAPDU: 80 13 01 00 [17:26:06]Write to MH i2c: E2 08 00 65 00 80 13 01 00 00 00 00 00 E2 [17:26:06]Write i2c OK [17:26:06]MH_I2C_Read... [17:26:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:26:06]Read from MH i2c: E2 [17:26:06]MH_I2C_Read... [17:26:06]Read from MH i2c: E2 0E 00 [17:26:06]MH_I2C_Read... [17:26:06]Read from MH i2c: E2 0E 00 65 00 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 3A [17:26:06]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [17:26:06]wFMCommunicate OK [17:26:06]SAM_PROTO_GetShiftState done [17:26:06]FM_GetShiftState done [17:26:06]opened in 1713658727 [17:26:06]opened+sec_in_day 1713745127 [17:26:06]quantity*price = 6300 [17:26:06]sum+1 = 6301 [17:26:06]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607065000868 Шок M&M`s с шоколадом 45г 1.000 * 69.00 = 69.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 132.00 НСП 1% : 1.17 НДС 12% : 14.02 Наличными: 132.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 39 21.04.2024 17:26 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12627 ФПД: 139470459340774 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T172606&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12627&fm=139470459340774&tin=02508201610067®Number=0000000000100748&sum=13200 0 [17:26:07]StoreToDocumentArchive [17:26:07]shift 281 fd 12627 [17:26:07]save to /storage/0281/doc_00012627 [17:26:07]save last doc name /storage/0281/doc_00012627 to /storage/kkm_last_doc_name [17:26:07]save OK [17:26:07]Clear old archive folders... [17:26:07]ProcessDocumentItem done err = 0, tmpTLVsize=390 [17:26:07]tlvbuf is 0163F870 [17:26:07]SAM_PROTO_ClearQueue [17:26:07]wFMCommunicate request_size=4 [17:26:07]MH_SAM_APDU [17:26:07]CAPDU: 80 09 00 00 [17:26:07]Write to MH i2c: E2 08 00 72 00 80 09 00 00 00 00 00 00 E4 [17:26:07]Write i2c OK [17:26:07]MH_I2C_Read... [17:26:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:26:07]Read from MH i2c: E2 [17:26:07]MH_I2C_Read... [17:26:07]Read from MH i2c: E2 03 00 [17:26:07]MH_I2C_Read... [17:26:07]Read from MH i2c: E2 03 00 72 00 00 90 00 E6 [17:26:07]RAPDU: 90 00 [17:26:07]wFMCommunicate OK [17:26:07]SAM_PROTO_ClearQueue done [17:26:07]KKMCreateOFDPacket [17:26:07]OFDProtocolAddRootSTLVToBuf [17:26:07]FM_MakeSignedData [17:26:07]FM_MakeSignedData [17:26:07]SAM_PROTO_SignData [17:26:07]wFMCommunicate request_size=4 [17:26:07]MH_SAM_APDU [17:26:07]CAPDU: 80 0D 01 02 [17:26:07]Write to MH i2c: E2 08 00 73 00 80 0D 01 02 00 00 00 00 EC [17:26:07]Write i2c OK [17:26:07]MH_I2C_Read... [17:26:07]Read from MH i2c: E2 [17:26:07]MH_I2C_Read... [17:26:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:26:07]Read from MH i2c: E2 03 00 [17:26:07]MH_I2C_Read... [17:26:07]Read from MH i2c: E2 03 00 73 00 00 90 00 E7 [17:26:07]RAPDU: 90 00 [17:26:07]wFMCommunicate OK [17:26:07]wFMCommunicate request_size=255 [17:26:07]MH_SAM_APDU [17:26:07]CAPDU: 80 0D 02 02 FA 03 00 86 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 37 39 30 06 04 25 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D0 B0 D1 80 D0 B0 D1 85 D0 B8 D1 81 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 9C 18 00 00 00 00 13 04 06 00 9C 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 38 36 38 06 04 27 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 33 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 [17:26:07]Write to MH i2c: E2 02 01 74 00 80 0D 02 02 FA 00 03 00 86 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 37 39 30 06 04 25 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D0 B0 D1 80 D0 B0 D1 85 D0 B8 D1 81 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 9C 18 00 00 00 00 13 04 06 00 9C 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 38 36 38 06 04 27 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 33 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 00 FB [17:26:07]Write i2c OK [17:26:07]MH_I2C_Read... [17:26:07]Read from MH i2c: E2 [17:26:07]MH_I2C_Read... [17:26:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:26:07]Read from MH i2c: E2 03 00 [17:26:07]MH_I2C_Read... [17:26:07]Read from MH i2c: E2 03 00 74 00 00 90 00 E8 [17:26:07]RAPDU: 90 00 [17:26:07]wFMCommunicate OK [17:26:07]wFMCommunicate request_size=149 [17:26:07]MH_SAM_APDU [17:26:07]CAPDU: 80 0D 02 02 90 00 01 F7 03 06 00 75 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7A 05 00 00 00 00 07 04 06 00 90 33 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 2E 4C 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 53 31 00 00 35 04 06 00 7E D8 FF 2F 87 E6 [17:26:07]Write to MH i2c: E2 98 00 75 00 80 0D 02 02 90 00 00 01 F7 03 06 00 75 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7A 05 00 00 00 00 07 04 06 00 90 33 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 2E 4C 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 53 31 00 00 35 04 06 00 7E D8 FF 2F 87 E6 00 00 B1 [17:26:07]Write i2c OK [17:26:07]MH_I2C_Read... [17:26:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:26:07]Read from MH i2c: E2 [17:26:07]MH_I2C_Read... [17:26:07]Read from MH i2c: E2 03 00 [17:26:07]MH_I2C_Read... [17:26:07]Read from MH i2c: E2 03 00 75 00 00 90 00 E9 [17:26:07]RAPDU: 90 00 [17:26:07]wFMCommunicate OK [17:26:07]wFMCommunicate request_size=4 [17:26:07]MH_SAM_APDU [17:26:07]CAPDU: 80 0D 03 02 [17:26:07]Write to MH i2c: E2 08 00 76 00 80 0D 03 02 00 00 00 00 F1 [17:26:07]Write i2c OK [17:26:07]MH_I2C_Read... [17:26:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:26:08]Read from MH i2c: E2 [17:26:08]MH_I2C_Read... [17:26:08]Read from MH i2c: E2 0B 00 [17:26:08]MH_I2C_Read... [17:26:08]Read from MH i2c: E2 0B 00 76 00 00 25 18 A6 21 8F F4 D3 2C 90 00 78 [17:26:08]RAPDU: 25 18 A6 21 8F F4 D3 2C 90 00 [17:26:08]wFMCommunicate OK [17:26:08]SAM_PROTO_SignData done [17:26:08]FM_MakeSignedData done [17:26:08]CreateOFDProtocolMessage [17:26:08]wFMCommunicate request_size=4 [17:26:08]MH_SAM_APDU [17:26:08]CAPDU: 80 11 00 00 [17:26:08]Write to MH i2c: E2 08 00 77 00 80 11 00 00 00 00 00 00 F1 [17:26:08]Write i2c OK [17:26:08]MH_I2C_Read... [17:26:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:26:08]Read from MH i2c: E2 [17:26:08]MH_I2C_Read... [17:26:08]Read from MH i2c: E2 17 00 [17:26:08]MH_I2C_Read... [17:26:08]Read from MH i2c: E2 17 00 77 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 4B [17:26:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [17:26:08]wFMCommunicate OK [17:26:08]CreateOFDProtocolMessage done [17:26:08]OFDSenderStorePacket 12627 [17:26:08]StoreOFDPacket docnum=12627 [17:26:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 9A 01 00 00 E0 5C 92 01 43 61 5A 03 01 00 03 00 86 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 37 39 30 06 04 25 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D0 B0 D1 80 D0 B0 D1 85 D0 B8 D1 81 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 9C 18 00 00 00 00 13 04 06 00 9C 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 38 36 38 06 04 27 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 33 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7A 05 00 00 00 00 07 04 06 00 90 33 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 2E 4C 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 53 31 00 00 35 04 06 00 7E D8 FF 2F 87 E6 25 18 A6 21 8F F4 D3 2C [17:26:08]CheckFolder [17:26:08]dirname=/storage/ofd_packets [17:26:08]CheckFolder done [17:26:08]ProducePacketName [17:26:08]name=ofd_packets/00012627 [17:26:08]NVStorageSaveData ofd_packets/00012627 [17:26:08]File name is /storage/ofd_packets/00012627 [17:26:08]Write 440 bytes [17:26:08]NVStorageSaveData done [17:26:08]OFDSenderStorePacket done [17:26:08]KKMCreateOFDPacket done [17:26:08]NVStorageSaveData kkm_last_timestamp [17:26:08]File name is /storage/kkm_last_timestamp [17:26:08]Write 4 bytes [17:26:08]NVStorageSaveData done [17:26:08]ExternCall_PrintAddStr [17:26:08]wPrintStart [17:26:08]Write to MH i2c: 01 00 00 78 00 78 [17:26:08]Write i2c OK [17:26:08]MH_I2C_Read... [17:26:08]Read from MH i2c: 01 [17:26:08]MH_I2C_Read... [17:26:08]Read from MH i2c: 01 07 00 [17:26:08]MH_I2C_Read... [17:26:08]Read from MH i2c: 01 07 00 78 00 00 00 00 00 00 FF 0F 8D [17:26:08]RasterBufferAndPrint [17:26:08]line Счет N : (3)32899 [17:26:08]line ИНН: 02508201610067 [17:26:08]line Контрольно-Кассовый Чек [17:26:08]line ПРОДАЖА [17:26:08]line Товар: 4607065000790 [17:26:08]line Шок M&M`s с арахисом 45г [17:26:08]line 1.000 * 63.00 [17:26:08]line = 63.00 [17:26:08]line НДС 12% НСП 1% [17:26:08]line > о реализуемом товаре [17:26:08]line Товар: 4607065000868 [17:26:08]line Шок M&M`s с шоколадом 45г [17:26:08]line 1.000 * 69.00 [17:26:08]line = 69.00 [17:26:08]line НДС 12% НСП 1% [17:26:08]line > о реализуемом товаре [17:26:08]line ИТОГО: 132.00 [17:26:08]line НСП 1% : 1.17 [17:26:08]line НДС 12% : 14.02 [17:26:08]line Наличными: 132.00 [17:26:08]line Безнал.: 0.00 [17:26:08]line Место: АЗС № 106 "Партнер Нефть" [17:26:08]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [17:26:08]line СНО: Общий режим [17:26:08]line Чек 39 21.04.2024 17:26 [17:26:08]line Смена: 281 ФФД: 1.0 [17:26:08]line ЗНМ: 0300000004 [17:26:08]line РНМ: 0000000000100748 [17:26:08]line Версия ККМ: 001 [17:26:08]line ФМ: 0000000000965685 [17:26:08]line ФД: 12627 [17:26:08]line ФПД: 139470459340774 [17:26:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T172606&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12627&fm=139470459340774&tin=02508201610067®Number=0000000000100748&sum=13200 [17:26:08]line 0 [17:26:08]OFD Sender: Processing packet 12627 [packets to send 7, broken 6] [17:26:08]ProducePacketName [17:26:08]name=ofd_packets/00012627 [17:26:08]OFD Sender: To server: pG, [17:26:08]CommunicateWithHost lk.salyk.kg:30040 [17:26:08]ConnectInit lk.salyk.kg [17:26:08]written 0, free lines is 4095 [17:26:08]Connected sock=10 [17:26:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 9A 01 00 00 E0 5C 92 01 43 61 5A 03 01 00 03 00 86 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 37 39 30 06 04 25 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D0 B0 D1 80 D0 B0 D1 85 D0 B8 D1 81 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 9C 18 00 00 00 00 13 04 06 00 9C 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 38 36 38 06 04 27 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 33 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7A 05 00 00 00 00 07 04 06 00 90 33 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 2E 4C 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 53 31 00 00 35 04 06 00 7E D8 FF 2F 87 E6 25 18 A6 21 8F F4 D3 2C [17:26:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 88 F1 47 00 E4 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 39 36 35 36 38 35 10 04 04 00 53 31 00 00 F4 03 04 00 AF F4 24 66 B6 04 01 00 00 8A 9B 41 CA DC D4 1B 9C [17:26:08]CommunicateWithHost err = 0 [17:26:08]CheckOFDResponse [17:26:08]1017 (14) - 77093643461234 [17:26:08]1041 (16) - 0000000000965685 [17:26:08]1040 (4) - 12627 [17:26:08]1012 (4) - 21.04.2024 11:12 [17:26:08]1206 (1) - 0 [17:26:08]OFD Sender: Remove packet 12627 [17:26:08]ProducePacketName [17:26:08]name=ofd_packets/00012627 [17:26:08]NVStorageDeleteData [17:26:08]Write to MH i2c: 01 00 00 A5 00 A5 [17:26:08]Write i2c OK [17:26:08]MH_I2C_Read... [17:26:08]Read from MH i2c: 01 [17:26:08]MH_I2C_Read... [17:26:08]Read from MH i2c: 01 07 00 [17:26:08]MH_I2C_Read... [17:26:08]Read from MH i2c: 01 07 00 A5 00 00 00 00 00 00 D2 0C 8A [17:26:08]RasterBufferAndPrint [17:26:08]line [17:26:08]line [17:26:08]line [17:26:08]line [17:26:08]line [17:26:08]written 0, free lines is 3287 [17:26:08]MH_Cut [17:26:08]Write to MH i2c: D1 01 00 AC 00 01 7E [17:26:08]Write i2c OK [17:26:08]MH_I2C_Read... [17:26:08]Read from MH i2c: D1 [17:26:08]MH_I2C_Read... [17:26:08]Read from MH i2c: D1 01 00 [17:26:08]MH_I2C_Read... [17:26:08]Read from MH i2c: D1 01 00 AC 00 00 7D [17:26:08]Write to MH i2c: 01 00 00 AD 00 AD [17:26:08]Write i2c OK [17:26:08]MH_I2C_Read... [17:26:09]OFD Sender: No OFD packet to send [17:26:09]*** Cut start [17:26:09]*** Partial cut [17:26:09]*** CUTSNS_PIN = 1 [17:26:09]*** CUTSNS_PIN = 0 [17:26:09]*** Brake cut motor [17:26:10]Read from MH i2c: 01 [17:26:10]MH_I2C_Read... [17:26:10]*** Stop cut motor [17:26:10]*** Cut end [17:26:10]Read from MH i2c: 01 07 00 [17:26:10]MH_I2C_Read... [17:26:10]Read from MH i2c: 01 07 00 AD 00 00 00 00 00 00 FF 0F C2 [17:26:10]process_action close_receipt done [17:26:10]requested_data is exist [17:26:10]produce_requested_data [17:26:10]requested_item fm.sn is exist - process it [17:26:10]wFMCommunicate request_size=4 [17:26:10]MH_SAM_APDU [17:26:10]CAPDU: 80 11 00 00 [17:26:10]Write to MH i2c: E2 08 00 AE 00 80 11 00 00 00 00 00 00 28 [17:26:10]Write i2c OK [17:26:10]MH_I2C_Read... [17:26:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:26:10]Read from MH i2c: E2 [17:26:10]MH_I2C_Read... [17:26:10]Read from MH i2c: E2 17 00 [17:26:10]MH_I2C_Read... [17:26:10]Read from MH i2c: E2 17 00 AE 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 82 [17:26:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [17:26:10]wFMCommunicate OK [17:26:10]requested_item fd.num is exist - process it [17:26:10]SAM_PROTO_GetFieldsCounters [17:26:10]wFMCommunicate request_size=4 [17:26:10]MH_SAM_APDU [17:26:10]CAPDU: 80 13 00 00 [17:26:10]Write to MH i2c: E2 08 00 AF 00 80 13 00 00 00 00 00 00 2B [17:26:10]Write i2c OK [17:26:10]MH_I2C_Read... [17:26:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:26:10]Read from MH i2c: E2 [17:26:10]MH_I2C_Read... [17:26:10]Read from MH i2c: E2 62 00 [17:26:10]MH_I2C_Read... [17:26:10]Read from MH i2c: E2 62 00 AF 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 53 31 00 00 0E 04 04 00 19 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 61 [17:26:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 53 31 00 00 0E 04 04 00 19 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 [17:26:10]wFMCommunicate OK [17:26:10]SAM_PROTO_GetFieldsCounters done [17:26:10]requested_item shift.num is exist - process it [17:26:10]requested_item shift.opened is exist - process it [17:26:10]req_shift_opened [17:26:10]FM_GetShiftState [17:26:10]SAM_PROTO_GetShiftState [17:26:10]wFMCommunicate request_size=4 [17:26:10]MH_SAM_APDU [17:26:10]CAPDU: 80 13 01 00 [17:26:10]Write to MH i2c: E2 08 00 B0 00 80 13 01 00 00 00 00 00 2D [17:26:10]Write i2c OK [17:26:10]MH_I2C_Read... [17:26:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:26:10]Read from MH i2c: E2 [17:26:10]MH_I2C_Read... [17:26:10]Read from MH i2c: E2 0E 00 [17:26:10]MH_I2C_Read... [17:26:10]Read from MH i2c: E2 0E 00 B0 00 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 85 [17:26:10]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [17:26:10]wFMCommunicate OK [17:26:10]SAM_PROTO_GetShiftState done [17:26:10]FM_GetShiftState done [17:26:10]req_shift_opened done [17:26:10]requested_item shift.open_date is exist - process it [17:26:10]req_shift_open_date [17:26:10]req_shift_open_date done [17:26:10]produce_requested_data done [17:26:10]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12627,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [17:26:10]process_action_free close_receipt [17:26:10]json_value_free [17:26:10]json_value_free done [17:26:10]process_json_proto returns [17:26:10]Send response to host [17:26:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12627,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [17:26:10]free response buf [17:26:10]execute_script done [17:26:10]execute_script returns [17:26:10]free content buf [17:26:10]Sock 9.Close socket [17:26:10]Sock 9.Thread stoped [17:26:14]OFD Sender: No OFD packet to send [17:26:19]OFD Sender: No OFD packet to send [17:26:24]OFD Sender: No OFD packet to send [17:26:29]OFD Sender: No OFD packet to send [17:26:34]OFD Sender: No OFD packet to send [17:26:39]OFD Sender: No OFD packet to send [17:26:44]OFD Sender: No OFD packet to send [17:26:49]OFD Sender: No OFD packet to send [17:26:54]OFD Sender: No OFD packet to send [17:26:59]OFD Sender: No OFD packet to send [17:27:04]OFD Sender: No OFD packet to send [17:27:09]OFD Sender: No OFD packet to send [17:27:14]OFD Sender: No OFD packet to send [17:27:19]OFD Sender: No OFD packet to send [17:27:24]OFD Sender: No OFD packet to send [17:27:29]OFD Sender: No OFD packet to send [17:27:34]OFD Sender: No OFD packet to send [17:27:39]OFD Sender: No OFD packet to send [17:27:44]OFD Sender: No OFD packet to send [17:27:49]OFD Sender: No OFD packet to send [17:27:54]OFD Sender: No OFD packet to send [17:27:59]OFD Sender: No OFD packet to send [17:28:04]OFD Sender: No OFD packet to send [17:28:09]OFD Sender: No OFD packet to send [17:28:14]OFD Sender: No OFD packet to send [17:28:19]OFD Sender: No OFD packet to send [17:28:24]OFD Sender: No OFD packet to send [17:28:29]OFD Sender: No OFD packet to send [17:28:34]OFD Sender: No OFD packet to send [17:28:39]OFD Sender: No OFD packet to send [17:28:44]OFD Sender: No OFD packet to send [17:28:49]OFD Sender: No OFD packet to send [17:28:54]OFD Sender: No OFD packet to send [17:28:59]OFD Sender: No OFD packet to send [17:29:04]OFD Sender: No OFD packet to send [17:29:09]OFD Sender: No OFD packet to send [17:29:14]OFD Sender: No OFD packet to send [17:29:19]OFD Sender: No OFD packet to send [17:29:24]OFD Sender: No OFD packet to send [17:29:29]OFD Sender: No OFD packet to send [17:29:34]OFD Sender: No OFD packet to send [17:29:39]OFD Sender: No OFD packet to send [17:29:44]OFD Sender: No OFD packet to send [17:29:49]OFD Sender: No OFD packet to send [17:29:54]OFD Sender: No OFD packet to send [17:29:59]OFD Sender: No OFD packet to send [17:30:04]OFD Sender: No OFD packet to send [17:30:09]OFD Sender: No OFD packet to send [17:30:14]OFD Sender: No OFD packet to send [17:30:19]OFD Sender: No OFD packet to send [17:30:24]OFD Sender: No OFD packet to send [17:30:29]OFD Sender: No OFD packet to send [17:30:34]OFD Sender: No OFD packet to send [17:30:39]OFD Sender: No OFD packet to send [17:30:44]OFD Sender: No OFD packet to send [17:30:49]OFD Sender: No OFD packet to send [17:30:49]recv_with_timeout no data received [17:30:54]OFD Sender: No OFD packet to send [17:30:59]OFD Sender: No OFD packet to send [17:31:04]OFD Sender: No OFD packet to send [17:31:09]OFD Sender: No OFD packet to send [17:31:14]OFD Sender: No OFD packet to send [17:31:19]OFD Sender: No OFD packet to send [17:31:24]OFD Sender: No OFD packet to send [17:31:29]OFD Sender: No OFD packet to send [17:31:33]accept exits with 7 [17:31:33]New connection [17:31:33]New thread 3066957156 created [17:31:33]Thread 3066813796 joined [17:31:33]Waiting for new connection... [17:31:33] Sock 7.Parse request [17:31:33]Sock 7.Check first char [17:31:33]Sock 7.First char is OK [17:31:33]request: POST /json_proto HTTP/1.0 [17:31:33]Method: POST [17:31:33]URL: /json_proto [17:31:33]Method is POST - this is cgi request [17:31:33]url: /json_proto [17:31:33]query_string will be loaded in cgi processing [17:31:33]execute_cgi json_proto POST (null) [17:31:33]execute_cgi path=json_proto method=POST [17:31:33]POST find Content-Length [17:31:33]Host: 172.17.62.6:8080 [17:31:33]Content-Length: 627 [17:31:33]Content-Type: application/json [17:31:33] [17:31:33]POST finish read [17:31:33]Found Content-Length = 627 [17:31:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32900", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:31:33]execute_script... [17:31:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32900", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:31:33]POST & json_proto [17:31:33]process_json_proto [17:31:33]json parsed OK: [17:31:33]protocol is kg_v1.0 [17:31:33]action value=close_receipt [17:31:33]process_action close_receipt [17:31:33]cmd_close_receipt [17:31:33]MH_GetDate [17:31:33]Write to MH i2c: F0 00 00 B1 00 A0 [17:31:33]Write i2c OK [17:31:33]MH_I2C_Read... [17:31:33]Read from MH i2c: F0 [17:31:33]MH_I2C_Read... [17:31:33]Read from MH i2c: F0 09 00 [17:31:33]MH_I2C_Read... [17:31:33]Read from MH i2c: F0 09 00 B1 00 00 75 4D 25 66 61 69 D2 64 F6 [17:31:33]GetLastDocTimeStamp 1713720366 [17:31:33]current date 1713720693 [17:31:33]FM_GetShiftState [17:31:33]SAM_PROTO_GetShiftState [17:31:33]wFMCommunicate request_size=4 [17:31:33]MH_SAM_APDU [17:31:33]CAPDU: 80 13 01 00 [17:31:33]Write to MH i2c: E2 08 00 B2 00 80 13 01 00 00 00 00 00 2F [17:31:33]Write i2c OK [17:31:33]MH_I2C_Read... [17:31:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:31:33]Read from MH i2c: E2 [17:31:33]MH_I2C_Read... [17:31:33]Read from MH i2c: E2 0E 00 [17:31:33]MH_I2C_Read... [17:31:33]Read from MH i2c: E2 0E 00 B2 00 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 87 [17:31:33]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [17:31:33]wFMCommunicate OK [17:31:33]SAM_PROTO_GetShiftState done [17:31:33]FM_GetShiftState done [17:31:33]opened in 1713658727 [17:31:33]opened+sec_in_day 1713745127 [17:31:33]quantity*price = 26000 [17:31:33]sum+1 = 26001 [17:31:33]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 260.00 НСП 1% : 2.30 НДС 12% : 27.61 Наличными: 260.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 40 21.04.2024 17:31 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12628 ФПД: 68559543742055 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T173133&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12628&fm=68559543742055&tin=02508201610067®Number=0000000000100748&sum=26000 0 [17:31:34]StoreToDocumentArchive [17:31:34]shift 281 fd 12628 [17:31:34]save to /storage/0281/doc_00012628 [17:31:34]save last doc name /storage/0281/doc_00012628 to /storage/kkm_last_doc_name [17:31:34]save OK [17:31:34]Clear old archive folders... [17:31:34]ProcessDocumentItem done err = 0, tmpTLVsize=276 [17:31:34]tlvbuf is 016CFAE0 [17:31:34]SAM_PROTO_ClearQueue [17:31:34]wFMCommunicate request_size=4 [17:31:34]MH_SAM_APDU [17:31:34]CAPDU: 80 09 00 00 [17:31:34]Write to MH i2c: E2 08 00 BF 00 80 09 00 00 00 00 00 00 31 [17:31:34]Write i2c OK [17:31:34]MH_I2C_Read... [17:31:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:31:34]Read from MH i2c: E2 [17:31:34]MH_I2C_Read... [17:31:34]Read from MH i2c: E2 03 00 [17:31:34]MH_I2C_Read... [17:31:34]Read from MH i2c: E2 03 00 BF 00 00 90 00 33 [17:31:34]RAPDU: 90 00 [17:31:34]wFMCommunicate OK [17:31:34]SAM_PROTO_ClearQueue done [17:31:34]KKMCreateOFDPacket [17:31:34]OFDProtocolAddRootSTLVToBuf [17:31:34]FM_MakeSignedData [17:31:34]FM_MakeSignedData [17:31:34]SAM_PROTO_SignData [17:31:34]wFMCommunicate request_size=4 [17:31:34]MH_SAM_APDU [17:31:34]CAPDU: 80 0D 01 02 [17:31:34]Write to MH i2c: E2 08 00 C0 00 80 0D 01 02 00 00 00 00 39 [17:31:34]Write i2c OK [17:31:34]MH_I2C_Read... [17:31:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:31:34]Read from MH i2c: E2 [17:31:34]MH_I2C_Read... [17:31:34]Read from MH i2c: E2 03 00 [17:31:34]MH_I2C_Read... [17:31:34]Read from MH i2c: E2 03 00 C0 00 00 90 00 34 [17:31:34]RAPDU: 90 00 [17:31:34]wFMCommunicate OK [17:31:34]wFMCommunicate request_size=255 [17:31:34]MH_SAM_APDU [17:31:34]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 75 4D 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 [17:31:34]Write to MH i2c: E2 02 01 C1 00 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 75 4D 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 00 00 98 [17:31:34]Write i2c OK [17:31:34]MH_I2C_Read... [17:31:34]OFD Sender: No OFD packet to send [17:31:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:31:34]Read from MH i2c: E2 [17:31:34]MH_I2C_Read... [17:31:34]Read from MH i2c: E2 03 00 [17:31:34]MH_I2C_Read... [17:31:34]Read from MH i2c: E2 03 00 C1 00 00 90 00 35 [17:31:34]RAPDU: 90 00 [17:31:34]wFMCommunicate OK [17:31:34]wFMCommunicate request_size=35 [17:31:34]MH_SAM_APDU [17:31:34]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 54 31 00 00 35 04 06 00 3E 5A C3 40 2E 67 [17:31:34]Write to MH i2c: E2 26 00 C2 00 80 0D 02 02 1E 00 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 54 31 00 00 35 04 06 00 3E 5A C3 40 2E 67 00 00 EB [17:31:34]Write i2c OK [17:31:34]MH_I2C_Read... [17:31:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:31:34]Read from MH i2c: E2 [17:31:34]MH_I2C_Read... [17:31:34]Read from MH i2c: E2 03 00 [17:31:34]MH_I2C_Read... [17:31:34]Read from MH i2c: E2 03 00 C2 00 00 90 00 36 [17:31:34]RAPDU: 90 00 [17:31:34]wFMCommunicate OK [17:31:34]wFMCommunicate request_size=4 [17:31:34]MH_SAM_APDU [17:31:34]CAPDU: 80 0D 03 02 [17:31:34]Write to MH i2c: E2 08 00 C3 00 80 0D 03 02 00 00 00 00 3E [17:31:34]Write i2c OK [17:31:34]MH_I2C_Read... [17:31:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:31:34]Read from MH i2c: E2 [17:31:34]MH_I2C_Read... [17:31:34]Read from MH i2c: E2 0B 00 [17:31:34]MH_I2C_Read... [17:31:34]Read from MH i2c: E2 0B 00 C3 00 00 78 A3 D1 95 B4 6E 8A B5 90 00 21 [17:31:34]RAPDU: 78 A3 D1 95 B4 6E 8A B5 90 00 [17:31:34]wFMCommunicate OK [17:31:34]SAM_PROTO_SignData done [17:31:34]FM_MakeSignedData done [17:31:34]CreateOFDProtocolMessage [17:31:34]wFMCommunicate request_size=4 [17:31:34]MH_SAM_APDU [17:31:34]CAPDU: 80 11 00 00 [17:31:34]Write to MH i2c: E2 08 00 C4 00 80 11 00 00 00 00 00 00 3E [17:31:34]Write i2c OK [17:31:34]MH_I2C_Read... [17:31:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:31:34]Read from MH i2c: E2 [17:31:34]MH_I2C_Read... [17:31:34]Read from MH i2c: E2 17 00 [17:31:34]MH_I2C_Read... [17:31:34]Read from MH i2c: E2 17 00 C4 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 98 [17:31:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [17:31:34]wFMCommunicate OK [17:31:34]CreateOFDProtocolMessage done [17:31:34]OFDSenderStorePacket 12628 [17:31:34]StoreOFDPacket docnum=12628 [17:31:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 28 01 00 00 ED 58 20 01 A2 D2 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 75 4D 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 54 31 00 00 35 04 06 00 3E 5A C3 40 2E 67 78 A3 D1 95 B4 6E 8A B5 [17:31:34]CheckFolder [17:31:34]dirname=/storage/ofd_packets [17:31:34]CheckFolder done [17:31:34]ProducePacketName [17:31:34]name=ofd_packets/00012628 [17:31:34]NVStorageSaveData ofd_packets/00012628 [17:31:34]File name is /storage/ofd_packets/00012628 [17:31:34]Write 326 bytes [17:31:34]NVStorageSaveData done [17:31:34]OFDSenderStorePacket done [17:31:34]KKMCreateOFDPacket done [17:31:34]NVStorageSaveData kkm_last_timestamp [17:31:34]File name is /storage/kkm_last_timestamp [17:31:34]Write 4 bytes [17:31:34]NVStorageSaveData done [17:31:34]ExternCall_PrintAddStr [17:31:34]wPrintStart [17:31:34]Write to MH i2c: 01 00 00 C5 00 C5 [17:31:34]Write i2c OK [17:31:34]MH_I2C_Read... [17:31:34]Read from MH i2c: 01 [17:31:34]MH_I2C_Read... [17:31:34]Read from MH i2c: 01 07 00 [17:31:34]MH_I2C_Read... [17:31:34]Read from MH i2c: 01 07 00 C5 00 00 00 00 00 00 FF 0F DA [17:31:34]RasterBufferAndPrint [17:31:34]line Счет N : (3)32900 [17:31:34]line ИНН: 02508201610067 [17:31:34]line Контрольно-Кассовый Чек [17:31:34]line ПРОДАЖА [17:31:34]line Товар: 2000036230011 [17:31:34]line Кофе Латте XL(GABB TRADE) [17:31:34]line 2.000 * 130.00 [17:31:34]line = 260.00 [17:31:34]line НДС 12% НСП 1% [17:31:34]line > о реализуемом товаре [17:31:34]line ИТОГО: 260.00 [17:31:34]line НСП 1% : 2.30 [17:31:34]line НДС 12% : 27.61 [17:31:34]line Наличными: 260.00 [17:31:34]line Безнал.: 0.00 [17:31:34]line Место: АЗС № 106 "Партнер Нефть" [17:31:34]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [17:31:34]line СНО: Общий режим [17:31:34]line Чек 40 21.04.2024 17:31 [17:31:34]line Смена: 281 ФФД: 1.0 [17:31:34]line ЗНМ: 0300000004 [17:31:34]line РНМ: 0000000000100748 [17:31:34]line Версия ККМ: 001 [17:31:34]line ФМ: 0000000000965685 [17:31:34]line ФД: 12628 [17:31:34]line ФПД: 68559543742055 [17:31:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T173133&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12628&fm=68559543742055&tin=02508201610067®Number=0000000000100748&sum=26000 [17:31:35]line 0 [17:31:35]OFD Sender: Processing packet 12628 [packets to send 7, broken 6] [17:31:35]ProducePacketName [17:31:35]name=ofd_packets/00012628 [17:31:35]OFD Sender: To server: pG, [17:31:35]CommunicateWithHost lk.salyk.kg:30040 [17:31:35]ConnectInit lk.salyk.kg [17:31:35]written 0, free lines is 4095 [17:31:35]Connected sock=10 [17:31:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 28 01 00 00 ED 58 20 01 A2 D2 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 75 4D 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 54 31 00 00 35 04 06 00 3E 5A C3 40 2E 67 78 A3 D1 95 B4 6E 8A B5 [17:31:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 8E 02 47 00 E1 A5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 54 31 00 00 F4 03 04 00 F6 F5 24 66 B6 04 01 00 00 88 F4 A5 2D 7A DC F6 39 [17:31:35]CommunicateWithHost err = 0 [17:31:35]CheckOFDResponse [17:31:35]1017 (14) - 77093643461234 [17:31:35]1041 (16) - 0000000000965685 [17:31:35]1040 (4) - 12628 [17:31:35]1012 (4) - 21.04.2024 11:18 [17:31:35]1206 (1) - 0 [17:31:35]OFD Sender: Remove packet 12628 [17:31:35]ProducePacketName [17:31:35]name=ofd_packets/00012628 [17:31:35]NVStorageDeleteData [17:31:35]Write to MH i2c: 01 00 00 EC 00 EC [17:31:35]Write i2c OK [17:31:35]MH_I2C_Read... [17:31:35]Read from MH i2c: 01 [17:31:35]MH_I2C_Read... [17:31:35]Read from MH i2c: 01 07 00 [17:31:35]MH_I2C_Read... [17:31:35]Read from MH i2c: 01 07 00 EC 00 00 00 00 00 00 1C 0D 1C [17:31:35]RasterBufferAndPrint [17:31:35]line [17:31:35]line [17:31:35]line [17:31:35]line [17:31:35]line [17:31:35]written 0, free lines is 3362 [17:31:35]MH_Cut [17:31:35]Write to MH i2c: D1 01 00 F3 00 01 C5 [17:31:35]Write i2c OK [17:31:35]MH_I2C_Read... [17:31:35]Read from MH i2c: D1 [17:31:35]MH_I2C_Read... [17:31:35]Read from MH i2c: D1 01 00 [17:31:35]MH_I2C_Read... [17:31:35]Read from MH i2c: D1 01 00 F3 00 00 C4 [17:31:35]Write to MH i2c: 01 00 00 F4 00 F4 [17:31:35]Write i2c OK [17:31:35]MH_I2C_Read... [17:31:35]OFD Sender: No OFD packet to send [17:31:36]*** Cut start [17:31:36]*** Partial cut [17:31:36]*** CUTSNS_PIN = 1 [17:31:36]*** CUTSNS_PIN = 0 [17:31:36]*** Brake cut motor [17:31:36]Read from MH i2c: 01 [17:31:36]MH_I2C_Read... [17:31:36]*** Stop cut motor [17:31:36]*** Cut end [17:31:36]Read from MH i2c: 01 07 00 [17:31:36]MH_I2C_Read... [17:31:36]Read from MH i2c: 01 07 00 F4 00 00 00 00 00 00 FF 0F 09 [17:31:36]process_action close_receipt done [17:31:36]requested_data is exist [17:31:36]produce_requested_data [17:31:36]requested_item fm.sn is exist - process it [17:31:36]wFMCommunicate request_size=4 [17:31:36]MH_SAM_APDU [17:31:36]CAPDU: 80 11 00 00 [17:31:36]Write to MH i2c: E2 08 00 F5 00 80 11 00 00 00 00 00 00 6F [17:31:36]Write i2c OK [17:31:36]MH_I2C_Read... [17:31:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:31:36]Read from MH i2c: E2 [17:31:36]MH_I2C_Read... [17:31:36]Read from MH i2c: E2 17 00 [17:31:36]MH_I2C_Read... [17:31:36]Read from MH i2c: E2 17 00 F5 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 C9 [17:31:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [17:31:36]wFMCommunicate OK [17:31:36]requested_item fd.num is exist - process it [17:31:36]SAM_PROTO_GetFieldsCounters [17:31:36]wFMCommunicate request_size=4 [17:31:36]MH_SAM_APDU [17:31:36]CAPDU: 80 13 00 00 [17:31:36]Write to MH i2c: E2 08 00 F6 00 80 13 00 00 00 00 00 00 72 [17:31:36]Write i2c OK [17:31:36]MH_I2C_Read... [17:31:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:31:37]Read from MH i2c: E2 [17:31:37]MH_I2C_Read... [17:31:37]Read from MH i2c: E2 62 00 [17:31:37]MH_I2C_Read... [17:31:37]Read from MH i2c: E2 62 00 F6 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 54 31 00 00 0E 04 04 00 19 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 AC [17:31:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 54 31 00 00 0E 04 04 00 19 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 [17:31:37]wFMCommunicate OK [17:31:37]SAM_PROTO_GetFieldsCounters done [17:31:37]requested_item shift.num is exist - process it [17:31:37]requested_item shift.opened is exist - process it [17:31:37]req_shift_opened [17:31:37]FM_GetShiftState [17:31:37]SAM_PROTO_GetShiftState [17:31:37]wFMCommunicate request_size=4 [17:31:37]MH_SAM_APDU [17:31:37]CAPDU: 80 13 01 00 [17:31:37]Write to MH i2c: E2 08 00 F7 00 80 13 01 00 00 00 00 00 74 [17:31:37]Write i2c OK [17:31:37]MH_I2C_Read... [17:31:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:31:37]Read from MH i2c: E2 [17:31:37]MH_I2C_Read... [17:31:37]Read from MH i2c: E2 0E 00 [17:31:37]MH_I2C_Read... [17:31:37]Read from MH i2c: E2 0E 00 F7 00 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 CC [17:31:37]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [17:31:37]wFMCommunicate OK [17:31:37]SAM_PROTO_GetShiftState done [17:31:37]FM_GetShiftState done [17:31:37]req_shift_opened done [17:31:37]requested_item shift.open_date is exist - process it [17:31:37]req_shift_open_date [17:31:37]req_shift_open_date done [17:31:37]produce_requested_data done [17:31:37]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12628,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [17:31:37]process_action_free close_receipt [17:31:37]json_value_free [17:31:37]json_value_free done [17:31:37]process_json_proto returns [17:31:37]Send response to host [17:31:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12628,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [17:31:37]free response buf [17:31:37]execute_script done [17:31:37]execute_script returns [17:31:37]free content buf [17:31:37]Sock 7.Close socket [17:31:37]Sock 7.Thread stoped [17:31:40]OFD Sender: No OFD packet to send [17:31:45]OFD Sender: No OFD packet to send [17:31:50]OFD Sender: No OFD packet to send [17:31:55]OFD Sender: No OFD packet to send [17:32:00]OFD Sender: No OFD packet to send [17:32:05]OFD Sender: No OFD packet to send [17:32:10]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:12]accept exits with 9 [17:33:12]New connection [17:33:12]New thread 3066813796 created [17:33:12]Thread 3066957156 joined [17:33:12]Waiting for new connection... [17:33:12] Sock 9.Parse request [17:33:12]Sock 9.Check first char [17:33:12]Sock 9.First char is OK [17:33:12]request: POST /json_proto HTTP/1.0 [17:33:12]Method: POST [17:33:12]URL: /json_proto [17:33:12]Method is POST - this is cgi request [17:33:12]url: /json_proto [17:33:12]query_string will be loaded in cgi processing [17:33:12]execute_cgi json_proto POST (null) [17:33:12]execute_cgi path=json_proto method=POST [17:33:12]POST find Content-Length [17:33:12]Host: 172.17.62.6:8080 [17:33:12]Content-Length: 629 [17:33:12]Content-Type: application/json [17:33:12] [17:33:12]POST finish read [17:33:12]Found Content-Length = 629 [17:33:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32901", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:33:12]execute_script... [17:33:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32901", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:33:12]POST & json_proto [17:33:12]process_json_proto [17:33:12]json parsed OK: [17:33:12]protocol is kg_v1.0 [17:33:12]action value=close_receipt [17:33:12]process_action close_receipt [17:33:12]cmd_close_receipt [17:33:12]MH_GetDate [17:33:12]Write to MH i2c: F0 00 00 F8 00 E7 [17:33:12]Write i2c OK [17:33:12]MH_I2C_Read... [17:33:12]Read from MH i2c: F0 [17:33:12]MH_I2C_Read... [17:33:12]Read from MH i2c: F0 09 00 [17:33:12]MH_I2C_Read... [17:33:12]Read from MH i2c: F0 09 00 F8 00 00 D9 4D 25 66 61 69 D2 64 A1 [17:33:12]GetLastDocTimeStamp 1713720693 [17:33:12]current date 1713720793 [17:33:12]FM_GetShiftState [17:33:12]SAM_PROTO_GetShiftState [17:33:12]wFMCommunicate request_size=4 [17:33:12]MH_SAM_APDU [17:33:12]CAPDU: 80 13 01 00 [17:33:12]Write to MH i2c: E2 08 00 F9 00 80 13 01 00 00 00 00 00 76 [17:33:12]Write i2c OK [17:33:12]MH_I2C_Read... [17:33:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:33:12]Read from MH i2c: E2 [17:33:12]MH_I2C_Read... [17:33:12]Read from MH i2c: E2 0E 00 [17:33:12]MH_I2C_Read... [17:33:12]Read from MH i2c: E2 0E 00 F9 00 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 CE [17:33:12]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [17:33:12]wFMCommunicate OK [17:33:12]SAM_PROTO_GetShiftState done [17:33:12]FM_GetShiftState done [17:33:12]opened in 1713658727 [17:33:12]opened+sec_in_day 1713745127 [17:33:12]quantity*price = 5000 [17:33:12]sum+1 = 5001 [17:33:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 41 21.04.2024 17:33 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12629 ФПД: 104524623326082 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T173313&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12629&fm=104524623326082&tin=02508201610067®Number=0000000000100748&sum=5000 0 [17:33:14]StoreToDocumentArchive [17:33:14]shift 281 fd 12629 [17:33:14]save to /storage/0281/doc_00012629 [17:33:14]save last doc name /storage/0281/doc_00012629 to /storage/kkm_last_doc_name [17:33:14]save OK [17:33:14]Clear old archive folders... [17:33:14]ProcessDocumentItem done err = 0, tmpTLVsize=269 [17:33:14]tlvbuf is 0163F6A0 [17:33:14]SAM_PROTO_ClearQueue [17:33:14]wFMCommunicate request_size=4 [17:33:14]MH_SAM_APDU [17:33:14]CAPDU: 80 09 00 00 [17:33:14]Write to MH i2c: E2 08 00 06 01 80 09 00 00 00 00 00 00 79 [17:33:14]Write i2c OK [17:33:14]MH_I2C_Read... [17:33:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:33:14]Read from MH i2c: E2 [17:33:14]MH_I2C_Read... [17:33:14]Read from MH i2c: E2 03 00 [17:33:14]MH_I2C_Read... [17:33:14]Read from MH i2c: E2 03 00 06 01 00 90 00 7B [17:33:14]RAPDU: 90 00 [17:33:14]wFMCommunicate OK [17:33:14]SAM_PROTO_ClearQueue done [17:33:14]KKMCreateOFDPacket [17:33:14]OFDProtocolAddRootSTLVToBuf [17:33:14]FM_MakeSignedData [17:33:14]FM_MakeSignedData [17:33:14]SAM_PROTO_SignData [17:33:14]wFMCommunicate request_size=4 [17:33:14]MH_SAM_APDU [17:33:14]CAPDU: 80 0D 01 02 [17:33:14]Write to MH i2c: E2 08 00 07 01 80 0D 01 02 00 00 00 00 81 [17:33:14]Write i2c OK [17:33:14]MH_I2C_Read... [17:33:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:33:14]Read from MH i2c: E2 [17:33:14]MH_I2C_Read... [17:33:14]Read from MH i2c: E2 03 00 [17:33:14]MH_I2C_Read... [17:33:14]Read from MH i2c: E2 03 00 07 01 00 90 00 7C [17:33:14]RAPDU: 90 00 [17:33:14]wFMCommunicate OK [17:33:14]wFMCommunicate request_size=255 [17:33:14]MH_SAM_APDU [17:33:14]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 D9 4D 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 [17:33:14]Write to MH i2c: E2 02 01 08 01 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 D9 4D 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 00 00 88 [17:33:14]Write i2c OK [17:33:14]MH_I2C_Read... [17:33:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:33:14]Read from MH i2c: E2 [17:33:14]MH_I2C_Read... [17:33:14]Read from MH i2c: E2 03 00 [17:33:14]MH_I2C_Read... [17:33:14]Read from MH i2c: E2 03 00 08 01 00 90 00 7D [17:33:14]RAPDU: 90 00 [17:33:14]wFMCommunicate OK [17:33:14]wFMCommunicate request_size=28 [17:33:14]MH_SAM_APDU [17:33:14]CAPDU: 80 0D 02 02 17 36 35 36 38 35 10 04 04 00 55 31 00 00 35 04 06 00 5F 10 89 0B 2B 82 [17:33:14]Write to MH i2c: E2 1F 00 09 01 80 0D 02 02 17 00 36 35 36 38 35 10 04 04 00 55 31 00 00 35 04 06 00 5F 10 89 0B 2B 82 00 00 4D [17:33:14]Write i2c OK [17:33:14]MH_I2C_Read... [17:33:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:33:14]Read from MH i2c: E2 [17:33:14]MH_I2C_Read... [17:33:14]Read from MH i2c: E2 03 00 [17:33:14]MH_I2C_Read... [17:33:14]Read from MH i2c: E2 03 00 09 01 00 90 00 7E [17:33:14]RAPDU: 90 00 [17:33:14]wFMCommunicate OK [17:33:14]wFMCommunicate request_size=4 [17:33:14]MH_SAM_APDU [17:33:14]CAPDU: 80 0D 03 02 [17:33:14]Write to MH i2c: E2 08 00 0A 01 80 0D 03 02 00 00 00 00 86 [17:33:14]Write i2c OK [17:33:14]MH_I2C_Read... [17:33:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:33:14]Read from MH i2c: E2 [17:33:14]MH_I2C_Read... [17:33:14]Read from MH i2c: E2 0B 00 [17:33:14]MH_I2C_Read... [17:33:14]Read from MH i2c: E2 0B 00 0A 01 00 80 98 CA D2 01 1F 0F EC 90 00 56 [17:33:14]RAPDU: 80 98 CA D2 01 1F 0F EC 90 00 [17:33:14]wFMCommunicate OK [17:33:14]SAM_PROTO_SignData done [17:33:14]FM_MakeSignedData done [17:33:14]CreateOFDProtocolMessage [17:33:14]wFMCommunicate request_size=4 [17:33:14]MH_SAM_APDU [17:33:14]CAPDU: 80 11 00 00 [17:33:14]Write to MH i2c: E2 08 00 0B 01 80 11 00 00 00 00 00 00 86 [17:33:14]Write i2c OK [17:33:14]MH_I2C_Read... [17:33:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:33:14]Read from MH i2c: E2 [17:33:14]MH_I2C_Read... [17:33:14]Read from MH i2c: E2 17 00 [17:33:14]MH_I2C_Read... [17:33:14]Read from MH i2c: E2 17 00 0B 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 E0 [17:33:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [17:33:14]wFMCommunicate OK [17:33:14]CreateOFDProtocolMessage done [17:33:14]OFDSenderStorePacket 12629 [17:33:14]StoreOFDPacket docnum=12629 [17:33:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 21 01 00 00 FC 97 19 01 A9 7C 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 D9 4D 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 55 31 00 00 35 04 06 00 5F 10 89 0B 2B 82 80 98 CA D2 01 1F 0F EC [17:33:14]CheckFolder [17:33:14]dirname=/storage/ofd_packets [17:33:14]CheckFolder done [17:33:14]ProducePacketName [17:33:14]name=ofd_packets/00012629 [17:33:14]NVStorageSaveData ofd_packets/00012629 [17:33:14]File name is /storage/ofd_packets/00012629 [17:33:14]Write 319 bytes [17:33:14]NVStorageSaveData done [17:33:14]OFDSenderStorePacket done [17:33:14]KKMCreateOFDPacket done [17:33:14]NVStorageSaveData kkm_last_timestamp [17:33:14]File name is /storage/kkm_last_timestamp [17:33:14]Write 4 bytes [17:33:14]NVStorageSaveData done [17:33:14]ExternCall_PrintAddStr [17:33:14]wPrintStart [17:33:14]Write to MH i2c: 01 00 00 0C 01 0D [17:33:14]Write i2c OK [17:33:14]MH_I2C_Read... [17:33:14]Read from MH i2c: 01 [17:33:14]MH_I2C_Read... [17:33:14]Read from MH i2c: 01 07 00 [17:33:14]MH_I2C_Read... [17:33:14]Read from MH i2c: 01 07 00 0C 01 00 00 00 00 00 FF 0F 22 [17:33:14]RasterBufferAndPrint [17:33:14]line Счет N : (3)32901 [17:33:14]line ИНН: 02508201610067 [17:33:14]line Контрольно-Кассовый Чек [17:33:14]line ПРОДАЖА [17:33:14]line Товар: 4700000160358 [17:33:14]line Вода Легенда 1л [17:33:14]line 1.000 * 50.00 [17:33:14]line = 50.00 [17:33:14]line НДС 12% НСП 1% [17:33:14]line > о реализуемом товаре [17:33:14]line ИТОГО: 50.00 [17:33:14]line НСП 1% : 0.44 [17:33:14]line НДС 12% : 5.31 [17:33:14]line Наличными: 50.00 [17:33:14]line Безнал.: 0.00 [17:33:14]line Место: АЗС № 106 "Партнер Нефть" [17:33:14]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [17:33:14]line СНО: Общий режим [17:33:14]line Чек 41 21.04.2024 17:33 [17:33:14]line Смена: 281 ФФД: 1.0 [17:33:14]line ЗНМ: 0300000004 [17:33:14]line РНМ: 0000000000100748 [17:33:14]line Версия ККМ: 001 [17:33:14]line ФМ: 0000000000965685 [17:33:14]line ФД: 12629 [17:33:14]line ФПД: 104524623326082 [17:33:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T173313&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12629&fm=104524623326082&tin=02508201610067®Number=0000000000100748&sum=5000 [17:33:14]line 0 [17:33:14]OFD Sender: Processing packet 12629 [packets to send 7, broken 6] [17:33:14]ProducePacketName [17:33:14]name=ofd_packets/00012629 [17:33:14]OFD Sender: To server: pG, [17:33:14]CommunicateWithHost lk.salyk.kg:30040 [17:33:14]ConnectInit lk.salyk.kg [17:33:14]written 0, free lines is 4095 [17:33:15]Connected sock=11 [17:33:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 21 01 00 00 FC 97 19 01 A9 7C 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 D9 4D 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 55 31 00 00 35 04 06 00 5F 10 89 0B 2B 82 80 98 CA D2 01 1F 0F EC [17:33:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 9A B9 47 00 33 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 39 36 35 36 38 35 10 04 04 00 55 31 00 00 F4 03 04 00 59 F6 24 66 B6 04 01 00 00 F4 F8 3A B6 10 D6 2D CE [17:33:15]CommunicateWithHost err = 0 [17:33:15]CheckOFDResponse [17:33:15]1017 (14) - 77093643461234 [17:33:15]1041 (16) - 0000000000965685 [17:33:15]1040 (4) - 12629 [17:33:15]1012 (4) - 21.04.2024 11:19 [17:33:15]1206 (1) - 0 [17:33:15]OFD Sender: Remove packet 12629 [17:33:15]ProducePacketName [17:33:15]name=ofd_packets/00012629 [17:33:15]NVStorageDeleteData [17:33:15]Write to MH i2c: 01 00 00 33 01 34 [17:33:15]Write i2c OK [17:33:15]MH_I2C_Read... [17:33:15]Read from MH i2c: 01 [17:33:15]MH_I2C_Read... [17:33:15]Read from MH i2c: 01 07 00 [17:33:15]MH_I2C_Read... [17:33:15]Read from MH i2c: 01 07 00 33 01 00 00 00 00 00 0D 0D 55 [17:33:15]RasterBufferAndPrint [17:33:15]line [17:33:15]line [17:33:15]line [17:33:15]line [17:33:15]line [17:33:15]written 0, free lines is 3347 [17:33:15]MH_Cut [17:33:15]Write to MH i2c: D1 01 00 3A 01 01 0D [17:33:15]Write i2c OK [17:33:15]MH_I2C_Read... [17:33:15]Read from MH i2c: D1 [17:33:15]MH_I2C_Read... [17:33:15]Read from MH i2c: D1 01 00 [17:33:15]MH_I2C_Read... [17:33:15]Read from MH i2c: D1 01 00 3A 01 00 0C [17:33:15]Write to MH i2c: 01 00 00 3B 01 3C [17:33:15]Write i2c OK [17:33:15]MH_I2C_Read... [17:33:15]OFD Sender: No OFD packet to send [17:33:16]*** Cut start [17:33:16]*** Partial cut [17:33:16]*** CUTSNS_PIN = 1 [17:33:16]*** CUTSNS_PIN = 0 [17:33:16]*** Brake cut motor [17:33:16]Read from MH i2c: 01 [17:33:16]MH_I2C_Read... [17:33:16]*** Stop cut motor [17:33:16]*** Cut end [17:33:16]Read from MH i2c: 01 07 00 [17:33:16]MH_I2C_Read... [17:33:16]Read from MH i2c: 01 07 00 3B 01 00 00 00 00 00 FF 0F 51 [17:33:16]process_action close_receipt done [17:33:16]requested_data is exist [17:33:16]produce_requested_data [17:33:16]requested_item fm.sn is exist - process it [17:33:16]wFMCommunicate request_size=4 [17:33:16]MH_SAM_APDU [17:33:16]CAPDU: 80 11 00 00 [17:33:16]Write to MH i2c: E2 08 00 3C 01 80 11 00 00 00 00 00 00 B7 [17:33:16]Write i2c OK [17:33:16]MH_I2C_Read... [17:33:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:33:16]Read from MH i2c: E2 [17:33:16]MH_I2C_Read... [17:33:16]Read from MH i2c: E2 17 00 [17:33:16]MH_I2C_Read... [17:33:16]Read from MH i2c: E2 17 00 3C 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 11 [17:33:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [17:33:16]wFMCommunicate OK [17:33:16]requested_item fd.num is exist - process it [17:33:16]SAM_PROTO_GetFieldsCounters [17:33:16]wFMCommunicate request_size=4 [17:33:16]MH_SAM_APDU [17:33:16]CAPDU: 80 13 00 00 [17:33:16]Write to MH i2c: E2 08 00 3D 01 80 13 00 00 00 00 00 00 BA [17:33:16]Write i2c OK [17:33:16]MH_I2C_Read... [17:33:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:33:16]Read from MH i2c: E2 [17:33:16]MH_I2C_Read... [17:33:16]Read from MH i2c: E2 62 00 [17:33:16]MH_I2C_Read... [17:33:16]Read from MH i2c: E2 62 00 3D 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 55 31 00 00 0E 04 04 00 19 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 F8 [17:33:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 55 31 00 00 0E 04 04 00 19 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 [17:33:16]wFMCommunicate OK [17:33:16]SAM_PROTO_GetFieldsCounters done [17:33:16]requested_item shift.num is exist - process it [17:33:16]requested_item shift.opened is exist - process it [17:33:16]req_shift_opened [17:33:16]FM_GetShiftState [17:33:16]SAM_PROTO_GetShiftState [17:33:16]wFMCommunicate request_size=4 [17:33:16]MH_SAM_APDU [17:33:16]CAPDU: 80 13 01 00 [17:33:16]Write to MH i2c: E2 08 00 3E 01 80 13 01 00 00 00 00 00 BC [17:33:16]Write i2c OK [17:33:16]MH_I2C_Read... [17:33:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:33:17]Read from MH i2c: E2 [17:33:17]MH_I2C_Read... [17:33:17]Read from MH i2c: E2 0E 00 [17:33:17]MH_I2C_Read... [17:33:17]Read from MH i2c: E2 0E 00 3E 01 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 14 [17:33:17]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [17:33:17]wFMCommunicate OK [17:33:17]SAM_PROTO_GetShiftState done [17:33:17]FM_GetShiftState done [17:33:17]req_shift_opened done [17:33:17]requested_item shift.open_date is exist - process it [17:33:17]req_shift_open_date [17:33:17]req_shift_open_date done [17:33:17]produce_requested_data done [17:33:17]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12629,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [17:33:17]process_action_free close_receipt [17:33:17]json_value_free [17:33:17]json_value_free done [17:33:17]process_json_proto returns [17:33:17]Send response to host [17:33:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12629,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [17:33:17]free response buf [17:33:17]execute_script done [17:33:17]execute_script returns [17:33:17]free content buf [17:33:17]Sock 9.Close socket [17:33:17]Sock 9.Thread stoped [17:33:20]OFD Sender: No OFD packet to send [17:33:25]OFD Sender: No OFD packet to send [17:33:30]OFD Sender: No OFD packet to send [17:33:35]OFD Sender: No OFD packet to send [17:33:40]OFD Sender: No OFD packet to send [17:33:45]OFD Sender: No OFD packet to send [17:33:50]OFD Sender: No OFD packet to send [17:33:55]OFD Sender: No OFD packet to send [17:34:00]OFD Sender: No OFD packet to send [17:34:05]OFD Sender: No OFD packet to send [17:34:10]OFD Sender: No OFD packet to send [17:34:15]OFD Sender: No OFD packet to send [17:34:20]OFD Sender: No OFD packet to send [17:34:25]OFD Sender: No OFD packet to send [17:34:30]OFD Sender: No OFD packet to send [17:34:35]OFD Sender: No OFD packet to send [17:34:40]OFD Sender: No OFD packet to send [17:34:45]OFD Sender: No OFD packet to send [17:34:50]OFD Sender: No OFD packet to send [17:34:55]OFD Sender: No OFD packet to send [17:35:00]OFD Sender: No OFD packet to send [17:35:05]OFD Sender: No OFD packet to send [17:35:10]OFD Sender: No OFD packet to send [17:35:15]OFD Sender: No OFD packet to send [17:35:20]OFD Sender: No OFD packet to send [17:35:25]OFD Sender: No OFD packet to send [17:35:30]OFD Sender: No OFD packet to send [17:35:35]OFD Sender: No OFD packet to send [17:35:40]OFD Sender: No OFD packet to send [17:35:45]OFD Sender: No OFD packet to send [17:35:50]OFD Sender: No OFD packet to send [17:35:55]OFD Sender: No OFD packet to send [17:36:00]OFD Sender: No OFD packet to send [17:36:05]OFD Sender: No OFD packet to send [17:36:10]OFD Sender: No OFD packet to send [17:36:15]OFD Sender: No OFD packet to send [17:36:20]OFD Sender: No OFD packet to send [17:36:25]OFD Sender: No OFD packet to send [17:36:30]OFD Sender: No OFD packet to send [17:36:35]OFD Sender: No OFD packet to send [17:36:40]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:07]accept exits with 7 [17:37:07]New connection [17:37:07]New thread 3066957156 created [17:37:07]Thread 3066813796 joined [17:37:07]Waiting for new connection... [17:37:07] Sock 7.Parse request [17:37:07]Sock 7.Check first char [17:37:07]Sock 7.First char is OK [17:37:07]request: POST /json_proto HTTP/1.0 [17:37:07]Method: POST [17:37:07]URL: /json_proto [17:37:07]Method is POST - this is cgi request [17:37:07]url: /json_proto [17:37:07]query_string will be loaded in cgi processing [17:37:07]execute_cgi json_proto POST (null) [17:37:07]execute_cgi path=json_proto method=POST [17:37:07]POST find Content-Length [17:37:07]Host: 172.17.62.6:8080 [17:37:07]Content-Length: 644 [17:37:07]Content-Type: application/json [17:37:07] [17:37:07]POST finish read [17:37:07]Found Content-Length = 644 [17:37:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32902", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:37:07]execute_script... [17:37:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32902", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:37:07]POST & json_proto [17:37:07]process_json_proto [17:37:07]json parsed OK: [17:37:07]protocol is kg_v1.0 [17:37:07]action value=close_receipt [17:37:07]process_action close_receipt [17:37:07]cmd_close_receipt [17:37:07]MH_GetDate [17:37:07]Write to MH i2c: F0 00 00 3F 01 2F [17:37:07]Write i2c OK [17:37:07]MH_I2C_Read... [17:37:07]Read from MH i2c: F0 [17:37:07]MH_I2C_Read... [17:37:07]Read from MH i2c: F0 09 00 [17:37:07]MH_I2C_Read... [17:37:07]Read from MH i2c: F0 09 00 3F 01 00 C4 4E 25 66 61 69 D2 64 D5 [17:37:07]GetLastDocTimeStamp 1713720793 [17:37:07]current date 1713721028 [17:37:07]FM_GetShiftState [17:37:07]SAM_PROTO_GetShiftState [17:37:07]wFMCommunicate request_size=4 [17:37:07]MH_SAM_APDU [17:37:07]CAPDU: 80 13 01 00 [17:37:07]Write to MH i2c: E2 08 00 40 01 80 13 01 00 00 00 00 00 BE [17:37:07]Write i2c OK [17:37:07]MH_I2C_Read... [17:37:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:37:08]Read from MH i2c: E2 [17:37:08]MH_I2C_Read... [17:37:08]Read from MH i2c: E2 0E 00 [17:37:08]MH_I2C_Read... [17:37:08]Read from MH i2c: E2 0E 00 40 01 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 16 [17:37:08]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [17:37:08]wFMCommunicate OK [17:37:08]SAM_PROTO_GetShiftState done [17:37:08]FM_GetShiftState done [17:37:08]opened in 1713658727 [17:37:08]opened+sec_in_day 1713745127 [17:37:08]quantity*price = 6000 [17:37:08]sum+1 = 6001 [17:37:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 42 21.04.2024 17:37 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12630 ФПД: 105075092874385 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T173708&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12630&fm=105075092874385&tin=02508201610067®Number=0000000000100748&sum=6000 0 [17:37:09]StoreToDocumentArchive [17:37:09]shift 281 fd 12630 [17:37:09]save to /storage/0281/doc_00012630 [17:37:09]save last doc name /storage/0281/doc_00012630 to /storage/kkm_last_doc_name [17:37:09]save OK [17:37:09]Clear old archive folders... [17:37:09]ProcessDocumentItem done err = 0, tmpTLVsize=276 [17:37:09]tlvbuf is 016EC5D0 [17:37:09]SAM_PROTO_ClearQueue [17:37:09]wFMCommunicate request_size=4 [17:37:09]MH_SAM_APDU [17:37:09]CAPDU: 80 09 00 00 [17:37:09]Write to MH i2c: E2 08 00 4D 01 80 09 00 00 00 00 00 00 C0 [17:37:09]Write i2c OK [17:37:09]MH_I2C_Read... [17:37:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:37:09]Read from MH i2c: E2 [17:37:09]MH_I2C_Read... [17:37:09]Read from MH i2c: E2 03 00 [17:37:09]MH_I2C_Read... [17:37:09]Read from MH i2c: E2 03 00 4D 01 00 90 00 C2 [17:37:09]RAPDU: 90 00 [17:37:09]wFMCommunicate OK [17:37:09]SAM_PROTO_ClearQueue done [17:37:09]KKMCreateOFDPacket [17:37:09]OFDProtocolAddRootSTLVToBuf [17:37:09]FM_MakeSignedData [17:37:09]FM_MakeSignedData [17:37:09]SAM_PROTO_SignData [17:37:09]wFMCommunicate request_size=4 [17:37:09]MH_SAM_APDU [17:37:09]CAPDU: 80 0D 01 02 [17:37:09]Write to MH i2c: E2 08 00 4E 01 80 0D 01 02 00 00 00 00 C8 [17:37:09]Write i2c OK [17:37:09]MH_I2C_Read... [17:37:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:37:09]Read from MH i2c: E2 [17:37:09]MH_I2C_Read... [17:37:09]Read from MH i2c: E2 03 00 [17:37:09]MH_I2C_Read... [17:37:09]Read from MH i2c: E2 03 00 4E 01 00 90 00 C3 [17:37:09]RAPDU: 90 00 [17:37:09]wFMCommunicate OK [17:37:09]wFMCommunicate request_size=255 [17:37:09]MH_SAM_APDU [17:37:09]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 C4 4E 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 [17:37:09]Write to MH i2c: E2 02 01 4F 01 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 C4 4E 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 00 00 DF [17:37:09]Write i2c OK [17:37:09]MH_I2C_Read... [17:37:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:37:09]Read from MH i2c: E2 [17:37:09]MH_I2C_Read... [17:37:09]Read from MH i2c: E2 03 00 [17:37:09]MH_I2C_Read... [17:37:09]Read from MH i2c: E2 03 00 4F 01 00 90 00 C4 [17:37:09]RAPDU: 90 00 [17:37:09]wFMCommunicate OK [17:37:09]wFMCommunicate request_size=35 [17:37:09]MH_SAM_APDU [17:37:09]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 56 31 00 00 35 04 06 00 5F 90 B3 95 E4 91 [17:37:09]Write to MH i2c: E2 26 00 50 01 80 0D 02 02 1E 00 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 56 31 00 00 35 04 06 00 5F 90 B3 95 E4 91 00 00 F8 [17:37:09]Write i2c OK [17:37:09]MH_I2C_Read... [17:37:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:37:09]Read from MH i2c: E2 [17:37:09]MH_I2C_Read... [17:37:09]Read from MH i2c: E2 03 00 [17:37:09]MH_I2C_Read... [17:37:09]Read from MH i2c: E2 03 00 50 01 00 90 00 C5 [17:37:09]RAPDU: 90 00 [17:37:09]wFMCommunicate OK [17:37:09]wFMCommunicate request_size=4 [17:37:09]MH_SAM_APDU [17:37:09]CAPDU: 80 0D 03 02 [17:37:09]Write to MH i2c: E2 08 00 51 01 80 0D 03 02 00 00 00 00 CD [17:37:09]Write i2c OK [17:37:09]MH_I2C_Read... [17:37:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:37:09]Read from MH i2c: E2 [17:37:09]MH_I2C_Read... [17:37:09]Read from MH i2c: E2 0B 00 [17:37:09]MH_I2C_Read... [17:37:09]Read from MH i2c: E2 0B 00 51 01 00 6C 33 94 CA 97 CA FA 29 90 00 4F [17:37:09]RAPDU: 6C 33 94 CA 97 CA FA 29 90 00 [17:37:09]wFMCommunicate OK [17:37:09]SAM_PROTO_SignData done [17:37:09]FM_MakeSignedData done [17:37:09]CreateOFDProtocolMessage [17:37:09]wFMCommunicate request_size=4 [17:37:09]MH_SAM_APDU [17:37:09]CAPDU: 80 11 00 00 [17:37:09]Write to MH i2c: E2 08 00 52 01 80 11 00 00 00 00 00 00 CD [17:37:09]Write i2c OK [17:37:09]MH_I2C_Read... [17:37:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:37:09]Read from MH i2c: E2 [17:37:09]MH_I2C_Read... [17:37:09]Read from MH i2c: E2 17 00 [17:37:09]MH_I2C_Read... [17:37:09]Read from MH i2c: E2 17 00 52 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 27 [17:37:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [17:37:09]wFMCommunicate OK [17:37:09]CreateOFDProtocolMessage done [17:37:09]OFDSenderStorePacket 12630 [17:37:09]StoreOFDPacket docnum=12630 [17:37:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 28 01 00 00 87 BC 20 01 06 21 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 C4 4E 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 56 31 00 00 35 04 06 00 5F 90 B3 95 E4 91 6C 33 94 CA 97 CA FA 29 [17:37:09]CheckFolder [17:37:09]dirname=/storage/ofd_packets [17:37:09]CheckFolder done [17:37:09]ProducePacketName [17:37:09]name=ofd_packets/00012630 [17:37:09]NVStorageSaveData ofd_packets/00012630 [17:37:09]File name is /storage/ofd_packets/00012630 [17:37:09]Write 326 bytes [17:37:09]NVStorageSaveData done [17:37:09]OFDSenderStorePacket done [17:37:09]KKMCreateOFDPacket done [17:37:09]NVStorageSaveData kkm_last_timestamp [17:37:09]File name is /storage/kkm_last_timestamp [17:37:09]Write 4 bytes [17:37:09]NVStorageSaveData done [17:37:09]ExternCall_PrintAddStr [17:37:09]wPrintStart [17:37:09]Write to MH i2c: 01 00 00 53 01 54 [17:37:09]Write i2c OK [17:37:09]MH_I2C_Read... [17:37:09]Read from MH i2c: 01 [17:37:09]MH_I2C_Read... [17:37:09]Read from MH i2c: 01 07 00 [17:37:09]MH_I2C_Read... [17:37:09]Read from MH i2c: 01 07 00 53 01 00 00 00 00 00 FF 0F 69 [17:37:09]RasterBufferAndPrint [17:37:09]line Счет N : (3)32902 [17:37:09]line ИНН: 02508201610067 [17:37:09]line Контрольно-Кассовый Чек [17:37:09]line ПРОДАЖА [17:37:09]line Товар: 4700000310043 [17:37:09]line Вода Жалалабат 27 1л [17:37:09]line 1.000 * 60.00 [17:37:09]line = 60.00 [17:37:09]line НДС 12% НСП 1% [17:37:09]line > о реализуемом товаре [17:37:09]line ИТОГО: 60.00 [17:37:09]line НСП 1% : 0.53 [17:37:09]line НДС 12% : 6.37 [17:37:09]line Наличными: 60.00 [17:37:09]line Безнал.: 0.00 [17:37:09]line Место: АЗС № 106 "Партнер Нефть" [17:37:09]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [17:37:09]line СНО: Общий режим [17:37:09]line Чек 42 21.04.2024 17:37 [17:37:09]line Смена: 281 ФФД: 1.0 [17:37:09]line ЗНМ: 0300000004 [17:37:09]line РНМ: 0000000000100748 [17:37:09]line Версия ККМ: 001 [17:37:09]line ФМ: 0000000000965685 [17:37:09]line ФД: 12630 [17:37:09]line ФПД: 105075092874385 [17:37:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T173708&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12630&fm=105075092874385&tin=02508201610067®Number=0000000000100748&sum=6000 [17:37:10]line 0 [17:37:10]OFD Sender: Processing packet 12630 [packets to send 7, broken 6] [17:37:10]ProducePacketName [17:37:10]name=ofd_packets/00012630 [17:37:10]OFD Sender: To server: pG, [17:37:10]CommunicateWithHost lk.salyk.kg:30040 [17:37:10]ConnectInit lk.salyk.kg [17:37:10]written 0, free lines is 4095 [17:37:10]Connected sock=10 [17:37:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 28 01 00 00 87 BC 20 01 06 21 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 C4 4E 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 56 31 00 00 35 04 06 00 5F 90 B3 95 E4 91 6C 33 94 CA 97 CA FA 29 [17:37:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 14 80 47 00 61 79 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 56 31 00 00 F4 03 04 00 44 F7 24 66 B6 04 01 00 00 DB B9 94 53 1C C4 6D 7E [17:37:10]CommunicateWithHost err = 0 [17:37:10]CheckOFDResponse [17:37:10]1017 (14) - 77093643461234 [17:37:10]1041 (16) - 0000000000965685 [17:37:10]1040 (4) - 12630 [17:37:10]1012 (4) - 21.04.2024 11:23 [17:37:10]1206 (1) - 0 [17:37:10]OFD Sender: Remove packet 12630 [17:37:10]ProducePacketName [17:37:10]name=ofd_packets/00012630 [17:37:10]NVStorageDeleteData [17:37:10]Write to MH i2c: 01 00 00 7A 01 7B [17:37:10]Write i2c OK [17:37:10]MH_I2C_Read... [17:37:10]Read from MH i2c: 01 [17:37:10]MH_I2C_Read... [17:37:10]Read from MH i2c: 01 07 00 [17:37:10]MH_I2C_Read... [17:37:10]Read from MH i2c: 01 07 00 7A 01 00 00 00 00 00 1A 0D A9 [17:37:10]RasterBufferAndPrint [17:37:10]line [17:37:10]line [17:37:10]line [17:37:10]line [17:37:10]line [17:37:10]written 0, free lines is 3360 [17:37:10]MH_Cut [17:37:10]Write to MH i2c: D1 01 00 81 01 01 54 [17:37:10]Write i2c OK [17:37:10]MH_I2C_Read... [17:37:10]Read from MH i2c: D1 [17:37:10]MH_I2C_Read... [17:37:10]Read from MH i2c: D1 01 00 [17:37:10]MH_I2C_Read... [17:37:10]Read from MH i2c: D1 01 00 81 01 00 53 [17:37:10]Write to MH i2c: 01 00 00 82 01 83 [17:37:10]Write i2c OK [17:37:10]MH_I2C_Read... [17:37:10]OFD Sender: No OFD packet to send [17:37:11]*** Cut start [17:37:11]*** Partial cut [17:37:11]*** CUTSNS_PIN = 1 [17:37:11]*** CUTSNS_PIN = 0 [17:37:11]*** Brake cut motor [17:37:11]Read from MH i2c: 01 [17:37:11]MH_I2C_Read... [17:37:11]*** Stop cut motor [17:37:11]*** Cut end [17:37:11]Read from MH i2c: 01 07 00 [17:37:11]MH_I2C_Read... [17:37:11]Read from MH i2c: 01 07 00 82 01 00 00 00 00 00 FF 0F 98 [17:37:11]process_action close_receipt done [17:37:11]requested_data is exist [17:37:11]produce_requested_data [17:37:11]requested_item fm.sn is exist - process it [17:37:11]wFMCommunicate request_size=4 [17:37:11]MH_SAM_APDU [17:37:11]CAPDU: 80 11 00 00 [17:37:11]Write to MH i2c: E2 08 00 83 01 80 11 00 00 00 00 00 00 FE [17:37:11]Write i2c OK [17:37:11]MH_I2C_Read... [17:37:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:37:11]Read from MH i2c: E2 [17:37:11]MH_I2C_Read... [17:37:11]Read from MH i2c: E2 17 00 [17:37:11]MH_I2C_Read... [17:37:11]Read from MH i2c: E2 17 00 83 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 58 [17:37:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [17:37:11]wFMCommunicate OK [17:37:11]requested_item fd.num is exist - process it [17:37:11]SAM_PROTO_GetFieldsCounters [17:37:11]wFMCommunicate request_size=4 [17:37:11]MH_SAM_APDU [17:37:11]CAPDU: 80 13 00 00 [17:37:11]Write to MH i2c: E2 08 00 84 01 80 13 00 00 00 00 00 00 01 [17:37:11]Write i2c OK [17:37:11]MH_I2C_Read... [17:37:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:37:12]Read from MH i2c: E2 [17:37:12]MH_I2C_Read... [17:37:12]Read from MH i2c: E2 62 00 [17:37:12]MH_I2C_Read... [17:37:12]Read from MH i2c: E2 62 00 84 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 56 31 00 00 0E 04 04 00 19 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 43 [17:37:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 56 31 00 00 0E 04 04 00 19 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 [17:37:12]wFMCommunicate OK [17:37:12]SAM_PROTO_GetFieldsCounters done [17:37:12]requested_item shift.num is exist - process it [17:37:12]requested_item shift.opened is exist - process it [17:37:12]req_shift_opened [17:37:12]FM_GetShiftState [17:37:12]SAM_PROTO_GetShiftState [17:37:12]wFMCommunicate request_size=4 [17:37:12]MH_SAM_APDU [17:37:12]CAPDU: 80 13 01 00 [17:37:12]Write to MH i2c: E2 08 00 85 01 80 13 01 00 00 00 00 00 03 [17:37:12]Write i2c OK [17:37:12]MH_I2C_Read... [17:37:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:37:12]Read from MH i2c: E2 [17:37:12]MH_I2C_Read... [17:37:12]Read from MH i2c: E2 0E 00 [17:37:12]MH_I2C_Read... [17:37:12]Read from MH i2c: E2 0E 00 85 01 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 5B [17:37:12]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [17:37:12]wFMCommunicate OK [17:37:12]SAM_PROTO_GetShiftState done [17:37:12]FM_GetShiftState done [17:37:12]req_shift_opened done [17:37:12]requested_item shift.open_date is exist - process it [17:37:12]req_shift_open_date [17:37:12]req_shift_open_date done [17:37:12]produce_requested_data done [17:37:12]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12630,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [17:37:12]process_action_free close_receipt [17:37:12]json_value_free [17:37:12]json_value_free done [17:37:12]process_json_proto returns [17:37:12]Send response to host [17:37:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12630,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [17:37:12]free response buf [17:37:12]execute_script done [17:37:12]execute_script returns [17:37:12]free content buf [17:37:12]Sock 7.Close socket [17:37:12]Sock 7.Thread stoped [17:37:15]OFD Sender: No OFD packet to send [17:37:20]OFD Sender: No OFD packet to send [17:37:25]OFD Sender: No OFD packet to send [17:37:30]OFD Sender: No OFD packet to send [17:37:35]OFD Sender: No OFD packet to send [17:37:40]OFD Sender: No OFD packet to send [17:37:45]OFD Sender: No OFD packet to send [17:37:50]OFD Sender: No OFD packet to send [17:37:55]OFD Sender: No OFD packet to send [17:38:00]OFD Sender: No OFD packet to send [17:38:05]OFD Sender: No OFD packet to send [17:38:10]OFD Sender: No OFD packet to send [17:38:15]OFD Sender: No OFD packet to send [17:38:20]OFD Sender: No OFD packet to send [17:38:25]OFD Sender: No OFD packet to send [17:38:30]OFD Sender: No OFD packet to send [17:38:35]OFD Sender: No OFD packet to send [17:38:38]accept exits with 9 [17:38:38]New connection [17:38:38]New thread 3066813796 created [17:38:38]Thread 3066957156 joined [17:38:38]Waiting for new connection... [17:38:38] Sock 9.Parse request [17:38:38]Sock 9.Check first char [17:38:38]Sock 9.First char is OK [17:38:38]request: POST /json_proto HTTP/1.0 [17:38:38]Method: POST [17:38:38]URL: /json_proto [17:38:38]Method is POST - this is cgi request [17:38:38]url: /json_proto [17:38:38]query_string will be loaded in cgi processing [17:38:38]execute_cgi json_proto POST (null) [17:38:38]execute_cgi path=json_proto method=POST [17:38:38]POST find Content-Length [17:38:38]Host: 172.17.62.6:8080 [17:38:38]Content-Length: 672 [17:38:38]Content-Type: application/json [17:38:38] [17:38:38]POST finish read [17:38:38]Found Content-Length = 672 [17:38:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32903", "tax_sys" : 0, "items" : [ { "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 1.000, "sum" : 7.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 7.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:38:38]execute_script... [17:38:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32903", "tax_sys" : 0, "items" : [ { "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 1.000, "sum" : 7.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 7.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:38:38]POST & json_proto [17:38:38]process_json_proto [17:38:38]json parsed OK: [17:38:38]protocol is kg_v1.0 [17:38:38]action value=close_receipt [17:38:38]process_action close_receipt [17:38:38]cmd_close_receipt [17:38:38]MH_GetDate [17:38:38]Write to MH i2c: F0 00 00 86 01 76 [17:38:38]Write i2c OK [17:38:38]MH_I2C_Read... [17:38:38]Read from MH i2c: F0 [17:38:38]MH_I2C_Read... [17:38:38]Read from MH i2c: F0 09 00 [17:38:38]MH_I2C_Read... [17:38:38]Read from MH i2c: F0 09 00 86 01 00 1E 4F 25 66 61 69 D2 64 77 [17:38:38]GetLastDocTimeStamp 1713721028 [17:38:38]current date 1713721118 [17:38:38]FM_GetShiftState [17:38:38]SAM_PROTO_GetShiftState [17:38:38]wFMCommunicate request_size=4 [17:38:38]MH_SAM_APDU [17:38:38]CAPDU: 80 13 01 00 [17:38:38]Write to MH i2c: E2 08 00 87 01 80 13 01 00 00 00 00 00 05 [17:38:38]Write i2c OK [17:38:38]MH_I2C_Read... [17:38:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:38:38]Read from MH i2c: E2 [17:38:38]MH_I2C_Read... [17:38:38]Read from MH i2c: E2 0E 00 [17:38:38]MH_I2C_Read... [17:38:38]Read from MH i2c: E2 0E 00 87 01 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 5D [17:38:38]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [17:38:38]wFMCommunicate OK [17:38:38]SAM_PROTO_GetShiftState done [17:38:38]FM_GetShiftState done [17:38:38]opened in 1713658727 [17:38:38]opened+sec_in_day 1713745127 [17:38:38]quantity*price = 700 [17:38:38]sum+1 = 701 [17:38:38]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 7.00 НСП 1% : 0.06 НДС 12% : 0.74 Наличными: 7.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 43 21.04.2024 17:38 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12631 ФПД: 272148097584634 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T173838&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12631&fm=272148097584634&tin=02508201610067®Number=0000000000100748&sum=700 0 [17:38:39]StoreToDocumentArchive [17:38:39]shift 281 fd 12631 [17:38:39]save to /storage/0281/doc_00012631 [17:38:39]save last doc name /storage/0281/doc_00012631 to /storage/kkm_last_doc_name [17:38:39]save OK [17:38:39]Clear old archive folders... [17:38:39]ProcessDocumentItem done err = 0, tmpTLVsize=287 [17:38:39]tlvbuf is 0163CBC0 [17:38:39]SAM_PROTO_ClearQueue [17:38:39]wFMCommunicate request_size=4 [17:38:39]MH_SAM_APDU [17:38:39]CAPDU: 80 09 00 00 [17:38:39]Write to MH i2c: E2 08 00 94 01 80 09 00 00 00 00 00 00 07 [17:38:39]Write i2c OK [17:38:39]MH_I2C_Read... [17:38:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:38:39]Read from MH i2c: E2 [17:38:39]MH_I2C_Read... [17:38:39]Read from MH i2c: E2 03 00 [17:38:39]MH_I2C_Read... [17:38:39]Read from MH i2c: E2 03 00 94 01 00 90 00 09 [17:38:39]RAPDU: 90 00 [17:38:39]wFMCommunicate OK [17:38:39]SAM_PROTO_ClearQueue done [17:38:39]KKMCreateOFDPacket [17:38:39]OFDProtocolAddRootSTLVToBuf [17:38:39]FM_MakeSignedData [17:38:39]FM_MakeSignedData [17:38:39]SAM_PROTO_SignData [17:38:39]wFMCommunicate request_size=4 [17:38:39]MH_SAM_APDU [17:38:39]CAPDU: 80 0D 01 02 [17:38:39]Write to MH i2c: E2 08 00 95 01 80 0D 01 02 00 00 00 00 0F [17:38:39]Write i2c OK [17:38:39]MH_I2C_Read... [17:38:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:38:39]Read from MH i2c: E2 [17:38:39]MH_I2C_Read... [17:38:39]Read from MH i2c: E2 03 00 [17:38:39]MH_I2C_Read... [17:38:39]Read from MH i2c: E2 03 00 95 01 00 90 00 0A [17:38:39]RAPDU: 90 00 [17:38:39]wFMCommunicate OK [17:38:39]wFMCommunicate request_size=255 [17:38:39]MH_SAM_APDU [17:38:39]CAPDU: 80 0D 02 02 FA 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 02 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 00 00 00 00 00 07 04 06 00 BC 02 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 1E 4F 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 [17:38:39]Write to MH i2c: E2 02 01 96 01 80 0D 02 02 FA 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 02 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 00 00 00 00 00 07 04 06 00 BC 02 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 1E 4F 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 00 00 7E [17:38:39]Write i2c OK [17:38:39]MH_I2C_Read... [17:38:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:38:39]Read from MH i2c: E2 [17:38:39]MH_I2C_Read... [17:38:39]Read from MH i2c: E2 03 00 [17:38:39]MH_I2C_Read... [17:38:39]Read from MH i2c: E2 03 00 96 01 00 90 00 0B [17:38:39]RAPDU: 90 00 [17:38:39]wFMCommunicate OK [17:38:39]wFMCommunicate request_size=46 [17:38:39]MH_SAM_APDU [17:38:39]CAPDU: 80 0D 02 02 29 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 57 31 00 00 35 04 06 00 F7 84 6A AE CD FA [17:38:39]Write to MH i2c: E2 31 00 97 01 80 0D 02 02 29 00 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 57 31 00 00 35 04 06 00 F7 84 6A AE CD FA 00 00 8C [17:38:39]Write i2c OK [17:38:39]MH_I2C_Read... [17:38:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:38:39]Read from MH i2c: E2 [17:38:39]MH_I2C_Read... [17:38:39]Read from MH i2c: E2 03 00 [17:38:39]MH_I2C_Read... [17:38:39]Read from MH i2c: E2 03 00 97 01 00 90 00 0C [17:38:39]RAPDU: 90 00 [17:38:39]wFMCommunicate OK [17:38:39]wFMCommunicate request_size=4 [17:38:39]MH_SAM_APDU [17:38:39]CAPDU: 80 0D 03 02 [17:38:39]Write to MH i2c: E2 08 00 98 01 80 0D 03 02 00 00 00 00 14 [17:38:39]Write i2c OK [17:38:39]MH_I2C_Read... [17:38:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:38:39]Read from MH i2c: E2 [17:38:39]MH_I2C_Read... [17:38:39]Read from MH i2c: E2 0B 00 [17:38:39]MH_I2C_Read... [17:38:39]Read from MH i2c: E2 0B 00 98 01 00 6A 83 D9 D0 F6 37 D8 98 90 00 48 [17:38:39]RAPDU: 6A 83 D9 D0 F6 37 D8 98 90 00 [17:38:39]wFMCommunicate OK [17:38:39]SAM_PROTO_SignData done [17:38:39]FM_MakeSignedData done [17:38:39]CreateOFDProtocolMessage [17:38:39]wFMCommunicate request_size=4 [17:38:39]MH_SAM_APDU [17:38:39]CAPDU: 80 11 00 00 [17:38:39]Write to MH i2c: E2 08 00 99 01 80 11 00 00 00 00 00 00 14 [17:38:39]Write i2c OK [17:38:39]MH_I2C_Read... [17:38:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:38:39]Read from MH i2c: E2 [17:38:39]MH_I2C_Read... [17:38:39]Read from MH i2c: E2 17 00 [17:38:39]MH_I2C_Read... [17:38:39]Read from MH i2c: E2 17 00 99 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 6E [17:38:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [17:38:39]wFMCommunicate OK [17:38:39]CreateOFDProtocolMessage done [17:38:39]OFDSenderStorePacket 12631 [17:38:39]StoreOFDPacket docnum=12631 [17:38:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 33 01 00 00 22 F7 2B 01 B4 14 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 02 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 00 00 00 00 00 07 04 06 00 BC 02 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 1E 4F 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 57 31 00 00 35 04 06 00 F7 84 6A AE CD FA 6A 83 D9 D0 F6 37 D8 98 [17:38:39]CheckFolder [17:38:39]dirname=/storage/ofd_packets [17:38:39]CheckFolder done [17:38:39]ProducePacketName [17:38:39]name=ofd_packets/00012631 [17:38:39]NVStorageSaveData ofd_packets/00012631 [17:38:39]File name is /storage/ofd_packets/00012631 [17:38:39]Write 337 bytes [17:38:39]NVStorageSaveData done [17:38:39]OFDSenderStorePacket done [17:38:39]KKMCreateOFDPacket done [17:38:39]NVStorageSaveData kkm_last_timestamp [17:38:39]File name is /storage/kkm_last_timestamp [17:38:39]Write 4 bytes [17:38:39]NVStorageSaveData done [17:38:39]ExternCall_PrintAddStr [17:38:39]wPrintStart [17:38:39]Write to MH i2c: 01 00 00 9A 01 9B [17:38:39]Write i2c OK [17:38:39]MH_I2C_Read... [17:38:39]Read from MH i2c: 01 [17:38:39]MH_I2C_Read... [17:38:39]Read from MH i2c: 01 07 00 [17:38:39]MH_I2C_Read... [17:38:39]Read from MH i2c: 01 07 00 9A 01 00 00 00 00 00 FF 0F B0 [17:38:39]RasterBufferAndPrint [17:38:39]line Счет N : (3)32903 [17:38:39]line ИНН: 02508201610067 [17:38:39]line Контрольно-Кассовый Чек [17:38:39]line ПРОДАЖА [17:38:39]line Товар: 2000053020015 [17:38:39]line Бумажные стаканы 250мл 1шт [17:38:39]line 1.000 * 7.00 [17:38:39]line = 7.00 [17:38:39]line НДС 12% НСП 1% [17:38:39]line > о реализуемом товаре [17:38:39]line ИТОГО: 7.00 [17:38:39]line НСП 1% : 0.06 [17:38:39]line НДС 12% : 0.74 [17:38:39]line Наличными: 7.00 [17:38:39]line Безнал.: 0.00 [17:38:39]line Место: АЗС № 106 "Партнер Нефть" [17:38:39]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [17:38:39]line СНО: Общий режим [17:38:39]line Чек 43 21.04.2024 17:38 [17:38:39]line Смена: 281 ФФД: 1.0 [17:38:39]line ЗНМ: 0300000004 [17:38:39]line РНМ: 0000000000100748 [17:38:39]line Версия ККМ: 001 [17:38:39]line ФМ: 0000000000965685 [17:38:39]line ФД: 12631 [17:38:39]line ФПД: 272148097584634 [17:38:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T173838&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12631&fm=272148097584634&tin=02508201610067®Number=0000000000100748&sum=700 [17:38:40]line 0 [17:38:40]OFD Sender: Processing packet 12631 [packets to send 7, broken 6] [17:38:40]ProducePacketName [17:38:40]name=ofd_packets/00012631 [17:38:40]OFD Sender: To server: pG, [17:38:40]CommunicateWithHost lk.salyk.kg:30040 [17:38:40]ConnectInit lk.salyk.kg [17:38:40]written 0, free lines is 4095 [17:38:40]Connected sock=10 [17:38:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 33 01 00 00 22 F7 2B 01 B4 14 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 02 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 00 00 00 00 00 07 04 06 00 BC 02 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 1E 4F 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 57 31 00 00 35 04 06 00 F7 84 6A AE CD FA 6A 83 D9 D0 F6 37 D8 98 [17:38:40]Write to MH i2c: 01 00 00 C2 01 C3 [17:38:40]Write i2c OK [17:38:40]MH_I2C_Read... [17:38:40]Read from MH i2c: 01 [17:38:40]MH_I2C_Read... [17:38:40]Read from MH i2c: 01 07 00 [17:38:40]MH_I2C_Read... [17:38:40]Read from MH i2c: 01 07 00 C2 01 00 00 00 00 00 DC 0C B2 [17:38:40]RasterBufferAndPrint [17:38:40]line [17:38:40]line [17:38:40]line [17:38:40]line [17:38:40]line [17:38:40]written 0, free lines is 3296 [17:38:40]MH_Cut [17:38:40]Write to MH i2c: D1 01 00 C9 01 01 9C [17:38:40]Write i2c OK [17:38:40]MH_I2C_Read... [17:38:40]Read from MH i2c: D1 [17:38:40]MH_I2C_Read... [17:38:40]Read from MH i2c: D1 01 00 [17:38:40]MH_I2C_Read... [17:38:40]Read from MH i2c: D1 01 00 C9 01 00 9B [17:38:40]Write to MH i2c: 01 00 00 CA 01 CB [17:38:40]Write i2c OK [17:38:40]MH_I2C_Read... [17:38:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 BA 96 47 00 7B 5D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 57 31 00 00 F4 03 04 00 9F F7 24 66 B6 04 01 00 00 DE A0 33 74 F8 80 16 3A [17:38:40]CommunicateWithHost err = 0 [17:38:40]CheckOFDResponse [17:38:40]1017 (14) - 77093643461234 [17:38:40]1041 (16) - 0000000000965685 [17:38:40]1040 (4) - 12631 [17:38:40]1012 (4) - 21.04.2024 11:25 [17:38:40]1206 (1) - 0 [17:38:40]OFD Sender: Remove packet 12631 [17:38:40]ProducePacketName [17:38:40]name=ofd_packets/00012631 [17:38:40]NVStorageDeleteData [17:38:41]OFD Sender: No OFD packet to send [17:38:41]*** Cut start [17:38:41]*** Partial cut [17:38:41]*** CUTSNS_PIN = 1 [17:38:41]*** CUTSNS_PIN = 0 [17:38:41]*** Brake cut motor [17:38:41]Read from MH i2c: 01 [17:38:41]MH_I2C_Read... [17:38:41]*** Stop cut motor [17:38:41]*** Cut end [17:38:41]Read from MH i2c: 01 07 00 [17:38:41]MH_I2C_Read... [17:38:41]Read from MH i2c: 01 07 00 CA 01 00 00 00 00 00 FF 0F E0 [17:38:41]process_action close_receipt done [17:38:41]requested_data is exist [17:38:41]produce_requested_data [17:38:41]requested_item fm.sn is exist - process it [17:38:41]wFMCommunicate request_size=4 [17:38:41]MH_SAM_APDU [17:38:41]CAPDU: 80 11 00 00 [17:38:41]Write to MH i2c: E2 08 00 CB 01 80 11 00 00 00 00 00 00 46 [17:38:41]Write i2c OK [17:38:41]MH_I2C_Read... [17:38:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:38:42]Read from MH i2c: E2 [17:38:42]MH_I2C_Read... [17:38:42]Read from MH i2c: E2 17 00 [17:38:42]MH_I2C_Read... [17:38:42]Read from MH i2c: E2 17 00 CB 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 A0 [17:38:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [17:38:42]wFMCommunicate OK [17:38:42]requested_item fd.num is exist - process it [17:38:42]SAM_PROTO_GetFieldsCounters [17:38:42]wFMCommunicate request_size=4 [17:38:42]MH_SAM_APDU [17:38:42]CAPDU: 80 13 00 00 [17:38:42]Write to MH i2c: E2 08 00 CC 01 80 13 00 00 00 00 00 00 49 [17:38:42]Write i2c OK [17:38:42]MH_I2C_Read... [17:38:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:38:42]Read from MH i2c: E2 [17:38:42]MH_I2C_Read... [17:38:42]Read from MH i2c: E2 62 00 [17:38:42]MH_I2C_Read... [17:38:42]Read from MH i2c: E2 62 00 CC 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 57 31 00 00 0E 04 04 00 19 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 8F [17:38:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 57 31 00 00 0E 04 04 00 19 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 [17:38:42]wFMCommunicate OK [17:38:42]SAM_PROTO_GetFieldsCounters done [17:38:42]requested_item shift.num is exist - process it [17:38:42]requested_item shift.opened is exist - process it [17:38:42]req_shift_opened [17:38:42]FM_GetShiftState [17:38:42]SAM_PROTO_GetShiftState [17:38:42]wFMCommunicate request_size=4 [17:38:42]MH_SAM_APDU [17:38:42]CAPDU: 80 13 01 00 [17:38:42]Write to MH i2c: E2 08 00 CD 01 80 13 01 00 00 00 00 00 4B [17:38:42]Write i2c OK [17:38:42]MH_I2C_Read... [17:38:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:38:42]Read from MH i2c: E2 [17:38:42]MH_I2C_Read... [17:38:42]Read from MH i2c: E2 0E 00 [17:38:42]MH_I2C_Read... [17:38:42]Read from MH i2c: E2 0E 00 CD 01 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 A3 [17:38:42]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [17:38:42]wFMCommunicate OK [17:38:42]SAM_PROTO_GetShiftState done [17:38:42]FM_GetShiftState done [17:38:42]req_shift_opened done [17:38:42]requested_item shift.open_date is exist - process it [17:38:42]req_shift_open_date [17:38:42]req_shift_open_date done [17:38:42]produce_requested_data done [17:38:42]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12631,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [17:38:42]process_action_free close_receipt [17:38:42]json_value_free [17:38:42]json_value_free done [17:38:42]process_json_proto returns [17:38:42]Send response to host [17:38:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12631,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [17:38:42]free response buf [17:38:42]execute_script done [17:38:42]execute_script returns [17:38:42]free content buf [17:38:42]Sock 9.Close socket [17:38:42]Sock 9.Thread stoped [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:21]OFD Sender: No OFD packet to send [17:47:26]OFD Sender: No OFD packet to send [17:47:31]OFD Sender: No OFD packet to send [17:47:36]OFD Sender: No OFD packet to send [17:47:41]OFD Sender: No OFD packet to send [17:47:46]OFD Sender: No OFD packet to send [17:47:51]OFD Sender: No OFD packet to send [17:47:56]OFD Sender: No OFD packet to send [17:48:01]OFD Sender: No OFD packet to send [17:48:06]OFD Sender: No OFD packet to send [17:48:11]OFD Sender: No OFD packet to send [17:48:16]OFD Sender: No OFD packet to send [17:48:21]OFD Sender: No OFD packet to send [17:48:26]OFD Sender: No OFD packet to send [17:48:31]OFD Sender: No OFD packet to send [17:48:36]OFD Sender: No OFD packet to send [17:48:41]OFD Sender: No OFD packet to send [17:48:46]OFD Sender: No OFD packet to send [17:48:51]OFD Sender: No OFD packet to send [17:48:56]OFD Sender: No OFD packet to send [17:49:01]OFD Sender: No OFD packet to send [17:49:06]OFD Sender: No OFD packet to send [17:49:11]OFD Sender: No OFD packet to send [17:49:16]OFD Sender: No OFD packet to send [17:49:21]OFD Sender: No OFD packet to send [17:49:26]OFD Sender: No OFD packet to send [17:49:31]OFD Sender: No OFD packet to send [17:49:36]OFD Sender: No OFD packet to send [17:49:41]OFD Sender: No OFD packet to send [17:49:46]OFD Sender: No OFD packet to send [17:49:51]OFD Sender: No OFD packet to send [17:49:56]OFD Sender: No OFD packet to send [17:50:01]OFD Sender: No OFD packet to send [17:50:06]OFD Sender: No OFD packet to send [17:50:11]OFD Sender: No OFD packet to send [17:50:16]OFD Sender: No OFD packet to send [17:50:21]OFD Sender: No OFD packet to send [17:50:26]OFD Sender: No OFD packet to send [17:50:31]OFD Sender: No OFD packet to send [17:50:36]OFD Sender: No OFD packet to send [17:50:41]OFD Sender: No OFD packet to send [17:50:46]OFD Sender: No OFD packet to send [17:50:51]OFD Sender: No OFD packet to send [17:50:56]OFD Sender: No OFD packet to send [17:51:01]OFD Sender: No OFD packet to send [17:51:06]OFD Sender: No OFD packet to send [17:51:11]OFD Sender: No OFD packet to send [17:51:16]OFD Sender: No OFD packet to send [17:51:21]OFD Sender: No OFD packet to send [17:51:26]OFD Sender: No OFD packet to send [17:51:31]OFD Sender: No OFD packet to send [17:51:36]OFD Sender: No OFD packet to send [17:51:41]OFD Sender: No OFD packet to send [17:51:46]OFD Sender: No OFD packet to send [17:51:51]OFD Sender: No OFD packet to send [17:51:56]OFD Sender: No OFD packet to send [17:52:01]OFD Sender: No OFD packet to send [17:52:06]OFD Sender: No OFD packet to send [17:52:11]OFD Sender: No OFD packet to send [17:52:16]OFD Sender: No OFD packet to send [17:52:21]OFD Sender: No OFD packet to send [17:52:26]OFD Sender: No OFD packet to send [17:52:31]OFD Sender: No OFD packet to send [17:52:36]OFD Sender: No OFD packet to send [17:52:41]OFD Sender: No OFD packet to send [17:52:46]OFD Sender: No OFD packet to send [17:52:51]OFD Sender: No OFD packet to send [17:52:56]OFD Sender: No OFD packet to send [17:53:01]OFD Sender: No OFD packet to send [17:53:06]OFD Sender: No OFD packet to send [17:53:11]OFD Sender: No OFD packet to send [17:53:16]OFD Sender: No OFD packet to send [17:53:21]OFD Sender: No OFD packet to send [17:53:26]OFD Sender: No OFD packet to send [17:53:31]OFD Sender: No OFD packet to send [17:53:36]OFD Sender: No OFD packet to send [17:53:41]OFD Sender: No OFD packet to send [17:53:46]OFD Sender: No OFD packet to send [17:53:51]OFD Sender: No OFD packet to send [17:53:56]OFD Sender: No OFD packet to send [17:54:01]OFD Sender: No OFD packet to send [17:54:06]OFD Sender: No OFD packet to send [17:54:11]OFD Sender: No OFD packet to send [17:54:16]OFD Sender: No OFD packet to send [17:54:21]OFD Sender: No OFD packet to send [17:54:26]OFD Sender: No OFD packet to send [17:54:31]OFD Sender: No OFD packet to send [17:54:36]OFD Sender: No OFD packet to send [17:54:41]OFD Sender: No OFD packet to send [17:54:46]OFD Sender: No OFD packet to send [17:54:51]OFD Sender: No OFD packet to send [17:54:56]OFD Sender: No OFD packet to send [17:55:01]OFD Sender: No OFD packet to send [17:55:06]OFD Sender: No OFD packet to send [17:55:11]OFD Sender: No OFD packet to send [17:55:16]OFD Sender: No OFD packet to send [17:55:21]OFD Sender: No OFD packet to send [17:55:26]OFD Sender: No OFD packet to send [17:55:31]OFD Sender: No OFD packet to send [17:55:36]OFD Sender: No OFD packet to send [17:55:41]OFD Sender: No OFD packet to send [17:55:46]OFD Sender: No OFD packet to send [17:55:51]OFD Sender: No OFD packet to send [17:55:56]OFD Sender: No OFD packet to send [17:56:01]OFD Sender: No OFD packet to send [17:56:06]OFD Sender: No OFD packet to send [17:56:11]OFD Sender: No OFD packet to send [17:56:16]OFD Sender: No OFD packet to send [17:56:21]OFD Sender: No OFD packet to send [17:56:26]OFD Sender: No OFD packet to send [17:56:31]OFD Sender: No OFD packet to send [17:56:36]OFD Sender: No OFD packet to send [17:56:41]OFD Sender: No OFD packet to send [17:56:46]OFD Sender: No OFD packet to send [17:56:51]OFD Sender: No OFD packet to send [17:56:56]OFD Sender: No OFD packet to send [17:57:01]OFD Sender: No OFD packet to send [17:57:06]OFD Sender: No OFD packet to send [17:57:11]OFD Sender: No OFD packet to send [17:57:16]OFD Sender: No OFD packet to send [17:57:21]OFD Sender: No OFD packet to send [17:57:26]OFD Sender: No OFD packet to send [17:57:31]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:27]OFD Sender: No OFD packet to send [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: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:22]OFD Sender: No OFD packet to send [18:07:27]OFD Sender: No OFD packet to send [18:07:32]OFD Sender: No OFD packet to send [18:07:37]OFD Sender: No OFD packet to send [18:07:42]OFD Sender: No OFD packet to send [18:07:47]OFD Sender: No OFD packet to send [18:07:52]OFD Sender: No OFD packet to send [18:07:57]OFD Sender: No OFD packet to send [18:08:02]OFD Sender: No OFD packet to send [18:08:07]OFD Sender: No OFD packet to send [18:08:12]OFD Sender: No OFD packet to send [18:08:17]OFD Sender: No OFD packet to send [18:08:22]OFD Sender: No OFD packet to send [18:08:27]OFD Sender: No OFD packet to send [18:08:32]OFD Sender: No OFD packet to send [18:08:37]OFD Sender: No OFD packet to send [18:08:42]OFD Sender: No OFD packet to send [18:08:47]OFD Sender: No OFD packet to send [18:08:52]OFD Sender: No OFD packet to send [18:08:57]OFD Sender: No OFD packet to send [18:09:02]OFD Sender: No OFD packet to send [18:09:07]OFD Sender: No OFD packet to send [18:09:12]OFD Sender: No OFD packet to send [18:09:17]OFD Sender: No OFD packet to send [18:09:22]OFD Sender: No OFD packet to send [18:09:27]OFD Sender: No OFD packet to send [18:09:32]OFD Sender: No OFD packet to send [18:09:37]OFD Sender: No OFD packet to send [18:09:42]OFD Sender: No OFD packet to send [18:09:47]OFD Sender: No OFD packet to send [18:09:52]OFD Sender: No OFD packet to send [18:09:57]OFD Sender: No OFD packet to send [18:10:02]OFD Sender: No OFD packet to send [18:10:07]OFD Sender: No OFD packet to send [18:10:12]OFD Sender: No OFD packet to send [18:10:17]OFD Sender: No OFD packet to send [18:10:22]OFD Sender: No OFD packet to send [18:10:27]OFD Sender: No OFD packet to send [18:10:32]OFD Sender: No OFD packet to send [18:10:37]OFD Sender: No OFD packet to send [18:10:42]OFD Sender: No OFD packet to send [18:10:47]OFD Sender: No OFD packet to send [18:10:52]OFD Sender: No OFD packet to send [18:10:57]OFD Sender: No OFD packet to send [18:11:02]OFD Sender: No OFD packet to send [18:11:07]OFD Sender: No OFD packet to send [18:11:12]OFD Sender: No OFD packet to send [18:11:17]OFD Sender: No OFD packet to send [18:11:22]OFD Sender: No OFD packet to send [18:11:27]OFD Sender: No OFD packet to send [18:11:32]OFD Sender: No OFD packet to send [18:11:37]OFD Sender: No OFD packet to send [18:11:42]OFD Sender: No OFD packet to send [18:11:47]OFD Sender: No OFD packet to send [18:11:52]OFD Sender: No OFD packet to send [18:11:57]OFD Sender: No OFD packet to send [18:12:02]OFD Sender: No OFD packet to send [18:12:07]OFD Sender: No OFD packet to send [18:12:12]OFD Sender: No OFD packet to send [18:12:17]OFD Sender: No OFD packet to send [18:12:22]OFD Sender: No OFD packet to send [18:12:27]OFD Sender: No OFD packet to send [18:12:32]OFD Sender: No OFD packet to send [18:12:37]OFD Sender: No OFD packet to send [18:12:42]OFD Sender: No OFD packet to send [18:12:47]OFD Sender: No OFD packet to send [18:12:52]OFD Sender: No OFD packet to send [18:12:57]OFD Sender: No OFD packet to send [18:13:02]OFD Sender: No OFD packet to send [18:13:07]OFD Sender: No OFD packet to send [18:13:12]OFD Sender: No OFD packet to send [18:13:17]OFD Sender: No OFD packet to send [18:13:22]OFD Sender: No OFD packet to send [18:13:27]OFD Sender: No OFD packet to send [18:13:32]OFD Sender: No OFD packet to send [18:13:37]OFD Sender: No OFD packet to send [18:13:42]OFD Sender: No OFD packet to send [18:13:47]OFD Sender: No OFD packet to send [18:13:52]OFD Sender: No OFD packet to send [18:13:57]OFD Sender: No OFD packet to send [18:14:02]OFD Sender: No OFD packet to send [18:14:07]OFD Sender: No OFD packet to send [18:14:12]OFD Sender: No OFD packet to send [18:14:17]OFD Sender: No OFD packet to send [18:14:22]OFD Sender: No OFD packet to send [18:14:27]OFD Sender: No OFD packet to send [18:14:32]OFD Sender: No OFD packet to send [18:14:37]OFD Sender: No OFD packet to send [18:14:42]OFD Sender: No OFD packet to send [18:14:47]OFD Sender: No OFD packet to send [18:14:52]OFD Sender: No OFD packet to send [18:14:57]OFD Sender: No OFD packet to send [18:15:02]OFD Sender: No OFD packet to send [18:15:07]OFD Sender: No OFD packet to send [18:15:12]OFD Sender: No OFD packet to send [18:15:17]OFD Sender: No OFD packet to send [18:15:22]OFD Sender: No OFD packet to send [18:15:27]OFD Sender: No OFD packet to send [18:15:32]OFD Sender: No OFD packet to send [18:15:37]OFD Sender: No OFD packet to send [18:15:42]OFD Sender: No OFD packet to send [18:15:47]OFD Sender: No OFD packet to send [18:15:52]OFD Sender: No OFD packet to send [18:15:57]OFD Sender: No OFD packet to send [18:16:02]OFD Sender: No OFD packet to send [18:16:07]OFD Sender: No OFD packet to send [18:16:12]OFD Sender: No OFD packet to send [18:16:17]OFD Sender: No OFD packet to send [18:16:22]OFD Sender: No OFD packet to send [18:16:27]OFD Sender: No OFD packet to send [18:16:32]OFD Sender: No OFD packet to send [18:16:37]OFD Sender: No OFD packet to send [18:16:42]OFD Sender: No OFD packet to send [18:16:47]OFD Sender: No OFD packet to send [18:16:52]OFD Sender: No OFD packet to send [18:16:57]OFD Sender: No OFD packet to send [18:17:02]OFD Sender: No OFD packet to send [18:17:07]OFD Sender: No OFD packet to send [18:17:12]OFD Sender: No OFD packet to send [18:17:17]OFD Sender: No OFD packet to send [18:17:22]OFD Sender: No OFD packet to send [18:17:27]OFD Sender: No OFD packet to send [18:17:32]OFD Sender: No OFD packet to send [18:17:37]OFD Sender: No OFD packet to send [18:17:42]OFD Sender: No OFD packet to send [18:17:47]OFD Sender: No OFD packet to send [18:17:52]OFD Sender: No OFD packet to send [18:17:57]OFD Sender: No OFD packet to send [18:18:02]OFD Sender: No OFD packet to send [18:18:07]OFD Sender: No OFD packet to send [18:18:12]OFD Sender: No OFD packet to send [18:18:17]OFD Sender: No OFD packet to send [18:18:22]OFD Sender: No OFD packet to send [18:18:27]OFD Sender: No OFD packet to send [18:18:32]OFD Sender: No OFD packet to send [18:18:37]OFD Sender: No OFD packet to send [18:18:42]OFD Sender: No OFD packet to send [18:18:47]OFD Sender: No OFD packet to send [18:18:52]OFD Sender: No OFD packet to send [18:18:57]OFD Sender: No OFD packet to send [18:19:02]OFD Sender: No OFD packet to send [18:19:08]OFD Sender: No OFD packet to send [18:19:13]OFD Sender: No OFD packet to send [18:19:18]OFD Sender: No OFD packet to send [18:19:23]OFD Sender: No OFD packet to send [18:19:28]OFD Sender: No OFD packet to send [18:19:33]OFD Sender: No OFD packet to send [18:19:38]OFD Sender: No OFD packet to send [18:19:43]OFD Sender: No OFD packet to send [18:19:48]OFD Sender: No OFD packet to send [18:19:53]OFD Sender: No OFD packet to send [18:19:58]OFD Sender: No OFD packet to send [18:20:03]OFD Sender: No OFD packet to send [18:20:08]OFD Sender: No OFD packet to send [18:20:13]OFD Sender: No OFD packet to send [18:20:18]OFD Sender: No OFD packet to send [18:20:23]OFD Sender: No OFD packet to send [18:20:28]OFD Sender: No OFD packet to send [18:20:33]OFD Sender: No OFD packet to send [18:20:38]OFD Sender: No OFD packet to send [18:20:43]OFD Sender: No OFD packet to send [18:20:48]OFD Sender: No OFD packet to send [18:20:53]OFD Sender: No OFD packet to send [18:20:58]OFD Sender: No OFD packet to send [18:21:03]OFD Sender: No OFD packet to send [18:21:08]OFD Sender: No OFD packet to send [18:21:13]OFD Sender: No OFD packet to send [18:21:18]OFD Sender: No OFD packet to send [18:21:23]OFD Sender: No OFD packet to send [18:21:28]OFD Sender: No OFD packet to send [18:21:33]OFD Sender: No OFD packet to send [18:21:38]OFD Sender: No OFD packet to send [18:21:43]OFD Sender: No OFD packet to send [18:21:48]OFD Sender: No OFD packet to send [18:21:53]OFD Sender: No OFD packet to send [18:21:58]OFD Sender: No OFD packet to send [18:22:03]OFD Sender: No OFD packet to send [18:22:08]OFD Sender: No OFD packet to send [18:22:13]OFD Sender: No OFD packet to send [18:22:18]OFD Sender: No OFD packet to send [18:22:23]OFD Sender: No OFD packet to send [18:22:28]OFD Sender: No OFD packet to send [18:22:33]OFD Sender: No OFD packet to send [18:22:38]OFD Sender: No OFD packet to send [18:22:43]OFD Sender: No OFD packet to send [18:22:48]OFD Sender: No OFD packet to send [18:22:53]OFD Sender: No OFD packet to send [18:22:58]OFD Sender: No OFD packet to send [18:23:03]OFD Sender: No OFD packet to send [18:23:08]OFD Sender: No OFD packet to send [18:23:13]OFD Sender: No OFD packet to send [18:23:18]OFD Sender: No OFD packet to send [18:23:23]OFD Sender: No OFD packet to send [18:23:28]OFD Sender: No OFD packet to send [18:23:33]OFD Sender: No OFD packet to send [18:23:38]OFD Sender: No OFD packet to send [18:23:43]OFD Sender: No OFD packet to send [18:23:48]OFD Sender: No OFD packet to send [18:23:53]OFD Sender: No OFD packet to send [18:23:58]OFD Sender: No OFD packet to send [18:24:03]OFD Sender: No OFD packet to send [18:24:08]OFD Sender: No OFD packet to send [18:24:13]OFD Sender: No OFD packet to send [18:24:18]OFD Sender: No OFD packet to send [18:24:23]OFD Sender: No OFD packet to send [18:24:28]OFD Sender: No OFD packet to send [18:24:33]OFD Sender: No OFD packet to send [18:24:38]OFD Sender: No OFD packet to send [18:24:43]OFD Sender: No OFD packet to send [18:24:48]OFD Sender: No OFD packet to send [18:24:53]OFD Sender: No OFD packet to send [18:24:58]OFD Sender: No OFD packet to send [18:25:03]OFD Sender: No OFD packet to send [18:25:08]OFD Sender: No OFD packet to send [18:25:13]OFD Sender: No OFD packet to send [18:25:18]OFD Sender: No OFD packet to send [18:25:23]OFD Sender: No OFD packet to send [18:25:28]OFD Sender: No OFD packet to send [18:25:33]OFD Sender: No OFD packet to send [18:25:38]OFD Sender: No OFD packet to send [18:25:43]OFD Sender: No OFD packet to send [18:25:48]OFD Sender: No OFD packet to send [18:25:53]OFD Sender: No OFD packet to send [18:25:58]OFD Sender: No OFD packet to send [18:26:03]OFD Sender: No OFD packet to send [18:26:08]OFD Sender: No OFD packet to send [18:26:13]OFD Sender: No OFD packet to send [18:26:18]OFD Sender: No OFD packet to send [18:26:23]OFD Sender: No OFD packet to send [18:26:28]OFD Sender: No OFD packet to send [18:26:33]OFD Sender: No OFD packet to send [18:26:38]OFD Sender: No OFD packet to send [18:26:43]OFD Sender: No OFD packet to send [18:26:48]OFD Sender: No OFD packet to send [18:26:53]OFD Sender: No OFD packet to send [18:26:58]OFD Sender: No OFD packet to send [18:27:03]OFD Sender: No OFD packet to send [18:27:08]OFD Sender: No OFD packet to send [18:27:13]OFD Sender: No OFD packet to send [18:27:18]OFD Sender: No OFD packet to send [18:27:23]OFD Sender: No OFD packet to send [18:27:28]OFD Sender: No OFD packet to send [18:27:33]OFD Sender: No OFD packet to send [18:27:38]OFD Sender: No OFD packet to send [18:27:43]OFD Sender: No OFD packet to send [18:27:48]OFD Sender: No OFD packet to send [18:27:53]OFD Sender: No OFD packet to send [18:27:58]OFD Sender: No OFD packet to send [18:28:03]OFD Sender: No OFD packet to send [18:28:08]OFD Sender: No OFD packet to send [18:28:13]OFD Sender: No OFD packet to send [18:28:18]OFD Sender: No OFD packet to send [18:28:23]OFD Sender: No OFD packet to send [18:28:28]OFD Sender: No OFD packet to send [18:28:33]OFD Sender: No OFD packet to send [18:28:38]OFD Sender: No OFD packet to send [18:28:43]OFD Sender: No OFD packet to send [18:28:48]OFD Sender: No OFD packet to send [18:28:53]OFD Sender: No OFD packet to send [18:28:58]OFD Sender: No OFD packet to send [18:29:03]OFD Sender: No OFD packet to send [18:29:08]OFD Sender: No OFD packet to send [18:29:13]OFD Sender: No OFD packet to send [18:29:18]OFD Sender: No OFD packet to send [18:29:23]OFD Sender: No OFD packet to send [18:29:28]OFD Sender: No OFD packet to send [18:29:33]OFD Sender: No OFD packet to send [18:29:38]OFD Sender: No OFD packet to send [18:29:43]OFD Sender: No OFD packet to send [18:29:48]OFD Sender: No OFD packet to send [18:29:53]OFD Sender: No OFD packet to send [18:29:58]OFD Sender: No OFD packet to send [18:30:03]OFD Sender: No OFD packet to send [18:30:08]OFD Sender: No OFD packet to send [18:30:13]OFD Sender: No OFD packet to send [18:30:18]OFD Sender: No OFD packet to send [18:30:23]OFD Sender: No OFD packet to send [18:30:28]OFD Sender: No OFD packet to send [18:30:33]OFD Sender: No OFD packet to send [18:30:38]OFD Sender: No OFD packet to send [18:30:43]OFD Sender: No OFD packet to send [18:30:48]OFD Sender: No OFD packet to send [18:30:53]OFD Sender: No OFD packet to send [18:30:58]OFD Sender: No OFD packet to send [18:31:03]OFD Sender: No OFD packet to send [18:31:08]OFD Sender: No OFD packet to send [18:31:13]OFD Sender: No OFD packet to send [18:31:18]OFD Sender: No OFD packet to send [18:31:23]OFD Sender: No OFD packet to send [18:31:28]OFD Sender: No OFD packet to send [18:31:33]OFD Sender: No OFD packet to send [18:31:38]OFD Sender: No OFD packet to send [18:31:43]OFD Sender: No OFD packet to send [18:31:48]OFD Sender: No OFD packet to send [18:31:53]OFD Sender: No OFD packet to send [18:31:58]OFD Sender: No OFD packet to send [18:32:03]OFD Sender: No OFD packet to send [18:32:08]OFD Sender: No OFD packet to send [18:32:13]OFD Sender: No OFD packet to send [18:32:18]OFD Sender: No OFD packet to send [18:32:23]OFD Sender: No OFD packet to send [18:32:28]OFD Sender: No OFD packet to send [18:32:33]OFD Sender: No OFD packet to send [18:32:38]OFD Sender: No OFD packet to send [18:32:43]OFD Sender: No OFD packet to send [18:32:48]OFD Sender: No OFD packet to send [18:32:53]OFD Sender: No OFD packet to send [18:32:58]OFD Sender: No OFD packet to send [18:33:03]OFD Sender: No OFD packet to send [18:33:08]OFD Sender: No OFD packet to send [18:33:13]OFD Sender: No OFD packet to send [18:33:18]OFD Sender: No OFD packet to send [18:33:23]OFD Sender: No OFD packet to send [18:33:28]OFD Sender: No OFD packet to send [18:33:33]OFD Sender: No OFD packet to send [18:33:38]OFD Sender: No OFD packet to send [18:33:43]OFD Sender: No OFD packet to send [18:33:48]OFD Sender: No OFD packet to send [18:33:53]OFD Sender: No OFD packet to send [18:33:58]OFD Sender: No OFD packet to send [18:34:03]OFD Sender: No OFD packet to send [18:34:08]OFD Sender: No OFD packet to send [18:34:13]OFD Sender: No OFD packet to send [18:34:18]OFD Sender: No OFD packet to send [18:34:23]OFD Sender: No OFD packet to send [18:34:28]OFD Sender: No OFD packet to send [18:34:33]OFD Sender: No OFD packet to send [18:34:38]OFD Sender: No OFD packet to send [18:34:43]OFD Sender: No OFD packet to send [18:34:48]OFD Sender: No OFD packet to send [18:34:53]OFD Sender: No OFD packet to send [18:34:58]OFD Sender: No OFD packet to send [18:35:03]OFD Sender: No OFD packet to send [18:35:08]OFD Sender: No OFD packet to send [18:35:13]OFD Sender: No OFD packet to send [18:35:18]OFD Sender: No OFD packet to send [18:35:23]OFD Sender: No OFD packet to send [18:35:28]OFD Sender: No OFD packet to send [18:35:33]OFD Sender: No OFD packet to send [18:35:38]OFD Sender: No OFD packet to send [18:35:43]OFD Sender: No OFD packet to send [18:35:48]OFD Sender: No OFD packet to send [18:35:53]OFD Sender: No OFD packet to send [18:35:58]OFD Sender: No OFD packet to send [18:36:03]OFD Sender: No OFD packet to send [18:36:08]OFD Sender: No OFD packet to send [18:36:13]OFD Sender: No OFD packet to send [18:36:18]OFD Sender: No OFD packet to send [18:36:23]OFD Sender: No OFD packet to send [18:36:28]OFD Sender: No OFD packet to send [18:36:33]OFD Sender: No OFD packet to send [18:36:38]OFD Sender: No OFD packet to send [18:36:43]OFD Sender: No OFD packet to send [18:36:48]OFD Sender: No OFD packet to send [18:36:53]OFD Sender: No OFD packet to send [18:36:58]OFD Sender: No OFD packet to send [18:37:03]OFD Sender: No OFD packet to send [18:37:08]OFD Sender: No OFD packet to send [18:37:13]OFD Sender: No OFD packet to send [18:37:18]OFD Sender: No OFD packet to send [18:37:23]OFD Sender: No OFD packet to send [18:37:28]OFD Sender: No OFD packet to send [18:37:33]OFD Sender: No OFD packet to send [18:37:38]OFD Sender: No OFD packet to send [18:37:43]OFD Sender: No OFD packet to send [18:37:48]OFD Sender: No OFD packet to send [18:37:53]OFD Sender: No OFD packet to send [18:37:58]OFD Sender: No OFD packet to send [18:38:03]OFD Sender: No OFD packet to send [18:38:08]OFD Sender: No OFD packet to send [18:38:13]OFD Sender: No OFD packet to send [18:38:18]OFD Sender: No OFD packet to send [18:38:23]OFD Sender: No OFD packet to send [18:38:28]OFD Sender: No OFD packet to send [18:38:33]OFD Sender: No OFD packet to send [18:38:38]OFD Sender: No OFD packet to send [18:38:43]OFD Sender: No OFD packet to send [18:38:48]OFD Sender: No OFD packet to send [18:38:53]OFD Sender: No OFD packet to send [18:38:58]OFD Sender: No OFD packet to send [18:39:03]OFD Sender: No OFD packet to send [18:39:08]OFD Sender: No OFD packet to send [18:39:13]OFD Sender: No OFD packet to send [18:39:18]OFD Sender: No OFD packet to send [18:39:23]OFD Sender: No OFD packet to send [18:39:28]OFD Sender: No OFD packet to send [18:39:33]OFD Sender: No OFD packet to send [18:39:38]OFD Sender: No OFD packet to send [18:39:43]OFD Sender: No OFD packet to send [18:39:48]OFD Sender: No OFD packet to send [18:39:53]OFD Sender: No OFD packet to send [18:39:58]OFD Sender: No OFD packet to send [18:40:03]OFD Sender: No OFD packet to send [18:40:08]OFD Sender: No OFD packet to send [18:40:13]OFD Sender: No OFD packet to send [18:40:18]OFD Sender: No OFD packet to send [18:40:23]OFD Sender: No OFD packet to send [18:40:28]OFD Sender: No OFD packet to send [18:40:33]OFD Sender: No OFD packet to send [18:40:38]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:14]OFD Sender: No OFD packet to send [18:49:19]OFD Sender: No OFD packet to send [18:49:24]OFD Sender: No OFD packet to send [18:49:29]OFD Sender: No OFD packet to send [18:49:34]OFD Sender: No OFD packet to send [18:49:39]OFD Sender: No OFD packet to send [18:49:44]OFD Sender: No OFD packet to send [18:49:49]OFD Sender: No OFD packet to send [18:49:54]OFD Sender: No OFD packet to send [18:49:59]OFD Sender: No OFD packet to send [18:50:04]OFD Sender: No OFD packet to send [18:50:09]OFD Sender: No OFD packet to send [18:50:14]OFD Sender: No OFD packet to send [18:50:19]OFD Sender: No OFD packet to send [18:50:24]OFD Sender: No OFD packet to send [18:50:29]OFD Sender: No OFD packet to send [18:50:34]OFD Sender: No OFD packet to send [18:50:39]OFD Sender: No OFD packet to send [18:50:44]OFD Sender: No OFD packet to send [18:50:49]OFD Sender: No OFD packet to send [18:50:54]OFD Sender: No OFD packet to send [18:50:59]OFD Sender: No OFD packet to send [18:51:04]OFD Sender: No OFD packet to send [18:51:09]OFD Sender: No OFD packet to send [18:51:14]OFD Sender: No OFD packet to send [18:51:19]OFD Sender: No OFD packet to send [18:51:24]OFD Sender: No OFD packet to send [18:51:29]OFD Sender: No OFD packet to send [18:51:34]OFD Sender: No OFD packet to send [18:51:39]OFD Sender: No OFD packet to send [18:51:44]OFD Sender: No OFD packet to send [18:51:49]OFD Sender: No OFD packet to send [18:51:54]OFD Sender: No OFD packet to send [18:51:59]OFD Sender: No OFD packet to send [18:52:04]OFD Sender: No OFD packet to send [18:52:09]OFD Sender: No OFD packet to send [18:52:14]OFD Sender: No OFD packet to send [18:52:19]OFD Sender: No OFD packet to send [18:52:24]OFD Sender: No OFD packet to send [18:52:29]OFD Sender: No OFD packet to send [18:52:34]OFD Sender: No OFD packet to send [18:52:39]OFD Sender: No OFD packet to send [18:52:44]OFD Sender: No OFD packet to send [18:52:49]OFD Sender: No OFD packet to send [18:52:54]OFD Sender: No OFD packet to send [18:52:59]OFD Sender: No OFD packet to send [18:53:04]OFD Sender: No OFD packet to send [18:53:09]OFD Sender: No OFD packet to send [18:53:14]OFD Sender: No OFD packet to send [18:53:19]OFD Sender: No OFD packet to send [18:53:24]OFD Sender: No OFD packet to send [18:53:29]OFD Sender: No OFD packet to send [18:53:34]OFD Sender: No OFD packet to send [18:53:39]OFD Sender: No OFD packet to send [18:53:44]OFD Sender: No OFD packet to send [18:53:49]OFD Sender: No OFD packet to send [18:53:54]OFD Sender: No OFD packet to send [18:53:59]OFD Sender: No OFD packet to send [18:54:04]OFD Sender: No OFD packet to send [18:54:09]OFD Sender: No OFD packet to send [18:54:14]OFD Sender: No OFD packet to send [18:54:19]OFD Sender: No OFD packet to send [18:54:24]OFD Sender: No OFD packet to send [18:54:29]OFD Sender: No OFD packet to send [18:54:34]OFD Sender: No OFD packet to send [18:54:39]OFD Sender: No OFD packet to send [18:54:44]OFD Sender: No OFD packet to send [18:54:49]OFD Sender: No OFD packet to send [18:54:54]OFD Sender: No OFD packet to send [18:54:54]accept exits with 7 [18:54:54]New connection [18:54:54]New thread 3066957156 created [18:54:54]Thread 3066813796 joined [18:54:54]Waiting for new connection... [18:54:54] Sock 7.Parse request [18:54:54]Sock 7.Check first char [18:54:54]Sock 7.First char is OK [18:54:54]request: POST /json_proto HTTP/1.0 [18:54:54]Method: POST [18:54:54]URL: /json_proto [18:54:54]Method is POST - this is cgi request [18:54:54]url: /json_proto [18:54:54]query_string will be loaded in cgi processing [18:54:54]execute_cgi json_proto POST (null) [18:54:54]execute_cgi path=json_proto method=POST [18:54:54]POST find Content-Length [18:54:54]Host: 172.17.62.6:8080 [18:54:54]Content-Length: 732 [18:54:54]Content-Type: application/json [18:54:54] [18:54:54]POST finish read [18:54:54]Found Content-Length = 732 [18:54:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32904", "tax_sys" : 0, "items" : [ { "code": "4630007401201", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0441\u043E\u043B\u0435\u043D\u044B\u0435 \u0414\u0416\u0418\u041D\u041D \u0412\u0435\u043B\u0438\u043A\u0430\u043D 100\u0433\u0440", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:54:54]execute_script... [18:54:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32904", "tax_sys" : 0, "items" : [ { "code": "4630007401201", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0441\u043E\u043B\u0435\u043D\u044B\u0435 \u0414\u0416\u0418\u041D\u041D \u0412\u0435\u043B\u0438\u043A\u0430\u043D 100\u0433\u0440", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:54:54]POST & json_proto [18:54:54]process_json_proto [18:54:54]json parsed OK: [18:54:54]protocol is kg_v1.0 [18:54:54]action value=close_receipt [18:54:54]process_action close_receipt [18:54:54]cmd_close_receipt [18:54:54]MH_GetDate [18:54:54]Write to MH i2c: F0 00 00 CE 01 BE [18:54:54]Write i2c OK [18:54:54]MH_I2C_Read... [18:54:54]Read from MH i2c: F0 [18:54:54]MH_I2C_Read... [18:54:54]Read from MH i2c: F0 09 00 [18:54:54]MH_I2C_Read... [18:54:54]Read from MH i2c: F0 09 00 CE 01 00 FF 60 25 66 61 69 D2 64 B1 [18:54:54]GetLastDocTimeStamp 1713721118 [18:54:54]current date 1713725695 [18:54:54]FM_GetShiftState [18:54:54]SAM_PROTO_GetShiftState [18:54:54]wFMCommunicate request_size=4 [18:54:54]MH_SAM_APDU [18:54:54]CAPDU: 80 13 01 00 [18:54:54]Write to MH i2c: E2 08 00 CF 01 80 13 01 00 00 00 00 00 4D [18:54:54]Write i2c OK [18:54:54]MH_I2C_Read... [18:54:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:54:55]Read from MH i2c: E2 [18:54:55]MH_I2C_Read... [18:54:55]Read from MH i2c: E2 0E 00 [18:54:55]MH_I2C_Read... [18:54:55]Read from MH i2c: E2 0E 00 CF 01 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 A5 [18:54:55]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [18:54:55]wFMCommunicate OK [18:54:55]SAM_PROTO_GetShiftState done [18:54:55]FM_GetShiftState done [18:54:55]opened in 1713658727 [18:54:55]opened+sec_in_day 1713745127 [18:54:55]quantity*price = 12000 [18:54:55]sum+1 = 12001 [18:54:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 120.00 НСП 1% : 1.06 НДС 12% : 12.74 Наличными: 120.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 44 21.04.2024 18:54 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12632 ФПД: 179450091330151 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T185455&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12632&fm=179450091330151&tin=02508201610067®Number=0000000000100748&sum=12000 0 [18:54:56]StoreToDocumentArchive [18:54:56]shift 281 fd 12632 [18:54:56]save to /storage/0281/doc_00012632 [18:54:56]save last doc name /storage/0281/doc_00012632 to /storage/kkm_last_doc_name [18:54:56]save OK [18:54:56]Clear old archive folders... [18:54:56]ProcessDocumentItem done err = 0, tmpTLVsize=305 [18:54:56]tlvbuf is 016DFD70 [18:54:56]SAM_PROTO_ClearQueue [18:54:56]wFMCommunicate request_size=4 [18:54:56]MH_SAM_APDU [18:54:56]CAPDU: 80 09 00 00 [18:54:56]Write to MH i2c: E2 08 00 DC 01 80 09 00 00 00 00 00 00 4F [18:54:56]Write i2c OK [18:54:56]MH_I2C_Read... [18:54:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:54:56]Read from MH i2c: E2 [18:54:56]MH_I2C_Read... [18:54:56]Read from MH i2c: E2 03 00 [18:54:56]MH_I2C_Read... [18:54:56]Read from MH i2c: E2 03 00 DC 01 00 90 00 51 [18:54:56]RAPDU: 90 00 [18:54:56]wFMCommunicate OK [18:54:56]SAM_PROTO_ClearQueue done [18:54:56]KKMCreateOFDPacket [18:54:56]OFDProtocolAddRootSTLVToBuf [18:54:56]FM_MakeSignedData [18:54:56]FM_MakeSignedData [18:54:56]SAM_PROTO_SignData [18:54:56]wFMCommunicate request_size=4 [18:54:56]MH_SAM_APDU [18:54:56]CAPDU: 80 0D 01 02 [18:54:56]Write to MH i2c: E2 08 00 DD 01 80 0D 01 02 00 00 00 00 57 [18:54:56]Write i2c OK [18:54:56]MH_I2C_Read... [18:54:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:54:56]Read from MH i2c: E2 [18:54:56]MH_I2C_Read... [18:54:56]Read from MH i2c: E2 03 00 [18:54:56]MH_I2C_Read... [18:54:56]Read from MH i2c: E2 03 00 DD 01 00 90 00 52 [18:54:56]RAPDU: 90 00 [18:54:56]wFMCommunicate OK [18:54:56]wFMCommunicate request_size=255 [18:54:56]MH_SAM_APDU [18:54:56]CAPDU: 80 0D 02 02 FA 03 00 31 01 1E 04 01 00 01 23 04 83 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 31 32 30 31 06 04 3F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 B5 D0 BD D1 8B D0 B5 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 D0 92 D0 B5 D0 BB D0 B8 D0 BA D0 B0 D0 BD 20 31 30 30 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 FF 60 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 [18:54:56]Write to MH i2c: E2 02 01 DE 01 80 0D 02 02 FA 00 03 00 31 01 1E 04 01 00 01 23 04 83 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 31 32 30 31 06 04 3F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 B5 D0 BD D1 8B D0 B5 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 D0 92 D0 B5 D0 BB D0 B8 D0 BA D0 B0 D0 BD 20 31 30 30 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 FF 60 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 00 00 57 [18:54:56]Write i2c OK [18:54:56]MH_I2C_Read... [18:54:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:54:56]Read from MH i2c: E2 [18:54:56]MH_I2C_Read... [18:54:56]Read from MH i2c: E2 03 00 [18:54:56]MH_I2C_Read... [18:54:56]Read from MH i2c: E2 03 00 DE 01 00 90 00 53 [18:54:56]RAPDU: 90 00 [18:54:56]wFMCommunicate OK [18:54:56]wFMCommunicate request_size=64 [18:54:56]MH_SAM_APDU [18:54:56]CAPDU: 80 0D 02 02 3B 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 58 31 00 00 35 04 06 00 A3 35 7A F2 DA 67 [18:54:56]Write to MH i2c: E2 43 00 DF 01 80 0D 02 02 3B 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 58 31 00 00 35 04 06 00 A3 35 7A F2 DA 67 00 00 B7 [18:54:56]Write i2c OK [18:54:56]MH_I2C_Read... [18:54:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:54:56]Read from MH i2c: E2 [18:54:56]MH_I2C_Read... [18:54:56]Read from MH i2c: E2 03 00 [18:54:56]MH_I2C_Read... [18:54:56]Read from MH i2c: E2 03 00 DF 01 00 90 00 54 [18:54:56]RAPDU: 90 00 [18:54:56]wFMCommunicate OK [18:54:56]wFMCommunicate request_size=4 [18:54:56]MH_SAM_APDU [18:54:56]CAPDU: 80 0D 03 02 [18:54:56]Write to MH i2c: E2 08 00 E0 01 80 0D 03 02 00 00 00 00 5C [18:54:56]Write i2c OK [18:54:56]MH_I2C_Read... [18:54:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:54:56]Read from MH i2c: E2 [18:54:56]MH_I2C_Read... [18:54:56]Read from MH i2c: E2 0B 00 [18:54:56]MH_I2C_Read... [18:54:56]Read from MH i2c: E2 0B 00 E0 01 00 25 01 14 77 F7 0E C2 BC 90 00 91 [18:54:56]RAPDU: 25 01 14 77 F7 0E C2 BC 90 00 [18:54:56]wFMCommunicate OK [18:54:56]SAM_PROTO_SignData done [18:54:56]FM_MakeSignedData done [18:54:56]CreateOFDProtocolMessage [18:54:56]wFMCommunicate request_size=4 [18:54:56]MH_SAM_APDU [18:54:56]CAPDU: 80 11 00 00 [18:54:56]Write to MH i2c: E2 08 00 E1 01 80 11 00 00 00 00 00 00 5C [18:54:56]Write i2c OK [18:54:56]MH_I2C_Read... [18:54:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:54:56]Read from MH i2c: E2 [18:54:56]MH_I2C_Read... [18:54:56]Read from MH i2c: E2 17 00 [18:54:56]MH_I2C_Read... [18:54:56]Read from MH i2c: E2 17 00 E1 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 B6 [18:54:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [18:54:56]wFMCommunicate OK [18:54:56]CreateOFDProtocolMessage done [18:54:56]OFDSenderStorePacket 12632 [18:54:56]StoreOFDPacket docnum=12632 [18:54:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 45 01 00 00 7C FB 3D 01 0C 8D 5A 03 01 00 03 00 31 01 1E 04 01 00 01 23 04 83 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 31 32 30 31 06 04 3F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 B5 D0 BD D1 8B D0 B5 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 D0 92 D0 B5 D0 BB D0 B8 D0 BA D0 B0 D0 BD 20 31 30 30 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 FF 60 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 58 31 00 00 35 04 06 00 A3 35 7A F2 DA 67 25 01 14 77 F7 0E C2 BC [18:54:56]CheckFolder [18:54:56]dirname=/storage/ofd_packets [18:54:56]CheckFolder done [18:54:56]ProducePacketName [18:54:56]name=ofd_packets/00012632 [18:54:56]NVStorageSaveData ofd_packets/00012632 [18:54:56]File name is /storage/ofd_packets/00012632 [18:54:56]Write 355 bytes [18:54:56]NVStorageSaveData done [18:54:56]OFDSenderStorePacket done [18:54:56]KKMCreateOFDPacket done [18:54:56]NVStorageSaveData kkm_last_timestamp [18:54:56]File name is /storage/kkm_last_timestamp [18:54:56]Write 4 bytes [18:54:56]NVStorageSaveData done [18:54:56]ExternCall_PrintAddStr [18:54:56]wPrintStart [18:54:56]Write to MH i2c: 01 00 00 E2 01 E3 [18:54:56]Write i2c OK [18:54:56]MH_I2C_Read... [18:54:56]Read from MH i2c: 01 [18:54:56]MH_I2C_Read... [18:54:56]Read from MH i2c: 01 07 00 [18:54:56]MH_I2C_Read... [18:54:56]Read from MH i2c: 01 07 00 E2 01 00 00 00 00 00 FF 0F F8 [18:54:56]RasterBufferAndPrint [18:54:56]line Счет N : (3)32904 [18:54:56]line ИНН: 02508201610067 [18:54:56]line Контрольно-Кассовый Чек [18:54:56]line ПРОДАЖА [18:54:56]line Товар: 4630007401201 [18:54:56]line Семечки соленые ДЖИНН Великан 100гр [18:54:56]line 1.000 * 120.00 [18:54:56]line = 120.00 [18:54:56]line НДС 12% НСП 1% [18:54:56]line > о реализуемом товаре [18:54:56]line ИТОГО: 120.00 [18:54:56]line НСП 1% : 1.06 [18:54:56]line НДС 12% : 12.74 [18:54:56]line Наличными: 120.00 [18:54:56]line Безнал.: 0.00 [18:54:56]line Место: АЗС № 106 "Партнер Нефть" [18:54:56]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [18:54:56]line СНО: Общий режим [18:54:56]line Чек 44 21.04.2024 18:54 [18:54:56]line Смена: 281 ФФД: 1.0 [18:54:56]line ЗНМ: 0300000004 [18:54:56]line РНМ: 0000000000100748 [18:54:56]line Версия ККМ: 001 [18:54:56]line ФМ: 0000000000965685 [18:54:56]line ФД: 12632 [18:54:56]line ФПД: 179450091330151 [18:54:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T185455&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12632&fm=179450091330151&tin=02508201610067®Number=0000000000100748&sum=12000 [18:54:57]line 0 [18:54:57]OFD Sender: Processing packet 12632 [packets to send 7, broken 6] [18:54:57]ProducePacketName [18:54:57]name=ofd_packets/00012632 [18:54:57]OFD Sender: To server: pG, [18:54:57]CommunicateWithHost lk.salyk.kg:30040 [18:54:57]ConnectInit lk.salyk.kg [18:54:57]written 0, free lines is 4095 [18:54:57]Connected sock=11 [18:54:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 45 01 00 00 7C FB 3D 01 0C 8D 5A 03 01 00 03 00 31 01 1E 04 01 00 01 23 04 83 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 31 32 30 31 06 04 3F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 B5 D0 BD D1 8B D0 B5 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 D0 92 D0 B5 D0 BB D0 B8 D0 BA D0 B0 D0 BD 20 31 30 30 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 FF 60 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 58 31 00 00 35 04 06 00 A3 35 7A F2 DA 67 25 01 14 77 F7 0E C2 BC [18:54:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 34 06 47 00 46 F7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 58 31 00 00 F4 03 04 00 80 09 25 66 B6 04 01 00 00 FB 77 27 C8 17 51 5C F5 [18:54:57]CommunicateWithHost err = 0 [18:54:57]CheckOFDResponse [18:54:57]1017 (14) - 77093643461234 [18:54:57]1041 (16) - 0000000000965685 [18:54:57]1040 (4) - 12632 [18:54:57]1012 (4) - 21.04.2024 12:41 [18:54:57]1206 (1) - 0 [18:54:57]OFD Sender: Remove packet 12632 [18:54:57]ProducePacketName [18:54:57]name=ofd_packets/00012632 [18:54:57]NVStorageDeleteData [18:54:57]Write to MH i2c: 01 00 00 0A 02 0C [18:54:57]Write i2c OK [18:54:57]MH_I2C_Read... [18:54:57]Read from MH i2c: 01 [18:54:57]MH_I2C_Read... [18:54:57]Read from MH i2c: 01 07 00 [18:54:57]MH_I2C_Read... [18:54:57]Read from MH i2c: 01 07 00 0A 02 00 00 00 00 00 E9 0C 08 [18:54:57]RasterBufferAndPrint [18:54:57]line [18:54:57]line [18:54:57]line [18:54:57]line [18:54:57]line [18:54:57]written 0, free lines is 3311 [18:54:57]MH_Cut [18:54:57]Write to MH i2c: D1 01 00 11 02 01 E5 [18:54:57]Write i2c OK [18:54:57]MH_I2C_Read... [18:54:57]Read from MH i2c: D1 [18:54:57]MH_I2C_Read... [18:54:57]Read from MH i2c: D1 01 00 [18:54:57]MH_I2C_Read... [18:54:57]Read from MH i2c: D1 01 00 11 02 00 E4 [18:54:57]Write to MH i2c: 01 00 00 12 02 14 [18:54:57]Write i2c OK [18:54:57]MH_I2C_Read... [18:54:57]OFD Sender: No OFD packet to send [18:54:58]*** Cut start [18:54:58]*** Partial cut [18:54:58]*** CUTSNS_PIN = 1 [18:54:58]*** CUTSNS_PIN = 0 [18:54:58]*** Brake cut motor [18:54:58]Read from MH i2c: 01 [18:54:58]MH_I2C_Read... [18:54:58]*** Stop cut motor [18:54:58]*** Cut end [18:54:58]Read from MH i2c: 01 07 00 [18:54:58]MH_I2C_Read... [18:54:58]Read from MH i2c: 01 07 00 12 02 00 00 00 00 00 FF 0F 29 [18:54:58]process_action close_receipt done [18:54:58]requested_data is exist [18:54:58]produce_requested_data [18:54:58]requested_item fm.sn is exist - process it [18:54:58]wFMCommunicate request_size=4 [18:54:58]MH_SAM_APDU [18:54:58]CAPDU: 80 11 00 00 [18:54:58]Write to MH i2c: E2 08 00 13 02 80 11 00 00 00 00 00 00 8F [18:54:58]Write i2c OK [18:54:58]MH_I2C_Read... [18:54:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:54:58]Read from MH i2c: E2 [18:54:58]MH_I2C_Read... [18:54:58]Read from MH i2c: E2 17 00 [18:54:58]MH_I2C_Read... [18:54:58]Read from MH i2c: E2 17 00 13 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 E9 [18:54:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [18:54:58]wFMCommunicate OK [18:54:58]requested_item fd.num is exist - process it [18:54:58]SAM_PROTO_GetFieldsCounters [18:54:58]wFMCommunicate request_size=4 [18:54:58]MH_SAM_APDU [18:54:58]CAPDU: 80 13 00 00 [18:54:58]Write to MH i2c: E2 08 00 14 02 80 13 00 00 00 00 00 00 92 [18:54:58]Write i2c OK [18:54:58]MH_I2C_Read... [18:54:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:54:59]Read from MH i2c: E2 [18:54:59]MH_I2C_Read... [18:54:59]Read from MH i2c: E2 62 00 [18:54:59]MH_I2C_Read... [18:54:59]Read from MH i2c: E2 62 00 14 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 58 31 00 00 0E 04 04 00 19 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 DC [18:54:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 58 31 00 00 0E 04 04 00 19 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 [18:54:59]wFMCommunicate OK [18:54:59]SAM_PROTO_GetFieldsCounters done [18:54:59]requested_item shift.num is exist - process it [18:54:59]requested_item shift.opened is exist - process it [18:54:59]req_shift_opened [18:54:59]FM_GetShiftState [18:54:59]SAM_PROTO_GetShiftState [18:54:59]wFMCommunicate request_size=4 [18:54:59]MH_SAM_APDU [18:54:59]CAPDU: 80 13 01 00 [18:54:59]Write to MH i2c: E2 08 00 15 02 80 13 01 00 00 00 00 00 94 [18:54:59]Write i2c OK [18:54:59]MH_I2C_Read... [18:54:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:54:59]Read from MH i2c: E2 [18:54:59]MH_I2C_Read... [18:54:59]Read from MH i2c: E2 0E 00 [18:54:59]MH_I2C_Read... [18:54:59]Read from MH i2c: E2 0E 00 15 02 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 EC [18:54:59]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [18:54:59]wFMCommunicate OK [18:54:59]SAM_PROTO_GetShiftState done [18:54:59]FM_GetShiftState done [18:54:59]req_shift_opened done [18:54:59]requested_item shift.open_date is exist - process it [18:54:59]req_shift_open_date [18:54:59]req_shift_open_date done [18:54:59]produce_requested_data done [18:54:59]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12632,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [18:54:59]process_action_free close_receipt [18:54:59]json_value_free [18:54:59]json_value_free done [18:54:59]process_json_proto returns [18:54:59]Send response to host [18:54:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12632,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [18:54:59]free response buf [18:54:59]execute_script done [18:54:59]execute_script returns [18:54:59]free content buf [18:54:59]Sock 7.Close socket [18:54:59]Sock 7.Thread stoped [18:55:02]OFD Sender: No OFD packet to send [18:55:07]OFD Sender: No OFD packet to send [18:55:12]OFD Sender: No OFD packet to send [18:55:17]OFD Sender: No OFD packet to send [18:55:22]OFD Sender: No OFD packet to send [18:55:27]OFD Sender: No OFD packet to send [18:55:32]OFD Sender: No OFD packet to send [18:55:37]OFD Sender: No OFD packet to send [18:55:42]OFD Sender: No OFD packet to send [18:55:47]OFD Sender: No OFD packet to send [18:55:52]OFD Sender: No OFD packet to send [18:55:57]OFD Sender: No OFD packet to send [18:56:02]OFD Sender: No OFD packet to send [18:56:07]OFD Sender: No OFD packet to send [18:56:12]OFD Sender: No OFD packet to send [18:56:17]OFD Sender: No OFD packet to send [18:56:23]OFD Sender: No OFD packet to send [18:56:28]OFD Sender: No OFD packet to send [18:56:33]OFD Sender: No OFD packet to send [18:56:38]OFD Sender: No OFD packet to send [18:56:43]OFD Sender: No OFD packet to send [18:56:48]OFD Sender: No OFD packet to send [18:56:53]OFD Sender: No OFD packet to send [18:56:58]OFD Sender: No OFD packet to send [18:57:03]OFD Sender: No OFD packet to send [18:57:08]OFD Sender: No OFD packet to send [18:57:13]OFD Sender: No OFD packet to send [18:57:18]OFD Sender: No OFD packet to send [18:57:23]OFD Sender: No OFD packet to send [18:57:28]OFD Sender: No OFD packet to send [18:57:33]OFD Sender: No OFD packet to send [18:57:38]OFD Sender: No OFD packet to send [18:57:43]OFD Sender: No OFD packet to send [18:57:48]OFD Sender: No OFD packet to send [18:57:53]OFD Sender: No OFD packet to send [18:57:58]OFD Sender: No OFD packet to send [18:58:03]OFD Sender: No OFD packet to send [18:58:08]OFD Sender: No OFD packet to send [18:58:13]OFD Sender: No OFD packet to send [18:58:18]OFD Sender: No OFD packet to send [18:58:23]OFD Sender: No OFD packet to send [18:58:28]OFD Sender: No OFD packet to send [18:58:33]OFD Sender: No OFD packet to send [18:58:38]OFD Sender: No OFD packet to send [18:58:43]OFD Sender: No OFD packet to send [18:58:48]OFD Sender: No OFD packet to send [18:58:53]OFD Sender: No OFD packet to send [18:58:58]OFD Sender: No OFD packet to send [18:59:03]OFD Sender: No OFD packet to send [18:59:08]OFD Sender: No OFD packet to send [18:59:13]OFD Sender: No OFD packet to send [18:59:18]OFD Sender: No OFD packet to send [18:59:23]OFD Sender: No OFD packet to send [18:59:28]OFD Sender: No OFD packet to send [18:59:33]OFD Sender: No OFD packet to send [18:59:38]OFD Sender: No OFD packet to send [18:59:43]OFD Sender: No OFD packet to send [18:59:48]OFD Sender: No OFD packet to send [18:59:53]OFD Sender: No OFD packet to send [18:59:58]OFD Sender: No OFD packet to send [19:00:03]OFD Sender: No OFD packet to send [19:00:08]OFD Sender: No OFD packet to send [19:00:13]OFD Sender: No OFD packet to send [19:00:18]OFD Sender: No OFD packet to send [19:00:23]OFD Sender: No OFD packet to send [19:00:28]OFD Sender: No OFD packet to send [19:00:33]OFD Sender: No OFD packet to send [19:00:38]OFD Sender: No OFD packet to send [19:00:43]OFD Sender: No OFD packet to send [19:00:48]OFD Sender: No OFD packet to send [19:00:53]OFD Sender: No OFD packet to send [19:00:58]OFD Sender: No OFD packet to send [19:01:03]OFD Sender: No OFD packet to send [19:01:08]OFD Sender: No OFD packet to send [19:01:13]OFD Sender: No OFD packet to send [19:01:18]OFD Sender: No OFD packet to send [19:01:23]OFD Sender: No OFD packet to send [19:01:28]OFD Sender: No OFD packet to send [19:01:33]OFD Sender: No OFD packet to send [19:01:38]OFD Sender: No OFD packet to send [19:01:43]OFD Sender: No OFD packet to send [19:01:48]OFD Sender: No OFD packet to send [19:01:53]OFD Sender: No OFD packet to send [19:01:58]OFD Sender: No OFD packet to send [19:02:03]OFD Sender: No OFD packet to send [19:02:08]OFD Sender: No OFD packet to send [19:02:13]OFD Sender: No OFD packet to send [19:02:18]OFD Sender: No OFD packet to send [19:02:23]OFD Sender: No OFD packet to send [19:02:28]OFD Sender: No OFD packet to send [19:02:33]OFD Sender: No OFD packet to send [19:02:38]OFD Sender: No OFD packet to send [19:02:43]OFD Sender: No OFD packet to send [19:02:48]OFD Sender: No OFD packet to send [19:02:53]OFD Sender: No OFD packet to send [19:02:58]OFD Sender: No OFD packet to send [19:03:03]OFD Sender: No OFD packet to send [19:03:08]OFD Sender: No OFD packet to send [19:03:13]OFD Sender: No OFD packet to send [19:03:18]OFD Sender: No OFD packet to send [19:03:23]OFD Sender: No OFD packet to send [19:03:28]OFD Sender: No OFD packet to send [19:03:33]OFD Sender: No OFD packet to send [19:03:38]OFD Sender: No OFD packet to send [19:03:43]OFD Sender: No OFD packet to send [19:03:48]OFD Sender: No OFD packet to send [19:03:53]OFD Sender: No OFD packet to send [19:03:58]OFD Sender: No OFD packet to send [19:04:03]OFD Sender: No OFD packet to send [19:04:08]OFD Sender: No OFD packet to send [19:04:13]OFD Sender: No OFD packet to send [19:04:18]OFD Sender: No OFD packet to send [19:04:23]OFD Sender: No OFD packet to send [19:04:28]OFD Sender: No OFD packet to send [19:04:33]OFD Sender: No OFD packet to send [19:04:38]OFD Sender: No OFD packet to send [19:04:43]OFD Sender: No OFD packet to send [19:04:48]OFD Sender: No OFD packet to send [19:04:53]OFD Sender: No OFD packet to send [19:04:58]OFD Sender: No OFD packet to send [19:05:03]OFD Sender: No OFD packet to send [19:05:08]OFD Sender: No OFD packet to send [19:05:13]OFD Sender: No OFD packet to send [19:05:18]OFD Sender: No OFD packet to send [19:05:23]OFD Sender: No OFD packet to send [19:05:28]OFD Sender: No OFD packet to send [19:05:33]OFD Sender: No OFD packet to send [19:05:38]OFD Sender: No OFD packet to send [19:05:43]OFD Sender: No OFD packet to send [19:05:48]OFD Sender: No OFD packet to send [19:05:53]OFD Sender: No OFD packet to send [19:05:58]OFD Sender: No OFD packet to send [19:06:03]OFD Sender: No OFD packet to send [19:06:08]OFD Sender: No OFD packet to send [19:06:13]OFD Sender: No OFD packet to send [19:06:18]OFD Sender: No OFD packet to send [19:06:23]OFD Sender: No OFD packet to send [19:06:28]OFD Sender: No OFD packet to send [19:06:33]OFD Sender: No OFD packet to send [19:06:38]OFD Sender: No OFD packet to send [19:06:43]OFD Sender: No OFD packet to send [19:06:48]OFD Sender: No OFD packet to send [19:06:53]OFD Sender: No OFD packet to send [19:06:58]OFD Sender: No OFD packet to send [19:07:03]OFD Sender: No OFD packet to send [19:07:08]OFD Sender: No OFD packet to send [19:07:13]OFD Sender: No OFD packet to send [19:07:18]OFD Sender: No OFD packet to send [19:07:23]OFD Sender: No OFD packet to send [19:07:28]OFD Sender: No OFD packet to send [19:07:33]OFD Sender: No OFD packet to send [19:07:38]OFD Sender: No OFD packet to send [19:07:43]OFD Sender: No OFD packet to send [19:07:48]OFD Sender: No OFD packet to send [19:07:53]OFD Sender: No OFD packet to send [19:07:58]OFD Sender: No OFD packet to send [19:08:03]OFD Sender: No OFD packet to send [19:08:08]OFD Sender: No OFD packet to send [19:08:13]OFD Sender: No OFD packet to send [19:08:18]OFD Sender: No OFD packet to send [19:08:23]OFD Sender: No OFD packet to send [19:08:28]OFD Sender: No OFD packet to send [19:08:33]OFD Sender: No OFD packet to send [19:08:38]OFD Sender: No OFD packet to send [19:08:43]OFD Sender: No OFD packet to send [19:08:48]OFD Sender: No OFD packet to send [19:08:53]OFD Sender: No OFD packet to send [19:08:58]OFD Sender: No OFD packet to send [19:09:03]OFD Sender: No OFD packet to send [19:09:08]OFD Sender: No OFD packet to send [19:09:13]OFD Sender: No OFD packet to send [19:09:18]OFD Sender: No OFD packet to send [19:09:23]OFD Sender: No OFD packet to send [19:09:28]OFD Sender: No OFD packet to send [19:09:33]OFD Sender: No OFD packet to send [19:09:38]OFD Sender: No OFD packet to send [19:09:43]OFD Sender: No OFD packet to send [19:09:48]OFD Sender: No OFD packet to send [19:09:53]OFD Sender: No OFD packet to send [19:09:58]OFD Sender: No OFD packet to send [19:10:03]OFD Sender: No OFD packet to send [19:10:08]OFD Sender: No OFD packet to send [19:10:13]OFD Sender: No OFD packet to send [19:10:18]OFD Sender: No OFD packet to send [19:10:23]OFD Sender: No OFD packet to send [19:10:28]OFD Sender: No OFD packet to send [19:10:33]OFD Sender: No OFD packet to send [19:10:38]OFD Sender: No OFD packet to send [19:10:43]OFD Sender: No OFD packet to send [19:10:48]OFD Sender: No OFD packet to send [19:10:53]OFD Sender: No OFD packet to send [19:10:58]OFD Sender: No OFD packet to send [19:11:03]OFD Sender: No OFD packet to send [19:11:08]OFD Sender: No OFD packet to send [19:11:08]accept exits with 9 [19:11:08]New connection [19:11:08]New thread 3066813796 created [19:11:08] Sock 9.Parse request [19:11:08]Thread 3066957156 joined [19:11:08]Sock 9.Check first char [19:11:08]Waiting for new connection... [19:11:08]Sock 9.First char is OK [19:11:08]request: POST /json_proto HTTP/1.0 [19:11:08]Method: POST [19:11:08]URL: /json_proto [19:11:08]Method is POST - this is cgi request [19:11:08]url: /json_proto [19:11:08]query_string will be loaded in cgi processing [19:11:08]execute_cgi json_proto POST (null) [19:11:08]execute_cgi path=json_proto method=POST [19:11:08]POST find Content-Length [19:11:08]Host: 172.17.62.6:8080 [19:11:08]Content-Length: 604 [19:11:08]Content-Type: application/json [19:11:08] [19:11:08]POST finish read [19:11:08]Found Content-Length = 604 [19:11:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32906", "tax_sys" : 0, "items" : [ { "code": "42113270", "name": "\u0416\u0435\u0432 Orbit \u0430\u0440\u0431\u0443\u0437", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 35.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:11:08]execute_script... [19:11:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32906", "tax_sys" : 0, "items" : [ { "code": "42113270", "name": "\u0416\u0435\u0432 Orbit \u0430\u0440\u0431\u0443\u0437", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 35.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:11:08]POST & json_proto [19:11:08]process_json_proto [19:11:08]json parsed OK: [19:11:08]protocol is kg_v1.0 [19:11:08]action value=close_receipt [19:11:08]process_action close_receipt [19:11:08]cmd_close_receipt [19:11:08]MH_GetDate [19:11:08]Write to MH i2c: F0 00 00 16 02 07 [19:11:08]Write i2c OK [19:11:08]MH_I2C_Read... [19:11:08]Read from MH i2c: F0 [19:11:08]MH_I2C_Read... [19:11:08]Read from MH i2c: F0 09 00 [19:11:08]MH_I2C_Read... [19:11:08]Read from MH i2c: F0 09 00 16 02 00 CD 64 25 66 61 69 D2 64 CC [19:11:08]GetLastDocTimeStamp 1713725695 [19:11:08]current date 1713726669 [19:11:08]FM_GetShiftState [19:11:08]SAM_PROTO_GetShiftState [19:11:08]wFMCommunicate request_size=4 [19:11:08]MH_SAM_APDU [19:11:08]CAPDU: 80 13 01 00 [19:11:08]Write to MH i2c: E2 08 00 17 02 80 13 01 00 00 00 00 00 96 [19:11:08]Write i2c OK [19:11:08]MH_I2C_Read... [19:11:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:11:08]Read from MH i2c: E2 [19:11:08]MH_I2C_Read... [19:11:08]Read from MH i2c: E2 0E 00 [19:11:08]MH_I2C_Read... [19:11:08]Read from MH i2c: E2 0E 00 17 02 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 EE [19:11:08]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [19:11:08]wFMCommunicate OK [19:11:08]SAM_PROTO_GetShiftState done [19:11:08]FM_GetShiftState done [19:11:08]opened in 1713658727 [19:11:08]opened+sec_in_day 1713745127 [19:11:08]quantity*price = 3500 [19:11:08]sum+1 = 3501 [19:11:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 35.00 НСП 1% : 0.31 НДС 12% : 3.72 Наличными: 35.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 45 21.04.2024 19:11 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12633 ФПД: 204908394973302 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T191109&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12633&fm=204908394973302&tin=02508201610067®Number=0000000000100748&sum=3500 0 [19:11:10]StoreToDocumentArchive [19:11:10]shift 281 fd 12633 [19:11:10]save to /storage/0281/doc_00012633 [19:11:10]save last doc name /storage/0281/doc_00012633 to /storage/kkm_last_doc_name [19:11:10]save OK [19:11:10]Clear old archive folders... [19:11:10]ProcessDocumentItem done err = 0, tmpTLVsize=260 [19:11:10]tlvbuf is 016DBC50 [19:11:10]SAM_PROTO_ClearQueue [19:11:10]wFMCommunicate request_size=4 [19:11:10]MH_SAM_APDU [19:11:10]CAPDU: 80 09 00 00 [19:11:10]Write to MH i2c: E2 08 00 24 02 80 09 00 00 00 00 00 00 98 [19:11:10]Write i2c OK [19:11:10]MH_I2C_Read... [19:11:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:11:10]Read from MH i2c: E2 [19:11:10]MH_I2C_Read... [19:11:10]Read from MH i2c: E2 03 00 [19:11:10]MH_I2C_Read... [19:11:10]Read from MH i2c: E2 03 00 24 02 00 90 00 9A [19:11:10]RAPDU: 90 00 [19:11:10]wFMCommunicate OK [19:11:10]SAM_PROTO_ClearQueue done [19:11:10]KKMCreateOFDPacket [19:11:10]OFDProtocolAddRootSTLVToBuf [19:11:10]FM_MakeSignedData [19:11:10]FM_MakeSignedData [19:11:10]SAM_PROTO_SignData [19:11:10]wFMCommunicate request_size=4 [19:11:10]MH_SAM_APDU [19:11:10]CAPDU: 80 0D 01 02 [19:11:10]Write to MH i2c: E2 08 00 25 02 80 0D 01 02 00 00 00 00 A0 [19:11:10]Write i2c OK [19:11:10]MH_I2C_Read... [19:11:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:11:10]Read from MH i2c: E2 [19:11:10]MH_I2C_Read... [19:11:10]Read from MH i2c: E2 03 00 [19:11:10]MH_I2C_Read... [19:11:10]Read from MH i2c: E2 03 00 25 02 00 90 00 9B [19:11:10]RAPDU: 90 00 [19:11:10]wFMCommunicate OK [19:11:10]wFMCommunicate request_size=255 [19:11:10]MH_SAM_APDU [19:11:10]CAPDU: 80 0D 02 02 FA 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 0D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 CD 64 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 [19:11:10]Write to MH i2c: E2 02 01 26 02 80 0D 02 02 FA 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 0D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 CD 64 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 00 00 EF [19:11:10]Write i2c OK [19:11:10]MH_I2C_Read... [19:11:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:11:10]Read from MH i2c: E2 [19:11:10]MH_I2C_Read... [19:11:10]Read from MH i2c: E2 03 00 [19:11:10]MH_I2C_Read... [19:11:10]Read from MH i2c: E2 03 00 26 02 00 90 00 9C [19:11:10]RAPDU: 90 00 [19:11:10]wFMCommunicate OK [19:11:10]wFMCommunicate request_size=19 [19:11:10]MH_SAM_APDU [19:11:10]CAPDU: 80 0D 02 02 0E 59 31 00 00 35 04 06 00 BA 5C F4 18 08 76 [19:11:10]Write to MH i2c: E2 16 00 27 02 80 0D 02 02 0E 00 59 31 00 00 35 04 06 00 BA 5C F4 18 08 76 00 00 28 [19:11:10]Write i2c OK [19:11:10]MH_I2C_Read... [19:11:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:11:10]Read from MH i2c: E2 [19:11:10]MH_I2C_Read... [19:11:10]Read from MH i2c: E2 03 00 [19:11:10]MH_I2C_Read... [19:11:10]Read from MH i2c: E2 03 00 27 02 00 90 00 9D [19:11:10]RAPDU: 90 00 [19:11:10]wFMCommunicate OK [19:11:10]wFMCommunicate request_size=4 [19:11:10]MH_SAM_APDU [19:11:10]CAPDU: 80 0D 03 02 [19:11:10]Write to MH i2c: E2 08 00 28 02 80 0D 03 02 00 00 00 00 A5 [19:11:10]Write i2c OK [19:11:10]MH_I2C_Read... [19:11:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:11:10]Read from MH i2c: E2 [19:11:10]MH_I2C_Read... [19:11:10]Read from MH i2c: E2 0B 00 [19:11:10]MH_I2C_Read... [19:11:10]Read from MH i2c: E2 0B 00 28 02 00 71 71 5B B5 AF 1F F0 BA 90 00 10 [19:11:10]RAPDU: 71 71 5B B5 AF 1F F0 BA 90 00 [19:11:10]wFMCommunicate OK [19:11:10]SAM_PROTO_SignData done [19:11:10]FM_MakeSignedData done [19:11:10]CreateOFDProtocolMessage [19:11:10]wFMCommunicate request_size=4 [19:11:10]MH_SAM_APDU [19:11:10]CAPDU: 80 11 00 00 [19:11:10]Write to MH i2c: E2 08 00 29 02 80 11 00 00 00 00 00 00 A5 [19:11:10]Write i2c OK [19:11:10]MH_I2C_Read... [19:11:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:11:10]Read from MH i2c: E2 [19:11:10]MH_I2C_Read... [19:11:10]Read from MH i2c: E2 17 00 [19:11:10]MH_I2C_Read... [19:11:10]Read from MH i2c: E2 17 00 29 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 FF [19:11:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [19:11:10]wFMCommunicate OK [19:11:10]CreateOFDProtocolMessage done [19:11:10]OFDSenderStorePacket 12633 [19:11:10]StoreOFDPacket docnum=12633 [19:11:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 18 01 00 00 49 05 10 01 AD 6B 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 0D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 CD 64 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 59 31 00 00 35 04 06 00 BA 5C F4 18 08 76 71 71 5B B5 AF 1F F0 BA [19:11:10]CheckFolder [19:11:10]dirname=/storage/ofd_packets [19:11:10]CheckFolder done [19:11:10]ProducePacketName [19:11:10]name=ofd_packets/00012633 [19:11:10]NVStorageSaveData ofd_packets/00012633 [19:11:10]File name is /storage/ofd_packets/00012633 [19:11:10]Write 310 bytes [19:11:10]NVStorageSaveData done [19:11:10]OFDSenderStorePacket done [19:11:10]KKMCreateOFDPacket done [19:11:10]NVStorageSaveData kkm_last_timestamp [19:11:10]File name is /storage/kkm_last_timestamp [19:11:10]Write 4 bytes [19:11:10]NVStorageSaveData done [19:11:10]ExternCall_PrintAddStr [19:11:10]wPrintStart [19:11:10]Write to MH i2c: 01 00 00 2A 02 2C [19:11:10]Write i2c OK [19:11:10]MH_I2C_Read... [19:11:10]Read from MH i2c: 01 [19:11:10]MH_I2C_Read... [19:11:10]Read from MH i2c: 01 07 00 [19:11:10]MH_I2C_Read... [19:11:10]Read from MH i2c: 01 07 00 2A 02 00 00 00 00 00 FF 0F 41 [19:11:10]RasterBufferAndPrint [19:11:10]line Счет N : (3)32906 [19:11:10]line ИНН: 02508201610067 [19:11:10]line Контрольно-Кассовый Чек [19:11:10]line ПРОДАЖА [19:11:10]line Товар: 42113270 [19:11:10]line Жев Orbit арбуз [19:11:10]line 1.000 * 35.00 [19:11:10]line = 35.00 [19:11:10]line НДС 12% НСП 1% [19:11:10]line > о реализуемом товаре [19:11:10]line ИТОГО: 35.00 [19:11:10]line НСП 1% : 0.31 [19:11:10]line НДС 12% : 3.72 [19:11:10]line Наличными: 35.00 [19:11:10]line Безнал.: 0.00 [19:11:10]line Место: АЗС № 106 "Партнер Нефть" [19:11:10]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [19:11:10]line СНО: Общий режим [19:11:10]line Чек 45 21.04.2024 19:11 [19:11:10]line Смена: 281 ФФД: 1.0 [19:11:10]line ЗНМ: 0300000004 [19:11:10]line РНМ: 0000000000100748 [19:11:10]line Версия ККМ: 001 [19:11:10]line ФМ: 0000000000965685 [19:11:10]line ФД: 12633 [19:11:10]line ФПД: 204908394973302 [19:11:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T191109&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12633&fm=204908394973302&tin=02508201610067®Number=0000000000100748&sum=3500 [19:11:10]line 0 [19:11:10]OFD Sender: Processing packet 12633 [packets to send 7, broken 6] [19:11:10]ProducePacketName [19:11:10]name=ofd_packets/00012633 [19:11:10]OFD Sender: To server: pG, [19:11:10]CommunicateWithHost lk.salyk.kg:30040 [19:11:10]ConnectInit lk.salyk.kg [19:11:10]written 0, free lines is 4095 [19:11:11]Connected sock=10 [19:11:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 18 01 00 00 49 05 10 01 AD 6B 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 0D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 CD 64 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 59 31 00 00 35 04 06 00 BA 5C F4 18 08 76 71 71 5B B5 AF 1F F0 BA [19:11:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 33 2A 47 00 5B 75 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 59 31 00 00 F4 03 04 00 4E 0D 25 66 B6 04 01 00 00 B1 D3 2A E6 07 69 FF 8D [19:11:11]CommunicateWithHost err = 0 [19:11:11]CheckOFDResponse [19:11:11]1017 (14) - 77093643461234 [19:11:11]1041 (16) - 0000000000965685 [19:11:11]1040 (4) - 12633 [19:11:11]1012 (4) - 21.04.2024 12:57 [19:11:11]1206 (1) - 0 [19:11:11]OFD Sender: Remove packet 12633 [19:11:11]ProducePacketName [19:11:11]name=ofd_packets/00012633 [19:11:11]NVStorageDeleteData [19:11:11]Write to MH i2c: 01 00 00 51 02 53 [19:11:11]Write i2c OK [19:11:11]MH_I2C_Read... [19:11:11]Read from MH i2c: 01 [19:11:11]MH_I2C_Read... [19:11:11]Read from MH i2c: 01 07 00 [19:11:11]MH_I2C_Read... [19:11:11]Read from MH i2c: 01 07 00 51 02 00 00 00 00 00 1C 0D 83 [19:11:11]RasterBufferAndPrint [19:11:11]line [19:11:11]line [19:11:11]line [19:11:11]line [19:11:11]line [19:11:11]written 0, free lines is 3362 [19:11:11]MH_Cut [19:11:11]Write to MH i2c: D1 01 00 58 02 01 2C [19:11:11]Write i2c OK [19:11:11]MH_I2C_Read... [19:11:11]Read from MH i2c: D1 [19:11:11]MH_I2C_Read... [19:11:11]Read from MH i2c: D1 01 00 [19:11:11]MH_I2C_Read... [19:11:11]Read from MH i2c: D1 01 00 58 02 00 2B [19:11:11]Write to MH i2c: 01 00 00 59 02 5B [19:11:11]Write i2c OK [19:11:11]MH_I2C_Read... [19:11:11]OFD Sender: No OFD packet to send [19:11:12]*** Cut start [19:11:12]*** Partial cut [19:11:12]*** CUTSNS_PIN = 1 [19:11:12]*** CUTSNS_PIN = 0 [19:11:12]*** Brake cut motor [19:11:12]Read from MH i2c: 01 [19:11:12]MH_I2C_Read... [19:11:12]*** Stop cut motor [19:11:12]*** Cut end [19:11:12]Read from MH i2c: 01 07 00 [19:11:12]MH_I2C_Read... [19:11:12]Read from MH i2c: 01 07 00 59 02 00 00 00 00 00 FF 0F 70 [19:11:12]process_action close_receipt done [19:11:12]requested_data is exist [19:11:12]produce_requested_data [19:11:12]requested_item fm.sn is exist - process it [19:11:12]wFMCommunicate request_size=4 [19:11:12]MH_SAM_APDU [19:11:12]CAPDU: 80 11 00 00 [19:11:12]Write to MH i2c: E2 08 00 5A 02 80 11 00 00 00 00 00 00 D6 [19:11:12]Write i2c OK [19:11:12]MH_I2C_Read... [19:11:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:11:12]Read from MH i2c: E2 [19:11:12]MH_I2C_Read... [19:11:12]Read from MH i2c: E2 17 00 [19:11:12]MH_I2C_Read... [19:11:12]Read from MH i2c: E2 17 00 5A 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 30 [19:11:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [19:11:12]wFMCommunicate OK [19:11:12]requested_item fd.num is exist - process it [19:11:12]SAM_PROTO_GetFieldsCounters [19:11:12]wFMCommunicate request_size=4 [19:11:12]MH_SAM_APDU [19:11:12]CAPDU: 80 13 00 00 [19:11:12]Write to MH i2c: E2 08 00 5B 02 80 13 00 00 00 00 00 00 D9 [19:11:12]Write i2c OK [19:11:12]MH_I2C_Read... [19:11:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:11:12]Read from MH i2c: E2 [19:11:12]MH_I2C_Read... [19:11:12]Read from MH i2c: E2 62 00 [19:11:12]MH_I2C_Read... [19:11:12]Read from MH i2c: E2 62 00 5B 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 59 31 00 00 0E 04 04 00 19 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 27 [19:11:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 59 31 00 00 0E 04 04 00 19 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 [19:11:12]wFMCommunicate OK [19:11:12]SAM_PROTO_GetFieldsCounters done [19:11:12]requested_item shift.num is exist - process it [19:11:12]requested_item shift.opened is exist - process it [19:11:12]req_shift_opened [19:11:12]FM_GetShiftState [19:11:12]SAM_PROTO_GetShiftState [19:11:12]wFMCommunicate request_size=4 [19:11:12]MH_SAM_APDU [19:11:12]CAPDU: 80 13 01 00 [19:11:12]Write to MH i2c: E2 08 00 5C 02 80 13 01 00 00 00 00 00 DB [19:11:12]Write i2c OK [19:11:12]MH_I2C_Read... [19:11:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:11:13]Read from MH i2c: E2 [19:11:13]MH_I2C_Read... [19:11:13]Read from MH i2c: E2 0E 00 [19:11:13]MH_I2C_Read... [19:11:13]Read from MH i2c: E2 0E 00 5C 02 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 33 [19:11:13]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [19:11:13]wFMCommunicate OK [19:11:13]SAM_PROTO_GetShiftState done [19:11:13]FM_GetShiftState done [19:11:13]req_shift_opened done [19:11:13]requested_item shift.open_date is exist - process it [19:11:13]req_shift_open_date [19:11:13]req_shift_open_date done [19:11:13]produce_requested_data done [19:11:13]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12633,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [19:11:13]process_action_free close_receipt [19:11:13]json_value_free [19:11:13]json_value_free done [19:11:13]process_json_proto returns [19:11:13]Send response to host [19:11:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12633,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [19:11:13]free response buf [19:11:13]execute_script done [19:11:13]execute_script returns [19:11:13]free content buf [19:11:13]Sock 9.Close socket [19:11:13]Sock 9.Thread stoped [19:11:16]OFD Sender: No OFD packet to send [19:11:21]OFD Sender: No OFD packet to send [19:11:26]OFD Sender: No OFD packet to send [19:11:31]OFD Sender: No OFD packet to send [19:11:36]OFD Sender: No OFD packet to send [19:11:41]OFD Sender: No OFD packet to send [19:11:46]OFD Sender: No OFD packet to send [19:11:51]OFD Sender: No OFD packet to send [19:11:56]OFD Sender: No OFD packet to send [19:12:01]OFD Sender: No OFD packet to send [19:12:06]OFD Sender: No OFD packet to send [19:12:11]OFD Sender: No OFD packet to send [19:12:16]OFD Sender: No OFD packet to send [19:12:21]OFD Sender: No OFD packet to send [19:12:26]OFD Sender: No OFD packet to send [19:12:31]OFD Sender: No OFD packet to send [19:12:36]OFD Sender: No OFD packet to send [19:12:41]OFD Sender: No OFD packet to send [19:12:46]OFD Sender: No OFD packet to send [19:12:51]OFD Sender: No OFD packet to send [19:12:56]OFD Sender: No OFD packet to send [19:13:01]OFD Sender: No OFD packet to send [19:13:06]OFD Sender: No OFD packet to send [19:13:11]OFD Sender: No OFD packet to send [19:13:16]OFD Sender: No OFD packet to send [19:13:21]OFD Sender: No OFD packet to send [19:13:26]OFD Sender: No OFD packet to send [19:13:31]OFD Sender: No OFD packet to send [19:13:36]OFD Sender: No OFD packet to send [19:13:41]OFD Sender: No OFD packet to send [19:13:46]OFD Sender: No OFD packet to send [19:13:51]OFD Sender: No OFD packet to send [19:13:56]OFD Sender: No OFD packet to send [19:14:01]OFD Sender: No OFD packet to send [19:14:06]OFD Sender: No OFD packet to send [19:14:11]OFD Sender: No OFD packet to send [19:14:16]OFD Sender: No OFD packet to send [19:14:21]OFD Sender: No OFD packet to send [19:14:26]OFD Sender: No OFD packet to send [19:14:31]OFD Sender: No OFD packet to send [19:14:36]OFD Sender: No OFD packet to send [19:14:41]OFD Sender: No OFD packet to send [19:14:46]OFD Sender: No OFD packet to send [19:14:51]OFD Sender: No OFD packet to send [19:14:56]OFD Sender: No OFD packet to send [19:15:01]OFD Sender: No OFD packet to send [19:15:06]OFD Sender: No OFD packet to send [19:15:11]OFD Sender: No OFD packet to send [19:15:16]OFD Sender: No OFD packet to send [19:15:21]OFD Sender: No OFD packet to send [19:15:26]OFD Sender: No OFD packet to send [19:15:31]OFD Sender: No OFD packet to send [19:15:37]OFD Sender: No OFD packet to send [19:15:42]OFD Sender: No OFD packet to send [19:15:47]OFD Sender: No OFD packet to send [19:15:52]OFD Sender: No OFD packet to send [19:15:57]OFD Sender: No OFD packet to send [19:16:02]OFD Sender: No OFD packet to send [19:16:07]OFD Sender: No OFD packet to send [19:16:12]OFD Sender: No OFD packet to send [19:16:17]OFD Sender: No OFD packet to send [19:16:22]OFD Sender: No OFD packet to send [19:16:27]OFD Sender: No OFD packet to send [19:16:32]OFD Sender: No OFD packet to send [19:16:37]OFD Sender: No OFD packet to send [19:16:42]OFD Sender: No OFD packet to send [19:16:47]OFD Sender: No OFD packet to send [19:16:52]OFD Sender: No OFD packet to send [19:16:57]OFD Sender: No OFD packet to send [19:17:02]OFD Sender: No OFD packet to send [19:17:07]OFD Sender: No OFD packet to send [19:17:12]OFD Sender: No OFD packet to send [19:17:17]OFD Sender: No OFD packet to send [19:17:22]OFD Sender: No OFD packet to send [19:17:27]OFD Sender: No OFD packet to send [19:17:32]OFD Sender: No OFD packet to send [19:17:37]OFD Sender: No OFD packet to send [19:17:42]OFD Sender: No OFD packet to send [19:17:47]OFD Sender: No OFD packet to send [19:17:52]OFD Sender: No OFD packet to send [19:17:57]OFD Sender: No OFD packet to send [19:18:02]OFD Sender: No OFD packet to send [19:18:07]OFD Sender: No OFD packet to send [19:18:12]OFD Sender: No OFD packet to send [19:18:17]OFD Sender: No OFD packet to send [19:18:22]OFD Sender: No OFD packet to send [19:18:27]OFD Sender: No OFD packet to send [19:18:32]OFD Sender: No OFD packet to send [19:18:37]OFD Sender: No OFD packet to send [19:18:42]OFD Sender: No OFD packet to send [19:18:47]OFD Sender: No OFD packet to send [19:18:52]OFD Sender: No OFD packet to send [19:18:57]OFD Sender: No OFD packet to send [19:19:02]OFD Sender: No OFD packet to send [19:19:07]OFD Sender: No OFD packet to send [19:19:12]OFD Sender: No OFD packet to send [19:19:17]OFD Sender: No OFD packet to send [19:19:22]OFD Sender: No OFD packet to send [19:19:27]OFD Sender: No OFD packet to send [19:19:32]OFD Sender: No OFD packet to send [19:19:37]OFD Sender: No OFD packet to send [19:19:42]OFD Sender: No OFD packet to send [19:19:47]OFD Sender: No OFD packet to send [19:19:52]OFD Sender: No OFD packet to send [19:19:57]OFD Sender: No OFD packet to send [19:20:02]OFD Sender: No OFD packet to send [19:20:07]OFD Sender: No OFD packet to send [19:20:12]OFD Sender: No OFD packet to send [19:20:17]OFD Sender: No OFD packet to send [19:20:22]OFD Sender: No OFD packet to send [19:20:27]OFD Sender: No OFD packet to send [19:20:32]OFD Sender: No OFD packet to send [19:20:37]OFD Sender: No OFD packet to send [19:20:42]OFD Sender: No OFD packet to send [19:20:47]OFD Sender: No OFD packet to send [19:20:52]OFD Sender: No OFD packet to send [19:20:57]OFD Sender: No OFD packet to send [19:21:02]OFD Sender: No OFD packet to send [19:21:07]OFD Sender: No OFD packet to send [19:21:12]OFD Sender: No OFD packet to send [19:21:17]OFD Sender: No OFD packet to send [19:21:22]OFD Sender: No OFD packet to send [19:21:27]OFD Sender: No OFD packet to send [19:21:32]OFD Sender: No OFD packet to send [19:21:37]OFD Sender: No OFD packet to send [19:21:42]OFD Sender: No OFD packet to send [19:21:47]OFD Sender: No OFD packet to send [19:21:52]OFD Sender: No OFD packet to send [19:21:57]OFD Sender: No OFD packet to send [19:22:02]OFD Sender: No OFD packet to send [19:22:07]OFD Sender: No OFD packet to send [19:22:12]OFD Sender: No OFD packet to send [19:22:17]OFD Sender: No OFD packet to send [19:22:22]OFD Sender: No OFD packet to send [19:22:27]OFD Sender: No OFD packet to send [19:22:32]OFD Sender: No OFD packet to send [19:22:37]OFD Sender: No OFD packet to send [19:22:42]OFD Sender: No OFD packet to send [19:22:47]OFD Sender: No OFD packet to send [19:22:52]OFD Sender: No OFD packet to send [19:22:57]OFD Sender: No OFD packet to send [19:23:02]OFD Sender: No OFD packet to send [19:23:07]OFD Sender: No OFD packet to send [19:23:12]OFD Sender: No OFD packet to send [19:23:17]OFD Sender: No OFD packet to send [19:23:22]OFD Sender: No OFD packet to send [19:23:27]OFD Sender: No OFD packet to send [19:23:32]OFD Sender: No OFD packet to send [19:23:37]OFD Sender: No OFD packet to send [19:23:42]OFD Sender: No OFD packet to send [19:23:47]OFD Sender: No OFD packet to send [19:23:52]OFD Sender: No OFD packet to send [19:23:57]OFD Sender: No OFD packet to send [19:24:02]OFD Sender: No OFD packet to send [19:24:07]OFD Sender: No OFD packet to send [19:24:12]OFD Sender: No OFD packet to send [19:24:17]OFD Sender: No OFD packet to send [19:24:22]OFD Sender: No OFD packet to send [19:24:27]OFD Sender: No OFD packet to send [19:24:32]OFD Sender: No OFD packet to send [19:24:37]OFD Sender: No OFD packet to send [19:24:42]OFD Sender: No OFD packet to send [19:24:47]OFD Sender: No OFD packet to send [19:24:52]OFD Sender: No OFD packet to send [19:24:57]OFD Sender: No OFD packet to send [19:25:02]OFD Sender: No OFD packet to send [19:25:07]OFD Sender: No OFD packet to send [19:25:12]OFD Sender: No OFD packet to send [19:25:17]OFD Sender: No OFD packet to send [19:25:22]OFD Sender: No OFD packet to send [19:25:27]OFD Sender: No OFD packet to send [19:25:32]OFD Sender: No OFD packet to send [19:25:37]OFD Sender: No OFD packet to send [19:25:42]OFD Sender: No OFD packet to send [19:25:47]OFD Sender: No OFD packet to send [19:25:52]OFD Sender: No OFD packet to send [19:25:57]OFD Sender: No OFD packet to send [19:26:02]OFD Sender: No OFD packet to send [19:26:07]OFD Sender: No OFD packet to send [19:26:12]OFD Sender: No OFD packet to send [19:26:17]OFD Sender: No OFD packet to send [19:26:22]OFD Sender: No OFD packet to send [19:26:27]OFD Sender: No OFD packet to send [19:26:32]OFD Sender: No OFD packet to send [19:26:37]OFD Sender: No OFD packet to send [19:26:42]OFD Sender: No OFD packet to send [19:26:47]OFD Sender: No OFD packet to send [19:26:52]OFD Sender: No OFD packet to send [19:26:57]OFD Sender: No OFD packet to send [19:27:02]OFD Sender: No OFD packet to send [19:27:07]OFD Sender: No OFD packet to send [19:27:12]OFD Sender: No OFD packet to send [19:27:17]OFD Sender: No OFD packet to send [19:27:22]OFD Sender: No OFD packet to send [19:27:27]OFD Sender: No OFD packet to send [19:27:32]OFD Sender: No OFD packet to send [19:27:37]OFD Sender: No OFD packet to send [19:27:42]OFD Sender: No OFD packet to send [19:27:47]OFD Sender: No OFD packet to send [19:27:52]OFD Sender: No OFD packet to send [19:27:57]OFD Sender: No OFD packet to send [19:28:02]OFD Sender: No OFD packet to send [19:28:07]OFD Sender: No OFD packet to send [19:28:12]OFD Sender: No OFD packet to send [19:28:17]OFD Sender: No OFD packet to send [19:28:22]OFD Sender: No OFD packet to send [19:28:27]OFD Sender: No OFD packet to send [19:28:32]OFD Sender: No OFD packet to send [19:28:37]OFD Sender: No OFD packet to send [19:28:42]OFD Sender: No OFD packet to send [19:28:47]OFD Sender: No OFD packet to send [19:28:52]OFD Sender: No OFD packet to send [19:28:57]OFD Sender: No OFD packet to send [19:29:02]OFD Sender: No OFD packet to send [19:29:07]OFD Sender: No OFD packet to send [19:29:12]OFD Sender: No OFD packet to send [19:29:17]OFD Sender: No OFD packet to send [19:29:22]OFD Sender: No OFD packet to send [19:29:27]OFD Sender: No OFD packet to send [19:29:32]OFD Sender: No OFD packet to send [19:29:37]OFD Sender: No OFD packet to send [19:29:42]OFD Sender: No OFD packet to send [19:29:47]OFD Sender: No OFD packet to send [19:29:52]OFD Sender: No OFD packet to send [19:29:57]OFD Sender: No OFD packet to send [19:30:02]OFD Sender: No OFD packet to send [19:30:07]OFD Sender: No OFD packet to send [19:30:12]OFD Sender: No OFD packet to send [19:30:17]OFD Sender: No OFD packet to send [19:30:22]OFD Sender: No OFD packet to send [19:30:27]OFD Sender: No OFD packet to send [19:30:32]OFD Sender: No OFD packet to send [19:30:37]OFD Sender: No OFD packet to send [19:30:42]OFD Sender: No OFD packet to send [19:30:47]OFD Sender: No OFD packet to send [19:30:52]OFD Sender: No OFD packet to send [19:30:57]OFD Sender: No OFD packet to send [19:31:02]OFD Sender: No OFD packet to send [19:31:07]OFD Sender: No OFD packet to send [19:31:12]OFD Sender: No OFD packet to send [19:31:17]OFD Sender: No OFD packet to send [19:31:22]OFD Sender: No OFD packet to send [19:31:27]OFD Sender: No OFD packet to send [19:31:32]OFD Sender: No OFD packet to send [19:31:37]OFD Sender: No OFD packet to send [19:31:42]OFD Sender: No OFD packet to send [19:31:47]OFD Sender: No OFD packet to send [19:31:52]OFD Sender: No OFD packet to send [19:31:57]OFD Sender: No OFD packet to send [19:32:02]OFD Sender: No OFD packet to send [19:32:07]OFD Sender: No OFD packet to send [19:32:12]OFD Sender: No OFD packet to send [19:32:17]OFD Sender: No OFD packet to send [19:32:22]OFD Sender: No OFD packet to send [19:32:27]OFD Sender: No OFD packet to send [19:32:32]OFD Sender: No OFD packet to send [19:32:37]OFD Sender: No OFD packet to send [19:32:42]OFD Sender: No OFD packet to send [19:32:47]OFD Sender: No OFD packet to send [19:32:52]OFD Sender: No OFD packet to send [19:32:57]OFD Sender: No OFD packet to send [19:33:02]OFD Sender: No OFD packet to send [19:33:07]OFD Sender: No OFD packet to send [19:33:12]OFD Sender: No OFD packet to send [19:33:17]OFD Sender: No OFD packet to send [19:33:22]OFD Sender: No OFD packet to send [19:33:27]OFD Sender: No OFD packet to send [19:33:32]OFD Sender: No OFD packet to send [19:33:37]OFD Sender: No OFD packet to send [19:33:42]OFD Sender: No OFD packet to send [19:33:47]OFD Sender: No OFD packet to send [19:33:52]OFD Sender: No OFD packet to send [19:33:57]OFD Sender: No OFD packet to send [19:34:02]OFD Sender: No OFD packet to send [19:34:07]OFD Sender: No OFD packet to send [19:34:12]OFD Sender: No OFD packet to send [19:34:17]OFD Sender: No OFD packet to send [19:34:22]OFD Sender: No OFD packet to send [19:34:27]OFD Sender: No OFD packet to send [19:34:32]OFD Sender: No OFD packet to send [19:34:37]OFD Sender: No OFD packet to send [19:34:42]OFD Sender: No OFD packet to send [19:34:47]OFD Sender: No OFD packet to send [19:34:52]OFD Sender: No OFD packet to send [19:34:57]OFD Sender: No OFD packet to send [19:35:02]OFD Sender: No OFD packet to send [19:35:07]OFD Sender: No OFD packet to send [19:35:12]OFD Sender: No OFD packet to send [19:35:17]OFD Sender: No OFD packet to send [19:35:22]OFD Sender: No OFD packet to send [19:35:27]OFD Sender: No OFD packet to send [19:35:32]OFD Sender: No OFD packet to send [19:35:37]OFD Sender: No OFD packet to send [19:35:42]OFD Sender: No OFD packet to send [19:35:47]OFD Sender: No OFD packet to send [19:35:52]OFD Sender: No OFD packet to send [19:35:57]OFD Sender: No OFD packet to send [19:36:02]OFD Sender: No OFD packet to send [19:36:07]OFD Sender: No OFD packet to send [19:36:12]OFD Sender: No OFD packet to send [19:36:17]OFD Sender: No OFD packet to send [19:36:22]OFD Sender: No OFD packet to send [19:36:27]OFD Sender: No OFD packet to send [19:36:32]OFD Sender: No OFD packet to send [19:36:37]OFD Sender: No OFD packet to send [19:36:42]OFD Sender: No OFD packet to send [19:36:47]OFD Sender: No OFD packet to send [19:36:52]OFD Sender: No OFD packet to send [19:36:57]OFD Sender: No OFD packet to send [19:37:03]OFD Sender: No OFD packet to send [19:37:08]OFD Sender: No OFD packet to send [19:37:13]OFD Sender: No OFD packet to send [19:37:18]OFD Sender: No OFD packet to send [19:37:23]OFD Sender: No OFD packet to send [19:37:28]OFD Sender: No OFD packet to send [19:37:33]OFD Sender: No OFD packet to send [19:37:38]OFD Sender: No OFD packet to send [19:37:43]OFD Sender: No OFD packet to send [19:37:48]OFD Sender: No OFD packet to send [19:37:53]OFD Sender: No OFD packet to send [19:37:58]OFD Sender: No OFD packet to send [19:38:03]OFD Sender: No OFD packet to send [19:38:08]OFD Sender: No OFD packet to send [19:38:13]OFD Sender: No OFD packet to send [19:38:18]OFD Sender: No OFD packet to send [19:38:23]OFD Sender: No OFD packet to send [19:38:28]OFD Sender: No OFD packet to send [19:38:33]OFD Sender: No OFD packet to send [19:38:38]OFD Sender: No OFD packet to send [19:38:43]OFD Sender: No OFD packet to send [19:38:48]OFD Sender: No OFD packet to send [19:38:53]OFD Sender: No OFD packet to send [19:38:58]OFD Sender: No OFD packet to send [19:39:03]OFD Sender: No OFD packet to send [19:39:08]OFD Sender: No OFD packet to send [19:39:13]OFD Sender: No OFD packet to send [19:39:18]OFD Sender: No OFD packet to send [19:39:23]OFD Sender: No OFD packet to send [19:39:28]OFD Sender: No OFD packet to send [19:39:33]OFD Sender: No OFD packet to send [19:39:38]OFD Sender: No OFD packet to send [19:39:43]OFD Sender: No OFD packet to send [19:39:48]OFD Sender: No OFD packet to send [19:39:53]OFD Sender: No OFD packet to send [19:39:58]OFD Sender: No OFD packet to send [19:40:03]OFD Sender: No OFD packet to send [19:40:08]OFD Sender: No OFD packet to send [19:40:13]OFD Sender: No OFD packet to send [19:40:18]OFD Sender: No OFD packet to send [19:40:23]OFD Sender: No OFD packet to send [19:40:28]OFD Sender: No OFD packet to send [19:40:33]OFD Sender: No OFD packet to send [19:40:38]OFD Sender: No OFD packet to send [19:40:43]OFD Sender: No OFD packet to send [19:40:48]OFD Sender: No OFD packet to send [19:40:53]OFD Sender: No OFD packet to send [19:40:58]OFD Sender: No OFD packet to send [19:41:03]OFD Sender: No OFD packet to send [19:41:08]OFD Sender: No OFD packet to send [19:41:13]OFD Sender: No OFD packet to send [19:41:18]OFD Sender: No OFD packet to send [19:41:23]OFD Sender: No OFD packet to send [19:41:28]OFD Sender: No OFD packet to send [19:41:33]OFD Sender: No OFD packet to send [19:41:38]OFD Sender: No OFD packet to send [19:41:43]OFD Sender: No OFD packet to send [19:41:48]OFD Sender: No OFD packet to send [19:41:53]OFD Sender: No OFD packet to send [19:41:58]OFD Sender: No OFD packet to send [19:42:03]OFD Sender: No OFD packet to send [19:42:08]OFD Sender: No OFD packet to send [19:42:13]OFD Sender: No OFD packet to send [19:42:18]OFD Sender: No OFD packet to send [19:42:23]OFD Sender: No OFD packet to send [19:42:28]OFD Sender: No OFD packet to send [19:42:33]OFD Sender: No OFD packet to send [19:42:38]OFD Sender: No OFD packet to send [19:42:43]OFD Sender: No OFD packet to send [19:42:48]OFD Sender: No OFD packet to send [19:42:53]OFD Sender: No OFD packet to send [19:42:58]OFD Sender: No OFD packet to send [19:43:03]OFD Sender: No OFD packet to send [19:43:08]OFD Sender: No OFD packet to send [19:43:13]OFD Sender: No OFD packet to send [19:43:18]OFD Sender: No OFD packet to send [19:43:23]OFD Sender: No OFD packet to send [19:43:28]OFD Sender: No OFD packet to send [19:43:33]OFD Sender: No OFD packet to send [19:43:38]OFD Sender: No OFD packet to send [19:43:43]OFD Sender: No OFD packet to send [19:43:48]OFD Sender: No OFD packet to send [19:43:53]OFD Sender: No OFD packet to send [19:43:58]OFD Sender: No OFD packet to send [19:44:03]OFD Sender: No OFD packet to send [19:44:08]OFD Sender: No OFD packet to send [19:44:13]OFD Sender: No OFD packet to send [19:44:18]OFD Sender: No OFD packet to send [19:44:23]OFD Sender: No OFD packet to send [19:44:28]OFD Sender: No OFD packet to send [19:44:33]OFD Sender: No OFD packet to send [19:44:38]OFD Sender: No OFD packet to send [19:44:43]OFD Sender: No OFD packet to send [19:44:48]OFD Sender: No OFD packet to send [19:44:53]OFD Sender: No OFD packet to send [19:44:58]OFD Sender: No OFD packet to send [19:45:03]OFD Sender: No OFD packet to send [19:45:08]OFD Sender: No OFD packet to send [19:45:13]OFD Sender: No OFD packet to send [19:45:18]OFD Sender: No OFD packet to send [19:45:23]OFD Sender: No OFD packet to send [19:45:28]OFD Sender: No OFD packet to send [19:45:33]OFD Sender: No OFD packet to send [19:45:38]OFD Sender: No OFD packet to send [19:45:43]OFD Sender: No OFD packet to send [19:45:48]OFD Sender: No OFD packet to send [19:45:53]OFD Sender: No OFD packet to send [19:45:58]OFD Sender: No OFD packet to send [19:46:03]OFD Sender: No OFD packet to send [19:46:04]accept exits with 7 [19:46:04]New connection [19:46:04]New thread 3066957156 created [19:46:04]Thread 3066813796 joined [19:46:04]Waiting for new connection... [19:46:04] Sock 7.Parse request [19:46:04]Sock 7.Check first char [19:46:04]Sock 7.First char is OK [19:46:04]request: POST /json_proto HTTP/1.0 [19:46:04]Method: POST [19:46:04]URL: /json_proto [19:46:04]Method is POST - this is cgi request [19:46:04]url: /json_proto [19:46:04]query_string will be loaded in cgi processing [19:46:04]execute_cgi json_proto POST (null) [19:46:04]execute_cgi path=json_proto method=POST [19:46:04]POST find Content-Length [19:46:04]Host: 172.17.62.6:8080 [19:46:04]Content-Length: 646 [19:46:04]Content-Type: application/json [19:46:04] [19:46:04]POST finish read [19:46:04]Found Content-Length = 646 [19:46:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32907", "tax_sys" : 0, "items" : [ { "code": "90448300", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red Bull 0,355\u043B", "price" : 220.00, "quantity" : 1.000, "sum" : 220.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 220.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:46:04]execute_script... [19:46:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32907", "tax_sys" : 0, "items" : [ { "code": "90448300", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red Bull 0,355\u043B", "price" : 220.00, "quantity" : 1.000, "sum" : 220.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 220.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:46:04]POST & json_proto [19:46:04]process_json_proto [19:46:04]json parsed OK: [19:46:04]protocol is kg_v1.0 [19:46:04]action value=close_receipt [19:46:04]process_action close_receipt [19:46:04]cmd_close_receipt [19:46:04]MH_GetDate [19:46:04]Write to MH i2c: F0 00 00 5D 02 4E [19:46:04]Write i2c OK [19:46:04]MH_I2C_Read... [19:46:04]Read from MH i2c: F0 [19:46:04]MH_I2C_Read... [19:46:04]Read from MH i2c: F0 09 00 [19:46:04]MH_I2C_Read... [19:46:04]Read from MH i2c: F0 09 00 5D 02 00 FD 6C 25 66 61 69 D2 64 4B [19:46:04]GetLastDocTimeStamp 1713726669 [19:46:04]current date 1713728765 [19:46:04]FM_GetShiftState [19:46:04]SAM_PROTO_GetShiftState [19:46:04]wFMCommunicate request_size=4 [19:46:04]MH_SAM_APDU [19:46:04]CAPDU: 80 13 01 00 [19:46:04]Write to MH i2c: E2 08 00 5E 02 80 13 01 00 00 00 00 00 DD [19:46:04]Write i2c OK [19:46:04]MH_I2C_Read... [19:46:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:46:04]Read from MH i2c: E2 [19:46:04]MH_I2C_Read... [19:46:04]Read from MH i2c: E2 0E 00 [19:46:04]MH_I2C_Read... [19:46:04]Read from MH i2c: E2 0E 00 5E 02 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 35 [19:46:04]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [19:46:04]wFMCommunicate OK [19:46:04]SAM_PROTO_GetShiftState done [19:46:04]FM_GetShiftState done [19:46:04]opened in 1713658727 [19:46:04]opened+sec_in_day 1713745127 [19:46:04]quantity*price = 22000 [19:46:04]sum+1 = 22001 [19:46:04]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 220.00 НСП 1% : 1.95 НДС 12% : 23.36 Наличными: 220.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 46 21.04.2024 19:46 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12634 ФПД: 22301577377959 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T194605&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12634&fm=22301577377959&tin=02508201610067®Number=0000000000100748&sum=22000 0 [19:46:05]StoreToDocumentArchive [19:46:05]shift 281 fd 12634 [19:46:05]save to /storage/0281/doc_00012634 [19:46:05]save last doc name /storage/0281/doc_00012634 to /storage/kkm_last_doc_name [19:46:05]save OK [19:46:05]Clear old archive folders... [19:46:05]ProcessDocumentItem done err = 0, tmpTLVsize=279 [19:46:05]tlvbuf is 016DA250 [19:46:05]SAM_PROTO_ClearQueue [19:46:05]wFMCommunicate request_size=4 [19:46:05]MH_SAM_APDU [19:46:05]CAPDU: 80 09 00 00 [19:46:05]Write to MH i2c: E2 08 00 6B 02 80 09 00 00 00 00 00 00 DF [19:46:05]Write i2c OK [19:46:05]MH_I2C_Read... [19:46:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:46:05]Read from MH i2c: E2 [19:46:05]MH_I2C_Read... [19:46:05]Read from MH i2c: E2 03 00 [19:46:05]MH_I2C_Read... [19:46:05]Read from MH i2c: E2 03 00 6B 02 00 90 00 E1 [19:46:05]RAPDU: 90 00 [19:46:05]wFMCommunicate OK [19:46:05]SAM_PROTO_ClearQueue done [19:46:05]KKMCreateOFDPacket [19:46:05]OFDProtocolAddRootSTLVToBuf [19:46:05]FM_MakeSignedData [19:46:05]FM_MakeSignedData [19:46:05]SAM_PROTO_SignData [19:46:05]wFMCommunicate request_size=4 [19:46:05]MH_SAM_APDU [19:46:05]CAPDU: 80 0D 01 02 [19:46:05]Write to MH i2c: E2 08 00 6C 02 80 0D 01 02 00 00 00 00 E7 [19:46:05]Write i2c OK [19:46:05]MH_I2C_Read... [19:46:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:46:05]Read from MH i2c: E2 [19:46:05]MH_I2C_Read... [19:46:05]Read from MH i2c: E2 03 00 [19:46:05]MH_I2C_Read... [19:46:05]Read from MH i2c: E2 03 00 6C 02 00 90 00 E2 [19:46:05]RAPDU: 90 00 [19:46:05]wFMCommunicate OK [19:46:05]wFMCommunicate request_size=255 [19:46:05]MH_SAM_APDU [19:46:05]CAPDU: 80 0D 02 02 FA 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 55 00 00 00 00 13 04 06 00 F0 55 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 F0 55 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 FD 6C 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 [19:46:05]Write to MH i2c: E2 02 01 6D 02 80 0D 02 02 FA 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 55 00 00 00 00 13 04 06 00 F0 55 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 F0 55 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 FD 6C 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 00 00 EF [19:46:06]Write i2c OK [19:46:06]MH_I2C_Read... [19:46:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:46:06]Read from MH i2c: E2 [19:46:06]MH_I2C_Read... [19:46:06]Read from MH i2c: E2 03 00 [19:46:06]MH_I2C_Read... [19:46:06]Read from MH i2c: E2 03 00 6D 02 00 90 00 E3 [19:46:06]RAPDU: 90 00 [19:46:06]wFMCommunicate OK [19:46:06]wFMCommunicate request_size=38 [19:46:06]MH_SAM_APDU [19:46:06]CAPDU: 80 0D 02 02 21 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 5A 31 00 00 35 04 06 00 14 48 7D 98 F8 A7 [19:46:06]Write to MH i2c: E2 29 00 6E 02 80 0D 02 02 21 00 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 5A 31 00 00 35 04 06 00 14 48 7D 98 F8 A7 00 00 15 [19:46:06]Write i2c OK [19:46:06]MH_I2C_Read... [19:46:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:46:06]Read from MH i2c: E2 [19:46:06]MH_I2C_Read... [19:46:06]Read from MH i2c: E2 03 00 [19:46:06]MH_I2C_Read... [19:46:06]Read from MH i2c: E2 03 00 6E 02 00 90 00 E4 [19:46:06]RAPDU: 90 00 [19:46:06]wFMCommunicate OK [19:46:06]wFMCommunicate request_size=4 [19:46:06]MH_SAM_APDU [19:46:06]CAPDU: 80 0D 03 02 [19:46:06]Write to MH i2c: E2 08 00 6F 02 80 0D 03 02 00 00 00 00 EC [19:46:06]Write i2c OK [19:46:06]MH_I2C_Read... [19:46:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:46:06]Read from MH i2c: E2 [19:46:06]MH_I2C_Read... [19:46:06]Read from MH i2c: E2 0B 00 [19:46:06]MH_I2C_Read... [19:46:06]Read from MH i2c: E2 0B 00 6F 02 00 06 14 39 BD 75 F7 30 23 90 00 BC [19:46:06]RAPDU: 06 14 39 BD 75 F7 30 23 90 00 [19:46:06]wFMCommunicate OK [19:46:06]SAM_PROTO_SignData done [19:46:06]FM_MakeSignedData done [19:46:06]CreateOFDProtocolMessage [19:46:06]wFMCommunicate request_size=4 [19:46:06]MH_SAM_APDU [19:46:06]CAPDU: 80 11 00 00 [19:46:06]Write to MH i2c: E2 08 00 70 02 80 11 00 00 00 00 00 00 EC [19:46:06]Write i2c OK [19:46:06]MH_I2C_Read... [19:46:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:46:06]Read from MH i2c: E2 [19:46:06]MH_I2C_Read... [19:46:06]Read from MH i2c: E2 17 00 [19:46:06]MH_I2C_Read... [19:46:06]Read from MH i2c: E2 17 00 70 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 46 [19:46:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [19:46:06]wFMCommunicate OK [19:46:06]CreateOFDProtocolMessage done [19:46:06]OFDSenderStorePacket 12634 [19:46:06]StoreOFDPacket docnum=12634 [19:46:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2B 01 00 00 9D B8 23 01 59 1C 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 55 00 00 00 00 13 04 06 00 F0 55 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 F0 55 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 FD 6C 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 5A 31 00 00 35 04 06 00 14 48 7D 98 F8 A7 06 14 39 BD 75 F7 30 23 [19:46:06]CheckFolder [19:46:06]dirname=/storage/ofd_packets [19:46:06]CheckFolder done [19:46:06]ProducePacketName [19:46:06]name=ofd_packets/00012634 [19:46:06]NVStorageSaveData ofd_packets/00012634 [19:46:06]File name is /storage/ofd_packets/00012634 [19:46:06]Write 329 bytes [19:46:06]NVStorageSaveData done [19:46:06]OFDSenderStorePacket done [19:46:06]KKMCreateOFDPacket done [19:46:06]NVStorageSaveData kkm_last_timestamp [19:46:06]File name is /storage/kkm_last_timestamp [19:46:06]Write 4 bytes [19:46:06]NVStorageSaveData done [19:46:06]ExternCall_PrintAddStr [19:46:06]wPrintStart [19:46:06]Write to MH i2c: 01 00 00 71 02 73 [19:46:06]Write i2c OK [19:46:06]MH_I2C_Read... [19:46:06]Read from MH i2c: 01 [19:46:06]MH_I2C_Read... [19:46:06]Read from MH i2c: 01 07 00 [19:46:06]MH_I2C_Read... [19:46:06]Read from MH i2c: 01 07 00 71 02 00 00 00 00 00 FF 0F 88 [19:46:06]RasterBufferAndPrint [19:46:06]line Счет N : (3)32907 [19:46:06]line ИНН: 02508201610067 [19:46:06]line Контрольно-Кассовый Чек [19:46:06]line ПРОДАЖА [19:46:06]line Товар: 90448300 [19:46:06]line Энерг напиток Red Bull 0,355л [19:46:06]line 1.000 * 220.00 [19:46:06]line = 220.00 [19:46:06]line НДС 12% НСП 1% [19:46:06]line > о реализуемом товаре [19:46:06]line ИТОГО: 220.00 [19:46:06]line НСП 1% : 1.95 [19:46:06]line НДС 12% : 23.36 [19:46:06]line Наличными: 220.00 [19:46:06]line Безнал.: 0.00 [19:46:06]line Место: АЗС № 106 "Партнер Нефть" [19:46:06]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [19:46:06]line СНО: Общий режим [19:46:06]line Чек 46 21.04.2024 19:46 [19:46:06]line Смена: 281 ФФД: 1.0 [19:46:06]line ЗНМ: 0300000004 [19:46:06]line РНМ: 0000000000100748 [19:46:06]line Версия ККМ: 001 [19:46:06]line ФМ: 0000000000965685 [19:46:06]line ФД: 12634 [19:46:06]line ФПД: 22301577377959 [19:46:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T194605&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12634&fm=22301577377959&tin=02508201610067®Number=0000000000100748&sum=22000 [19:46:06]line 0 [19:46:06]OFD Sender: Processing packet 12634 [packets to send 7, broken 6] [19:46:06]ProducePacketName [19:46:06]name=ofd_packets/00012634 [19:46:06]OFD Sender: To server: pG, [19:46:06]CommunicateWithHost lk.salyk.kg:30040 [19:46:06]ConnectInit lk.salyk.kg [19:46:06]written 0, free lines is 4095 [19:46:06]Connected sock=9 [19:46:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2B 01 00 00 9D B8 23 01 59 1C 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 55 00 00 00 00 13 04 06 00 F0 55 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 F0 55 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 FD 6C 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 5A 31 00 00 35 04 06 00 14 48 7D 98 F8 A7 06 14 39 BD 75 F7 30 23 [19:46:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 C1 C0 47 00 F4 C9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 5A 31 00 00 F4 03 04 00 7D 15 25 66 B6 04 01 00 00 86 3E F5 86 B7 20 7B 6D [19:46:07]CommunicateWithHost err = 0 [19:46:07]CheckOFDResponse [19:46:07]1017 (14) - 77093643461234 [19:46:07]1041 (16) - 0000000000965685 [19:46:07]1040 (4) - 12634 [19:46:07]1012 (4) - 21.04.2024 13:32 [19:46:07]1206 (1) - 0 [19:46:07]OFD Sender: Remove packet 12634 [19:46:07]ProducePacketName [19:46:07]name=ofd_packets/00012634 [19:46:07]NVStorageDeleteData [19:46:07]Write to MH i2c: 01 00 00 98 02 9A [19:46:07]Write i2c OK [19:46:07]MH_I2C_Read... [19:46:07]Read from MH i2c: 01 [19:46:07]MH_I2C_Read... [19:46:07]Read from MH i2c: 01 07 00 [19:46:07]MH_I2C_Read... [19:46:07]Read from MH i2c: 01 07 00 98 02 00 00 00 00 00 15 0D C3 [19:46:07]RasterBufferAndPrint [19:46:07]line [19:46:07]line [19:46:07]line [19:46:07]line [19:46:07]line [19:46:07]written 0, free lines is 3356 [19:46:07]MH_Cut [19:46:07]Write to MH i2c: D1 01 00 9F 02 01 73 [19:46:07]Write i2c OK [19:46:07]MH_I2C_Read... [19:46:07]Read from MH i2c: D1 [19:46:07]MH_I2C_Read... [19:46:07]Read from MH i2c: D1 01 00 [19:46:07]MH_I2C_Read... [19:46:07]Read from MH i2c: D1 01 00 9F 02 00 72 [19:46:07]Write to MH i2c: 01 00 00 A0 02 A2 [19:46:07]Write i2c OK [19:46:07]MH_I2C_Read... [19:46:07]OFD Sender: No OFD packet to send [19:46:07]*** Cut start [19:46:07]*** Partial cut [19:46:07]*** CUTSNS_PIN = 1 [19:46:07]*** CUTSNS_PIN = 0 [19:46:08]*** Brake cut motor [19:46:08]Read from MH i2c: 01 [19:46:08]MH_I2C_Read... [19:46:08]*** Stop cut motor [19:46:08]*** Cut end [19:46:08]Read from MH i2c: 01 07 00 [19:46:08]MH_I2C_Read... [19:46:08]Read from MH i2c: 01 07 00 A0 02 00 00 00 00 00 FF 0F B7 [19:46:08]process_action close_receipt done [19:46:08]requested_data is exist [19:46:08]produce_requested_data [19:46:08]requested_item fm.sn is exist - process it [19:46:08]wFMCommunicate request_size=4 [19:46:08]MH_SAM_APDU [19:46:08]CAPDU: 80 11 00 00 [19:46:08]Write to MH i2c: E2 08 00 A1 02 80 11 00 00 00 00 00 00 1D [19:46:08]Write i2c OK [19:46:08]MH_I2C_Read... [19:46:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:46:08]Read from MH i2c: E2 [19:46:08]MH_I2C_Read... [19:46:08]Read from MH i2c: E2 17 00 [19:46:08]MH_I2C_Read... [19:46:08]Read from MH i2c: E2 17 00 A1 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 77 [19:46:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [19:46:08]wFMCommunicate OK [19:46:08]requested_item fd.num is exist - process it [19:46:08]SAM_PROTO_GetFieldsCounters [19:46:08]wFMCommunicate request_size=4 [19:46:08]MH_SAM_APDU [19:46:08]CAPDU: 80 13 00 00 [19:46:08]Write to MH i2c: E2 08 00 A2 02 80 13 00 00 00 00 00 00 20 [19:46:08]Write i2c OK [19:46:08]MH_I2C_Read... [19:46:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:46:08]Read from MH i2c: E2 [19:46:08]MH_I2C_Read... [19:46:08]Read from MH i2c: E2 62 00 [19:46:08]MH_I2C_Read... [19:46:08]Read from MH i2c: E2 62 00 A2 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 5A 31 00 00 0E 04 04 00 19 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 72 [19:46:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 5A 31 00 00 0E 04 04 00 19 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 [19:46:08]wFMCommunicate OK [19:46:08]SAM_PROTO_GetFieldsCounters done [19:46:08]requested_item shift.num is exist - process it [19:46:08]requested_item shift.opened is exist - process it [19:46:08]req_shift_opened [19:46:08]FM_GetShiftState [19:46:08]SAM_PROTO_GetShiftState [19:46:08]wFMCommunicate request_size=4 [19:46:08]MH_SAM_APDU [19:46:08]CAPDU: 80 13 01 00 [19:46:08]Write to MH i2c: E2 08 00 A3 02 80 13 01 00 00 00 00 00 22 [19:46:08]Write i2c OK [19:46:08]MH_I2C_Read... [19:46:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:46:08]Read from MH i2c: E2 [19:46:08]MH_I2C_Read... [19:46:08]Read from MH i2c: E2 0E 00 [19:46:08]MH_I2C_Read... [19:46:08]Read from MH i2c: E2 0E 00 A3 02 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 7A [19:46:08]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [19:46:08]wFMCommunicate OK [19:46:08]SAM_PROTO_GetShiftState done [19:46:08]FM_GetShiftState done [19:46:08]req_shift_opened done [19:46:08]requested_item shift.open_date is exist - process it [19:46:08]req_shift_open_date [19:46:08]req_shift_open_date done [19:46:08]produce_requested_data done [19:46:08]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12634,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [19:46:08]process_action_free close_receipt [19:46:08]json_value_free [19:46:08]json_value_free done [19:46:08]process_json_proto returns [19:46:08]Send response to host [19:46:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12634,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [19:46:08]free response buf [19:46:08]execute_script done [19:46:08]execute_script returns [19:46:08]free content buf [19:46:08]Sock 7.Close socket [19:46:08]Sock 7.Thread stoped [19:46:12]OFD Sender: No OFD packet to send [19:46:17]OFD Sender: No OFD packet to send [19:46:22]OFD Sender: No OFD packet to send [19:46:27]OFD Sender: No OFD packet to send [19:46:32]OFD Sender: No OFD packet to send [19:46:37]OFD Sender: No OFD packet to send [19:46:38]accept exits with 10 [19:46:38]New connection [19:46:38]New thread 3066813796 created [19:46:38]Thread 3066957156 joined [19:46:38]Waiting for new connection... [19:46:38] Sock 10.Parse request [19:46:38]Sock 10.Check first char [19:46:38]Sock 10.First char is OK [19:46:38]request: POST /json_proto HTTP/1.0 [19:46:38]Method: POST [19:46:38]URL: /json_proto [19:46:38]Method is POST - this is cgi request [19:46:38]url: /json_proto [19:46:38]query_string will be loaded in cgi processing [19:46:38]execute_cgi json_proto POST (null) [19:46:38]execute_cgi path=json_proto method=POST [19:46:38]POST find Content-Length [19:46:38]Host: 172.17.62.6:8080 [19:46:38]Content-Length: 1083 [19:46:38]Content-Type: application/json [19:46:38] [19:46:38]POST finish read [19:46:38]Found Content-Length = 1083 [19:46:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32908", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4680036912698", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u0436/\u0431 0,45\u043B MINT", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 185.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:46:38]execute_script... [19:46:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32908", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4680036912698", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u0436/\u0431 0,45\u043B MINT", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 185.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:46:38]POST & json_proto [19:46:38]process_json_proto [19:46:38]json parsed OK: [19:46:38]protocol is kg_v1.0 [19:46:38]action value=close_receipt [19:46:38]process_action close_receipt [19:46:38]cmd_close_receipt [19:46:38]MH_GetDate [19:46:38]Write to MH i2c: F0 00 00 A4 02 95 [19:46:38]Write i2c OK [19:46:38]MH_I2C_Read... [19:46:38]Read from MH i2c: F0 [19:46:38]MH_I2C_Read... [19:46:38]Read from MH i2c: F0 09 00 [19:46:38]MH_I2C_Read... [19:46:38]Read from MH i2c: F0 09 00 A4 02 00 1F 6D 25 66 61 69 D2 64 B5 [19:46:38]GetLastDocTimeStamp 1713728765 [19:46:38]current date 1713728799 [19:46:38]FM_GetShiftState [19:46:38]SAM_PROTO_GetShiftState [19:46:38]wFMCommunicate request_size=4 [19:46:38]MH_SAM_APDU [19:46:38]CAPDU: 80 13 01 00 [19:46:38]Write to MH i2c: E2 08 00 A5 02 80 13 01 00 00 00 00 00 24 [19:46:38]Write i2c OK [19:46:38]MH_I2C_Read... [19:46:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:46:38]Read from MH i2c: E2 [19:46:38]MH_I2C_Read... [19:46:38]Read from MH i2c: E2 0E 00 [19:46:38]MH_I2C_Read... [19:46:38]Read from MH i2c: E2 0E 00 A5 02 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 7C [19:46:38]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [19:46:38]wFMCommunicate OK [19:46:38]SAM_PROTO_GetShiftState done [19:46:38]FM_GetShiftState done [19:46:38]opened in 1713658727 [19:46:38]opened+sec_in_day 1713745127 [19:46:38]quantity*price = 9500 [19:46:38]sum+1 = 9501 [19:46:38]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4680036912698 Напиток Gorilla ж/б 0,45л MINT 1.000 * 90.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 185.00 НСП 1% : 1.64 НДС 12% : 19.65 Наличными: 0.00 Безнал.: 185.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 47 21.04.2024 19:46 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000965685 ФД: 12635 ФПД: 96520556180442 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T194639&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12635&fm=96520556180442&tin=02508201610067®Number=0000000000100748&sum=18500 0 [19:46:40]StoreToDocumentArchive [19:46:40]shift 281 fd 12635 [19:46:40]save to /storage/0281/doc_00012635 [19:46:40]save last doc name /storage/0281/doc_00012635 to /storage/kkm_last_doc_name [19:46:40]save OK [19:46:40]Clear old archive folders... [19:46:40]ProcessDocumentItem done err = 0, tmpTLVsize=405 [19:46:40]tlvbuf is B6DA9670 [19:46:40]SAM_PROTO_ClearQueue [19:46:40]wFMCommunicate request_size=4 [19:46:40]MH_SAM_APDU [19:46:40]CAPDU: 80 09 00 00 [19:46:40]Write to MH i2c: E2 08 00 B2 02 80 09 00 00 00 00 00 00 26 [19:46:40]Write i2c OK [19:46:40]MH_I2C_Read... [19:46:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:46:40]Read from MH i2c: E2 [19:46:40]MH_I2C_Read... [19:46:40]Read from MH i2c: E2 03 00 [19:46:40]MH_I2C_Read... [19:46:40]Read from MH i2c: E2 03 00 B2 02 00 90 00 28 [19:46:40]RAPDU: 90 00 [19:46:40]wFMCommunicate OK [19:46:40]SAM_PROTO_ClearQueue done [19:46:40]KKMCreateOFDPacket [19:46:40]OFDProtocolAddRootSTLVToBuf [19:46:40]FM_MakeSignedData [19:46:40]FM_MakeSignedData [19:46:40]SAM_PROTO_SignData [19:46:40]wFMCommunicate request_size=4 [19:46:40]MH_SAM_APDU [19:46:40]CAPDU: 80 0D 01 02 [19:46:40]Write to MH i2c: E2 08 00 B3 02 80 0D 01 02 00 00 00 00 2E [19:46:40]Write i2c OK [19:46:40]MH_I2C_Read... [19:46:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:46:40]Read from MH i2c: E2 [19:46:40]MH_I2C_Read... [19:46:40]Read from MH i2c: E2 03 00 [19:46:40]MH_I2C_Read... [19:46:40]Read from MH i2c: E2 03 00 B3 02 00 90 00 29 [19:46:40]RAPDU: 90 00 [19:46:40]wFMCommunicate OK [19:46:40]wFMCommunicate request_size=255 [19:46:40]MH_SAM_APDU [19:46:40]CAPDU: 80 0D 02 02 FA 03 00 95 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 32 36 39 38 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 4D 49 4E 54 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 48 [19:46:40]Write to MH i2c: E2 02 01 B4 02 80 0D 02 02 FA 00 03 00 95 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 32 36 39 38 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 4D 49 4E 54 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 48 00 00 4D [19:46:40]Write i2c OK [19:46:40]MH_I2C_Read... [19:46:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:46:40]Read from MH i2c: E2 [19:46:40]MH_I2C_Read... [19:46:40]Read from MH i2c: E2 03 00 [19:46:40]MH_I2C_Read... [19:46:40]Read from MH i2c: E2 03 00 B4 02 00 90 00 2A [19:46:40]RAPDU: 90 00 [19:46:40]wFMCommunicate OK [19:46:40]wFMCommunicate request_size=164 [19:46:40]MH_SAM_APDU [19:46:40]CAPDU: 80 0D 02 02 9F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AD 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 44 48 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 1F 6D 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 5B 31 00 00 35 04 06 00 57 C8 F1 76 F3 DA [19:46:40]Write to MH i2c: E2 A7 00 B5 02 80 0D 02 02 9F 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AD 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 44 48 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 1F 6D 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 5B 31 00 00 35 04 06 00 57 C8 F1 76 F3 DA 00 00 D1 [19:46:40]Write i2c OK [19:46:40]MH_I2C_Read... [19:46:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:46:40]Read from MH i2c: E2 [19:46:40]MH_I2C_Read... [19:46:40]Read from MH i2c: E2 03 00 [19:46:40]MH_I2C_Read... [19:46:40]Read from MH i2c: E2 03 00 B5 02 00 90 00 2B [19:46:40]RAPDU: 90 00 [19:46:40]wFMCommunicate OK [19:46:40]wFMCommunicate request_size=4 [19:46:40]MH_SAM_APDU [19:46:40]CAPDU: 80 0D 03 02 [19:46:40]Write to MH i2c: E2 08 00 B6 02 80 0D 03 02 00 00 00 00 33 [19:46:40]Write i2c OK [19:46:40]MH_I2C_Read... [19:46:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:46:40]Read from MH i2c: E2 [19:46:40]MH_I2C_Read... [19:46:40]Read from MH i2c: E2 0B 00 [19:46:40]MH_I2C_Read... [19:46:40]Read from MH i2c: E2 0B 00 B6 02 00 0C EC 24 2C C7 B1 B2 34 90 00 DA [19:46:40]RAPDU: 0C EC 24 2C C7 B1 B2 34 90 00 [19:46:40]wFMCommunicate OK [19:46:40]SAM_PROTO_SignData done [19:46:40]FM_MakeSignedData done [19:46:40]CreateOFDProtocolMessage [19:46:40]wFMCommunicate request_size=4 [19:46:40]MH_SAM_APDU [19:46:40]CAPDU: 80 11 00 00 [19:46:40]Write to MH i2c: E2 08 00 B7 02 80 11 00 00 00 00 00 00 33 [19:46:40]Write i2c OK [19:46:40]MH_I2C_Read... [19:46:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:46:40]Read from MH i2c: E2 [19:46:40]MH_I2C_Read... [19:46:40]Read from MH i2c: E2 17 00 [19:46:40]MH_I2C_Read... [19:46:40]Read from MH i2c: E2 17 00 B7 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 8D [19:46:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [19:46:40]wFMCommunicate OK [19:46:40]CreateOFDProtocolMessage done [19:46:40]OFDSenderStorePacket 12635 [19:46:40]StoreOFDPacket docnum=12635 [19:46:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 A9 01 00 00 1C 99 A1 01 1B 6A 5A 03 01 00 03 00 95 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 32 36 39 38 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 4D 49 4E 54 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 48 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AD 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 44 48 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 1F 6D 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 5B 31 00 00 35 04 06 00 57 C8 F1 76 F3 DA 0C EC 24 2C C7 B1 B2 34 [19:46:40]CheckFolder [19:46:40]dirname=/storage/ofd_packets [19:46:40]CheckFolder done [19:46:40]ProducePacketName [19:46:40]name=ofd_packets/00012635 [19:46:40]NVStorageSaveData ofd_packets/00012635 [19:46:41]File name is /storage/ofd_packets/00012635 [19:46:41]Write 455 bytes [19:46:41]NVStorageSaveData done [19:46:41]OFDSenderStorePacket done [19:46:41]KKMCreateOFDPacket done [19:46:41]NVStorageSaveData kkm_last_timestamp [19:46:41]File name is /storage/kkm_last_timestamp [19:46:41]Write 4 bytes [19:46:41]NVStorageSaveData done [19:46:41]ExternCall_PrintAddStr [19:46:41]wPrintStart [19:46:41]Write to MH i2c: 01 00 00 B8 02 BA [19:46:41]Write i2c OK [19:46:41]MH_I2C_Read... [19:46:41]Read from MH i2c: 01 [19:46:41]MH_I2C_Read... [19:46:41]Read from MH i2c: 01 07 00 [19:46:41]MH_I2C_Read... [19:46:41]Read from MH i2c: 01 07 00 B8 02 00 00 00 00 00 FF 0F CF [19:46:41]RasterBufferAndPrint [19:46:41]line Счет N : (3)32908 [19:46:41]line ИНН: 02508201610067 [19:46:41]line Контрольно-Кассовый Чек [19:46:41]line ПРОДАЖА [19:46:41]line Товар: 4700000480050 [19:46:41]line Напиток Nitro Energy эн green ж/б 0,45л [19:46:41]line 1.000 * 95.00 [19:46:41]line = 95.00 [19:46:41]line НДС 12% НСП 1% [19:46:41]line > о реализуемом товаре [19:46:41]line Товар: 4680036912698 [19:46:41]line Напиток Gorilla ж/б 0,45л MINT [19:46:41]line 1.000 * 90.00 [19:46:41]line = 90.00 [19:46:41]line НДС 12% НСП 1% [19:46:41]line > о реализуемом товаре [19:46:41]line ИТОГО: 185.00 [19:46:41]line НСП 1% : 1.64 [19:46:41]line НДС 12% : 19.65 [19:46:41]line Наличными: 0.00 [19:46:41]line Безнал.: 185.00 [19:46:41]line Место: АЗС № 106 "Партнер Нефть" [19:46:41]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [19:46:41]line СНО: Общий режим [19:46:41]line Чек 47 21.04.2024 19:46 [19:46:41]line Смена: 281 ФФД: 1.0 [19:46:41]line ЗНМ: 0300000004 [19:46:41]line РНМ: 0000000000100748 [19:46:41]line Версия ККМ: 001 [19:46:41]line Платежная система: Бакай Банк [19:46:41]line ФМ: 0000000000965685 [19:46:41]line ФД: 12635 [19:46:41]line ФПД: 96520556180442 [19:46:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T194639&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12635&fm=96520556180442&tin=02508201610067®Number=0000000000100748&sum=18500 [19:46:41]line 0 [19:46:41]written 0, free lines is 4095 [19:46:41]OFD Sender: Processing packet 12635 [packets to send 7, broken 6] [19:46:41]ProducePacketName [19:46:41]name=ofd_packets/00012635 [19:46:41]OFD Sender: To server: pG, [19:46:41]CommunicateWithHost lk.salyk.kg:30040 [19:46:41]ConnectInit lk.salyk.kg [19:46:41]Write to MH i2c: 01 00 00 E9 02 EB [19:46:41]Write i2c OK [19:46:41]MH_I2C_Read... [19:46:41]Read from MH i2c: 01 [19:46:41]MH_I2C_Read... [19:46:41]Read from MH i2c: 01 07 00 [19:46:41]MH_I2C_Read... [19:46:41]Read from MH i2c: 01 07 00 E9 02 00 00 00 00 00 69 0C 67 [19:46:41]RasterBufferAndPrint [19:46:41]line [19:46:41]line [19:46:41]line [19:46:41]line [19:46:41]line [19:46:41]written 0, free lines is 3182 [19:46:41]MH_Cut [19:46:41]Write to MH i2c: D1 01 00 F0 02 01 C4 [19:46:41]Write i2c OK [19:46:41]MH_I2C_Read... [19:46:41]Read from MH i2c: D1 [19:46:41]MH_I2C_Read... [19:46:41]Read from MH i2c: D1 01 00 [19:46:41]MH_I2C_Read... [19:46:41]Read from MH i2c: D1 01 00 F0 02 00 C3 [19:46:41]Write to MH i2c: 01 00 00 F1 02 F3 [19:46:41]Write i2c OK [19:46:41]MH_I2C_Read... [19:46:42]Connected sock=11 [19:46:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 A9 01 00 00 1C 99 A1 01 1B 6A 5A 03 01 00 03 00 95 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 32 36 39 38 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 4D 49 4E 54 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 48 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AD 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 44 48 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 1F 6D 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 5B 31 00 00 35 04 06 00 57 C8 F1 76 F3 DA 0C EC 24 2C C7 B1 B2 34 [19:46:42]*** Cut start [19:46:42]*** Partial cut [19:46:42]*** CUTSNS_PIN = 1 [19:46:42]*** CUTSNS_PIN = 0 [19:46:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 CC 31 47 00 AA 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 39 36 35 36 38 35 10 04 04 00 5B 31 00 00 F4 03 04 00 A1 15 25 66 B6 04 01 00 00 9F 44 72 43 99 1B 6C 48 [19:46:42]CommunicateWithHost err = 0 [19:46:42]CheckOFDResponse [19:46:42]1017 (14) - 77093643461234 [19:46:42]1041 (16) - 0000000000965685 [19:46:42]1040 (4) - 12635 [19:46:42]1012 (4) - 21.04.2024 13:33 [19:46:42]1206 (1) - 0 [19:46:42]OFD Sender: Remove packet 12635 [19:46:42]ProducePacketName [19:46:42]name=ofd_packets/00012635 [19:46:42]NVStorageDeleteData [19:46:42]*** Brake cut motor [19:46:43]OFD Sender: No OFD packet to send [19:46:43]Read from MH i2c: 01 [19:46:43]MH_I2C_Read... [19:46:43]*** Stop cut motor [19:46:43]*** Cut end [19:46:43]Read from MH i2c: 01 07 00 [19:46:43]MH_I2C_Read... [19:46:43]Read from MH i2c: 01 07 00 F1 02 00 00 00 00 00 FF 0F 08 [19:46:43]process_action close_receipt done [19:46:43]requested_data is exist [19:46:43]produce_requested_data [19:46:43]requested_item fm.sn is exist - process it [19:46:43]wFMCommunicate request_size=4 [19:46:43]MH_SAM_APDU [19:46:43]CAPDU: 80 11 00 00 [19:46:43]Write to MH i2c: E2 08 00 F2 02 80 11 00 00 00 00 00 00 6E [19:46:43]Write i2c OK [19:46:43]MH_I2C_Read... [19:46:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:46:43]Read from MH i2c: E2 [19:46:43]MH_I2C_Read... [19:46:43]Read from MH i2c: E2 17 00 [19:46:43]MH_I2C_Read... [19:46:43]Read from MH i2c: E2 17 00 F2 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 C8 [19:46:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [19:46:43]wFMCommunicate OK [19:46:43]requested_item fd.num is exist - process it [19:46:43]SAM_PROTO_GetFieldsCounters [19:46:43]wFMCommunicate request_size=4 [19:46:43]MH_SAM_APDU [19:46:43]CAPDU: 80 13 00 00 [19:46:43]Write to MH i2c: E2 08 00 F3 02 80 13 00 00 00 00 00 00 71 [19:46:43]Write i2c OK [19:46:43]MH_I2C_Read... [19:46:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:46:43]Read from MH i2c: E2 [19:46:43]MH_I2C_Read... [19:46:43]Read from MH i2c: E2 62 00 [19:46:43]MH_I2C_Read... [19:46:43]Read from MH i2c: E2 62 00 F3 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 5B 31 00 00 0E 04 04 00 19 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 C7 [19:46:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 5B 31 00 00 0E 04 04 00 19 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 [19:46:43]wFMCommunicate OK [19:46:43]SAM_PROTO_GetFieldsCounters done [19:46:43]requested_item shift.num is exist - process it [19:46:43]requested_item shift.opened is exist - process it [19:46:43]req_shift_opened [19:46:43]FM_GetShiftState [19:46:43]SAM_PROTO_GetShiftState [19:46:43]wFMCommunicate request_size=4 [19:46:43]MH_SAM_APDU [19:46:43]CAPDU: 80 13 01 00 [19:46:43]Write to MH i2c: E2 08 00 F4 02 80 13 01 00 00 00 00 00 73 [19:46:43]Write i2c OK [19:46:43]MH_I2C_Read... [19:46:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:46:43]Read from MH i2c: E2 [19:46:43]MH_I2C_Read... [19:46:43]Read from MH i2c: E2 0E 00 [19:46:43]MH_I2C_Read... [19:46:43]Read from MH i2c: E2 0E 00 F4 02 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 CB [19:46:43]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [19:46:43]wFMCommunicate OK [19:46:43]SAM_PROTO_GetShiftState done [19:46:43]FM_GetShiftState done [19:46:43]req_shift_opened done [19:46:43]requested_item shift.open_date is exist - process it [19:46:43]req_shift_open_date [19:46:43]req_shift_open_date done [19:46:43]produce_requested_data done [19:46:43]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12635,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [19:46:43]process_action_free close_receipt [19:46:43]json_value_free [19:46:43]json_value_free done [19:46:43]process_json_proto returns [19:46:43]Send response to host [19:46:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12635,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [19:46:43]free response buf [19:46:43]execute_script done [19:46:43]execute_script returns [19:46:43]free content buf [19:46:43]Sock 10.Close socket [19:46:43]Sock 10.Thread stoped [19:46:48]OFD Sender: No OFD packet to send [19:46:53]OFD Sender: No OFD packet to send [19:46:58]OFD Sender: No OFD packet to send [19:47:03]OFD Sender: No OFD packet to send [19:47:08]OFD Sender: No OFD packet to send [19:47:13]OFD Sender: No OFD packet to send [19:47:18]OFD Sender: No OFD packet to send [19:47:23]OFD Sender: No OFD packet to send [19:47:28]OFD Sender: No OFD packet to send [19:47:33]OFD Sender: No OFD packet to send [19:47:38]OFD Sender: No OFD packet to send [19:47:43]OFD Sender: No OFD packet to send [19:47:48]OFD Sender: No OFD packet to send [19:47:53]OFD Sender: No OFD packet to send [19:47:58]OFD Sender: No OFD packet to send [19:48:03]OFD Sender: No OFD packet to send [19:48:08]OFD Sender: No OFD packet to send [19:48:13]OFD Sender: No OFD packet to send [19:48:18]OFD Sender: No OFD packet to send [19:48:23]OFD Sender: No OFD packet to send [19:48:28]OFD Sender: No OFD packet to send [19:48:33]OFD Sender: No OFD packet to send [19:48:38]OFD Sender: No OFD packet to send [19:48:43]OFD Sender: No OFD packet to send [19:48:48]OFD Sender: No OFD packet to send [19:48:53]OFD Sender: No OFD packet to send [19:48:58]OFD Sender: No OFD packet to send [19:49:03]OFD Sender: No OFD packet to send [19:49:08]OFD Sender: No OFD packet to send [19:49:13]OFD Sender: No OFD packet to send [19:49:18]OFD Sender: No OFD packet to send [19:49:23]OFD Sender: No OFD packet to send [19:49:28]OFD Sender: No OFD packet to send [19:49:33]OFD Sender: No OFD packet to send [19:49:38]OFD Sender: No OFD packet to send [19:49:43]OFD Sender: No OFD packet to send [19:49:48]OFD Sender: No OFD packet to send [19:49:53]OFD Sender: No OFD packet to send [19:49:58]OFD Sender: No OFD packet to send [19:50:03]OFD Sender: No OFD packet to send [19:50:08]OFD Sender: No OFD packet to send [19:50:13]OFD Sender: No OFD packet to send [19:50:18]OFD Sender: No OFD packet to send [19:50:23]OFD Sender: No OFD packet to send [19:50:28]OFD Sender: No OFD packet to send [19:50:33]OFD Sender: No OFD packet to send [19:50:38]OFD Sender: No OFD packet to send [19:50:43]OFD Sender: No OFD packet to send [19:50:48]OFD Sender: No OFD packet to send [19:50:53]OFD Sender: No OFD packet to send [19:50:58]OFD Sender: No OFD packet to send [19:51:03]OFD Sender: No OFD packet to send [19:51:08]OFD Sender: No OFD packet to send [19:51:13]OFD Sender: No OFD packet to send [19:51:18]OFD Sender: No OFD packet to send [19:51:23]OFD Sender: No OFD packet to send [19:51:28]OFD Sender: No OFD packet to send [19:51:33]OFD Sender: No OFD packet to send [19:51:38]OFD Sender: No OFD packet to send [19:51:43]OFD Sender: No OFD packet to send [19:51:48]OFD Sender: No OFD packet to send [19:51:53]OFD Sender: No OFD packet to send [19:51:58]OFD Sender: No OFD packet to send [19:52:03]OFD Sender: No OFD packet to send [19:52:08]OFD Sender: No OFD packet to send [19:52:13]OFD Sender: No OFD packet to send [19:52:18]OFD Sender: No OFD packet to send [19:52:18]accept exits with 7 [19:52:18]New connection [19:52:18]New thread 3066957156 created [19:52:18]Thread 3066813796 joined [19:52:18]Waiting for new connection... [19:52:18] Sock 7.Parse request [19:52:18]Sock 7.Check first char [19:52:18]Sock 7.First char is OK [19:52:18]request: POST /json_proto HTTP/1.0 [19:52:18]Method: POST [19:52:18]URL: /json_proto [19:52:18]Method is POST - this is cgi request [19:52:18]url: /json_proto [19:52:18]query_string will be loaded in cgi processing [19:52:18]execute_cgi json_proto POST (null) [19:52:18]execute_cgi path=json_proto method=POST [19:52:18]POST find Content-Length [19:52:18]Host: 172.17.62.6:8080 [19:52:18]Content-Length: 638 [19:52:18]Content-Type: application/json [19:52:18] [19:52:18]POST finish read [19:52:18]Found Content-Length = 638 [19:52:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32909", "tax_sys" : 0, "items" : [ { "code": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:52:18]execute_script... [19:52:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32909", "tax_sys" : 0, "items" : [ { "code": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:52:18]POST & json_proto [19:52:18]process_json_proto [19:52:18]json parsed OK: [19:52:18]protocol is kg_v1.0 [19:52:18]action value=close_receipt [19:52:18]process_action close_receipt [19:52:18]cmd_close_receipt [19:52:18]MH_GetDate [19:52:18]Write to MH i2c: F0 00 00 F5 02 E6 [19:52:18]Write i2c OK [19:52:18]MH_I2C_Read... [19:52:18]Read from MH i2c: F0 [19:52:18]MH_I2C_Read... [19:52:18]Read from MH i2c: F0 09 00 [19:52:18]MH_I2C_Read... [19:52:18]Read from MH i2c: F0 09 00 F5 02 00 73 6E 25 66 61 69 D2 64 5B [19:52:18]GetLastDocTimeStamp 1713728799 [19:52:18]current date 1713729139 [19:52:18]FM_GetShiftState [19:52:18]SAM_PROTO_GetShiftState [19:52:18]wFMCommunicate request_size=4 [19:52:18]MH_SAM_APDU [19:52:18]CAPDU: 80 13 01 00 [19:52:18]Write to MH i2c: E2 08 00 F6 02 80 13 01 00 00 00 00 00 75 [19:52:18]Write i2c OK [19:52:18]MH_I2C_Read... [19:52:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:52:18]Read from MH i2c: E2 [19:52:18]MH_I2C_Read... [19:52:18]Read from MH i2c: E2 0E 00 [19:52:18]MH_I2C_Read... [19:52:18]Read from MH i2c: E2 0E 00 F6 02 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 CD [19:52:18]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [19:52:18]wFMCommunicate OK [19:52:18]SAM_PROTO_GetShiftState done [19:52:18]FM_GetShiftState done [19:52:18]opened in 1713658727 [19:52:18]opened+sec_in_day 1713745127 [19:52:18]quantity*price = 11000 [19:52:18]sum+1 = 11001 [19:52:18]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 110.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 48 21.04.2024 19:52 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12636 ФПД: 262858243882502 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T195219&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12636&fm=262858243882502&tin=02508201610067®Number=0000000000100748&sum=11000 0 [19:52:19]StoreToDocumentArchive [19:52:19]shift 281 fd 12636 [19:52:19]save to /storage/0281/doc_00012636 [19:52:19]save last doc name /storage/0281/doc_00012636 to /storage/kkm_last_doc_name [19:52:19]save OK [19:52:19]Clear old archive folders... [19:52:19]ProcessDocumentItem done err = 0, tmpTLVsize=271 [19:52:19]tlvbuf is 01623FE0 [19:52:19]SAM_PROTO_ClearQueue [19:52:19]wFMCommunicate request_size=4 [19:52:19]MH_SAM_APDU [19:52:19]CAPDU: 80 09 00 00 [19:52:19]Write to MH i2c: E2 08 00 03 03 80 09 00 00 00 00 00 00 78 [19:52:19]Write i2c OK [19:52:19]MH_I2C_Read... [19:52:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:52:19]Read from MH i2c: E2 [19:52:19]MH_I2C_Read... [19:52:19]Read from MH i2c: E2 03 00 [19:52:19]MH_I2C_Read... [19:52:19]Read from MH i2c: E2 03 00 03 03 00 90 00 7A [19:52:19]RAPDU: 90 00 [19:52:19]wFMCommunicate OK [19:52:19]SAM_PROTO_ClearQueue done [19:52:19]KKMCreateOFDPacket [19:52:19]OFDProtocolAddRootSTLVToBuf [19:52:19]FM_MakeSignedData [19:52:19]FM_MakeSignedData [19:52:19]SAM_PROTO_SignData [19:52:19]wFMCommunicate request_size=4 [19:52:19]MH_SAM_APDU [19:52:19]CAPDU: 80 0D 01 02 [19:52:19]Write to MH i2c: E2 08 00 04 03 80 0D 01 02 00 00 00 00 80 [19:52:19]Write i2c OK [19:52:19]MH_I2C_Read... [19:52:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:52:19]Read from MH i2c: E2 [19:52:19]MH_I2C_Read... [19:52:19]Read from MH i2c: E2 03 00 [19:52:19]MH_I2C_Read... [19:52:19]Read from MH i2c: E2 03 00 04 03 00 90 00 7B [19:52:19]RAPDU: 90 00 [19:52:19]wFMCommunicate OK [19:52:19]wFMCommunicate request_size=255 [19:52:19]MH_SAM_APDU [19:52:19]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 73 6E 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 [19:52:19]Write to MH i2c: E2 02 01 05 03 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 73 6E 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 00 [19:52:19]Write i2c OK [19:52:19]MH_I2C_Read... [19:52:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:52:20]Read from MH i2c: E2 [19:52:20]MH_I2C_Read... [19:52:20]Read from MH i2c: E2 03 00 [19:52:20]MH_I2C_Read... [19:52:20]Read from MH i2c: E2 03 00 05 03 00 90 00 7C [19:52:20]RAPDU: 90 00 [19:52:20]wFMCommunicate OK [19:52:20]wFMCommunicate request_size=30 [19:52:20]MH_SAM_APDU [19:52:20]CAPDU: 80 0D 02 02 19 30 39 36 35 36 38 35 10 04 04 00 5C 31 00 00 35 04 06 00 EF 11 74 40 BE 06 [19:52:20]Write to MH i2c: E2 21 00 06 03 80 0D 02 02 19 00 30 39 36 35 36 38 35 10 04 04 00 5C 31 00 00 35 04 06 00 EF 11 74 40 BE 06 00 00 88 [19:52:20]Write i2c OK [19:52:20]MH_I2C_Read... [19:52:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:52:20]Read from MH i2c: E2 [19:52:20]MH_I2C_Read... [19:52:20]Read from MH i2c: E2 03 00 [19:52:20]MH_I2C_Read... [19:52:20]Read from MH i2c: E2 03 00 06 03 00 90 00 7D [19:52:20]RAPDU: 90 00 [19:52:20]wFMCommunicate OK [19:52:20]wFMCommunicate request_size=4 [19:52:20]MH_SAM_APDU [19:52:20]CAPDU: 80 0D 03 02 [19:52:20]Write to MH i2c: E2 08 00 07 03 80 0D 03 02 00 00 00 00 85 [19:52:20]Write i2c OK [19:52:20]MH_I2C_Read... [19:52:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:52:20]Read from MH i2c: E2 [19:52:20]MH_I2C_Read... [19:52:20]Read from MH i2c: E2 0B 00 [19:52:20]MH_I2C_Read... [19:52:20]Read from MH i2c: E2 0B 00 07 03 00 BE B4 D0 82 1F 37 32 53 90 00 25 [19:52:20]RAPDU: BE B4 D0 82 1F 37 32 53 90 00 [19:52:20]wFMCommunicate OK [19:52:20]SAM_PROTO_SignData done [19:52:20]FM_MakeSignedData done [19:52:20]CreateOFDProtocolMessage [19:52:20]wFMCommunicate request_size=4 [19:52:20]MH_SAM_APDU [19:52:20]CAPDU: 80 11 00 00 [19:52:20]Write to MH i2c: E2 08 00 08 03 80 11 00 00 00 00 00 00 85 [19:52:20]Write i2c OK [19:52:20]MH_I2C_Read... [19:52:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:52:20]Read from MH i2c: E2 [19:52:20]MH_I2C_Read... [19:52:20]Read from MH i2c: E2 17 00 [19:52:20]MH_I2C_Read... [19:52:20]Read from MH i2c: E2 17 00 08 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 DF [19:52:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [19:52:20]wFMCommunicate OK [19:52:20]CreateOFDProtocolMessage done [19:52:20]OFDSenderStorePacket 12636 [19:52:20]StoreOFDPacket docnum=12636 [19:52:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 23 01 00 00 8D 82 1B 01 4E BC 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 73 6E 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 5C 31 00 00 35 04 06 00 EF 11 74 40 BE 06 BE B4 D0 82 1F 37 32 53 [19:52:20]CheckFolder [19:52:20]dirname=/storage/ofd_packets [19:52:20]CheckFolder done [19:52:20]ProducePacketName [19:52:20]name=ofd_packets/00012636 [19:52:20]NVStorageSaveData ofd_packets/00012636 [19:52:20]File name is /storage/ofd_packets/00012636 [19:52:20]Write 321 bytes [19:52:20]NVStorageSaveData done [19:52:20]OFDSenderStorePacket done [19:52:20]KKMCreateOFDPacket done [19:52:20]NVStorageSaveData kkm_last_timestamp [19:52:20]File name is /storage/kkm_last_timestamp [19:52:20]Write 4 bytes [19:52:20]NVStorageSaveData done [19:52:20]ExternCall_PrintAddStr [19:52:20]wPrintStart [19:52:20]Write to MH i2c: 01 00 00 09 03 0C [19:52:20]Write i2c OK [19:52:20]MH_I2C_Read... [19:52:20]Read from MH i2c: 01 [19:52:20]MH_I2C_Read... [19:52:20]Read from MH i2c: 01 07 00 [19:52:20]MH_I2C_Read... [19:52:20]Read from MH i2c: 01 07 00 09 03 00 00 00 00 00 FF 0F 21 [19:52:20]RasterBufferAndPrint [19:52:20]line Счет N : (3)32909 [19:52:20]line ИНН: 02508201610067 [19:52:20]line Контрольно-Кассовый Чек [19:52:20]line ПРОДАЖА [19:52:20]line Товар: 5449000006271 [19:52:20]line Напиток Фанта 1л [19:52:20]line 1.000 * 110.00 [19:52:20]line = 110.00 [19:52:20]line НДС 12% НСП 1% [19:52:20]line > о реализуемом товаре [19:52:20]line ИТОГО: 110.00 [19:52:20]line НСП 1% : 0.97 [19:52:20]line НДС 12% : 11.68 [19:52:20]line Наличными: 110.00 [19:52:20]line Безнал.: 0.00 [19:52:20]line Место: АЗС № 106 "Партнер Нефть" [19:52:20]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [19:52:20]line СНО: Общий режим [19:52:20]line Чек 48 21.04.2024 19:52 [19:52:20]line Смена: 281 ФФД: 1.0 [19:52:20]line ЗНМ: 0300000004 [19:52:20]line РНМ: 0000000000100748 [19:52:20]line Версия ККМ: 001 [19:52:20]line ФМ: 0000000000965685 [19:52:20]line ФД: 12636 [19:52:20]line ФПД: 262858243882502 [19:52:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T195219&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12636&fm=262858243882502&tin=02508201610067®Number=0000000000100748&sum=11000 [19:52:20]line 0 [19:52:20]OFD Sender: Processing packet 12636 [packets to send 7, broken 6] [19:52:20]ProducePacketName [19:52:20]name=ofd_packets/00012636 [19:52:20]OFD Sender: To server: pG, [19:52:20]CommunicateWithHost lk.salyk.kg:30040 [19:52:20]ConnectInit lk.salyk.kg [19:52:20]written 0, free lines is 4095 [19:52:20]Connected sock=11 [19:52:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 23 01 00 00 8D 82 1B 01 4E BC 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 73 6E 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 5C 31 00 00 35 04 06 00 EF 11 74 40 BE 06 BE B4 D0 82 1F 37 32 53 [19:52:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 DC BD 47 00 20 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 39 36 35 36 38 35 10 04 04 00 5C 31 00 00 F4 03 04 00 F3 16 25 66 B6 04 01 00 00 AD 67 4D D4 C2 45 D7 AE [19:52:21]CommunicateWithHost err = 0 [19:52:21]CheckOFDResponse [19:52:21]1017 (14) - 77093643461234 [19:52:21]1041 (16) - 0000000000965685 [19:52:21]1040 (4) - 12636 [19:52:21]1012 (4) - 21.04.2024 13:38 [19:52:21]1206 (1) - 0 [19:52:21]OFD Sender: Remove packet 12636 [19:52:21]ProducePacketName [19:52:21]name=ofd_packets/00012636 [19:52:21]NVStorageDeleteData [19:52:21]Write to MH i2c: 01 00 00 30 03 33 [19:52:21]Write i2c OK [19:52:21]MH_I2C_Read... [19:52:21]Read from MH i2c: 01 [19:52:21]MH_I2C_Read... [19:52:21]Read from MH i2c: 01 07 00 [19:52:21]MH_I2C_Read... [19:52:21]Read from MH i2c: 01 07 00 30 03 00 00 00 00 00 02 0D 49 [19:52:21]RasterBufferAndPrint [19:52:21]line [19:52:21]line [19:52:21]line [19:52:21]line [19:52:21]line [19:52:21]written 0, free lines is 3337 [19:52:21]MH_Cut [19:52:21]Write to MH i2c: D1 01 00 37 03 01 0C [19:52:21]Write i2c OK [19:52:21]MH_I2C_Read... [19:52:21]Read from MH i2c: D1 [19:52:21]MH_I2C_Read... [19:52:21]Read from MH i2c: D1 01 00 [19:52:21]MH_I2C_Read... [19:52:21]Read from MH i2c: D1 01 00 37 03 00 0B [19:52:21]Write to MH i2c: 01 00 00 38 03 3B [19:52:21]Write i2c OK [19:52:21]MH_I2C_Read... [19:52:21]OFD Sender: No OFD packet to send [19:52:21]*** Cut start [19:52:21]*** Partial cut [19:52:21]*** CUTSNS_PIN = 1 [19:52:21]*** CUTSNS_PIN = 0 [19:52:22]*** Brake cut motor [19:52:22]Read from MH i2c: 01 [19:52:22]MH_I2C_Read... [19:52:22]*** Stop cut motor [19:52:22]*** Cut end [19:52:22]Read from MH i2c: 01 07 00 [19:52:22]MH_I2C_Read... [19:52:22]Read from MH i2c: 01 07 00 38 03 00 00 00 00 00 FF 0F 50 [19:52:22]process_action close_receipt done [19:52:22]requested_data is exist [19:52:22]produce_requested_data [19:52:22]requested_item fm.sn is exist - process it [19:52:22]wFMCommunicate request_size=4 [19:52:22]MH_SAM_APDU [19:52:22]CAPDU: 80 11 00 00 [19:52:22]Write to MH i2c: E2 08 00 39 03 80 11 00 00 00 00 00 00 B6 [19:52:22]Write i2c OK [19:52:22]MH_I2C_Read... [19:52:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:52:22]Read from MH i2c: E2 [19:52:22]MH_I2C_Read... [19:52:22]Read from MH i2c: E2 17 00 [19:52:22]MH_I2C_Read... [19:52:22]Read from MH i2c: E2 17 00 39 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 10 [19:52:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [19:52:22]wFMCommunicate OK [19:52:22]requested_item fd.num is exist - process it [19:52:22]SAM_PROTO_GetFieldsCounters [19:52:22]wFMCommunicate request_size=4 [19:52:22]MH_SAM_APDU [19:52:22]CAPDU: 80 13 00 00 [19:52:22]Write to MH i2c: E2 08 00 3A 03 80 13 00 00 00 00 00 00 B9 [19:52:22]Write i2c OK [19:52:22]MH_I2C_Read... [19:52:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:52:22]Read from MH i2c: E2 [19:52:22]MH_I2C_Read... [19:52:22]Read from MH i2c: E2 62 00 [19:52:22]MH_I2C_Read... [19:52:22]Read from MH i2c: E2 62 00 3A 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 5C 31 00 00 0E 04 04 00 19 01 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 13 [19:52:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 5C 31 00 00 0E 04 04 00 19 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 [19:52:22]wFMCommunicate OK [19:52:22]SAM_PROTO_GetFieldsCounters done [19:52:22]requested_item shift.num is exist - process it [19:52:22]requested_item shift.opened is exist - process it [19:52:22]req_shift_opened [19:52:22]FM_GetShiftState [19:52:22]SAM_PROTO_GetShiftState [19:52:22]wFMCommunicate request_size=4 [19:52:22]MH_SAM_APDU [19:52:22]CAPDU: 80 13 01 00 [19:52:22]Write to MH i2c: E2 08 00 3B 03 80 13 01 00 00 00 00 00 BB [19:52:22]Write i2c OK [19:52:22]MH_I2C_Read... [19:52:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:52:22]Read from MH i2c: E2 [19:52:22]MH_I2C_Read... [19:52:22]Read from MH i2c: E2 0E 00 [19:52:22]MH_I2C_Read... [19:52:22]Read from MH i2c: E2 0E 00 3B 03 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 13 [19:52:22]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [19:52:22]wFMCommunicate OK [19:52:22]SAM_PROTO_GetShiftState done [19:52:22]FM_GetShiftState done [19:52:22]req_shift_opened done [19:52:22]requested_item shift.open_date is exist - process it [19:52:22]req_shift_open_date [19:52:22]req_shift_open_date done [19:52:22]produce_requested_data done [19:52:22]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12636,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [19:52:22]process_action_free close_receipt [19:52:22]json_value_free [19:52:22]json_value_free done [19:52:22]process_json_proto returns [19:52:22]Send response to host [19:52:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12636,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [19:52:22]free response buf [19:52:22]execute_script done [19:52:22]execute_script returns [19:52:22]free content buf [19:52:22]Sock 7.Close socket [19:52:22]Sock 7.Thread stoped [19:52:26]OFD Sender: No OFD packet to send [19:52:31]OFD Sender: No OFD packet to send [19:52:36]OFD Sender: No OFD packet to send [19:52:41]OFD Sender: No OFD packet to send [19:52:46]OFD Sender: No OFD packet to send [19:52:51]OFD Sender: No OFD packet to send [19:52:56]OFD Sender: No OFD packet to send [19:53:01]OFD Sender: No OFD packet to send [19:53:06]OFD Sender: No OFD packet to send [19:53:11]OFD Sender: No OFD packet to send [19:53:16]OFD Sender: No OFD packet to send [19:53:21]OFD Sender: No OFD packet to send [19:53:26]OFD Sender: No OFD packet to send [19:53:31]OFD Sender: No OFD packet to send [19:53:36]OFD Sender: No OFD packet to send [19:53:41]OFD Sender: No OFD packet to send [19:53:46]OFD Sender: No OFD packet to send [19:53:51]OFD Sender: No OFD packet to send [19:53:56]OFD Sender: No OFD packet to send [19:54:01]OFD Sender: No OFD packet to send [19:54:06]OFD Sender: No OFD packet to send [19:54:11]OFD Sender: No OFD packet to send [19:54:16]OFD Sender: No OFD packet to send [19:54:21]OFD Sender: No OFD packet to send [19:54:26]OFD Sender: No OFD packet to send [19:54:31]OFD Sender: No OFD packet to send [19:54:36]OFD Sender: No OFD packet to send [19:54:41]OFD Sender: No OFD packet to send [19:54:46]OFD Sender: No OFD packet to send [19:54:51]OFD Sender: No OFD packet to send [19:54:56]OFD Sender: No OFD packet to send [19:55:01]OFD Sender: No OFD packet to send [19:55:06]OFD Sender: No OFD packet to send [19:55:11]OFD Sender: No OFD packet to send [19:55:16]OFD Sender: No OFD packet to send [19:55:21]OFD Sender: No OFD packet to send [19:55:26]OFD Sender: No OFD packet to send [19:55:31]OFD Sender: No OFD packet to send [19:55:36]OFD Sender: No OFD packet to send [19:55:41]OFD Sender: No OFD packet to send [19:55:46]OFD Sender: No OFD packet to send [19:55:51]OFD Sender: No OFD packet to send [19:55:56]OFD Sender: No OFD packet to send [19:56:01]OFD Sender: No OFD packet to send [19:56:06]OFD Sender: No OFD packet to send [19:56:11]OFD Sender: No OFD packet to send [19:56:16]OFD Sender: No OFD packet to send [19:56:21]OFD Sender: No OFD packet to send [19:56:26]OFD Sender: No OFD packet to send [19:56:31]OFD Sender: No OFD packet to send [19:56: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:21]OFD Sender: No OFD packet to send [19:57:26]OFD Sender: No OFD packet to send [19:57:31]OFD Sender: No OFD packet to send [19:57:36]OFD Sender: No OFD packet to send [19:57:41]OFD Sender: No OFD packet to send [19:57:51]OFD Sender: No OFD packet to send [19:57:55]recv_with_timeout no data received [19:57:56]OFD Sender: No OFD packet to send [19:58:01]OFD Sender: No OFD packet to send [19:58:06]OFD Sender: No OFD packet to send [19:58:11]OFD Sender: No OFD packet to send [19:58:16]OFD Sender: No OFD packet to send [19:58:21]OFD Sender: No OFD packet to send [19:58:26]OFD Sender: No OFD packet to send [19:58:31]OFD Sender: No OFD packet to send [19:58:36]OFD Sender: No OFD packet to send [19:58:41]OFD Sender: No OFD packet to send [19:58:46]OFD Sender: No OFD packet to send [19:58:51]OFD Sender: No OFD packet to send [19:58:56]OFD Sender: No OFD packet to send [19:59:01]OFD Sender: No OFD packet to send [19:59:06]OFD Sender: No OFD packet to send [19:59:11]OFD Sender: No OFD packet to send [19:59:16]OFD Sender: No OFD packet to send [19:59:21]OFD Sender: No OFD packet to send [19:59:26]OFD Sender: No OFD packet to send [19:59:31]OFD Sender: No OFD packet to send [19:59:36]OFD Sender: No OFD packet to send [19:59:41]OFD Sender: No OFD packet to send [19:59:46]OFD Sender: No OFD packet to send [19:59:51]OFD Sender: No OFD packet to send [19:59:56]OFD Sender: No OFD packet to send [20:00:01]OFD Sender: No OFD packet to send [20:00:06]OFD Sender: No OFD packet to send [20:00:11]OFD Sender: No OFD packet to send [20:00:16]OFD Sender: No OFD packet to send [20:00:21]OFD Sender: No OFD packet to send [20:00:26]OFD Sender: No OFD packet to send [20:00:31]OFD Sender: No OFD packet to send [20:00:36]OFD Sender: No OFD packet to send [20:00:41]OFD Sender: No OFD packet to send [20:00:47]OFD Sender: No OFD packet to send [20:00:52]OFD Sender: No OFD packet to send [20:00:57]OFD Sender: No OFD packet to send [20:01:02]OFD Sender: No OFD packet to send [20:01:07]OFD Sender: No OFD packet to send [20:01:12]OFD Sender: No OFD packet to send [20:01:17]OFD Sender: No OFD packet to send [20:01:22]OFD Sender: No OFD packet to send [20:01:27]OFD Sender: No OFD packet to send [20:01:32]OFD Sender: No OFD packet to send [20:01:37]OFD Sender: No OFD packet to send [20:01:42]OFD Sender: No OFD packet to send [20:01:47]OFD Sender: No OFD packet to send [20:01:52]OFD Sender: No OFD packet to send [20:01:57]OFD Sender: No OFD packet to send [20:02:02]OFD Sender: No OFD packet to send [20:02:07]OFD Sender: No OFD packet to send [20:02:12]OFD Sender: No OFD packet to send [20:02:17]OFD Sender: No OFD packet to send [20:02:22]OFD Sender: No OFD packet to send [20:02:27]OFD Sender: No OFD packet to send [20:02:32]OFD Sender: No OFD packet to send [20:02:37]OFD Sender: No OFD packet to send [20:02:42]OFD Sender: No OFD packet to send [20:02:47]OFD Sender: No OFD packet to send [20:02:52]OFD Sender: No OFD packet to send [20:02:57]OFD Sender: No OFD packet to send [20:03:02]OFD Sender: No OFD packet to send [20:03:07]OFD Sender: No OFD packet to send [20:03:12]OFD Sender: No OFD packet to send [20:03:17]OFD Sender: No OFD packet to send [20:03:22]OFD Sender: No OFD packet to send [20:03:27]OFD Sender: No OFD packet to send [20:03:32]OFD Sender: No OFD packet to send [20:03:37]OFD Sender: No OFD packet to send [20:03:42]OFD Sender: No OFD packet to send [20:03:47]OFD Sender: No OFD packet to send [20:03:52]OFD Sender: No OFD packet to send [20:03:57]OFD Sender: No OFD packet to send [20:04:02]OFD Sender: No OFD packet to send [20:04:07]OFD Sender: No OFD packet to send [20:04:12]OFD Sender: No OFD packet to send [20:04:17]OFD Sender: No OFD packet to send [20:04:22]OFD Sender: No OFD packet to send [20:04:27]OFD Sender: No OFD packet to send [20:04:32]OFD Sender: No OFD packet to send [20:04:37]OFD Sender: No OFD packet to send [20:04:42]OFD Sender: No OFD packet to send [20:04:47]OFD Sender: No OFD packet to send [20:04:52]OFD Sender: No OFD packet to send [20:04:57]OFD Sender: No OFD packet to send [20:05:02]OFD Sender: No OFD packet to send [20:05:07]OFD Sender: No OFD packet to send [20:05:12]OFD Sender: No OFD packet to send [20:05:17]OFD Sender: No OFD packet to send [20:05:22]OFD Sender: No OFD packet to send [20:05:27]OFD Sender: No OFD packet to send [20:05:32]OFD Sender: No OFD packet to send [20:05:37]OFD Sender: No OFD packet to send [20:05:42]OFD Sender: No OFD packet to send [20:05:47]OFD Sender: No OFD packet to send [20:05:52]OFD Sender: No OFD packet to send [20:05:57]OFD Sender: No OFD packet to send [20:06:02]OFD Sender: No OFD packet to send [20:06:07]OFD Sender: No OFD packet to send [20:06:12]OFD Sender: No OFD packet to send [20:06:17]OFD Sender: No OFD packet to send [20:06:22]OFD Sender: No OFD packet to send [20:06:27]OFD Sender: No OFD packet to send [20:06:32]OFD Sender: No OFD packet to send [20:06:37]OFD Sender: No OFD packet to send [20:06:42]OFD Sender: No OFD packet to send [20:06:47]OFD Sender: No OFD packet to send [20:06:52]OFD Sender: No OFD packet to send [20:06:57]OFD Sender: No OFD packet to send [20:07:02]OFD Sender: No OFD packet to send [20:07:07]OFD Sender: No OFD packet to send [20:07:12]OFD Sender: No OFD packet to send [20:07:17]OFD Sender: No OFD packet to send [20:07:22]OFD Sender: No OFD packet to send [20:07:27]OFD Sender: No OFD packet to send [20:07:32]OFD Sender: No OFD packet to send [20:07:37]OFD Sender: No OFD packet to send [20:07:42]OFD Sender: No OFD packet to send [20:07:47]OFD Sender: No OFD packet to send [20:07:52]OFD Sender: No OFD packet to send [20:07:57]OFD Sender: No OFD packet to send [20:08:02]OFD Sender: No OFD packet to send [20:08:07]OFD Sender: No OFD packet to send [20:08:12]OFD Sender: No OFD packet to send [20:08:17]OFD Sender: No OFD packet to send [20:08:22]OFD Sender: No OFD packet to send [20:08:27]OFD Sender: No OFD packet to send [20:08:32]OFD Sender: No OFD packet to send [20:08:37]OFD Sender: No OFD packet to send [20:08:42]OFD Sender: No OFD packet to send [20:08:47]OFD Sender: No OFD packet to send [20:08:52]OFD Sender: No OFD packet to send [20:08:57]OFD Sender: No OFD packet to send [20:09:02]OFD Sender: No OFD packet to send [20:09:07]OFD Sender: No OFD packet to send [20:09:12]OFD Sender: No OFD packet to send [20:09:17]OFD Sender: No OFD packet to send [20:09:22]OFD Sender: No OFD packet to send [20:09:27]OFD Sender: No OFD packet to send [20:09:32]OFD Sender: No OFD packet to send [20:09:37]OFD Sender: No OFD packet to send [20:09:42]OFD Sender: No OFD packet to send [20:09:47]OFD Sender: No OFD packet to send [20:09:52]OFD Sender: No OFD packet to send [20:09:57]OFD Sender: No OFD packet to send [20:10:02]OFD Sender: No OFD packet to send [20:10:07]OFD Sender: No OFD packet to send [20:10:12]OFD Sender: No OFD packet to send [20:10:17]OFD Sender: No OFD packet to send [20:10:22]OFD Sender: No OFD packet to send [20:10:27]OFD Sender: No OFD packet to send [20:10:32]OFD Sender: No OFD packet to send [20:10:37]OFD Sender: No OFD packet to send [20:10:42]OFD Sender: No OFD packet to send [20:10:47]OFD Sender: No OFD packet to send [20:10:52]OFD Sender: No OFD packet to send [20:10:57]OFD Sender: No OFD packet to send [20:11:02]OFD Sender: No OFD packet to send [20:11:07]OFD Sender: No OFD packet to send [20:11:12]OFD Sender: No OFD packet to send [20:11:17]OFD Sender: No OFD packet to send [20:11:22]OFD Sender: No OFD packet to send [20:11:27]OFD Sender: No OFD packet to send [20:11:32]OFD Sender: No OFD packet to send [20:11:37]OFD Sender: No OFD packet to send [20:11:42]OFD Sender: No OFD packet to send [20:11:47]OFD Sender: No OFD packet to send [20:11:52]OFD Sender: No OFD packet to send [20:11:57]OFD Sender: No OFD packet to send [20:12:02]OFD Sender: No OFD packet to send [20:12:07]OFD Sender: No OFD packet to send [20:12:12]OFD Sender: No OFD packet to send [20:12:17]OFD Sender: No OFD packet to send [20:12:22]OFD Sender: No OFD packet to send [20:12:27]OFD Sender: No OFD packet to send [20:12:32]OFD Sender: No OFD packet to send [20:12:37]OFD Sender: No OFD packet to send [20:12:42]OFD Sender: No OFD packet to send [20:12:47]OFD Sender: No OFD packet to send [20:12:52]OFD Sender: No OFD packet to send [20:12:57]OFD Sender: No OFD packet to send [20:13:02]OFD Sender: No OFD packet to send [20:13:07]OFD Sender: No OFD packet to send [20:13:12]OFD Sender: No OFD packet to send [20:13:17]OFD Sender: No OFD packet to send [20:13:22]OFD Sender: No OFD packet to send [20:13:27]OFD Sender: No OFD packet to send [20:13:32]OFD Sender: No OFD packet to send [20:13:37]OFD Sender: No OFD packet to send [20:13:42]OFD Sender: No OFD packet to send [20:13:47]OFD Sender: No OFD packet to send [20:13:52]OFD Sender: No OFD packet to send [20:13:57]OFD Sender: No OFD packet to send [20:14:02]OFD Sender: No OFD packet to send [20:14:07]OFD Sender: No OFD packet to send [20:14:12]OFD Sender: No OFD packet to send [20:14:17]OFD Sender: No OFD packet to send [20:14:22]OFD Sender: No OFD packet to send [20:14:27]OFD Sender: No OFD packet to send [20:14:32]OFD Sender: No OFD packet to send [20:14:37]OFD Sender: No OFD packet to send [20:14:42]OFD Sender: No OFD packet to send [20:14:47]OFD Sender: No OFD packet to send [20:14:52]OFD Sender: No OFD packet to send [20:14:57]OFD Sender: No OFD packet to send [20:15:02]OFD Sender: No OFD packet to send [20:15:07]OFD Sender: No OFD packet to send [20:15:12]OFD Sender: No OFD packet to send [20:15:17]OFD Sender: No OFD packet to send [20:15:22]OFD Sender: No OFD packet to send [20:15:27]OFD Sender: No OFD packet to send [20:15:32]OFD Sender: No OFD packet to send [20:15:37]OFD Sender: No OFD packet to send [20:15: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:47]OFD Sender: No OFD packet to send [20:19:52]OFD Sender: No OFD packet to send [20:19:57]OFD Sender: No OFD packet to send [20:20:02]OFD Sender: No OFD packet to send [20:20:07]OFD Sender: No OFD packet to send [20:20:12]OFD Sender: No OFD packet to send [20:20:17]OFD Sender: No OFD packet to send [20:20:22]OFD Sender: No OFD packet to send [20:20:27]OFD Sender: No OFD packet to send [20:20:32]OFD Sender: No OFD packet to send [20:20:37]OFD Sender: No OFD packet to send [20:20:42]OFD Sender: No OFD packet to send [20:20:47]OFD Sender: No OFD packet to send [20:20:52]OFD Sender: No OFD packet to send [20:20:57]OFD Sender: No OFD packet to send [20:21:02]OFD Sender: No OFD packet to send [20:21:07]OFD Sender: No OFD packet to send [20:21:12]OFD Sender: No OFD packet to send [20:21:17]OFD Sender: No OFD packet to send [20:21:22]OFD Sender: No OFD packet to send [20:21:27]OFD Sender: No OFD packet to send [20:21:32]OFD Sender: No OFD packet to send [20:21:37]OFD Sender: No OFD packet to send [20:21:42]OFD Sender: No OFD packet to send [20:21:47]OFD Sender: No OFD packet to send [20:21:52]OFD Sender: No OFD packet to send [20:21:57]OFD Sender: No OFD packet to send [20:22:02]OFD Sender: No OFD packet to send [20:22:07]OFD Sender: No OFD packet to send [20:22:12]OFD Sender: No OFD packet to send [20:22: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:42]accept exits with 9 [20:24:42]New connection [20:24:42]New thread 3066813796 created [20:24:42]Thread 3066957156 joined [20:24:42]Waiting for new connection... [20:24:42] Sock 9.Parse request [20:24:42]Sock 9.Check first char [20:24:42]Sock 9.First char is OK [20:24:42]request: POST /json_proto HTTP/1.0 [20:24:42]Method: POST [20:24:42]URL: /json_proto [20:24:42]Method is POST - this is cgi request [20:24:42]url: /json_proto [20:24:42]query_string will be loaded in cgi processing [20:24:42]execute_cgi json_proto POST (null) [20:24:42]execute_cgi path=json_proto method=POST [20:24:42]POST find Content-Length [20:24:42]Host: 172.17.62.6:8080 [20:24:42]Content-Length: 1212 [20:24:42]Content-Type: application/json [20:24:42] [20:24:42]POST finish read [20:24:42]Found Content-Length = 1212 [20:24:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32910", "tax_sys" : 0, "items" : [ { "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 55.00, "quantity" : 2.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 340.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:24:42]execute_script... [20:24:42]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32910", "tax_sys" : 0, "items" : [ { "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 55.00, "quantity" : 2.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 340.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:24:42]POST & json_proto [20:24:42]process_json_proto [20:24:42]json parsed OK: [20:24:42]protocol is kg_v1.0 [20:24:42]action value=close_receipt [20:24:42]process_action close_receipt [20:24:42]cmd_close_receipt [20:24:42]MH_GetDate [20:24:42]Write to MH i2c: F0 00 00 3C 03 2E [20:24:42]Write i2c OK [20:24:42]MH_I2C_Read... [20:24:42]Read from MH i2c: F0 [20:24:42]MH_I2C_Read... [20:24:42]Read from MH i2c: F0 09 00 [20:24:42]MH_I2C_Read... [20:24:42]Read from MH i2c: F0 09 00 3C 03 00 0B 76 25 66 61 69 D2 64 43 [20:24:42]GetLastDocTimeStamp 1713729139 [20:24:42]current date 1713731083 [20:24:42]FM_GetShiftState [20:24:42]SAM_PROTO_GetShiftState [20:24:42]wFMCommunicate request_size=4 [20:24:42]MH_SAM_APDU [20:24:42]CAPDU: 80 13 01 00 [20:24:42]Write to MH i2c: E2 08 00 3D 03 80 13 01 00 00 00 00 00 BD [20:24:42]Write i2c OK [20:24:42]MH_I2C_Read... [20:24:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:24:42]Read from MH i2c: E2 [20:24:42]MH_I2C_Read... [20:24:42]Read from MH i2c: E2 0E 00 [20:24:42]MH_I2C_Read... [20:24:42]Read from MH i2c: E2 0E 00 3D 03 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 15 [20:24:42]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [20:24:42]wFMCommunicate OK [20:24:42]SAM_PROTO_GetShiftState done [20:24:42]FM_GetShiftState done [20:24:42]opened in 1713658727 [20:24:42]opened+sec_in_day 1713745127 [20:24:42]quantity*price = 12000 [20:24:42]sum+1 = 12001 [20:24:42]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870022003305 Напиток Gorilla эн нат ж/б 0,5/0,45л 1.000 * 110.00 = 110.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870112003925 Конд ULKER-Albeni 40gr (6*24) 2.000 * 55.00 = 110.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 340.00 НСП 1% : 3.00 НДС 12% : 36.10 Наличными: 340.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 49 21.04.2024 20:24 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12637 ФПД: 252592446690495 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T202443&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12637&fm=252592446690495&tin=02508201610067®Number=0000000000100748&sum=34000 0 [20:24:43]StoreToDocumentArchive [20:24:43]shift 281 fd 12637 [20:24:43]save to /storage/0281/doc_00012637 [20:24:43]save last doc name /storage/0281/doc_00012637 to /storage/kkm_last_doc_name [20:24:43]save OK [20:24:43]Clear old archive folders... [20:24:43]ProcessDocumentItem done err = 0, tmpTLVsize=526 [20:24:43]tlvbuf is 016D8A80 [20:24:43]SAM_PROTO_ClearQueue [20:24:43]wFMCommunicate request_size=4 [20:24:43]MH_SAM_APDU [20:24:43]CAPDU: 80 09 00 00 [20:24:43]Write to MH i2c: E2 08 00 4A 03 80 09 00 00 00 00 00 00 BF [20:24:43]Write i2c OK [20:24:43]MH_I2C_Read... [20:24:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:24:43]Read from MH i2c: E2 [20:24:43]MH_I2C_Read... [20:24:43]Read from MH i2c: E2 03 00 [20:24:43]MH_I2C_Read... [20:24:43]Read from MH i2c: E2 03 00 4A 03 00 90 00 C1 [20:24:43]RAPDU: 90 00 [20:24:43]wFMCommunicate OK [20:24:43]SAM_PROTO_ClearQueue done [20:24:43]KKMCreateOFDPacket [20:24:43]OFDProtocolAddRootSTLVToBuf [20:24:43]FM_MakeSignedData [20:24:43]FM_MakeSignedData [20:24:43]SAM_PROTO_SignData [20:24:43]wFMCommunicate request_size=4 [20:24:43]MH_SAM_APDU [20:24:43]CAPDU: 80 0D 01 02 [20:24:43]Write to MH i2c: E2 08 00 4B 03 80 0D 01 02 00 00 00 00 C7 [20:24:43]Write i2c OK [20:24:43]MH_I2C_Read... [20:24:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:24:43]Read from MH i2c: E2 [20:24:43]MH_I2C_Read... [20:24:43]Read from MH i2c: E2 03 00 [20:24:43]MH_I2C_Read... [20:24:43]Read from MH i2c: E2 03 00 4B 03 00 90 00 C2 [20:24:43]RAPDU: 90 00 [20:24:43]wFMCommunicate OK [20:24:43]wFMCommunicate request_size=255 [20:24:43]MH_SAM_APDU [20:24:43]CAPDU: 80 0D 02 02 FA 03 00 0E 02 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 [20:24:43]Write to MH i2c: E2 02 01 4C 03 80 0D 02 02 FA 00 03 00 0E 02 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 00 00 3C [20:24:43]Write i2c OK [20:24:43]MH_I2C_Read... [20:24:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:24:43]Read from MH i2c: E2 [20:24:43]MH_I2C_Read... [20:24:43]Read from MH i2c: E2 03 00 [20:24:43]MH_I2C_Read... [20:24:43]Read from MH i2c: E2 03 00 4C 03 00 90 00 C3 [20:24:43]RAPDU: 90 00 [20:24:43]wFMCommunicate OK [20:24:43]wFMCommunicate request_size=255 [20:24:43]MH_SAM_APDU [20:24:43]CAPDU: 80 0D 02 02 FA F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 84 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1A 0E 00 00 00 00 07 04 06 00 D0 84 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 0B 76 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 [20:24:43]Write to MH i2c: E2 02 01 4D 03 80 0D 02 02 FA 00 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 84 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1A 0E 00 00 00 00 07 04 06 00 D0 84 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 0B 76 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 00 00 A3 [20:24:43]Write i2c OK [20:24:43]MH_I2C_Read... [20:24:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:24:44]Read from MH i2c: E2 [20:24:44]MH_I2C_Read... [20:24:44]Read from MH i2c: E2 03 00 [20:24:44]MH_I2C_Read... [20:24:44]Read from MH i2c: E2 03 00 4D 03 00 90 00 C4 [20:24:44]RAPDU: 90 00 [20:24:44]wFMCommunicate OK [20:24:44]wFMCommunicate request_size=35 [20:24:44]MH_SAM_APDU [20:24:44]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 5D 31 00 00 35 04 06 00 E5 BB 43 0E D4 BF [20:24:44]Write to MH i2c: E2 26 00 4E 03 80 0D 02 02 1E 00 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 5D 31 00 00 35 04 06 00 E5 BB 43 0E D4 BF 00 00 D7 [20:24:44]Write i2c OK [20:24:44]MH_I2C_Read... [20:24:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:24:44]Read from MH i2c: E2 [20:24:44]MH_I2C_Read... [20:24:44]Read from MH i2c: E2 03 00 [20:24:44]MH_I2C_Read... [20:24:44]Read from MH i2c: E2 03 00 4E 03 00 90 00 C5 [20:24:44]RAPDU: 90 00 [20:24:44]wFMCommunicate OK [20:24:44]wFMCommunicate request_size=4 [20:24:44]MH_SAM_APDU [20:24:44]CAPDU: 80 0D 03 02 [20:24:44]Write to MH i2c: E2 08 00 4F 03 80 0D 03 02 00 00 00 00 CD [20:24:44]Write i2c OK [20:24:44]MH_I2C_Read... [20:24:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:24:44]Read from MH i2c: E2 [20:24:44]MH_I2C_Read... [20:24:44]Read from MH i2c: E2 0B 00 [20:24:44]MH_I2C_Read... [20:24:44]Read from MH i2c: E2 0B 00 4F 03 00 1B 04 35 2F 4F 3F 1E 73 90 00 70 [20:24:44]RAPDU: 1B 04 35 2F 4F 3F 1E 73 90 00 [20:24:44]wFMCommunicate OK [20:24:44]SAM_PROTO_SignData done [20:24:44]FM_MakeSignedData done [20:24:44]CreateOFDProtocolMessage [20:24:44]wFMCommunicate request_size=4 [20:24:44]MH_SAM_APDU [20:24:44]CAPDU: 80 11 00 00 [20:24:44]Write to MH i2c: E2 08 00 50 03 80 11 00 00 00 00 00 00 CD [20:24:44]Write i2c OK [20:24:44]MH_I2C_Read... [20:24:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:24:44]Read from MH i2c: E2 [20:24:44]MH_I2C_Read... [20:24:44]Read from MH i2c: E2 17 00 [20:24:44]MH_I2C_Read... [20:24:44]Read from MH i2c: E2 17 00 50 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 27 [20:24:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [20:24:44]wFMCommunicate OK [20:24:44]CreateOFDProtocolMessage done [20:24:44]OFDSenderStorePacket 12637 [20:24:44]StoreOFDPacket docnum=12637 [20:24:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 22 02 00 00 3B 12 1A 02 51 4E 5A 03 01 00 03 00 0E 02 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 84 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1A 0E 00 00 00 00 07 04 06 00 D0 84 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 0B 76 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 5D 31 00 00 35 04 06 00 E5 BB 43 0E D4 BF 1B 04 35 2F 4F 3F 1E 73 [20:24:44]CheckFolder [20:24:44]dirname=/storage/ofd_packets [20:24:44]CheckFolder done [20:24:44]ProducePacketName [20:24:44]name=ofd_packets/00012637 [20:24:44]NVStorageSaveData ofd_packets/00012637 [20:24:44]File name is /storage/ofd_packets/00012637 [20:24:44]Write 576 bytes [20:24:44]NVStorageSaveData done [20:24:44]OFDSenderStorePacket done [20:24:44]KKMCreateOFDPacket done [20:24:44]NVStorageSaveData kkm_last_timestamp [20:24:44]File name is /storage/kkm_last_timestamp [20:24:44]Write 4 bytes [20:24:44]NVStorageSaveData done [20:24:44]ExternCall_PrintAddStr [20:24:44]wPrintStart [20:24:44]Write to MH i2c: 01 00 00 51 03 54 [20:24:44]Write i2c OK [20:24:44]MH_I2C_Read... [20:24:44]Read from MH i2c: 01 [20:24:44]MH_I2C_Read... [20:24:44]Read from MH i2c: 01 07 00 [20:24:44]MH_I2C_Read... [20:24:44]Read from MH i2c: 01 07 00 51 03 00 00 00 00 00 FF 0F 69 [20:24:44]RasterBufferAndPrint [20:24:44]line Счет N : (3)32910 [20:24:44]line ИНН: 02508201610067 [20:24:44]line Контрольно-Кассовый Чек [20:24:44]line ПРОДАЖА [20:24:44]line Товар: 5449000189356 [20:24:44]line Холодный чай Fuse манго ананас 1л [20:24:44]line 1.000 * 120.00 [20:24:44]line = 120.00 [20:24:44]line НДС 12% НСП 1% [20:24:44]line > о реализуемом товаре [20:24:44]line Товар: 4870022003305 [20:24:44]line Напиток Gorilla эн нат ж/б 0,5/0,45л [20:24:44]line 1.000 * 110.00 [20:24:44]line = 110.00 [20:24:44]line НДС 12% НСП 1% [20:24:44]line > о реализуемом товаре [20:24:44]line Товар: 4870112003925 [20:24:44]line Конд ULKER-Albeni 40gr (6*24) [20:24:44]line 2.000 * 55.00 [20:24:44]line = 110.00 [20:24:44]line НДС 12% НСП 1% [20:24:44]line > о реализуемом товаре [20:24:44]line ИТОГО: 340.00 [20:24:44]line НСП 1% : 3.00 [20:24:44]line НДС 12% : 36.10 [20:24:44]line Наличными: 340.00 [20:24:44]line Безнал.: 0.00 [20:24:44]line Место: АЗС № 106 "Партнер Нефть" [20:24:44]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [20:24:44]line СНО: Общий режим [20:24:44]line Чек 49 21.04.2024 20:24 [20:24:44]line Смена: 281 ФФД: 1.0 [20:24:44]line ЗНМ: 0300000004 [20:24:44]line РНМ: 0000000000100748 [20:24:44]line Версия ККМ: 001 [20:24:44]line ФМ: 0000000000965685 [20:24:44]line ФД: 12637 [20:24:44]line ФПД: 252592446690495 [20:24:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T202443&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12637&fm=252592446690495&tin=02508201610067®Number=0000000000100748&sum=34000 [20:24:44]OFD Sender: Processing packet 12637 [packets to send 7, broken 6] [20:24:44]ProducePacketName [20:24:44]name=ofd_packets/00012637 [20:24:44]OFD Sender: To server: pG, [20:24:44]CommunicateWithHost lk.salyk.kg:30040 [20:24:44]ConnectInit lk.salyk.kg [20:24:44]line 0 [20:24:44]written 0, free lines is 4095 [20:24:44]Connected sock=10 [20:24:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 22 02 00 00 3B 12 1A 02 51 4E 5A 03 01 00 03 00 0E 02 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 84 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1A 0E 00 00 00 00 07 04 06 00 D0 84 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 0B 76 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 5D 31 00 00 35 04 06 00 E5 BB 43 0E D4 BF 1B 04 35 2F 4F 3F 1E 73 [20:24:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 C3 E5 47 00 21 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 39 36 35 36 38 35 10 04 04 00 5D 31 00 00 F4 03 04 00 8B 1E 25 66 B6 04 01 00 00 79 81 85 39 32 CC 07 E6 [20:24:45]CommunicateWithHost err = 0 [20:24:45]CheckOFDResponse [20:24:45]1017 (14) - 77093643461234 [20:24:45]1041 (16) - 0000000000965685 [20:24:45]1040 (4) - 12637 [20:24:45]1012 (4) - 21.04.2024 14:11 [20:24:45]1206 (1) - 0 [20:24:45]OFD Sender: Remove packet 12637 [20:24:45]ProducePacketName [20:24:45]name=ofd_packets/00012637 [20:24:45]NVStorageDeleteData [20:24:45]Write to MH i2c: 01 00 00 86 03 89 [20:24:45]Write i2c OK [20:24:45]MH_I2C_Read... [20:24:45]Read from MH i2c: 01 [20:24:45]MH_I2C_Read... [20:24:45]Read from MH i2c: 01 07 00 [20:24:45]MH_I2C_Read... [20:24:45]Read from MH i2c: 01 07 00 86 03 00 00 00 00 00 38 0C D4 [20:24:45]RasterBufferAndPrint [20:24:45]line [20:24:45]line [20:24:45]line [20:24:45]line [20:24:45]line [20:24:45]written 0, free lines is 3134 [20:24:45]MH_Cut [20:24:45]Write to MH i2c: D1 01 00 8D 03 01 62 [20:24:45]Write i2c OK [20:24:45]MH_I2C_Read... [20:24:45]Read from MH i2c: D1 [20:24:45]MH_I2C_Read... [20:24:45]Read from MH i2c: D1 01 00 [20:24:45]MH_I2C_Read... [20:24:45]Read from MH i2c: D1 01 00 8D 03 00 61 [20:24:45]Write to MH i2c: 01 00 00 8E 03 91 [20:24:45]Write i2c OK [20:24:45]MH_I2C_Read... [20:24:45]OFD Sender: No OFD packet to send [20:24:46]*** Cut start [20:24:46]*** Partial cut [20:24:46]*** CUTSNS_PIN = 1 [20:24:46]*** CUTSNS_PIN = 0 [20:24:46]*** Brake cut motor [20:24:46]Read from MH i2c: 01 [20:24:46]MH_I2C_Read... [20:24:46]*** Stop cut motor [20:24:46]*** Cut end [20:24:46]Read from MH i2c: 01 07 00 [20:24:46]MH_I2C_Read... [20:24:46]Read from MH i2c: 01 07 00 8E 03 00 00 00 00 00 FF 0F A6 [20:24:46]process_action close_receipt done [20:24:46]requested_data is exist [20:24:46]produce_requested_data [20:24:46]requested_item fm.sn is exist - process it [20:24:46]wFMCommunicate request_size=4 [20:24:46]MH_SAM_APDU [20:24:46]CAPDU: 80 11 00 00 [20:24:46]Write to MH i2c: E2 08 00 8F 03 80 11 00 00 00 00 00 00 0C [20:24:46]Write i2c OK [20:24:46]MH_I2C_Read... [20:24:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:24:46]Read from MH i2c: E2 [20:24:46]MH_I2C_Read... [20:24:46]Read from MH i2c: E2 17 00 [20:24:46]MH_I2C_Read... [20:24:46]Read from MH i2c: E2 17 00 8F 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 66 [20:24:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [20:24:46]wFMCommunicate OK [20:24:46]requested_item fd.num is exist - process it [20:24:46]SAM_PROTO_GetFieldsCounters [20:24:46]wFMCommunicate request_size=4 [20:24:46]MH_SAM_APDU [20:24:46]CAPDU: 80 13 00 00 [20:24:46]Write to MH i2c: E2 08 00 90 03 80 13 00 00 00 00 00 00 0F [20:24:46]Write i2c OK [20:24:46]MH_I2C_Read... [20:24:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:24:46]Read from MH i2c: E2 [20:24:46]MH_I2C_Read... [20:24:46]Read from MH i2c: E2 62 00 [20:24:46]MH_I2C_Read... [20:24:46]Read from MH i2c: E2 62 00 90 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 5D 31 00 00 0E 04 04 00 19 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 6D [20:24:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 5D 31 00 00 0E 04 04 00 19 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 [20:24:46]wFMCommunicate OK [20:24:46]SAM_PROTO_GetFieldsCounters done [20:24:46]requested_item shift.num is exist - process it [20:24:46]requested_item shift.opened is exist - process it [20:24:46]req_shift_opened [20:24:46]FM_GetShiftState [20:24:46]SAM_PROTO_GetShiftState [20:24:46]wFMCommunicate request_size=4 [20:24:46]MH_SAM_APDU [20:24:46]CAPDU: 80 13 01 00 [20:24:46]Write to MH i2c: E2 08 00 91 03 80 13 01 00 00 00 00 00 11 [20:24:46]Write i2c OK [20:24:46]MH_I2C_Read... [20:24:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:24:47]Read from MH i2c: E2 [20:24:47]MH_I2C_Read... [20:24:47]Read from MH i2c: E2 0E 00 [20:24:47]MH_I2C_Read... [20:24:47]Read from MH i2c: E2 0E 00 91 03 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 69 [20:24:47]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [20:24:47]wFMCommunicate OK [20:24:47]SAM_PROTO_GetShiftState done [20:24:47]FM_GetShiftState done [20:24:47]req_shift_opened done [20:24:47]requested_item shift.open_date is exist - process it [20:24:47]req_shift_open_date [20:24:47]req_shift_open_date done [20:24:47]produce_requested_data done [20:24:47]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12637,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [20:24:47]process_action_free close_receipt [20:24:47]json_value_free [20:24:47]json_value_free done [20:24:47]process_json_proto returns [20:24:47]Send response to host [20:24:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12637,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [20:24:47]free response buf [20:24:47]execute_script done [20:24:47]execute_script returns [20:24:47]free content buf [20:24:47]Sock 9.Close socket [20:24:47]Sock 9.Thread stoped [20:24:50]OFD Sender: No OFD packet to send [20:24:55]OFD Sender: No OFD packet to send [20:25:00]OFD Sender: No OFD packet to send [20:25:05]OFD Sender: No OFD packet to send [20:25:10]OFD Sender: No OFD packet to send [20:25:15]OFD Sender: No OFD packet to send [20:25:20]OFD Sender: No OFD packet to send [20:25:25]OFD Sender: No OFD packet to send [20:25:30]OFD Sender: No OFD packet to send [20:25:35]OFD Sender: No OFD packet to send [20:25:40]OFD Sender: No OFD packet to send [20:25:45]OFD Sender: No OFD packet to send [20:25:50]OFD Sender: No OFD packet to send [20:25:55]OFD Sender: No OFD packet to send [20:26:00]OFD Sender: No OFD packet to send [20:26:05]OFD Sender: No OFD packet to send [20:26:10]OFD Sender: No OFD packet to send [20:26:15]OFD Sender: No OFD packet to send [20:26:20]OFD Sender: No OFD packet to send [20:26:25]OFD Sender: No OFD packet to send [20:26:30]OFD Sender: No OFD packet to send [20:26:35]OFD Sender: No OFD packet to send [20:26:40]OFD Sender: No OFD packet to send [20:26:45]OFD Sender: No OFD packet to send [20:26:50]OFD Sender: No OFD packet to send [20:26:55]OFD Sender: No OFD packet to send [20:27:00]OFD Sender: No OFD packet to send [20:27:05]OFD Sender: No OFD packet to send [20:27:10]OFD Sender: No OFD packet to send [20:27:15]OFD Sender: No OFD packet to send [20:27:20]OFD Sender: No OFD packet to send [20:27:25]OFD Sender: No OFD packet to send [20:27:30]OFD Sender: No OFD packet to send [20:27:35]OFD Sender: No OFD packet to send [20:27:40]OFD Sender: No OFD packet to send [20:27:45]OFD Sender: No OFD packet to send [20:27:50]OFD Sender: No OFD packet to send [20:27:55]OFD Sender: No OFD packet to send [20:28:00]OFD Sender: No OFD packet to send [20:28:05]OFD Sender: No OFD packet to send [20:28:10]OFD Sender: No OFD packet to send [20:28:15]OFD Sender: No OFD packet to send [20:28:20]OFD Sender: No OFD packet to send [20:28:25]OFD Sender: No OFD packet to send [20:28:30]OFD Sender: No OFD packet to send [20:28:35]OFD Sender: No OFD packet to send [20:28:40]OFD Sender: No OFD packet to send [20:28:45]OFD Sender: No OFD packet to send [20:28:50]OFD Sender: No OFD packet to send [20:28:55]OFD Sender: No OFD packet to send [20:29:00]OFD Sender: No OFD packet to send [20:29:05]OFD Sender: No OFD packet to send [20:29:10]OFD Sender: No OFD packet to send [20:29:15]OFD Sender: No OFD packet to send [20:29:20]OFD Sender: No OFD packet to send [20:29:25]OFD Sender: No OFD packet to send [20:29:30]OFD Sender: No OFD packet to send [20:29:35]OFD Sender: No OFD packet to send [20:29:40]OFD Sender: No OFD packet to send [20:29:45]OFD Sender: No OFD packet to send [20:29:50]OFD Sender: No OFD packet to send [20:29:55]OFD Sender: No OFD packet to send [20:30:00]OFD Sender: No OFD packet to send [20:30:05]OFD Sender: No OFD packet to send [20:30:10]OFD Sender: No OFD packet to send [20:30:15]OFD Sender: No OFD packet to send [20:30:20]OFD Sender: No OFD packet to send [20:30:25]OFD Sender: No OFD packet to send [20:30:30]OFD Sender: No OFD packet to send [20:30:35]OFD Sender: No OFD packet to send [20:30:40]OFD Sender: No OFD packet to send [20:30:45]OFD Sender: No OFD packet to send [20:30:50]OFD Sender: No OFD packet to send [20:30:55]OFD Sender: No OFD packet to send [20:31:00]OFD Sender: No OFD packet to send [20:31:05]OFD Sender: No OFD packet to send [20:31:10]OFD Sender: No OFD packet to send [20:31:15]OFD Sender: No OFD packet to send [20:31:20]OFD Sender: No OFD packet to send [20:31:25]OFD Sender: No OFD packet to send [20:31:30]OFD Sender: No OFD packet to send [20:31:35]OFD Sender: No OFD packet to send [20:31:40]OFD Sender: No OFD packet to send [20:31:45]OFD Sender: No OFD packet to send [20:31:50]OFD Sender: No OFD packet to send [20:31:55]OFD Sender: No OFD packet to send [20:32:00]OFD Sender: No OFD packet to send [20:32:05]OFD Sender: No OFD packet to send [20:32:10]OFD Sender: No OFD packet to send [20:32:15]OFD Sender: No OFD packet to send [20:32:20]OFD Sender: No OFD packet to send [20:32:25]OFD Sender: No OFD packet to send [20:32:30]OFD Sender: No OFD packet to send [20:32:35]OFD Sender: No OFD packet to send [20:32:40]OFD Sender: No OFD packet to send [20:32:45]OFD Sender: No OFD packet to send [20:32:50]OFD Sender: No OFD packet to send [20:32:55]OFD Sender: No OFD packet to send [20:33:00]OFD Sender: No OFD packet to send [20:33:05]OFD Sender: No OFD packet to send [20:33:11]OFD Sender: No OFD packet to send [20:33:16]OFD Sender: No OFD packet to send [20:33:21]OFD Sender: No OFD packet to send [20:33:26]OFD Sender: No OFD packet to send [20:33:31]OFD Sender: No OFD packet to send [20:33:36]OFD Sender: No OFD packet to send [20:33:41]OFD Sender: No OFD packet to send [20:33:46]OFD Sender: No OFD packet to send [20:33:51]OFD Sender: No OFD packet to send [20:33:56]OFD Sender: No OFD packet to send [20:34:01]OFD Sender: No OFD packet to send [20:34:06]OFD Sender: No OFD packet to send [20:34:11]OFD Sender: No OFD packet to send [20:34:16]OFD Sender: No OFD packet to send [20:34:21]OFD Sender: No OFD packet to send [20:34:26]OFD Sender: No OFD packet to send [20:34:31]OFD Sender: No OFD packet to send [20:34:36]OFD Sender: No OFD packet to send [20:34:41]OFD Sender: No OFD packet to send [20:34:46]OFD Sender: No OFD packet to send [20:34:51]OFD Sender: No OFD packet to send [20:34:56]OFD Sender: No OFD packet to send [20:35:01]OFD Sender: No OFD packet to send [20:35:06]OFD Sender: No OFD packet to send [20:35:11]OFD Sender: No OFD packet to send [20:35:16]OFD Sender: No OFD packet to send [20:35:21]OFD Sender: No OFD packet to send [20:35:26]OFD Sender: No OFD packet to send [20:35:31]OFD Sender: No OFD packet to send [20:35:36]OFD Sender: No OFD packet to send [20:35:41]OFD Sender: No OFD packet to send [20:35:46]OFD Sender: No OFD packet to send [20:35:51]OFD Sender: No OFD packet to send [20:35:56]OFD Sender: No OFD packet to send [20:36:01]OFD Sender: No OFD packet to send [20:36:06]OFD Sender: No OFD packet to send [20:36:11]OFD Sender: No OFD packet to send [20:36:16]OFD Sender: No OFD packet to send [20:36:21]OFD Sender: No OFD packet to send [20:36:26]OFD Sender: No OFD packet to send [20:36:31]OFD Sender: No OFD packet to send [20:36:36]OFD Sender: No OFD packet to send [20:36:41]OFD Sender: No OFD packet to send [20:36:46]OFD Sender: No OFD packet to send [20:36:51]OFD Sender: No OFD packet to send [20:36:56]OFD Sender: No OFD packet to send [20:37:01]OFD Sender: No OFD packet to send [20:37:06]OFD Sender: No OFD packet to send [20:37:11]OFD Sender: No OFD packet to send [20:37:16]OFD Sender: No OFD packet to send [20:37:21]OFD Sender: No OFD packet to send [20:37:26]OFD Sender: No OFD packet to send [20:37:31]OFD Sender: No OFD packet to send [20:37:36]OFD Sender: No OFD packet to send [20:37:41]OFD Sender: No OFD packet to send [20:37:46]OFD Sender: No OFD packet to send [20:37:51]OFD Sender: No OFD packet to send [20:37:56]OFD Sender: No OFD packet to send [20:38:01]OFD Sender: No OFD packet to send [20:38:06]OFD Sender: No OFD packet to send [20:38:11]OFD Sender: No OFD packet to send [20:38:16]OFD Sender: No OFD packet to send [20:38:21]OFD Sender: No OFD packet to send [20:38:26]OFD Sender: No OFD packet to send [20:38:31]OFD Sender: No OFD packet to send [20:38:36]OFD Sender: No OFD packet to send [20:38:41]OFD Sender: No OFD packet to send [20:38:46]OFD Sender: No OFD packet to send [20:38:51]OFD Sender: No OFD packet to send [20:38:56]OFD Sender: No OFD packet to send [20:39:01]OFD Sender: No OFD packet to send [20:39:06]OFD Sender: No OFD packet to send [20:39:11]OFD Sender: No OFD packet to send [20:39:16]OFD Sender: No OFD packet to send [20:39:21]OFD Sender: No OFD packet to send [20:39:26]OFD Sender: No OFD packet to send [20:39:31]OFD Sender: No OFD packet to send [20:39:36]OFD Sender: No OFD packet to send [20:39:41]OFD Sender: No OFD packet to send [20:39:46]OFD Sender: No OFD packet to send [20:39:51]OFD Sender: No OFD packet to send [20:39:56]OFD Sender: No OFD packet to send [20:40:01]OFD Sender: No OFD packet to send [20:40:06]OFD Sender: No OFD packet to send [20:40:11]OFD Sender: No OFD packet to send [20:40:16]OFD Sender: No OFD packet to send [20:40:21]OFD Sender: No OFD packet to send [20:40:26]OFD Sender: No OFD packet to send [20:40:31]OFD Sender: No OFD packet to send [20:40:36]OFD Sender: No OFD packet to send [20:40:41]OFD Sender: No OFD packet to send [20:40:46]OFD Sender: No OFD packet to send [20:40:51]OFD Sender: No OFD packet to send [20:40:56]OFD Sender: No OFD packet to send [20:41:01]OFD Sender: No OFD packet to send [20:41:06]OFD Sender: No OFD packet to send [20:41:11]OFD Sender: No OFD packet to send [20:41:16]OFD Sender: No OFD packet to send [20:41:21]OFD Sender: No OFD packet to send [20:41:26]OFD Sender: No OFD packet to send [20:41:31]OFD Sender: No OFD packet to send [20:41:36]OFD Sender: No OFD packet to send [20:41:41]OFD Sender: No OFD packet to send [20:41:46]OFD Sender: No OFD packet to send [20:41:51]OFD Sender: No OFD packet to send [20:41:56]OFD Sender: No OFD packet to send [20:42:01]OFD Sender: No OFD packet to send [20:42:06]OFD Sender: No OFD packet to send [20:42:11]OFD Sender: No OFD packet to send [20:42:16]OFD Sender: No OFD packet to send [20:42:21]OFD Sender: No OFD packet to send [20:42:26]OFD Sender: No OFD packet to send [20:42:31]OFD Sender: No OFD packet to send [20:42:36]OFD Sender: No OFD packet to send [20:42:41]OFD Sender: No OFD packet to send [20:42:46]OFD Sender: No OFD packet to send [20:42:51]OFD Sender: No OFD packet to send [20:42:56]OFD Sender: No OFD packet to send [20:43:01]OFD Sender: No OFD packet to send [20:43:06]OFD Sender: No OFD packet to send [20:43:11]OFD Sender: No OFD packet to send [20:43:16]OFD Sender: No OFD packet to send [20:43:21]OFD Sender: No OFD packet to send [20:43:26]OFD Sender: No OFD packet to send [20:43:31]OFD Sender: No OFD packet to send [20:43:36]OFD Sender: No OFD packet to send [20:43:41]OFD Sender: No OFD packet to send [20:43:46]OFD Sender: No OFD packet to send [20:43:51]OFD Sender: No OFD packet to send [20:43:56]OFD Sender: No OFD packet to send [20:44:01]OFD Sender: No OFD packet to send [20:44:06]OFD Sender: No OFD packet to send [20:44:11]OFD Sender: No OFD packet to send [20:44:16]OFD Sender: No OFD packet to send [20:44:21]OFD Sender: No OFD packet to send [20:44:26]OFD Sender: No OFD packet to send [20:44:31]OFD Sender: No OFD packet to send [20:44:36]OFD Sender: No OFD packet to send [20:44:41]OFD Sender: No OFD packet to send [20:44:46]OFD Sender: No OFD packet to send [20:44:51]OFD Sender: No OFD packet to send [20:44:56]OFD Sender: No OFD packet to send [20:45:01]OFD Sender: No OFD packet to send [20:45:06]OFD Sender: No OFD packet to send [20:45:11]OFD Sender: No OFD packet to send [20:45:16]OFD Sender: No OFD packet to send [20:45:21]OFD Sender: No OFD packet to send [20:45:26]OFD Sender: No OFD packet to send [20:45:31]OFD Sender: No OFD packet to send [20:45:36]OFD Sender: No OFD packet to send [20:45:41]OFD Sender: No OFD packet to send [20:45:46]OFD Sender: No OFD packet to send [20:45:51]OFD Sender: No OFD packet to send [20:45:56]OFD Sender: No OFD packet to send [20:46:01]OFD Sender: No OFD packet to send [20:46:06]OFD Sender: No OFD packet to send [20:46:11]OFD Sender: No OFD packet to send [20:46:16]OFD Sender: No OFD packet to send [20:46:21]OFD Sender: No OFD packet to send [20:46:26]OFD Sender: No OFD packet to send [20:46:31]OFD Sender: No OFD packet to send [20:46:36]OFD Sender: No OFD packet to send [20:46:41]OFD Sender: No OFD packet to send [20:46:46]OFD Sender: No OFD packet to send [20:46:51]OFD Sender: No OFD packet to send [20:46:56]OFD Sender: No OFD packet to send [20:47:01]OFD Sender: No OFD packet to send [20:47:06]OFD Sender: No OFD packet to send [20:47:11]OFD Sender: No OFD packet to send [20:47:16]OFD Sender: No OFD packet to send [20:47:21]OFD Sender: No OFD packet to send [20:47:26]OFD Sender: No OFD packet to send [20:47:31]OFD Sender: No OFD packet to send [20:47:36]OFD Sender: No OFD packet to send [20:47:41]OFD Sender: No OFD packet to send [20:47:46]OFD Sender: No OFD packet to send [20:47:51]OFD Sender: No OFD packet to send [20:47:56]OFD Sender: No OFD packet to send [20:48:01]OFD Sender: No OFD packet to send [20:48:06]OFD Sender: No OFD packet to send [20:48:11]OFD Sender: No OFD packet to send [20:48:16]OFD Sender: No OFD packet to send [20:48:21]OFD Sender: No OFD packet to send [20:48:26]OFD Sender: No OFD packet to send [20:48:31]OFD Sender: No OFD packet to send [20:48:36]OFD Sender: No OFD packet to send [20:48:41]OFD Sender: No OFD packet to send [20:48:46]OFD Sender: No OFD packet to send [20:48:51]OFD Sender: No OFD packet to send [20:48:56]OFD Sender: No OFD packet to send [20:49:01]OFD Sender: No OFD packet to send [20:49:06]OFD Sender: No OFD packet to send [20:49:11]OFD Sender: No OFD packet to send [20:49:16]OFD Sender: No OFD packet to send [20:49:21]OFD Sender: No OFD packet to send [20:49:26]OFD Sender: No OFD packet to send [20:49:31]OFD Sender: No OFD packet to send [20:49:36]OFD Sender: No OFD packet to send [20:49:41]OFD Sender: No OFD packet to send [20:49:46]OFD Sender: No OFD packet to send [20:49:51]OFD Sender: No OFD packet to send [20:49:56]OFD Sender: No OFD packet to send [20:50:01]OFD Sender: No OFD packet to send [20:50:06]OFD Sender: No OFD packet to send [20:50:11]OFD Sender: No OFD packet to send [20:50:16]OFD Sender: No OFD packet to send [20:50:21]OFD Sender: No OFD packet to send [20:50:26]OFD Sender: No OFD packet to send [20:50:31]OFD Sender: No OFD packet to send [20:50:36]OFD Sender: No OFD packet to send [20:50:41]OFD Sender: No OFD packet to send [20:50:46]OFD Sender: No OFD packet to send [20:50:51]OFD Sender: No OFD packet to send [20:50:56]OFD Sender: No OFD packet to send [20:51:01]OFD Sender: No OFD packet to send [20:51:06]OFD Sender: No OFD packet to send [20:51:11]OFD Sender: No OFD packet to send [20:51:16]OFD Sender: No OFD packet to send [20:51:21]OFD Sender: No OFD packet to send [20:51:26]OFD Sender: No OFD packet to send [20:51:31]OFD Sender: No OFD packet to send [20:51:36]OFD Sender: No OFD packet to send [20:51:41]OFD Sender: No OFD packet to send [20:51:46]OFD Sender: No OFD packet to send [20:51:51]OFD Sender: No OFD packet to send [20:51:56]OFD Sender: No OFD packet to send [20:52:01]OFD Sender: No OFD packet to send [20:52:06]OFD Sender: No OFD packet to send [20:52:11]OFD Sender: No OFD packet to send [20:52:16]OFD Sender: No OFD packet to send [20:52:21]OFD Sender: No OFD packet to send [20:52:26]OFD Sender: No OFD packet to send [20:52:31]OFD Sender: No OFD packet to send [20:52:36]OFD Sender: No OFD packet to send [20:52:41]OFD Sender: No OFD packet to send [20:52:46]OFD Sender: No OFD packet to send [20:52:51]OFD Sender: No OFD packet to send [20:52:56]OFD Sender: No OFD packet to send [20:53:01]OFD Sender: No OFD packet to send [20:53:06]OFD Sender: No OFD packet to send [20:53:11]OFD Sender: No OFD packet to send [20:53:16]OFD Sender: No OFD packet to send [20:53:21]OFD Sender: No OFD packet to send [20:53:26]OFD Sender: No OFD packet to send [20:53:31]OFD Sender: No OFD packet to send [20:53:36]OFD Sender: No OFD packet to send [20:53:41]OFD Sender: No OFD packet to send [20:53:46]OFD Sender: No OFD packet to send [20:53:51]OFD Sender: No OFD packet to send [20:53:56]OFD Sender: No OFD packet to send [20:54:01]OFD Sender: No OFD packet to send [20:54:06]OFD Sender: No OFD packet to send [20:54:11]OFD Sender: No OFD packet to send [20:54:16]OFD Sender: No OFD packet to send [20:54:21]OFD Sender: No OFD packet to send [20:54:26]OFD Sender: No OFD packet to send [20:54:31]OFD Sender: No OFD packet to send [20:54:37]OFD Sender: No OFD packet to send [20:54:42]OFD Sender: No OFD packet to send [20:54:47]OFD Sender: No OFD packet to send [20:54:52]OFD Sender: No OFD packet to send [20:54:57]OFD Sender: No OFD packet to send [20:55:02]OFD Sender: No OFD packet to send [20:55:07]OFD Sender: No OFD packet to send [20:55:12]OFD Sender: No OFD packet to send [20:55:17]OFD Sender: No OFD packet to send [20:55:22]OFD Sender: No OFD packet to send [20:55:27]OFD Sender: No OFD packet to send [20:55:32]OFD Sender: No OFD packet to send [20:55:37]OFD Sender: No OFD packet to send [20:55:42]OFD Sender: No OFD packet to send [20:55:47]OFD Sender: No OFD packet to send [20:55:52]OFD Sender: No OFD packet to send [20:55:57]OFD Sender: No OFD packet to send [20:56:02]OFD Sender: No OFD packet to send [20:56:07]OFD Sender: No OFD packet to send [20:56:12]OFD Sender: No OFD packet to send [20:56:17]OFD Sender: No OFD packet to send [20:56:22]OFD Sender: No OFD packet to send [20:56:27]OFD Sender: No OFD packet to send [20:56:32]OFD Sender: No OFD packet to send [20:56:37]OFD Sender: No OFD packet to send [20:56:40]accept exits with 7 [20:56:40]New connection [20:56:40]New thread 3066957156 created [20:56:40]Thread 3066813796 joined [20:56:40]Waiting for new connection... [20:56:40] Sock 7.Parse request [20:56:40]Sock 7.Check first char [20:56:40]Sock 7.First char is OK [20:56:40]request: POST /json_proto HTTP/1.0 [20:56:40]Method: POST [20:56:40]URL: /json_proto [20:56:40]Method is POST - this is cgi request [20:56:40]url: /json_proto [20:56:40]query_string will be loaded in cgi processing [20:56:40]execute_cgi json_proto POST (null) [20:56:40]execute_cgi path=json_proto method=POST [20:56:40]POST find Content-Length [20:56:40]Host: 172.17.62.6:8080 [20:56:40]Content-Length: 942 [20:56:40]Content-Type: application/json [20:56:40] [20:56:40]POST finish read [20:56:40]Found Content-Length = 942 [20:56:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32911", "tax_sys" : 0, "items" : [ { "code": "42113270", "name": "\u0416\u0435\u0432 Orbit \u0430\u0440\u0431\u0443\u0437", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000481989", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043A\u0438\u0432\u0438-\u043C\u0430\u043D\u0433\u043E\u0441\u0442\u0438\u043D 0,45 ", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:56:40]execute_script... [20:56:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32911", "tax_sys" : 0, "items" : [ { "code": "42113270", "name": "\u0416\u0435\u0432 Orbit \u0430\u0440\u0431\u0443\u0437", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000481989", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043A\u0438\u0432\u0438-\u043C\u0430\u043D\u0433\u043E\u0441\u0442\u0438\u043D 0,45 ", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:56:40]POST & json_proto [20:56:40]process_json_proto [20:56:40]json parsed OK: [20:56:40]protocol is kg_v1.0 [20:56:40]action value=close_receipt [20:56:40]process_action close_receipt [20:56:40]cmd_close_receipt [20:56:40]MH_GetDate [20:56:40]Write to MH i2c: F0 00 00 92 03 84 [20:56:40]Write i2c OK [20:56:40]MH_I2C_Read... [20:56:40]Read from MH i2c: F0 [20:56:40]MH_I2C_Read... [20:56:40]Read from MH i2c: F0 09 00 [20:56:40]MH_I2C_Read... [20:56:40]Read from MH i2c: F0 09 00 92 03 00 89 7D 25 66 61 69 D2 64 1E [20:56:40]GetLastDocTimeStamp 1713731083 [20:56:40]current date 1713733001 [20:56:40]FM_GetShiftState [20:56:40]SAM_PROTO_GetShiftState [20:56:40]wFMCommunicate request_size=4 [20:56:40]MH_SAM_APDU [20:56:40]CAPDU: 80 13 01 00 [20:56:40]Write to MH i2c: E2 08 00 93 03 80 13 01 00 00 00 00 00 13 [20:56:40]Write i2c OK [20:56:40]MH_I2C_Read... [20:56:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:56:40]Read from MH i2c: E2 [20:56:40]MH_I2C_Read... [20:56:40]Read from MH i2c: E2 0E 00 [20:56:40]MH_I2C_Read... [20:56:40]Read from MH i2c: E2 0E 00 93 03 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 6B [20:56:40]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [20:56:40]wFMCommunicate OK [20:56:40]SAM_PROTO_GetShiftState done [20:56:40]FM_GetShiftState done [20:56:40]opened in 1713658727 [20:56:40]opened+sec_in_day 1713745127 [20:56:40]quantity*price = 3500 [20:56:40]sum+1 = 3501 [20:56:40]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000481989 Напиток энерг Nitro киви-мангостин 0,45 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.81 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 50 21.04.2024 20:56 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12638 ФПД: 212447752149014 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T205641&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12638&fm=212447752149014&tin=02508201610067®Number=0000000000100748&sum=13000 0 [20:56:41]StoreToDocumentArchive [20:56:41]shift 281 fd 12638 [20:56:41]save to /storage/0281/doc_00012638 [20:56:41]save last doc name /storage/0281/doc_00012638 to /storage/kkm_last_doc_name [20:56:41]save OK [20:56:41]Clear old archive folders... [20:56:41]ProcessDocumentItem done err = 0, tmpTLVsize=397 [20:56:41]tlvbuf is 0163D800 [20:56:41]SAM_PROTO_ClearQueue [20:56:41]wFMCommunicate request_size=4 [20:56:41]MH_SAM_APDU [20:56:41]CAPDU: 80 09 00 00 [20:56:41]Write to MH i2c: E2 08 00 A0 03 80 09 00 00 00 00 00 00 15 [20:56:41]Write i2c OK [20:56:41]MH_I2C_Read... [20:56:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:56:41]Read from MH i2c: E2 [20:56:41]MH_I2C_Read... [20:56:41]Read from MH i2c: E2 03 00 [20:56:41]MH_I2C_Read... [20:56:41]Read from MH i2c: E2 03 00 A0 03 00 90 00 17 [20:56:41]RAPDU: 90 00 [20:56:41]wFMCommunicate OK [20:56:41]SAM_PROTO_ClearQueue done [20:56:41]KKMCreateOFDPacket [20:56:41]OFDProtocolAddRootSTLVToBuf [20:56:41]FM_MakeSignedData [20:56:41]FM_MakeSignedData [20:56:41]SAM_PROTO_SignData [20:56:41]wFMCommunicate request_size=4 [20:56:41]MH_SAM_APDU [20:56:41]CAPDU: 80 0D 01 02 [20:56:41]Write to MH i2c: E2 08 00 A1 03 80 0D 01 02 00 00 00 00 1D [20:56:41]Write i2c OK [20:56:41]MH_I2C_Read... [20:56:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:56:41]Read from MH i2c: E2 [20:56:41]MH_I2C_Read... [20:56:41]Read from MH i2c: E2 03 00 [20:56:41]MH_I2C_Read... [20:56:41]Read from MH i2c: E2 03 00 A1 03 00 90 00 18 [20:56:41]RAPDU: 90 00 [20:56:41]wFMCommunicate OK [20:56:41]wFMCommunicate request_size=255 [20:56:41]MH_SAM_APDU [20:56:41]CAPDU: 80 0D 02 02 FA 03 00 8D 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 85 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 38 39 06 04 41 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BA D0 B8 D0 B2 D0 B8 2D D0 BC D0 B0 D0 BD D0 B3 D0 BE D1 81 D1 82 D0 B8 D0 BD 20 30 2C 34 35 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 [20:56:41]Write to MH i2c: E2 02 01 A2 03 80 0D 02 02 FA 00 03 00 8D 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 85 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 38 39 06 04 41 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BA D0 B8 D0 B2 D0 B8 2D D0 BC D0 B0 D0 BD D0 B3 D0 BE D1 81 D1 82 D0 B8 D0 BD 20 30 2C 34 35 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 00 00 8B [20:56:41]Write i2c OK [20:56:41]MH_I2C_Read... [20:56:42]OFD Sender: No OFD packet to send [20:56:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:56:42]Read from MH i2c: E2 [20:56:42]MH_I2C_Read... [20:56:42]Read from MH i2c: E2 03 00 [20:56:42]MH_I2C_Read... [20:56:42]Read from MH i2c: E2 03 00 A2 03 00 90 00 19 [20:56:42]RAPDU: 90 00 [20:56:42]wFMCommunicate OK [20:56:42]wFMCommunicate request_size=156 [20:56:42]MH_SAM_APDU [20:56:42]CAPDU: 80 0D 02 02 97 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 65 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 89 7D 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 5E 31 00 00 35 04 06 00 C1 38 58 CC D8 16 [20:56:42]Write to MH i2c: E2 9F 00 A3 03 80 0D 02 02 97 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 65 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 89 7D 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 5E 31 00 00 35 04 06 00 C1 38 58 CC D8 16 00 00 C7 [20:56:42]Write i2c OK [20:56:42]MH_I2C_Read... [20:56:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:56:42]Read from MH i2c: E2 [20:56:42]MH_I2C_Read... [20:56:42]Read from MH i2c: E2 03 00 [20:56:42]MH_I2C_Read... [20:56:42]Read from MH i2c: E2 03 00 A3 03 00 90 00 1A [20:56:42]RAPDU: 90 00 [20:56:42]wFMCommunicate OK [20:56:42]wFMCommunicate request_size=4 [20:56:42]MH_SAM_APDU [20:56:42]CAPDU: 80 0D 03 02 [20:56:42]Write to MH i2c: E2 08 00 A4 03 80 0D 03 02 00 00 00 00 22 [20:56:42]Write i2c OK [20:56:42]MH_I2C_Read... [20:56:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:56:42]Read from MH i2c: E2 [20:56:42]MH_I2C_Read... [20:56:42]Read from MH i2c: E2 0B 00 [20:56:42]MH_I2C_Read... [20:56:42]Read from MH i2c: E2 0B 00 A4 03 00 F8 89 1D 46 BC A6 49 94 90 00 46 [20:56:42]RAPDU: F8 89 1D 46 BC A6 49 94 90 00 [20:56:42]wFMCommunicate OK [20:56:42]SAM_PROTO_SignData done [20:56:42]FM_MakeSignedData done [20:56:42]CreateOFDProtocolMessage [20:56:42]wFMCommunicate request_size=4 [20:56:42]MH_SAM_APDU [20:56:42]CAPDU: 80 11 00 00 [20:56:42]Write to MH i2c: E2 08 00 A5 03 80 11 00 00 00 00 00 00 22 [20:56:42]Write i2c OK [20:56:42]MH_I2C_Read... [20:56:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:56:42]Read from MH i2c: E2 [20:56:42]MH_I2C_Read... [20:56:42]Read from MH i2c: E2 17 00 [20:56:42]MH_I2C_Read... [20:56:42]Read from MH i2c: E2 17 00 A5 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 7C [20:56:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [20:56:42]wFMCommunicate OK [20:56:42]CreateOFDProtocolMessage done [20:56:42]OFDSenderStorePacket 12638 [20:56:42]StoreOFDPacket docnum=12638 [20:56:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 A1 01 00 00 E6 92 99 01 AE 99 5A 03 01 00 03 00 8D 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 85 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 38 39 06 04 41 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BA D0 B8 D0 B2 D0 B8 2D D0 BC D0 B0 D0 BD D0 B3 D0 BE D1 81 D1 82 D0 B8 D0 BD 20 30 2C 34 35 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 65 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 89 7D 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 5E 31 00 00 35 04 06 00 C1 38 58 CC D8 16 F8 89 1D 46 BC A6 49 94 [20:56:42]CheckFolder [20:56:42]dirname=/storage/ofd_packets [20:56:42]CheckFolder done [20:56:42]ProducePacketName [20:56:42]name=ofd_packets/00012638 [20:56:42]NVStorageSaveData ofd_packets/00012638 [20:56:42]File name is /storage/ofd_packets/00012638 [20:56:42]Write 447 bytes [20:56:42]NVStorageSaveData done [20:56:42]OFDSenderStorePacket done [20:56:42]KKMCreateOFDPacket done [20:56:42]NVStorageSaveData kkm_last_timestamp [20:56:42]File name is /storage/kkm_last_timestamp [20:56:42]Write 4 bytes [20:56:42]NVStorageSaveData done [20:56:42]ExternCall_PrintAddStr [20:56:42]wPrintStart [20:56:42]Write to MH i2c: 01 00 00 A6 03 A9 [20:56:42]Write i2c OK [20:56:42]MH_I2C_Read... [20:56:42]OFD Sender: Processing packet 12638 [packets to send 7, broken 6] [20:56:42]ProducePacketName [20:56:42]name=ofd_packets/00012638 [20:56:42]OFD Sender: To server: pG, [20:56:42]CommunicateWithHost lk.salyk.kg:30040 [20:56:42]ConnectInit lk.salyk.kg [20:56:42]Read from MH i2c: 01 [20:56:42]MH_I2C_Read... [20:56:42]Read from MH i2c: 01 07 00 [20:56:42]MH_I2C_Read... [20:56:42]Read from MH i2c: 01 07 00 A6 03 00 00 00 00 00 FF 0F BE [20:56:42]RasterBufferAndPrint [20:56:42]line Счет N : (3)32911 [20:56:42]line ИНН: 02508201610067 [20:56:42]line Контрольно-Кассовый Чек [20:56:42]line ПРОДАЖА [20:56:42]line Товар: 42113270 [20:56:42]line Жев Orbit арбуз [20:56:42]line 1.000 * 35.00 [20:56:42]line = 35.00 [20:56:42]line НДС 12% НСП 1% [20:56:42]line > о реализуемом товаре [20:56:42]line Товар: 4700000481989 [20:56:42]line Напиток энерг Nitro киви-мангостин 0,45 [20:56:42]line 1.000 * 95.00 [20:56:42]line = 95.00 [20:56:42]line НДС 12% НСП 1% [20:56:42]line > о реализуемом товаре [20:56:42]line ИТОГО: 130.00 [20:56:42]line НСП 1% : 1.15 [20:56:42]line НДС 12% : 13.81 [20:56:42]line Наличными: 130.00 [20:56:42]line Безнал.: 0.00 [20:56:42]line Место: АЗС № 106 "Партнер Нефть" [20:56:42]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [20:56:42]line СНО: Общий режим [20:56:42]line Чек 50 21.04.2024 20:56 [20:56:42]line Смена: 281 ФФД: 1.0 [20:56:42]line ЗНМ: 0300000004 [20:56:42]line РНМ: 0000000000100748 [20:56:42]line Версия ККМ: 001 [20:56:42]line ФМ: 0000000000965685 [20:56:42]line ФД: 12638 [20:56:42]line ФПД: 212447752149014 [20:56:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T205641&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12638&fm=212447752149014&tin=02508201610067®Number=0000000000100748&sum=13000 [20:56:42]line 0 [20:56:42]written 0, free lines is 4095 [20:56:43]Connected sock=10 [20:56:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 A1 01 00 00 E6 92 99 01 AE 99 5A 03 01 00 03 00 8D 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 85 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 38 39 06 04 41 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BA D0 B8 D0 B2 D0 B8 2D D0 BC D0 B0 D0 BD D0 B3 D0 BE D1 81 D1 82 D0 B8 D0 BD 20 30 2C 34 35 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 65 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 89 7D 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 5E 31 00 00 35 04 06 00 C1 38 58 CC D8 16 F8 89 1D 46 BC A6 49 94 [20:56:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 6F 3B 47 00 3B 10 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 5E 31 00 00 F4 03 04 00 0A 26 25 66 B6 04 01 00 00 E2 DB 86 A2 A3 FB 79 EF [20:56:43]CommunicateWithHost err = 0 [20:56:43]CheckOFDResponse [20:56:43]1017 (14) - 77093643461234 [20:56:43]1041 (16) - 0000000000965685 [20:56:43]1040 (4) - 12638 [20:56:43]1012 (4) - 21.04.2024 14:43 [20:56:43]1206 (1) - 0 [20:56:43]OFD Sender: Remove packet 12638 [20:56:43]ProducePacketName [20:56:43]name=ofd_packets/00012638 [20:56:43]NVStorageDeleteData [20:56:43]Write to MH i2c: 01 00 00 D4 03 D7 [20:56:43]Write i2c OK [20:56:43]MH_I2C_Read... [20:56:43]Read from MH i2c: 01 [20:56:43]MH_I2C_Read... [20:56:43]Read from MH i2c: 01 07 00 [20:56:43]MH_I2C_Read... [20:56:43]Read from MH i2c: 01 07 00 D4 03 00 00 00 00 00 9D 0C 87 [20:56:43]RasterBufferAndPrint [20:56:43]line [20:56:43]line [20:56:43]line [20:56:43]line [20:56:43]line [20:56:43]written 0, free lines is 3239 [20:56:43]MH_Cut [20:56:43]Write to MH i2c: D1 01 00 DB 03 01 B0 [20:56:43]Write i2c OK [20:56:43]MH_I2C_Read... [20:56:43]Read from MH i2c: D1 [20:56:43]MH_I2C_Read... [20:56:43]Read from MH i2c: D1 01 00 [20:56:43]MH_I2C_Read... [20:56:43]Read from MH i2c: D1 01 00 DB 03 00 AF [20:56:43]Write to MH i2c: 01 00 00 DC 03 DF [20:56:43]Write i2c OK [20:56:43]MH_I2C_Read... [20:56:43]OFD Sender: No OFD packet to send [20:56:44]*** Cut start [20:56:44]*** Partial cut [20:56:44]*** CUTSNS_PIN = 1 [20:56:44]*** CUTSNS_PIN = 0 [20:56:44]*** Brake cut motor [20:56:44]Read from MH i2c: 01 [20:56:44]MH_I2C_Read... [20:56:44]*** Stop cut motor [20:56:44]*** Cut end [20:56:44]Read from MH i2c: 01 07 00 [20:56:44]MH_I2C_Read... [20:56:44]Read from MH i2c: 01 07 00 DC 03 00 00 00 00 00 FF 0F F4 [20:56:44]process_action close_receipt done [20:56:44]requested_data is exist [20:56:44]produce_requested_data [20:56:44]requested_item fm.sn is exist - process it [20:56:44]wFMCommunicate request_size=4 [20:56:44]MH_SAM_APDU [20:56:44]CAPDU: 80 11 00 00 [20:56:44]Write to MH i2c: E2 08 00 DD 03 80 11 00 00 00 00 00 00 5A [20:56:44]Write i2c OK [20:56:44]MH_I2C_Read... [20:56:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:56:44]Read from MH i2c: E2 [20:56:44]MH_I2C_Read... [20:56:44]Read from MH i2c: E2 17 00 [20:56:44]MH_I2C_Read... [20:56:44]Read from MH i2c: E2 17 00 DD 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 B4 [20:56:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [20:56:44]wFMCommunicate OK [20:56:44]requested_item fd.num is exist - process it [20:56:44]SAM_PROTO_GetFieldsCounters [20:56:44]wFMCommunicate request_size=4 [20:56:44]MH_SAM_APDU [20:56:44]CAPDU: 80 13 00 00 [20:56:44]Write to MH i2c: E2 08 00 DE 03 80 13 00 00 00 00 00 00 5D [20:56:44]Write i2c OK [20:56:44]MH_I2C_Read... [20:56:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:56:45]Read from MH i2c: E2 [20:56:45]MH_I2C_Read... [20:56:45]Read from MH i2c: E2 62 00 [20:56:45]MH_I2C_Read... [20:56:45]Read from MH i2c: E2 62 00 DE 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 5E 31 00 00 0E 04 04 00 19 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 BF [20:56:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 5E 31 00 00 0E 04 04 00 19 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 [20:56:45]wFMCommunicate OK [20:56:45]SAM_PROTO_GetFieldsCounters done [20:56:45]requested_item shift.num is exist - process it [20:56:45]requested_item shift.opened is exist - process it [20:56:45]req_shift_opened [20:56:45]FM_GetShiftState [20:56:45]SAM_PROTO_GetShiftState [20:56:45]wFMCommunicate request_size=4 [20:56:45]MH_SAM_APDU [20:56:45]CAPDU: 80 13 01 00 [20:56:45]Write to MH i2c: E2 08 00 DF 03 80 13 01 00 00 00 00 00 5F [20:56:45]Write i2c OK [20:56:45]MH_I2C_Read... [20:56:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:56:45]Read from MH i2c: E2 [20:56:45]MH_I2C_Read... [20:56:45]Read from MH i2c: E2 0E 00 [20:56:45]MH_I2C_Read... [20:56:45]Read from MH i2c: E2 0E 00 DF 03 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 B7 [20:56:45]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [20:56:45]wFMCommunicate OK [20:56:45]SAM_PROTO_GetShiftState done [20:56:45]FM_GetShiftState done [20:56:45]req_shift_opened done [20:56:45]requested_item shift.open_date is exist - process it [20:56:45]req_shift_open_date [20:56:45]req_shift_open_date done [20:56:45]produce_requested_data done [20:56:45]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12638,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [20:56:45]process_action_free close_receipt [20:56:45]json_value_free [20:56:45]json_value_free done [20:56:45]process_json_proto returns [20:56:45]Send response to host [20:56:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12638,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [20:56:45]free response buf [20:56:45]execute_script done [20:56:45]execute_script returns [20:56:45]free content buf [20:56:45]Sock 7.Close socket [20:56:45]Sock 7.Thread stoped [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]accept exits with 9 [20:57:43]New connection [20:57:43]New thread 3066813796 created [20:57:43]Thread 3066957156 joined [20:57:43]Waiting for new connection... [20:57:43] Sock 9.Parse request [20:57:43]Sock 9.Check first char [20:57:43]Sock 9.First char is OK [20:57:43]request: POST /json_proto HTTP/1.0 [20:57:43]Method: POST [20:57:43]URL: /json_proto [20:57:43]Method is POST - this is cgi request [20:57:43]url: /json_proto [20:57:43]query_string will be loaded in cgi processing [20:57:43]execute_cgi json_proto POST (null) [20:57:43]execute_cgi path=json_proto method=POST [20:57:43]POST find Content-Length [20:57:43]Host: 172.17.62.6:8080 [20:57:43]Content-Length: 646 [20:57:43]Content-Type: application/json [20:57:43] [20:57:43]POST finish read [20:57:43]Found Content-Length = 646 [20:57:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32912", "tax_sys" : 0, "items" : [ { "code": "5906534012128", "name": "\u0410\u0440\u043E\u043C\u0430\u0442\u0438\u0437\u0430\u0442\u043E\u0440 K2 Vento Vanilla", "price" : 245.00, "quantity" : 1.000, "sum" : 245.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 245.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:57:43]execute_script... [20:57:43]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32912", "tax_sys" : 0, "items" : [ { "code": "5906534012128", "name": "\u0410\u0440\u043E\u043C\u0430\u0442\u0438\u0437\u0430\u0442\u043E\u0440 K2 Vento Vanilla", "price" : 245.00, "quantity" : 1.000, "sum" : 245.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 245.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:57:43]POST & json_proto [20:57:43]process_json_proto [20:57:43]json parsed OK: [20:57:43]protocol is kg_v1.0 [20:57:43]action value=close_receipt [20:57:43]process_action close_receipt [20:57:43]cmd_close_receipt [20:57:43]MH_GetDate [20:57:43]Write to MH i2c: F0 00 00 E0 03 D2 [20:57:43]Write i2c OK [20:57:43]MH_I2C_Read... [20:57:43]Read from MH i2c: F0 [20:57:43]MH_I2C_Read... [20:57:43]Read from MH i2c: F0 09 00 [20:57:43]MH_I2C_Read... [20:57:43]Read from MH i2c: F0 09 00 E0 03 00 C8 7D 25 66 61 69 D2 64 AB [20:57:43]GetLastDocTimeStamp 1713733001 [20:57:43]current date 1713733064 [20:57:43]FM_GetShiftState [20:57:43]SAM_PROTO_GetShiftState [20:57:43]wFMCommunicate request_size=4 [20:57:43]MH_SAM_APDU [20:57:43]CAPDU: 80 13 01 00 [20:57:43]Write to MH i2c: E2 08 00 E1 03 80 13 01 00 00 00 00 00 61 [20:57:43]Write i2c OK [20:57:43]MH_I2C_Read... [20:57:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:57:43]Read from MH i2c: E2 [20:57:43]MH_I2C_Read... [20:57:43]Read from MH i2c: E2 0E 00 [20:57:43]MH_I2C_Read... [20:57:43]Read from MH i2c: E2 0E 00 E1 03 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 B9 [20:57:43]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [20:57:43]wFMCommunicate OK [20:57:43]SAM_PROTO_GetShiftState done [20:57:43]FM_GetShiftState done [20:57:43]opened in 1713658727 [20:57:43]opened+sec_in_day 1713745127 [20:57:43]quantity*price = 24500 [20:57:43]sum+1 = 24501 [20:57:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 245.00 НСП 1% : 2.17 НДС 12% : 26.02 Наличными: 245.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 51 21.04.2024 20:57 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12639 ФПД: 276607148365975 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T205744&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12639&fm=276607148365975&tin=02508201610067®Number=0000000000100748&sum=24500 0 [20:57:44]StoreToDocumentArchive [20:57:44]shift 281 fd 12639 [20:57:44]save to /storage/0281/doc_00012639 [20:57:44]save last doc name /storage/0281/doc_00012639 to /storage/kkm_last_doc_name [20:57:44]save OK [20:57:44]Clear old archive folders... [20:57:44]ProcessDocumentItem done err = 0, tmpTLVsize=283 [20:57:44]tlvbuf is 016EA490 [20:57:44]SAM_PROTO_ClearQueue [20:57:44]wFMCommunicate request_size=4 [20:57:44]MH_SAM_APDU [20:57:44]CAPDU: 80 09 00 00 [20:57:44]Write to MH i2c: E2 08 00 EE 03 80 09 00 00 00 00 00 00 63 [20:57:44]Write i2c OK [20:57:44]MH_I2C_Read... [20:57:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:57:44]Read from MH i2c: E2 [20:57:44]MH_I2C_Read... [20:57:44]Read from MH i2c: E2 03 00 [20:57:44]MH_I2C_Read... [20:57:44]Read from MH i2c: E2 03 00 EE 03 00 90 00 65 [20:57:44]RAPDU: 90 00 [20:57:44]wFMCommunicate OK [20:57:44]SAM_PROTO_ClearQueue done [20:57:44]KKMCreateOFDPacket [20:57:44]OFDProtocolAddRootSTLVToBuf [20:57:44]FM_MakeSignedData [20:57:44]FM_MakeSignedData [20:57:44]SAM_PROTO_SignData [20:57:44]wFMCommunicate request_size=4 [20:57:44]MH_SAM_APDU [20:57:44]CAPDU: 80 0D 01 02 [20:57:44]Write to MH i2c: E2 08 00 EF 03 80 0D 01 02 00 00 00 00 6B [20:57:44]Write i2c OK [20:57:44]MH_I2C_Read... [20:57:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:57:44]Read from MH i2c: E2 [20:57:44]MH_I2C_Read... [20:57:44]Read from MH i2c: E2 03 00 [20:57:44]MH_I2C_Read... [20:57:44]Read from MH i2c: E2 03 00 EF 03 00 90 00 66 [20:57:44]RAPDU: 90 00 [20:57:44]wFMCommunicate OK [20:57:44]wFMCommunicate request_size=255 [20:57:44]MH_SAM_APDU [20:57:44]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 35 39 30 36 35 33 34 30 31 32 31 32 38 06 04 29 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 4B 32 20 56 65 6E 74 6F 20 56 61 6E 69 6C 6C 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 5F 00 00 00 00 13 04 06 00 B4 5F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 0A 00 00 00 00 07 04 06 00 B4 5F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 C8 7D 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 [20:57:44]Write to MH i2c: E2 02 01 F0 03 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 35 39 30 36 35 33 34 30 31 32 31 32 38 06 04 29 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 4B 32 20 56 65 6E 74 6F 20 56 61 6E 69 6C 6C 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 5F 00 00 00 00 13 04 06 00 B4 5F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 0A 00 00 00 00 07 04 06 00 B4 5F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 C8 7D 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 00 00 E6 [20:57:44]Write i2c OK [20:57:44]MH_I2C_Read... [20:57:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:57:45]Read from MH i2c: E2 [20:57:45]MH_I2C_Read... [20:57:45]Read from MH i2c: E2 03 00 [20:57:45]MH_I2C_Read... [20:57:45]Read from MH i2c: E2 03 00 F0 03 00 90 00 67 [20:57:45]RAPDU: 90 00 [20:57:45]wFMCommunicate OK [20:57:45]wFMCommunicate request_size=42 [20:57:45]MH_SAM_APDU [20:57:45]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 5F 31 00 00 35 04 06 00 FB 92 9E D2 18 97 [20:57:45]Write to MH i2c: E2 2D 00 F1 03 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 5F 31 00 00 35 04 06 00 FB 92 9E D2 18 97 00 00 86 [20:57:45]Write i2c OK [20:57:45]MH_I2C_Read... [20:57:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:57:45]Read from MH i2c: E2 [20:57:45]MH_I2C_Read... [20:57:45]Read from MH i2c: E2 03 00 [20:57:45]MH_I2C_Read... [20:57:45]Read from MH i2c: E2 03 00 F1 03 00 90 00 68 [20:57:45]RAPDU: 90 00 [20:57:45]wFMCommunicate OK [20:57:45]wFMCommunicate request_size=4 [20:57:45]MH_SAM_APDU [20:57:45]CAPDU: 80 0D 03 02 [20:57:45]Write to MH i2c: E2 08 00 F2 03 80 0D 03 02 00 00 00 00 70 [20:57:45]Write i2c OK [20:57:45]MH_I2C_Read... [20:57:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:57:45]Read from MH i2c: E2 [20:57:45]MH_I2C_Read... [20:57:45]Read from MH i2c: E2 0B 00 [20:57:45]MH_I2C_Read... [20:57:45]Read from MH i2c: E2 0B 00 F2 03 00 07 E1 EB C5 BB 37 02 44 90 00 41 [20:57:45]RAPDU: 07 E1 EB C5 BB 37 02 44 90 00 [20:57:45]wFMCommunicate OK [20:57:45]SAM_PROTO_SignData done [20:57:45]FM_MakeSignedData done [20:57:45]CreateOFDProtocolMessage [20:57:45]wFMCommunicate request_size=4 [20:57:45]MH_SAM_APDU [20:57:45]CAPDU: 80 11 00 00 [20:57:45]Write to MH i2c: E2 08 00 F3 03 80 11 00 00 00 00 00 00 70 [20:57:45]Write i2c OK [20:57:45]MH_I2C_Read... [20:57:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:57:45]Read from MH i2c: E2 [20:57:45]MH_I2C_Read... [20:57:45]Read from MH i2c: E2 17 00 [20:57:45]MH_I2C_Read... [20:57:45]Read from MH i2c: E2 17 00 F3 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 CA [20:57:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [20:57:45]wFMCommunicate OK [20:57:45]CreateOFDProtocolMessage done [20:57:45]OFDSenderStorePacket 12639 [20:57:45]StoreOFDPacket docnum=12639 [20:57:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2F 01 00 00 94 A4 27 01 03 9E 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 35 39 30 36 35 33 34 30 31 32 31 32 38 06 04 29 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 4B 32 20 56 65 6E 74 6F 20 56 61 6E 69 6C 6C 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 5F 00 00 00 00 13 04 06 00 B4 5F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 0A 00 00 00 00 07 04 06 00 B4 5F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 C8 7D 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 5F 31 00 00 35 04 06 00 FB 92 9E D2 18 97 07 E1 EB C5 BB 37 02 44 [20:57:45]CheckFolder [20:57:45]dirname=/storage/ofd_packets [20:57:45]CheckFolder done [20:57:45]ProducePacketName [20:57:45]name=ofd_packets/00012639 [20:57:45]NVStorageSaveData ofd_packets/00012639 [20:57:45]File name is /storage/ofd_packets/00012639 [20:57:45]Write 333 bytes [20:57:45]NVStorageSaveData done [20:57:45]OFDSenderStorePacket done [20:57:45]KKMCreateOFDPacket done [20:57:45]NVStorageSaveData kkm_last_timestamp [20:57:45]File name is /storage/kkm_last_timestamp [20:57:45]Write 4 bytes [20:57:45]NVStorageSaveData done [20:57:45]ExternCall_PrintAddStr [20:57:45]wPrintStart [20:57:45]Write to MH i2c: 01 00 00 F4 03 F7 [20:57:45]Write i2c OK [20:57:45]MH_I2C_Read... [20:57:45]Read from MH i2c: 01 [20:57:45]MH_I2C_Read... [20:57:45]Read from MH i2c: 01 07 00 [20:57:45]MH_I2C_Read... [20:57:45]Read from MH i2c: 01 07 00 F4 03 00 00 00 00 00 FF 0F 0C [20:57:45]RasterBufferAndPrint [20:57:45]line Счет N : (3)32912 [20:57:45]line ИНН: 02508201610067 [20:57:45]line Контрольно-Кассовый Чек [20:57:45]line ПРОДАЖА [20:57:45]line Товар: 5906534012128 [20:57:45]line Ароматизатор K2 Vento Vanilla [20:57:45]line 1.000 * 245.00 [20:57:45]line = 245.00 [20:57:45]line НДС 12% НСП 1% [20:57:45]line > о реализуемом товаре [20:57:45]line ИТОГО: 245.00 [20:57:45]line НСП 1% : 2.17 [20:57:45]line НДС 12% : 26.02 [20:57:45]line Наличными: 245.00 [20:57:45]line Безнал.: 0.00 [20:57:45]line Место: АЗС № 106 "Партнер Нефть" [20:57:45]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [20:57:45]line СНО: Общий режим [20:57:45]line Чек 51 21.04.2024 20:57 [20:57:45]line Смена: 281 ФФД: 1.0 [20:57:45]line ЗНМ: 0300000004 [20:57:45]line РНМ: 0000000000100748 [20:57:45]line Версия ККМ: 001 [20:57:45]line ФМ: 0000000000965685 [20:57:45]line ФД: 12639 [20:57:45]line ФПД: 276607148365975 [20:57:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T205744&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12639&fm=276607148365975&tin=02508201610067®Number=0000000000100748&sum=24500 [20:57:45]line 0 [20:57:45]OFD Sender: Processing packet 12639 [packets to send 7, broken 6] [20:57:45]ProducePacketName [20:57:45]name=ofd_packets/00012639 [20:57:45]OFD Sender: To server: pG, [20:57:45]CommunicateWithHost lk.salyk.kg:30040 [20:57:45]ConnectInit lk.salyk.kg [20:57:45]written 0, free lines is 4095 [20:57:45]Connected sock=10 [20:57:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2F 01 00 00 94 A4 27 01 03 9E 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 35 39 30 36 35 33 34 30 31 32 31 32 38 06 04 29 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 4B 32 20 56 65 6E 74 6F 20 56 61 6E 69 6C 6C 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 5F 00 00 00 00 13 04 06 00 B4 5F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 0A 00 00 00 00 07 04 06 00 B4 5F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 C8 7D 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 5F 31 00 00 35 04 06 00 FB 92 9E D2 18 97 07 E1 EB C5 BB 37 02 44 [20:57:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 10 09 47 00 AC 20 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 5F 31 00 00 F4 03 04 00 48 26 25 66 B6 04 01 00 00 44 D2 4E 92 D5 E4 8B E3 [20:57:45]CommunicateWithHost err = 0 [20:57:45]CheckOFDResponse [20:57:45]1017 (14) - 77093643461234 [20:57:45]1041 (16) - 0000000000965685 [20:57:45]1040 (4) - 12639 [20:57:45]1012 (4) - 21.04.2024 14:44 [20:57:45]1206 (1) - 0 [20:57:45]OFD Sender: Remove packet 12639 [20:57:45]ProducePacketName [20:57:45]name=ofd_packets/00012639 [20:57:45]NVStorageDeleteData [20:57:45]Write to MH i2c: 01 00 00 1C 04 20 [20:57:45]Write i2c OK [20:57:45]MH_I2C_Read... [20:57:45]Read from MH i2c: 01 [20:57:45]MH_I2C_Read... [20:57:45]Read from MH i2c: 01 07 00 [20:57:45]MH_I2C_Read... [20:57:45]Read from MH i2c: 01 07 00 1C 04 00 00 00 00 00 F6 0C 29 [20:57:45]RasterBufferAndPrint [20:57:45]line [20:57:45]line [20:57:45]line [20:57:45]line [20:57:45]line [20:57:45]written 0, free lines is 3324 [20:57:45]MH_Cut [20:57:45]Write to MH i2c: D1 01 00 23 04 01 F9 [20:57:45]Write i2c OK [20:57:45]MH_I2C_Read... [20:57:45]Read from MH i2c: D1 [20:57:45]MH_I2C_Read... [20:57:45]Read from MH i2c: D1 01 00 [20:57:45]MH_I2C_Read... [20:57:45]Read from MH i2c: D1 01 00 23 04 00 F8 [20:57:45]Write to MH i2c: 01 00 00 24 04 28 [20:57:45]Write i2c OK [20:57:45]MH_I2C_Read... [20:57:46]OFD Sender: No OFD packet to send [20:57:46]*** Cut start [20:57:46]*** Partial cut [20:57:46]*** CUTSNS_PIN = 1 [20:57:46]*** CUTSNS_PIN = 0 [20:57:47]*** Brake cut motor [20:57:47]Read from MH i2c: 01 [20:57:47]MH_I2C_Read... [20:57:47]*** Stop cut motor [20:57:47]*** Cut end [20:57:47]Read from MH i2c: 01 07 00 [20:57:47]MH_I2C_Read... [20:57:47]Read from MH i2c: 01 07 00 24 04 00 00 00 00 00 FF 0F 3D [20:57:47]process_action close_receipt done [20:57:47]requested_data is exist [20:57:47]produce_requested_data [20:57:47]requested_item fm.sn is exist - process it [20:57:47]wFMCommunicate request_size=4 [20:57:47]MH_SAM_APDU [20:57:47]CAPDU: 80 11 00 00 [20:57:47]Write to MH i2c: E2 08 00 25 04 80 11 00 00 00 00 00 00 A3 [20:57:47]Write i2c OK [20:57:47]MH_I2C_Read... [20:57:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:57:47]Read from MH i2c: E2 [20:57:47]MH_I2C_Read... [20:57:47]Read from MH i2c: E2 17 00 [20:57:47]MH_I2C_Read... [20:57:47]Read from MH i2c: E2 17 00 25 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 FD [20:57:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [20:57:47]wFMCommunicate OK [20:57:47]requested_item fd.num is exist - process it [20:57:47]SAM_PROTO_GetFieldsCounters [20:57:47]wFMCommunicate request_size=4 [20:57:47]MH_SAM_APDU [20:57:47]CAPDU: 80 13 00 00 [20:57:47]Write to MH i2c: E2 08 00 26 04 80 13 00 00 00 00 00 00 A6 [20:57:47]Write i2c OK [20:57:47]MH_I2C_Read... [20:57:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:57:47]Read from MH i2c: E2 [20:57:47]MH_I2C_Read... [20:57:47]Read from MH i2c: E2 62 00 [20:57:47]MH_I2C_Read... [20:57:47]Read from MH i2c: E2 62 00 26 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 5F 31 00 00 0E 04 04 00 19 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 0C [20:57:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 5F 31 00 00 0E 04 04 00 19 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 [20:57:47]wFMCommunicate OK [20:57:47]SAM_PROTO_GetFieldsCounters done [20:57:47]requested_item shift.num is exist - process it [20:57:47]requested_item shift.opened is exist - process it [20:57:47]req_shift_opened [20:57:47]FM_GetShiftState [20:57:47]SAM_PROTO_GetShiftState [20:57:47]wFMCommunicate request_size=4 [20:57:47]MH_SAM_APDU [20:57:47]CAPDU: 80 13 01 00 [20:57:47]Write to MH i2c: E2 08 00 27 04 80 13 01 00 00 00 00 00 A8 [20:57:47]Write i2c OK [20:57:47]MH_I2C_Read... [20:57:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:57:47]Read from MH i2c: E2 [20:57:47]MH_I2C_Read... [20:57:47]Read from MH i2c: E2 0E 00 [20:57:47]MH_I2C_Read... [20:57:47]Read from MH i2c: E2 0E 00 27 04 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 00 [20:57:47]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [20:57:47]wFMCommunicate OK [20:57:47]SAM_PROTO_GetShiftState done [20:57:47]FM_GetShiftState done [20:57:47]req_shift_opened done [20:57:47]requested_item shift.open_date is exist - process it [20:57:47]req_shift_open_date [20:57:47]req_shift_open_date done [20:57:47]produce_requested_data done [20:57:47]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12639,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [20:57:47]process_action_free close_receipt [20:57:47]json_value_free [20:57:47]json_value_free done [20:57:47]process_json_proto returns [20:57:47]Send response to host [20:57:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12639,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [20:57:47]free response buf [20:57:47]execute_script done [20:57:47]execute_script returns [20:57:47]free content buf [20:57:47]Sock 9.Close socket [20:57:47]Sock 9.Thread stoped [20:57:51]OFD Sender: No OFD packet to send [20:57:56]OFD Sender: No OFD packet to send [20:58:01]OFD Sender: No OFD packet to send [20:58:06]OFD Sender: No OFD packet to send [20:58:11]OFD Sender: No OFD packet to send [20:58:16]OFD Sender: No OFD packet to send [20:58:21]OFD Sender: No OFD packet to send [20:58:26]OFD Sender: No OFD packet to send [20:58:31]OFD Sender: No OFD packet to send [20:58:36]OFD Sender: No OFD packet to send [20:58:41]OFD Sender: No OFD packet to send [20:58:46]OFD Sender: No OFD packet to send [20:58:51]OFD Sender: No OFD packet to send [20:58:56]OFD Sender: No OFD packet to send [20:59:01]OFD Sender: No OFD packet to send [20:59:06]OFD Sender: No OFD packet to send [20:59:11]OFD Sender: No OFD packet to send [20:59:16]OFD Sender: No OFD packet to send [20:59:21]OFD Sender: No OFD packet to send [20:59:26]OFD Sender: No OFD packet to send [20:59:31]OFD Sender: No OFD packet to send [20:59:36]OFD Sender: No OFD packet to send [20:59:41]OFD Sender: No OFD packet to send [20:59:46]OFD Sender: No OFD packet to send [20:59:51]OFD Sender: No OFD packet to send [20:59:56]OFD Sender: No OFD packet to send [21:00:01]OFD Sender: No OFD packet to send [21:00:06]OFD Sender: No OFD packet to send [21:00:11]OFD Sender: No OFD packet to send [21:00:16]OFD Sender: No OFD packet to send [21:00:21]OFD Sender: No OFD packet to send [21:00:26]OFD Sender: No OFD packet to send [21:00:31]OFD Sender: No OFD packet to send [21:00:36]OFD Sender: No OFD packet to send [21:00:41]OFD Sender: No OFD packet to send [21:00:46]OFD Sender: No OFD packet to send [21:00:51]OFD Sender: No OFD packet to send [21:00:56]OFD Sender: No OFD packet to send [21:01:01]OFD Sender: No OFD packet to send [21:01:06]OFD Sender: No OFD packet to send [21:01:11]OFD Sender: No OFD packet to send [21:01:16]OFD Sender: No OFD packet to send [21:01:21]OFD Sender: No OFD packet to send [21:01:26]OFD Sender: No OFD packet to send [21:01:31]OFD Sender: No OFD packet to send [21:01:36]OFD Sender: No OFD packet to send [21:01:41]OFD Sender: No OFD packet to send [21:01:46]OFD Sender: No OFD packet to send [21:01:51]OFD Sender: No OFD packet to send [21:01:56]OFD Sender: No OFD packet to send [21:02:01]OFD Sender: No OFD packet to send [21:02:06]OFD Sender: No OFD packet to send [21:02:11]OFD Sender: No OFD packet to send [21:02:16]OFD Sender: No OFD packet to send [21:02:21]OFD Sender: No OFD packet to send [21:02:26]OFD Sender: No OFD packet to send [21:02:31]OFD Sender: No OFD packet to send [21:02:36]OFD Sender: No OFD packet to send [21:02:41]OFD Sender: No OFD packet to send [21:02:46]OFD Sender: No OFD packet to send [21:02:51]OFD Sender: No OFD packet to send [21:02:56]OFD Sender: No OFD packet to send [21:03:01]OFD Sender: No OFD packet to send [21:03:06]OFD Sender: No OFD packet to send [21:03:11]OFD Sender: No OFD packet to send [21:03:16]OFD Sender: No OFD packet to send [21:03:21]OFD Sender: No OFD packet to send [21:03:26]OFD Sender: No OFD packet to send [21:03:31]OFD Sender: No OFD packet to send [21:03:36]OFD Sender: No OFD packet to send [21:03:41]OFD Sender: No OFD packet to send [21:03:46]OFD Sender: No OFD packet to send [21:03:51]OFD Sender: No OFD packet to send [21:03:56]OFD Sender: No OFD packet to send [21:04:01]OFD Sender: No OFD packet to send [21:04:06]OFD Sender: No OFD packet to send [21:04:11]OFD Sender: No OFD packet to send [21:04:16]OFD Sender: No OFD packet to send [21:04:21]OFD Sender: No OFD packet to send [21:04:26]OFD Sender: No OFD packet to send [21:04:31]OFD Sender: No OFD packet to send [21:04:36]OFD Sender: No OFD packet to send [21:04:41]OFD Sender: No OFD packet to send [21:04:46]OFD Sender: No OFD packet to send [21:04:51]OFD Sender: No OFD packet to send [21:04:56]OFD Sender: No OFD packet to send [21:05:01]OFD Sender: No OFD packet to send [21:05:06]OFD Sender: No OFD packet to send [21:05:11]OFD Sender: No OFD packet to send [21:05:16]OFD Sender: No OFD packet to send [21:05:21]OFD Sender: No OFD packet to send [21:05:26]OFD Sender: No OFD packet to send [21:05:31]OFD Sender: No OFD packet to send [21:05:36]OFD Sender: No OFD packet to send [21:05:41]OFD Sender: No OFD packet to send [21:05:46]OFD Sender: No OFD packet to send [21:05:51]OFD Sender: No OFD packet to send [21:05:56]OFD Sender: No OFD packet to send [21:06:01]OFD Sender: No OFD packet to send [21:06:06]OFD Sender: No OFD packet to send [21:06:11]OFD Sender: No OFD packet to send [21:06:16]OFD Sender: No OFD packet to send [21:06:21]OFD Sender: No OFD packet to send [21:06:26]OFD Sender: No OFD packet to send [21:06:31]OFD Sender: No OFD packet to send [21:06:36]OFD Sender: No OFD packet to send [21:06:41]OFD Sender: No OFD packet to send [21:06:46]OFD Sender: No OFD packet to send [21:06:51]OFD Sender: No OFD packet to send [21:06:56]OFD Sender: No OFD packet to send [21:07:01]OFD Sender: No OFD packet to send [21:07:06]OFD Sender: No OFD packet to send [21:07:11]OFD Sender: No OFD packet to send [21:07:16]OFD Sender: No OFD packet to send [21:07:21]OFD Sender: No OFD packet to send [21:07:26]OFD Sender: No OFD packet to send [21:07:31]OFD Sender: No OFD packet to send [21:07:36]OFD Sender: No OFD packet to send [21:07:41]OFD Sender: No OFD packet to send [21:07:46]OFD Sender: No OFD packet to send [21:07:51]OFD Sender: No OFD packet to send [21:07:56]OFD Sender: No OFD packet to send [21:08:01]OFD Sender: No OFD packet to send [21:08:06]OFD Sender: No OFD packet to send [21:08:11]OFD Sender: No OFD packet to send [21:08:16]OFD Sender: No OFD packet to send [21:08:21]OFD Sender: No OFD packet to send [21:08:26]OFD Sender: No OFD packet to send [21:08:31]OFD Sender: No OFD packet to send [21:08:36]OFD Sender: No OFD packet to send [21:08:41]OFD Sender: No OFD packet to send [21:08:46]OFD Sender: No OFD packet to send [21:08:51]OFD Sender: No OFD packet to send [21:08:56]OFD Sender: No OFD packet to send [21:09:01]accept exits with 7 [21:09:01]New connection [21:09:01]New thread 3066957156 created [21:09:01]Thread 3066813796 joined [21:09:01]Waiting for new connection... [21:09:01] Sock 7.Parse request [21:09:01]Sock 7.Check first char [21:09:01]Sock 7.First char is OK [21:09:01]request: POST /json_proto HTTP/1.0 [21:09:01]Method: POST [21:09:01]URL: /json_proto [21:09:01]Method is POST - this is cgi request [21:09:01]url: /json_proto [21:09:01]query_string will be loaded in cgi processing [21:09:01]execute_cgi json_proto POST (null) [21:09:01]execute_cgi path=json_proto method=POST [21:09:01]POST find Content-Length [21:09:01]Host: 172.17.62.6:8080 [21:09:01]Content-Length: 627 [21:09:01]Content-Type: application/json [21:09:01] [21:09:01]POST finish read [21:09:01]Found Content-Length = 627 [21:09:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32913", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:09:01]execute_script... [21:09:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32913", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:09:01]POST & json_proto [21:09:01]process_json_proto [21:09:01]json parsed OK: [21:09:01]protocol is kg_v1.0 [21:09:01]action value=close_receipt [21:09:01]process_action close_receipt [21:09:01]cmd_close_receipt [21:09:01]MH_GetDate [21:09:01]Write to MH i2c: F0 00 00 28 04 1B [21:09:01]Write i2c OK [21:09:01]MH_I2C_Read... [21:09:01]Read from MH i2c: F0 [21:09:01]MH_I2C_Read... [21:09:01]Read from MH i2c: F0 09 00 [21:09:01]MH_I2C_Read... [21:09:01]Read from MH i2c: F0 09 00 28 04 00 6E 80 25 66 61 69 D2 64 9D [21:09:01]GetLastDocTimeStamp 1713733064 [21:09:01]current date 1713733742 [21:09:01]FM_GetShiftState [21:09:01]SAM_PROTO_GetShiftState [21:09:01]wFMCommunicate request_size=4 [21:09:01]MH_SAM_APDU [21:09:01]CAPDU: 80 13 01 00 [21:09:01]Write to MH i2c: E2 08 00 29 04 80 13 01 00 00 00 00 00 AA [21:09:01]Write i2c OK [21:09:01]MH_I2C_Read... [21:09:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:09:01]Read from MH i2c: E2 [21:09:01]MH_I2C_Read... [21:09:01]Read from MH i2c: E2 0E 00 [21:09:01]MH_I2C_Read... [21:09:01]Read from MH i2c: E2 0E 00 29 04 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 02 [21:09:01]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [21:09:01]wFMCommunicate OK [21:09:01]SAM_PROTO_GetShiftState done [21:09:01]FM_GetShiftState done [21:09:01]opened in 1713658727 [21:09:01]opened+sec_in_day 1713745127 [21:09:01]quantity*price = 13000 [21:09:01]sum+1 = 13001 [21:09:01]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 52 21.04.2024 21:09 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12640 ФПД: 266525653281542 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T210902&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12640&fm=266525653281542&tin=02508201610067®Number=0000000000100748&sum=13000 0 [21:09:02]StoreToDocumentArchive [21:09:02]shift 281 fd 12640 [21:09:02]save to /storage/0281/doc_00012640 [21:09:02]save last doc name /storage/0281/doc_00012640 to /storage/kkm_last_doc_name [21:09:02]save OK [21:09:02]Clear old archive folders... [21:09:02]ProcessDocumentItem done err = 0, tmpTLVsize=276 [21:09:02]tlvbuf is 0163EDE0 [21:09:02]SAM_PROTO_ClearQueue [21:09:02]wFMCommunicate request_size=4 [21:09:02]MH_SAM_APDU [21:09:02]CAPDU: 80 09 00 00 [21:09:02]Write to MH i2c: E2 08 00 36 04 80 09 00 00 00 00 00 00 AC [21:09:02]Write i2c OK [21:09:02]MH_I2C_Read... [21:09:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:09:02]Read from MH i2c: E2 [21:09:02]MH_I2C_Read... [21:09:02]Read from MH i2c: E2 03 00 [21:09:02]MH_I2C_Read... [21:09:02]Read from MH i2c: E2 03 00 36 04 00 90 00 AE [21:09:02]RAPDU: 90 00 [21:09:02]wFMCommunicate OK [21:09:02]SAM_PROTO_ClearQueue done [21:09:02]KKMCreateOFDPacket [21:09:02]OFDProtocolAddRootSTLVToBuf [21:09:02]FM_MakeSignedData [21:09:02]FM_MakeSignedData [21:09:02]SAM_PROTO_SignData [21:09:02]wFMCommunicate request_size=4 [21:09:02]MH_SAM_APDU [21:09:02]CAPDU: 80 0D 01 02 [21:09:02]Write to MH i2c: E2 08 00 37 04 80 0D 01 02 00 00 00 00 B4 [21:09:02]Write i2c OK [21:09:02]MH_I2C_Read... [21:09:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:09:02]Read from MH i2c: E2 [21:09:02]MH_I2C_Read... [21:09:02]Read from MH i2c: E2 03 00 [21:09:02]MH_I2C_Read... [21:09:02]Read from MH i2c: E2 03 00 37 04 00 90 00 AF [21:09:02]RAPDU: 90 00 [21:09:02]wFMCommunicate OK [21:09:02]wFMCommunicate request_size=255 [21:09:02]MH_SAM_APDU [21:09:02]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 6E 80 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 [21:09:02]Write to MH i2c: E2 02 01 38 04 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 6E 80 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 00 00 91 [21:09:02]Write i2c OK [21:09:02]MH_I2C_Read... [21:09:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:09:03]Read from MH i2c: E2 [21:09:03]MH_I2C_Read... [21:09:03]Read from MH i2c: E2 03 00 [21:09:03]MH_I2C_Read... [21:09:03]Read from MH i2c: E2 03 00 38 04 00 90 00 B0 [21:09:03]RAPDU: 90 00 [21:09:03]wFMCommunicate OK [21:09:03]wFMCommunicate request_size=35 [21:09:03]MH_SAM_APDU [21:09:03]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 60 31 00 00 35 04 06 00 F2 67 56 E3 2B 06 [21:09:03]Write to MH i2c: E2 26 00 39 04 80 0D 02 02 1E 00 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 60 31 00 00 35 04 06 00 F2 67 56 E3 2B 06 00 00 05 [21:09:03]Write i2c OK [21:09:03]MH_I2C_Read... [21:09:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:09:03]Read from MH i2c: E2 [21:09:03]MH_I2C_Read... [21:09:03]Read from MH i2c: E2 03 00 [21:09:03]MH_I2C_Read... [21:09:03]Read from MH i2c: E2 03 00 39 04 00 90 00 B1 [21:09:03]RAPDU: 90 00 [21:09:03]wFMCommunicate OK [21:09:03]wFMCommunicate request_size=4 [21:09:03]MH_SAM_APDU [21:09:03]CAPDU: 80 0D 03 02 [21:09:03]Write to MH i2c: E2 08 00 3A 04 80 0D 03 02 00 00 00 00 B9 [21:09:03]Write i2c OK [21:09:03]MH_I2C_Read... [21:09:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:09:03]Read from MH i2c: E2 [21:09:03]MH_I2C_Read... [21:09:03]Read from MH i2c: E2 0B 00 [21:09:03]MH_I2C_Read... [21:09:03]Read from MH i2c: E2 0B 00 3A 04 00 47 DE 43 63 0B 8D 69 53 90 00 D9 [21:09:03]RAPDU: 47 DE 43 63 0B 8D 69 53 90 00 [21:09:03]wFMCommunicate OK [21:09:03]SAM_PROTO_SignData done [21:09:03]FM_MakeSignedData done [21:09:03]CreateOFDProtocolMessage [21:09:03]wFMCommunicate request_size=4 [21:09:03]MH_SAM_APDU [21:09:03]CAPDU: 80 11 00 00 [21:09:03]Write to MH i2c: E2 08 00 3B 04 80 11 00 00 00 00 00 00 B9 [21:09:03]Write i2c OK [21:09:03]MH_I2C_Read... [21:09:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:09:03]Read from MH i2c: E2 [21:09:03]MH_I2C_Read... [21:09:03]Read from MH i2c: E2 17 00 [21:09:03]MH_I2C_Read... [21:09:03]Read from MH i2c: E2 17 00 3B 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 13 [21:09:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [21:09:03]wFMCommunicate OK [21:09:03]CreateOFDProtocolMessage done [21:09:03]OFDSenderStorePacket 12640 [21:09:03]StoreOFDPacket docnum=12640 [21:09:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 28 01 00 00 DE 86 20 01 D4 DB 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 6E 80 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 60 31 00 00 35 04 06 00 F2 67 56 E3 2B 06 47 DE 43 63 0B 8D 69 53 [21:09:03]CheckFolder [21:09:03]dirname=/storage/ofd_packets [21:09:03]CheckFolder done [21:09:03]ProducePacketName [21:09:03]name=ofd_packets/00012640 [21:09:03]NVStorageSaveData ofd_packets/00012640 [21:09:03]File name is /storage/ofd_packets/00012640 [21:09:03]Write 326 bytes [21:09:03]NVStorageSaveData done [21:09:03]OFDSenderStorePacket done [21:09:03]KKMCreateOFDPacket done [21:09:03]NVStorageSaveData kkm_last_timestamp [21:09:03]File name is /storage/kkm_last_timestamp [21:09:03]Write 4 bytes [21:09:03]NVStorageSaveData done [21:09:03]ExternCall_PrintAddStr [21:09:03]wPrintStart [21:09:03]Write to MH i2c: 01 00 00 3C 04 40 [21:09:03]Write i2c OK [21:09:03]MH_I2C_Read... [21:09:03]Read from MH i2c: 01 [21:09:03]MH_I2C_Read... [21:09:03]Read from MH i2c: 01 07 00 [21:09:03]MH_I2C_Read... [21:09:03]Read from MH i2c: 01 07 00 3C 04 00 00 00 00 00 FF 0F 55 [21:09:03]RasterBufferAndPrint [21:09:03]line Счет N : (3)32913 [21:09:03]line ИНН: 02508201610067 [21:09:03]line Контрольно-Кассовый Чек [21:09:03]line ПРОДАЖА [21:09:03]line Товар: 2000036230011 [21:09:03]line Кофе Латте XL(GABB TRADE) [21:09:03]line 1.000 * 130.00 [21:09:03]line = 130.00 [21:09:03]line НДС 12% НСП 1% [21:09:03]line > о реализуемом товаре [21:09:03]line ИТОГО: 130.00 [21:09:03]line НСП 1% : 1.15 [21:09:03]line НДС 12% : 13.80 [21:09:03]line Наличными: 130.00 [21:09:03]line Безнал.: 0.00 [21:09:03]line Место: АЗС № 106 "Партнер Нефть" [21:09:03]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [21:09:03]line СНО: Общий режим [21:09:03]line Чек 52 21.04.2024 21:09 [21:09:03]line Смена: 281 ФФД: 1.0 [21:09:03]line ЗНМ: 0300000004 [21:09:03]line РНМ: 0000000000100748 [21:09:03]line Версия ККМ: 001 [21:09:03]line ФМ: 0000000000965685 [21:09:03]line ФД: 12640 [21:09:03]line ФПД: 266525653281542 [21:09:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T210902&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12640&fm=266525653281542&tin=02508201610067®Number=0000000000100748&sum=13000 [21:09:03]line 0 [21:09:03]OFD Sender: Processing packet 12640 [packets to send 7, broken 6] [21:09:03]ProducePacketName [21:09:03]name=ofd_packets/00012640 [21:09:03]OFD Sender: To server: pG, [21:09:03]CommunicateWithHost lk.salyk.kg:30040 [21:09:03]ConnectInit lk.salyk.kg [21:09:03]written 0, free lines is 4095 [21:09:03]Connected sock=10 [21:09:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 28 01 00 00 DE 86 20 01 D4 DB 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 6E 80 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 60 31 00 00 35 04 06 00 F2 67 56 E3 2B 06 47 DE 43 63 0B 8D 69 53 [21:09:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 F0 94 47 00 11 81 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 60 31 00 00 F4 03 04 00 EE 28 25 66 B6 04 01 00 00 88 FF 55 12 CD 40 FB 42 [21:09:03]CommunicateWithHost err = 0 [21:09:03]CheckOFDResponse [21:09:03]1017 (14) - 77093643461234 [21:09:03]1041 (16) - 0000000000965685 [21:09:03]1040 (4) - 12640 [21:09:03]1012 (4) - 21.04.2024 14:55 [21:09:03]1206 (1) - 0 [21:09:03]OFD Sender: Remove packet 12640 [21:09:03]ProducePacketName [21:09:03]name=ofd_packets/00012640 [21:09:03]NVStorageDeleteData [21:09:04]Write to MH i2c: 01 00 00 63 04 67 [21:09:04]Write i2c OK [21:09:04]MH_I2C_Read... [21:09:04]Read from MH i2c: 01 [21:09:04]MH_I2C_Read... [21:09:04]Read from MH i2c: 01 07 00 [21:09:04]MH_I2C_Read... [21:09:04]Read from MH i2c: 01 07 00 63 04 00 00 00 00 00 12 0D 8D [21:09:04]RasterBufferAndPrint [21:09:04]line [21:09:04]line [21:09:04]line [21:09:04]line [21:09:04]line [21:09:04]written 0, free lines is 3353 [21:09:04]MH_Cut [21:09:04]Write to MH i2c: D1 01 00 6A 04 01 40 [21:09:04]Write i2c OK [21:09:04]MH_I2C_Read... [21:09:04]Read from MH i2c: D1 [21:09:04]MH_I2C_Read... [21:09:04]Read from MH i2c: D1 01 00 [21:09:04]MH_I2C_Read... [21:09:04]Read from MH i2c: D1 01 00 6A 04 00 3F [21:09:04]Write to MH i2c: 01 00 00 6B 04 6F [21:09:04]Write i2c OK [21:09:04]MH_I2C_Read... [21:09:04]OFD Sender: No OFD packet to send [21:09:04]*** Cut start [21:09:04]*** Partial cut [21:09:04]*** CUTSNS_PIN = 1 [21:09:04]*** CUTSNS_PIN = 0 [21:09:05]*** Brake cut motor [21:09:05]Read from MH i2c: 01 [21:09:05]MH_I2C_Read... [21:09:05]*** Stop cut motor [21:09:05]*** Cut end [21:09:05]Read from MH i2c: 01 07 00 [21:09:05]MH_I2C_Read... [21:09:05]Read from MH i2c: 01 07 00 6B 04 00 00 00 00 00 FF 0F 84 [21:09:05]process_action close_receipt done [21:09:05]requested_data is exist [21:09:05]produce_requested_data [21:09:05]requested_item fm.sn is exist - process it [21:09:05]wFMCommunicate request_size=4 [21:09:05]MH_SAM_APDU [21:09:05]CAPDU: 80 11 00 00 [21:09:05]Write to MH i2c: E2 08 00 6C 04 80 11 00 00 00 00 00 00 EA [21:09:05]Write i2c OK [21:09:05]MH_I2C_Read... [21:09:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:09:05]Read from MH i2c: E2 [21:09:05]MH_I2C_Read... [21:09:05]Read from MH i2c: E2 17 00 [21:09:05]MH_I2C_Read... [21:09:05]Read from MH i2c: E2 17 00 6C 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 44 [21:09:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [21:09:05]wFMCommunicate OK [21:09:05]requested_item fd.num is exist - process it [21:09:05]SAM_PROTO_GetFieldsCounters [21:09:05]wFMCommunicate request_size=4 [21:09:05]MH_SAM_APDU [21:09:05]CAPDU: 80 13 00 00 [21:09:05]Write to MH i2c: E2 08 00 6D 04 80 13 00 00 00 00 00 00 ED [21:09:05]Write i2c OK [21:09:05]MH_I2C_Read... [21:09:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:09:05]Read from MH i2c: E2 [21:09:05]MH_I2C_Read... [21:09:05]Read from MH i2c: E2 62 00 [21:09:05]MH_I2C_Read... [21:09:05]Read from MH i2c: E2 62 00 6D 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 60 31 00 00 0E 04 04 00 19 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 57 [21:09:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 60 31 00 00 0E 04 04 00 19 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 [21:09:05]wFMCommunicate OK [21:09:05]SAM_PROTO_GetFieldsCounters done [21:09:05]requested_item shift.num is exist - process it [21:09:05]requested_item shift.opened is exist - process it [21:09:05]req_shift_opened [21:09:05]FM_GetShiftState [21:09:05]SAM_PROTO_GetShiftState [21:09:05]wFMCommunicate request_size=4 [21:09:05]MH_SAM_APDU [21:09:05]CAPDU: 80 13 01 00 [21:09:05]Write to MH i2c: E2 08 00 6E 04 80 13 01 00 00 00 00 00 EF [21:09:05]Write i2c OK [21:09:05]MH_I2C_Read... [21:09:05]Read from MH i2c: E2 [21:09:05]MH_I2C_Read... [21:09:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:09:05]Read from MH i2c: E2 0E 00 [21:09:05]MH_I2C_Read... [21:09:05]Read from MH i2c: E2 0E 00 6E 04 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 47 [21:09:05]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [21:09:05]wFMCommunicate OK [21:09:05]SAM_PROTO_GetShiftState done [21:09:05]FM_GetShiftState done [21:09:05]req_shift_opened done [21:09:05]requested_item shift.open_date is exist - process it [21:09:05]req_shift_open_date [21:09:05]req_shift_open_date done [21:09:05]produce_requested_data done [21:09:05]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12640,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [21:09:05]process_action_free close_receipt [21:09:05]json_value_free [21:09:05]json_value_free done [21:09:05]process_json_proto returns [21:09:05]Send response to host [21:09:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12640,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [21:09:05]free response buf [21:09:05]execute_script done [21:09:05]execute_script returns [21:09:05]free content buf [21:09:05]Sock 7.Close socket [21:09:05]Sock 7.Thread stoped [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:26]accept exits with 9 [21:14:26]New connection [21:14:26]New thread 3066813796 created [21:14:26]Thread 3066957156 joined [21:14:26]Waiting for new connection... [21:14:26] Sock 9.Parse request [21:14:26]Sock 9.Check first char [21:14:26]Sock 9.First char is OK [21:14:26]request: POST /json_proto HTTP/1.0 [21:14:26]Method: POST [21:14:26]URL: /json_proto [21:14:26]Method is POST - this is cgi request [21:14:26]url: /json_proto [21:14:26]query_string will be loaded in cgi processing [21:14:26]execute_cgi json_proto POST (null) [21:14:26]execute_cgi path=json_proto method=POST [21:14:26]POST find Content-Length [21:14:26]Host: 172.17.62.6:8080 [21:14:26]Content-Length: 623 [21:14:26]Content-Type: application/json [21:14:26] [21:14:26]POST finish read [21:14:26]Found Content-Length = 623 [21:14:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32914", "tax_sys" : 0, "items" : [ { "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 151.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:14:26]execute_script... [21:14:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32914", "tax_sys" : 0, "items" : [ { "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 151.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:14:26]POST & json_proto [21:14:26]process_json_proto [21:14:26]json parsed OK: [21:14:26]protocol is kg_v1.0 [21:14:26]action value=close_receipt [21:14:26]process_action close_receipt [21:14:26]cmd_close_receipt [21:14:26]MH_GetDate [21:14:26]Write to MH i2c: F0 00 00 6F 04 62 [21:14:26]Write i2c OK [21:14:26]MH_I2C_Read... [21:14:26]Read from MH i2c: F0 [21:14:26]MH_I2C_Read... [21:14:26]Read from MH i2c: F0 09 00 [21:14:26]MH_I2C_Read... [21:14:26]Read from MH i2c: F0 09 00 6F 04 00 B3 81 25 66 61 69 D2 64 2A [21:14:26]GetLastDocTimeStamp 1713733742 [21:14:26]current date 1713734067 [21:14:26]FM_GetShiftState [21:14:26]SAM_PROTO_GetShiftState [21:14:26]wFMCommunicate request_size=4 [21:14:26]MH_SAM_APDU [21:14:26]CAPDU: 80 13 01 00 [21:14:26]Write to MH i2c: E2 08 00 70 04 80 13 01 00 00 00 00 00 F1 [21:14:26]Write i2c OK [21:14:26]MH_I2C_Read... [21:14:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:14:26]Read from MH i2c: E2 [21:14:26]MH_I2C_Read... [21:14:26]Read from MH i2c: E2 0E 00 [21:14:26]MH_I2C_Read... [21:14:26]Read from MH i2c: E2 0E 00 70 04 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 49 [21:14:26]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [21:14:26]wFMCommunicate OK [21:14:26]SAM_PROTO_GetShiftState done [21:14:26]FM_GetShiftState done [21:14:26]opened in 1713658727 [21:14:26]opened+sec_in_day 1713745127 [21:14:26]quantity*price = 15100 [21:14:26]sum+1 = 15101 [21:14:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 151.00 НСП 1% : 1.34 НДС 12% : 16.03 Наличными: 151.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 53 21.04.2024 21:14 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12641 ФПД: 209836866838955 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T211427&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12641&fm=209836866838955&tin=02508201610067®Number=0000000000100748&sum=15100 0 [21:14:27]StoreToDocumentArchive [21:14:27]shift 281 fd 12641 [21:14:27]save to /storage/0281/doc_00012641 [21:14:27]save last doc name /storage/0281/doc_00012641 to /storage/kkm_last_doc_name [21:14:27]save OK [21:14:27]Clear old archive folders... [21:14:27]ProcessDocumentItem done err = 0, tmpTLVsize=276 [21:14:27]tlvbuf is 016CA460 [21:14:27]SAM_PROTO_ClearQueue [21:14:27]wFMCommunicate request_size=4 [21:14:27]MH_SAM_APDU [21:14:27]CAPDU: 80 09 00 00 [21:14:27]Write to MH i2c: E2 08 00 7D 04 80 09 00 00 00 00 00 00 F3 [21:14:27]Write i2c OK [21:14:27]MH_I2C_Read... [21:14:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:14:27]Read from MH i2c: E2 [21:14:27]MH_I2C_Read... [21:14:27]Read from MH i2c: E2 03 00 [21:14:27]MH_I2C_Read... [21:14:27]Read from MH i2c: E2 03 00 7D 04 00 90 00 F5 [21:14:27]RAPDU: 90 00 [21:14:27]wFMCommunicate OK [21:14:27]SAM_PROTO_ClearQueue done [21:14:27]KKMCreateOFDPacket [21:14:27]OFDProtocolAddRootSTLVToBuf [21:14:27]FM_MakeSignedData [21:14:27]FM_MakeSignedData [21:14:27]SAM_PROTO_SignData [21:14:27]wFMCommunicate request_size=4 [21:14:27]MH_SAM_APDU [21:14:27]CAPDU: 80 0D 01 02 [21:14:27]Write to MH i2c: E2 08 00 7E 04 80 0D 01 02 00 00 00 00 FB [21:14:27]Write i2c OK [21:14:27]MH_I2C_Read... [21:14:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:14:27]Read from MH i2c: E2 [21:14:27]MH_I2C_Read... [21:14:27]Read from MH i2c: E2 03 00 [21:14:27]MH_I2C_Read... [21:14:27]Read from MH i2c: E2 03 00 7E 04 00 90 00 F6 [21:14:27]RAPDU: 90 00 [21:14:27]wFMCommunicate OK [21:14:27]wFMCommunicate request_size=255 [21:14:27]MH_SAM_APDU [21:14:27]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 B3 81 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 [21:14:27]Write to MH i2c: E2 02 01 7F 04 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 B3 81 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 00 00 56 [21:14:27]Write i2c OK [21:14:27]MH_I2C_Read... [21:14:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:14:28]Read from MH i2c: E2 [21:14:28]MH_I2C_Read... [21:14:28]Read from MH i2c: E2 03 00 [21:14:28]MH_I2C_Read... [21:14:28]Read from MH i2c: E2 03 00 7F 04 00 90 00 F7 [21:14:28]RAPDU: 90 00 [21:14:28]wFMCommunicate OK [21:14:28]wFMCommunicate request_size=35 [21:14:28]MH_SAM_APDU [21:14:28]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 61 31 00 00 35 04 06 00 BE D8 73 E8 A1 AB [21:14:28]Write to MH i2c: E2 26 00 80 04 80 0D 02 02 1E 00 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 61 31 00 00 35 04 06 00 BE D8 73 E8 A1 AB 00 00 C7 [21:14:28]Write i2c OK [21:14:28]MH_I2C_Read... [21:14:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:14:28]Read from MH i2c: E2 [21:14:28]MH_I2C_Read... [21:14:28]Read from MH i2c: E2 03 00 [21:14:28]MH_I2C_Read... [21:14:28]Read from MH i2c: E2 03 00 80 04 00 90 00 F8 [21:14:28]RAPDU: 90 00 [21:14:28]wFMCommunicate OK [21:14:28]wFMCommunicate request_size=4 [21:14:28]MH_SAM_APDU [21:14:28]CAPDU: 80 0D 03 02 [21:14:28]Write to MH i2c: E2 08 00 81 04 80 0D 03 02 00 00 00 00 00 [21:14:28]Write i2c OK [21:14:28]MH_I2C_Read... [21:14:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:14:28]Read from MH i2c: E2 [21:14:28]MH_I2C_Read... [21:14:28]Read from MH i2c: E2 0B 00 [21:14:28]MH_I2C_Read... [21:14:28]Read from MH i2c: E2 0B 00 81 04 00 AE 72 F1 D8 24 E3 72 33 90 00 96 [21:14:28]RAPDU: AE 72 F1 D8 24 E3 72 33 90 00 [21:14:28]wFMCommunicate OK [21:14:28]SAM_PROTO_SignData done [21:14:28]FM_MakeSignedData done [21:14:28]CreateOFDProtocolMessage [21:14:28]wFMCommunicate request_size=4 [21:14:28]MH_SAM_APDU [21:14:28]CAPDU: 80 11 00 00 [21:14:28]Write to MH i2c: E2 08 00 82 04 80 11 00 00 00 00 00 00 00 [21:14:28]Write i2c OK [21:14:28]MH_I2C_Read... [21:14:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:14:28]Read from MH i2c: E2 [21:14:28]MH_I2C_Read... [21:14:28]Read from MH i2c: E2 17 00 [21:14:28]MH_I2C_Read... [21:14:28]Read from MH i2c: E2 17 00 82 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 5A [21:14:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [21:14:28]wFMCommunicate OK [21:14:28]CreateOFDProtocolMessage done [21:14:28]OFDSenderStorePacket 12641 [21:14:28]StoreOFDPacket docnum=12641 [21:14:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 28 01 00 00 A4 2E 20 01 94 28 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 B3 81 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 61 31 00 00 35 04 06 00 BE D8 73 E8 A1 AB AE 72 F1 D8 24 E3 72 33 [21:14:28]CheckFolder [21:14:28]dirname=/storage/ofd_packets [21:14:28]CheckFolder done [21:14:28]ProducePacketName [21:14:28]name=ofd_packets/00012641 [21:14:28]NVStorageSaveData ofd_packets/00012641 [21:14:28]File name is /storage/ofd_packets/00012641 [21:14:28]Write 326 bytes [21:14:28]NVStorageSaveData done [21:14:28]OFDSenderStorePacket done [21:14:28]KKMCreateOFDPacket done [21:14:28]NVStorageSaveData kkm_last_timestamp [21:14:28]File name is /storage/kkm_last_timestamp [21:14:28]Write 4 bytes [21:14:28]NVStorageSaveData done [21:14:28]ExternCall_PrintAddStr [21:14:28]wPrintStart [21:14:28]Write to MH i2c: 01 00 00 83 04 87 [21:14:28]Write i2c OK [21:14:28]MH_I2C_Read... [21:14:28]Read from MH i2c: 01 [21:14:28]MH_I2C_Read... [21:14:28]Read from MH i2c: 01 07 00 [21:14:28]MH_I2C_Read... [21:14:28]Read from MH i2c: 01 07 00 83 04 00 00 00 00 00 FF 0F 9C [21:14:28]RasterBufferAndPrint [21:14:28]line Счет N : (3)32914 [21:14:28]line ИНН: 02508201610067 [21:14:28]line Контрольно-Кассовый Чек [21:14:28]line ПРОДАЖА [21:14:28]line Товар: 48742245 [21:14:28]line Сигареты Parliament Silver Blue [21:14:28]line 1.000 * 151.00 [21:14:28]line = 151.00 [21:14:28]line НДС 12% НСП 1% [21:14:28]line > о реализуемом товаре [21:14:28]line ИТОГО: 151.00 [21:14:28]line НСП 1% : 1.34 [21:14:28]line НДС 12% : 16.03 [21:14:28]line Наличными: 151.00 [21:14:28]line Безнал.: 0.00 [21:14:28]line Место: АЗС № 106 "Партнер Нефть" [21:14:28]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [21:14:28]line СНО: Общий режим [21:14:28]line Чек 53 21.04.2024 21:14 [21:14:28]line Смена: 281 ФФД: 1.0 [21:14:28]line ЗНМ: 0300000004 [21:14:28]line РНМ: 0000000000100748 [21:14:28]line Версия ККМ: 001 [21:14:28]line ФМ: 0000000000965685 [21:14:28]line ФД: 12641 [21:14:28]line ФПД: 209836866838955 [21:14:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T211427&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12641&fm=209836866838955&tin=02508201610067®Number=0000000000100748&sum=15100 [21:14:28]line 0 [21:14:28]OFD Sender: Processing packet 12641 [packets to send 7, broken 6] [21:14:28]ProducePacketName [21:14:28]name=ofd_packets/00012641 [21:14:28]OFD Sender: To server: pG, [21:14:28]CommunicateWithHost lk.salyk.kg:30040 [21:14:28]ConnectInit lk.salyk.kg [21:14:28]written 0, free lines is 4095 [21:14:28]Connected sock=10 [21:14:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 28 01 00 00 A4 2E 20 01 94 28 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 B3 81 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 61 31 00 00 35 04 06 00 BE D8 73 E8 A1 AB AE 72 F1 D8 24 E3 72 33 [21:14:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 BA F5 47 00 74 00 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 61 31 00 00 F4 03 04 00 33 2A 25 66 B6 04 01 00 00 4F DB 75 3B 4F 6A 8D 5D [21:14:28]CommunicateWithHost err = 0 [21:14:28]CheckOFDResponse [21:14:28]1017 (14) - 77093643461234 [21:14:28]1041 (16) - 0000000000965685 [21:14:28]1040 (4) - 12641 [21:14:28]1012 (4) - 21.04.2024 15:01 [21:14:28]1206 (1) - 0 [21:14:28]OFD Sender: Remove packet 12641 [21:14:28]ProducePacketName [21:14:28]name=ofd_packets/00012641 [21:14:28]NVStorageDeleteData [21:14:29]Write to MH i2c: 01 00 00 AB 04 AF [21:14:29]Write i2c OK [21:14:29]MH_I2C_Read... [21:14:29]Read from MH i2c: 01 [21:14:29]MH_I2C_Read... [21:14:29]Read from MH i2c: 01 07 00 [21:14:29]MH_I2C_Read... [21:14:29]Read from MH i2c: 01 07 00 AB 04 00 00 00 00 00 E2 0C A4 [21:14:29]RasterBufferAndPrint [21:14:29]line [21:14:29]line [21:14:29]line [21:14:29]line [21:14:29]line [21:14:29]written 0, free lines is 3302 [21:14:29]MH_Cut [21:14:29]Write to MH i2c: D1 01 00 B2 04 01 88 [21:14:29]Write i2c OK [21:14:29]MH_I2C_Read... [21:14:29]Read from MH i2c: D1 [21:14:29]MH_I2C_Read... [21:14:29]Read from MH i2c: D1 01 00 [21:14:29]MH_I2C_Read... [21:14:29]Read from MH i2c: D1 01 00 B2 04 00 87 [21:14:29]Write to MH i2c: 01 00 00 B3 04 B7 [21:14:29]Write i2c OK [21:14:29]MH_I2C_Read... [21:14:29]OFD Sender: No OFD packet to send [21:14:29]*** Cut start [21:14:29]*** Partial cut [21:14:29]*** CUTSNS_PIN = 1 [21:14:29]*** CUTSNS_PIN = 0 [21:14:30]*** Brake cut motor [21:14:30]Read from MH i2c: 01 [21:14:30]MH_I2C_Read... [21:14:30]*** Stop cut motor [21:14:30]*** Cut end [21:14:30]Read from MH i2c: 01 07 00 [21:14:30]MH_I2C_Read... [21:14:30]Read from MH i2c: 01 07 00 B3 04 00 00 00 00 00 FF 0F CC [21:14:30]process_action close_receipt done [21:14:30]requested_data is exist [21:14:30]produce_requested_data [21:14:30]requested_item fm.sn is exist - process it [21:14:30]wFMCommunicate request_size=4 [21:14:30]MH_SAM_APDU [21:14:30]CAPDU: 80 11 00 00 [21:14:30]Write to MH i2c: E2 08 00 B4 04 80 11 00 00 00 00 00 00 32 [21:14:30]Write i2c OK [21:14:30]MH_I2C_Read... [21:14:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:14:30]Read from MH i2c: E2 [21:14:30]MH_I2C_Read... [21:14:30]Read from MH i2c: E2 17 00 [21:14:30]MH_I2C_Read... [21:14:30]Read from MH i2c: E2 17 00 B4 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 8C [21:14:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [21:14:30]wFMCommunicate OK [21:14:30]requested_item fd.num is exist - process it [21:14:30]SAM_PROTO_GetFieldsCounters [21:14:30]wFMCommunicate request_size=4 [21:14:30]MH_SAM_APDU [21:14:30]CAPDU: 80 13 00 00 [21:14:30]Write to MH i2c: E2 08 00 B5 04 80 13 00 00 00 00 00 00 35 [21:14:30]Write i2c OK [21:14:30]MH_I2C_Read... [21:14:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:14:30]Read from MH i2c: E2 [21:14:30]MH_I2C_Read... [21:14:30]Read from MH i2c: E2 62 00 [21:14:30]MH_I2C_Read... [21:14:30]Read from MH i2c: E2 62 00 B5 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 61 31 00 00 0E 04 04 00 19 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 A3 [21:14:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 61 31 00 00 0E 04 04 00 19 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 [21:14:30]wFMCommunicate OK [21:14:30]SAM_PROTO_GetFieldsCounters done [21:14:30]requested_item shift.num is exist - process it [21:14:30]requested_item shift.opened is exist - process it [21:14:30]req_shift_opened [21:14:30]FM_GetShiftState [21:14:30]SAM_PROTO_GetShiftState [21:14:30]wFMCommunicate request_size=4 [21:14:30]MH_SAM_APDU [21:14:30]CAPDU: 80 13 01 00 [21:14:30]Write to MH i2c: E2 08 00 B6 04 80 13 01 00 00 00 00 00 37 [21:14:30]Write i2c OK [21:14:30]MH_I2C_Read... [21:14:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:14:30]Read from MH i2c: E2 [21:14:30]MH_I2C_Read... [21:14:30]Read from MH i2c: E2 0E 00 [21:14:30]MH_I2C_Read... [21:14:30]Read from MH i2c: E2 0E 00 B6 04 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 8F [21:14:30]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [21:14:30]wFMCommunicate OK [21:14:30]SAM_PROTO_GetShiftState done [21:14:30]FM_GetShiftState done [21:14:30]req_shift_opened done [21:14:30]requested_item shift.open_date is exist - process it [21:14:30]req_shift_open_date [21:14:30]req_shift_open_date done [21:14:30]produce_requested_data done [21:14:30]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12641,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [21:14:30]process_action_free close_receipt [21:14:30]json_value_free [21:14:30]json_value_free done [21:14:30]process_json_proto returns [21:14:30]Send response to host [21:14:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12641,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [21:14:30]free response buf [21:14:30]execute_script done [21:14:30]execute_script returns [21:14:30]free content buf [21:14:30]Sock 9.Close socket [21:14:30]Sock 9.Thread stoped [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:49]OFD Sender: No OFD packet to send [21:19:54]OFD Sender: No OFD packet to send [21:19:59]OFD Sender: No OFD packet to send [21:20:04]OFD Sender: No OFD packet to send [21:20:09]OFD Sender: No OFD packet to send [21:20:14]OFD Sender: No OFD packet to send [21:20:19]OFD Sender: No OFD packet to send [21:20:24]OFD Sender: No OFD packet to send [21:20:29]OFD Sender: No OFD packet to send [21:20:34]OFD Sender: No OFD packet to send [21:20:39]OFD Sender: No OFD packet to send [21:20:44]OFD Sender: No OFD packet to send [21:20:49]OFD Sender: No OFD packet to send [21:20:54]OFD Sender: No OFD packet to send [21:20:59]OFD Sender: No OFD packet to send [21:21:04]OFD Sender: No OFD packet to send [21:21:09]OFD Sender: No OFD packet to send [21:21:14]OFD Sender: No OFD packet to send [21:21:19]OFD Sender: No OFD packet to send [21:21:24]OFD Sender: No OFD packet to send [21:21:29]OFD Sender: No OFD packet to send [21:21:34]OFD Sender: No OFD packet to send [21:21:39]OFD Sender: No OFD packet to send [21:21:44]OFD Sender: No OFD packet to send [21:21:49]OFD Sender: No OFD packet to send [21:21:54]OFD Sender: No OFD packet to send [21:21:59]OFD Sender: No OFD packet to send [21:22:04]OFD Sender: No OFD packet to send [21:22:09]OFD Sender: No OFD packet to send [21:22:14]OFD Sender: No OFD packet to send [21:22:19]OFD Sender: No OFD packet to send [21:22:24]OFD Sender: No OFD packet to send [21:22:29]OFD Sender: No OFD packet to send [21:22:34]OFD Sender: No OFD packet to send [21:22:39]OFD Sender: No OFD packet to send [21:22:44]OFD Sender: No OFD packet to send [21:22:49]OFD Sender: No OFD packet to send [21:22:54]OFD Sender: No OFD packet to send [21:22:59]OFD Sender: No OFD packet to send [21:23:04]OFD Sender: No OFD packet to send [21:23:09]OFD Sender: No OFD packet to send [21:23:14]OFD Sender: No OFD packet to send [21:23:19]OFD Sender: No OFD packet to send [21:23:24]OFD Sender: No OFD packet to send [21:23:29]OFD Sender: No OFD packet to send [21:23:34]OFD Sender: No OFD packet to send [21:23:39]OFD Sender: No OFD packet to send [21:23:44]OFD Sender: No OFD packet to send [21:23:49]OFD Sender: No OFD packet to send [21:23:54]OFD Sender: No OFD packet to send [21:23:59]OFD Sender: No OFD packet to send [21:24:04]OFD Sender: No OFD packet to send [21:24:09]OFD Sender: No OFD packet to send [21:24:14]OFD Sender: No OFD packet to send [21:24:19]OFD Sender: No OFD packet to send [21:24:24]OFD Sender: No OFD packet to send [21:24:29]OFD Sender: No OFD packet to send [21:24:34]OFD Sender: No OFD packet to send [21:24:39]OFD Sender: No OFD packet to send [21:24:44]OFD Sender: No OFD packet to send [21:24:49]OFD Sender: No OFD packet to send [21:24:54]OFD Sender: No OFD packet to send [21:24:59]OFD Sender: No OFD packet to send [21:25:04]OFD Sender: No OFD packet to send [21:25:09]OFD Sender: No OFD packet to send [21:25:14]OFD Sender: No OFD packet to send [21:25:19]OFD Sender: No OFD packet to send [21:25:24]OFD Sender: No OFD packet to send [21:25:29]OFD Sender: No OFD packet to send [21:25:35]OFD Sender: No OFD packet to send [21:25:40]OFD Sender: No OFD packet to send [21:25:45]OFD Sender: No OFD packet to send [21:25:50]OFD Sender: No OFD packet to send [21:25:55]OFD Sender: No OFD packet to send [21:26:00]OFD Sender: No OFD packet to send [21:26:05]OFD Sender: No OFD packet to send [21:26:10]OFD Sender: No OFD packet to send [21:26:15]OFD Sender: No OFD packet to send [21:26:20]OFD Sender: No OFD packet to send [21:26:25]OFD Sender: No OFD packet to send [21:26:30]OFD Sender: No OFD packet to send [21:26:35]OFD Sender: No OFD packet to send [21:26:40]OFD Sender: No OFD packet to send [21:26:45]OFD Sender: No OFD packet to send [21:26:50]OFD Sender: No OFD packet to send [21:26:55]OFD Sender: No OFD packet to send [21:27:00]OFD Sender: No OFD packet to send [21:27:05]OFD Sender: No OFD packet to send [21:27:10]OFD Sender: No OFD packet to send [21:27:15]OFD Sender: No OFD packet to send [21:27:20]OFD Sender: No OFD packet to send [21:27:25]OFD Sender: No OFD packet to send [21:27:30]OFD Sender: No OFD packet to send [21:27:35]OFD Sender: No OFD packet to send [21:27:40]OFD Sender: No OFD packet to send [21:27:45]OFD Sender: No OFD packet to send [21:27:50]OFD Sender: No OFD packet to send [21:27:55]OFD Sender: No OFD packet to send [21:28:00]OFD Sender: No OFD packet to send [21:28:05]OFD Sender: No OFD packet to send [21:28:10]OFD Sender: No OFD packet to send [21:28:15]OFD Sender: No OFD packet to send [21:28:20]OFD Sender: No OFD packet to send [21:28:24]accept exits with 7 [21:28:24]New connection [21:28:24]New thread 3066957156 created [21:28:24]Thread 3066813796 joined [21:28:24]Waiting for new connection... [21:28:24] Sock 7.Parse request [21:28:24]Sock 7.Check first char [21:28:24]Sock 7.First char is OK [21:28:24]request: POST /json_proto HTTP/1.0 [21:28:24]Method: POST [21:28:24]URL: /json_proto [21:28:24]Method is POST - this is cgi request [21:28:24]url: /json_proto [21:28:24]query_string will be loaded in cgi processing [21:28:24]execute_cgi json_proto POST (null) [21:28:24]execute_cgi path=json_proto method=POST [21:28:24]POST find Content-Length [21:28:24]Host: 172.17.62.6:8080 [21:28:24]Content-Length: 628 [21:28:24]Content-Type: application/json [21:28:24] [21:28:24]POST finish read [21:28:24]Found Content-Length = 628 [21:28:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32915", "tax_sys" : 0, "items" : [ { "code": "80942726", "name": "\u0420/\u0436 mentos \u043C\u044F\u0442\u0430 \u0440\u043E\u043B\u043B 16\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 49.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:28:24]execute_script... [21:28:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32915", "tax_sys" : 0, "items" : [ { "code": "80942726", "name": "\u0420/\u0436 mentos \u043C\u044F\u0442\u0430 \u0440\u043E\u043B\u043B 16\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 49.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:28:24]POST & json_proto [21:28:24]process_json_proto [21:28:24]json parsed OK: [21:28:24]protocol is kg_v1.0 [21:28:24]action value=close_receipt [21:28:24]process_action close_receipt [21:28:24]cmd_close_receipt [21:28:24]MH_GetDate [21:28:24]Write to MH i2c: F0 00 00 B7 04 AA [21:28:24]Write i2c OK [21:28:24]MH_I2C_Read... [21:28:24]Read from MH i2c: F0 [21:28:24]MH_I2C_Read... [21:28:24]Read from MH i2c: F0 09 00 [21:28:24]MH_I2C_Read... [21:28:24]Read from MH i2c: F0 09 00 B7 04 00 F9 84 25 66 61 69 D2 64 BB [21:28:24]GetLastDocTimeStamp 1713734067 [21:28:24]current date 1713734905 [21:28:24]FM_GetShiftState [21:28:24]SAM_PROTO_GetShiftState [21:28:24]wFMCommunicate request_size=4 [21:28:24]MH_SAM_APDU [21:28:24]CAPDU: 80 13 01 00 [21:28:24]Write to MH i2c: E2 08 00 B8 04 80 13 01 00 00 00 00 00 39 [21:28:24]Write i2c OK [21:28:24]MH_I2C_Read... [21:28:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:28:24]Read from MH i2c: E2 [21:28:24]MH_I2C_Read... [21:28:24]Read from MH i2c: E2 0E 00 [21:28:24]MH_I2C_Read... [21:28:24]Read from MH i2c: E2 0E 00 B8 04 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 91 [21:28:24]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [21:28:24]wFMCommunicate OK [21:28:24]SAM_PROTO_GetShiftState done [21:28:24]FM_GetShiftState done [21:28:24]opened in 1713658727 [21:28:24]opened+sec_in_day 1713745127 [21:28:24]quantity*price = 4900 [21:28:24]sum+1 = 4901 [21:28:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 49.00 НСП 1% : 0.43 НДС 12% : 5.20 Наличными: 49.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 54 21.04.2024 21:28 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12642 ФПД: 228834487083638 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T212825&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12642&fm=228834487083638&tin=02508201610067®Number=0000000000100748&sum=4900 0 [21:28:25]StoreToDocumentArchive [21:28:25]shift 281 fd 12642 [21:28:25]save to /storage/0281/doc_00012642 [21:28:25]save last doc name /storage/0281/doc_00012642 to /storage/kkm_last_doc_name [21:28:25]save OK [21:28:25]Clear old archive folders... [21:28:25]ProcessDocumentItem done err = 0, tmpTLVsize=272 [21:28:25]tlvbuf is 016C2F10 [21:28:25]SAM_PROTO_ClearQueue [21:28:25]wFMCommunicate request_size=4 [21:28:25]MH_SAM_APDU [21:28:25]CAPDU: 80 09 00 00 [21:28:25]Write to MH i2c: E2 08 00 C5 04 80 09 00 00 00 00 00 00 3B [21:28:25]Write i2c OK [21:28:25]MH_I2C_Read... [21:28:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:28:25]Read from MH i2c: E2 [21:28:25]MH_I2C_Read... [21:28:25]Read from MH i2c: E2 03 00 [21:28:25]MH_I2C_Read... [21:28:25]Read from MH i2c: E2 03 00 C5 04 00 90 00 3D [21:28:25]RAPDU: 90 00 [21:28:25]wFMCommunicate OK [21:28:25]SAM_PROTO_ClearQueue done [21:28:25]KKMCreateOFDPacket [21:28:25]OFDProtocolAddRootSTLVToBuf [21:28:25]FM_MakeSignedData [21:28:25]FM_MakeSignedData [21:28:25]SAM_PROTO_SignData [21:28:25]wFMCommunicate request_size=4 [21:28:25]MH_SAM_APDU [21:28:25]CAPDU: 80 0D 01 02 [21:28:25]Write to MH i2c: E2 08 00 C6 04 80 0D 01 02 00 00 00 00 43 [21:28:25]Write i2c OK [21:28:25]MH_I2C_Read... [21:28:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:28:25]Read from MH i2c: E2 [21:28:25]MH_I2C_Read... [21:28:25]Read from MH i2c: E2 03 00 [21:28:25]MH_I2C_Read... [21:28:25]Read from MH i2c: E2 03 00 C6 04 00 90 00 3E [21:28:25]RAPDU: 90 00 [21:28:25]wFMCommunicate OK [21:28:25]wFMCommunicate request_size=255 [21:28:25]MH_SAM_APDU [21:28:25]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 38 30 39 34 32 37 32 36 06 04 23 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 F9 84 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 [21:28:25]Write to MH i2c: E2 02 01 C7 04 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 38 30 39 34 32 37 32 36 06 04 23 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 F9 84 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 00 00 F6 [21:28:25]Write i2c OK [21:28:25]MH_I2C_Read... [21:28:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:28:26]Read from MH i2c: E2 [21:28:26]MH_I2C_Read... [21:28:26]Read from MH i2c: E2 03 00 [21:28:26]MH_I2C_Read... [21:28:26]Read from MH i2c: E2 03 00 C7 04 00 90 00 3F [21:28:26]RAPDU: 90 00 [21:28:26]wFMCommunicate OK [21:28:26]wFMCommunicate request_size=31 [21:28:26]MH_SAM_APDU [21:28:26]CAPDU: 80 0D 02 02 1A 30 30 39 36 35 36 38 35 10 04 04 00 62 31 00 00 35 04 06 00 D0 1F AE 50 A2 76 [21:28:26]Write to MH i2c: E2 22 00 C8 04 80 0D 02 02 1A 00 30 30 39 36 35 36 38 35 10 04 04 00 62 31 00 00 35 04 06 00 D0 1F AE 50 A2 76 00 00 10 [21:28:26]Write i2c OK [21:28:26]MH_I2C_Read... [21:28:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:28:26]Read from MH i2c: E2 [21:28:26]MH_I2C_Read... [21:28:26]Read from MH i2c: E2 03 00 [21:28:26]MH_I2C_Read... [21:28:26]Read from MH i2c: E2 03 00 C8 04 00 90 00 40 [21:28:26]RAPDU: 90 00 [21:28:26]wFMCommunicate OK [21:28:26]wFMCommunicate request_size=4 [21:28:26]MH_SAM_APDU [21:28:26]CAPDU: 80 0D 03 02 [21:28:26]Write to MH i2c: E2 08 00 C9 04 80 0D 03 02 00 00 00 00 48 [21:28:26]Write i2c OK [21:28:26]MH_I2C_Read... [21:28:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:28:26]Read from MH i2c: E2 [21:28:26]MH_I2C_Read... [21:28:26]Read from MH i2c: E2 0B 00 [21:28:26]MH_I2C_Read... [21:28:26]Read from MH i2c: E2 0B 00 C9 04 00 96 57 FB 47 AF 4B 74 2A 90 00 10 [21:28:26]RAPDU: 96 57 FB 47 AF 4B 74 2A 90 00 [21:28:26]wFMCommunicate OK [21:28:26]SAM_PROTO_SignData done [21:28:26]FM_MakeSignedData done [21:28:26]CreateOFDProtocolMessage [21:28:26]wFMCommunicate request_size=4 [21:28:26]MH_SAM_APDU [21:28:26]CAPDU: 80 11 00 00 [21:28:26]Write to MH i2c: E2 08 00 CA 04 80 11 00 00 00 00 00 00 48 [21:28:26]Write i2c OK [21:28:26]MH_I2C_Read... [21:28:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:28:26]Read from MH i2c: E2 [21:28:26]MH_I2C_Read... [21:28:26]Read from MH i2c: E2 17 00 [21:28:26]MH_I2C_Read... [21:28:26]Read from MH i2c: E2 17 00 CA 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 A2 [21:28:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [21:28:26]wFMCommunicate OK [21:28:26]CreateOFDProtocolMessage done [21:28:26]OFDSenderStorePacket 12642 [21:28:26]StoreOFDPacket docnum=12642 [21:28:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 24 01 00 00 DB DC 1C 01 04 36 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 38 30 39 34 32 37 32 36 06 04 23 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 F9 84 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 62 31 00 00 35 04 06 00 D0 1F AE 50 A2 76 96 57 FB 47 AF 4B 74 2A [21:28:26]CheckFolder [21:28:26]dirname=/storage/ofd_packets [21:28:26]CheckFolder done [21:28:26]ProducePacketName [21:28:26]name=ofd_packets/00012642 [21:28:26]NVStorageSaveData ofd_packets/00012642 [21:28:26]File name is /storage/ofd_packets/00012642 [21:28:26]Write 322 bytes [21:28:26]NVStorageSaveData done [21:28:26]OFDSenderStorePacket done [21:28:26]KKMCreateOFDPacket done [21:28:26]NVStorageSaveData kkm_last_timestamp [21:28:26]File name is /storage/kkm_last_timestamp [21:28:26]Write 4 bytes [21:28:26]NVStorageSaveData done [21:28:26]ExternCall_PrintAddStr [21:28:26]wPrintStart [21:28:26]Write to MH i2c: 01 00 00 CB 04 CF [21:28:26]Write i2c OK [21:28:26]MH_I2C_Read... [21:28:26]Read from MH i2c: 01 [21:28:26]MH_I2C_Read... [21:28:26]Read from MH i2c: 01 07 00 [21:28:26]MH_I2C_Read... [21:28:26]Read from MH i2c: 01 07 00 CB 04 00 00 00 00 00 FF 0F E4 [21:28:26]RasterBufferAndPrint [21:28:26]line Счет N : (3)32915 [21:28:26]line ИНН: 02508201610067 [21:28:26]line Контрольно-Кассовый Чек [21:28:26]line ПРОДАЖА [21:28:26]line Товар: 80942726 [21:28:26]line Р/ж mentos мята ролл 16г [21:28:26]line 1.000 * 49.00 [21:28:26]line = 49.00 [21:28:26]line НДС 12% НСП 1% [21:28:26]line > о реализуемом товаре [21:28:26]line ИТОГО: 49.00 [21:28:26]line НСП 1% : 0.43 [21:28:26]line НДС 12% : 5.20 [21:28:26]line Наличными: 49.00 [21:28:26]line Безнал.: 0.00 [21:28:26]line Место: АЗС № 106 "Партнер Нефть" [21:28:26]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [21:28:26]line СНО: Общий режим [21:28:26]line Чек 54 21.04.2024 21:28 [21:28:26]line Смена: 281 ФФД: 1.0 [21:28:26]line ЗНМ: 0300000004 [21:28:26]line РНМ: 0000000000100748 [21:28:26]line Версия ККМ: 001 [21:28:26]line ФМ: 0000000000965685 [21:28:26]line ФД: 12642 [21:28:26]line ФПД: 228834487083638 [21:28:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T212825&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12642&fm=228834487083638&tin=02508201610067®Number=0000000000100748&sum=4900 [21:28:26]line 0 [21:28:26]OFD Sender: Processing packet 12642 [packets to send 7, broken 6] [21:28:26]ProducePacketName [21:28:26]name=ofd_packets/00012642 [21:28:26]OFD Sender: To server: pG, [21:28:26]CommunicateWithHost lk.salyk.kg:30040 [21:28:26]ConnectInit lk.salyk.kg [21:28:26]written 0, free lines is 4095 [21:28:26]Connected sock=11 [21:28:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 24 01 00 00 DB DC 1C 01 04 36 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 38 30 39 34 32 37 32 36 06 04 23 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 F9 84 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 62 31 00 00 35 04 06 00 D0 1F AE 50 A2 76 96 57 FB 47 AF 4B 74 2A [21:28:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 85 44 47 00 46 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 39 36 35 36 38 35 10 04 04 00 62 31 00 00 F4 03 04 00 79 2D 25 66 B6 04 01 00 00 D9 57 6A 1F 24 8D F0 E7 [21:28:27]CommunicateWithHost err = 0 [21:28:27]CheckOFDResponse [21:28:27]1017 (14) - 77093643461234 [21:28:27]1041 (16) - 0000000000965685 [21:28:27]1040 (4) - 12642 [21:28:27]1012 (4) - 21.04.2024 15:15 [21:28:27]1206 (1) - 0 [21:28:27]OFD Sender: Remove packet 12642 [21:28:27]ProducePacketName [21:28:27]name=ofd_packets/00012642 [21:28:27]NVStorageDeleteData [21:28:27]Write to MH i2c: 01 00 00 F2 04 F6 [21:28:27]Write i2c OK [21:28:27]MH_I2C_Read... [21:28:27]Read from MH i2c: 01 [21:28:27]MH_I2C_Read... [21:28:27]Read from MH i2c: 01 07 00 [21:28:27]MH_I2C_Read... [21:28:27]Read from MH i2c: 01 07 00 F2 04 00 00 00 00 00 1F 0D 29 [21:28:27]RasterBufferAndPrint [21:28:27]line [21:28:27]line [21:28:27]line [21:28:27]line [21:28:27]line [21:28:27]written 0, free lines is 3365 [21:28:27]MH_Cut [21:28:27]Write to MH i2c: D1 01 00 F9 04 01 CF [21:28:27]Write i2c OK [21:28:27]MH_I2C_Read... [21:28:27]Read from MH i2c: D1 [21:28:27]MH_I2C_Read... [21:28:27]Read from MH i2c: D1 01 00 [21:28:27]MH_I2C_Read... [21:28:27]Read from MH i2c: D1 01 00 F9 04 00 CE [21:28:27]Write to MH i2c: 01 00 00 FA 04 FE [21:28:27]Write i2c OK [21:28:27]MH_I2C_Read... [21:28:27]OFD Sender: No OFD packet to send [21:28:27]*** Cut start [21:28:27]*** Partial cut [21:28:27]*** CUTSNS_PIN = 1 [21:28:27]*** CUTSNS_PIN = 0 [21:28:28]*** Brake cut motor [21:28:28]Read from MH i2c: 01 [21:28:28]MH_I2C_Read... [21:28:28]*** Stop cut motor [21:28:28]*** Cut end [21:28:28]Read from MH i2c: 01 07 00 [21:28:28]MH_I2C_Read... [21:28:28]Read from MH i2c: 01 07 00 FA 04 00 00 00 00 00 FF 0F 13 [21:28:28]process_action close_receipt done [21:28:28]requested_data is exist [21:28:28]produce_requested_data [21:28:28]requested_item fm.sn is exist - process it [21:28:28]wFMCommunicate request_size=4 [21:28:28]MH_SAM_APDU [21:28:28]CAPDU: 80 11 00 00 [21:28:28]Write to MH i2c: E2 08 00 FB 04 80 11 00 00 00 00 00 00 79 [21:28:28]Write i2c OK [21:28:28]MH_I2C_Read... [21:28:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:28:28]Read from MH i2c: E2 [21:28:28]MH_I2C_Read... [21:28:28]Read from MH i2c: E2 17 00 [21:28:28]MH_I2C_Read... [21:28:28]Read from MH i2c: E2 17 00 FB 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 D3 [21:28:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [21:28:28]wFMCommunicate OK [21:28:28]requested_item fd.num is exist - process it [21:28:28]SAM_PROTO_GetFieldsCounters [21:28:28]wFMCommunicate request_size=4 [21:28:28]MH_SAM_APDU [21:28:28]CAPDU: 80 13 00 00 [21:28:28]Write to MH i2c: E2 08 00 FC 04 80 13 00 00 00 00 00 00 7C [21:28:28]Write i2c OK [21:28:28]MH_I2C_Read... [21:28:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:28:28]Read from MH i2c: E2 [21:28:28]MH_I2C_Read... [21:28:28]Read from MH i2c: E2 62 00 [21:28:28]MH_I2C_Read... [21:28:28]Read from MH i2c: E2 62 00 FC 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 62 31 00 00 0E 04 04 00 19 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 EE [21:28:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 62 31 00 00 0E 04 04 00 19 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 [21:28:28]wFMCommunicate OK [21:28:28]SAM_PROTO_GetFieldsCounters done [21:28:28]requested_item shift.num is exist - process it [21:28:28]requested_item shift.opened is exist - process it [21:28:28]req_shift_opened [21:28:28]FM_GetShiftState [21:28:28]SAM_PROTO_GetShiftState [21:28:28]wFMCommunicate request_size=4 [21:28:28]MH_SAM_APDU [21:28:28]CAPDU: 80 13 01 00 [21:28:28]Write to MH i2c: E2 08 00 FD 04 80 13 01 00 00 00 00 00 7E [21:28:28]Write i2c OK [21:28:28]MH_I2C_Read... [21:28:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:28:28]Read from MH i2c: E2 [21:28:28]MH_I2C_Read... [21:28:28]Read from MH i2c: E2 0E 00 [21:28:28]MH_I2C_Read... [21:28:28]Read from MH i2c: E2 0E 00 FD 04 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 D6 [21:28:28]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [21:28:28]wFMCommunicate OK [21:28:28]SAM_PROTO_GetShiftState done [21:28:28]FM_GetShiftState done [21:28:28]req_shift_opened done [21:28:28]requested_item shift.open_date is exist - process it [21:28:28]req_shift_open_date [21:28:28]req_shift_open_date done [21:28:28]produce_requested_data done [21:28:28]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12642,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [21:28:28]process_action_free close_receipt [21:28:28]json_value_free [21:28:28]json_value_free done [21:28:28]process_json_proto returns [21:28:28]Send response to host [21:28:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12642,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [21:28:28]free response buf [21:28:28]execute_script done [21:28:28]execute_script returns [21:28:28]free content buf [21:28:28]Sock 7.Close socket [21:28:28]Sock 7.Thread stoped [21:28:32]OFD Sender: No OFD packet to send [21:28:37]OFD Sender: No OFD packet to send [21:28:42]OFD Sender: No OFD packet to send [21:28:47]OFD Sender: No OFD packet to send [21:28:52]OFD Sender: No OFD packet to send [21:28:57]OFD Sender: No OFD packet to send [21:29:02]OFD Sender: No OFD packet to send [21:29:07]OFD Sender: No OFD packet to send [21:29:12]OFD Sender: No OFD packet to send [21:29:17]OFD Sender: No OFD packet to send [21:29:22]OFD Sender: No OFD packet to send [21:29:27]OFD Sender: No OFD packet to send [21:29:32]OFD Sender: No OFD packet to send [21:29:37]OFD Sender: No OFD packet to send [21:29:42]OFD Sender: No OFD packet to send [21:29:47]OFD Sender: No OFD packet to send [21:29:52]OFD Sender: No OFD packet to send [21:29:57]OFD Sender: No OFD packet to send [21:30:02]OFD Sender: No OFD packet to send [21:30:07]OFD Sender: No OFD packet to send [21:30:12]OFD Sender: No OFD packet to send [21:30:17]OFD Sender: No OFD packet to send [21:30:22]OFD Sender: No OFD packet to send [21:30:27]OFD Sender: No OFD packet to send [21:30:32]OFD Sender: No OFD packet to send [21:30:37]OFD Sender: No OFD packet to send [21:30:42]OFD Sender: No OFD packet to send [21:30:47]OFD Sender: No OFD packet to send [21:30:52]OFD Sender: No OFD packet to send [21:30:57]OFD Sender: No OFD packet to send [21:31:02]OFD Sender: No OFD packet to send [21:31:07]OFD Sender: No OFD packet to send [21:31:12]OFD Sender: No OFD packet to send [21:31:17]OFD Sender: No OFD packet to send [21:31:22]OFD Sender: No OFD packet to send [21:31:27]OFD Sender: No OFD packet to send [21:31:32]OFD Sender: No OFD packet to send [21:31:37]OFD Sender: No OFD packet to send [21:31:42]OFD Sender: No OFD packet to send [21:31:47]OFD Sender: No OFD packet to send [21:31:52]OFD Sender: No OFD packet to send [21:31:57]OFD Sender: No OFD packet to send [21:32:02]OFD Sender: No OFD packet to send [21:32:07]OFD Sender: No OFD packet to send [21:32:12]OFD Sender: No OFD packet to send [21:32:17]OFD Sender: No OFD packet to send [21:32:22]OFD Sender: No OFD packet to send [21:32:27]OFD Sender: No OFD packet to send [21:32:32]OFD Sender: No OFD packet to send [21:32:37]OFD Sender: No OFD packet to send [21:32:42]OFD Sender: No OFD packet to send [21:32:47]OFD Sender: No OFD packet to send [21:32:52]OFD Sender: No OFD packet to send [21:32:57]OFD Sender: No OFD packet to send [21:33:02]OFD Sender: No OFD packet to send [21:33:07]OFD Sender: No OFD packet to send [21:33:12]OFD Sender: No OFD packet to send [21:33:17]OFD Sender: No OFD packet to send [21:33:22]OFD Sender: No OFD packet to send [21:33:27]OFD Sender: No OFD packet to send [21:33:32]OFD Sender: No OFD packet to send [21:33:37]OFD Sender: No OFD packet to send [21:33:42]OFD Sender: No OFD packet to send [21:33:47]OFD Sender: No OFD packet to send [21:33:52]OFD Sender: No OFD packet to send [21:33:57]OFD Sender: No OFD packet to send [21:34:02]OFD Sender: No OFD packet to send [21:34:07]OFD Sender: No OFD packet to send [21:34:12]OFD Sender: No OFD packet to send [21:34:17]OFD Sender: No OFD packet to send [21:34:22]OFD Sender: No OFD packet to send [21:34:27]OFD Sender: No OFD packet to send [21:34:32]OFD Sender: No OFD packet to send [21:34:37]OFD Sender: No OFD packet to send [21:34:42]OFD Sender: No OFD packet to send [21:34:47]OFD Sender: No OFD packet to send [21:34:52]OFD Sender: No OFD packet to send [21:34:57]OFD Sender: No OFD packet to send [21:35:02]OFD Sender: No OFD packet to send [21:35:07]OFD Sender: No OFD packet to send [21:35:12]OFD Sender: No OFD packet to send [21:35:17]OFD Sender: No OFD packet to send [21:35:22]OFD Sender: No OFD packet to send [21:35:27]OFD Sender: No OFD packet to send [21:35:32]OFD Sender: No OFD packet to send [21:35:37]OFD Sender: No OFD packet to send [21:35:42]OFD Sender: No OFD packet to send [21:35:47]OFD Sender: No OFD packet to send [21:35:52]OFD Sender: No OFD packet to send [21:35:57]OFD Sender: No OFD packet to send [21:36:02]OFD Sender: No OFD packet to send [21:36:07]OFD Sender: No OFD packet to send [21:36:12]OFD Sender: No OFD packet to send [21:36:17]OFD Sender: No OFD packet to send [21:36:22]OFD Sender: No OFD packet to send [21:36:27]OFD Sender: No OFD packet to send [21:36:32]OFD Sender: No OFD packet to send [21:36:37]OFD Sender: No OFD packet to send [21:36:42]OFD Sender: No OFD packet to send [21:36:47]OFD Sender: No OFD packet to send [21:36:52]OFD Sender: No OFD packet to send [21:36:57]OFD Sender: No OFD packet to send [21:37:02]OFD Sender: No OFD packet to send [21:37:07]OFD Sender: No OFD packet to send [21:37:12]OFD Sender: No OFD packet to send [21:37:17]OFD Sender: No OFD packet to send [21:37:22]OFD Sender: No OFD packet to send [21:37:27]OFD Sender: No OFD packet to send [21:37:32]OFD Sender: No OFD packet to send [21:37:37]OFD Sender: No OFD packet to send [21:37:42]OFD Sender: No OFD packet to send [21:37:47]OFD Sender: No OFD packet to send [21:37:52]OFD Sender: No OFD packet to send [21:37:57]OFD Sender: No OFD packet to send [21:38:02]OFD Sender: No OFD packet to send [21:38:07]OFD Sender: No OFD packet to send [21:38:12]OFD Sender: No OFD packet to send [21:38:17]OFD Sender: No OFD packet to send [21:38:22]OFD Sender: No OFD packet to send [21:38:27]OFD Sender: No OFD packet to send [21:38:32]OFD Sender: No OFD packet to send [21:38:37]OFD Sender: No OFD packet to send [21:38:42]OFD Sender: No OFD packet to send [21:38:48]OFD Sender: No OFD packet to send [21:38:53]OFD Sender: No OFD packet to send [21:38:58]OFD Sender: No OFD packet to send [21:39:03]OFD Sender: No OFD packet to send [21:39:08]OFD Sender: No OFD packet to send [21:39:13]OFD Sender: No OFD packet to send [21:39:18]OFD Sender: No OFD packet to send [21:39:23]OFD Sender: No OFD packet to send [21:39:28]OFD Sender: No OFD packet to send [21:39:33]OFD Sender: No OFD packet to send [21:39:38]OFD Sender: No OFD packet to send [21:39:43]OFD Sender: No OFD packet to send [21:39:48]OFD Sender: No OFD packet to send [21:39:53]OFD Sender: No OFD packet to send [21:39:58]OFD Sender: No OFD packet to send [21:40:03]OFD Sender: No OFD packet to send [21:40:08]OFD Sender: No OFD packet to send [21:40:13]OFD Sender: No OFD packet to send [21:40:18]OFD Sender: No OFD packet to send [21:40:23]OFD Sender: No OFD packet to send [21:40:28]OFD Sender: No OFD packet to send [21:40:33]OFD Sender: No OFD packet to send [21:40:38]OFD Sender: No OFD packet to send [21:40:43]OFD Sender: No OFD packet to send [21:40:48]OFD Sender: No OFD packet to send [21:40:53]OFD Sender: No OFD packet to send [21:40:58]OFD Sender: No OFD packet to send [21:41:03]OFD Sender: No OFD packet to send [21:41:08]OFD Sender: No OFD packet to send [21:41:13]OFD Sender: No OFD packet to send [21:41:18]OFD Sender: No OFD packet to send [21:41:23]OFD Sender: No OFD packet to send [21:41:28]OFD Sender: No OFD packet to send [21:41:33]OFD Sender: No OFD packet to send [21:41:38]OFD Sender: No OFD packet to send [21:41:43]OFD Sender: No OFD packet to send [21:41:48]OFD Sender: No OFD packet to send [21:41:53]OFD Sender: No OFD packet to send [21:41:58]OFD Sender: No OFD packet to send [21:42:03]OFD Sender: No OFD packet to send [21:42:08]OFD Sender: No OFD packet to send [21:42:13]OFD Sender: No OFD packet to send [21:42:18]OFD Sender: No OFD packet to send [21:42:23]OFD Sender: No OFD packet to send [21:42:28]OFD Sender: No OFD packet to send [21:42:33]OFD Sender: No OFD packet to send [21:42:38]OFD Sender: No OFD packet to send [21:42:43]OFD Sender: No OFD packet to send [21:42:48]OFD Sender: No OFD packet to send [21:42:53]OFD Sender: No OFD packet to send [21:42:58]OFD Sender: No OFD packet to send [21:43:00]accept exits with 9 [21:43:00]New connection [21:43:00]New thread 3066813796 created [21:43:00]Thread 3066957156 joined [21:43:00]Waiting for new connection... [21:43:00] Sock 9.Parse request [21:43:00]Sock 9.Check first char [21:43:00]Sock 9.First char is OK [21:43:00]request: POST /json_proto HTTP/1.0 [21:43:00]Method: POST [21:43:00]URL: /json_proto [21:43:00]Method is POST - this is cgi request [21:43:00]url: /json_proto [21:43:00]query_string will be loaded in cgi processing [21:43:00]execute_cgi json_proto POST (null) [21:43:00]execute_cgi path=json_proto method=POST [21:43:00]POST find Content-Length [21:43:00]Host: 172.17.62.6:8080 [21:43:00]Content-Length: 215 [21:43:00]Content-Type: application/json [21:43:00] [21:43:00]POST finish read [21:43:00]Found Content-Length = 215 [21:43:00]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" ] } } [21:43:00]execute_script... [21:43:00]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" ] } } [21:43:00]POST & json_proto [21:43:00]process_json_proto [21:43:00]json parsed OK: [21:43:00]protocol is kg_v1.0 [21:43:00]action value=get_value [21:43:00]process_action get_value [21:43:00]cmd_get_value [21:43:00]process_action get_value done [21:43:00]requested_data is exist [21:43:00]produce_requested_data [21:43:00]requested_item kkm.sn is exist - process it [21:43:00]requested_item kkm.ver is exist - process it [21:43:00]requested_item fm.sn is exist - process it [21:43:00]wFMCommunicate request_size=4 [21:43:00]MH_SAM_APDU [21:43:00]CAPDU: 80 11 00 00 [21:43:00]Write to MH i2c: E2 08 00 FE 04 80 11 00 00 00 00 00 00 7C [21:43:00]Write i2c OK [21:43:00]MH_I2C_Read... [21:43:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:43:00]Read from MH i2c: E2 [21:43:00]MH_I2C_Read... [21:43:00]Read from MH i2c: E2 17 00 [21:43:00]MH_I2C_Read... [21:43:00]Read from MH i2c: E2 17 00 FE 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 D6 [21:43:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [21:43:00]wFMCommunicate OK [21:43:00]requested_item fd.num is exist - process it [21:43:00]SAM_PROTO_GetFieldsCounters [21:43:00]wFMCommunicate request_size=4 [21:43:00]MH_SAM_APDU [21:43:00]CAPDU: 80 13 00 00 [21:43:00]Write to MH i2c: E2 08 00 FF 04 80 13 00 00 00 00 00 00 7F [21:43:00]Write i2c OK [21:43:00]MH_I2C_Read... [21:43:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:43:00]Read from MH i2c: E2 [21:43:00]MH_I2C_Read... [21:43:00]Read from MH i2c: E2 62 00 [21:43:00]MH_I2C_Read... [21:43:00]Read from MH i2c: E2 62 00 FF 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 62 31 00 00 0E 04 04 00 19 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 F1 [21:43:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 62 31 00 00 0E 04 04 00 19 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 [21:43:00]wFMCommunicate OK [21:43:00]SAM_PROTO_GetFieldsCounters done [21:43:00]requested_item shift.num is exist - process it [21:43:00]requested_item shift.opened is exist - process it [21:43:00]req_shift_opened [21:43:00]FM_GetShiftState [21:43:00]SAM_PROTO_GetShiftState [21:43:00]wFMCommunicate request_size=4 [21:43:00]MH_SAM_APDU [21:43:00]CAPDU: 80 13 01 00 [21:43:00]Write to MH i2c: E2 08 00 00 05 80 13 01 00 00 00 00 00 82 [21:43:00]Write i2c OK [21:43:00]MH_I2C_Read... [21:43:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:43:00]Read from MH i2c: E2 [21:43:00]MH_I2C_Read... [21:43:00]Read from MH i2c: E2 0E 00 [21:43:00]MH_I2C_Read... [21:43:00]Read from MH i2c: E2 0E 00 00 05 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 DA [21:43:00]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [21:43:00]wFMCommunicate OK [21:43:00]SAM_PROTO_GetShiftState done [21:43:00]FM_GetShiftState done [21:43:00]req_shift_opened done [21:43:00]requested_item shift.open_date is exist - process it [21:43:00]req_shift_open_date [21:43:00]req_shift_open_date done [21:43:00]produce_requested_data done [21:43:00]produce_requested_data return {"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12642,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [21:43:00]process_action_free get_value [21:43:00]json_value_free [21:43:00]json_value_free done [21:43:00]process_json_proto returns [21:43:00]Send response to host [21:43:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12642,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [21:43:00]free response buf [21:43:00]execute_script done [21:43:00]execute_script returns [21:43:00]free content buf [21:43:00]Sock 9.Close socket [21:43:00]Sock 9.Thread stoped [21:43:00]accept exits with 10 [21:43:00]New connection [21:43:00]New thread 3066957156 created [21:43:00]Thread 3066813796 joined [21:43:00]Waiting for new connection... [21:43:00] Sock 10.Parse request [21:43:00]Sock 10.Check first char [21:43:00]Sock 10.First char is OK [21:43:00]request: POST /json_proto HTTP/1.0 [21:43:00]Method: POST [21:43:00]URL: /json_proto [21:43:00]Method is POST - this is cgi request [21:43:00]url: /json_proto [21:43:00]query_string will be loaded in cgi processing [21:43:00]execute_cgi json_proto POST (null) [21:43:00]execute_cgi path=json_proto method=POST [21:43:00]POST find Content-Length [21:43:00]Host: 172.17.62.6:8080 [21:43:00]Content-Length: 331 [21:43:00]Content-Type: application/json [21:43:00] [21:43:00]POST finish read [21:43:00]Found Content-Length = 331 [21:43:00]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" ] } } [21:43:00]execute_script... [21:43:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [21:43:01]POST & json_proto [21:43:01]process_json_proto [21:43:01]json parsed OK: [21:43:01]protocol is kg_v1.0 [21:43:01]action value=get_value [21:43:01]process_action get_value [21:43:01]cmd_get_value [21:43:01]process_action get_value done [21:43:01]requested_data is exist [21:43:01]produce_requested_data [21:43:01]requested_item fm.sale.total is exist - process it [21:43:01]SAM_PROTO_GetFMData [21:43:01]wFMCommunicate request_size=4 [21:43:01]MH_SAM_APDU [21:43:01]CAPDU: 80 13 03 00 [21:43:01]Write to MH i2c: E2 08 00 01 05 80 13 03 00 00 00 00 00 85 [21:43:01]Write i2c OK [21:43:01]MH_I2C_Read... [21:43:01]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [21:43:01]Read from MH i2c: E2 [21:43:01]MH_I2C_Read... [21:43:01]Read from MH i2c: E2 FD 00 [21:43:01]MH_I2C_Read... [21:43:01]Read from MH i2c: E2 FD 00 01 05 00 C1 04 85 04 BD 04 6E 04 04 00 30 2F 00 00 69 04 A0 00 6F 04 04 00 E4 2E 00 00 B1 04 04 00 6B CE C9 0E 70 04 04 00 F2 26 C1 0C 72 04 04 00 79 A7 08 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 33 07 92 01 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 77 7C 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 D5 0B EF 03 09 00 F6 03 90 00 2A [21:43:01]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 30 2F 00 00 69 04 A0 00 6F 04 04 00 E4 2E 00 00 B1 04 04 00 6B CE C9 0E 70 04 04 00 F2 26 C1 0C 72 04 04 00 79 A7 08 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 33 07 92 01 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 77 7C 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 D5 0B EF 03 09 00 F6 03 90 00 [21:43:01]wFMCommunicate OK [21:43:01]wFMCommunicate request_size=4 [21:43:01]MH_SAM_APDU [21:43:01]CAPDU: 80 17 00 00 [21:43:01]Write to MH i2c: E2 08 00 02 05 80 17 00 00 00 00 00 00 87 [21:43:01]Write i2c OK [21:43:01]MH_I2C_Read... [21:43:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:43:01]Read from MH i2c: E2 [21:43:01]MH_I2C_Read... [21:43:01]Read from MH i2c: E2 FD 00 [21:43:01]MH_I2C_Read... [21:43:01]Read from MH i2c: E2 FD 00 02 05 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 25 [21:43:01]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [21:43:01]wFMCommunicate OK [21:43:01]wFMCommunicate request_size=4 [21:43:01]MH_SAM_APDU [21:43:01]CAPDU: 80 17 00 00 [21:43:01]Write to MH i2c: E2 08 00 03 05 80 17 00 00 00 00 00 00 88 [21:43:01]Write i2c OK [21:43:01]MH_I2C_Read... [21:43:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:43:02]Read from MH i2c: E2 [21:43:02]MH_I2C_Read... [21:43:02]Read from MH i2c: E2 FD 00 [21:43:02]MH_I2C_Read... [21:43:02]Read from MH i2c: E2 FD 00 03 05 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 28 [21:43:02]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [21:43:02]wFMCommunicate OK [21:43:02]wFMCommunicate request_size=4 [21:43:02]MH_SAM_APDU [21:43:02]CAPDU: 80 17 00 00 [21:43:02]Write to MH i2c: E2 08 00 04 05 80 17 00 00 00 00 00 00 89 [21:43:02]Write i2c OK [21:43:02]MH_I2C_Read... [21:43:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:43:02]Read from MH i2c: E2 [21:43:02]MH_I2C_Read... [21:43:02]Read from MH i2c: E2 FD 00 [21:43:02]MH_I2C_Read... [21:43:02]Read from MH i2c: E2 FD 00 04 05 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 0E [21:43:02]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [21:43:02]wFMCommunicate OK [21:43:02]wFMCommunicate request_size=4 [21:43:02]MH_SAM_APDU [21:43:02]CAPDU: 80 17 00 00 [21:43:02]Write to MH i2c: E2 08 00 05 05 80 17 00 00 00 00 00 00 8A [21:43:02]Write i2c OK [21:43:02]MH_I2C_Read... [21:43:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [21:43:02]Read from MH i2c: E2 [21:43:02]MH_I2C_Read... [21:43:02]Read from MH i2c: E2 DE 00 [21:43:02]MH_I2C_Read... [21:43:02]Read from MH i2c: E2 DE 00 05 05 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 69 [21:43:02]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [21:43:02]wFMCommunicate OK [21:43:02]SAM_PROTO_GetFMData done [21:43:02]requested_item fm.sale_refund.total is exist - process it [21:43:02]requested_item fm.buy.total is exist - process it [21:43:02]requested_item shift.sale.total is exist - process it [21:43:02]SAM_PROTO_GetShiftData [21:43:02]wFMCommunicate request_size=4 [21:43:02]MH_SAM_APDU [21:43:02]CAPDU: 80 13 02 00 [21:43:02]Write to MH i2c: E2 08 00 06 05 80 13 02 00 00 00 00 00 89 [21:43:02]Write i2c OK [21:43:02]MH_I2C_Read... [21:43:03]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [21:43:03]Read from MH i2c: E2 [21:43:03]MH_I2C_Read... [21:43:03]Read from MH i2c: E2 FD 00 [21:43:03]MH_I2C_Read... [21:43:03]Read from MH i2c: E2 FD 00 06 05 00 AE 04 AA 04 AA 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 A0 57 0D 70 04 03 00 D0 AC 0A 72 04 03 00 D0 AA 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B1 6A 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 30 1E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 26 [21:43:03]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 A0 57 0D 70 04 03 00 D0 AC 0A 72 04 03 00 D0 AA 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B1 6A 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 30 1E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [21:43:03]wFMCommunicate OK [21:43:03]wFMCommunicate request_size=4 [21:43:03]MH_SAM_APDU [21:43:03]CAPDU: 80 17 00 00 [21:43:03]Write to MH i2c: E2 08 00 07 05 80 17 00 00 00 00 00 00 8C [21:43:03]Write i2c OK [21:43:03]MH_I2C_Read... [21:43:03]OFD Sender: No OFD packet to send [21:43:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:43:03]Read from MH i2c: E2 [21:43:03]MH_I2C_Read... [21:43:03]Read from MH i2c: E2 FD 00 [21:43:03]MH_I2C_Read... [21:43:03]Read from MH i2c: E2 FD 00 07 05 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 AE [21:43:03]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 [21:43:03]wFMCommunicate OK [21:43:03]wFMCommunicate request_size=4 [21:43:03]MH_SAM_APDU [21:43:03]CAPDU: 80 17 00 00 [21:43:03]Write to MH i2c: E2 08 00 08 05 80 17 00 00 00 00 00 00 8D [21:43:03]Write i2c OK [21:43:03]MH_I2C_Read... [21:43:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:43:03]Read from MH i2c: E2 [21:43:03]MH_I2C_Read... [21:43:03]Read from MH i2c: E2 FD 00 [21:43:03]MH_I2C_Read... [21:43:03]Read from MH i2c: E2 FD 00 08 05 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 44 [21:43:03]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 [21:43:03]wFMCommunicate OK [21:43:03]wFMCommunicate request_size=4 [21:43:03]MH_SAM_APDU [21:43:03]CAPDU: 80 17 00 00 [21:43:03]Write to MH i2c: E2 08 00 09 05 80 17 00 00 00 00 00 00 8E [21:43:03]Write i2c OK [21:43:03]MH_I2C_Read... [21:43:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:43:04]Read from MH i2c: E2 [21:43:04]MH_I2C_Read... [21:43:04]Read from MH i2c: E2 FD 00 [21:43:04]MH_I2C_Read... [21:43:04]Read from MH i2c: E2 FD 00 09 05 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 00 [21:43:04]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 [21:43:04]wFMCommunicate OK [21:43:04]wFMCommunicate request_size=4 [21:43:04]MH_SAM_APDU [21:43:04]CAPDU: 80 17 00 00 [21:43:04]Write to MH i2c: E2 08 00 0A 05 80 17 00 00 00 00 00 00 8F [21:43:04]Write i2c OK [21:43:04]MH_I2C_Read... [21:43:04]Read from MH i2c: E2 [21:43:04]MH_I2C_Read... [21:43:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [21:43:04]Read from MH i2c: E2 CB 00 [21:43:04]MH_I2C_Read... [21:43:04]Read from MH i2c: E2 CB 00 0A 05 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 78 [21:43:04]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 [21:43:04]wFMCommunicate OK [21:43:04]SAM_PROTO_GetShiftData done [21:43:04]requested_item shift.sale.total_cash is exist - process it [21:43:04]requested_item shift.sale_refund.total is exist - process it [21:43:04]requested_item shift.sale_refund.total_cash is exist - process it [21:43:04]requested_item shift.buy.total is exist - process it [21:43:04]requested_item shift.buy.total_cash is exist - process it [21:43:04]produce_requested_data done [21:43:04]produce_requested_data return {"fm.sale.total":2481066.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":8744.00,"shift.sale.total_cash":6996.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} [21:43:04]process_action_free get_value [21:43:04]json_value_free [21:43:04]json_value_free done [21:43:04]process_json_proto returns [21:43:04]Send response to host [21:43:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2481066.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":8744.00,"shift.sale.total_cash":6996.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}}} [21:43:04]free response buf [21:43:04]execute_script done [21:43:04]execute_script returns [21:43:04]free content buf [21:43:04]Sock 10.Close socket [21:43:04]Sock 10.Thread stoped [21:43:08]OFD Sender: No OFD packet to send [21:43:12]accept exits with 9 [21:43:12]New connection [21:43:12]New thread 3066813796 created [21:43:12]Thread 3066957156 joined [21:43:12]Waiting for new connection... [21:43:12] Sock 9.Parse request [21:43:12]Sock 9.Check first char [21:43:12]Sock 9.First char is OK [21:43:12]request: POST /json_proto HTTP/1.0 [21:43:12]Method: POST [21:43:12]URL: /json_proto [21:43:12]Method is POST - this is cgi request [21:43:12]url: /json_proto [21:43:12]query_string will be loaded in cgi processing [21:43:12]execute_cgi json_proto POST (null) [21:43:12]execute_cgi path=json_proto method=POST [21:43:12]POST find Content-Length [21:43:12]Host: 172.17.62.6:8080 [21:43:12]Content-Length: 215 [21:43:12]Content-Type: application/json [21:43:12] [21:43:12]POST finish read [21:43:12]Found Content-Length = 215 [21:43:12]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" ] } } [21:43:12]execute_script... [21:43:12]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" ] } } [21:43:12]POST & json_proto [21:43:12]process_json_proto [21:43:12]json parsed OK: [21:43:12]protocol is kg_v1.0 [21:43:12]action value=get_value [21:43:12]process_action get_value [21:43:12]cmd_get_value [21:43:12]process_action get_value done [21:43:12]requested_data is exist [21:43:12]produce_requested_data [21:43:12]requested_item kkm.sn is exist - process it [21:43:12]requested_item kkm.ver is exist - process it [21:43:12]requested_item fm.sn is exist - process it [21:43:12]wFMCommunicate request_size=4 [21:43:12]MH_SAM_APDU [21:43:12]CAPDU: 80 11 00 00 [21:43:12]Write to MH i2c: E2 08 00 0B 05 80 11 00 00 00 00 00 00 8A [21:43:12]Write i2c OK [21:43:12]MH_I2C_Read... [21:43:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:43:12]Read from MH i2c: E2 [21:43:12]MH_I2C_Read... [21:43:12]Read from MH i2c: E2 17 00 [21:43:12]MH_I2C_Read... [21:43:12]Read from MH i2c: E2 17 00 0B 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 E4 [21:43:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [21:43:12]wFMCommunicate OK [21:43:12]requested_item fd.num is exist - process it [21:43:12]SAM_PROTO_GetFieldsCounters [21:43:12]wFMCommunicate request_size=4 [21:43:12]MH_SAM_APDU [21:43:12]CAPDU: 80 13 00 00 [21:43:12]Write to MH i2c: E2 08 00 0C 05 80 13 00 00 00 00 00 00 8D [21:43:12]Write i2c OK [21:43:12]MH_I2C_Read... [21:43:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:43:12]Read from MH i2c: E2 [21:43:12]MH_I2C_Read... [21:43:12]Read from MH i2c: E2 62 00 [21:43:12]MH_I2C_Read... [21:43:12]Read from MH i2c: E2 62 00 0C 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 62 31 00 00 0E 04 04 00 19 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 FF [21:43:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 62 31 00 00 0E 04 04 00 19 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 [21:43:12]wFMCommunicate OK [21:43:12]SAM_PROTO_GetFieldsCounters done [21:43:12]requested_item shift.num is exist - process it [21:43:12]requested_item shift.opened is exist - process it [21:43:12]req_shift_opened [21:43:12]FM_GetShiftState [21:43:12]SAM_PROTO_GetShiftState [21:43:12]wFMCommunicate request_size=4 [21:43:12]MH_SAM_APDU [21:43:12]CAPDU: 80 13 01 00 [21:43:12]Write to MH i2c: E2 08 00 0D 05 80 13 01 00 00 00 00 00 8F [21:43:12]Write i2c OK [21:43:12]MH_I2C_Read... [21:43:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:43:12]Read from MH i2c: E2 [21:43:12]MH_I2C_Read... [21:43:12]Read from MH i2c: E2 0E 00 [21:43:12]MH_I2C_Read... [21:43:12]Read from MH i2c: E2 0E 00 0D 05 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 E7 [21:43:12]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [21:43:12]wFMCommunicate OK [21:43:12]SAM_PROTO_GetShiftState done [21:43:12]FM_GetShiftState done [21:43:12]req_shift_opened done [21:43:12]requested_item shift.open_date is exist - process it [21:43:12]req_shift_open_date [21:43:12]req_shift_open_date done [21:43:12]produce_requested_data done [21:43:12]produce_requested_data return {"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12642,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [21:43:12]process_action_free get_value [21:43:12]json_value_free [21:43:12]json_value_free done [21:43:12]process_json_proto returns [21:43:12]Send response to host [21:43:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12642,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [21:43:12]free response buf [21:43:12]execute_script done [21:43:12]execute_script returns [21:43:12]free content buf [21:43:12]Sock 9.Close socket [21:43:12]Sock 9.Thread stoped [21:43:12]accept exits with 7 [21:43:12]New connection [21:43:12]New thread 3066957156 created [21:43:12]Thread 3066813796 joined [21:43:12]Waiting for new connection... [21:43:12] Sock 7.Parse request [21:43:12]Sock 7.Check first char [21:43:12]Sock 7.First char is OK [21:43:12]request: POST /json_proto HTTP/1.0 [21:43:12]Method: POST [21:43:12]URL: /json_proto [21:43:12]Method is POST - this is cgi request [21:43:12]url: /json_proto [21:43:12]query_string will be loaded in cgi processing [21:43:12]execute_cgi json_proto POST (null) [21:43:12]execute_cgi path=json_proto method=POST [21:43:12]POST find Content-Length [21:43:12]Host: 172.17.62.6:8080 [21:43:12]Content-Length: 331 [21:43:12]Content-Type: application/json [21:43:12] [21:43:12]POST finish read [21:43:12]Found Content-Length = 331 [21:43:12]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" ] } } [21:43:12]execute_script... [21:43:12]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" ] } } [21:43:12]POST & json_proto [21:43:12]process_json_proto [21:43:12]json parsed OK: [21:43:12]protocol is kg_v1.0 [21:43:12]action value=get_value [21:43:12]process_action get_value [21:43:12]cmd_get_value [21:43:12]process_action get_value done [21:43:12]requested_data is exist [21:43:12]produce_requested_data [21:43:12]requested_item fm.sale.total is exist - process it [21:43:12]SAM_PROTO_GetFMData [21:43:12]wFMCommunicate request_size=4 [21:43:12]MH_SAM_APDU [21:43:12]CAPDU: 80 13 03 00 [21:43:12]Write to MH i2c: E2 08 00 0E 05 80 13 03 00 00 00 00 00 92 [21:43:12]Write i2c OK [21:43:12]MH_I2C_Read... [21:43:12]Read from MH i2c: E2 [21:43:12]MH_I2C_Read... [21:43:12]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [21:43:12]Read from MH i2c: E2 FD 00 [21:43:12]MH_I2C_Read... [21:43:12]Read from MH i2c: E2 FD 00 0E 05 00 C1 04 85 04 BD 04 6E 04 04 00 30 2F 00 00 69 04 A0 00 6F 04 04 00 E4 2E 00 00 B1 04 04 00 6B CE C9 0E 70 04 04 00 F2 26 C1 0C 72 04 04 00 79 A7 08 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 33 07 92 01 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 77 7C 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 D5 0B EF 03 09 00 F6 03 90 00 37 [21:43:12]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 30 2F 00 00 69 04 A0 00 6F 04 04 00 E4 2E 00 00 B1 04 04 00 6B CE C9 0E 70 04 04 00 F2 26 C1 0C 72 04 04 00 79 A7 08 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 33 07 92 01 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 77 7C 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 D5 0B EF 03 09 00 F6 03 90 00 [21:43:12]wFMCommunicate OK [21:43:12]wFMCommunicate request_size=4 [21:43:12]MH_SAM_APDU [21:43:12]CAPDU: 80 17 00 00 [21:43:12]Write to MH i2c: E2 08 00 0F 05 80 17 00 00 00 00 00 00 94 [21:43:12]Write i2c OK [21:43:12]MH_I2C_Read... [21:43:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:43:13]Read from MH i2c: E2 [21:43:13]MH_I2C_Read... [21:43:13]Read from MH i2c: E2 FD 00 [21:43:13]MH_I2C_Read... [21:43:13]Read from MH i2c: E2 FD 00 0F 05 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 32 [21:43:13]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [21:43:13]wFMCommunicate OK [21:43:13]wFMCommunicate request_size=4 [21:43:13]MH_SAM_APDU [21:43:13]CAPDU: 80 17 00 00 [21:43:13]Write to MH i2c: E2 08 00 10 05 80 17 00 00 00 00 00 00 95 [21:43:13]OFD Sender: No OFD packet to send [21:43:13]Write i2c OK [21:43:13]MH_I2C_Read... [21:43:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:43:13]Read from MH i2c: E2 [21:43:13]MH_I2C_Read... [21:43:13]Read from MH i2c: E2 FD 00 [21:43:13]MH_I2C_Read... [21:43:13]Read from MH i2c: E2 FD 00 10 05 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 35 [21:43:13]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [21:43:13]wFMCommunicate OK [21:43:13]wFMCommunicate request_size=4 [21:43:13]MH_SAM_APDU [21:43:13]CAPDU: 80 17 00 00 [21:43:13]Write to MH i2c: E2 08 00 11 05 80 17 00 00 00 00 00 00 96 [21:43:13]Write i2c OK [21:43:13]MH_I2C_Read... [21:43:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:43:13]Read from MH i2c: E2 [21:43:13]MH_I2C_Read... [21:43:13]Read from MH i2c: E2 FD 00 [21:43:13]MH_I2C_Read... [21:43:13]Read from MH i2c: E2 FD 00 11 05 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 1B [21:43:13]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [21:43:13]wFMCommunicate OK [21:43:13]wFMCommunicate request_size=4 [21:43:13]MH_SAM_APDU [21:43:13]CAPDU: 80 17 00 00 [21:43:13]Write to MH i2c: E2 08 00 12 05 80 17 00 00 00 00 00 00 97 [21:43:13]Write i2c OK [21:43:13]MH_I2C_Read... [21:43:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [21:43:14]Read from MH i2c: E2 [21:43:14]MH_I2C_Read... [21:43:14]Read from MH i2c: E2 DE 00 [21:43:14]MH_I2C_Read... [21:43:14]Read from MH i2c: E2 DE 00 12 05 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 76 [21:43:14]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [21:43:14]wFMCommunicate OK [21:43:14]SAM_PROTO_GetFMData done [21:43:14]requested_item fm.sale_refund.total is exist - process it [21:43:14]requested_item fm.buy.total is exist - process it [21:43:14]requested_item shift.sale.total is exist - process it [21:43:14]SAM_PROTO_GetShiftData [21:43:14]wFMCommunicate request_size=4 [21:43:14]MH_SAM_APDU [21:43:14]CAPDU: 80 13 02 00 [21:43:14]Write to MH i2c: E2 08 00 13 05 80 13 02 00 00 00 00 00 96 [21:43:14]Write i2c OK [21:43:14]MH_I2C_Read... [21:43:14]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [21:43:14]Read from MH i2c: E2 [21:43:14]MH_I2C_Read... [21:43:14]Read from MH i2c: E2 FD 00 [21:43:14]MH_I2C_Read... [21:43:14]Read from MH i2c: E2 FD 00 13 05 00 AE 04 AA 04 AA 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 A0 57 0D 70 04 03 00 D0 AC 0A 72 04 03 00 D0 AA 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B1 6A 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 30 1E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 33 [21:43:14]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 A0 57 0D 70 04 03 00 D0 AC 0A 72 04 03 00 D0 AA 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B1 6A 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 30 1E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [21:43:14]wFMCommunicate OK [21:43:14]wFMCommunicate request_size=4 [21:43:14]MH_SAM_APDU [21:43:14]CAPDU: 80 17 00 00 [21:43:14]Write to MH i2c: E2 08 00 14 05 80 17 00 00 00 00 00 00 99 [21:43:14]Write i2c OK [21:43:14]MH_I2C_Read... [21:43:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:43:14]Read from MH i2c: E2 [21:43:14]MH_I2C_Read... [21:43:14]Read from MH i2c: E2 FD 00 [21:43:14]MH_I2C_Read... [21:43:14]Read from MH i2c: E2 FD 00 14 05 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 BB [21:43:15]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 [21:43:15]wFMCommunicate OK [21:43:15]wFMCommunicate request_size=4 [21:43:15]MH_SAM_APDU [21:43:15]CAPDU: 80 17 00 00 [21:43:15]Write to MH i2c: E2 08 00 15 05 80 17 00 00 00 00 00 00 9A [21:43:15]Write i2c OK [21:43:15]MH_I2C_Read... [21:43:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:43:15]Read from MH i2c: E2 [21:43:15]MH_I2C_Read... [21:43:15]Read from MH i2c: E2 FD 00 [21:43:15]MH_I2C_Read... [21:43:15]Read from MH i2c: E2 FD 00 15 05 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 51 [21:43:15]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 [21:43:15]wFMCommunicate OK [21:43:15]wFMCommunicate request_size=4 [21:43:15]MH_SAM_APDU [21:43:15]CAPDU: 80 17 00 00 [21:43:15]Write to MH i2c: E2 08 00 16 05 80 17 00 00 00 00 00 00 9B [21:43:15]Write i2c OK [21:43:15]MH_I2C_Read... [21:43:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:43:15]Read from MH i2c: E2 [21:43:15]MH_I2C_Read... [21:43:15]Read from MH i2c: E2 FD 00 [21:43:15]MH_I2C_Read... [21:43:15]Read from MH i2c: E2 FD 00 16 05 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 0D [21:43:15]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 [21:43:15]wFMCommunicate OK [21:43:15]wFMCommunicate request_size=4 [21:43:15]MH_SAM_APDU [21:43:15]CAPDU: 80 17 00 00 [21:43:15]Write to MH i2c: E2 08 00 17 05 80 17 00 00 00 00 00 00 9C [21:43:15]Write i2c OK [21:43:15]MH_I2C_Read... [21:43:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [21:43:16]Read from MH i2c: E2 [21:43:16]MH_I2C_Read... [21:43:16]Read from MH i2c: E2 CB 00 [21:43:16]MH_I2C_Read... [21:43:16]Read from MH i2c: E2 CB 00 17 05 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [21:43:16]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 [21:43:16]wFMCommunicate OK [21:43:16]SAM_PROTO_GetShiftData done [21:43:16]requested_item shift.sale.total_cash is exist - process it [21:43:16]requested_item shift.sale_refund.total is exist - process it [21:43:16]requested_item shift.sale_refund.total_cash is exist - process it [21:43:16]requested_item shift.buy.total is exist - process it [21:43:16]requested_item shift.buy.total_cash is exist - process it [21:43:16]produce_requested_data done [21:43:16]produce_requested_data return {"fm.sale.total":2481066.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":8744.00,"shift.sale.total_cash":6996.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} [21:43:16]process_action_free get_value [21:43:16]json_value_free [21:43:16]json_value_free done [21:43:16]process_json_proto returns [21:43:16]Send response to host [21:43:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2481066.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":8744.00,"shift.sale.total_cash":6996.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}}} [21:43:16]free response buf [21:43:16]execute_script done [21:43:16]execute_script returns [21:43:16]free content buf [21:43:16]Sock 7.Close socket [21:43:16]Sock 7.Thread stoped [21:43:18]OFD Sender: No OFD packet to send [21:43:23]OFD Sender: No OFD packet to send [21:43:28]OFD Sender: No OFD packet to send [21:43:33]OFD Sender: No OFD packet to send [21:43:38]OFD Sender: No OFD packet to send [21:43:43]OFD Sender: No OFD packet to send [21:43:48]OFD Sender: No OFD packet to send [21:43:53]OFD Sender: No OFD packet to send [21:43:58]OFD Sender: No OFD packet to send [21:44:03]OFD Sender: No OFD packet to send [21:44:08]OFD Sender: No OFD packet to send [21:44:13]OFD Sender: No OFD packet to send [21:44:18]OFD Sender: No OFD packet to send [21:44:23]OFD Sender: No OFD packet to send [21:44:28]OFD Sender: No OFD packet to send [21:44:33]OFD Sender: No OFD packet to send [21:44:38]OFD Sender: No OFD packet to send [21:44:43]OFD Sender: No OFD packet to send [21:44:48]OFD Sender: No OFD packet to send [21:44:53]OFD Sender: No OFD packet to send [21:44:58]OFD Sender: No OFD packet to send [21:45:03]OFD Sender: No OFD packet to send [21:45:08]OFD Sender: No OFD packet to send [21:45:13]OFD Sender: No OFD packet to send [21:45:18]OFD Sender: No OFD packet to send [21:45:23]OFD Sender: No OFD packet to send [21:45:28]OFD Sender: No OFD packet to send [21:45:33]OFD Sender: No OFD packet to send [21:45:38]OFD Sender: No OFD packet to send [21:45:43]OFD Sender: No OFD packet to send [21:45:48]OFD Sender: No OFD packet to send [21:45:53]OFD Sender: No OFD packet to send [21:45:58]OFD Sender: No OFD packet to send [21:46:03]OFD Sender: No OFD packet to send [21:46:08]OFD Sender: No OFD packet to send [21:46:13]OFD Sender: No OFD packet to send [21:46:18]OFD Sender: No OFD packet to send [21:46:23]OFD Sender: No OFD packet to send [21:46:28]OFD Sender: No OFD packet to send [21:46:33]OFD Sender: No OFD packet to send [21:46:38]OFD Sender: No OFD packet to send [21:46:43]OFD Sender: No OFD packet to send [21:46:48]OFD Sender: No OFD packet to send [21:46:53]OFD Sender: No OFD packet to send [21:46:58]OFD Sender: No OFD packet to send [21:47:03]OFD Sender: No OFD packet to send [21:47:08]OFD Sender: No OFD packet to send [21:47:13]OFD Sender: No OFD packet to send [21:47:18]OFD Sender: No OFD packet to send [21:47:23]OFD Sender: No OFD packet to send [21:47:28]OFD Sender: No OFD packet to send [21:47:33]OFD Sender: No OFD packet to send [21:47:38]OFD Sender: No OFD packet to send [21:47:43]OFD Sender: No OFD packet to send [21:47:48]OFD Sender: No OFD packet to send [21:47:53]OFD Sender: No OFD packet to send [21:47:58]OFD Sender: No OFD packet to send [21:48:03]OFD Sender: No OFD packet to send [21:48:08]OFD Sender: No OFD packet to send [21:48:13]OFD Sender: No OFD packet to send [21:48:18]OFD Sender: No OFD packet to send [21:48:23]OFD Sender: No OFD packet to send [21:48:28]OFD Sender: No OFD packet to send [21:48:33]OFD Sender: No OFD packet to send [21:48:38]OFD Sender: No OFD packet to send [21:48:43]OFD Sender: No OFD packet to send [21:48:48]OFD Sender: No OFD packet to send [21:48:53]OFD Sender: No OFD packet to send [21:48:58]OFD Sender: No OFD packet to send [21:49:03]OFD Sender: No OFD packet to send [21:49:08]OFD Sender: No OFD packet to send [21:49:13]OFD Sender: No OFD packet to send [21:49:18]OFD Sender: No OFD packet to send [21:49:23]OFD Sender: No OFD packet to send [21:49:28]OFD Sender: No OFD packet to send [21:49:33]OFD Sender: No OFD packet to send [21:49:38]OFD Sender: No OFD packet to send [21:49:43]OFD Sender: No OFD packet to send [21:49:48]OFD Sender: No OFD packet to send [21:49:49]accept exits with 9 [21:49:49]New connection [21:49:49]New thread 3066813796 created [21:49:49]Thread 3066957156 joined [21:49:49]Waiting for new connection... [21:49:49] Sock 9.Parse request [21:49:49]Sock 9.Check first char [21:49:49]Sock 9.First char is OK [21:49:49]request: POST /json_proto HTTP/1.0 [21:49:49]Method: POST [21:49:49]URL: /json_proto [21:49:49]Method is POST - this is cgi request [21:49:49]url: /json_proto [21:49:49]query_string will be loaded in cgi processing [21:49:49]execute_cgi json_proto POST (null) [21:49:49]execute_cgi path=json_proto method=POST [21:49:49]POST find Content-Length [21:49:49]Host: 172.17.62.6:8080 [21:49:49]Content-Length: 808 [21:49:49]Content-Type: application/json [21:49:49] [21:49:49]POST finish read [21:49:49]Found Content-Length = 808 [21:49:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32916", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:49:49]execute_script... [21:49:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32916", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:49:49]POST & json_proto [21:49:49]process_json_proto [21:49:49]json parsed OK: [21:49:49]protocol is kg_v1.0 [21:49:49]action value=close_receipt [21:49:49]process_action close_receipt [21:49:49]cmd_close_receipt [21:49:49]MH_GetDate [21:49:49]Write to MH i2c: F0 00 00 18 05 0C [21:49:49]Write i2c OK [21:49:49]MH_I2C_Read... [21:49:49]Read from MH i2c: F0 [21:49:49]MH_I2C_Read... [21:49:49]Read from MH i2c: F0 09 00 [21:49:49]MH_I2C_Read... [21:49:49]Read from MH i2c: F0 09 00 18 05 00 FE 89 25 66 61 69 D2 64 27 [21:49:49]GetLastDocTimeStamp 1713734905 [21:49:49]current date 1713736190 [21:49:49]FM_GetShiftState [21:49:49]SAM_PROTO_GetShiftState [21:49:49]wFMCommunicate request_size=4 [21:49:49]MH_SAM_APDU [21:49:49]CAPDU: 80 13 01 00 [21:49:49]Write to MH i2c: E2 08 00 19 05 80 13 01 00 00 00 00 00 9B [21:49:49]Write i2c OK [21:49:49]MH_I2C_Read... [21:49:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:49:49]Read from MH i2c: E2 [21:49:49]MH_I2C_Read... [21:49:49]Read from MH i2c: E2 0E 00 [21:49:49]MH_I2C_Read... [21:49:49]Read from MH i2c: E2 0E 00 19 05 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 F3 [21:49:49]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [21:49:49]wFMCommunicate OK [21:49:49]SAM_PROTO_GetShiftState done [21:49:49]FM_GetShiftState done [21:49:49]opened in 1713658727 [21:49:49]opened+sec_in_day 1713745127 [21:49:49]quantity*price = 6000 [21:49:49]sum+1 = 6001 [21:49:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 0.00 Безнал.: 60.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 55 21.04.2024 21:49 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000965685 ФД: 12643 ФПД: 189652754251123 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T214950&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12643&fm=189652754251123&tin=02508201610067®Number=0000000000100748&sum=6000 0 [21:49:50]StoreToDocumentArchive [21:49:50]shift 281 fd 12643 [21:49:50]save to /storage/0281/doc_00012643 [21:49:50]save last doc name /storage/0281/doc_00012643 to /storage/kkm_last_doc_name [21:49:50]save OK [21:49:50]Clear old archive folders... [21:49:50]ProcessDocumentItem done err = 0, tmpTLVsize=271 [21:49:50]tlvbuf is 0163E3F0 [21:49:50]SAM_PROTO_ClearQueue [21:49:50]wFMCommunicate request_size=4 [21:49:50]MH_SAM_APDU [21:49:50]CAPDU: 80 09 00 00 [21:49:50]Write to MH i2c: E2 08 00 26 05 80 09 00 00 00 00 00 00 9D [21:49:50]Write i2c OK [21:49:50]MH_I2C_Read... [21:49:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:49:50]Read from MH i2c: E2 [21:49:50]MH_I2C_Read... [21:49:50]Read from MH i2c: E2 03 00 [21:49:50]MH_I2C_Read... [21:49:50]Read from MH i2c: E2 03 00 26 05 00 90 00 9F [21:49:50]RAPDU: 90 00 [21:49:50]wFMCommunicate OK [21:49:50]SAM_PROTO_ClearQueue done [21:49:50]KKMCreateOFDPacket [21:49:50]OFDProtocolAddRootSTLVToBuf [21:49:50]FM_MakeSignedData [21:49:50]FM_MakeSignedData [21:49:50]SAM_PROTO_SignData [21:49:50]wFMCommunicate request_size=4 [21:49:50]MH_SAM_APDU [21:49:50]CAPDU: 80 0D 01 02 [21:49:50]Write to MH i2c: E2 08 00 27 05 80 0D 01 02 00 00 00 00 A5 [21:49:50]Write i2c OK [21:49:50]MH_I2C_Read... [21:49:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:49:50]Read from MH i2c: E2 [21:49:50]MH_I2C_Read... [21:49:50]Read from MH i2c: E2 03 00 [21:49:50]MH_I2C_Read... [21:49:50]Read from MH i2c: E2 03 00 27 05 00 90 00 A0 [21:49:50]RAPDU: 90 00 [21:49:50]wFMCommunicate OK [21:49:50]wFMCommunicate request_size=255 [21:49:50]MH_SAM_APDU [21:49:50]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 FE 89 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 [21:49:50]Write to MH i2c: E2 02 01 28 05 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 FE 89 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 32 [21:49:50]Write i2c OK [21:49:50]MH_I2C_Read... [21:49:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:49:51]Read from MH i2c: E2 [21:49:51]MH_I2C_Read... [21:49:51]Read from MH i2c: E2 03 00 [21:49:51]MH_I2C_Read... [21:49:51]Read from MH i2c: E2 03 00 28 05 00 90 00 A1 [21:49:51]RAPDU: 90 00 [21:49:51]wFMCommunicate OK [21:49:51]wFMCommunicate request_size=30 [21:49:51]MH_SAM_APDU [21:49:51]CAPDU: 80 0D 02 02 19 30 39 36 35 36 38 35 10 04 04 00 63 31 00 00 35 04 06 00 AC 7C F9 0C 3D 73 [21:49:51]Write to MH i2c: E2 21 00 29 05 80 0D 02 02 19 00 30 39 36 35 36 38 35 10 04 04 00 63 31 00 00 35 04 06 00 AC 7C F9 0C 3D 73 00 00 19 [21:49:51]Write i2c OK [21:49:51]MH_I2C_Read... [21:49:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:49:51]Read from MH i2c: E2 [21:49:51]MH_I2C_Read... [21:49:51]Read from MH i2c: E2 03 00 [21:49:51]MH_I2C_Read... [21:49:51]Read from MH i2c: E2 03 00 29 05 00 90 00 A2 [21:49:51]RAPDU: 90 00 [21:49:51]wFMCommunicate OK [21:49:51]wFMCommunicate request_size=4 [21:49:51]MH_SAM_APDU [21:49:51]CAPDU: 80 0D 03 02 [21:49:51]Write to MH i2c: E2 08 00 2A 05 80 0D 03 02 00 00 00 00 AA [21:49:51]Write i2c OK [21:49:51]MH_I2C_Read... [21:49:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:49:51]Read from MH i2c: E2 [21:49:51]MH_I2C_Read... [21:49:51]Read from MH i2c: E2 0B 00 [21:49:51]MH_I2C_Read... [21:49:51]Read from MH i2c: E2 0B 00 2A 05 00 6C 46 E4 64 0C AA C7 AF 90 00 D1 [21:49:51]RAPDU: 6C 46 E4 64 0C AA C7 AF 90 00 [21:49:51]wFMCommunicate OK [21:49:51]SAM_PROTO_SignData done [21:49:51]FM_MakeSignedData done [21:49:51]CreateOFDProtocolMessage [21:49:51]wFMCommunicate request_size=4 [21:49:51]MH_SAM_APDU [21:49:51]CAPDU: 80 11 00 00 [21:49:51]Write to MH i2c: E2 08 00 2B 05 80 11 00 00 00 00 00 00 AA [21:49:51]Write i2c OK [21:49:51]MH_I2C_Read... [21:49:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:49:51]Read from MH i2c: E2 [21:49:51]MH_I2C_Read... [21:49:51]Read from MH i2c: E2 17 00 [21:49:51]MH_I2C_Read... [21:49:51]Read from MH i2c: E2 17 00 2B 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 04 [21:49:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [21:49:51]wFMCommunicate OK [21:49:51]CreateOFDProtocolMessage done [21:49:51]OFDSenderStorePacket 12643 [21:49:51]StoreOFDPacket docnum=12643 [21:49:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 23 01 00 00 D9 DA 1B 01 BC CA 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 FE 89 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 63 31 00 00 35 04 06 00 AC 7C F9 0C 3D 73 6C 46 E4 64 0C AA C7 AF [21:49:51]CheckFolder [21:49:51]dirname=/storage/ofd_packets [21:49:51]CheckFolder done [21:49:51]ProducePacketName [21:49:51]name=ofd_packets/00012643 [21:49:51]NVStorageSaveData ofd_packets/00012643 [21:49:51]File name is /storage/ofd_packets/00012643 [21:49:51]Write 321 bytes [21:49:51]NVStorageSaveData done [21:49:51]OFDSenderStorePacket done [21:49:51]KKMCreateOFDPacket done [21:49:51]NVStorageSaveData kkm_last_timestamp [21:49:51]File name is /storage/kkm_last_timestamp [21:49:51]Write 4 bytes [21:49:51]NVStorageSaveData done [21:49:51]ExternCall_PrintAddStr [21:49:51]wPrintStart [21:49:51]Write to MH i2c: 01 00 00 2C 05 31 [21:49:51]Write i2c OK [21:49:51]MH_I2C_Read... [21:49:51]Read from MH i2c: 01 [21:49:51]MH_I2C_Read... [21:49:51]Read from MH i2c: 01 07 00 [21:49:51]MH_I2C_Read... [21:49:51]Read from MH i2c: 01 07 00 2C 05 00 00 00 00 00 FF 0F 46 [21:49:51]RasterBufferAndPrint [21:49:51]line Счет N : (3)32916 [21:49:51]line ИНН: 02508201610067 [21:49:51]line Контрольно-Кассовый Чек [21:49:51]line ПРОДАЖА [21:49:51]line Товар: 4700000160204 [21:49:51]line Вода Легенда 1,5л [21:49:51]line 1.000 * 60.00 [21:49:51]line = 60.00 [21:49:51]line НДС 12% НСП 1% [21:49:51]line > о реализуемом товаре [21:49:51]line ИТОГО: 60.00 [21:49:51]line НСП 1% : 0.53 [21:49:51]line НДС 12% : 6.37 [21:49:51]line Наличными: 0.00 [21:49:51]line Безнал.: 60.00 [21:49:51]line Место: АЗС № 106 "Партнер Нефть" [21:49:51]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [21:49:51]line СНО: Общий режим [21:49:51]line Чек 55 21.04.2024 21:49 [21:49:51]line Смена: 281 ФФД: 1.0 [21:49:51]line ЗНМ: 0300000004 [21:49:51]line РНМ: 0000000000100748 [21:49:51]line Версия ККМ: 001 [21:49:51]line Платежная система: Бакай Банк [21:49:51]line ФМ: 0000000000965685 [21:49:51]line ФД: 12643 [21:49:51]line ФПД: 189652754251123 [21:49:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T214950&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12643&fm=189652754251123&tin=02508201610067®Number=0000000000100748&sum=6000 [21:49:51]line 0 [21:49:51]OFD Sender: Processing packet 12643 [packets to send 7, broken 6] [21:49:51]ProducePacketName [21:49:51]name=ofd_packets/00012643 [21:49:51]OFD Sender: To server: pG, [21:49:51]CommunicateWithHost lk.salyk.kg:30040 [21:49:51]ConnectInit lk.salyk.kg [21:49:51]written 0, free lines is 4095 [21:49:51]Connected sock=10 [21:49:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 23 01 00 00 D9 DA 1B 01 BC CA 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 FE 89 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 63 31 00 00 35 04 06 00 AC 7C F9 0C 3D 73 6C 46 E4 64 0C AA C7 AF [21:49:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 92 D8 47 00 A6 95 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 63 31 00 00 F4 03 04 00 7E 32 25 66 B6 04 01 00 00 07 38 1C AE 54 CF A0 10 [21:49:51]CommunicateWithHost err = 0 [21:49:51]CheckOFDResponse [21:49:51]1017 (14) - 77093643461234 [21:49:51]1041 (16) - 0000000000965685 [21:49:51]1040 (4) - 12643 [21:49:51]1012 (4) - 21.04.2024 15:36 [21:49:51]1206 (1) - 0 [21:49:51]OFD Sender: Remove packet 12643 [21:49:51]ProducePacketName [21:49:51]name=ofd_packets/00012643 [21:49:51]NVStorageDeleteData [21:49:51]Write to MH i2c: 01 00 00 55 05 5A [21:49:51]Write i2c OK [21:49:51]MH_I2C_Read... [21:49:51]Read from MH i2c: 01 [21:49:51]MH_I2C_Read... [21:49:51]Read from MH i2c: 01 07 00 [21:49:51]MH_I2C_Read... [21:49:51]Read from MH i2c: 01 07 00 55 05 00 00 00 00 00 FB 0C 68 [21:49:51]RasterBufferAndPrint [21:49:51]line [21:49:51]line [21:49:51]line [21:49:51]line [21:49:51]line [21:49:51]written 0, free lines is 3329 [21:49:51]MH_Cut [21:49:51]Write to MH i2c: D1 01 00 5C 05 01 33 [21:49:51]Write i2c OK [21:49:51]MH_I2C_Read... [21:49:51]Read from MH i2c: D1 [21:49:51]MH_I2C_Read... [21:49:51]Read from MH i2c: D1 01 00 [21:49:51]MH_I2C_Read... [21:49:51]Read from MH i2c: D1 01 00 5C 05 00 32 [21:49:51]Write to MH i2c: 01 00 00 5D 05 62 [21:49:51]Write i2c OK [21:49:51]MH_I2C_Read... [21:49:52]OFD Sender: No OFD packet to send [21:49:52]*** Cut start [21:49:52]*** Partial cut [21:49:52]*** CUTSNS_PIN = 1 [21:49:52]*** CUTSNS_PIN = 0 [21:49:53]*** Brake cut motor [21:49:53]Read from MH i2c: 01 [21:49:53]MH_I2C_Read... [21:49:53]*** Stop cut motor [21:49:53]*** Cut end [21:49:53]Read from MH i2c: 01 07 00 [21:49:53]MH_I2C_Read... [21:49:53]Read from MH i2c: 01 07 00 5D 05 00 00 00 00 00 FF 0F 77 [21:49:53]process_action close_receipt done [21:49:53]requested_data is exist [21:49:53]produce_requested_data [21:49:53]requested_item fm.sn is exist - process it [21:49:53]wFMCommunicate request_size=4 [21:49:53]MH_SAM_APDU [21:49:53]CAPDU: 80 11 00 00 [21:49:53]Write to MH i2c: E2 08 00 5E 05 80 11 00 00 00 00 00 00 DD [21:49:53]Write i2c OK [21:49:53]MH_I2C_Read... [21:49:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:49:53]Read from MH i2c: E2 [21:49:53]MH_I2C_Read... [21:49:53]Read from MH i2c: E2 17 00 [21:49:53]MH_I2C_Read... [21:49:53]Read from MH i2c: E2 17 00 5E 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 37 [21:49:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [21:49:53]wFMCommunicate OK [21:49:53]requested_item fd.num is exist - process it [21:49:53]SAM_PROTO_GetFieldsCounters [21:49:53]wFMCommunicate request_size=4 [21:49:53]MH_SAM_APDU [21:49:53]CAPDU: 80 13 00 00 [21:49:53]Write to MH i2c: E2 08 00 5F 05 80 13 00 00 00 00 00 00 E0 [21:49:53]Write i2c OK [21:49:53]MH_I2C_Read... [21:49:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:49:53]Read from MH i2c: E2 [21:49:53]MH_I2C_Read... [21:49:53]Read from MH i2c: E2 62 00 [21:49:53]MH_I2C_Read... [21:49:53]Read from MH i2c: E2 62 00 5F 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 63 31 00 00 0E 04 04 00 19 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 56 [21:49:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 63 31 00 00 0E 04 04 00 19 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 [21:49:53]wFMCommunicate OK [21:49:53]SAM_PROTO_GetFieldsCounters done [21:49:53]requested_item shift.num is exist - process it [21:49:53]requested_item shift.opened is exist - process it [21:49:53]req_shift_opened [21:49:53]FM_GetShiftState [21:49:53]SAM_PROTO_GetShiftState [21:49:53]wFMCommunicate request_size=4 [21:49:53]MH_SAM_APDU [21:49:53]CAPDU: 80 13 01 00 [21:49:53]Write to MH i2c: E2 08 00 60 05 80 13 01 00 00 00 00 00 E2 [21:49:53]Write i2c OK [21:49:53]MH_I2C_Read... [21:49:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:49:53]Read from MH i2c: E2 [21:49:53]MH_I2C_Read... [21:49:53]Read from MH i2c: E2 0E 00 [21:49:53]MH_I2C_Read... [21:49:53]Read from MH i2c: E2 0E 00 60 05 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 3A [21:49:53]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [21:49:53]wFMCommunicate OK [21:49:53]SAM_PROTO_GetShiftState done [21:49:53]FM_GetShiftState done [21:49:53]req_shift_opened done [21:49:53]requested_item shift.open_date is exist - process it [21:49:53]req_shift_open_date [21:49:53]req_shift_open_date done [21:49:53]produce_requested_data done [21:49:53]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12643,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [21:49:53]process_action_free close_receipt [21:49:53]json_value_free [21:49:53]json_value_free done [21:49:53]process_json_proto returns [21:49:53]Send response to host [21:49:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12643,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [21:49:53]free response buf [21:49:53]execute_script done [21:49:53]execute_script returns [21:49:53]free content buf [21:49:53]Sock 9.Close socket [21:49:53]Sock 9.Thread stoped [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:54]accept exits with 7 [21:56:54]New connection [21:56:54]New thread 3066957156 created [21:56:54]Thread 3066813796 joined [21:56:54]Waiting for new connection... [21:56:54] Sock 7.Parse request [21:56:54]Sock 7.Check first char [21:56:54]Sock 7.First char is OK [21:56:54]request: POST /json_proto HTTP/1.0 [21:56:54]Method: POST [21:56:54]URL: /json_proto [21:56:54]Method is POST - this is cgi request [21:56:54]url: /json_proto [21:56:54]query_string will be loaded in cgi processing [21:56:54]execute_cgi json_proto POST (null) [21:56:54]execute_cgi path=json_proto method=POST [21:56:54]POST find Content-Length [21:56:54]Host: 172.17.62.6:8080 [21:56:54]Content-Length: 846 [21:56:54]Content-Type: application/json [21:56:54] [21:56:54]POST finish read [21:56:54]Found Content-Length = 846 [21:56:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32917", "tax_sys" : 0, "items" : [ { "code": "4011100977624", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0411\u0430\u0443\u043D\u0442\u0438 55\u0433", "price" : 59.00, "quantity" : 6.000, "sum" : 354.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 354.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:56:54]execute_script... [21:56:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32917", "tax_sys" : 0, "items" : [ { "code": "4011100977624", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0411\u0430\u0443\u043D\u0442\u0438 55\u0433", "price" : 59.00, "quantity" : 6.000, "sum" : 354.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 354.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:56:54]POST & json_proto [21:56:54]process_json_proto [21:56:54]json parsed OK: [21:56:54]protocol is kg_v1.0 [21:56:54]action value=close_receipt [21:56:54]process_action close_receipt [21:56:54]cmd_close_receipt [21:56:54]MH_GetDate [21:56:54]Write to MH i2c: F0 00 00 61 05 55 [21:56:54]Write i2c OK [21:56:54]MH_I2C_Read... [21:56:54]Read from MH i2c: F0 [21:56:54]MH_I2C_Read... [21:56:54]Read from MH i2c: F0 09 00 [21:56:54]MH_I2C_Read... [21:56:54]Read from MH i2c: F0 09 00 61 05 00 A7 8B 25 66 61 69 D2 64 1B [21:56:54]GetLastDocTimeStamp 1713736190 [21:56:54]current date 1713736615 [21:56:54]FM_GetShiftState [21:56:54]SAM_PROTO_GetShiftState [21:56:54]wFMCommunicate request_size=4 [21:56:54]MH_SAM_APDU [21:56:54]CAPDU: 80 13 01 00 [21:56:54]Write to MH i2c: E2 08 00 62 05 80 13 01 00 00 00 00 00 E4 [21:56:54]Write i2c OK [21:56:54]MH_I2C_Read... [21:56:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:56:54]Read from MH i2c: E2 [21:56:54]MH_I2C_Read... [21:56:54]Read from MH i2c: E2 0E 00 [21:56:54]MH_I2C_Read... [21:56:54]Read from MH i2c: E2 0E 00 62 05 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 3C [21:56:54]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [21:56:54]wFMCommunicate OK [21:56:54]SAM_PROTO_GetShiftState done [21:56:54]FM_GetShiftState done [21:56:54]opened in 1713658727 [21:56:54]opened+sec_in_day 1713745127 [21:56:54]quantity*price = 35400 [21:56:54]sum+1 = 35401 [21:56:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 354.00 НСП 1% : 3.13 НДС 12% : 37.59 Наличными: 0.00 Безнал.: 354.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 56 21.04.2024 21:56 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000965685 ФД: 12644 ФПД: 32331317233133 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T215655&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12644&fm=32331317233133&tin=02508201610067®Number=0000000000100748&sum=35400 0 [21:56:55]StoreToDocumentArchive [21:56:55]shift 281 fd 12644 [21:56:55]save to /storage/0281/doc_00012644 [21:56:55]save last doc name /storage/0281/doc_00012644 to /storage/kkm_last_doc_name [21:56:55]save OK [21:56:55]Clear old archive folders... [21:56:55]ProcessDocumentItem done err = 0, tmpTLVsize=283 [21:56:55]tlvbuf is 016E5760 [21:56:55]SAM_PROTO_ClearQueue [21:56:55]wFMCommunicate request_size=4 [21:56:55]MH_SAM_APDU [21:56:55]CAPDU: 80 09 00 00 [21:56:55]Write to MH i2c: E2 08 00 6F 05 80 09 00 00 00 00 00 00 E6 [21:56:55]Write i2c OK [21:56:55]MH_I2C_Read... [21:56:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:56:55]Read from MH i2c: E2 [21:56:55]MH_I2C_Read... [21:56:55]Read from MH i2c: E2 03 00 [21:56:55]MH_I2C_Read... [21:56:55]Read from MH i2c: E2 03 00 6F 05 00 90 00 E8 [21:56:55]RAPDU: 90 00 [21:56:55]wFMCommunicate OK [21:56:55]SAM_PROTO_ClearQueue done [21:56:55]KKMCreateOFDPacket [21:56:55]OFDProtocolAddRootSTLVToBuf [21:56:55]FM_MakeSignedData [21:56:55]FM_MakeSignedData [21:56:55]SAM_PROTO_SignData [21:56:55]wFMCommunicate request_size=4 [21:56:55]MH_SAM_APDU [21:56:55]CAPDU: 80 0D 01 02 [21:56:55]Write to MH i2c: E2 08 00 70 05 80 0D 01 02 00 00 00 00 EE [21:56:55]Write i2c OK [21:56:55]MH_I2C_Read... [21:56:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:56:55]Read from MH i2c: E2 [21:56:55]MH_I2C_Read... [21:56:55]Read from MH i2c: E2 03 00 [21:56:55]MH_I2C_Read... [21:56:55]Read from MH i2c: E2 03 00 70 05 00 90 00 E9 [21:56:55]RAPDU: 90 00 [21:56:55]wFMCommunicate OK [21:56:55]wFMCommunicate request_size=255 [21:56:55]MH_SAM_APDU [21:56:55]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 36 32 34 06 04 29 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 35 35 D0 B3 FF 03 08 00 03 70 17 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 48 8A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 8A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AF 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 48 8A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 A7 8B 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 [21:56:55]Write to MH i2c: E2 02 01 71 05 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 36 32 34 06 04 29 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 35 35 D0 B3 FF 03 08 00 03 70 17 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 48 8A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 8A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AF 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 48 8A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 A7 8B 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 00 00 4E [21:56:55]Write i2c OK [21:56:55]MH_I2C_Read... [21:56:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:56:56]Read from MH i2c: E2 [21:56:56]MH_I2C_Read... [21:56:56]Read from MH i2c: E2 03 00 [21:56:56]MH_I2C_Read... [21:56:56]Read from MH i2c: E2 03 00 71 05 00 90 00 EA [21:56:56]RAPDU: 90 00 [21:56:56]wFMCommunicate OK [21:56:56]wFMCommunicate request_size=42 [21:56:56]MH_SAM_APDU [21:56:56]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 64 31 00 00 35 04 06 00 1D 67 B8 AD C5 ED [21:56:56]Write to MH i2c: E2 2D 00 72 05 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 64 31 00 00 35 04 06 00 1D 67 B8 AD C5 ED 00 00 FD [21:56:56]Write i2c OK [21:56:56]MH_I2C_Read... [21:56:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:56:56]Read from MH i2c: E2 [21:56:56]MH_I2C_Read... [21:56:56]Read from MH i2c: E2 03 00 [21:56:56]MH_I2C_Read... [21:56:56]Read from MH i2c: E2 03 00 72 05 00 90 00 EB [21:56:56]RAPDU: 90 00 [21:56:56]wFMCommunicate OK [21:56:56]wFMCommunicate request_size=4 [21:56:56]MH_SAM_APDU [21:56:56]CAPDU: 80 0D 03 02 [21:56:56]Write to MH i2c: E2 08 00 73 05 80 0D 03 02 00 00 00 00 F3 [21:56:56]Write i2c OK [21:56:56]MH_I2C_Read... [21:56:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:56:56]Read from MH i2c: E2 [21:56:56]MH_I2C_Read... [21:56:56]Read from MH i2c: E2 0B 00 [21:56:56]MH_I2C_Read... [21:56:56]Read from MH i2c: E2 0B 00 73 05 00 42 A8 CF 94 DC 45 AD C7 90 00 D6 [21:56:56]RAPDU: 42 A8 CF 94 DC 45 AD C7 90 00 [21:56:56]wFMCommunicate OK [21:56:56]SAM_PROTO_SignData done [21:56:56]FM_MakeSignedData done [21:56:56]CreateOFDProtocolMessage [21:56:56]wFMCommunicate request_size=4 [21:56:56]MH_SAM_APDU [21:56:56]CAPDU: 80 11 00 00 [21:56:56]Write to MH i2c: E2 08 00 74 05 80 11 00 00 00 00 00 00 F3 [21:56:56]Write i2c OK [21:56:56]MH_I2C_Read... [21:56:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:56:56]Read from MH i2c: E2 [21:56:56]MH_I2C_Read... [21:56:56]Read from MH i2c: E2 17 00 [21:56:56]MH_I2C_Read... [21:56:56]Read from MH i2c: E2 17 00 74 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 4D [21:56:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [21:56:56]wFMCommunicate OK [21:56:56]CreateOFDProtocolMessage done [21:56:56]OFDSenderStorePacket 12644 [21:56:56]StoreOFDPacket docnum=12644 [21:56:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2F 01 00 00 D8 AC 27 01 93 EF 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 36 32 34 06 04 29 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 35 35 D0 B3 FF 03 08 00 03 70 17 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 48 8A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 8A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AF 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 48 8A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 A7 8B 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 64 31 00 00 35 04 06 00 1D 67 B8 AD C5 ED 42 A8 CF 94 DC 45 AD C7 [21:56:56]CheckFolder [21:56:56]dirname=/storage/ofd_packets [21:56:56]CheckFolder done [21:56:56]ProducePacketName [21:56:56]name=ofd_packets/00012644 [21:56:56]NVStorageSaveData ofd_packets/00012644 [21:56:56]File name is /storage/ofd_packets/00012644 [21:56:56]Write 333 bytes [21:56:56]NVStorageSaveData done [21:56:56]OFDSenderStorePacket done [21:56:56]KKMCreateOFDPacket done [21:56:56]NVStorageSaveData kkm_last_timestamp [21:56:56]File name is /storage/kkm_last_timestamp [21:56:56]Write 4 bytes [21:56:56]NVStorageSaveData done [21:56:56]ExternCall_PrintAddStr [21:56:56]wPrintStart [21:56:56]Write to MH i2c: 01 00 00 75 05 7A [21:56:56]Write i2c OK [21:56:56]MH_I2C_Read... [21:56:56]Read from MH i2c: 01 [21:56:56]MH_I2C_Read... [21:56:56]Read from MH i2c: 01 07 00 [21:56:56]MH_I2C_Read... [21:56:56]Read from MH i2c: 01 07 00 75 05 00 00 00 00 00 FF 0F 8F [21:56:56]RasterBufferAndPrint [21:56:56]line Счет N : (3)32917 [21:56:56]line ИНН: 02508201610067 [21:56:56]line Контрольно-Кассовый Чек [21:56:56]line ПРОДАЖА [21:56:56]line Товар: 4011100977624 [21:56:56]line Шок Батончик Баунти 55г [21:56:56]line 6.000 * 59.00 [21:56:56]line = 354.00 [21:56:56]line НДС 12% НСП 1% [21:56:56]line > о реализуемом товаре [21:56:56]line ИТОГО: 354.00 [21:56:56]line НСП 1% : 3.13 [21:56:56]line НДС 12% : 37.59 [21:56:56]line Наличными: 0.00 [21:56:56]line Безнал.: 354.00 [21:56:56]line Место: АЗС № 106 "Партнер Нефть" [21:56:56]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [21:56:56]line СНО: Общий режим [21:56:56]line Чек 56 21.04.2024 21:56 [21:56:56]line Смена: 281 ФФД: 1.0 [21:56:56]line ЗНМ: 0300000004 [21:56:56]line РНМ: 0000000000100748 [21:56:56]line Версия ККМ: 001 [21:56:56]line Платежная система: Бакай Банк [21:56:56]line ФМ: 0000000000965685 [21:56:56]line ФД: 12644 [21:56:56]line ФПД: 32331317233133 [21:56:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T215655&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12644&fm=32331317233133&tin=02508201610067®Number=0000000000100748&sum=35400 [21:56:56]line 0 [21:56:56]OFD Sender: Processing packet 12644 [packets to send 7, broken 6] [21:56:56]ProducePacketName [21:56:56]name=ofd_packets/00012644 [21:56:56]OFD Sender: To server: pG, [21:56:56]CommunicateWithHost lk.salyk.kg:30040 [21:56:56]ConnectInit lk.salyk.kg [21:56:56]written 0, free lines is 4095 [21:56:56]Connected sock=10 [21:56:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2F 01 00 00 D8 AC 27 01 93 EF 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 36 32 34 06 04 29 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 35 35 D0 B3 FF 03 08 00 03 70 17 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 48 8A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 8A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AF 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 48 8A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 A7 8B 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 64 31 00 00 35 04 06 00 1D 67 B8 AD C5 ED 42 A8 CF 94 DC 45 AD C7 [21:56:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 01 4E 47 00 55 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 39 36 35 36 38 35 10 04 04 00 64 31 00 00 F4 03 04 00 27 34 25 66 B6 04 01 00 00 6B 91 75 18 96 58 5A 67 [21:56:56]CommunicateWithHost err = 0 [21:56:56]CheckOFDResponse [21:56:56]1017 (14) - 77093643461234 [21:56:56]1041 (16) - 0000000000965685 [21:56:56]1040 (4) - 12644 [21:56:56]1012 (4) - 21.04.2024 15:43 [21:56:56]1206 (1) - 0 [21:56:56]OFD Sender: Remove packet 12644 [21:56:56]ProducePacketName [21:56:56]name=ofd_packets/00012644 [21:56:56]NVStorageDeleteData [21:56:56]Write to MH i2c: 01 00 00 9E 05 A3 [21:56:56]Write i2c OK [21:56:56]MH_I2C_Read... [21:56:56]Read from MH i2c: 01 [21:56:56]MH_I2C_Read... [21:56:56]Read from MH i2c: 01 07 00 [21:56:56]MH_I2C_Read... [21:56:56]Read from MH i2c: 01 07 00 9E 05 00 00 00 00 00 FE 0C B4 [21:56:56]RasterBufferAndPrint [21:56:56]line [21:56:56]line [21:56:56]line [21:56:56]line [21:56:56]line [21:56:56]written 0, free lines is 3332 [21:56:56]MH_Cut [21:56:56]Write to MH i2c: D1 01 00 A5 05 01 7C [21:56:56]Write i2c OK [21:56:56]MH_I2C_Read... [21:56:56]Read from MH i2c: D1 [21:56:56]MH_I2C_Read... [21:56:56]Read from MH i2c: D1 01 00 [21:56:56]MH_I2C_Read... [21:56:56]Read from MH i2c: D1 01 00 A5 05 00 7B [21:56:56]Write to MH i2c: 01 00 00 A6 05 AB [21:56:56]Write i2c OK [21:56:56]MH_I2C_Read... [21:56:57]OFD Sender: No OFD packet to send [21:56:57]*** Cut start [21:56:57]*** Partial cut [21:56:57]*** CUTSNS_PIN = 1 [21:56:57]*** CUTSNS_PIN = 0 [21:56:58]*** Brake cut motor [21:56:58]Read from MH i2c: 01 [21:56:58]MH_I2C_Read... [21:56:58]*** Stop cut motor [21:56:58]*** Cut end [21:56:58]Read from MH i2c: 01 07 00 [21:56:58]MH_I2C_Read... [21:56:58]Read from MH i2c: 01 07 00 A6 05 00 00 00 00 00 FF 0F C0 [21:56:58]process_action close_receipt done [21:56:58]requested_data is exist [21:56:58]produce_requested_data [21:56:58]requested_item fm.sn is exist - process it [21:56:58]wFMCommunicate request_size=4 [21:56:58]MH_SAM_APDU [21:56:58]CAPDU: 80 11 00 00 [21:56:58]Write to MH i2c: E2 08 00 A7 05 80 11 00 00 00 00 00 00 26 [21:56:58]Write i2c OK [21:56:58]MH_I2C_Read... [21:56:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:56:58]Read from MH i2c: E2 [21:56:58]MH_I2C_Read... [21:56:58]Read from MH i2c: E2 17 00 [21:56:58]MH_I2C_Read... [21:56:58]Read from MH i2c: E2 17 00 A7 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 80 [21:56:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [21:56:58]wFMCommunicate OK [21:56:58]requested_item fd.num is exist - process it [21:56:58]SAM_PROTO_GetFieldsCounters [21:56:58]wFMCommunicate request_size=4 [21:56:58]MH_SAM_APDU [21:56:58]CAPDU: 80 13 00 00 [21:56:58]Write to MH i2c: E2 08 00 A8 05 80 13 00 00 00 00 00 00 29 [21:56:58]Write i2c OK [21:56:58]MH_I2C_Read... [21:56:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:56:58]Read from MH i2c: E2 [21:56:58]MH_I2C_Read... [21:56:58]Read from MH i2c: E2 62 00 [21:56:58]MH_I2C_Read... [21:56:58]Read from MH i2c: E2 62 00 A8 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 64 31 00 00 0E 04 04 00 19 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 A3 [21:56:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 64 31 00 00 0E 04 04 00 19 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 [21:56:58]wFMCommunicate OK [21:56:58]SAM_PROTO_GetFieldsCounters done [21:56:58]requested_item shift.num is exist - process it [21:56:58]requested_item shift.opened is exist - process it [21:56:58]req_shift_opened [21:56:58]FM_GetShiftState [21:56:58]SAM_PROTO_GetShiftState [21:56:58]wFMCommunicate request_size=4 [21:56:58]MH_SAM_APDU [21:56:58]CAPDU: 80 13 01 00 [21:56:58]Write to MH i2c: E2 08 00 A9 05 80 13 01 00 00 00 00 00 2B [21:56:58]Write i2c OK [21:56:58]MH_I2C_Read... [21:56:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:56:58]Read from MH i2c: E2 [21:56:58]MH_I2C_Read... [21:56:58]Read from MH i2c: E2 0E 00 [21:56:58]MH_I2C_Read... [21:56:58]Read from MH i2c: E2 0E 00 A9 05 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 83 [21:56:58]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [21:56:58]wFMCommunicate OK [21:56:58]SAM_PROTO_GetShiftState done [21:56:58]FM_GetShiftState done [21:56:58]req_shift_opened done [21:56:58]requested_item shift.open_date is exist - process it [21:56:58]req_shift_open_date [21:56:58]req_shift_open_date done [21:56:58]produce_requested_data done [21:56:58]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12644,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [21:56:58]process_action_free close_receipt [21:56:58]json_value_free [21:56:58]json_value_free done [21:56:58]process_json_proto returns [21:56:58]Send response to host [21:56:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12644,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [21:56:58]free response buf [21:56:58]execute_script done [21:56:58]execute_script returns [21:56:58]free content buf [21:56:58]Sock 7.Close socket [21:56:58]Sock 7.Thread stoped [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:03]accept exits with 9 [22:00:03]New connection [22:00:03]New thread 3066813796 created [22:00:03]Thread 3066957156 joined [22:00:03]Waiting for new connection... [22:00:03] Sock 9.Parse request [22:00:03]Sock 9.Check first char [22:00:03]Sock 9.First char is OK [22:00:03]request: POST /json_proto HTTP/1.0 [22:00:03]Method: POST [22:00:03]URL: /json_proto [22:00:03]Method is POST - this is cgi request [22:00:03]url: /json_proto [22:00:03]query_string will be loaded in cgi processing [22:00:03]execute_cgi json_proto POST (null) [22:00:03]execute_cgi path=json_proto method=POST [22:00:03]POST find Content-Length [22:00:03]Host: 172.17.62.6:8080 [22:00:03]Content-Length: 806 [22:00:03]Content-Type: application/json [22:00:03] [22:00:03]POST finish read [22:00:03]Found Content-Length = 806 [22:00:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32918", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:00:03]execute_script... [22:00:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32918", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:00:03]POST & json_proto [22:00:03]process_json_proto [22:00:03]json parsed OK: [22:00:03]protocol is kg_v1.0 [22:00:03]action value=close_receipt [22:00:03]process_action close_receipt [22:00:03]cmd_close_receipt [22:00:03]MH_GetDate [22:00:03]Write to MH i2c: F0 00 00 AA 05 9E [22:00:03]Write i2c OK [22:00:03]MH_I2C_Read... [22:00:03]Read from MH i2c: F0 [22:00:03]MH_I2C_Read... [22:00:03]Read from MH i2c: F0 09 00 [22:00:03]MH_I2C_Read... [22:00:03]Read from MH i2c: F0 09 00 AA 05 00 64 8C 25 66 61 69 D2 64 22 [22:00:03]GetLastDocTimeStamp 1713736615 [22:00:03]current date 1713736804 [22:00:03]FM_GetShiftState [22:00:03]SAM_PROTO_GetShiftState [22:00:03]wFMCommunicate request_size=4 [22:00:03]MH_SAM_APDU [22:00:03]CAPDU: 80 13 01 00 [22:00:03]Write to MH i2c: E2 08 00 AB 05 80 13 01 00 00 00 00 00 2D [22:00:03]Write i2c OK [22:00:03]MH_I2C_Read... [22:00:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:00:03]Read from MH i2c: E2 [22:00:03]MH_I2C_Read... [22:00:03]Read from MH i2c: E2 0E 00 [22:00:03]MH_I2C_Read... [22:00:03]Read from MH i2c: E2 0E 00 AB 05 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 85 [22:00:03]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [22:00:03]wFMCommunicate OK [22:00:03]SAM_PROTO_GetShiftState done [22:00:03]FM_GetShiftState done [22:00:03]opened in 1713658727 [22:00:03]opened+sec_in_day 1713745127 [22:00:03]quantity*price = 5000 [22:00:03]sum+1 = 5001 [22:00:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 0.00 Безнал.: 50.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 57 21.04.2024 22:00 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000965685 ФД: 12645 ФПД: 175242628389235 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T220004&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12645&fm=175242628389235&tin=02508201610067®Number=0000000000100748&sum=5000 0 [22:00:04]StoreToDocumentArchive [22:00:04]shift 281 fd 12645 [22:00:04]save to /storage/0281/doc_00012645 [22:00:04]save last doc name /storage/0281/doc_00012645 to /storage/kkm_last_doc_name [22:00:04]save OK [22:00:04]Clear old archive folders... [22:00:04]ProcessDocumentItem done err = 0, tmpTLVsize=269 [22:00:04]tlvbuf is 016E6390 [22:00:04]SAM_PROTO_ClearQueue [22:00:04]wFMCommunicate request_size=4 [22:00:04]MH_SAM_APDU [22:00:04]CAPDU: 80 09 00 00 [22:00:04]Write to MH i2c: E2 08 00 B8 05 80 09 00 00 00 00 00 00 2F [22:00:04]Write i2c OK [22:00:04]MH_I2C_Read... [22:00:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:00:04]Read from MH i2c: E2 [22:00:04]MH_I2C_Read... [22:00:04]Read from MH i2c: E2 03 00 [22:00:04]MH_I2C_Read... [22:00:04]Read from MH i2c: E2 03 00 B8 05 00 90 00 31 [22:00:04]RAPDU: 90 00 [22:00:04]wFMCommunicate OK [22:00:04]SAM_PROTO_ClearQueue done [22:00:04]KKMCreateOFDPacket [22:00:04]OFDProtocolAddRootSTLVToBuf [22:00:04]FM_MakeSignedData [22:00:04]FM_MakeSignedData [22:00:04]SAM_PROTO_SignData [22:00:04]wFMCommunicate request_size=4 [22:00:04]MH_SAM_APDU [22:00:04]CAPDU: 80 0D 01 02 [22:00:04]Write to MH i2c: E2 08 00 B9 05 80 0D 01 02 00 00 00 00 37 [22:00:04]Write i2c OK [22:00:04]MH_I2C_Read... [22:00:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:00:04]Read from MH i2c: E2 [22:00:04]MH_I2C_Read... [22:00:04]Read from MH i2c: E2 03 00 [22:00:04]MH_I2C_Read... [22:00:04]Read from MH i2c: E2 03 00 B9 05 00 90 00 32 [22:00:04]RAPDU: 90 00 [22:00:04]wFMCommunicate OK [22:00:04]wFMCommunicate request_size=255 [22:00:04]MH_SAM_APDU [22:00:04]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 88 13 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 64 8C 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 [22:00:04]Write to MH i2c: E2 02 01 BA 05 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 88 13 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 64 8C 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 00 00 18 [22:00:04]Write i2c OK [22:00:04]MH_I2C_Read... [22:00:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:00:04]Read from MH i2c: E2 [22:00:04]MH_I2C_Read... [22:00:04]Read from MH i2c: E2 03 00 [22:00:04]MH_I2C_Read... [22:00:04]Read from MH i2c: E2 03 00 BA 05 00 90 00 33 [22:00:04]RAPDU: 90 00 [22:00:04]wFMCommunicate OK [22:00:04]wFMCommunicate request_size=28 [22:00:04]MH_SAM_APDU [22:00:04]CAPDU: 80 0D 02 02 17 36 35 36 38 35 10 04 04 00 65 31 00 00 35 04 06 00 9F 61 DA 9D 59 73 [22:00:04]Write to MH i2c: E2 1F 00 BB 05 80 0D 02 02 17 00 36 35 36 38 35 10 04 04 00 65 31 00 00 35 04 06 00 9F 61 DA 9D 59 73 00 00 A6 [22:00:04]Write i2c OK [22:00:04]MH_I2C_Read... [22:00:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:00:05]Read from MH i2c: E2 [22:00:05]MH_I2C_Read... [22:00:05]Read from MH i2c: E2 03 00 [22:00:05]MH_I2C_Read... [22:00:05]Read from MH i2c: E2 03 00 BB 05 00 90 00 34 [22:00:05]RAPDU: 90 00 [22:00:05]wFMCommunicate OK [22:00:05]wFMCommunicate request_size=4 [22:00:05]MH_SAM_APDU [22:00:05]CAPDU: 80 0D 03 02 [22:00:05]Write to MH i2c: E2 08 00 BC 05 80 0D 03 02 00 00 00 00 3C [22:00:05]Write i2c OK [22:00:05]MH_I2C_Read... [22:00:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:00:05]Read from MH i2c: E2 [22:00:05]MH_I2C_Read... [22:00:05]Read from MH i2c: E2 0B 00 [22:00:05]MH_I2C_Read... [22:00:05]Read from MH i2c: E2 0B 00 BC 05 00 25 34 33 50 0E 98 6E 8C 90 00 B9 [22:00:05]RAPDU: 25 34 33 50 0E 98 6E 8C 90 00 [22:00:05]wFMCommunicate OK [22:00:05]SAM_PROTO_SignData done [22:00:05]FM_MakeSignedData done [22:00:05]CreateOFDProtocolMessage [22:00:05]wFMCommunicate request_size=4 [22:00:05]MH_SAM_APDU [22:00:05]CAPDU: 80 11 00 00 [22:00:05]Write to MH i2c: E2 08 00 BD 05 80 11 00 00 00 00 00 00 3C [22:00:05]Write i2c OK [22:00:05]MH_I2C_Read... [22:00:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:00:05]Read from MH i2c: E2 [22:00:05]MH_I2C_Read... [22:00:05]Read from MH i2c: E2 17 00 [22:00:05]MH_I2C_Read... [22:00:05]Read from MH i2c: E2 17 00 BD 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 96 [22:00:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [22:00:05]wFMCommunicate OK [22:00:05]CreateOFDProtocolMessage done [22:00:05]OFDSenderStorePacket 12645 [22:00:05]StoreOFDPacket docnum=12645 [22:00:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 21 01 00 00 08 90 19 01 37 28 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 88 13 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 64 8C 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 65 31 00 00 35 04 06 00 9F 61 DA 9D 59 73 25 34 33 50 0E 98 6E 8C [22:00:05]CheckFolder [22:00:05]dirname=/storage/ofd_packets [22:00:05]CheckFolder done [22:00:05]ProducePacketName [22:00:05]name=ofd_packets/00012645 [22:00:05]NVStorageSaveData ofd_packets/00012645 [22:00:05]File name is /storage/ofd_packets/00012645 [22:00:05]Write 319 bytes [22:00:05]NVStorageSaveData done [22:00:05]OFDSenderStorePacket done [22:00:05]KKMCreateOFDPacket done [22:00:05]NVStorageSaveData kkm_last_timestamp [22:00:05]File name is /storage/kkm_last_timestamp [22:00:05]Write 4 bytes [22:00:05]NVStorageSaveData done [22:00:05]ExternCall_PrintAddStr [22:00:05]wPrintStart [22:00:05]Write to MH i2c: 01 00 00 BE 05 C3 [22:00:05]Write i2c OK [22:00:05]MH_I2C_Read... [22:00:05]Read from MH i2c: 01 [22:00:05]MH_I2C_Read... [22:00:05]Read from MH i2c: 01 07 00 [22:00:05]MH_I2C_Read... [22:00:05]Read from MH i2c: 01 07 00 BE 05 00 00 00 00 00 FF 0F D8 [22:00:05]RasterBufferAndPrint [22:00:05]line Счет N : (3)32918 [22:00:05]line ИНН: 02508201610067 [22:00:05]line Контрольно-Кассовый Чек [22:00:05]line ПРОДАЖА [22:00:05]line Товар: 4700000160358 [22:00:05]line Вода Легенда 1л [22:00:05]line 1.000 * 50.00 [22:00:05]line = 50.00 [22:00:05]line НДС 12% НСП 1% [22:00:05]line > о реализуемом товаре [22:00:05]line ИТОГО: 50.00 [22:00:05]line НСП 1% : 0.44 [22:00:05]line НДС 12% : 5.31 [22:00:05]line Наличными: 0.00 [22:00:05]line Безнал.: 50.00 [22:00:05]line Место: АЗС № 106 "Партнер Нефть" [22:00:05]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [22:00:05]line СНО: Общий режим [22:00:05]line Чек 57 21.04.2024 22:00 [22:00:05]line Смена: 281 ФФД: 1.0 [22:00:05]line ЗНМ: 0300000004 [22:00:05]line РНМ: 0000000000100748 [22:00:05]line Версия ККМ: 001 [22:00:05]line Платежная система: Бакай Банк [22:00:05]line ФМ: 0000000000965685 [22:00:05]line ФД: 12645 [22:00:05]line ФПД: 175242628389235 [22:00:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T220004&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12645&fm=175242628389235&tin=02508201610067®Number=0000000000100748&sum=5000 [22:00:05]line 0 [22:00:05]OFD Sender: Processing packet 12645 [packets to send 7, broken 6] [22:00:05]ProducePacketName [22:00:05]name=ofd_packets/00012645 [22:00:05]OFD Sender: To server: pG, [22:00:05]CommunicateWithHost lk.salyk.kg:30040 [22:00:05]ConnectInit lk.salyk.kg [22:00:05]written 0, free lines is 4095 [22:00:05]Connected sock=10 [22:00:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 21 01 00 00 08 90 19 01 37 28 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 88 13 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 64 8C 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 65 31 00 00 35 04 06 00 9F 61 DA 9D 59 73 25 34 33 50 0E 98 6E 8C [22:00:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 CC D3 47 00 90 C2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 65 31 00 00 F4 03 04 00 E4 34 25 66 B6 04 01 00 00 97 98 3F 6F 19 37 D0 12 [22:00:05]CommunicateWithHost err = 0 [22:00:05]CheckOFDResponse [22:00:05]1017 (14) - 77093643461234 [22:00:05]1041 (16) - 0000000000965685 [22:00:05]1040 (4) - 12645 [22:00:05]1012 (4) - 21.04.2024 15:46 [22:00:05]1206 (1) - 0 [22:00:05]OFD Sender: Remove packet 12645 [22:00:05]ProducePacketName [22:00:05]name=ofd_packets/00012645 [22:00:05]NVStorageDeleteData [22:00:05]Write to MH i2c: 01 00 00 E7 05 EC [22:00:05]Write i2c OK [22:00:05]MH_I2C_Read... [22:00:05]Read from MH i2c: 01 [22:00:05]MH_I2C_Read... [22:00:05]Read from MH i2c: 01 07 00 [22:00:05]MH_I2C_Read... [22:00:05]Read from MH i2c: 01 07 00 E7 05 00 00 00 00 00 FF 0C FE [22:00:05]RasterBufferAndPrint [22:00:05]line [22:00:05]line [22:00:05]line [22:00:05]line [22:00:05]line [22:00:05]written 0, free lines is 3333 [22:00:05]MH_Cut [22:00:05]Write to MH i2c: D1 01 00 EE 05 01 C5 [22:00:05]Write i2c OK [22:00:05]MH_I2C_Read... [22:00:05]Read from MH i2c: D1 [22:00:05]MH_I2C_Read... [22:00:05]Read from MH i2c: D1 01 00 [22:00:05]MH_I2C_Read... [22:00:05]Read from MH i2c: D1 01 00 EE 05 00 C4 [22:00:05]Write to MH i2c: 01 00 00 EF 05 F4 [22:00:05]Write i2c OK [22:00:05]MH_I2C_Read... [22:00:06]OFD Sender: No OFD packet to send [22:00:06]*** Cut start [22:00:06]*** Partial cut [22:00:06]*** CUTSNS_PIN = 1 [22:00:06]*** CUTSNS_PIN = 0 [22:00:06]*** Brake cut motor [22:00:07]Read from MH i2c: 01 [22:00:07]MH_I2C_Read... [22:00:07]*** Stop cut motor [22:00:07]*** Cut end [22:00:07]Read from MH i2c: 01 07 00 [22:00:07]MH_I2C_Read... [22:00:07]Read from MH i2c: 01 07 00 EF 05 00 00 00 00 00 FF 0F 09 [22:00:07]process_action close_receipt done [22:00:07]requested_data is exist [22:00:07]produce_requested_data [22:00:07]requested_item fm.sn is exist - process it [22:00:07]wFMCommunicate request_size=4 [22:00:07]MH_SAM_APDU [22:00:07]CAPDU: 80 11 00 00 [22:00:07]Write to MH i2c: E2 08 00 F0 05 80 11 00 00 00 00 00 00 6F [22:00:07]Write i2c OK [22:00:07]MH_I2C_Read... [22:00:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:00:07]Read from MH i2c: E2 [22:00:07]MH_I2C_Read... [22:00:07]Read from MH i2c: E2 17 00 [22:00:07]MH_I2C_Read... [22:00:07]Read from MH i2c: E2 17 00 F0 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 C9 [22:00:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [22:00:07]wFMCommunicate OK [22:00:07]requested_item fd.num is exist - process it [22:00:07]SAM_PROTO_GetFieldsCounters [22:00:07]wFMCommunicate request_size=4 [22:00:07]MH_SAM_APDU [22:00:07]CAPDU: 80 13 00 00 [22:00:07]Write to MH i2c: E2 08 00 F1 05 80 13 00 00 00 00 00 00 72 [22:00:07]Write i2c OK [22:00:07]MH_I2C_Read... [22:00:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:00:07]Read from MH i2c: E2 [22:00:07]MH_I2C_Read... [22:00:07]Read from MH i2c: E2 62 00 [22:00:07]MH_I2C_Read... [22:00:07]Read from MH i2c: E2 62 00 F1 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 65 31 00 00 0E 04 04 00 19 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 F0 [22:00:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 65 31 00 00 0E 04 04 00 19 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 [22:00:07]wFMCommunicate OK [22:00:07]SAM_PROTO_GetFieldsCounters done [22:00:07]requested_item shift.num is exist - process it [22:00:07]requested_item shift.opened is exist - process it [22:00:07]req_shift_opened [22:00:07]FM_GetShiftState [22:00:07]SAM_PROTO_GetShiftState [22:00:07]wFMCommunicate request_size=4 [22:00:07]MH_SAM_APDU [22:00:07]CAPDU: 80 13 01 00 [22:00:07]Write to MH i2c: E2 08 00 F2 05 80 13 01 00 00 00 00 00 74 [22:00:07]Write i2c OK [22:00:07]MH_I2C_Read... [22:00:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:00:07]Read from MH i2c: E2 [22:00:07]MH_I2C_Read... [22:00:07]Read from MH i2c: E2 0E 00 [22:00:07]MH_I2C_Read... [22:00:07]Read from MH i2c: E2 0E 00 F2 05 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 CC [22:00:07]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [22:00:07]wFMCommunicate OK [22:00:07]SAM_PROTO_GetShiftState done [22:00:07]FM_GetShiftState done [22:00:07]req_shift_opened done [22:00:07]requested_item shift.open_date is exist - process it [22:00:07]req_shift_open_date [22:00:07]req_shift_open_date done [22:00:07]produce_requested_data done [22:00:07]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12645,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [22:00:07]process_action_free close_receipt [22:00:07]json_value_free [22:00:07]json_value_free done [22:00:07]process_json_proto returns [22:00:07]Send response to host [22:00:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12645,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [22:00:07]free response buf [22:00:07]execute_script done [22:00:07]execute_script returns [22:00:07]free content buf [22:00:07]Sock 9.Close socket [22:00:07]Sock 9.Thread stoped [22:00:11]OFD Sender: No OFD packet to send [22:00:16]OFD Sender: No OFD packet to send [22:00:21]OFD Sender: No OFD packet to send [22:00:26]OFD Sender: No OFD packet to send [22:00:31]OFD Sender: No OFD packet to send [22:00:36]OFD Sender: No OFD packet to send [22:00:41]OFD Sender: No OFD packet to send [22:00:46]OFD Sender: No OFD packet to send [22:00:51]OFD Sender: No OFD packet to send [22:00:56]OFD Sender: No OFD packet to send [22:01:01]OFD Sender: No OFD packet to send [22:01:06]OFD Sender: No OFD packet to send [22:01:11]OFD Sender: No OFD packet to send [22:01:16]OFD Sender: No OFD packet to send [22:01:21]OFD Sender: No OFD packet to send [22:01:26]OFD Sender: No OFD packet to send [22:01:31]OFD Sender: No OFD packet to send [22:01:36]OFD Sender: No OFD packet to send [22:01:41]OFD Sender: No OFD packet to send [22:01:46]OFD Sender: No OFD packet to send [22:01:51]OFD Sender: No OFD packet to send [22:01:56]OFD Sender: No OFD packet to send [22:02:01]OFD Sender: No OFD packet to send [22:02:06]OFD Sender: No OFD packet to send [22:02:11]OFD Sender: No OFD packet to send [22:02:16]OFD Sender: No OFD packet to send [22:02:21]OFD Sender: No OFD packet to send [22:02:26]OFD Sender: No OFD packet to send [22:02:31]OFD Sender: No OFD packet to send [22:02:36]OFD Sender: No OFD packet to send [22:02:41]OFD Sender: No OFD packet to send [22:02:46]OFD Sender: No OFD packet to send [22:02:51]OFD Sender: No OFD packet to send [22:02:56]OFD Sender: No OFD packet to send [22:03:01]OFD Sender: No OFD packet to send [22:03:06]OFD Sender: No OFD packet to send [22:03:11]OFD Sender: No OFD packet to send [22:03:16]OFD Sender: No OFD packet to send [22:03:21]OFD Sender: No OFD packet to send [22:03:26]OFD Sender: No OFD packet to send [22:03:31]OFD Sender: No OFD packet to send [22:03:36]OFD Sender: No OFD packet to send [22:03:41]OFD Sender: No OFD packet to send [22:03:46]OFD Sender: No OFD packet to send [22:03:51]OFD Sender: No OFD packet to send [22:03:56]OFD Sender: No OFD packet to send [22:04:01]OFD Sender: No OFD packet to send [22:04:06]OFD Sender: No OFD packet to send [22:04:11]OFD Sender: No OFD packet to send [22:04:16]OFD Sender: No OFD packet to send [22:04:21]OFD Sender: No OFD packet to send [22:04:26]OFD Sender: No OFD packet to send [22:04:31]OFD Sender: No OFD packet to send [22:04:36]OFD Sender: No OFD packet to send [22:04:41]OFD Sender: No OFD packet to send [22:04:46]OFD Sender: No OFD packet to send [22:04:51]OFD Sender: No OFD packet to send [22:04:56]OFD Sender: No OFD packet to send [22:05:01]OFD Sender: No OFD packet to send [22:05:06]OFD Sender: No OFD packet to send [22:05:11]OFD Sender: No OFD packet to send [22:05:16]OFD Sender: No OFD packet to send [22:05:21]OFD Sender: No OFD packet to send [22:05:26]OFD Sender: No OFD packet to send [22:05:31]OFD Sender: No OFD packet to send [22:05:36]OFD Sender: No OFD packet to send [22:05:41]OFD Sender: No OFD packet to send [22:05:46]OFD Sender: No OFD packet to send [22:05:51]OFD Sender: No OFD packet to send [22:05:56]OFD Sender: No OFD packet to send [22:06:01]OFD Sender: No OFD packet to send [22:06:06]OFD Sender: No OFD packet to send [22:06:11]OFD Sender: No OFD packet to send [22:06:16]OFD Sender: No OFD packet to send [22:06:21]OFD Sender: No OFD packet to send [22:06:26]OFD Sender: No OFD packet to send [22:06:31]OFD Sender: No OFD packet to send [22:06:36]OFD Sender: No OFD packet to send [22:06:41]OFD Sender: No OFD packet to send [22:06:46]OFD Sender: No OFD packet to send [22:06:51]OFD Sender: No OFD packet to send [22:06:56]OFD Sender: No OFD packet to send [22:07:01]OFD Sender: No OFD packet to send [22:07:06]OFD Sender: No OFD packet to send [22:07:11]OFD Sender: No OFD packet to send [22:07:16]OFD Sender: No OFD packet to send [22:07:21]OFD Sender: No OFD packet to send [22:07:26]OFD Sender: No OFD packet to send [22:07:31]OFD Sender: No OFD packet to send [22:07:36]OFD Sender: No OFD packet to send [22:07:41]OFD Sender: No OFD packet to send [22:07:46]OFD Sender: No OFD packet to send [22:07:51]OFD Sender: No OFD packet to send [22:07:56]OFD Sender: No OFD packet to send [22:08:01]OFD Sender: No OFD packet to send [22:08:06]OFD Sender: No OFD packet to send [22:08:11]OFD Sender: No OFD packet to send [22:08:16]OFD Sender: No OFD packet to send [22:08:21]OFD Sender: No OFD packet to send [22:08:26]OFD Sender: No OFD packet to send [22:08:31]OFD Sender: No OFD packet to send [22:08:36]OFD Sender: No OFD packet to send [22:08:41]OFD Sender: No OFD packet to send [22:08:46]OFD Sender: No OFD packet to send [22:08:51]OFD Sender: No OFD packet to send [22:08:56]OFD Sender: No OFD packet to send [22:09:01]OFD Sender: No OFD packet to send [22:09:06]OFD Sender: No OFD packet to send [22:09:11]OFD Sender: No OFD packet to send [22:09:13]accept exits with 7 [22:09:13]New connection [22:09:13]New thread 3066957156 created [22:09:13]Thread 3066813796 joined [22:09:13]Waiting for new connection... [22:09:13] Sock 7.Parse request [22:09:13]Sock 7.Check first char [22:09:13]Sock 7.First char is OK [22:09:13]request: POST /json_proto HTTP/1.0 [22:09:13]Method: POST [22:09:13]URL: /json_proto [22:09:13]Method is POST - this is cgi request [22:09:13]url: /json_proto [22:09:13]query_string will be loaded in cgi processing [22:09:13]execute_cgi json_proto POST (null) [22:09:13]execute_cgi path=json_proto method=POST [22:09:13]POST find Content-Length [22:09:13]Host: 172.17.62.6:8080 [22:09:13]Content-Length: 661 [22:09:13]Content-Type: application/json [22:09:13] [22:09:13]POST finish read [22:09:13]Found Content-Length = 661 [22:09:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32919", "tax_sys" : 0, "items" : [ { "code": "4011100977952", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 55\u0433", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:09:13]execute_script... [22:09:13]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32919", "tax_sys" : 0, "items" : [ { "code": "4011100977952", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 55\u0433", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:09:13]POST & json_proto [22:09:13]process_json_proto [22:09:13]json parsed OK: [22:09:13]protocol is kg_v1.0 [22:09:13]action value=close_receipt [22:09:13]process_action close_receipt [22:09:13]cmd_close_receipt [22:09:13]MH_GetDate [22:09:13]Write to MH i2c: F0 00 00 F3 05 E7 [22:09:13]Write i2c OK [22:09:13]MH_I2C_Read... [22:09:13]Read from MH i2c: F0 [22:09:13]MH_I2C_Read... [22:09:13]Read from MH i2c: F0 09 00 [22:09:13]MH_I2C_Read... [22:09:13]Read from MH i2c: F0 09 00 F3 05 00 8A 8E 25 66 61 69 D2 64 93 [22:09:13]GetLastDocTimeStamp 1713736804 [22:09:13]current date 1713737354 [22:09:13]FM_GetShiftState [22:09:13]SAM_PROTO_GetShiftState [22:09:13]wFMCommunicate request_size=4 [22:09:13]MH_SAM_APDU [22:09:13]CAPDU: 80 13 01 00 [22:09:13]Write to MH i2c: E2 08 00 F4 05 80 13 01 00 00 00 00 00 76 [22:09:13]Write i2c OK [22:09:13]MH_I2C_Read... [22:09:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:09:13]Read from MH i2c: E2 [22:09:13]MH_I2C_Read... [22:09:13]Read from MH i2c: E2 0E 00 [22:09:13]MH_I2C_Read... [22:09:13]Read from MH i2c: E2 0E 00 F4 05 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 CE [22:09:13]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [22:09:13]wFMCommunicate OK [22:09:13]SAM_PROTO_GetShiftState done [22:09:13]FM_GetShiftState done [22:09:13]opened in 1713658727 [22:09:13]opened+sec_in_day 1713745127 [22:09:13]quantity*price = 6000 [22:09:13]sum+1 = 6001 [22:09:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 58 21.04.2024 22:09 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12646 ФПД: 31037600328436 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T220914&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12646&fm=31037600328436&tin=02508201610067®Number=0000000000100748&sum=6000 0 [22:09:14]StoreToDocumentArchive [22:09:14]shift 281 fd 12646 [22:09:14]save to /storage/0281/doc_00012646 [22:09:14]save last doc name /storage/0281/doc_00012646 to /storage/kkm_last_doc_name [22:09:14]save OK [22:09:14]Clear old archive folders... [22:09:14]ProcessDocumentItem done err = 0, tmpTLVsize=281 [22:09:14]tlvbuf is 016C3E00 [22:09:14]SAM_PROTO_ClearQueue [22:09:14]wFMCommunicate request_size=4 [22:09:14]MH_SAM_APDU [22:09:14]CAPDU: 80 09 00 00 [22:09:14]Write to MH i2c: E2 08 00 01 06 80 09 00 00 00 00 00 00 79 [22:09:14]Write i2c OK [22:09:14]MH_I2C_Read... [22:09:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:09:14]Read from MH i2c: E2 [22:09:14]MH_I2C_Read... [22:09:14]Read from MH i2c: E2 03 00 [22:09:14]MH_I2C_Read... [22:09:14]Read from MH i2c: E2 03 00 01 06 00 90 00 7B [22:09:14]RAPDU: 90 00 [22:09:14]wFMCommunicate OK [22:09:14]SAM_PROTO_ClearQueue done [22:09:14]KKMCreateOFDPacket [22:09:14]OFDProtocolAddRootSTLVToBuf [22:09:14]FM_MakeSignedData [22:09:14]FM_MakeSignedData [22:09:14]SAM_PROTO_SignData [22:09:14]wFMCommunicate request_size=4 [22:09:14]MH_SAM_APDU [22:09:14]CAPDU: 80 0D 01 02 [22:09:14]Write to MH i2c: E2 08 00 02 06 80 0D 01 02 00 00 00 00 81 [22:09:14]Write i2c OK [22:09:14]MH_I2C_Read... [22:09:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:09:14]Read from MH i2c: E2 [22:09:14]MH_I2C_Read... [22:09:14]Read from MH i2c: E2 03 00 [22:09:14]MH_I2C_Read... [22:09:14]Read from MH i2c: E2 03 00 02 06 00 90 00 7C [22:09:14]RAPDU: 90 00 [22:09:14]wFMCommunicate OK [22:09:14]wFMCommunicate request_size=255 [22:09:14]MH_SAM_APDU [22:09:14]CAPDU: 80 0D 02 02 FA 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 8A 8E 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 [22:09:14]Write to MH i2c: E2 02 01 03 06 80 0D 02 02 FA 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 8A 8E 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 00 3A [22:09:14]Write i2c OK [22:09:14]MH_I2C_Read... [22:09:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:09:14]Read from MH i2c: E2 [22:09:14]MH_I2C_Read... [22:09:14]Read from MH i2c: E2 03 00 [22:09:14]MH_I2C_Read... [22:09:14]Read from MH i2c: E2 03 00 03 06 00 90 00 7D [22:09:14]RAPDU: 90 00 [22:09:14]wFMCommunicate OK [22:09:14]wFMCommunicate request_size=40 [22:09:14]MH_SAM_APDU [22:09:14]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 66 31 00 00 35 04 06 00 1C 3A 81 24 6A F4 [22:09:14]Write to MH i2c: E2 2B 00 04 06 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 66 31 00 00 35 04 06 00 1C 3A 81 24 6A F4 00 00 38 [22:09:14]Write i2c OK [22:09:14]MH_I2C_Read... [22:09:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:09:14]Read from MH i2c: E2 [22:09:14]MH_I2C_Read... [22:09:14]Read from MH i2c: E2 03 00 [22:09:14]MH_I2C_Read... [22:09:14]Read from MH i2c: E2 03 00 04 06 00 90 00 7E [22:09:14]RAPDU: 90 00 [22:09:14]wFMCommunicate OK [22:09:14]wFMCommunicate request_size=4 [22:09:14]MH_SAM_APDU [22:09:14]CAPDU: 80 0D 03 02 [22:09:14]Write to MH i2c: E2 08 00 05 06 80 0D 03 02 00 00 00 00 86 [22:09:14]Write i2c OK [22:09:14]MH_I2C_Read... [22:09:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:09:15]Read from MH i2c: E2 [22:09:15]MH_I2C_Read... [22:09:15]Read from MH i2c: E2 0B 00 [22:09:15]MH_I2C_Read... [22:09:15]Read from MH i2c: E2 0B 00 05 06 00 1E 24 C5 41 0F 4E 5A B4 90 00 3A [22:09:15]RAPDU: 1E 24 C5 41 0F 4E 5A B4 90 00 [22:09:15]wFMCommunicate OK [22:09:15]SAM_PROTO_SignData done [22:09:15]FM_MakeSignedData done [22:09:15]CreateOFDProtocolMessage [22:09:15]wFMCommunicate request_size=4 [22:09:15]MH_SAM_APDU [22:09:15]CAPDU: 80 11 00 00 [22:09:15]Write to MH i2c: E2 08 00 06 06 80 11 00 00 00 00 00 00 86 [22:09:15]Write i2c OK [22:09:15]MH_I2C_Read... [22:09:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:09:15]Read from MH i2c: E2 [22:09:15]MH_I2C_Read... [22:09:15]Read from MH i2c: E2 17 00 [22:09:15]MH_I2C_Read... [22:09:15]Read from MH i2c: E2 17 00 06 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 E0 [22:09:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [22:09:15]wFMCommunicate OK [22:09:15]CreateOFDProtocolMessage done [22:09:15]OFDSenderStorePacket 12646 [22:09:15]StoreOFDPacket docnum=12646 [22:09:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2D 01 00 00 A5 40 25 01 C5 DA 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 8A 8E 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 66 31 00 00 35 04 06 00 1C 3A 81 24 6A F4 1E 24 C5 41 0F 4E 5A B4 [22:09:15]CheckFolder [22:09:15]dirname=/storage/ofd_packets [22:09:15]CheckFolder done [22:09:15]ProducePacketName [22:09:15]name=ofd_packets/00012646 [22:09:15]NVStorageSaveData ofd_packets/00012646 [22:09:15]File name is /storage/ofd_packets/00012646 [22:09:15]Write 331 bytes [22:09:15]NVStorageSaveData done [22:09:15]OFDSenderStorePacket done [22:09:15]KKMCreateOFDPacket done [22:09:15]NVStorageSaveData kkm_last_timestamp [22:09:15]File name is /storage/kkm_last_timestamp [22:09:15]Write 4 bytes [22:09:15]NVStorageSaveData done [22:09:15]ExternCall_PrintAddStr [22:09:15]wPrintStart [22:09:15]Write to MH i2c: 01 00 00 07 06 0D [22:09:15]Write i2c OK [22:09:15]MH_I2C_Read... [22:09:15]Read from MH i2c: 01 [22:09:15]MH_I2C_Read... [22:09:15]Read from MH i2c: 01 07 00 [22:09:15]MH_I2C_Read... [22:09:15]Read from MH i2c: 01 07 00 07 06 00 00 00 00 00 FF 0F 22 [22:09:15]RasterBufferAndPrint [22:09:15]line Счет N : (3)32919 [22:09:15]line ИНН: 02508201610067 [22:09:15]line Контрольно-Кассовый Чек [22:09:15]line ПРОДАЖА [22:09:15]line Товар: 4011100977952 [22:09:15]line Шок Батончик Твикс 55г [22:09:15]line 1.000 * 60.00 [22:09:15]line = 60.00 [22:09:15]line НДС 12% НСП 1% [22:09:15]line > о реализуемом товаре [22:09:15]line ИТОГО: 60.00 [22:09:15]line НСП 1% : 0.53 [22:09:15]line НДС 12% : 6.37 [22:09:15]line Наличными: 60.00 [22:09:15]line Безнал.: 0.00 [22:09:15]line Место: АЗС № 106 "Партнер Нефть" [22:09:15]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [22:09:15]line СНО: Общий режим [22:09:15]line Чек 58 21.04.2024 22:09 [22:09:15]line Смена: 281 ФФД: 1.0 [22:09:15]line ЗНМ: 0300000004 [22:09:15]line РНМ: 0000000000100748 [22:09:15]line Версия ККМ: 001 [22:09:15]line ФМ: 0000000000965685 [22:09:15]line ФД: 12646 [22:09:15]line ФПД: 31037600328436 [22:09:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T220914&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12646&fm=31037600328436&tin=02508201610067®Number=0000000000100748&sum=6000 [22:09:15]line 0 [22:09:15]OFD Sender: Processing packet 12646 [packets to send 7, broken 6] [22:09:15]ProducePacketName [22:09:15]name=ofd_packets/00012646 [22:09:15]OFD Sender: To server: pG, [22:09:15]CommunicateWithHost lk.salyk.kg:30040 [22:09:15]ConnectInit lk.salyk.kg [22:09:15]written 0, free lines is 4095 [22:09:15]Connected sock=10 [22:09:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2D 01 00 00 A5 40 25 01 C5 DA 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 8A 8E 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 66 31 00 00 35 04 06 00 1C 3A 81 24 6A F4 1E 24 C5 41 0F 4E 5A B4 [22:09:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 10 9C 47 00 F2 FA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 66 31 00 00 F4 03 04 00 0A 37 25 66 B6 04 01 00 00 F7 F8 43 56 5F 54 9E 66 [22:09:15]CommunicateWithHost err = 0 [22:09:15]CheckOFDResponse [22:09:15]1017 (14) - 77093643461234 [22:09:15]1041 (16) - 0000000000965685 [22:09:15]1040 (4) - 12646 [22:09:15]1012 (4) - 21.04.2024 15:55 [22:09:15]1206 (1) - 0 [22:09:15]OFD Sender: Remove packet 12646 [22:09:15]ProducePacketName [22:09:15]name=ofd_packets/00012646 [22:09:15]NVStorageDeleteData [22:09:15]Write to MH i2c: 01 00 00 2E 06 34 [22:09:15]Write i2c OK [22:09:15]MH_I2C_Read... [22:09:15]Read from MH i2c: 01 [22:09:15]MH_I2C_Read... [22:09:15]Read from MH i2c: 01 07 00 [22:09:15]MH_I2C_Read... [22:09:15]Read from MH i2c: 01 07 00 2E 06 00 00 00 00 00 0B 0D 53 [22:09:15]RasterBufferAndPrint [22:09:15]line [22:09:15]line [22:09:15]line [22:09:15]line [22:09:15]line [22:09:15]written 0, free lines is 3345 [22:09:15]MH_Cut [22:09:15]Write to MH i2c: D1 01 00 35 06 01 0D [22:09:15]Write i2c OK [22:09:15]MH_I2C_Read... [22:09:15]Read from MH i2c: D1 [22:09:15]MH_I2C_Read... [22:09:15]Read from MH i2c: D1 01 00 [22:09:15]MH_I2C_Read... [22:09:15]Read from MH i2c: D1 01 00 35 06 00 0C [22:09:15]Write to MH i2c: 01 00 00 36 06 3C [22:09:15]Write i2c OK [22:09:15]MH_I2C_Read... [22:09:16]OFD Sender: No OFD packet to send [22:09:16]*** Cut start [22:09:16]*** Partial cut [22:09:16]*** CUTSNS_PIN = 1 [22:09:16]*** CUTSNS_PIN = 0 [22:09:16]*** Brake cut motor [22:09:17]Read from MH i2c: 01 [22:09:17]MH_I2C_Read... [22:09:17]*** Stop cut motor [22:09:17]*** Cut end [22:09:17]Read from MH i2c: 01 07 00 [22:09:17]MH_I2C_Read... [22:09:17]Read from MH i2c: 01 07 00 36 06 00 00 00 00 00 FF 0F 51 [22:09:17]process_action close_receipt done [22:09:17]requested_data is exist [22:09:17]produce_requested_data [22:09:17]requested_item fm.sn is exist - process it [22:09:17]wFMCommunicate request_size=4 [22:09:17]MH_SAM_APDU [22:09:17]CAPDU: 80 11 00 00 [22:09:17]Write to MH i2c: E2 08 00 37 06 80 11 00 00 00 00 00 00 B7 [22:09:17]Write i2c OK [22:09:17]MH_I2C_Read... [22:09:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:09:17]Read from MH i2c: E2 [22:09:17]MH_I2C_Read... [22:09:17]Read from MH i2c: E2 17 00 [22:09:17]MH_I2C_Read... [22:09:17]Read from MH i2c: E2 17 00 37 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 11 [22:09:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [22:09:17]wFMCommunicate OK [22:09:17]requested_item fd.num is exist - process it [22:09:17]SAM_PROTO_GetFieldsCounters [22:09:17]wFMCommunicate request_size=4 [22:09:17]MH_SAM_APDU [22:09:17]CAPDU: 80 13 00 00 [22:09:17]Write to MH i2c: E2 08 00 38 06 80 13 00 00 00 00 00 00 BA [22:09:17]Write i2c OK [22:09:17]MH_I2C_Read... [22:09:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:09:17]Read from MH i2c: E2 [22:09:17]MH_I2C_Read... [22:09:17]Read from MH i2c: E2 62 00 [22:09:17]MH_I2C_Read... [22:09:17]Read from MH i2c: E2 62 00 38 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 66 31 00 00 0E 04 04 00 19 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 3C [22:09:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 66 31 00 00 0E 04 04 00 19 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 [22:09:17]wFMCommunicate OK [22:09:17]SAM_PROTO_GetFieldsCounters done [22:09:17]requested_item shift.num is exist - process it [22:09:17]requested_item shift.opened is exist - process it [22:09:17]req_shift_opened [22:09:17]FM_GetShiftState [22:09:17]SAM_PROTO_GetShiftState [22:09:17]wFMCommunicate request_size=4 [22:09:17]MH_SAM_APDU [22:09:17]CAPDU: 80 13 01 00 [22:09:17]Write to MH i2c: E2 08 00 39 06 80 13 01 00 00 00 00 00 BC [22:09:17]Write i2c OK [22:09:17]MH_I2C_Read... [22:09:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:09:17]Read from MH i2c: E2 [22:09:17]MH_I2C_Read... [22:09:17]Read from MH i2c: E2 0E 00 [22:09:17]MH_I2C_Read... [22:09:17]Read from MH i2c: E2 0E 00 39 06 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 14 [22:09:17]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [22:09:17]wFMCommunicate OK [22:09:17]SAM_PROTO_GetShiftState done [22:09:17]FM_GetShiftState done [22:09:17]req_shift_opened done [22:09:17]requested_item shift.open_date is exist - process it [22:09:17]req_shift_open_date [22:09:17]req_shift_open_date done [22:09:17]produce_requested_data done [22:09:17]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12646,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [22:09:17]process_action_free close_receipt [22:09:17]json_value_free [22:09:17]json_value_free done [22:09:17]process_json_proto returns [22:09:17]Send response to host [22:09:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12646,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [22:09:17]free response buf [22:09:17]execute_script done [22:09:17]execute_script returns [22:09:17]free content buf [22:09:17]Sock 7.Close socket [22:09:17]Sock 7.Thread stoped [22:09:21]OFD Sender: No OFD packet to send [22:09:26]OFD Sender: No OFD packet to send [22:09:31]OFD Sender: No OFD packet to send [22:09:36]OFD Sender: No OFD packet to send [22:09:41]OFD Sender: No OFD packet to send [22:09:46]OFD Sender: No OFD packet to send [22:09:51]OFD Sender: No OFD packet to send [22:09:56]OFD Sender: No OFD packet to send [22:10:01]OFD Sender: No OFD packet to send [22:10:06]OFD Sender: No OFD packet to send [22:10:11]OFD Sender: No OFD packet to send [22:10:16]OFD Sender: No OFD packet to send [22:10:20]accept exits with 9 [22:10:20]New connection [22:10:20]New thread 3066813796 created [22:10:20]Thread 3066957156 joined [22:10:20]Waiting for new connection... [22:10:20] Sock 9.Parse request [22:10:20]Sock 9.Check first char [22:10:20]Sock 9.First char is OK [22:10:20]request: POST /json_proto HTTP/1.0 [22:10:20]Method: POST [22:10:20]URL: /json_proto [22:10:20]Method is POST - this is cgi request [22:10:20]url: /json_proto [22:10:20]query_string will be loaded in cgi processing [22:10:20]execute_cgi json_proto POST (null) [22:10:20]execute_cgi path=json_proto method=POST [22:10:20]POST find Content-Length [22:10:20]Host: 172.17.62.6:8080 [22:10:20]Content-Length: 825 [22:10:20]Content-Type: application/json [22:10:20] [22:10:20]POST finish read [22:10:20]Found Content-Length = 825 [22:10:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32920", "tax_sys" : 0, "items" : [ { "code": "4607065000790", "name": "\u0428\u043E\u043A M\u0026M`s \u0441 \u0430\u0440\u0430\u0445\u0438\u0441\u043E\u043C 45\u0433", "price" : 63.00, "quantity" : 1.000, "sum" : 63.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 63.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:10:20]execute_script... [22:10:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32920", "tax_sys" : 0, "items" : [ { "code": "4607065000790", "name": "\u0428\u043E\u043A M\u0026M`s \u0441 \u0430\u0440\u0430\u0445\u0438\u0441\u043E\u043C 45\u0433", "price" : 63.00, "quantity" : 1.000, "sum" : 63.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 63.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:10:20]POST & json_proto [22:10:20]process_json_proto [22:10:20]json parsed OK: [22:10:20]protocol is kg_v1.0 [22:10:20]action value=close_receipt [22:10:20]process_action close_receipt [22:10:20]cmd_close_receipt [22:10:20]MH_GetDate [22:10:20]Write to MH i2c: F0 00 00 3A 06 2F [22:10:20]Write i2c OK [22:10:20]MH_I2C_Read... [22:10:20]Read from MH i2c: F0 [22:10:20]MH_I2C_Read... [22:10:20]Read from MH i2c: F0 09 00 [22:10:20]MH_I2C_Read... [22:10:20]Read from MH i2c: F0 09 00 3A 06 00 CD 8E 25 66 61 69 D2 64 1E [22:10:20]GetLastDocTimeStamp 1713737354 [22:10:20]current date 1713737421 [22:10:20]FM_GetShiftState [22:10:20]SAM_PROTO_GetShiftState [22:10:20]wFMCommunicate request_size=4 [22:10:20]MH_SAM_APDU [22:10:20]CAPDU: 80 13 01 00 [22:10:20]Write to MH i2c: E2 08 00 3B 06 80 13 01 00 00 00 00 00 BE [22:10:20]Write i2c OK [22:10:20]MH_I2C_Read... [22:10:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:10:20]Read from MH i2c: E2 [22:10:20]MH_I2C_Read... [22:10:20]Read from MH i2c: E2 0E 00 [22:10:20]MH_I2C_Read... [22:10:20]Read from MH i2c: E2 0E 00 3B 06 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 16 [22:10:20]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [22:10:20]wFMCommunicate OK [22:10:20]SAM_PROTO_GetShiftState done [22:10:20]FM_GetShiftState done [22:10:20]opened in 1713658727 [22:10:20]opened+sec_in_day 1713745127 [22:10:20]quantity*price = 6300 [22:10:20]sum+1 = 6301 [22:10:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 63.00 НСП 1% : 0.56 НДС 12% : 6.69 Наличными: 0.00 Безнал.: 63.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 59 21.04.2024 22:10 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000965685 ФД: 12647 ФПД: 3400104991314 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T221021&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12647&fm=3400104991314&tin=02508201610067®Number=0000000000100748&sum=6300 0 [22:10:21]StoreToDocumentArchive [22:10:21]shift 281 fd 12647 [22:10:21]save to /storage/0281/doc_00012647 [22:10:21]save last doc name /storage/0281/doc_00012647 to /storage/kkm_last_doc_name [22:10:21]save OK [22:10:21]Clear old archive folders... [22:10:21]ProcessDocumentItem done err = 0, tmpTLVsize=279 [22:10:21]tlvbuf is 01648500 [22:10:21]SAM_PROTO_ClearQueue [22:10:21]wFMCommunicate request_size=4 [22:10:21]MH_SAM_APDU [22:10:21]CAPDU: 80 09 00 00 [22:10:21]Write to MH i2c: E2 08 00 48 06 80 09 00 00 00 00 00 00 C0 [22:10:21]Write i2c OK [22:10:21]MH_I2C_Read... [22:10:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:10:21]Read from MH i2c: E2 [22:10:21]MH_I2C_Read... [22:10:21]Read from MH i2c: E2 03 00 [22:10:21]MH_I2C_Read... [22:10:21]Read from MH i2c: E2 03 00 48 06 00 90 00 C2 [22:10:21]RAPDU: 90 00 [22:10:21]wFMCommunicate OK [22:10:21]SAM_PROTO_ClearQueue done [22:10:21]KKMCreateOFDPacket [22:10:21]OFDProtocolAddRootSTLVToBuf [22:10:21]FM_MakeSignedData [22:10:21]FM_MakeSignedData [22:10:21]SAM_PROTO_SignData [22:10:21]wFMCommunicate request_size=4 [22:10:21]MH_SAM_APDU [22:10:21]CAPDU: 80 0D 01 02 [22:10:21]Write to MH i2c: E2 08 00 49 06 80 0D 01 02 00 00 00 00 C8 [22:10:21]Write i2c OK [22:10:21]MH_I2C_Read... [22:10:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:10:21]Read from MH i2c: E2 [22:10:21]MH_I2C_Read... [22:10:21]Read from MH i2c: E2 03 00 [22:10:21]MH_I2C_Read... [22:10:21]Read from MH i2c: E2 03 00 49 06 00 90 00 C3 [22:10:21]RAPDU: 90 00 [22:10:21]wFMCommunicate OK [22:10:21]wFMCommunicate request_size=255 [22:10:21]MH_SAM_APDU [22:10:21]CAPDU: 80 0D 02 02 FA 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 37 39 30 06 04 25 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D0 B0 D1 80 D0 B0 D1 85 D0 B8 D1 81 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 9C 18 00 00 00 00 13 04 06 00 9C 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 18 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 9C 18 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 CD 8E 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 [22:10:21]Write to MH i2c: E2 02 01 4A 06 80 0D 02 02 FA 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 37 39 30 06 04 25 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D0 B0 D1 80 D0 B0 D1 85 D0 B8 D1 81 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 9C 18 00 00 00 00 13 04 06 00 9C 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 18 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 9C 18 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 CD 8E 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 00 00 52 [22:10:21]Write i2c OK [22:10:21]MH_I2C_Read... [22:10:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:10:21]Read from MH i2c: E2 [22:10:21]MH_I2C_Read... [22:10:21]Read from MH i2c: E2 03 00 [22:10:21]MH_I2C_Read... [22:10:21]Read from MH i2c: E2 03 00 4A 06 00 90 00 C4 [22:10:21]RAPDU: 90 00 [22:10:21]wFMCommunicate OK [22:10:21]wFMCommunicate request_size=38 [22:10:21]MH_SAM_APDU [22:10:21]CAPDU: 80 0D 02 02 21 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 67 31 00 00 35 04 06 00 03 17 A6 0C DA 52 [22:10:21]Write to MH i2c: E2 29 00 4B 06 80 0D 02 02 21 00 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 67 31 00 00 35 04 06 00 03 17 A6 0C DA 52 00 00 EB [22:10:21]Write i2c OK [22:10:21]MH_I2C_Read... [22:10:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:10:21]Read from MH i2c: E2 [22:10:21]MH_I2C_Read... [22:10:21]Read from MH i2c: E2 03 00 [22:10:21]MH_I2C_Read... [22:10:21]Read from MH i2c: E2 03 00 4B 06 00 90 00 C5 [22:10:21]RAPDU: 90 00 [22:10:21]wFMCommunicate OK [22:10:21]wFMCommunicate request_size=4 [22:10:21]MH_SAM_APDU [22:10:21]CAPDU: 80 0D 03 02 [22:10:21]Write to MH i2c: E2 08 00 4C 06 80 0D 03 02 00 00 00 00 CD [22:10:21]Write i2c OK [22:10:21]MH_I2C_Read... [22:10:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:10:22]Read from MH i2c: E2 [22:10:22]MH_I2C_Read... [22:10:22]Read from MH i2c: E2 0B 00 [22:10:22]MH_I2C_Read... [22:10:22]Read from MH i2c: E2 0B 00 4C 06 00 F9 04 99 22 A7 CB 0C A3 90 00 A7 [22:10:22]RAPDU: F9 04 99 22 A7 CB 0C A3 90 00 [22:10:22]wFMCommunicate OK [22:10:22]SAM_PROTO_SignData done [22:10:22]FM_MakeSignedData done [22:10:22]CreateOFDProtocolMessage [22:10:22]wFMCommunicate request_size=4 [22:10:22]MH_SAM_APDU [22:10:22]CAPDU: 80 11 00 00 [22:10:22]Write to MH i2c: E2 08 00 4D 06 80 11 00 00 00 00 00 00 CD [22:10:22]Write i2c OK [22:10:22]MH_I2C_Read... [22:10:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:10:22]Read from MH i2c: E2 [22:10:22]MH_I2C_Read... [22:10:22]Read from MH i2c: E2 17 00 [22:10:22]MH_I2C_Read... [22:10:22]Read from MH i2c: E2 17 00 4D 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 27 [22:10:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [22:10:22]wFMCommunicate OK [22:10:22]CreateOFDProtocolMessage done [22:10:22]OFDSenderStorePacket 12647 [22:10:22]StoreOFDPacket docnum=12647 [22:10:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2B 01 00 00 F4 8B 23 01 55 B2 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 37 39 30 06 04 25 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D0 B0 D1 80 D0 B0 D1 85 D0 B8 D1 81 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 9C 18 00 00 00 00 13 04 06 00 9C 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 18 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 9C 18 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 CD 8E 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 67 31 00 00 35 04 06 00 03 17 A6 0C DA 52 F9 04 99 22 A7 CB 0C A3 [22:10:22]CheckFolder [22:10:22]dirname=/storage/ofd_packets [22:10:22]CheckFolder done [22:10:22]ProducePacketName [22:10:22]name=ofd_packets/00012647 [22:10:22]NVStorageSaveData ofd_packets/00012647 [22:10:22]File name is /storage/ofd_packets/00012647 [22:10:22]Write 329 bytes [22:10:22]NVStorageSaveData done [22:10:22]OFDSenderStorePacket done [22:10:22]KKMCreateOFDPacket done [22:10:22]NVStorageSaveData kkm_last_timestamp [22:10:22]File name is /storage/kkm_last_timestamp [22:10:22]Write 4 bytes [22:10:22]NVStorageSaveData done [22:10:22]ExternCall_PrintAddStr [22:10:22]wPrintStart [22:10:22]Write to MH i2c: 01 00 00 4E 06 54 [22:10:22]Write i2c OK [22:10:22]MH_I2C_Read... [22:10:22]Read from MH i2c: 01 [22:10:22]MH_I2C_Read... [22:10:22]Read from MH i2c: 01 07 00 [22:10:22]MH_I2C_Read... [22:10:22]Read from MH i2c: 01 07 00 4E 06 00 00 00 00 00 FF 0F 69 [22:10:22]RasterBufferAndPrint [22:10:22]line Счет N : (3)32920 [22:10:22]line ИНН: 02508201610067 [22:10:22]line Контрольно-Кассовый Чек [22:10:22]line ПРОДАЖА [22:10:22]line Товар: 4607065000790 [22:10:22]line Шок M&M`s с арахисом 45г [22:10:22]line 1.000 * 63.00 [22:10:22]line = 63.00 [22:10:22]line НДС 12% НСП 1% [22:10:22]line > о реализуемом товаре [22:10:22]line ИТОГО: 63.00 [22:10:22]line НСП 1% : 0.56 [22:10:22]line НДС 12% : 6.69 [22:10:22]line Наличными: 0.00 [22:10:22]line Безнал.: 63.00 [22:10:22]line Место: АЗС № 106 "Партнер Нефть" [22:10:22]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [22:10:22]line СНО: Общий режим [22:10:22]line Чек 59 21.04.2024 22:10 [22:10:22]line Смена: 281 ФФД: 1.0 [22:10:22]line ЗНМ: 0300000004 [22:10:22]line РНМ: 0000000000100748 [22:10:22]line Версия ККМ: 001 [22:10:22]line Платежная система: Бакай Банк [22:10:22]line ФМ: 0000000000965685 [22:10:22]line ФД: 12647 [22:10:22]line ФПД: 3400104991314 [22:10:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T221021&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12647&fm=3400104991314&tin=02508201610067®Number=0000000000100748&sum=6300 [22:10:22]line 0 [22:10:22]OFD Sender: Processing packet 12647 [packets to send 7, broken 6] [22:10:22]ProducePacketName [22:10:22]name=ofd_packets/00012647 [22:10:22]OFD Sender: To server: pG, [22:10:22]CommunicateWithHost lk.salyk.kg:30040 [22:10:22]ConnectInit lk.salyk.kg [22:10:22]written 0, free lines is 4095 [22:10:22]Connected sock=10 [22:10:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2B 01 00 00 F4 8B 23 01 55 B2 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 37 39 30 06 04 25 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D0 B0 D1 80 D0 B0 D1 85 D0 B8 D1 81 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 9C 18 00 00 00 00 13 04 06 00 9C 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 18 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 9C 18 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 CD 8E 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 67 31 00 00 35 04 06 00 03 17 A6 0C DA 52 F9 04 99 22 A7 CB 0C A3 [22:10:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 A0 B0 47 00 D6 CC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 67 31 00 00 F4 03 04 00 4D 37 25 66 B6 04 01 00 00 95 4C 50 48 73 82 CA 30 [22:10:22]CommunicateWithHost err = 0 [22:10:22]CheckOFDResponse [22:10:22]1017 (14) - 77093643461234 [22:10:22]1041 (16) - 0000000000965685 [22:10:22]1040 (4) - 12647 [22:10:22]1012 (4) - 21.04.2024 15:57 [22:10:22]1206 (1) - 0 [22:10:22]OFD Sender: Remove packet 12647 [22:10:22]ProducePacketName [22:10:22]name=ofd_packets/00012647 [22:10:22]NVStorageDeleteData [22:10:22]Write to MH i2c: 01 00 00 77 06 7D [22:10:22]Write i2c OK [22:10:22]MH_I2C_Read... [22:10:22]Read from MH i2c: 01 [22:10:22]MH_I2C_Read... [22:10:22]Read from MH i2c: 01 07 00 [22:10:22]MH_I2C_Read... [22:10:22]Read from MH i2c: 01 07 00 77 06 00 00 00 00 00 F6 0C 86 [22:10:22]RasterBufferAndPrint [22:10:22]line [22:10:22]line [22:10:22]line [22:10:22]line [22:10:22]line [22:10:22]written 0, free lines is 3326 [22:10:22]MH_Cut [22:10:22]Write to MH i2c: D1 01 00 7E 06 01 56 [22:10:22]Write i2c OK [22:10:22]MH_I2C_Read... [22:10:22]Read from MH i2c: D1 [22:10:22]MH_I2C_Read... [22:10:22]Read from MH i2c: D1 01 00 [22:10:22]MH_I2C_Read... [22:10:22]Read from MH i2c: D1 01 00 7E 06 00 55 [22:10:22]Write to MH i2c: 01 00 00 7F 06 85 [22:10:22]Write i2c OK [22:10:22]MH_I2C_Read... [22:10:23]OFD Sender: No OFD packet to send [22:10:23]*** Cut start [22:10:23]*** Partial cut [22:10:23]*** CUTSNS_PIN = 1 [22:10:23]*** CUTSNS_PIN = 0 [22:10:23]*** Brake cut motor [22:10:24]Read from MH i2c: 01 [22:10:24]MH_I2C_Read... [22:10:24]*** Stop cut motor [22:10:24]*** Cut end [22:10:24]Read from MH i2c: 01 07 00 [22:10:24]MH_I2C_Read... [22:10:24]Read from MH i2c: 01 07 00 7F 06 00 00 00 00 00 FF 0F 9A [22:10:24]process_action close_receipt done [22:10:24]requested_data is exist [22:10:24]produce_requested_data [22:10:24]requested_item fm.sn is exist - process it [22:10:24]wFMCommunicate request_size=4 [22:10:24]MH_SAM_APDU [22:10:24]CAPDU: 80 11 00 00 [22:10:24]Write to MH i2c: E2 08 00 80 06 80 11 00 00 00 00 00 00 00 [22:10:24]Write i2c OK [22:10:24]MH_I2C_Read... [22:10:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:10:24]Read from MH i2c: E2 [22:10:24]MH_I2C_Read... [22:10:24]Read from MH i2c: E2 17 00 [22:10:24]MH_I2C_Read... [22:10:24]Read from MH i2c: E2 17 00 80 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 5A [22:10:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [22:10:24]wFMCommunicate OK [22:10:24]requested_item fd.num is exist - process it [22:10:24]SAM_PROTO_GetFieldsCounters [22:10:24]wFMCommunicate request_size=4 [22:10:24]MH_SAM_APDU [22:10:24]CAPDU: 80 13 00 00 [22:10:24]Write to MH i2c: E2 08 00 81 06 80 13 00 00 00 00 00 00 03 [22:10:24]Write i2c OK [22:10:24]MH_I2C_Read... [22:10:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:10:24]Read from MH i2c: E2 [22:10:24]MH_I2C_Read... [22:10:24]Read from MH i2c: E2 62 00 [22:10:24]MH_I2C_Read... [22:10:24]Read from MH i2c: E2 62 00 81 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 67 31 00 00 0E 04 04 00 19 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 89 [22:10:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 67 31 00 00 0E 04 04 00 19 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 [22:10:24]wFMCommunicate OK [22:10:24]SAM_PROTO_GetFieldsCounters done [22:10:24]requested_item shift.num is exist - process it [22:10:24]requested_item shift.opened is exist - process it [22:10:24]req_shift_opened [22:10:24]FM_GetShiftState [22:10:24]SAM_PROTO_GetShiftState [22:10:24]wFMCommunicate request_size=4 [22:10:24]MH_SAM_APDU [22:10:24]CAPDU: 80 13 01 00 [22:10:24]Write to MH i2c: E2 08 00 82 06 80 13 01 00 00 00 00 00 05 [22:10:24]Write i2c OK [22:10:24]MH_I2C_Read... [22:10:24]Read from MH i2c: E2 [22:10:24]MH_I2C_Read... [22:10:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:10:24]Read from MH i2c: E2 0E 00 [22:10:24]MH_I2C_Read... [22:10:24]Read from MH i2c: E2 0E 00 82 06 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 5D [22:10:24]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [22:10:24]wFMCommunicate OK [22:10:24]SAM_PROTO_GetShiftState done [22:10:24]FM_GetShiftState done [22:10:24]req_shift_opened done [22:10:24]requested_item shift.open_date is exist - process it [22:10:24]req_shift_open_date [22:10:24]req_shift_open_date done [22:10:24]produce_requested_data done [22:10:24]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12647,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [22:10:24]process_action_free close_receipt [22:10:24]json_value_free [22:10:24]json_value_free done [22:10:24]process_json_proto returns [22:10:24]Send response to host [22:10:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12647,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [22:10:24]free response buf [22:10:24]execute_script done [22:10:24]execute_script returns [22:10:24]free content buf [22:10:24]Sock 9.Close socket [22:10:24]Sock 9.Thread stoped [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:10]accept exits with 7 [22:11:10]New connection [22:11:10]New thread 3066957156 created [22:11:10]Thread 3066813796 joined [22:11:10]Waiting for new connection... [22:11:10] Sock 7.Parse request [22:11:10]Sock 7.Check first char [22:11:10]Sock 7.First char is OK [22:11:10]request: POST /json_proto HTTP/1.0 [22:11:10]Method: POST [22:11:10]URL: /json_proto [22:11:10]Method is POST - this is cgi request [22:11:10]url: /json_proto [22:11:10]query_string will be loaded in cgi processing [22:11:10]execute_cgi json_proto POST (null) [22:11:10]execute_cgi path=json_proto method=POST [22:11:10]POST find Content-Length [22:11:10]Host: 172.17.62.6:8080 [22:11:10]Content-Length: 721 [22:11:10]Content-Type: application/json [22:11:10] [22:11:10]POST finish read [22:11:10]Found Content-Length = 721 [22:11:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale_refund", "base_FD": 12646, "base_FM": "0000000000965685", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32919", "tax_sys" : 0, "items" : [ { "code": "4011100977952", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 55\u0433", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "12646" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:11:10]execute_script... [22:11:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale_refund", "base_FD": 12646, "base_FM": "0000000000965685", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32919", "tax_sys" : 0, "items" : [ { "code": "4011100977952", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 55\u0433", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "12646" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:11:10]POST & json_proto [22:11:10]process_json_proto [22:11:10]json parsed OK: [22:11:10]protocol is kg_v1.0 [22:11:10]action value=close_receipt [22:11:10]process_action close_receipt [22:11:10]cmd_close_receipt [22:11:10]MH_GetDate [22:11:10]Write to MH i2c: F0 00 00 83 06 78 [22:11:10]Write i2c OK [22:11:10]MH_I2C_Read... [22:11:10]Read from MH i2c: F0 [22:11:10]MH_I2C_Read... [22:11:10]Read from MH i2c: F0 09 00 [22:11:10]MH_I2C_Read... [22:11:10]Read from MH i2c: F0 09 00 83 06 00 FF 8E 25 66 61 69 D2 64 99 [22:11:10]GetLastDocTimeStamp 1713737421 [22:11:10]current date 1713737471 [22:11:10]FM_GetShiftState [22:11:10]SAM_PROTO_GetShiftState [22:11:10]wFMCommunicate request_size=4 [22:11:10]MH_SAM_APDU [22:11:10]CAPDU: 80 13 01 00 [22:11:10]Write to MH i2c: E2 08 00 84 06 80 13 01 00 00 00 00 00 07 [22:11:10]Write i2c OK [22:11:10]MH_I2C_Read... [22:11:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:11:10]Read from MH i2c: E2 [22:11:10]MH_I2C_Read... [22:11:10]Read from MH i2c: E2 0E 00 [22:11:10]MH_I2C_Read... [22:11:10]Read from MH i2c: E2 0E 00 84 06 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 5F [22:11:10]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [22:11:10]wFMCommunicate OK [22:11:10]SAM_PROTO_GetShiftState done [22:11:10]FM_GetShiftState done [22:11:10]opened in 1713658727 [22:11:10]opened+sec_in_day 1713745127 [22:11:10]quantity*price = 6000 [22:11:10]sum+1 = 6001 [22:11:10]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 60 21.04.2024 22:11 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФД осн.: 12646 ФМ осн.: 0000000000965685 ФМ: 0000000000965685 ФД: 12648 ФПД: 241259857511417 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T221111&type=2&operation_type=1&fn_number=0000000000965685&fd_number=12648&fm=241259857511417&tin=02508201610067®Number=0000000000100748&sum=6000 12646 [22:11:11]StoreToDocumentArchive [22:11:11]shift 281 fd 12648 [22:11:11]save to /storage/0281/doc_00012648 [22:11:11]save last doc name /storage/0281/doc_00012648 to /storage/kkm_last_doc_name [22:11:11]save OK [22:11:11]Clear old archive folders... [22:11:11]ProcessDocumentItem done err = 0, tmpTLVsize=309 [22:11:11]tlvbuf is 01648320 [22:11:11]SAM_PROTO_ClearQueue [22:11:11]wFMCommunicate request_size=4 [22:11:11]MH_SAM_APDU [22:11:11]CAPDU: 80 09 00 00 [22:11:11]Write to MH i2c: E2 08 00 93 06 80 09 00 00 00 00 00 00 0B [22:11:11]Write i2c OK [22:11:11]MH_I2C_Read... [22:11:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:11:11]Read from MH i2c: E2 [22:11:11]MH_I2C_Read... [22:11:11]Read from MH i2c: E2 03 00 [22:11:11]MH_I2C_Read... [22:11:11]Read from MH i2c: E2 03 00 93 06 00 90 00 0D [22:11:11]RAPDU: 90 00 [22:11:11]wFMCommunicate OK [22:11:11]SAM_PROTO_ClearQueue done [22:11:11]KKMCreateOFDPacket [22:11:11]OFDProtocolAddRootSTLVToBuf [22:11:11]FM_MakeSignedData [22:11:11]FM_MakeSignedData [22:11:11]SAM_PROTO_SignData [22:11:11]wFMCommunicate request_size=4 [22:11:11]MH_SAM_APDU [22:11:11]CAPDU: 80 0D 01 02 [22:11:11]Write to MH i2c: E2 08 00 94 06 80 0D 01 02 00 00 00 00 13 [22:11:11]Write i2c OK [22:11:11]MH_I2C_Read... [22:11:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:11:11]Read from MH i2c: E2 [22:11:11]MH_I2C_Read... [22:11:11]Read from MH i2c: E2 03 00 [22:11:11]MH_I2C_Read... [22:11:11]Read from MH i2c: E2 03 00 94 06 00 90 00 0E [22:11:11]RAPDU: 90 00 [22:11:11]wFMCommunicate OK [22:11:11]wFMCommunicate request_size=255 [22:11:11]MH_SAM_APDU [22:11:11]CAPDU: 80 0D 02 02 FA 03 00 35 01 1E 04 01 00 02 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 FF 8E 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 27 04 04 [22:11:11]Write to MH i2c: E2 02 01 95 06 80 0D 02 02 FA 00 03 00 35 01 1E 04 01 00 02 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 FF 8E 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 27 04 04 00 00 6A [22:11:11]Write i2c OK [22:11:11]MH_I2C_Read... [22:11:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:11:12]Read from MH i2c: E2 [22:11:12]MH_I2C_Read... [22:11:12]Read from MH i2c: E2 03 00 [22:11:12]MH_I2C_Read... [22:11:12]Read from MH i2c: E2 03 00 95 06 00 90 00 0F [22:11:12]RAPDU: 90 00 [22:11:12]wFMCommunicate OK [22:11:12]wFMCommunicate request_size=68 [22:11:12]MH_SAM_APDU [22:11:12]CAPDU: 80 0D 02 02 3F 00 66 31 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 68 31 00 00 35 04 06 00 DB 6C B0 1B 03 F9 [22:11:12]Write to MH i2c: E2 47 00 96 06 80 0D 02 02 3F 00 00 66 31 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 68 31 00 00 35 04 06 00 DB 6C B0 1B 03 F9 00 00 D8 [22:11:12]Write i2c OK [22:11:12]MH_I2C_Read... [22:11:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:11:12]Read from MH i2c: E2 [22:11:12]MH_I2C_Read... [22:11:12]Read from MH i2c: E2 03 00 [22:11:12]MH_I2C_Read... [22:11:12]Read from MH i2c: E2 03 00 96 06 00 90 00 10 [22:11:12]RAPDU: 90 00 [22:11:12]wFMCommunicate OK [22:11:12]wFMCommunicate request_size=4 [22:11:12]MH_SAM_APDU [22:11:12]CAPDU: 80 0D 03 02 [22:11:12]Write to MH i2c: E2 08 00 97 06 80 0D 03 02 00 00 00 00 18 [22:11:12]Write i2c OK [22:11:12]MH_I2C_Read... [22:11:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:11:12]Read from MH i2c: E2 [22:11:12]MH_I2C_Read... [22:11:12]Read from MH i2c: E2 0B 00 [22:11:12]MH_I2C_Read... [22:11:12]Read from MH i2c: E2 0B 00 97 06 00 BD 81 35 CC 0B 45 26 4F 90 00 1D [22:11:12]RAPDU: BD 81 35 CC 0B 45 26 4F 90 00 [22:11:12]wFMCommunicate OK [22:11:12]SAM_PROTO_SignData done [22:11:12]FM_MakeSignedData done [22:11:12]CreateOFDProtocolMessage [22:11:12]wFMCommunicate request_size=4 [22:11:12]MH_SAM_APDU [22:11:12]CAPDU: 80 11 00 00 [22:11:12]Write to MH i2c: E2 08 00 98 06 80 11 00 00 00 00 00 00 18 [22:11:12]Write i2c OK [22:11:12]MH_I2C_Read... [22:11:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:11:12]Read from MH i2c: E2 [22:11:12]MH_I2C_Read... [22:11:12]Read from MH i2c: E2 17 00 [22:11:12]MH_I2C_Read... [22:11:12]Read from MH i2c: E2 17 00 98 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 72 [22:11:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [22:11:12]wFMCommunicate OK [22:11:12]CreateOFDProtocolMessage done [22:11:12]OFDSenderStorePacket 12648 [22:11:12]StoreOFDPacket docnum=12648 [22:11:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 49 01 00 00 77 77 41 01 C2 46 5A 03 01 00 03 00 35 01 1E 04 01 00 02 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 FF 8E 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 27 04 04 00 66 31 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 68 31 00 00 35 04 06 00 DB 6C B0 1B 03 F9 BD 81 35 CC 0B 45 26 4F [22:11:12]CheckFolder [22:11:12]dirname=/storage/ofd_packets [22:11:12]CheckFolder done [22:11:12]ProducePacketName [22:11:12]name=ofd_packets/00012648 [22:11:12]NVStorageSaveData ofd_packets/00012648 [22:11:12]File name is /storage/ofd_packets/00012648 [22:11:12]Write 359 bytes [22:11:12]NVStorageSaveData done [22:11:12]OFDSenderStorePacket done [22:11:12]KKMCreateOFDPacket done [22:11:12]NVStorageSaveData kkm_last_timestamp [22:11:12]File name is /storage/kkm_last_timestamp [22:11:12]Write 4 bytes [22:11:12]NVStorageSaveData done [22:11:12]ExternCall_PrintAddStr [22:11:12]wPrintStart [22:11:12]Write to MH i2c: 01 00 00 99 06 9F [22:11:12]Write i2c OK [22:11:12]MH_I2C_Read... [22:11:12]Read from MH i2c: 01 [22:11:12]MH_I2C_Read... [22:11:12]Read from MH i2c: 01 07 00 [22:11:12]MH_I2C_Read... [22:11:12]Read from MH i2c: 01 07 00 99 06 00 00 00 00 00 FF 0F B4 [22:11:12]RasterBufferAndPrint [22:11:12]line Счет N : (3)32919 [22:11:12]line ИНН: 02508201610067 [22:11:12]line Контрольно-Кассовый Чек [22:11:12]line ВОЗВРАТ ПРОДАЖИ [22:11:12]line Товар: 4011100977952 [22:11:12]line Шок Батончик Твикс 55г [22:11:12]line 1.000 * 60.00 [22:11:12]line = 60.00 [22:11:12]line НДС 12% НСП 1% [22:11:12]line > о реализуемом товаре [22:11:12]line ИТОГО: 60.00 [22:11:12]line НСП 1% : 0.53 [22:11:12]line НДС 12% : 6.37 [22:11:12]line Наличными: 60.00 [22:11:12]line Безнал.: 0.00 [22:11:12]line Место: АЗС № 106 "Партнер Нефть" [22:11:12]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [22:11:12]line СНО: Общий режим [22:11:12]line Чек 60 21.04.2024 22:11 [22:11:12]line Смена: 281 ФФД: 1.0 [22:11:12]line ЗНМ: 0300000004 [22:11:12]line РНМ: 0000000000100748 [22:11:12]line Версия ККМ: 001 [22:11:12]line ФД осн.: 12646 [22:11:12]line ФМ осн.: 0000000000965685 [22:11:12]line ФМ: 0000000000965685 [22:11:12]line ФД: 12648 [22:11:12]line ФПД: 241259857511417 [22:11:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T221111&type=2&operation_type=1&fn_number=0000000000965685&fd_number=12648&fm=241259857511417&tin=02508201610067®Number=0000000000100748&sum=6000 [22:11:12]line 12646 [22:11:12]OFD Sender: Processing packet 12648 [packets to send 7, broken 6] [22:11:12]ProducePacketName [22:11:12]name=ofd_packets/00012648 [22:11:12]OFD Sender: To server: pG, [22:11:12]CommunicateWithHost lk.salyk.kg:30040 [22:11:12]ConnectInit lk.salyk.kg [22:11:12]written 0, free lines is 4095 [22:11:12]Connected sock=10 [22:11:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 49 01 00 00 77 77 41 01 C2 46 5A 03 01 00 03 00 35 01 1E 04 01 00 02 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 FF 8E 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 27 04 04 00 66 31 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 68 31 00 00 35 04 06 00 DB 6C B0 1B 03 F9 BD 81 35 CC 0B 45 26 4F [22:11:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 24 A2 47 00 B5 28 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 68 31 00 00 F4 03 04 00 80 37 25 66 B6 04 01 00 00 EE A2 8D A3 8F 5B 7B 65 [22:11:13]CommunicateWithHost err = 0 [22:11:13]CheckOFDResponse [22:11:13]1017 (14) - 77093643461234 [22:11:13]1041 (16) - 0000000000965685 [22:11:13]1040 (4) - 12648 [22:11:13]1012 (4) - 21.04.2024 15:57 [22:11:13]1206 (1) - 0 [22:11:13]OFD Sender: Remove packet 12648 [22:11:13]ProducePacketName [22:11:13]name=ofd_packets/00012648 [22:11:13]NVStorageDeleteData [22:11:13]Write to MH i2c: 01 00 00 C2 06 C8 [22:11:13]Write i2c OK [22:11:13]MH_I2C_Read... [22:11:13]Read from MH i2c: 01 [22:11:13]MH_I2C_Read... [22:11:13]Read from MH i2c: 01 07 00 [22:11:13]MH_I2C_Read... [22:11:13]Read from MH i2c: 01 07 00 C2 06 00 00 00 00 00 04 0D E0 [22:11:13]RasterBufferAndPrint [22:11:13]line [22:11:13]line [22:11:13]line [22:11:13]line [22:11:13]line [22:11:13]written 0, free lines is 3339 [22:11:13]MH_Cut [22:11:13]Write to MH i2c: D1 01 00 C9 06 01 A1 [22:11:13]Write i2c OK [22:11:13]MH_I2C_Read... [22:11:13]Read from MH i2c: D1 [22:11:13]MH_I2C_Read... [22:11:13]Read from MH i2c: D1 01 00 [22:11:13]MH_I2C_Read... [22:11:13]Read from MH i2c: D1 01 00 C9 06 00 A0 [22:11:13]Write to MH i2c: 01 00 00 CA 06 D0 [22:11:13]Write i2c OK [22:11:13]MH_I2C_Read... [22:11:13]OFD Sender: No OFD packet to send [22:11:13]*** Cut start [22:11:13]*** Partial cut [22:11:13]*** CUTSNS_PIN = 1 [22:11:14]*** CUTSNS_PIN = 0 [22:11:14]*** Brake cut motor [22:11:14]Read from MH i2c: 01 [22:11:14]MH_I2C_Read... [22:11:14]*** Stop cut motor [22:11:14]*** Cut end [22:11:14]Read from MH i2c: 01 07 00 [22:11:14]MH_I2C_Read... [22:11:14]Read from MH i2c: 01 07 00 CA 06 00 00 00 00 00 FF 0F E5 [22:11:14]process_action close_receipt done [22:11:14]requested_data is exist [22:11:14]produce_requested_data [22:11:14]requested_item fm.sn is exist - process it [22:11:14]wFMCommunicate request_size=4 [22:11:14]MH_SAM_APDU [22:11:14]CAPDU: 80 11 00 00 [22:11:14]Write to MH i2c: E2 08 00 CB 06 80 11 00 00 00 00 00 00 4B [22:11:14]Write i2c OK [22:11:14]MH_I2C_Read... [22:11:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:11:14]Read from MH i2c: E2 [22:11:14]MH_I2C_Read... [22:11:14]Read from MH i2c: E2 17 00 [22:11:14]MH_I2C_Read... [22:11:14]Read from MH i2c: E2 17 00 CB 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 A5 [22:11:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [22:11:14]wFMCommunicate OK [22:11:14]requested_item fd.num is exist - process it [22:11:14]SAM_PROTO_GetFieldsCounters [22:11:14]wFMCommunicate request_size=4 [22:11:14]MH_SAM_APDU [22:11:14]CAPDU: 80 13 00 00 [22:11:14]Write to MH i2c: E2 08 00 CC 06 80 13 00 00 00 00 00 00 4E [22:11:14]Write i2c OK [22:11:14]MH_I2C_Read... [22:11:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:11:14]Read from MH i2c: E2 [22:11:14]MH_I2C_Read... [22:11:14]Read from MH i2c: E2 62 00 [22:11:14]MH_I2C_Read... [22:11:14]Read from MH i2c: E2 62 00 CC 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 68 31 00 00 0E 04 04 00 19 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 D8 [22:11:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 68 31 00 00 0E 04 04 00 19 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 [22:11:14]wFMCommunicate OK [22:11:14]SAM_PROTO_GetFieldsCounters done [22:11:14]requested_item shift.num is exist - process it [22:11:14]requested_item shift.opened is exist - process it [22:11:14]req_shift_opened [22:11:14]FM_GetShiftState [22:11:14]SAM_PROTO_GetShiftState [22:11:14]wFMCommunicate request_size=4 [22:11:14]MH_SAM_APDU [22:11:14]CAPDU: 80 13 01 00 [22:11:14]Write to MH i2c: E2 08 00 CD 06 80 13 01 00 00 00 00 00 50 [22:11:14]Write i2c OK [22:11:14]MH_I2C_Read... [22:11:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:11:14]Read from MH i2c: E2 [22:11:14]MH_I2C_Read... [22:11:14]Read from MH i2c: E2 0E 00 [22:11:14]MH_I2C_Read... [22:11:14]Read from MH i2c: E2 0E 00 CD 06 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 A8 [22:11:14]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [22:11:14]wFMCommunicate OK [22:11:14]SAM_PROTO_GetShiftState done [22:11:14]FM_GetShiftState done [22:11:14]req_shift_opened done [22:11:14]requested_item shift.open_date is exist - process it [22:11:14]req_shift_open_date [22:11:14]req_shift_open_date done [22:11:14]produce_requested_data done [22:11:14]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12648,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [22:11:14]process_action_free close_receipt [22:11:14]json_value_free [22:11:14]json_value_free done [22:11:14]process_json_proto returns [22:11:14]Send response to host [22:11:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12648,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [22:11:14]free response buf [22:11:14]execute_script done [22:11:14]execute_script returns [22:11:14]free content buf [22:11:14]Sock 7.Close socket [22:11:14]Sock 7.Thread stoped [22:11:17]accept exits with 9 [22:11:17]New connection [22:11:17]New thread 3066813796 created [22:11:17]Thread 3066957156 joined [22:11:17]Waiting for new connection... [22:11:17] Sock 9.Parse request [22:11:17]Sock 9.Check first char [22:11:17]Sock 9.First char is OK [22:11:17]request: POST /json_proto HTTP/1.0 [22:11:17]Method: POST [22:11:17]URL: /json_proto [22:11:17]Method is POST - this is cgi request [22:11:17]url: /json_proto [22:11:17]query_string will be loaded in cgi processing [22:11:17]execute_cgi json_proto POST (null) [22:11:17]execute_cgi path=json_proto method=POST [22:11:17]POST find Content-Length [22:11:17]Host: 172.17.62.6:8080 [22:11:17]Content-Length: 838 [22:11:17]Content-Type: application/json [22:11:17] [22:11:17]POST finish read [22:11:17]Found Content-Length = 838 [22:11:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32921", "tax_sys" : 0, "items" : [ { "code": "4011100977952", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 55\u0433", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:11:17]execute_script... [22:11:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32921", "tax_sys" : 0, "items" : [ { "code": "4011100977952", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 55\u0433", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:11:17]POST & json_proto [22:11:17]process_json_proto [22:11:17]json parsed OK: [22:11:17]protocol is kg_v1.0 [22:11:17]action value=close_receipt [22:11:17]process_action close_receipt [22:11:17]cmd_close_receipt [22:11:17]MH_GetDate [22:11:17]Write to MH i2c: F0 00 00 CE 06 C3 [22:11:17]Write i2c OK [22:11:17]MH_I2C_Read... [22:11:17]Read from MH i2c: F0 [22:11:17]MH_I2C_Read... [22:11:17]Read from MH i2c: F0 09 00 [22:11:17]MH_I2C_Read... [22:11:17]Read from MH i2c: F0 09 00 CE 06 00 06 8F 25 66 61 69 D2 64 EC [22:11:17]GetLastDocTimeStamp 1713737471 [22:11:17]current date 1713737478 [22:11:17]FM_GetShiftState [22:11:17]SAM_PROTO_GetShiftState [22:11:17]wFMCommunicate request_size=4 [22:11:17]MH_SAM_APDU [22:11:17]CAPDU: 80 13 01 00 [22:11:17]Write to MH i2c: E2 08 00 CF 06 80 13 01 00 00 00 00 00 52 [22:11:17]Write i2c OK [22:11:17]MH_I2C_Read... [22:11:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:11:17]Read from MH i2c: E2 [22:11:17]MH_I2C_Read... [22:11:17]Read from MH i2c: E2 0E 00 [22:11:17]MH_I2C_Read... [22:11:17]Read from MH i2c: E2 0E 00 CF 06 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 AA [22:11:17]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [22:11:17]wFMCommunicate OK [22:11:17]SAM_PROTO_GetShiftState done [22:11:17]FM_GetShiftState done [22:11:17]opened in 1713658727 [22:11:17]opened+sec_in_day 1713745127 [22:11:17]quantity*price = 6000 [22:11:17]sum+1 = 6001 [22:11:17]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 0.00 Безнал.: 60.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 61 21.04.2024 22:11 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000965685 ФД: 12649 ФПД: 54123724053803 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T221118&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12649&fm=54123724053803&tin=02508201610067®Number=0000000000100748&sum=6000 0 [22:11:18]StoreToDocumentArchive [22:11:18]shift 281 fd 12649 [22:11:18]save to /storage/0281/doc_00012649 [22:11:18]save last doc name /storage/0281/doc_00012649 to /storage/kkm_last_doc_name [22:11:18]save OK [22:11:18]Clear old archive folders... [22:11:18]ProcessDocumentItem done err = 0, tmpTLVsize=281 [22:11:18]tlvbuf is 016DA1E0 [22:11:18]SAM_PROTO_ClearQueue [22:11:18]wFMCommunicate request_size=4 [22:11:18]MH_SAM_APDU [22:11:18]CAPDU: 80 09 00 00 [22:11:18]Write to MH i2c: E2 08 00 DC 06 80 09 00 00 00 00 00 00 54 [22:11:18]Write i2c OK [22:11:18]MH_I2C_Read... [22:11:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:11:18]Read from MH i2c: E2 [22:11:18]MH_I2C_Read... [22:11:18]Read from MH i2c: E2 03 00 [22:11:18]MH_I2C_Read... [22:11:18]Read from MH i2c: E2 03 00 DC 06 00 90 00 56 [22:11:18]RAPDU: 90 00 [22:11:18]wFMCommunicate OK [22:11:18]SAM_PROTO_ClearQueue done [22:11:18]KKMCreateOFDPacket [22:11:18]OFDProtocolAddRootSTLVToBuf [22:11:18]FM_MakeSignedData [22:11:18]FM_MakeSignedData [22:11:18]SAM_PROTO_SignData [22:11:18]wFMCommunicate request_size=4 [22:11:18]MH_SAM_APDU [22:11:18]CAPDU: 80 0D 01 02 [22:11:18]Write to MH i2c: E2 08 00 DD 06 80 0D 01 02 00 00 00 00 5C [22:11:18]Write i2c OK [22:11:18]MH_I2C_Read... [22:11:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:11:18]Read from MH i2c: E2 [22:11:18]MH_I2C_Read... [22:11:18]Read from MH i2c: E2 03 00 [22:11:18]MH_I2C_Read... [22:11:18]Read from MH i2c: E2 03 00 DD 06 00 90 00 57 [22:11:18]RAPDU: 90 00 [22:11:18]wFMCommunicate OK [22:11:18]wFMCommunicate request_size=255 [22:11:18]MH_SAM_APDU [22:11:18]CAPDU: 80 0D 02 02 FA 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 06 8F 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 [22:11:18]Write to MH i2c: E2 02 01 DE 06 80 0D 02 02 FA 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 06 8F 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 00 95 [22:11:18]Write i2c OK [22:11:18]MH_I2C_Read... [22:11:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:11:19]Read from MH i2c: E2 [22:11:19]MH_I2C_Read... [22:11:19]Read from MH i2c: E2 03 00 [22:11:19]MH_I2C_Read... [22:11:19]Read from MH i2c: E2 03 00 DE 06 00 90 00 58 [22:11:19]RAPDU: 90 00 [22:11:19]wFMCommunicate OK [22:11:19]wFMCommunicate request_size=40 [22:11:19]MH_SAM_APDU [22:11:19]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 69 31 00 00 35 04 06 00 31 39 A9 58 9D 2B [22:11:19]Write to MH i2c: E2 2B 00 DF 06 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 69 31 00 00 35 04 06 00 31 39 A9 58 9D 2B 00 00 F0 [22:11:19]Write i2c OK [22:11:19]MH_I2C_Read... [22:11:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:11:19]Read from MH i2c: E2 [22:11:19]MH_I2C_Read... [22:11:19]Read from MH i2c: E2 03 00 [22:11:19]MH_I2C_Read... [22:11:19]Read from MH i2c: E2 03 00 DF 06 00 90 00 59 [22:11:19]RAPDU: 90 00 [22:11:19]wFMCommunicate OK [22:11:19]wFMCommunicate request_size=4 [22:11:19]MH_SAM_APDU [22:11:19]CAPDU: 80 0D 03 02 [22:11:19]Write to MH i2c: E2 08 00 E0 06 80 0D 03 02 00 00 00 00 61 [22:11:19]Write i2c OK [22:11:19]MH_I2C_Read... [22:11:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:11:19]Read from MH i2c: E2 [22:11:19]MH_I2C_Read... [22:11:19]Read from MH i2c: E2 0B 00 [22:11:19]MH_I2C_Read... [22:11:19]Read from MH i2c: E2 0B 00 E0 06 00 A6 F6 EE 73 45 43 3A 89 90 00 AA [22:11:19]RAPDU: A6 F6 EE 73 45 43 3A 89 90 00 [22:11:19]wFMCommunicate OK [22:11:19]SAM_PROTO_SignData done [22:11:19]FM_MakeSignedData done [22:11:19]CreateOFDProtocolMessage [22:11:19]wFMCommunicate request_size=4 [22:11:19]MH_SAM_APDU [22:11:19]CAPDU: 80 11 00 00 [22:11:19]Write to MH i2c: E2 08 00 E1 06 80 11 00 00 00 00 00 00 61 [22:11:19]Write i2c OK [22:11:19]MH_I2C_Read... [22:11:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:11:19]Read from MH i2c: E2 [22:11:19]MH_I2C_Read... [22:11:19]Read from MH i2c: E2 17 00 [22:11:19]MH_I2C_Read... [22:11:19]Read from MH i2c: E2 17 00 E1 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 BB [22:11:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [22:11:19]wFMCommunicate OK [22:11:19]CreateOFDProtocolMessage done [22:11:19]OFDSenderStorePacket 12649 [22:11:19]StoreOFDPacket docnum=12649 [22:11:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2D 01 00 00 6A C2 25 01 61 C5 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 06 8F 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 69 31 00 00 35 04 06 00 31 39 A9 58 9D 2B A6 F6 EE 73 45 43 3A 89 [22:11:19]CheckFolder [22:11:19]dirname=/storage/ofd_packets [22:11:19]CheckFolder done [22:11:19]ProducePacketName [22:11:19]name=ofd_packets/00012649 [22:11:19]NVStorageSaveData ofd_packets/00012649 [22:11:19]File name is /storage/ofd_packets/00012649 [22:11:19]Write 331 bytes [22:11:19]NVStorageSaveData done [22:11:19]OFDSenderStorePacket done [22:11:19]KKMCreateOFDPacket done [22:11:19]NVStorageSaveData kkm_last_timestamp [22:11:19]File name is /storage/kkm_last_timestamp [22:11:19]Write 4 bytes [22:11:19]NVStorageSaveData done [22:11:19]ExternCall_PrintAddStr [22:11:19]wPrintStart [22:11:19]Write to MH i2c: 01 00 00 E2 06 E8 [22:11:19]Write i2c OK [22:11:19]MH_I2C_Read... [22:11:19]Read from MH i2c: 01 [22:11:19]MH_I2C_Read... [22:11:19]Read from MH i2c: 01 07 00 [22:11:19]MH_I2C_Read... [22:11:19]Read from MH i2c: 01 07 00 E2 06 00 00 00 00 00 FF 0F FD [22:11:19]RasterBufferAndPrint [22:11:19]line Счет N : (3)32921 [22:11:19]line ИНН: 02508201610067 [22:11:19]line Контрольно-Кассовый Чек [22:11:19]line ПРОДАЖА [22:11:19]line Товар: 4011100977952 [22:11:19]line Шок Батончик Твикс 55г [22:11:19]line 1.000 * 60.00 [22:11:19]line = 60.00 [22:11:19]line НДС 12% НСП 1% [22:11:19]line > о реализуемом товаре [22:11:19]line ИТОГО: 60.00 [22:11:19]line НСП 1% : 0.53 [22:11:19]line НДС 12% : 6.37 [22:11:19]line Наличными: 0.00 [22:11:19]line Безнал.: 60.00 [22:11:19]line Место: АЗС № 106 "Партнер Нефть" [22:11:19]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [22:11:19]line СНО: Общий режим [22:11:19]line Чек 61 21.04.2024 22:11 [22:11:19]line Смена: 281 ФФД: 1.0 [22:11:19]line ЗНМ: 0300000004 [22:11:19]line РНМ: 0000000000100748 [22:11:19]line Версия ККМ: 001 [22:11:19]line Платежная система: Бакай Банк [22:11:19]line ФМ: 0000000000965685 [22:11:19]line ФД: 12649 [22:11:19]line ФПД: 54123724053803 [22:11:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T221118&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12649&fm=54123724053803&tin=02508201610067®Number=0000000000100748&sum=6000 [22:11:19]line 0 [22:11:19]written 0, free lines is 4095 [22:11:19]OFD Sender: Processing packet 12649 [packets to send 7, broken 6] [22:11:19]ProducePacketName [22:11:19]name=ofd_packets/00012649 [22:11:19]OFD Sender: To server: pG, [22:11:19]CommunicateWithHost lk.salyk.kg:30040 [22:11:19]ConnectInit lk.salyk.kg [22:11:19]Connected sock=10 [22:11:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2D 01 00 00 6A C2 25 01 61 C5 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 06 8F 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 69 31 00 00 35 04 06 00 31 39 A9 58 9D 2B A6 F6 EE 73 45 43 3A 89 [22:11:19]Write to MH i2c: 01 00 00 0B 07 12 [22:11:19]Write i2c OK [22:11:19]MH_I2C_Read... [22:11:19]Read from MH i2c: 01 [22:11:19]MH_I2C_Read... [22:11:19]Read from MH i2c: 01 07 00 [22:11:19]MH_I2C_Read... [22:11:19]Read from MH i2c: 01 07 00 0B 07 00 00 00 00 00 0E 0D 34 [22:11:19]RasterBufferAndPrint [22:11:19]line [22:11:19]line [22:11:19]line [22:11:19]line [22:11:19]line [22:11:19]written 0, free lines is 3354 [22:11:19]MH_Cut [22:11:19]Write to MH i2c: D1 01 00 12 07 01 EB [22:11:19]Write i2c OK [22:11:19]MH_I2C_Read... [22:11:19]Read from MH i2c: D1 [22:11:19]MH_I2C_Read... [22:11:19]Read from MH i2c: D1 01 00 [22:11:19]MH_I2C_Read... [22:11:19]Read from MH i2c: D1 01 00 12 07 00 EA [22:11:19]Write to MH i2c: 01 00 00 13 07 1A [22:11:19]Write i2c OK [22:11:19]MH_I2C_Read... [22:11:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 D2 BA 47 00 CD CD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 69 31 00 00 F4 03 04 00 86 37 25 66 B6 04 01 00 00 76 ED 9B 0B 01 C4 35 6A [22:11:19]CommunicateWithHost err = 0 [22:11:19]CheckOFDResponse [22:11:19]1017 (14) - 77093643461234 [22:11:19]1041 (16) - 0000000000965685 [22:11:19]1040 (4) - 12649 [22:11:19]1012 (4) - 21.04.2024 15:57 [22:11:19]1206 (1) - 0 [22:11:19]OFD Sender: Remove packet 12649 [22:11:19]ProducePacketName [22:11:19]name=ofd_packets/00012649 [22:11:19]NVStorageDeleteData [22:11:20]OFD Sender: No OFD packet to send [22:11:20]*** Cut start [22:11:20]*** Partial cut [22:11:20]*** CUTSNS_PIN = 1 [22:11:20]*** CUTSNS_PIN = 0 [22:11:20]*** Brake cut motor [22:11:21]Read from MH i2c: 01 [22:11:21]MH_I2C_Read... [22:11:21]*** Stop cut motor [22:11:21]*** Cut end [22:11:21]Read from MH i2c: 01 07 00 [22:11:21]MH_I2C_Read... [22:11:21]Read from MH i2c: 01 07 00 13 07 00 00 00 00 00 FF 0F 2F [22:11:21]process_action close_receipt done [22:11:21]requested_data is exist [22:11:21]produce_requested_data [22:11:21]requested_item fm.sn is exist - process it [22:11:21]wFMCommunicate request_size=4 [22:11:21]MH_SAM_APDU [22:11:21]CAPDU: 80 11 00 00 [22:11:21]Write to MH i2c: E2 08 00 14 07 80 11 00 00 00 00 00 00 95 [22:11:21]Write i2c OK [22:11:21]MH_I2C_Read... [22:11:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:11:21]Read from MH i2c: E2 [22:11:21]MH_I2C_Read... [22:11:21]Read from MH i2c: E2 17 00 [22:11:21]MH_I2C_Read... [22:11:21]Read from MH i2c: E2 17 00 14 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 EF [22:11:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [22:11:21]wFMCommunicate OK [22:11:21]requested_item fd.num is exist - process it [22:11:21]SAM_PROTO_GetFieldsCounters [22:11:21]wFMCommunicate request_size=4 [22:11:21]MH_SAM_APDU [22:11:21]CAPDU: 80 13 00 00 [22:11:21]Write to MH i2c: E2 08 00 15 07 80 13 00 00 00 00 00 00 98 [22:11:21]Write i2c OK [22:11:21]MH_I2C_Read... [22:11:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:11:21]Read from MH i2c: E2 [22:11:21]MH_I2C_Read... [22:11:21]Read from MH i2c: E2 62 00 [22:11:21]MH_I2C_Read... [22:11:21]Read from MH i2c: E2 62 00 15 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 69 31 00 00 0E 04 04 00 19 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 26 [22:11:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 69 31 00 00 0E 04 04 00 19 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 [22:11:21]wFMCommunicate OK [22:11:21]SAM_PROTO_GetFieldsCounters done [22:11:21]requested_item shift.num is exist - process it [22:11:21]requested_item shift.opened is exist - process it [22:11:21]req_shift_opened [22:11:21]FM_GetShiftState [22:11:21]SAM_PROTO_GetShiftState [22:11:21]wFMCommunicate request_size=4 [22:11:21]MH_SAM_APDU [22:11:21]CAPDU: 80 13 01 00 [22:11:21]Write to MH i2c: E2 08 00 16 07 80 13 01 00 00 00 00 00 9A [22:11:21]Write i2c OK [22:11:21]MH_I2C_Read... [22:11:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:11:21]Read from MH i2c: E2 [22:11:21]MH_I2C_Read... [22:11:21]Read from MH i2c: E2 0E 00 [22:11:21]MH_I2C_Read... [22:11:21]Read from MH i2c: E2 0E 00 16 07 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 F2 [22:11:21]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [22:11:21]wFMCommunicate OK [22:11:21]SAM_PROTO_GetShiftState done [22:11:21]FM_GetShiftState done [22:11:21]req_shift_opened done [22:11:21]requested_item shift.open_date is exist - process it [22:11:21]req_shift_open_date [22:11:21]req_shift_open_date done [22:11:21]produce_requested_data done [22:11:21]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12649,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [22:11:21]process_action_free close_receipt [22:11:21]json_value_free [22:11:21]json_value_free done [22:11:21]process_json_proto returns [22:11:21]Send response to host [22:11:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12649,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [22:11:21]free response buf [22:11:21]execute_script done [22:11:21]execute_script returns [22:11:21]free content buf [22:11:21]Sock 9.Close socket [22:11:21]Sock 9.Thread stoped [22:11:25]OFD Sender: No OFD packet to send [22:11:30]OFD Sender: No OFD packet to send [22:11:35]OFD Sender: No OFD packet to send [22:11:40]OFD Sender: No OFD packet to send [22:11:45]OFD Sender: No OFD packet to send [22:11:50]OFD Sender: No OFD packet to send [22:11:55]OFD Sender: No OFD packet to send [22:12:00]OFD Sender: No OFD packet to send [22:12:05]OFD Sender: No OFD packet to send [22:12:10]OFD Sender: No OFD packet to send [22:12:15]OFD Sender: No OFD packet to send [22:12:20]OFD Sender: No OFD packet to send [22:12:25]OFD Sender: No OFD packet to send [22:12:30]OFD Sender: No OFD packet to send [22:12:35]OFD Sender: No OFD packet to send [22:12:40]OFD Sender: No OFD packet to send [22:12:45]OFD Sender: No OFD packet to send [22:12:50]OFD Sender: No OFD packet to send [22:12:55]OFD Sender: No OFD packet to send [22:13:00]OFD Sender: No OFD packet to send [22:13:05]OFD Sender: No OFD packet to send [22:13:10]OFD Sender: No OFD packet to send [22:13:15]OFD Sender: No OFD packet to send [22:13:20]OFD Sender: No OFD packet to send [22:13:25]OFD Sender: No OFD packet to send [22:13:30]OFD Sender: No OFD packet to send [22:13:35]OFD Sender: No OFD packet to send [22:13:40]OFD Sender: No OFD packet to send [22:13:45]OFD Sender: No OFD packet to send [22:13:50]OFD Sender: No OFD packet to send [22:13:55]OFD Sender: No OFD packet to send [22:14:00]OFD Sender: No OFD packet to send [22:14:05]OFD Sender: No OFD packet to send [22:14:10]OFD Sender: No OFD packet to send [22:14:15]OFD Sender: No OFD packet to send [22:14:20]OFD Sender: No OFD packet to send [22:14:25]OFD Sender: No OFD packet to send [22:14:30]OFD Sender: No OFD packet to send [22:14:35]OFD Sender: No OFD packet to send [22:14:40]OFD Sender: No OFD packet to send [22:14:45]OFD Sender: No OFD packet to send [22:14:50]OFD Sender: No OFD packet to send [22:14:55]OFD Sender: No OFD packet to send [22:15:00]OFD Sender: No OFD packet to send [22:15:05]OFD Sender: No OFD packet to send [22:15:10]OFD Sender: No OFD packet to send [22:15:15]OFD Sender: No OFD packet to send [22:15:20]OFD Sender: No OFD packet to send [22:15:25]OFD Sender: No OFD packet to send [22:15:30]OFD Sender: No OFD packet to send [22:15:35]OFD Sender: No OFD packet to send [22:15:40]OFD Sender: No OFD packet to send [22:15:45]OFD Sender: No OFD packet to send [22:15:50]OFD Sender: No OFD packet to send [22:15:55]OFD Sender: No OFD packet to send [22:16:00]OFD Sender: No OFD packet to send [22:16:05]OFD Sender: No OFD packet to send [22:16:10]OFD Sender: No OFD packet to send [22:16:15]OFD Sender: No OFD packet to send [22:16:20]OFD Sender: No OFD packet to send [22:16:25]OFD Sender: No OFD packet to send [22:16:30]OFD Sender: No OFD packet to send [22:16:35]OFD Sender: No OFD packet to send [22:16:40]OFD Sender: No OFD packet to send [22:16:45]OFD Sender: No OFD packet to send [22:16:50]OFD Sender: No OFD packet to send [22:16:55]OFD Sender: No OFD packet to send [22:17:00]OFD Sender: No OFD packet to send [22:17:05]OFD Sender: No OFD packet to send [22:17:10]OFD Sender: No OFD packet to send [22:17:15]OFD Sender: No OFD packet to send [22:17:20]OFD Sender: No OFD packet to send [22:17:25]OFD Sender: No OFD packet to send [22:17:30]OFD Sender: No OFD packet to send [22:17:35]OFD Sender: No OFD packet to send [22:17:40]OFD Sender: No OFD packet to send [22:17:45]OFD Sender: No OFD packet to send [22:17:50]OFD Sender: No OFD packet to send [22:17:55]OFD Sender: No OFD packet to send [22:18:00]OFD Sender: No OFD packet to send [22:18:05]OFD Sender: No OFD packet to send [22:18:10]OFD Sender: No OFD packet to send [22:18:15]OFD Sender: No OFD packet to send [22:18:20]OFD Sender: No OFD packet to send [22:18:25]OFD Sender: No OFD packet to send [22:18:30]OFD Sender: No OFD packet to send [22:18:35]OFD Sender: No OFD packet to send [22:18:40]OFD Sender: No OFD packet to send [22:18:45]OFD Sender: No OFD packet to send [22:18:50]OFD Sender: No OFD packet to send [22:18:55]OFD Sender: No OFD packet to send [22:19:00]OFD Sender: No OFD packet to send [22:19:05]OFD Sender: No OFD packet to send [22:19:10]OFD Sender: No OFD packet to send [22:19:15]OFD Sender: No OFD packet to send [22:19:20]OFD Sender: No OFD packet to send [22:19:25]OFD Sender: No OFD packet to send [22:19:30]OFD Sender: No OFD packet to send [22:19:35]OFD Sender: No OFD packet to send [22:19:40]OFD Sender: No OFD packet to send [22:19:45]OFD Sender: No OFD packet to send [22:19:50]OFD Sender: No OFD packet to send [22:19:55]OFD Sender: No OFD packet to send [22:20:00]OFD Sender: No OFD packet to send [22:20:05]OFD Sender: No OFD packet to send [22:20:10]OFD Sender: No OFD packet to send [22:20:15]OFD Sender: No OFD packet to send [22:20:20]OFD Sender: No OFD packet to send [22:20:25]OFD Sender: No OFD packet to send [22:20:30]OFD Sender: No OFD packet to send [22:20:35]OFD Sender: No OFD packet to send [22:20:40]OFD Sender: No OFD packet to send [22:20:45]OFD Sender: No OFD packet to send [22:20:50]OFD Sender: No OFD packet to send [22:20:55]OFD Sender: No OFD packet to send [22:21:00]OFD Sender: No OFD packet to send [22:21:05]OFD Sender: No OFD packet to send [22:21:10]OFD Sender: No OFD packet to send [22:21:15]OFD Sender: No OFD packet to send [22:21:20]OFD Sender: No OFD packet to send [22:21:25]OFD Sender: No OFD packet to send [22:21:30]OFD Sender: No OFD packet to send [22:21:35]OFD Sender: No OFD packet to send [22:21:40]OFD Sender: No OFD packet to send [22:21:45]OFD Sender: No OFD packet to send [22:21:50]OFD Sender: No OFD packet to send [22:21:55]OFD Sender: No OFD packet to send [22:22:00]OFD Sender: No OFD packet to send [22:22:05]OFD Sender: No OFD packet to send [22:22:10]OFD Sender: No OFD packet to send [22:22:15]OFD Sender: No OFD packet to send [22:22:20]OFD Sender: No OFD packet to send [22:22:25]OFD Sender: No OFD packet to send [22:22:30]OFD Sender: No OFD packet to send [22:22:35]OFD Sender: No OFD packet to send [22:22:40]OFD Sender: No OFD packet to send [22:22:45]OFD Sender: No OFD packet to send [22:22:50]OFD Sender: No OFD packet to send [22:22:55]OFD Sender: No OFD packet to send [22:23:00]OFD Sender: No OFD packet to send [22:23:05]OFD Sender: No OFD packet to send [22:23:10]OFD Sender: No OFD packet to send [22:23:15]OFD Sender: No OFD packet to send [22:23:20]OFD Sender: No OFD packet to send [22:23:25]OFD Sender: No OFD packet to send [22:23:30]OFD Sender: No OFD packet to send [22:23:35]OFD Sender: No OFD packet to send [22:23:40]OFD Sender: No OFD packet to send [22:23:45]OFD Sender: No OFD packet to send [22:23:50]OFD Sender: No OFD packet to send [22:23:55]OFD Sender: No OFD packet to send [22:24:00]OFD Sender: No OFD packet to send [22:24:05]OFD Sender: No OFD packet to send [22:24:10]OFD Sender: No OFD packet to send [22:24:15]OFD Sender: No OFD packet to send [22:24:20]OFD Sender: No OFD packet to send [22:24:25]OFD Sender: No OFD packet to send [22:24:30]OFD Sender: No OFD packet to send [22:24:35]OFD Sender: No OFD packet to send [22:24:40]OFD Sender: No OFD packet to send [22:24:45]OFD Sender: No OFD packet to send [22:24:50]OFD Sender: No OFD packet to send [22:24:55]OFD Sender: No OFD packet to send [22:25:00]OFD Sender: No OFD packet to send [22:25:05]OFD Sender: No OFD packet to send [22:25:10]OFD Sender: No OFD packet to send [22:25:15]OFD Sender: No OFD packet to send [22:25:20]OFD Sender: No OFD packet to send [22:25:25]OFD Sender: No OFD packet to send [22:25:30]OFD Sender: No OFD packet to send [22:25:35]OFD Sender: No OFD packet to send [22:25:40]OFD Sender: No OFD packet to send [22:25:45]OFD Sender: No OFD packet to send [22:25:50]OFD Sender: No OFD packet to send [22:25:55]OFD Sender: No OFD packet to send [22:26:00]OFD Sender: No OFD packet to send [22:26:05]OFD Sender: No OFD packet to send [22:26:10]OFD Sender: No OFD packet to send [22:26:15]OFD Sender: No OFD packet to send [22:26:20]OFD Sender: No OFD packet to send [22:26:25]OFD Sender: No OFD packet to send [22:26:30]OFD Sender: No OFD packet to send [22:26:35]OFD Sender: No OFD packet to send [22:26:40]accept exits with 7 [22:26:40]New connection [22:26:40]New thread 3066957156 created [22:26:40]Thread 3066813796 joined [22:26:40]Waiting for new connection... [22:26:40] Sock 7.Parse request [22:26:40]Sock 7.Check first char [22:26:40]Sock 7.First char is OK [22:26:40]request: POST /json_proto HTTP/1.0 [22:26:40]Method: POST [22:26:40]URL: /json_proto [22:26:40]Method is POST - this is cgi request [22:26:40]url: /json_proto [22:26:40]query_string will be loaded in cgi processing [22:26:40]execute_cgi json_proto POST (null) [22:26:40]execute_cgi path=json_proto method=POST [22:26:40]POST find Content-Length [22:26:40]Host: 172.17.62.6:8080 [22:26:40]Content-Length: 1386 [22:26:40]Content-Type: application/json [22:26:40] [22:26:40]POST finish read [22:26:40]Found Content-Length = 1386 [22:26:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32922", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 2.000, "sum" : 276.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160051", "name": "\u0412\u043E\u0434\u0430 \u042B\u0441\u0441\u044B\u043A \u0410\u0442\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 496.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:26:40]execute_script... [22:26:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32922", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 2.000, "sum" : 276.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160051", "name": "\u0412\u043E\u0434\u0430 \u042B\u0441\u0441\u044B\u043A \u0410\u0442\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 496.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:26:40]POST & json_proto [22:26:40]process_json_proto [22:26:40]json parsed OK: [22:26:40]protocol is kg_v1.0 [22:26:40]action value=close_receipt [22:26:40]process_action close_receipt [22:26:40]cmd_close_receipt [22:26:40]MH_GetDate [22:26:40]Write to MH i2c: F0 00 00 17 07 0D [22:26:40]Write i2c OK [22:26:40]MH_I2C_Read... [22:26:40]Read from MH i2c: F0 [22:26:40]MH_I2C_Read... [22:26:40]Read from MH i2c: F0 09 00 [22:26:40]MH_I2C_Read... [22:26:40]Read from MH i2c: F0 09 00 17 07 00 A2 92 25 66 61 69 D2 64 D5 [22:26:40]GetLastDocTimeStamp 1713737478 [22:26:40]current date 1713738402 [22:26:40]FM_GetShiftState [22:26:40]SAM_PROTO_GetShiftState [22:26:40]wFMCommunicate request_size=4 [22:26:40]MH_SAM_APDU [22:26:40]CAPDU: 80 13 01 00 [22:26:40]Write to MH i2c: E2 08 00 18 07 80 13 01 00 00 00 00 00 9C [22:26:40]Write i2c OK [22:26:40]MH_I2C_Read... [22:26:40]OFD Sender: No OFD packet to send [22:26:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:26:40]Read from MH i2c: E2 [22:26:40]MH_I2C_Read... [22:26:40]Read from MH i2c: E2 0E 00 [22:26:40]MH_I2C_Read... [22:26:40]Read from MH i2c: E2 0E 00 18 07 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 F4 [22:26:40]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [22:26:40]wFMCommunicate OK [22:26:40]SAM_PROTO_GetShiftState done [22:26:40]FM_GetShiftState done [22:26:41]opened in 1713658727 [22:26:41]opened+sec_in_day 1713745127 [22:26:41]quantity*price = 13000 [22:26:41]sum+1 = 13001 [22:26:41]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4640030091645 Сигареты ESSE Exchange M 2.000 * 138.00 = 276.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160211 Вода Легенда 0,5л 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160051 Вода Ыссык Ата 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 496.00 НСП 1% : 4.38 НДС 12% : 52.67 Наличными: 496.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 62 21.04.2024 22:26 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12650 ФПД: 81464568098636 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T222642&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12650&fm=81464568098636&tin=02508201610067®Number=0000000000100748&sum=49600 0 [22:26:42]StoreToDocumentArchive [22:26:42]shift 281 fd 12650 [22:26:42]save to /storage/0281/doc_00012650 [22:26:42]save last doc name /storage/0281/doc_00012650 to /storage/kkm_last_doc_name [22:26:42]save OK [22:26:42]Clear old archive folders... [22:26:42]ProcessDocumentItem done err = 0, tmpTLVsize=589 [22:26:42]tlvbuf is 01649AC0 [22:26:42]SAM_PROTO_ClearQueue [22:26:42]wFMCommunicate request_size=4 [22:26:42]MH_SAM_APDU [22:26:42]CAPDU: 80 09 00 00 [22:26:42]Write to MH i2c: E2 08 00 25 07 80 09 00 00 00 00 00 00 9E [22:26:42]Write i2c OK [22:26:42]MH_I2C_Read... [22:26:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:26:42]Read from MH i2c: E2 [22:26:42]MH_I2C_Read... [22:26:42]Read from MH i2c: E2 03 00 [22:26:42]MH_I2C_Read... [22:26:42]Read from MH i2c: E2 03 00 25 07 00 90 00 A0 [22:26:42]RAPDU: 90 00 [22:26:42]wFMCommunicate OK [22:26:42]SAM_PROTO_ClearQueue done [22:26:42]KKMCreateOFDPacket [22:26:42]OFDProtocolAddRootSTLVToBuf [22:26:42]FM_MakeSignedData [22:26:42]FM_MakeSignedData [22:26:42]SAM_PROTO_SignData [22:26:42]wFMCommunicate request_size=4 [22:26:42]MH_SAM_APDU [22:26:42]CAPDU: 80 0D 01 02 [22:26:42]Write to MH i2c: E2 08 00 26 07 80 0D 01 02 00 00 00 00 A6 [22:26:42]Write i2c OK [22:26:42]MH_I2C_Read... [22:26:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:26:42]Read from MH i2c: E2 [22:26:42]MH_I2C_Read... [22:26:42]Read from MH i2c: E2 03 00 [22:26:42]MH_I2C_Read... [22:26:42]Read from MH i2c: E2 03 00 26 07 00 90 00 A1 [22:26:42]RAPDU: 90 00 [22:26:42]wFMCommunicate OK [22:26:42]wFMCommunicate request_size=255 [22:26:42]MH_SAM_APDU [22:26:42]CAPDU: 80 0D 02 02 FA 03 00 4D 02 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 [22:26:42]Write to MH i2c: E2 02 01 27 07 80 0D 02 02 FA 00 03 00 4D 02 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 00 00 E7 [22:26:42]Write i2c OK [22:26:42]MH_I2C_Read... [22:26:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:26:42]Read from MH i2c: E2 [22:26:42]MH_I2C_Read... [22:26:42]Read from MH i2c: E2 03 00 [22:26:42]MH_I2C_Read... [22:26:42]Read from MH i2c: E2 03 00 27 07 00 90 00 A2 [22:26:42]RAPDU: 90 00 [22:26:42]wFMCommunicate OK [22:26:42]wFMCommunicate request_size=255 [22:26:42]MH_SAM_APDU [22:26:42]CAPDU: 80 0D 02 02 FA D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 C1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 93 14 00 00 00 00 07 04 06 00 C0 C1 00 00 00 00 39 04 06 00 00 00 00 00 00 00 [22:26:42]Write to MH i2c: E2 02 01 28 07 80 0D 02 02 FA 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 C1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 93 14 00 00 00 00 07 04 06 00 C0 C1 00 00 00 00 39 04 06 00 00 00 00 00 00 00 00 00 F7 [22:26:42]Write i2c OK [22:26:42]MH_I2C_Read... [22:26:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:26:43]Read from MH i2c: E2 [22:26:43]MH_I2C_Read... [22:26:43]Read from MH i2c: E2 03 00 [22:26:43]MH_I2C_Read... [22:26:43]Read from MH i2c: E2 03 00 28 07 00 90 00 A3 [22:26:43]RAPDU: 90 00 [22:26:43]wFMCommunicate OK [22:26:43]wFMCommunicate request_size=98 [22:26:43]MH_SAM_APDU [22:26:43]CAPDU: 80 0D 02 02 5D 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 A2 92 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 6A 31 00 00 35 04 06 00 4A 17 72 A4 AF 4C [22:26:43]Write to MH i2c: E2 65 00 29 07 80 0D 02 02 5D 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 A2 92 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 6A 31 00 00 35 04 06 00 4A 17 72 A4 AF 4C 00 00 70 [22:26:43]Write i2c OK [22:26:43]MH_I2C_Read... [22:26:43]Read from MH i2c: E2 [22:26:43]MH_I2C_Read... [22:26:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:26:43]Read from MH i2c: E2 03 00 [22:26:43]MH_I2C_Read... [22:26:43]Read from MH i2c: E2 03 00 29 07 00 90 00 A4 [22:26:43]RAPDU: 90 00 [22:26:43]wFMCommunicate OK [22:26:43]wFMCommunicate request_size=4 [22:26:43]MH_SAM_APDU [22:26:43]CAPDU: 80 0D 03 02 [22:26:43]Write to MH i2c: E2 08 00 2A 07 80 0D 03 02 00 00 00 00 AC [22:26:43]Write i2c OK [22:26:43]MH_I2C_Read... [22:26:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:26:43]Read from MH i2c: E2 [22:26:43]MH_I2C_Read... [22:26:43]Read from MH i2c: E2 0B 00 [22:26:43]MH_I2C_Read... [22:26:43]Read from MH i2c: E2 0B 00 2A 07 00 EF 0D 89 39 34 FF 6A C2 90 00 CA [22:26:43]RAPDU: EF 0D 89 39 34 FF 6A C2 90 00 [22:26:43]wFMCommunicate OK [22:26:43]SAM_PROTO_SignData done [22:26:43]FM_MakeSignedData done [22:26:43]CreateOFDProtocolMessage [22:26:43]wFMCommunicate request_size=4 [22:26:43]MH_SAM_APDU [22:26:43]CAPDU: 80 11 00 00 [22:26:43]Write to MH i2c: E2 08 00 2B 07 80 11 00 00 00 00 00 00 AC [22:26:43]Write i2c OK [22:26:43]MH_I2C_Read... [22:26:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:26:43]Read from MH i2c: E2 [22:26:43]MH_I2C_Read... [22:26:43]Read from MH i2c: E2 17 00 [22:26:43]MH_I2C_Read... [22:26:43]Read from MH i2c: E2 17 00 2B 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 06 [22:26:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [22:26:43]wFMCommunicate OK [22:26:43]CreateOFDProtocolMessage done [22:26:43]OFDSenderStorePacket 12650 [22:26:43]StoreOFDPacket docnum=12650 [22:26:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 61 02 00 00 35 22 59 02 47 B8 5A 03 01 00 03 00 4D 02 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 C1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 93 14 00 00 00 00 07 04 06 00 C0 C1 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 A2 92 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 6A 31 00 00 35 04 06 00 4A 17 72 A4 AF 4C EF 0D 89 39 34 FF 6A C2 [22:26:43]CheckFolder [22:26:43]dirname=/storage/ofd_packets [22:26:43]CheckFolder done [22:26:43]ProducePacketName [22:26:43]name=ofd_packets/00012650 [22:26:43]NVStorageSaveData ofd_packets/00012650 [22:26:43]File name is /storage/ofd_packets/00012650 [22:26:43]Write 639 bytes [22:26:43]NVStorageSaveData done [22:26:43]OFDSenderStorePacket done [22:26:43]KKMCreateOFDPacket done [22:26:43]NVStorageSaveData kkm_last_timestamp [22:26:43]File name is /storage/kkm_last_timestamp [22:26:43]Write 4 bytes [22:26:43]NVStorageSaveData done [22:26:43]ExternCall_PrintAddStr [22:26:43]wPrintStart [22:26:43]Write to MH i2c: 01 00 00 2C 07 33 [22:26:43]Write i2c OK [22:26:43]MH_I2C_Read... [22:26:43]Read from MH i2c: 01 [22:26:43]MH_I2C_Read... [22:26:43]Read from MH i2c: 01 07 00 [22:26:43]MH_I2C_Read... [22:26:43]Read from MH i2c: 01 07 00 2C 07 00 00 00 00 00 FF 0F 48 [22:26:43]RasterBufferAndPrint [22:26:43]line Счет N : (3)32922 [22:26:43]line ИНН: 02508201610067 [22:26:43]line Контрольно-Кассовый Чек [22:26:43]line ПРОДАЖА [22:26:43]line Товар: 2000036220012 [22:26:43]line Кофе Капучино XL(GABB TRADE) [22:26:43]line 1.000 * 130.00 [22:26:43]line = 130.00 [22:26:43]line НДС 12% НСП 1% [22:26:43]line > о реализуемом товаре [22:26:43]line Товар: 4640030091645 [22:26:43]line Сигареты ESSE Exchange M [22:26:43]line 2.000 * 138.00 [22:26:43]line = 276.00 [22:26:43]line НДС 12% НСП 1% [22:26:43]line > о реализуемом товаре [22:26:43]line Товар: 4700000160211 [22:26:43]line Вода Легенда 0,5л [22:26:43]line 1.000 * 40.00 [22:26:43]line = 40.00 [22:26:43]line НДС 12% НСП 1% [22:26:43]line > о реализуемом товаре [22:26:43]line Товар: 4700000160051 [22:26:43]line Вода Ыссык Ата 1л [22:26:43]line 1.000 * 50.00 [22:26:43]line = 50.00 [22:26:43]line НДС 12% НСП 1% [22:26:43]line > о реализуемом товаре [22:26:43]line ИТОГО: 496.00 [22:26:43]line НСП 1% : 4.38 [22:26:43]line НДС 12% : 52.67 [22:26:43]line Наличными: 496.00 [22:26:43]line Безнал.: 0.00 [22:26:43]line Место: АЗС № 106 "Партнер Нефть" [22:26:43]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [22:26:43]line СНО: Общий режим [22:26:43]line Чек 62 21.04.2024 22:26 [22:26:43]line Смена: 281 ФФД: 1.0 [22:26:43]line ЗНМ: 0300000004 [22:26:43]line РНМ: 0000000000100748 [22:26:43]line Версия ККМ: 001 [22:26:43]line ФМ: 0000000000965685 [22:26:43]line ФД: 12650 [22:26:43]line ФПД: 81464568098636 [22:26:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T222642&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12650&fm=81464568098636&tin=02508201610067®Number=0000000000100748&sum=49600 [22:26:43]line 0 [22:26:43]OFD Sender: Processing packet 12650 [packets to send 7, broken 6] [22:26:43]ProducePacketName [22:26:43]name=ofd_packets/00012650 [22:26:43]OFD Sender: To server: pG, [22:26:43]CommunicateWithHost lk.salyk.kg:30040 [22:26:43]ConnectInit lk.salyk.kg [22:26:43]written 0, free lines is 4095 [22:26:43]Connected sock=10 [22:26:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 61 02 00 00 35 22 59 02 47 B8 5A 03 01 00 03 00 4D 02 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 C1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 93 14 00 00 00 00 07 04 06 00 C0 C1 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 A2 92 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 6A 31 00 00 35 04 06 00 4A 17 72 A4 AF 4C EF 0D 89 39 34 FF 6A C2 [22:26:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 64 88 47 00 1A 6A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 6A 31 00 00 F4 03 04 00 23 3B 25 66 B6 04 01 00 00 A9 32 F3 18 A1 FF E1 03 [22:26:44]CommunicateWithHost err = 0 [22:26:44]CheckOFDResponse [22:26:44]1017 (14) - 77093643461234 [22:26:44]1041 (16) - 0000000000965685 [22:26:44]1040 (4) - 12650 [22:26:44]1012 (4) - 21.04.2024 16:13 [22:26:44]1206 (1) - 0 [22:26:44]OFD Sender: Remove packet 12650 [22:26:44]ProducePacketName [22:26:44]name=ofd_packets/00012650 [22:26:44]NVStorageDeleteData [22:26:44]Write to MH i2c: 01 00 00 66 07 6D [22:26:44]Write i2c OK [22:26:44]MH_I2C_Read... [22:26:44]Read from MH i2c: 01 [22:26:44]MH_I2C_Read... [22:26:44]Read from MH i2c: 01 07 00 [22:26:44]MH_I2C_Read... [22:26:44]Read from MH i2c: 01 07 00 66 07 00 00 00 00 00 04 0C 84 [22:26:44]RasterBufferAndPrint [22:26:44]line [22:26:44]line [22:26:44]line [22:26:44]line [22:26:44]line [22:26:44]written 0, free lines is 3084 [22:26:44]MH_Cut [22:26:44]Write to MH i2c: D1 01 00 6D 07 01 46 [22:26:44]Write i2c OK [22:26:44]MH_I2C_Read... [22:26:44]Read from MH i2c: D1 [22:26:44]MH_I2C_Read... [22:26:44]Read from MH i2c: D1 01 00 [22:26:44]MH_I2C_Read... [22:26:44]Read from MH i2c: D1 01 00 6D 07 00 45 [22:26:44]Write to MH i2c: 01 00 00 6E 07 75 [22:26:44]Write i2c OK [22:26:44]MH_I2C_Read... [22:26:44]OFD Sender: No OFD packet to send [22:26:45]*** Cut start [22:26:45]*** Partial cut [22:26:45]*** CUTSNS_PIN = 1 [22:26:45]*** CUTSNS_PIN = 0 [22:26:45]*** Brake cut motor [22:26:45]Read from MH i2c: 01 [22:26:45]MH_I2C_Read... [22:26:45]*** Stop cut motor [22:26:45]*** Cut end [22:26:45]Read from MH i2c: 01 07 00 [22:26:45]MH_I2C_Read... [22:26:45]Read from MH i2c: 01 07 00 6E 07 00 00 00 00 00 FF 0F 8A [22:26:45]process_action close_receipt done [22:26:45]requested_data is exist [22:26:45]produce_requested_data [22:26:45]requested_item fm.sn is exist - process it [22:26:45]wFMCommunicate request_size=4 [22:26:45]MH_SAM_APDU [22:26:45]CAPDU: 80 11 00 00 [22:26:45]Write to MH i2c: E2 08 00 6F 07 80 11 00 00 00 00 00 00 F0 [22:26:45]Write i2c OK [22:26:45]MH_I2C_Read... [22:26:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:26:45]Read from MH i2c: E2 [22:26:45]MH_I2C_Read... [22:26:45]Read from MH i2c: E2 17 00 [22:26:45]MH_I2C_Read... [22:26:45]Read from MH i2c: E2 17 00 6F 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 4A [22:26:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [22:26:45]wFMCommunicate OK [22:26:45]requested_item fd.num is exist - process it [22:26:45]SAM_PROTO_GetFieldsCounters [22:26:45]wFMCommunicate request_size=4 [22:26:45]MH_SAM_APDU [22:26:45]CAPDU: 80 13 00 00 [22:26:45]Write to MH i2c: E2 08 00 70 07 80 13 00 00 00 00 00 00 F3 [22:26:45]Write i2c OK [22:26:45]MH_I2C_Read... [22:26:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:26:46]Read from MH i2c: E2 [22:26:46]MH_I2C_Read... [22:26:46]Read from MH i2c: E2 62 00 [22:26:46]MH_I2C_Read... [22:26:46]Read from MH i2c: E2 62 00 70 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 6A 31 00 00 0E 04 04 00 19 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 85 [22:26:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 6A 31 00 00 0E 04 04 00 19 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 [22:26:46]wFMCommunicate OK [22:26:46]SAM_PROTO_GetFieldsCounters done [22:26:46]requested_item shift.num is exist - process it [22:26:46]requested_item shift.opened is exist - process it [22:26:46]req_shift_opened [22:26:46]FM_GetShiftState [22:26:46]SAM_PROTO_GetShiftState [22:26:46]wFMCommunicate request_size=4 [22:26:46]MH_SAM_APDU [22:26:46]CAPDU: 80 13 01 00 [22:26:46]Write to MH i2c: E2 08 00 71 07 80 13 01 00 00 00 00 00 F5 [22:26:46]Write i2c OK [22:26:46]MH_I2C_Read... [22:26:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:26:46]Read from MH i2c: E2 [22:26:46]MH_I2C_Read... [22:26:46]Read from MH i2c: E2 0E 00 [22:26:46]MH_I2C_Read... [22:26:46]Read from MH i2c: E2 0E 00 71 07 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 4D [22:26:46]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [22:26:46]wFMCommunicate OK [22:26:46]SAM_PROTO_GetShiftState done [22:26:46]FM_GetShiftState done [22:26:46]req_shift_opened done [22:26:46]requested_item shift.open_date is exist - process it [22:26:46]req_shift_open_date [22:26:46]req_shift_open_date done [22:26:46]produce_requested_data done [22:26:46]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12650,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [22:26:46]process_action_free close_receipt [22:26:46]json_value_free [22:26:46]json_value_free done [22:26:46]process_json_proto returns [22:26:46]Send response to host [22:26:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12650,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [22:26:46]free response buf [22:26:46]execute_script done [22:26:46]execute_script returns [22:26:46]free content buf [22:26:46]Sock 7.Close socket [22:26:46]Sock 7.Thread stoped [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]accept exits with 9 [22:34:49]New connection [22:34:49]New thread 3066813796 created [22:34:49]Thread 3066957156 joined [22:34:49]Waiting for new connection... [22:34:49] Sock 9.Parse request [22:34:49]Sock 9.Check first char [22:34:49]Sock 9.First char is OK [22:34:49]request: POST /json_proto HTTP/1.0 [22:34:49]Method: POST [22:34:49]URL: /json_proto [22:34:49]Method is POST - this is cgi request [22:34:49]url: /json_proto [22:34:49]query_string will be loaded in cgi processing [22:34:49]execute_cgi json_proto POST (null) [22:34:49]execute_cgi path=json_proto method=POST [22:34:49]POST find Content-Length [22:34:49]Host: 172.17.62.6:8080 [22:34:49]Content-Length: 654 [22:34:49]Content-Type: application/json [22:34:49] [22:34:49]POST finish read [22:34:49]Found Content-Length = 654 [22:34:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32923", "tax_sys" : 0, "items" : [ { "code": "4860019001414", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,75\u043B \u041F\u042D\u0422", "price" : 165.00, "quantity" : 1.000, "sum" : 165.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 165.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:34:49]execute_script... [22:34:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32923", "tax_sys" : 0, "items" : [ { "code": "4860019001414", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,75\u043B \u041F\u042D\u0422", "price" : 165.00, "quantity" : 1.000, "sum" : 165.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 165.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:34:49]POST & json_proto [22:34:49]process_json_proto [22:34:49]json parsed OK: [22:34:49]protocol is kg_v1.0 [22:34:49]action value=close_receipt [22:34:49]process_action close_receipt [22:34:49]cmd_close_receipt [22:34:49]MH_GetDate [22:34:49]Write to MH i2c: F0 00 00 72 07 68 [22:34:49]Write i2c OK [22:34:49]MH_I2C_Read... [22:34:49]Read from MH i2c: F0 [22:34:49]MH_I2C_Read... [22:34:49]Read from MH i2c: F0 09 00 [22:34:49]MH_I2C_Read... [22:34:49]Read from MH i2c: F0 09 00 72 07 00 8A 94 25 66 61 69 D2 64 1A [22:34:49]GetLastDocTimeStamp 1713738402 [22:34:49]current date 1713738890 [22:34:49]FM_GetShiftState [22:34:49]SAM_PROTO_GetShiftState [22:34:49]wFMCommunicate request_size=4 [22:34:49]MH_SAM_APDU [22:34:49]CAPDU: 80 13 01 00 [22:34:49]Write to MH i2c: E2 08 00 73 07 80 13 01 00 00 00 00 00 F7 [22:34:49]Write i2c OK [22:34:49]MH_I2C_Read... [22:34:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:34:49]Read from MH i2c: E2 [22:34:49]MH_I2C_Read... [22:34:49]Read from MH i2c: E2 0E 00 [22:34:49]MH_I2C_Read... [22:34:49]Read from MH i2c: E2 0E 00 73 07 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 4F [22:34:49]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [22:34:49]wFMCommunicate OK [22:34:49]SAM_PROTO_GetShiftState done [22:34:49]FM_GetShiftState done [22:34:49]opened in 1713658727 [22:34:49]opened+sec_in_day 1713745127 [22:34:49]quantity*price = 16500 [22:34:49]sum+1 = 16501 [22:34:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 165.00 НСП 1% : 1.46 НДС 12% : 17.52 Наличными: 165.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 63 21.04.2024 22:34 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12651 ФПД: 173171433109095 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T223450&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12651&fm=173171433109095&tin=02508201610067®Number=0000000000100748&sum=16500 0 [22:34:50]StoreToDocumentArchive [22:34:50]shift 281 fd 12651 [22:34:50]save to /storage/0281/doc_00012651 [22:34:50]save last doc name /storage/0281/doc_00012651 to /storage/kkm_last_doc_name [22:34:50]save OK [22:34:50]Clear old archive folders... [22:34:50]ProcessDocumentItem done err = 0, tmpTLVsize=279 [22:34:50]tlvbuf is 016E3C80 [22:34:50]SAM_PROTO_ClearQueue [22:34:50]wFMCommunicate request_size=4 [22:34:50]MH_SAM_APDU [22:34:50]CAPDU: 80 09 00 00 [22:34:50]Write to MH i2c: E2 08 00 80 07 80 09 00 00 00 00 00 00 F9 [22:34:50]Write i2c OK [22:34:50]MH_I2C_Read... [22:34:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:34:50]Read from MH i2c: E2 [22:34:50]MH_I2C_Read... [22:34:50]Read from MH i2c: E2 03 00 [22:34:50]MH_I2C_Read... [22:34:50]Read from MH i2c: E2 03 00 80 07 00 90 00 FB [22:34:50]RAPDU: 90 00 [22:34:50]wFMCommunicate OK [22:34:50]SAM_PROTO_ClearQueue done [22:34:50]KKMCreateOFDPacket [22:34:50]OFDProtocolAddRootSTLVToBuf [22:34:50]FM_MakeSignedData [22:34:50]FM_MakeSignedData [22:34:50]SAM_PROTO_SignData [22:34:50]wFMCommunicate request_size=4 [22:34:50]MH_SAM_APDU [22:34:50]CAPDU: 80 0D 01 02 [22:34:50]Write to MH i2c: E2 08 00 81 07 80 0D 01 02 00 00 00 00 01 [22:34:50]Write i2c OK [22:34:50]MH_I2C_Read... [22:34:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:34:50]Read from MH i2c: E2 [22:34:50]MH_I2C_Read... [22:34:50]Read from MH i2c: E2 03 00 [22:34:50]MH_I2C_Read... [22:34:50]Read from MH i2c: E2 03 00 81 07 00 90 00 FC [22:34:50]RAPDU: 90 00 [22:34:50]wFMCommunicate OK [22:34:50]wFMCommunicate request_size=255 [22:34:50]MH_SAM_APDU [22:34:50]CAPDU: 80 0D 02 02 FA 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 34 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 37 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 74 40 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 74 40 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 8A 94 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 [22:34:50]Write to MH i2c: E2 02 01 82 07 80 0D 02 02 FA 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 34 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 37 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 74 40 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 74 40 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 8A 94 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 00 00 D6 [22:34:50]Write i2c OK [22:34:50]MH_I2C_Read... [22:34:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:34:50]Read from MH i2c: E2 [22:34:50]MH_I2C_Read... [22:34:50]Read from MH i2c: E2 03 00 [22:34:50]MH_I2C_Read... [22:34:50]Read from MH i2c: E2 03 00 82 07 00 90 00 FD [22:34:50]RAPDU: 90 00 [22:34:50]wFMCommunicate OK [22:34:50]wFMCommunicate request_size=38 [22:34:50]MH_SAM_APDU [22:34:50]CAPDU: 80 0D 02 02 21 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 6B 31 00 00 35 04 06 00 9D 7F 9D C1 76 67 [22:34:50]Write to MH i2c: E2 29 00 83 07 80 0D 02 02 21 00 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 6B 31 00 00 35 04 06 00 9D 7F 9D C1 76 67 00 00 87 [22:34:50]Write i2c OK [22:34:50]MH_I2C_Read... [22:34:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:34:50]Read from MH i2c: E2 [22:34:50]MH_I2C_Read... [22:34:50]Read from MH i2c: E2 03 00 [22:34:50]MH_I2C_Read... [22:34:50]Read from MH i2c: E2 03 00 83 07 00 90 00 FE [22:34:50]RAPDU: 90 00 [22:34:50]wFMCommunicate OK [22:34:50]wFMCommunicate request_size=4 [22:34:50]MH_SAM_APDU [22:34:50]CAPDU: 80 0D 03 02 [22:34:50]Write to MH i2c: E2 08 00 84 07 80 0D 03 02 00 00 00 00 06 [22:34:50]Write i2c OK [22:34:50]MH_I2C_Read... [22:34:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:34:51]Read from MH i2c: E2 [22:34:51]MH_I2C_Read... [22:34:51]Read from MH i2c: E2 0B 00 [22:34:51]MH_I2C_Read... [22:34:51]Read from MH i2c: E2 0B 00 84 07 00 DA 49 C7 B7 C7 4F 5C FC 90 00 16 [22:34:51]RAPDU: DA 49 C7 B7 C7 4F 5C FC 90 00 [22:34:51]wFMCommunicate OK [22:34:51]SAM_PROTO_SignData done [22:34:51]FM_MakeSignedData done [22:34:51]CreateOFDProtocolMessage [22:34:51]wFMCommunicate request_size=4 [22:34:51]MH_SAM_APDU [22:34:51]CAPDU: 80 11 00 00 [22:34:51]Write to MH i2c: E2 08 00 85 07 80 11 00 00 00 00 00 00 06 [22:34:51]Write i2c OK [22:34:51]MH_I2C_Read... [22:34:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:34:51]Read from MH i2c: E2 [22:34:51]MH_I2C_Read... [22:34:51]Read from MH i2c: E2 17 00 [22:34:51]MH_I2C_Read... [22:34:51]Read from MH i2c: E2 17 00 85 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 60 [22:34:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [22:34:51]wFMCommunicate OK [22:34:51]CreateOFDProtocolMessage done [22:34:51]OFDSenderStorePacket 12651 [22:34:51]StoreOFDPacket docnum=12651 [22:34:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2B 01 00 00 30 15 23 01 55 C1 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 34 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 37 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 74 40 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 74 40 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 8A 94 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 6B 31 00 00 35 04 06 00 9D 7F 9D C1 76 67 DA 49 C7 B7 C7 4F 5C FC [22:34:51]CheckFolder [22:34:51]dirname=/storage/ofd_packets [22:34:51]CheckFolder done [22:34:51]ProducePacketName [22:34:51]name=ofd_packets/00012651 [22:34:51]NVStorageSaveData ofd_packets/00012651 [22:34:51]File name is /storage/ofd_packets/00012651 [22:34:51]Write 329 bytes [22:34:51]NVStorageSaveData done [22:34:51]OFDSenderStorePacket done [22:34:51]KKMCreateOFDPacket done [22:34:51]NVStorageSaveData kkm_last_timestamp [22:34:51]File name is /storage/kkm_last_timestamp [22:34:51]Write 4 bytes [22:34:51]NVStorageSaveData done [22:34:51]ExternCall_PrintAddStr [22:34:51]wPrintStart [22:34:51]Write to MH i2c: 01 00 00 86 07 8D [22:34:51]Write i2c OK [22:34:51]MH_I2C_Read... [22:34:51]Read from MH i2c: 01 [22:34:51]MH_I2C_Read... [22:34:51]Read from MH i2c: 01 07 00 [22:34:51]MH_I2C_Read... [22:34:51]Read from MH i2c: 01 07 00 86 07 00 00 00 00 00 FF 0F A2 [22:34:51]RasterBufferAndPrint [22:34:51]line Счет N : (3)32923 [22:34:51]line ИНН: 02508201610067 [22:34:51]line Контрольно-Кассовый Чек [22:34:51]line ПРОДАЖА [22:34:51]line Товар: 4860019001414 [22:34:51]line Вода Боржоми 0,75л ПЭТ [22:34:51]line 1.000 * 165.00 [22:34:51]line = 165.00 [22:34:51]line НДС 12% НСП 1% [22:34:51]line > о реализуемом товаре [22:34:51]line ИТОГО: 165.00 [22:34:51]line НСП 1% : 1.46 [22:34:51]line НДС 12% : 17.52 [22:34:51]line Наличными: 165.00 [22:34:51]line Безнал.: 0.00 [22:34:51]line Место: АЗС № 106 "Партнер Нефть" [22:34:51]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [22:34:51]line СНО: Общий режим [22:34:51]line Чек 63 21.04.2024 22:34 [22:34:51]line Смена: 281 ФФД: 1.0 [22:34:51]line ЗНМ: 0300000004 [22:34:51]line РНМ: 0000000000100748 [22:34:51]line Версия ККМ: 001 [22:34:51]line ФМ: 0000000000965685 [22:34:51]line ФД: 12651 [22:34:51]line ФПД: 173171433109095 [22:34:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T223450&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12651&fm=173171433109095&tin=02508201610067®Number=0000000000100748&sum=16500 [22:34:51]line 0 [22:34:51]OFD Sender: Processing packet 12651 [packets to send 7, broken 6] [22:34:51]ProducePacketName [22:34:51]name=ofd_packets/00012651 [22:34:51]OFD Sender: To server: pG, [22:34:51]CommunicateWithHost lk.salyk.kg:30040 [22:34:51]ConnectInit lk.salyk.kg [22:34:51]written 0, free lines is 4095 [22:34:51]Write to MH i2c: 01 00 00 AD 07 B4 [22:34:51]Write i2c OK [22:34:51]MH_I2C_Read... [22:34:51]Read from MH i2c: 01 [22:34:51]MH_I2C_Read... [22:34:51]Read from MH i2c: 01 07 00 [22:34:51]MH_I2C_Read... [22:34:51]Read from MH i2c: 01 07 00 AD 07 00 00 00 00 00 FE 0C C5 [22:34:51]RasterBufferAndPrint [22:34:51]line [22:34:51]line [22:34:51]line [22:34:51]line [22:34:51]line [22:34:51]written 0, free lines is 3332 [22:34:51]MH_Cut [22:34:51]Write to MH i2c: D1 01 00 B4 07 01 8D [22:34:51]Write i2c OK [22:34:51]MH_I2C_Read... [22:34:51]Read from MH i2c: D1 [22:34:51]MH_I2C_Read... [22:34:51]Read from MH i2c: D1 01 00 [22:34:51]MH_I2C_Read... [22:34:51]Read from MH i2c: D1 01 00 B4 07 00 8C [22:34:51]Write to MH i2c: 01 00 00 B5 07 BC [22:34:51]Write i2c OK [22:34:51]MH_I2C_Read... [22:34:51]Connected sock=10 [22:34:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2B 01 00 00 30 15 23 01 55 C1 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 34 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 37 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 74 40 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 74 40 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 8A 94 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 6B 31 00 00 35 04 06 00 9D 7F 9D C1 76 67 DA 49 C7 B7 C7 4F 5C FC [22:34:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 13 72 47 00 77 1C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 6B 31 00 00 F4 03 04 00 0B 3D 25 66 B6 04 01 00 00 D7 8A 88 15 54 BB 7C 67 [22:34:52]CommunicateWithHost err = 0 [22:34:52]CheckOFDResponse [22:34:52]1017 (14) - 77093643461234 [22:34:52]1041 (16) - 0000000000965685 [22:34:52]1040 (4) - 12651 [22:34:52]1012 (4) - 21.04.2024 16:21 [22:34:52]1206 (1) - 0 [22:34:52]OFD Sender: Remove packet 12651 [22:34:52]ProducePacketName [22:34:52]name=ofd_packets/00012651 [22:34:52]NVStorageDeleteData [22:34:52]*** Cut start [22:34:52]*** Partial cut [22:34:52]*** CUTSNS_PIN = 1 [22:34:52]OFD Sender: No OFD packet to send [22:34:52]*** CUTSNS_PIN = 0 [22:34:52]*** Brake cut motor [22:34:53]Read from MH i2c: 01 [22:34:53]MH_I2C_Read... [22:34:53]*** Stop cut motor [22:34:53]*** Cut end [22:34:53]Read from MH i2c: 01 07 00 [22:34:53]MH_I2C_Read... [22:34:53]Read from MH i2c: 01 07 00 B5 07 00 00 00 00 00 FF 0F D1 [22:34:53]process_action close_receipt done [22:34:53]requested_data is exist [22:34:53]produce_requested_data [22:34:53]requested_item fm.sn is exist - process it [22:34:53]wFMCommunicate request_size=4 [22:34:53]MH_SAM_APDU [22:34:53]CAPDU: 80 11 00 00 [22:34:53]Write to MH i2c: E2 08 00 B6 07 80 11 00 00 00 00 00 00 37 [22:34:53]Write i2c OK [22:34:53]MH_I2C_Read... [22:34:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:34:53]Read from MH i2c: E2 [22:34:53]MH_I2C_Read... [22:34:53]Read from MH i2c: E2 17 00 [22:34:53]MH_I2C_Read... [22:34:53]Read from MH i2c: E2 17 00 B6 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 91 [22:34:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [22:34:53]wFMCommunicate OK [22:34:53]requested_item fd.num is exist - process it [22:34:53]SAM_PROTO_GetFieldsCounters [22:34:53]wFMCommunicate request_size=4 [22:34:53]MH_SAM_APDU [22:34:53]CAPDU: 80 13 00 00 [22:34:53]Write to MH i2c: E2 08 00 B7 07 80 13 00 00 00 00 00 00 3A [22:34:53]Write i2c OK [22:34:53]MH_I2C_Read... [22:34:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:34:53]Read from MH i2c: E2 [22:34:53]MH_I2C_Read... [22:34:53]Read from MH i2c: E2 62 00 [22:34:53]MH_I2C_Read... [22:34:53]Read from MH i2c: E2 62 00 B7 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 6B 31 00 00 0E 04 04 00 19 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 D0 [22:34:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 6B 31 00 00 0E 04 04 00 19 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 [22:34:53]wFMCommunicate OK [22:34:53]SAM_PROTO_GetFieldsCounters done [22:34:53]requested_item shift.num is exist - process it [22:34:53]requested_item shift.opened is exist - process it [22:34:53]req_shift_opened [22:34:53]FM_GetShiftState [22:34:53]SAM_PROTO_GetShiftState [22:34:53]wFMCommunicate request_size=4 [22:34:53]MH_SAM_APDU [22:34:53]CAPDU: 80 13 01 00 [22:34:53]Write to MH i2c: E2 08 00 B8 07 80 13 01 00 00 00 00 00 3C [22:34:53]Write i2c OK [22:34:53]MH_I2C_Read... [22:34:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:34:53]Read from MH i2c: E2 [22:34:53]MH_I2C_Read... [22:34:53]Read from MH i2c: E2 0E 00 [22:34:53]MH_I2C_Read... [22:34:53]Read from MH i2c: E2 0E 00 B8 07 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 94 [22:34:53]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [22:34:53]wFMCommunicate OK [22:34:53]SAM_PROTO_GetShiftState done [22:34:53]FM_GetShiftState done [22:34:53]req_shift_opened done [22:34:53]requested_item shift.open_date is exist - process it [22:34:53]req_shift_open_date [22:34:53]req_shift_open_date done [22:34:53]produce_requested_data done [22:34:53]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12651,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [22:34:53]process_action_free close_receipt [22:34:53]json_value_free [22:34:53]json_value_free done [22:34:53]process_json_proto returns [22:34:53]Send response to host [22:34:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12651,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [22:34:53]free response buf [22:34:53]execute_script done [22:34:53]execute_script returns [22:34:53]free content buf [22:34:53]Sock 9.Close socket [22:34:53]Sock 9.Thread stoped [22:34:57]OFD Sender: No OFD packet to send [22:35:02]OFD Sender: No OFD packet to send [22:35:07]OFD Sender: No OFD packet to send [22:35:12]OFD Sender: No OFD packet to send [22:35:17]OFD Sender: No OFD packet to send [22:35:22]OFD Sender: No OFD packet to send [22:35:27]OFD Sender: No OFD packet to send [22:35:29]accept exits with 7 [22:35:29]New connection [22:35:29]New thread 3066957156 created [22:35:29]Thread 3066813796 joined [22:35:29]Waiting for new connection... [22:35:29] Sock 7.Parse request [22:35:29]Sock 7.Check first char [22:35:29]Sock 7.First char is OK [22:35:29]request: POST /json_proto HTTP/1.0 [22:35:29]Method: POST [22:35:29]URL: /json_proto [22:35:29]Method is POST - this is cgi request [22:35:29]url: /json_proto [22:35:29]query_string will be loaded in cgi processing [22:35:29]execute_cgi json_proto POST (null) [22:35:29]execute_cgi path=json_proto method=POST [22:35:29]POST find Content-Length [22:35:29]Host: 172.17.62.6:8080 [22:35:29]Content-Length: 672 [22:35:29]Content-Type: application/json [22:35:29] [22:35:29]POST finish read [22:35:29]Found Content-Length = 672 [22:35:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32924", "tax_sys" : 0, "items" : [ { "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 1.000, "sum" : 7.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 7.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:35:29]execute_script... [22:35:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32924", "tax_sys" : 0, "items" : [ { "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 1.000, "sum" : 7.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 7.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:35:29]POST & json_proto [22:35:29]process_json_proto [22:35:29]json parsed OK: [22:35:29]protocol is kg_v1.0 [22:35:29]action value=close_receipt [22:35:29]process_action close_receipt [22:35:29]cmd_close_receipt [22:35:29]MH_GetDate [22:35:29]Write to MH i2c: F0 00 00 B9 07 AF [22:35:29]Write i2c OK [22:35:29]MH_I2C_Read... [22:35:29]Read from MH i2c: F0 [22:35:29]MH_I2C_Read... [22:35:29]Read from MH i2c: F0 09 00 [22:35:29]MH_I2C_Read... [22:35:29]Read from MH i2c: F0 09 00 B9 07 00 B2 94 25 66 61 69 D2 64 89 [22:35:29]GetLastDocTimeStamp 1713738890 [22:35:29]current date 1713738930 [22:35:29]FM_GetShiftState [22:35:29]SAM_PROTO_GetShiftState [22:35:29]wFMCommunicate request_size=4 [22:35:29]MH_SAM_APDU [22:35:29]CAPDU: 80 13 01 00 [22:35:29]Write to MH i2c: E2 08 00 BA 07 80 13 01 00 00 00 00 00 3E [22:35:29]Write i2c OK [22:35:29]MH_I2C_Read... [22:35:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:35:29]Read from MH i2c: E2 [22:35:29]MH_I2C_Read... [22:35:29]Read from MH i2c: E2 0E 00 [22:35:29]MH_I2C_Read... [22:35:29]Read from MH i2c: E2 0E 00 BA 07 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 96 [22:35:29]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [22:35:29]wFMCommunicate OK [22:35:29]SAM_PROTO_GetShiftState done [22:35:29]FM_GetShiftState done [22:35:29]opened in 1713658727 [22:35:29]opened+sec_in_day 1713745127 [22:35:29]quantity*price = 700 [22:35:29]sum+1 = 701 [22:35:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 7.00 НСП 1% : 0.06 НДС 12% : 0.74 Наличными: 7.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 64 21.04.2024 22:35 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12652 ФПД: 275352213773919 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T223530&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12652&fm=275352213773919&tin=02508201610067®Number=0000000000100748&sum=700 0 [22:35:30]StoreToDocumentArchive [22:35:30]shift 281 fd 12652 [22:35:30]save to /storage/0281/doc_00012652 [22:35:30]save last doc name /storage/0281/doc_00012652 to /storage/kkm_last_doc_name [22:35:30]save OK [22:35:30]Clear old archive folders... [22:35:30]ProcessDocumentItem done err = 0, tmpTLVsize=287 [22:35:30]tlvbuf is 01641200 [22:35:30]SAM_PROTO_ClearQueue [22:35:30]wFMCommunicate request_size=4 [22:35:30]MH_SAM_APDU [22:35:30]CAPDU: 80 09 00 00 [22:35:30]Write to MH i2c: E2 08 00 C7 07 80 09 00 00 00 00 00 00 40 [22:35:30]Write i2c OK [22:35:30]MH_I2C_Read... [22:35:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:35:30]Read from MH i2c: E2 [22:35:30]MH_I2C_Read... [22:35:30]Read from MH i2c: E2 03 00 [22:35:30]MH_I2C_Read... [22:35:30]Read from MH i2c: E2 03 00 C7 07 00 90 00 42 [22:35:30]RAPDU: 90 00 [22:35:30]wFMCommunicate OK [22:35:30]SAM_PROTO_ClearQueue done [22:35:30]KKMCreateOFDPacket [22:35:30]OFDProtocolAddRootSTLVToBuf [22:35:30]FM_MakeSignedData [22:35:30]FM_MakeSignedData [22:35:30]SAM_PROTO_SignData [22:35:30]wFMCommunicate request_size=4 [22:35:30]MH_SAM_APDU [22:35:30]CAPDU: 80 0D 01 02 [22:35:30]Write to MH i2c: E2 08 00 C8 07 80 0D 01 02 00 00 00 00 48 [22:35:30]Write i2c OK [22:35:30]MH_I2C_Read... [22:35:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:35:30]Read from MH i2c: E2 [22:35:30]MH_I2C_Read... [22:35:30]Read from MH i2c: E2 03 00 [22:35:30]MH_I2C_Read... [22:35:30]Read from MH i2c: E2 03 00 C8 07 00 90 00 43 [22:35:30]RAPDU: 90 00 [22:35:30]wFMCommunicate OK [22:35:30]wFMCommunicate request_size=255 [22:35:30]MH_SAM_APDU [22:35:30]CAPDU: 80 0D 02 02 FA 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 02 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 00 00 00 00 00 07 04 06 00 BC 02 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 B2 94 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 [22:35:30]Write to MH i2c: E2 02 01 C9 07 80 0D 02 02 FA 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 02 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 00 00 00 00 00 07 04 06 00 BC 02 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 B2 94 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 00 00 A5 [22:35:30]Write i2c OK [22:35:30]MH_I2C_Read... [22:35:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:35:30]Read from MH i2c: E2 [22:35:30]MH_I2C_Read... [22:35:30]Read from MH i2c: E2 03 00 [22:35:30]MH_I2C_Read... [22:35:30]Read from MH i2c: E2 03 00 C9 07 00 90 00 44 [22:35:30]RAPDU: 90 00 [22:35:30]wFMCommunicate OK [22:35:30]wFMCommunicate request_size=46 [22:35:30]MH_SAM_APDU [22:35:30]CAPDU: 80 0D 02 02 29 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 6C 31 00 00 35 04 06 00 FA 6E 6E E3 DE 5F [22:35:30]Write to MH i2c: E2 31 00 CA 07 80 0D 02 02 29 00 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 6C 31 00 00 35 04 06 00 FA 6E 6E E3 DE 5F 00 00 76 [22:35:30]Write i2c OK [22:35:30]MH_I2C_Read... [22:35:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:35:30]Read from MH i2c: E2 [22:35:30]MH_I2C_Read... [22:35:30]Read from MH i2c: E2 03 00 [22:35:30]MH_I2C_Read... [22:35:30]Read from MH i2c: E2 03 00 CA 07 00 90 00 45 [22:35:30]RAPDU: 90 00 [22:35:30]wFMCommunicate OK [22:35:30]wFMCommunicate request_size=4 [22:35:30]MH_SAM_APDU [22:35:30]CAPDU: 80 0D 03 02 [22:35:30]Write to MH i2c: E2 08 00 CB 07 80 0D 03 02 00 00 00 00 4D [22:35:30]Write i2c OK [22:35:30]MH_I2C_Read... [22:35:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:35:30]Read from MH i2c: E2 [22:35:30]MH_I2C_Read... [22:35:30]Read from MH i2c: E2 0B 00 [22:35:30]MH_I2C_Read... [22:35:30]Read from MH i2c: E2 0B 00 CB 07 00 C4 69 D6 B6 79 EC 22 07 90 00 95 [22:35:30]RAPDU: C4 69 D6 B6 79 EC 22 07 90 00 [22:35:30]wFMCommunicate OK [22:35:30]SAM_PROTO_SignData done [22:35:30]FM_MakeSignedData done [22:35:30]CreateOFDProtocolMessage [22:35:30]wFMCommunicate request_size=4 [22:35:30]MH_SAM_APDU [22:35:30]CAPDU: 80 11 00 00 [22:35:30]Write to MH i2c: E2 08 00 CC 07 80 11 00 00 00 00 00 00 4D [22:35:30]Write i2c OK [22:35:30]MH_I2C_Read... [22:35:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:35:30]Read from MH i2c: E2 [22:35:30]MH_I2C_Read... [22:35:30]Read from MH i2c: E2 17 00 [22:35:30]MH_I2C_Read... [22:35:30]Read from MH i2c: E2 17 00 CC 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 A7 [22:35:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [22:35:30]wFMCommunicate OK [22:35:30]CreateOFDProtocolMessage done [22:35:30]OFDSenderStorePacket 12652 [22:35:30]StoreOFDPacket docnum=12652 [22:35:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 33 01 00 00 B5 05 2B 01 D8 3E 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 02 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 00 00 00 00 00 07 04 06 00 BC 02 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 B2 94 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 6C 31 00 00 35 04 06 00 FA 6E 6E E3 DE 5F C4 69 D6 B6 79 EC 22 07 [22:35:30]CheckFolder [22:35:30]dirname=/storage/ofd_packets [22:35:30]CheckFolder done [22:35:30]ProducePacketName [22:35:30]name=ofd_packets/00012652 [22:35:30]NVStorageSaveData ofd_packets/00012652 [22:35:30]File name is /storage/ofd_packets/00012652 [22:35:30]Write 337 bytes [22:35:30]NVStorageSaveData done [22:35:30]OFDSenderStorePacket done [22:35:30]KKMCreateOFDPacket done [22:35:30]NVStorageSaveData kkm_last_timestamp [22:35:30]File name is /storage/kkm_last_timestamp [22:35:30]Write 4 bytes [22:35:30]NVStorageSaveData done [22:35:30]ExternCall_PrintAddStr [22:35:30]wPrintStart [22:35:30]Write to MH i2c: 01 00 00 CD 07 D4 [22:35:31]Write i2c OK [22:35:31]MH_I2C_Read... [22:35:31]Read from MH i2c: 01 [22:35:31]MH_I2C_Read... [22:35:31]Read from MH i2c: 01 07 00 [22:35:31]MH_I2C_Read... [22:35:31]Read from MH i2c: 01 07 00 CD 07 00 00 00 00 00 FF 0F E9 [22:35:31]RasterBufferAndPrint [22:35:31]line Счет N : (3)32924 [22:35:31]line ИНН: 02508201610067 [22:35:31]line Контрольно-Кассовый Чек [22:35:31]line ПРОДАЖА [22:35:31]line Товар: 2000053020015 [22:35:31]line Бумажные стаканы 250мл 1шт [22:35:31]line 1.000 * 7.00 [22:35:31]line = 7.00 [22:35:31]line НДС 12% НСП 1% [22:35:31]line > о реализуемом товаре [22:35:31]line ИТОГО: 7.00 [22:35:31]line НСП 1% : 0.06 [22:35:31]line НДС 12% : 0.74 [22:35:31]line Наличными: 7.00 [22:35:31]line Безнал.: 0.00 [22:35:31]line Место: АЗС № 106 "Партнер Нефть" [22:35:31]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [22:35:31]line СНО: Общий режим [22:35:31]line Чек 64 21.04.2024 22:35 [22:35:31]line Смена: 281 ФФД: 1.0 [22:35:31]line ЗНМ: 0300000004 [22:35:31]line РНМ: 0000000000100748 [22:35:31]line Версия ККМ: 001 [22:35:31]line ФМ: 0000000000965685 [22:35:31]line ФД: 12652 [22:35:31]line ФПД: 275352213773919 [22:35:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T223530&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12652&fm=275352213773919&tin=02508201610067®Number=0000000000100748&sum=700 [22:35:31]line 0 [22:35:31]OFD Sender: Processing packet 12652 [packets to send 7, broken 6] [22:35:31]ProducePacketName [22:35:31]name=ofd_packets/00012652 [22:35:31]OFD Sender: To server: pG, [22:35:31]CommunicateWithHost lk.salyk.kg:30040 [22:35:31]ConnectInit lk.salyk.kg [22:35:31]written 0, free lines is 4095 [22:35:31]Connected sock=10 [22:35:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 33 01 00 00 B5 05 2B 01 D8 3E 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 02 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 00 00 00 00 00 07 04 06 00 BC 02 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 B2 94 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 6C 31 00 00 35 04 06 00 FA 6E 6E E3 DE 5F C4 69 D6 B6 79 EC 22 07 [22:35:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 FF 89 47 00 6B 0F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 6C 31 00 00 F4 03 04 00 32 3D 25 66 B6 04 01 00 00 0F 1C 43 F1 C7 F5 B6 DC [22:35:31]CommunicateWithHost err = 0 [22:35:31]CheckOFDResponse [22:35:31]1017 (14) - 77093643461234 [22:35:31]1041 (16) - 0000000000965685 [22:35:31]1040 (4) - 12652 [22:35:31]1012 (4) - 21.04.2024 16:22 [22:35:31]1206 (1) - 0 [22:35:31]OFD Sender: Remove packet 12652 [22:35:31]ProducePacketName [22:35:31]name=ofd_packets/00012652 [22:35:31]NVStorageDeleteData [22:35:31]Write to MH i2c: 01 00 00 F5 07 FC [22:35:31]Write i2c OK [22:35:31]MH_I2C_Read... [22:35:31]Read from MH i2c: 01 [22:35:31]MH_I2C_Read... [22:35:31]Read from MH i2c: 01 07 00 [22:35:31]MH_I2C_Read... [22:35:31]Read from MH i2c: 01 07 00 F5 07 00 00 00 00 00 DC 0C EB [22:35:31]RasterBufferAndPrint [22:35:31]line [22:35:31]line [22:35:31]line [22:35:31]line [22:35:31]line [22:35:31]written 0, free lines is 3298 [22:35:31]MH_Cut [22:35:31]Write to MH i2c: D1 01 00 FC 07 01 D5 [22:35:31]Write i2c OK [22:35:31]MH_I2C_Read... [22:35:31]Read from MH i2c: D1 [22:35:31]MH_I2C_Read... [22:35:31]Read from MH i2c: D1 01 00 [22:35:31]MH_I2C_Read... [22:35:31]Read from MH i2c: D1 01 00 FC 07 00 D4 [22:35:31]Write to MH i2c: 01 00 00 FD 07 04 [22:35:31]Write i2c OK [22:35:31]MH_I2C_Read... [22:35:32]OFD Sender: No OFD packet to send [22:35:32]*** Cut start [22:35:32]*** Partial cut [22:35:32]*** CUTSNS_PIN = 1 [22:35:32]*** CUTSNS_PIN = 0 [22:35:32]*** Brake cut motor [22:35:33]Read from MH i2c: 01 [22:35:33]MH_I2C_Read... [22:35:33]*** Stop cut motor [22:35:33]*** Cut end [22:35:33]Read from MH i2c: 01 07 00 [22:35:33]MH_I2C_Read... [22:35:33]Read from MH i2c: 01 07 00 FD 07 00 00 00 00 00 FF 0F 19 [22:35:33]process_action close_receipt done [22:35:33]requested_data is exist [22:35:33]produce_requested_data [22:35:33]requested_item fm.sn is exist - process it [22:35:33]wFMCommunicate request_size=4 [22:35:33]MH_SAM_APDU [22:35:33]CAPDU: 80 11 00 00 [22:35:33]Write to MH i2c: E2 08 00 FE 07 80 11 00 00 00 00 00 00 7F [22:35:33]Write i2c OK [22:35:33]MH_I2C_Read... [22:35:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:35:33]Read from MH i2c: E2 [22:35:33]MH_I2C_Read... [22:35:33]Read from MH i2c: E2 17 00 [22:35:33]MH_I2C_Read... [22:35:33]Read from MH i2c: E2 17 00 FE 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 D9 [22:35:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [22:35:33]wFMCommunicate OK [22:35:33]requested_item fd.num is exist - process it [22:35:33]SAM_PROTO_GetFieldsCounters [22:35:33]wFMCommunicate request_size=4 [22:35:33]MH_SAM_APDU [22:35:33]CAPDU: 80 13 00 00 [22:35:33]Write to MH i2c: E2 08 00 FF 07 80 13 00 00 00 00 00 00 82 [22:35:33]Write i2c OK [22:35:33]MH_I2C_Read... [22:35:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:35:33]Read from MH i2c: E2 [22:35:33]MH_I2C_Read... [22:35:33]Read from MH i2c: E2 62 00 [22:35:33]MH_I2C_Read... [22:35:33]Read from MH i2c: E2 62 00 FF 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 6C 31 00 00 0E 04 04 00 19 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 1C [22:35:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 6C 31 00 00 0E 04 04 00 19 01 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:35:33]wFMCommunicate OK [22:35:33]SAM_PROTO_GetFieldsCounters done [22:35:33]requested_item shift.num is exist - process it [22:35:33]requested_item shift.opened is exist - process it [22:35:33]req_shift_opened [22:35:33]FM_GetShiftState [22:35:33]SAM_PROTO_GetShiftState [22:35:33]wFMCommunicate request_size=4 [22:35:33]MH_SAM_APDU [22:35:33]CAPDU: 80 13 01 00 [22:35:33]Write to MH i2c: E2 08 00 00 08 80 13 01 00 00 00 00 00 85 [22:35:33]Write i2c OK [22:35:33]MH_I2C_Read... [22:35:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:35:33]Read from MH i2c: E2 [22:35:33]MH_I2C_Read... [22:35:33]Read from MH i2c: E2 0E 00 [22:35:33]MH_I2C_Read... [22:35:33]Read from MH i2c: E2 0E 00 00 08 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 DD [22:35:33]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [22:35:33]wFMCommunicate OK [22:35:33]SAM_PROTO_GetShiftState done [22:35:33]FM_GetShiftState done [22:35:33]req_shift_opened done [22:35:33]requested_item shift.open_date is exist - process it [22:35:33]req_shift_open_date [22:35:33]req_shift_open_date done [22:35:33]produce_requested_data done [22:35:33]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12652,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [22:35:33]process_action_free close_receipt [22:35:33]json_value_free [22:35:33]json_value_free done [22:35:33]process_json_proto returns [22:35:33]Send response to host [22:35:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12652,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [22:35:33]free response buf [22:35:33]execute_script done [22:35:33]execute_script returns [22:35:33]free content buf [22:35:33]Sock 7.Close socket [22:35:33]Sock 7.Thread stoped [22:35:37]OFD Sender: No OFD packet to send [22:35:40]accept exits with 9 [22:35:40]New connection [22:35:40]New thread 3066813796 created [22:35:40]Thread 3066957156 joined [22:35:40]Waiting for new connection... [22:35:40] Sock 9.Parse request [22:35:40]Sock 9.Check first char [22:35:40]Sock 9.First char is OK [22:35:40]request: POST /json_proto HTTP/1.0 [22:35:40]Method: POST [22:35:40]URL: /json_proto [22:35:40]Method is POST - this is cgi request [22:35:40]url: /json_proto [22:35:40]query_string will be loaded in cgi processing [22:35:40]execute_cgi json_proto POST (null) [22:35:40]execute_cgi path=json_proto method=POST [22:35:40]POST find Content-Length [22:35:40]Host: 172.17.62.6:8080 [22:35:40]Content-Length: 625 [22:35:40]Content-Type: application/json [22:35:40] [22:35:40]POST finish read [22:35:40]Found Content-Length = 625 [22:35:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32925", "tax_sys" : 0, "items" : [ { "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 2.000, "sum" : 20.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 20.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:35:40]execute_script... [22:35:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32925", "tax_sys" : 0, "items" : [ { "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 2.000, "sum" : 20.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 20.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:35:40]POST & json_proto [22:35:40]process_json_proto [22:35:40]json parsed OK: [22:35:40]protocol is kg_v1.0 [22:35:40]action value=close_receipt [22:35:40]process_action close_receipt [22:35:40]cmd_close_receipt [22:35:40]MH_GetDate [22:35:40]Write to MH i2c: F0 00 00 01 08 F8 [22:35:40]Write i2c OK [22:35:40]MH_I2C_Read... [22:35:40]Read from MH i2c: F0 [22:35:40]MH_I2C_Read... [22:35:40]Read from MH i2c: F0 09 00 [22:35:40]MH_I2C_Read... [22:35:40]Read from MH i2c: F0 09 00 01 08 00 BD 94 25 66 61 69 D2 64 DD [22:35:40]GetLastDocTimeStamp 1713738930 [22:35:40]current date 1713738941 [22:35:40]FM_GetShiftState [22:35:40]SAM_PROTO_GetShiftState [22:35:40]wFMCommunicate request_size=4 [22:35:40]MH_SAM_APDU [22:35:40]CAPDU: 80 13 01 00 [22:35:40]Write to MH i2c: E2 08 00 02 08 80 13 01 00 00 00 00 00 87 [22:35:40]Write i2c OK [22:35:40]MH_I2C_Read... [22:35:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:35:40]Read from MH i2c: E2 [22:35:40]MH_I2C_Read... [22:35:40]Read from MH i2c: E2 0E 00 [22:35:40]MH_I2C_Read... [22:35:40]Read from MH i2c: E2 0E 00 02 08 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 DF [22:35:40]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [22:35:40]wFMCommunicate OK [22:35:40]SAM_PROTO_GetShiftState done [22:35:40]FM_GetShiftState done [22:35:40]opened in 1713658727 [22:35:40]opened+sec_in_day 1713745127 [22:35:40]quantity*price = 2000 [22:35:40]sum+1 = 2001 [22:35:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 20.00 НСП 1% : 0.18 НДС 12% : 2.12 Наличными: 20.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 65 21.04.2024 22:35 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12653 ФПД: 129190329388215 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T223541&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12653&fm=129190329388215&tin=02508201610067®Number=0000000000100748&sum=2000 0 [22:35:41]StoreToDocumentArchive [22:35:41]shift 281 fd 12653 [22:35:41]save to /storage/0281/doc_00012653 [22:35:41]save last doc name /storage/0281/doc_00012653 to /storage/kkm_last_doc_name [22:35:41]save OK [22:35:41]Clear old archive folders... [22:35:41]ProcessDocumentItem done err = 0, tmpTLVsize=273 [22:35:41]tlvbuf is 016DE700 [22:35:41]SAM_PROTO_ClearQueue [22:35:41]wFMCommunicate request_size=4 [22:35:41]MH_SAM_APDU [22:35:41]CAPDU: 80 09 00 00 [22:35:41]Write to MH i2c: E2 08 00 0F 08 80 09 00 00 00 00 00 00 89 [22:35:41]Write i2c OK [22:35:41]MH_I2C_Read... [22:35:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:35:41]Read from MH i2c: E2 [22:35:41]MH_I2C_Read... [22:35:41]Read from MH i2c: E2 03 00 [22:35:41]MH_I2C_Read... [22:35:41]Read from MH i2c: E2 03 00 0F 08 00 90 00 8B [22:35:41]RAPDU: 90 00 [22:35:41]wFMCommunicate OK [22:35:41]SAM_PROTO_ClearQueue done [22:35:41]KKMCreateOFDPacket [22:35:41]OFDProtocolAddRootSTLVToBuf [22:35:41]FM_MakeSignedData [22:35:41]FM_MakeSignedData [22:35:41]SAM_PROTO_SignData [22:35:41]wFMCommunicate request_size=4 [22:35:41]MH_SAM_APDU [22:35:41]CAPDU: 80 0D 01 02 [22:35:41]Write to MH i2c: E2 08 00 10 08 80 0D 01 02 00 00 00 00 91 [22:35:41]Write i2c OK [22:35:41]MH_I2C_Read... [22:35:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:35:41]Read from MH i2c: E2 [22:35:41]MH_I2C_Read... [22:35:41]Read from MH i2c: E2 03 00 [22:35:41]MH_I2C_Read... [22:35:41]Read from MH i2c: E2 03 00 10 08 00 90 00 8C [22:35:41]RAPDU: 90 00 [22:35:41]wFMCommunicate OK [22:35:41]wFMCommunicate request_size=255 [22:35:41]MH_SAM_APDU [22:35:41]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 07 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 00 00 00 00 00 07 04 06 00 D0 07 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 BD 94 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 [22:35:41]Write to MH i2c: E2 02 01 11 08 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 07 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 00 00 00 00 00 07 04 06 00 D0 07 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 BD 94 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 00 00 25 [22:35:41]Write i2c OK [22:35:41]MH_I2C_Read... [22:35:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:35:41]Read from MH i2c: E2 [22:35:41]MH_I2C_Read... [22:35:41]Read from MH i2c: E2 03 00 [22:35:41]MH_I2C_Read... [22:35:41]Read from MH i2c: E2 03 00 11 08 00 90 00 8D [22:35:41]RAPDU: 90 00 [22:35:41]wFMCommunicate OK [22:35:41]wFMCommunicate request_size=32 [22:35:41]MH_SAM_APDU [22:35:41]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 36 38 35 10 04 04 00 6D 31 00 00 35 04 06 00 75 7F 77 B1 0C B7 [22:35:41]Write to MH i2c: E2 23 00 12 08 80 0D 02 02 1B 00 30 30 30 39 36 35 36 38 35 10 04 04 00 6D 31 00 00 35 04 06 00 75 7F 77 B1 0C B7 00 00 75 [22:35:41]Write i2c OK [22:35:41]MH_I2C_Read... [22:35:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:35:42]Read from MH i2c: E2 [22:35:42]MH_I2C_Read... [22:35:42]Read from MH i2c: E2 03 00 [22:35:42]MH_I2C_Read... [22:35:42]Read from MH i2c: E2 03 00 12 08 00 90 00 8E [22:35:42]RAPDU: 90 00 [22:35:42]wFMCommunicate OK [22:35:42]wFMCommunicate request_size=4 [22:35:42]MH_SAM_APDU [22:35:42]CAPDU: 80 0D 03 02 [22:35:42]Write to MH i2c: E2 08 00 13 08 80 0D 03 02 00 00 00 00 96 [22:35:42]Write i2c OK [22:35:42]MH_I2C_Read... [22:35:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:35:42]Read from MH i2c: E2 [22:35:42]MH_I2C_Read... [22:35:42]Read from MH i2c: E2 0B 00 [22:35:42]MH_I2C_Read... [22:35:42]Read from MH i2c: E2 0B 00 13 08 00 F1 20 F4 5D F3 DB 34 C3 90 00 BE [22:35:42]RAPDU: F1 20 F4 5D F3 DB 34 C3 90 00 [22:35:42]wFMCommunicate OK [22:35:42]SAM_PROTO_SignData done [22:35:42]FM_MakeSignedData done [22:35:42]CreateOFDProtocolMessage [22:35:42]wFMCommunicate request_size=4 [22:35:42]MH_SAM_APDU [22:35:42]CAPDU: 80 11 00 00 [22:35:42]Write to MH i2c: E2 08 00 14 08 80 11 00 00 00 00 00 00 96 [22:35:42]Write i2c OK [22:35:42]MH_I2C_Read... [22:35:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:35:42]Read from MH i2c: E2 [22:35:42]MH_I2C_Read... [22:35:42]Read from MH i2c: E2 17 00 [22:35:42]MH_I2C_Read... [22:35:42]Read from MH i2c: E2 17 00 14 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 F0 [22:35:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [22:35:42]wFMCommunicate OK [22:35:42]CreateOFDProtocolMessage done [22:35:42]OFDSenderStorePacket 12653 [22:35:42]StoreOFDPacket docnum=12653 [22:35:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 25 01 00 00 B4 3F 1D 01 09 0C 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 07 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 00 00 00 00 00 07 04 06 00 D0 07 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 BD 94 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 6D 31 00 00 35 04 06 00 75 7F 77 B1 0C B7 F1 20 F4 5D F3 DB 34 C3 [22:35:42]CheckFolder [22:35:42]dirname=/storage/ofd_packets [22:35:42]CheckFolder done [22:35:42]ProducePacketName [22:35:42]name=ofd_packets/00012653 [22:35:42]NVStorageSaveData ofd_packets/00012653 [22:35:42]File name is /storage/ofd_packets/00012653 [22:35:42]Write 323 bytes [22:35:42]NVStorageSaveData done [22:35:42]OFDSenderStorePacket done [22:35:42]KKMCreateOFDPacket done [22:35:42]NVStorageSaveData kkm_last_timestamp [22:35:42]File name is /storage/kkm_last_timestamp [22:35:42]Write 4 bytes [22:35:42]NVStorageSaveData done [22:35:42]ExternCall_PrintAddStr [22:35:42]wPrintStart [22:35:42]Write to MH i2c: 01 00 00 15 08 1D [22:35:42]Write i2c OK [22:35:42]MH_I2C_Read... [22:35:42]Read from MH i2c: 01 [22:35:42]MH_I2C_Read... [22:35:42]Read from MH i2c: 01 07 00 [22:35:42]MH_I2C_Read... [22:35:42]Read from MH i2c: 01 07 00 15 08 00 00 00 00 00 FF 0F 32 [22:35:42]RasterBufferAndPrint [22:35:42]line Счет N : (3)32925 [22:35:42]line ИНН: 02508201610067 [22:35:42]line Контрольно-Кассовый Чек [22:35:42]line ПРОДАЖА [22:35:42]line Товар: 46226624 [22:35:42]line Mentos ПВ Клубника 6*100*2 [22:35:42]line 2.000 * 10.00 [22:35:42]line = 20.00 [22:35:42]line НДС 12% НСП 1% [22:35:42]line > о реализуемом товаре [22:35:42]line ИТОГО: 20.00 [22:35:42]line НСП 1% : 0.18 [22:35:42]line НДС 12% : 2.12 [22:35:42]line Наличными: 20.00 [22:35:42]line Безнал.: 0.00 [22:35:42]line Место: АЗС № 106 "Партнер Нефть" [22:35:42]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [22:35:42]line СНО: Общий режим [22:35:42]line Чек 65 21.04.2024 22:35 [22:35:42]line Смена: 281 ФФД: 1.0 [22:35:42]line ЗНМ: 0300000004 [22:35:42]line РНМ: 0000000000100748 [22:35:42]line Версия ККМ: 001 [22:35:42]line ФМ: 0000000000965685 [22:35:42]line ФД: 12653 [22:35:42]line ФПД: 129190329388215 [22:35:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T223541&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12653&fm=129190329388215&tin=02508201610067®Number=0000000000100748&sum=2000 [22:35:42]line 0 [22:35:42]OFD Sender: Processing packet 12653 [packets to send 7, broken 6] [22:35:42]ProducePacketName [22:35:42]name=ofd_packets/00012653 [22:35:42]OFD Sender: To server: pG, [22:35:42]CommunicateWithHost lk.salyk.kg:30040 [22:35:42]ConnectInit lk.salyk.kg [22:35:42]written 0, free lines is 4095 [22:35:42]Connected sock=10 [22:35:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 25 01 00 00 B4 3F 1D 01 09 0C 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 07 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 00 00 00 00 00 07 04 06 00 D0 07 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 BD 94 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 6D 31 00 00 35 04 06 00 75 7F 77 B1 0C B7 F1 20 F4 5D F3 DB 34 C3 [22:35:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 B8 61 47 00 F8 92 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 6D 31 00 00 F4 03 04 00 3D 3D 25 66 B6 04 01 00 00 49 24 4F B8 CF 85 80 D1 [22:35:42]CommunicateWithHost err = 0 [22:35:42]CheckOFDResponse [22:35:42]1017 (14) - 77093643461234 [22:35:42]1041 (16) - 0000000000965685 [22:35:42]1040 (4) - 12653 [22:35:42]1012 (4) - 21.04.2024 16:22 [22:35:42]1206 (1) - 0 [22:35:42]OFD Sender: Remove packet 12653 [22:35:42]ProducePacketName [22:35:42]name=ofd_packets/00012653 [22:35:42]NVStorageDeleteData [22:35:42]Write to MH i2c: 01 00 00 3C 08 44 [22:35:42]Write i2c OK [22:35:42]MH_I2C_Read... [22:35:42]Read from MH i2c: 01 [22:35:42]MH_I2C_Read... [22:35:42]Read from MH i2c: 01 07 00 [22:35:42]MH_I2C_Read... [22:35:42]Read from MH i2c: 01 07 00 3C 08 00 00 00 00 00 13 0D 6B [22:35:42]RasterBufferAndPrint [22:35:42]line [22:35:42]line [22:35:42]line [22:35:42]line [22:35:42]line [22:35:42]written 0, free lines is 3355 [22:35:42]MH_Cut [22:35:42]Write to MH i2c: D1 01 00 43 08 01 1D [22:35:42]Write i2c OK [22:35:42]MH_I2C_Read... [22:35:42]Read from MH i2c: D1 [22:35:42]MH_I2C_Read... [22:35:42]Read from MH i2c: D1 01 00 [22:35:42]MH_I2C_Read... [22:35:42]Read from MH i2c: D1 01 00 43 08 00 1C [22:35:42]Write to MH i2c: 01 00 00 44 08 4C [22:35:42]Write i2c OK [22:35:42]MH_I2C_Read... [22:35:43]OFD Sender: No OFD packet to send [22:35:43]*** Cut start [22:35:43]*** Partial cut [22:35:43]*** CUTSNS_PIN = 1 [22:35:43]*** CUTSNS_PIN = 0 [22:35:43]*** Brake cut motor [22:35:44]Read from MH i2c: 01 [22:35:44]MH_I2C_Read... [22:35:44]*** Stop cut motor [22:35:44]*** Cut end [22:35:44]Read from MH i2c: 01 07 00 [22:35:44]MH_I2C_Read... [22:35:44]Read from MH i2c: 01 07 00 44 08 00 00 00 00 00 FF 0F 61 [22:35:44]process_action close_receipt done [22:35:44]requested_data is exist [22:35:44]produce_requested_data [22:35:44]requested_item fm.sn is exist - process it [22:35:44]wFMCommunicate request_size=4 [22:35:44]MH_SAM_APDU [22:35:44]CAPDU: 80 11 00 00 [22:35:44]Write to MH i2c: E2 08 00 45 08 80 11 00 00 00 00 00 00 C7 [22:35:44]Write i2c OK [22:35:44]MH_I2C_Read... [22:35:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:35:44]Read from MH i2c: E2 [22:35:44]MH_I2C_Read... [22:35:44]Read from MH i2c: E2 17 00 [22:35:44]MH_I2C_Read... [22:35:44]Read from MH i2c: E2 17 00 45 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 21 [22:35:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [22:35:44]wFMCommunicate OK [22:35:44]requested_item fd.num is exist - process it [22:35:44]SAM_PROTO_GetFieldsCounters [22:35:44]wFMCommunicate request_size=4 [22:35:44]MH_SAM_APDU [22:35:44]CAPDU: 80 13 00 00 [22:35:44]Write to MH i2c: E2 08 00 46 08 80 13 00 00 00 00 00 00 CA [22:35:44]Write i2c OK [22:35:44]MH_I2C_Read... [22:35:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:35:44]Read from MH i2c: E2 [22:35:44]MH_I2C_Read... [22:35:44]Read from MH i2c: E2 62 00 [22:35:44]MH_I2C_Read... [22:35:44]Read from MH i2c: E2 62 00 46 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 6D 31 00 00 0E 04 04 00 19 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 68 [22:35:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 6D 31 00 00 0E 04 04 00 19 01 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:35:44]wFMCommunicate OK [22:35:44]SAM_PROTO_GetFieldsCounters done [22:35:44]requested_item shift.num is exist - process it [22:35:44]requested_item shift.opened is exist - process it [22:35:44]req_shift_opened [22:35:44]FM_GetShiftState [22:35:44]SAM_PROTO_GetShiftState [22:35:44]wFMCommunicate request_size=4 [22:35:44]MH_SAM_APDU [22:35:44]CAPDU: 80 13 01 00 [22:35:44]Write to MH i2c: E2 08 00 47 08 80 13 01 00 00 00 00 00 CC [22:35:44]Write i2c OK [22:35:44]MH_I2C_Read... [22:35:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:35:44]Read from MH i2c: E2 [22:35:44]MH_I2C_Read... [22:35:44]Read from MH i2c: E2 0E 00 [22:35:44]MH_I2C_Read... [22:35:44]Read from MH i2c: E2 0E 00 47 08 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 24 [22:35:44]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [22:35:44]wFMCommunicate OK [22:35:44]SAM_PROTO_GetShiftState done [22:35:44]FM_GetShiftState done [22:35:44]req_shift_opened done [22:35:44]requested_item shift.open_date is exist - process it [22:35:44]req_shift_open_date [22:35:44]req_shift_open_date done [22:35:44]produce_requested_data done [22:35:44]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12653,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [22:35:44]process_action_free close_receipt [22:35:44]json_value_free [22:35:44]json_value_free done [22:35:44]process_json_proto returns [22:35:44]Send response to host [22:35:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12653,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [22:35:44]free response buf [22:35:44]execute_script done [22:35:44]execute_script returns [22:35:44]free content buf [22:35:44]Sock 9.Close socket [22:35:44]Sock 9.Thread stoped [22:35:48]OFD Sender: No OFD packet to send [22:35:53]OFD Sender: No OFD packet to send [22:35:58]OFD Sender: No OFD packet to send [22:36:03]OFD Sender: No OFD packet to send [22:36:08]OFD Sender: No OFD packet to send [22:36:13]OFD Sender: No OFD packet to send [22:36:18]OFD Sender: No OFD packet to send [22:36:23]OFD Sender: No OFD packet to send [22:36:28]OFD Sender: No OFD packet to send [22:36:33]OFD Sender: No OFD packet to send [22:36:38]OFD Sender: No OFD packet to send [22:36:43]OFD Sender: No OFD packet to send [22:36:48]OFD Sender: No OFD packet to send [22:36:53]OFD Sender: No OFD packet to send [22:36:58]OFD Sender: No OFD packet to send [22:37:03]OFD Sender: No OFD packet to send [22:37:08]OFD Sender: No OFD packet to send [22:37:13]OFD Sender: No OFD packet to send [22:37:18]OFD Sender: No OFD packet to send [22:37:23]OFD Sender: No OFD packet to send [22:37:28]OFD Sender: No OFD packet to send [22:37:33]OFD Sender: No OFD packet to send [22:37:38]OFD Sender: No OFD packet to send [22:37:43]OFD Sender: No OFD packet to send [22:37:48]OFD Sender: No OFD packet to send [22:37:53]OFD Sender: No OFD packet to send [22:37:58]OFD Sender: No OFD packet to send [22:38:03]OFD Sender: No OFD packet to send [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:33]OFD Sender: No OFD packet to send [22:47:38]OFD Sender: No OFD packet to send [22:47:43]OFD Sender: No OFD packet to send [22:47:48]OFD Sender: No OFD packet to send [22:47:53]OFD Sender: No OFD packet to send [22:47:58]OFD Sender: No OFD packet to send [22:48:03]OFD Sender: No OFD packet to send [22:48:08]OFD Sender: No OFD packet to send [22:48:13]OFD Sender: No OFD packet to send [22:48:18]OFD Sender: No OFD packet to send [22:48:23]OFD Sender: No OFD packet to send [22:48:28]OFD Sender: No OFD packet to send [22:48:33]OFD Sender: No OFD packet to send [22:48:38]OFD Sender: No OFD packet to send [22:48:43]OFD Sender: No OFD packet to send [22:48:48]OFD Sender: No OFD packet to send [22:48:53]OFD Sender: No OFD packet to send [22:48:58]OFD Sender: No OFD packet to send [22:49:03]OFD Sender: No OFD packet to send [22:49:08]OFD Sender: No OFD packet to send [22:49:13]OFD Sender: No OFD packet to send [22:49:18]OFD Sender: No OFD packet to send [22:49:23]OFD Sender: No OFD packet to send [22:49:28]OFD Sender: No OFD packet to send [22:49:33]OFD Sender: No OFD packet to send [22:49:38]OFD Sender: No OFD packet to send [22:49:43]OFD Sender: No OFD packet to send [22:49:48]OFD Sender: No OFD packet to send [22:49:53]OFD Sender: No OFD packet to send [22:49: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:54]OFD Sender: No OFD packet to send [22:51:59]OFD Sender: No OFD packet to send [22:52:04]OFD Sender: No OFD packet to send [22:52:09]OFD Sender: No OFD packet to send [22:52:14]OFD Sender: No OFD packet to send [22:52: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:34]OFD Sender: No OFD packet to send [22:56:39]OFD Sender: No OFD packet to send [22:56:44]OFD Sender: No OFD packet to send [22:56:49]OFD Sender: No OFD packet to send [22:56:54]OFD Sender: No OFD packet to send [22:56:59]OFD Sender: No OFD packet to send [22:57:04]OFD Sender: No OFD packet to send [22:57:09]OFD Sender: No OFD packet to send [22:57:14]OFD Sender: No OFD packet to send [22:57:19]OFD Sender: No OFD packet to send [22:57:24]OFD Sender: No OFD packet to send [22:57:29]OFD Sender: No OFD packet to send [22:57:34]OFD Sender: No OFD packet to send [22:57:39]OFD Sender: No OFD packet to send [22:57:44]OFD Sender: No OFD packet to send [22:57:49]OFD Sender: No OFD packet to send [22:57:54]OFD Sender: No OFD packet to send [22:57:59]OFD Sender: No OFD packet to send [22:58:04]OFD Sender: No OFD packet to send [22:58:09]OFD Sender: No OFD packet to send [22:58:10]accept exits with 7 [22:58:10]New connection [22:58:10]New thread 3066957156 created [22:58:10]Thread 3066813796 joined [22:58:10]Waiting for new connection... [22:58:10] Sock 7.Parse request [22:58:10]Sock 7.Check first char [22:58:10]Sock 7.First char is OK [22:58:10]request: POST /json_proto HTTP/1.0 [22:58:10]Method: POST [22:58:10]URL: /json_proto [22:58:10]Method is POST - this is cgi request [22:58:10]url: /json_proto [22:58:10]query_string will be loaded in cgi processing [22:58:10]execute_cgi json_proto POST (null) [22:58:10]execute_cgi path=json_proto method=POST [22:58:10]POST find Content-Length [22:58:10]Host: 172.17.62.6:8080 [22:58:10]Content-Length: 1184 [22:58:10]Content-Type: application/json [22:58:10] [22:58:10]POST finish read [22:58:10]Found Content-Length = 1184 [22:58:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32926", "tax_sys" : 0, "items" : [ { "code": "4870002326172", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043B\u0438\u043C\u043E\u043D \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 210.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:58:10]execute_script... [22:58:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32926", "tax_sys" : 0, "items" : [ { "code": "4870002326172", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043B\u0438\u043C\u043E\u043D \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 210.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:58:10]POST & json_proto [22:58:10]process_json_proto [22:58:10]json parsed OK: [22:58:10]protocol is kg_v1.0 [22:58:10]action value=close_receipt [22:58:10]process_action close_receipt [22:58:10]cmd_close_receipt [22:58:10]MH_GetDate [22:58:10]Write to MH i2c: F0 00 00 48 08 3F [22:58:10]Write i2c OK [22:58:10]MH_I2C_Read... [22:58:10]Read from MH i2c: F0 [22:58:10]MH_I2C_Read... [22:58:10]Read from MH i2c: F0 09 00 [22:58:10]MH_I2C_Read... [22:58:10]Read from MH i2c: F0 09 00 48 08 00 04 9A 25 66 61 69 D2 64 71 [22:58:10]GetLastDocTimeStamp 1713738941 [22:58:10]current date 1713740292 [22:58:10]FM_GetShiftState [22:58:10]SAM_PROTO_GetShiftState [22:58:10]wFMCommunicate request_size=4 [22:58:10]MH_SAM_APDU [22:58:10]CAPDU: 80 13 01 00 [22:58:10]Write to MH i2c: E2 08 00 49 08 80 13 01 00 00 00 00 00 CE [22:58:10]Write i2c OK [22:58:10]MH_I2C_Read... [22:58:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:58:10]Read from MH i2c: E2 [22:58:10]MH_I2C_Read... [22:58:10]Read from MH i2c: E2 0E 00 [22:58:10]MH_I2C_Read... [22:58:10]Read from MH i2c: E2 0E 00 49 08 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 26 [22:58:10]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [22:58:10]wFMCommunicate OK [22:58:10]SAM_PROTO_GetShiftState done [22:58:10]FM_GetShiftState done [22:58:10]opened in 1713658727 [22:58:10]opened+sec_in_day 1713745127 [22:58:10]quantity*price = 10000 [22:58:10]sum+1 = 10001 [22:58:10]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160358 Вода Легенда 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160204 Вода Легенда 1,5л 1.000 * 60.00 = 60.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 210.00 НСП 1% : 1.85 НДС 12% : 22.30 Наличными: 210.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 66 21.04.2024 22:58 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12654 ФПД: 133367663866001 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T225812&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12654&fm=133367663866001&tin=02508201610067®Number=0000000000100748&sum=21000 0 [22:58:11]StoreToDocumentArchive [22:58:11]shift 281 fd 12654 [22:58:11]save to /storage/0281/doc_00012654 [22:58:11]save last doc name /storage/0281/doc_00012654 to /storage/kkm_last_doc_name [22:58:11]save OK [22:58:11]Clear old archive folders... [22:58:11]ProcessDocumentItem done err = 0, tmpTLVsize=493 [22:58:11]tlvbuf is 0164D760 [22:58:11]SAM_PROTO_ClearQueue [22:58:11]wFMCommunicate request_size=4 [22:58:11]MH_SAM_APDU [22:58:11]CAPDU: 80 09 00 00 [22:58:11]Write to MH i2c: E2 08 00 56 08 80 09 00 00 00 00 00 00 D0 [22:58:11]Write i2c OK [22:58:11]MH_I2C_Read... [22:58:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:58:11]Read from MH i2c: E2 [22:58:11]MH_I2C_Read... [22:58:11]Read from MH i2c: E2 03 00 [22:58:11]MH_I2C_Read... [22:58:11]Read from MH i2c: E2 03 00 56 08 00 90 00 D2 [22:58:11]RAPDU: 90 00 [22:58:11]wFMCommunicate OK [22:58:11]SAM_PROTO_ClearQueue done [22:58:11]KKMCreateOFDPacket [22:58:11]OFDProtocolAddRootSTLVToBuf [22:58:11]FM_MakeSignedData [22:58:11]FM_MakeSignedData [22:58:11]SAM_PROTO_SignData [22:58:11]wFMCommunicate request_size=4 [22:58:11]MH_SAM_APDU [22:58:11]CAPDU: 80 0D 01 02 [22:58:11]Write to MH i2c: E2 08 00 57 08 80 0D 01 02 00 00 00 00 D8 [22:58:11]Write i2c OK [22:58:11]MH_I2C_Read... [22:58:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:58:12]Read from MH i2c: E2 [22:58:12]MH_I2C_Read... [22:58:12]Read from MH i2c: E2 03 00 [22:58:12]MH_I2C_Read... [22:58:12]Read from MH i2c: E2 03 00 57 08 00 90 00 D3 [22:58:12]RAPDU: 90 00 [22:58:12]wFMCommunicate OK [22:58:12]wFMCommunicate request_size=255 [22:58:12]MH_SAM_APDU [22:58:12]CAPDU: 80 0D 02 02 FA 03 00 ED 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 [22:58:12]Write to MH i2c: E2 02 01 58 08 80 0D 02 02 FA 00 03 00 ED 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 00 00 64 [22:58:12]Write i2c OK [22:58:12]MH_I2C_Read... [22:58:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:58:12]Read from MH i2c: E2 [22:58:12]MH_I2C_Read... [22:58:12]Read from MH i2c: E2 03 00 [22:58:12]MH_I2C_Read... [22:58:12]Read from MH i2c: E2 03 00 58 08 00 90 00 D4 [22:58:12]RAPDU: 90 00 [22:58:12]wFMCommunicate OK [22:58:12]wFMCommunicate request_size=252 [22:58:12]MH_SAM_APDU [22:58:12]CAPDU: 80 0D 02 02 F7 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 04 9A 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 6E 31 00 00 35 04 06 00 79 4C 14 3A B0 91 [22:58:12]Write to MH i2c: E2 FF 00 59 08 80 0D 02 02 F7 00 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 04 9A 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 6E 31 00 00 35 04 06 00 79 4C 14 3A B0 91 00 00 2D [22:58:12]Write i2c OK [22:58:12]MH_I2C_Read... [22:58:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:58:12]Read from MH i2c: E2 [22:58:12]MH_I2C_Read... [22:58:12]Read from MH i2c: E2 03 00 [22:58:12]MH_I2C_Read... [22:58:12]Read from MH i2c: E2 03 00 59 08 00 90 00 D5 [22:58:12]RAPDU: 90 00 [22:58:12]wFMCommunicate OK [22:58:12]wFMCommunicate request_size=4 [22:58:12]MH_SAM_APDU [22:58:12]CAPDU: 80 0D 03 02 [22:58:12]Write to MH i2c: E2 08 00 5A 08 80 0D 03 02 00 00 00 00 DD [22:58:12]Write i2c OK [22:58:12]MH_I2C_Read... [22:58:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:58:12]Read from MH i2c: E2 [22:58:12]MH_I2C_Read... [22:58:12]Read from MH i2c: E2 0B 00 [22:58:12]MH_I2C_Read... [22:58:12]Read from MH i2c: E2 0B 00 5A 08 00 48 8A 7B DE 67 81 4B 57 90 00 93 [22:58:12]RAPDU: 48 8A 7B DE 67 81 4B 57 90 00 [22:58:12]wFMCommunicate OK [22:58:12]SAM_PROTO_SignData done [22:58:12]FM_MakeSignedData done [22:58:12]CreateOFDProtocolMessage [22:58:12]wFMCommunicate request_size=4 [22:58:12]MH_SAM_APDU [22:58:12]CAPDU: 80 11 00 00 [22:58:12]Write to MH i2c: E2 08 00 5B 08 80 11 00 00 00 00 00 00 DD [22:58:12]Write i2c OK [22:58:12]MH_I2C_Read... [22:58:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:58:13]Read from MH i2c: E2 [22:58:13]MH_I2C_Read... [22:58:13]Read from MH i2c: E2 17 00 [22:58:13]MH_I2C_Read... [22:58:13]Read from MH i2c: E2 17 00 5B 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 37 [22:58:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [22:58:13]wFMCommunicate OK [22:58:13]CreateOFDProtocolMessage done [22:58:13]OFDSenderStorePacket 12654 [22:58:13]StoreOFDPacket docnum=12654 [22:58:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 01 02 00 00 C9 1B F9 01 D7 1A 5A 03 01 00 03 00 ED 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 04 9A 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 6E 31 00 00 35 04 06 00 79 4C 14 3A B0 91 48 8A 7B DE 67 81 4B 57 [22:58:13]CheckFolder [22:58:13]dirname=/storage/ofd_packets [22:58:13]CheckFolder done [22:58:13]ProducePacketName [22:58:13]name=ofd_packets/00012654 [22:58:13]NVStorageSaveData ofd_packets/00012654 [22:58:13]File name is /storage/ofd_packets/00012654 [22:58:13]Write 543 bytes [22:58:13]NVStorageSaveData done [22:58:13]OFDSenderStorePacket done [22:58:13]KKMCreateOFDPacket done [22:58:13]NVStorageSaveData kkm_last_timestamp [22:58:13]File name is /storage/kkm_last_timestamp [22:58:13]OFD Sender: Processing packet 12654 [packets to send 7, broken 6] [22:58:13]ProducePacketName [22:58:13]name=ofd_packets/00012654 [22:58:13]OFD Sender: To server: pG, [22:58:13]CommunicateWithHost lk.salyk.kg:30040 [22:58:13]ConnectInit lk.salyk.kg [22:58:13]Write 4 bytes [22:58:13]NVStorageSaveData done [22:58:13]ExternCall_PrintAddStr [22:58:13]wPrintStart [22:58:13]Write to MH i2c: 01 00 00 5C 08 64 [22:58:13]Write i2c OK [22:58:13]MH_I2C_Read... [22:58:13]Read from MH i2c: 01 [22:58:13]MH_I2C_Read... [22:58:13]Read from MH i2c: 01 07 00 [22:58:13]MH_I2C_Read... [22:58:13]Read from MH i2c: 01 07 00 5C 08 00 00 00 00 00 FF 0F 79 [22:58:13]RasterBufferAndPrint [22:58:13]line Счет N : (3)32926 [22:58:13]line ИНН: 02508201610067 [22:58:13]line Контрольно-Кассовый Чек [22:58:13]line ПРОДАЖА [22:58:13]line Товар: 4870002326172 [22:58:13]line Вода ASU пит н.газ лимон ПЭТ 1л [22:58:13]line 1.000 * 100.00 [22:58:13]line = 100.00 [22:58:13]line НДС 12% НСП 1% [22:58:13]line > о реализуемом товаре [22:58:13]line Товар: 4700000160358 [22:58:13]line Вода Легенда 1л [22:58:13]line 1.000 * 50.00 [22:58:13]line = 50.00 [22:58:13]line НДС 12% НСП 1% [22:58:13]line > о реализуемом товаре [22:58:13]line Товар: 4700000160204 [22:58:13]line Вода Легенда 1,5л [22:58:13]line 1.000 * 60.00 [22:58:13]line = 60.00 [22:58:13]line НДС 12% НСП 1% [22:58:13]line > о реализуемом товаре [22:58:13]line ИТОГО: 210.00 [22:58:13]line НСП 1% : 1.85 [22:58:13]line НДС 12% : 22.30 [22:58:13]line Наличными: 210.00 [22:58:13]line Безнал.: 0.00 [22:58:13]line Место: АЗС № 106 "Партнер Нефть" [22:58:13]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [22:58:13]line СНО: Общий режим [22:58:13]line Чек 66 21.04.2024 22:58 [22:58:13]line Смена: 281 ФФД: 1.0 [22:58:13]line ЗНМ: 0300000004 [22:58:13]line РНМ: 0000000000100748 [22:58:13]line Версия ККМ: 001 [22:58:13]line ФМ: 0000000000965685 [22:58:13]line ФД: 12654 [22:58:13]line ФПД: 133367663866001 [22:58:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T225812&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12654&fm=133367663866001&tin=02508201610067®Number=0000000000100748&sum=21000 [22:58:13]line 0 [22:58:13]written 0, free lines is 4095 [22:58:13]Connected sock=11 [22:58:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 01 02 00 00 C9 1B F9 01 D7 1A 5A 03 01 00 03 00 ED 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 04 9A 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 6E 31 00 00 35 04 06 00 79 4C 14 3A B0 91 48 8A 7B DE 67 81 4B 57 [22:58:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 D1 C2 47 00 A4 AB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 6E 31 00 00 F4 03 04 00 84 42 25 66 B6 04 01 00 00 82 BC CB 0D C0 77 E6 66 [22:58:13]CommunicateWithHost err = 0 [22:58:13]CheckOFDResponse [22:58:13]1017 (14) - 77093643461234 [22:58:13]1041 (16) - 0000000000965685 [22:58:13]1040 (4) - 12654 [22:58:13]1012 (4) - 21.04.2024 16:44 [22:58:13]1206 (1) - 0 [22:58:13]OFD Sender: Remove packet 12654 [22:58:13]ProducePacketName [22:58:13]name=ofd_packets/00012654 [22:58:13]NVStorageDeleteData [22:58:13]Write to MH i2c: 01 00 00 90 08 98 [22:58:13]Write i2c OK [22:58:13]MH_I2C_Read... [22:58:13]Read from MH i2c: 01 [22:58:13]MH_I2C_Read... [22:58:13]Read from MH i2c: 01 07 00 [22:58:13]MH_I2C_Read... [22:58:13]Read from MH i2c: 01 07 00 90 08 00 00 00 00 00 37 0C E2 [22:58:13]RasterBufferAndPrint [22:58:13]line [22:58:13]line [22:58:13]line [22:58:13]line [22:58:13]line [22:58:13]written 0, free lines is 3133 [22:58:13]MH_Cut [22:58:13]Write to MH i2c: D1 01 00 97 08 01 71 [22:58:13]Write i2c OK [22:58:13]MH_I2C_Read... [22:58:13]Read from MH i2c: D1 [22:58:13]MH_I2C_Read... [22:58:13]Read from MH i2c: D1 01 00 [22:58:13]MH_I2C_Read... [22:58:13]Read from MH i2c: D1 01 00 97 08 00 70 [22:58:13]Write to MH i2c: 01 00 00 98 08 A0 [22:58:13]Write i2c OK [22:58:13]MH_I2C_Read... [22:58:14]OFD Sender: No OFD packet to send [22:58:14]*** Cut start [22:58:14]*** Partial cut [22:58:14]*** CUTSNS_PIN = 1 [22:58:14]*** CUTSNS_PIN = 0 [22:58:15]*** Brake cut motor [22:58:15]Read from MH i2c: 01 [22:58:15]MH_I2C_Read... [22:58:15]*** Stop cut motor [22:58:15]*** Cut end [22:58:15]Read from MH i2c: 01 07 00 [22:58:15]MH_I2C_Read... [22:58:15]Read from MH i2c: 01 07 00 98 08 00 00 00 00 00 FF 0F B5 [22:58:15]process_action close_receipt done [22:58:15]requested_data is exist [22:58:15]produce_requested_data [22:58:15]requested_item fm.sn is exist - process it [22:58:15]wFMCommunicate request_size=4 [22:58:15]MH_SAM_APDU [22:58:15]CAPDU: 80 11 00 00 [22:58:15]Write to MH i2c: E2 08 00 99 08 80 11 00 00 00 00 00 00 1B [22:58:15]Write i2c OK [22:58:15]MH_I2C_Read... [22:58:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:58:15]Read from MH i2c: E2 [22:58:15]MH_I2C_Read... [22:58:15]Read from MH i2c: E2 17 00 [22:58:15]MH_I2C_Read... [22:58:15]Read from MH i2c: E2 17 00 99 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 75 [22:58:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [22:58:15]wFMCommunicate OK [22:58:15]requested_item fd.num is exist - process it [22:58:15]SAM_PROTO_GetFieldsCounters [22:58:15]wFMCommunicate request_size=4 [22:58:15]MH_SAM_APDU [22:58:15]CAPDU: 80 13 00 00 [22:58:15]Write to MH i2c: E2 08 00 9A 08 80 13 00 00 00 00 00 00 1E [22:58:15]Write i2c OK [22:58:15]MH_I2C_Read... [22:58:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:58:15]Read from MH i2c: E2 [22:58:15]MH_I2C_Read... [22:58:15]Read from MH i2c: E2 62 00 [22:58:15]MH_I2C_Read... [22:58:15]Read from MH i2c: E2 62 00 9A 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 6E 31 00 00 0E 04 04 00 19 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 C0 [22:58:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 6E 31 00 00 0E 04 04 00 19 01 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:58:15]wFMCommunicate OK [22:58:15]SAM_PROTO_GetFieldsCounters done [22:58:15]requested_item shift.num is exist - process it [22:58:15]requested_item shift.opened is exist - process it [22:58:15]req_shift_opened [22:58:15]FM_GetShiftState [22:58:15]SAM_PROTO_GetShiftState [22:58:15]wFMCommunicate request_size=4 [22:58:15]MH_SAM_APDU [22:58:15]CAPDU: 80 13 01 00 [22:58:15]Write to MH i2c: E2 08 00 9B 08 80 13 01 00 00 00 00 00 20 [22:58:15]Write i2c OK [22:58:15]MH_I2C_Read... [22:58:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:58:15]Read from MH i2c: E2 [22:58:15]MH_I2C_Read... [22:58:15]Read from MH i2c: E2 0E 00 [22:58:15]MH_I2C_Read... [22:58:15]Read from MH i2c: E2 0E 00 9B 08 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 78 [22:58:15]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [22:58:15]wFMCommunicate OK [22:58:15]SAM_PROTO_GetShiftState done [22:58:15]FM_GetShiftState done [22:58:15]req_shift_opened done [22:58:15]requested_item shift.open_date is exist - process it [22:58:15]req_shift_open_date [22:58:15]req_shift_open_date done [22:58:15]produce_requested_data done [22:58:15]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12654,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [22:58:15]process_action_free close_receipt [22:58:15]json_value_free [22:58:15]json_value_free done [22:58:15]process_json_proto returns [22:58:15]Send response to host [22:58:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12654,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [22:58:15]free response buf [22:58:15]execute_script done [22:58:15]execute_script returns [22:58:15]free content buf [22:58:15]Sock 7.Close socket [22:58:15]Sock 7.Thread stoped [22:58:19]OFD Sender: No OFD packet to send [22:58:24]OFD Sender: No OFD packet to send [22:58:29]OFD Sender: No OFD packet to send [22:58:34]OFD Sender: No OFD packet to send [22:58:39]OFD Sender: No OFD packet to send [22:58:44]OFD Sender: No OFD packet to send [22:58:49]OFD Sender: No OFD packet to send [22:58:54]OFD Sender: No OFD packet to send [22:58:59]OFD Sender: No OFD packet to send [22:59:04]OFD Sender: No OFD packet to send [22:59:09]OFD Sender: No OFD packet to send [22:59:14]OFD Sender: No OFD packet to send [22:59:19]OFD Sender: No OFD packet to send [22:59:24]OFD Sender: No OFD packet to send [22:59:29]OFD Sender: No OFD packet to send [22:59:34]OFD Sender: No OFD packet to send [22:59:39]OFD Sender: No OFD packet to send [22:59:44]OFD Sender: No OFD packet to send [22:59:49]OFD Sender: No OFD packet to send [22:59:54]OFD Sender: No OFD packet to send [22:59:59]OFD Sender: No OFD packet to send [23:00:04]OFD Sender: No OFD packet to send [23:00:09]OFD Sender: No OFD packet to send [23:00:14]OFD Sender: No OFD packet to send [23:00:19]OFD Sender: No OFD packet to send [23:00:24]OFD Sender: No OFD packet to send [23:00:29]OFD Sender: No OFD packet to send [23:00:34]OFD Sender: No OFD packet to send [23:00:39]OFD Sender: No OFD packet to send [23:00:44]OFD Sender: No OFD packet to send [23:00:49]OFD Sender: No OFD packet to send [23:00:54]OFD Sender: No OFD packet to send [23:00:59]OFD Sender: No OFD packet to send [23:01:04]OFD Sender: No OFD packet to send [23:01:09]OFD Sender: No OFD packet to send [23:01:14]OFD Sender: No OFD packet to send [23:01:19]OFD Sender: No OFD packet to send [23:01:24]OFD Sender: No OFD packet to send [23:01:29]OFD Sender: No OFD packet to send [23:01:34]OFD Sender: No OFD packet to send [23:01:39]OFD Sender: No OFD packet to send [23:01:44]OFD Sender: No OFD packet to send [23:01:49]OFD Sender: No OFD packet to send [23:01:54]OFD Sender: No OFD packet to send [23:01:59]OFD Sender: No OFD packet to send [23:02:04]OFD Sender: No OFD packet to send [23:02:09]OFD Sender: No OFD packet to send [23:02:14]OFD Sender: No OFD packet to send [23:02:19]OFD Sender: No OFD packet to send [23:02:24]OFD Sender: No OFD packet to send [23:02:29]OFD Sender: No OFD packet to send [23:02:34]OFD Sender: No OFD packet to send [23:02:39]OFD Sender: No OFD packet to send [23:02:44]OFD Sender: No OFD packet to send [23:02:49]OFD Sender: No OFD packet to send [23:02:54]OFD Sender: No OFD packet to send [23:02:59]OFD Sender: No OFD packet to send [23:03:04]OFD Sender: No OFD packet to send [23:03:09]OFD Sender: No OFD packet to send [23:03:14]OFD Sender: No OFD packet to send [23:03:19]OFD Sender: No OFD packet to send [23:03:24]OFD Sender: No OFD packet to send [23:03:29]OFD Sender: No OFD packet to send [23:03:34]OFD Sender: No OFD packet to send [23:03:39]OFD Sender: No OFD packet to send [23:03:44]OFD Sender: No OFD packet to send [23:03:49]OFD Sender: No OFD packet to send [23:03:54]OFD Sender: No OFD packet to send [23:03:59]OFD Sender: No OFD packet to send [23:04:04]OFD Sender: No OFD packet to send [23:04:09]OFD Sender: No OFD packet to send [23:04:14]OFD Sender: No OFD packet to send [23:04:19]OFD Sender: No OFD packet to send [23:04:24]OFD Sender: No OFD packet to send [23:04:29]OFD Sender: No OFD packet to send [23:04:34]OFD Sender: No OFD packet to send [23:04:39]OFD Sender: No OFD packet to send [23:04:44]OFD Sender: No OFD packet to send [23:04:49]OFD Sender: No OFD packet to send [23:04:54]OFD Sender: No OFD packet to send [23:04:59]OFD Sender: No OFD packet to send [23:05:04]OFD Sender: No OFD packet to send [23:05:09]OFD Sender: No OFD packet to send [23:05:14]OFD Sender: No OFD packet to send [23:05:19]OFD Sender: No OFD packet to send [23:05:24]OFD Sender: No OFD packet to send [23:05:29]OFD Sender: No OFD packet to send [23:05:34]OFD Sender: No OFD packet to send [23:05:39]OFD Sender: No OFD packet to send [23:05:44]OFD Sender: No OFD packet to send [23:05:49]OFD Sender: No OFD packet to send [23:05:54]OFD Sender: No OFD packet to send [23:05:59]OFD Sender: No OFD packet to send [23:06:04]OFD Sender: No OFD packet to send [23:06:09]OFD Sender: No OFD packet to send [23:06:14]OFD Sender: No OFD packet to send [23:06:19]OFD Sender: No OFD packet to send [23:06:24]OFD Sender: No OFD packet to send [23:06:29]OFD Sender: No OFD packet to send [23:06:34]OFD Sender: No OFD packet to send [23:06:39]OFD Sender: No OFD packet to send [23:06:44]OFD Sender: No OFD packet to send [23:06:49]OFD Sender: No OFD packet to send [23:06:54]OFD Sender: No OFD packet to send [23:06:59]OFD Sender: No OFD packet to send [23:07:04]OFD Sender: No OFD packet to send [23:07:09]OFD Sender: No OFD packet to send [23:07:14]OFD Sender: No OFD packet to send [23:07:19]OFD Sender: No OFD packet to send [23:07:24]OFD Sender: No OFD packet to send [23:07:29]OFD Sender: No OFD packet to send [23:07:34]OFD Sender: No OFD packet to send [23:07:39]OFD Sender: No OFD packet to send [23:07:44]OFD Sender: No OFD packet to send [23:07:49]OFD Sender: No OFD packet to send [23:07:54]OFD Sender: No OFD packet to send [23:07:59]OFD Sender: No OFD packet to send [23:08:04]OFD Sender: No OFD packet to send [23:08:09]OFD Sender: No OFD packet to send [23:08:14]OFD Sender: No OFD packet to send [23:08:19]OFD Sender: No OFD packet to send [23:08:24]OFD Sender: No OFD packet to send [23:08:29]OFD Sender: No OFD packet to send [23:08:34]OFD Sender: No OFD packet to send [23:08:39]OFD Sender: No OFD packet to send [23:08:44]OFD Sender: No OFD packet to send [23:08:49]OFD Sender: No OFD packet to send [23:08:54]OFD Sender: No OFD packet to send [23:08:59]OFD Sender: No OFD packet to send [23:09:04]OFD Sender: No OFD packet to send [23:09:09]OFD Sender: No OFD packet to send [23:09:14]OFD Sender: No OFD packet to send [23:09:19]OFD Sender: No OFD packet to send [23:09:24]OFD Sender: No OFD packet to send [23:09:29]OFD Sender: No OFD packet to send [23:09:34]OFD Sender: No OFD packet to send [23:09:39]OFD Sender: No OFD packet to send [23:09:44]OFD Sender: No OFD packet to send [23:09:49]OFD Sender: No OFD packet to send [23:09:54]OFD Sender: No OFD packet to send [23:09:59]OFD Sender: No OFD packet to send [23:10:04]OFD Sender: No OFD packet to send [23:10:09]OFD Sender: No OFD packet to send [23:10:14]OFD Sender: No OFD packet to send [23:10:19]OFD Sender: No OFD packet to send [23:10:24]OFD Sender: No OFD packet to send [23:10:29]OFD Sender: No OFD packet to send [23:10:34]OFD Sender: No OFD packet to send [23:10:39]OFD Sender: No OFD packet to send [23:10:44]OFD Sender: No OFD packet to send [23:10:49]OFD Sender: No OFD packet to send [23:10:54]OFD Sender: No OFD packet to send [23:10:59]OFD Sender: No OFD packet to send [23:11:04]OFD Sender: No OFD packet to send [23:11:09]OFD Sender: No OFD packet to send [23:11:14]OFD Sender: No OFD packet to send [23:11:19]OFD Sender: No OFD packet to send [23:11:24]OFD Sender: No OFD packet to send [23:11:29]OFD Sender: No OFD packet to send [23:11:34]OFD Sender: No OFD packet to send [23:11:39]OFD Sender: No OFD packet to send [23:11:44]OFD Sender: No OFD packet to send [23:11:49]OFD Sender: No OFD packet to send [23:11:54]OFD Sender: No OFD packet to send [23:11:59]OFD Sender: No OFD packet to send [23:12:04]OFD Sender: No OFD packet to send [23:12:09]OFD Sender: No OFD packet to send [23:12:14]OFD Sender: No OFD packet to send [23:12:19]OFD Sender: No OFD packet to send [23:12:24]OFD Sender: No OFD packet to send [23:12:29]OFD Sender: No OFD packet to send [23:12:34]OFD Sender: No OFD packet to send [23:12:39]OFD Sender: No OFD packet to send [23:12:44]OFD Sender: No OFD packet to send [23:12:49]OFD Sender: No OFD packet to send [23:12:54]OFD Sender: No OFD packet to send [23:12:59]OFD Sender: No OFD packet to send [23:13:04]OFD Sender: No OFD packet to send [23:13:09]OFD Sender: No OFD packet to send [23:13:14]OFD Sender: No OFD packet to send [23:13:19]OFD Sender: No OFD packet to send [23:13:24]OFD Sender: No OFD packet to send [23:13:29]OFD Sender: No OFD packet to send [23:13:34]OFD Sender: No OFD packet to send [23:13:39]OFD Sender: No OFD packet to send [23:13:44]OFD Sender: No OFD packet to send [23:13:49]OFD Sender: No OFD packet to send [23:13:54]OFD Sender: No OFD packet to send [23:13:59]OFD Sender: No OFD packet to send [23:14:04]OFD Sender: No OFD packet to send [23:14:09]OFD Sender: No OFD packet to send [23:14:14]OFD Sender: No OFD packet to send [23:14:19]OFD Sender: No OFD packet to send [23:14:24]OFD Sender: No OFD packet to send [23:14:29]OFD Sender: No OFD packet to send [23:14:34]OFD Sender: No OFD packet to send [23:14:39]OFD Sender: No OFD packet to send [23:14:44]OFD Sender: No OFD packet to send [23:14:49]OFD Sender: No OFD packet to send [23:14:54]OFD Sender: No OFD packet to send [23:14:59]OFD Sender: No OFD packet to send [23:15:04]OFD Sender: No OFD packet to send [23:15:09]OFD Sender: No OFD packet to send [23:15:14]OFD Sender: No OFD packet to send [23:15:19]OFD Sender: No OFD packet to send [23:15:24]OFD Sender: No OFD packet to send [23:15:29]OFD Sender: No OFD packet to send [23:15:34]OFD Sender: No OFD packet to send [23:15:39]OFD Sender: No OFD packet to send [23:15:44]OFD Sender: No OFD packet to send [23:15:49]OFD Sender: No OFD packet to send [23:15:54]OFD Sender: No OFD packet to send [23:15:59]OFD Sender: No OFD packet to send [23:16:04]OFD Sender: No OFD packet to send [23:16:09]OFD Sender: No OFD packet to send [23:16:14]OFD Sender: No OFD packet to send [23:16:19]OFD Sender: No OFD packet to send [23:16:24]OFD Sender: No OFD packet to send [23:16:29]OFD Sender: No OFD packet to send [23:16:34]OFD Sender: No OFD packet to send [23:16:39]OFD Sender: No OFD packet to send [23:16:44]OFD Sender: No OFD packet to send [23:16:49]OFD Sender: No OFD packet to send [23:16:54]OFD Sender: No OFD packet to send [23:16:59]OFD Sender: No OFD packet to send [23:17:04]OFD Sender: No OFD packet to send [23:17:09]OFD Sender: No OFD packet to send [23:17:14]OFD Sender: No OFD packet to send [23:17:19]OFD Sender: No OFD packet to send [23:17:24]OFD Sender: No OFD packet to send [23:17:29]OFD Sender: No OFD packet to send [23:17:34]OFD Sender: No OFD packet to send [23:17: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:55]OFD Sender: No OFD packet to send [23:18:00]OFD Sender: No OFD packet to send [23:18:05]OFD Sender: No OFD packet to send [23:18:10]OFD Sender: No OFD packet to send [23:18:15]OFD Sender: No OFD packet to send [23:18:20]OFD Sender: No OFD packet to send [23:18:25]OFD Sender: No OFD packet to send [23:18:30]OFD Sender: No OFD packet to send [23:18:35]OFD Sender: No OFD packet to send [23:18:40]OFD Sender: No OFD packet to send [23:18:45]OFD Sender: No OFD packet to send [23:18:50]OFD Sender: No OFD packet to send [23:18:55]OFD Sender: No OFD packet to send [23:19:00]OFD Sender: No OFD packet to send [23:19:05]OFD Sender: No OFD packet to send [23:19:10]OFD Sender: No OFD packet to send [23:19:15]OFD Sender: No OFD packet to send [23:19:20]OFD Sender: No OFD packet to send [23:19:25]OFD Sender: No OFD packet to send [23:19:30]OFD Sender: No OFD packet to send [23:19:35]OFD Sender: No OFD packet to send [23:19:40]OFD Sender: No OFD packet to send [23:19:45]OFD Sender: No OFD packet to send [23:19:50]OFD Sender: No OFD packet to send [23:19:55]OFD Sender: No OFD packet to send [23:20:00]OFD Sender: No OFD packet to send [23:20:05]OFD Sender: No OFD packet to send [23:20:10]OFD Sender: No OFD packet to send [23:20:15]OFD Sender: No OFD packet to send [23:20:20]OFD Sender: No OFD packet to send [23:20:25]OFD Sender: No OFD packet to send [23:20:30]OFD Sender: No OFD packet to send [23:20:35]OFD Sender: No OFD packet to send [23:20:40]OFD Sender: No OFD packet to send [23:20:45]OFD Sender: No OFD packet to send [23:20:50]OFD Sender: No OFD packet to send [23:20:55]OFD Sender: No OFD packet to send [23:21:00]OFD Sender: No OFD packet to send [23:21:05]OFD Sender: No OFD packet to send [23:21:10]OFD Sender: No OFD packet to send [23:21:15]OFD Sender: No OFD packet to send [23:21:20]OFD Sender: No OFD packet to send [23:21:25]OFD Sender: No OFD packet to send [23:21:30]OFD Sender: No OFD packet to send [23:21:35]OFD Sender: No OFD packet to send [23:21:40]OFD Sender: No OFD packet to send [23:21:45]OFD Sender: No OFD packet to send [23:21:50]OFD Sender: No OFD packet to send [23:21:55]OFD Sender: No OFD packet to send [23:22:00]OFD Sender: No OFD packet to send [23:22:05]OFD Sender: No OFD packet to send [23:22:10]OFD Sender: No OFD packet to send [23:22:15]OFD Sender: No OFD packet to send [23:22:20]OFD Sender: No OFD packet to send [23:22:25]OFD Sender: No OFD packet to send [23:22:30]OFD Sender: No OFD packet to send [23:22:35]OFD Sender: No OFD packet to send [23:22:40]OFD Sender: No OFD packet to send [23:22:45]OFD Sender: No OFD packet to send [23:22:50]OFD Sender: No OFD packet to send [23:22:55]OFD Sender: No OFD packet to send [23:23:00]OFD Sender: No OFD packet to send [23:23:05]OFD Sender: No OFD packet to send [23:23:10]OFD Sender: No OFD packet to send [23:23:15]OFD Sender: No OFD packet to send [23:23:20]OFD Sender: No OFD packet to send [23:23:25]OFD Sender: No OFD packet to send [23:23:30]OFD Sender: No OFD packet to send [23:23:35]OFD Sender: No OFD packet to send [23:23:40]OFD Sender: No OFD packet to send [23:23:45]OFD Sender: No OFD packet to send [23:23:50]OFD Sender: No OFD packet to send [23:23:55]OFD Sender: No OFD packet to send [23:24:00]OFD Sender: No OFD packet to send [23:24:05]OFD Sender: No OFD packet to send [23:24:10]OFD Sender: No OFD packet to send [23:24:15]OFD Sender: No OFD packet to send [23:24:20]OFD Sender: No OFD packet to send [23:24:25]OFD Sender: No OFD packet to send [23:24:30]OFD Sender: No OFD packet to send [23:24:35]OFD Sender: No OFD packet to send [23:24:40]OFD Sender: No OFD packet to send [23:24:45]OFD Sender: No OFD packet to send [23:24:50]OFD Sender: No OFD packet to send [23:24:55]OFD Sender: No OFD packet to send [23:25:00]OFD Sender: No OFD packet to send [23:25:05]OFD Sender: No OFD packet to send [23:25:10]OFD Sender: No OFD packet to send [23:25:15]OFD Sender: No OFD packet to send [23:25:20]OFD Sender: No OFD packet to send [23:25:25]OFD Sender: No OFD packet to send [23:25:30]OFD Sender: No OFD packet to send [23:25:35]OFD Sender: No OFD packet to send [23:25:40]OFD Sender: No OFD packet to send [23:25:45]OFD Sender: No OFD packet to send [23:25:50]OFD Sender: No OFD packet to send [23:25:55]OFD Sender: No OFD packet to send [23:26:00]OFD Sender: No OFD packet to send [23:26:05]OFD Sender: No OFD packet to send [23:26:10]OFD Sender: No OFD packet to send [23:26:15]OFD Sender: No OFD packet to send [23:26:20]OFD Sender: No OFD packet to send [23:26:25]OFD Sender: No OFD packet to send [23:26:30]OFD Sender: No OFD packet to send [23:26:35]OFD Sender: No OFD packet to send [23:26:40]OFD Sender: No OFD packet to send [23:26:45]OFD Sender: No OFD packet to send [23:26:50]OFD Sender: No OFD packet to send [23:26:55]OFD Sender: No OFD packet to send [23:27:00]OFD Sender: No OFD packet to send [23:27:05]OFD Sender: No OFD packet to send [23:27:10]OFD Sender: No OFD packet to send [23:27:15]OFD Sender: No OFD packet to send [23:27:20]OFD Sender: No OFD packet to send [23:27:25]OFD Sender: No OFD packet to send [23:27:30]OFD Sender: No OFD packet to send [23:27:35]OFD Sender: No OFD packet to send [23:27:40]OFD Sender: No OFD packet to send [23:27:45]OFD Sender: No OFD packet to send [23:27:50]OFD Sender: No OFD packet to send [23:27:55]OFD Sender: No OFD packet to send [23:28:00]OFD Sender: No OFD packet to send [23:28:05]OFD Sender: No OFD packet to send [23:28:10]OFD Sender: No OFD packet to send [23:28:15]OFD Sender: No OFD packet to send [23:28:20]OFD Sender: No OFD packet to send [23:28:25]OFD Sender: No OFD packet to send [23:28:30]OFD Sender: No OFD packet to send [23:28:35]OFD Sender: No OFD packet to send [23:28:40]OFD Sender: No OFD packet to send [23:28:45]OFD Sender: No OFD packet to send [23:28:50]OFD Sender: No OFD packet to send [23:28:55]OFD Sender: No OFD packet to send [23:29:00]OFD Sender: No OFD packet to send [23:29:05]OFD Sender: No OFD packet to send [23:29:10]OFD Sender: No OFD packet to send [23:29:15]OFD Sender: No OFD packet to send [23:29:20]OFD Sender: No OFD packet to send [23:29:25]OFD Sender: No OFD packet to send [23:29:30]OFD Sender: No OFD packet to send [23:29:35]OFD Sender: No OFD packet to send [23:29:38]accept exits with 9 [23:29:38]New connection [23:29:38]New thread 3066813796 created [23:29:38]Thread 3066957156 joined [23:29:38]Waiting for new connection... [23:29:38] Sock 9.Parse request [23:29:38]Sock 9.Check first char [23:29:38]Sock 9.First char is OK [23:29:38]request: POST /json_proto HTTP/1.0 [23:29:38]Method: POST [23:29:38]URL: /json_proto [23:29:38]Method is POST - this is cgi request [23:29:38]url: /json_proto [23:29:38]query_string will be loaded in cgi processing [23:29:38]execute_cgi json_proto POST (null) [23:29:38]execute_cgi path=json_proto method=POST [23:29:38]POST find Content-Length [23:29:38]Host: 172.17.62.6:8080 [23:29:38]Content-Length: 625 [23:29:38]Content-Type: application/json [23:29:38] [23:29:38]POST finish read [23:29:38]Found Content-Length = 625 [23:29:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32927", "tax_sys" : 0, "items" : [ { "code": "48745895", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B RICHMOND KS GOLD EDITION", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:29:38]execute_script... [23:29:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32927", "tax_sys" : 0, "items" : [ { "code": "48745895", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B RICHMOND KS GOLD EDITION", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:29:38]POST & json_proto [23:29:38]process_json_proto [23:29:38]json parsed OK: [23:29:38]protocol is kg_v1.0 [23:29:38]action value=close_receipt [23:29:38]process_action close_receipt [23:29:38]cmd_close_receipt [23:29:38]MH_GetDate [23:29:38]Write to MH i2c: F0 00 00 9C 08 93 [23:29:38]Write i2c OK [23:29:38]MH_I2C_Read... [23:29:38]Read from MH i2c: F0 [23:29:38]MH_I2C_Read... [23:29:38]Read from MH i2c: F0 09 00 [23:29:38]MH_I2C_Read... [23:29:38]Read from MH i2c: F0 09 00 9C 08 00 63 A1 25 66 61 69 D2 64 2B [23:29:38]GetLastDocTimeStamp 1713740292 [23:29:38]current date 1713742179 [23:29:38]FM_GetShiftState [23:29:38]SAM_PROTO_GetShiftState [23:29:38]wFMCommunicate request_size=4 [23:29:38]MH_SAM_APDU [23:29:38]CAPDU: 80 13 01 00 [23:29:38]Write to MH i2c: E2 08 00 9D 08 80 13 01 00 00 00 00 00 22 [23:29:38]Write i2c OK [23:29:38]MH_I2C_Read... [23:29:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:29:38]Read from MH i2c: E2 [23:29:38]MH_I2C_Read... [23:29:38]Read from MH i2c: E2 0E 00 [23:29:38]MH_I2C_Read... [23:29:38]Read from MH i2c: E2 0E 00 9D 08 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 7A [23:29:38]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [23:29:38]wFMCommunicate OK [23:29:38]SAM_PROTO_GetShiftState done [23:29:38]FM_GetShiftState done [23:29:38]opened in 1713658727 [23:29:38]opened+sec_in_day 1713745127 [23:29:38]quantity*price = 15000 [23:29:38]sum+1 = 15001 [23:29:38]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 150.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 67 21.04.2024 23:29 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12655 ФПД: 14509333507338 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T232940&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12655&fm=14509333507338&tin=02508201610067®Number=0000000000100748&sum=15000 0 [23:29:39]StoreToDocumentArchive [23:29:39]shift 281 fd 12655 [23:29:39]save to /storage/0281/doc_00012655 [23:29:39]save last doc name /storage/0281/doc_00012655 to /storage/kkm_last_doc_name [23:29:39]save OK [23:29:39]Clear old archive folders... [23:29:39]ProcessDocumentItem done err = 0, tmpTLVsize=278 [23:29:39]tlvbuf is 016C0020 [23:29:39]SAM_PROTO_ClearQueue [23:29:39]wFMCommunicate request_size=4 [23:29:39]MH_SAM_APDU [23:29:39]CAPDU: 80 09 00 00 [23:29:39]Write to MH i2c: E2 08 00 AA 08 80 09 00 00 00 00 00 00 24 [23:29:39]Write i2c OK [23:29:39]MH_I2C_Read... [23:29:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:29:39]Read from MH i2c: E2 [23:29:39]MH_I2C_Read... [23:29:39]Read from MH i2c: E2 03 00 [23:29:39]MH_I2C_Read... [23:29:39]Read from MH i2c: E2 03 00 AA 08 00 90 00 26 [23:29:39]RAPDU: 90 00 [23:29:39]wFMCommunicate OK [23:29:39]SAM_PROTO_ClearQueue done [23:29:39]KKMCreateOFDPacket [23:29:39]OFDProtocolAddRootSTLVToBuf [23:29:39]FM_MakeSignedData [23:29:39]FM_MakeSignedData [23:29:39]SAM_PROTO_SignData [23:29:39]wFMCommunicate request_size=4 [23:29:39]MH_SAM_APDU [23:29:39]CAPDU: 80 0D 01 02 [23:29:39]Write to MH i2c: E2 08 00 AB 08 80 0D 01 02 00 00 00 00 2C [23:29:39]Write i2c OK [23:29:39]MH_I2C_Read... [23:29:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:29:39]Read from MH i2c: E2 [23:29:39]MH_I2C_Read... [23:29:39]Read from MH i2c: E2 03 00 [23:29:39]MH_I2C_Read... [23:29:39]Read from MH i2c: E2 03 00 AB 08 00 90 00 27 [23:29:39]RAPDU: 90 00 [23:29:39]wFMCommunicate OK [23:29:39]wFMCommunicate request_size=255 [23:29:39]MH_SAM_APDU [23:29:39]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 35 38 39 35 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 49 43 48 4D 4F 4E 44 20 4B 53 20 47 4F 4C 44 20 45 44 49 54 49 4F 4E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 64 A1 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 [23:29:39]Write to MH i2c: E2 02 01 AC 08 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 35 38 39 35 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 49 43 48 4D 4F 4E 44 20 4B 53 20 47 4F 4C 44 20 45 44 49 54 49 4F 4E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 64 A1 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 00 00 B9 [23:29:39]Write i2c OK [23:29:39]MH_I2C_Read... [23:29:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:29:39]Read from MH i2c: E2 [23:29:39]MH_I2C_Read... [23:29:39]Read from MH i2c: E2 03 00 [23:29:39]MH_I2C_Read... [23:29:39]Read from MH i2c: E2 03 00 AC 08 00 90 00 28 [23:29:39]RAPDU: 90 00 [23:29:39]wFMCommunicate OK [23:29:39]wFMCommunicate request_size=37 [23:29:39]MH_SAM_APDU [23:29:39]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 6F 31 00 00 35 04 06 00 0D 32 37 AB 6D 0A [23:29:39]Write to MH i2c: E2 28 00 AD 08 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 6F 31 00 00 35 04 06 00 0D 32 37 AB 6D 0A 00 00 C5 [23:29:39]Write i2c OK [23:29:39]MH_I2C_Read... [23:29:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:29:39]Read from MH i2c: E2 [23:29:39]MH_I2C_Read... [23:29:39]Read from MH i2c: E2 03 00 [23:29:39]MH_I2C_Read... [23:29:39]Read from MH i2c: E2 03 00 AD 08 00 90 00 29 [23:29:39]RAPDU: 90 00 [23:29:39]wFMCommunicate OK [23:29:39]wFMCommunicate request_size=4 [23:29:39]MH_SAM_APDU [23:29:39]CAPDU: 80 0D 03 02 [23:29:39]Write to MH i2c: E2 08 00 AE 08 80 0D 03 02 00 00 00 00 31 [23:29:39]Write i2c OK [23:29:39]MH_I2C_Read... [23:29:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:29:39]Read from MH i2c: E2 [23:29:39]MH_I2C_Read... [23:29:39]Read from MH i2c: E2 0B 00 [23:29:39]MH_I2C_Read... [23:29:39]Read from MH i2c: E2 0B 00 AE 08 00 40 02 94 E3 25 5B AC FE 90 00 15 [23:29:39]RAPDU: 40 02 94 E3 25 5B AC FE 90 00 [23:29:39]wFMCommunicate OK [23:29:39]SAM_PROTO_SignData done [23:29:39]FM_MakeSignedData done [23:29:39]CreateOFDProtocolMessage [23:29:39]wFMCommunicate request_size=4 [23:29:39]MH_SAM_APDU [23:29:39]CAPDU: 80 11 00 00 [23:29:39]Write to MH i2c: E2 08 00 AF 08 80 11 00 00 00 00 00 00 31 [23:29:39]Write i2c OK [23:29:39]MH_I2C_Read... [23:29:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:29:39]Read from MH i2c: E2 [23:29:39]MH_I2C_Read... [23:29:39]Read from MH i2c: E2 17 00 [23:29:39]MH_I2C_Read... [23:29:39]Read from MH i2c: E2 17 00 AF 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 8B [23:29:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [23:29:39]wFMCommunicate OK [23:29:39]CreateOFDProtocolMessage done [23:29:39]OFDSenderStorePacket 12655 [23:29:39]StoreOFDPacket docnum=12655 [23:29:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2A 01 00 00 F0 B1 22 01 46 4E 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 35 38 39 35 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 49 43 48 4D 4F 4E 44 20 4B 53 20 47 4F 4C 44 20 45 44 49 54 49 4F 4E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 64 A1 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 6F 31 00 00 35 04 06 00 0D 32 37 AB 6D 0A 40 02 94 E3 25 5B AC FE [23:29:39]CheckFolder [23:29:39]dirname=/storage/ofd_packets [23:29:39]CheckFolder done [23:29:39]ProducePacketName [23:29:39]name=ofd_packets/00012655 [23:29:39]NVStorageSaveData ofd_packets/00012655 [23:29:39]File name is /storage/ofd_packets/00012655 [23:29:39]Write 328 bytes [23:29:39]NVStorageSaveData done [23:29:39]OFDSenderStorePacket done [23:29:39]KKMCreateOFDPacket done [23:29:39]NVStorageSaveData kkm_last_timestamp [23:29:39]File name is /storage/kkm_last_timestamp [23:29:39]Write 4 bytes [23:29:39]NVStorageSaveData done [23:29:39]ExternCall_PrintAddStr [23:29:39]wPrintStart [23:29:39]Write to MH i2c: 01 00 00 B0 08 B8 [23:29:39]Write i2c OK [23:29:39]MH_I2C_Read... [23:29:39]Read from MH i2c: 01 [23:29:39]MH_I2C_Read... [23:29:39]Read from MH i2c: 01 07 00 [23:29:39]MH_I2C_Read... [23:29:40]Read from MH i2c: 01 07 00 B0 08 00 00 00 00 00 FF 0F CD [23:29:40]RasterBufferAndPrint [23:29:40]line Счет N : (3)32927 [23:29:40]line ИНН: 02508201610067 [23:29:40]line Контрольно-Кассовый Чек [23:29:40]line ПРОДАЖА [23:29:40]line Товар: 48745895 [23:29:40]line Сигареты RICHMOND KS GOLD EDITION [23:29:40]line 1.000 * 150.00 [23:29:40]line = 150.00 [23:29:40]line НДС 12% НСП 1% [23:29:40]line > о реализуемом товаре [23:29:40]line ИТОГО: 150.00 [23:29:40]line НСП 1% : 1.33 [23:29:40]line НДС 12% : 15.93 [23:29:40]line Наличными: 150.00 [23:29:40]line Безнал.: 0.00 [23:29:40]line Место: АЗС № 106 "Партнер Нефть" [23:29:40]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [23:29:40]line СНО: Общий режим [23:29:40]line Чек 67 21.04.2024 23:29 [23:29:40]line Смена: 281 ФФД: 1.0 [23:29:40]line ЗНМ: 0300000004 [23:29:40]line РНМ: 0000000000100748 [23:29:40]line Версия ККМ: 001 [23:29:40]line ФМ: 0000000000965685 [23:29:40]line ФД: 12655 [23:29:40]line ФПД: 14509333507338 [23:29:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T232940&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12655&fm=14509333507338&tin=02508201610067®Number=0000000000100748&sum=15000 [23:29:40]line 0 [23:29:40]OFD Sender: Processing packet 12655 [packets to send 7, broken 6] [23:29:40]ProducePacketName [23:29:40]name=ofd_packets/00012655 [23:29:40]OFD Sender: To server: pG, [23:29:40]CommunicateWithHost lk.salyk.kg:30040 [23:29:40]ConnectInit lk.salyk.kg [23:29:40]written 0, free lines is 4095 [23:29:40]Connected sock=10 [23:29:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2A 01 00 00 F0 B1 22 01 46 4E 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 35 38 39 35 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 49 43 48 4D 4F 4E 44 20 4B 53 20 47 4F 4C 44 20 45 44 49 54 49 4F 4E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 64 A1 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 6F 31 00 00 35 04 06 00 0D 32 37 AB 6D 0A 40 02 94 E3 25 5B AC FE [23:29:40]Write to MH i2c: 01 00 00 D8 08 E0 [23:29:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 09 E5 47 00 A0 A0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 6F 31 00 00 F4 03 04 00 E3 49 25 66 B6 04 01 00 00 54 A5 CD F1 B9 46 B2 7E [23:29:40]CommunicateWithHost err = 0 [23:29:40]CheckOFDResponse [23:29:40]1017 (14) - 77093643461234 [23:29:40]1041 (16) - 0000000000965685 [23:29:40]1040 (4) - 12655 [23:29:40]1012 (4) - 21.04.2024 17:16 [23:29:40]1206 (1) - 0 [23:29:40]OFD Sender: Remove packet 12655 [23:29:40]ProducePacketName [23:29:40]name=ofd_packets/00012655 [23:29:40]NVStorageDeleteData [23:29:40]Write i2c OK [23:29:40]MH_I2C_Read... [23:29:40]Read from MH i2c: 01 [23:29:40]MH_I2C_Read... [23:29:40]Read from MH i2c: 01 07 00 [23:29:40]MH_I2C_Read... [23:29:40]Read from MH i2c: 01 07 00 D8 08 00 00 00 00 00 E3 0C D6 [23:29:40]RasterBufferAndPrint [23:29:40]line [23:29:40]line [23:29:40]line [23:29:40]line [23:29:40]line [23:29:40]written 0, free lines is 3311 [23:29:40]MH_Cut [23:29:40]Write to MH i2c: D1 01 00 DF 08 01 B9 [23:29:40]Write i2c OK [23:29:40]MH_I2C_Read... [23:29:40]Read from MH i2c: D1 [23:29:40]MH_I2C_Read... [23:29:40]Read from MH i2c: D1 01 00 [23:29:40]MH_I2C_Read... [23:29:40]Read from MH i2c: D1 01 00 DF 08 00 B8 [23:29:40]Write to MH i2c: 01 00 00 E0 08 E8 [23:29:40]Write i2c OK [23:29:40]MH_I2C_Read... [23:29:41]OFD Sender: No OFD packet to send [23:29:41]*** Cut start [23:29:41]*** Partial cut [23:29:41]*** CUTSNS_PIN = 1 [23:29:41]*** CUTSNS_PIN = 0 [23:29:41]*** Brake cut motor [23:29:42]Read from MH i2c: 01 [23:29:42]MH_I2C_Read... [23:29:42]*** Stop cut motor [23:29:42]*** Cut end [23:29:42]Read from MH i2c: 01 07 00 [23:29:42]MH_I2C_Read... [23:29:42]Read from MH i2c: 01 07 00 E0 08 00 00 00 00 00 FF 0F FD [23:29:42]process_action close_receipt done [23:29:42]requested_data is exist [23:29:42]produce_requested_data [23:29:42]requested_item fm.sn is exist - process it [23:29:42]wFMCommunicate request_size=4 [23:29:42]MH_SAM_APDU [23:29:42]CAPDU: 80 11 00 00 [23:29:42]Write to MH i2c: E2 08 00 E1 08 80 11 00 00 00 00 00 00 63 [23:29:42]Write i2c OK [23:29:42]MH_I2C_Read... [23:29:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:29:42]Read from MH i2c: E2 [23:29:42]MH_I2C_Read... [23:29:42]Read from MH i2c: E2 17 00 [23:29:42]MH_I2C_Read... [23:29:42]Read from MH i2c: E2 17 00 E1 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 BD [23:29:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [23:29:42]wFMCommunicate OK [23:29:42]requested_item fd.num is exist - process it [23:29:42]SAM_PROTO_GetFieldsCounters [23:29:42]wFMCommunicate request_size=4 [23:29:42]MH_SAM_APDU [23:29:42]CAPDU: 80 13 00 00 [23:29:42]Write to MH i2c: E2 08 00 E2 08 80 13 00 00 00 00 00 00 66 [23:29:42]Write i2c OK [23:29:42]MH_I2C_Read... [23:29:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:29:42]Read from MH i2c: E2 [23:29:42]MH_I2C_Read... [23:29:42]Read from MH i2c: E2 62 00 [23:29:42]MH_I2C_Read... [23:29:42]Read from MH i2c: E2 62 00 E2 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 6F 31 00 00 0E 04 04 00 19 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 0C [23:29:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 6F 31 00 00 0E 04 04 00 19 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 [23:29:42]wFMCommunicate OK [23:29:42]SAM_PROTO_GetFieldsCounters done [23:29:42]requested_item shift.num is exist - process it [23:29:42]requested_item shift.opened is exist - process it [23:29:42]req_shift_opened [23:29:42]FM_GetShiftState [23:29:42]SAM_PROTO_GetShiftState [23:29:42]wFMCommunicate request_size=4 [23:29:42]MH_SAM_APDU [23:29:42]CAPDU: 80 13 01 00 [23:29:42]Write to MH i2c: E2 08 00 E3 08 80 13 01 00 00 00 00 00 68 [23:29:42]Write i2c OK [23:29:42]MH_I2C_Read... [23:29:42]Read from MH i2c: E2 [23:29:42]MH_I2C_Read... [23:29:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:29:42]Read from MH i2c: E2 0E 00 [23:29:42]MH_I2C_Read... [23:29:42]Read from MH i2c: E2 0E 00 E3 08 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 C0 [23:29:42]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [23:29:42]wFMCommunicate OK [23:29:42]SAM_PROTO_GetShiftState done [23:29:42]FM_GetShiftState done [23:29:42]req_shift_opened done [23:29:42]requested_item shift.open_date is exist - process it [23:29:42]req_shift_open_date [23:29:42]req_shift_open_date done [23:29:42]produce_requested_data done [23:29:42]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12655,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [23:29:42]process_action_free close_receipt [23:29:42]json_value_free [23:29:42]json_value_free done [23:29:42]process_json_proto returns [23:29:42]Send response to host [23:29:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12655,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [23:29:42]free response buf [23:29:42]execute_script done [23:29:42]execute_script returns [23:29:42]free content buf [23:29:42]Sock 9.Close socket [23:29:42]Sock 9.Thread stoped [23:29:46]OFD Sender: No OFD packet to send [23:29:51]OFD Sender: No OFD packet to send [23:29:56]OFD Sender: No OFD packet to send [23:30:01]OFD Sender: No OFD packet to send [23:30:06]OFD Sender: No OFD packet to send [23:30:11]OFD Sender: No OFD packet to send [23:30:16]OFD Sender: No OFD packet to send [23:30:21]OFD Sender: No OFD packet to send [23:30:26]OFD Sender: No OFD packet to send [23:30:28]accept exits with 7 [23:30:28]New connection [23:30:28]New thread 3066957156 created [23:30:28]Thread 3066813796 joined [23:30:28]Waiting for new connection... [23:30:28] Sock 7.Parse request [23:30:28]Sock 7.Check first char [23:30:28]Sock 7.First char is OK [23:30:28]request: POST /json_proto HTTP/1.0 [23:30:28]Method: POST [23:30:28]URL: /json_proto [23:30:28]Method is POST - this is cgi request [23:30:28]url: /json_proto [23:30:28]query_string will be loaded in cgi processing [23:30:28]execute_cgi json_proto POST (null) [23:30:28]execute_cgi path=json_proto method=POST [23:30:28]POST find Content-Length [23:30:28]Host: 172.17.62.6:8080 [23:30:28]Content-Length: 787 [23:30:28]Content-Type: application/json [23:30:28] [23:30:28]POST finish read [23:30:28]Found Content-Length = 787 [23:30:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32928", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 151.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:30:28]execute_script... [23:30:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32928", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 151.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:30:28]POST & json_proto [23:30:28]process_json_proto [23:30:28]json parsed OK: [23:30:28]protocol is kg_v1.0 [23:30:28]action value=close_receipt [23:30:28]process_action close_receipt [23:30:28]cmd_close_receipt [23:30:28]MH_GetDate [23:30:28]Write to MH i2c: F0 00 00 E4 08 DB [23:30:28]Write i2c OK [23:30:28]MH_I2C_Read... [23:30:28]Read from MH i2c: F0 [23:30:28]MH_I2C_Read... [23:30:28]Read from MH i2c: F0 09 00 [23:30:28]MH_I2C_Read... [23:30:28]Read from MH i2c: F0 09 00 E4 08 00 95 A1 25 66 61 69 D2 64 A5 [23:30:28]GetLastDocTimeStamp 1713742180 [23:30:28]current date 1713742229 [23:30:28]FM_GetShiftState [23:30:28]SAM_PROTO_GetShiftState [23:30:28]wFMCommunicate request_size=4 [23:30:28]MH_SAM_APDU [23:30:28]CAPDU: 80 13 01 00 [23:30:28]Write to MH i2c: E2 08 00 E5 08 80 13 01 00 00 00 00 00 6A [23:30:28]Write i2c OK [23:30:28]MH_I2C_Read... [23:30:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:30:28]Read from MH i2c: E2 [23:30:28]MH_I2C_Read... [23:30:28]Read from MH i2c: E2 0E 00 [23:30:28]MH_I2C_Read... [23:30:28]Read from MH i2c: E2 0E 00 E5 08 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 C2 [23:30:28]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [23:30:28]wFMCommunicate OK [23:30:28]SAM_PROTO_GetShiftState done [23:30:28]FM_GetShiftState done [23:30:28]opened in 1713658727 [23:30:28]opened+sec_in_day 1713745127 [23:30:28]quantity*price = 15100 [23:30:28]sum+1 = 15101 [23:30:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 151.00 НСП 1% : 1.34 НДС 12% : 16.03 Наличными: 0.00 Безнал.: 151.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 68 21.04.2024 23:30 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000965685 ФД: 12656 ФПД: 247294218747384 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T233029&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12656&fm=247294218747384&tin=02508201610067®Number=0000000000100748&sum=15100 0 [23:30:29]StoreToDocumentArchive [23:30:29]shift 281 fd 12656 [23:30:29]save to /storage/0281/doc_00012656 [23:30:29]save last doc name /storage/0281/doc_00012656 to /storage/kkm_last_doc_name [23:30:29]save OK [23:30:29]Clear old archive folders... [23:30:29]ProcessDocumentItem done err = 0, tmpTLVsize=274 [23:30:29]tlvbuf is 016C5E20 [23:30:29]SAM_PROTO_ClearQueue [23:30:29]wFMCommunicate request_size=4 [23:30:29]MH_SAM_APDU [23:30:29]CAPDU: 80 09 00 00 [23:30:29]Write to MH i2c: E2 08 00 F2 08 80 09 00 00 00 00 00 00 6C [23:30:29]Write i2c OK [23:30:29]MH_I2C_Read... [23:30:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:30:29]Read from MH i2c: E2 [23:30:29]MH_I2C_Read... [23:30:29]Read from MH i2c: E2 03 00 [23:30:29]MH_I2C_Read... [23:30:29]Read from MH i2c: E2 03 00 F2 08 00 90 00 6E [23:30:29]RAPDU: 90 00 [23:30:29]wFMCommunicate OK [23:30:29]SAM_PROTO_ClearQueue done [23:30:29]KKMCreateOFDPacket [23:30:29]OFDProtocolAddRootSTLVToBuf [23:30:29]FM_MakeSignedData [23:30:29]FM_MakeSignedData [23:30:29]SAM_PROTO_SignData [23:30:29]wFMCommunicate request_size=4 [23:30:29]MH_SAM_APDU [23:30:29]CAPDU: 80 0D 01 02 [23:30:29]Write to MH i2c: E2 08 00 F3 08 80 0D 01 02 00 00 00 00 74 [23:30:29]Write i2c OK [23:30:29]MH_I2C_Read... [23:30:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:30:29]Read from MH i2c: E2 [23:30:29]MH_I2C_Read... [23:30:29]Read from MH i2c: E2 03 00 [23:30:29]MH_I2C_Read... [23:30:29]Read from MH i2c: E2 03 00 F3 08 00 90 00 6F [23:30:29]RAPDU: 90 00 [23:30:29]wFMCommunicate OK [23:30:29]wFMCommunicate request_size=255 [23:30:29]MH_SAM_APDU [23:30:29]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 95 A1 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 [23:30:29]Write to MH i2c: E2 02 01 F4 08 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 95 A1 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 00 00 57 [23:30:29]Write i2c OK [23:30:29]MH_I2C_Read... [23:30:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:30:29]Read from MH i2c: E2 [23:30:29]MH_I2C_Read... [23:30:29]Read from MH i2c: E2 03 00 [23:30:29]MH_I2C_Read... [23:30:29]Read from MH i2c: E2 03 00 F4 08 00 90 00 70 [23:30:29]RAPDU: 90 00 [23:30:29]wFMCommunicate OK [23:30:29]wFMCommunicate request_size=33 [23:30:29]MH_SAM_APDU [23:30:29]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 36 38 35 10 04 04 00 70 31 00 00 35 04 06 00 E0 E9 AC 10 3D F8 [23:30:29]Write to MH i2c: E2 24 00 F5 08 80 0D 02 02 1C 00 30 30 30 30 39 36 35 36 38 35 10 04 04 00 70 31 00 00 35 04 06 00 E0 E9 AC 10 3D F8 00 00 68 [23:30:29]Write i2c OK [23:30:29]MH_I2C_Read... [23:30:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:30:29]Read from MH i2c: E2 [23:30:29]MH_I2C_Read... [23:30:29]Read from MH i2c: E2 03 00 [23:30:29]MH_I2C_Read... [23:30:29]Read from MH i2c: E2 03 00 F5 08 00 90 00 71 [23:30:29]RAPDU: 90 00 [23:30:29]wFMCommunicate OK [23:30:29]wFMCommunicate request_size=4 [23:30:29]MH_SAM_APDU [23:30:29]CAPDU: 80 0D 03 02 [23:30:29]Write to MH i2c: E2 08 00 F6 08 80 0D 03 02 00 00 00 00 79 [23:30:29]Write i2c OK [23:30:29]MH_I2C_Read... [23:30:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:30:29]Read from MH i2c: E2 [23:30:29]MH_I2C_Read... [23:30:29]Read from MH i2c: E2 0B 00 [23:30:29]MH_I2C_Read... [23:30:29]Read from MH i2c: E2 0B 00 F6 08 00 C2 36 C5 74 83 5F E8 BF 90 00 34 [23:30:29]RAPDU: C2 36 C5 74 83 5F E8 BF 90 00 [23:30:29]wFMCommunicate OK [23:30:29]SAM_PROTO_SignData done [23:30:29]FM_MakeSignedData done [23:30:29]CreateOFDProtocolMessage [23:30:29]wFMCommunicate request_size=4 [23:30:29]MH_SAM_APDU [23:30:29]CAPDU: 80 11 00 00 [23:30:29]Write to MH i2c: E2 08 00 F7 08 80 11 00 00 00 00 00 00 79 [23:30:29]Write i2c OK [23:30:29]MH_I2C_Read... [23:30:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:30:29]Read from MH i2c: E2 [23:30:29]MH_I2C_Read... [23:30:29]Read from MH i2c: E2 17 00 [23:30:29]MH_I2C_Read... [23:30:29]Read from MH i2c: E2 17 00 F7 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 D3 [23:30:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [23:30:29]wFMCommunicate OK [23:30:29]CreateOFDProtocolMessage done [23:30:29]OFDSenderStorePacket 12656 [23:30:29]StoreOFDPacket docnum=12656 [23:30:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 26 01 00 00 F5 EB 1E 01 79 46 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 95 A1 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 70 31 00 00 35 04 06 00 E0 E9 AC 10 3D F8 C2 36 C5 74 83 5F E8 BF [23:30:29]CheckFolder [23:30:29]dirname=/storage/ofd_packets [23:30:29]CheckFolder done [23:30:29]ProducePacketName [23:30:29]name=ofd_packets/00012656 [23:30:29]NVStorageSaveData ofd_packets/00012656 [23:30:29]File name is /storage/ofd_packets/00012656 [23:30:29]Write 324 bytes [23:30:29]NVStorageSaveData done [23:30:29]OFDSenderStorePacket done [23:30:29]KKMCreateOFDPacket done [23:30:29]NVStorageSaveData kkm_last_timestamp [23:30:29]File name is /storage/kkm_last_timestamp [23:30:29]Write 4 bytes [23:30:29]NVStorageSaveData done [23:30:29]ExternCall_PrintAddStr [23:30:29]wPrintStart [23:30:29]Write to MH i2c: 01 00 00 F8 08 00 [23:30:29]Write i2c OK [23:30:29]MH_I2C_Read... [23:30:29]Read from MH i2c: 01 [23:30:29]MH_I2C_Read... [23:30:29]Read from MH i2c: 01 07 00 [23:30:29]MH_I2C_Read... [23:30:29]Read from MH i2c: 01 07 00 F8 08 00 00 00 00 00 FF 0F 15 [23:30:29]RasterBufferAndPrint [23:30:29]line Счет N : (3)32928 [23:30:29]line ИНН: 02508201610067 [23:30:29]line Контрольно-Кассовый Чек [23:30:29]line ПРОДАЖА [23:30:29]line Товар: 48741958 [23:30:29]line Сигареты Parliament Aqua Blue [23:30:29]line 1.000 * 151.00 [23:30:29]line = 151.00 [23:30:29]line НДС 12% НСП 1% [23:30:29]line > о реализуемом товаре [23:30:29]line ИТОГО: 151.00 [23:30:29]line НСП 1% : 1.34 [23:30:29]line НДС 12% : 16.03 [23:30:29]line Наличными: 0.00 [23:30:29]line Безнал.: 151.00 [23:30:29]line Место: АЗС № 106 "Партнер Нефть" [23:30:29]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [23:30:29]line СНО: Общий режим [23:30:29]line Чек 68 21.04.2024 23:30 [23:30:29]line Смена: 281 ФФД: 1.0 [23:30:29]line ЗНМ: 0300000004 [23:30:29]line РНМ: 0000000000100748 [23:30:29]line Версия ККМ: 001 [23:30:29]line Платежная система: О! деньги [23:30:29]line ФМ: 0000000000965685 [23:30:29]line ФД: 12656 [23:30:29]line ФПД: 247294218747384 [23:30:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T233029&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12656&fm=247294218747384&tin=02508201610067®Number=0000000000100748&sum=15100 [23:30:30]line 0 [23:30:30]OFD Sender: Processing packet 12656 [packets to send 7, broken 6] [23:30:30]ProducePacketName [23:30:30]name=ofd_packets/00012656 [23:30:30]OFD Sender: To server: pG, [23:30:30]CommunicateWithHost lk.salyk.kg:30040 [23:30:30]ConnectInit lk.salyk.kg [23:30:30]written 0, free lines is 4095 [23:30:30]Write to MH i2c: 01 00 00 22 09 2B [23:30:30]Write i2c OK [23:30:30]MH_I2C_Read... [23:30:30]Read from MH i2c: 01 [23:30:30]MH_I2C_Read... [23:30:30]Read from MH i2c: 01 07 00 [23:30:30]MH_I2C_Read... [23:30:30]Read from MH i2c: 01 07 00 22 09 00 00 00 00 00 B7 0C F5 [23:30:30]RasterBufferAndPrint [23:30:30]line [23:30:30]line [23:30:30]line [23:30:30]line [23:30:30]line [23:30:30]written 0, free lines is 3260 [23:30:30]MH_Cut [23:30:30]Write to MH i2c: D1 01 00 29 09 01 04 [23:30:30]Write i2c OK [23:30:30]MH_I2C_Read... [23:30:30]Read from MH i2c: D1 [23:30:30]MH_I2C_Read... [23:30:30]Read from MH i2c: D1 01 00 [23:30:30]MH_I2C_Read... [23:30:30]Read from MH i2c: D1 01 00 29 09 00 03 [23:30:30]Write to MH i2c: 01 00 00 2A 09 33 [23:30:30]Write i2c OK [23:30:30]MH_I2C_Read... [23:30:31]*** Cut start [23:30:31]*** Partial cut [23:30:31]*** CUTSNS_PIN = 1 [23:30:31]Connected sock=11 [23:30:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 26 01 00 00 F5 EB 1E 01 79 46 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 95 A1 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 70 31 00 00 35 04 06 00 E0 E9 AC 10 3D F8 C2 36 C5 74 83 5F E8 BF [23:30:31]*** CUTSNS_PIN = 0 [23:30:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 21 02 47 00 31 65 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 70 31 00 00 F4 03 04 00 16 4A 25 66 B6 04 01 00 00 22 B3 1B 41 8A B2 82 4F [23:30:31]CommunicateWithHost err = 0 [23:30:31]CheckOFDResponse [23:30:31]1017 (14) - 77093643461234 [23:30:31]1041 (16) - 0000000000965685 [23:30:31]1040 (4) - 12656 [23:30:31]1012 (4) - 21.04.2024 17:17 [23:30:31]1206 (1) - 0 [23:30:31]OFD Sender: Remove packet 12656 [23:30:31]ProducePacketName [23:30:31]name=ofd_packets/00012656 [23:30:31]NVStorageDeleteData [23:30:31]*** Brake cut motor [23:30:32]Read from MH i2c: 01 [23:30:32]MH_I2C_Read... [23:30:32]*** Stop cut motor [23:30:32]*** Cut end [23:30:32]Read from MH i2c: 01 07 00 [23:30:32]MH_I2C_Read... [23:30:32]Read from MH i2c: 01 07 00 2A 09 00 00 00 00 00 FF 0F 48 [23:30:32]process_action close_receipt done [23:30:32]requested_data is exist [23:30:32]produce_requested_data [23:30:32]requested_item fm.sn is exist - process it [23:30:32]wFMCommunicate request_size=4 [23:30:32]MH_SAM_APDU [23:30:32]CAPDU: 80 11 00 00 [23:30:32]Write to MH i2c: E2 08 00 2B 09 80 11 00 00 00 00 00 00 AE [23:30:32]Write i2c OK [23:30:32]MH_I2C_Read... [23:30:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:30:32]Read from MH i2c: E2 [23:30:32]MH_I2C_Read... [23:30:32]Read from MH i2c: E2 17 00 [23:30:32]MH_I2C_Read... [23:30:32]Read from MH i2c: E2 17 00 2B 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 08 [23:30:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [23:30:32]wFMCommunicate OK [23:30:32]requested_item fd.num is exist - process it [23:30:32]SAM_PROTO_GetFieldsCounters [23:30:32]wFMCommunicate request_size=4 [23:30:32]MH_SAM_APDU [23:30:32]CAPDU: 80 13 00 00 [23:30:32]Write to MH i2c: E2 08 00 2C 09 80 13 00 00 00 00 00 00 B1 [23:30:32]Write i2c OK [23:30:32]MH_I2C_Read... [23:30:32]OFD Sender: No OFD packet to send [23:30:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:30:32]Read from MH i2c: E2 [23:30:32]MH_I2C_Read... [23:30:32]Read from MH i2c: E2 62 00 [23:30:32]MH_I2C_Read... [23:30:32]Read from MH i2c: E2 62 00 2C 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 70 31 00 00 0E 04 04 00 19 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 5B [23:30:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 70 31 00 00 0E 04 04 00 19 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 [23:30:32]wFMCommunicate OK [23:30:32]SAM_PROTO_GetFieldsCounters done [23:30:32]requested_item shift.num is exist - process it [23:30:32]requested_item shift.opened is exist - process it [23:30:32]req_shift_opened [23:30:32]FM_GetShiftState [23:30:32]SAM_PROTO_GetShiftState [23:30:32]wFMCommunicate request_size=4 [23:30:32]MH_SAM_APDU [23:30:32]CAPDU: 80 13 01 00 [23:30:32]Write to MH i2c: E2 08 00 2D 09 80 13 01 00 00 00 00 00 B3 [23:30:32]Write i2c OK [23:30:32]MH_I2C_Read... [23:30:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:30:32]Read from MH i2c: E2 [23:30:32]MH_I2C_Read... [23:30:32]Read from MH i2c: E2 0E 00 [23:30:32]MH_I2C_Read... [23:30:32]Read from MH i2c: E2 0E 00 2D 09 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 0B [23:30:32]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [23:30:32]wFMCommunicate OK [23:30:32]SAM_PROTO_GetShiftState done [23:30:32]FM_GetShiftState done [23:30:32]req_shift_opened done [23:30:32]requested_item shift.open_date is exist - process it [23:30:32]req_shift_open_date [23:30:32]req_shift_open_date done [23:30:32]produce_requested_data done [23:30:32]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12656,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [23:30:32]process_action_free close_receipt [23:30:32]json_value_free [23:30:32]json_value_free done [23:30:32]process_json_proto returns [23:30:32]Send response to host [23:30:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12656,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [23:30:32]free response buf [23:30:32]execute_script done [23:30:32]execute_script returns [23:30:32]free content buf [23:30:32]Sock 7.Close socket [23:30:32]Sock 7.Thread stoped [23:30:37]OFD Sender: No OFD packet to send [23:30:42]OFD Sender: No OFD packet to send [23:30:47]OFD Sender: No OFD packet to send [23:30:52]OFD Sender: No OFD packet to send [23:30:57]OFD Sender: No OFD packet to send [23:31:02]OFD Sender: No OFD packet to send [23:31:07]OFD Sender: No OFD packet to send [23:31:12]OFD Sender: No OFD packet to send [23:31:17]OFD Sender: No OFD packet to send [23:31:22]OFD Sender: No OFD packet to send [23:31:27]OFD Sender: No OFD packet to send [23:31:32]OFD Sender: No OFD packet to send [23:31:37]OFD Sender: No OFD packet to send [23:31:42]OFD Sender: No OFD packet to send [23:31:47]OFD Sender: No OFD packet to send [23:31:52]OFD Sender: No OFD packet to send [23:31:57]OFD Sender: No OFD packet to send [23:32:02]OFD Sender: No OFD packet to send [23:32:07]OFD Sender: No OFD packet to send [23:32:10]accept exits with 9 [23:32:10]New connection [23:32:10]New thread 3066813796 created [23:32:10]Thread 3066957156 joined [23:32:10]Waiting for new connection... [23:32:10] Sock 9.Parse request [23:32:10]Sock 9.Check first char [23:32:10]Sock 9.First char is OK [23:32:10]request: POST /json_proto HTTP/1.0 [23:32:10]Method: POST [23:32:10]URL: /json_proto [23:32:10]Method is POST - this is cgi request [23:32:10]url: /json_proto [23:32:10]query_string will be loaded in cgi processing [23:32:10]execute_cgi json_proto POST (null) [23:32:10]execute_cgi path=json_proto method=POST [23:32:10]POST find Content-Length [23:32:10]Host: 172.17.62.6:8080 [23:32:10]Content-Length: 653 [23:32:10]Content-Type: application/json [23:32:10] [23:32:10]POST finish read [23:32:10]Found Content-Length = 653 [23:32:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32929", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:32:10]execute_script... [23:32:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32929", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:32:10]POST & json_proto [23:32:10]process_json_proto [23:32:10]json parsed OK: [23:32:10]protocol is kg_v1.0 [23:32:10]action value=close_receipt [23:32:10]process_action close_receipt [23:32:10]cmd_close_receipt [23:32:10]MH_GetDate [23:32:10]Write to MH i2c: F0 00 00 2E 09 26 [23:32:10]Write i2c OK [23:32:10]MH_I2C_Read... [23:32:10]Read from MH i2c: F0 [23:32:10]MH_I2C_Read... [23:32:10]Read from MH i2c: F0 09 00 [23:32:10]MH_I2C_Read... [23:32:10]Read from MH i2c: F0 09 00 2E 09 00 FC A1 25 66 61 69 D2 64 57 [23:32:10]GetLastDocTimeStamp 1713742229 [23:32:10]current date 1713742332 [23:32:10]FM_GetShiftState [23:32:10]SAM_PROTO_GetShiftState [23:32:10]wFMCommunicate request_size=4 [23:32:10]MH_SAM_APDU [23:32:10]CAPDU: 80 13 01 00 [23:32:10]Write to MH i2c: E2 08 00 2F 09 80 13 01 00 00 00 00 00 B5 [23:32:10]Write i2c OK [23:32:10]MH_I2C_Read... [23:32:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:32:10]Read from MH i2c: E2 [23:32:10]MH_I2C_Read... [23:32:10]Read from MH i2c: E2 0E 00 [23:32:10]MH_I2C_Read... [23:32:10]Read from MH i2c: E2 0E 00 2F 09 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 0D [23:32:10]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [23:32:10]wFMCommunicate OK [23:32:10]SAM_PROTO_GetShiftState done [23:32:10]FM_GetShiftState done [23:32:10]opened in 1713658727 [23:32:10]opened+sec_in_day 1713745127 [23:32:10]quantity*price = 9500 [23:32:10]sum+1 = 9501 [23:32:10]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 69 21.04.2024 23:32 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12657 ФПД: 84507176217985 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T233212&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12657&fm=84507176217985&tin=02508201610067®Number=0000000000100748&sum=9500 0 [23:32:11]StoreToDocumentArchive [23:32:11]shift 281 fd 12657 [23:32:11]save to /storage/0281/doc_00012657 [23:32:11]save last doc name /storage/0281/doc_00012657 to /storage/kkm_last_doc_name [23:32:11]save OK [23:32:11]Clear old archive folders... [23:32:11]ProcessDocumentItem done err = 0, tmpTLVsize=293 [23:32:11]tlvbuf is 0166C040 [23:32:11]SAM_PROTO_ClearQueue [23:32:11]wFMCommunicate request_size=4 [23:32:11]MH_SAM_APDU [23:32:11]CAPDU: 80 09 00 00 [23:32:11]Write to MH i2c: E2 08 00 3C 09 80 09 00 00 00 00 00 00 B7 [23:32:11]Write i2c OK [23:32:11]MH_I2C_Read... [23:32:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:32:11]Read from MH i2c: E2 [23:32:11]MH_I2C_Read... [23:32:11]Read from MH i2c: E2 03 00 [23:32:11]MH_I2C_Read... [23:32:11]Read from MH i2c: E2 03 00 3C 09 00 90 00 B9 [23:32:11]RAPDU: 90 00 [23:32:11]wFMCommunicate OK [23:32:11]SAM_PROTO_ClearQueue done [23:32:11]KKMCreateOFDPacket [23:32:11]OFDProtocolAddRootSTLVToBuf [23:32:11]FM_MakeSignedData [23:32:11]FM_MakeSignedData [23:32:11]SAM_PROTO_SignData [23:32:11]wFMCommunicate request_size=4 [23:32:11]MH_SAM_APDU [23:32:11]CAPDU: 80 0D 01 02 [23:32:11]Write to MH i2c: E2 08 00 3D 09 80 0D 01 02 00 00 00 00 BF [23:32:11]Write i2c OK [23:32:11]MH_I2C_Read... [23:32:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:32:11]Read from MH i2c: E2 [23:32:11]MH_I2C_Read... [23:32:11]Read from MH i2c: E2 03 00 [23:32:11]MH_I2C_Read... [23:32:11]Read from MH i2c: E2 03 00 3D 09 00 90 00 BA [23:32:11]RAPDU: 90 00 [23:32:11]wFMCommunicate OK [23:32:11]wFMCommunicate request_size=255 [23:32:11]MH_SAM_APDU [23:32:11]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 FC A1 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [23:32:11]Write to MH i2c: E2 02 01 3E 09 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 FC A1 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 E6 [23:32:11]Write i2c OK [23:32:11]MH_I2C_Read... [23:32:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:32:11]Read from MH i2c: E2 [23:32:11]MH_I2C_Read... [23:32:11]Read from MH i2c: E2 03 00 [23:32:11]MH_I2C_Read... [23:32:11]Read from MH i2c: E2 03 00 3E 09 00 90 00 BB [23:32:11]RAPDU: 90 00 [23:32:11]wFMCommunicate OK [23:32:11]wFMCommunicate request_size=52 [23:32:11]MH_SAM_APDU [23:32:11]CAPDU: 80 0D 02 02 2F 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 71 31 00 00 35 04 06 00 4C DB DC 38 2D 81 [23:32:11]Write to MH i2c: E2 37 00 3F 09 80 0D 02 02 2F 00 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 71 31 00 00 35 04 06 00 4C DB DC 38 2D 81 00 00 12 [23:32:11]Write i2c OK [23:32:11]MH_I2C_Read... [23:32:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:32:11]Read from MH i2c: E2 [23:32:11]MH_I2C_Read... [23:32:11]Read from MH i2c: E2 03 00 [23:32:11]MH_I2C_Read... [23:32:11]Read from MH i2c: E2 03 00 3F 09 00 90 00 BC [23:32:11]RAPDU: 90 00 [23:32:11]wFMCommunicate OK [23:32:11]wFMCommunicate request_size=4 [23:32:11]MH_SAM_APDU [23:32:11]CAPDU: 80 0D 03 02 [23:32:11]Write to MH i2c: E2 08 00 40 09 80 0D 03 02 00 00 00 00 C4 [23:32:11]Write i2c OK [23:32:11]MH_I2C_Read... [23:32:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:32:12]Read from MH i2c: E2 [23:32:12]MH_I2C_Read... [23:32:12]Read from MH i2c: E2 0B 00 [23:32:12]MH_I2C_Read... [23:32:12]Read from MH i2c: E2 0B 00 40 09 00 DE 47 3E 59 51 A1 91 E5 90 00 E9 [23:32:12]RAPDU: DE 47 3E 59 51 A1 91 E5 90 00 [23:32:12]wFMCommunicate OK [23:32:12]SAM_PROTO_SignData done [23:32:12]FM_MakeSignedData done [23:32:12]CreateOFDProtocolMessage [23:32:12]wFMCommunicate request_size=4 [23:32:12]MH_SAM_APDU [23:32:12]CAPDU: 80 11 00 00 [23:32:12]Write to MH i2c: E2 08 00 41 09 80 11 00 00 00 00 00 00 C4 [23:32:12]Write i2c OK [23:32:12]MH_I2C_Read... [23:32:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:32:12]Read from MH i2c: E2 [23:32:12]MH_I2C_Read... [23:32:12]Read from MH i2c: E2 17 00 [23:32:12]MH_I2C_Read... [23:32:12]Read from MH i2c: E2 17 00 41 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 1E [23:32:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [23:32:12]wFMCommunicate OK [23:32:12]CreateOFDProtocolMessage done [23:32:12]OFDSenderStorePacket 12657 [23:32:12]StoreOFDPacket docnum=12657 [23:32:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 39 01 00 00 E1 76 31 01 4D 0C 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 FC A1 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 71 31 00 00 35 04 06 00 4C DB DC 38 2D 81 DE 47 3E 59 51 A1 91 E5 [23:32:12]CheckFolder [23:32:12]dirname=/storage/ofd_packets [23:32:12]CheckFolder done [23:32:12]ProducePacketName [23:32:12]name=ofd_packets/00012657 [23:32:12]NVStorageSaveData ofd_packets/00012657 [23:32:12]File name is /storage/ofd_packets/00012657 [23:32:12]Write 343 bytes [23:32:12]NVStorageSaveData done [23:32:12]OFDSenderStorePacket done [23:32:12]KKMCreateOFDPacket done [23:32:12]NVStorageSaveData kkm_last_timestamp [23:32:12]File name is /storage/kkm_last_timestamp [23:32:12]Write 4 bytes [23:32:12]NVStorageSaveData done [23:32:12]ExternCall_PrintAddStr [23:32:12]wPrintStart [23:32:12]Write to MH i2c: 01 00 00 42 09 4B [23:32:12]Write i2c OK [23:32:12]MH_I2C_Read... [23:32:12]Read from MH i2c: 01 [23:32:12]MH_I2C_Read... [23:32:12]Read from MH i2c: 01 07 00 [23:32:12]MH_I2C_Read... [23:32:12]Read from MH i2c: 01 07 00 42 09 00 00 00 00 00 FF 0F 60 [23:32:12]RasterBufferAndPrint [23:32:12]line Счет N : (3)32929 [23:32:12]line ИНН: 02508201610067 [23:32:12]line Контрольно-Кассовый Чек [23:32:12]line ПРОДАЖА [23:32:12]line Товар: 4700000480050 [23:32:12]line Напиток Nitro Energy эн green ж/б 0,45л [23:32:12]line 1.000 * 95.00 [23:32:12]line = 95.00 [23:32:12]line НДС 12% НСП 1% [23:32:12]line > о реализуемом товаре [23:32:12]line ИТОГО: 95.00 [23:32:12]line НСП 1% : 0.84 [23:32:12]line НДС 12% : 10.09 [23:32:12]line Наличными: 95.00 [23:32:12]line Безнал.: 0.00 [23:32:12]line Место: АЗС № 106 "Партнер Нефть" [23:32:12]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [23:32:12]line СНО: Общий режим [23:32:12]line Чек 69 21.04.2024 23:32 [23:32:12]line Смена: 281 ФФД: 1.0 [23:32:12]line ЗНМ: 0300000004 [23:32:12]line РНМ: 0000000000100748 [23:32:12]line Версия ККМ: 001 [23:32:12]line ФМ: 0000000000965685 [23:32:12]line ФД: 12657 [23:32:12]line ФПД: 84507176217985 [23:32:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T233212&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12657&fm=84507176217985&tin=02508201610067®Number=0000000000100748&sum=9500 [23:32:12]OFD Sender: Processing packet 12657 [packets to send 7, broken 6] [23:32:12]ProducePacketName [23:32:12]name=ofd_packets/00012657 [23:32:12]OFD Sender: To server: pG, [23:32:12]CommunicateWithHost lk.salyk.kg:30040 [23:32:12]ConnectInit lk.salyk.kg [23:32:12]line 0 [23:32:12]written 0, free lines is 4095 [23:32:12]Connected sock=10 [23:32:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 39 01 00 00 E1 76 31 01 4D 0C 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 FC A1 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 71 31 00 00 35 04 06 00 4C DB DC 38 2D 81 DE 47 3E 59 51 A1 91 E5 [23:32:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 04 D1 47 00 37 81 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 71 31 00 00 F4 03 04 00 7B 4A 25 66 B6 04 01 00 00 25 8C 3A 16 EC 0B F3 D7 [23:32:12]CommunicateWithHost err = 0 [23:32:12]CheckOFDResponse [23:32:12]1017 (14) - 77093643461234 [23:32:12]1041 (16) - 0000000000965685 [23:32:12]1040 (4) - 12657 [23:32:12]1012 (4) - 21.04.2024 17:18 [23:32:12]1206 (1) - 0 [23:32:12]OFD Sender: Remove packet 12657 [23:32:12]ProducePacketName [23:32:12]name=ofd_packets/00012657 [23:32:12]NVStorageDeleteData [23:32:12]Write to MH i2c: 01 00 00 6A 09 73 [23:32:12]Write i2c OK [23:32:12]MH_I2C_Read... [23:32:12]Read from MH i2c: 01 [23:32:12]MH_I2C_Read... [23:32:12]Read from MH i2c: 01 07 00 [23:32:12]MH_I2C_Read... [23:32:12]Read from MH i2c: 01 07 00 6A 09 00 00 00 00 00 05 0D 8C [23:32:12]RasterBufferAndPrint [23:32:12]line [23:32:12]line [23:32:12]line [23:32:12]line [23:32:12]line [23:32:12]written 0, free lines is 3340 [23:32:12]MH_Cut [23:32:12]Write to MH i2c: D1 01 00 71 09 01 4C [23:32:12]Write i2c OK [23:32:12]MH_I2C_Read... [23:32:12]Read from MH i2c: D1 [23:32:12]MH_I2C_Read... [23:32:12]Read from MH i2c: D1 01 00 [23:32:12]MH_I2C_Read... [23:32:12]Read from MH i2c: D1 01 00 71 09 00 4B [23:32:12]Write to MH i2c: 01 00 00 72 09 7B [23:32:12]Write i2c OK [23:32:12]MH_I2C_Read... [23:32:13]OFD Sender: No OFD packet to send [23:32:13]*** Cut start [23:32:13]*** Partial cut [23:32:13]*** CUTSNS_PIN = 1 [23:32:13]*** CUTSNS_PIN = 0 [23:32:13]*** Brake cut motor [23:32:14]Read from MH i2c: 01 [23:32:14]MH_I2C_Read... [23:32:14]*** Stop cut motor [23:32:14]*** Cut end [23:32:14]Read from MH i2c: 01 07 00 [23:32:14]MH_I2C_Read... [23:32:14]Read from MH i2c: 01 07 00 72 09 00 00 00 00 00 FF 0F 90 [23:32:14]process_action close_receipt done [23:32:14]requested_data is exist [23:32:14]produce_requested_data [23:32:14]requested_item fm.sn is exist - process it [23:32:14]wFMCommunicate request_size=4 [23:32:14]MH_SAM_APDU [23:32:14]CAPDU: 80 11 00 00 [23:32:14]Write to MH i2c: E2 08 00 73 09 80 11 00 00 00 00 00 00 F6 [23:32:14]Write i2c OK [23:32:14]MH_I2C_Read... [23:32:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:32:14]Read from MH i2c: E2 [23:32:14]MH_I2C_Read... [23:32:14]Read from MH i2c: E2 17 00 [23:32:14]MH_I2C_Read... [23:32:14]Read from MH i2c: E2 17 00 73 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 50 [23:32:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [23:32:14]wFMCommunicate OK [23:32:14]requested_item fd.num is exist - process it [23:32:14]SAM_PROTO_GetFieldsCounters [23:32:14]wFMCommunicate request_size=4 [23:32:14]MH_SAM_APDU [23:32:14]CAPDU: 80 13 00 00 [23:32:14]Write to MH i2c: E2 08 00 74 09 80 13 00 00 00 00 00 00 F9 [23:32:14]Write i2c OK [23:32:14]MH_I2C_Read... [23:32:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:32:14]Read from MH i2c: E2 [23:32:14]MH_I2C_Read... [23:32:14]Read from MH i2c: E2 62 00 [23:32:14]MH_I2C_Read... [23:32:14]Read from MH i2c: E2 62 00 74 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 71 31 00 00 0E 04 04 00 19 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 A7 [23:32:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 71 31 00 00 0E 04 04 00 19 01 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:32:14]wFMCommunicate OK [23:32:14]SAM_PROTO_GetFieldsCounters done [23:32:14]requested_item shift.num is exist - process it [23:32:14]requested_item shift.opened is exist - process it [23:32:14]req_shift_opened [23:32:14]FM_GetShiftState [23:32:14]SAM_PROTO_GetShiftState [23:32:14]wFMCommunicate request_size=4 [23:32:14]MH_SAM_APDU [23:32:14]CAPDU: 80 13 01 00 [23:32:14]Write to MH i2c: E2 08 00 75 09 80 13 01 00 00 00 00 00 FB [23:32:14]Write i2c OK [23:32:14]MH_I2C_Read... [23:32:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:32:14]Read from MH i2c: E2 [23:32:14]MH_I2C_Read... [23:32:14]Read from MH i2c: E2 0E 00 [23:32:14]MH_I2C_Read... [23:32:14]Read from MH i2c: E2 0E 00 75 09 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 53 [23:32:14]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [23:32:14]wFMCommunicate OK [23:32:14]SAM_PROTO_GetShiftState done [23:32:14]FM_GetShiftState done [23:32:14]req_shift_opened done [23:32:14]requested_item shift.open_date is exist - process it [23:32:14]req_shift_open_date [23:32:14]req_shift_open_date done [23:32:14]produce_requested_data done [23:32:14]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12657,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [23:32:14]process_action_free close_receipt [23:32:14]json_value_free [23:32:14]json_value_free done [23:32:14]process_json_proto returns [23:32:14]Send response to host [23:32:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12657,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [23:32:14]free response buf [23:32:14]execute_script done [23:32:14]execute_script returns [23:32:14]free content buf [23:32:14]Sock 9.Close socket [23:32:14]Sock 9.Thread stoped [23:32:18]OFD Sender: No OFD packet to send [23:32:23]OFD Sender: No OFD packet to send [23:32:28]OFD Sender: No OFD packet to send [23:32:33]OFD Sender: No OFD packet to send [23:32:38]OFD Sender: No OFD packet to send [23:32:43]OFD Sender: No OFD packet to send [23:32:48]OFD Sender: No OFD packet to send [23:32:53]OFD Sender: No OFD packet to send [23:32:58]OFD Sender: No OFD packet to send [23:33:03]OFD Sender: No OFD packet to send [23:33:08]OFD Sender: No OFD packet to send [23:33:13]OFD Sender: No OFD packet to send [23:33:15]accept exits with 7 [23:33:15]New connection [23:33:15]New thread 3066957156 created [23:33:15]Thread 3066813796 joined [23:33:15]Waiting for new connection... [23:33:15] Sock 7.Parse request [23:33:15]Sock 7.Check first char [23:33:15]Sock 7.First char is OK [23:33:15]request: POST /json_proto HTTP/1.0 [23:33:15]Method: POST [23:33:15]URL: /json_proto [23:33:15]Method is POST - this is cgi request [23:33:15]url: /json_proto [23:33:15]query_string will be loaded in cgi processing [23:33:15]execute_cgi json_proto POST (null) [23:33:15]execute_cgi path=json_proto method=POST [23:33:15]POST find Content-Length [23:33:15]Host: 172.17.62.6:8080 [23:33:15]Content-Length: 639 [23:33:15]Content-Type: application/json [23:33:15] [23:33:15]POST finish read [23:33:15]Found Content-Length = 639 [23:33:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32930", "tax_sys" : 0, "items" : [ { "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 180.00, "quantity" : 1.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:33:15]execute_script... [23:33:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32930", "tax_sys" : 0, "items" : [ { "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 180.00, "quantity" : 1.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:33:15]POST & json_proto [23:33:15]process_json_proto [23:33:15]json parsed OK: [23:33:15]protocol is kg_v1.0 [23:33:15]action value=close_receipt [23:33:15]process_action close_receipt [23:33:15]cmd_close_receipt [23:33:15]MH_GetDate [23:33:15]Write to MH i2c: F0 00 00 76 09 6E [23:33:15]Write i2c OK [23:33:15]MH_I2C_Read... [23:33:15]Read from MH i2c: F0 [23:33:15]MH_I2C_Read... [23:33:15]Read from MH i2c: F0 09 00 [23:33:15]MH_I2C_Read... [23:33:15]Read from MH i2c: F0 09 00 76 09 00 3C A2 25 66 61 69 D2 64 E0 [23:33:15]GetLastDocTimeStamp 1713742332 [23:33:15]current date 1713742396 [23:33:15]FM_GetShiftState [23:33:15]SAM_PROTO_GetShiftState [23:33:15]wFMCommunicate request_size=4 [23:33:15]MH_SAM_APDU [23:33:15]CAPDU: 80 13 01 00 [23:33:15]Write to MH i2c: E2 08 00 77 09 80 13 01 00 00 00 00 00 FD [23:33:15]Write i2c OK [23:33:15]MH_I2C_Read... [23:33:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:33:15]Read from MH i2c: E2 [23:33:15]MH_I2C_Read... [23:33:15]Read from MH i2c: E2 0E 00 [23:33:15]MH_I2C_Read... [23:33:15]Read from MH i2c: E2 0E 00 77 09 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 55 [23:33:15]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [23:33:15]wFMCommunicate OK [23:33:15]SAM_PROTO_GetShiftState done [23:33:15]FM_GetShiftState done [23:33:15]opened in 1713658727 [23:33:15]opened+sec_in_day 1713745127 [23:33:15]quantity*price = 18000 [23:33:15]sum+1 = 18001 [23:33:15]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 180.00 НСП 1% : 1.59 НДС 12% : 19.11 Наличными: 180.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 70 21.04.2024 23:33 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12658 ФПД: 46520602205248 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T233316&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12658&fm=46520602205248&tin=02508201610067®Number=0000000000100748&sum=18000 0 [23:33:16]StoreToDocumentArchive [23:33:16]shift 281 fd 12658 [23:33:16]save to /storage/0281/doc_00012658 [23:33:16]save last doc name /storage/0281/doc_00012658 to /storage/kkm_last_doc_name [23:33:16]save OK [23:33:16]Clear old archive folders... [23:33:16]ProcessDocumentItem done err = 0, tmpTLVsize=272 [23:33:16]tlvbuf is 016BFBB0 [23:33:16]SAM_PROTO_ClearQueue [23:33:16]wFMCommunicate request_size=4 [23:33:16]MH_SAM_APDU [23:33:16]CAPDU: 80 09 00 00 [23:33:16]Write to MH i2c: E2 08 00 84 09 80 09 00 00 00 00 00 00 FF [23:33:16]Write i2c OK [23:33:16]MH_I2C_Read... [23:33:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:33:16]Read from MH i2c: E2 [23:33:16]MH_I2C_Read... [23:33:16]Read from MH i2c: E2 03 00 [23:33:16]MH_I2C_Read... [23:33:16]Read from MH i2c: E2 03 00 84 09 00 90 00 01 [23:33:16]RAPDU: 90 00 [23:33:16]wFMCommunicate OK [23:33:16]SAM_PROTO_ClearQueue done [23:33:16]KKMCreateOFDPacket [23:33:16]OFDProtocolAddRootSTLVToBuf [23:33:16]FM_MakeSignedData [23:33:16]FM_MakeSignedData [23:33:16]SAM_PROTO_SignData [23:33:16]wFMCommunicate request_size=4 [23:33:16]MH_SAM_APDU [23:33:16]CAPDU: 80 0D 01 02 [23:33:16]Write to MH i2c: E2 08 00 85 09 80 0D 01 02 00 00 00 00 07 [23:33:16]Write i2c OK [23:33:16]MH_I2C_Read... [23:33:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:33:16]Read from MH i2c: E2 [23:33:16]MH_I2C_Read... [23:33:16]Read from MH i2c: E2 03 00 [23:33:16]MH_I2C_Read... [23:33:16]Read from MH i2c: E2 03 00 85 09 00 90 00 02 [23:33:16]RAPDU: 90 00 [23:33:16]wFMCommunicate OK [23:33:16]wFMCommunicate request_size=255 [23:33:16]MH_SAM_APDU [23:33:16]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 3C A2 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 [23:33:16]Write to MH i2c: E2 02 01 86 09 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 3C A2 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 00 00 A8 [23:33:16]Write i2c OK [23:33:16]MH_I2C_Read... [23:33:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:33:16]Read from MH i2c: E2 [23:33:16]MH_I2C_Read... [23:33:16]Read from MH i2c: E2 03 00 [23:33:16]MH_I2C_Read... [23:33:16]Read from MH i2c: E2 03 00 86 09 00 90 00 03 [23:33:16]RAPDU: 90 00 [23:33:16]wFMCommunicate OK [23:33:16]wFMCommunicate request_size=31 [23:33:16]MH_SAM_APDU [23:33:16]CAPDU: 80 0D 02 02 1A 30 30 39 36 35 36 38 35 10 04 04 00 72 31 00 00 35 04 06 00 2A 4F 6B F8 1C 40 [23:33:16]Write to MH i2c: E2 22 00 87 09 80 0D 02 02 1A 00 30 30 39 36 35 36 38 35 10 04 04 00 72 31 00 00 35 04 06 00 2A 4F 6B F8 1C 40 00 00 17 [23:33:16]Write i2c OK [23:33:16]MH_I2C_Read... [23:33:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:33:16]Read from MH i2c: E2 [23:33:16]MH_I2C_Read... [23:33:16]Read from MH i2c: E2 03 00 [23:33:16]MH_I2C_Read... [23:33:16]Read from MH i2c: E2 03 00 87 09 00 90 00 04 [23:33:16]RAPDU: 90 00 [23:33:16]wFMCommunicate OK [23:33:16]wFMCommunicate request_size=4 [23:33:16]MH_SAM_APDU [23:33:16]CAPDU: 80 0D 03 02 [23:33:16]Write to MH i2c: E2 08 00 88 09 80 0D 03 02 00 00 00 00 0C [23:33:16]Write i2c OK [23:33:16]MH_I2C_Read... [23:33:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:33:16]Read from MH i2c: E2 [23:33:16]MH_I2C_Read... [23:33:16]Read from MH i2c: E2 0B 00 [23:33:16]MH_I2C_Read... [23:33:16]Read from MH i2c: E2 0B 00 88 09 00 6F F4 76 4F D5 09 61 45 90 00 B9 [23:33:16]RAPDU: 6F F4 76 4F D5 09 61 45 90 00 [23:33:16]wFMCommunicate OK [23:33:16]SAM_PROTO_SignData done [23:33:16]FM_MakeSignedData done [23:33:16]CreateOFDProtocolMessage [23:33:16]wFMCommunicate request_size=4 [23:33:16]MH_SAM_APDU [23:33:16]CAPDU: 80 11 00 00 [23:33:16]Write to MH i2c: E2 08 00 89 09 80 11 00 00 00 00 00 00 0C [23:33:16]Write i2c OK [23:33:16]MH_I2C_Read... [23:33:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:33:16]Read from MH i2c: E2 [23:33:16]MH_I2C_Read... [23:33:16]Read from MH i2c: E2 17 00 [23:33:16]MH_I2C_Read... [23:33:16]Read from MH i2c: E2 17 00 89 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 66 [23:33:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [23:33:16]wFMCommunicate OK [23:33:16]CreateOFDProtocolMessage done [23:33:16]OFDSenderStorePacket 12658 [23:33:16]StoreOFDPacket docnum=12658 [23:33:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 24 01 00 00 31 96 1C 01 14 9F 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 3C A2 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 72 31 00 00 35 04 06 00 2A 4F 6B F8 1C 40 6F F4 76 4F D5 09 61 45 [23:33:16]CheckFolder [23:33:16]dirname=/storage/ofd_packets [23:33:16]CheckFolder done [23:33:16]ProducePacketName [23:33:16]name=ofd_packets/00012658 [23:33:16]NVStorageSaveData ofd_packets/00012658 [23:33:16]File name is /storage/ofd_packets/00012658 [23:33:16]Write 322 bytes [23:33:16]NVStorageSaveData done [23:33:16]OFDSenderStorePacket done [23:33:16]KKMCreateOFDPacket done [23:33:16]NVStorageSaveData kkm_last_timestamp [23:33:16]File name is /storage/kkm_last_timestamp [23:33:16]Write 4 bytes [23:33:16]NVStorageSaveData done [23:33:16]ExternCall_PrintAddStr [23:33:16]wPrintStart [23:33:16]Write to MH i2c: 01 00 00 8A 09 93 [23:33:16]Write i2c OK [23:33:16]MH_I2C_Read... [23:33:16]Read from MH i2c: 01 [23:33:16]MH_I2C_Read... [23:33:16]Read from MH i2c: 01 07 00 [23:33:16]MH_I2C_Read... [23:33:16]Read from MH i2c: 01 07 00 8A 09 00 00 00 00 00 FF 0F A8 [23:33:16]RasterBufferAndPrint [23:33:16]line Счет N : (3)32930 [23:33:16]line ИНН: 02508201610067 [23:33:16]line Контрольно-Кассовый Чек [23:33:16]line ПРОДАЖА [23:33:16]line Товар: 4700000480517 [23:33:16]line Пиво Живое 1л ПЭТ [23:33:16]line 1.000 * 180.00 [23:33:16]line = 180.00 [23:33:16]line НДС 12% НСП 1% [23:33:16]line > о реализуемом товаре [23:33:16]line ИТОГО: 180.00 [23:33:16]line НСП 1% : 1.59 [23:33:16]line НДС 12% : 19.11 [23:33:16]line Наличными: 180.00 [23:33:16]line Безнал.: 0.00 [23:33:16]line Место: АЗС № 106 "Партнер Нефть" [23:33:16]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [23:33:16]line СНО: Общий режим [23:33:16]line Чек 70 21.04.2024 23:33 [23:33:16]line Смена: 281 ФФД: 1.0 [23:33:16]line ЗНМ: 0300000004 [23:33:16]line РНМ: 0000000000100748 [23:33:16]line Версия ККМ: 001 [23:33:16]line ФМ: 0000000000965685 [23:33:16]line ФД: 12658 [23:33:16]line ФПД: 46520602205248 [23:33:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T233316&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12658&fm=46520602205248&tin=02508201610067®Number=0000000000100748&sum=18000 [23:33:17]line 0 [23:33:17]OFD Sender: Processing packet 12658 [packets to send 7, broken 6] [23:33:17]ProducePacketName [23:33:17]name=ofd_packets/00012658 [23:33:17]OFD Sender: To server: pG, [23:33:17]CommunicateWithHost lk.salyk.kg:30040 [23:33:17]ConnectInit lk.salyk.kg [23:33:17]written 0, free lines is 4095 [23:33:17]Connected sock=11 [23:33:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 24 01 00 00 31 96 1C 01 14 9F 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 3C A2 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 72 31 00 00 35 04 06 00 2A 4F 6B F8 1C 40 6F F4 76 4F D5 09 61 45 [23:33:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 71 F7 47 00 54 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 39 36 35 36 38 35 10 04 04 00 72 31 00 00 F4 03 04 00 BC 4A 25 66 B6 04 01 00 00 73 BA A6 73 08 69 B0 A9 [23:33:17]CommunicateWithHost err = 0 [23:33:17]CheckOFDResponse [23:33:17]1017 (14) - 77093643461234 [23:33:17]1041 (16) - 0000000000965685 [23:33:17]1040 (4) - 12658 [23:33:17]1012 (4) - 21.04.2024 17:19 [23:33:17]1206 (1) - 0 [23:33:17]OFD Sender: Remove packet 12658 [23:33:17]ProducePacketName [23:33:17]name=ofd_packets/00012658 [23:33:17]NVStorageDeleteData [23:33:17]Write to MH i2c: 01 00 00 B1 09 BA [23:33:17]Write i2c OK [23:33:17]MH_I2C_Read... [23:33:17]Read from MH i2c: 01 [23:33:17]MH_I2C_Read... [23:33:17]Read from MH i2c: 01 07 00 [23:33:17]MH_I2C_Read... [23:33:17]Read from MH i2c: 01 07 00 B1 09 00 00 00 00 00 0A 0D D8 [23:33:17]RasterBufferAndPrint [23:33:17]line [23:33:17]line [23:33:17]line [23:33:17]line [23:33:17]line [23:33:17]written 0, free lines is 3344 [23:33:17]MH_Cut [23:33:17]Write to MH i2c: D1 01 00 B8 09 01 93 [23:33:17]Write i2c OK [23:33:17]MH_I2C_Read... [23:33:17]Read from MH i2c: D1 [23:33:17]MH_I2C_Read... [23:33:17]Read from MH i2c: D1 01 00 [23:33:17]MH_I2C_Read... [23:33:17]Read from MH i2c: D1 01 00 B8 09 00 92 [23:33:17]Write to MH i2c: 01 00 00 B9 09 C2 [23:33:17]Write i2c OK [23:33:17]MH_I2C_Read... [23:33:18]OFD Sender: No OFD packet to send [23:33:18]*** Cut start [23:33:18]*** Partial cut [23:33:18]*** CUTSNS_PIN = 1 [23:33:18]*** CUTSNS_PIN = 0 [23:33:18]*** Brake cut motor [23:33:19]Read from MH i2c: 01 [23:33:19]MH_I2C_Read... [23:33:19]*** Stop cut motor [23:33:19]*** Cut end [23:33:19]Read from MH i2c: 01 07 00 [23:33:19]MH_I2C_Read... [23:33:19]Read from MH i2c: 01 07 00 B9 09 00 00 00 00 00 FF 0F D7 [23:33:19]process_action close_receipt done [23:33:19]requested_data is exist [23:33:19]produce_requested_data [23:33:19]requested_item fm.sn is exist - process it [23:33:19]wFMCommunicate request_size=4 [23:33:19]MH_SAM_APDU [23:33:19]CAPDU: 80 11 00 00 [23:33:19]Write to MH i2c: E2 08 00 BA 09 80 11 00 00 00 00 00 00 3D [23:33:19]Write i2c OK [23:33:19]MH_I2C_Read... [23:33:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:33:19]Read from MH i2c: E2 [23:33:19]MH_I2C_Read... [23:33:19]Read from MH i2c: E2 17 00 [23:33:19]MH_I2C_Read... [23:33:19]Read from MH i2c: E2 17 00 BA 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 97 [23:33:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [23:33:19]wFMCommunicate OK [23:33:19]requested_item fd.num is exist - process it [23:33:19]SAM_PROTO_GetFieldsCounters [23:33:19]wFMCommunicate request_size=4 [23:33:19]MH_SAM_APDU [23:33:19]CAPDU: 80 13 00 00 [23:33:19]Write to MH i2c: E2 08 00 BB 09 80 13 00 00 00 00 00 00 40 [23:33:19]Write i2c OK [23:33:19]MH_I2C_Read... [23:33:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:33:19]Read from MH i2c: E2 [23:33:19]MH_I2C_Read... [23:33:19]Read from MH i2c: E2 62 00 [23:33:19]MH_I2C_Read... [23:33:19]Read from MH i2c: E2 62 00 BB 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 72 31 00 00 0E 04 04 00 19 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 F2 [23:33:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 72 31 00 00 0E 04 04 00 19 01 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:33:19]wFMCommunicate OK [23:33:19]SAM_PROTO_GetFieldsCounters done [23:33:19]requested_item shift.num is exist - process it [23:33:19]requested_item shift.opened is exist - process it [23:33:19]req_shift_opened [23:33:19]FM_GetShiftState [23:33:19]SAM_PROTO_GetShiftState [23:33:19]wFMCommunicate request_size=4 [23:33:19]MH_SAM_APDU [23:33:19]CAPDU: 80 13 01 00 [23:33:19]Write to MH i2c: E2 08 00 BC 09 80 13 01 00 00 00 00 00 42 [23:33:19]Write i2c OK [23:33:19]MH_I2C_Read... [23:33:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:33:19]Read from MH i2c: E2 [23:33:19]MH_I2C_Read... [23:33:19]Read from MH i2c: E2 0E 00 [23:33:19]MH_I2C_Read... [23:33:19]Read from MH i2c: E2 0E 00 BC 09 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 9A [23:33:19]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [23:33:19]wFMCommunicate OK [23:33:19]SAM_PROTO_GetShiftState done [23:33:19]FM_GetShiftState done [23:33:19]req_shift_opened done [23:33:19]requested_item shift.open_date is exist - process it [23:33:19]req_shift_open_date [23:33:19]req_shift_open_date done [23:33:19]produce_requested_data done [23:33:19]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12658,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [23:33:19]process_action_free close_receipt [23:33:19]json_value_free [23:33:19]json_value_free done [23:33:19]process_json_proto returns [23:33:19]Send response to host [23:33:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12658,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [23:33:19]free response buf [23:33:19]execute_script done [23:33:19]execute_script returns [23:33:19]free content buf [23:33:19]Sock 7.Close socket [23:33:19]Sock 7.Thread stoped [23:33:23]OFD Sender: No OFD packet to send [23:33:28]OFD Sender: No OFD packet to send [23:33:33]OFD Sender: No OFD packet to send [23:33:38]OFD Sender: No OFD packet to send [23:33:43]OFD Sender: No OFD packet to send [23:33:48]OFD Sender: No OFD packet to send [23:33:53]OFD Sender: No OFD packet to send [23:33:58]OFD Sender: No OFD packet to send [23:34:03]OFD Sender: No OFD packet to send [23:34:08]OFD Sender: No OFD packet to send [23:34:13]OFD Sender: No OFD packet to send [23:34:18]OFD Sender: No OFD packet to send [23:34:23]OFD Sender: No OFD packet to send [23:34:28]OFD Sender: No OFD packet to send [23:34:33]OFD Sender: No OFD packet to send [23:34:38]OFD Sender: No OFD packet to send [23:34:43]OFD Sender: No OFD packet to send [23:34:48]OFD Sender: No OFD packet to send [23:34:53]OFD Sender: No OFD packet to send [23:34:58]OFD Sender: No OFD packet to send [23:35:03]OFD Sender: No OFD packet to send [23:35:08]OFD Sender: No OFD packet to send [23:35:13]OFD Sender: No OFD packet to send [23:35:18]OFD Sender: No OFD packet to send [23:35:23]OFD Sender: No OFD packet to send [23:35:28]OFD Sender: No OFD packet to send [23:35:33]OFD Sender: No OFD packet to send [23:35:38]OFD Sender: No OFD packet to send [23:35:43]OFD Sender: No OFD packet to send [23:35:48]OFD Sender: No OFD packet to send [23:35:53]OFD Sender: No OFD packet to send [23:35:58]OFD Sender: No OFD packet to send [23:36:03]OFD Sender: No OFD packet to send [23:36:08]OFD Sender: No OFD packet to send [23:36:13]OFD Sender: No OFD packet to send [23:36:18]OFD Sender: No OFD packet to send [23:36:23]OFD Sender: No OFD packet to send [23:36:28]OFD Sender: No OFD packet to send [23:36:33]OFD Sender: No OFD packet to send [23:36:38]OFD Sender: No OFD packet to send [23:36:43]OFD Sender: No OFD packet to send [23:36:48]OFD Sender: No OFD packet to send [23:36:53]OFD Sender: No OFD packet to send [23:36:58]OFD Sender: No OFD packet to send [23:37:03]OFD Sender: No OFD packet to send [23:37:08]OFD Sender: No OFD packet to send [23:37:09]accept exits with 9 [23:37:09]New connection [23:37:09]New thread 3066813796 created [23:37:09]Thread 3066957156 joined [23:37:09]Waiting for new connection... [23:37:09] Sock 9.Parse request [23:37:09]Sock 9.Check first char [23:37:09]Sock 9.First char is OK [23:37:09]request: POST /json_proto HTTP/1.0 [23:37:09]Method: POST [23:37:09]URL: /json_proto [23:37:09]Method is POST - this is cgi request [23:37:09]url: /json_proto [23:37:09]query_string will be loaded in cgi processing [23:37:09]execute_cgi json_proto POST (null) [23:37:09]execute_cgi path=json_proto method=POST [23:37:09]POST find Content-Length [23:37:09]Host: 172.17.62.6:8080 [23:37:09]Content-Length: 215 [23:37:09]Content-Type: application/json [23:37:09] [23:37:09]POST finish read [23:37:09]Found Content-Length = 215 [23:37:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:37:09]execute_script... [23:37:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:37:09]POST & json_proto [23:37:09]process_json_proto [23:37:09]json parsed OK: [23:37:09]protocol is kg_v1.0 [23:37:09]action value=get_value [23:37:09]process_action get_value [23:37:09]cmd_get_value [23:37:09]process_action get_value done [23:37:09]requested_data is exist [23:37:09]produce_requested_data [23:37:09]requested_item kkm.sn is exist - process it [23:37:09]requested_item kkm.ver is exist - process it [23:37:09]requested_item fm.sn is exist - process it [23:37:09]wFMCommunicate request_size=4 [23:37:09]MH_SAM_APDU [23:37:09]CAPDU: 80 11 00 00 [23:37:09]Write to MH i2c: E2 08 00 BD 09 80 11 00 00 00 00 00 00 40 [23:37:09]Write i2c OK [23:37:09]MH_I2C_Read... [23:37:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:37:09]Read from MH i2c: E2 [23:37:09]MH_I2C_Read... [23:37:09]Read from MH i2c: E2 17 00 [23:37:09]MH_I2C_Read... [23:37:09]Read from MH i2c: E2 17 00 BD 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 9A [23:37:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [23:37:09]wFMCommunicate OK [23:37:09]requested_item fd.num is exist - process it [23:37:09]SAM_PROTO_GetFieldsCounters [23:37:09]wFMCommunicate request_size=4 [23:37:09]MH_SAM_APDU [23:37:09]CAPDU: 80 13 00 00 [23:37:09]Write to MH i2c: E2 08 00 BE 09 80 13 00 00 00 00 00 00 43 [23:37:09]Write i2c OK [23:37:09]MH_I2C_Read... [23:37:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:37:09]Read from MH i2c: E2 [23:37:09]MH_I2C_Read... [23:37:09]Read from MH i2c: E2 62 00 [23:37:09]MH_I2C_Read... [23:37:09]Read from MH i2c: E2 62 00 BE 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 72 31 00 00 0E 04 04 00 19 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 F5 [23:37:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 72 31 00 00 0E 04 04 00 19 01 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:37:09]wFMCommunicate OK [23:37:09]SAM_PROTO_GetFieldsCounters done [23:37:09]requested_item shift.num is exist - process it [23:37:09]requested_item shift.opened is exist - process it [23:37:09]req_shift_opened [23:37:09]FM_GetShiftState [23:37:09]SAM_PROTO_GetShiftState [23:37:09]wFMCommunicate request_size=4 [23:37:09]MH_SAM_APDU [23:37:09]CAPDU: 80 13 01 00 [23:37:09]Write to MH i2c: E2 08 00 BF 09 80 13 01 00 00 00 00 00 45 [23:37:09]Write i2c OK [23:37:09]MH_I2C_Read... [23:37:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:37:09]Read from MH i2c: E2 [23:37:09]MH_I2C_Read... [23:37:09]Read from MH i2c: E2 0E 00 [23:37:09]MH_I2C_Read... [23:37:09]Read from MH i2c: E2 0E 00 BF 09 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 9D [23:37:09]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [23:37:09]wFMCommunicate OK [23:37:09]SAM_PROTO_GetShiftState done [23:37:09]FM_GetShiftState done [23:37:09]req_shift_opened done [23:37:09]requested_item shift.open_date is exist - process it [23:37:09]req_shift_open_date [23:37:09]req_shift_open_date done [23:37:09]produce_requested_data done [23:37:09]produce_requested_data return {"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12658,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [23:37:09]process_action_free get_value [23:37:09]json_value_free [23:37:09]json_value_free done [23:37:09]process_json_proto returns [23:37:09]Send response to host [23:37:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12658,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [23:37:09]free response buf [23:37:09]execute_script done [23:37:09]execute_script returns [23:37:09]free content buf [23:37:09]Sock 9.Close socket [23:37:09]Sock 9.Thread stoped [23:37:09]accept exits with 7 [23:37:09]New connection [23:37:09]New thread 3066957156 created [23:37:09]Thread 3066813796 joined [23:37:09]Waiting for new connection... [23:37:09] Sock 7.Parse request [23:37:09]Sock 7.Check first char [23:37:09]Sock 7.First char is OK [23:37:09]request: POST /json_proto HTTP/1.0 [23:37:09]Method: POST [23:37:09]URL: /json_proto [23:37:09]Method is POST - this is cgi request [23:37:09]url: /json_proto [23:37:09]query_string will be loaded in cgi processing [23:37:09]execute_cgi json_proto POST (null) [23:37:09]execute_cgi path=json_proto method=POST [23:37:09]POST find Content-Length [23:37:09]Host: 172.17.62.6:8080 [23:37:09]Content-Length: 331 [23:37:09]Content-Type: application/json [23:37:09] [23:37:09]POST finish read [23:37:09]Found Content-Length = 331 [23:37:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:37:09]execute_script... [23:37: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" ] } } [23:37:10]POST & json_proto [23:37:10]process_json_proto [23:37:10]json parsed OK: [23:37:10]protocol is kg_v1.0 [23:37:10]action value=get_value [23:37:10]process_action get_value [23:37:10]cmd_get_value [23:37:10]process_action get_value done [23:37:10]requested_data is exist [23:37:10]produce_requested_data [23:37:10]requested_item fm.sale.total is exist - process it [23:37:10]SAM_PROTO_GetFMData [23:37:10]wFMCommunicate request_size=4 [23:37:10]MH_SAM_APDU [23:37:10]CAPDU: 80 13 03 00 [23:37:10]Write to MH i2c: E2 08 00 C0 09 80 13 03 00 00 00 00 00 48 [23:37:10]Write i2c OK [23:37:10]MH_I2C_Read... [23:37:10]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:37:10]Read from MH i2c: E2 [23:37:10]MH_I2C_Read... [23:37:10]Read from MH i2c: E2 FD 00 [23:37:10]MH_I2C_Read... [23:37:10]Read from MH i2c: E2 FD 00 C0 09 00 C1 04 85 04 BD 04 6E 04 04 00 40 2F 00 00 69 04 A0 00 6F 04 04 00 F3 2E 00 00 B1 04 04 00 EF 0A CD 0E 70 04 04 00 2E 43 C3 0C 72 04 04 00 C1 C7 09 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 2C 5F 92 01 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 CA 83 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 D2 86 6F 70 04 03 00 0E 70 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FD D7 0B EF 03 09 00 F6 03 90 00 CE [23:37:10]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 40 2F 00 00 69 04 A0 00 6F 04 04 00 F3 2E 00 00 B1 04 04 00 EF 0A CD 0E 70 04 04 00 2E 43 C3 0C 72 04 04 00 C1 C7 09 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 2C 5F 92 01 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 CA 83 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 D2 86 6F 70 04 03 00 0E 70 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FD D7 0B EF 03 09 00 F6 03 90 00 [23:37:10]wFMCommunicate OK [23:37:10]wFMCommunicate request_size=4 [23:37:10]MH_SAM_APDU [23:37:10]CAPDU: 80 17 00 00 [23:37:10]Write to MH i2c: E2 08 00 C1 09 80 17 00 00 00 00 00 00 4A [23:37:10]Write i2c OK [23:37:10]MH_I2C_Read... [23:37:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:37:10]Read from MH i2c: E2 [23:37:10]MH_I2C_Read... [23:37:10]Read from MH i2c: E2 FD 00 [23:37:10]MH_I2C_Read... [23:37:10]Read from MH i2c: E2 FD 00 C1 09 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A8 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 1D [23:37:10]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A8 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [23:37:10]wFMCommunicate OK [23:37:10]wFMCommunicate request_size=4 [23:37:10]MH_SAM_APDU [23:37:10]CAPDU: 80 17 00 00 [23:37:10]Write to MH i2c: E2 08 00 C2 09 80 17 00 00 00 00 00 00 4B [23:37:10]Write i2c OK [23:37:10]MH_I2C_Read... [23:37:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:37:11]Read from MH i2c: E2 [23:37:11]MH_I2C_Read... [23:37:11]Read from MH i2c: E2 FD 00 [23:37:11]MH_I2C_Read... [23:37:11]Read from MH i2c: E2 FD 00 C2 09 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 EB [23:37:11]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [23:37:11]wFMCommunicate OK [23:37:11]wFMCommunicate request_size=4 [23:37:11]MH_SAM_APDU [23:37:11]CAPDU: 80 17 00 00 [23:37:11]Write to MH i2c: E2 08 00 C3 09 80 17 00 00 00 00 00 00 4C [23:37:11]Write i2c OK [23:37:11]MH_I2C_Read... [23:37:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:37:11]Read from MH i2c: E2 [23:37:11]MH_I2C_Read... [23:37:11]Read from MH i2c: E2 FD 00 [23:37:11]MH_I2C_Read... [23:37:11]Read from MH i2c: E2 FD 00 C3 09 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 D1 [23:37:11]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [23:37:11]wFMCommunicate OK [23:37:11]wFMCommunicate request_size=4 [23:37:11]MH_SAM_APDU [23:37:11]CAPDU: 80 17 00 00 [23:37:11]Write to MH i2c: E2 08 00 C4 09 80 17 00 00 00 00 00 00 4D [23:37:11]Write i2c OK [23:37:11]MH_I2C_Read... [23:37:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [23:37:11]Read from MH i2c: E2 [23:37:11]MH_I2C_Read... [23:37:11]Read from MH i2c: E2 DE 00 [23:37:11]MH_I2C_Read... [23:37:11]Read from MH i2c: E2 DE 00 C4 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [23:37:11]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:37:11]wFMCommunicate OK [23:37:11]SAM_PROTO_GetFMData done [23:37:11]requested_item fm.sale_refund.total is exist - process it [23:37:11]requested_item fm.buy.total is exist - process it [23:37:11]requested_item shift.sale.total is exist - process it [23:37:11]SAM_PROTO_GetShiftData [23:37:11]wFMCommunicate request_size=4 [23:37:11]MH_SAM_APDU [23:37:11]CAPDU: 80 13 02 00 [23:37:11]Write to MH i2c: E2 08 00 C5 09 80 13 02 00 00 00 00 00 4C [23:37:11]Write i2c OK [23:37:11]MH_I2C_Read... [23:37:12]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:37:12]Read from MH i2c: E2 [23:37:12]MH_I2C_Read... [23:37:12]Read from MH i2c: E2 FD 00 [23:37:12]MH_I2C_Read... [23:37:12]Read from MH i2c: E2 FD 00 C5 09 00 B5 04 AA 04 B1 04 6E 04 04 00 46 00 00 00 69 04 9B 00 6F 04 04 00 45 00 00 00 B1 04 03 00 24 94 10 70 04 03 00 0C C9 0C 72 04 03 00 18 CB 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 AA C2 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 83 25 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 70 17 70 04 02 00 70 17 72 04 00 00 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 F9 [23:37:12]RAPDU: B5 04 AA 04 B1 04 6E 04 04 00 46 00 00 00 69 04 9B 00 6F 04 04 00 45 00 00 00 B1 04 03 00 24 94 10 70 04 03 00 0C C9 0C 72 04 03 00 18 CB 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 AA C2 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 83 25 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 70 17 70 04 02 00 70 17 72 04 00 00 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 [23:37:12]wFMCommunicate OK [23:37:12]wFMCommunicate request_size=4 [23:37:12]MH_SAM_APDU [23:37:12]CAPDU: 80 17 00 00 [23:37:12]Write to MH i2c: E2 08 00 C6 09 80 17 00 00 00 00 00 00 4F [23:37:12]Write i2c OK [23:37:12]MH_I2C_Read... [23:37:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:37:12]Read from MH i2c: E2 [23:37:12]MH_I2C_Read... [23:37:12]Read from MH i2c: E2 FD 00 [23:37:12]MH_I2C_Read... [23:37:12]Read from MH i2c: E2 FD 00 C6 09 00 F6 03 01 00 01 F7 03 01 00 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 90 00 9A [23:37:12]RAPDU: F6 03 01 00 01 F7 03 01 00 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 90 00 [23:37:12]wFMCommunicate OK [23:37:12]wFMCommunicate request_size=4 [23:37:12]MH_SAM_APDU [23:37:12]CAPDU: 80 17 00 00 [23:37:12]Write to MH i2c: E2 08 00 C7 09 80 17 00 00 00 00 00 00 50 [23:37:12]Write i2c OK [23:37:12]MH_I2C_Read... [23:37:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:37:12]Read from MH i2c: E2 [23:37:12]MH_I2C_Read... [23:37:12]Read from MH i2c: E2 FD 00 [23:37:12]MH_I2C_Read... [23:37:12]Read from MH i2c: E2 FD 00 C7 09 00 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 90 00 0D [23:37:12]RAPDU: 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 90 00 [23:37:12]wFMCommunicate OK [23:37:12]wFMCommunicate request_size=4 [23:37:12]MH_SAM_APDU [23:37:12]CAPDU: 80 17 00 00 [23:37:12]Write to MH i2c: E2 08 00 C8 09 80 17 00 00 00 00 00 00 51 [23:37:12]Write i2c OK [23:37:12]MH_I2C_Read... [23:37:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:37:13]Read from MH i2c: E2 [23:37:13]MH_I2C_Read... [23:37:13]Read from MH i2c: E2 FD 00 [23:37:13]MH_I2C_Read... [23:37:13]Read from MH i2c: E2 FD 00 C8 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 90 00 C9 [23:37:13]RAPDU: F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 90 00 [23:37:13]wFMCommunicate OK [23:37:13]wFMCommunicate request_size=4 [23:37:13]MH_SAM_APDU [23:37:13]CAPDU: 80 17 00 00 [23:37:13]Write to MH i2c: E2 08 00 C9 09 80 17 00 00 00 00 00 00 52 [23:37:13]Write i2c OK [23:37:13]MH_I2C_Read... [23:37:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 207! [23:37:13]Read from MH i2c: E2 [23:37:13]MH_I2C_Read... [23:37:13]Read from MH i2c: E2 D2 00 [23:37:13]MH_I2C_Read... [23:37:13]Read from MH i2c: E2 D2 00 C9 09 00 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 35 [23:37:13]RAPDU: 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:37:13]wFMCommunicate OK [23:37:13]SAM_PROTO_GetShiftData done [23:37:13]requested_item shift.sale.total_cash is exist - process it [23:37:13]requested_item shift.sale_refund.total is exist - process it [23:37:13]requested_item shift.sale_refund.total_cash is exist - process it [23:37:13]requested_item shift.buy.total is exist - process it [23:37:13]requested_item shift.buy.total_cash is exist - process it [23:37:13]produce_requested_data done [23:37:13]produce_requested_data return {"fm.sale.total":2483187.03,"fm.sale_refund.total":73090.10,"fm.buy.total":0.00,"shift.sale.total":10865.00,"shift.sale.total_cash":8379.00,"shift.sale_refund.total":60.00,"shift.sale_refund.total_cash":60.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:37:13]process_action_free get_value [23:37:13]json_value_free [23:37:13]json_value_free done [23:37:13]process_json_proto returns [23:37:13]Send response to host [23:37:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2483187.03,"fm.sale_refund.total":73090.10,"fm.buy.total":0.00,"shift.sale.total":10865.00,"shift.sale.total_cash":8379.00,"shift.sale_refund.total":60.00,"shift.sale_refund.total_cash":60.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:37:13]free response buf [23:37:13]execute_script done [23:37:13]execute_script returns [23:37:13]free content buf [23:37:13]Sock 7.Close socket [23:37:13]Sock 7.Thread stoped [23:37:13]OFD Sender: No OFD packet to send [23:37:14]accept exits with 9 [23:37:14]New connection [23:37:14]New thread 3066813796 created [23:37:14]Thread 3066957156 joined [23:37:14]Waiting for new connection... [23:37:14] Sock 9.Parse request [23:37:14]Sock 9.Check first char [23:37:14]Sock 9.First char is OK [23:37:14]request: POST /json_proto HTTP/1.0 [23:37:14]Method: POST [23:37:14]URL: /json_proto [23:37:14]Method is POST - this is cgi request [23:37:14]url: /json_proto [23:37:14]query_string will be loaded in cgi processing [23:37:14]execute_cgi json_proto POST (null) [23:37:14]execute_cgi path=json_proto method=POST [23:37:14]POST find Content-Length [23:37:14]Host: 172.17.62.6:8080 [23:37:14]Content-Length: 215 [23:37:14]Content-Type: application/json [23:37:14] [23:37:14]POST finish read [23:37:14]Found Content-Length = 215 [23:37:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:37:14]execute_script... [23:37:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:37:14]POST & json_proto [23:37:14]process_json_proto [23:37:14]json parsed OK: [23:37:14]protocol is kg_v1.0 [23:37:14]action value=get_value [23:37:14]process_action get_value [23:37:14]cmd_get_value [23:37:14]process_action get_value done [23:37:14]requested_data is exist [23:37:14]produce_requested_data [23:37:14]requested_item kkm.sn is exist - process it [23:37:14]requested_item kkm.ver is exist - process it [23:37:14]requested_item fm.sn is exist - process it [23:37:14]wFMCommunicate request_size=4 [23:37:14]MH_SAM_APDU [23:37:14]CAPDU: 80 11 00 00 [23:37:14]Write to MH i2c: E2 08 00 CA 09 80 11 00 00 00 00 00 00 4D [23:37:14]Write i2c OK [23:37:14]MH_I2C_Read... [23:37:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:37:14]Read from MH i2c: E2 [23:37:14]MH_I2C_Read... [23:37:14]Read from MH i2c: E2 17 00 [23:37:14]MH_I2C_Read... [23:37:14]Read from MH i2c: E2 17 00 CA 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 A7 [23:37:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [23:37:14]wFMCommunicate OK [23:37:14]requested_item fd.num is exist - process it [23:37:14]SAM_PROTO_GetFieldsCounters [23:37:14]wFMCommunicate request_size=4 [23:37:14]MH_SAM_APDU [23:37:14]CAPDU: 80 13 00 00 [23:37:14]Write to MH i2c: E2 08 00 CB 09 80 13 00 00 00 00 00 00 50 [23:37:14]Write i2c OK [23:37:14]MH_I2C_Read... [23:37:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:37:14]Read from MH i2c: E2 [23:37:14]MH_I2C_Read... [23:37:14]Read from MH i2c: E2 62 00 [23:37:14]MH_I2C_Read... [23:37:14]Read from MH i2c: E2 62 00 CB 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 72 31 00 00 0E 04 04 00 19 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 02 [23:37:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 72 31 00 00 0E 04 04 00 19 01 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:37:14]wFMCommunicate OK [23:37:14]SAM_PROTO_GetFieldsCounters done [23:37:14]requested_item shift.num is exist - process it [23:37:14]requested_item shift.opened is exist - process it [23:37:14]req_shift_opened [23:37:14]FM_GetShiftState [23:37:14]SAM_PROTO_GetShiftState [23:37:14]wFMCommunicate request_size=4 [23:37:14]MH_SAM_APDU [23:37:14]CAPDU: 80 13 01 00 [23:37:14]Write to MH i2c: E2 08 00 CC 09 80 13 01 00 00 00 00 00 52 [23:37:14]Write i2c OK [23:37:14]MH_I2C_Read... [23:37:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:37:14]Read from MH i2c: E2 [23:37:14]MH_I2C_Read... [23:37:14]Read from MH i2c: E2 0E 00 [23:37:14]MH_I2C_Read... [23:37:14]Read from MH i2c: E2 0E 00 CC 09 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 AA [23:37:14]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [23:37:14]wFMCommunicate OK [23:37:14]SAM_PROTO_GetShiftState done [23:37:14]FM_GetShiftState done [23:37:14]req_shift_opened done [23:37:14]requested_item shift.open_date is exist - process it [23:37:14]req_shift_open_date [23:37:14]req_shift_open_date done [23:37:14]produce_requested_data done [23:37:14]produce_requested_data return {"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12658,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [23:37:14]process_action_free get_value [23:37:14]json_value_free [23:37:14]json_value_free done [23:37:14]process_json_proto returns [23:37:14]Send response to host [23:37:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12658,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [23:37:14]free response buf [23:37:14]execute_script done [23:37:14]execute_script returns [23:37:14]free content buf [23:37:14]Sock 9.Close socket [23:37:14]Sock 9.Thread stoped [23:37:14]accept exits with 7 [23:37:14]New connection [23:37:14]New thread 3066957156 created [23:37:14]Thread 3066813796 joined [23:37:14]Waiting for new connection... [23:37:14] Sock 7.Parse request [23:37:14]Sock 7.Check first char [23:37:14]Sock 7.First char is OK [23:37:14]request: POST /json_proto HTTP/1.0 [23:37:14]Method: POST [23:37:14]URL: /json_proto [23:37:14]Method is POST - this is cgi request [23:37:14]url: /json_proto [23:37:14]query_string will be loaded in cgi processing [23:37:14]execute_cgi json_proto POST (null) [23:37:14]execute_cgi path=json_proto method=POST [23:37:14]POST find Content-Length [23:37:14]Host: 172.17.62.6:8080 [23:37:14]Content-Length: 331 [23:37:14]Content-Type: application/json [23:37:14] [23:37:14]POST finish read [23:37:14]Found Content-Length = 331 [23:37:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:37:14]execute_script... [23:37:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:37:14]POST & json_proto [23:37:14]process_json_proto [23:37:14]json parsed OK: [23:37:14]protocol is kg_v1.0 [23:37:14]action value=get_value [23:37:14]process_action get_value [23:37:14]cmd_get_value [23:37:14]process_action get_value done [23:37:14]requested_data is exist [23:37:14]produce_requested_data [23:37:14]requested_item fm.sale.total is exist - process it [23:37:14]SAM_PROTO_GetFMData [23:37:14]wFMCommunicate request_size=4 [23:37:14]MH_SAM_APDU [23:37:14]CAPDU: 80 13 03 00 [23:37:14]Write to MH i2c: E2 08 00 CD 09 80 13 03 00 00 00 00 00 55 [23:37:14]Write i2c OK [23:37:14]MH_I2C_Read... [23:37:14]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:37:14]Read from MH i2c: E2 [23:37:14]MH_I2C_Read... [23:37:14]Read from MH i2c: E2 FD 00 [23:37:14]MH_I2C_Read... [23:37:14]Read from MH i2c: E2 FD 00 CD 09 00 C1 04 85 04 BD 04 6E 04 04 00 40 2F 00 00 69 04 A0 00 6F 04 04 00 F3 2E 00 00 B1 04 04 00 EF 0A CD 0E 70 04 04 00 2E 43 C3 0C 72 04 04 00 C1 C7 09 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 2C 5F 92 01 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 CA 83 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 D2 86 6F 70 04 03 00 0E 70 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FD D7 0B EF 03 09 00 F6 03 90 00 DB [23:37:14]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 40 2F 00 00 69 04 A0 00 6F 04 04 00 F3 2E 00 00 B1 04 04 00 EF 0A CD 0E 70 04 04 00 2E 43 C3 0C 72 04 04 00 C1 C7 09 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 2C 5F 92 01 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 CA 83 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 D2 86 6F 70 04 03 00 0E 70 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FD D7 0B EF 03 09 00 F6 03 90 00 [23:37:15]wFMCommunicate OK [23:37:15]wFMCommunicate request_size=4 [23:37:15]MH_SAM_APDU [23:37:15]CAPDU: 80 17 00 00 [23:37:15]Write to MH i2c: E2 08 00 CE 09 80 17 00 00 00 00 00 00 57 [23:37:15]Write i2c OK [23:37:15]MH_I2C_Read... [23:37:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:37:15]Read from MH i2c: E2 [23:37:15]MH_I2C_Read... [23:37:15]Read from MH i2c: E2 FD 00 [23:37:15]MH_I2C_Read... [23:37:15]Read from MH i2c: E2 FD 00 CE 09 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A8 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 2A [23:37:15]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A8 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [23:37:15]wFMCommunicate OK [23:37:15]wFMCommunicate request_size=4 [23:37:15]MH_SAM_APDU [23:37:15]CAPDU: 80 17 00 00 [23:37:15]Write to MH i2c: E2 08 00 CF 09 80 17 00 00 00 00 00 00 58 [23:37:15]Write i2c OK [23:37:15]MH_I2C_Read... [23:37:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:37:15]Read from MH i2c: E2 [23:37:15]MH_I2C_Read... [23:37:15]Read from MH i2c: E2 FD 00 [23:37:15]MH_I2C_Read... [23:37:15]Read from MH i2c: E2 FD 00 CF 09 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 F8 [23:37:15]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [23:37:15]wFMCommunicate OK [23:37:15]wFMCommunicate request_size=4 [23:37:15]MH_SAM_APDU [23:37:15]CAPDU: 80 17 00 00 [23:37:15]Write to MH i2c: E2 08 00 D0 09 80 17 00 00 00 00 00 00 59 [23:37:15]Write i2c OK [23:37:15]MH_I2C_Read... [23:37:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:37:16]Read from MH i2c: E2 [23:37:16]MH_I2C_Read... [23:37:16]Read from MH i2c: E2 FD 00 [23:37:16]MH_I2C_Read... [23:37:16]Read from MH i2c: E2 FD 00 D0 09 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 DE [23:37:16]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [23:37:16]wFMCommunicate OK [23:37:16]wFMCommunicate request_size=4 [23:37:16]MH_SAM_APDU [23:37:16]CAPDU: 80 17 00 00 [23:37:16]Write to MH i2c: E2 08 00 D1 09 80 17 00 00 00 00 00 00 5A [23:37:16]Write i2c OK [23:37:16]MH_I2C_Read... [23:37:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [23:37:16]Read from MH i2c: E2 [23:37:16]MH_I2C_Read... [23:37:16]Read from MH i2c: E2 DE 00 [23:37:16]MH_I2C_Read... [23:37:16]Read from MH i2c: E2 DE 00 D1 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 39 [23:37:16]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:37:16]wFMCommunicate OK [23:37:16]SAM_PROTO_GetFMData done [23:37:16]requested_item fm.sale_refund.total is exist - process it [23:37:16]requested_item fm.buy.total is exist - process it [23:37:16]requested_item shift.sale.total is exist - process it [23:37:16]SAM_PROTO_GetShiftData [23:37:16]wFMCommunicate request_size=4 [23:37:16]MH_SAM_APDU [23:37:16]CAPDU: 80 13 02 00 [23:37:16]Write to MH i2c: E2 08 00 D2 09 80 13 02 00 00 00 00 00 59 [23:37:16]Write i2c OK [23:37:16]MH_I2C_Read... [23:37:16]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:37:16]Read from MH i2c: E2 [23:37:16]MH_I2C_Read... [23:37:16]Read from MH i2c: E2 FD 00 [23:37:16]MH_I2C_Read... [23:37:16]Read from MH i2c: E2 FD 00 D2 09 00 B5 04 AA 04 B1 04 6E 04 04 00 46 00 00 00 69 04 9B 00 6F 04 04 00 45 00 00 00 B1 04 03 00 24 94 10 70 04 03 00 0C C9 0C 72 04 03 00 18 CB 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 AA C2 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 83 25 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 70 17 70 04 02 00 70 17 72 04 00 00 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 06 [23:37:17]RAPDU: B5 04 AA 04 B1 04 6E 04 04 00 46 00 00 00 69 04 9B 00 6F 04 04 00 45 00 00 00 B1 04 03 00 24 94 10 70 04 03 00 0C C9 0C 72 04 03 00 18 CB 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 AA C2 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 83 25 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 70 17 70 04 02 00 70 17 72 04 00 00 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 [23:37:17]wFMCommunicate OK [23:37:17]wFMCommunicate request_size=4 [23:37:17]MH_SAM_APDU [23:37:17]CAPDU: 80 17 00 00 [23:37:17]Write to MH i2c: E2 08 00 D3 09 80 17 00 00 00 00 00 00 5C [23:37:17]Write i2c OK [23:37:17]MH_I2C_Read... [23:37:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:37:17]Read from MH i2c: E2 [23:37:17]MH_I2C_Read... [23:37:17]Read from MH i2c: E2 FD 00 [23:37:17]MH_I2C_Read... [23:37:17]Read from MH i2c: E2 FD 00 D3 09 00 F6 03 01 00 01 F7 03 01 00 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 90 00 A7 [23:37:17]RAPDU: F6 03 01 00 01 F7 03 01 00 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 90 00 [23:37:17]wFMCommunicate OK [23:37:17]wFMCommunicate request_size=4 [23:37:17]MH_SAM_APDU [23:37:17]CAPDU: 80 17 00 00 [23:37:17]Write to MH i2c: E2 08 00 D4 09 80 17 00 00 00 00 00 00 5D [23:37:17]Write i2c OK [23:37:17]MH_I2C_Read... [23:37:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:37:17]Read from MH i2c: E2 [23:37:17]MH_I2C_Read... [23:37:17]Read from MH i2c: E2 FD 00 [23:37:17]MH_I2C_Read... [23:37:17]Read from MH i2c: E2 FD 00 D4 09 00 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 90 00 1A [23:37:17]RAPDU: 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 90 00 [23:37:17]wFMCommunicate OK [23:37:17]wFMCommunicate request_size=4 [23:37:17]MH_SAM_APDU [23:37:17]CAPDU: 80 17 00 00 [23:37:17]Write to MH i2c: E2 08 00 D5 09 80 17 00 00 00 00 00 00 5E [23:37:17]Write i2c OK [23:37:17]MH_I2C_Read... [23:37:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:37:18]Read from MH i2c: E2 [23:37:18]MH_I2C_Read... [23:37:18]Read from MH i2c: E2 FD 00 [23:37:18]MH_I2C_Read... [23:37:18]Read from MH i2c: E2 FD 00 D5 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 90 00 D6 [23:37:18]RAPDU: F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 90 00 [23:37:18]wFMCommunicate OK [23:37:18]wFMCommunicate request_size=4 [23:37:18]MH_SAM_APDU [23:37:18]CAPDU: 80 17 00 00 [23:37:18]Write to MH i2c: E2 08 00 D6 09 80 17 00 00 00 00 00 00 5F [23:37:18]Write i2c OK [23:37:18]MH_I2C_Read... [23:37:18]OFD Sender: No OFD packet to send [23:37:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 207! [23:37:18]Read from MH i2c: E2 [23:37:18]MH_I2C_Read... [23:37:18]Read from MH i2c: E2 D2 00 [23:37:18]MH_I2C_Read... [23:37:18]Read from MH i2c: E2 D2 00 D6 09 00 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 42 [23:37:18]RAPDU: 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:37:18]wFMCommunicate OK [23:37:18]SAM_PROTO_GetShiftData done [23:37:18]requested_item shift.sale.total_cash is exist - process it [23:37:18]requested_item shift.sale_refund.total is exist - process it [23:37:18]requested_item shift.sale_refund.total_cash is exist - process it [23:37:18]requested_item shift.buy.total is exist - process it [23:37:18]requested_item shift.buy.total_cash is exist - process it [23:37:18]produce_requested_data done [23:37:18]produce_requested_data return {"fm.sale.total":2483187.03,"fm.sale_refund.total":73090.10,"fm.buy.total":0.00,"shift.sale.total":10865.00,"shift.sale.total_cash":8379.00,"shift.sale_refund.total":60.00,"shift.sale_refund.total_cash":60.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:37:18]process_action_free get_value [23:37:18]json_value_free [23:37:18]json_value_free done [23:37:18]process_json_proto returns [23:37:18]Send response to host [23:37:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2483187.03,"fm.sale_refund.total":73090.10,"fm.buy.total":0.00,"shift.sale.total":10865.00,"shift.sale.total_cash":8379.00,"shift.sale_refund.total":60.00,"shift.sale_refund.total_cash":60.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:37:18]free response buf [23:37:18]execute_script done [23:37:18]execute_script returns [23:37:18]free content buf [23:37:18]Sock 7.Close socket [23:37:18]Sock 7.Thread stoped [23:37:23]OFD Sender: No OFD packet to send [23:37:28]OFD Sender: No OFD packet to send [23:37:33]OFD Sender: No OFD packet to send [23:37:38]OFD Sender: No OFD packet to send [23:37:43]OFD Sender: No OFD packet to send [23:37:48]OFD Sender: No OFD packet to send [23:37:53]OFD Sender: No OFD packet to send [23:37:58]OFD Sender: No OFD packet to send [23:38:03]OFD Sender: No OFD packet to send [23:38:08]OFD Sender: No OFD packet to send [23:38:13]OFD Sender: No OFD packet to send [23:38:18]OFD Sender: No OFD packet to send [23:38:23]OFD Sender: No OFD packet to send [23:38:28]OFD Sender: No OFD packet to send [23:38:33]OFD Sender: No OFD packet to send [23:38:38]OFD Sender: No OFD packet to send [23:38:43]OFD Sender: No OFD packet to send [23:38:48]OFD Sender: No OFD packet to send [23:38:53]OFD Sender: No OFD packet to send [23:38:58]OFD Sender: No OFD packet to send [23:39:03]OFD Sender: No OFD packet to send [23:39:08]OFD Sender: No OFD packet to send [23:39:13]OFD Sender: No OFD packet to send [23:39:18]OFD Sender: No OFD packet to send [23:39:23]OFD Sender: No OFD packet to send [23:39:28]OFD Sender: No OFD packet to send [23:39:33]OFD Sender: No OFD packet to send [23:39:38]OFD Sender: No OFD packet to send [23:39:43]OFD Sender: No OFD packet to send [23:39:48]OFD Sender: No OFD packet to send [23:39:53]OFD Sender: No OFD packet to send [23:39:58]OFD Sender: No OFD packet to send [23:40:03]OFD Sender: No OFD packet to send [23:40:08]OFD Sender: No OFD packet to send [23:40:13]OFD Sender: No OFD packet to send [23:40:18]OFD Sender: No OFD packet to send [23:40:23]OFD Sender: No OFD packet to send [23:40:28]OFD Sender: No OFD packet to send [23:40:33]OFD Sender: No OFD packet to send [23:40:38]OFD Sender: No OFD packet to send [23:40:43]OFD Sender: No OFD packet to send [23:40:48]OFD Sender: No OFD packet to send [23:40:53]OFD Sender: No OFD packet to send [23:40:58]OFD Sender: No OFD packet to send [23:41:03]OFD Sender: No OFD packet to send [23:41:08]OFD Sender: No OFD packet to send [23:41:13]OFD Sender: No OFD packet to send [23:41:18]OFD Sender: No OFD packet to send [23:41:23]OFD Sender: No OFD packet to send [23:41:28]OFD Sender: No OFD packet to send [23:41:33]OFD Sender: No OFD packet to send [23:41:38]OFD Sender: No OFD packet to send [23:41:43]OFD Sender: No OFD packet to send [23:41:48]OFD Sender: No OFD packet to send [23:41:53]OFD Sender: No OFD packet to send [23:41:58]OFD Sender: No OFD packet to send [23:42:03]OFD Sender: No OFD packet to send [23:42:08]OFD Sender: No OFD packet to send [23:42:13]OFD Sender: No OFD packet to send [23:42:18]OFD Sender: No OFD packet to send [23:42:23]OFD Sender: No OFD packet to send [23:42:28]OFD Sender: No OFD packet to send [23:42:33]OFD Sender: No OFD packet to send [23:42:38]OFD Sender: No OFD packet to send [23:42:43]OFD Sender: No OFD packet to send [23:42:48]OFD Sender: No OFD packet to send [23:42:53]OFD Sender: No OFD packet to send [23:42:58]OFD Sender: No OFD packet to send [23:43:03]OFD Sender: No OFD packet to send [23:43:08]OFD Sender: No OFD packet to send [23:43:13]OFD Sender: No OFD packet to send [23:43:18]OFD Sender: No OFD packet to send [23:43:23]OFD Sender: No OFD packet to send [23:43:28]OFD Sender: No OFD packet to send [23:43:33]accept exits with 9 [23:43:33]New connection [23:43:33]New thread 3066813796 created [23:43:33]Thread 3066957156 joined [23:43:33]Waiting for new connection... [23:43:33] Sock 9.Parse request [23:43:33]Sock 9.Check first char [23:43:33]Sock 9.First char is OK [23:43:33]request: POST /json_proto HTTP/1.0 [23:43:33]Method: POST [23:43:33]URL: /json_proto [23:43:33]Method is POST - this is cgi request [23:43:33]url: /json_proto [23:43:33]query_string will be loaded in cgi processing [23:43:33]execute_cgi json_proto POST (null) [23:43:33]execute_cgi path=json_proto method=POST [23:43:33]POST find Content-Length [23:43:33]Host: 172.17.62.6:8080 [23:43:33]Content-Length: 589 [23:43:33]Content-Type: application/json [23:43:33] [23:43:33]POST finish read [23:43:33]Found Content-Length = 589 [23:43:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32931", "tax_sys" : 0, "items" : [ { "code": "42113164", "name": "\u0416\u0435\u0432 Orbit White Spearmint", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:43:33]execute_script... [23:43:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32931", "tax_sys" : 0, "items" : [ { "code": "42113164", "name": "\u0416\u0435\u0432 Orbit White Spearmint", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:43:33]POST & json_proto [23:43:33]process_json_proto [23:43:33]json parsed OK: [23:43:33]protocol is kg_v1.0 [23:43:33]action value=close_receipt [23:43:33]process_action close_receipt [23:43:33]cmd_close_receipt [23:43:33]MH_GetDate [23:43:33]Write to MH i2c: F0 00 00 D7 09 CF [23:43:33]Write i2c OK [23:43:33]MH_I2C_Read... [23:43:33]Read from MH i2c: F0 [23:43:33]MH_I2C_Read... [23:43:33]Read from MH i2c: F0 09 00 [23:43:33]MH_I2C_Read... [23:43:33]Read from MH i2c: F0 09 00 D7 09 00 A6 A4 25 66 61 69 D2 64 AD [23:43:33]GetLastDocTimeStamp 1713742396 [23:43:33]current date 1713743014 [23:43:33]FM_GetShiftState [23:43:33]SAM_PROTO_GetShiftState [23:43:33]wFMCommunicate request_size=4 [23:43:33]MH_SAM_APDU [23:43:33]CAPDU: 80 13 01 00 [23:43:33]Write to MH i2c: E2 08 00 D8 09 80 13 01 00 00 00 00 00 5E [23:43:33]Write i2c OK [23:43:33]MH_I2C_Read... [23:43:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:43:33]Read from MH i2c: E2 [23:43:33]MH_I2C_Read... [23:43:33]Read from MH i2c: E2 0E 00 [23:43:33]MH_I2C_Read... [23:43:33]Read from MH i2c: E2 0E 00 D8 09 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 B6 [23:43:33]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [23:43:33]wFMCommunicate OK [23:43:33]SAM_PROTO_GetShiftState done [23:43:33]FM_GetShiftState done [23:43:33]opened in 1713658727 [23:43:33]opened+sec_in_day 1713745127 [23:43:33]quantity*price = 4000 [23:43:33]sum+1 = 4001 [23:43:33]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 71 21.04.2024 23:43 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12659 ФПД: 223227627382480 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T234334&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12659&fm=223227627382480&tin=02508201610067®Number=0000000000100748&sum=4000 0 [23:43:34]StoreToDocumentArchive [23:43:34]shift 281 fd 12659 [23:43:34]save to /storage/0281/doc_00012659 [23:43:34]save last doc name /storage/0281/doc_00012659 to /storage/kkm_last_doc_name [23:43:34]save OK [23:43:34]Clear old archive folders... [23:43:34]ProcessDocumentItem done err = 0, tmpTLVsize=265 [23:43:34]tlvbuf is 016C0800 [23:43:34]SAM_PROTO_ClearQueue [23:43:34]wFMCommunicate request_size=4 [23:43:34]MH_SAM_APDU [23:43:34]CAPDU: 80 09 00 00 [23:43:34]Write to MH i2c: E2 08 00 E5 09 80 09 00 00 00 00 00 00 60 [23:43:34]Write i2c OK [23:43:34]MH_I2C_Read... [23:43:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:43:34]Read from MH i2c: E2 [23:43:34]MH_I2C_Read... [23:43:34]Read from MH i2c: E2 03 00 [23:43:34]MH_I2C_Read... [23:43:34]Read from MH i2c: E2 03 00 E5 09 00 90 00 62 [23:43:34]RAPDU: 90 00 [23:43:34]wFMCommunicate OK [23:43:34]SAM_PROTO_ClearQueue done [23:43:34]KKMCreateOFDPacket [23:43:34]OFDProtocolAddRootSTLVToBuf [23:43:34]FM_MakeSignedData [23:43:34]FM_MakeSignedData [23:43:34]SAM_PROTO_SignData [23:43:34]wFMCommunicate request_size=4 [23:43:34]MH_SAM_APDU [23:43:34]CAPDU: 80 0D 01 02 [23:43:34]Write to MH i2c: E2 08 00 E6 09 80 0D 01 02 00 00 00 00 68 [23:43:34]Write i2c OK [23:43:34]MH_I2C_Read... [23:43:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:43:34]Read from MH i2c: E2 [23:43:34]MH_I2C_Read... [23:43:34]Read from MH i2c: E2 03 00 [23:43:34]MH_I2C_Read... [23:43:34]Read from MH i2c: E2 03 00 E6 09 00 90 00 63 [23:43:34]RAPDU: 90 00 [23:43:34]wFMCommunicate OK [23:43:34]wFMCommunicate request_size=255 [23:43:34]MH_SAM_APDU [23:43:34]CAPDU: 80 0D 02 02 FA 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 A6 A4 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 [23:43:34]Write to MH i2c: E2 02 01 E7 09 80 0D 02 02 FA 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 A6 A4 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 00 00 66 [23:43:34]Write i2c OK [23:43:34]MH_I2C_Read... [23:43:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:43:34]Read from MH i2c: E2 [23:43:34]MH_I2C_Read... [23:43:34]Read from MH i2c: E2 03 00 [23:43:34]MH_I2C_Read... [23:43:34]Read from MH i2c: E2 03 00 E7 09 00 90 00 64 [23:43:34]RAPDU: 90 00 [23:43:34]wFMCommunicate OK [23:43:34]wFMCommunicate request_size=24 [23:43:34]MH_SAM_APDU [23:43:34]CAPDU: 80 0D 02 02 13 35 10 04 04 00 73 31 00 00 35 04 06 00 CB 06 3B 6F 26 D0 [23:43:34]Write to MH i2c: E2 1B 00 E8 09 80 0D 02 02 13 00 35 10 04 04 00 73 31 00 00 35 04 06 00 CB 06 3B 6F 26 D0 00 00 32 [23:43:34]Write i2c OK [23:43:34]MH_I2C_Read... [23:43:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:43:34]Read from MH i2c: E2 [23:43:34]MH_I2C_Read... [23:43:34]Read from MH i2c: E2 03 00 [23:43:34]MH_I2C_Read... [23:43:34]Read from MH i2c: E2 03 00 E8 09 00 90 00 65 [23:43:34]RAPDU: 90 00 [23:43:34]wFMCommunicate OK [23:43:34]wFMCommunicate request_size=4 [23:43:34]MH_SAM_APDU [23:43:34]CAPDU: 80 0D 03 02 [23:43:34]Write to MH i2c: E2 08 00 E9 09 80 0D 03 02 00 00 00 00 6D [23:43:34]Write i2c OK [23:43:34]MH_I2C_Read... [23:43:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:43:34]Read from MH i2c: E2 [23:43:34]MH_I2C_Read... [23:43:34]Read from MH i2c: E2 0B 00 [23:43:34]MH_I2C_Read... [23:43:34]Read from MH i2c: E2 0B 00 E9 09 00 03 1A 42 D3 4D 42 16 9C 90 00 E1 [23:43:34]RAPDU: 03 1A 42 D3 4D 42 16 9C 90 00 [23:43:34]wFMCommunicate OK [23:43:34]SAM_PROTO_SignData done [23:43:34]FM_MakeSignedData done [23:43:34]CreateOFDProtocolMessage [23:43:34]wFMCommunicate request_size=4 [23:43:34]MH_SAM_APDU [23:43:34]CAPDU: 80 11 00 00 [23:43:34]Write to MH i2c: E2 08 00 EA 09 80 11 00 00 00 00 00 00 6D [23:43:34]Write i2c OK [23:43:34]MH_I2C_Read... [23:43:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:43:34]Read from MH i2c: E2 [23:43:34]MH_I2C_Read... [23:43:34]Read from MH i2c: E2 17 00 [23:43:34]MH_I2C_Read... [23:43:34]Read from MH i2c: E2 17 00 EA 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 C7 [23:43:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [23:43:34]wFMCommunicate OK [23:43:34]CreateOFDProtocolMessage done [23:43:34]OFDSenderStorePacket 12659 [23:43:34]StoreOFDPacket docnum=12659 [23:43:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 1D 01 00 00 A3 C7 15 01 F2 48 5A 03 01 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 A6 A4 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 73 31 00 00 35 04 06 00 CB 06 3B 6F 26 D0 03 1A 42 D3 4D 42 16 9C [23:43:34]CheckFolder [23:43:34]dirname=/storage/ofd_packets [23:43:34]CheckFolder done [23:43:34]ProducePacketName [23:43:34]name=ofd_packets/00012659 [23:43:34]NVStorageSaveData ofd_packets/00012659 [23:43:34]File name is /storage/ofd_packets/00012659 [23:43:34]Write 315 bytes [23:43:34]NVStorageSaveData done [23:43:34]OFDSenderStorePacket done [23:43:34]KKMCreateOFDPacket done [23:43:34]NVStorageSaveData kkm_last_timestamp [23:43:34]File name is /storage/kkm_last_timestamp [23:43:34]Write 4 bytes [23:43:34]NVStorageSaveData done [23:43:34]ExternCall_PrintAddStr [23:43:34]wPrintStart [23:43:34]Write to MH i2c: 01 00 00 EB 09 F4 [23:43:34]Write i2c OK [23:43:34]MH_I2C_Read... [23:43:34]Read from MH i2c: 01 [23:43:34]MH_I2C_Read... [23:43:34]Read from MH i2c: 01 07 00 [23:43:34]MH_I2C_Read... [23:43:34]Read from MH i2c: 01 07 00 EB 09 00 00 00 00 00 FF 0F 09 [23:43:34]RasterBufferAndPrint [23:43:34]line Счет N : (3)32931 [23:43:34]line ИНН: 02508201610067 [23:43:34]line Контрольно-Кассовый Чек [23:43:34]line ПРОДАЖА [23:43:34]line Товар: 42113164 [23:43:34]line Жев Orbit White Spearmint [23:43:34]line 1.000 * 40.00 [23:43:34]line = 40.00 [23:43:34]line НДС 12% НСП 1% [23:43:34]line > о реализуемом товаре [23:43:34]line ИТОГО: 40.00 [23:43:34]line НСП 1% : 0.35 [23:43:34]line НДС 12% : 4.25 [23:43:34]line Наличными: 40.00 [23:43:34]line Безнал.: 0.00 [23:43:34]line Место: АЗС № 106 "Партнер Нефть" [23:43:34]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [23:43:34]line СНО: Общий режим [23:43:34]line Чек 71 21.04.2024 23:43 [23:43:34]line Смена: 281 ФФД: 1.0 [23:43:34]line ЗНМ: 0300000004 [23:43:34]line РНМ: 0000000000100748 [23:43:34]line Версия ККМ: 001 [23:43:34]line ФМ: 0000000000965685 [23:43:34]line ФД: 12659 [23:43:34]line ФПД: 223227627382480 [23:43:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T234334&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12659&fm=223227627382480&tin=02508201610067®Number=0000000000100748&sum=4000 [23:43:35]OFD Sender: Processing packet 12659 [packets to send 7, broken 6] [23:43:35]ProducePacketName [23:43:35]name=ofd_packets/00012659 [23:43:35]OFD Sender: To server: pG, [23:43:35]CommunicateWithHost lk.salyk.kg:30040 [23:43:35]ConnectInit lk.salyk.kg [23:43:35]line 0 [23:43:35]written 0, free lines is 4095 [23:43:35]Write to MH i2c: 01 00 00 12 0A 1C [23:43:35]Write i2c OK [23:43:35]MH_I2C_Read... [23:43:35]Read from MH i2c: 01 [23:43:35]MH_I2C_Read... [23:43:35]Read from MH i2c: 01 07 00 [23:43:35]MH_I2C_Read... [23:43:35]Read from MH i2c: 01 07 00 12 0A 00 00 00 00 00 03 0D 33 [23:43:35]RasterBufferAndPrint [23:43:35]line [23:43:35]line [23:43:35]line [23:43:35]line [23:43:35]line [23:43:35]written 0, free lines is 3337 [23:43:35]MH_Cut [23:43:35]Write to MH i2c: D1 01 00 19 0A 01 F5 [23:43:35]Write i2c OK [23:43:35]MH_I2C_Read... [23:43:35]Read from MH i2c: D1 [23:43:35]MH_I2C_Read... [23:43:35]Read from MH i2c: D1 01 00 [23:43:35]MH_I2C_Read... [23:43:35]Read from MH i2c: D1 01 00 19 0A 00 F4 [23:43:35]Write to MH i2c: 01 00 00 1A 0A 24 [23:43:35]Write i2c OK [23:43:35]MH_I2C_Read... [23:43:35]Connected sock=7 [23:43:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 1D 01 00 00 A3 C7 15 01 F2 48 5A 03 01 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 A6 A4 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 73 31 00 00 35 04 06 00 CB 06 3B 6F 26 D0 03 1A 42 D3 4D 42 16 9C [23:43:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 5C BC 47 00 79 60 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 73 31 00 00 F4 03 04 00 27 4D 25 66 B6 04 01 00 00 1A 7B 60 40 08 F8 C0 CE [23:43:36]CommunicateWithHost err = 0 [23:43:36]CheckOFDResponse [23:43:36]1017 (14) - 77093643461234 [23:43:36]1041 (16) - 0000000000965685 [23:43:36]1040 (4) - 12659 [23:43:36]1012 (4) - 21.04.2024 17:30 [23:43:36]1206 (1) - 0 [23:43:36]OFD Sender: Remove packet 12659 [23:43:36]ProducePacketName [23:43:36]name=ofd_packets/00012659 [23:43:36]NVStorageDeleteData [23:43:36]*** Cut start [23:43:36]*** Partial cut [23:43:36]*** CUTSNS_PIN = 1 [23:43:36]*** CUTSNS_PIN = 0 [23:43:36]OFD Sender: No OFD packet to send [23:43:36]*** Brake cut motor [23:43:36]Read from MH i2c: 01 [23:43:37]MH_I2C_Read... [23:43:37]*** Stop cut motor [23:43:37]*** Cut end [23:43:37]Read from MH i2c: 01 07 00 [23:43:37]MH_I2C_Read... [23:43:37]Read from MH i2c: 01 07 00 1A 0A 00 00 00 00 00 FF 0F 39 [23:43:37]process_action close_receipt done [23:43:37]requested_data is exist [23:43:37]produce_requested_data [23:43:37]requested_item fm.sn is exist - process it [23:43:37]wFMCommunicate request_size=4 [23:43:37]MH_SAM_APDU [23:43:37]CAPDU: 80 11 00 00 [23:43:37]Write to MH i2c: E2 08 00 1B 0A 80 11 00 00 00 00 00 00 9F [23:43:37]Write i2c OK [23:43:37]MH_I2C_Read... [23:43:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:43:37]Read from MH i2c: E2 [23:43:37]MH_I2C_Read... [23:43:37]Read from MH i2c: E2 17 00 [23:43:37]MH_I2C_Read... [23:43:37]Read from MH i2c: E2 17 00 1B 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 F9 [23:43:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [23:43:37]wFMCommunicate OK [23:43:37]requested_item fd.num is exist - process it [23:43:37]SAM_PROTO_GetFieldsCounters [23:43:37]wFMCommunicate request_size=4 [23:43:37]MH_SAM_APDU [23:43:37]CAPDU: 80 13 00 00 [23:43:37]Write to MH i2c: E2 08 00 1C 0A 80 13 00 00 00 00 00 00 A2 [23:43:37]Write i2c OK [23:43:37]MH_I2C_Read... [23:43:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:43:37]Read from MH i2c: E2 [23:43:37]MH_I2C_Read... [23:43:37]Read from MH i2c: E2 62 00 [23:43:37]MH_I2C_Read... [23:43:37]Read from MH i2c: E2 62 00 1C 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 73 31 00 00 0E 04 04 00 19 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 58 [23:43:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 73 31 00 00 0E 04 04 00 19 01 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:43:37]wFMCommunicate OK [23:43:37]SAM_PROTO_GetFieldsCounters done [23:43:37]requested_item shift.num is exist - process it [23:43:37]requested_item shift.opened is exist - process it [23:43:37]req_shift_opened [23:43:37]FM_GetShiftState [23:43:37]SAM_PROTO_GetShiftState [23:43:37]wFMCommunicate request_size=4 [23:43:37]MH_SAM_APDU [23:43:37]CAPDU: 80 13 01 00 [23:43:37]Write to MH i2c: E2 08 00 1D 0A 80 13 01 00 00 00 00 00 A4 [23:43:37]Write i2c OK [23:43:37]MH_I2C_Read... [23:43:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:43:37]Read from MH i2c: E2 [23:43:37]MH_I2C_Read... [23:43:37]Read from MH i2c: E2 0E 00 [23:43:37]MH_I2C_Read... [23:43:37]Read from MH i2c: E2 0E 00 1D 0A 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 FC [23:43:37]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [23:43:37]wFMCommunicate OK [23:43:37]SAM_PROTO_GetShiftState done [23:43:37]FM_GetShiftState done [23:43:37]req_shift_opened done [23:43:37]requested_item shift.open_date is exist - process it [23:43:37]req_shift_open_date [23:43:37]req_shift_open_date done [23:43:37]produce_requested_data done [23:43:37]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12659,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [23:43:37]process_action_free close_receipt [23:43:37]json_value_free [23:43:37]json_value_free done [23:43:37]process_json_proto returns [23:43:37]Send response to host [23:43:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12659,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [23:43:37]free response buf [23:43:37]execute_script done [23:43:37]execute_script returns [23:43:37]free content buf [23:43:37]Sock 9.Close socket [23:43:37]Sock 9.Thread stoped [23:43:41]OFD Sender: No OFD packet to send [23:43:46]OFD Sender: No OFD packet to send [23:43:51]OFD Sender: No OFD packet to send [23:43:56]OFD Sender: No OFD packet to send [23:44:01]OFD Sender: No OFD packet to send [23:44:06]OFD Sender: No OFD packet to send [23:44:11]OFD Sender: No OFD packet to send [23:44:16]OFD Sender: No OFD packet to send [23:44:21]OFD Sender: No OFD packet to send [23:44:26]OFD Sender: No OFD packet to send [23:44:31]OFD Sender: No OFD packet to send [23:44:36]OFD Sender: No OFD packet to send [23:44:41]OFD Sender: No OFD packet to send [23:44:46]OFD Sender: No OFD packet to send [23:44:51]OFD Sender: No OFD packet to send [23:44:56]OFD Sender: No OFD packet to send [23:45:01]OFD Sender: No OFD packet to send [23:45:06]OFD Sender: No OFD packet to send [23:45:11]OFD Sender: No OFD packet to send [23:45:16]OFD Sender: No OFD packet to send [23:45:21]OFD Sender: No OFD packet to send [23:45:26]OFD Sender: No OFD packet to send [23:45:31]OFD Sender: No OFD packet to send [23:45:36]OFD Sender: No OFD packet to send [23:45:41]OFD Sender: No OFD packet to send [23:45:46]OFD Sender: No OFD packet to send [23:45:51]OFD Sender: No OFD packet to send [23:45:56]OFD Sender: No OFD packet to send [23:46:01]OFD Sender: No OFD packet to send [23:46:06]OFD Sender: No OFD packet to send [23:46:11]OFD Sender: No OFD packet to send [23:46:16]OFD Sender: No OFD packet to send [23:46:21]OFD Sender: No OFD packet to send [23:46:26]OFD Sender: No OFD packet to send [23:46:31]OFD Sender: No OFD packet to send [23:46:36]OFD Sender: No OFD packet to send [23:46:41]OFD Sender: No OFD packet to send [23:46:46]OFD Sender: No OFD packet to send [23:46:51]OFD Sender: No OFD packet to send [23:46:56]OFD Sender: No OFD packet to send [23:47:01]OFD Sender: No OFD packet to send [23:47:06]OFD Sender: No OFD packet to send [23:47:11]OFD Sender: No OFD packet to send [23:47:16]OFD Sender: No OFD packet to send [23:47:21]OFD Sender: No OFD packet to send [23:47:26]OFD Sender: No OFD packet to send [23:47:31]OFD Sender: No OFD packet to send [23:47:36]OFD Sender: No OFD packet to send [23:47:41]OFD Sender: No OFD packet to send [23:47:46]OFD Sender: No OFD packet to send [23:47:51]OFD Sender: No OFD packet to send [23:47:56]OFD Sender: No OFD packet to send [23:48:01]OFD Sender: No OFD packet to send [23:48:06]OFD Sender: No OFD packet to send [23:48:11]OFD Sender: No OFD packet to send [23:48:16]OFD Sender: No OFD packet to send [23:48:21]OFD Sender: No OFD packet to send [23:48:26]OFD Sender: No OFD packet to send [23:48:31]OFD Sender: No OFD packet to send [23:48:36]OFD Sender: No OFD packet to send [23:48:41]OFD Sender: No OFD packet to send [23:48:46]OFD Sender: No OFD packet to send [23:48:51]OFD Sender: No OFD packet to send [23:48:56]OFD Sender: No OFD packet to send [23:49:01]OFD Sender: No OFD packet to send [23:49:06]OFD Sender: No OFD packet to send [23:49:11]OFD Sender: No OFD packet to send [23:49:16]OFD Sender: No OFD packet to send [23:49:21]OFD Sender: No OFD packet to send [23:49:26]OFD Sender: No OFD packet to send [23:49:31]OFD Sender: No OFD packet to send [23:49:36]OFD Sender: No OFD packet to send [23:49:41]OFD Sender: No OFD packet to send [23:49:46]OFD Sender: No OFD packet to send [23:49:51]OFD Sender: No OFD packet to send [23:49:56]OFD Sender: No OFD packet to send [23:50:01]OFD Sender: No OFD packet to send [23:50:06]OFD Sender: No OFD packet to send [23:50:11]OFD Sender: No OFD packet to send [23:50:16]OFD Sender: No OFD packet to send [23:50:21]OFD Sender: No OFD packet to send [23:50:26]OFD Sender: No OFD packet to send [23:50:31]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:42]OFD Sender: No OFD packet to send [23:52:47]OFD Sender: No OFD packet to send [23:52:52]OFD Sender: No OFD packet to send [23:52:57]OFD Sender: No OFD packet to send [23:53:02]OFD Sender: No OFD packet to send [23:53:07]OFD Sender: No OFD packet to send [23:53:12]OFD Sender: No OFD packet to send [23:53:17]OFD Sender: No OFD packet to send [23:53:22]OFD Sender: No OFD packet to send [23:53:27]OFD Sender: No OFD packet to send [23:53:32]OFD Sender: No OFD packet to send [23:53:37]OFD Sender: No OFD packet to send [23:53:42]OFD Sender: No OFD packet to send [23:53:47]OFD Sender: No OFD packet to send [23:53:52]OFD Sender: No OFD packet to send [23:53:57]OFD Sender: No OFD packet to send [23:54:02]OFD Sender: No OFD packet to send [23:54:07]OFD Sender: No OFD packet to send [23:54:12]OFD Sender: No OFD packet to send [23:54:17]OFD Sender: No OFD packet to send [23:54:22]OFD Sender: No OFD packet to send [23:54:27]OFD Sender: No OFD packet to send [23:54:32]OFD Sender: No OFD packet to send [23:54:37]OFD Sender: No OFD packet to send [23:54:42]OFD Sender: No OFD packet to send [23:54:47]OFD Sender: No OFD packet to send [23:54:52]OFD Sender: No OFD packet to send [23:54:57]OFD Sender: No OFD packet to send [23:55:02]OFD Sender: No OFD packet to send [23:55:07]OFD Sender: No OFD packet to send [23:55:12]OFD Sender: No OFD packet to send [23:55:17]OFD Sender: No OFD packet to send [23:55:22]OFD Sender: No OFD packet to send [23:55:27]OFD Sender: No OFD packet to send [23:55:32]OFD Sender: No OFD packet to send [23:55:37]OFD Sender: No OFD packet to send [23:55:42]OFD Sender: No OFD packet to send [23:55:47]OFD Sender: No OFD packet to send [23:55:52]OFD Sender: No OFD packet to send [23:55:57]OFD Sender: No OFD packet to send [23:56:02]OFD Sender: No OFD packet to send [23:56:07]OFD Sender: No OFD packet to send [23:56:12]OFD Sender: No OFD packet to send [23:56:17]OFD Sender: No OFD packet to send [23:56:22]OFD Sender: No OFD packet to send [23:56:27]OFD Sender: No OFD packet to send [23:56:32]OFD Sender: No OFD packet to send [23:56:37]OFD Sender: No OFD packet to send [23:56:42]OFD Sender: No OFD packet to send [23:56:47]OFD Sender: No OFD packet to send [23:56:52]OFD Sender: No OFD packet to send [23:56:57]OFD Sender: No OFD packet to send [23:57:02]OFD Sender: No OFD packet to send [23:57:07]OFD Sender: No OFD packet to send [23:57:12]OFD Sender: No OFD packet to send [23:57:12]accept exits with 10 [23:57:12]New connection [23:57:12]New thread 3066957156 created [23:57:12]Thread 3066813796 joined [23:57:12]Waiting for new connection... [23:57:12] Sock 10.Parse request [23:57:12]Sock 10.Check first char [23:57:12]Sock 10.First char is OK [23:57:12]request: POST /json_proto HTTP/1.0 [23:57:12]Method: POST [23:57:12]URL: /json_proto [23:57:12]Method is POST - this is cgi request [23:57:12]url: /json_proto [23:57:12]query_string will be loaded in cgi processing [23:57:12]execute_cgi json_proto POST (null) [23:57:12]execute_cgi path=json_proto method=POST [23:57:12]POST find Content-Length [23:57:12]Host: 172.17.62.6:8080 [23:57:12]Content-Length: 645 [23:57:12]Content-Type: application/json [23:57:12] [23:57:12]POST finish read [23:57:12]Found Content-Length = 645 [23:57:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32932", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:57:12]execute_script... [23:57:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32932", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:57:12]POST & json_proto [23:57:12]process_json_proto [23:57:12]json parsed OK: [23:57:12]protocol is kg_v1.0 [23:57:12]action value=close_receipt [23:57:12]process_action close_receipt [23:57:12]cmd_close_receipt [23:57:12]MH_GetDate [23:57:12]Write to MH i2c: F0 00 00 1E 0A 17 [23:57:12]Write i2c OK [23:57:12]MH_I2C_Read... [23:57:12]Read from MH i2c: F0 [23:57:12]MH_I2C_Read... [23:57:12]Read from MH i2c: F0 09 00 [23:57:12]MH_I2C_Read... [23:57:12]Read from MH i2c: F0 09 00 1E 0A 00 DA A7 25 66 61 69 D2 64 2C [23:57:12]GetLastDocTimeStamp 1713743014 [23:57:12]current date 1713743834 [23:57:12]FM_GetShiftState [23:57:12]SAM_PROTO_GetShiftState [23:57:12]wFMCommunicate request_size=4 [23:57:12]MH_SAM_APDU [23:57:12]CAPDU: 80 13 01 00 [23:57:12]Write to MH i2c: E2 08 00 1F 0A 80 13 01 00 00 00 00 00 A6 [23:57:12]Write i2c OK [23:57:12]MH_I2C_Read... [23:57:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:57:12]Read from MH i2c: E2 [23:57:12]MH_I2C_Read... [23:57:12]Read from MH i2c: E2 0E 00 [23:57:12]MH_I2C_Read... [23:57:12]Read from MH i2c: E2 0E 00 1F 0A 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 FE [23:57:12]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [23:57:12]wFMCommunicate OK [23:57:12]SAM_PROTO_GetShiftState done [23:57:12]FM_GetShiftState done [23:57:12]opened in 1713658727 [23:57:12]opened+sec_in_day 1713745127 [23:57:12]quantity*price = 13000 [23:57:12]sum+1 = 13001 [23:57:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 72 21.04.2024 23:57 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12660 ФПД: 215427649545528 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T235714&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12660&fm=215427649545528&tin=02508201610067®Number=0000000000100748&sum=13000 0 [23:57:13]StoreToDocumentArchive [23:57:13]shift 281 fd 12660 [23:57:13]save to /storage/0281/doc_00012660 [23:57:13]save last doc name /storage/0281/doc_00012660 to /storage/kkm_last_doc_name [23:57:13]save OK [23:57:13]Clear old archive folders... [23:57:13]ProcessDocumentItem done err = 0, tmpTLVsize=282 [23:57:13]tlvbuf is 016C0490 [23:57:13]SAM_PROTO_ClearQueue [23:57:13]wFMCommunicate request_size=4 [23:57:13]MH_SAM_APDU [23:57:13]CAPDU: 80 09 00 00 [23:57:13]Write to MH i2c: E2 08 00 2C 0A 80 09 00 00 00 00 00 00 A8 [23:57:13]Write i2c OK [23:57:13]MH_I2C_Read... [23:57:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:57:13]Read from MH i2c: E2 [23:57:13]MH_I2C_Read... [23:57:13]Read from MH i2c: E2 03 00 [23:57:13]MH_I2C_Read... [23:57:13]Read from MH i2c: E2 03 00 2C 0A 00 90 00 AA [23:57:13]RAPDU: 90 00 [23:57:13]wFMCommunicate OK [23:57:13]SAM_PROTO_ClearQueue done [23:57:13]KKMCreateOFDPacket [23:57:13]OFDProtocolAddRootSTLVToBuf [23:57:13]FM_MakeSignedData [23:57:13]FM_MakeSignedData [23:57:13]SAM_PROTO_SignData [23:57:13]wFMCommunicate request_size=4 [23:57:13]MH_SAM_APDU [23:57:13]CAPDU: 80 0D 01 02 [23:57:13]Write to MH i2c: E2 08 00 2D 0A 80 0D 01 02 00 00 00 00 B0 [23:57:13]Write i2c OK [23:57:13]MH_I2C_Read... [23:57:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:57:13]Read from MH i2c: E2 [23:57:13]MH_I2C_Read... [23:57:13]Read from MH i2c: E2 03 00 [23:57:13]MH_I2C_Read... [23:57:13]Read from MH i2c: E2 03 00 2D 0A 00 90 00 AB [23:57:13]RAPDU: 90 00 [23:57:13]wFMCommunicate OK [23:57:13]wFMCommunicate request_size=255 [23:57:13]MH_SAM_APDU [23:57:13]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 DA A7 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 [23:57:13]Write to MH i2c: E2 02 01 2E 0A 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 DA A7 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 00 00 28 [23:57:13]Write i2c OK [23:57:13]MH_I2C_Read... [23:57:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:57:13]Read from MH i2c: E2 [23:57:13]MH_I2C_Read... [23:57:13]Read from MH i2c: E2 03 00 [23:57:13]MH_I2C_Read... [23:57:13]Read from MH i2c: E2 03 00 2E 0A 00 90 00 AC [23:57:13]RAPDU: 90 00 [23:57:13]wFMCommunicate OK [23:57:13]wFMCommunicate request_size=41 [23:57:13]MH_SAM_APDU [23:57:13]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 74 31 00 00 35 04 06 00 C3 EE 28 86 A5 38 [23:57:13]Write to MH i2c: E2 2C 00 2F 0A 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 74 31 00 00 35 04 06 00 C3 EE 28 86 A5 38 00 00 6A [23:57:13]Write i2c OK [23:57:13]MH_I2C_Read... [23:57:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:57:13]Read from MH i2c: E2 [23:57:13]MH_I2C_Read... [23:57:13]Read from MH i2c: E2 03 00 [23:57:13]MH_I2C_Read... [23:57:13]Read from MH i2c: E2 03 00 2F 0A 00 90 00 AD [23:57:13]RAPDU: 90 00 [23:57:13]wFMCommunicate OK [23:57:13]wFMCommunicate request_size=4 [23:57:13]MH_SAM_APDU [23:57:13]CAPDU: 80 0D 03 02 [23:57:13]Write to MH i2c: E2 08 00 30 0A 80 0D 03 02 00 00 00 00 B5 [23:57:13]Write i2c OK [23:57:13]MH_I2C_Read... [23:57:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:57:13]Read from MH i2c: E2 [23:57:13]MH_I2C_Read... [23:57:13]Read from MH i2c: E2 0B 00 [23:57:13]MH_I2C_Read... [23:57:13]Read from MH i2c: E2 0B 00 30 0A 00 73 0D 40 BC AF 0A F9 FB 90 00 DF [23:57:13]RAPDU: 73 0D 40 BC AF 0A F9 FB 90 00 [23:57:13]wFMCommunicate OK [23:57:13]SAM_PROTO_SignData done [23:57:13]FM_MakeSignedData done [23:57:13]CreateOFDProtocolMessage [23:57:13]wFMCommunicate request_size=4 [23:57:13]MH_SAM_APDU [23:57:13]CAPDU: 80 11 00 00 [23:57:13]Write to MH i2c: E2 08 00 31 0A 80 11 00 00 00 00 00 00 B5 [23:57:13]Write i2c OK [23:57:13]MH_I2C_Read... [23:57:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:57:14]Read from MH i2c: E2 [23:57:14]MH_I2C_Read... [23:57:14]Read from MH i2c: E2 17 00 [23:57:14]MH_I2C_Read... [23:57:14]Read from MH i2c: E2 17 00 31 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 0F [23:57:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [23:57:14]wFMCommunicate OK [23:57:14]CreateOFDProtocolMessage done [23:57:14]OFDSenderStorePacket 12660 [23:57:14]StoreOFDPacket docnum=12660 [23:57:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2E 01 00 00 2D A2 26 01 D4 EB 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 DA A7 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 74 31 00 00 35 04 06 00 C3 EE 28 86 A5 38 73 0D 40 BC AF 0A F9 FB [23:57:14]CheckFolder [23:57:14]dirname=/storage/ofd_packets [23:57:14]CheckFolder done [23:57:14]ProducePacketName [23:57:14]name=ofd_packets/00012660 [23:57:14]NVStorageSaveData ofd_packets/00012660 [23:57:14]File name is /storage/ofd_packets/00012660 [23:57:14]Write 332 bytes [23:57:14]NVStorageSaveData done [23:57:14]OFDSenderStorePacket done [23:57:14]KKMCreateOFDPacket done [23:57:14]NVStorageSaveData kkm_last_timestamp [23:57:14]File name is /storage/kkm_last_timestamp [23:57:14]Write 4 bytes [23:57:14]NVStorageSaveData done [23:57:14]ExternCall_PrintAddStr [23:57:14]wPrintStart [23:57:14]Write to MH i2c: 01 00 00 32 0A 3C [23:57:14]Write i2c OK [23:57:14]MH_I2C_Read... [23:57:14]Read from MH i2c: 01 [23:57:14]MH_I2C_Read... [23:57:14]Read from MH i2c: 01 07 00 [23:57:14]MH_I2C_Read... [23:57:14]Read from MH i2c: 01 07 00 32 0A 00 00 00 00 00 FF 0F 51 [23:57:14]RasterBufferAndPrint [23:57:14]line Счет N : (3)32932 [23:57:14]line ИНН: 02508201610067 [23:57:14]line Контрольно-Кассовый Чек [23:57:14]line ПРОДАЖА [23:57:14]line Товар: 2000036220012 [23:57:14]line Кофе Капучино XL(GABB TRADE) [23:57:14]line 1.000 * 130.00 [23:57:14]line = 130.00 [23:57:14]line НДС 12% НСП 1% [23:57:14]line > о реализуемом товаре [23:57:14]line ИТОГО: 130.00 [23:57:14]line НСП 1% : 1.15 [23:57:14]line НДС 12% : 13.80 [23:57:14]line Наличными: 130.00 [23:57:14]line Безнал.: 0.00 [23:57:14]line Место: АЗС № 106 "Партнер Нефть" [23:57:14]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [23:57:14]line СНО: Общий режим [23:57:14]line Чек 72 21.04.2024 23:57 [23:57:14]line Смена: 281 ФФД: 1.0 [23:57:14]line ЗНМ: 0300000004 [23:57:14]line РНМ: 0000000000100748 [23:57:14]line Версия ККМ: 001 [23:57:14]line ФМ: 0000000000965685 [23:57:14]line ФД: 12660 [23:57:14]line ФПД: 215427649545528 [23:57:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T235714&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12660&fm=215427649545528&tin=02508201610067®Number=0000000000100748&sum=13000 [23:57:14]line 0 [23:57:14]OFD Sender: Processing packet 12660 [packets to send 7, broken 6] [23:57:14]ProducePacketName [23:57:14]name=ofd_packets/00012660 [23:57:14]OFD Sender: To server: pG, [23:57:14]CommunicateWithHost lk.salyk.kg:30040 [23:57:14]ConnectInit lk.salyk.kg [23:57:14]written 0, free lines is 4095 [23:57:14]Write to MH i2c: 01 00 00 5A 0A 64 [23:57:14]Write i2c OK [23:57:14]MH_I2C_Read... [23:57:14]Read from MH i2c: 01 [23:57:14]MH_I2C_Read... [23:57:14]Read from MH i2c: 01 07 00 [23:57:14]MH_I2C_Read... [23:57:14]Read from MH i2c: 01 07 00 5A 0A 00 00 00 00 00 F7 0C 6E [23:57:14]RasterBufferAndPrint [23:57:14]line [23:57:14]line [23:57:14]line [23:57:14]line [23:57:14]line [23:57:14]written 0, free lines is 3326 [23:57:14]MH_Cut [23:57:14]Write to MH i2c: D1 01 00 61 0A 01 3D [23:57:14]Write i2c OK [23:57:14]MH_I2C_Read... [23:57:14]Read from MH i2c: D1 [23:57:14]MH_I2C_Read... [23:57:14]Read from MH i2c: D1 01 00 [23:57:14]MH_I2C_Read... [23:57:14]Read from MH i2c: D1 01 00 61 0A 00 3C [23:57:14]Write to MH i2c: 01 00 00 62 0A 6C [23:57:14]Write i2c OK [23:57:14]MH_I2C_Read... [23:57:15]*** Cut start [23:57:15]*** Partial cut [23:57:15]*** CUTSNS_PIN = 1 [23:57:15]*** CUTSNS_PIN = 0 [23:57:15]Connected sock=11 [23:57:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2E 01 00 00 2D A2 26 01 D4 EB 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 DA A7 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 74 31 00 00 35 04 06 00 C3 EE 28 86 A5 38 73 0D 40 BC AF 0A F9 FB [23:57:15]*** Brake cut motor [23:57:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 42 3B 47 00 26 4F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 74 31 00 00 F4 03 04 00 5B 50 25 66 B6 04 01 00 00 12 0B C0 40 30 0F 28 BD [23:57:16]CommunicateWithHost err = 0 [23:57:16]CheckOFDResponse [23:57:16]1017 (14) - 77093643461234 [23:57:16]1041 (16) - 0000000000965685 [23:57:16]1040 (4) - 12660 [23:57:16]1012 (4) - 21.04.2024 17:43 [23:57:16]1206 (1) - 0 [23:57:16]OFD Sender: Remove packet 12660 [23:57:16]ProducePacketName [23:57:16]name=ofd_packets/00012660 [23:57:16]NVStorageDeleteData [23:57:16]Read from MH i2c: 01 [23:57:16]MH_I2C_Read... [23:57:16]*** Stop cut motor [23:57:16]*** Cut end [23:57:16]Read from MH i2c: 01 07 00 [23:57:16]MH_I2C_Read... [23:57:16]Read from MH i2c: 01 07 00 62 0A 00 00 00 00 00 FF 0F 81 [23:57:16]process_action close_receipt done [23:57:16]requested_data is exist [23:57:16]produce_requested_data [23:57:16]requested_item fm.sn is exist - process it [23:57:16]wFMCommunicate request_size=4 [23:57:16]MH_SAM_APDU [23:57:16]CAPDU: 80 11 00 00 [23:57:16]Write to MH i2c: E2 08 00 63 0A 80 11 00 00 00 00 00 00 E7 [23:57:16]Write i2c OK [23:57:16]MH_I2C_Read... [23:57:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:57:16]Read from MH i2c: E2 [23:57:16]MH_I2C_Read... [23:57:16]Read from MH i2c: E2 17 00 [23:57:16]MH_I2C_Read... [23:57:16]Read from MH i2c: E2 17 00 63 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 41 [23:57:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [23:57:16]wFMCommunicate OK [23:57:16]requested_item fd.num is exist - process it [23:57:16]SAM_PROTO_GetFieldsCounters [23:57:16]wFMCommunicate request_size=4 [23:57:16]MH_SAM_APDU [23:57:16]CAPDU: 80 13 00 00 [23:57:16]Write to MH i2c: E2 08 00 64 0A 80 13 00 00 00 00 00 00 EA [23:57:16]Write i2c OK [23:57:16]MH_I2C_Read... [23:57:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:57:16]Read from MH i2c: E2 [23:57:16]MH_I2C_Read... [23:57:16]Read from MH i2c: E2 62 00 [23:57:16]MH_I2C_Read... [23:57:16]Read from MH i2c: E2 62 00 64 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 74 31 00 00 0E 04 04 00 19 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 A4 [23:57:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 74 31 00 00 0E 04 04 00 19 01 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:57:16]wFMCommunicate OK [23:57:16]SAM_PROTO_GetFieldsCounters done [23:57:16]requested_item shift.num is exist - process it [23:57:16]requested_item shift.opened is exist - process it [23:57:16]req_shift_opened [23:57:16]FM_GetShiftState [23:57:16]SAM_PROTO_GetShiftState [23:57:16]wFMCommunicate request_size=4 [23:57:16]MH_SAM_APDU [23:57:16]CAPDU: 80 13 01 00 [23:57:16]Write to MH i2c: E2 08 00 65 0A 80 13 01 00 00 00 00 00 EC [23:57:16]Write i2c OK [23:57:16]MH_I2C_Read... [23:57:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:57:16]Read from MH i2c: E2 [23:57:16]MH_I2C_Read... [23:57:16]Read from MH i2c: E2 0E 00 [23:57:16]MH_I2C_Read... [23:57:16]Read from MH i2c: E2 0E 00 65 0A 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 44 [23:57:16]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [23:57:16]wFMCommunicate OK [23:57:16]SAM_PROTO_GetShiftState done [23:57:16]FM_GetShiftState done [23:57:16]req_shift_opened done [23:57:16]requested_item shift.open_date is exist - process it [23:57:16]req_shift_open_date [23:57:16]req_shift_open_date done [23:57:16]produce_requested_data done [23:57:16]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12660,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [23:57:16]process_action_free close_receipt [23:57:16]json_value_free [23:57:16]json_value_free done [23:57:16]process_json_proto returns [23:57:16]Send response to host [23:57:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12660,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [23:57:16]free response buf [23:57:16]execute_script done [23:57:16]execute_script returns [23:57:16]free content buf [23:57:16]Sock 10.Close socket [23:57:16]Sock 10.Thread stoped [23:57:16]OFD Sender: No OFD packet to send [23:57:21]OFD Sender: No OFD packet to send [23:57:26]OFD Sender: No OFD packet to send [23:57:31]OFD Sender: No OFD packet to send [23:57:36]OFD Sender: No OFD packet to send [23:57:41]OFD Sender: No OFD packet to send [23:57:46]OFD Sender: No OFD packet to send [23:57:51]OFD Sender: No OFD packet to send [23:57:56]OFD Sender: No OFD packet to send [23:58:01]OFD Sender: No OFD packet to send [23:58:06]OFD Sender: No OFD packet to send [23:58:11]OFD Sender: No OFD packet to send [23:58:16]OFD Sender: No OFD packet to send [23:58:21]OFD Sender: No OFD packet to send [23:58:25]accept exits with 7 [23:58:25]New connection [23:58:25]New thread 3066813796 created [23:58:25]Thread 3066957156 joined [23:58:25]Waiting for new connection... [23:58:25] Sock 7.Parse request [23:58:25]Sock 7.Check first char [23:58:25]Sock 7.First char is OK [23:58:25]request: POST /json_proto HTTP/1.0 [23:58:25]Method: POST [23:58:25]URL: /json_proto [23:58:25]Method is POST - this is cgi request [23:58:25]url: /json_proto [23:58:25]query_string will be loaded in cgi processing [23:58:25]execute_cgi json_proto POST (null) [23:58:25]execute_cgi path=json_proto method=POST [23:58:25]POST find Content-Length [23:58:25]Host: 172.17.62.6:8080 [23:58:25]Content-Length: 675 [23:58:25]Content-Type: application/json [23:58:25] [23:58:25]POST finish read [23:58:25]Found Content-Length = 675 [23:58:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32933", "tax_sys" : 0, "items" : [ { "code": "4607015232547", "name": "\u0412\u0430\u0444\u043B\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0441 \u0445\u0430\u043B\u0432\u043E\u0439 200\u0433", "price" : 81.00, "quantity" : 1.000, "sum" : 81.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 81.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:58:25]execute_script... [23:58:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32933", "tax_sys" : 0, "items" : [ { "code": "4607015232547", "name": "\u0412\u0430\u0444\u043B\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0441 \u0445\u0430\u043B\u0432\u043E\u0439 200\u0433", "price" : 81.00, "quantity" : 1.000, "sum" : 81.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 81.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:58:25]POST & json_proto [23:58:25]process_json_proto [23:58:25]json parsed OK: [23:58:25]protocol is kg_v1.0 [23:58:25]action value=close_receipt [23:58:25]process_action close_receipt [23:58:25]cmd_close_receipt [23:58:25]MH_GetDate [23:58:25]Write to MH i2c: F0 00 00 66 0A 5F [23:58:25]Write i2c OK [23:58:25]MH_I2C_Read... [23:58:25]Read from MH i2c: F0 [23:58:25]MH_I2C_Read... [23:58:25]Read from MH i2c: F0 09 00 [23:58:25]MH_I2C_Read... [23:58:25]Read from MH i2c: F0 09 00 66 0A 00 22 A8 25 66 61 69 D2 64 BD [23:58:25]GetLastDocTimeStamp 1713743834 [23:58:25]current date 1713743906 [23:58:25]FM_GetShiftState [23:58:25]SAM_PROTO_GetShiftState [23:58:25]wFMCommunicate request_size=4 [23:58:25]MH_SAM_APDU [23:58:25]CAPDU: 80 13 01 00 [23:58:25]Write to MH i2c: E2 08 00 67 0A 80 13 01 00 00 00 00 00 EE [23:58:25]Write i2c OK [23:58:25]MH_I2C_Read... [23:58:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:58:25]Read from MH i2c: E2 [23:58:25]MH_I2C_Read... [23:58:25]Read from MH i2c: E2 0E 00 [23:58:25]MH_I2C_Read... [23:58:25]Read from MH i2c: E2 0E 00 67 0A 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 46 [23:58:25]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [23:58:25]wFMCommunicate OK [23:58:25]SAM_PROTO_GetShiftState done [23:58:25]FM_GetShiftState done [23:58:25]opened in 1713658727 [23:58:25]opened+sec_in_day 1713745127 [23:58:25]quantity*price = 8100 [23:58:25]sum+1 = 8101 [23:58:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 81.00 НСП 1% : 0.72 НДС 12% : 8.60 Наличными: 81.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 73 21.04.2024 23:58 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12661 ФПД: 58036180473450 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T235827&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12661&fm=58036180473450&tin=02508201610067®Number=0000000000100748&sum=8100 0 [23:58:26]StoreToDocumentArchive [23:58:26]shift 281 fd 12661 [23:58:26]save to /storage/0281/doc_00012661 [23:58:26]save last doc name /storage/0281/doc_00012661 to /storage/kkm_last_doc_name [23:58:26]save OK [23:58:26]Clear old archive folders... [23:58:26]ProcessDocumentItem done err = 0, tmpTLVsize=287 [23:58:26]tlvbuf is 016D9090 [23:58:26]SAM_PROTO_ClearQueue [23:58:26]wFMCommunicate request_size=4 [23:58:26]MH_SAM_APDU [23:58:26]CAPDU: 80 09 00 00 [23:58:26]Write to MH i2c: E2 08 00 74 0A 80 09 00 00 00 00 00 00 F0 [23:58:26]Write i2c OK [23:58:26]MH_I2C_Read... [23:58:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:58:26]Read from MH i2c: E2 [23:58:26]MH_I2C_Read... [23:58:26]Read from MH i2c: E2 03 00 [23:58:26]MH_I2C_Read... [23:58:26]Read from MH i2c: E2 03 00 74 0A 00 90 00 F2 [23:58:26]RAPDU: 90 00 [23:58:26]wFMCommunicate OK [23:58:26]SAM_PROTO_ClearQueue done [23:58:26]KKMCreateOFDPacket [23:58:26]OFDProtocolAddRootSTLVToBuf [23:58:26]FM_MakeSignedData [23:58:26]FM_MakeSignedData [23:58:26]SAM_PROTO_SignData [23:58:26]wFMCommunicate request_size=4 [23:58:26]MH_SAM_APDU [23:58:26]CAPDU: 80 0D 01 02 [23:58:26]Write to MH i2c: E2 08 00 75 0A 80 0D 01 02 00 00 00 00 F8 [23:58:26]Write i2c OK [23:58:26]MH_I2C_Read... [23:58:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:58:26]Read from MH i2c: E2 [23:58:26]MH_I2C_Read... [23:58:26]Read from MH i2c: E2 03 00 [23:58:26]MH_I2C_Read... [23:58:26]Read from MH i2c: E2 03 00 75 0A 00 90 00 F3 [23:58:26]RAPDU: 90 00 [23:58:26]wFMCommunicate OK [23:58:26]wFMCommunicate request_size=255 [23:58:26]MH_SAM_APDU [23:58:26]CAPDU: 80 0D 02 02 FA 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 32 35 34 37 06 04 2D 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B2 D0 BE D0 B9 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 1F 00 00 00 00 13 04 06 00 A4 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 48 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5C 03 00 00 00 00 07 04 06 00 A4 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 23 A8 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 [23:58:26]Write to MH i2c: E2 02 01 76 0A 80 0D 02 02 FA 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 32 35 34 37 06 04 2D 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B2 D0 BE D0 B9 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 1F 00 00 00 00 13 04 06 00 A4 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 48 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5C 03 00 00 00 00 07 04 06 00 A4 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 23 A8 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 00 00 E2 [23:58:26]Write i2c OK [23:58:26]MH_I2C_Read... [23:58:26]OFD Sender: No OFD packet to send [23:58:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:58:26]Read from MH i2c: E2 [23:58:26]MH_I2C_Read... [23:58:26]Read from MH i2c: E2 03 00 [23:58:26]MH_I2C_Read... [23:58:26]Read from MH i2c: E2 03 00 76 0A 00 90 00 F4 [23:58:26]RAPDU: 90 00 [23:58:26]wFMCommunicate OK [23:58:26]wFMCommunicate request_size=46 [23:58:26]MH_SAM_APDU [23:58:26]CAPDU: 80 0D 02 02 29 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 75 31 00 00 35 04 06 00 34 C8 99 EB D6 6A [23:58:26]Write to MH i2c: E2 31 00 77 0A 80 0D 02 02 29 00 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 75 31 00 00 35 04 06 00 34 C8 99 EB D6 6A 00 00 F9 [23:58:26]Write i2c OK [23:58:26]MH_I2C_Read... [23:58:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:58:26]Read from MH i2c: E2 [23:58:26]MH_I2C_Read... [23:58:26]Read from MH i2c: E2 03 00 [23:58:26]MH_I2C_Read... [23:58:26]Read from MH i2c: E2 03 00 77 0A 00 90 00 F5 [23:58:26]RAPDU: 90 00 [23:58:26]wFMCommunicate OK [23:58:26]wFMCommunicate request_size=4 [23:58:26]MH_SAM_APDU [23:58:26]CAPDU: 80 0D 03 02 [23:58:26]Write to MH i2c: E2 08 00 78 0A 80 0D 03 02 00 00 00 00 FD [23:58:26]Write i2c OK [23:58:26]MH_I2C_Read... [23:58:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:58:26]Read from MH i2c: E2 [23:58:26]MH_I2C_Read... [23:58:26]Read from MH i2c: E2 0B 00 [23:58:26]MH_I2C_Read... [23:58:26]Read from MH i2c: E2 0B 00 78 0A 00 FC 56 DB 42 A0 45 28 FB 90 00 75 [23:58:26]RAPDU: FC 56 DB 42 A0 45 28 FB 90 00 [23:58:26]wFMCommunicate OK [23:58:26]SAM_PROTO_SignData done [23:58:26]FM_MakeSignedData done [23:58:26]CreateOFDProtocolMessage [23:58:26]wFMCommunicate request_size=4 [23:58:26]MH_SAM_APDU [23:58:26]CAPDU: 80 11 00 00 [23:58:26]Write to MH i2c: E2 08 00 79 0A 80 11 00 00 00 00 00 00 FD [23:58:26]Write i2c OK [23:58:26]MH_I2C_Read... [23:58:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:58:26]Read from MH i2c: E2 [23:58:26]MH_I2C_Read... [23:58:26]Read from MH i2c: E2 17 00 [23:58:26]MH_I2C_Read... [23:58:26]Read from MH i2c: E2 17 00 79 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 57 [23:58:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [23:58:26]wFMCommunicate OK [23:58:26]CreateOFDProtocolMessage done [23:58:26]OFDSenderStorePacket 12661 [23:58:26]StoreOFDPacket docnum=12661 [23:58:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 33 01 00 00 3E 66 2B 01 9D DF 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 32 35 34 37 06 04 2D 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B2 D0 BE D0 B9 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 1F 00 00 00 00 13 04 06 00 A4 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 48 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5C 03 00 00 00 00 07 04 06 00 A4 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 23 A8 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 75 31 00 00 35 04 06 00 34 C8 99 EB D6 6A FC 56 DB 42 A0 45 28 FB [23:58:26]CheckFolder [23:58:26]dirname=/storage/ofd_packets [23:58:26]CheckFolder done [23:58:26]ProducePacketName [23:58:26]name=ofd_packets/00012661 [23:58:26]NVStorageSaveData ofd_packets/00012661 [23:58:26]File name is /storage/ofd_packets/00012661 [23:58:26]Write 337 bytes [23:58:26]NVStorageSaveData done [23:58:26]OFDSenderStorePacket done [23:58:26]KKMCreateOFDPacket done [23:58:26]NVStorageSaveData kkm_last_timestamp [23:58:26]File name is /storage/kkm_last_timestamp [23:58:26]Write 4 bytes [23:58:26]NVStorageSaveData done [23:58:26]ExternCall_PrintAddStr [23:58:26]wPrintStart [23:58:26]Write to MH i2c: 01 00 00 7A 0A 84 [23:58:26]Write i2c OK [23:58:26]MH_I2C_Read... [23:58:26]Read from MH i2c: 01 [23:58:26]MH_I2C_Read... [23:58:26]Read from MH i2c: 01 07 00 [23:58:26]MH_I2C_Read... [23:58:26]Read from MH i2c: 01 07 00 7A 0A 00 00 00 00 00 FF 0F 99 [23:58:26]RasterBufferAndPrint [23:58:26]line Счет N : (3)32933 [23:58:26]line ИНН: 02508201610067 [23:58:26]line Контрольно-Кассовый Чек [23:58:26]line ПРОДАЖА [23:58:26]line Товар: 4607015232547 [23:58:26]line Вафли Яшкино с халвой 200г [23:58:26]line 1.000 * 81.00 [23:58:26]line = 81.00 [23:58:26]line НДС 12% НСП 1% [23:58:26]line > о реализуемом товаре [23:58:26]line ИТОГО: 81.00 [23:58:26]line НСП 1% : 0.72 [23:58:26]line НДС 12% : 8.60 [23:58:26]line Наличными: 81.00 [23:58:26]line Безнал.: 0.00 [23:58:26]line Место: АЗС № 106 "Партнер Нефть" [23:58:26]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [23:58:26]line СНО: Общий режим [23:58:26]line Чек 73 21.04.2024 23:58 [23:58:26]line Смена: 281 ФФД: 1.0 [23:58:26]line ЗНМ: 0300000004 [23:58:26]line РНМ: 0000000000100748 [23:58:26]line Версия ККМ: 001 [23:58:26]line ФМ: 0000000000965685 [23:58:26]line ФД: 12661 [23:58:27]line ФПД: 58036180473450 [23:58:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240421T235827&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12661&fm=58036180473450&tin=02508201610067®Number=0000000000100748&sum=8100 [23:58:27]line 0 [23:58:27]OFD Sender: Processing packet 12661 [packets to send 7, broken 6] [23:58:27]ProducePacketName [23:58:27]name=ofd_packets/00012661 [23:58:27]OFD Sender: To server: pG, [23:58:27]CommunicateWithHost lk.salyk.kg:30040 [23:58:27]ConnectInit lk.salyk.kg [23:58:27]written 0, free lines is 4095 [23:58:27]Connected sock=9 [23:58:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 33 01 00 00 3E 66 2B 01 9D DF 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 32 35 34 37 06 04 2D 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B2 D0 BE D0 B9 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 1F 00 00 00 00 13 04 06 00 A4 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 48 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5C 03 00 00 00 00 07 04 06 00 A4 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 23 A8 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 75 31 00 00 35 04 06 00 34 C8 99 EB D6 6A FC 56 DB 42 A0 45 28 FB [23:58:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 8A 05 47 00 93 DB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 75 31 00 00 F4 03 04 00 A2 50 25 66 B6 04 01 00 00 C1 97 E6 DB C9 C8 30 E6 [23:58:27]CommunicateWithHost err = 0 [23:58:27]CheckOFDResponse [23:58:27]1017 (14) - 77093643461234 [23:58:27]1041 (16) - 0000000000965685 [23:58:27]1040 (4) - 12661 [23:58:27]1012 (4) - 21.04.2024 17:45 [23:58:27]1206 (1) - 0 [23:58:27]OFD Sender: Remove packet 12661 [23:58:27]ProducePacketName [23:58:27]name=ofd_packets/00012661 [23:58:27]NVStorageDeleteData [23:58:27]Write to MH i2c: 01 00 00 A1 0A AB [23:58:27]Write i2c OK [23:58:27]MH_I2C_Read... [23:58:27]Read from MH i2c: 01 [23:58:27]MH_I2C_Read... [23:58:27]Read from MH i2c: 01 07 00 [23:58:27]MH_I2C_Read... [23:58:27]Read from MH i2c: 01 07 00 A1 0A 00 00 00 00 00 F8 0C B6 [23:58:27]RasterBufferAndPrint [23:58:27]line [23:58:27]line [23:58:27]line [23:58:27]line [23:58:27]line [23:58:27]written 0, free lines is 3329 [23:58:27]MH_Cut [23:58:27]Write to MH i2c: D1 01 00 A8 0A 01 84 [23:58:27]Write i2c OK [23:58:27]MH_I2C_Read... [23:58:27]Read from MH i2c: D1 [23:58:27]MH_I2C_Read... [23:58:27]Read from MH i2c: D1 01 00 [23:58:27]MH_I2C_Read... [23:58:27]Read from MH i2c: D1 01 00 A8 0A 00 83 [23:58:27]Write to MH i2c: 01 00 00 A9 0A B3 [23:58:27]Write i2c OK [23:58:27]MH_I2C_Read... [23:58:28]OFD Sender: No OFD packet to send [23:58:28]*** Cut start [23:58:28]*** Partial cut [23:58:28]*** CUTSNS_PIN = 1 [23:58:28]*** CUTSNS_PIN = 0 [23:58:28]*** Brake cut motor [23:58:29]Read from MH i2c: 01 [23:58:29]MH_I2C_Read... [23:58:29]*** Stop cut motor [23:58:29]*** Cut end [23:58:29]Read from MH i2c: 01 07 00 [23:58:29]MH_I2C_Read... [23:58:29]Read from MH i2c: 01 07 00 A9 0A 00 00 00 00 00 FF 0F C8 [23:58:29]process_action close_receipt done [23:58:29]requested_data is exist [23:58:29]produce_requested_data [23:58:29]requested_item fm.sn is exist - process it [23:58:29]wFMCommunicate request_size=4 [23:58:29]MH_SAM_APDU [23:58:29]CAPDU: 80 11 00 00 [23:58:29]Write to MH i2c: E2 08 00 AA 0A 80 11 00 00 00 00 00 00 2E [23:58:29]Write i2c OK [23:58:29]MH_I2C_Read... [23:58:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:58:29]Read from MH i2c: E2 [23:58:29]MH_I2C_Read... [23:58:29]Read from MH i2c: E2 17 00 [23:58:29]MH_I2C_Read... [23:58:29]Read from MH i2c: E2 17 00 AA 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 88 [23:58:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [23:58:29]wFMCommunicate OK [23:58:29]requested_item fd.num is exist - process it [23:58:29]SAM_PROTO_GetFieldsCounters [23:58:29]wFMCommunicate request_size=4 [23:58:29]MH_SAM_APDU [23:58:29]CAPDU: 80 13 00 00 [23:58:29]Write to MH i2c: E2 08 00 AB 0A 80 13 00 00 00 00 00 00 31 [23:58:29]Write i2c OK [23:58:29]MH_I2C_Read... [23:58:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:58:29]Read from MH i2c: E2 [23:58:29]MH_I2C_Read... [23:58:29]Read from MH i2c: E2 62 00 [23:58:29]MH_I2C_Read... [23:58:29]Read from MH i2c: E2 62 00 AB 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 75 31 00 00 0E 04 04 00 19 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 EF [23:58:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 75 31 00 00 0E 04 04 00 19 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 [23:58:29]wFMCommunicate OK [23:58:29]SAM_PROTO_GetFieldsCounters done [23:58:29]requested_item shift.num is exist - process it [23:58:29]requested_item shift.opened is exist - process it [23:58:29]req_shift_opened [23:58:29]FM_GetShiftState [23:58:29]SAM_PROTO_GetShiftState [23:58:29]wFMCommunicate request_size=4 [23:58:29]MH_SAM_APDU [23:58:29]CAPDU: 80 13 01 00 [23:58:29]Write to MH i2c: E2 08 00 AC 0A 80 13 01 00 00 00 00 00 33 [23:58:29]Write i2c OK [23:58:29]MH_I2C_Read... [23:58:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:58:29]Read from MH i2c: E2 [23:58:29]MH_I2C_Read... [23:58:29]Read from MH i2c: E2 0E 00 [23:58:29]MH_I2C_Read... [23:58:29]Read from MH i2c: E2 0E 00 AC 0A 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 8B [23:58:29]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [23:58:29]wFMCommunicate OK [23:58:29]SAM_PROTO_GetShiftState done [23:58:29]FM_GetShiftState done [23:58:29]req_shift_opened done [23:58:29]requested_item shift.open_date is exist - process it [23:58:29]req_shift_open_date [23:58:29]req_shift_open_date done [23:58:29]produce_requested_data done [23:58:29]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12661,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [23:58:29]process_action_free close_receipt [23:58:29]json_value_free [23:58:29]json_value_free done [23:58:29]process_json_proto returns [23:58:29]Send response to host [23:58:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12661,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [23:58:29]free response buf [23:58:29]execute_script done [23:58:29]execute_script returns [23:58:29]free content buf [23:58:29]Sock 7.Close socket [23:58:29]Sock 7.Thread stoped [23:58:33]OFD Sender: No OFD packet to send [23:58:38]OFD Sender: No OFD packet to send [23:58:43]OFD Sender: No OFD packet to send [23:58:48]OFD Sender: No OFD packet to send [23:58:53]OFD Sender: No OFD packet to send [23:58:58]OFD Sender: No OFD packet to send [23:59:03]OFD Sender: No OFD packet to send [23:59:08]OFD Sender: No OFD packet to send [23:59:13]OFD Sender: No OFD packet to send [23:59:18]OFD Sender: No OFD packet to send [23:59:23]OFD Sender: No OFD packet to send [23:59:28]OFD Sender: No OFD packet to send [23:59:33]OFD Sender: No OFD packet to send [23:59:38]OFD Sender: No OFD packet to send [23:59:43]OFD Sender: No OFD packet to send [23:59:48]OFD Sender: No OFD packet to send [23:59:53]OFD Sender: No OFD packet to send [23:59:58]OFD Sender: No OFD packet to send [00:00:03]OFD Sender: No OFD packet to send [00:00:08]OFD Sender: No OFD packet to send [00:00:13]OFD Sender: No OFD packet to send [00:00:18]OFD Sender: No OFD packet to send [00:00:23]OFD Sender: No OFD packet to send [00:00:28]OFD Sender: No OFD packet to send [00:00:33]OFD Sender: No OFD packet to send [00:00:38]OFD Sender: No OFD packet to send [00:00:43]OFD Sender: No OFD packet to send [00:00:48]OFD Sender: No OFD packet to send [00:00:53]OFD Sender: No OFD packet to send [00:00:58]OFD Sender: No OFD packet to send [00:01:03]OFD Sender: No OFD packet to send [00:01:08]OFD Sender: No OFD packet to send [00:01:13]OFD Sender: No OFD packet to send [00:01:18]OFD Sender: No OFD packet to send [00:01:23]OFD Sender: No OFD packet to send [00:01:28]OFD Sender: No OFD packet to send [00:01:33]OFD Sender: No OFD packet to send [00:01:38]OFD Sender: No OFD packet to send [00:01:43]OFD Sender: No OFD packet to send [00:01:48]OFD Sender: No OFD packet to send [00:01:53]OFD Sender: No OFD packet to send [00:01:58]OFD Sender: No OFD packet to send [00:02:03]OFD Sender: No OFD packet to send [00:02:08]OFD Sender: No OFD packet to send [00:02:10]accept exits with 10 [00:02:10]New connection [00:02:10]New thread 3066957156 created [00:02:10]Thread 3066813796 joined [00:02:10]Waiting for new connection... [00:02:10] Sock 10.Parse request [00:02:10]Sock 10.Check first char [00:02:10]Sock 10.First char is OK [00:02:10]request: POST /json_proto HTTP/1.0 [00:02:10]Method: POST [00:02:10]URL: /json_proto [00:02:10]Method is POST - this is cgi request [00:02:10]url: /json_proto [00:02:10]query_string will be loaded in cgi processing [00:02:10]execute_cgi json_proto POST (null) [00:02:10]execute_cgi path=json_proto method=POST [00:02:10]POST find Content-Length [00:02:10]Host: 172.17.62.6:8080 [00:02:10]Content-Length: 625 [00:02:10]Content-Type: application/json [00:02:10] [00:02:10]POST finish read [00:02:10]Found Content-Length = 625 [00:02:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32934", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:02:10]execute_script... [00:02:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32934", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:02:10]POST & json_proto [00:02:10]process_json_proto [00:02:10]json parsed OK: [00:02:10]protocol is kg_v1.0 [00:02:10]action value=close_receipt [00:02:10]process_action close_receipt [00:02:10]cmd_close_receipt [00:02:10]MH_GetDate [00:02:10]Write to MH i2c: F0 00 00 AD 0A A6 [00:02:10]Write i2c OK [00:02:10]MH_I2C_Read... [00:02:10]Read from MH i2c: F0 [00:02:10]MH_I2C_Read... [00:02:10]Read from MH i2c: F0 09 00 [00:02:10]MH_I2C_Read... [00:02:10]Read from MH i2c: F0 09 00 AD 0A 00 04 A9 25 66 61 69 D2 64 E7 [00:02:10]GetLastDocTimeStamp 1713743907 [00:02:10]current date 1713744132 [00:02:10]FM_GetShiftState [00:02:10]SAM_PROTO_GetShiftState [00:02:10]wFMCommunicate request_size=4 [00:02:10]MH_SAM_APDU [00:02:10]CAPDU: 80 13 01 00 [00:02:10]Write to MH i2c: E2 08 00 AE 0A 80 13 01 00 00 00 00 00 35 [00:02:10]Write i2c OK [00:02:10]MH_I2C_Read... [00:02:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:02:10]Read from MH i2c: E2 [00:02:10]MH_I2C_Read... [00:02:10]Read from MH i2c: E2 0E 00 [00:02:10]MH_I2C_Read... [00:02:10]Read from MH i2c: E2 0E 00 AE 0A 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 8D [00:02:10]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [00:02:10]wFMCommunicate OK [00:02:10]SAM_PROTO_GetShiftState done [00:02:10]FM_GetShiftState done [00:02:10]opened in 1713658727 [00:02:10]opened+sec_in_day 1713745127 [00:02:10]quantity*price = 10500 [00:02:10]sum+1 = 10501 [00:02:10]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 105.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 74 22.04.2024 00:02 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12662 ФПД: 69373420727439 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240422T000212&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12662&fm=69373420727439&tin=02508201610067®Number=0000000000100748&sum=10500 0 [00:02:11]StoreToDocumentArchive [00:02:11]shift 281 fd 12662 [00:02:11]save to /storage/0281/doc_00012662 [00:02:11]save last doc name /storage/0281/doc_00012662 to /storage/kkm_last_doc_name [00:02:11]save OK [00:02:11]Clear old archive folders... [00:02:11]ProcessDocumentItem done err = 0, tmpTLVsize=274 [00:02:11]tlvbuf is 016D8F70 [00:02:11]SAM_PROTO_ClearQueue [00:02:11]wFMCommunicate request_size=4 [00:02:11]MH_SAM_APDU [00:02:11]CAPDU: 80 09 00 00 [00:02:11]Write to MH i2c: E2 08 00 BB 0A 80 09 00 00 00 00 00 00 37 [00:02:11]Write i2c OK [00:02:11]MH_I2C_Read... [00:02:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:02:11]Read from MH i2c: E2 [00:02:11]MH_I2C_Read... [00:02:11]Read from MH i2c: E2 03 00 [00:02:11]MH_I2C_Read... [00:02:11]Read from MH i2c: E2 03 00 BB 0A 00 90 00 39 [00:02:11]RAPDU: 90 00 [00:02:11]wFMCommunicate OK [00:02:11]SAM_PROTO_ClearQueue done [00:02:11]KKMCreateOFDPacket [00:02:11]OFDProtocolAddRootSTLVToBuf [00:02:11]FM_MakeSignedData [00:02:11]FM_MakeSignedData [00:02:11]SAM_PROTO_SignData [00:02:11]wFMCommunicate request_size=4 [00:02:11]MH_SAM_APDU [00:02:11]CAPDU: 80 0D 01 02 [00:02:11]Write to MH i2c: E2 08 00 BC 0A 80 0D 01 02 00 00 00 00 3F [00:02:11]Write i2c OK [00:02:11]MH_I2C_Read... [00:02:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:02:11]Read from MH i2c: E2 [00:02:11]MH_I2C_Read... [00:02:11]Read from MH i2c: E2 03 00 [00:02:11]MH_I2C_Read... [00:02:11]Read from MH i2c: E2 03 00 BC 0A 00 90 00 3A [00:02:11]RAPDU: 90 00 [00:02:11]wFMCommunicate OK [00:02:11]wFMCommunicate request_size=255 [00:02:11]MH_SAM_APDU [00:02:11]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 04 A9 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 [00:02:11]Write to MH i2c: E2 02 01 BD 0A 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 04 A9 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 00 00 53 [00:02:11]Write i2c OK [00:02:11]MH_I2C_Read... [00:02:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:02:11]Read from MH i2c: E2 [00:02:11]MH_I2C_Read... [00:02:11]Read from MH i2c: E2 03 00 [00:02:11]MH_I2C_Read... [00:02:11]Read from MH i2c: E2 03 00 BD 0A 00 90 00 3B [00:02:11]RAPDU: 90 00 [00:02:11]wFMCommunicate OK [00:02:11]wFMCommunicate request_size=33 [00:02:11]MH_SAM_APDU [00:02:11]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 36 38 35 10 04 04 00 76 31 00 00 35 04 06 00 3F 18 42 19 6C 8F [00:02:11]Write to MH i2c: E2 24 00 BE 0A 80 0D 02 02 1C 00 30 30 30 30 39 36 35 36 38 35 10 04 04 00 76 31 00 00 35 04 06 00 3F 18 42 19 6C 8F 00 00 2C [00:02:11]Write i2c OK [00:02:11]MH_I2C_Read... [00:02:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:02:11]Read from MH i2c: E2 [00:02:11]MH_I2C_Read... [00:02:11]Read from MH i2c: E2 03 00 [00:02:11]MH_I2C_Read... [00:02:11]Read from MH i2c: E2 03 00 BE 0A 00 90 00 3C [00:02:11]RAPDU: 90 00 [00:02:11]wFMCommunicate OK [00:02:11]wFMCommunicate request_size=4 [00:02:11]MH_SAM_APDU [00:02:11]CAPDU: 80 0D 03 02 [00:02:11]Write to MH i2c: E2 08 00 BF 0A 80 0D 03 02 00 00 00 00 44 [00:02:11]Write i2c OK [00:02:11]MH_I2C_Read... [00:02:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:02:11]Read from MH i2c: E2 [00:02:11]MH_I2C_Read... [00:02:11]Read from MH i2c: E2 0B 00 [00:02:11]MH_I2C_Read... [00:02:11]Read from MH i2c: E2 0B 00 BF 0A 00 5B 98 9F DE 03 DE 97 47 90 00 74 [00:02:11]RAPDU: 5B 98 9F DE 03 DE 97 47 90 00 [00:02:11]wFMCommunicate OK [00:02:11]SAM_PROTO_SignData done [00:02:11]FM_MakeSignedData done [00:02:11]CreateOFDProtocolMessage [00:02:11]wFMCommunicate request_size=4 [00:02:11]MH_SAM_APDU [00:02:11]CAPDU: 80 11 00 00 [00:02:11]Write to MH i2c: E2 08 00 C0 0A 80 11 00 00 00 00 00 00 44 [00:02:11]Write i2c OK [00:02:11]MH_I2C_Read... [00:02:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:02:11]Read from MH i2c: E2 [00:02:11]MH_I2C_Read... [00:02:11]Read from MH i2c: E2 17 00 [00:02:11]MH_I2C_Read... [00:02:11]Read from MH i2c: E2 17 00 C0 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 9E [00:02:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [00:02:11]wFMCommunicate OK [00:02:11]CreateOFDProtocolMessage done [00:02:11]OFDSenderStorePacket 12662 [00:02:11]StoreOFDPacket docnum=12662 [00:02:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 26 01 00 00 CC 72 1E 01 8E 22 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 04 A9 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 76 31 00 00 35 04 06 00 3F 18 42 19 6C 8F 5B 98 9F DE 03 DE 97 47 [00:02:11]CheckFolder [00:02:11]dirname=/storage/ofd_packets [00:02:11]CheckFolder done [00:02:11]ProducePacketName [00:02:11]name=ofd_packets/00012662 [00:02:11]NVStorageSaveData ofd_packets/00012662 [00:02:11]File name is /storage/ofd_packets/00012662 [00:02:11]Write 324 bytes [00:02:11]NVStorageSaveData done [00:02:11]OFDSenderStorePacket done [00:02:11]KKMCreateOFDPacket done [00:02:11]NVStorageSaveData kkm_last_timestamp [00:02:11]File name is /storage/kkm_last_timestamp [00:02:11]Write 4 bytes [00:02:11]NVStorageSaveData done [00:02:11]ExternCall_PrintAddStr [00:02:11]wPrintStart [00:02:11]Write to MH i2c: 01 00 00 C1 0A CB [00:02:11]Write i2c OK [00:02:11]MH_I2C_Read... [00:02:11]Read from MH i2c: 01 [00:02:11]MH_I2C_Read... [00:02:11]Read from MH i2c: 01 07 00 [00:02:11]MH_I2C_Read... [00:02:11]Read from MH i2c: 01 07 00 C1 0A 00 00 00 00 00 FF 0F E0 [00:02:11]RasterBufferAndPrint [00:02:11]line Счет N : (3)32934 [00:02:11]line ИНН: 02508201610067 [00:02:11]line Контрольно-Кассовый Чек [00:02:11]line ПРОДАЖА [00:02:11]line Товар: 2000036240010 [00:02:11]line Кофе Латте (GABB TRADE) [00:02:11]line 1.000 * 105.00 [00:02:11]line = 105.00 [00:02:11]line НДС 12% НСП 1% [00:02:11]line > о реализуемом товаре [00:02:11]line ИТОГО: 105.00 [00:02:11]line НСП 1% : 0.93 [00:02:11]line НДС 12% : 11.15 [00:02:11]line Наличными: 105.00 [00:02:11]line Безнал.: 0.00 [00:02:11]line Место: АЗС № 106 "Партнер Нефть" [00:02:11]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [00:02:11]line СНО: Общий режим [00:02:11]line Чек 74 22.04.2024 00:02 [00:02:11]line Смена: 281 ФФД: 1.0 [00:02:11]line ЗНМ: 0300000004 [00:02:11]line РНМ: 0000000000100748 [00:02:11]line Версия ККМ: 001 [00:02:11]line ФМ: 0000000000965685 [00:02:11]line ФД: 12662 [00:02:11]line ФПД: 69373420727439 [00:02:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240422T000212&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12662&fm=69373420727439&tin=02508201610067®Number=0000000000100748&sum=10500 [00:02:12]line 0 [00:02:12]OFD Sender: Processing packet 12662 [packets to send 7, broken 6] [00:02:12]ProducePacketName [00:02:12]name=ofd_packets/00012662 [00:02:12]OFD Sender: To server: pG, [00:02:12]CommunicateWithHost lk.salyk.kg:30040 [00:02:12]ConnectInit lk.salyk.kg [00:02:12]written 0, free lines is 4095 [00:02:12]Connected sock=9 [00:02:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 26 01 00 00 CC 72 1E 01 8E 22 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 04 A9 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 76 31 00 00 35 04 06 00 3F 18 42 19 6C 8F 5B 98 9F DE 03 DE 97 47 [00:02:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 74 0B 47 00 1A 9F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 76 31 00 00 F4 03 04 00 83 51 25 66 B6 04 01 00 00 56 D6 1B 14 31 B3 7C 98 [00:02:12]CommunicateWithHost err = 0 [00:02:12]CheckOFDResponse [00:02:12]1017 (14) - 77093643461234 [00:02:12]1041 (16) - 0000000000965685 [00:02:12]1040 (4) - 12662 [00:02:12]1012 (4) - 21.04.2024 17:48 [00:02:12]1206 (1) - 0 [00:02:12]OFD Sender: Remove packet 12662 [00:02:12]ProducePacketName [00:02:12]name=ofd_packets/00012662 [00:02:12]NVStorageDeleteData [00:02:12]Write to MH i2c: 01 00 00 E8 0A F2 [00:02:12]Write i2c OK [00:02:12]MH_I2C_Read... [00:02:12]Read from MH i2c: 01 [00:02:12]MH_I2C_Read... [00:02:12]Read from MH i2c: 01 07 00 [00:02:12]MH_I2C_Read... [00:02:12]Read from MH i2c: 01 07 00 E8 0A 00 00 00 00 00 18 0D 1E [00:02:12]RasterBufferAndPrint [00:02:12]line [00:02:12]line [00:02:12]line [00:02:12]line [00:02:12]line [00:02:12]written 0, free lines is 3357 [00:02:12]MH_Cut [00:02:12]Write to MH i2c: D1 01 00 EF 0A 01 CB [00:02:12]Write i2c OK [00:02:12]MH_I2C_Read... [00:02:12]Read from MH i2c: D1 [00:02:12]MH_I2C_Read... [00:02:12]Read from MH i2c: D1 01 00 [00:02:12]MH_I2C_Read... [00:02:12]Read from MH i2c: D1 01 00 EF 0A 00 CA [00:02:12]Write to MH i2c: 01 00 00 F0 0A FA [00:02:12]Write i2c OK [00:02:12]MH_I2C_Read... [00:02:13]OFD Sender: No OFD packet to send [00:02:13]*** Cut start [00:02:13]*** Partial cut [00:02:13]*** CUTSNS_PIN = 1 [00:02:13]*** CUTSNS_PIN = 0 [00:02:13]*** Brake cut motor [00:02:14]Read from MH i2c: 01 [00:02:14]MH_I2C_Read... [00:02:14]*** Stop cut motor [00:02:14]*** Cut end [00:02:14]Read from MH i2c: 01 07 00 [00:02:14]MH_I2C_Read... [00:02:14]Read from MH i2c: 01 07 00 F0 0A 00 00 00 00 00 FF 0F 0F [00:02:14]process_action close_receipt done [00:02:14]requested_data is exist [00:02:14]produce_requested_data [00:02:14]requested_item fm.sn is exist - process it [00:02:14]wFMCommunicate request_size=4 [00:02:14]MH_SAM_APDU [00:02:14]CAPDU: 80 11 00 00 [00:02:14]Write to MH i2c: E2 08 00 F1 0A 80 11 00 00 00 00 00 00 75 [00:02:14]Write i2c OK [00:02:14]MH_I2C_Read... [00:02:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:02:14]Read from MH i2c: E2 [00:02:14]MH_I2C_Read... [00:02:14]Read from MH i2c: E2 17 00 [00:02:14]MH_I2C_Read... [00:02:14]Read from MH i2c: E2 17 00 F1 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 CF [00:02:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [00:02:14]wFMCommunicate OK [00:02:14]requested_item fd.num is exist - process it [00:02:14]SAM_PROTO_GetFieldsCounters [00:02:14]wFMCommunicate request_size=4 [00:02:14]MH_SAM_APDU [00:02:14]CAPDU: 80 13 00 00 [00:02:14]Write to MH i2c: E2 08 00 F2 0A 80 13 00 00 00 00 00 00 78 [00:02:14]Write i2c OK [00:02:14]MH_I2C_Read... [00:02:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:02:14]Read from MH i2c: E2 [00:02:14]MH_I2C_Read... [00:02:14]Read from MH i2c: E2 62 00 [00:02:14]MH_I2C_Read... [00:02:14]Read from MH i2c: E2 62 00 F2 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 76 31 00 00 0E 04 04 00 19 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 3A [00:02:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 76 31 00 00 0E 04 04 00 19 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 [00:02:14]wFMCommunicate OK [00:02:14]SAM_PROTO_GetFieldsCounters done [00:02:14]requested_item shift.num is exist - process it [00:02:14]requested_item shift.opened is exist - process it [00:02:14]req_shift_opened [00:02:14]FM_GetShiftState [00:02:14]SAM_PROTO_GetShiftState [00:02:14]wFMCommunicate request_size=4 [00:02:14]MH_SAM_APDU [00:02:14]CAPDU: 80 13 01 00 [00:02:14]Write to MH i2c: E2 08 00 F3 0A 80 13 01 00 00 00 00 00 7A [00:02:14]Write i2c OK [00:02:14]MH_I2C_Read... [00:02:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:02:14]Read from MH i2c: E2 [00:02:14]MH_I2C_Read... [00:02:14]Read from MH i2c: E2 0E 00 [00:02:14]MH_I2C_Read... [00:02:14]Read from MH i2c: E2 0E 00 F3 0A 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 D2 [00:02:14]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [00:02:14]wFMCommunicate OK [00:02:14]SAM_PROTO_GetShiftState done [00:02:14]FM_GetShiftState done [00:02:14]req_shift_opened done [00:02:14]requested_item shift.open_date is exist - process it [00:02:14]req_shift_open_date [00:02:14]req_shift_open_date done [00:02:14]produce_requested_data done [00:02:14]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12662,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [00:02:14]process_action_free close_receipt [00:02:14]json_value_free [00:02:14]json_value_free done [00:02:14]process_json_proto returns [00:02:14]Send response to host [00:02:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12662,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [00:02:14]free response buf [00:02:14]execute_script done [00:02:14]execute_script returns [00:02:14]free content buf [00:02:14]Sock 10.Close socket [00:02:14]Sock 10.Thread stoped [00:02:15]accept exits with 7 [00:02:15]New connection [00:02:15]New thread 3066813796 created [00:02:15]Thread 3066957156 joined [00:02:15]Waiting for new connection... [00:02:15] Sock 7.Parse request [00:02:15]Sock 7.Check first char [00:02:15]Sock 7.First char is OK [00:02:15]request: POST /json_proto HTTP/1.0 [00:02:15]Method: POST [00:02:15]URL: /json_proto [00:02:15]Method is POST - this is cgi request [00:02:15]url: /json_proto [00:02:15]query_string will be loaded in cgi processing [00:02:15]execute_cgi json_proto POST (null) [00:02:15]execute_cgi path=json_proto method=POST [00:02:15]POST find Content-Length [00:02:15]Host: 172.17.62.6:8080 [00:02:15]Content-Length: 625 [00:02:15]Content-Type: application/json [00:02:15] [00:02:15]POST finish read [00:02:15]Found Content-Length = 625 [00:02:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32935", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:02:15]execute_script... [00:02:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32935", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:02:15]POST & json_proto [00:02:15]process_json_proto [00:02:15]json parsed OK: [00:02:15]protocol is kg_v1.0 [00:02:15]action value=close_receipt [00:02:15]process_action close_receipt [00:02:15]cmd_close_receipt [00:02:15]MH_GetDate [00:02:15]Write to MH i2c: F0 00 00 F4 0A ED [00:02:15]Write i2c OK [00:02:15]MH_I2C_Read... [00:02:15]Read from MH i2c: F0 [00:02:15]MH_I2C_Read... [00:02:15]Read from MH i2c: F0 09 00 [00:02:15]MH_I2C_Read... [00:02:15]Read from MH i2c: F0 09 00 F4 0A 00 08 A9 25 66 61 69 D2 64 32 [00:02:15]GetLastDocTimeStamp 1713744132 [00:02:15]current date 1713744136 [00:02:15]FM_GetShiftState [00:02:15]SAM_PROTO_GetShiftState [00:02:15]wFMCommunicate request_size=4 [00:02:15]MH_SAM_APDU [00:02:15]CAPDU: 80 13 01 00 [00:02:15]Write to MH i2c: E2 08 00 F5 0A 80 13 01 00 00 00 00 00 7C [00:02:15]Write i2c OK [00:02:15]MH_I2C_Read... [00:02:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:02:15]Read from MH i2c: E2 [00:02:15]MH_I2C_Read... [00:02:15]Read from MH i2c: E2 0E 00 [00:02:15]MH_I2C_Read... [00:02:15]Read from MH i2c: E2 0E 00 F5 0A 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 D4 [00:02:15]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [00:02:15]wFMCommunicate OK [00:02:15]SAM_PROTO_GetShiftState done [00:02:15]FM_GetShiftState done [00:02:15]opened in 1713658727 [00:02:15]opened+sec_in_day 1713745127 [00:02:15]quantity*price = 10500 [00:02:15]sum+1 = 10501 [00:02:15]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 105.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 75 22.04.2024 00:02 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12663 ФПД: 201955889663800 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240422T000216&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12663&fm=201955889663800&tin=02508201610067®Number=0000000000100748&sum=10500 0 [00:02:16]StoreToDocumentArchive [00:02:16]shift 281 fd 12663 [00:02:16]save to /storage/0281/doc_00012663 [00:02:16]save last doc name /storage/0281/doc_00012663 to /storage/kkm_last_doc_name [00:02:16]save OK [00:02:16]Clear old archive folders... [00:02:16]ProcessDocumentItem done err = 0, tmpTLVsize=274 [00:02:16]tlvbuf is 0167DDA0 [00:02:16]SAM_PROTO_ClearQueue [00:02:16]wFMCommunicate request_size=4 [00:02:16]MH_SAM_APDU [00:02:16]CAPDU: 80 09 00 00 [00:02:16]Write to MH i2c: E2 08 00 02 0B 80 09 00 00 00 00 00 00 7F [00:02:16]Write i2c OK [00:02:16]MH_I2C_Read... [00:02:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:02:16]Read from MH i2c: E2 [00:02:16]MH_I2C_Read... [00:02:16]Read from MH i2c: E2 03 00 [00:02:16]MH_I2C_Read... [00:02:16]Read from MH i2c: E2 03 00 02 0B 00 90 00 81 [00:02:16]RAPDU: 90 00 [00:02:16]wFMCommunicate OK [00:02:16]SAM_PROTO_ClearQueue done [00:02:16]KKMCreateOFDPacket [00:02:16]OFDProtocolAddRootSTLVToBuf [00:02:16]FM_MakeSignedData [00:02:16]FM_MakeSignedData [00:02:16]SAM_PROTO_SignData [00:02:16]wFMCommunicate request_size=4 [00:02:16]MH_SAM_APDU [00:02:16]CAPDU: 80 0D 01 02 [00:02:16]Write to MH i2c: E2 08 00 03 0B 80 0D 01 02 00 00 00 00 87 [00:02:16]Write i2c OK [00:02:16]MH_I2C_Read... [00:02:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:02:16]Read from MH i2c: E2 [00:02:16]MH_I2C_Read... [00:02:16]Read from MH i2c: E2 03 00 [00:02:16]MH_I2C_Read... [00:02:16]Read from MH i2c: E2 03 00 03 0B 00 90 00 82 [00:02:16]RAPDU: 90 00 [00:02:16]wFMCommunicate OK [00:02:16]wFMCommunicate request_size=255 [00:02:16]MH_SAM_APDU [00:02:16]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 08 A9 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 [00:02:16]Write to MH i2c: E2 02 01 04 0B 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 08 A9 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 00 00 A0 [00:02:16]Write i2c OK [00:02:16]MH_I2C_Read... [00:02:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:02:16]Read from MH i2c: E2 [00:02:16]MH_I2C_Read... [00:02:16]Read from MH i2c: E2 03 00 [00:02:16]MH_I2C_Read... [00:02:16]Read from MH i2c: E2 03 00 04 0B 00 90 00 83 [00:02:16]RAPDU: 90 00 [00:02:16]wFMCommunicate OK [00:02:16]wFMCommunicate request_size=33 [00:02:16]MH_SAM_APDU [00:02:16]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 36 38 35 10 04 04 00 77 31 00 00 35 04 06 00 B7 AD 85 10 4F 38 [00:02:16]Write to MH i2c: E2 24 00 05 0B 80 0D 02 02 1C 00 30 30 30 30 39 36 35 36 38 35 10 04 04 00 77 31 00 00 35 04 06 00 B7 AD 85 10 4F 38 00 00 48 [00:02:16]Write i2c OK [00:02:16]MH_I2C_Read... [00:02:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:02:17]Read from MH i2c: E2 [00:02:17]MH_I2C_Read... [00:02:17]Read from MH i2c: E2 03 00 [00:02:17]MH_I2C_Read... [00:02:17]Read from MH i2c: E2 03 00 05 0B 00 90 00 84 [00:02:17]RAPDU: 90 00 [00:02:17]wFMCommunicate OK [00:02:17]wFMCommunicate request_size=4 [00:02:17]MH_SAM_APDU [00:02:17]CAPDU: 80 0D 03 02 [00:02:17]Write to MH i2c: E2 08 00 06 0B 80 0D 03 02 00 00 00 00 8C [00:02:17]Write i2c OK [00:02:17]MH_I2C_Read... [00:02:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:02:17]Read from MH i2c: E2 [00:02:17]MH_I2C_Read... [00:02:17]Read from MH i2c: E2 0B 00 [00:02:17]MH_I2C_Read... [00:02:17]Read from MH i2c: E2 0B 00 06 0B 00 FA AB 07 F5 B3 B5 CC EB 90 00 4D [00:02:17]RAPDU: FA AB 07 F5 B3 B5 CC EB 90 00 [00:02:17]wFMCommunicate OK [00:02:17]SAM_PROTO_SignData done [00:02:17]FM_MakeSignedData done [00:02:17]CreateOFDProtocolMessage [00:02:17]wFMCommunicate request_size=4 [00:02:17]MH_SAM_APDU [00:02:17]CAPDU: 80 11 00 00 [00:02:17]Write to MH i2c: E2 08 00 07 0B 80 11 00 00 00 00 00 00 8C [00:02:17]Write i2c OK [00:02:17]MH_I2C_Read... [00:02:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:02:17]Read from MH i2c: E2 [00:02:17]MH_I2C_Read... [00:02:17]Read from MH i2c: E2 17 00 [00:02:17]MH_I2C_Read... [00:02:17]Read from MH i2c: E2 17 00 07 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 E6 [00:02:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [00:02:17]wFMCommunicate OK [00:02:17]CreateOFDProtocolMessage done [00:02:17]OFDSenderStorePacket 12663 [00:02:17]StoreOFDPacket docnum=12663 [00:02:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 26 01 00 00 5E D6 1E 01 97 B6 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 08 A9 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 77 31 00 00 35 04 06 00 B7 AD 85 10 4F 38 FA AB 07 F5 B3 B5 CC EB [00:02:17]CheckFolder [00:02:17]dirname=/storage/ofd_packets [00:02:17]CheckFolder done [00:02:17]ProducePacketName [00:02:17]name=ofd_packets/00012663 [00:02:17]NVStorageSaveData ofd_packets/00012663 [00:02:17]File name is /storage/ofd_packets/00012663 [00:02:17]Write 324 bytes [00:02:17]NVStorageSaveData done [00:02:17]OFDSenderStorePacket done [00:02:17]KKMCreateOFDPacket done [00:02:17]NVStorageSaveData kkm_last_timestamp [00:02:17]File name is /storage/kkm_last_timestamp [00:02:17]Write 4 bytes [00:02:17]NVStorageSaveData done [00:02:17]ExternCall_PrintAddStr [00:02:17]wPrintStart [00:02:17]Write to MH i2c: 01 00 00 08 0B 13 [00:02:17]Write i2c OK [00:02:17]MH_I2C_Read... [00:02:17]Read from MH i2c: 01 [00:02:17]MH_I2C_Read... [00:02:17]Read from MH i2c: 01 07 00 [00:02:17]MH_I2C_Read... [00:02:17]Read from MH i2c: 01 07 00 08 0B 00 00 00 00 00 FF 0F 28 [00:02:17]RasterBufferAndPrint [00:02:17]line Счет N : (3)32935 [00:02:17]line ИНН: 02508201610067 [00:02:17]line Контрольно-Кассовый Чек [00:02:17]line ПРОДАЖА [00:02:17]line Товар: 2000036240010 [00:02:17]line Кофе Латте (GABB TRADE) [00:02:17]line 1.000 * 105.00 [00:02:17]line = 105.00 [00:02:17]line НДС 12% НСП 1% [00:02:17]line > о реализуемом товаре [00:02:17]line ИТОГО: 105.00 [00:02:17]line НСП 1% : 0.93 [00:02:17]line НДС 12% : 11.15 [00:02:17]line Наличными: 105.00 [00:02:17]line Безнал.: 0.00 [00:02:17]line Место: АЗС № 106 "Партнер Нефть" [00:02:17]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [00:02:17]line СНО: Общий режим [00:02:17]line Чек 75 22.04.2024 00:02 [00:02:17]line Смена: 281 ФФД: 1.0 [00:02:17]line ЗНМ: 0300000004 [00:02:17]line РНМ: 0000000000100748 [00:02:17]line Версия ККМ: 001 [00:02:17]line ФМ: 0000000000965685 [00:02:17]line ФД: 12663 [00:02:17]line ФПД: 201955889663800 [00:02:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240422T000216&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12663&fm=201955889663800&tin=02508201610067®Number=0000000000100748&sum=10500 [00:02:17]line 0 [00:02:17]OFD Sender: Processing packet 12663 [packets to send 7, broken 6] [00:02:17]ProducePacketName [00:02:17]name=ofd_packets/00012663 [00:02:17]OFD Sender: To server: pG, [00:02:17]CommunicateWithHost lk.salyk.kg:30040 [00:02:17]ConnectInit lk.salyk.kg [00:02:17]written 0, free lines is 4095 [00:02:17]Connected sock=10 [00:02:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 26 01 00 00 5E D6 1E 01 97 B6 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 08 A9 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 77 31 00 00 35 04 06 00 B7 AD 85 10 4F 38 FA AB 07 F5 B3 B5 CC EB [00:02:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 7F 4E 47 00 2C 98 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 77 31 00 00 F4 03 04 00 89 51 25 66 B6 04 01 00 00 6D A7 F7 53 C8 9A 3B 63 [00:02:17]CommunicateWithHost err = 0 [00:02:17]CheckOFDResponse [00:02:17]1017 (14) - 77093643461234 [00:02:17]1041 (16) - 0000000000965685 [00:02:17]1040 (4) - 12663 [00:02:17]1012 (4) - 21.04.2024 17:48 [00:02:17]1206 (1) - 0 [00:02:17]OFD Sender: Remove packet 12663 [00:02:17]ProducePacketName [00:02:17]name=ofd_packets/00012663 [00:02:17]NVStorageDeleteData [00:02:17]Write to MH i2c: 01 00 00 2F 0B 3A [00:02:17]Write i2c OK [00:02:17]MH_I2C_Read... [00:02:17]Read from MH i2c: 01 [00:02:17]MH_I2C_Read... [00:02:17]Read from MH i2c: 01 07 00 [00:02:17]MH_I2C_Read... [00:02:17]Read from MH i2c: 01 07 00 2F 0B 00 00 00 00 00 23 0D 71 [00:02:17]RasterBufferAndPrint [00:02:17]line [00:02:17]line [00:02:17]line [00:02:17]line [00:02:17]line [00:02:17]written 0, free lines is 3379 [00:02:17]MH_Cut [00:02:17]Write to MH i2c: D1 01 00 36 0B 01 13 [00:02:17]Write i2c OK [00:02:17]MH_I2C_Read... [00:02:17]Read from MH i2c: D1 [00:02:17]MH_I2C_Read... [00:02:17]Read from MH i2c: D1 01 00 [00:02:17]MH_I2C_Read... [00:02:17]Read from MH i2c: D1 01 00 36 0B 00 12 [00:02:17]Write to MH i2c: 01 00 00 37 0B 42 [00:02:17]Write i2c OK [00:02:17]MH_I2C_Read... [00:02:18]OFD Sender: No OFD packet to send [00:02:18]*** Cut start [00:02:18]*** Partial cut [00:02:18]*** CUTSNS_PIN = 1 [00:02:18]*** CUTSNS_PIN = 0 [00:02:18]*** Brake cut motor [00:02:19]Read from MH i2c: 01 [00:02:19]MH_I2C_Read... [00:02:19]*** Stop cut motor [00:02:19]*** Cut end [00:02:19]Read from MH i2c: 01 07 00 [00:02:19]MH_I2C_Read... [00:02:19]Read from MH i2c: 01 07 00 37 0B 00 00 00 00 00 FF 0F 57 [00:02:19]process_action close_receipt done [00:02:19]requested_data is exist [00:02:19]produce_requested_data [00:02:19]requested_item fm.sn is exist - process it [00:02:19]wFMCommunicate request_size=4 [00:02:19]MH_SAM_APDU [00:02:19]CAPDU: 80 11 00 00 [00:02:19]Write to MH i2c: E2 08 00 38 0B 80 11 00 00 00 00 00 00 BD [00:02:19]Write i2c OK [00:02:19]MH_I2C_Read... [00:02:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:02:19]Read from MH i2c: E2 [00:02:19]MH_I2C_Read... [00:02:19]Read from MH i2c: E2 17 00 [00:02:19]MH_I2C_Read... [00:02:19]Read from MH i2c: E2 17 00 38 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 17 [00:02:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [00:02:19]wFMCommunicate OK [00:02:19]requested_item fd.num is exist - process it [00:02:19]SAM_PROTO_GetFieldsCounters [00:02:19]wFMCommunicate request_size=4 [00:02:19]MH_SAM_APDU [00:02:19]CAPDU: 80 13 00 00 [00:02:19]Write to MH i2c: E2 08 00 39 0B 80 13 00 00 00 00 00 00 C0 [00:02:19]Write i2c OK [00:02:19]MH_I2C_Read... [00:02:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:02:19]Read from MH i2c: E2 [00:02:19]MH_I2C_Read... [00:02:19]Read from MH i2c: E2 62 00 [00:02:19]MH_I2C_Read... [00:02:19]Read from MH i2c: E2 62 00 39 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 77 31 00 00 0E 04 04 00 19 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 86 [00:02:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 77 31 00 00 0E 04 04 00 19 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 [00:02:19]wFMCommunicate OK [00:02:19]SAM_PROTO_GetFieldsCounters done [00:02:19]requested_item shift.num is exist - process it [00:02:19]requested_item shift.opened is exist - process it [00:02:19]req_shift_opened [00:02:19]FM_GetShiftState [00:02:19]SAM_PROTO_GetShiftState [00:02:19]wFMCommunicate request_size=4 [00:02:19]MH_SAM_APDU [00:02:19]CAPDU: 80 13 01 00 [00:02:19]Write to MH i2c: E2 08 00 3A 0B 80 13 01 00 00 00 00 00 C2 [00:02:19]Write i2c OK [00:02:19]MH_I2C_Read... [00:02:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:02:19]Read from MH i2c: E2 [00:02:19]MH_I2C_Read... [00:02:19]Read from MH i2c: E2 0E 00 [00:02:19]MH_I2C_Read... [00:02:19]Read from MH i2c: E2 0E 00 3A 0B 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 1A [00:02:19]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [00:02:19]wFMCommunicate OK [00:02:19]SAM_PROTO_GetShiftState done [00:02:19]FM_GetShiftState done [00:02:19]req_shift_opened done [00:02:19]requested_item shift.open_date is exist - process it [00:02:19]req_shift_open_date [00:02:19]req_shift_open_date done [00:02:19]produce_requested_data done [00:02:19]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12663,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [00:02:19]process_action_free close_receipt [00:02:19]json_value_free [00:02:19]json_value_free done [00:02:19]process_json_proto returns [00:02:19]Send response to host [00:02:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12663,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [00:02:19]free response buf [00:02:19]execute_script done [00:02:19]execute_script returns [00:02:19]free content buf [00:02:19]Sock 7.Close socket [00:02:19]Sock 7.Thread stoped [00:02:21]accept exits with 9 [00:02:21]New connection [00:02:21]New thread 3066957156 created [00:02:21]Thread 3066813796 joined [00:02:21]Waiting for new connection... [00:02:21] Sock 9.Parse request [00:02:21]Sock 9.Check first char [00:02:21]Sock 9.First char is OK [00:02:21]request: POST /json_proto HTTP/1.0 [00:02:21]Method: POST [00:02:21]URL: /json_proto [00:02:21]Method is POST - this is cgi request [00:02:21]url: /json_proto [00:02:21]query_string will be loaded in cgi processing [00:02:21]execute_cgi json_proto POST (null) [00:02:21]execute_cgi path=json_proto method=POST [00:02:21]POST find Content-Length [00:02:21]Host: 172.17.62.6:8080 [00:02:21]Content-Length: 625 [00:02:21]Content-Type: application/json [00:02:21] [00:02:21]POST finish read [00:02:21]Found Content-Length = 625 [00:02:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32936", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:02:21]execute_script... [00:02:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32936", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:02:21]POST & json_proto [00:02:21]process_json_proto [00:02:21]json parsed OK: [00:02:21]protocol is kg_v1.0 [00:02:21]action value=close_receipt [00:02:21]process_action close_receipt [00:02:21]cmd_close_receipt [00:02:21]MH_GetDate [00:02:21]Write to MH i2c: F0 00 00 3B 0B 35 [00:02:21]Write i2c OK [00:02:21]MH_I2C_Read... [00:02:21]Read from MH i2c: F0 [00:02:21]MH_I2C_Read... [00:02:21]Read from MH i2c: F0 09 00 [00:02:21]MH_I2C_Read... [00:02:21]Read from MH i2c: F0 09 00 3B 0B 00 0E A9 25 66 61 69 D2 64 80 [00:02:21]GetLastDocTimeStamp 1713744136 [00:02:21]current date 1713744142 [00:02:21]FM_GetShiftState [00:02:21]SAM_PROTO_GetShiftState [00:02:21]wFMCommunicate request_size=4 [00:02:21]MH_SAM_APDU [00:02:21]CAPDU: 80 13 01 00 [00:02:21]Write to MH i2c: E2 08 00 3C 0B 80 13 01 00 00 00 00 00 C4 [00:02:21]Write i2c OK [00:02:21]MH_I2C_Read... [00:02:21]Read from MH i2c: E2 [00:02:21]MH_I2C_Read... [00:02:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:02:21]Read from MH i2c: E2 0E 00 [00:02:21]MH_I2C_Read... [00:02:21]Read from MH i2c: E2 0E 00 3C 0B 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 1C [00:02:21]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [00:02:21]wFMCommunicate OK [00:02:21]SAM_PROTO_GetShiftState done [00:02:21]FM_GetShiftState done [00:02:21]opened in 1713658727 [00:02:21]opened+sec_in_day 1713745127 [00:02:21]quantity*price = 10500 [00:02:21]sum+1 = 10501 [00:02:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 105.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 76 22.04.2024 00:02 Смена: 281 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12664 ФПД: 256842312052651 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240422T000223&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12664&fm=256842312052651&tin=02508201610067®Number=0000000000100748&sum=10500 0 [00:02:22]StoreToDocumentArchive [00:02:22]shift 281 fd 12664 [00:02:22]save to /storage/0281/doc_00012664 [00:02:22]save last doc name /storage/0281/doc_00012664 to /storage/kkm_last_doc_name [00:02:22]save OK [00:02:22]Clear old archive folders... [00:02:22]ProcessDocumentItem done err = 0, tmpTLVsize=274 [00:02:22]tlvbuf is 01675C70 [00:02:22]SAM_PROTO_ClearQueue [00:02:22]wFMCommunicate request_size=4 [00:02:22]MH_SAM_APDU [00:02:22]CAPDU: 80 09 00 00 [00:02:22]Write to MH i2c: E2 08 00 49 0B 80 09 00 00 00 00 00 00 C6 [00:02:22]Write i2c OK [00:02:22]MH_I2C_Read... [00:02:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:02:22]Read from MH i2c: E2 [00:02:22]MH_I2C_Read... [00:02:22]Read from MH i2c: E2 03 00 [00:02:22]MH_I2C_Read... [00:02:22]Read from MH i2c: E2 03 00 49 0B 00 90 00 C8 [00:02:22]RAPDU: 90 00 [00:02:22]wFMCommunicate OK [00:02:22]SAM_PROTO_ClearQueue done [00:02:22]KKMCreateOFDPacket [00:02:22]OFDProtocolAddRootSTLVToBuf [00:02:22]FM_MakeSignedData [00:02:22]FM_MakeSignedData [00:02:22]SAM_PROTO_SignData [00:02:22]wFMCommunicate request_size=4 [00:02:22]MH_SAM_APDU [00:02:22]CAPDU: 80 0D 01 02 [00:02:22]Write to MH i2c: E2 08 00 4A 0B 80 0D 01 02 00 00 00 00 CE [00:02:22]Write i2c OK [00:02:22]MH_I2C_Read... [00:02:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:02:22]Read from MH i2c: E2 [00:02:22]MH_I2C_Read... [00:02:22]Read from MH i2c: E2 03 00 [00:02:22]MH_I2C_Read... [00:02:22]Read from MH i2c: E2 03 00 4A 0B 00 90 00 C9 [00:02:22]RAPDU: 90 00 [00:02:22]wFMCommunicate OK [00:02:22]wFMCommunicate request_size=255 [00:02:22]MH_SAM_APDU [00:02:22]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 0F A9 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 [00:02:22]Write to MH i2c: E2 02 01 4B 0B 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 0F A9 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 00 00 EF [00:02:22]Write i2c OK [00:02:22]MH_I2C_Read... [00:02:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:02:22]Read from MH i2c: E2 [00:02:22]MH_I2C_Read... [00:02:22]Read from MH i2c: E2 03 00 [00:02:22]MH_I2C_Read... [00:02:22]Read from MH i2c: E2 03 00 4B 0B 00 90 00 CA [00:02:22]RAPDU: 90 00 [00:02:22]wFMCommunicate OK [00:02:22]wFMCommunicate request_size=33 [00:02:22]MH_SAM_APDU [00:02:22]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 36 38 35 10 04 04 00 78 31 00 00 35 04 06 00 E9 98 C2 C5 EF AB [00:02:22]Write to MH i2c: E2 24 00 4C 0B 80 0D 02 02 1C 00 30 30 30 30 39 36 35 36 38 35 10 04 04 00 78 31 00 00 35 04 06 00 E9 98 C2 C5 EF AB 00 00 B2 [00:02:22]Write i2c OK [00:02:22]MH_I2C_Read... [00:02:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:02:23]Read from MH i2c: E2 [00:02:23]MH_I2C_Read... [00:02:23]Read from MH i2c: E2 03 00 [00:02:23]MH_I2C_Read... [00:02:23]Read from MH i2c: E2 03 00 4C 0B 00 90 00 CB [00:02:23]RAPDU: 90 00 [00:02:23]wFMCommunicate OK [00:02:23]wFMCommunicate request_size=4 [00:02:23]MH_SAM_APDU [00:02:23]CAPDU: 80 0D 03 02 [00:02:23]Write to MH i2c: E2 08 00 4D 0B 80 0D 03 02 00 00 00 00 D3 [00:02:23]Write i2c OK [00:02:23]MH_I2C_Read... [00:02:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:02:23]Read from MH i2c: E2 [00:02:23]MH_I2C_Read... [00:02:23]Read from MH i2c: E2 0B 00 [00:02:23]MH_I2C_Read... [00:02:23]Read from MH i2c: E2 0B 00 4D 0B 00 C4 39 B1 B7 09 B4 55 06 90 00 51 [00:02:23]RAPDU: C4 39 B1 B7 09 B4 55 06 90 00 [00:02:23]wFMCommunicate OK [00:02:23]SAM_PROTO_SignData done [00:02:23]FM_MakeSignedData done [00:02:23]CreateOFDProtocolMessage [00:02:23]wFMCommunicate request_size=4 [00:02:23]MH_SAM_APDU [00:02:23]CAPDU: 80 11 00 00 [00:02:23]Write to MH i2c: E2 08 00 4E 0B 80 11 00 00 00 00 00 00 D3 [00:02:23]Write i2c OK [00:02:23]MH_I2C_Read... [00:02:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:02:23]Read from MH i2c: E2 [00:02:23]MH_I2C_Read... [00:02:23]Read from MH i2c: E2 17 00 [00:02:23]MH_I2C_Read... [00:02:23]Read from MH i2c: E2 17 00 4E 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 2D [00:02:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [00:02:23]wFMCommunicate OK [00:02:23]CreateOFDProtocolMessage done [00:02:23]OFDSenderStorePacket 12664 [00:02:23]StoreOFDPacket docnum=12664 [00:02:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 26 01 00 00 E4 39 1E 01 1A 0A 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 0F A9 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 78 31 00 00 35 04 06 00 E9 98 C2 C5 EF AB C4 39 B1 B7 09 B4 55 06 [00:02:23]CheckFolder [00:02:23]dirname=/storage/ofd_packets [00:02:23]CheckFolder done [00:02:23]ProducePacketName [00:02:23]name=ofd_packets/00012664 [00:02:23]NVStorageSaveData ofd_packets/00012664 [00:02:23]File name is /storage/ofd_packets/00012664 [00:02:23]Write 324 bytes [00:02:23]NVStorageSaveData done [00:02:23]OFDSenderStorePacket done [00:02:23]KKMCreateOFDPacket done [00:02:23]NVStorageSaveData kkm_last_timestamp [00:02:23]File name is /storage/kkm_last_timestamp [00:02:23]Write 4 bytes [00:02:23]NVStorageSaveData done [00:02:23]ExternCall_PrintAddStr [00:02:23]wPrintStart [00:02:23]Write to MH i2c: 01 00 00 4F 0B 5A [00:02:23]Write i2c OK [00:02:23]MH_I2C_Read... [00:02:23]Read from MH i2c: 01 [00:02:23]MH_I2C_Read... [00:02:23]Read from MH i2c: 01 07 00 [00:02:23]MH_I2C_Read... [00:02:23]Read from MH i2c: 01 07 00 4F 0B 00 00 00 00 00 FF 0F 6F [00:02:23]RasterBufferAndPrint [00:02:23]line Счет N : (3)32936 [00:02:23]line ИНН: 02508201610067 [00:02:23]line Контрольно-Кассовый Чек [00:02:23]line ПРОДАЖА [00:02:23]line Товар: 2000036240010 [00:02:23]line Кофе Латте (GABB TRADE) [00:02:23]line 1.000 * 105.00 [00:02:23]line = 105.00 [00:02:23]line НДС 12% НСП 1% [00:02:23]line > о реализуемом товаре [00:02:23]line ИТОГО: 105.00 [00:02:23]line НСП 1% : 0.93 [00:02:23]line НДС 12% : 11.15 [00:02:23]line Наличными: 105.00 [00:02:23]line Безнал.: 0.00 [00:02:23]line Место: АЗС № 106 "Партнер Нефть" [00:02:23]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [00:02:23]line СНО: Общий режим [00:02:23]line Чек 76 22.04.2024 00:02 [00:02:23]line Смена: 281 ФФД: 1.0 [00:02:23]line ЗНМ: 0300000004 [00:02:23]line РНМ: 0000000000100748 [00:02:23]line Версия ККМ: 001 [00:02:23]line ФМ: 0000000000965685 [00:02:23]line ФД: 12664 [00:02:23]line ФПД: 256842312052651 [00:02:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240422T000223&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12664&fm=256842312052651&tin=02508201610067®Number=0000000000100748&sum=10500 [00:02:23]line 0 [00:02:23]written 0, free lines is 4095 [00:02:23]OFD Sender: Processing packet 12664 [packets to send 7, broken 6] [00:02:23]ProducePacketName [00:02:23]name=ofd_packets/00012664 [00:02:23]OFD Sender: To server: pG, [00:02:23]CommunicateWithHost lk.salyk.kg:30040 [00:02:23]ConnectInit lk.salyk.kg [00:02:23]Connected sock=10 [00:02:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 26 01 00 00 E4 39 1E 01 1A 0A 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 0F A9 25 66 0E 04 04 00 19 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 78 31 00 00 35 04 06 00 E9 98 C2 C5 EF AB C4 39 B1 B7 09 B4 55 06 [00:02:23]Write to MH i2c: 01 00 00 76 0B 81 [00:02:23]Write i2c OK [00:02:23]MH_I2C_Read... [00:02:23]Read from MH i2c: 01 [00:02:23]MH_I2C_Read... [00:02:23]Read from MH i2c: 01 07 00 [00:02:23]MH_I2C_Read... [00:02:23]Read from MH i2c: 01 07 00 76 0B 00 00 00 00 00 21 0D B6 [00:02:23]RasterBufferAndPrint [00:02:23]line [00:02:23]line [00:02:23]line [00:02:23]line [00:02:23]line [00:02:23]written 0, free lines is 3383 [00:02:23]MH_Cut [00:02:23]Write to MH i2c: D1 01 00 7D 0B 01 5A [00:02:23]Write i2c OK [00:02:23]MH_I2C_Read... [00:02:23]Read from MH i2c: D1 [00:02:23]MH_I2C_Read... [00:02:23]Read from MH i2c: D1 01 00 [00:02:23]MH_I2C_Read... [00:02:23]Read from MH i2c: D1 01 00 7D 0B 00 59 [00:02:23]Write to MH i2c: 01 00 00 7E 0B 89 [00:02:23]Write i2c OK [00:02:23]MH_I2C_Read... [00:02:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 9E DE 47 00 BA 20 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 78 31 00 00 F4 03 04 00 8E 51 25 66 B6 04 01 00 00 23 E8 BD 90 BD 00 D9 53 [00:02:23]CommunicateWithHost err = 0 [00:02:23]CheckOFDResponse [00:02:23]1017 (14) - 77093643461234 [00:02:23]1041 (16) - 0000000000965685 [00:02:23]1040 (4) - 12664 [00:02:23]1012 (4) - 21.04.2024 17:49 [00:02:23]1206 (1) - 0 [00:02:23]OFD Sender: Remove packet 12664 [00:02:23]ProducePacketName [00:02:23]name=ofd_packets/00012664 [00:02:23]NVStorageDeleteData [00:02:24]OFD Sender: No OFD packet to send [00:02:24]*** Cut start [00:02:24]*** Partial cut [00:02:24]*** CUTSNS_PIN = 1 [00:02:24]*** CUTSNS_PIN = 0 [00:02:24]*** Brake cut motor [00:02:24]Read from MH i2c: 01 [00:02:24]MH_I2C_Read... [00:02:24]*** Stop cut motor [00:02:24]*** Cut end [00:02:24]Read from MH i2c: 01 07 00 [00:02:24]MH_I2C_Read... [00:02:24]Read from MH i2c: 01 07 00 7E 0B 00 00 00 00 00 FF 0F 9E [00:02:25]process_action close_receipt done [00:02:25]requested_data is exist [00:02:25]produce_requested_data [00:02:25]requested_item fm.sn is exist - process it [00:02:25]wFMCommunicate request_size=4 [00:02:25]MH_SAM_APDU [00:02:25]CAPDU: 80 11 00 00 [00:02:25]Write to MH i2c: E2 08 00 7F 0B 80 11 00 00 00 00 00 00 04 [00:02:25]Write i2c OK [00:02:25]MH_I2C_Read... [00:02:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:02:25]Read from MH i2c: E2 [00:02:25]MH_I2C_Read... [00:02:25]Read from MH i2c: E2 17 00 [00:02:25]MH_I2C_Read... [00:02:25]Read from MH i2c: E2 17 00 7F 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 5E [00:02:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [00:02:25]wFMCommunicate OK [00:02:25]requested_item fd.num is exist - process it [00:02:25]SAM_PROTO_GetFieldsCounters [00:02:25]wFMCommunicate request_size=4 [00:02:25]MH_SAM_APDU [00:02:25]CAPDU: 80 13 00 00 [00:02:25]Write to MH i2c: E2 08 00 80 0B 80 13 00 00 00 00 00 00 07 [00:02:25]Write i2c OK [00:02:25]MH_I2C_Read... [00:02:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:02:25]Read from MH i2c: E2 [00:02:25]MH_I2C_Read... [00:02:25]Read from MH i2c: E2 62 00 [00:02:25]MH_I2C_Read... [00:02:25]Read from MH i2c: E2 62 00 80 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 78 31 00 00 0E 04 04 00 19 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 D1 [00:02:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 78 31 00 00 0E 04 04 00 19 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 [00:02:25]wFMCommunicate OK [00:02:25]SAM_PROTO_GetFieldsCounters done [00:02:25]requested_item shift.num is exist - process it [00:02:25]requested_item shift.opened is exist - process it [00:02:25]req_shift_opened [00:02:25]FM_GetShiftState [00:02:25]SAM_PROTO_GetShiftState [00:02:25]wFMCommunicate request_size=4 [00:02:25]MH_SAM_APDU [00:02:25]CAPDU: 80 13 01 00 [00:02:25]Write to MH i2c: E2 08 00 81 0B 80 13 01 00 00 00 00 00 09 [00:02:25]Write i2c OK [00:02:25]MH_I2C_Read... [00:02:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:02:25]Read from MH i2c: E2 [00:02:25]MH_I2C_Read... [00:02:25]Read from MH i2c: E2 0E 00 [00:02:25]MH_I2C_Read... [00:02:25]Read from MH i2c: E2 0E 00 81 0B 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 61 [00:02:25]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [00:02:25]wFMCommunicate OK [00:02:25]SAM_PROTO_GetShiftState done [00:02:25]FM_GetShiftState done [00:02:25]req_shift_opened done [00:02:25]requested_item shift.open_date is exist - process it [00:02:25]req_shift_open_date [00:02:25]req_shift_open_date done [00:02:25]produce_requested_data done [00:02:25]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12664,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [00:02:25]process_action_free close_receipt [00:02:25]json_value_free [00:02:25]json_value_free done [00:02:25]process_json_proto returns [00:02:25]Send response to host [00:02:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12664,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [00:02:25]free response buf [00:02:25]execute_script done [00:02:25]execute_script returns [00:02:25]free content buf [00:02:25]Sock 9.Close socket [00:02:25]Sock 9.Thread stoped [00:02:29]OFD Sender: No OFD packet to send [00:02:34]OFD Sender: No OFD packet to send [00:02:39]OFD Sender: No OFD packet to send [00:02:44]OFD Sender: No OFD packet to send [00:02:49]OFD Sender: No OFD packet to send [00:02:54]OFD Sender: No OFD packet to send [00:02:59]OFD Sender: No OFD packet to send [00:03:04]OFD Sender: No OFD packet to send [00:03:09]OFD Sender: No OFD packet to send [00:03:14]OFD Sender: No OFD packet to send [00:03:19]OFD Sender: No OFD packet to send [00:03:24]OFD Sender: No OFD packet to send [00:03:29]OFD Sender: No OFD packet to send [00:03:34]OFD Sender: No OFD packet to send [00:03:39]OFD Sender: No OFD packet to send [00:03:44]OFD Sender: No OFD packet to send [00:03:49]OFD Sender: No OFD packet to send [00:03:54]OFD Sender: No OFD packet to send [00:03:59]OFD Sender: No OFD packet to send [00:04:04]OFD Sender: No OFD packet to send [00:04:09]OFD Sender: No OFD packet to send [00:04:14]OFD Sender: No OFD packet to send [00:04:19]OFD Sender: No OFD packet to send [00:04:24]OFD Sender: No OFD packet to send [00:04:29]OFD Sender: No OFD packet to send [00:04:34]OFD Sender: No OFD packet to send [00:04:39]OFD Sender: No OFD packet to send [00:04:44]OFD Sender: No OFD packet to send [00:04:48]accept exits with 7 [00:04:48]New connection [00:04:48]New thread 3066813796 created [00:04:48]Thread 3066957156 joined [00:04:48]Waiting for new connection... [00:04:48] Sock 7.Parse request [00:04:48]Sock 7.Check first char [00:04:48]Sock 7.First char is OK [00:04:48]request: POST /json_proto HTTP/1.0 [00:04:48]Method: POST [00:04:48]URL: /json_proto [00:04:48]Method is POST - this is cgi request [00:04:48]url: /json_proto [00:04:48]query_string will be loaded in cgi processing [00:04:48]execute_cgi json_proto POST (null) [00:04:48]execute_cgi path=json_proto method=POST [00:04:48]POST find Content-Length [00:04:48]Host: 172.17.62.6:8080 [00:04:48]Content-Length: 215 [00:04:48]Content-Type: application/json [00:04:48] [00:04:48]POST finish read [00:04:48]Found Content-Length = 215 [00:04:48]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:48]execute_script... [00:04:48]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:48]POST & json_proto [00:04:48]process_json_proto [00:04:48]json parsed OK: [00:04:48]protocol is kg_v1.0 [00:04:48]action value=get_value [00:04:48]process_action get_value [00:04:48]cmd_get_value [00:04:48]process_action get_value done [00:04:48]requested_data is exist [00:04:48]produce_requested_data [00:04:48]requested_item kkm.sn is exist - process it [00:04:48]requested_item kkm.ver is exist - process it [00:04:48]requested_item fm.sn is exist - process it [00:04:48]wFMCommunicate request_size=4 [00:04:48]MH_SAM_APDU [00:04:48]CAPDU: 80 11 00 00 [00:04:48]Write to MH i2c: E2 08 00 82 0B 80 11 00 00 00 00 00 00 07 [00:04:48]Write i2c OK [00:04:48]MH_I2C_Read... [00:04:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:04:48]Read from MH i2c: E2 [00:04:48]MH_I2C_Read... [00:04:48]Read from MH i2c: E2 17 00 [00:04:48]MH_I2C_Read... [00:04:48]Read from MH i2c: E2 17 00 82 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 61 [00:04:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [00:04:48]wFMCommunicate OK [00:04:48]requested_item fd.num is exist - process it [00:04:48]SAM_PROTO_GetFieldsCounters [00:04:48]wFMCommunicate request_size=4 [00:04:48]MH_SAM_APDU [00:04:48]CAPDU: 80 13 00 00 [00:04:48]Write to MH i2c: E2 08 00 83 0B 80 13 00 00 00 00 00 00 0A [00:04:48]Write i2c OK [00:04:48]MH_I2C_Read... [00:04:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:04:48]Read from MH i2c: E2 [00:04:48]MH_I2C_Read... [00:04:48]Read from MH i2c: E2 62 00 [00:04:48]MH_I2C_Read... [00:04:48]Read from MH i2c: E2 62 00 83 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 78 31 00 00 0E 04 04 00 19 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 D4 [00:04:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 78 31 00 00 0E 04 04 00 19 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 [00:04:48]wFMCommunicate OK [00:04:48]SAM_PROTO_GetFieldsCounters done [00:04:48]requested_item shift.num is exist - process it [00:04:48]requested_item shift.opened is exist - process it [00:04:48]req_shift_opened [00:04:48]FM_GetShiftState [00:04:48]SAM_PROTO_GetShiftState [00:04:48]wFMCommunicate request_size=4 [00:04:48]MH_SAM_APDU [00:04:48]CAPDU: 80 13 01 00 [00:04:48]Write to MH i2c: E2 08 00 84 0B 80 13 01 00 00 00 00 00 0C [00:04:48]Write i2c OK [00:04:48]MH_I2C_Read... [00:04:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:04:48]Read from MH i2c: E2 [00:04:48]MH_I2C_Read... [00:04:48]Read from MH i2c: E2 0E 00 [00:04:48]MH_I2C_Read... [00:04:48]Read from MH i2c: E2 0E 00 84 0B 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 64 [00:04:48]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [00:04:48]wFMCommunicate OK [00:04:48]SAM_PROTO_GetShiftState done [00:04:48]FM_GetShiftState done [00:04:48]req_shift_opened done [00:04:48]requested_item shift.open_date is exist - process it [00:04:48]req_shift_open_date [00:04:48]req_shift_open_date done [00:04:48]produce_requested_data done [00:04:48]produce_requested_data return {"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12664,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [00:04:48]process_action_free get_value [00:04:48]json_value_free [00:04:48]json_value_free done [00:04:48]process_json_proto returns [00:04:48]Send response to host [00:04:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12664,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [00:04:48]free response buf [00:04:48]execute_script done [00:04:48]execute_script returns [00:04:48]free content buf [00:04:48]Sock 7.Close socket [00:04:48]Sock 7.Thread stoped [00:04:48]accept exits with 9 [00:04:48]New connection [00:04:48]New thread 3066957156 created [00:04:48]Thread 3066813796 joined [00:04:48]Waiting for new connection... [00:04:48] Sock 9.Parse request [00:04:48]Sock 9.Check first char [00:04:48]Sock 9.First char is OK [00:04:48]request: POST /json_proto HTTP/1.0 [00:04:48]Method: POST [00:04:48]URL: /json_proto [00:04:48]Method is POST - this is cgi request [00:04:48]url: /json_proto [00:04:48]query_string will be loaded in cgi processing [00:04:48]execute_cgi json_proto POST (null) [00:04:48]execute_cgi path=json_proto method=POST [00:04:48]POST find Content-Length [00:04:48]Host: 172.17.62.6:8080 [00:04:48]Content-Length: 331 [00:04:48]Content-Type: application/json [00:04:48] [00:04:48]POST finish read [00:04:48]Found Content-Length = 331 [00:04:48]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:48]execute_script... [00:04:48]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:48]POST & json_proto [00:04:48]process_json_proto [00:04:48]json parsed OK: [00:04:48]protocol is kg_v1.0 [00:04:48]action value=get_value [00:04:48]process_action get_value [00:04:48]cmd_get_value [00:04:48]process_action get_value done [00:04:48]requested_data is exist [00:04:48]produce_requested_data [00:04:48]requested_item fm.sale.total is exist - process it [00:04:48]SAM_PROTO_GetFMData [00:04:48]wFMCommunicate request_size=4 [00:04:48]MH_SAM_APDU [00:04:48]CAPDU: 80 13 03 00 [00:04:48]Write to MH i2c: E2 08 00 85 0B 80 13 03 00 00 00 00 00 0F [00:04:48]Write i2c OK [00:04:48]MH_I2C_Read... [00:04:49]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:04:49]Read from MH i2c: E2 [00:04:49]MH_I2C_Read... [00:04:49]Read from MH i2c: E2 FD 00 [00:04:49]MH_I2C_Read... [00:04:49]Read from MH i2c: E2 FD 00 85 0B 00 C1 04 85 04 BD 04 6E 04 04 00 46 2F 00 00 69 04 A0 00 6F 04 04 00 F9 2E 00 00 B1 04 04 00 07 E8 CD 0E 70 04 04 00 46 20 C4 0C 72 04 04 00 C1 C7 09 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A6 76 92 01 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 BF 85 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 D2 86 6F 70 04 03 00 0E 70 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FD D7 0B EF 03 09 00 F6 03 90 00 15 [00:04:49]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 46 2F 00 00 69 04 A0 00 6F 04 04 00 F9 2E 00 00 B1 04 04 00 07 E8 CD 0E 70 04 04 00 46 20 C4 0C 72 04 04 00 C1 C7 09 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A6 76 92 01 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 BF 85 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 D2 86 6F 70 04 03 00 0E 70 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FD D7 0B EF 03 09 00 F6 03 90 00 [00:04:49]wFMCommunicate OK [00:04:49]wFMCommunicate request_size=4 [00:04:49]MH_SAM_APDU [00:04:49]CAPDU: 80 17 00 00 [00:04:49]Write to MH i2c: E2 08 00 86 0B 80 17 00 00 00 00 00 00 11 [00:04:49]Write i2c OK [00:04:49]MH_I2C_Read... [00:04:49]OFD Sender: No OFD packet to send [00:04:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:49]Read from MH i2c: E2 [00:04:49]MH_I2C_Read... [00:04:49]Read from MH i2c: E2 FD 00 [00:04:49]MH_I2C_Read... [00:04:49]Read from MH i2c: E2 FD 00 86 0B 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A8 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 E4 [00:04:49]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A8 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [00:04:49]wFMCommunicate OK [00:04:49]wFMCommunicate request_size=4 [00:04:49]MH_SAM_APDU [00:04:49]CAPDU: 80 17 00 00 [00:04:49]Write to MH i2c: E2 08 00 87 0B 80 17 00 00 00 00 00 00 12 [00:04:49]Write i2c OK [00:04:49]MH_I2C_Read... [00:04:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:49]Read from MH i2c: E2 [00:04:49]MH_I2C_Read... [00:04:49]Read from MH i2c: E2 FD 00 [00:04:49]MH_I2C_Read... [00:04:49]Read from MH i2c: E2 FD 00 87 0B 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 B2 [00:04:49]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [00:04:49]wFMCommunicate OK [00:04:49]wFMCommunicate request_size=4 [00:04:49]MH_SAM_APDU [00:04:49]CAPDU: 80 17 00 00 [00:04:49]Write to MH i2c: E2 08 00 88 0B 80 17 00 00 00 00 00 00 13 [00:04:49]Write i2c OK [00:04:49]MH_I2C_Read... [00:04:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:49]Read from MH i2c: E2 [00:04:49]MH_I2C_Read... [00:04:49]Read from MH i2c: E2 FD 00 [00:04:49]MH_I2C_Read... [00:04:49]Read from MH i2c: E2 FD 00 88 0B 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 98 [00:04:49]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [00:04:49]wFMCommunicate OK [00:04:49]wFMCommunicate request_size=4 [00:04:49]MH_SAM_APDU [00:04:49]CAPDU: 80 17 00 00 [00:04:49]Write to MH i2c: E2 08 00 89 0B 80 17 00 00 00 00 00 00 14 [00:04:49]Write i2c OK [00:04:49]MH_I2C_Read... [00:04:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:04:50]Read from MH i2c: E2 [00:04:50]MH_I2C_Read... [00:04:50]Read from MH i2c: E2 DE 00 [00:04:50]MH_I2C_Read... [00:04:50]Read from MH i2c: E2 DE 00 89 0B 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 F3 [00:04:50]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:04:50]wFMCommunicate OK [00:04:50]SAM_PROTO_GetFMData done [00:04:50]requested_item fm.sale_refund.total is exist - process it [00:04:50]requested_item fm.buy.total is exist - process it [00:04:50]requested_item shift.sale.total is exist - process it [00:04:50]SAM_PROTO_GetShiftData [00:04:50]wFMCommunicate request_size=4 [00:04:50]MH_SAM_APDU [00:04:50]CAPDU: 80 13 02 00 [00:04:50]Write to MH i2c: E2 08 00 8A 0B 80 13 02 00 00 00 00 00 13 [00:04:50]Write i2c OK [00:04:50]MH_I2C_Read... [00:04:50]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:04:50]Read from MH i2c: E2 [00:04:50]MH_I2C_Read... [00:04:50]Read from MH i2c: E2 FD 00 [00:04:50]MH_I2C_Read... [00:04:50]Read from MH i2c: E2 FD 00 8A 0B 00 B5 04 AA 04 B1 04 6E 04 04 00 4C 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 3C 71 11 70 04 03 00 24 A6 0D 72 04 03 00 18 CB 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 24 DA 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 78 27 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 70 17 70 04 02 00 70 17 72 04 00 00 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 41 [00:04:50]RAPDU: B5 04 AA 04 B1 04 6E 04 04 00 4C 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 3C 71 11 70 04 03 00 24 A6 0D 72 04 03 00 18 CB 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 24 DA 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 78 27 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 70 17 70 04 02 00 70 17 72 04 00 00 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 [00:04:50]wFMCommunicate OK [00:04:50]wFMCommunicate request_size=4 [00:04:50]MH_SAM_APDU [00:04:50]CAPDU: 80 17 00 00 [00:04:50]Write to MH i2c: E2 08 00 8B 0B 80 17 00 00 00 00 00 00 16 [00:04:50]Write i2c OK [00:04:50]MH_I2C_Read... [00:04:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:50]Read from MH i2c: E2 [00:04:50]MH_I2C_Read... [00:04:50]Read from MH i2c: E2 FD 00 [00:04:50]MH_I2C_Read... [00:04:50]Read from MH i2c: E2 FD 00 8B 0B 00 F6 03 01 00 01 F7 03 01 00 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 90 00 61 [00:04:50]RAPDU: F6 03 01 00 01 F7 03 01 00 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 90 00 [00:04:50]wFMCommunicate OK [00:04:50]wFMCommunicate request_size=4 [00:04:50]MH_SAM_APDU [00:04:50]CAPDU: 80 17 00 00 [00:04:50]Write to MH i2c: E2 08 00 8C 0B 80 17 00 00 00 00 00 00 17 [00:04:50]Write i2c OK [00:04:50]MH_I2C_Read... [00:04:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:51]Read from MH i2c: E2 [00:04:51]MH_I2C_Read... [00:04:51]Read from MH i2c: E2 FD 00 [00:04:51]MH_I2C_Read... [00:04:51]Read from MH i2c: E2 FD 00 8C 0B 00 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 90 00 D4 [00:04:51]RAPDU: 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 90 00 [00:04:51]wFMCommunicate OK [00:04:51]wFMCommunicate request_size=4 [00:04:51]MH_SAM_APDU [00:04:51]CAPDU: 80 17 00 00 [00:04:51]Write to MH i2c: E2 08 00 8D 0B 80 17 00 00 00 00 00 00 18 [00:04:51]Write i2c OK [00:04:51]MH_I2C_Read... [00:04:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:51]Read from MH i2c: E2 [00:04:51]MH_I2C_Read... [00:04:51]Read from MH i2c: E2 FD 00 [00:04:51]MH_I2C_Read... [00:04:51]Read from MH i2c: E2 FD 00 8D 0B 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 90 00 90 [00:04:51]RAPDU: F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 90 00 [00:04:51]wFMCommunicate OK [00:04:51]wFMCommunicate request_size=4 [00:04:51]MH_SAM_APDU [00:04:51]CAPDU: 80 17 00 00 [00:04:51]Write to MH i2c: E2 08 00 8E 0B 80 17 00 00 00 00 00 00 19 [00:04:51]Write i2c OK [00:04:51]MH_I2C_Read... [00:04:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 207! [00:04:51]Read from MH i2c: E2 [00:04:51]MH_I2C_Read... [00:04:51]Read from MH i2c: E2 D2 00 [00:04:51]MH_I2C_Read... [00:04:51]Read from MH i2c: E2 D2 00 8E 0B 00 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 FC [00:04:51]RAPDU: 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:51]wFMCommunicate OK [00:04:51]SAM_PROTO_GetShiftData done [00:04:51]requested_item shift.sale.total_cash is exist - process it [00:04:51]requested_item shift.sale_refund.total is exist - process it [00:04:51]requested_item shift.sale_refund.total_cash is exist - process it [00:04:51]requested_item shift.buy.total is exist - process it [00:04:51]requested_item shift.buy.total_cash is exist - process it [00:04:51]produce_requested_data done [00:04:51]produce_requested_data return {"fm.sale.total":2483753.03,"fm.sale_refund.total":73090.10,"fm.buy.total":0.00,"shift.sale.total":11431.00,"shift.sale.total_cash":8945.00,"shift.sale_refund.total":60.00,"shift.sale_refund.total_cash":60.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:04:51]process_action_free get_value [00:04:51]json_value_free [00:04:51]json_value_free done [00:04:51]process_json_proto returns [00:04:51]Send response to host [00:04:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2483753.03,"fm.sale_refund.total":73090.10,"fm.buy.total":0.00,"shift.sale.total":11431.00,"shift.sale.total_cash":8945.00,"shift.sale_refund.total":60.00,"shift.sale_refund.total_cash":60.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:04:51]free response buf [00:04:51]execute_script done [00:04:51]execute_script returns [00:04:51]free content buf [00:04:51]Sock 9.Close socket [00:04:51]Sock 9.Thread stoped [00:04:51]accept exits with 7 [00:04:51]New connection [00:04:51]New thread 3066813796 created [00:04:51]Thread 3066957156 joined [00:04:51]Waiting for new connection... [00:04:51] Sock 7.Parse request [00:04:51]Sock 7.Check first char [00:04:51]Sock 7.First char is OK [00:04:51]request: POST /json_proto HTTP/1.0 [00:04:51]Method: POST [00:04:51]URL: /json_proto [00:04:51]Method is POST - this is cgi request [00:04:51]url: /json_proto [00:04:51]query_string will be loaded in cgi processing [00:04:51]execute_cgi json_proto POST (null) [00:04:51]execute_cgi path=json_proto method=POST [00:04:51]POST find Content-Length [00:04:51]Host: 172.17.62.6:8080 [00:04:51]Content-Length: 331 [00:04:51]Content-Type: application/json [00:04:51] [00:04:51]POST finish read [00:04:51]Found Content-Length = 331 [00:04:51]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:51]execute_script... [00:04:51]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:51]POST & json_proto [00:04:51]process_json_proto [00:04:51]json parsed OK: [00:04:51]protocol is kg_v1.0 [00:04:51]action value=get_value [00:04:51]process_action get_value [00:04:51]cmd_get_value [00:04:51]process_action get_value done [00:04:51]requested_data is exist [00:04:51]produce_requested_data [00:04:51]requested_item fm.sale.total is exist - process it [00:04:51]SAM_PROTO_GetFMData [00:04:51]wFMCommunicate request_size=4 [00:04:51]MH_SAM_APDU [00:04:51]CAPDU: 80 13 03 00 [00:04:51]Write to MH i2c: E2 08 00 8F 0B 80 13 03 00 00 00 00 00 19 [00:04:51]Write i2c OK [00:04:51]MH_I2C_Read... [00:04:52]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:04:52]Read from MH i2c: E2 [00:04:52]MH_I2C_Read... [00:04:52]Read from MH i2c: E2 FD 00 [00:04:52]MH_I2C_Read... [00:04:52]Read from MH i2c: E2 FD 00 8F 0B 00 C1 04 85 04 BD 04 6E 04 04 00 46 2F 00 00 69 04 A0 00 6F 04 04 00 F9 2E 00 00 B1 04 04 00 07 E8 CD 0E 70 04 04 00 46 20 C4 0C 72 04 04 00 C1 C7 09 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A6 76 92 01 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 BF 85 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 D2 86 6F 70 04 03 00 0E 70 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FD D7 0B EF 03 09 00 F6 03 90 00 1F [00:04:52]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 46 2F 00 00 69 04 A0 00 6F 04 04 00 F9 2E 00 00 B1 04 04 00 07 E8 CD 0E 70 04 04 00 46 20 C4 0C 72 04 04 00 C1 C7 09 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A6 76 92 01 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 BF 85 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 D2 86 6F 70 04 03 00 0E 70 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FD D7 0B EF 03 09 00 F6 03 90 00 [00:04:52]wFMCommunicate OK [00:04:52]wFMCommunicate request_size=4 [00:04:52]MH_SAM_APDU [00:04:52]CAPDU: 80 17 00 00 [00:04:52]Write to MH i2c: E2 08 00 90 0B 80 17 00 00 00 00 00 00 1B [00:04:52]Write i2c OK [00:04:52]MH_I2C_Read... [00:04:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:52]Read from MH i2c: E2 [00:04:52]MH_I2C_Read... [00:04:52]Read from MH i2c: E2 FD 00 [00:04:52]MH_I2C_Read... [00:04:52]Read from MH i2c: E2 FD 00 90 0B 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A8 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 EE [00:04:52]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A8 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [00:04:52]wFMCommunicate OK [00:04:52]wFMCommunicate request_size=4 [00:04:52]MH_SAM_APDU [00:04:52]CAPDU: 80 17 00 00 [00:04:52]Write to MH i2c: E2 08 00 91 0B 80 17 00 00 00 00 00 00 1C [00:04:52]Write i2c OK [00:04:52]MH_I2C_Read... [00:04:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:53]Read from MH i2c: E2 [00:04:53]MH_I2C_Read... [00:04:53]Read from MH i2c: E2 FD 00 [00:04:53]MH_I2C_Read... [00:04:53]Read from MH i2c: E2 FD 00 91 0B 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 BC [00:04:53]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [00:04:53]wFMCommunicate OK [00:04:53]wFMCommunicate request_size=4 [00:04:53]MH_SAM_APDU [00:04:53]CAPDU: 80 17 00 00 [00:04:53]Write to MH i2c: E2 08 00 92 0B 80 17 00 00 00 00 00 00 1D [00:04:53]Write i2c OK [00:04:53]MH_I2C_Read... [00:04:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:53]Read from MH i2c: E2 [00:04:53]MH_I2C_Read... [00:04:53]Read from MH i2c: E2 FD 00 [00:04:53]MH_I2C_Read... [00:04:53]Read from MH i2c: E2 FD 00 92 0B 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 A2 [00:04:53]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [00:04:53]wFMCommunicate OK [00:04:53]wFMCommunicate request_size=4 [00:04:53]MH_SAM_APDU [00:04:53]CAPDU: 80 17 00 00 [00:04:53]Write to MH i2c: E2 08 00 93 0B 80 17 00 00 00 00 00 00 1E [00:04:53]Write i2c OK [00:04:53]MH_I2C_Read... [00:04:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:04:53]Read from MH i2c: E2 [00:04:53]MH_I2C_Read... [00:04:53]Read from MH i2c: E2 DE 00 [00:04:53]MH_I2C_Read... [00:04:53]Read from MH i2c: E2 DE 00 93 0B 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 FD [00:04:53]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:04:53]wFMCommunicate OK [00:04:53]SAM_PROTO_GetFMData done [00:04:53]requested_item fm.sale_refund.total is exist - process it [00:04:53]requested_item fm.buy.total is exist - process it [00:04:53]requested_item shift.sale.total is exist - process it [00:04:53]SAM_PROTO_GetShiftData [00:04:53]wFMCommunicate request_size=4 [00:04:53]MH_SAM_APDU [00:04:53]CAPDU: 80 13 02 00 [00:04:53]Write to MH i2c: E2 08 00 94 0B 80 13 02 00 00 00 00 00 1D [00:04:53]Write i2c OK [00:04:53]MH_I2C_Read... [00:04:54]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:04:54]Read from MH i2c: E2 [00:04:54]MH_I2C_Read... [00:04:54]Read from MH i2c: E2 FD 00 [00:04:54]MH_I2C_Read... [00:04:54]Read from MH i2c: E2 FD 00 94 0B 00 B5 04 AA 04 B1 04 6E 04 04 00 4C 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 3C 71 11 70 04 03 00 24 A6 0D 72 04 03 00 18 CB 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 24 DA 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 78 27 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 70 17 70 04 02 00 70 17 72 04 00 00 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 4B [00:04:54]RAPDU: B5 04 AA 04 B1 04 6E 04 04 00 4C 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 3C 71 11 70 04 03 00 24 A6 0D 72 04 03 00 18 CB 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 24 DA 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 78 27 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 70 17 70 04 02 00 70 17 72 04 00 00 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 [00:04:54]wFMCommunicate OK [00:04:54]wFMCommunicate request_size=4 [00:04:54]MH_SAM_APDU [00:04:54]CAPDU: 80 17 00 00 [00:04:54]Write to MH i2c: E2 08 00 95 0B 80 17 00 00 00 00 00 00 20 [00:04:54]Write i2c OK [00:04:54]MH_I2C_Read... [00:04:54]OFD Sender: No OFD packet to send [00:04:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:54]Read from MH i2c: E2 [00:04:54]MH_I2C_Read... [00:04:54]Read from MH i2c: E2 FD 00 [00:04:54]MH_I2C_Read... [00:04:54]Read from MH i2c: E2 FD 00 95 0B 00 F6 03 01 00 01 F7 03 01 00 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 90 00 6B [00:04:54]RAPDU: F6 03 01 00 01 F7 03 01 00 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 90 00 [00:04:54]wFMCommunicate OK [00:04:54]wFMCommunicate request_size=4 [00:04:54]MH_SAM_APDU [00:04:54]CAPDU: 80 17 00 00 [00:04:54]Write to MH i2c: E2 08 00 96 0B 80 17 00 00 00 00 00 00 21 [00:04:54]Write i2c OK [00:04:54]MH_I2C_Read... [00:04:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:55]Read from MH i2c: E2 [00:04:55]MH_I2C_Read... [00:04:55]Read from MH i2c: E2 FD 00 [00:04:55]MH_I2C_Read... [00:04:55]Read from MH i2c: E2 FD 00 96 0B 00 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 90 00 DE [00:04:55]RAPDU: 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 90 00 [00:04:55]wFMCommunicate OK [00:04:55]wFMCommunicate request_size=4 [00:04:55]MH_SAM_APDU [00:04:55]CAPDU: 80 17 00 00 [00:04:55]Write to MH i2c: E2 08 00 97 0B 80 17 00 00 00 00 00 00 22 [00:04:55]Write i2c OK [00:04:55]MH_I2C_Read... [00:04:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:55]Read from MH i2c: E2 [00:04:55]MH_I2C_Read... [00:04:55]Read from MH i2c: E2 FD 00 [00:04:55]MH_I2C_Read... [00:04:55]Read from MH i2c: E2 FD 00 97 0B 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 90 00 9A [00:04:55]RAPDU: F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 90 00 [00:04:55]wFMCommunicate OK [00:04:55]wFMCommunicate request_size=4 [00:04:55]MH_SAM_APDU [00:04:55]CAPDU: 80 17 00 00 [00:04:55]Write to MH i2c: E2 08 00 98 0B 80 17 00 00 00 00 00 00 23 [00:04:55]Write i2c OK [00:04:55]MH_I2C_Read... [00:04:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 207! [00:04:55]Read from MH i2c: E2 [00:04:55]MH_I2C_Read... [00:04:55]Read from MH i2c: E2 D2 00 [00:04:55]MH_I2C_Read... [00:04:55]Read from MH i2c: E2 D2 00 98 0B 00 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 06 [00:04:55]RAPDU: 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:55]wFMCommunicate OK [00:04:55]SAM_PROTO_GetShiftData done [00:04:55]requested_item shift.sale.total_cash is exist - process it [00:04:55]requested_item shift.sale_refund.total is exist - process it [00:04:55]requested_item shift.sale_refund.total_cash is exist - process it [00:04:55]requested_item shift.buy.total is exist - process it [00:04:55]requested_item shift.buy.total_cash is exist - process it [00:04:55]produce_requested_data done [00:04:55]produce_requested_data return {"fm.sale.total":2483753.03,"fm.sale_refund.total":73090.10,"fm.buy.total":0.00,"shift.sale.total":11431.00,"shift.sale.total_cash":8945.00,"shift.sale_refund.total":60.00,"shift.sale_refund.total_cash":60.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:04:55]process_action_free get_value [00:04:55]json_value_free [00:04:55]json_value_free done [00:04:55]process_json_proto returns [00:04:55]Send response to host [00:04:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2483753.03,"fm.sale_refund.total":73090.10,"fm.buy.total":0.00,"shift.sale.total":11431.00,"shift.sale.total_cash":8945.00,"shift.sale_refund.total":60.00,"shift.sale_refund.total_cash":60.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:04:55]free response buf [00:04:55]execute_script done [00:04:55]execute_script returns [00:04:55]free content buf [00:04:55]Sock 7.Close socket [00:04:55]Sock 7.Thread stoped [00:04:55]accept exits with 9 [00:04:55]New connection [00:04:55]New thread 3066957156 created [00:04:55]Thread 3066813796 joined [00:04:55]Waiting for new connection... [00:04:55] Sock 9.Parse request [00:04:55]Sock 9.Check first char [00:04:55]Sock 9.First char is OK [00:04:55]request: POST /json_proto HTTP/1.0 [00:04:55]Method: POST [00:04:55]URL: /json_proto [00:04:55]Method is POST - this is cgi request [00:04:55]url: /json_proto [00:04:55]query_string will be loaded in cgi processing [00:04:55]execute_cgi json_proto POST (null) [00:04:55]execute_cgi path=json_proto method=POST [00:04:55]POST find Content-Length [00:04:55]Host: 172.17.62.6:8080 [00:04:55]Content-Length: 257 [00:04:55]Content-Type: application/json [00:04:55] [00:04:55]POST finish read [00:04:55]Found Content-Length = 257 [00:04:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041B\u044B\u043C\u0430\u0440\u0435\u0432\u0430 \u0412. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:04:55]execute_script... [00:04:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041B\u044B\u043C\u0430\u0440\u0435\u0432\u0430 \u0412. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:04:55]POST & json_proto [00:04:55]process_json_proto [00:04:55]json parsed OK: [00:04:55]protocol is kg_v1.0 [00:04:55]action value=x_report [00:04:55]process_action x_report [00:04:55]cmd_x_report [00:04:55]MH_GetDate [00:04:55]Write to MH i2c: F0 00 00 99 0B 93 [00:04:55]Write i2c OK [00:04:55]MH_I2C_Read... [00:04:55]Read from MH i2c: F0 [00:04:55]MH_I2C_Read... [00:04:55]Read from MH i2c: F0 09 00 [00:04:55]MH_I2C_Read... [00:04:55]Read from MH i2c: F0 09 00 99 0B 00 A9 A9 25 66 61 69 D2 64 79 [00:04:55]GetLastDocTimeStamp 1713744143 [00:04:55]current date 1713744297 [00:04:55]FM_GetShiftState [00:04:55]SAM_PROTO_GetShiftState [00:04:55]wFMCommunicate request_size=4 [00:04:55]MH_SAM_APDU [00:04:55]CAPDU: 80 13 01 00 [00:04:55]Write to MH i2c: E2 08 00 9A 0B 80 13 01 00 00 00 00 00 22 [00:04:55]Write i2c OK [00:04:55]MH_I2C_Read... [00:04:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:04:55]Read from MH i2c: E2 [00:04:55]MH_I2C_Read... [00:04:55]Read from MH i2c: E2 0E 00 [00:04:55]MH_I2C_Read... [00:04:55]Read from MH i2c: E2 0E 00 9A 0B 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 7A [00:04:55]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [00:04:56]wFMCommunicate OK [00:04:56]SAM_PROTO_GetShiftState done [00:04:56]FM_GetShiftState done [00:04:56]KKMCreateXReportDocument [00:04:56]Load OK [00:04:56]Malloc new data [00:04:56]MH_GetDate [00:04:56]Write to MH i2c: F0 00 00 9B 0B 95 [00:04:56]Write i2c OK [00:04:56]MH_I2C_Read... [00:04:56]Read from MH i2c: F0 [00:04:56]MH_I2C_Read... [00:04:56]Read from MH i2c: F0 09 00 [00:04:56]MH_I2C_Read... [00:04:56]Read from MH i2c: F0 09 00 9B 0B 00 A9 A9 25 66 61 69 D2 64 7B [00:04:56]Malloc new data [00:04:56]Malloc new data [00:04:56]wFMCommunicate request_size=4 [00:04:56]MH_SAM_APDU [00:04:56]CAPDU: 80 11 00 00 [00:04:56]Write to MH i2c: E2 08 00 9C 0B 80 11 00 00 00 00 00 00 21 [00:04:56]Write i2c OK [00:04:56]MH_I2C_Read... [00:04:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:04:56]Read from MH i2c: E2 [00:04:56]MH_I2C_Read... [00:04:56]Read from MH i2c: E2 17 00 [00:04:56]MH_I2C_Read... [00:04:56]Read from MH i2c: E2 17 00 9C 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 7B [00:04:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [00:04:56]wFMCommunicate OK [00:04:56]SAM_PROTO_GetFieldsCounters [00:04:56]wFMCommunicate request_size=4 [00:04:56]MH_SAM_APDU [00:04:56]CAPDU: 80 13 00 00 [00:04:56]Write to MH i2c: E2 08 00 9D 0B 80 13 00 00 00 00 00 00 24 [00:04:56]Write i2c OK [00:04:56]MH_I2C_Read... [00:04:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:04:56]Read from MH i2c: E2 [00:04:56]MH_I2C_Read... [00:04:56]Read from MH i2c: E2 62 00 [00:04:56]MH_I2C_Read... [00:04:56]Read from MH i2c: E2 62 00 9D 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 78 31 00 00 0E 04 04 00 19 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 EE [00:04:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 78 31 00 00 0E 04 04 00 19 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 [00:04:56]wFMCommunicate OK [00:04:56]SAM_PROTO_GetFieldsCounters done [00:04:56]Malloc new data [00:04:56]Malloc new data [00:04:56]Malloc new data [00:04:56]KKMCreateXReportDocument OK [00:04:56]KKMSetXReportData OK [00:04:56]KKMPrepareXReportFMData [00:04:56]SAM_PROTO_GetShiftData [00:04:56]wFMCommunicate request_size=4 [00:04:56]MH_SAM_APDU [00:04:56]CAPDU: 80 13 02 00 [00:04:56]Write to MH i2c: E2 08 00 9E 0B 80 13 02 00 00 00 00 00 27 [00:04:56]Write i2c OK [00:04:56]MH_I2C_Read... [00:04:56]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:04:56]Read from MH i2c: E2 [00:04:56]MH_I2C_Read... [00:04:56]Read from MH i2c: E2 FD 00 [00:04:56]MH_I2C_Read... [00:04:56]Read from MH i2c: E2 FD 00 9E 0B 00 B5 04 AA 04 B1 04 6E 04 04 00 4C 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 3C 71 11 70 04 03 00 24 A6 0D 72 04 03 00 18 CB 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 24 DA 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 78 27 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 70 17 70 04 02 00 70 17 72 04 00 00 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 55 [00:04:56]RAPDU: B5 04 AA 04 B1 04 6E 04 04 00 4C 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 3C 71 11 70 04 03 00 24 A6 0D 72 04 03 00 18 CB 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 24 DA 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 78 27 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 70 17 70 04 02 00 70 17 72 04 00 00 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 [00:04:56]wFMCommunicate OK [00:04:56]wFMCommunicate request_size=4 [00:04:56]MH_SAM_APDU [00:04:56]CAPDU: 80 17 00 00 [00:04:56]Write to MH i2c: E2 08 00 9F 0B 80 17 00 00 00 00 00 00 2A [00:04:56]Write i2c OK [00:04:56]MH_I2C_Read... [00:04:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:57]Read from MH i2c: E2 [00:04:57]MH_I2C_Read... [00:04:57]Read from MH i2c: E2 FD 00 [00:04:57]MH_I2C_Read... [00:04:57]Read from MH i2c: E2 FD 00 9F 0B 00 F6 03 01 00 01 F7 03 01 00 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 90 00 75 [00:04:57]RAPDU: F6 03 01 00 01 F7 03 01 00 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 90 00 [00:04:57]wFMCommunicate OK [00:04:57]wFMCommunicate request_size=4 [00:04:57]MH_SAM_APDU [00:04:57]CAPDU: 80 17 00 00 [00:04:57]Write to MH i2c: E2 08 00 A0 0B 80 17 00 00 00 00 00 00 2B [00:04:57]Write i2c OK [00:04:57]MH_I2C_Read... [00:04:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:57]Read from MH i2c: E2 [00:04:57]MH_I2C_Read... [00:04:57]Read from MH i2c: E2 FD 00 [00:04:57]MH_I2C_Read... [00:04:57]Read from MH i2c: E2 FD 00 A0 0B 00 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 90 00 E8 [00:04:57]RAPDU: 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 90 00 [00:04:57]wFMCommunicate OK [00:04:57]wFMCommunicate request_size=4 [00:04:57]MH_SAM_APDU [00:04:57]CAPDU: 80 17 00 00 [00:04:57]Write to MH i2c: E2 08 00 A1 0B 80 17 00 00 00 00 00 00 2C [00:04:57]Write i2c OK [00:04:57]MH_I2C_Read... [00:04:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:58]Read from MH i2c: E2 [00:04:58]MH_I2C_Read... [00:04:58]Read from MH i2c: E2 FD 00 [00:04:58]MH_I2C_Read... [00:04:58]Read from MH i2c: E2 FD 00 A1 0B 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 90 00 A4 [00:04:58]RAPDU: F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 90 00 [00:04:58]wFMCommunicate OK [00:04:58]wFMCommunicate request_size=4 [00:04:58]MH_SAM_APDU [00:04:58]CAPDU: 80 17 00 00 [00:04:58]Write to MH i2c: E2 08 00 A2 0B 80 17 00 00 00 00 00 00 2D [00:04:58]Write i2c OK [00:04:58]MH_I2C_Read... [00:04:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 207! [00:04:58]Read from MH i2c: E2 [00:04:58]MH_I2C_Read... [00:04:58]Read from MH i2c: E2 D2 00 [00:04:58]MH_I2C_Read... [00:04:58]Read from MH i2c: E2 D2 00 A2 0B 00 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 10 [00:04:58]RAPDU: 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:58]wFMCommunicate OK [00:04:58]SAM_PROTO_GetShiftData done [00:04:58]1194 (1201) - счетчики итогов смены [00:04:58] 1134 (4) - 76 - количество чеков со всеми признаками расчетов [00:04:58] 1129 (155) - счетчики операций «приход» [00:04:58] 1135 (4) - 75 - количество чеков по признаку расчетов [00:04:58] 1201 (3) - 11431.00 - общая итоговая сумма в чеках [00:04:58] 1136 (3) - 8945.00 - итоговая сумма в чеках наличными [00:04:58] 1138 (3) - 2486.00 - итоговая сумма в чеках безналичными [00:04:58] 1024 (122) - суммы налогов [00:04:58] 1006 (9) - суммы НДС [00:04:58] 1010 (1) - 0% - код ставки НДС [00:04:58] 1011 (0) - 0.00 - сумма НДС по ставке [00:04:58] 1006 (12) - суммы НДС [00:04:58] 1010 (1) - 12% - код ставки НДС [00:04:58] 1011 (3) - 1213.80 - сумма НДС по ставке [00:04:58] 1007 (9) - суммы НСП [00:04:58] 1014 (1) - 0% - код ставки НСП [00:04:58] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:58] 1007 (11) - суммы НСП [00:04:58] 1014 (1) - 1% - код ставки НСП [00:04:58] 1015 (2) - 101.04 - сумма НСП по ставке [00:04:58] 1007 (9) - суммы НСП [00:04:58] 1014 (1) - 2% - код ставки НСП [00:04:58] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:58] 1007 (9) - суммы НСП [00:04:58] 1014 (1) - 3% - код ставки НСП [00:04:58] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:58] 1007 (9) - суммы НСП [00:04:58] 1014 (1) - 5% - код ставки НСП [00:04:58] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:58] 1007 (9) - суммы НСП [00:04:58] 1014 (1) - 0,50% - код ставки НСП [00:04:58] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:58] 1007 (9) - суммы НСП [00:04:58] 1014 (1) - 1,50% - код ставки НСП [00:04:58] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:58] 1130 (148) - счетчики операций «возврат прихода» [00:04:58] 1135 (4) - 1 - количество чеков по признаку расчетов [00:04:58] 1201 (2) - 60.00 - общая итоговая сумма в чеках [00:04:58] 1136 (2) - 60.00 - итоговая сумма в чеках наличными [00:04:58] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:04:58] 1024 (120) - суммы налогов [00:04:58] 1006 (9) - суммы НДС [00:04:58] 1010 (1) - 0% - код ставки НДС [00:04:58] 1011 (0) - 0.00 - сумма НДС по ставке [00:04:58] 1006 (11) - суммы НДС [00:04:58] 1010 (1) - 12% - код ставки НДС [00:04:58] 1011 (2) - 6.37 - сумма НДС по ставке [00:04:58] 1007 (9) - суммы НСП [00:04:58] 1014 (1) - 0% - код ставки НСП [00:04:58] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:58] 1007 (10) - суммы НСП [00:04:58] 1014 (1) - 1% - код ставки НСП [00:04:58] 1015 (1) - 0.53 - сумма НСП по ставке [00:04:58] 1007 (9) - суммы НСП [00:04:58] 1014 (1) - 2% - код ставки НСП [00:04:58] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:58] 1007 (9) - суммы НСП [00:04:58] 1014 (1) - 3% - код ставки НСП [00:04:58] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:58] 1007 (9) - суммы НСП [00:04:58] 1014 (1) - 5% - код ставки НСП [00:04:58] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:58] 1007 (9) - суммы НСП [00:04:58] 1014 (1) - 0,50% - код ставки НСП [00:04:58] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:58] 1007 (9) - суммы НСП [00:04:58] 1014 (1) - 1,50% - код ставки НСП [00:04:58] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:58] 1131 (141) - счетчики операций «расход» [00:04:58] 1135 (4) - 0 - количество чеков по признаку расчетов [00:04:58] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:04:58] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:04:58] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:04:58] 1024 (117) - суммы налогов [00:04:58] 1006 (9) - суммы НДС [00:04:58] 1010 (1) - 0% - код ставки НДС [00:04:58] 1011 (0) - 0.00 - сумма НДС по ставке [00:04:58] 1006 (9) - суммы НДС [00:04:58] 1010 (1) - 12% - код ставки НДС [00:04:58] 1011 (0) - 0.00 - сумма НДС по ставке [00:04:58] 1007 (9) - суммы НСП [00:04:58] 1014 (1) - 0% - код ставки НСП [00:04:58] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:58] 1007 (9) - суммы НСП [00:04:58] 1014 (1) - 1% - код ставки НСП [00:04:58] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:58] 1007 (9) - суммы НСП [00:04:58] 1014 (1) - 2% - код ставки НСП [00:04:58] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:58] 1007 (9) - суммы НСП [00:04:58] 1014 (1) - 3% - код ставки НСП [00:04:58] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:58] 1007 (9) - суммы НСП [00:04:58] 1014 (1) - 5% - код ставки НСП [00:04:58] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:58] 1007 (9) - суммы НСП [00:04:58] 1014 (1) - 0,50% - код ставки НСП [00:04:58] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:58] 1007 (9) - суммы НСП [00:04:58] 1014 (1) - 1,50% - код ставки НСП [00:04:58] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:58] 1132 (141) - счетчики операций «возврат расхода» [00:04:58] 1135 (4) - 0 - количество чеков по признаку расчетов [00:04:58] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:04:58] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:04:58] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:04:58] 1024 (117) - суммы налогов [00:04:58] 1006 (9) - суммы НДС [00:04:58] 1010 (1) - 0% - код ставки НДС [00:04:58] 1011 (0) - 0.00 - сумма НДС по ставке [00:04:58] 1006 (9) - суммы НДС [00:04:58] 1010 (1) - 12% - код ставки НДС [00:04:58] 1011 (0) - 0.00 - сумма НДС по ставке [00:04:58] 1007 (9) - суммы НСП [00:04:58] 1014 (1) - 0% - код ставки НСП [00:04:58] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:58] 1007 (9) - суммы НСП [00:04:58] 1014 (1) - 1% - код ставки НСП [00:04:58] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:58] 1007 (9) - суммы НСП [00:04:58] 1014 (1) - 2% - код ставки НСП [00:04:58] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:58] 1007 (9) - суммы НСП [00:04:58] 1014 (1) - 3% - код ставки НСП [00:04:58] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:58] 1007 (9) - суммы НСП [00:04:58] 1014 (1) - 5% - код ставки НСП [00:04:58] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:59] 1007 (9) - суммы НСП [00:04:59] 1014 (1) - 0,50% - код ставки НСП [00:04:59] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:59] 1007 (9) - суммы НСП [00:04:59] 1014 (1) - 1,50% - код ставки НСП [00:04:59] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:59] 1133 (588) - - счетчики коррекции - не используются [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1194 (04AA) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1134 (046E) [00:04:59]Malloc new data [00:04:59]Processing tag 1129 (0469) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1135 (046F) [00:04:59]Malloc new data [00:04:59]Processing tag 1201 (04B1) [00:04:59]Malloc new data [00:04:59]Processing tag 1136 (0470) [00:04:59]Malloc new data [00:04:59]Processing tag 1138 (0472) [00:04:59]Malloc new data [00:04:59]Processing tag 1024 (0400) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1006 (03EE) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1010 (03F2) [00:04:59]Malloc new data [00:04:59]Processing tag 1011 (03F3) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Processing tag 1006 (03EE) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1010 (03F2) [00:04:59]Malloc new data [00:04:59]Processing tag 1011 (03F3) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Processing tag 1007 (03EF) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1014 (03F6) [00:04:59]Malloc new data [00:04:59]Processing tag 1015 (03F7) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Processing tag 1007 (03EF) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1014 (03F6) [00:04:59]Malloc new data [00:04:59]Processing tag 1015 (03F7) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Processing tag 1007 (03EF) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1014 (03F6) [00:04:59]Malloc new data [00:04:59]Processing tag 1015 (03F7) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Processing tag 1007 (03EF) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1014 (03F6) [00:04:59]Malloc new data [00:04:59]Processing tag 1015 (03F7) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Processing tag 1007 (03EF) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1014 (03F6) [00:04:59]Malloc new data [00:04:59]Processing tag 1015 (03F7) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Processing tag 1007 (03EF) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1014 (03F6) [00:04:59]Malloc new data [00:04:59]Processing tag 1015 (03F7) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Processing tag 1007 (03EF) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1014 (03F6) [00:04:59]Malloc new data [00:04:59]Processing tag 1015 (03F7) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]SetTLVBufToDocument err=0 [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Processing tag 1130 (046A) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1135 (046F) [00:04:59]Malloc new data [00:04:59]Processing tag 1201 (04B1) [00:04:59]Malloc new data [00:04:59]Processing tag 1136 (0470) [00:04:59]Malloc new data [00:04:59]Processing tag 1138 (0472) [00:04:59]Malloc new data [00:04:59]Processing tag 1024 (0400) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1006 (03EE) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1010 (03F2) [00:04:59]Malloc new data [00:04:59]Processing tag 1011 (03F3) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Processing tag 1006 (03EE) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1010 (03F2) [00:04:59]Malloc new data [00:04:59]Processing tag 1011 (03F3) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Processing tag 1007 (03EF) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1014 (03F6) [00:04:59]Malloc new data [00:04:59]Processing tag 1015 (03F7) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Processing tag 1007 (03EF) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1014 (03F6) [00:04:59]Malloc new data [00:04:59]Processing tag 1015 (03F7) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Processing tag 1007 (03EF) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1014 (03F6) [00:04:59]Malloc new data [00:04:59]Processing tag 1015 (03F7) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Processing tag 1007 (03EF) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1014 (03F6) [00:04:59]Malloc new data [00:04:59]Processing tag 1015 (03F7) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Processing tag 1007 (03EF) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1014 (03F6) [00:04:59]Malloc new data [00:04:59]Processing tag 1015 (03F7) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Processing tag 1007 (03EF) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1014 (03F6) [00:04:59]Malloc new data [00:04:59]Processing tag 1015 (03F7) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Processing tag 1007 (03EF) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1014 (03F6) [00:04:59]Malloc new data [00:04:59]Processing tag 1015 (03F7) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]SetTLVBufToDocument err=0 [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Processing tag 1131 (046B) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1135 (046F) [00:04:59]Malloc new data [00:04:59]Processing tag 1201 (04B1) [00:04:59]Malloc new data [00:04:59]Processing tag 1136 (0470) [00:04:59]Malloc new data [00:04:59]Processing tag 1138 (0472) [00:04:59]Malloc new data [00:04:59]Processing tag 1024 (0400) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1006 (03EE) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1010 (03F2) [00:04:59]Malloc new data [00:04:59]Processing tag 1011 (03F3) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Processing tag 1006 (03EE) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1010 (03F2) [00:04:59]Malloc new data [00:04:59]Processing tag 1011 (03F3) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Processing tag 1007 (03EF) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1014 (03F6) [00:04:59]Malloc new data [00:04:59]Processing tag 1015 (03F7) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Processing tag 1007 (03EF) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1014 (03F6) [00:04:59]Malloc new data [00:04:59]Processing tag 1015 (03F7) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Processing tag 1007 (03EF) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1014 (03F6) [00:04:59]Malloc new data [00:04:59]Processing tag 1015 (03F7) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Processing tag 1007 (03EF) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1014 (03F6) [00:04:59]Malloc new data [00:04:59]Processing tag 1015 (03F7) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Processing tag 1007 (03EF) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1014 (03F6) [00:04:59]Malloc new data [00:04:59]Processing tag 1015 (03F7) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]OFD Sender: No OFD packet to send [00:04:59]Processing tag 1007 (03EF) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1014 (03F6) [00:04:59]Malloc new data [00:04:59]Processing tag 1015 (03F7) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Processing tag 1007 (03EF) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1014 (03F6) [00:04:59]Malloc new data [00:04:59]Processing tag 1015 (03F7) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]SetTLVBufToDocument err=0 [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Processing tag 1132 (046C) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1135 (046F) [00:04:59]Malloc new data [00:04:59]Processing tag 1201 (04B1) [00:04:59]Malloc new data [00:04:59]Processing tag 1136 (0470) [00:04:59]Malloc new data [00:04:59]Processing tag 1138 (0472) [00:04:59]Malloc new data [00:04:59]Processing tag 1024 (0400) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1006 (03EE) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1010 (03F2) [00:04:59]Malloc new data [00:04:59]Processing tag 1011 (03F3) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Processing tag 1006 (03EE) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1010 (03F2) [00:04:59]Malloc new data [00:04:59]Processing tag 1011 (03F3) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Processing tag 1007 (03EF) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1014 (03F6) [00:04:59]Malloc new data [00:04:59]Processing tag 1015 (03F7) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Processing tag 1007 (03EF) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1014 (03F6) [00:04:59]Malloc new data [00:04:59]Processing tag 1015 (03F7) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Processing tag 1007 (03EF) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1014 (03F6) [00:04:59]Malloc new data [00:04:59]Processing tag 1015 (03F7) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Processing tag 1007 (03EF) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1014 (03F6) [00:04:59]Malloc new data [00:04:59]Processing tag 1015 (03F7) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Processing tag 1007 (03EF) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1014 (03F6) [00:04:59]Malloc new data [00:04:59]Processing tag 1015 (03F7) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Processing tag 1007 (03EF) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1014 (03F6) [00:04:59]Malloc new data [00:04:59]Processing tag 1015 (03F7) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Processing tag 1007 (03EF) [00:04:59]Load OK [00:04:59]SetTLVBufToDocument [00:04:59]Processing tag 1014 (03F6) [00:04:59]Malloc new data [00:04:59]Processing tag 1015 (03F7) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]SetTLVBufToDocument err=0 [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Processing tag 1133 (046D) [00:04:59]Malloc new data [00:04:59]SetTLVBufToDocument err=0 [00:04:59]SetTLVBufToDocument err=0 [00:04:59]Malloc new data [00:04:59]SAM_PROTO_GetFMData [00:04:59]wFMCommunicate request_size=4 [00:04:59]MH_SAM_APDU [00:04:59]CAPDU: 80 13 03 00 [00:04:59]Write to MH i2c: E2 08 00 A3 0B 80 13 03 00 00 00 00 00 2D [00:04:59]Write i2c OK [00:04:59]MH_I2C_Read... [00:05:00]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:05:00]Read from MH i2c: E2 [00:05:00]MH_I2C_Read... [00:05:00]Read from MH i2c: E2 FD 00 [00:05:00]MH_I2C_Read... [00:05:00]Read from MH i2c: E2 FD 00 A3 0B 00 C1 04 85 04 BD 04 6E 04 04 00 46 2F 00 00 69 04 A0 00 6F 04 04 00 F9 2E 00 00 B1 04 04 00 07 E8 CD 0E 70 04 04 00 46 20 C4 0C 72 04 04 00 C1 C7 09 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A6 76 92 01 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 BF 85 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 D2 86 6F 70 04 03 00 0E 70 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FD D7 0B EF 03 09 00 F6 03 90 00 33 [00:05:00]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 46 2F 00 00 69 04 A0 00 6F 04 04 00 F9 2E 00 00 B1 04 04 00 07 E8 CD 0E 70 04 04 00 46 20 C4 0C 72 04 04 00 C1 C7 09 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A6 76 92 01 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 BF 85 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 D2 86 6F 70 04 03 00 0E 70 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FD D7 0B EF 03 09 00 F6 03 90 00 [00:05:00]wFMCommunicate OK [00:05:00]wFMCommunicate request_size=4 [00:05:00]MH_SAM_APDU [00:05:00]CAPDU: 80 17 00 00 [00:05:00]Write to MH i2c: E2 08 00 A4 0B 80 17 00 00 00 00 00 00 2F [00:05:00]Write i2c OK [00:05:00]MH_I2C_Read... [00:05:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:00]Read from MH i2c: E2 [00:05:00]MH_I2C_Read... [00:05:00]Read from MH i2c: E2 FD 00 [00:05:00]MH_I2C_Read... [00:05:00]Read from MH i2c: E2 FD 00 A4 0B 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A8 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 02 [00:05:00]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A8 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [00:05:00]wFMCommunicate OK [00:05:00]wFMCommunicate request_size=4 [00:05:00]MH_SAM_APDU [00:05:00]CAPDU: 80 17 00 00 [00:05:00]Write to MH i2c: E2 08 00 A5 0B 80 17 00 00 00 00 00 00 30 [00:05:00]Write i2c OK [00:05:00]MH_I2C_Read... [00:05:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:01]Read from MH i2c: E2 [00:05:01]MH_I2C_Read... [00:05:01]Read from MH i2c: E2 FD 00 [00:05:01]MH_I2C_Read... [00:05:01]Read from MH i2c: E2 FD 00 A5 0B 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 D0 [00:05:01]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [00:05:01]wFMCommunicate OK [00:05:01]wFMCommunicate request_size=4 [00:05:01]MH_SAM_APDU [00:05:01]CAPDU: 80 17 00 00 [00:05:01]Write to MH i2c: E2 08 00 A6 0B 80 17 00 00 00 00 00 00 31 [00:05:01]Write i2c OK [00:05:01]MH_I2C_Read... [00:05:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:01]Read from MH i2c: E2 [00:05:01]MH_I2C_Read... [00:05:01]Read from MH i2c: E2 FD 00 [00:05:01]MH_I2C_Read... [00:05:01]Read from MH i2c: E2 FD 00 A6 0B 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 B6 [00:05:01]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [00:05:01]wFMCommunicate OK [00:05:01]wFMCommunicate request_size=4 [00:05:01]MH_SAM_APDU [00:05:01]CAPDU: 80 17 00 00 [00:05:01]Write to MH i2c: E2 08 00 A7 0B 80 17 00 00 00 00 00 00 32 [00:05:01]Write i2c OK [00:05:01]MH_I2C_Read... [00:05:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:05:02]Read from MH i2c: E2 [00:05:02]MH_I2C_Read... [00:05:02]Read from MH i2c: E2 DE 00 [00:05:02]MH_I2C_Read... [00:05:02]Read from MH i2c: E2 DE 00 A7 0B 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 11 [00:05:02]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:05:02]wFMCommunicate OK [00:05:02]SAM_PROTO_GetFMData done [00:05:02]FM_GetFMData:85 04 BD 04 6E 04 04 00 46 2F 00 00 69 04 A0 00 6F 04 04 00 F9 2E 00 00 B1 04 04 00 07 E8 CD 0E 70 04 04 00 46 20 C4 0C 72 04 04 00 C1 C7 09 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A6 76 92 01 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 BF 85 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 D2 86 6F 70 04 03 00 0E 70 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FD D7 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A8 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:05:03]oper:6F 04 04 00 F9 2E 00 00 B1 04 04 00 07 E8 CD 0E 70 04 04 00 46 20 C4 0C 72 04 04 00 C1 C7 09 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A6 76 92 01 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 BF 85 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:05:03]total:07 E8 CD 0E [00:05:03]Malloc new data [00:05:03]oper:6F 04 04 00 4D 00 00 00 B1 04 03 00 D2 86 6F 70 04 03 00 0E 70 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FD D7 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A8 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:05:03]total:D2 86 6F [00:05:03]Malloc new data [00:05:03]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:05:03]total: [00:05:03]Malloc new data [00:05:03]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:05:03]total: [00:05:03]Malloc new data [00:05:03]KKMPrepareXReportFMData err=0 [00:05:03]Х отчет ИНН: 02508201610067 Кассир: Лымарева В. 22.04.2024 00:04 Смена: 266 РНМ: 0000000000100748 ЗНМ: 0300000004 СНО: Общий режим Всего чеков: 76 ИТОГИ ПРИХОД Чеков: 75 Общий итог: 11431.00 Итого наличными: 8945.00 Итого безнал.: 2486.00 НДС 0% : 0.00 НДС 12% : 1213.80 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 101.04 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 1 Общий итог: 60.00 Итого наличными: 60.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 6.37 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.53 ИТОГИ РАСХОД Чеков: 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 Нал. в кассе: 8885.00 НС Приход: 2483753.03 НС Возвр.Прихода: 73090.10 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000965685 [00:05:03]StoreToDocumentArchive [00:05:03]MH_GetDate [00:05:03]Write to MH i2c: F0 00 00 A8 0B A2 [00:05:03]Write i2c OK [00:05:03]MH_I2C_Read... [00:05:03]Read from MH i2c: F0 [00:05:03]MH_I2C_Read... [00:05:03]Read from MH i2c: F0 09 00 [00:05:03]MH_I2C_Read... [00:05:03]Read from MH i2c: F0 09 00 A8 0B 00 B1 A9 25 66 61 69 D2 64 90 [00:05:03]shift 266 fd 1713744305 [00:05:03]Create dir for shift 0266 [00:05:03]save to /storage/0266/doc_1713744305 [00:05:03]save last doc name /storage/0266/doc_1713744305 to /storage/kkm_last_doc_name [00:05:03]save OK [00:05:03]Clear old archive folders... [00:05:03]NVStorageSaveData kkm_last_timestamp [00:05:03]File name is /storage/kkm_last_timestamp [00:05:03]Write 4 bytes [00:05:03]NVStorageSaveData done [00:05:03]ExternCall_PrintAddStr [00:05:03]wPrintStart [00:05:03]Write to MH i2c: 01 00 00 A9 0B B4 [00:05:03]Write i2c OK [00:05:03]MH_I2C_Read... [00:05:03]Read from MH i2c: 01 [00:05:03]MH_I2C_Read... [00:05:03]Read from MH i2c: 01 07 00 [00:05:03]MH_I2C_Read... [00:05:03]Read from MH i2c: 01 07 00 A9 0B 00 00 00 00 00 FF 0F C9 [00:05:03]RasterBufferAndPrint [00:05:03]line Х отчет [00:05:03]line ИНН: 02508201610067 [00:05:03]line Кассир: Лымарева В. [00:05:03]line 22.04.2024 00:04 [00:05:03]line Смена: 266 [00:05:03]line РНМ: 0000000000100748 [00:05:03]line ЗНМ: 0300000004 [00:05:03]line СНО: Общий режим [00:05:03]line Всего чеков: 76 [00:05:03]line ИТОГИ ПРИХОД [00:05:03]line Чеков: 75 [00:05:03]line Общий итог: 11431.00 [00:05:03]line Итого наличными: 8945.00 [00:05:03]line Итого безнал.: 2486.00 [00:05:03]line НДС 0% : 0.00 [00:05:03]line НДС 12% : 1213.80 [00:05:03]line НСП 0% : 0.00 [00:05:03]line НСП 1,50% : 0.00 [00:05:03]line НСП 0,50% : 0.00 [00:05:03]line НСП 5% : 0.00 [00:05:03]line НСП 3% : 0.00 [00:05:03]line НСП 2% : 0.00 [00:05:03]line НСП 1% : 101.04 [00:05:03]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:05:03]line Чеков: 1 [00:05:03]line Общий итог: 60.00 [00:05:03]line Итого наличными: 60.00 [00:05:03]line Итого безнал.: 0.00 [00:05:03]line НДС 0% : 0.00 [00:05:03]line НДС 12% : 6.37 [00:05:03]line НСП 0% : 0.00 [00:05:03]line НСП 1,50% : 0.00 [00:05:03]line НСП 0,50% : 0.00 [00:05:03]line НСП 5% : 0.00 [00:05:03]line НСП 3% : 0.00 [00:05:03]line НСП 2% : 0.00 [00:05:03]line НСП 1% : 0.53 [00:05:03]line ИТОГИ РАСХОД [00:05:03]line Чеков: 0 [00:05:03]line Общий итог: 0.00 [00:05:03]line Итого наличными: 0.00 [00:05:03]line Итого безнал.: 0.00 [00:05:03]line НДС 0% : 0.00 [00:05:03]line НДС 12% : 0.00 [00:05:03]line НСП 0% : 0.00 [00:05:03]line НСП 1,50% : 0.00 [00:05:03]line НСП 0,50% : 0.00 [00:05:03]line НСП 5% : 0.00 [00:05:03]line НСП 3% : 0.00 [00:05:03]line НСП 2% : 0.00 [00:05:03]line НСП 1% : 0.00 [00:05:03]line ИТОГИ ВОЗВРАТ РАСХОДА [00:05:03]line Чеков: 0 [00:05:03]line Общий итог: 0.00 [00:05:03]line Итого наличными: 0.00 [00:05:03]line Итого безнал.: 0.00 [00:05:03]line НДС 0% : 0.00 [00:05:03]line НДС 12% : 0.00 [00:05:03]line НСП 0% : 0.00 [00:05:03]line НСП 1,50% : 0.00 [00:05:03]line НСП 0,50% : 0.00 [00:05:03]line НСП 5% : 0.00 [00:05:03]line НСП 3% : 0.00 [00:05:03]line НСП 2% : 0.00 [00:05:03]line НСП 1% : 0.00 [00:05:03]line Сумма внесений: 0.00 [00:05:03]line Сумма выплат: 0.00 [00:05:03]line Нал. в кассе: 8885.00 [00:05:03]line НС Приход: 2483753.03 [00:05:03]line НС Возвр.Прихода: 73090.10 [00:05:03]line НС Расход: 0.00 [00:05:03]line НС Возвр.Расхода: 0.00 [00:05:03]line ФМ: 0000000000965685 [00:05:03]written 0, free lines is 4095 [00:05:04]Write to MH i2c: 01 00 00 F4 0B FF [00:05:04]Write i2c OK [00:05:04]MH_I2C_Read... [00:05:04]Read from MH i2c: 01 [00:05:04]MH_I2C_Read... [00:05:04]Read from MH i2c: 01 07 00 [00:05:04]MH_I2C_Read... [00:05:04]Read from MH i2c: 01 07 00 F4 0B 00 00 00 00 00 A3 0A B3 [00:05:04]RasterBufferAndPrint [00:05:04]line [00:05:04]line [00:05:04]line [00:05:04]line [00:05:04]line [00:05:04]written 0, free lines is 2756 [00:05:04]MH_Cut [00:05:04]Write to MH i2c: D1 01 00 FB 0B 01 D8 [00:05:04]Write i2c OK [00:05:04]MH_I2C_Read... [00:05:04]Read from MH i2c: D1 [00:05:04]MH_I2C_Read... [00:05:04]Read from MH i2c: D1 01 00 [00:05:04]MH_I2C_Read... [00:05:04]Read from MH i2c: D1 01 00 FB 0B 00 D7 [00:05:04]Write to MH i2c: 01 00 00 FC 0B 07 [00:05:04]Write i2c OK [00:05:04]MH_I2C_Read... [00:05:04]OFD Sender: No OFD packet to send [00:05:05]*** Cut start [00:05:05]*** Partial cut [00:05:05]*** CUTSNS_PIN = 1 [00:05:05]*** CUTSNS_PIN = 0 [00:05:05]*** Brake cut motor [00:05:05]Read from MH i2c: 01 [00:05:06]MH_I2C_Read... [00:05:06]*** Stop cut motor [00:05:06]*** Cut end [00:05:06]Read from MH i2c: 01 07 00 [00:05:06]MH_I2C_Read... [00:05:06]Read from MH i2c: 01 07 00 FC 0B 00 00 00 00 00 FF 0F 1C [00:05:06]process_action x_report done [00:05:06]requested_data is exist [00:05:06]produce_requested_data [00:05:06]requested_item fd.num is exist - process it [00:05:06]SAM_PROTO_GetFieldsCounters [00:05:06]wFMCommunicate request_size=4 [00:05:06]MH_SAM_APDU [00:05:06]CAPDU: 80 13 00 00 [00:05:06]Write to MH i2c: E2 08 00 FD 0B 80 13 00 00 00 00 00 00 84 [00:05:06]Write i2c OK [00:05:06]MH_I2C_Read... [00:05:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:05:06]Read from MH i2c: E2 [00:05:06]MH_I2C_Read... [00:05:06]Read from MH i2c: E2 62 00 [00:05:06]MH_I2C_Read... [00:05:06]Read from MH i2c: E2 62 00 FD 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 78 31 00 00 0E 04 04 00 19 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 4E [00:05:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 78 31 00 00 0E 04 04 00 19 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 [00:05:06]wFMCommunicate OK [00:05:06]SAM_PROTO_GetFieldsCounters done [00:05:06]requested_item shift.num is exist - process it [00:05:06]requested_item shift.opened is exist - process it [00:05:06]req_shift_opened [00:05:06]FM_GetShiftState [00:05:06]SAM_PROTO_GetShiftState [00:05:06]wFMCommunicate request_size=4 [00:05:06]MH_SAM_APDU [00:05:06]CAPDU: 80 13 01 00 [00:05:06]Write to MH i2c: E2 08 00 FE 0B 80 13 01 00 00 00 00 00 86 [00:05:06]Write i2c OK [00:05:06]MH_I2C_Read... [00:05:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:05:06]Read from MH i2c: E2 [00:05:06]MH_I2C_Read... [00:05:06]Read from MH i2c: E2 0E 00 [00:05:06]MH_I2C_Read... [00:05:06]Read from MH i2c: E2 0E 00 FE 0B 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 DE [00:05:06]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [00:05:06]wFMCommunicate OK [00:05:06]SAM_PROTO_GetShiftState done [00:05:06]FM_GetShiftState done [00:05:06]req_shift_opened done [00:05:06]requested_item shift.open_date is exist - process it [00:05:06]req_shift_open_date [00:05:06]req_shift_open_date done [00:05:06]produce_requested_data done [00:05:06]produce_requested_data return {"fd.num":12664,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [00:05:06]process_action_free x_report [00:05:06]json_value_free [00:05:06]json_value_free done [00:05:06]process_json_proto returns [00:05:06]Send response to host [00:05:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":12664,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [00:05:06]free response buf [00:05:06]execute_script done [00:05:06]execute_script returns [00:05:06]free content buf [00:05:06]Sock 9.Close socket [00:05:06]Sock 9.Thread stoped [00:05:09]OFD Sender: No OFD packet to send [00:05:14]OFD Sender: No OFD packet to send [00:05:19]OFD Sender: No OFD packet to send [00:05:24]OFD Sender: No OFD packet to send [00:05:29]OFD Sender: No OFD packet to send [00:05:34]OFD Sender: No OFD packet to send [00:05:38]accept exits with 7 [00:05:38]New connection [00:05:38]New thread 3066813796 created [00:05:38]Thread 3066957156 joined [00:05:38]Waiting for new connection... [00:05:38] Sock 7.Parse request [00:05:38]Sock 7.Check first char [00:05:38]Sock 7.First char is OK [00:05:38]request: POST /json_proto HTTP/1.0 [00:05:38]Method: POST [00:05:38]URL: /json_proto [00:05:38]Method is POST - this is cgi request [00:05:38]url: /json_proto [00:05:38]query_string will be loaded in cgi processing [00:05:38]execute_cgi json_proto POST (null) [00:05:38]execute_cgi path=json_proto method=POST [00:05:38]POST find Content-Length [00:05:38]Host: 172.17.62.6:8080 [00:05:38]Content-Length: 215 [00:05:38]Content-Type: application/json [00:05:38] [00:05:38]POST finish read [00:05:38]Found Content-Length = 215 [00:05:38]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:05:38]execute_script... [00:05:38]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:05:38]POST & json_proto [00:05:38]process_json_proto [00:05:38]json parsed OK: [00:05:38]protocol is kg_v1.0 [00:05:38]action value=get_value [00:05:38]process_action get_value [00:05:38]cmd_get_value [00:05:38]process_action get_value done [00:05:38]requested_data is exist [00:05:38]produce_requested_data [00:05:38]requested_item kkm.sn is exist - process it [00:05:38]requested_item kkm.ver is exist - process it [00:05:38]requested_item fm.sn is exist - process it [00:05:38]wFMCommunicate request_size=4 [00:05:38]MH_SAM_APDU [00:05:38]CAPDU: 80 11 00 00 [00:05:38]Write to MH i2c: E2 08 00 FF 0B 80 11 00 00 00 00 00 00 84 [00:05:38]Write i2c OK [00:05:38]MH_I2C_Read... [00:05:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:05:38]Read from MH i2c: E2 [00:05:38]MH_I2C_Read... [00:05:38]Read from MH i2c: E2 17 00 [00:05:38]MH_I2C_Read... [00:05:38]Read from MH i2c: E2 17 00 FF 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 DE [00:05:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [00:05:38]wFMCommunicate OK [00:05:38]requested_item fd.num is exist - process it [00:05:38]SAM_PROTO_GetFieldsCounters [00:05:38]wFMCommunicate request_size=4 [00:05:38]MH_SAM_APDU [00:05:38]CAPDU: 80 13 00 00 [00:05:38]Write to MH i2c: E2 08 00 00 0C 80 13 00 00 00 00 00 00 88 [00:05:38]Write i2c OK [00:05:38]MH_I2C_Read... [00:05:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:05:38]Read from MH i2c: E2 [00:05:38]MH_I2C_Read... [00:05:38]Read from MH i2c: E2 62 00 [00:05:38]MH_I2C_Read... [00:05:38]Read from MH i2c: E2 62 00 00 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 78 31 00 00 0E 04 04 00 19 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 52 [00:05:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 78 31 00 00 0E 04 04 00 19 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 [00:05:38]wFMCommunicate OK [00:05:38]SAM_PROTO_GetFieldsCounters done [00:05:38]requested_item shift.num is exist - process it [00:05:38]requested_item shift.opened is exist - process it [00:05:38]req_shift_opened [00:05:38]FM_GetShiftState [00:05:38]SAM_PROTO_GetShiftState [00:05:38]wFMCommunicate request_size=4 [00:05:38]MH_SAM_APDU [00:05:38]CAPDU: 80 13 01 00 [00:05:38]Write to MH i2c: E2 08 00 01 0C 80 13 01 00 00 00 00 00 8A [00:05:38]Write i2c OK [00:05:38]MH_I2C_Read... [00:05:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:05:38]Read from MH i2c: E2 [00:05:38]MH_I2C_Read... [00:05:38]Read from MH i2c: E2 0E 00 [00:05:38]MH_I2C_Read... [00:05:38]Read from MH i2c: E2 0E 00 01 0C 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 E2 [00:05:38]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [00:05:38]wFMCommunicate OK [00:05:38]SAM_PROTO_GetShiftState done [00:05:38]FM_GetShiftState done [00:05:38]req_shift_opened done [00:05:38]requested_item shift.open_date is exist - process it [00:05:38]req_shift_open_date [00:05:38]req_shift_open_date done [00:05:38]produce_requested_data done [00:05:38]produce_requested_data return {"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12664,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727} [00:05:38]process_action_free get_value [00:05:38]json_value_free [00:05:38]json_value_free done [00:05:38]process_json_proto returns [00:05:38]Send response to host [00:05:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12664,"shift.num":281,"shift.opened":1,"shift.open_date":1713658727}}} [00:05:38]free response buf [00:05:38]execute_script done [00:05:38]execute_script returns [00:05:38]free content buf [00:05:38]Sock 7.Close socket [00:05:38]Sock 7.Thread stoped [00:05:38]accept exits with 10 [00:05:38]New connection [00:05:38]New thread 3066957156 created [00:05:38]Thread 3066813796 joined [00:05:38]Waiting for new connection... [00:05:38] Sock 10.Parse request [00:05:38]Sock 10.Check first char [00:05:38]Sock 10.First char is OK [00:05:38]request: POST /json_proto HTTP/1.0 [00:05:38]Method: POST [00:05:38]URL: /json_proto [00:05:38]Method is POST - this is cgi request [00:05:38]url: /json_proto [00:05:38]query_string will be loaded in cgi processing [00:05:38]execute_cgi json_proto POST (null) [00:05:38]execute_cgi path=json_proto method=POST [00:05:38]POST find Content-Length [00:05:38]Host: 172.17.62.6:8080 [00:05:38]Content-Length: 331 [00:05:38]Content-Type: application/json [00:05:38] [00:05:38]POST finish read [00:05:38]Found Content-Length = 331 [00:05:38]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:05:38]execute_script... [00:05:38]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:05:38]POST & json_proto [00:05:38]process_json_proto [00:05:38]json parsed OK: [00:05:38]protocol is kg_v1.0 [00:05:38]action value=get_value [00:05:38]process_action get_value [00:05:38]cmd_get_value [00:05:38]process_action get_value done [00:05:38]requested_data is exist [00:05:38]produce_requested_data [00:05:38]requested_item fm.sale.total is exist - process it [00:05:38]SAM_PROTO_GetFMData [00:05:38]wFMCommunicate request_size=4 [00:05:39]MH_SAM_APDU [00:05:39]CAPDU: 80 13 03 00 [00:05:39]Write to MH i2c: E2 08 00 02 0C 80 13 03 00 00 00 00 00 8D [00:05:39]Write i2c OK [00:05:39]MH_I2C_Read... [00:05:39]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:05:39]Read from MH i2c: E2 [00:05:39]MH_I2C_Read... [00:05:39]Read from MH i2c: E2 FD 00 [00:05:39]MH_I2C_Read... [00:05:39]Read from MH i2c: E2 FD 00 02 0C 00 C1 04 85 04 BD 04 6E 04 04 00 46 2F 00 00 69 04 A0 00 6F 04 04 00 F9 2E 00 00 B1 04 04 00 07 E8 CD 0E 70 04 04 00 46 20 C4 0C 72 04 04 00 C1 C7 09 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A6 76 92 01 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 BF 85 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 D2 86 6F 70 04 03 00 0E 70 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FD D7 0B EF 03 09 00 F6 03 90 00 93 [00:05:39]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 46 2F 00 00 69 04 A0 00 6F 04 04 00 F9 2E 00 00 B1 04 04 00 07 E8 CD 0E 70 04 04 00 46 20 C4 0C 72 04 04 00 C1 C7 09 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A6 76 92 01 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 BF 85 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 D2 86 6F 70 04 03 00 0E 70 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FD D7 0B EF 03 09 00 F6 03 90 00 [00:05:39]wFMCommunicate OK [00:05:39]wFMCommunicate request_size=4 [00:05:39]MH_SAM_APDU [00:05:39]CAPDU: 80 17 00 00 [00:05:39]Write to MH i2c: E2 08 00 03 0C 80 17 00 00 00 00 00 00 8F [00:05:39]Write i2c OK [00:05:39]MH_I2C_Read... [00:05:39]OFD Sender: No OFD packet to send [00:05:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:39]Read from MH i2c: E2 [00:05:39]MH_I2C_Read... [00:05:39]Read from MH i2c: E2 FD 00 [00:05:39]MH_I2C_Read... [00:05:39]Read from MH i2c: E2 FD 00 03 0C 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A8 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 62 [00:05:39]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A8 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [00:05:39]wFMCommunicate OK [00:05:39]wFMCommunicate request_size=4 [00:05:39]MH_SAM_APDU [00:05:39]CAPDU: 80 17 00 00 [00:05:39]Write to MH i2c: E2 08 00 04 0C 80 17 00 00 00 00 00 00 90 [00:05:39]Write i2c OK [00:05:39]MH_I2C_Read... [00:05:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:40]Read from MH i2c: E2 [00:05:40]MH_I2C_Read... [00:05:40]Read from MH i2c: E2 FD 00 [00:05:40]MH_I2C_Read... [00:05:40]Read from MH i2c: E2 FD 00 04 0C 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 30 [00:05:40]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [00:05:40]wFMCommunicate OK [00:05:40]wFMCommunicate request_size=4 [00:05:40]MH_SAM_APDU [00:05:40]CAPDU: 80 17 00 00 [00:05:40]Write to MH i2c: E2 08 00 05 0C 80 17 00 00 00 00 00 00 91 [00:05:40]Write i2c OK [00:05:40]MH_I2C_Read... [00:05:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:40]Read from MH i2c: E2 [00:05:40]MH_I2C_Read... [00:05:40]Read from MH i2c: E2 FD 00 [00:05:40]MH_I2C_Read... [00:05:40]Read from MH i2c: E2 FD 00 05 0C 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 16 [00:05:40]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [00:05:40]wFMCommunicate OK [00:05:40]wFMCommunicate request_size=4 [00:05:40]MH_SAM_APDU [00:05:40]CAPDU: 80 17 00 00 [00:05:40]Write to MH i2c: E2 08 00 06 0C 80 17 00 00 00 00 00 00 92 [00:05:40]Write i2c OK [00:05:40]MH_I2C_Read... [00:05:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:05:40]Read from MH i2c: E2 [00:05:40]MH_I2C_Read... [00:05:40]Read from MH i2c: E2 DE 00 [00:05:40]MH_I2C_Read... [00:05:40]Read from MH i2c: E2 DE 00 06 0C 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 71 [00:05:40]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:05:40]wFMCommunicate OK [00:05:40]SAM_PROTO_GetFMData done [00:05:40]requested_item fm.sale_refund.total is exist - process it [00:05:40]requested_item fm.buy.total is exist - process it [00:05:40]requested_item shift.sale.total is exist - process it [00:05:40]SAM_PROTO_GetShiftData [00:05:40]wFMCommunicate request_size=4 [00:05:40]MH_SAM_APDU [00:05:40]CAPDU: 80 13 02 00 [00:05:40]Write to MH i2c: E2 08 00 07 0C 80 13 02 00 00 00 00 00 91 [00:05:40]Write i2c OK [00:05:40]MH_I2C_Read... [00:05:41]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:05:41]Read from MH i2c: E2 [00:05:41]MH_I2C_Read... [00:05:41]Read from MH i2c: E2 FD 00 [00:05:41]MH_I2C_Read... [00:05:41]Read from MH i2c: E2 FD 00 07 0C 00 B5 04 AA 04 B1 04 6E 04 04 00 4C 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 3C 71 11 70 04 03 00 24 A6 0D 72 04 03 00 18 CB 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 24 DA 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 78 27 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 70 17 70 04 02 00 70 17 72 04 00 00 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 BF [00:05:41]RAPDU: B5 04 AA 04 B1 04 6E 04 04 00 4C 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 3C 71 11 70 04 03 00 24 A6 0D 72 04 03 00 18 CB 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 24 DA 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 78 27 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 70 17 70 04 02 00 70 17 72 04 00 00 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 [00:05:41]wFMCommunicate OK [00:05:41]wFMCommunicate request_size=4 [00:05:41]MH_SAM_APDU [00:05:41]CAPDU: 80 17 00 00 [00:05:41]Write to MH i2c: E2 08 00 08 0C 80 17 00 00 00 00 00 00 94 [00:05:41]Write i2c OK [00:05:41]MH_I2C_Read... [00:05:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:41]Read from MH i2c: E2 [00:05:41]MH_I2C_Read... [00:05:41]Read from MH i2c: E2 FD 00 [00:05:41]MH_I2C_Read... [00:05:41]Read from MH i2c: E2 FD 00 08 0C 00 F6 03 01 00 01 F7 03 01 00 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 90 00 DF [00:05:41]RAPDU: F6 03 01 00 01 F7 03 01 00 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 90 00 [00:05:41]wFMCommunicate OK [00:05:41]wFMCommunicate request_size=4 [00:05:41]MH_SAM_APDU [00:05:41]CAPDU: 80 17 00 00 [00:05:41]Write to MH i2c: E2 08 00 09 0C 80 17 00 00 00 00 00 00 95 [00:05:41]Write i2c OK [00:05:41]MH_I2C_Read... [00:05:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:42]Read from MH i2c: E2 [00:05:42]MH_I2C_Read... [00:05:42]Read from MH i2c: E2 FD 00 [00:05:42]MH_I2C_Read... [00:05:42]Read from MH i2c: E2 FD 00 09 0C 00 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 90 00 52 [00:05:42]RAPDU: 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 90 00 [00:05:42]wFMCommunicate OK [00:05:42]wFMCommunicate request_size=4 [00:05:42]MH_SAM_APDU [00:05:42]CAPDU: 80 17 00 00 [00:05:42]Write to MH i2c: E2 08 00 0A 0C 80 17 00 00 00 00 00 00 96 [00:05:42]Write i2c OK [00:05:42]MH_I2C_Read... [00:05:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:42]Read from MH i2c: E2 [00:05:42]MH_I2C_Read... [00:05:42]Read from MH i2c: E2 FD 00 [00:05:42]MH_I2C_Read... [00:05:42]Read from MH i2c: E2 FD 00 0A 0C 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 90 00 0E [00:05:42]RAPDU: F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 90 00 [00:05:42]wFMCommunicate OK [00:05:42]wFMCommunicate request_size=4 [00:05:42]MH_SAM_APDU [00:05:42]CAPDU: 80 17 00 00 [00:05:42]Write to MH i2c: E2 08 00 0B 0C 80 17 00 00 00 00 00 00 97 [00:05:42]Write i2c OK [00:05:42]MH_I2C_Read... [00:05:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 207! [00:05:42]Read from MH i2c: E2 [00:05:42]MH_I2C_Read... [00:05:42]Read from MH i2c: E2 D2 00 [00:05:42]MH_I2C_Read... [00:05:42]Read from MH i2c: E2 D2 00 0B 0C 00 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 7A [00:05:42]RAPDU: 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:05:42]wFMCommunicate OK [00:05:42]SAM_PROTO_GetShiftData done [00:05:42]requested_item shift.sale.total_cash is exist - process it [00:05:42]requested_item shift.sale_refund.total is exist - process it [00:05:42]requested_item shift.sale_refund.total_cash is exist - process it [00:05:42]requested_item shift.buy.total is exist - process it [00:05:42]requested_item shift.buy.total_cash is exist - process it [00:05:42]produce_requested_data done [00:05:42]produce_requested_data return {"fm.sale.total":2483753.03,"fm.sale_refund.total":73090.10,"fm.buy.total":0.00,"shift.sale.total":11431.00,"shift.sale.total_cash":8945.00,"shift.sale_refund.total":60.00,"shift.sale_refund.total_cash":60.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:05:42]process_action_free get_value [00:05:42]json_value_free [00:05:42]json_value_free done [00:05:42]process_json_proto returns [00:05:42]Send response to host [00:05:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2483753.03,"fm.sale_refund.total":73090.10,"fm.buy.total":0.00,"shift.sale.total":11431.00,"shift.sale.total_cash":8945.00,"shift.sale_refund.total":60.00,"shift.sale_refund.total_cash":60.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:05:42]free response buf [00:05:42]execute_script done [00:05:42]execute_script returns [00:05:42]free content buf [00:05:42]Sock 10.Close socket [00:05:42]Sock 10.Thread stoped [00:05:42]accept exits with 7 [00:05:42]New connection [00:05:42]New thread 3066813796 created [00:05:42]Thread 3066957156 joined [00:05:42]Waiting for new connection... [00:05:42] Sock 7.Parse request [00:05:42]Sock 7.Check first char [00:05:42]Sock 7.First char is OK [00:05:42]request: POST /json_proto HTTP/1.0 [00:05:42]Method: POST [00:05:42]URL: /json_proto [00:05:42]Method is POST - this is cgi request [00:05:42]url: /json_proto [00:05:42]query_string will be loaded in cgi processing [00:05:42]execute_cgi json_proto POST (null) [00:05:42]execute_cgi path=json_proto method=POST [00:05:42]POST find Content-Length [00:05:42]Host: 172.17.62.6:8080 [00:05:42]Content-Length: 331 [00:05:42]Content-Type: application/json [00:05:42] [00:05:43]POST finish read [00:05:43]Found Content-Length = 331 [00:05:43]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:05:43]execute_script... [00:05:43]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:05:43]POST & json_proto [00:05:43]process_json_proto [00:05:43]json parsed OK: [00:05:43]protocol is kg_v1.0 [00:05:43]action value=get_value [00:05:43]process_action get_value [00:05:43]cmd_get_value [00:05:43]process_action get_value done [00:05:43]requested_data is exist [00:05:43]produce_requested_data [00:05:43]requested_item fm.sale.total is exist - process it [00:05:43]SAM_PROTO_GetFMData [00:05:43]wFMCommunicate request_size=4 [00:05:43]MH_SAM_APDU [00:05:43]CAPDU: 80 13 03 00 [00:05:43]Write to MH i2c: E2 08 00 0C 0C 80 13 03 00 00 00 00 00 97 [00:05:43]Write i2c OK [00:05:43]MH_I2C_Read... [00:05:43]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:05:43]Read from MH i2c: E2 [00:05:43]MH_I2C_Read... [00:05:43]Read from MH i2c: E2 FD 00 [00:05:43]MH_I2C_Read... [00:05:43]Read from MH i2c: E2 FD 00 0C 0C 00 C1 04 85 04 BD 04 6E 04 04 00 46 2F 00 00 69 04 A0 00 6F 04 04 00 F9 2E 00 00 B1 04 04 00 07 E8 CD 0E 70 04 04 00 46 20 C4 0C 72 04 04 00 C1 C7 09 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A6 76 92 01 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 BF 85 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 D2 86 6F 70 04 03 00 0E 70 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FD D7 0B EF 03 09 00 F6 03 90 00 9D [00:05:43]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 46 2F 00 00 69 04 A0 00 6F 04 04 00 F9 2E 00 00 B1 04 04 00 07 E8 CD 0E 70 04 04 00 46 20 C4 0C 72 04 04 00 C1 C7 09 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A6 76 92 01 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 BF 85 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 D2 86 6F 70 04 03 00 0E 70 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FD D7 0B EF 03 09 00 F6 03 90 00 [00:05:43]wFMCommunicate OK [00:05:43]wFMCommunicate request_size=4 [00:05:43]MH_SAM_APDU [00:05:43]CAPDU: 80 17 00 00 [00:05:43]Write to MH i2c: E2 08 00 0D 0C 80 17 00 00 00 00 00 00 99 [00:05:43]Write i2c OK [00:05:43]MH_I2C_Read... [00:05:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:43]Read from MH i2c: E2 [00:05:43]MH_I2C_Read... [00:05:43]Read from MH i2c: E2 FD 00 [00:05:43]MH_I2C_Read... [00:05:43]Read from MH i2c: E2 FD 00 0D 0C 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A8 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 6C [00:05:43]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A8 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [00:05:44]wFMCommunicate OK [00:05:44]wFMCommunicate request_size=4 [00:05:44]MH_SAM_APDU [00:05:44]CAPDU: 80 17 00 00 [00:05:44]Write to MH i2c: E2 08 00 0E 0C 80 17 00 00 00 00 00 00 9A [00:05:44]Write i2c OK [00:05:44]MH_I2C_Read... [00:05:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:44]Read from MH i2c: E2 [00:05:44]MH_I2C_Read... [00:05:44]Read from MH i2c: E2 FD 00 [00:05:44]MH_I2C_Read... [00:05:44]Read from MH i2c: E2 FD 00 0E 0C 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 3A [00:05:44]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [00:05:44]wFMCommunicate OK [00:05:44]wFMCommunicate request_size=4 [00:05:44]MH_SAM_APDU [00:05:44]CAPDU: 80 17 00 00 [00:05:44]Write to MH i2c: E2 08 00 0F 0C 80 17 00 00 00 00 00 00 9B [00:05:44]Write i2c OK [00:05:44]MH_I2C_Read... [00:05:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:44]Read from MH i2c: E2 [00:05:44]MH_I2C_Read... [00:05:44]Read from MH i2c: E2 FD 00 [00:05:44]MH_I2C_Read... [00:05:44]Read from MH i2c: E2 FD 00 0F 0C 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 20 [00:05:44]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [00:05:44]wFMCommunicate OK [00:05:44]wFMCommunicate request_size=4 [00:05:44]MH_SAM_APDU [00:05:44]CAPDU: 80 17 00 00 [00:05:44]Write to MH i2c: E2 08 00 10 0C 80 17 00 00 00 00 00 00 9C [00:05:44]Write i2c OK [00:05:44]MH_I2C_Read... [00:05:44]OFD Sender: No OFD packet to send [00:05:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:05:45]Read from MH i2c: E2 [00:05:45]MH_I2C_Read... [00:05:45]Read from MH i2c: E2 DE 00 [00:05:45]MH_I2C_Read... [00:05:45]Read from MH i2c: E2 DE 00 10 0C 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 7B [00:05:45]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:05:45]wFMCommunicate OK [00:05:45]SAM_PROTO_GetFMData done [00:05:45]requested_item fm.sale_refund.total is exist - process it [00:05:45]requested_item fm.buy.total is exist - process it [00:05:45]requested_item shift.sale.total is exist - process it [00:05:45]SAM_PROTO_GetShiftData [00:05:45]wFMCommunicate request_size=4 [00:05:45]MH_SAM_APDU [00:05:45]CAPDU: 80 13 02 00 [00:05:45]Write to MH i2c: E2 08 00 11 0C 80 13 02 00 00 00 00 00 9B [00:05:45]Write i2c OK [00:05:45]MH_I2C_Read... [00:05:45]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:05:45]Read from MH i2c: E2 [00:05:45]MH_I2C_Read... [00:05:45]Read from MH i2c: E2 FD 00 [00:05:45]MH_I2C_Read... [00:05:45]Read from MH i2c: E2 FD 00 11 0C 00 B5 04 AA 04 B1 04 6E 04 04 00 4C 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 3C 71 11 70 04 03 00 24 A6 0D 72 04 03 00 18 CB 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 24 DA 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 78 27 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 70 17 70 04 02 00 70 17 72 04 00 00 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 C9 [00:05:45]RAPDU: B5 04 AA 04 B1 04 6E 04 04 00 4C 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 3C 71 11 70 04 03 00 24 A6 0D 72 04 03 00 18 CB 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 24 DA 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 78 27 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 70 17 70 04 02 00 70 17 72 04 00 00 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 [00:05:46]wFMCommunicate OK [00:05:46]wFMCommunicate request_size=4 [00:05:46]MH_SAM_APDU [00:05:46]CAPDU: 80 17 00 00 [00:05:46]Write to MH i2c: E2 08 00 12 0C 80 17 00 00 00 00 00 00 9E [00:05:46]Write i2c OK [00:05:46]MH_I2C_Read... [00:05:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:46]Read from MH i2c: E2 [00:05:46]MH_I2C_Read... [00:05:46]Read from MH i2c: E2 FD 00 [00:05:46]MH_I2C_Read... [00:05:46]Read from MH i2c: E2 FD 00 12 0C 00 F6 03 01 00 01 F7 03 01 00 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 90 00 E9 [00:05:46]RAPDU: F6 03 01 00 01 F7 03 01 00 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 90 00 [00:05:46]wFMCommunicate OK [00:05:46]wFMCommunicate request_size=4 [00:05:46]MH_SAM_APDU [00:05:46]CAPDU: 80 17 00 00 [00:05:46]Write to MH i2c: E2 08 00 13 0C 80 17 00 00 00 00 00 00 9F [00:05:46]Write i2c OK [00:05:46]MH_I2C_Read... [00:05:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:46]Read from MH i2c: E2 [00:05:46]MH_I2C_Read... [00:05:46]Read from MH i2c: E2 FD 00 [00:05:46]MH_I2C_Read... [00:05:46]Read from MH i2c: E2 FD 00 13 0C 00 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 90 00 5C [00:05:46]RAPDU: 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 90 00 [00:05:46]wFMCommunicate OK [00:05:46]wFMCommunicate request_size=4 [00:05:46]MH_SAM_APDU [00:05:46]CAPDU: 80 17 00 00 [00:05:46]Write to MH i2c: E2 08 00 14 0C 80 17 00 00 00 00 00 00 A0 [00:05:46]Write i2c OK [00:05:46]MH_I2C_Read... [00:05:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:47]Read from MH i2c: E2 [00:05:47]MH_I2C_Read... [00:05:47]Read from MH i2c: E2 FD 00 [00:05:47]MH_I2C_Read... [00:05:47]Read from MH i2c: E2 FD 00 14 0C 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 90 00 18 [00:05:47]RAPDU: F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 90 00 [00:05:47]wFMCommunicate OK [00:05:47]wFMCommunicate request_size=4 [00:05:47]MH_SAM_APDU [00:05:47]CAPDU: 80 17 00 00 [00:05:47]Write to MH i2c: E2 08 00 15 0C 80 17 00 00 00 00 00 00 A1 [00:05:47]Write i2c OK [00:05:47]MH_I2C_Read... [00:05:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 207! [00:05:47]Read from MH i2c: E2 [00:05:47]MH_I2C_Read... [00:05:47]Read from MH i2c: E2 D2 00 [00:05:47]MH_I2C_Read... [00:05:47]Read from MH i2c: E2 D2 00 15 0C 00 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 84 [00:05:47]RAPDU: 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:05:47]wFMCommunicate OK [00:05:47]SAM_PROTO_GetShiftData done [00:05:47]requested_item shift.sale.total_cash is exist - process it [00:05:47]requested_item shift.sale_refund.total is exist - process it [00:05:47]requested_item shift.sale_refund.total_cash is exist - process it [00:05:47]requested_item shift.buy.total is exist - process it [00:05:47]requested_item shift.buy.total_cash is exist - process it [00:05:47]produce_requested_data done [00:05:47]produce_requested_data return {"fm.sale.total":2483753.03,"fm.sale_refund.total":73090.10,"fm.buy.total":0.00,"shift.sale.total":11431.00,"shift.sale.total_cash":8945.00,"shift.sale_refund.total":60.00,"shift.sale_refund.total_cash":60.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:05:47]process_action_free get_value [00:05:47]json_value_free [00:05:47]json_value_free done [00:05:47]process_json_proto returns [00:05:47]Send response to host [00:05:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2483753.03,"fm.sale_refund.total":73090.10,"fm.buy.total":0.00,"shift.sale.total":11431.00,"shift.sale.total_cash":8945.00,"shift.sale_refund.total":60.00,"shift.sale_refund.total_cash":60.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:05:47]free response buf [00:05:47]execute_script done [00:05:47]execute_script returns [00:05:47]free content buf [00:05:47]Sock 7.Close socket [00:05:47]Sock 7.Thread stoped [00:05:47]accept exits with 9 [00:05:47]New connection [00:05:47]New thread 3066957156 created [00:05:47]Thread 3066813796 joined [00:05:47]Waiting for new connection... [00:05:47] Sock 9.Parse request [00:05:47]Sock 9.Check first char [00:05:47]Sock 9.First char is OK [00:05:47]request: POST /json_proto HTTP/1.0 [00:05:47]Method: POST [00:05:47]URL: /json_proto [00:05:47]Method is POST - this is cgi request [00:05:47]url: /json_proto [00:05:47]query_string will be loaded in cgi processing [00:05:47]execute_cgi json_proto POST (null) [00:05:47]execute_cgi path=json_proto method=POST [00:05:47]POST find Content-Length [00:05:47]Host: 172.17.62.6:8080 [00:05:47]Content-Length: 260 [00:05:47]Content-Type: application/json [00:05:47] [00:05:47]POST finish read [00:05:47]Found Content-Length = 260 [00:05:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u041B\u044B\u043C\u0430\u0440\u0435\u0432\u0430 \u0412. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:05:47]execute_script... [00:05:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u041B\u044B\u043C\u0430\u0440\u0435\u0432\u0430 \u0412. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:05:47]POST & json_proto [00:05:47]process_json_proto [00:05:47]json parsed OK: [00:05:47]protocol is kg_v1.0 [00:05:47]action value=close_shift [00:05:47]process_action close_shift [00:05:47]cmd_close_shift [00:05:47]MH_GetDate [00:05:47]Write to MH i2c: F0 00 00 16 0C 11 [00:05:47]Write i2c OK [00:05:47]MH_I2C_Read... [00:05:47]Read from MH i2c: F0 [00:05:47]MH_I2C_Read... [00:05:47]Read from MH i2c: F0 09 00 [00:05:47]MH_I2C_Read... [00:05:47]Read from MH i2c: F0 09 00 16 0C 00 DD A9 25 66 61 69 D2 64 2B [00:05:47]GetLastDocTimeStamp 1713744297 [00:05:47]current date 1713744349 [00:05:47]FM_GetShiftState [00:05:47]SAM_PROTO_GetShiftState [00:05:47]wFMCommunicate request_size=4 [00:05:47]MH_SAM_APDU [00:05:47]CAPDU: 80 13 01 00 [00:05:47]Write to MH i2c: E2 08 00 17 0C 80 13 01 00 00 00 00 00 A0 [00:05:47]Write i2c OK [00:05:47]MH_I2C_Read... [00:05:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:05:47]Read from MH i2c: E2 [00:05:47]MH_I2C_Read... [00:05:47]Read from MH i2c: E2 0E 00 [00:05:47]MH_I2C_Read... [00:05:47]Read from MH i2c: E2 0E 00 17 0C 00 09 00 01 67 5B 24 66 00 00 00 00 90 00 F8 [00:05:47]RAPDU: 09 00 01 67 5B 24 66 00 00 00 00 90 00 [00:05:47]wFMCommunicate OK [00:05:47]SAM_PROTO_GetShiftState done [00:05:47]FM_GetShiftState done [00:05:47]KKMCreateCloseShiftDocument [00:05:47]Load OK [00:05:47]Malloc new data [00:05:47]MH_GetDate [00:05:47]Write to MH i2c: F0 00 00 18 0C 13 [00:05:47]Write i2c OK [00:05:47]MH_I2C_Read... [00:05:47]Read from MH i2c: F0 [00:05:47]MH_I2C_Read... [00:05:47]Read from MH i2c: F0 09 00 [00:05:47]MH_I2C_Read... [00:05:47]Read from MH i2c: F0 09 00 18 0C 00 DD A9 25 66 61 69 D2 64 2D [00:05:48]Malloc new data [00:05:48]Malloc new data [00:05:48]Malloc new data [00:05:48]Malloc new data [00:05:48]KKMCreateCloseShiftDocument OK [00:05:48]KKMSetCloseShiftData OK [00:05:48]ProcessDocumentItem done err = 0, tmpTLVsize=71 [00:05:48]tlvbuf is 017A41B0 [00:05:48]KKMLoadAndSignCloseShiftData [00:05:48]SAM_PROTO_ProcessDocument [00:05:48]wFMCommunicate request_size=9 [00:05:48]MH_SAM_APDU [00:05:48]CAPDU: 80 15 01 00 04 05 00 47 00 [00:05:48]Write to MH i2c: E2 0C 00 19 0C 80 15 01 00 04 00 05 00 47 00 00 00 F8 [00:05:48]Write i2c OK [00:05:48]MH_I2C_Read... [00:05:48]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:05:48]Read from MH i2c: E2 [00:05:48]MH_I2C_Read... [00:05:48]Read from MH i2c: E2 03 00 [00:05:48]MH_I2C_Read... [00:05:48]Read from MH i2c: E2 03 00 19 0C 00 90 00 99 [00:05:48]RAPDU: 90 00 [00:05:48]wFMCommunicate OK [00:05:48]wFMCommunicate request_size=23 [00:05:48]MH_SAM_APDU [00:05:48]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:05:48]Write to MH i2c: E2 1A 00 1A 0C 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 9B [00:05:48]Write i2c OK [00:05:48]MH_I2C_Read... [00:05:48]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:05:48]Read from MH i2c: E2 [00:05:48]MH_I2C_Read... [00:05:48]Read from MH i2c: E2 03 00 [00:05:48]MH_I2C_Read... [00:05:48]Read from MH i2c: E2 03 00 1A 0C 00 90 00 9A [00:05:48]RAPDU: 90 00 [00:05:48]wFMCommunicate OK [00:05:48]wFMCommunicate request_size=30 [00:05:48]MH_SAM_APDU [00:05:48]CAPDU: 80 15 02 00 19 FD 03 15 00 D0 9B D1 8B D0 BC D0 B0 D1 80 D0 B5 D0 B2 D0 B0 20 D0 92 2E 20 [00:05:48]Write to MH i2c: E2 21 00 1B 0C 80 15 02 00 19 00 FD 03 15 00 D0 9B D1 8B D0 BC D0 B0 D1 80 D0 B5 D0 B2 D0 B0 20 D0 92 2E 20 00 00 69 [00:05:48]Write i2c OK [00:05:48]MH_I2C_Read... [00:05:48]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:05:48]Read from MH i2c: E2 [00:05:48]MH_I2C_Read... [00:05:48]Read from MH i2c: E2 03 00 [00:05:48]MH_I2C_Read... [00:05:48]Read from MH i2c: E2 03 00 1B 0C 00 90 00 9B [00:05:48]RAPDU: 90 00 [00:05:48]wFMCommunicate OK [00:05:48]wFMCommunicate request_size=13 [00:05:48]MH_SAM_APDU [00:05:48]CAPDU: 80 15 02 00 08 F4 03 04 00 DD A9 25 66 [00:05:48]Write to MH i2c: E2 10 00 1C 0C 80 15 02 00 08 00 F4 03 04 00 DD A9 25 66 00 00 C4 [00:05:48]Write i2c OK [00:05:48]MH_I2C_Read... [00:05:48]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:05:48]Read from MH i2c: E2 [00:05:48]MH_I2C_Read... [00:05:48]Read from MH i2c: E2 03 00 [00:05:48]MH_I2C_Read... [00:05:48]Read from MH i2c: E2 03 00 1C 0C 00 90 00 9C [00:05:48]RAPDU: 90 00 [00:05:48]wFMCommunicate OK [00:05:48]wFMCommunicate request_size=25 [00:05:48]MH_SAM_APDU [00:05:48]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 [00:05:48]Write to MH i2c: E2 1C 00 1D 0C 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 00 00 06 [00:05:48]Write i2c OK [00:05:48]MH_I2C_Read... [00:05:48]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:05:48]Read from MH i2c: E2 [00:05:48]MH_I2C_Read... [00:05:48]Read from MH i2c: E2 03 00 [00:05:48]MH_I2C_Read... [00:05:48]Read from MH i2c: E2 03 00 1D 0C 00 90 00 9D [00:05:48]RAPDU: 90 00 [00:05:48]wFMCommunicate OK [00:05:48]wFMCommunicate request_size=4 [00:05:48]MH_SAM_APDU [00:05:48]CAPDU: 80 15 03 00 [00:05:48]Write to MH i2c: E2 08 00 1E 0C 80 15 03 00 00 00 00 00 AB [00:05:48]Write i2c OK [00:05:48]MH_I2C_Read... [00:05:49]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [00:05:49]Read from MH i2c: E2 [00:05:49]MH_I2C_Read... [00:05:49]Read from MH i2c: E2 FD 00 [00:05:49]MH_I2C_Read... [00:05:49]Read from MH i2c: E2 FD 00 1E 0C 00 F8 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 79 31 00 00 0E 04 04 00 19 01 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4E 00 00 00 AA 04 B1 04 6E 04 04 00 4C 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 3C 71 11 70 04 03 00 24 A6 0D 72 04 03 00 18 CB 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 24 DA 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 78 27 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 70 17 70 04 90 00 BF [00:05:49]RAPDU: F8 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 79 31 00 00 0E 04 04 00 19 01 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4E 00 00 00 AA 04 B1 04 6E 04 04 00 4C 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 3C 71 11 70 04 03 00 24 A6 0D 72 04 03 00 18 CB 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 24 DA 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 78 27 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 70 17 70 04 90 00 [00:05:49]wFMCommunicate OK [00:05:49]SAM_PROTO_ProcessDocument answer len = 1272 [00:05:49]SAM_PROTO_ProcessDocument remain to read = 1024 [00:05:49]wFMCommunicate request_size=4 [00:05:49]MH_SAM_APDU [00:05:49]CAPDU: 80 17 00 00 [00:05:49]Write to MH i2c: E2 08 00 1F 0C 80 17 00 00 00 00 00 00 AB [00:05:49]Write i2c OK [00:05:49]MH_I2C_Read... [00:05:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:49]Read from MH i2c: E2 [00:05:49]MH_I2C_Read... [00:05:49]Read from MH i2c: E2 FD 00 [00:05:49]MH_I2C_Read... [00:05:49]Read from MH i2c: E2 FD 00 1F 0C 00 02 00 70 17 72 04 00 00 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 90 00 46 [00:05:49]RAPDU: 02 00 70 17 72 04 00 00 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 90 00 [00:05:49]wFMCommunicate OK [00:05:49]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:05:49]SAM_PROTO_ProcessDocument remain to read = 774 [00:05:49]wFMCommunicate request_size=4 [00:05:49]MH_SAM_APDU [00:05:49]CAPDU: 80 17 00 00 [00:05:49]Write to MH i2c: E2 08 00 20 0C 80 17 00 00 00 00 00 00 AC [00:05:49]Write i2c OK [00:05:49]MH_I2C_Read... [00:05:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:50]Read from MH i2c: E2 [00:05:50]MH_I2C_Read... [00:05:50]Read from MH i2c: E2 FD 00 [00:05:50]MH_I2C_Read... [00:05:50]Read from MH i2c: E2 FD 00 20 0C 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 OFD Sender: No OFD packet to send [00:05:50]EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 0E [00:05:50]RAPDU: 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [00:05:50]wFMCommunicate OK [00:05:50]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:05:50]SAM_PROTO_ProcessDocument remain to read = 524 [00:05:50]wFMCommunicate request_size=4 [00:05:50]MH_SAM_APDU [00:05:50]CAPDU: 80 17 00 00 [00:05:50]Write to MH i2c: E2 08 00 21 0C 80 17 00 00 00 00 00 00 AD [00:05:50]Write i2c OK [00:05:50]MH_I2C_Read... [00:05:50]Read from MH i2c: E2 [00:05:50]MH_I2C_Read... [00:05:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:50]Read from MH i2c: E2 FD 00 [00:05:50]MH_I2C_Read... [00:05:50]Read from MH i2c: E2 FD 00 21 0C 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 CA [00:05:50]RAPDU: 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:05:50]wFMCommunicate OK [00:05:50]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:05:50]SAM_PROTO_ProcessDocument remain to read = 274 [00:05:50]wFMCommunicate request_size=4 [00:05:50]MH_SAM_APDU [00:05:50]CAPDU: 80 17 00 00 [00:05:50]Write to MH i2c: E2 08 00 22 0C 80 17 00 00 00 00 00 00 AE [00:05:51]Write i2c OK [00:05:51]MH_I2C_Read... [00:05:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:51]Read from MH i2c: E2 [00:05:51]MH_I2C_Read... [00:05:51]Read from MH i2c: E2 FD 00 [00:05:51]MH_I2C_Read... [00:05:51]Read from MH i2c: E2 FD 00 22 0C 00 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 E3 [00:05:51]RAPDU: 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [00:05:51]wFMCommunicate OK [00:05:51]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:05:51]SAM_PROTO_ProcessDocument remain to read = 24 [00:05:51]wFMCommunicate request_size=4 [00:05:51]MH_SAM_APDU [00:05:51]CAPDU: 80 17 00 00 [00:05:51]Write to MH i2c: E2 08 00 23 0C 80 17 00 00 00 00 00 00 AF [00:05:51]Write i2c OK [00:05:51]MH_I2C_Read... [00:05:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 24! [00:05:51]Read from MH i2c: E2 [00:05:51]MH_I2C_Read... [00:05:51]Read from MH i2c: E2 1B 00 [00:05:51]MH_I2C_Read... [00:05:51]Read from MH i2c: E2 1B 00 23 0C 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 35 04 06 00 36 4A 02 CF 01 CA 90 00 0B [00:05:51]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 35 04 06 00 36 4A 02 CF 01 CA 90 00 [00:05:51]wFMCommunicate OK [00:05:51]SAM_PROTO_ProcessDocument received (without SW) 24 bytes [00:05:51]SAM_PROTO_ProcessDocument done [00:05:51]1209 (1) - 1.0 - номер версии ФФД [00:05:51]1041 (16) - 0000000000965685 - номер ФМ [00:05:51]1040 (4) - 12665 - номер ФД [00:05:51]1038 (4) - 281 - номер смены [00:05:51]1118 (4) - 76 - количество кассовых чеков за смену [00:05:51]1111 (4) - 78 - общее количество ФД за смену [00:05:51]1194 (1201) - счетчики итогов смены [00:05:51] 1134 (4) - 76 - количество чеков со всеми признаками расчетов [00:05:51] 1129 (155) - счетчики операций «приход» [00:05:51] 1135 (4) - 75 - количество чеков по признаку расчетов [00:05:51] 1201 (3) - 11431.00 - общая итоговая сумма в чеках [00:05:51] 1136 (3) - 8945.00 - итоговая сумма в чеках наличными [00:05:51] 1138 (3) - 2486.00 - итоговая сумма в чеках безналичными [00:05:51] 1024 (122) - суммы налогов [00:05:51] 1006 (9) - суммы НДС [00:05:51] 1010 (1) - 0% - код ставки НДС [00:05:51] 1011 (0) - 0.00 - сумма НДС по ставке [00:05:51] 1006 (12) - суммы НДС [00:05:51] 1010 (1) - 12% - код ставки НДС [00:05:51] 1011 (3) - 1213.80 - сумма НДС по ставке [00:05:51] 1007 (9) - суммы НСП [00:05:51] 1014 (1) - 0% - код ставки НСП [00:05:51] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:51] 1007 (11) - суммы НСП [00:05:51] 1014 (1) - 1% - код ставки НСП [00:05:51] 1015 (2) - 101.04 - сумма НСП по ставке [00:05:51] 1007 (9) - суммы НСП [00:05:51] 1014 (1) - 2% - код ставки НСП [00:05:51] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:51] 1007 (9) - суммы НСП [00:05:51] 1014 (1) - 3% - код ставки НСП [00:05:51] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:51] 1007 (9) - суммы НСП [00:05:51] 1014 (1) - 5% - код ставки НСП [00:05:51] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:51] 1007 (9) - суммы НСП [00:05:51] 1014 (1) - 0,50% - код ставки НСП [00:05:51] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:51] 1007 (9) - суммы НСП [00:05:51] 1014 (1) - 1,50% - код ставки НСП [00:05:51] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:51] 1130 (148) - счетчики операций «возврат прихода» [00:05:51] 1135 (4) - 1 - количество чеков по признаку расчетов [00:05:51] 1201 (2) - 60.00 - общая итоговая сумма в чеках [00:05:51] 1136 (2) - 60.00 - итоговая сумма в чеках наличными [00:05:51] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:05:51] 1024 (120) - суммы налогов [00:05:51] 1006 (9) - суммы НДС [00:05:51] 1010 (1) - 0% - код ставки НДС [00:05:51] 1011 (0) - 0.00 - сумма НДС по ставке [00:05:51] 1006 (11) - суммы НДС [00:05:51] 1010 (1) - 12% - код ставки НДС [00:05:51] 1011 (2) - 6.37 - сумма НДС по ставке [00:05:51] 1007 (9) - суммы НСП [00:05:51] 1014 (1) - 0% - код ставки НСП [00:05:51] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:51] 1007 (10) - суммы НСП [00:05:51] 1014 (1) - 1% - код ставки НСП [00:05:51] 1015 (1) - 0.53 - сумма НСП по ставке [00:05:51] 1007 (9) - суммы НСП [00:05:51] 1014 (1) - 2% - код ставки НСП [00:05:51] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:51] 1007 (9) - суммы НСП [00:05:51] 1014 (1) - 3% - код ставки НСП [00:05:51] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:51] 1007 (9) - суммы НСП [00:05:51] 1014 (1) - 5% - код ставки НСП [00:05:51] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:51] 1007 (9) - суммы НСП [00:05:51] 1014 (1) - 0,50% - код ставки НСП [00:05:51] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:51] 1007 (9) - суммы НСП [00:05:51] 1014 (1) - 1,50% - код ставки НСП [00:05:51] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:51] 1131 (141) - счетчики операций «расход» [00:05:51] 1135 (4) - 0 - количество чеков по признаку расчетов [00:05:51] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:05:51] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:05:51] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:05:51] 1024 (117) - суммы налогов [00:05:51] 1006 (9) - суммы НДС [00:05:51] 1010 (1) - 0% - код ставки НДС [00:05:51] 1011 (0) - 0.00 - сумма НДС по ставке [00:05:51] 1006 (9) - суммы НДС [00:05:51] 1010 (1) - 12% - код ставки НДС [00:05:51] 1011 (0) - 0.00 - сумма НДС по ставке [00:05:51] 1007 (9) - суммы НСП [00:05:51] 1014 (1) - 0% - код ставки НСП [00:05:51] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:51] 1007 (9) - суммы НСП [00:05:51] 1014 (1) - 1% - код ставки НСП [00:05:51] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:51] 1007 (9) - суммы НСП [00:05:51] 1014 (1) - 2% - код ставки НСП [00:05:51] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:51] 1007 (9) - суммы НСП [00:05:51] 1014 (1) - 3% - код ставки НСП [00:05:51] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:51] 1007 (9) - суммы НСП [00:05:51] 1014 (1) - 5% - код ставки НСП [00:05:51] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:51] 1007 (9) - суммы НСП [00:05:51] 1014 (1) - 0,50% - код ставки НСП [00:05:51] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:51] 1007 (9) - суммы НСП [00:05:52] 1014 (1) - 1,50% - код ставки НСП [00:05:52] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:52] 1132 (141) - счетчики операций «возврат расхода» [00:05:52] 1135 (4) - 0 - количество чеков по признаку расчетов [00:05:52] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:05:52] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:05:52] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:05:52] 1024 (117) - суммы налогов [00:05:52] 1006 (9) - суммы НДС [00:05:52] 1010 (1) - 0% - код ставки НДС [00:05:52] 1011 (0) - 0.00 - сумма НДС по ставке [00:05:52] 1006 (9) - суммы НДС [00:05:52] 1010 (1) - 12% - код ставки НДС [00:05:52] 1011 (0) - 0.00 - сумма НДС по ставке [00:05:52] 1007 (9) - суммы НСП [00:05:52] 1014 (1) - 0% - код ставки НСП [00:05:52] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:52] 1007 (9) - суммы НСП [00:05:52] 1014 (1) - 1% - код ставки НСП [00:05:52] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:52] 1007 (9) - суммы НСП [00:05:52] 1014 (1) - 2% - код ставки НСП [00:05:52] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:52] 1007 (9) - суммы НСП [00:05:52] 1014 (1) - 3% - код ставки НСП [00:05:52] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:52] 1007 (9) - суммы НСП [00:05:52] 1014 (1) - 5% - код ставки НСП [00:05:52] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:52] 1007 (9) - суммы НСП [00:05:52] 1014 (1) - 0,50% - код ставки НСП [00:05:52] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:52] 1007 (9) - суммы НСП [00:05:52] 1014 (1) - 1,50% - код ставки НСП [00:05:52] 1015 (0) - 0.00 - сумма НСП по ставке [00:05:52] 1133 (588) - - счетчики коррекции - не используются [00:05:52]1077 (6) - 59691502600650 - ФПД [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1209 (04B9) [00:05:52]Malloc new data [00:05:52]Processing tag 1041 (0411) [00:05:52]Processing tag 1040 (0410) [00:05:52]Malloc new data [00:05:52]Processing tag 1038 (040E) [00:05:52]Malloc new data [00:05:52]Processing tag 1118 (045E) [00:05:52]Malloc new data [00:05:52]Processing tag 1111 (0457) [00:05:52]Malloc new data [00:05:52]Processing tag 1194 (04AA) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1134 (046E) [00:05:52]Malloc new data [00:05:52]Processing tag 1129 (0469) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1135 (046F) [00:05:52]Malloc new data [00:05:52]Processing tag 1201 (04B1) [00:05:52]Malloc new data [00:05:52]Processing tag 1136 (0470) [00:05:52]Malloc new data [00:05:52]Processing tag 1138 (0472) [00:05:52]Malloc new data [00:05:52]Processing tag 1024 (0400) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1006 (03EE) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1010 (03F2) [00:05:52]Malloc new data [00:05:52]Processing tag 1011 (03F3) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1006 (03EE) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1010 (03F2) [00:05:52]Malloc new data [00:05:52]Processing tag 1011 (03F3) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1007 (03EF) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1014 (03F6) [00:05:52]Malloc new data [00:05:52]Processing tag 1015 (03F7) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1007 (03EF) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1014 (03F6) [00:05:52]Malloc new data [00:05:52]Processing tag 1015 (03F7) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1007 (03EF) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1014 (03F6) [00:05:52]Malloc new data [00:05:52]Processing tag 1015 (03F7) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1007 (03EF) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1014 (03F6) [00:05:52]Malloc new data [00:05:52]Processing tag 1015 (03F7) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1007 (03EF) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1014 (03F6) [00:05:52]Malloc new data [00:05:52]Processing tag 1015 (03F7) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1007 (03EF) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1014 (03F6) [00:05:52]Malloc new data [00:05:52]Processing tag 1015 (03F7) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1007 (03EF) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1014 (03F6) [00:05:52]Malloc new data [00:05:52]Processing tag 1015 (03F7) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]SetTLVBufToDocument err=0 [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1130 (046A) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1135 (046F) [00:05:52]Malloc new data [00:05:52]Processing tag 1201 (04B1) [00:05:52]Malloc new data [00:05:52]Processing tag 1136 (0470) [00:05:52]Malloc new data [00:05:52]Processing tag 1138 (0472) [00:05:52]Malloc new data [00:05:52]Processing tag 1024 (0400) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1006 (03EE) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1010 (03F2) [00:05:52]Malloc new data [00:05:52]Processing tag 1011 (03F3) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1006 (03EE) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1010 (03F2) [00:05:52]Malloc new data [00:05:52]Processing tag 1011 (03F3) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1007 (03EF) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1014 (03F6) [00:05:52]Malloc new data [00:05:52]Processing tag 1015 (03F7) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1007 (03EF) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1014 (03F6) [00:05:52]Malloc new data [00:05:52]Processing tag 1015 (03F7) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1007 (03EF) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1014 (03F6) [00:05:52]Malloc new data [00:05:52]Processing tag 1015 (03F7) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1007 (03EF) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1014 (03F6) [00:05:52]Malloc new data [00:05:52]Processing tag 1015 (03F7) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1007 (03EF) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1014 (03F6) [00:05:52]Malloc new data [00:05:52]Processing tag 1015 (03F7) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1007 (03EF) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1014 (03F6) [00:05:52]Malloc new data [00:05:52]Processing tag 1015 (03F7) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1007 (03EF) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1014 (03F6) [00:05:52]Malloc new data [00:05:52]Processing tag 1015 (03F7) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]SetTLVBufToDocument err=0 [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1131 (046B) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1135 (046F) [00:05:52]Malloc new data [00:05:52]Processing tag 1201 (04B1) [00:05:52]Malloc new data [00:05:52]Processing tag 1136 (0470) [00:05:52]Malloc new data [00:05:52]Processing tag 1138 (0472) [00:05:52]Malloc new data [00:05:52]Processing tag 1024 (0400) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1006 (03EE) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1010 (03F2) [00:05:52]Malloc new data [00:05:52]Processing tag 1011 (03F3) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1006 (03EE) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1010 (03F2) [00:05:52]Malloc new data [00:05:52]Processing tag 1011 (03F3) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1007 (03EF) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1014 (03F6) [00:05:52]Malloc new data [00:05:52]Processing tag 1015 (03F7) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1007 (03EF) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1014 (03F6) [00:05:52]Malloc new data [00:05:52]Processing tag 1015 (03F7) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1007 (03EF) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1014 (03F6) [00:05:52]Malloc new data [00:05:52]Processing tag 1015 (03F7) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1007 (03EF) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1014 (03F6) [00:05:52]Malloc new data [00:05:52]Processing tag 1015 (03F7) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1007 (03EF) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1014 (03F6) [00:05:52]Malloc new data [00:05:52]Processing tag 1015 (03F7) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1007 (03EF) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1014 (03F6) [00:05:52]Malloc new data [00:05:52]Processing tag 1015 (03F7) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1007 (03EF) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1014 (03F6) [00:05:52]Malloc new data [00:05:52]Processing tag 1015 (03F7) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]SetTLVBufToDocument err=0 [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1132 (046C) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1135 (046F) [00:05:52]Malloc new data [00:05:52]Processing tag 1201 (04B1) [00:05:52]Malloc new data [00:05:52]Processing tag 1136 (0470) [00:05:52]Malloc new data [00:05:52]Processing tag 1138 (0472) [00:05:52]Malloc new data [00:05:52]Processing tag 1024 (0400) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1006 (03EE) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1010 (03F2) [00:05:52]Malloc new data [00:05:52]Processing tag 1011 (03F3) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1006 (03EE) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1010 (03F2) [00:05:52]Malloc new data [00:05:52]Processing tag 1011 (03F3) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1007 (03EF) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1014 (03F6) [00:05:52]Malloc new data [00:05:52]Processing tag 1015 (03F7) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1007 (03EF) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1014 (03F6) [00:05:52]Malloc new data [00:05:52]Processing tag 1015 (03F7) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1007 (03EF) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1014 (03F6) [00:05:52]Malloc new data [00:05:52]Processing tag 1015 (03F7) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1007 (03EF) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1014 (03F6) [00:05:52]Malloc new data [00:05:52]Processing tag 1015 (03F7) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1007 (03EF) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1014 (03F6) [00:05:52]Malloc new data [00:05:52]Processing tag 1015 (03F7) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1007 (03EF) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1014 (03F6) [00:05:52]Malloc new data [00:05:52]Processing tag 1015 (03F7) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1007 (03EF) [00:05:52]Load OK [00:05:52]SetTLVBufToDocument [00:05:52]Processing tag 1014 (03F6) [00:05:52]Malloc new data [00:05:52]Processing tag 1015 (03F7) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]SetTLVBufToDocument err=0 [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1133 (046D) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Processing tag 1077 (0435) [00:05:52]Malloc new data [00:05:52]SetTLVBufToDocument err=0 [00:05:52]Malloc new data [00:05:52]SAM_PROTO_GetFMData [00:05:52]wFMCommunicate request_size=4 [00:05:52]MH_SAM_APDU [00:05:52]CAPDU: 80 13 03 00 [00:05:52]Write to MH i2c: E2 08 00 24 0C 80 13 03 00 00 00 00 00 AF [00:05:52]Write i2c OK [00:05:52]MH_I2C_Read... [00:05:53]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:05:53]Read from MH i2c: E2 [00:05:53]MH_I2C_Read... [00:05:53]Read from MH i2c: E2 FD 00 [00:05:53]MH_I2C_Read... [00:05:53]Read from MH i2c: E2 FD 00 24 0C 00 C1 04 85 04 BD 04 6E 04 04 00 46 2F 00 00 69 04 A0 00 6F 04 04 00 F9 2E 00 00 B1 04 04 00 07 E8 CD 0E 70 04 04 00 46 20 C4 0C 72 04 04 00 C1 C7 09 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A6 76 92 01 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 BF 85 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 D2 86 6F 70 04 03 00 0E 70 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FD D7 0B EF 03 09 00 F6 03 90 00 B5 [00:05:53]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 46 2F 00 00 69 04 A0 00 6F 04 04 00 F9 2E 00 00 B1 04 04 00 07 E8 CD 0E 70 04 04 00 46 20 C4 0C 72 04 04 00 C1 C7 09 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A6 76 92 01 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 BF 85 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 D2 86 6F 70 04 03 00 0E 70 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FD D7 0B EF 03 09 00 F6 03 90 00 [00:05:53]wFMCommunicate OK [00:05:53]wFMCommunicate request_size=4 [00:05:53]MH_SAM_APDU [00:05:53]CAPDU: 80 17 00 00 [00:05:53]Write to MH i2c: E2 08 00 25 0C 80 17 00 00 00 00 00 00 B1 [00:05:53]Write i2c OK [00:05:53]MH_I2C_Read... [00:05:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:53]Read from MH i2c: E2 [00:05:53]MH_I2C_Read... [00:05:53]Read from MH i2c: E2 FD 00 [00:05:53]MH_I2C_Read... [00:05:53]Read from MH i2c: E2 FD 00 25 0C 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A8 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 84 [00:05:53]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A8 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [00:05:54]wFMCommunicate OK [00:05:54]wFMCommunicate request_size=4 [00:05:54]MH_SAM_APDU [00:05:54]CAPDU: 80 17 00 00 [00:05:54]Write to MH i2c: E2 08 00 26 0C 80 17 00 00 00 00 00 00 B2 [00:05:54]Write i2c OK [00:05:54]MH_I2C_Read... [00:05:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:54]Read from MH i2c: E2 [00:05:54]MH_I2C_Read... [00:05:54]Read from MH i2c: E2 FD 00 [00:05:54]MH_I2C_Read... [00:05:54]Read from MH i2c: E2 FD 00 26 0C 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 52 [00:05:54]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [00:05:54]wFMCommunicate OK [00:05:54]wFMCommunicate request_size=4 [00:05:54]MH_SAM_APDU [00:05:54]CAPDU: 80 17 00 00 [00:05:54]Write to MH i2c: E2 08 00 27 0C 80 17 00 00 00 00 00 00 B3 [00:05:54]Write i2c OK [00:05:54]MH_I2C_Read... [00:05:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:54]Read from MH i2c: E2 [00:05:54]MH_I2C_Read... [00:05:54]Read from MH i2c: E2 FD 00 [00:05:54]MH_I2C_Read... [00:05:54]Read from MH i2c: E2 FD 00 27 0C 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 38 [00:05:55]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [00:05:55]wFMCommunicate OK [00:05:55]wFMCommunicate request_size=4 [00:05:55]MH_SAM_APDU [00:05:55]CAPDU: 80 17 00 00 [00:05:55]Write to MH i2c: E2 08 00 28 0C 80 17 00 00 00 00 00 00 B4 [00:05:55]Write i2c OK [00:05:55]MH_I2C_Read... [00:05:55]OFD Sender: No OFD packet to send [00:05:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:05:55]Read from MH i2c: E2 [00:05:55]MH_I2C_Read... [00:05:55]Read from MH i2c: E2 DE 00 [00:05:55]MH_I2C_Read... [00:05:55]Read from MH i2c: E2 DE 00 28 0C 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 93 [00:05:55]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:05:55]wFMCommunicate OK [00:05:55]SAM_PROTO_GetFMData done [00:05:55]Malloc new data [00:05:55]Malloc new data [00:05:55]Malloc new data [00:05:55]Malloc new data [00:05:55]KKMLoadAndSignCloseShiftData err=0 [00:05:55]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Лымарева В. 22.04.2024 00:05 Смена: 281 РНМ: 0000000000100748 ЗНМ: 0300000004 СНО: Общий режим Чеков за смену: 76 ФД за смену: 78 Всего чеков: 76 ИТОГИ ПРИХОД Чеков: 75 Общий итог: 11431.00 Итого наличными: 8945.00 Итого безнал.: 2486.00 НДС 0% : 0.00 НДС 12% : 1213.80 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 101.04 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 1 Общий итог: 60.00 Итого наличными: 60.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 6.37 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.53 ИТОГИ РАСХОД Чеков: 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 Нал. в кассе: 8885.00 НС Приход: 2483753.03 НС Возвр.Прихода: 73090.10 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 12665 ФМ: 0000000000965685 ФПД: 59691502600650 [00:05:55]StoreToDocumentArchive [00:05:55]shift 281 fd 12665 [00:05:55]save to /storage/0281/doc_00012665 [00:05:55]save last doc name /storage/0281/doc_00012665 to /storage/kkm_last_doc_name [00:05:55]save OK [00:05:55]Clear old archive folders... [00:05:55]Remove dir /storage/0266 [00:05:55]opendir ok [00:05:55]file . [00:05:55]file .. [00:05:55]file doc_1713744305 [00:05:55]remove file /storage/0266/doc_1713744305 [00:05:55]remove dir /storage/0266 [00:05:55]NVStorageSaveData kkm_registers [00:05:55]File name is /storage/kkm_registers [00:05:55]Write 24 bytes [00:05:55]NVStorageSaveData done [00:05:55]NVStorageSaveData kkm_registers [00:05:55]File name is /storage/kkm_registers [00:05:55]Write 24 bytes [00:05:55]NVStorageSaveData done [00:05:55]ProcessDocumentItem done err = 0, tmpTLVsize=1382 [00:05:55]tlvbuf is 0173C060 [00:05:55]SAM_PROTO_ClearQueue [00:05:55]wFMCommunicate request_size=4 [00:05:55]MH_SAM_APDU [00:05:55]CAPDU: 80 09 00 00 [00:05:55]Write to MH i2c: E2 08 00 29 0C 80 09 00 00 00 00 00 00 A7 [00:05:55]Write i2c OK [00:05:55]MH_I2C_Read... [00:05:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:05:55]Read from MH i2c: E2 [00:05:55]MH_I2C_Read... [00:05:55]Read from MH i2c: E2 03 00 [00:05:55]MH_I2C_Read... [00:05:55]Read from MH i2c: E2 03 00 29 0C 00 90 00 A9 [00:05:55]RAPDU: 90 00 [00:05:55]wFMCommunicate OK [00:05:55]SAM_PROTO_ClearQueue done [00:05:55]KKMCreateOFDPacket [00:05:55]OFDProtocolAddRootSTLVToBuf [00:05:55]FM_MakeSignedData [00:05:55]FM_MakeSignedData [00:05:55]SAM_PROTO_SignData [00:05:55]wFMCommunicate request_size=4 [00:05:55]MH_SAM_APDU [00:05:55]CAPDU: 80 0D 01 02 [00:05:55]Write to MH i2c: E2 08 00 2A 0C 80 0D 01 02 00 00 00 00 AF [00:05:55]Write i2c OK [00:05:55]MH_I2C_Read... [00:05:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:05:56]Read from MH i2c: E2 [00:05:56]MH_I2C_Read... [00:05:56]Read from MH i2c: E2 03 00 [00:05:56]MH_I2C_Read... [00:05:56]Read from MH i2c: E2 03 00 2A 0C 00 90 00 AA [00:05:56]RAPDU: 90 00 [00:05:56]wFMCommunicate OK [00:05:56]wFMCommunicate request_size=255 [00:05:56]MH_SAM_APDU [00:05:56]CAPDU: 80 0D 02 02 FA 05 00 66 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 15 00 D0 9B D1 8B D0 BC D0 B0 D1 80 D0 B5 D0 B2 D0 B0 20 D0 92 2E 20 F4 03 04 00 DD A9 25 66 0E 04 04 00 19 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 5E 04 04 00 4C 00 00 00 57 04 04 00 4E 00 00 00 AA 04 D8 04 6E 04 04 00 4C 00 00 00 69 04 A2 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 3C 71 11 70 04 03 00 24 A6 0D 72 04 03 00 18 CB 03 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 24 DA 01 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 [00:05:56]Write to MH i2c: E2 02 01 2B 0C 80 0D 02 02 FA 00 05 00 66 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 15 00 D0 9B D1 8B D0 BC D0 B0 D1 80 D0 B5 D0 B2 D0 B0 20 D0 92 2E 20 F4 03 04 00 DD A9 25 66 0E 04 04 00 19 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 5E 04 04 00 4C 00 00 00 57 04 04 00 4E 00 00 00 AA 04 D8 04 6E 04 04 00 4C 00 00 00 69 04 A2 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 3C 71 11 70 04 03 00 24 A6 0D 72 04 03 00 18 CB 03 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 24 DA 01 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 00 00 65 [00:05:56]Write i2c OK [00:05:56]MH_I2C_Read... [00:05:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:05:56]Read from MH i2c: E2 [00:05:56]MH_I2C_Read... [00:05:56]Read from MH i2c: E2 03 00 [00:05:56]MH_I2C_Read... [00:05:56]Read from MH i2c: E2 03 00 2B 0C 00 90 00 AB [00:05:56]RAPDU: 90 00 [00:05:56]wFMCommunicate OK [00:05:56]wFMCommunicate request_size=255 [00:05:56]MH_SAM_APDU [00:05:56]CAPDU: 80 0D 02 02 FA 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 78 27 6A 04 9C 00 6F 04 04 00 01 00 00 00 B1 04 02 00 70 17 70 04 02 00 70 17 72 04 01 00 00 00 04 7F 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 02 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 35 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:05:56]Write to MH i2c: E2 02 01 2C 0C 80 0D 02 02 FA 00 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 78 27 6A 04 9C 00 6F 04 04 00 01 00 00 00 B1 04 02 00 70 17 70 04 02 00 70 17 72 04 01 00 00 00 04 7F 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 02 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 35 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 00 8C [00:05:57]Write i2c OK [00:05:57]MH_I2C_Read... [00:05:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:05:57]Read from MH i2c: E2 [00:05:57]MH_I2C_Read... [00:05:57]Read from MH i2c: E2 03 00 [00:05:57]MH_I2C_Read... [00:05:57]Read from MH i2c: E2 03 00 2C 0C 00 90 00 AC [00:05:57]RAPDU: 90 00 [00:05:57]wFMCommunicate OK [00:05:57]wFMCommunicate request_size=255 [00:05:57]MH_SAM_APDU [00:05:57]CAPDU: 80 0D 02 02 FA 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 [00:05:57]Write to MH i2c: E2 02 01 2D 0C 80 0D 02 02 FA 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 00 79 [00:05:57]Write i2c OK [00:05:57]MH_I2C_Read... [00:05:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:05:57]Read from MH i2c: E2 [00:05:57]MH_I2C_Read... [00:05:57]Read from MH i2c: E2 03 00 [00:05:57]MH_I2C_Read... [00:05:57]Read from MH i2c: E2 03 00 2D 0C 00 90 00 AD [00:05:57]RAPDU: 90 00 [00:05:57]wFMCommunicate OK [00:05:57]wFMCommunicate request_size=255 [00:05:57]MH_SAM_APDU [00:05:57]CAPDU: 80 0D 02 02 FA 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:05:58]Write to MH i2c: E2 02 01 2E 0C 80 0D 02 02 FA 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 00 79 [00:05:58]Write i2c OK [00:05:58]MH_I2C_Read... [00:05:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:05:58]Read from MH i2c: E2 [00:05:58]MH_I2C_Read... [00:05:58]Read from MH i2c: E2 03 00 [00:05:58]MH_I2C_Read... [00:05:58]Read from MH i2c: E2 03 00 2E 0C 00 90 00 AE [00:05:58]RAPDU: 90 00 [00:05:58]wFMCommunicate OK [00:05:58]wFMCommunicate request_size=255 [00:05:58]MH_SAM_APDU [00:05:58]CAPDU: 80 0D 02 02 FA 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 [00:05:58]Write to MH i2c: E2 02 01 2F 0C 80 0D 02 02 FA 00 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 00 00 3F [00:05:59]Write i2c OK [00:05:59]MH_I2C_Read... [00:05:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:05:59]Read from MH i2c: E2 [00:05:59]MH_I2C_Read... [00:05:59]Read from MH i2c: E2 03 00 [00:05:59]MH_I2C_Read... [00:05:59]Read from MH i2c: E2 03 00 2F 0C 00 90 00 AF [00:05:59]RAPDU: 90 00 [00:05:59]wFMCommunicate OK [00:05:59]wFMCommunicate request_size=141 [00:05:59]MH_SAM_APDU [00:05:59]CAPDU: 80 0D 02 02 88 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 79 31 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 35 04 06 00 36 4A 02 CF 01 CA [00:05:59]Write to MH i2c: E2 90 00 30 0C 80 0D 02 02 88 00 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 79 31 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 35 04 06 00 36 4A 02 CF 01 CA 00 00 C5 [00:05:59]Write i2c OK [00:05:59]MH_I2C_Read... [00:05:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:05:59]Read from MH i2c: E2 [00:05:59]MH_I2C_Read... [00:05:59]Read from MH i2c: E2 03 00 [00:05:59]MH_I2C_Read... [00:05:59]Read from MH i2c: E2 03 00 30 0C 00 90 00 B0 [00:05:59]RAPDU: 90 00 [00:05:59]wFMCommunicate OK [00:05:59]wFMCommunicate request_size=4 [00:05:59]MH_SAM_APDU [00:05:59]CAPDU: 80 0D 03 02 [00:05:59]Write to MH i2c: E2 08 00 31 0C 80 0D 03 02 00 00 00 00 B8 [00:05:59]Write i2c OK [00:05:59]MH_I2C_Read... [00:05:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:05:59]Read from MH i2c: E2 [00:05:59]MH_I2C_Read... [00:05:59]Read from MH i2c: E2 0B 00 [00:05:59]MH_I2C_Read... [00:05:59]Read from MH i2c: E2 0B 00 31 0C 00 93 39 A4 E5 0C DC C7 9A 90 00 57 [00:05:59]RAPDU: 93 39 A4 E5 0C DC C7 9A 90 00 [00:05:59]wFMCommunicate OK [00:05:59]SAM_PROTO_SignData done [00:05:59]FM_MakeSignedData done [00:05:59]CreateOFDProtocolMessage [00:05:59]wFMCommunicate request_size=4 [00:05:59]MH_SAM_APDU [00:05:59]CAPDU: 80 11 00 00 [00:05:59]Write to MH i2c: E2 08 00 32 0C 80 11 00 00 00 00 00 00 B8 [00:05:59]Write i2c OK [00:05:59]MH_I2C_Read... [00:05:59]Read from MH i2c: E2 [00:05:59]MH_I2C_Read... [00:05:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:05:59]Read from MH i2c: E2 17 00 [00:05:59]MH_I2C_Read... [00:05:59]Read from MH i2c: E2 17 00 32 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 12 [00:05:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [00:05:59]wFMCommunicate OK [00:05:59]CreateOFDProtocolMessage done [00:05:59]OFDSenderStorePacket 12665 [00:05:59]StoreOFDPacket docnum=12665 [00:06:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 7A 05 00 00 A7 78 72 05 CB EC 5A 05 01 00 05 00 66 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 15 00 D0 9B D1 8B D0 BC D0 B0 D1 80 D0 B5 D0 B2 D0 B0 20 D0 92 2E 20 F4 03 04 00 DD A9 25 66 0E 04 04 00 19 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 5E 04 04 00 4C 00 00 00 57 04 04 00 4E 00 00 00 AA 04 D8 04 6E 04 04 00 4C 00 00 00 69 04 A2 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 3C 71 11 70 04 03 00 24 A6 0D 72 04 03 00 18 CB 03 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 24 DA 01 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 78 27 6A 04 9C 00 6F 04 04 00 01 00 00 00 B1 04 02 00 70 17 70 04 02 00 70 17 72 04 01 00 00 00 04 7F 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 02 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 35 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 79 31 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 35 04 06 00 36 4A 02 CF 01 CA 93 39 A4 E5 0C DC C7 9A [00:06:00]CheckFolder [00:06:00]dirname=/storage/ofd_packets [00:06:00]CheckFolder done [00:06:00]ProducePacketName [00:06:00]name=ofd_packets/00012665 [00:06:00]NVStorageSaveData ofd_packets/00012665 [00:06:00]File name is /storage/ofd_packets/00012665 [00:06:00]Write 1432 bytes [00:06:00]NVStorageSaveData done [00:06:00]OFDSenderStorePacket done [00:06:00]KKMCreateOFDPacket done [00:06:00]NVStorageSaveData kkm_last_timestamp [00:06:00]File name is /storage/kkm_last_timestamp [00:06:00]Write 4 bytes [00:06:00]NVStorageSaveData done [00:06:00]ExternCall_PrintAddStr [00:06:00]wPrintStart [00:06:00]Write to MH i2c: 01 00 00 33 0C 3F [00:06:00]Write i2c OK [00:06:00]MH_I2C_Read... [00:06:00]Read from MH i2c: 01 [00:06:00]MH_I2C_Read... [00:06:00]Read from MH i2c: 01 07 00 [00:06:00]MH_I2C_Read... [00:06:00]Read from MH i2c: 01 07 00 33 0C 00 00 00 00 00 FF 0F 54 [00:06:00]RasterBufferAndPrint [00:06:00]line Отчет о закрытии смены [00:06:00]line ФФД: 1.0 [00:06:00]line ИНН: 02508201610067 [00:06:00]line Кассир: Лымарева В. [00:06:00]line 22.04.2024 00:05 [00:06:00]line Смена: 281 [00:06:00]line РНМ: 0000000000100748 [00:06:00]line ЗНМ: 0300000004 [00:06:00]line СНО: Общий режим [00:06:00]line Чеков за смену: 76 [00:06:00]line ФД за смену: 78 [00:06:00]line Всего чеков: 76 [00:06:00]line ИТОГИ ПРИХОД [00:06:00]line Чеков: 75 [00:06:00]line Общий итог: 11431.00 [00:06:00]line Итого наличными: 8945.00 [00:06:00]line Итого безнал.: 2486.00 [00:06:00]line НДС 0% : 0.00 [00:06:00]line НДС 12% : 1213.80 [00:06:00]line НСП 0% : 0.00 [00:06:00]line НСП 1,50% : 0.00 [00:06:00]line НСП 0,50% : 0.00 [00:06:00]line НСП 5% : 0.00 [00:06:00]line НСП 3% : 0.00 [00:06:00]line НСП 2% : 0.00 [00:06:00]line НСП 1% : 101.04 [00:06:00]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:06:00]line Чеков: 1 [00:06:00]line Общий итог: 60.00 [00:06:00]line Итого наличными: 60.00 [00:06:00]line Итого безнал.: 0.00 [00:06:00]line НДС 0% : 0.00 [00:06:00]line НДС 12% : 6.37 [00:06:00]line НСП 0% : 0.00 [00:06:00]line НСП 1,50% : 0.00 [00:06:00]line НСП 0,50% : 0.00 [00:06:00]line НСП 5% : 0.00 [00:06:00]line НСП 3% : 0.00 [00:06:00]OFD Sender: Processing packet 12665 [packets to send 7, broken 6] [00:06:00]line НСП 2% : 0.00 [00:06:00]ProducePacketName [00:06:00]line НСП 1% : 0.53 [00:06:00]name=ofd_packets/00012665 [00:06:00]line ИТОГИ РАСХОД [00:06:00]OFD Sender: To server: pG, [00:06:00]line Чеков: 0 [00:06:00]CommunicateWithHost lk.salyk.kg:30040 [00:06:00]line Общий итог: 0.00 [00:06:00]ConnectInit lk.salyk.kg [00:06:00]line Итого наличными: 0.00 [00:06:00]line Итого безнал.: 0.00 [00:06:00]line НДС 0% : 0.00 [00:06:00]line НДС 12% : 0.00 [00:06:00]line НСП 0% : 0.00 [00:06:00]line НСП 1,50% : 0.00 [00:06:00]line НСП 0,50% : 0.00 [00:06:00]line НСП 5% : 0.00 [00:06:00]line НСП 3% : 0.00 [00:06:00]line НСП 2% : 0.00 [00:06:00]line НСП 1% : 0.00 [00:06:00]line ИТОГИ ВОЗВРАТ РАСХОДА [00:06:00]line Чеков: 0 [00:06:00]line Общий итог: 0.00 [00:06:00]line Итого наличными: 0.00 [00:06:00]line Итого безнал.: 0.00 [00:06:00]line НДС 0% : 0.00 [00:06:00]line НДС 12% : 0.00 [00:06:00]line НСП 0% : 0.00 [00:06:00]line НСП 1,50% : 0.00 [00:06:00]line НСП 0,50% : 0.00 [00:06:00]line НСП 5% : 0.00 [00:06:00]line НСП 3% : 0.00 [00:06:00]line НСП 2% : 0.00 [00:06:00]line НСП 1% : 0.00 [00:06:00]line Сумма внесений: 0.00 [00:06:00]line Сумма выплат: 0.00 [00:06:00]line Нал. в кассе: 8885.00 [00:06:00]line НС Приход: 2483753.03 [00:06:00]line НС Возвр.Прихода: 73090.10 [00:06:00]line НС Расход: 0.00 [00:06:00]line НС Возвр.Расхода: 0.00 [00:06:00]line ФД: 12665 [00:06:00]line ФМ: 0000000000965685 [00:06:00]line ФПД: 59691502600650 [00:06:00]written 0, free lines is 4095 [00:06:00]Connected sock=10 [00:06:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 7A 05 00 00 A7 78 72 05 CB EC 5A 05 01 00 05 00 66 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 15 00 D0 9B D1 8B D0 BC D0 B0 D1 80 D0 B5 D0 B2 D0 B0 20 D0 92 2E 20 F4 03 04 00 DD A9 25 66 0E 04 04 00 19 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 5E 04 04 00 4C 00 00 00 57 04 04 00 4E 00 00 00 AA 04 D8 04 6E 04 04 00 4C 00 00 00 69 04 A2 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 3C 71 11 70 04 03 00 24 A6 0D 72 04 03 00 18 CB 03 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 24 DA 01 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 78 27 6A 04 9C 00 6F 04 04 00 01 00 00 00 B1 04 02 00 70 17 70 04 02 00 70 17 72 04 01 00 00 00 04 7F 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 02 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 35 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 Write to MH i2c: F2 01 03 00 01 00 00 83 00 0C F3 8F 03 [00:06:01]00 00 EE 03 09 00 F2 03 01 00 01 F3 03 Write i2c OK [00:06:01]00 MH_I2C_Read... [00:06:01]00 Read from MH i2c: EF 01 03 [00:06:01]09 MH_I2C_Read... [00:06:01]00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 Read from MH i2c: 03 01 01 07 00 00 01 [00:06:01]F7 MH_I2C_Read... [00:06:01]03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 Read from MH i2c: F7 01 03 07 00 00 00 83 EF 0C 03 00 09 00 00 00 F6 00 03 00 01 B3 00 0B 04 54 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 [00:06:01]00 RasterBufferAndPrint [00:06:01]00 line [00:06:01]D0 line [00:06:01]04 line [00:06:01]8D line [00:06:01]00 line [00:06:01]6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 written 0, free lines is 3161 [00:06:01]00 72 04 00 00 00 04 75 00 EE 03 09 00 MH_Cut [00:06:01]F2 Write to MH i2c: 03 D1 01 01 00 00 00 8A F3 0C 03 01 00 68 [00:06:01]00 EE Write i2c OK [00:06:01]03 MH_I2C_Read... [00:06:01]09 00 F2 03 01 00 01 F3 03 00 00 EF 03 Read from MH i2c: 09 D1 00 [00:06:01]F6 MH_I2C_Read... [00:06:01]03 Read from MH i2c: 01 D1 00 01 00 00 F7 [00:06:01]03 MH_I2C_Read... [00:06:01]00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 Read from MH i2c: 01 D1 00 01 02 00 F7 8A 03 0C 00 00 00 67 EF [00:06:01]03 Write to MH i2c: 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 01 03 00 00 00 00 8B EF 0C 03 97 09 [00:06:01]00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 Write i2c OK [00:06:01]F6 MH_I2C_Read... [00:06:01]03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 79 31 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 35 04 06 00 36 4A 02 CF 01 CA 93 39 A4 E5 0C DC C7 9A [00:06:02]*** Cut start [00:06:02]*** Partial cut [00:06:02]*** CUTSNS_PIN = 1 [00:06:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 4E 49 47 *** CUTSNS_PIN = 0 [00:06:02]00 EC 37 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 79 31 00 00 F4 03 04 00 69 52 25 66 B6 04 01 00 00 47 F3 BD 7E A5 ED CF C1 [00:06:02]CommunicateWithHost err = 0 [00:06:02]CheckOFDResponse [00:06:02]1017 (14) - 77093643461234 [00:06:02]1041 (16) - 0000000000965685 [00:06:02]1040 (4) - 12665 [00:06:02]1012 (4) - 21.04.2024 17:52 [00:06:02]1206 (1) - 0 [00:06:02]OFD Sender: Remove packet 12665 [00:06:02]ProducePacketName [00:06:02]name=ofd_packets/00012665 [00:06:02]NVStorageDeleteData [00:06:02]*** Brake cut motor [00:06:02]Read from MH i2c: 01 [00:06:03]MH_I2C_Read... [00:06:03]*** Stop cut motor [00:06:03]*** Cut end [00:06:03]Read from MH i2c: 01 07 00 [00:06:03]MH_I2C_Read... [00:06:03]Read from MH i2c: 01 07 00 8B 0C 00 00 00 00 00 FF 0F AC [00:06:03]process_action close_shift done [00:06:03]requested_data is exist [00:06:03]produce_requested_data [00:06:03]requested_item fd.num is exist - process it [00:06:03]SAM_PROTO_GetFieldsCounters [00:06:03]wFMCommunicate request_size=4 [00:06:03]MH_SAM_APDU [00:06:03]CAPDU: 80 13 00 00 [00:06:03]Write to MH i2c: E2 08 00 8C 0C 80 13 00 00 00 00 00 00 14 [00:06:03]Write i2c OK [00:06:03]MH_I2C_Read... [00:06:03]OFD Sender: No OFD packet to send [00:06:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:06:03]Read from MH i2c: E2 [00:06:03]MH_I2C_Read... [00:06:03]Read from MH i2c: E2 62 00 [00:06:03]MH_I2C_Read... [00:06:03]Read from MH i2c: E2 62 00 8C 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 79 31 00 00 0E 04 04 00 19 01 00 00 12 04 04 00 4C 00 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 E0 [00:06:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 79 31 00 00 0E 04 04 00 19 01 00 00 12 04 04 00 4C 00 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:06:03]wFMCommunicate OK [00:06:03]SAM_PROTO_GetFieldsCounters done [00:06:03]requested_item shift.num is exist - process it [00:06:03]requested_item shift.opened is exist - process it [00:06:03]req_shift_opened [00:06:03]FM_GetShiftState [00:06:03]SAM_PROTO_GetShiftState [00:06:03]wFMCommunicate request_size=4 [00:06:03]MH_SAM_APDU [00:06:03]CAPDU: 80 13 01 00 [00:06:03]Write to MH i2c: E2 08 00 8D 0C 80 13 01 00 00 00 00 00 16 [00:06:03]Write i2c OK [00:06:03]MH_I2C_Read... [00:06:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:06:03]Read from MH i2c: E2 [00:06:03]MH_I2C_Read... [00:06:03]Read from MH i2c: E2 0E 00 [00:06:03]MH_I2C_Read... [00:06:03]Read from MH i2c: E2 0E 00 8D 0C 00 09 00 00 00 00 00 00 00 00 00 00 90 00 21 [00:06:03]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:06:03]wFMCommunicate OK [00:06:03]SAM_PROTO_GetShiftState done [00:06:03]FM_GetShiftState done [00:06:03]req_shift_opened done [00:06:03]requested_item shift.open_date is exist - process it [00:06:03]req_shift_open_date [00:06:03]FM_GetShiftState [00:06:03]SAM_PROTO_GetShiftState [00:06:03]wFMCommunicate request_size=4 [00:06:03]MH_SAM_APDU [00:06:03]CAPDU: 80 13 01 00 [00:06:03]Write to MH i2c: E2 08 00 8E 0C 80 13 01 00 00 00 00 00 17 [00:06:03]Write i2c OK [00:06:03]MH_I2C_Read... [00:06:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:06:03]Read from MH i2c: E2 [00:06:03]MH_I2C_Read... [00:06:03]Read from MH i2c: E2 0E 00 [00:06:03]MH_I2C_Read... [00:06:03]Read from MH i2c: E2 0E 00 8E 0C 00 09 00 00 00 00 00 00 00 00 00 00 90 00 22 [00:06:03]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:06:03]wFMCommunicate OK [00:06:03]SAM_PROTO_GetShiftState done [00:06:03]FM_GetShiftState done [00:06:03]req_shift_open_date done [00:06:03]produce_requested_data done [00:06:03]produce_requested_data return {"fd.num":12665,"shift.num":281,"shift.opened":0,"shift.open_date":0} [00:06:03]process_action_free close_shift [00:06:03]json_value_free [00:06:03]json_value_free done [00:06:03]process_json_proto returns [00:06:03]Send response to host [00:06:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":12665,"shift.num":281,"shift.opened":0,"shift.open_date":0}}} [00:06:03]free response buf [00:06:03]execute_script done [00:06:03]execute_script returns [00:06:03]free content buf [00:06:03]Sock 9.Close socket [00:06:03]Sock 9.Thread stoped [00:06:08]OFD Sender: No OFD packet to send [00:06:13]OFD Sender: No OFD packet to send [00:06:18]OFD Sender: No OFD packet to send [00:06:23]OFD Sender: No OFD packet to send [00:06:28]OFD Sender: No OFD packet to send [00:06:33]OFD Sender: No OFD packet to send [00:06:38]OFD Sender: No OFD packet to send [00:06:43]OFD Sender: No OFD packet to send [00:06:48]OFD Sender: No OFD packet to send [00:06:53]OFD Sender: No OFD packet to send [00:06:58]OFD Sender: No OFD packet to send [00:07:03]OFD Sender: No OFD packet to send [00:07:08]OFD Sender: No OFD packet to send [00:07:13]OFD Sender: No OFD packet to send [00:07:18]OFD Sender: No OFD packet to send [00:07:23]OFD Sender: No OFD packet to send [00:07:28]OFD Sender: No OFD packet to send [00:07:33]OFD Sender: No OFD packet to send [00:07:38]OFD Sender: No OFD packet to send [00:07:43]OFD Sender: No OFD packet to send [00:07:48]OFD Sender: No OFD packet to send [00:07:53]OFD Sender: No OFD packet to send [00:07:58]OFD Sender: No OFD packet to send [00:08:03]OFD Sender: No OFD packet to send [00:08:08]OFD Sender: No OFD packet to send [00:08:13]OFD Sender: No OFD packet to send [00:08:18]OFD Sender: No OFD packet to send [00:08:23]OFD Sender: No OFD packet to send [00:08:28]OFD Sender: No OFD packet to send [00:08:33]OFD Sender: No OFD packet to send [00:08:38]OFD Sender: No OFD packet to send [00:08:43]OFD Sender: No OFD packet to send [00:08:48]OFD Sender: No OFD packet to send [00:08:53]OFD Sender: No OFD packet to send [00:08:58]OFD Sender: No OFD packet to send [00:09:03]OFD Sender: No OFD packet to send [00:09:08]OFD Sender: No OFD packet to send [00:09:13]OFD Sender: No OFD packet to send [00:09:18]OFD Sender: No OFD packet to send [00:09:23]OFD Sender: No OFD packet to send [00:09:28]OFD Sender: No OFD packet to send [00:09:33]OFD Sender: No OFD packet to send [00:09:38]OFD Sender: No OFD packet to send [00:09:43]OFD Sender: No OFD packet to send [00:09:48]OFD Sender: No OFD packet to send [00:09:53]OFD Sender: No OFD packet to send [00:09:58]OFD Sender: No OFD packet to send [00:10:03]OFD Sender: No OFD packet to send [00:10:08]OFD Sender: No OFD packet to send [00:10:13]OFD Sender: No OFD packet to send [00:10:18]OFD Sender: No OFD packet to send [00:10:23]OFD Sender: No OFD packet to send [00:10:28]OFD Sender: No OFD packet to send [00:10:33]OFD Sender: No OFD packet to send [00:10:38]OFD Sender: No OFD packet to send [00:10:43]OFD Sender: No OFD packet to send [00:10:48]OFD Sender: No OFD packet to send [00:10:53]OFD Sender: No OFD packet to send [00:10:58]OFD Sender: No OFD packet to send [00:11:03]OFD Sender: No OFD packet to send [00:11:08]OFD Sender: No OFD packet to send [00:11:13]OFD Sender: No OFD packet to send [00:11:18]OFD Sender: No OFD packet to send [00:11:23]OFD Sender: No OFD packet to send [00:11:28]OFD Sender: No OFD packet to send [00:11:33]OFD Sender: No OFD packet to send [00:11:38]OFD Sender: No OFD packet to send [00:11:43]OFD Sender: No OFD packet to send [00:11:48]OFD Sender: No OFD packet to send [00:11:53]OFD Sender: No OFD packet to send [00:11:58]OFD Sender: No OFD packet to send [00:12:03]OFD Sender: No OFD packet to send [00:12:08]OFD Sender: No OFD packet to send [00:12:13]OFD Sender: No OFD packet to send [00:12:18]OFD Sender: No OFD packet to send [00:12:23]OFD Sender: No OFD packet to send [00:12:28]OFD Sender: No OFD packet to send [00:12:33]OFD Sender: No OFD packet to send [00:12:38]OFD Sender: No OFD packet to send [00:12:43]OFD Sender: No OFD packet to send [00:12:48]OFD Sender: No OFD packet to send [00:12:53]OFD Sender: No OFD packet to send [00:12:58]OFD Sender: No OFD packet to send [00:13:03]OFD Sender: No OFD packet to send [00:13:08]OFD Sender: No OFD packet to send [00:13:13]OFD Sender: No OFD packet to send [00:13:18]OFD Sender: No OFD packet to send [00:13:23]OFD Sender: No OFD packet to send [00:13:28]OFD Sender: No OFD packet to send [00:13:33]OFD Sender: No OFD packet to send [00:13:38]OFD Sender: No OFD packet to send [00:13:43]OFD Sender: No OFD packet to send [00:13:48]OFD Sender: No OFD packet to send [00:13:53]OFD Sender: No OFD packet to send [00:13:58]OFD Sender: No OFD packet to send [00:14:03]OFD Sender: No OFD packet to send [00:14:08]OFD Sender: No OFD packet to send [00:14:13]OFD Sender: No OFD packet to send [00:14:18]OFD Sender: No OFD packet to send [00:14:23]OFD Sender: No OFD packet to send [00:14:28]OFD Sender: No OFD packet to send [00:14:33]OFD Sender: No OFD packet to send [00:14:38]OFD Sender: No OFD packet to send [00:14:40]accept exits with 7 [00:14:40]New connection [00:14:40]New thread 3066813796 created [00:14:40]Thread 3066957156 joined [00:14:40]Waiting for new connection... [00:14:40] Sock 7.Parse request [00:14:40]Sock 7.Check first char [00:14:40]Sock 7.First char is OK [00:14:40]request: POST /json_proto HTTP/1.0 [00:14:40]Method: POST [00:14:40]URL: /json_proto [00:14:40]Method is POST - this is cgi request [00:14:40]url: /json_proto [00:14:40]query_string will be loaded in cgi processing [00:14:40]execute_cgi json_proto POST (null) [00:14:40]execute_cgi path=json_proto method=POST [00:14:40]POST find Content-Length [00:14:40]Host: 172.17.62.6:8080 [00:14:40]Content-Length: 215 [00:14:40]Content-Type: application/json [00:14:40] [00:14:40]POST finish read [00:14:40]Found Content-Length = 215 [00:14:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:14:40]execute_script... [00:14:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:14:40]POST & json_proto [00:14:40]process_json_proto [00:14:40]json parsed OK: [00:14:40]protocol is kg_v1.0 [00:14:40]action value=get_value [00:14:40]process_action get_value [00:14:40]cmd_get_value [00:14:40]process_action get_value done [00:14:40]requested_data is exist [00:14:40]produce_requested_data [00:14:40]requested_item kkm.sn is exist - process it [00:14:40]requested_item kkm.ver is exist - process it [00:14:40]requested_item fm.sn is exist - process it [00:14:40]wFMCommunicate request_size=4 [00:14:40]MH_SAM_APDU [00:14:40]CAPDU: 80 11 00 00 [00:14:40]Write to MH i2c: E2 08 00 8F 0C 80 11 00 00 00 00 00 00 15 [00:14:40]Write i2c OK [00:14:40]MH_I2C_Read... [00:14:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:14:40]Read from MH i2c: E2 [00:14:40]MH_I2C_Read... [00:14:40]Read from MH i2c: E2 17 00 [00:14:40]MH_I2C_Read... [00:14:40]Read from MH i2c: E2 17 00 8F 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 6F [00:14:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [00:14:40]wFMCommunicate OK [00:14:40]requested_item fd.num is exist - process it [00:14:40]SAM_PROTO_GetFieldsCounters [00:14:40]wFMCommunicate request_size=4 [00:14:40]MH_SAM_APDU [00:14:40]CAPDU: 80 13 00 00 [00:14:40]Write to MH i2c: E2 08 00 90 0C 80 13 00 00 00 00 00 00 18 [00:14:40]Write i2c OK [00:14:40]MH_I2C_Read... [00:14:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:14:40]Read from MH i2c: E2 [00:14:40]MH_I2C_Read... [00:14:40]Read from MH i2c: E2 62 00 [00:14:40]MH_I2C_Read... [00:14:40]Read from MH i2c: E2 62 00 90 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 79 31 00 00 0E 04 04 00 19 01 00 00 12 04 04 00 4C 00 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 E4 [00:14:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 79 31 00 00 0E 04 04 00 19 01 00 00 12 04 04 00 4C 00 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:14:40]wFMCommunicate OK [00:14:40]SAM_PROTO_GetFieldsCounters done [00:14:40]requested_item shift.num is exist - process it [00:14:40]requested_item shift.opened is exist - process it [00:14:40]req_shift_opened [00:14:40]FM_GetShiftState [00:14:40]SAM_PROTO_GetShiftState [00:14:40]wFMCommunicate request_size=4 [00:14:40]MH_SAM_APDU [00:14:40]CAPDU: 80 13 01 00 [00:14:40]Write to MH i2c: E2 08 00 91 0C 80 13 01 00 00 00 00 00 1A [00:14:40]Write i2c OK [00:14:40]MH_I2C_Read... [00:14:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:14:40]Read from MH i2c: E2 [00:14:40]MH_I2C_Read... [00:14:40]Read from MH i2c: E2 0E 00 [00:14:40]MH_I2C_Read... [00:14:40]Read from MH i2c: E2 0E 00 91 0C 00 09 00 00 00 00 00 00 00 00 00 00 90 00 25 [00:14:40]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:14:40]wFMCommunicate OK [00:14:40]SAM_PROTO_GetShiftState done [00:14:40]FM_GetShiftState done [00:14:40]req_shift_opened done [00:14:40]requested_item shift.open_date is exist - process it [00:14:40]req_shift_open_date [00:14:40]FM_GetShiftState [00:14:40]SAM_PROTO_GetShiftState [00:14:40]wFMCommunicate request_size=4 [00:14:40]MH_SAM_APDU [00:14:40]CAPDU: 80 13 01 00 [00:14:40]Write to MH i2c: E2 08 00 92 0C 80 13 01 00 00 00 00 00 1B [00:14:40]Write i2c OK [00:14:40]MH_I2C_Read... [00:14:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:14:40]Read from MH i2c: E2 [00:14:40]MH_I2C_Read... [00:14:40]Read from MH i2c: E2 0E 00 [00:14:40]MH_I2C_Read... [00:14:40]Read from MH i2c: E2 0E 00 92 0C 00 09 00 00 00 00 00 00 00 00 00 00 90 00 26 [00:14:40]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:14:40]wFMCommunicate OK [00:14:40]SAM_PROTO_GetShiftState done [00:14:40]FM_GetShiftState done [00:14:40]req_shift_open_date done [00:14:40]produce_requested_data done [00:14:40]produce_requested_data return {"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12665,"shift.num":281,"shift.opened":0,"shift.open_date":0} [00:14:40]process_action_free get_value [00:14:40]json_value_free [00:14:40]json_value_free done [00:14:40]process_json_proto returns [00:14:40]Send response to host [00:14:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12665,"shift.num":281,"shift.opened":0,"shift.open_date":0}}} [00:14:40]free response buf [00:14:40]execute_script done [00:14:40]execute_script returns [00:14:40]free content buf [00:14:40]Sock 7.Close socket [00:14:40]Sock 7.Thread stoped [00:14:40]accept exits with 9 [00:14:40]New connection [00:14:40]New thread 3066957156 created [00:14:40]Thread 3066813796 joined [00:14:40]Waiting for new connection... [00:14:40] Sock 9.Parse request [00:14:40]Sock 9.Check first char [00:14:40]Sock 9.First char is OK [00:14:40]request: POST /json_proto HTTP/1.0 [00:14:40]Method: POST [00:14:40]URL: /json_proto [00:14:40]Method is POST - this is cgi request [00:14:40]url: /json_proto [00:14:40]query_string will be loaded in cgi processing [00:14:40]execute_cgi json_proto POST (null) [00:14:40]execute_cgi path=json_proto method=POST [00:14:40]POST find Content-Length [00:14:40]Host: 172.17.62.6:8080 [00:14:40]Content-Length: 331 [00:14:40]Content-Type: application/json [00:14:40] [00:14:40]POST finish read [00:14:40]Found Content-Length = 331 [00:14:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:14:40]execute_script... [00:14:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:14:41]POST & json_proto [00:14:41]process_json_proto [00:14:41]json parsed OK: [00:14:41]protocol is kg_v1.0 [00:14:41]action value=get_value [00:14:41]process_action get_value [00:14:41]cmd_get_value [00:14:41]process_action get_value done [00:14:41]requested_data is exist [00:14:41]produce_requested_data [00:14:41]requested_item fm.sale.total is exist - process it [00:14:41]SAM_PROTO_GetFMData [00:14:41]wFMCommunicate request_size=4 [00:14:41]MH_SAM_APDU [00:14:41]CAPDU: 80 13 03 00 [00:14:41]Write to MH i2c: E2 08 00 93 0C 80 13 03 00 00 00 00 00 1E [00:14:41]Write i2c OK [00:14:41]MH_I2C_Read... [00:14:41]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:14:41]Read from MH i2c: E2 [00:14:41]MH_I2C_Read... [00:14:41]Read from MH i2c: E2 FD 00 [00:14:41]MH_I2C_Read... [00:14:41]Read from MH i2c: E2 FD 00 93 0C 00 C1 04 85 04 BD 04 6E 04 04 00 46 2F 00 00 69 04 A0 00 6F 04 04 00 F9 2E 00 00 B1 04 04 00 07 E8 CD 0E 70 04 04 00 46 20 C4 0C 72 04 04 00 C1 C7 09 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A6 76 92 01 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 BF 85 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 D2 86 6F 70 04 03 00 0E 70 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FD D7 0B EF 03 09 00 F6 03 90 00 24 [00:14:41]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 46 2F 00 00 69 04 A0 00 6F 04 04 00 F9 2E 00 00 B1 04 04 00 07 E8 CD 0E 70 04 04 00 46 20 C4 0C 72 04 04 00 C1 C7 09 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A6 76 92 01 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 BF 85 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 D2 86 6F 70 04 03 00 0E 70 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FD D7 0B EF 03 09 00 F6 03 90 00 [00:14:41]wFMCommunicate OK [00:14:41]wFMCommunicate request_size=4 [00:14:41]MH_SAM_APDU [00:14:41]CAPDU: 80 17 00 00 [00:14:41]Write to MH i2c: E2 08 00 94 0C 80 17 00 00 00 00 00 00 20 [00:14:41]Write i2c OK [00:14:41]MH_I2C_Read... [00:14:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:41]Read from MH i2c: E2 [00:14:41]MH_I2C_Read... [00:14:41]Read from MH i2c: E2 FD 00 [00:14:41]MH_I2C_Read... [00:14:41]Read from MH i2c: E2 FD 00 94 0C 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A8 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 F3 [00:14:41]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A8 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [00:14:41]wFMCommunicate OK [00:14:41]wFMCommunicate request_size=4 [00:14:41]MH_SAM_APDU [00:14:41]CAPDU: 80 17 00 00 [00:14:41]Write to MH i2c: E2 08 00 95 0C 80 17 00 00 00 00 00 00 21 [00:14:41]Write i2c OK [00:14:41]MH_I2C_Read... [00:14:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:42]Read from MH i2c: E2 [00:14:42]MH_I2C_Read... [00:14:42]Read from MH i2c: E2 FD 00 [00:14:42]MH_I2C_Read... [00:14:42]Read from MH i2c: E2 FD 00 95 0C 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 C1 [00:14:42]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [00:14:42]wFMCommunicate OK [00:14:42]wFMCommunicate request_size=4 [00:14:42]MH_SAM_APDU [00:14:42]CAPDU: 80 17 00 00 [00:14:42]Write to MH i2c: E2 08 00 96 0C 80 17 00 00 00 00 00 00 22 [00:14:42]Write i2c OK [00:14:42]MH_I2C_Read... [00:14:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:42]Read from MH i2c: E2 [00:14:42]MH_I2C_Read... [00:14:42]Read from MH i2c: E2 FD 00 [00:14:42]MH_I2C_Read... [00:14:42]Read from MH i2c: E2 FD 00 96 0C 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 A7 [00:14:42]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [00:14:42]wFMCommunicate OK [00:14:42]wFMCommunicate request_size=4 [00:14:42]MH_SAM_APDU [00:14:42]CAPDU: 80 17 00 00 [00:14:42]Write to MH i2c: E2 08 00 97 0C 80 17 00 00 00 00 00 00 23 [00:14:42]Write i2c OK [00:14:42]MH_I2C_Read... [00:14:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:14:42]Read from MH i2c: E2 [00:14:42]MH_I2C_Read... [00:14:42]Read from MH i2c: E2 DE 00 [00:14:42]MH_I2C_Read... [00:14:42]Read from MH i2c: E2 DE 00 97 0C 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 02 [00:14:42]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:14:42]wFMCommunicate OK [00:14:42]SAM_PROTO_GetFMData done [00:14:42]requested_item fm.sale_refund.total is exist - process it [00:14:42]requested_item fm.buy.total is exist - process it [00:14:42]requested_item shift.sale.total is exist - process it [00:14:42]SAM_PROTO_GetShiftData [00:14:42]wFMCommunicate request_size=4 [00:14:42]MH_SAM_APDU [00:14:42]CAPDU: 80 13 02 00 [00:14:42]Write to MH i2c: E2 08 00 98 0C 80 13 02 00 00 00 00 00 22 [00:14:42]Write i2c OK [00:14:42]MH_I2C_Read... [00:14:43]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:14:43]Read from MH i2c: E2 [00:14:43]MH_I2C_Read... [00:14:43]Read from MH i2c: E2 FD 00 [00:14:43]MH_I2C_Read... [00:14:43]Read from MH i2c: E2 FD 00 98 0C 00 B5 04 AA 04 B1 04 6E 04 04 00 4C 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 3C 71 11 70 04 03 00 24 A6 0D 72 04 03 00 18 CB 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 24 DA 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 78 27 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 70 17 70 04 02 00 70 17 72 04 00 00 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 50 [00:14:43]RAPDU: B5 04 AA 04 B1 04 6E 04 04 00 4C 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 3C 71 11 70 04 03 00 24 A6 0D 72 04 03 00 18 CB 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 24 DA 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 78 27 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 70 17 70 04 02 00 70 17 72 04 00 00 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 [00:14:43]wFMCommunicate OK [00:14:43]wFMCommunicate request_size=4 [00:14:43]MH_SAM_APDU [00:14:43]CAPDU: 80 17 00 00 [00:14:43]Write to MH i2c: E2 08 00 99 0C 80 17 00 00 00 00 00 00 25 [00:14:43]Write i2c OK [00:14:43]MH_I2C_Read... [00:14:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:43]Read from MH i2c: E2 [00:14:43]MH_I2C_Read... [00:14:43]Read from MH i2c: E2 FD 00 [00:14:43]MH_I2C_Read... [00:14:43]Read from MH i2c: E2 FD 00 99 0C 00 F6 03 01 00 01 F7 03 01 00 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 90 00 70 [00:14:43]RAPDU: F6 03 01 00 01 F7 03 01 00 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 90 00 [00:14:43]wFMCommunicate OK [00:14:43]wFMCommunicate request_size=4 [00:14:43]MH_SAM_APDU [00:14:43]CAPDU: 80 17 00 00 [00:14:43]Write to MH i2c: E2 08 00 9A 0C 80 17 00 00 00 00 00 00 26 [00:14:43]Write i2c OK [00:14:43]MH_I2C_Read... [00:14:43]OFD Sender: No OFD packet to send [00:14:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:43]Read from MH i2c: E2 [00:14:43]MH_I2C_Read... [00:14:43]Read from MH i2c: E2 FD 00 [00:14:43]MH_I2C_Read... [00:14:43]Read from MH i2c: E2 FD 00 9A 0C 00 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 90 00 E3 [00:14:43]RAPDU: 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 90 00 [00:14:43]wFMCommunicate OK [00:14:43]wFMCommunicate request_size=4 [00:14:43]MH_SAM_APDU [00:14:43]CAPDU: 80 17 00 00 [00:14:43]Write to MH i2c: E2 08 00 9B 0C 80 17 00 00 00 00 00 00 27 [00:14:43]Write i2c OK [00:14:43]MH_I2C_Read... [00:14:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:43]Read from MH i2c: E2 [00:14:43]MH_I2C_Read... [00:14:43]Read from MH i2c: E2 FD 00 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: E2 FD 00 9B 0C 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 90 00 9F [00:14:44]RAPDU: F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 90 00 [00:14:44]wFMCommunicate OK [00:14:44]wFMCommunicate request_size=4 [00:14:44]MH_SAM_APDU [00:14:44]CAPDU: 80 17 00 00 [00:14:44]Write to MH i2c: E2 08 00 9C 0C 80 17 00 00 00 00 00 00 28 [00:14:44]Write i2c OK [00:14:44]MH_I2C_Read... [00:14:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 207! [00:14:44]Read from MH i2c: E2 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: E2 D2 00 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: E2 D2 00 9C 0C 00 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 0B [00:14:44]RAPDU: 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:14:44]wFMCommunicate OK [00:14:44]SAM_PROTO_GetShiftData done [00:14:44]requested_item shift.sale.total_cash is exist - process it [00:14:44]requested_item shift.sale_refund.total is exist - process it [00:14:44]requested_item shift.sale_refund.total_cash is exist - process it [00:14:44]requested_item shift.buy.total is exist - process it [00:14:44]requested_item shift.buy.total_cash is exist - process it [00:14:44]produce_requested_data done [00:14:44]produce_requested_data return {"fm.sale.total":2483753.03,"fm.sale_refund.total":73090.10,"fm.buy.total":0.00,"shift.sale.total":11431.00,"shift.sale.total_cash":8945.00,"shift.sale_refund.total":60.00,"shift.sale_refund.total_cash":60.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:14:44]process_action_free get_value [00:14:44]json_value_free [00:14:44]json_value_free done [00:14:44]process_json_proto returns [00:14:44]Send response to host [00:14:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2483753.03,"fm.sale_refund.total":73090.10,"fm.buy.total":0.00,"shift.sale.total":11431.00,"shift.sale.total_cash":8945.00,"shift.sale_refund.total":60.00,"shift.sale_refund.total_cash":60.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:14:44]free response buf [00:14:44]execute_script done [00:14:44]execute_script returns [00:14:44]free content buf [00:14:44]Sock 9.Close socket [00:14:44]Sock 9.Thread stoped [00:14:44]accept exits with 7 [00:14:44]New connection [00:14:44]New thread 3066813796 created [00:14:44]Thread 3066957156 joined [00:14:44]Waiting for new connection... [00:14:44] Sock 7.Parse request [00:14:44]Sock 7.Check first char [00:14:44]Sock 7.First char is OK [00:14:44]request: POST /json_proto HTTP/1.0 [00:14:44]Method: POST [00:14:44]URL: /json_proto [00:14:44]Method is POST - this is cgi request [00:14:44]url: /json_proto [00:14:44]query_string will be loaded in cgi processing [00:14:44]execute_cgi json_proto POST (null) [00:14:44]execute_cgi path=json_proto method=POST [00:14:44]POST find Content-Length [00:14:44]Host: 172.17.62.6:8080 [00:14:44]Content-Length: 277 [00:14:44]Content-Type: application/json [00:14:44] [00:14:44]POST finish read [00:14:44]Found Content-Length = 277 [00:14:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0422\u043E\u043A\u0442\u043E\u0440\u0431\u0430\u0435\u0432\u0430 \u041D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:14:44]execute_script... [00:14:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0422\u043E\u043A\u0442\u043E\u0440\u0431\u0430\u0435\u0432\u0430 \u041D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:14:44]POST & json_proto [00:14:44]process_json_proto [00:14:44]json parsed OK: [00:14:44]protocol is kg_v1.0 [00:14:44]action value=open_shift [00:14:44]process_action open_shift [00:14:44]cmd_open_shift [00:14:44]MH_GetDate [00:14:44]Write to MH i2c: F0 00 00 9D 0C 98 [00:14:44]Write i2c OK [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: F0 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: F0 09 00 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: F0 09 00 9D 0C 00 F6 AB 25 66 61 69 D2 64 CD [00:14:44]GetLastDocTimeStamp 1713744349 [00:14:44]current date 1713744886 [00:14:44]FM_GetShiftState [00:14:44]SAM_PROTO_GetShiftState [00:14:44]wFMCommunicate request_size=4 [00:14:44]MH_SAM_APDU [00:14:44]CAPDU: 80 13 01 00 [00:14:44]Write to MH i2c: E2 08 00 9E 0C 80 13 01 00 00 00 00 00 27 [00:14:44]Write i2c OK [00:14:44]MH_I2C_Read... [00:14:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:14:44]Read from MH i2c: E2 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: E2 0E 00 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: E2 0E 00 9E 0C 00 09 00 00 00 00 00 00 00 00 00 00 90 00 32 [00:14:44]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:14:44]wFMCommunicate OK [00:14:44]SAM_PROTO_GetShiftState done [00:14:44]FM_GetShiftState done [00:14:44]KKMCreateOpenShiftDocument [00:14:44]Load OK [00:14:44]Malloc new data [00:14:44]MH_GetDate [00:14:44]Write to MH i2c: F0 00 00 9F 0C 9A [00:14:44]Write i2c OK [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: F0 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: F0 09 00 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: F0 09 00 9F 0C 00 F6 AB 25 66 61 69 D2 64 CF [00:14:44]Malloc new data [00:14:44]KKMCreateOpenShiftDocument OK [00:14:44]KKMSetOpenShiftData OK [00:14:44]ProcessDocumentItem done err = 0, tmpTLVsize=185 [00:14:44]tlvbuf is 0164CF40 [00:14:44]KKMLoadAndSignOpenShiftData [00:14:44]SAM_PROTO_ProcessDocument [00:14:44]wFMCommunicate request_size=9 [00:14:44]MH_SAM_APDU [00:14:44]CAPDU: 80 15 01 00 04 02 00 B9 00 [00:14:44]Write to MH i2c: E2 0C 00 A0 0C 80 15 01 00 04 00 02 00 B9 00 00 00 EE [00:14:44]Write i2c OK [00:14:44]MH_I2C_Read... [00:14:44]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:14:44]Read from MH i2c: E2 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: E2 03 00 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: E2 03 00 A0 0C 00 90 00 20 [00:14:44]RAPDU: 90 00 [00:14:44]wFMCommunicate OK [00:14:44]wFMCommunicate request_size=23 [00:14:44]MH_SAM_APDU [00:14:44]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [00:14:44]Write to MH i2c: E2 1A 00 A1 0C 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 22 [00:14:44]Write i2c OK [00:14:44]MH_I2C_Read... [00:14:44]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:14:44]Read from MH i2c: E2 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: E2 03 00 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: E2 03 00 A1 0C 00 90 00 21 [00:14:44]RAPDU: 90 00 [00:14:44]wFMCommunicate OK [00:14:44]wFMCommunicate request_size=36 [00:14:44]MH_SAM_APDU [00:14:44]CAPDU: 80 15 02 00 1F FD 03 1B 00 D0 A2 D0 BE D0 BA D1 82 D0 BE D1 80 D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 9D 2E 20 [00:14:44]Write to MH i2c: E2 27 00 A2 0C 80 15 02 00 1F 00 FD 03 1B 00 D0 A2 D0 BE D0 BA D1 82 D0 BE D1 80 D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 9D 2E 20 00 00 A6 [00:14:44]Write i2c OK [00:14:44]MH_I2C_Read... [00:14:44]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:14:44]Read from MH i2c: E2 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: E2 03 00 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: E2 03 00 A2 0C 00 90 00 22 [00:14:44]RAPDU: 90 00 [00:14:44]wFMCommunicate OK [00:14:44]wFMCommunicate request_size=67 [00:14:44]MH_SAM_APDU [00:14:44]CAPDU: 80 15 02 00 3E F1 03 3A 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B5 D0 BC D0 B8 D0 BD 2C 20 D0 B0 2F D0 B4 20 D0 90 20 33 36 35 2C 20 34 32 2E 37 38 37 39 39 39 2C 20 37 35 2E 37 30 34 33 38 32 [00:14:44]Write to MH i2c: E2 46 00 A3 0C 80 15 02 00 3E 00 F1 03 3A 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B5 D0 BC D0 B8 D0 BD 2C 20 D0 B0 2F D0 B4 20 D0 90 20 33 36 35 2C 20 34 32 2E 37 38 37 39 39 39 2C 20 37 35 2E 37 30 34 33 38 32 00 00 BC [00:14:44]Write i2c OK [00:14:44]MH_I2C_Read... [00:14:44]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:14:45]Read from MH i2c: E2 [00:14:45]MH_I2C_Read... [00:14:45]Read from MH i2c: E2 03 00 [00:14:45]MH_I2C_Read... [00:14:45]Read from MH i2c: E2 03 00 A3 0C 00 90 00 23 [00:14:45]RAPDU: 90 00 [00:14:45]wFMCommunicate OK [00:14:45]wFMCommunicate request_size=51 [00:14:45]MH_SAM_APDU [00:14:45]CAPDU: 80 15 02 00 2E A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 [00:14:45]Write to MH i2c: E2 36 00 A4 0C 80 15 02 00 2E 00 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 00 00 D9 [00:14:45]Write i2c OK [00:14:45]MH_I2C_Read... [00:14:45]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:14:45]Read from MH i2c: E2 [00:14:45]MH_I2C_Read... [00:14:45]Read from MH i2c: E2 03 00 [00:14:45]MH_I2C_Read... [00:14:45]Read from MH i2c: E2 03 00 A4 0C 00 90 00 24 [00:14:45]RAPDU: 90 00 [00:14:45]wFMCommunicate OK [00:14:45]wFMCommunicate request_size=13 [00:14:45]MH_SAM_APDU [00:14:45]CAPDU: 80 15 02 00 08 F4 03 04 00 F6 AB 25 66 [00:14:45]Write to MH i2c: E2 10 00 A5 0C 80 15 02 00 08 00 F4 03 04 00 F6 AB 25 66 00 00 68 [00:14:45]Write i2c OK [00:14:45]MH_I2C_Read... [00:14:45]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:14:45]Read from MH i2c: E2 [00:14:45]MH_I2C_Read... [00:14:45]Read from MH i2c: E2 03 00 [00:14:45]MH_I2C_Read... [00:14:45]Read from MH i2c: E2 03 00 A5 0C 00 90 00 25 [00:14:45]RAPDU: 90 00 [00:14:45]wFMCommunicate OK [00:14:45]wFMCommunicate request_size=25 [00:14:45]MH_SAM_APDU [00:14:45]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 [00:14:45]Write to MH i2c: E2 1C 00 A6 0C 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 00 00 8F [00:14:45]Write i2c OK [00:14:45]MH_I2C_Read... [00:14:45]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:14:45]Read from MH i2c: E2 [00:14:45]MH_I2C_Read... [00:14:45]Read from MH i2c: E2 03 00 [00:14:45]MH_I2C_Read... [00:14:45]Read from MH i2c: E2 03 00 A6 0C 00 90 00 26 [00:14:45]RAPDU: 90 00 [00:14:45]wFMCommunicate OK [00:14:45]wFMCommunicate request_size=4 [00:14:45]MH_SAM_APDU [00:14:45]CAPDU: 80 15 03 00 [00:14:45]Write to MH i2c: E2 08 00 A7 0C 80 15 03 00 00 00 00 00 34 [00:14:45]Write i2c OK [00:14:45]MH_I2C_Read... [00:14:45]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:14:45]Read from MH i2c: E2 [00:14:45]MH_I2C_Read... [00:14:45]Read from MH i2c: E2 38 00 [00:14:45]MH_I2C_Read... [00:14:45]Read from MH i2c: E2 38 00 A7 0C 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 7A 31 00 00 0E 04 04 00 1A 01 00 00 35 04 06 00 59 D4 D3 83 E7 D7 90 00 0E [00:14:45]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 7A 31 00 00 0E 04 04 00 1A 01 00 00 35 04 06 00 59 D4 D3 83 E7 D7 90 00 [00:14:45]wFMCommunicate OK [00:14:45]SAM_PROTO_ProcessDocument answer len = 51 [00:14:45]SAM_PROTO_ProcessDocument done [00:14:45]SetTLVBufToDocument [00:14:45]Processing tag 1209 (04B9) [00:14:45]Malloc new data [00:14:45]Processing tag 1041 (0411) [00:14:45]Processing tag 1040 (0410) [00:14:45]Malloc new data [00:14:45]Processing tag 1038 (040E) [00:14:45]Malloc new data [00:14:45]Processing tag 1077 (0435) [00:14:45]Malloc new data [00:14:45]SetTLVBufToDocument err=0 [00:14:45]KKMLoadAndSignOpenShiftData store KKM data [00:14:45]KKMLoadAndSignOpenShiftData err=0 [00:14:45]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Токторбаева Н. Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 Место: АЗС № 106 "Партнер Нефть" 22.04.2024 00:14 Смена: 282 РНМ: 0000000000100748 ЗНМ: 0300000004 ФД: 12666 ФМ: 0000000000965685 ФПД: 98770616575959 [00:14:45]StoreToDocumentArchive [00:14:45]shift 282 fd 12666 [00:14:45]Create dir for shift 0282 [00:14:45]save to /storage/0282/doc_00012666 [00:14:45]save last doc name /storage/0282/doc_00012666 to /storage/kkm_last_doc_name [00:14:45]save OK [00:14:45]Clear old archive folders... [00:14:45]Remove dir /storage/0281 [00:14:45]opendir ok [00:14:45]file . [00:14:45]file .. [00:14:45]file doc_00012588 [00:14:45]remove file /storage/0281/doc_00012588 [00:14:45]file doc_00012589 [00:14:45]remove file /storage/0281/doc_00012589 [00:14:45]file doc_00012590 [00:14:45]remove file /storage/0281/doc_00012590 [00:14:45]file doc_00012591 [00:14:45]remove file /storage/0281/doc_00012591 [00:14:45]file doc_00012592 [00:14:45]remove file /storage/0281/doc_00012592 [00:14:45]file doc_00012593 [00:14:45]remove file /storage/0281/doc_00012593 [00:14:45]file doc_00012594 [00:14:45]remove file /storage/0281/doc_00012594 [00:14:45]file doc_00012595 [00:14:45]remove file /storage/0281/doc_00012595 [00:14:45]file doc_00012596 [00:14:45]remove file /storage/0281/doc_00012596 [00:14:45]file doc_00012597 [00:14:45]remove file /storage/0281/doc_00012597 [00:14:45]file doc_00012598 [00:14:45]remove file /storage/0281/doc_00012598 [00:14:45]file doc_00012599 [00:14:45]remove file /storage/0281/doc_00012599 [00:14:45]file doc_00012600 [00:14:45]remove file /storage/0281/doc_00012600 [00:14:45]file doc_00012601 [00:14:45]remove file /storage/0281/doc_00012601 [00:14:45]file doc_00012602 [00:14:45]remove file /storage/0281/doc_00012602 [00:14:45]file doc_00012603 [00:14:45]remove file /storage/0281/doc_00012603 [00:14:45]file doc_00012604 [00:14:45]remove file /storage/0281/doc_00012604 [00:14:45]file doc_00012605 [00:14:45]remove file /storage/0281/doc_00012605 [00:14:45]file doc_00012606 [00:14:45]remove file /storage/0281/doc_00012606 [00:14:45]file doc_00012607 [00:14:45]remove file /storage/0281/doc_00012607 [00:14:45]file doc_00012608 [00:14:45]remove file /storage/0281/doc_00012608 [00:14:45]file doc_00012609 [00:14:45]remove file /storage/0281/doc_00012609 [00:14:45]file doc_00012610 [00:14:45]remove file /storage/0281/doc_00012610 [00:14:45]file doc_00012611 [00:14:45]remove file /storage/0281/doc_00012611 [00:14:45]file doc_00012612 [00:14:45]remove file /storage/0281/doc_00012612 [00:14:45]file doc_00012613 [00:14:45]remove file /storage/0281/doc_00012613 [00:14:45]file doc_00012614 [00:14:45]remove file /storage/0281/doc_00012614 [00:14:45]file doc_00012615 [00:14:45]remove file /storage/0281/doc_00012615 [00:14:45]file doc_00012616 [00:14:45]remove file /storage/0281/doc_00012616 [00:14:45]file doc_00012617 [00:14:45]remove file /storage/0281/doc_00012617 [00:14:45]file doc_00012618 [00:14:45]remove file /storage/0281/doc_00012618 [00:14:45]file doc_00012619 [00:14:45]remove file /storage/0281/doc_00012619 [00:14:45]file doc_00012620 [00:14:45]remove file /storage/0281/doc_00012620 [00:14:45]file doc_00012621 [00:14:45]remove file /storage/0281/doc_00012621 [00:14:45]file doc_00012622 [00:14:45]remove file /storage/0281/doc_00012622 [00:14:45]file doc_00012623 [00:14:45]remove file /storage/0281/doc_00012623 [00:14:45]file doc_00012624 [00:14:45]remove file /storage/0281/doc_00012624 [00:14:45]file doc_00012625 [00:14:45]remove file /storage/0281/doc_00012625 [00:14:45]file doc_00012626 [00:14:45]remove file /storage/0281/doc_00012626 [00:14:45]file doc_00012627 [00:14:45]remove file /storage/0281/doc_00012627 [00:14:45]file doc_00012628 [00:14:45]remove file /storage/0281/doc_00012628 [00:14:45]file doc_00012629 [00:14:45]remove file /storage/0281/doc_00012629 [00:14:45]file doc_00012630 [00:14:45]remove file /storage/0281/doc_00012630 [00:14:45]file doc_00012631 [00:14:45]remove file /storage/0281/doc_00012631 [00:14:45]file doc_00012632 [00:14:45]remove file /storage/0281/doc_00012632 [00:14:45]file doc_00012633 [00:14:45]remove file /storage/0281/doc_00012633 [00:14:45]file doc_00012634 [00:14:45]remove file /storage/0281/doc_00012634 [00:14:45]file doc_00012635 [00:14:45]remove file /storage/0281/doc_00012635 [00:14:45]file doc_00012636 [00:14:45]remove file /storage/0281/doc_00012636 [00:14:45]file doc_00012637 [00:14:45]remove file /storage/0281/doc_00012637 [00:14:45]file doc_00012638 [00:14:45]remove file /storage/0281/doc_00012638 [00:14:45]file doc_00012639 [00:14:45]remove file /storage/0281/doc_00012639 [00:14:45]file doc_00012640 [00:14:45]remove file /storage/0281/doc_00012640 [00:14:45]file doc_00012641 [00:14:45]remove file /storage/0281/doc_00012641 [00:14:45]file doc_00012642 [00:14:45]remove file /storage/0281/doc_00012642 [00:14:45]file doc_00012643 [00:14:45]remove file /storage/0281/doc_00012643 [00:14:45]file doc_00012644 [00:14:45]remove file /storage/0281/doc_00012644 [00:14:45]file doc_00012645 [00:14:45]remove file /storage/0281/doc_00012645 [00:14:45]file doc_00012646 [00:14:45]remove file /storage/0281/doc_00012646 [00:14:45]file doc_00012647 [00:14:45]remove file /storage/0281/doc_00012647 [00:14:45]file doc_00012648 [00:14:45]remove file /storage/0281/doc_00012648 [00:14:45]file doc_00012649 [00:14:45]remove file /storage/0281/doc_00012649 [00:14:45]file doc_00012650 [00:14:45]remove file /storage/0281/doc_00012650 [00:14:45]file doc_00012651 [00:14:45]remove file /storage/0281/doc_00012651 [00:14:45]file doc_00012652 [00:14:45]remove file /storage/0281/doc_00012652 [00:14:45]file doc_00012653 [00:14:45]remove file /storage/0281/doc_00012653 [00:14:45]file doc_00012654 [00:14:45]remove file /storage/0281/doc_00012654 [00:14:45]file doc_00012655 [00:14:45]remove file /storage/0281/doc_00012655 [00:14:45]file doc_00012656 [00:14:45]remove file /storage/0281/doc_00012656 [00:14:45]file doc_00012657 [00:14:45]remove file /storage/0281/doc_00012657 [00:14:45]file doc_00012658 [00:14:45]remove file /storage/0281/doc_00012658 [00:14:45]file doc_00012659 [00:14:45]remove file /storage/0281/doc_00012659 [00:14:45]file doc_00012660 [00:14:45]remove file /storage/0281/doc_00012660 [00:14:45]file doc_00012661 [00:14:45]remove file /storage/0281/doc_00012661 [00:14:45]file doc_00012662 [00:14:45]remove file /storage/0281/doc_00012662 [00:14:45]file doc_00012663 [00:14:45]remove file /storage/0281/doc_00012663 [00:14:45]file doc_00012664 [00:14:45]remove file /storage/0281/doc_00012664 [00:14:45]file doc_00012665 [00:14:45]remove file /storage/0281/doc_00012665 [00:14:45]remove dir /storage/0281 [00:14:45]ProcessDocumentItem done err = 0, tmpTLVsize=236 [00:14:45]tlvbuf is 0169D6D0 [00:14:45]SAM_PROTO_ClearQueue [00:14:45]wFMCommunicate request_size=4 [00:14:45]MH_SAM_APDU [00:14:45]CAPDU: 80 09 00 00 [00:14:45]Write to MH i2c: E2 08 00 A8 0C 80 09 00 00 00 00 00 00 26 [00:14:46]Write i2c OK [00:14:46]MH_I2C_Read... [00:14:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:14:46]Read from MH i2c: E2 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: E2 03 00 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: E2 03 00 A8 0C 00 90 00 28 [00:14:46]RAPDU: 90 00 [00:14:46]wFMCommunicate OK [00:14:46]SAM_PROTO_ClearQueue done [00:14:46]KKMCreateOFDPacket [00:14:46]OFDProtocolAddRootSTLVToBuf [00:14:46]FM_MakeSignedData [00:14:46]FM_MakeSignedData [00:14:46]SAM_PROTO_SignData [00:14:46]wFMCommunicate request_size=4 [00:14:46]MH_SAM_APDU [00:14:46]CAPDU: 80 0D 01 02 [00:14:46]Write to MH i2c: E2 08 00 A9 0C 80 0D 01 02 00 00 00 00 2E [00:14:46]Write i2c OK [00:14:46]MH_I2C_Read... [00:14:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:14:46]Read from MH i2c: E2 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: E2 03 00 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: E2 03 00 A9 0C 00 90 00 29 [00:14:46]RAPDU: 90 00 [00:14:46]wFMCommunicate OK [00:14:46]wFMCommunicate request_size=245 [00:14:46]MH_SAM_APDU [00:14:46]CAPDU: 80 0D 02 02 F0 02 00 EC 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 1B 00 D0 A2 D0 BE D0 BA D1 82 D0 BE D1 80 D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 9D 2E 20 F1 03 3A 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B5 D0 BC D0 B8 D0 BD 2C 20 D0 B0 2F D0 B4 20 D0 90 20 33 36 35 2C 20 34 32 2E 37 38 37 39 39 39 2C 20 37 35 2E 37 30 34 33 38 32 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 F6 AB 25 66 0E 04 04 00 1A 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 7A 31 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 35 04 06 00 59 D4 D3 83 E7 D7 [00:14:46]Write to MH i2c: E2 F8 00 AA 0C 80 0D 02 02 F0 00 02 00 EC 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 1B 00 D0 A2 D0 BE D0 BA D1 82 D0 BE D1 80 D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 9D 2E 20 F1 03 3A 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B5 D0 BC D0 B8 D0 BD 2C 20 D0 B0 2F D0 B4 20 D0 90 20 33 36 35 2C 20 34 32 2E 37 38 37 39 39 39 2C 20 37 35 2E 37 30 34 33 38 32 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 F6 AB 25 66 0E 04 04 00 1A 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 7A 31 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 35 04 06 00 59 D4 D3 83 E7 D7 00 00 42 [00:14:46]Write i2c OK [00:14:46]MH_I2C_Read... [00:14:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:14:46]Read from MH i2c: E2 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: E2 03 00 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: E2 03 00 AA 0C 00 90 00 2A [00:14:46]RAPDU: 90 00 [00:14:46]wFMCommunicate OK [00:14:46]wFMCommunicate request_size=4 [00:14:46]MH_SAM_APDU [00:14:46]CAPDU: 80 0D 03 02 [00:14:46]Write to MH i2c: E2 08 00 AB 0C 80 0D 03 02 00 00 00 00 32 [00:14:46]Write i2c OK [00:14:46]MH_I2C_Read... [00:14:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:14:46]Read from MH i2c: E2 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: E2 0B 00 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: E2 0B 00 AB 0C 00 00 77 72 F9 FC F5 98 D4 90 00 72 [00:14:46]RAPDU: 00 77 72 F9 FC F5 98 D4 90 00 [00:14:46]wFMCommunicate OK [00:14:46]SAM_PROTO_SignData done [00:14:46]FM_MakeSignedData done [00:14:46]CreateOFDProtocolMessage [00:14:46]wFMCommunicate request_size=4 [00:14:46]MH_SAM_APDU [00:14:46]CAPDU: 80 11 00 00 [00:14:46]Write to MH i2c: E2 08 00 AC 0C 80 11 00 00 00 00 00 00 32 [00:14:46]Write i2c OK [00:14:46]MH_I2C_Read... [00:14:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:14:46]Read from MH i2c: E2 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: E2 17 00 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: E2 17 00 AC 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 8C [00:14:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [00:14:46]wFMCommunicate OK [00:14:46]CreateOFDProtocolMessage done [00:14:46]OFDSenderStorePacket 12666 [00:14:46]StoreOFDPacket docnum=12666 [00:14:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 00 01 00 00 B7 C2 F8 00 3A CC 5A 02 01 00 02 00 EC 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 1B 00 D0 A2 D0 BE D0 BA D1 82 D0 BE D1 80 D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 9D 2E 20 F1 03 3A 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B5 D0 BC D0 B8 D0 BD 2C 20 D0 B0 2F D0 B4 20 D0 90 20 33 36 35 2C 20 34 32 2E 37 38 37 39 39 39 2C 20 37 35 2E 37 30 34 33 38 32 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 F6 AB 25 66 0E 04 04 00 1A 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 7A 31 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 35 04 06 00 59 D4 D3 83 E7 D7 00 77 72 F9 FC F5 98 D4 [00:14:46]CheckFolder [00:14:46]dirname=/storage/ofd_packets [00:14:46]CheckFolder done [00:14:46]ProducePacketName [00:14:46]name=ofd_packets/00012666 [00:14:46]NVStorageSaveData ofd_packets/00012666 [00:14:46]File name is /storage/ofd_packets/00012666 [00:14:46]Write 286 bytes [00:14:46]NVStorageSaveData done [00:14:46]OFDSenderStorePacket done [00:14:46]KKMCreateOFDPacket done [00:14:46]NVStorageSaveData kkm_last_timestamp [00:14:46]File name is /storage/kkm_last_timestamp [00:14:46]Write 4 bytes [00:14:46]NVStorageSaveData done [00:14:46]ExternCall_PrintAddStr [00:14:46]wPrintStart [00:14:46]Write to MH i2c: 01 00 00 AD 0C B9 [00:14:46]Write i2c OK [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: 01 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: 01 07 00 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: 01 07 00 AD 0C 00 00 00 00 00 FF 0F CE [00:14:46]RasterBufferAndPrint [00:14:46]line Отчет об открытии смены [00:14:46]line ФФД: 1.0 [00:14:46]line ИНН: 02508201610067 [00:14:46]line Кассир: Токторбаева Н. [00:14:46]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [00:14:46]line Место: АЗС № 106 "Партнер Нефть" [00:14:46]line 22.04.2024 00:14 [00:14:46]line Смена: 282 [00:14:46]line РНМ: 0000000000100748 [00:14:46]line ЗНМ: 0300000004 [00:14:46]line ФД: 12666 [00:14:46]line ФМ: 0000000000965685 [00:14:46]line ФПД: 98770616575959 [00:14:46]written 0, free lines is 4095 [00:14:46]OFD Sender: Processing packet 12666 [packets to send 7, broken 6] [00:14:46]ProducePacketName [00:14:46]name=ofd_packets/00012666 [00:14:46]OFD Sender: To server: pG, [00:14:46]CommunicateWithHost lk.salyk.kg:30040 [00:14:46]ConnectInit lk.salyk.kg [00:14:46]Connected sock=9 [00:14:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 00 01 00 00 B7 C2 F8 00 3A CC 5A 02 01 00 02 00 EC 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 1B 00 D0 A2 D0 BE D0 BA D1 82 D0 BE D1 80 D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 9D 2E 20 F1 03 3A 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B5 D0 BC D0 B8 D0 BD 2C 20 D0 B0 2F D0 B4 20 D0 90 20 33 36 35 2C 20 34 32 2E 37 38 37 39 39 39 2C 20 37 35 2E 37 30 34 33 38 32 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 F6 AB 25 66 0E 04 04 00 1A 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 7A 31 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 35 04 06 00 59 D4 D3 83 E7 D7 00 77 72 F9 FC F5 98 D4 [00:14:46]Write to MH i2c: 01 00 00 BE 0C CA [00:14:46]Write i2c OK [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: 01 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: 01 07 00 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: 01 07 00 BE 0C 00 00 00 00 00 F6 0E D5 [00:14:46]RasterBufferAndPrint [00:14:46]line [00:14:46]line [00:14:46]line [00:14:46]line [00:14:46]line [00:14:46]written 0, free lines is 3846 [00:14:46]MH_Cut [00:14:46]Write to MH i2c: D1 01 00 C5 0C 01 A3 [00:14:46]Write i2c OK [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: D1 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: D1 01 00 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: D1 01 00 C5 0C 00 A2 [00:14:46]Write to MH i2c: 01 00 00 C6 0C D2 [00:14:47]Write i2c OK [00:14:47]MH_I2C_Read... [00:14:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 B7 EA 47 00 6E 9C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 7A 31 00 00 F4 03 04 00 76 54 25 66 B6 04 01 00 00 BA 1D 56 BE 90 9B F5 6B [00:14:47]CommunicateWithHost err = 0 [00:14:47]CheckOFDResponse [00:14:47]1017 (14) - 77093643461234 [00:14:47]1041 (16) - 0000000000965685 [00:14:47]1040 (4) - 12666 [00:14:47]1012 (4) - 21.04.2024 18:01 [00:14:47]1206 (1) - 0 [00:14:47]OFD Sender: Remove packet 12666 [00:14:47]ProducePacketName [00:14:47]name=ofd_packets/00012666 [00:14:47]NVStorageDeleteData [00:14:47]*** Cut start [00:14:47]*** Partial cut [00:14:47]*** CUTSNS_PIN = 1 [00:14:47]*** CUTSNS_PIN = 0 [00:14:47]*** Brake cut motor [00:14:47]OFD Sender: No OFD packet to send [00:14:47]Read from MH i2c: 01 [00:14:47]MH_I2C_Read... [00:14:47]*** Stop cut motor [00:14:47]*** Cut end [00:14:47]Read from MH i2c: 01 07 00 [00:14:47]MH_I2C_Read... [00:14:47]Read from MH i2c: 01 07 00 C6 0C 00 00 00 00 00 FF 0F E7 [00:14:47]process_action open_shift done [00:14:47]requested_data is exist [00:14:47]produce_requested_data [00:14:47]requested_item fd.num is exist - process it [00:14:47]SAM_PROTO_GetFieldsCounters [00:14:47]wFMCommunicate request_size=4 [00:14:47]MH_SAM_APDU [00:14:47]CAPDU: 80 13 00 00 [00:14:47]Write to MH i2c: E2 08 00 C7 0C 80 13 00 00 00 00 00 00 4F [00:14:47]Write i2c OK [00:14:47]MH_I2C_Read... [00:14:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:14:48]Read from MH i2c: E2 [00:14:48]MH_I2C_Read... [00:14:48]Read from MH i2c: E2 62 00 [00:14:48]MH_I2C_Read... [00:14:48]Read from MH i2c: E2 62 00 C7 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 7A 31 00 00 0E 04 04 00 1A 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 38 [00:14:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 7A 31 00 00 0E 04 04 00 1A 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:14:48]wFMCommunicate OK [00:14:48]SAM_PROTO_GetFieldsCounters done [00:14:48]requested_item shift.num is exist - process it [00:14:48]requested_item shift.opened is exist - process it [00:14:48]req_shift_opened [00:14:48]FM_GetShiftState [00:14:48]SAM_PROTO_GetShiftState [00:14:48]wFMCommunicate request_size=4 [00:14:48]MH_SAM_APDU [00:14:48]CAPDU: 80 13 01 00 [00:14:48]Write to MH i2c: E2 08 00 C8 0C 80 13 01 00 00 00 00 00 51 [00:14:48]Write i2c OK [00:14:48]MH_I2C_Read... [00:14:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:14:48]Read from MH i2c: E2 [00:14:48]MH_I2C_Read... [00:14:48]Read from MH i2c: E2 0E 00 [00:14:48]MH_I2C_Read... [00:14:48]Read from MH i2c: E2 0E 00 C8 0C 00 09 00 01 F6 AB 25 66 00 00 00 00 90 00 89 [00:14:48]RAPDU: 09 00 01 F6 AB 25 66 00 00 00 00 90 00 [00:14:48]wFMCommunicate OK [00:14:48]SAM_PROTO_GetShiftState done [00:14:48]FM_GetShiftState done [00:14:48]req_shift_opened done [00:14:48]requested_item shift.open_date is exist - process it [00:14:48]req_shift_open_date [00:14:48]req_shift_open_date done [00:14:48]produce_requested_data done [00:14:48]produce_requested_data return {"fd.num":12666,"shift.num":282,"shift.opened":1,"shift.open_date":1713744886} [00:14:48]process_action_free open_shift [00:14:48]json_value_free [00:14:48]json_value_free done [00:14:48]process_json_proto returns [00:14:48]Send response to host [00:14:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":12666,"shift.num":282,"shift.opened":1,"shift.open_date":1713744886}}} [00:14:48]free response buf [00:14:48]execute_script done [00:14:48]execute_script returns [00:14:48]free content buf [00:14:48]Sock 7.Close socket [00:14:48]Sock 7.Thread stoped [00:14:48]accept exits with 10 [00:14:48]New connection [00:14:48]New thread 3066957156 created [00:14:48]Thread 3066813796 joined [00:14:48]Waiting for new connection... [00:14:48] Sock 10.Parse request [00:14:48]Sock 10.Check first char [00:14:48]Sock 10.First char is OK [00:14:48]request: POST /json_proto HTTP/1.0 [00:14:48]Method: POST [00:14:48]URL: /json_proto [00:14:48]Method is POST - this is cgi request [00:14:48]url: /json_proto [00:14:48]query_string will be loaded in cgi processing [00:14:48]execute_cgi json_proto POST (null) [00:14:48]execute_cgi path=json_proto method=POST [00:14:48]POST find Content-Length [00:14:48]Host: 172.17.62.6:8080 [00:14:48]Content-Length: 331 [00:14:48]Content-Type: application/json [00:14:48] [00:14:48]POST finish read [00:14:48]Found Content-Length = 331 [00:14:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:14:48]execute_script... [00:14:48]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:14:48]POST & json_proto [00:14:48]process_json_proto [00:14:48]json parsed OK: [00:14:48]protocol is kg_v1.0 [00:14:48]action value=get_value [00:14:48]process_action get_value [00:14:48]cmd_get_value [00:14:48]process_action get_value done [00:14:48]requested_data is exist [00:14:48]produce_requested_data [00:14:48]requested_item fm.sale.total is exist - process it [00:14:48]SAM_PROTO_GetFMData [00:14:48]wFMCommunicate request_size=4 [00:14:48]MH_SAM_APDU [00:14:48]CAPDU: 80 13 03 00 [00:14:48]Write to MH i2c: E2 08 00 C9 0C 80 13 03 00 00 00 00 00 54 [00:14:48]Write i2c OK [00:14:48]MH_I2C_Read... [00:14:48]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:14:48]Read from MH i2c: E2 [00:14:48]MH_I2C_Read... [00:14:48]Read from MH i2c: E2 FD 00 [00:14:48]MH_I2C_Read... [00:14:48]Read from MH i2c: E2 FD 00 C9 0C 00 C1 04 85 04 BD 04 6E 04 04 00 46 2F 00 00 69 04 A0 00 6F 04 04 00 F9 2E 00 00 B1 04 04 00 07 E8 CD 0E 70 04 04 00 46 20 C4 0C 72 04 04 00 C1 C7 09 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A6 76 92 01 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 BF 85 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 D2 86 6F 70 04 03 00 0E 70 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FD D7 0B EF 03 09 00 F6 03 90 00 5A [00:14:48]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 46 2F 00 00 69 04 A0 00 6F 04 04 00 F9 2E 00 00 B1 04 04 00 07 E8 CD 0E 70 04 04 00 46 20 C4 0C 72 04 04 00 C1 C7 09 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A6 76 92 01 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 BF 85 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 D2 86 6F 70 04 03 00 0E 70 6D 72 04 03 00 C4 16 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FD D7 0B EF 03 09 00 F6 03 90 00 [00:14:48]wFMCommunicate OK [00:14:48]wFMCommunicate request_size=4 [00:14:48]MH_SAM_APDU [00:14:48]CAPDU: 80 17 00 00 [00:14:48]Write to MH i2c: E2 08 00 CA 0C 80 17 00 00 00 00 00 00 56 [00:14:48]Write i2c OK [00:14:48]MH_I2C_Read... [00:14:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:49]Read from MH i2c: E2 [00:14:49]MH_I2C_Read... [00:14:49]Read from MH i2c: E2 FD 00 [00:14:49]MH_I2C_Read... [00:14:49]Read from MH i2c: E2 FD 00 CA 0C 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A8 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 29 [00:14:49]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A8 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [00:14:49]wFMCommunicate OK [00:14:49]wFMCommunicate request_size=4 [00:14:49]MH_SAM_APDU [00:14:49]CAPDU: 80 17 00 00 [00:14:49]Write to MH i2c: E2 08 00 CB 0C 80 17 00 00 00 00 00 00 57 [00:14:49]Write i2c OK [00:14:49]MH_I2C_Read... [00:14:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:49]Read from MH i2c: E2 [00:14:49]MH_I2C_Read... [00:14:49]Read from MH i2c: E2 FD 00 [00:14:49]MH_I2C_Read... [00:14:49]Read from MH i2c: E2 FD 00 CB 0C 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 F7 [00:14:49]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 90 00 [00:14:49]wFMCommunicate OK [00:14:49]wFMCommunicate request_size=4 [00:14:49]MH_SAM_APDU [00:14:49]CAPDU: 80 17 00 00 [00:14:49]Write to MH i2c: E2 08 00 CC 0C 80 17 00 00 00 00 00 00 58 [00:14:49]Write i2c OK [00:14:49]MH_I2C_Read... [00:14:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:50]Read from MH i2c: E2 [00:14:50]MH_I2C_Read... [00:14:50]Read from MH i2c: E2 FD 00 [00:14:50]MH_I2C_Read... [00:14:50]Read from MH i2c: E2 FD 00 CC 0C 00 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 DD [00:14:50]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [00:14:50]wFMCommunicate OK [00:14:50]wFMCommunicate request_size=4 [00:14:50]MH_SAM_APDU [00:14:50]CAPDU: 80 17 00 00 [00:14:50]Write to MH i2c: E2 08 00 CD 0C 80 17 00 00 00 00 00 00 59 [00:14:50]Write i2c OK [00:14:50]MH_I2C_Read... [00:14:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:14:50]Read from MH i2c: E2 [00:14:50]MH_I2C_Read... [00:14:50]Read from MH i2c: E2 DE 00 [00:14:50]MH_I2C_Read... [00:14:50]Read from MH i2c: E2 DE 00 CD 0C 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 38 [00:14:50]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:14:50]wFMCommunicate OK [00:14:50]SAM_PROTO_GetFMData done [00:14:50]requested_item fm.sale_refund.total is exist - process it [00:14:50]requested_item fm.buy.total is exist - process it [00:14:50]requested_item shift.sale.total is exist - process it [00:14:50]SAM_PROTO_GetShiftData [00:14:50]wFMCommunicate request_size=4 [00:14:50]MH_SAM_APDU [00:14:50]CAPDU: 80 13 02 00 [00:14:50]Write to MH i2c: E2 08 00 CE 0C 80 13 02 00 00 00 00 00 58 [00:14:50]Write i2c OK [00:14:50]MH_I2C_Read... [00:14:50]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:14:51]Read from MH i2c: E2 [00:14:51]MH_I2C_Read... [00:14:51]Read from MH i2c: E2 FD 00 [00:14:51]MH_I2C_Read... [00:14:51]Read from MH i2c: E2 FD 00 CE 0C 00 A0 04 AA 04 9C 04 6E 04 04 00 00 00 00 00 69 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 CB [00:14:51]RAPDU: A0 04 AA 04 9C 04 6E 04 04 00 00 00 00 00 69 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [00:14:51]wFMCommunicate OK [00:14:51]wFMCommunicate request_size=4 [00:14:51]MH_SAM_APDU [00:14:51]CAPDU: 80 17 00 00 [00:14:51]Write to MH i2c: E2 08 00 CF 0C 80 17 00 00 00 00 00 00 5B [00:14:51]Write i2c OK [00:14:51]MH_I2C_Read... [00:14:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:51]Read from MH i2c: E2 [00:14:51]MH_I2C_Read... [00:14:51]Read from MH i2c: E2 FD 00 [00:14:51]MH_I2C_Read... [00:14:51]Read from MH i2c: E2 FD 00 CF 0C 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 90 00 63 [00:14:51]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 90 00 [00:14:51]wFMCommunicate OK [00:14:51]wFMCommunicate request_size=4 [00:14:51]MH_SAM_APDU [00:14:51]CAPDU: 80 17 00 00 [00:14:51]Write to MH i2c: E2 08 00 D0 0C 80 17 00 00 00 00 00 00 5C [00:14:51]Write i2c OK [00:14:51]MH_I2C_Read... [00:14:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:51]Read from MH i2c: E2 [00:14:51]MH_I2C_Read... [00:14:51]Read from MH i2c: E2 FD 00 [00:14:51]MH_I2C_Read... [00:14:51]Read from MH i2c: E2 FD 00 D0 0C 00 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 90 00 2E [00:14:51]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 90 00 [00:14:52]wFMCommunicate OK [00:14:52]wFMCommunicate request_size=4 [00:14:52]MH_SAM_APDU [00:14:52]CAPDU: 80 17 00 00 [00:14:52]Write to MH i2c: E2 08 00 D1 0C 80 17 00 00 00 00 00 00 5D [00:14:52]Write i2c OK [00:14:52]MH_I2C_Read... [00:14:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:52]Read from MH i2c: E2 [00:14:52]MH_I2C_Read... [00:14:52]Read from MH i2c: E2 FD 00 [00:14:52]MH_I2C_Read... [00:14:52]Read from MH i2c: E2 FD 00 D1 0C 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 90 00 CF [00:14:52]RAPDU: 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 90 00 [00:14:52]wFMCommunicate OK [00:14:52]wFMCommunicate request_size=4 [00:14:52]MH_SAM_APDU [00:14:52]CAPDU: 80 17 00 00 [00:14:52]Write to MH i2c: E2 08 00 D2 0C 80 17 00 00 00 00 00 00 5E [00:14:52]Write i2c OK [00:14:52]MH_I2C_Read... [00:14:52]OFD Sender: No OFD packet to send [00:14:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:14:52]Read from MH i2c: E2 [00:14:52]MH_I2C_Read... [00:14:52]Read from MH i2c: E2 BD 00 [00:14:52]MH_I2C_Read... [00:14:52]Read from MH i2c: E2 BD 00 D2 0C 00 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 44 [00:14:52]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:14:52]wFMCommunicate OK [00:14:52]SAM_PROTO_GetShiftData done [00:14:52]requested_item shift.sale.total_cash is exist - process it [00:14:52]requested_item shift.sale_refund.total is exist - process it [00:14:52]requested_item shift.sale_refund.total_cash is exist - process it [00:14:52]requested_item shift.buy.total is exist - process it [00:14:52]requested_item shift.buy.total_cash is exist - process it [00:14:52]produce_requested_data done [00:14:52]produce_requested_data return {"fm.sale.total":2483753.03,"fm.sale_refund.total":73090.10,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:14:52]process_action_free get_value [00:14:52]json_value_free [00:14:52]json_value_free done [00:14:52]process_json_proto returns [00:14:52]Send response to host [00:14:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2483753.03,"fm.sale_refund.total":73090.10,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:14:52]free response buf [00:14:52]execute_script done [00:14:52]execute_script returns [00:14:52]free content buf [00:14:52]Sock 10.Close socket [00:14:52]Sock 10.Thread stoped [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:30]accept exits with 7 [00:15:30]New connection [00:15:30]New thread 3066813796 created [00:15:30]Thread 3066957156 joined [00:15:30]Waiting for new connection... [00:15:30] Sock 7.Parse request [00:15:30]Sock 7.Check first char [00:15:30]Sock 7.First char is OK [00:15:30]request: POST /json_proto HTTP/1.0 [00:15:30]Method: POST [00:15:30]URL: /json_proto [00:15:30]Method is POST - this is cgi request [00:15:30]url: /json_proto [00:15:30]query_string will be loaded in cgi processing [00:15:30]execute_cgi json_proto POST (null) [00:15:30]execute_cgi path=json_proto method=POST [00:15:30]POST find Content-Length [00:15:30]Host: 172.17.62.6:8080 [00:15:30]Content-Length: 1140 [00:15:30]Content-Type: application/json [00:15:30] [00:15:30]POST finish read [00:15:30]Found Content-Length = 1140 [00:15:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32938", "tax_sys" : 0, "items" : [ { "code": "4870002329951", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 1\u043B \u0437\u0435\u043B \u0447\u0430\u0439 Regular", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46141538", "name": "\u0420/\u0436 Orbit Bubblemint 13,6\u0433", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4860019001339", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,33\u043B \u0441\u0442", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 270.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:15:30]execute_script... [00:15:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32938", "tax_sys" : 0, "items" : [ { "code": "4870002329951", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 1\u043B \u0437\u0435\u043B \u0447\u0430\u0439 Regular", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46141538", "name": "\u0420/\u0436 Orbit Bubblemint 13,6\u0433", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4860019001339", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,33\u043B \u0441\u0442", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 270.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:15:30]POST & json_proto [00:15:30]process_json_proto [00:15:30]json parsed OK: [00:15:30]protocol is kg_v1.0 [00:15:30]action value=close_receipt [00:15:30]process_action close_receipt [00:15:30]cmd_close_receipt [00:15:30]MH_GetDate [00:15:30]Write to MH i2c: F0 00 00 D3 0C CE [00:15:30]Write i2c OK [00:15:30]MH_I2C_Read... [00:15:30]Read from MH i2c: F0 [00:15:30]MH_I2C_Read... [00:15:30]Read from MH i2c: F0 09 00 [00:15:30]MH_I2C_Read... [00:15:30]Read from MH i2c: F0 09 00 D3 0C 00 24 AC 25 66 61 69 D2 64 32 [00:15:30]GetLastDocTimeStamp 1713744886 [00:15:30]current date 1713744932 [00:15:30]FM_GetShiftState [00:15:30]SAM_PROTO_GetShiftState [00:15:30]wFMCommunicate request_size=4 [00:15:30]MH_SAM_APDU [00:15:30]CAPDU: 80 13 01 00 [00:15:30]Write to MH i2c: E2 08 00 D4 0C 80 13 01 00 00 00 00 00 5D [00:15:30]Write i2c OK [00:15:30]MH_I2C_Read... [00:15:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:15:30]Read from MH i2c: E2 [00:15:30]MH_I2C_Read... [00:15:30]Read from MH i2c: E2 0E 00 [00:15:30]MH_I2C_Read... [00:15:30]Read from MH i2c: E2 0E 00 D4 0C 00 09 00 01 F6 AB 25 66 00 00 00 00 90 00 95 [00:15:30]RAPDU: 09 00 01 F6 AB 25 66 00 00 00 00 90 00 [00:15:30]wFMCommunicate OK [00:15:30]SAM_PROTO_GetShiftState done [00:15:30]FM_GetShiftState done [00:15:30]opened in 1713744886 [00:15:30]opened+sec_in_day 1713831286 [00:15:30]quantity*price = 11000 [00:15:30]sum+1 = 11001 [00:15:30]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46141538 Р/ж Orbit Bubblemint 13,6г 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4860019001339 Вода Боржоми 0,33л ст 1.000 * 120.00 = 120.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 270.00 НСП 1% : 2.38 НДС 12% : 28.67 Наличными: 270.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 1 22.04.2024 00:15 Смена: 282 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12667 ФПД: 271017273889385 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240422T001532&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12667&fm=271017273889385&tin=02508201610067®Number=0000000000100748&sum=27000 0 [00:15:31]StoreToDocumentArchive [00:15:31]shift 282 fd 12667 [00:15:31]save to /storage/0282/doc_00012667 [00:15:31]save last doc name /storage/0282/doc_00012667 to /storage/kkm_last_doc_name [00:15:31]save OK [00:15:31]Clear old archive folders... [00:15:31]ProcessDocumentItem done err = 0, tmpTLVsize=499 [00:15:31]tlvbuf is 016D8A80 [00:15:31]SAM_PROTO_ClearQueue [00:15:31]wFMCommunicate request_size=4 [00:15:31]MH_SAM_APDU [00:15:31]CAPDU: 80 09 00 00 [00:15:31]Write to MH i2c: E2 08 00 E1 0C 80 09 00 00 00 00 00 00 5F [00:15:31]Write i2c OK [00:15:31]MH_I2C_Read... [00:15:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:15:31]Read from MH i2c: E2 [00:15:31]MH_I2C_Read... [00:15:31]Read from MH i2c: E2 03 00 [00:15:31]MH_I2C_Read... [00:15:31]Read from MH i2c: E2 03 00 E1 0C 00 90 00 61 [00:15:31]RAPDU: 90 00 [00:15:31]wFMCommunicate OK [00:15:31]SAM_PROTO_ClearQueue done [00:15:31]KKMCreateOFDPacket [00:15:31]OFDProtocolAddRootSTLVToBuf [00:15:31]FM_MakeSignedData [00:15:31]FM_MakeSignedData [00:15:31]SAM_PROTO_SignData [00:15:31]wFMCommunicate request_size=4 [00:15:31]MH_SAM_APDU [00:15:31]CAPDU: 80 0D 01 02 [00:15:31]Write to MH i2c: E2 08 00 E2 0C 80 0D 01 02 00 00 00 00 67 [00:15:31]Write i2c OK [00:15:31]MH_I2C_Read... [00:15:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:15:31]Read from MH i2c: E2 [00:15:31]MH_I2C_Read... [00:15:31]Read from MH i2c: E2 03 00 [00:15:31]MH_I2C_Read... [00:15:31]Read from MH i2c: E2 03 00 E2 0C 00 90 00 62 [00:15:31]RAPDU: 90 00 [00:15:31]wFMCommunicate OK [00:15:31]wFMCommunicate request_size=255 [00:15:31]MH_SAM_APDU [00:15:31]CAPDU: 80 0D 02 02 FA 03 00 F3 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 35 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 52 65 67 75 6C 61 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 [00:15:32]Write to MH i2c: E2 02 01 E3 0C 80 0D 02 02 FA 00 03 00 F3 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 35 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 52 65 67 75 6C 61 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 00 00 AE [00:15:32]Write i2c OK [00:15:32]MH_I2C_Read... [00:15:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:15:32]Read from MH i2c: E2 [00:15:32]MH_I2C_Read... [00:15:32]Read from MH i2c: E2 03 00 [00:15:32]MH_I2C_Read... [00:15:32]Read from MH i2c: E2 03 00 E3 0C 00 90 00 63 [00:15:32]RAPDU: 90 00 [00:15:32]wFMCommunicate OK [00:15:32]wFMCommunicate request_size=255 [00:15:32]MH_SAM_APDU [00:15:32]CAPDU: 80 0D 02 02 FA 33 39 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 33 33 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 24 AC 25 66 0E 04 04 00 1A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 7B 31 00 00 35 04 06 00 F6 7D 20 [00:15:32]Write to MH i2c: E2 02 01 E4 0C 80 0D 02 02 FA 00 33 39 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 33 33 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 24 AC 25 66 0E 04 04 00 1A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 7B 31 00 00 35 04 06 00 F6 7D 20 00 00 B4 [00:15:32]Write i2c OK [00:15:32]MH_I2C_Read... [00:15:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:15:32]Read from MH i2c: E2 [00:15:32]MH_I2C_Read... [00:15:32]Read from MH i2c: E2 03 00 [00:15:32]MH_I2C_Read... [00:15:32]Read from MH i2c: E2 03 00 E4 0C 00 90 00 64 [00:15:32]RAPDU: 90 00 [00:15:32]wFMCommunicate OK [00:15:32]wFMCommunicate request_size=8 [00:15:32]MH_SAM_APDU [00:15:32]CAPDU: 80 0D 02 02 03 56 92 69 [00:15:32]Write to MH i2c: E2 0B 00 E5 0C 80 0D 02 02 03 00 56 92 69 00 00 C2 [00:15:32]Write i2c OK [00:15:32]MH_I2C_Read... [00:15:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:15:32]Read from MH i2c: E2 [00:15:32]MH_I2C_Read... [00:15:32]Read from MH i2c: E2 03 00 [00:15:32]MH_I2C_Read... [00:15:32]Read from MH i2c: E2 03 00 E5 0C 00 90 00 65 [00:15:32]RAPDU: 90 00 [00:15:32]wFMCommunicate OK [00:15:32]wFMCommunicate request_size=4 [00:15:32]MH_SAM_APDU [00:15:32]CAPDU: 80 0D 03 02 [00:15:32]Write to MH i2c: E2 08 00 E6 0C 80 0D 03 02 00 00 00 00 6D [00:15:32]Write i2c OK [00:15:32]MH_I2C_Read... [00:15:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:15:32]Read from MH i2c: E2 [00:15:32]MH_I2C_Read... [00:15:32]Read from MH i2c: E2 0B 00 [00:15:32]MH_I2C_Read... [00:15:32]Read from MH i2c: E2 0B 00 E6 0C 00 EE 82 4B 54 46 D0 E7 94 90 00 0E [00:15:32]RAPDU: EE 82 4B 54 46 D0 E7 94 90 00 [00:15:32]wFMCommunicate OK [00:15:32]SAM_PROTO_SignData done [00:15:32]FM_MakeSignedData done [00:15:32]CreateOFDProtocolMessage [00:15:32]wFMCommunicate request_size=4 [00:15:32]MH_SAM_APDU [00:15:32]CAPDU: 80 11 00 00 [00:15:32]Write to MH i2c: E2 08 00 E7 0C 80 11 00 00 00 00 00 00 6D [00:15:32]Write i2c OK [00:15:32]MH_I2C_Read... [00:15:32]OFD Sender: No OFD packet to send [00:15:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:15:32]Read from MH i2c: E2 [00:15:32]MH_I2C_Read... [00:15:32]Read from MH i2c: E2 17 00 [00:15:32]MH_I2C_Read... [00:15:32]Read from MH i2c: E2 17 00 E7 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 C7 [00:15:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [00:15:32]wFMCommunicate OK [00:15:32]CreateOFDProtocolMessage done [00:15:32]OFDSenderStorePacket 12667 [00:15:32]StoreOFDPacket docnum=12667 [00:15:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 07 02 00 00 E6 CB FF 01 38 00 5A 03 01 00 03 00 F3 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 35 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 52 65 67 75 6C 61 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 33 39 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 33 33 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 24 AC 25 66 0E 04 04 00 1A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 7B 31 00 00 35 04 06 00 F6 7D 20 56 92 69 EE 82 4B 54 46 D0 E7 94 [00:15:32]CheckFolder [00:15:32]dirname=/storage/ofd_packets [00:15:32]CheckFolder done [00:15:32]ProducePacketName [00:15:32]name=ofd_packets/00012667 [00:15:32]NVStorageSaveData ofd_packets/00012667 [00:15:32]File name is /storage/ofd_packets/00012667 [00:15:32]Write 549 bytes [00:15:32]NVStorageSaveData done [00:15:32]OFDSenderStorePacket done [00:15:32]KKMCreateOFDPacket done [00:15:32]NVStorageSaveData kkm_last_timestamp [00:15:32]File name is /storage/kkm_last_timestamp [00:15:32]Write 4 bytes [00:15:32]NVStorageSaveData done [00:15:32]ExternCall_PrintAddStr [00:15:32]wPrintStart [00:15:32]Write to MH i2c: 01 00 00 E8 0C F4 [00:15:32]Write i2c OK [00:15:32]MH_I2C_Read... [00:15:32]Read from MH i2c: 01 [00:15:32]MH_I2C_Read... [00:15:32]Read from MH i2c: 01 07 00 [00:15:32]MH_I2C_Read... [00:15:32]Read from MH i2c: 01 07 00 E8 0C 00 00 00 00 00 FF 0F 09 [00:15:32]RasterBufferAndPrint [00:15:32]line Счет N : (3)32938 [00:15:32]line ИНН: 02508201610067 [00:15:32]line Контрольно-Кассовый Чек [00:15:32]line ПРОДАЖА [00:15:32]line Товар: 4870002329951 [00:15:32]line Напиток Lipton IceTea 1л зел чай Regular [00:15:32]line 1.000 * 110.00 [00:15:32]line = 110.00 [00:15:32]line НДС 12% НСП 1% [00:15:32]line > о реализуемом товаре [00:15:32]line Товар: 46141538 [00:15:32]line Р/ж Orbit Bubblemint 13,6г [00:15:32]line 1.000 * 40.00 [00:15:32]line = 40.00 [00:15:32]line НДС 12% НСП 1% [00:15:32]line > о реализуемом товаре [00:15:32]line Товар: 4860019001339 [00:15:32]line Вода Боржоми 0,33л ст [00:15:32]line 1.000 * 120.00 [00:15:32]line = 120.00 [00:15:32]line НДС 12% НСП 1% [00:15:32]line > о реализуемом товаре [00:15:32]line ИТОГО: 270.00 [00:15:32]line НСП 1% : 2.38 [00:15:32]line НДС 12% : 28.67 [00:15:32]line Наличными: 270.00 [00:15:32]line Безнал.: 0.00 [00:15:32]line Место: АЗС № 106 "Партнер Нефть" [00:15:32]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [00:15:32]line СНО: Общий режим [00:15:32]line Чек 1 22.04.2024 00:15 [00:15:32]line Смена: 282 ФФД: 1.0 [00:15:32]line ЗНМ: 0300000004 [00:15:32]line РНМ: 0000000000100748 [00:15:32]line Версия ККМ: 001 [00:15:32]line ФМ: 0000000000965685 [00:15:32]line ФД: 12667 [00:15:32]line ФПД: 271017273889385 [00:15:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240422T001532&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12667&fm=271017273889385&tin=02508201610067®Number=0000000000100748&sum=27000 [00:15:32]line 0 [00:15:32]written 0, free lines is 4095 [00:15:32]OFD Sender: Processing packet 12667 [packets to send 7, broken 6] [00:15:32]ProducePacketName [00:15:32]name=ofd_packets/00012667 [00:15:32]OFD Sender: To server: pG, [00:15:32]CommunicateWithHost lk.salyk.kg:30040 [00:15:32]ConnectInit lk.salyk.kg [00:15:33]Connected sock=10 [00:15:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 07 02 00 00 E6 CB FF 01 38 00 5A 03 01 00 03 00 F3 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 35 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 52 65 67 75 6C 61 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 33 39 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 33 33 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 24 AC 25 66 0E 04 04 00 1A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 7B 31 00 00 35 04 06 00 F6 7D 20 56 92 69 EE 82 4B 54 46 D0 E7 94 [00:15:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 E6 1D 47 00 AA 52 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 7B 31 00 00 F4 03 04 00 A4 54 25 66 B6 04 01 00 00 BF 7A 11 6A 5A 87 3E CE [00:15:33]CommunicateWithHost err = 0 [00:15:33]CheckOFDResponse [00:15:33]1017 (14) - 77093643461234 [00:15:33]1041 (16) - 0000000000965685 [00:15:33]1040 (4) - 12667 [00:15:33]1012 (4) - 21.04.2024 18:02 [00:15:33]1206 (1) - 0 [00:15:33]OFD Sender: Remove packet 12667 [00:15:33]ProducePacketName [00:15:33]name=ofd_packets/00012667 [00:15:33]NVStorageDeleteData [00:15:33]Write to MH i2c: 01 00 00 1C 0D 29 [00:15:33]Write i2c OK [00:15:33]MH_I2C_Read... [00:15:33]Read from MH i2c: 01 [00:15:33]MH_I2C_Read... [00:15:33]Read from MH i2c: 01 07 00 [00:15:33]MH_I2C_Read... [00:15:33]Read from MH i2c: 01 07 00 1C 0D 00 00 00 00 00 48 0C 84 [00:15:33]RasterBufferAndPrint [00:15:33]line [00:15:33]line [00:15:33]line [00:15:33]line [00:15:33]line [00:15:33]written 0, free lines is 3150 [00:15:33]MH_Cut [00:15:33]Write to MH i2c: D1 01 00 23 0D 01 02 [00:15:33]Write i2c OK [00:15:33]MH_I2C_Read... [00:15:33]Read from MH i2c: D1 [00:15:33]MH_I2C_Read... [00:15:33]Read from MH i2c: D1 01 00 [00:15:33]MH_I2C_Read... [00:15:33]Read from MH i2c: D1 01 00 23 0D 00 01 [00:15:33]Write to MH i2c: 01 00 00 24 0D 31 [00:15:33]Write i2c OK [00:15:33]MH_I2C_Read... [00:15:33]OFD Sender: No OFD packet to send [00:15:34]*** Cut start [00:15:34]*** Partial cut [00:15:34]*** CUTSNS_PIN = 1 [00:15:34]*** CUTSNS_PIN = 0 [00:15:34]*** Brake cut motor [00:15:34]Read from MH i2c: 01 [00:15:34]MH_I2C_Read... [00:15:34]*** Stop cut motor [00:15:34]*** Cut end [00:15:34]Read from MH i2c: 01 07 00 [00:15:34]MH_I2C_Read... [00:15:34]Read from MH i2c: 01 07 00 24 0D 00 00 00 00 00 FF 0F 46 [00:15:34]process_action close_receipt done [00:15:34]requested_data is exist [00:15:34]produce_requested_data [00:15:34]requested_item fm.sn is exist - process it [00:15:34]wFMCommunicate request_size=4 [00:15:34]MH_SAM_APDU [00:15:34]CAPDU: 80 11 00 00 [00:15:34]Write to MH i2c: E2 08 00 25 0D 80 11 00 00 00 00 00 00 AC [00:15:34]Write i2c OK [00:15:34]MH_I2C_Read... [00:15:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:15:34]Read from MH i2c: E2 [00:15:34]MH_I2C_Read... [00:15:34]Read from MH i2c: E2 17 00 [00:15:34]MH_I2C_Read... [00:15:34]Read from MH i2c: E2 17 00 25 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 06 [00:15:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [00:15:35]wFMCommunicate OK [00:15:35]requested_item fd.num is exist - process it [00:15:35]SAM_PROTO_GetFieldsCounters [00:15:35]wFMCommunicate request_size=4 [00:15:35]MH_SAM_APDU [00:15:35]CAPDU: 80 13 00 00 [00:15:35]Write to MH i2c: E2 08 00 26 0D 80 13 00 00 00 00 00 00 AF [00:15:35]Write i2c OK [00:15:35]MH_I2C_Read... [00:15:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:15:35]Read from MH i2c: E2 [00:15:35]MH_I2C_Read... [00:15:35]Read from MH i2c: E2 62 00 [00:15:35]MH_I2C_Read... [00:15:35]Read from MH i2c: E2 62 00 26 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 7B 31 00 00 0E 04 04 00 1A 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 9C [00:15:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 7B 31 00 00 0E 04 04 00 1A 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:15:35]wFMCommunicate OK [00:15:35]SAM_PROTO_GetFieldsCounters done [00:15:35]requested_item shift.num is exist - process it [00:15:35]requested_item shift.opened is exist - process it [00:15:35]req_shift_opened [00:15:35]FM_GetShiftState [00:15:35]SAM_PROTO_GetShiftState [00:15:35]wFMCommunicate request_size=4 [00:15:35]MH_SAM_APDU [00:15:35]CAPDU: 80 13 01 00 [00:15:35]Write to MH i2c: E2 08 00 27 0D 80 13 01 00 00 00 00 00 B1 [00:15:35]Write i2c OK [00:15:35]MH_I2C_Read... [00:15:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:15:35]Read from MH i2c: E2 [00:15:35]MH_I2C_Read... [00:15:35]Read from MH i2c: E2 0E 00 [00:15:35]MH_I2C_Read... [00:15:35]Read from MH i2c: E2 0E 00 27 0D 00 09 00 01 F6 AB 25 66 00 00 00 00 90 00 E9 [00:15:35]RAPDU: 09 00 01 F6 AB 25 66 00 00 00 00 90 00 [00:15:35]wFMCommunicate OK [00:15:35]SAM_PROTO_GetShiftState done [00:15:35]FM_GetShiftState done [00:15:35]req_shift_opened done [00:15:35]requested_item shift.open_date is exist - process it [00:15:35]req_shift_open_date [00:15:35]req_shift_open_date done [00:15:35]produce_requested_data done [00:15:35]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12667,"shift.num":282,"shift.opened":1,"shift.open_date":1713744886} [00:15:35]process_action_free close_receipt [00:15:35]json_value_free [00:15:35]json_value_free done [00:15:35]process_json_proto returns [00:15:35]Send response to host [00:15:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12667,"shift.num":282,"shift.opened":1,"shift.open_date":1713744886}}} [00:15:35]free response buf [00:15:35]execute_script done [00:15:35]execute_script returns [00:15:35]free content buf [00:15:35]Sock 7.Close socket [00:15:35]Sock 7.Thread stoped [00:15:38]OFD Sender: No OFD packet to send [00:15:43]OFD Sender: No OFD packet to send [00:15:48]OFD Sender: No OFD packet to send [00:15:53]OFD Sender: No OFD packet to send [00:15:58]OFD Sender: No OFD packet to send [00:16:03]OFD Sender: No OFD packet to send [00:16:08]OFD Sender: No OFD packet to send [00:16:13]OFD Sender: No OFD packet to send [00:16:18]OFD Sender: No OFD packet to send [00:16:23]OFD Sender: No OFD packet to send [00:16:28]OFD Sender: No OFD packet to send [00:16:33]OFD Sender: No OFD packet to send [00:16:38]OFD Sender: No OFD packet to send [00:16:43]OFD Sender: No OFD packet to send [00:16:48]OFD Sender: No OFD packet to send [00:16:53]OFD Sender: No OFD packet to send [00:16:58]OFD Sender: No OFD packet to send [00:17:01]accept exits with 9 [00:17:01]New connection [00:17:01]New thread 3066957156 created [00:17:01]Thread 3066813796 joined [00:17:01]Waiting for new connection... [00:17:01] Sock 9.Parse request [00:17:01]Sock 9.Check first char [00:17:01]Sock 9.First char is OK [00:17:01]request: POST /json_proto HTTP/1.0 [00:17:01]Method: POST [00:17:01]URL: /json_proto [00:17:01]Method is POST - this is cgi request [00:17:01]url: /json_proto [00:17:01]query_string will be loaded in cgi processing [00:17:01]execute_cgi json_proto POST (null) [00:17:01]execute_cgi path=json_proto method=POST [00:17:01]POST find Content-Length [00:17:01]Host: 172.17.62.6:8080 [00:17:01]Content-Length: 1336 [00:17:01]Content-Type: application/json [00:17:01] [00:17:01]POST finish read [00:17:01]Found Content-Length = 1336 [00:17:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32939", "tax_sys" : 0, "items" : [ { "code": "4650243871828", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 180.00, "quantity" : 1.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 425.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:17:01]execute_script... [00:17:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32939", "tax_sys" : 0, "items" : [ { "code": "4650243871828", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 180.00, "quantity" : 1.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 425.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:17:01]POST & json_proto [00:17:01]process_json_proto [00:17:01]json parsed OK: [00:17:01]protocol is kg_v1.0 [00:17:01]action value=close_receipt [00:17:01]process_action close_receipt [00:17:01]cmd_close_receipt [00:17:01]MH_GetDate [00:17:01]Write to MH i2c: F0 00 00 28 0D 24 [00:17:01]Write i2c OK [00:17:01]MH_I2C_Read... [00:17:01]Read from MH i2c: F0 [00:17:01]MH_I2C_Read... [00:17:01]Read from MH i2c: F0 09 00 [00:17:01]MH_I2C_Read... [00:17:01]Read from MH i2c: F0 09 00 28 0D 00 7F AC 25 66 61 69 D2 64 E3 [00:17:01]GetLastDocTimeStamp 1713744932 [00:17:01]current date 1713745023 [00:17:01]FM_GetShiftState [00:17:01]SAM_PROTO_GetShiftState [00:17:01]wFMCommunicate request_size=4 [00:17:01]MH_SAM_APDU [00:17:01]CAPDU: 80 13 01 00 [00:17:01]Write to MH i2c: E2 08 00 29 0D 80 13 01 00 00 00 00 00 B3 [00:17:01]Write i2c OK [00:17:01]MH_I2C_Read... [00:17:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:17:01]Read from MH i2c: E2 [00:17:01]MH_I2C_Read... [00:17:01]Read from MH i2c: E2 0E 00 [00:17:01]MH_I2C_Read... [00:17:01]Read from MH i2c: E2 0E 00 29 0D 00 09 00 01 F6 AB 25 66 00 00 00 00 90 00 EB [00:17:01]RAPDU: 09 00 01 F6 AB 25 66 00 00 00 00 90 00 [00:17:01]wFMCommunicate OK [00:17:01]SAM_PROTO_GetShiftState done [00:17:01]FM_GetShiftState done [00:17:01]opened in 1713744886 [00:17:01]opened+sec_in_day 1713831286 [00:17:01]quantity*price = 11000 [00:17:01]sum+1 = 11001 [00:17:01]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48747059 Сигареты Winston Legend Blue 1.000 * 135.00 = 135.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000480517 Пиво Живое 1л ПЭТ 1.000 * 180.00 = 180.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 425.00 НСП 1% : 3.75 НДС 12% : 45.13 Наличными: 0.00 Безнал.: 425.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 2 22.04.2024 00:17 Смена: 282 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000965685 ФД: 12668 ФПД: 218784948250359 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240422T001703&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12668&fm=218784948250359&tin=02508201610067®Number=0000000000100748&sum=42500 0 [00:17:02]StoreToDocumentArchive [00:17:02]shift 282 fd 12668 [00:17:02]save to /storage/0282/doc_00012668 [00:17:02]save last doc name /storage/0282/doc_00012668 to /storage/kkm_last_doc_name [00:17:02]save OK [00:17:02]Clear old archive folders... [00:17:02]ProcessDocumentItem done err = 0, tmpTLVsize=499 [00:17:02]tlvbuf is 0165AF40 [00:17:02]SAM_PROTO_ClearQueue [00:17:02]wFMCommunicate request_size=4 [00:17:02]MH_SAM_APDU [00:17:02]CAPDU: 80 09 00 00 [00:17:02]Write to MH i2c: E2 08 00 36 0D 80 09 00 00 00 00 00 00 B5 [00:17:02]Write i2c OK [00:17:02]MH_I2C_Read... [00:17:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:17:02]Read from MH i2c: E2 [00:17:02]MH_I2C_Read... [00:17:02]Read from MH i2c: E2 03 00 [00:17:02]MH_I2C_Read... [00:17:02]Read from MH i2c: E2 03 00 36 0D 00 90 00 B7 [00:17:02]RAPDU: 90 00 [00:17:02]wFMCommunicate OK [00:17:02]SAM_PROTO_ClearQueue done [00:17:02]KKMCreateOFDPacket [00:17:02]OFDProtocolAddRootSTLVToBuf [00:17:02]FM_MakeSignedData [00:17:02]FM_MakeSignedData [00:17:02]SAM_PROTO_SignData [00:17:02]wFMCommunicate request_size=4 [00:17:02]MH_SAM_APDU [00:17:02]CAPDU: 80 0D 01 02 [00:17:02]Write to MH i2c: E2 08 00 37 0D 80 0D 01 02 00 00 00 00 BD [00:17:02]Write i2c OK [00:17:02]MH_I2C_Read... [00:17:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:17:02]Read from MH i2c: E2 [00:17:02]MH_I2C_Read... [00:17:02]Read from MH i2c: E2 03 00 [00:17:02]MH_I2C_Read... [00:17:02]Read from MH i2c: E2 03 00 37 0D 00 90 00 B8 [00:17:02]RAPDU: 90 00 [00:17:02]wFMCommunicate OK [00:17:02]wFMCommunicate request_size=255 [00:17:02]MH_SAM_APDU [00:17:02]CAPDU: 80 0D 02 02 FA 03 00 F3 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 38 32 38 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 [00:17:03]Write to MH i2c: E2 02 01 38 0D 80 0D 02 02 FA 00 03 00 F3 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 38 32 38 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 00 00 61 [00:17:03]Write i2c OK [00:17:03]MH_I2C_Read... [00:17:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:17:03]Read from MH i2c: E2 [00:17:03]MH_I2C_Read... [00:17:03]Read from MH i2c: E2 03 00 [00:17:03]MH_I2C_Read... [00:17:03]Read from MH i2c: E2 03 00 38 0D 00 90 00 B9 [00:17:03]RAPDU: 90 00 [00:17:03]wFMCommunicate OK [00:17:03]wFMCommunicate request_size=255 [00:17:03]MH_SAM_APDU [00:17:03]CAPDU: 80 0D 02 02 FA 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 A6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 11 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 A6 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 7F AC 25 66 0E 04 04 00 1A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 7C 31 00 00 35 04 06 00 C6 FB D7 [00:17:03]Write to MH i2c: E2 02 01 39 0D 80 0D 02 02 FA 00 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 A6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 11 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 A6 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 7F AC 25 66 0E 04 04 00 1A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 7C 31 00 00 35 04 06 00 C6 FB D7 00 00 5A [00:17:03]Write i2c OK [00:17:03]MH_I2C_Read... [00:17:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:17:03]Read from MH i2c: E2 [00:17:03]MH_I2C_Read... [00:17:03]Read from MH i2c: E2 03 00 [00:17:03]MH_I2C_Read... [00:17:03]Read from MH i2c: E2 03 00 39 0D 00 90 00 BA [00:17:03]RAPDU: 90 00 [00:17:03]wFMCommunicate OK [00:17:03]wFMCommunicate request_size=8 [00:17:03]MH_SAM_APDU [00:17:03]CAPDU: 80 0D 02 02 03 1F 66 F7 [00:17:03]Write to MH i2c: E2 0B 00 3A 0D 80 0D 02 02 03 00 1F 66 F7 00 00 43 [00:17:03]Write i2c OK [00:17:03]MH_I2C_Read... [00:17:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:17:03]Read from MH i2c: E2 [00:17:03]MH_I2C_Read... [00:17:03]Read from MH i2c: E2 03 00 [00:17:03]MH_I2C_Read... [00:17:03]Read from MH i2c: E2 03 00 3A 0D 00 90 00 BB [00:17:03]RAPDU: 90 00 [00:17:03]wFMCommunicate OK [00:17:03]wFMCommunicate request_size=4 [00:17:03]MH_SAM_APDU [00:17:03]CAPDU: 80 0D 03 02 [00:17:03]Write to MH i2c: E2 08 00 3B 0D 80 0D 03 02 00 00 00 00 C3 [00:17:03]Write i2c OK [00:17:03]MH_I2C_Read... [00:17:03]OFD Sender: No OFD packet to send [00:17:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:17:03]Read from MH i2c: E2 [00:17:03]MH_I2C_Read... [00:17:03]Read from MH i2c: E2 0B 00 [00:17:03]MH_I2C_Read... [00:17:03]Read from MH i2c: E2 0B 00 3B 0D 00 ED 75 B5 84 EC E3 16 B4 90 00 F8 [00:17:03]RAPDU: ED 75 B5 84 EC E3 16 B4 90 00 [00:17:03]wFMCommunicate OK [00:17:03]SAM_PROTO_SignData done [00:17:03]FM_MakeSignedData done [00:17:03]CreateOFDProtocolMessage [00:17:03]wFMCommunicate request_size=4 [00:17:03]MH_SAM_APDU [00:17:03]CAPDU: 80 11 00 00 [00:17:03]Write to MH i2c: E2 08 00 3C 0D 80 11 00 00 00 00 00 00 C3 [00:17:03]Write i2c OK [00:17:03]MH_I2C_Read... [00:17:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:17:03]Read from MH i2c: E2 [00:17:03]MH_I2C_Read... [00:17:03]Read from MH i2c: E2 17 00 [00:17:03]MH_I2C_Read... [00:17:03]Read from MH i2c: E2 17 00 3C 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 1D [00:17:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [00:17:03]wFMCommunicate OK [00:17:03]CreateOFDProtocolMessage done [00:17:03]OFDSenderStorePacket 12668 [00:17:03]StoreOFDPacket docnum=12668 [00:17:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 07 02 00 00 46 3E FF 01 EF C0 5A 03 01 00 03 00 F3 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 38 32 38 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 A6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 11 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 A6 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 7F AC 25 66 0E 04 04 00 1A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 7C 31 00 00 35 04 06 00 C6 FB D7 1F 66 F7 ED 75 B5 84 EC E3 16 B4 [00:17:03]CheckFolder [00:17:03]dirname=/storage/ofd_packets [00:17:03]CheckFolder done [00:17:03]ProducePacketName [00:17:03]name=ofd_packets/00012668 [00:17:03]NVStorageSaveData ofd_packets/00012668 [00:17:03]File name is /storage/ofd_packets/00012668 [00:17:03]Write 549 bytes [00:17:03]NVStorageSaveData done [00:17:03]OFDSenderStorePacket done [00:17:03]KKMCreateOFDPacket done [00:17:03]NVStorageSaveData kkm_last_timestamp [00:17:03]File name is /storage/kkm_last_timestamp [00:17:03]Write 4 bytes [00:17:03]NVStorageSaveData done [00:17:03]ExternCall_PrintAddStr [00:17:03]wPrintStart [00:17:03]Write to MH i2c: 01 00 00 3D 0D 4A [00:17:03]Write i2c OK [00:17:03]MH_I2C_Read... [00:17:03]Read from MH i2c: 01 [00:17:03]MH_I2C_Read... [00:17:03]OFD Sender: Processing packet 12668 [packets to send 7, broken 6] [00:17:03]ProducePacketName [00:17:03]name=ofd_packets/00012668 [00:17:03]OFD Sender: To server: pG, [00:17:03]CommunicateWithHost lk.salyk.kg:30040 [00:17:03]ConnectInit lk.salyk.kg [00:17:03]Read from MH i2c: 01 07 00 [00:17:03]MH_I2C_Read... [00:17:03]Read from MH i2c: 01 07 00 3D 0D 00 00 00 00 00 FF 0F 5F [00:17:03]RasterBufferAndPrint [00:17:03]line Счет N : (3)32939 [00:17:03]line ИНН: 02508201610067 [00:17:03]line Контрольно-Кассовый Чек [00:17:03]line ПРОДАЖА [00:17:03]line Товар: 4650243871828 [00:17:03]line Gorilla эн нап манго-кокос 0,45 ж/б [00:17:03]line 1.000 * 110.00 [00:17:03]line = 110.00 [00:17:03]line НДС 12% НСП 1% [00:17:03]line > о реализуемом товаре [00:17:03]line Товар: 48747059 [00:17:03]line Сигареты Winston Legend Blue [00:17:03]line 1.000 * 135.00 [00:17:03]line = 135.00 [00:17:03]line НДС 12% НСП 1% [00:17:03]line > о реализуемом товаре [00:17:03]line Товар: 4700000480517 [00:17:03]line Пиво Живое 1л ПЭТ [00:17:03]line 1.000 * 180.00 [00:17:03]line = 180.00 [00:17:03]line НДС 12% НСП 1% [00:17:03]line > о реализуемом товаре [00:17:03]line ИТОГО: 425.00 [00:17:03]line НСП 1% : 3.75 [00:17:03]line НДС 12% : 45.13 [00:17:03]line Наличными: 0.00 [00:17:03]line Безнал.: 425.00 [00:17:03]line Место: АЗС № 106 "Партнер Нефть" [00:17:03]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [00:17:03]line СНО: Общий режим [00:17:04]line Чек 2 22.04.2024 00:17 [00:17:04]line Смена: 282 ФФД: 1.0 [00:17:04]line ЗНМ: 0300000004 [00:17:04]line РНМ: 0000000000100748 [00:17:04]line Версия ККМ: 001 [00:17:04]line Платежная система: О! деньги [00:17:04]line ФМ: 0000000000965685 [00:17:04]line ФД: 12668 [00:17:04]line ФПД: 218784948250359 [00:17:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240422T001703&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12668&fm=218784948250359&tin=02508201610067®Number=0000000000100748&sum=42500 [00:17:04]line 0 [00:17:04]Connected sock=10 [00:17:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 07 02 00 00 46 3E FF 01 EF C0 5A 03 01 00 03 00 F3 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 38 32 38 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 A6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 11 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 A6 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 7F AC 25 66 0E 04 04 00 1A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 7C 31 00 00 35 04 06 00 C6 FB D7 1F 66 F7 ED 75 B5 84 EC E3 16 B4 [00:17:04]written 0, free lines is 4095 [00:17:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 F2 F6 47 00 CC 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 39 36 35 36 38 35 10 04 04 00 7C 31 00 00 F4 03 04 00 FF 54 25 66 B6 04 01 00 00 CE B9 2C 8F 7C 2F 53 F5 [00:17:04]CommunicateWithHost err = 0 [00:17:04]CheckOFDResponse [00:17:04]1017 (14) - 77093643461234 [00:17:04]1041 (16) - 0000000000965685 [00:17:04]1040 (4) - 12668 [00:17:04]1012 (4) - 21.04.2024 18:03 [00:17:04]1206 (1) - 0 [00:17:04]OFD Sender: Remove packet 12668 [00:17:04]ProducePacketName [00:17:04]name=ofd_packets/00012668 [00:17:04]NVStorageDeleteData [00:17:04]Write to MH i2c: 01 00 00 74 0D 81 [00:17:04]Write i2c OK [00:17:04]MH_I2C_Read... [00:17:04]Read from MH i2c: 01 [00:17:04]MH_I2C_Read... [00:17:04]Read from MH i2c: 01 07 00 [00:17:04]MH_I2C_Read... [00:17:04]Read from MH i2c: 01 07 00 74 0D 00 00 00 00 00 FE 0B 91 [00:17:04]RasterBufferAndPrint [00:17:04]line [00:17:04]line [00:17:04]line [00:17:04]line [00:17:04]line [00:17:04]written 0, free lines is 3077 [00:17:04]MH_Cut [00:17:04]Write to MH i2c: D1 01 00 7B 0D 01 5A [00:17:04]Write i2c OK [00:17:04]MH_I2C_Read... [00:17:04]Read from MH i2c: D1 [00:17:04]MH_I2C_Read... [00:17:04]Read from MH i2c: D1 01 00 [00:17:04]MH_I2C_Read... [00:17:04]Read from MH i2c: D1 01 00 7B 0D 00 59 [00:17:04]Write to MH i2c: 01 00 00 7C 0D 89 [00:17:04]Write i2c OK [00:17:04]MH_I2C_Read... [00:17:05]OFD Sender: No OFD packet to send [00:17:05]*** Cut start [00:17:05]*** Partial cut [00:17:05]*** CUTSNS_PIN = 1 [00:17:05]*** CUTSNS_PIN = 0 [00:17:06]*** Brake cut motor [00:17:06]Read from MH i2c: 01 [00:17:06]MH_I2C_Read... [00:17:06]*** Stop cut motor [00:17:06]*** Cut end [00:17:06]Read from MH i2c: 01 07 00 [00:17:06]MH_I2C_Read... [00:17:06]Read from MH i2c: 01 07 00 7C 0D 00 00 00 00 00 FF 0F 9E [00:17:06]process_action close_receipt done [00:17:06]requested_data is exist [00:17:06]produce_requested_data [00:17:06]requested_item fm.sn is exist - process it [00:17:06]wFMCommunicate request_size=4 [00:17:06]MH_SAM_APDU [00:17:06]CAPDU: 80 11 00 00 [00:17:06]Write to MH i2c: E2 08 00 7D 0D 80 11 00 00 00 00 00 00 04 [00:17:06]Write i2c OK [00:17:06]MH_I2C_Read... [00:17:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:17:06]Read from MH i2c: E2 [00:17:06]MH_I2C_Read... [00:17:06]Read from MH i2c: E2 17 00 [00:17:06]MH_I2C_Read... [00:17:06]Read from MH i2c: E2 17 00 7D 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 5E [00:17:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [00:17:06]wFMCommunicate OK [00:17:06]requested_item fd.num is exist - process it [00:17:06]SAM_PROTO_GetFieldsCounters [00:17:06]wFMCommunicate request_size=4 [00:17:06]MH_SAM_APDU [00:17:06]CAPDU: 80 13 00 00 [00:17:06]Write to MH i2c: E2 08 00 7E 0D 80 13 00 00 00 00 00 00 07 [00:17:06]Write i2c OK [00:17:06]MH_I2C_Read... [00:17:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:17:06]Read from MH i2c: E2 [00:17:06]MH_I2C_Read... [00:17:06]Read from MH i2c: E2 62 00 [00:17:06]MH_I2C_Read... [00:17:06]Read from MH i2c: E2 62 00 7E 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 7C 31 00 00 0E 04 04 00 1A 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 F8 [00:17:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 7C 31 00 00 0E 04 04 00 1A 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:17:06]wFMCommunicate OK [00:17:06]SAM_PROTO_GetFieldsCounters done [00:17:06]requested_item shift.num is exist - process it [00:17:06]requested_item shift.opened is exist - process it [00:17:06]req_shift_opened [00:17:06]FM_GetShiftState [00:17:06]SAM_PROTO_GetShiftState [00:17:06]wFMCommunicate request_size=4 [00:17:06]MH_SAM_APDU [00:17:06]CAPDU: 80 13 01 00 [00:17:06]Write to MH i2c: E2 08 00 7F 0D 80 13 01 00 00 00 00 00 09 [00:17:06]Write i2c OK [00:17:06]MH_I2C_Read... [00:17:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:17:06]Read from MH i2c: E2 [00:17:06]MH_I2C_Read... [00:17:06]Read from MH i2c: E2 0E 00 [00:17:06]MH_I2C_Read... [00:17:06]Read from MH i2c: E2 0E 00 7F 0D 00 09 00 01 F6 AB 25 66 00 00 00 00 90 00 41 [00:17:06]RAPDU: 09 00 01 F6 AB 25 66 00 00 00 00 90 00 [00:17:06]wFMCommunicate OK [00:17:06]SAM_PROTO_GetShiftState done [00:17:06]FM_GetShiftState done [00:17:06]req_shift_opened done [00:17:06]requested_item shift.open_date is exist - process it [00:17:06]req_shift_open_date [00:17:06]req_shift_open_date done [00:17:06]produce_requested_data done [00:17:06]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12668,"shift.num":282,"shift.opened":1,"shift.open_date":1713744886} [00:17:06]process_action_free close_receipt [00:17:06]json_value_free [00:17:06]json_value_free done [00:17:06]process_json_proto returns [00:17:06]Send response to host [00:17:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12668,"shift.num":282,"shift.opened":1,"shift.open_date":1713744886}}} [00:17:06]free response buf [00:17:06]execute_script done [00:17:06]execute_script returns [00:17:06]free content buf [00:17:06]Sock 9.Close socket [00:17:06]Sock 9.Thread stoped [00:17:10]OFD Sender: No OFD packet to send [00:17:15]OFD Sender: No OFD packet to send [00:17:20]OFD Sender: No OFD packet to send [00:17:25]OFD Sender: No OFD packet to send [00:17:30]OFD Sender: No OFD packet to send [00:17:35]OFD Sender: No OFD packet to send [00:17:40]OFD Sender: No OFD packet to send [00:17:45]OFD Sender: No OFD packet to send [00:17:50]OFD Sender: No OFD packet to send [00:17:55]OFD Sender: No OFD packet to send [00:18:00]OFD Sender: No OFD packet to send [00:18:05]OFD Sender: No OFD packet to send [00:18:10]OFD Sender: No OFD packet to send [00:18:15]OFD Sender: No OFD packet to send [00:18:20]OFD Sender: No OFD packet to send [00:18:25]OFD Sender: No OFD packet to send [00:18:30]OFD Sender: No OFD packet to send [00:18:35]OFD Sender: No OFD packet to send [00:18:40]OFD Sender: No OFD packet to send [00:18:45]OFD Sender: No OFD packet to send [00:18:50]OFD Sender: No OFD packet to send [00:18:55]OFD Sender: No OFD packet to send [00:19:00]OFD Sender: No OFD packet to send [00:19:05]OFD Sender: No OFD packet to send [00:19:07]accept exits with 7 [00:19:07]New connection [00:19:07]New thread 3066813796 created [00:19:07]Thread 3066957156 joined [00:19:07]Waiting for new connection... [00:19:07] Sock 7.Parse request [00:19:07]Sock 7.Check first char [00:19:07]Sock 7.First char is OK [00:19:07]request: POST /json_proto HTTP/1.0 [00:19:07]Method: POST [00:19:07]URL: /json_proto [00:19:07]Method is POST - this is cgi request [00:19:07]url: /json_proto [00:19:07]query_string will be loaded in cgi processing [00:19:07]execute_cgi json_proto POST (null) [00:19:07]execute_cgi path=json_proto method=POST [00:19:07]POST find Content-Length [00:19:07]Host: 172.17.62.6:8080 [00:19:07]Content-Length: 707 [00:19:07]Content-Type: application/json [00:19:07] [00:19:07]POST finish read [00:19:07]Found Content-Length = 707 [00:19:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32940", "tax_sys" : 0, "items" : [ { "code": "4600494694202", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 Adrenaline Rush \u0431", "price" : 145.00, "quantity" : 1.000, "sum" : 145.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 145.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:19:07]execute_script... [00:19:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32940", "tax_sys" : 0, "items" : [ { "code": "4600494694202", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 Adrenaline Rush \u0431", "price" : 145.00, "quantity" : 1.000, "sum" : 145.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 145.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:19:07]POST & json_proto [00:19:07]process_json_proto [00:19:07]json parsed OK: [00:19:07]protocol is kg_v1.0 [00:19:07]action value=close_receipt [00:19:07]process_action close_receipt [00:19:07]cmd_close_receipt [00:19:07]MH_GetDate [00:19:07]Write to MH i2c: F0 00 00 80 0D 7C [00:19:07]Write i2c OK [00:19:07]MH_I2C_Read... [00:19:07]Read from MH i2c: F0 [00:19:07]MH_I2C_Read... [00:19:07]Read from MH i2c: F0 09 00 [00:19:07]MH_I2C_Read... [00:19:07]Read from MH i2c: F0 09 00 80 0D 00 FD AC 25 66 61 69 D2 64 B9 [00:19:07]GetLastDocTimeStamp 1713745023 [00:19:07]current date 1713745149 [00:19:07]FM_GetShiftState [00:19:07]SAM_PROTO_GetShiftState [00:19:07]wFMCommunicate request_size=4 [00:19:07]MH_SAM_APDU [00:19:07]CAPDU: 80 13 01 00 [00:19:07]Write to MH i2c: E2 08 00 81 0D 80 13 01 00 00 00 00 00 0B [00:19:07]Write i2c OK [00:19:07]MH_I2C_Read... [00:19:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:19:07]Read from MH i2c: E2 [00:19:07]MH_I2C_Read... [00:19:07]Read from MH i2c: E2 0E 00 [00:19:07]MH_I2C_Read... [00:19:07]Read from MH i2c: E2 0E 00 81 0D 00 09 00 01 F6 AB 25 66 00 00 00 00 90 00 43 [00:19:07]RAPDU: 09 00 01 F6 AB 25 66 00 00 00 00 90 00 [00:19:07]wFMCommunicate OK [00:19:07]SAM_PROTO_GetShiftState done [00:19:07]FM_GetShiftState done [00:19:07]opened in 1713744886 [00:19:07]opened+sec_in_day 1713831286 [00:19:07]quantity*price = 14500 [00:19:07]sum+1 = 14501 [00:19:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 145.00 НСП 1% : 1.28 НДС 12% : 15.40 Наличными: 145.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 3 22.04.2024 00:19 Смена: 282 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12669 ФПД: 240945492412119 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240422T001909&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12669&fm=240945492412119&tin=02508201610067®Number=0000000000100748&sum=14500 0 [00:19:08]StoreToDocumentArchive [00:19:08]shift 282 fd 12669 [00:19:08]save to /storage/0282/doc_00012669 [00:19:08]save last doc name /storage/0282/doc_00012669 to /storage/kkm_last_doc_name [00:19:08]save OK [00:19:08]Clear old archive folders... [00:19:08]ProcessDocumentItem done err = 0, tmpTLVsize=304 [00:19:08]tlvbuf is 016DEA50 [00:19:08]SAM_PROTO_ClearQueue [00:19:08]wFMCommunicate request_size=4 [00:19:08]MH_SAM_APDU [00:19:08]CAPDU: 80 09 00 00 [00:19:08]Write to MH i2c: E2 08 00 8E 0D 80 09 00 00 00 00 00 00 0D [00:19:08]Write i2c OK [00:19:08]MH_I2C_Read... [00:19:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:19:08]Read from MH i2c: E2 [00:19:08]MH_I2C_Read... [00:19:08]Read from MH i2c: E2 03 00 [00:19:08]MH_I2C_Read... [00:19:08]Read from MH i2c: E2 03 00 8E 0D 00 90 00 0F [00:19:08]RAPDU: 90 00 [00:19:08]wFMCommunicate OK [00:19:08]SAM_PROTO_ClearQueue done [00:19:08]KKMCreateOFDPacket [00:19:08]OFDProtocolAddRootSTLVToBuf [00:19:08]FM_MakeSignedData [00:19:08]FM_MakeSignedData [00:19:08]SAM_PROTO_SignData [00:19:08]wFMCommunicate request_size=4 [00:19:08]MH_SAM_APDU [00:19:08]CAPDU: 80 0D 01 02 [00:19:08]Write to MH i2c: E2 08 00 8F 0D 80 0D 01 02 00 00 00 00 15 [00:19:08]Write i2c OK [00:19:08]MH_I2C_Read... [00:19:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:19:08]Read from MH i2c: E2 [00:19:08]MH_I2C_Read... [00:19:08]Read from MH i2c: E2 03 00 [00:19:08]MH_I2C_Read... [00:19:08]Read from MH i2c: E2 03 00 8F 0D 00 90 00 10 [00:19:08]RAPDU: 90 00 [00:19:08]wFMCommunicate OK [00:19:08]wFMCommunicate request_size=255 [00:19:08]MH_SAM_APDU [00:19:08]CAPDU: 80 0D 02 02 FA 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 36 30 30 34 39 34 36 39 34 32 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 41 64 72 65 6E 61 6C 69 6E 65 20 52 75 73 68 20 D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 FD AC 25 66 0E 04 04 00 1A 01 00 00 B9 04 01 00 01 [00:19:08]Write to MH i2c: E2 02 01 90 0D 80 0D 02 02 FA 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 36 30 30 34 39 34 36 39 34 32 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 41 64 72 65 6E 61 6C 69 6E 65 20 52 75 73 68 20 D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 FD AC 25 66 0E 04 04 00 1A 01 00 00 B9 04 01 00 01 00 00 C7 [00:19:08]Write i2c OK [00:19:08]MH_I2C_Read... [00:19:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:19:08]Read from MH i2c: E2 [00:19:08]MH_I2C_Read... [00:19:08]Read from MH i2c: E2 03 00 [00:19:08]MH_I2C_Read... [00:19:08]Read from MH i2c: E2 03 00 90 0D 00 90 00 11 [00:19:08]RAPDU: 90 00 [00:19:08]wFMCommunicate OK [00:19:08]wFMCommunicate request_size=63 [00:19:08]MH_SAM_APDU [00:19:08]CAPDU: 80 0D 02 02 3A 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 7D 31 00 00 35 04 06 00 DB 23 7E 7C 46 D7 [00:19:08]Write to MH i2c: E2 42 00 91 0D 80 0D 02 02 3A 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 7D 31 00 00 35 04 06 00 DB 23 7E 7C 46 D7 00 00 27 [00:19:08]Write i2c OK [00:19:08]MH_I2C_Read... [00:19:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:19:08]Read from MH i2c: E2 [00:19:08]MH_I2C_Read... [00:19:08]Read from MH i2c: E2 03 00 [00:19:08]MH_I2C_Read... [00:19:08]Read from MH i2c: E2 03 00 91 0D 00 90 00 12 [00:19:08]RAPDU: 90 00 [00:19:08]wFMCommunicate OK [00:19:08]wFMCommunicate request_size=4 [00:19:08]MH_SAM_APDU [00:19:08]CAPDU: 80 0D 03 02 [00:19:08]Write to MH i2c: E2 08 00 92 0D 80 0D 03 02 00 00 00 00 1A [00:19:08]Write i2c OK [00:19:08]MH_I2C_Read... [00:19:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:19:08]Read from MH i2c: E2 [00:19:08]MH_I2C_Read... [00:19:08]Read from MH i2c: E2 0B 00 [00:19:08]MH_I2C_Read... [00:19:08]Read from MH i2c: E2 0B 00 92 0D 00 51 8C 12 A4 9C 63 A0 BE 90 00 0B [00:19:08]RAPDU: 51 8C 12 A4 9C 63 A0 BE 90 00 [00:19:08]wFMCommunicate OK [00:19:08]SAM_PROTO_SignData done [00:19:08]FM_MakeSignedData done [00:19:08]CreateOFDProtocolMessage [00:19:08]wFMCommunicate request_size=4 [00:19:08]MH_SAM_APDU [00:19:08]CAPDU: 80 11 00 00 [00:19:08]Write to MH i2c: E2 08 00 93 0D 80 11 00 00 00 00 00 00 1A [00:19:08]Write i2c OK [00:19:08]MH_I2C_Read... [00:19:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:19:08]Read from MH i2c: E2 [00:19:08]MH_I2C_Read... [00:19:08]Read from MH i2c: E2 17 00 [00:19:08]MH_I2C_Read... [00:19:08]Read from MH i2c: E2 17 00 93 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 74 [00:19:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [00:19:08]wFMCommunicate OK [00:19:08]CreateOFDProtocolMessage done [00:19:08]OFDSenderStorePacket 12669 [00:19:08]StoreOFDPacket docnum=12669 [00:19:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 44 01 00 00 77 8A 3C 01 3A 20 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 36 30 30 34 39 34 36 39 34 32 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 41 64 72 65 6E 61 6C 69 6E 65 20 52 75 73 68 20 D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 FD AC 25 66 0E 04 04 00 1A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 7D 31 00 00 35 04 06 00 DB 23 7E 7C 46 D7 51 8C 12 A4 9C 63 A0 BE [00:19:08]CheckFolder [00:19:08]dirname=/storage/ofd_packets [00:19:08]CheckFolder done [00:19:08]ProducePacketName [00:19:08]name=ofd_packets/00012669 [00:19:08]NVStorageSaveData ofd_packets/00012669 [00:19:08]File name is /storage/ofd_packets/00012669 [00:19:08]Write 354 bytes [00:19:08]NVStorageSaveData done [00:19:08]OFDSenderStorePacket done [00:19:08]KKMCreateOFDPacket done [00:19:08]NVStorageSaveData kkm_last_timestamp [00:19:08]File name is /storage/kkm_last_timestamp [00:19:08]Write 4 bytes [00:19:08]NVStorageSaveData done [00:19:08]ExternCall_PrintAddStr [00:19:08]wPrintStart [00:19:08]Write to MH i2c: 01 00 00 94 0D A1 [00:19:09]Write i2c OK [00:19:09]MH_I2C_Read... [00:19:09]Read from MH i2c: 01 [00:19:09]MH_I2C_Read... [00:19:09]Read from MH i2c: 01 07 00 [00:19:09]MH_I2C_Read... [00:19:09]Read from MH i2c: 01 07 00 94 0D 00 00 00 00 00 FF 0F B6 [00:19:09]RasterBufferAndPrint [00:19:09]line Счет N : (3)32940 [00:19:09]line ИНН: 02508201610067 [00:19:09]line Контрольно-Кассовый Чек [00:19:09]line ПРОДАЖА [00:19:09]line Товар: 4600494694202 [00:19:09]line Напиток энергетический Adrenaline Rush б [00:19:09]line 1.000 * 145.00 [00:19:09]line = 145.00 [00:19:09]line НДС 12% НСП 1% [00:19:09]line > о реализуемом товаре [00:19:09]line ИТОГО: 145.00 [00:19:09]line НСП 1% : 1.28 [00:19:09]line НДС 12% : 15.40 [00:19:09]line Наличными: 145.00 [00:19:09]line Безнал.: 0.00 [00:19:09]line Место: АЗС № 106 "Партнер Нефть" [00:19:09]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [00:19:09]line СНО: Общий режим [00:19:09]line Чек 3 22.04.2024 00:19 [00:19:09]line Смена: 282 ФФД: 1.0 [00:19:09]line ЗНМ: 0300000004 [00:19:09]line РНМ: 0000000000100748 [00:19:09]line Версия ККМ: 001 [00:19:09]line ФМ: 0000000000965685 [00:19:09]line ФД: 12669 [00:19:09]line ФПД: 240945492412119 [00:19:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240422T001909&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12669&fm=240945492412119&tin=02508201610067®Number=0000000000100748&sum=14500 [00:19:09]line 0 [00:19:09]OFD Sender: Processing packet 12669 [packets to send 7, broken 6] [00:19:09]ProducePacketName [00:19:09]name=ofd_packets/00012669 [00:19:09]OFD Sender: To server: pG, [00:19:09]CommunicateWithHost lk.salyk.kg:30040 [00:19:09]ConnectInit lk.salyk.kg [00:19:09]written 0, free lines is 4095 [00:19:09]Connected sock=10 [00:19:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 44 01 00 00 77 8A 3C 01 3A 20 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 36 30 30 34 39 34 36 39 34 32 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 41 64 72 65 6E 61 6C 69 6E 65 20 52 75 73 68 20 D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 FD AC 25 66 0E 04 04 00 1A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 7D 31 00 00 35 04 06 00 DB 23 7E 7C 46 D7 51 8C 12 A4 9C 63 A0 BE [00:19:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 4A 12 47 00 54 1E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 7D 31 00 00 F4 03 04 00 7C 55 25 66 B6 04 01 00 00 C4 8B B5 D1 CB B3 BB 49 [00:19:09]CommunicateWithHost err = 0 [00:19:09]CheckOFDResponse [00:19:09]1017 (14) - 77093643461234 [00:19:09]1041 (16) - 0000000000965685 [00:19:09]1040 (4) - 12669 [00:19:09]1012 (4) - 21.04.2024 18:05 [00:19:09]1206 (1) - 0 [00:19:09]OFD Sender: Remove packet 12669 [00:19:09]ProducePacketName [00:19:09]name=ofd_packets/00012669 [00:19:09]NVStorageDeleteData [00:19:09]Write to MH i2c: 01 00 00 BC 0D C9 [00:19:09]Write i2c OK [00:19:09]MH_I2C_Read... [00:19:09]Read from MH i2c: 01 [00:19:09]MH_I2C_Read... [00:19:09]Read from MH i2c: 01 07 00 [00:19:09]MH_I2C_Read... [00:19:09]Read from MH i2c: 01 07 00 BC 0D 00 00 00 00 00 F2 0C CE [00:19:09]RasterBufferAndPrint [00:19:09]line [00:19:09]line [00:19:09]line [00:19:09]line [00:19:09]line [00:19:09]written 0, free lines is 3321 [00:19:09]MH_Cut [00:19:09]Write to MH i2c: D1 01 00 C3 0D 01 A2 [00:19:09]Write i2c OK [00:19:09]MH_I2C_Read... [00:19:09]Read from MH i2c: D1 [00:19:09]MH_I2C_Read... [00:19:09]Read from MH i2c: D1 01 00 [00:19:09]MH_I2C_Read... [00:19:09]Read from MH i2c: D1 01 00 C3 0D 00 A1 [00:19:09]Write to MH i2c: 01 00 00 C4 0D D1 [00:19:09]Write i2c OK [00:19:09]MH_I2C_Read... [00:19:10]OFD Sender: No OFD packet to send [00:19:10]*** Cut start [00:19:10]*** Partial cut [00:19:10]*** CUTSNS_PIN = 1 [00:19:10]*** CUTSNS_PIN = 0 [00:19:10]*** Brake cut motor [00:19:11]Read from MH i2c: 01 [00:19:11]MH_I2C_Read... [00:19:11]*** Stop cut motor [00:19:11]*** Cut end [00:19:11]Read from MH i2c: 01 07 00 [00:19:11]MH_I2C_Read... [00:19:11]Read from MH i2c: 01 07 00 C4 0D 00 00 00 00 00 FF 0F E6 [00:19:11]process_action close_receipt done [00:19:11]requested_data is exist [00:19:11]produce_requested_data [00:19:11]requested_item fm.sn is exist - process it [00:19:11]wFMCommunicate request_size=4 [00:19:11]MH_SAM_APDU [00:19:11]CAPDU: 80 11 00 00 [00:19:11]Write to MH i2c: E2 08 00 C5 0D 80 11 00 00 00 00 00 00 4C [00:19:11]Write i2c OK [00:19:11]MH_I2C_Read... [00:19:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:19:11]Read from MH i2c: E2 [00:19:11]MH_I2C_Read... [00:19:11]Read from MH i2c: E2 17 00 [00:19:11]MH_I2C_Read... [00:19:11]Read from MH i2c: E2 17 00 C5 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 A6 [00:19:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [00:19:11]wFMCommunicate OK [00:19:11]requested_item fd.num is exist - process it [00:19:11]SAM_PROTO_GetFieldsCounters [00:19:11]wFMCommunicate request_size=4 [00:19:11]MH_SAM_APDU [00:19:11]CAPDU: 80 13 00 00 [00:19:11]Write to MH i2c: E2 08 00 C6 0D 80 13 00 00 00 00 00 00 4F [00:19:11]Write i2c OK [00:19:11]MH_I2C_Read... [00:19:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:19:11]Read from MH i2c: E2 [00:19:11]MH_I2C_Read... [00:19:11]Read from MH i2c: E2 62 00 [00:19:11]MH_I2C_Read... [00:19:11]Read from MH i2c: E2 62 00 C6 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 7D 31 00 00 0E 04 04 00 1A 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 44 [00:19:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 7D 31 00 00 0E 04 04 00 1A 01 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:19:11]wFMCommunicate OK [00:19:11]SAM_PROTO_GetFieldsCounters done [00:19:11]requested_item shift.num is exist - process it [00:19:11]requested_item shift.opened is exist - process it [00:19:11]req_shift_opened [00:19:11]FM_GetShiftState [00:19:11]SAM_PROTO_GetShiftState [00:19:11]wFMCommunicate request_size=4 [00:19:11]MH_SAM_APDU [00:19:11]CAPDU: 80 13 01 00 [00:19:11]Write to MH i2c: E2 08 00 C7 0D 80 13 01 00 00 00 00 00 51 [00:19:11]Write i2c OK [00:19:11]MH_I2C_Read... [00:19:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:19:11]Read from MH i2c: E2 [00:19:11]MH_I2C_Read... [00:19:11]Read from MH i2c: E2 0E 00 [00:19:11]MH_I2C_Read... [00:19:11]Read from MH i2c: E2 0E 00 C7 0D 00 09 00 01 F6 AB 25 66 00 00 00 00 90 00 89 [00:19:11]RAPDU: 09 00 01 F6 AB 25 66 00 00 00 00 90 00 [00:19:11]wFMCommunicate OK [00:19:11]SAM_PROTO_GetShiftState done [00:19:11]FM_GetShiftState done [00:19:11]req_shift_opened done [00:19:11]requested_item shift.open_date is exist - process it [00:19:11]req_shift_open_date [00:19:11]req_shift_open_date done [00:19:11]produce_requested_data done [00:19:11]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12669,"shift.num":282,"shift.opened":1,"shift.open_date":1713744886} [00:19:11]process_action_free close_receipt [00:19:11]json_value_free [00:19:11]json_value_free done [00:19:11]process_json_proto returns [00:19:11]Send response to host [00:19:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12669,"shift.num":282,"shift.opened":1,"shift.open_date":1713744886}}} [00:19:11]free response buf [00:19:11]execute_script done [00:19:11]execute_script returns [00:19:11]free content buf [00:19:11]Sock 7.Close socket [00:19:11]Sock 7.Thread stoped [00:19:15]OFD Sender: No OFD packet to send [00:19:20]OFD Sender: No OFD packet to send [00:19:25]OFD Sender: No OFD packet to send [00:19:30]OFD Sender: No OFD packet to send [00:19:35]OFD Sender: No OFD packet to send [00:19:40]OFD Sender: No OFD packet to send [00:19:45]OFD Sender: No OFD packet to send [00:19:50]OFD Sender: No OFD packet to send [00:19:55]OFD Sender: No OFD packet to send [00:20:00]OFD Sender: No OFD packet to send [00:20:05]OFD Sender: No OFD packet to send [00:20:10]OFD Sender: No OFD packet to send [00:20:15]OFD Sender: No OFD packet to send [00:20:20]OFD Sender: No OFD packet to send [00:20:25]OFD Sender: No OFD packet to send [00:20:30]OFD Sender: No OFD packet to send [00:20:35]OFD Sender: No OFD packet to send [00:20:40]OFD Sender: No OFD packet to send [00:20:45]OFD Sender: No OFD packet to send [00:20:50]OFD Sender: No OFD packet to send [00:20:55]OFD Sender: No OFD packet to send [00:21:00]OFD Sender: No OFD packet to send [00:21:05]OFD Sender: No OFD packet to send [00:21:10]OFD Sender: No OFD packet to send [00:21:15]OFD Sender: No OFD packet to send [00:21:20]OFD Sender: No OFD packet to send [00:21:25]OFD Sender: No OFD packet to send [00:21:30]OFD Sender: No OFD packet to send [00:21:35]OFD Sender: No OFD packet to send [00:21:40]OFD Sender: No OFD packet to send [00:21:45]OFD Sender: No OFD packet to send [00:21:50]OFD Sender: No OFD packet to send [00:21:55]OFD Sender: No OFD packet to send [00:22:00]OFD Sender: No OFD packet to send [00:22:05]OFD Sender: No OFD packet to send [00:22:10]OFD Sender: No OFD packet to send [00:22:15]OFD Sender: No OFD packet to send [00:22:20]OFD Sender: No OFD packet to send [00:22:25]OFD Sender: No OFD packet to send [00:22:30]OFD Sender: No OFD packet to send [00:22:35]OFD Sender: No OFD packet to send [00:22:40]OFD Sender: No OFD packet to send [00:22:45]OFD Sender: No OFD packet to send [00:22:50]OFD Sender: No OFD packet to send [00:22:55]OFD Sender: No OFD packet to send [00:23:00]OFD Sender: No OFD packet to send [00:23:05]OFD Sender: No OFD packet to send [00:23:10]OFD Sender: No OFD packet to send [00:23:15]OFD Sender: No OFD packet to send [00:23:20]OFD Sender: No OFD packet to send [00:23:25]OFD Sender: No OFD packet to send [00:23:30]OFD Sender: No OFD packet to send [00:23:35]OFD Sender: No OFD packet to send [00:23:40]OFD Sender: No OFD packet to send [00:23:45]OFD Sender: No OFD packet to send [00:23:46]accept exits with 9 [00:23:46]New connection [00:23:46]New thread 3066957156 created [00:23:46]Thread 3066813796 joined [00:23:46]Waiting for new connection... [00:23:46] Sock 9.Parse request [00:23:46]Sock 9.Check first char [00:23:46]Sock 9.First char is OK [00:23:46]request: POST /json_proto HTTP/1.0 [00:23:46]Method: POST [00:23:46]URL: /json_proto [00:23:46]Method is POST - this is cgi request [00:23:46]url: /json_proto [00:23:46]query_string will be loaded in cgi processing [00:23:46]execute_cgi json_proto POST (null) [00:23:46]execute_cgi path=json_proto method=POST [00:23:46]POST find Content-Length [00:23:46]Host: 172.17.62.6:8080 [00:23:46]Content-Length: 966 [00:23:46]Content-Type: application/json [00:23:46] [00:23:46]POST finish read [00:23:46]Found Content-Length = 966 [00:23:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32941", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 1.000, "sum" : 15.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:23:46]execute_script... [00:23:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32941", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 1.000, "sum" : 15.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:23:46]POST & json_proto [00:23:46]process_json_proto [00:23:46]json parsed OK: [00:23:46]protocol is kg_v1.0 [00:23:46]action value=close_receipt [00:23:46]process_action close_receipt [00:23:46]cmd_close_receipt [00:23:46]MH_GetDate [00:23:46]Write to MH i2c: F0 00 00 C8 0D C4 [00:23:46]Write i2c OK [00:23:46]MH_I2C_Read... [00:23:46]Read from MH i2c: F0 [00:23:46]MH_I2C_Read... [00:23:46]Read from MH i2c: F0 09 00 [00:23:46]MH_I2C_Read... [00:23:46]Read from MH i2c: F0 09 00 C8 0D 00 14 AE 25 66 61 69 D2 64 1A [00:23:46]GetLastDocTimeStamp 1713745149 [00:23:46]current date 1713745428 [00:23:46]FM_GetShiftState [00:23:46]SAM_PROTO_GetShiftState [00:23:46]wFMCommunicate request_size=4 [00:23:46]MH_SAM_APDU [00:23:46]CAPDU: 80 13 01 00 [00:23:46]Write to MH i2c: E2 08 00 C9 0D 80 13 01 00 00 00 00 00 53 [00:23:46]Write i2c OK [00:23:46]MH_I2C_Read... [00:23:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:23:46]Read from MH i2c: E2 [00:23:46]MH_I2C_Read... [00:23:46]Read from MH i2c: E2 0E 00 [00:23:46]MH_I2C_Read... [00:23:46]Read from MH i2c: E2 0E 00 C9 0D 00 09 00 01 F6 AB 25 66 00 00 00 00 90 00 8B [00:23:46]RAPDU: 09 00 01 F6 AB 25 66 00 00 00 00 90 00 [00:23:46]wFMCommunicate OK [00:23:46]SAM_PROTO_GetShiftState done [00:23:46]FM_GetShiftState done [00:23:46]opened in 1713744886 [00:23:46]opened+sec_in_day 1713831286 [00:23:46]quantity*price = 9500 [00:23:46]sum+1 = 9501 [00:23:46]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160013 Снек Курут индивидуальный 1.000 * 15.00 = 15.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 110.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 4 22.04.2024 00:23 Смена: 282 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12670 ФПД: 200721022737996 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240422T002348&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12670&fm=200721022737996&tin=02508201610067®Number=0000000000100748&sum=11000 0 [00:23:47]StoreToDocumentArchive [00:23:47]shift 282 fd 12670 [00:23:47]save to /storage/0282/doc_00012670 [00:23:47]save last doc name /storage/0282/doc_00012670 to /storage/kkm_last_doc_name [00:23:47]save OK [00:23:47]Clear old archive folders... [00:23:47]ProcessDocumentItem done err = 0, tmpTLVsize=413 [00:23:47]tlvbuf is 016DE550 [00:23:47]SAM_PROTO_ClearQueue [00:23:47]wFMCommunicate request_size=4 [00:23:47]MH_SAM_APDU [00:23:47]CAPDU: 80 09 00 00 [00:23:47]Write to MH i2c: E2 08 00 D6 0D 80 09 00 00 00 00 00 00 55 [00:23:47]Write i2c OK [00:23:47]MH_I2C_Read... [00:23:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:23:47]Read from MH i2c: E2 [00:23:47]MH_I2C_Read... [00:23:47]Read from MH i2c: E2 03 00 [00:23:47]MH_I2C_Read... [00:23:47]Read from MH i2c: E2 03 00 D6 0D 00 90 00 57 [00:23:47]RAPDU: 90 00 [00:23:47]wFMCommunicate OK [00:23:47]SAM_PROTO_ClearQueue done [00:23:47]KKMCreateOFDPacket [00:23:47]OFDProtocolAddRootSTLVToBuf [00:23:47]FM_MakeSignedData [00:23:47]FM_MakeSignedData [00:23:47]SAM_PROTO_SignData [00:23:47]wFMCommunicate request_size=4 [00:23:47]MH_SAM_APDU [00:23:47]CAPDU: 80 0D 01 02 [00:23:47]Write to MH i2c: E2 08 00 D7 0D 80 0D 01 02 00 00 00 00 5D [00:23:47]Write i2c OK [00:23:47]MH_I2C_Read... [00:23:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:23:47]Read from MH i2c: E2 [00:23:47]MH_I2C_Read... [00:23:47]Read from MH i2c: E2 03 00 [00:23:47]MH_I2C_Read... [00:23:47]Read from MH i2c: E2 03 00 D7 0D 00 90 00 58 [00:23:47]RAPDU: 90 00 [00:23:47]wFMCommunicate OK [00:23:47]wFMCommunicate request_size=255 [00:23:47]MH_SAM_APDU [00:23:47]CAPDU: 80 0D 02 02 FA 03 00 9D 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 [00:23:47]Write to MH i2c: E2 02 01 D8 0D 80 0D 02 02 FA 00 03 00 9D 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 00 6F [00:23:47]Write i2c OK [00:23:47]MH_I2C_Read... [00:23:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:23:47]Read from MH i2c: E2 [00:23:47]MH_I2C_Read... [00:23:47]Read from MH i2c: E2 03 00 [00:23:47]MH_I2C_Read... [00:23:47]Read from MH i2c: E2 03 00 D8 0D 00 90 00 59 [00:23:47]RAPDU: 90 00 [00:23:47]wFMCommunicate OK [00:23:47]wFMCommunicate request_size=172 [00:23:47]MH_SAM_APDU [00:23:47]CAPDU: 80 0D 02 02 A7 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 14 AE 25 66 0E 04 04 00 1A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 7E 31 00 00 35 04 06 00 B6 8E 01 42 5E 4C [00:23:47]Write to MH i2c: E2 AF 00 D9 0D 80 0D 02 02 A7 00 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 14 AE 25 66 0E 04 04 00 1A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 7E 31 00 00 35 04 06 00 B6 8E 01 42 5E 4C 00 00 78 [00:23:47]Write i2c OK [00:23:47]MH_I2C_Read... [00:23:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:23:48]Read from MH i2c: E2 [00:23:48]MH_I2C_Read... [00:23:48]Read from MH i2c: E2 03 00 [00:23:48]MH_I2C_Read... [00:23:48]Read from MH i2c: E2 03 00 D9 0D 00 90 00 5A [00:23:48]RAPDU: 90 00 [00:23:48]wFMCommunicate OK [00:23:48]wFMCommunicate request_size=4 [00:23:48]MH_SAM_APDU [00:23:48]CAPDU: 80 0D 03 02 [00:23:48]Write to MH i2c: E2 08 00 DA 0D 80 0D 03 02 00 00 00 00 62 [00:23:48]Write i2c OK [00:23:48]MH_I2C_Read... [00:23:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:23:48]Read from MH i2c: E2 [00:23:48]MH_I2C_Read... [00:23:48]Read from MH i2c: E2 0B 00 [00:23:48]MH_I2C_Read... [00:23:48]Read from MH i2c: E2 0B 00 DA 0D 00 9D 2E 05 1F C8 5F B2 F1 90 00 1C [00:23:48]RAPDU: 9D 2E 05 1F C8 5F B2 F1 90 00 [00:23:48]wFMCommunicate OK [00:23:48]SAM_PROTO_SignData done [00:23:48]FM_MakeSignedData done [00:23:48]CreateOFDProtocolMessage [00:23:48]wFMCommunicate request_size=4 [00:23:48]MH_SAM_APDU [00:23:48]CAPDU: 80 11 00 00 [00:23:48]Write to MH i2c: E2 08 00 DB 0D 80 11 00 00 00 00 00 00 62 [00:23:48]Write i2c OK [00:23:48]MH_I2C_Read... [00:23:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:23:48]Read from MH i2c: E2 [00:23:48]MH_I2C_Read... [00:23:48]Read from MH i2c: E2 17 00 [00:23:48]MH_I2C_Read... [00:23:48]Read from MH i2c: E2 17 00 DB 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 BC [00:23:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [00:23:48]wFMCommunicate OK [00:23:48]CreateOFDProtocolMessage done [00:23:48]OFDSenderStorePacket 12670 [00:23:48]StoreOFDPacket docnum=12670 [00:23:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 B1 01 00 00 AE C5 A9 01 6B 0C 5A 03 01 00 03 00 9D 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 14 AE 25 66 0E 04 04 00 1A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 7E 31 00 00 35 04 06 00 B6 8E 01 42 5E 4C 9D 2E 05 1F C8 5F B2 F1 [00:23:48]CheckFolder [00:23:48]dirname=/storage/ofd_packets [00:23:48]CheckFolder done [00:23:48]ProducePacketName [00:23:48]name=ofd_packets/00012670 [00:23:48]NVStorageSaveData ofd_packets/00012670 [00:23:48]File name is /storage/ofd_packets/00012670 [00:23:48]Write 463 bytes [00:23:48]NVStorageSaveData done [00:23:48]OFDSenderStorePacket done [00:23:48]KKMCreateOFDPacket done [00:23:48]NVStorageSaveData kkm_last_timestamp [00:23:48]File name is /storage/kkm_last_timestamp [00:23:48]Write 4 bytes [00:23:48]NVStorageSaveData done [00:23:48]ExternCall_PrintAddStr [00:23:48]wPrintStart [00:23:48]Write to MH i2c: 01 00 00 DC 0D E9 [00:23:48]OFD Sender: Processing packet 12670 [packets to send 7, broken 6] [00:23:48]ProducePacketName [00:23:48]name=ofd_packets/00012670 [00:23:48]OFD Sender: To server: pG, [00:23:48]CommunicateWithHost lk.salyk.kg:30040 [00:23:48]ConnectInit lk.salyk.kg [00:23:48]Write i2c OK [00:23:48]MH_I2C_Read... [00:23:48]Read from MH i2c: 01 [00:23:48]MH_I2C_Read... [00:23:48]Read from MH i2c: 01 07 00 [00:23:48]MH_I2C_Read... [00:23:48]Read from MH i2c: 01 07 00 DC 0D 00 00 00 00 00 FF 0F FE [00:23:48]RasterBufferAndPrint [00:23:48]line Счет N : (3)32941 [00:23:48]line ИНН: 02508201610067 [00:23:48]line Контрольно-Кассовый Чек [00:23:48]line ПРОДАЖА [00:23:48]line Товар: 4700000480050 [00:23:48]line Напиток Nitro Energy эн green ж/б 0,45л [00:23:48]line 1.000 * 95.00 [00:23:48]line = 95.00 [00:23:48]line НДС 12% НСП 1% [00:23:48]line > о реализуемом товаре [00:23:48]line Товар: 4700000160013 [00:23:48]line Снек Курут индивидуальный [00:23:48]line 1.000 * 15.00 [00:23:48]line = 15.00 [00:23:48]line НДС 12% НСП 1% [00:23:48]line > о реализуемом товаре [00:23:48]line ИТОГО: 110.00 [00:23:48]line НСП 1% : 0.97 [00:23:48]line НДС 12% : 11.68 [00:23:48]line Наличными: 110.00 [00:23:48]line Безнал.: 0.00 [00:23:48]line Место: АЗС № 106 "Партнер Нефть" [00:23:48]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [00:23:48]line СНО: Общий режим [00:23:48]line Чек 4 22.04.2024 00:23 [00:23:48]line Смена: 282 ФФД: 1.0 [00:23:48]line ЗНМ: 0300000004 [00:23:48]line РНМ: 0000000000100748 [00:23:48]line Версия ККМ: 001 [00:23:48]line ФМ: 0000000000965685 [00:23:48]line ФД: 12670 [00:23:48]line ФПД: 200721022737996 [00:23:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240422T002348&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12670&fm=200721022737996&tin=02508201610067®Number=0000000000100748&sum=11000 [00:23:48]line 0 [00:23:48]written 0, free lines is 4095 [00:23:48]Write to MH i2c: 01 00 00 0A 0E 18 [00:23:48]Write i2c OK [00:23:48]MH_I2C_Read... [00:23:48]Read from MH i2c: 01 [00:23:48]MH_I2C_Read... [00:23:48]Read from MH i2c: 01 07 00 [00:23:48]MH_I2C_Read... [00:23:48]Read from MH i2c: 01 07 00 0A 0E 00 00 00 00 00 8F 0C BA [00:23:48]RasterBufferAndPrint [00:23:48]line [00:23:48]line [00:23:48]line [00:23:48]line [00:23:48]line [00:23:48]written 0, free lines is 3221 [00:23:49]MH_Cut [00:23:49]Write to MH i2c: D1 01 00 11 0E 01 F1 [00:23:49]Write i2c OK [00:23:49]MH_I2C_Read... [00:23:49]Read from MH i2c: D1 [00:23:49]MH_I2C_Read... [00:23:49]Read from MH i2c: D1 01 00 [00:23:49]MH_I2C_Read... [00:23:49]Read from MH i2c: D1 01 00 11 0E 00 F0 [00:23:49]Write to MH i2c: 01 00 00 12 0E 20 [00:23:49]Write i2c OK [00:23:49]MH_I2C_Read... [00:23:49]*** Cut start [00:23:49]*** Partial cut [00:23:49]*** CUTSNS_PIN = 1 [00:23:49]*** CUTSNS_PIN = 0 [00:23:49]Connected sock=7 [00:23:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 B1 01 00 00 AE C5 A9 01 6B 0C 5A 03 01 00 03 00 9D 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 14 AE 25 66 0E 04 04 00 1A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 7E 31 00 00 35 04 06 00 B6 8E 01 42 5E 4C 9D 2E 05 1F C8 5F B2 F1 [00:23:50]*** Brake cut motor [00:23:50]Read from MH i2c: 01 [00:23:50]MH_I2C_Read... [00:23:50]*** Stop cut motor [00:23:50]*** Cut end [00:23:50]Read from MH i2c: 01 07 00 [00:23:50]MH_I2C_Read... [00:23:50]Read from MH i2c: 01 07 00 12 0E 00 00 00 00 00 FF 0F 35 [00:23:50]process_action close_receipt done [00:23:50]requested_data is exist [00:23:50]produce_requested_data [00:23:50]requested_item fm.sn is exist - process it [00:23:50]wFMCommunicate request_size=4 [00:23:50]MH_SAM_APDU [00:23:50]CAPDU: 80 11 00 00 [00:23:50]Write to MH i2c: E2 08 00 13 0E 80 11 00 00 00 00 00 00 9B [00:23:50]Write i2c OK [00:23:50]MH_I2C_Read... [00:23:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:23:50]Read from MH i2c: E2 [00:23:50]MH_I2C_Read... [00:23:50]Read from MH i2c: E2 17 00 [00:23:50]MH_I2C_Read... [00:23:50]Read from MH i2c: E2 17 00 13 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 F5 [00:23:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [00:23:50]wFMCommunicate OK [00:23:50]requested_item fd.num is exist - process it [00:23:50]SAM_PROTO_GetFieldsCounters [00:23:50]wFMCommunicate request_size=4 [00:23:50]MH_SAM_APDU [00:23:50]CAPDU: 80 13 00 00 [00:23:50]Write to MH i2c: E2 08 00 14 0E 80 13 00 00 00 00 00 00 9E [00:23:50]Write i2c OK [00:23:50]MH_I2C_Read... [00:23:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:23:50]Read from MH i2c: E2 [00:23:50]MH_I2C_Read... [00:23:50]Read from MH i2c: E2 62 00 [00:23:50]MH_I2C_Read... [00:23:50]Read from MH i2c: E2 62 00 14 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 7E 31 00 00 0E 04 04 00 1A 01 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 97 [00:23:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 7E 31 00 00 0E 04 04 00 1A 01 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:23:50]wFMCommunicate OK [00:23:50]SAM_PROTO_GetFieldsCounters done [00:23:50]requested_item shift.num is exist - process it [00:23:50]requested_item shift.opened is exist - process it [00:23:50]req_shift_opened [00:23:50]FM_GetShiftState [00:23:50]SAM_PROTO_GetShiftState [00:23:50]wFMCommunicate request_size=4 [00:23:50]MH_SAM_APDU [00:23:50]CAPDU: 80 13 01 00 [00:23:50]Write to MH i2c: E2 08 00 15 0E 80 13 01 00 00 00 00 00 A0 [00:23:50]Write i2c OK [00:23:50]MH_I2C_Read... [00:23:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:23:50]Read from MH i2c: E2 [00:23:50]MH_I2C_Read... [00:23:50]Read from MH i2c: E2 0E 00 [00:23:50]MH_I2C_Read... [00:23:50]Read from MH i2c: E2 0E 00 15 0E 00 09 00 01 F6 AB 25 66 00 00 00 00 90 00 D8 [00:23:50]RAPDU: 09 00 01 F6 AB 25 66 00 00 00 00 90 00 [00:23:50]wFMCommunicate OK [00:23:50]SAM_PROTO_GetShiftState done [00:23:50]FM_GetShiftState done [00:23:50]req_shift_opened done [00:23:50]requested_item shift.open_date is exist - process it [00:23:50]req_shift_open_date [00:23:50]req_shift_open_date done [00:23:50]produce_requested_data done [00:23:50]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12670,"shift.num":282,"shift.opened":1,"shift.open_date":1713744886} [00:23:50]process_action_free close_receipt [00:23:50]json_value_free [00:23:50]json_value_free done [00:23:50]process_json_proto returns [00:23:50]Send response to host [00:23:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12670,"shift.num":282,"shift.opened":1,"shift.open_date":1713744886}}} [00:23:50]free response buf [00:23:50]execute_script done [00:23:50]execute_script returns [00:23:50]free content buf [00:23:50]Sock 9.Close socket [00:23:50]Sock 9.Thread stoped [00:23:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 1B 07 47 00 EC 67 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 7E 31 00 00 F4 03 04 00 96 56 25 66 B6 04 01 00 00 C0 BE AF 56 85 F5 DE 2D [00:23:51]CommunicateWithHost err = 0 [00:23:51]CheckOFDResponse [00:23:51]1017 (14) - 77093643461234 [00:23:51]1041 (16) - 0000000000965685 [00:23:51]1040 (4) - 12670 [00:23:51]1012 (4) - 21.04.2024 18:10 [00:23:51]1206 (1) - 0 [00:23:51]OFD Sender: Remove packet 12670 [00:23:51]ProducePacketName [00:23:51]name=ofd_packets/00012670 [00:23:51]NVStorageDeleteData [00:23:51]OFD Sender: No OFD packet to send [00:23:56]OFD Sender: No OFD packet to send [00:24:01]OFD Sender: No OFD packet to send [00:24:06]OFD Sender: No OFD packet to send [00:24:11]OFD Sender: No OFD packet to send [00:24:16]OFD Sender: No OFD packet to send [00:24:21]OFD Sender: No OFD packet to send [00:24:26]OFD Sender: No OFD packet to send [00:24:31]OFD Sender: No OFD packet to send [00:24:36]OFD Sender: No OFD packet to send [00:24:41]OFD Sender: No OFD packet to send [00:24:46]OFD Sender: No OFD packet to send [00:24:51]OFD Sender: No OFD packet to send [00:24:56]OFD Sender: No OFD packet to send [00:25:01]OFD Sender: No OFD packet to send [00:25:06]OFD Sender: No OFD packet to send [00:25:11]OFD Sender: No OFD packet to send [00:25:16]OFD Sender: No OFD packet to send [00:25:21]OFD Sender: No OFD packet to send [00:25:26]OFD Sender: No OFD packet to send [00:25:31]OFD Sender: No OFD packet to send [00:25:36]OFD Sender: No OFD packet to send [00:25:41]OFD Sender: No OFD packet to send [00:25:46]OFD Sender: No OFD packet to send [00:25:51]OFD Sender: No OFD packet to send [00:25:56]OFD Sender: No OFD packet to send [00:26:01]OFD Sender: No OFD packet to send [00:26:06]OFD Sender: No OFD packet to send [00:26:11]OFD Sender: No OFD packet to send [00:26:16]OFD Sender: No OFD packet to send [00:26:21]OFD Sender: No OFD packet to send [00:26:26]OFD Sender: No OFD packet to send [00:26:31]OFD Sender: No OFD packet to send [00:26:36]OFD Sender: No OFD packet to send [00:26:41]OFD Sender: No OFD packet to send [00:26:46]OFD Sender: No OFD packet to send [00:26:51]OFD Sender: No OFD packet to send [00:26:56]OFD Sender: No OFD packet to send [00:27:01]OFD Sender: No OFD packet to send [00:27:06]OFD Sender: No OFD packet to send [00:27:11]OFD Sender: No OFD packet to send [00:27:16]OFD Sender: No OFD packet to send [00:27:21]OFD Sender: No OFD packet to send [00:27:26]OFD Sender: No OFD packet to send [00:27:31]OFD Sender: No OFD packet to send [00:27:36]OFD Sender: No OFD packet to send [00:27:41]OFD Sender: No OFD packet to send [00:27:46]OFD Sender: No OFD packet to send [00:27:51]OFD Sender: No OFD packet to send [00:27:56]OFD Sender: No OFD packet to send [00:28:01]OFD Sender: No OFD packet to send [00:28:06]OFD Sender: No OFD packet to send [00:28:11]OFD Sender: No OFD packet to send [00:28:16]OFD Sender: No OFD packet to send [00:28:21]OFD Sender: No OFD packet to send [00:28:26]OFD Sender: No OFD packet to send [00:28:31]OFD Sender: No OFD packet to send [00:28:36]OFD Sender: No OFD packet to send [00:28:41]OFD Sender: No OFD packet to send [00:28:46]OFD Sender: No OFD packet to send [00:28:51]OFD Sender: No OFD packet to send [00:28:56]OFD Sender: No OFD packet to send [00:29:01]OFD Sender: No OFD packet to send [00:29:06]OFD Sender: No OFD packet to send [00:29:11]OFD Sender: No OFD packet to send [00:29:16]OFD Sender: No OFD packet to send [00:29:21]OFD Sender: No OFD packet to send [00:29:26]OFD Sender: No OFD packet to send [00:29:31]OFD Sender: No OFD packet to send [00:29:37]OFD Sender: No OFD packet to send [00:29:42]OFD Sender: No OFD packet to send [00:29:47]OFD Sender: No OFD packet to send [00:29:52]OFD Sender: No OFD packet to send [00:29:57]OFD Sender: No OFD packet to send [00:30:02]OFD Sender: No OFD packet to send [00:30:07]OFD Sender: No OFD packet to send [00:30:12]OFD Sender: No OFD packet to send [00:30:17]OFD Sender: No OFD packet to send [00:30:22]OFD Sender: No OFD packet to send [00:30:27]OFD Sender: No OFD packet to send [00:30:32]OFD Sender: No OFD packet to send [00:30:37]OFD Sender: No OFD packet to send [00:30:42]OFD Sender: No OFD packet to send [00:30:47]OFD Sender: No OFD packet to send [00:30:52]OFD Sender: No OFD packet to send [00:30:57]OFD Sender: No OFD packet to send [00:31:02]OFD Sender: No OFD packet to send [00:31:07]OFD Sender: No OFD packet to send [00:31:12]OFD Sender: No OFD packet to send [00:31:17]OFD Sender: No OFD packet to send [00:31:22]OFD Sender: No OFD packet to send [00:31:27]OFD Sender: No OFD packet to send [00:31:32]OFD Sender: No OFD packet to send [00:31:37]OFD Sender: No OFD packet to send [00:31:42]OFD Sender: No OFD packet to send [00:31:47]OFD Sender: No OFD packet to send [00:31:52]OFD Sender: No OFD packet to send [00:31:57]OFD Sender: No OFD packet to send [00:32:02]OFD Sender: No OFD packet to send [00:32:07]OFD Sender: No OFD packet to send [00:32:12]OFD Sender: No OFD packet to send [00:32:17]OFD Sender: No OFD packet to send [00:32:22]OFD Sender: No OFD packet to send [00:32:27]OFD Sender: No OFD packet to send [00:32:32]OFD Sender: No OFD packet to send [00:32:37]OFD Sender: No OFD packet to send [00:32:42]OFD Sender: No OFD packet to send [00:32:47]OFD Sender: No OFD packet to send [00:32:52]OFD Sender: No OFD packet to send [00:32:57]OFD Sender: No OFD packet to send [00:33:02]OFD Sender: No OFD packet to send [00:33:07]OFD Sender: No OFD packet to send [00:33:12]OFD Sender: No OFD packet to send [00:33:17]OFD Sender: No OFD packet to send [00:33:22]OFD Sender: No OFD packet to send [00:33:27]OFD Sender: No OFD packet to send [00:33:32]OFD Sender: No OFD packet to send [00:33:37]OFD Sender: No OFD packet to send [00:33:42]OFD Sender: No OFD packet to send [00:33:47]OFD Sender: No OFD packet to send [00:33:52]OFD Sender: No OFD packet to send [00:33:57]OFD Sender: No OFD packet to send [00:34:02]OFD Sender: No OFD packet to send [00:34:07]OFD Sender: No OFD packet to send [00:34:12]OFD Sender: No OFD packet to send [00:34:17]OFD Sender: No OFD packet to send [00:34:22]OFD Sender: No OFD packet to send [00:34:27]OFD Sender: No OFD packet to send [00:34:32]OFD Sender: No OFD packet to send [00:34:37]OFD Sender: No OFD packet to send [00:34:42]OFD Sender: No OFD packet to send [00:34:47]OFD Sender: No OFD packet to send [00:34:52]OFD Sender: No OFD packet to send [00:34:57]OFD Sender: No OFD packet to send [00:35:02]OFD Sender: No OFD packet to send [00:35:07]OFD Sender: No OFD packet to send [00:35:12]OFD Sender: No OFD packet to send [00:35:17]OFD Sender: No OFD packet to send [00:35:22]OFD Sender: No OFD packet to send [00:35:27]OFD Sender: No OFD packet to send [00:35:32]OFD Sender: No OFD packet to send [00:35:37]OFD Sender: No OFD packet to send [00:35:42]OFD Sender: No OFD packet to send [00:35:47]OFD Sender: No OFD packet to send [00:35:52]OFD Sender: No OFD packet to send [00:35:57]OFD Sender: No OFD packet to send [00:36:02]OFD Sender: No OFD packet to send [00:36:07]OFD Sender: No OFD packet to send [00:36:12]OFD Sender: No OFD packet to send [00:36: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:57]OFD Sender: No OFD packet to send [00:39:02]OFD Sender: No OFD packet to send [00:39:07]OFD Sender: No OFD packet to send [00:39:12]OFD Sender: No OFD packet to send [00:39:17]OFD Sender: No OFD packet to send [00:39:22]OFD Sender: No OFD packet to send [00:39:27]OFD Sender: No OFD packet to send [00:39:32]OFD Sender: No OFD packet to send [00:39:37]OFD Sender: No OFD packet to send [00:39:42]OFD Sender: No OFD packet to send [00:39:47]OFD Sender: No OFD packet to send [00:39:52]OFD Sender: No OFD packet to send [00:39:57]OFD Sender: No OFD packet to send [00:40:02]OFD Sender: No OFD packet to send [00:40:07]OFD Sender: No OFD packet to send [00:40:12]OFD Sender: No OFD packet to send [00:40:17]OFD Sender: No OFD packet to send [00:40:22]OFD Sender: No OFD packet to send [00:40:27]OFD Sender: No OFD packet to send [00:40:32]OFD Sender: No OFD packet to send [00:40:37]OFD Sender: No OFD packet to send [00:40:42]OFD Sender: No OFD packet to send [00:40:47]OFD Sender: No OFD packet to send [00:40:52]OFD Sender: No OFD packet to send [00:40:57]OFD Sender: No OFD packet to send [00:41:02]OFD Sender: No OFD packet to send [00:41:07]OFD Sender: No OFD packet to send [00:41:12]OFD Sender: No OFD packet to send [00:41:17]OFD Sender: No OFD packet to send [00:41:22]OFD Sender: No OFD packet to send [00:41:27]OFD Sender: No OFD packet to send [00:41:32]OFD Sender: No OFD packet to send [00:41:37]OFD Sender: No OFD packet to send [00:41:42]OFD Sender: No OFD packet to send [00:41:47]OFD Sender: No OFD packet to send [00:41:52]OFD Sender: No OFD packet to send [00:41:57]OFD Sender: No OFD packet to send [00:42:02]OFD Sender: No OFD packet to send [00:42:05]int [00:42:05]Write to MH i2c: 01 00 00 16 0E 24 [00:42:05]*** FLAG_PRN_PAP1 set [00:42:05]Write i2c OK [00:42:05]MH_I2C_Read... [00:42:05]Read from MH i2c: 01 [00:42:05]MH_I2C_Read... [00:42:05]Read from MH i2c: 01 07 00 [00:42:05]MH_I2C_Read... [00:42:05]Read from MH i2c: 01 07 00 16 0E 00 01 00 00 00 FF 0F 3A [00:42:05]state=0 [00:42:05]No paper [00:42:05]int [00:42:05]Write to MH i2c: 01 00 00 17 0E 25 [00:42:05]*** FLAG_PRN_PAP2 set [00:42:05]Write i2c OK [00:42:05]MH_I2C_Read... [00:42:05]Read from MH i2c: 01 [00:42:05]MH_I2C_Read... [00:42:05]Read from MH i2c: 01 07 00 [00:42:05]MH_I2C_Read... [00:42:05]Read from MH i2c: 01 07 00 17 0E 00 03 00 00 00 FF 0F 3D [00:42:05]state=0 [00:42:05]No paper [00:42:05]Cover opened [00:42:07]OFD Sender: No OFD packet to send [00:42:10]Write to MH i2c: 01 00 00 18 0E 26 [00:42:10]Write i2c OK [00:42:10]MH_I2C_Read... [00:42:10]Read from MH i2c: 01 [00:42:10]MH_I2C_Read... [00:42:10]Read from MH i2c: 01 07 00 [00:42:10]MH_I2C_Read... [00:42:10]Read from MH i2c: 01 07 00 18 0E 00 03 00 00 00 FF 0F 3E [00:42:10]state=3 [00:42:10]No paper [00:42:10]Cover opened [00:42:12]OFD Sender: No OFD packet to send [00:42:15]Write to MH i2c: 01 00 00 19 0E 27 [00:42:15]Write i2c OK [00:42:15]MH_I2C_Read... [00:42:15]Read from MH i2c: 01 [00:42:15]MH_I2C_Read... [00:42:15]Read from MH i2c: 01 07 00 [00:42:15]MH_I2C_Read... [00:42:15]Read from MH i2c: 01 07 00 19 0E 00 03 00 00 00 FF 0F 3F [00:42:15]state=3 [00:42:15]No paper [00:42:15]Cover opened [00:42:17]OFD Sender: No OFD packet to send [00:42:20]Write to MH i2c: 01 00 00 1A 0E 28 [00:42:20]Write i2c OK [00:42:20]MH_I2C_Read... [00:42:20]Read from MH i2c: 01 [00:42:20]MH_I2C_Read... [00:42:20]Read from MH i2c: 01 07 00 [00:42:20]MH_I2C_Read... [00:42:20]Read from MH i2c: 01 07 00 1A 0E 00 03 00 00 00 FF 0F 40 [00:42:20]state=3 [00:42:20]No paper [00:42:20]Cover opened [00:42:22]OFD Sender: No OFD packet to send [00:42:25]Write to MH i2c: 01 00 00 1B 0E 29 [00:42:25]Write i2c OK [00:42:25]MH_I2C_Read... [00:42:25]Read from MH i2c: 01 [00:42:25]MH_I2C_Read... [00:42:25]Read from MH i2c: 01 07 00 [00:42:25]MH_I2C_Read... [00:42:25]Read from MH i2c: 01 07 00 1B 0E 00 03 00 00 00 FF 0F 41 [00:42:25]state=3 [00:42:25]No paper [00:42:25]Cover opened [00:42:27]OFD Sender: No OFD packet to send [00:42:30]Write to MH i2c: 01 00 00 1C 0E 2A [00:42:30]Write i2c OK [00:42:30]MH_I2C_Read... [00:42:30]Read from MH i2c: 01 [00:42:30]MH_I2C_Read... [00:42:30]Read from MH i2c: 01 07 00 [00:42:30]MH_I2C_Read... [00:42:30]Read from MH i2c: 01 07 00 1C 0E 00 03 00 00 00 FF 0F 42 [00:42:30]state=3 [00:42:30]No paper [00:42:30]Cover opened [00:42:31]int [00:42:31]Write to MH i2c: 01 00 00 1D 0E 2B [00:42:31]*** FLAG_PRN_PAP1 reset [00:42:31]*** FLAG_PRN_PAP2 reset [00:42:31]Write i2c OK [00:42:31]MH_I2C_Read... [00:42:31]Read from MH i2c: 01 [00:42:31]MH_I2C_Read... [00:42:31]Read from MH i2c: 01 07 00 [00:42:31]MH_I2C_Read... [00:42:31]Read from MH i2c: 01 07 00 1D 0E 00 00 00 00 00 FF 0F 40 [00:42:31]state=3 [00:42:31]Cover closed [00:42:32]OFD Sender: No OFD packet to send [00:42:37]OFD Sender: No OFD packet to send [00:42:42]OFD Sender: No OFD packet to send [00:42:47]OFD Sender: No OFD packet to send [00:42:52]OFD Sender: No OFD packet to send [00:42:57]OFD Sender: No OFD packet to send [00:43:02]OFD Sender: No OFD packet to send [00:43:07]OFD Sender: No OFD packet to send [00:43:12]OFD Sender: No OFD packet to send [00:43:17]OFD Sender: No OFD packet to send [00:43:22]OFD Sender: No OFD packet to send [00:43:27]OFD Sender: No OFD packet to send [00:43:32]OFD Sender: No OFD packet to send [00:43:37]OFD Sender: No OFD packet to send [00:43:42]OFD Sender: No OFD packet to send [00:43:47]OFD Sender: No OFD packet to send [00:43:52]OFD Sender: No OFD packet to send [00:43:57]OFD Sender: No OFD packet to send [00:44:02]OFD Sender: No OFD packet to send [00:44:07]OFD Sender: No OFD packet to send [00:44:12]OFD Sender: No OFD packet to send [00:44:17]OFD Sender: No OFD packet to send [00:44:22]OFD Sender: No OFD packet to send [00:44:27]OFD Sender: No OFD packet to send [00:44:32]OFD Sender: No OFD packet to send [00:44:37]OFD Sender: No OFD packet to send [00:44:42]OFD Sender: No OFD packet to send [00:44:47]OFD Sender: No OFD packet to send [00:44:52]OFD Sender: No OFD packet to send [00:44:57]OFD Sender: No OFD packet to send [00:45:02]OFD Sender: No OFD packet to send [00:45:07]OFD Sender: No OFD packet to send [00:45:12]OFD Sender: No OFD packet to send [00:45:17]OFD Sender: No OFD packet to send [00:45:22]OFD Sender: No OFD packet to send [00:45:27]OFD Sender: No OFD packet to send [00:45:32]OFD Sender: No OFD packet to send [00:45:37]OFD Sender: No OFD packet to send [00:45:42]OFD Sender: No OFD packet to send [00:45:47]OFD Sender: No OFD packet to send [00:45:52]OFD Sender: No OFD packet to send [00:45:57]OFD Sender: No OFD packet to send [00:46:02]OFD Sender: No OFD packet to send [00:46:07]OFD Sender: No OFD packet to send [00:46:12]OFD Sender: No OFD packet to send [00:46:17]OFD Sender: No OFD packet to send [00:46:22]OFD Sender: No OFD packet to send [00:46:27]OFD Sender: No OFD packet to send [00:46:32]OFD Sender: No OFD packet to send [00:46:37]OFD Sender: No OFD packet to send [00:46:42]OFD Sender: No OFD packet to send [00:46:47]OFD Sender: No OFD packet to send [00:46:52]OFD Sender: No OFD packet to send [00:46:57]OFD Sender: No OFD packet to send [00:47:02]OFD Sender: No OFD packet to send [00:47:07]OFD Sender: No OFD packet to send [00:47:12]OFD Sender: No OFD packet to send [00:47:17]OFD Sender: No OFD packet to send [00:47:22]OFD Sender: No OFD packet to send [00:47:27]OFD Sender: No OFD packet to send [00:47:32]OFD Sender: No OFD packet to send [00:47:37]OFD Sender: No OFD packet to send [00:47:42]OFD Sender: No OFD packet to send [00:47:47]OFD Sender: No OFD packet to send [00:47:52]OFD Sender: No OFD packet to send [00:47:57]OFD Sender: No OFD packet to send [00:48:02]OFD Sender: No OFD packet to send [00:48:07]OFD Sender: No OFD packet to send [00:48:12]OFD Sender: No OFD packet to send [00:48:17]OFD Sender: No OFD packet to send [00:48:22]OFD Sender: No OFD packet to send [00:48:27]OFD Sender: No OFD packet to send [00:48:32]OFD Sender: No OFD packet to send [00:48:37]OFD Sender: No OFD packet to send [00:48:42]OFD Sender: No OFD packet to send [00:48:47]OFD Sender: No OFD packet to send [00:48:52]OFD Sender: No OFD packet to send [00:48:57]OFD Sender: No OFD packet to send [00:49:02]OFD Sender: No OFD packet to send [00:49:07]OFD Sender: No OFD packet to send [00:49:12]OFD Sender: No OFD packet to send [00:49:17]OFD Sender: No OFD packet to send [00:49:22]OFD Sender: No OFD packet to send [00:49:27]OFD Sender: No OFD packet to send [00:49:32]OFD Sender: No OFD packet to send [00:49:37]OFD Sender: No OFD packet to send [00:49:42]OFD Sender: No OFD packet to send [00:49:47]OFD Sender: No OFD packet to send [00:49:52]OFD Sender: No OFD packet to send [00:49:57]OFD Sender: No OFD packet to send [00:50:02]OFD Sender: No OFD packet to send [00:50:07]OFD Sender: No OFD packet to send [00:50:12]OFD Sender: No OFD packet to send [00:50:17]OFD Sender: No OFD packet to send [00:50:22]OFD Sender: No OFD packet to send [00:50:27]OFD Sender: No OFD packet to send [00:50:32]OFD Sender: No OFD packet to send [00:50:37]OFD Sender: No OFD packet to send [00:50:42]OFD Sender: No OFD packet to send [00:50:47]OFD Sender: No OFD packet to send [00:50:52]OFD Sender: No OFD packet to send [00:50:57]OFD Sender: No OFD packet to send [00:51:02]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:53]OFD Sender: No OFD packet to send [00:52:58]OFD Sender: No OFD packet to send [00:53:03]OFD Sender: No OFD packet to send [00:53:08]OFD Sender: No OFD packet to send [00:53:13]OFD Sender: No OFD packet to send [00:53:18]OFD Sender: No OFD packet to send [00:53:23]OFD Sender: No OFD packet to send [00:53:28]OFD Sender: No OFD packet to send [00:53:33]OFD Sender: No OFD packet to send [00:53:38]OFD Sender: No OFD packet to send [00:53:43]OFD Sender: No OFD packet to send [00:53:48]OFD Sender: No OFD packet to send [00:53:53]OFD Sender: No OFD packet to send [00:53:58]OFD Sender: No OFD packet to send [00:54:03]OFD Sender: No OFD packet to send [00:54:08]OFD Sender: No OFD packet to send [00:54:13]OFD Sender: No OFD packet to send [00:54:18]OFD Sender: No OFD packet to send [00:54:23]OFD Sender: No OFD packet to send [00:54:28]OFD Sender: No OFD packet to send [00:54:33]OFD Sender: No OFD packet to send [00:54:38]OFD Sender: No OFD packet to send [00:54:43]OFD Sender: No OFD packet to send [00:54:48]OFD Sender: No OFD packet to send [00:54:53]OFD Sender: No OFD packet to send [00:54:58]OFD Sender: No OFD packet to send [00:55:03]OFD Sender: No OFD packet to send [00:55:08]OFD Sender: No OFD packet to send [00:55:13]OFD Sender: No OFD packet to send [00:55:18]OFD Sender: No OFD packet to send [00:55:23]OFD Sender: No OFD packet to send [00:55:28]OFD Sender: No OFD packet to send [00:55:33]OFD Sender: No OFD packet to send [00:55:38]OFD Sender: No OFD packet to send [00:55:43]OFD Sender: No OFD packet to send [00:55:48]OFD Sender: No OFD packet to send [00:55:53]OFD Sender: No OFD packet to send [00:55:58]OFD Sender: No OFD packet to send [00:56:03]OFD Sender: No OFD packet to send [00:56:08]OFD Sender: No OFD packet to send [00:56:13]OFD Sender: No OFD packet to send [00:56:18]OFD Sender: No OFD packet to send [00:56:23]OFD Sender: No OFD packet to send [00:56:28]OFD Sender: No OFD packet to send [00:56:33]OFD Sender: No OFD packet to send [00:56:38]OFD Sender: No OFD packet to send [00:56:43]OFD Sender: No OFD packet to send [00:56:48]OFD Sender: No OFD packet to send [00:56:53]OFD Sender: No OFD packet to send [00:56:58]OFD Sender: No OFD packet to send [00:57:03]OFD Sender: No OFD packet to send [00:57:08]OFD Sender: No OFD packet to send [00:57:13]OFD Sender: No OFD packet to send [00:57:18]OFD Sender: No OFD packet to send [00:57:23]OFD Sender: No OFD packet to send [00:57:28]OFD Sender: No OFD packet to send [00:57:33]OFD Sender: No OFD packet to send [00:57:38]OFD Sender: No OFD packet to send [00:57:43]OFD Sender: No OFD packet to send [00:57:48]OFD Sender: No OFD packet to send [00:57:53]OFD Sender: No OFD packet to send [00:57:58]OFD Sender: No OFD packet to send [00:58:03]OFD Sender: No OFD packet to send [00:58:08]OFD Sender: No OFD packet to send [00:58:13]OFD Sender: No OFD packet to send [00:58:18]OFD Sender: No OFD packet to send [00:58:23]OFD Sender: No OFD packet to send [00:58:28]OFD Sender: No OFD packet to send [00:58:33]OFD Sender: No OFD packet to send [00:58:38]OFD Sender: No OFD packet to send [00:58:43]OFD Sender: No OFD packet to send [00:58:48]OFD Sender: No OFD packet to send [00:58:53]OFD Sender: No OFD packet to send [00:58:58]OFD Sender: No OFD packet to send [00:59:03]OFD Sender: No OFD packet to send [00:59:08]OFD Sender: No OFD packet to send [00:59:13]OFD Sender: No OFD packet to send [00:59:18]OFD Sender: No OFD packet to send [00:59:23]OFD Sender: No OFD packet to send [00:59:28]OFD Sender: No OFD packet to send [00:59:33]OFD Sender: No OFD packet to send [00:59:38]OFD Sender: No OFD packet to send [00:59:43]OFD Sender: No OFD packet to send [00:59:48]OFD Sender: No OFD packet to send [00:59:53]OFD Sender: No OFD packet to send [00:59:58]OFD Sender: No OFD packet to send [01:00:03]OFD Sender: No OFD packet to send [01:00:08]OFD Sender: No OFD packet to send [01:00:13]OFD Sender: No OFD packet to send [01:00:18]OFD Sender: No OFD packet to send [01:00:23]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:04]accept exits with 10 [01:01:04]New connection [01:01:04]New thread 3066813796 created [01:01:04]Thread 3066957156 joined [01:01:04]Waiting for new connection... [01:01:04] Sock 10.Parse request [01:01:04]Sock 10.Check first char [01:01:04]Sock 10.First char is OK [01:01:04]request: POST /json_proto HTTP/1.0 [01:01:04]Method: POST [01:01:04]URL: /json_proto [01:01:04]Method is POST - this is cgi request [01:01:04]url: /json_proto [01:01:04]query_string will be loaded in cgi processing [01:01:04]execute_cgi json_proto POST (null) [01:01:04]execute_cgi path=json_proto method=POST [01:01:04]POST find Content-Length [01:01:04]Host: 172.17.62.6:8080 [01:01:04]Content-Length: 927 [01:01:04]Content-Type: application/json [01:01:04] [01:01:04]POST finish read [01:01:04]Found Content-Length = 927 [01:01:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32942", "tax_sys" : 0, "items" : [ { "code": "4600682002185", "name": "\u041F\u0438\u0432\u043E \u0411\u0430\u043B\u0442\u0438\u043A\u0430 \u041A\u0443\u043B\u0435\u0440 \u0441\u0432 0,5\u043B \u0441\u0442", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 253.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:01:04]execute_script... [01:01:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32942", "tax_sys" : 0, "items" : [ { "code": "4600682002185", "name": "\u041F\u0438\u0432\u043E \u0411\u0430\u043B\u0442\u0438\u043A\u0430 \u041A\u0443\u043B\u0435\u0440 \u0441\u0432 0,5\u043B \u0441\u0442", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 253.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:01:04]POST & json_proto [01:01:04]process_json_proto [01:01:04]json parsed OK: [01:01:04]protocol is kg_v1.0 [01:01:04]action value=close_receipt [01:01:04]process_action close_receipt [01:01:04]cmd_close_receipt [01:01:04]MH_GetDate [01:01:04]Write to MH i2c: F0 00 00 1E 0E 1B [01:01:04]Write i2c OK [01:01:04]MH_I2C_Read... [01:01:04]Read from MH i2c: F0 [01:01:04]MH_I2C_Read... [01:01:04]Read from MH i2c: F0 09 00 [01:01:04]MH_I2C_Read... [01:01:04]Read from MH i2c: F0 09 00 1E 0E 00 D2 B6 25 66 61 69 D2 64 37 [01:01:04]GetLastDocTimeStamp 1713745428 [01:01:04]current date 1713747666 [01:01:04]FM_GetShiftState [01:01:04]SAM_PROTO_GetShiftState [01:01:04]wFMCommunicate request_size=4 [01:01:04]MH_SAM_APDU [01:01:04]CAPDU: 80 13 01 00 [01:01:04]Write to MH i2c: E2 08 00 1F 0E 80 13 01 00 00 00 00 00 AA [01:01:04]Write i2c OK [01:01:04]MH_I2C_Read... [01:01:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:01:04]Read from MH i2c: E2 [01:01:04]MH_I2C_Read... [01:01:04]Read from MH i2c: E2 0E 00 [01:01:04]MH_I2C_Read... [01:01:04]Read from MH i2c: E2 0E 00 1F 0E 00 09 00 01 F6 AB 25 66 00 00 00 00 90 00 E2 [01:01:04]RAPDU: 09 00 01 F6 AB 25 66 00 00 00 00 90 00 [01:01:04]wFMCommunicate OK [01:01:04]SAM_PROTO_GetShiftState done [01:01:04]FM_GetShiftState done [01:01:04]opened in 1713744886 [01:01:04]opened+sec_in_day 1713831286 [01:01:04]quantity*price = 11500 [01:01:04]sum+1 = 11501 [01:01:04]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4640030091607 Сигареты ESSE Exchange 1.000 * 138.00 = 138.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 253.00 НСП 1% : 2.24 НДС 12% : 26.86 Наличными: 253.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 5 22.04.2024 01:01 Смена: 282 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12671 ФПД: 44315302973340 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240422T010106&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12671&fm=44315302973340&tin=02508201610067®Number=0000000000100748&sum=25300 0 [01:01:05]StoreToDocumentArchive [01:01:05]shift 282 fd 12671 [01:01:05]save to /storage/0282/doc_00012671 [01:01:05]save last doc name /storage/0282/doc_00012671 to /storage/kkm_last_doc_name [01:01:05]save OK [01:01:05]Clear old archive folders... [01:01:05]ProcessDocumentItem done err = 0, tmpTLVsize=394 [01:01:05]tlvbuf is 016EA000 [01:01:05]SAM_PROTO_ClearQueue [01:01:05]wFMCommunicate request_size=4 [01:01:05]MH_SAM_APDU [01:01:05]CAPDU: 80 09 00 00 [01:01:05]Write to MH i2c: E2 08 00 2C 0E 80 09 00 00 00 00 00 00 AC [01:01:05]Write i2c OK [01:01:05]MH_I2C_Read... [01:01:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:01:05]Read from MH i2c: E2 [01:01:05]MH_I2C_Read... [01:01:05]Read from MH i2c: E2 03 00 [01:01:05]MH_I2C_Read... [01:01:05]Read from MH i2c: E2 03 00 2C 0E 00 90 00 AE [01:01:05]RAPDU: 90 00 [01:01:05]wFMCommunicate OK [01:01:05]SAM_PROTO_ClearQueue done [01:01:05]KKMCreateOFDPacket [01:01:05]OFDProtocolAddRootSTLVToBuf [01:01:05]FM_MakeSignedData [01:01:05]FM_MakeSignedData [01:01:05]SAM_PROTO_SignData [01:01:05]wFMCommunicate request_size=4 [01:01:05]MH_SAM_APDU [01:01:05]CAPDU: 80 0D 01 02 [01:01:05]Write to MH i2c: E2 08 00 2D 0E 80 0D 01 02 00 00 00 00 B4 [01:01:05]Write i2c OK [01:01:05]MH_I2C_Read... [01:01:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:01:05]Read from MH i2c: E2 [01:01:05]MH_I2C_Read... [01:01:05]Read from MH i2c: E2 03 00 [01:01:05]MH_I2C_Read... [01:01:05]Read from MH i2c: E2 03 00 2D 0E 00 90 00 AF [01:01:05]RAPDU: 90 00 [01:01:05]wFMCommunicate OK [01:01:05]wFMCommunicate request_size=255 [01:01:05]MH_SAM_APDU [01:01:05]CAPDU: 80 0D 02 02 FA 03 00 8A 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 36 30 30 36 38 32 30 30 32 31 38 35 06 04 32 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 91 D0 B0 D0 BB D1 82 D0 B8 D0 BA D0 B0 20 D0 9A D1 83 D0 BB D0 B5 D1 80 20 D1 81 D0 B2 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 62 00 00 00 00 EB 03 26 00 EF 03 0F [01:01:05]Write to MH i2c: E2 02 01 2E 0E 80 0D 02 02 FA 00 03 00 8A 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 36 30 30 36 38 32 30 30 32 31 38 35 06 04 32 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 91 D0 B0 D0 BB D1 82 D0 B8 D0 BA D0 B0 20 D0 9A D1 83 D0 BB D0 B5 D1 80 20 D1 81 D0 B2 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 62 00 00 00 00 EB 03 26 00 EF 03 0F 00 00 DD [01:01:05]Write i2c OK [01:01:05]MH_I2C_Read... [01:01:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:01:05]Read from MH i2c: E2 [01:01:05]MH_I2C_Read... [01:01:05]Read from MH i2c: E2 03 00 [01:01:05]MH_I2C_Read... [01:01:05]Read from MH i2c: E2 03 00 2E 0E 00 90 00 B0 [01:01:05]RAPDU: 90 00 [01:01:05]wFMCommunicate OK [01:01:05]wFMCommunicate request_size=153 [01:01:05]MH_SAM_APDU [01:01:05]CAPDU: 80 0D 02 02 94 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 7E 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 05 00 00 00 F4 03 04 00 D2 B6 25 66 0E 04 04 00 1A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 7F 31 00 00 35 04 06 00 28 4D F5 E4 4F 9C [01:01:05]Write to MH i2c: E2 9C 00 2F 0E 80 0D 02 02 94 00 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 7E 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 05 00 00 00 F4 03 04 00 D2 B6 25 66 0E 04 04 00 1A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 7F 31 00 00 35 04 06 00 28 4D F5 E4 4F 9C 00 00 C3 [01:01:05]Write i2c OK [01:01:05]MH_I2C_Read... [01:01:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:01:05]Read from MH i2c: E2 [01:01:05]MH_I2C_Read... [01:01:05]Read from MH i2c: E2 03 00 [01:01:05]MH_I2C_Read... [01:01:05]Read from MH i2c: E2 03 00 2F 0E 00 90 00 B1 [01:01:05]RAPDU: 90 00 [01:01:05]wFMCommunicate OK [01:01:05]wFMCommunicate request_size=4 [01:01:05]MH_SAM_APDU [01:01:05]CAPDU: 80 0D 03 02 [01:01:05]Write to MH i2c: E2 08 00 30 0E 80 0D 03 02 00 00 00 00 B9 [01:01:05]Write i2c OK [01:01:05]MH_I2C_Read... [01:01:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:01:05]Read from MH i2c: E2 [01:01:05]MH_I2C_Read... [01:01:05]Read from MH i2c: E2 0B 00 [01:01:05]MH_I2C_Read... [01:01:05]Read from MH i2c: E2 0B 00 30 0E 00 1E D9 8A 0B A9 FE 63 B5 90 00 05 [01:01:05]RAPDU: 1E D9 8A 0B A9 FE 63 B5 90 00 [01:01:05]wFMCommunicate OK [01:01:05]SAM_PROTO_SignData done [01:01:05]FM_MakeSignedData done [01:01:05]CreateOFDProtocolMessage [01:01:05]wFMCommunicate request_size=4 [01:01:05]MH_SAM_APDU [01:01:05]CAPDU: 80 11 00 00 [01:01:05]Write to MH i2c: E2 08 00 31 0E 80 11 00 00 00 00 00 00 B9 [01:01:05]Write i2c OK [01:01:05]MH_I2C_Read... [01:01:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:01:06]Read from MH i2c: E2 [01:01:06]MH_I2C_Read... [01:01:06]Read from MH i2c: E2 17 00 [01:01:06]MH_I2C_Read... [01:01:06]Read from MH i2c: E2 17 00 31 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 13 [01:01:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [01:01:06]wFMCommunicate OK [01:01:06]CreateOFDProtocolMessage done [01:01:06]OFDSenderStorePacket 12671 [01:01:06]StoreOFDPacket docnum=12671 [01:01:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 9E 01 00 00 25 01 96 01 FB 83 5A 03 01 00 03 00 8A 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 36 30 30 36 38 32 30 30 32 31 38 35 06 04 32 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 91 D0 B0 D0 BB D1 82 D0 B8 D0 BA D0 B0 20 D0 9A D1 83 D0 BB D0 B5 D1 80 20 D1 81 D0 B2 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 7E 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 05 00 00 00 F4 03 04 00 D2 B6 25 66 0E 04 04 00 1A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 7F 31 00 00 35 04 06 00 28 4D F5 E4 4F 9C 1E D9 8A 0B A9 FE 63 B5 [01:01:06]CheckFolder [01:01:06]dirname=/storage/ofd_packets [01:01:06]CheckFolder done [01:01:06]ProducePacketName [01:01:06]name=ofd_packets/00012671 [01:01:06]NVStorageSaveData ofd_packets/00012671 [01:01:06]File name is /storage/ofd_packets/00012671 [01:01:06]Write 444 bytes [01:01:06]NVStorageSaveData done [01:01:06]OFDSenderStorePacket done [01:01:06]KKMCreateOFDPacket done [01:01:06]NVStorageSaveData kkm_last_timestamp [01:01:06]File name is /storage/kkm_last_timestamp [01:01:06]Write 4 bytes [01:01:06]NVStorageSaveData done [01:01:06]ExternCall_PrintAddStr [01:01:06]wPrintStart [01:01:06]Write to MH i2c: 01 00 00 32 0E 40 [01:01:06]Write i2c OK [01:01:06]MH_I2C_Read... [01:01:06]Read from MH i2c: 01 [01:01:06]MH_I2C_Read... [01:01:06]Read from MH i2c: 01 07 00 [01:01:06]MH_I2C_Read... [01:01:06]OFD Sender: Processing packet 12671 [packets to send 7, broken 6] [01:01:06]ProducePacketName [01:01:06]name=ofd_packets/00012671 [01:01:06]OFD Sender: To server: pG, [01:01:06]CommunicateWithHost lk.salyk.kg:30040 [01:01:06]ConnectInit lk.salyk.kg [01:01:06]Read from MH i2c: 01 07 00 32 0E 00 00 00 00 00 FF 0F 55 [01:01:06]RasterBufferAndPrint [01:01:06]line Счет N : (3)32942 [01:01:06]line ИНН: 02508201610067 [01:01:06]line Контрольно-Кассовый Чек [01:01:06]line ПРОДАЖА [01:01:06]line Товар: 4600682002185 [01:01:06]line Пиво Балтика Кулер св 0,5л ст [01:01:06]line 1.000 * 115.00 [01:01:06]line = 115.00 [01:01:06]line НДС 12% НСП 1% [01:01:06]line > о реализуемом товаре [01:01:06]line Товар: 4640030091607 [01:01:06]line Сигареты ESSE Exchange [01:01:06]line 1.000 * 138.00 [01:01:06]line = 138.00 [01:01:06]line НДС 12% НСП 1% [01:01:06]line > о реализуемом товаре [01:01:06]line ИТОГО: 253.00 [01:01:06]line НСП 1% : 2.24 [01:01:06]line НДС 12% : 26.86 [01:01:06]line Наличными: 253.00 [01:01:06]line Безнал.: 0.00 [01:01:06]line Место: АЗС № 106 "Партнер Нефть" [01:01:06]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [01:01:06]line СНО: Общий режим [01:01:06]line Чек 5 22.04.2024 01:01 [01:01:06]line Смена: 282 ФФД: 1.0 [01:01:06]line ЗНМ: 0300000004 [01:01:06]line РНМ: 0000000000100748 [01:01:06]line Версия ККМ: 001 [01:01:06]line ФМ: 0000000000965685 [01:01:06]line ФД: 12671 [01:01:06]line ФПД: 44315302973340 [01:01:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240422T010106&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12671&fm=44315302973340&tin=02508201610067®Number=0000000000100748&sum=25300 [01:01:06]line 0 [01:01:06]written 0, free lines is 4095 [01:01:06]Connected sock=9 [01:01:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 9E 01 00 00 25 01 96 01 FB 83 5A 03 01 00 03 00 8A 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 36 30 30 36 38 32 30 30 32 31 38 35 06 04 32 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 91 D0 B0 D0 BB D1 82 D0 B8 D0 BA D0 B0 20 D0 9A D1 83 D0 BB D0 B5 D1 80 20 D1 81 D0 B2 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 7E 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 05 00 00 00 F4 03 04 00 D2 B6 25 66 0E 04 04 00 1A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 7F 31 00 00 35 04 06 00 28 4D F5 E4 4F 9C 1E D9 8A 0B A9 FE 63 B5 [01:01:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 60 B0 47 00 8E 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 39 36 35 36 38 35 10 04 04 00 7F 31 00 00 F4 03 04 00 51 5F 25 66 B6 04 01 00 00 38 BC 95 5C FF 7A D3 8F [01:01:06]CommunicateWithHost err = 0 [01:01:06]CheckOFDResponse [01:01:06]1017 (14) - 77093643461234 [01:01:06]1041 (16) - 0000000000965685 [01:01:06]1040 (4) - 12671 [01:01:06]1012 (4) - 21.04.2024 18:47 [01:01:06]1206 (1) - 0 [01:01:06]OFD Sender: Remove packet 12671 [01:01:06]ProducePacketName [01:01:06]name=ofd_packets/00012671 [01:01:06]NVStorageDeleteData [01:01:06]Write to MH i2c: 01 00 00 60 0E 6E [01:01:06]Write i2c OK [01:01:06]MH_I2C_Read... [01:01:06]Read from MH i2c: 01 [01:01:06]MH_I2C_Read... [01:01:06]Read from MH i2c: 01 07 00 [01:01:06]MH_I2C_Read... [01:01:06]Read from MH i2c: 01 07 00 60 0E 00 00 00 00 00 AF 0C 30 [01:01:06]RasterBufferAndPrint [01:01:06]line [01:01:06]line [01:01:06]line [01:01:06]line [01:01:06]line [01:01:06]written 0, free lines is 3254 [01:01:06]MH_Cut [01:01:06]Write to MH i2c: D1 01 00 67 0E 01 47 [01:01:06]Write i2c OK [01:01:06]MH_I2C_Read... [01:01:06]Read from MH i2c: D1 [01:01:06]MH_I2C_Read... [01:01:06]Read from MH i2c: D1 01 00 [01:01:06]MH_I2C_Read... [01:01:06]Read from MH i2c: D1 01 00 67 0E 00 46 [01:01:06]Write to MH i2c: 01 00 00 68 0E 76 [01:01:06]Write i2c OK [01:01:06]MH_I2C_Read... [01:01:07]OFD Sender: No OFD packet to send [01:01:07]*** Cut start [01:01:07]*** Partial cut [01:01:07]*** CUTSNS_PIN = 1 [01:01:07]*** CUTSNS_PIN = 0 [01:01:07]*** Brake cut motor [01:01:08]Read from MH i2c: 01 [01:01:08]MH_I2C_Read... [01:01:08]*** Stop cut motor [01:01:08]*** Cut end [01:01:08]Read from MH i2c: 01 07 00 [01:01:08]MH_I2C_Read... [01:01:08]Read from MH i2c: 01 07 00 68 0E 00 00 00 00 00 FF 0F 8B [01:01:08]process_action close_receipt done [01:01:08]requested_data is exist [01:01:08]produce_requested_data [01:01:08]requested_item fm.sn is exist - process it [01:01:08]wFMCommunicate request_size=4 [01:01:08]MH_SAM_APDU [01:01:08]CAPDU: 80 11 00 00 [01:01:08]Write to MH i2c: E2 08 00 69 0E 80 11 00 00 00 00 00 00 F1 [01:01:08]Write i2c OK [01:01:08]MH_I2C_Read... [01:01:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:01:08]Read from MH i2c: E2 [01:01:08]MH_I2C_Read... [01:01:08]Read from MH i2c: E2 17 00 [01:01:08]MH_I2C_Read... [01:01:08]Read from MH i2c: E2 17 00 69 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 4B [01:01:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [01:01:08]wFMCommunicate OK [01:01:08]requested_item fd.num is exist - process it [01:01:08]SAM_PROTO_GetFieldsCounters [01:01:08]wFMCommunicate request_size=4 [01:01:08]MH_SAM_APDU [01:01:08]CAPDU: 80 13 00 00 [01:01:08]Write to MH i2c: E2 08 00 6A 0E 80 13 00 00 00 00 00 00 F4 [01:01:08]Write i2c OK [01:01:08]MH_I2C_Read... [01:01:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:01:08]Read from MH i2c: E2 [01:01:08]MH_I2C_Read... [01:01:08]Read from MH i2c: E2 62 00 [01:01:08]MH_I2C_Read... [01:01:08]Read from MH i2c: E2 62 00 6A 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 7F 31 00 00 0E 04 04 00 1A 01 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 F1 [01:01:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 7F 31 00 00 0E 04 04 00 1A 01 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:01:08]wFMCommunicate OK [01:01:08]SAM_PROTO_GetFieldsCounters done [01:01:08]requested_item shift.num is exist - process it [01:01:08]requested_item shift.opened is exist - process it [01:01:08]req_shift_opened [01:01:08]FM_GetShiftState [01:01:08]SAM_PROTO_GetShiftState [01:01:08]wFMCommunicate request_size=4 [01:01:08]MH_SAM_APDU [01:01:08]CAPDU: 80 13 01 00 [01:01:08]Write to MH i2c: E2 08 00 6B 0E 80 13 01 00 00 00 00 00 F6 [01:01:08]Write i2c OK [01:01:08]MH_I2C_Read... [01:01:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:01:08]Read from MH i2c: E2 [01:01:08]MH_I2C_Read... [01:01:08]Read from MH i2c: E2 0E 00 [01:01:08]MH_I2C_Read... [01:01:08]Read from MH i2c: E2 0E 00 6B 0E 00 09 00 01 F6 AB 25 66 00 00 00 00 90 00 2E [01:01:08]RAPDU: 09 00 01 F6 AB 25 66 00 00 00 00 90 00 [01:01:08]wFMCommunicate OK [01:01:08]SAM_PROTO_GetShiftState done [01:01:08]FM_GetShiftState done [01:01:08]req_shift_opened done [01:01:08]requested_item shift.open_date is exist - process it [01:01:08]req_shift_open_date [01:01:08]req_shift_open_date done [01:01:08]produce_requested_data done [01:01:08]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12671,"shift.num":282,"shift.opened":1,"shift.open_date":1713744886} [01:01:08]process_action_free close_receipt [01:01:08]json_value_free [01:01:08]json_value_free done [01:01:08]process_json_proto returns [01:01:08]Send response to host [01:01:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12671,"shift.num":282,"shift.opened":1,"shift.open_date":1713744886}}} [01:01:08]free response buf [01:01:08]execute_script done [01:01:08]execute_script returns [01:01:08]free content buf [01:01:08]Sock 10.Close socket [01:01:08]Sock 10.Thread stoped [01:01:12]OFD Sender: No OFD packet to send [01:01:17]OFD Sender: No OFD packet to send [01:01:22]OFD Sender: No OFD packet to send [01:01:27]OFD Sender: No OFD packet to send [01:01:32]OFD Sender: No OFD packet to send [01:01:37]OFD Sender: No OFD packet to send [01:01:42]OFD Sender: No OFD packet to send [01:01:47]OFD Sender: No OFD packet to send [01:01:52]OFD Sender: No OFD packet to send [01:01:57]OFD Sender: No OFD packet to send [01:02:02]OFD Sender: No OFD packet to send [01:02:07]OFD Sender: No OFD packet to send [01:02:12]OFD Sender: No OFD packet to send [01:02:17]OFD Sender: No OFD packet to send [01:02:22]OFD Sender: No OFD packet to send [01:02:27]OFD Sender: No OFD packet to send [01:02:32]OFD Sender: No OFD packet to send [01:02:37]OFD Sender: No OFD packet to send [01:02:42]OFD Sender: No OFD packet to send [01:02:47]OFD Sender: No OFD packet to send [01:02:52]OFD Sender: No OFD packet to send [01:02:57]OFD Sender: No OFD packet to send [01:03:02]OFD Sender: No OFD packet to send [01:03:07]OFD Sender: No OFD packet to send [01:03:12]OFD Sender: No OFD packet to send [01:03:17]OFD Sender: No OFD packet to send [01:03:22]OFD Sender: No OFD packet to send [01:03:27]OFD Sender: No OFD packet to send [01:03:32]OFD Sender: No OFD packet to send [01:03:37]OFD Sender: No OFD packet to send [01:03:42]OFD Sender: No OFD packet to send [01:03:47]OFD Sender: No OFD packet to send [01:03:52]OFD Sender: No OFD packet to send [01:03:57]OFD Sender: No OFD packet to send [01:04:02]OFD Sender: No OFD packet to send [01:04:07]OFD Sender: No OFD packet to send [01:04:12]OFD Sender: No OFD packet to send [01:04:17]OFD Sender: No OFD packet to send [01:04:22]OFD Sender: No OFD packet to send [01:04:27]OFD Sender: No OFD packet to send [01:04:32]OFD Sender: No OFD packet to send [01:04:37]OFD Sender: No OFD packet to send [01:04:42]OFD Sender: No OFD packet to send [01:04:47]OFD Sender: No OFD packet to send [01:04:52]OFD Sender: No OFD packet to send [01:04:57]OFD Sender: No OFD packet to send [01:05:02]OFD Sender: No OFD packet to send [01:05:07]OFD Sender: No OFD packet to send [01:05:12]OFD Sender: No OFD packet to send [01:05:17]OFD Sender: No OFD packet to send [01:05:22]OFD Sender: No OFD packet to send [01:05:27]OFD Sender: No OFD packet to send [01:05:32]OFD Sender: No OFD packet to send [01:05:37]OFD Sender: No OFD packet to send [01:05:42]OFD Sender: No OFD packet to send [01:05:47]OFD Sender: No OFD packet to send [01:05:52]OFD Sender: No OFD packet to send [01:05:57]OFD Sender: No OFD packet to send [01:06:02]OFD Sender: No OFD packet to send [01:06:07]OFD Sender: No OFD packet to send [01:06:12]OFD Sender: No OFD packet to send [01:06:17]OFD Sender: No OFD packet to send [01:06:22]OFD Sender: No OFD packet to send [01:06:27]OFD Sender: No OFD packet to send [01:06:32]OFD Sender: No OFD packet to send [01:06:37]OFD Sender: No OFD packet to send [01:06:42]OFD Sender: No OFD packet to send [01:06:47]OFD Sender: No OFD packet to send [01:06:52]OFD Sender: No OFD packet to send [01:06:57]OFD Sender: No OFD packet to send [01:07:02]OFD Sender: No OFD packet to send [01:07:07]OFD Sender: No OFD packet to send [01:07:12]OFD Sender: No OFD packet to send [01:07:17]OFD Sender: No OFD packet to send [01:07:22]OFD Sender: No OFD packet to send [01:07:27]OFD Sender: No OFD packet to send [01:07:32]OFD Sender: No OFD packet to send [01:07:37]OFD Sender: No OFD packet to send [01:07:42]OFD Sender: No OFD packet to send [01:07:47]OFD Sender: No OFD packet to send [01:07:52]OFD Sender: No OFD packet to send [01:07:57]OFD Sender: No OFD packet to send [01:08:02]OFD Sender: No OFD packet to send [01:08:07]OFD Sender: No OFD packet to send [01:08:12]OFD Sender: No OFD packet to send [01:08:17]OFD Sender: No OFD packet to send [01:08:22]OFD Sender: No OFD packet to send [01:08:27]OFD Sender: No OFD packet to send [01:08:32]OFD Sender: No OFD packet to send [01:08:37]OFD Sender: No OFD packet to send [01:08:42]OFD Sender: No OFD packet to send [01:08:47]OFD Sender: No OFD packet to send [01:08:52]OFD Sender: No OFD packet to send [01:08:57]OFD Sender: No OFD packet to send [01:09:02]OFD Sender: No OFD packet to send [01:09:07]OFD Sender: No OFD packet to send [01:09:12]OFD Sender: No OFD packet to send [01:09:17]OFD Sender: No OFD packet to send [01:09:22]OFD Sender: No OFD packet to send [01:09:27]OFD Sender: No OFD packet to send [01:09:32]OFD Sender: No OFD packet to send [01:09:37]OFD Sender: No OFD packet to send [01:09:42]OFD Sender: No OFD packet to send [01:09:47]OFD Sender: No OFD packet to send [01:09:52]OFD Sender: No OFD packet to send [01:09:57]OFD Sender: No OFD packet to send [01:10:02]OFD Sender: No OFD packet to send [01:10:07]OFD Sender: No OFD packet to send [01:10:12]OFD Sender: No OFD packet to send [01:10:17]OFD Sender: No OFD packet to send [01:10:22]OFD Sender: No OFD packet to send [01:10:27]OFD Sender: No OFD packet to send [01:10:32]OFD Sender: No OFD packet to send [01:10:37]OFD Sender: No OFD packet to send [01:10:42]OFD Sender: No OFD packet to send [01:10:47]OFD Sender: No OFD packet to send [01:10:52]OFD Sender: No OFD packet to send [01:10:57]OFD Sender: No OFD packet to send [01:11:02]OFD Sender: No OFD packet to send [01:11:07]OFD Sender: No OFD packet to send [01:11:12]OFD Sender: No OFD packet to send [01:11:17]OFD Sender: No OFD packet to send [01:11:22]OFD Sender: No OFD packet to send [01:11:27]OFD Sender: No OFD packet to send [01:11:32]OFD Sender: No OFD packet to send [01:11:37]OFD Sender: No OFD packet to send [01:11:42]OFD Sender: No OFD packet to send [01:11:47]OFD Sender: No OFD packet to send [01:11:52]OFD Sender: No OFD packet to send [01:11:57]OFD Sender: No OFD packet to send [01:12:02]OFD Sender: No OFD packet to send [01:12:07]OFD Sender: No OFD packet to send [01:12:12]OFD Sender: No OFD packet to send [01:12:17]OFD Sender: No OFD packet to send [01:12:22]OFD Sender: No OFD packet to send [01:12:27]OFD Sender: No OFD packet to send [01:12:32]OFD Sender: No OFD packet to send [01:12:37]OFD Sender: No OFD packet to send [01:12:42]OFD Sender: No OFD packet to send [01:12:47]OFD Sender: No OFD packet to send [01:12:52]OFD Sender: No OFD packet to send [01:12:57]OFD Sender: No OFD packet to send [01:13:02]OFD Sender: No OFD packet to send [01:13:07]OFD Sender: No OFD packet to send [01:13:12]OFD Sender: No OFD packet to send [01:13:17]OFD Sender: No OFD packet to send [01:13:22]OFD Sender: No OFD packet to send [01:13:27]OFD Sender: No OFD packet to send [01:13:32]OFD Sender: No OFD packet to send [01:13:37]OFD Sender: No OFD packet to send [01:13:42]OFD Sender: No OFD packet to send [01:13:47]OFD Sender: No OFD packet to send [01:13:52]OFD Sender: No OFD packet to send [01:13:57]OFD Sender: No OFD packet to send [01:14:02]OFD Sender: No OFD packet to send [01:14:07]OFD Sender: No OFD packet to send [01:14:12]OFD Sender: No OFD packet to send [01:14:17]OFD Sender: No OFD packet to send [01:14:22]OFD Sender: No OFD packet to send [01:14:27]OFD Sender: No OFD packet to send [01:14:32]OFD Sender: No OFD packet to send [01:14:37]OFD Sender: No OFD packet to send [01:14:42]OFD Sender: No OFD packet to send [01:14:47]OFD Sender: No OFD packet to send [01:14:52]OFD Sender: No OFD packet to send [01:14:57]OFD Sender: No OFD packet to send [01:15:02]OFD Sender: No OFD packet to send [01:15:07]OFD Sender: No OFD packet to send [01:15:12]OFD Sender: No OFD packet to send [01:15:17]OFD Sender: No OFD packet to send [01:15:22]OFD Sender: No OFD packet to send [01:15:27]OFD Sender: No OFD packet to send [01:15:32]OFD Sender: No OFD packet to send [01:15:37]OFD Sender: No OFD packet to send [01:15:42]OFD Sender: No OFD packet to send [01:15:47]OFD Sender: No OFD packet to send [01:15:52]OFD Sender: No OFD packet to send [01:15:57]OFD Sender: No OFD packet to send [01:16:02]OFD Sender: No OFD packet to send [01:16:07]OFD Sender: No OFD packet to send [01:16:12]OFD Sender: No OFD packet to send [01:16:17]OFD Sender: No OFD packet to send [01:16:22]OFD Sender: No OFD packet to send [01:16:27]OFD Sender: No OFD packet to send [01:16:32]OFD Sender: No OFD packet to send [01:16:37]OFD Sender: No OFD packet to send [01:16:42]OFD Sender: No OFD packet to send [01:16:47]OFD Sender: No OFD packet to send [01:16:52]OFD Sender: No OFD packet to send [01:16:57]OFD Sender: No OFD packet to send [01:17:02]OFD Sender: No OFD packet to send [01:17:07]OFD Sender: No OFD packet to send [01:17:12]OFD Sender: No OFD packet to send [01:17:17]OFD Sender: No OFD packet to send [01:17:22]OFD Sender: No OFD packet to send [01:17:27]OFD Sender: No OFD packet to send [01:17:32]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:13]OFD Sender: No OFD packet to send [01:19:18]OFD Sender: No OFD packet to send [01:19:23]OFD Sender: No OFD packet to send [01:19:28]OFD Sender: No OFD packet to send [01:19:33]OFD Sender: No OFD packet to send [01:19:38]OFD Sender: No OFD packet to send [01:19:43]OFD Sender: No OFD packet to send [01:19:48]OFD Sender: No OFD packet to send [01:19:53]OFD Sender: No OFD packet to send [01:19:58]OFD Sender: No OFD packet to send [01:20:03]OFD Sender: No OFD packet to send [01:20:08]OFD Sender: No OFD packet to send [01:20:13]OFD Sender: No OFD packet to send [01:20:18]OFD Sender: No OFD packet to send [01:20:23]OFD Sender: No OFD packet to send [01:20:28]OFD Sender: No OFD packet to send [01:20:33]OFD Sender: No OFD packet to send [01:20:38]OFD Sender: No OFD packet to send [01:20:43]OFD Sender: No OFD packet to send [01:20:48]OFD Sender: No OFD packet to send [01:20:53]OFD Sender: No OFD packet to send [01:20:58]OFD Sender: No OFD packet to send [01:21:03]OFD Sender: No OFD packet to send [01:21:08]OFD Sender: No OFD packet to send [01:21:13]OFD Sender: No OFD packet to send [01:21:18]OFD Sender: No OFD packet to send [01:21:23]OFD Sender: No OFD packet to send [01:21:28]OFD Sender: No OFD packet to send [01:21:33]OFD Sender: No OFD packet to send [01:21:38]OFD Sender: No OFD packet to send [01:21:43]OFD Sender: No OFD packet to send [01:21:48]OFD Sender: No OFD packet to send [01:21:53]OFD Sender: No OFD packet to send [01:21:58]OFD Sender: No OFD packet to send [01:22:03]OFD Sender: No OFD packet to send [01:22:08]OFD Sender: No OFD packet to send [01:22:13]OFD Sender: No OFD packet to send [01:22:18]OFD Sender: No OFD packet to send [01:22:23]OFD Sender: No OFD packet to send [01:22:28]OFD Sender: No OFD packet to send [01:22:33]OFD Sender: No OFD packet to send [01:22:38]OFD Sender: No OFD packet to send [01:22:43]OFD Sender: No OFD packet to send [01:22:48]OFD Sender: No OFD packet to send [01:22:53]OFD Sender: No OFD packet to send [01:22:58]OFD Sender: No OFD packet to send [01:23:03]OFD Sender: No OFD packet to send [01:23:08]OFD Sender: No OFD packet to send [01:23:13]OFD Sender: No OFD packet to send [01:23:18]OFD Sender: No OFD packet to send [01:23:23]OFD Sender: No OFD packet to send [01:23:28]OFD Sender: No OFD packet to send [01:23:33]OFD Sender: No OFD packet to send [01:23:38]OFD Sender: No OFD packet to send [01:23:43]OFD Sender: No OFD packet to send [01:23:48]OFD Sender: No OFD packet to send [01:23:53]OFD Sender: No OFD packet to send [01:23:58]OFD Sender: No OFD packet to send [01:24:03]OFD Sender: No OFD packet to send [01:24:08]OFD Sender: No OFD packet to send [01:24:13]OFD Sender: No OFD packet to send [01:24:18]OFD Sender: No OFD packet to send [01:24:23]OFD Sender: No OFD packet to send [01:24:28]OFD Sender: No OFD packet to send [01:24:33]OFD Sender: No OFD packet to send [01:24:38]OFD Sender: No OFD packet to send [01:24:43]OFD Sender: No OFD packet to send [01:24:48]OFD Sender: No OFD packet to send [01:24:53]OFD Sender: No OFD packet to send [01:24:58]OFD Sender: No OFD packet to send [01:25:03]OFD Sender: No OFD packet to send [01:25:08]OFD Sender: No OFD packet to send [01:25:13]OFD Sender: No OFD packet to send [01:25:18]OFD Sender: No OFD packet to send [01:25:23]OFD Sender: No OFD packet to send [01:25:28]OFD Sender: No OFD packet to send [01:25:33]OFD Sender: No OFD packet to send [01:25:38]OFD Sender: No OFD packet to send [01:25:43]OFD Sender: No OFD packet to send [01:25:48]OFD Sender: No OFD packet to send [01:25:53]OFD Sender: No OFD packet to send [01:25:58]OFD Sender: No OFD packet to send [01:26:03]OFD Sender: No OFD packet to send [01:26:08]OFD Sender: No OFD packet to send [01:26:13]OFD Sender: No OFD packet to send [01:26:18]OFD Sender: No OFD packet to send [01:26:23]OFD Sender: No OFD packet to send [01:26:28]OFD Sender: No OFD packet to send [01:26:33]OFD Sender: No OFD packet to send [01:26:38]OFD Sender: No OFD packet to send [01:26:43]OFD Sender: No OFD packet to send [01:26:48]OFD Sender: No OFD packet to send [01:26:53]OFD Sender: No OFD packet to send [01:26:58]OFD Sender: No OFD packet to send [01:27:03]OFD Sender: No OFD packet to send [01:27:08]OFD Sender: No OFD packet to send [01:27:13]OFD Sender: No OFD packet to send [01:27:18]OFD Sender: No OFD packet to send [01:27:23]OFD Sender: No OFD packet to send [01:27:28]OFD Sender: No OFD packet to send [01:27:33]OFD Sender: No OFD packet to send [01:27:38]OFD Sender: No OFD packet to send [01:27:43]OFD Sender: No OFD packet to send [01:27:48]OFD Sender: No OFD packet to send [01:27:53]OFD Sender: No OFD packet to send [01:27:58]OFD Sender: No OFD packet to send [01:28:03]OFD Sender: No OFD packet to send [01:28:08]OFD Sender: No OFD packet to send [01:28:13]OFD Sender: No OFD packet to send [01:28:18]OFD Sender: No OFD packet to send [01:28:23]OFD Sender: No OFD packet to send [01:28:28]OFD Sender: No OFD packet to send [01:28:33]OFD Sender: No OFD packet to send [01:28:38]OFD Sender: No OFD packet to send [01:28:43]OFD Sender: No OFD packet to send [01:28:48]OFD Sender: No OFD packet to send [01:28:53]OFD Sender: No OFD packet to send [01:28:58]OFD Sender: No OFD packet to send [01:29:03]OFD Sender: No OFD packet to send [01:29:08]OFD Sender: No OFD packet to send [01:29:13]OFD Sender: No OFD packet to send [01:29:18]OFD Sender: No OFD packet to send [01:29:23]OFD Sender: No OFD packet to send [01:29:28]OFD Sender: No OFD packet to send [01:29:33]OFD Sender: No OFD packet to send [01:29:38]OFD Sender: No OFD packet to send [01:29:43]OFD Sender: No OFD packet to send [01:29:48]OFD Sender: No OFD packet to send [01:29:53]OFD Sender: No OFD packet to send [01:29:58]OFD Sender: No OFD packet to send [01:30:03]OFD Sender: No OFD packet to send [01:30:08]OFD Sender: No OFD packet to send [01:30:13]OFD Sender: No OFD packet to send [01:30:18]OFD Sender: No OFD packet to send [01:30:23]OFD Sender: No OFD packet to send [01:30:28]OFD Sender: No OFD packet to send [01:30:33]OFD Sender: No OFD packet to send [01:30:38]OFD Sender: No OFD packet to send [01:30:43]OFD Sender: No OFD packet to send [01:30:48]OFD Sender: No OFD packet to send [01:30:53]OFD Sender: No OFD packet to send [01:30:58]OFD Sender: No OFD packet to send [01:31:03]OFD Sender: No OFD packet to send [01:31:08]OFD Sender: No OFD packet to send [01:31:13]OFD Sender: No OFD packet to send [01:31:18]OFD Sender: No OFD packet to send [01:31:23]OFD Sender: No OFD packet to send [01:31:28]OFD Sender: No OFD packet to send [01:31:33]OFD Sender: No OFD packet to send [01:31:38]OFD Sender: No OFD packet to send [01:31:43]OFD Sender: No OFD packet to send [01:31:48]OFD Sender: No OFD packet to send [01:31:53]OFD Sender: No OFD packet to send [01:31:58]OFD Sender: No OFD packet to send [01:32:03]OFD Sender: No OFD packet to send [01:32:08]OFD Sender: No OFD packet to send [01:32:13]OFD Sender: No OFD packet to send [01:32:18]OFD Sender: No OFD packet to send [01:32:23]OFD Sender: No OFD packet to send [01:32:28]OFD Sender: No OFD packet to send [01:32:33]OFD Sender: No OFD packet to send [01:32:38]OFD Sender: No OFD packet to send [01:32:43]OFD Sender: No OFD packet to send [01:32:48]OFD Sender: No OFD packet to send [01:32:53]OFD Sender: No OFD packet to send [01:32:58]OFD Sender: No OFD packet to send [01:33:03]OFD Sender: No OFD packet to send [01:33:08]OFD Sender: No OFD packet to send [01:33:13]OFD Sender: No OFD packet to send [01:33:18]OFD Sender: No OFD packet to send [01:33:23]OFD Sender: No OFD packet to send [01:33:28]OFD Sender: No OFD packet to send [01:33:33]OFD Sender: No OFD packet to send [01:33:38]OFD Sender: No OFD packet to send [01:33:43]OFD Sender: No OFD packet to send [01:33:48]OFD Sender: No OFD packet to send [01:33:53]OFD Sender: No OFD packet to send [01:33:58]OFD Sender: No OFD packet to send [01:34:03]OFD Sender: No OFD packet to send [01:34:08]OFD Sender: No OFD packet to send [01:34:13]OFD Sender: No OFD packet to send [01:34:18]OFD Sender: No OFD packet to send [01:34:23]OFD Sender: No OFD packet to send [01:34:28]OFD Sender: No OFD packet to send [01:34:33]OFD Sender: No OFD packet to send [01:34:38]OFD Sender: No OFD packet to send [01:34:43]OFD Sender: No OFD packet to send [01:34:48]OFD Sender: No OFD packet to send [01:34:53]OFD Sender: No OFD packet to send [01:34:58]OFD Sender: No OFD packet to send [01:35:03]OFD Sender: No OFD packet to send [01:35:08]OFD Sender: No OFD packet to send [01:35:13]OFD Sender: No OFD packet to send [01:35:18]OFD Sender: No OFD packet to send [01:35:23]OFD Sender: No OFD packet to send [01:35:28]OFD Sender: No OFD packet to send [01:35:33]OFD Sender: No OFD packet to send [01:35:38]OFD Sender: No OFD packet to send [01:35:43]OFD Sender: No OFD packet to send [01:35:48]OFD Sender: No OFD packet to send [01:35:53]OFD Sender: No OFD packet to send [01:35:58]OFD Sender: No OFD packet to send [01:36:03]OFD Sender: No OFD packet to send [01:36:08]OFD Sender: No OFD packet to send [01:36:13]OFD Sender: No OFD packet to send [01:36:18]OFD Sender: No OFD packet to send [01:36:23]OFD Sender: No OFD packet to send [01:36:28]OFD Sender: No OFD packet to send [01:36:33]OFD Sender: No OFD packet to send [01:36:38]OFD Sender: No OFD packet to send [01:36:43]OFD Sender: No OFD packet to send [01:36:48]OFD Sender: No OFD packet to send [01:36:53]OFD Sender: No OFD packet to send [01:36:58]OFD Sender: No OFD packet to send [01:37:03]OFD Sender: No OFD packet to send [01:37:08]OFD Sender: No OFD packet to send [01:37:13]OFD Sender: No OFD packet to send [01:37:18]OFD Sender: No OFD packet to send [01:37:23]OFD Sender: No OFD packet to send [01:37:28]OFD Sender: No OFD packet to send [01:37:33]OFD Sender: No OFD packet to send [01:37:38]OFD Sender: No OFD packet to send [01:37:43]OFD Sender: No OFD packet to send [01:37:48]OFD Sender: No OFD packet to send [01:37:53]OFD Sender: No OFD packet to send [01:37:58]OFD Sender: No OFD packet to send [01:38:03]OFD Sender: No OFD packet to send [01:38:08]OFD Sender: No OFD packet to send [01:38:13]OFD Sender: No OFD packet to send [01:38:18]OFD Sender: No OFD packet to send [01:38:23]OFD Sender: No OFD packet to send [01:38:28]OFD Sender: No OFD packet to send [01:38:33]OFD Sender: No OFD packet to send [01:38:38]OFD Sender: No OFD packet to send [01:38:43]OFD Sender: No OFD packet to send [01:38:48]OFD Sender: No OFD packet to send [01:38:53]OFD Sender: No OFD packet to send [01:38:58]OFD Sender: No OFD packet to send [01:39:03]OFD Sender: No OFD packet to send [01:39:09]OFD Sender: No OFD packet to send [01:39:14]OFD Sender: No OFD packet to send [01:39:19]OFD Sender: No OFD packet to send [01:39:24]OFD Sender: No OFD packet to send [01:39:29]OFD Sender: No OFD packet to send [01:39:34]OFD Sender: No OFD packet to send [01:39:39]OFD Sender: No OFD packet to send [01:39:44]OFD Sender: No OFD packet to send [01:39:49]OFD Sender: No OFD packet to send [01:39:54]OFD Sender: No OFD packet to send [01:39:59]OFD Sender: No OFD packet to send [01:40:04]OFD Sender: No OFD packet to send [01:40:09]OFD Sender: No OFD packet to send [01:40:14]OFD Sender: No OFD packet to send [01:40:19]OFD Sender: No OFD packet to send [01:40:24]OFD Sender: No OFD packet to send [01:40:29]OFD Sender: No OFD packet to send [01:40:34]OFD Sender: No OFD packet to send [01:40:39]OFD Sender: No OFD packet to send [01:40:44]OFD Sender: No OFD packet to send [01:40:49]OFD Sender: No OFD packet to send [01:40:54]OFD Sender: No OFD packet to send [01:40:59]OFD Sender: No OFD packet to send [01:41:04]OFD Sender: No OFD packet to send [01:41:09]OFD Sender: No OFD packet to send [01:41:14]OFD Sender: No OFD packet to send [01:41:19]OFD Sender: No OFD packet to send [01:41:24]OFD Sender: No OFD packet to send [01:41:29]OFD Sender: No OFD packet to send [01:41:34]OFD Sender: No OFD packet to send [01:41:39]OFD Sender: No OFD packet to send [01:41:44]OFD Sender: No OFD packet to send [01:41:49]OFD Sender: No OFD packet to send [01:41:54]OFD Sender: No OFD packet to send [01:41:59]OFD Sender: No OFD packet to send [01:42:04]OFD Sender: No OFD packet to send [01:42:09]OFD Sender: No OFD packet to send [01:42:14]OFD Sender: No OFD packet to send [01:42:19]OFD Sender: No OFD packet to send [01:42:24]OFD Sender: No OFD packet to send [01:42:29]OFD Sender: No OFD packet to send [01:42:34]OFD Sender: No OFD packet to send [01:42:39]OFD Sender: No OFD packet to send [01:42:44]OFD Sender: No OFD packet to send [01:42:49]OFD Sender: No OFD packet to send [01:42:54]OFD Sender: No OFD packet to send [01:42:59]OFD Sender: No OFD packet to send [01:43:04]OFD Sender: No OFD packet to send [01:43:09]OFD Sender: No OFD packet to send [01:43:14]OFD Sender: No OFD packet to send [01:43:19]OFD Sender: No OFD packet to send [01:43:24]OFD Sender: No OFD packet to send [01:43:29]OFD Sender: No OFD packet to send [01:43:34]OFD Sender: No OFD packet to send [01:43:39]OFD Sender: No OFD packet to send [01:43:44]OFD Sender: No OFD packet to send [01:43:49]OFD Sender: No OFD packet to send [01:43:54]OFD Sender: No OFD packet to send [01:43:59]OFD Sender: No OFD packet to send [01:44:04]OFD Sender: No OFD packet to send [01:44:09]OFD Sender: No OFD packet to send [01:44:14]OFD Sender: No OFD packet to send [01:44:19]OFD Sender: No OFD packet to send [01:44:24]OFD Sender: No OFD packet to send [01:44:29]OFD Sender: No OFD packet to send [01:44:34]OFD Sender: No OFD packet to send [01:44:39]OFD Sender: No OFD packet to send [01:44:44]OFD Sender: No OFD packet to send [01:44:49]OFD Sender: No OFD packet to send [01:44:54]OFD Sender: No OFD packet to send [01:44:59]OFD Sender: No OFD packet to send [01:45:04]OFD Sender: No OFD packet to send [01:45:09]OFD Sender: No OFD packet to send [01:45:14]OFD Sender: No OFD packet to send [01:45:19]OFD Sender: No OFD packet to send [01:45:24]OFD Sender: No OFD packet to send [01:45:29]OFD Sender: No OFD packet to send [01:45:34]OFD Sender: No OFD packet to send [01:45:39]OFD Sender: No OFD packet to send [01:45:44]OFD Sender: No OFD packet to send [01:45:49]OFD Sender: No OFD packet to send [01:45:54]OFD Sender: No OFD packet to send [01:45:59]OFD Sender: No OFD packet to send [01:46:04]OFD Sender: No OFD packet to send [01:46:09]OFD Sender: No OFD packet to send [01:46:14]OFD Sender: No OFD packet to send [01:46:19]OFD Sender: No OFD packet to send [01:46:24]OFD Sender: No OFD packet to send [01:46:29]OFD Sender: No OFD packet to send [01:46:34]OFD Sender: No OFD packet to send [01:46:39]OFD Sender: No OFD packet to send [01:46:44]OFD Sender: No OFD packet to send [01:46:49]OFD Sender: No OFD packet to send [01:46:54]OFD Sender: No OFD packet to send [01:46:59]OFD Sender: No OFD packet to send [01:47:04]OFD Sender: No OFD packet to send [01:47:09]OFD Sender: No OFD packet to send [01:47:14]OFD Sender: No OFD packet to send [01:47:19]OFD Sender: No OFD packet to send [01:47:24]OFD Sender: No OFD packet to send [01:47:29]OFD Sender: No OFD packet to send [01:47:34]OFD Sender: No OFD packet to send [01:47:39]OFD Sender: No OFD packet to send [01:47:44]OFD Sender: No OFD packet to send [01:47:49]OFD Sender: No OFD packet to send [01:47:54]OFD Sender: No OFD packet to send [01:47:59]OFD Sender: No OFD packet to send [01:48:04]OFD Sender: No OFD packet to send [01:48:09]OFD Sender: No OFD packet to send [01:48:14]OFD Sender: No OFD packet to send [01:48:19]OFD Sender: No OFD packet to send [01:48:24]OFD Sender: No OFD packet to send [01:48:29]OFD Sender: No OFD packet to send [01:48:34]OFD Sender: No OFD packet to send [01:48:39]OFD Sender: No OFD packet to send [01:48:44]OFD Sender: No OFD packet to send [01:48:49]OFD Sender: No OFD packet to send [01:48:54]OFD Sender: No OFD packet to send [01:48:59]OFD Sender: No OFD packet to send [01:49:04]OFD Sender: No OFD packet to send [01:49:09]OFD Sender: No OFD packet to send [01:49:14]OFD Sender: No OFD packet to send [01:49:19]OFD Sender: No OFD packet to send [01:49:24]OFD Sender: No OFD packet to send [01:49:29]OFD Sender: No OFD packet to send [01:49:34]OFD Sender: No OFD packet to send [01:49:39]OFD Sender: No OFD packet to send [01:49:44]OFD Sender: No OFD packet to send [01:49:49]OFD Sender: No OFD packet to send [01:49:54]OFD Sender: No OFD packet to send [01:49:59]OFD Sender: No OFD packet to send [01:50:04]OFD Sender: No OFD packet to send [01:50:09]OFD Sender: No OFD packet to send [01:50:14]OFD Sender: No OFD packet to send [01:50:19]OFD Sender: No OFD packet to send [01:50:24]OFD Sender: No OFD packet to send [01:50:29]OFD Sender: No OFD packet to send [01:50:34]OFD Sender: No OFD packet to send [01:50:39]OFD Sender: No OFD packet to send [01:50:44]OFD Sender: No OFD packet to send [01:50:49]OFD Sender: No OFD packet to send [01:50:54]OFD Sender: No OFD packet to send [01:50:59]OFD Sender: No OFD packet to send [01:51:04]OFD Sender: No OFD packet to send [01:51:09]OFD Sender: No OFD packet to send [01:51:14]OFD Sender: No OFD packet to send [01:51:19]OFD Sender: No OFD packet to send [01:51:24]OFD Sender: No OFD packet to send [01:51:29]OFD Sender: No OFD packet to send [01:51:34]OFD Sender: No OFD packet to send [01:51:39]OFD Sender: No OFD packet to send [01:51:44]OFD Sender: No OFD packet to send [01:51:49]OFD Sender: No OFD packet to send [01:51:54]OFD Sender: No OFD packet to send [01:51:59]OFD Sender: No OFD packet to send [01:52:04]OFD Sender: No OFD packet to send [01:52:09]OFD Sender: No OFD packet to send [01:52:14]OFD Sender: No OFD packet to send [01:52:19]OFD Sender: No OFD packet to send [01:52:24]OFD Sender: No OFD packet to send [01:52:29]OFD Sender: No OFD packet to send [01:52:34]OFD Sender: No OFD packet to send [01:52:39]OFD Sender: No OFD packet to send [01:52:44]OFD Sender: No OFD packet to send [01:52:49]OFD Sender: No OFD packet to send [01:52:54]OFD Sender: No OFD packet to send [01:52:59]OFD Sender: No OFD packet to send [01:53:04]OFD Sender: No OFD packet to send [01:53:09]OFD Sender: No OFD packet to send [01:53:14]OFD Sender: No OFD packet to send [01:53:19]OFD Sender: No OFD packet to send [01:53:24]OFD Sender: No OFD packet to send [01:53:29]OFD Sender: No OFD packet to send [01:53:34]OFD Sender: No OFD packet to send [01:53:39]OFD Sender: No OFD packet to send [01:53:44]OFD Sender: No OFD packet to send [01:53:49]OFD Sender: No OFD packet to send [01:53:54]OFD Sender: No OFD packet to send [01:53:59]OFD Sender: No OFD packet to send [01:54:04]OFD Sender: No OFD packet to send [01:54:09]OFD Sender: No OFD packet to send [01:54:14]OFD Sender: No OFD packet to send [01:54:19]OFD Sender: No OFD packet to send [01:54:24]OFD Sender: No OFD packet to send [01:54:29]OFD Sender: No OFD packet to send [01:54:34]OFD Sender: No OFD packet to send [01:54:39]OFD Sender: No OFD packet to send [01:54:44]OFD Sender: No OFD packet to send [01:54:49]OFD Sender: No OFD packet to send [01:54:54]OFD Sender: No OFD packet to send [01:54:59]OFD Sender: No OFD packet to send [01:55:04]OFD Sender: No OFD packet to send [01:55:09]OFD Sender: No OFD packet to send [01:55:14]OFD Sender: No OFD packet to send [01:55:19]OFD Sender: No OFD packet to send [01:55:24]OFD Sender: No OFD packet to send [01:55:29]OFD Sender: No OFD packet to send [01:55:34]OFD Sender: No OFD packet to send [01:55:39]OFD Sender: No OFD packet to send [01:55:44]OFD Sender: No OFD packet to send [01:55:49]OFD Sender: No OFD packet to send [01:55:54]OFD Sender: No OFD packet to send [01:55:59]OFD Sender: No OFD packet to send [01:56:04]OFD Sender: No OFD packet to send [01:56:09]OFD Sender: No OFD packet to send [01:56:14]OFD Sender: No OFD packet to send [01:56:19]OFD Sender: No OFD packet to send [01:56:24]OFD Sender: No OFD packet to send [01:56:29]OFD Sender: No OFD packet to send [01:56:34]OFD Sender: No OFD packet to send [01:56:39]OFD Sender: No OFD packet to send [01:56:44]OFD Sender: No OFD packet to send [01:56:49]OFD Sender: No OFD packet to send [01:56:54]OFD Sender: No OFD packet to send [01:56:59]OFD Sender: No OFD packet to send [01:57:04]OFD Sender: No OFD packet to send [01:57:09]OFD Sender: No OFD packet to send [01:57:14]OFD Sender: No OFD packet to send [01:57:19]OFD Sender: No OFD packet to send [01:57:24]OFD Sender: No OFD packet to send [01:57:29]OFD Sender: No OFD packet to send [01:57:34]OFD Sender: No OFD packet to send [01:57:39]OFD Sender: No OFD packet to send [01:57:44]OFD Sender: No OFD packet to send [01:57:49]OFD Sender: No OFD packet to send [01:57:54]OFD Sender: No OFD packet to send [01:57:59]OFD Sender: No OFD packet to send [01:58:04]OFD Sender: No OFD packet to send [01:58:09]OFD Sender: No OFD packet to send [01:58:14]OFD Sender: No OFD packet to send [01:58:19]OFD Sender: No OFD packet to send [01:58:24]OFD Sender: No OFD packet to send [01:58:29]OFD Sender: No OFD packet to send [01:58:34]OFD Sender: No OFD packet to send [01:58:39]OFD Sender: No OFD packet to send [01:58:44]OFD Sender: No OFD packet to send [01:58:49]OFD Sender: No OFD packet to send [01:58:54]OFD Sender: No OFD packet to send [01:58:59]OFD Sender: No OFD packet to send [01:59:04]OFD Sender: No OFD packet to send [01:59:09]OFD Sender: No OFD packet to send [01:59:14]OFD Sender: No OFD packet to send [01:59:19]OFD Sender: No OFD packet to send [01:59:24]OFD Sender: No OFD packet to send [01:59:29]OFD Sender: No OFD packet to send [01:59:34]OFD Sender: No OFD packet to send [01:59:39]OFD Sender: No OFD packet to send [01:59:44]OFD Sender: No OFD packet to send [01:59:49]OFD Sender: No OFD packet to send [01:59:54]OFD Sender: No OFD packet to send [01:59:59]OFD Sender: No OFD packet to send [02:00:04]OFD Sender: No OFD packet to send [02:00:09]OFD Sender: No OFD packet to send [02:00:14]OFD Sender: No OFD packet to send [02:00:19]OFD Sender: No OFD packet to send [02:00:24]OFD Sender: No OFD packet to send [02:00:30]OFD Sender: No OFD packet to send [02:00:35]OFD Sender: No OFD packet to send [02:00:40]OFD Sender: No OFD packet to send [02:00:45]OFD Sender: No OFD packet to send [02:00:50]OFD Sender: No OFD packet to send [02:00:55]OFD Sender: No OFD packet to send [02:01:00]OFD Sender: No OFD packet to send [02:01:05]OFD Sender: No OFD packet to send [02:01:10]OFD Sender: No OFD packet to send [02:01:15]OFD Sender: No OFD packet to send [02:01:20]OFD Sender: No OFD packet to send [02:01:25]OFD Sender: No OFD packet to send [02:01:30]OFD Sender: No OFD packet to send [02:01:35]OFD Sender: No OFD packet to send [02:01:40]OFD Sender: No OFD packet to send [02:01:45]OFD Sender: No OFD packet to send [02:01:50]OFD Sender: No OFD packet to send [02:01:55]OFD Sender: No OFD packet to send [02:02:00]OFD Sender: No OFD packet to send [02:02:05]OFD Sender: No OFD packet to send [02:02:10]OFD Sender: No OFD packet to send [02:02:15]OFD Sender: No OFD packet to send [02:02:20]OFD Sender: No OFD packet to send [02:02:25]OFD Sender: No OFD packet to send [02:02:30]OFD Sender: No OFD packet to send [02:02:35]OFD Sender: No OFD packet to send [02:02:40]OFD Sender: No OFD packet to send [02:02:45]OFD Sender: No OFD packet to send [02:02:50]OFD Sender: No OFD packet to send [02:02:55]OFD Sender: No OFD packet to send [02:03:00]OFD Sender: No OFD packet to send [02:03:05]OFD Sender: No OFD packet to send [02:03:10]OFD Sender: No OFD packet to send [02:03:15]OFD Sender: No OFD packet to send [02:03:20]OFD Sender: No OFD packet to send [02:03:25]OFD Sender: No OFD packet to send [02:03:30]OFD Sender: No OFD packet to send [02:03:35]OFD Sender: No OFD packet to send [02:03:40]OFD Sender: No OFD packet to send [02:03:45]OFD Sender: No OFD packet to send [02:03:50]OFD Sender: No OFD packet to send [02:03:55]OFD Sender: No OFD packet to send [02:04:00]OFD Sender: No OFD packet to send [02:04:05]OFD Sender: No OFD packet to send [02:04:10]OFD Sender: No OFD packet to send [02:04:15]OFD Sender: No OFD packet to send [02:04:20]OFD Sender: No OFD packet to send [02:04:25]OFD Sender: No OFD packet to send [02:04:30]OFD Sender: No OFD packet to send [02:04:35]OFD Sender: No OFD packet to send [02:04:40]OFD Sender: No OFD packet to send [02:04:45]OFD Sender: No OFD packet to send [02:04:50]OFD Sender: No OFD packet to send [02:04:55]OFD Sender: No OFD packet to send [02:05:00]OFD Sender: No OFD packet to send [02:05:05]OFD Sender: No OFD packet to send [02:05:10]OFD Sender: No OFD packet to send [02:05:15]OFD Sender: No OFD packet to send [02:05:20]OFD Sender: No OFD packet to send [02:05:25]OFD Sender: No OFD packet to send [02:05:30]OFD Sender: No OFD packet to send [02:05:35]OFD Sender: No OFD packet to send [02:05:40]OFD Sender: No OFD packet to send [02:05:45]OFD Sender: No OFD packet to send [02:05:50]OFD Sender: No OFD packet to send [02:05:55]OFD Sender: No OFD packet to send [02:06:00]OFD Sender: No OFD packet to send [02:06:05]OFD Sender: No OFD packet to send [02:06:10]OFD Sender: No OFD packet to send [02:06:15]OFD Sender: No OFD packet to send [02:06:20]OFD Sender: No OFD packet to send [02:06:25]OFD Sender: No OFD packet to send [02:06:30]OFD Sender: No OFD packet to send [02:06:35]OFD Sender: No OFD packet to send [02:06:40]OFD Sender: No OFD packet to send [02:06:45]OFD Sender: No OFD packet to send [02:06:50]OFD Sender: No OFD packet to send [02:06:55]OFD Sender: No OFD packet to send [02:07:00]OFD Sender: No OFD packet to send [02:07:05]OFD Sender: No OFD packet to send [02:07:10]OFD Sender: No OFD packet to send [02:07:15]OFD Sender: No OFD packet to send [02:07:20]OFD Sender: No OFD packet to send [02:07:25]OFD Sender: No OFD packet to send [02:07:30]OFD Sender: No OFD packet to send [02:07:35]OFD Sender: No OFD packet to send [02:07:40]OFD Sender: No OFD packet to send [02:07:45]OFD Sender: No OFD packet to send [02:07:50]OFD Sender: No OFD packet to send [02:07:55]OFD Sender: No OFD packet to send [02:08:00]OFD Sender: No OFD packet to send [02:08:05]OFD Sender: No OFD packet to send [02:08:10]OFD Sender: No OFD packet to send [02:08:15]OFD Sender: No OFD packet to send [02:08:20]OFD Sender: No OFD packet to send [02:08:25]OFD Sender: No OFD packet to send [02:08:30]OFD Sender: No OFD packet to send [02:08:35]OFD Sender: No OFD packet to send [02:08:40]OFD Sender: No OFD packet to send [02:08:45]OFD Sender: No OFD packet to send [02:08:50]OFD Sender: No OFD packet to send [02:08:55]OFD Sender: No OFD packet to send [02:09:00]OFD Sender: No OFD packet to send [02:09:02]accept exits with 7 [02:09:02]New connection [02:09:02]New thread 3066957156 created [02:09:02]Thread 3066813796 joined [02:09:02]Waiting for new connection... [02:09:02] Sock 7.Parse request [02:09:02]Sock 7.Check first char [02:09:02]Sock 7.First char is OK [02:09:02]request: POST /json_proto HTTP/1.0 [02:09:02]Method: POST [02:09:02]URL: /json_proto [02:09:02]Method is POST - this is cgi request [02:09:02]url: /json_proto [02:09:02]query_string will be loaded in cgi processing [02:09:02]execute_cgi json_proto POST (null) [02:09:02]execute_cgi path=json_proto method=POST [02:09:02]POST find Content-Length [02:09:02]Host: 172.17.62.6:8080 [02:09:02]Content-Length: 723 [02:09:02]Content-Type: application/json [02:09:02] [02:09:02]POST finish read [02:09:02]Found Content-Length = 723 [02:09:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32943", "tax_sys" : 0, "items" : [ { "code": "8901086040022", "name": "\u0416\u0438\u0434\u043A\u043E\u0441\u0442\u044C \u0441\u0442\u0435\u043A\u043B\u043E\u043E\u043C\u044B\u0432\u0430\u044E\u0449\u0430\u044F \u041F\u041D -20 4,5\u043B", "price" : 285.00, "quantity" : 1.000, "sum" : 285.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 285.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:09:02]execute_script... [02:09:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32943", "tax_sys" : 0, "items" : [ { "code": "8901086040022", "name": "\u0416\u0438\u0434\u043A\u043E\u0441\u0442\u044C \u0441\u0442\u0435\u043A\u043B\u043E\u043E\u043C\u044B\u0432\u0430\u044E\u0449\u0430\u044F \u041F\u041D -20 4,5\u043B", "price" : 285.00, "quantity" : 1.000, "sum" : 285.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 285.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:09:02]POST & json_proto [02:09:02]process_json_proto [02:09:02]json parsed OK: [02:09:02]protocol is kg_v1.0 [02:09:02]action value=close_receipt [02:09:02]process_action close_receipt [02:09:02]cmd_close_receipt [02:09:02]MH_GetDate [02:09:02]Write to MH i2c: F0 00 00 6C 0E 69 [02:09:02]Write i2c OK [02:09:02]MH_I2C_Read... [02:09:02]Read from MH i2c: F0 [02:09:02]MH_I2C_Read... [02:09:02]Read from MH i2c: F0 09 00 [02:09:02]MH_I2C_Read... [02:09:02]Read from MH i2c: F0 09 00 6C 0E 00 C1 C6 25 66 61 69 D2 64 84 [02:09:02]GetLastDocTimeStamp 1713747666 [02:09:02]current date 1713751745 [02:09:02]FM_GetShiftState [02:09:02]SAM_PROTO_GetShiftState [02:09:02]wFMCommunicate request_size=4 [02:09:02]MH_SAM_APDU [02:09:02]CAPDU: 80 13 01 00 [02:09:02]Write to MH i2c: E2 08 00 6D 0E 80 13 01 00 00 00 00 00 F8 [02:09:02]Write i2c OK [02:09:02]MH_I2C_Read... [02:09:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:09:02]Read from MH i2c: E2 [02:09:02]MH_I2C_Read... [02:09:02]Read from MH i2c: E2 0E 00 [02:09:02]MH_I2C_Read... [02:09:02]Read from MH i2c: E2 0E 00 6D 0E 00 09 00 01 F6 AB 25 66 00 00 00 00 90 00 30 [02:09:02]RAPDU: 09 00 01 F6 AB 25 66 00 00 00 00 90 00 [02:09:02]wFMCommunicate OK [02:09:02]SAM_PROTO_GetShiftState done [02:09:02]FM_GetShiftState done [02:09:02]opened in 1713744886 [02:09:02]opened+sec_in_day 1713831286 [02:09:02]quantity*price = 28500 [02:09:02]sum+1 = 28501 [02:09:02]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 285.00 НСП 1% : 2.52 НДС 12% : 30.26 Наличными: 285.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 6 22.04.2024 02:09 Смена: 282 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12672 ФПД: 264200201779041 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240422T020905&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12672&fm=264200201779041&tin=02508201610067®Number=0000000000100748&sum=28500 0 [02:09:04]StoreToDocumentArchive [02:09:04]shift 282 fd 12672 [02:09:04]save to /storage/0282/doc_00012672 [02:09:04]save last doc name /storage/0282/doc_00012672 to /storage/kkm_last_doc_name [02:09:04]save OK [02:09:04]Clear old archive folders... [02:09:04]ProcessDocumentItem done err = 0, tmpTLVsize=304 [02:09:04]tlvbuf is 0163EF20 [02:09:04]SAM_PROTO_ClearQueue [02:09:04]wFMCommunicate request_size=4 [02:09:04]MH_SAM_APDU [02:09:04]CAPDU: 80 09 00 00 [02:09:04]Write to MH i2c: E2 08 00 7A 0E 80 09 00 00 00 00 00 00 FA [02:09:04]Write i2c OK [02:09:04]MH_I2C_Read... [02:09:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:09:04]Read from MH i2c: E2 [02:09:04]MH_I2C_Read... [02:09:04]Read from MH i2c: E2 03 00 [02:09:04]MH_I2C_Read... [02:09:04]Read from MH i2c: E2 03 00 7A 0E 00 90 00 FC [02:09:04]RAPDU: 90 00 [02:09:04]wFMCommunicate OK [02:09:04]SAM_PROTO_ClearQueue done [02:09:04]KKMCreateOFDPacket [02:09:04]OFDProtocolAddRootSTLVToBuf [02:09:04]FM_MakeSignedData [02:09:04]FM_MakeSignedData [02:09:04]SAM_PROTO_SignData [02:09:04]wFMCommunicate request_size=4 [02:09:04]MH_SAM_APDU [02:09:04]CAPDU: 80 0D 01 02 [02:09:04]Write to MH i2c: E2 08 00 7B 0E 80 0D 01 02 00 00 00 00 02 [02:09:04]Write i2c OK [02:09:04]MH_I2C_Read... [02:09:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:09:04]Read from MH i2c: E2 [02:09:04]MH_I2C_Read... [02:09:04]Read from MH i2c: E2 03 00 [02:09:04]MH_I2C_Read... [02:09:04]Read from MH i2c: E2 03 00 7B 0E 00 90 00 FD [02:09:04]RAPDU: 90 00 [02:09:04]wFMCommunicate OK [02:09:04]wFMCommunicate request_size=255 [02:09:04]MH_SAM_APDU [02:09:04]CAPDU: 80 0D 02 02 FA 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 32 32 06 04 3E 00 D0 96 D0 B8 D0 B4 D0 BA D0 BE D1 81 D1 82 D1 8C 20 D1 81 D1 82 D0 B5 D0 BA D0 BB D0 BE D0 BE D0 BC D1 8B D0 B2 D0 B0 D1 8E D1 89 D0 B0 D1 8F 20 D0 9F D0 9D 20 2D 32 30 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 6F 00 00 00 00 13 04 06 00 54 6F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 6F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D2 0B 00 00 00 00 07 04 06 00 54 6F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 C1 C6 25 66 0E 04 04 00 1A 01 00 00 B9 04 01 00 01 [02:09:04]Write to MH i2c: E2 02 01 7C 0E 80 0D 02 02 FA 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 32 32 06 04 3E 00 D0 96 D0 B8 D0 B4 D0 BA D0 BE D1 81 D1 82 D1 8C 20 D1 81 D1 82 D0 B5 D0 BA D0 BB D0 BE D0 BE D0 BC D1 8B D0 B2 D0 B0 D1 8E D1 89 D0 B0 D1 8F 20 D0 9F D0 9D 20 2D 32 30 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 6F 00 00 00 00 13 04 06 00 54 6F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 6F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D2 0B 00 00 00 00 07 04 06 00 54 6F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 C1 C6 25 66 0E 04 04 00 1A 01 00 00 B9 04 01 00 01 00 00 78 [02:09:04]Write i2c OK [02:09:04]MH_I2C_Read... [02:09:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:09:04]Read from MH i2c: E2 [02:09:04]MH_I2C_Read... [02:09:04]Read from MH i2c: E2 03 00 [02:09:04]MH_I2C_Read... [02:09:04]Read from MH i2c: E2 03 00 7C 0E 00 90 00 FE [02:09:04]RAPDU: 90 00 [02:09:04]wFMCommunicate OK [02:09:04]wFMCommunicate request_size=63 [02:09:04]MH_SAM_APDU [02:09:04]CAPDU: 80 0D 02 02 3A 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 80 31 00 00 35 04 06 00 F0 49 E7 2D 37 61 [02:09:04]Write to MH i2c: E2 42 00 7D 0E 80 0D 02 02 3A 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 80 31 00 00 35 04 06 00 F0 49 E7 2D 37 61 00 00 E7 [02:09:04]Write i2c OK [02:09:04]MH_I2C_Read... [02:09:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:09:04]Read from MH i2c: E2 [02:09:04]MH_I2C_Read... [02:09:04]Read from MH i2c: E2 03 00 [02:09:04]MH_I2C_Read... [02:09:04]Read from MH i2c: E2 03 00 7D 0E 00 90 00 FF [02:09:04]RAPDU: 90 00 [02:09:04]wFMCommunicate OK [02:09:04]wFMCommunicate request_size=4 [02:09:04]MH_SAM_APDU [02:09:04]CAPDU: 80 0D 03 02 [02:09:04]Write to MH i2c: E2 08 00 7E 0E 80 0D 03 02 00 00 00 00 07 [02:09:04]Write i2c OK [02:09:04]MH_I2C_Read... [02:09:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:09:04]Read from MH i2c: E2 [02:09:04]MH_I2C_Read... [02:09:04]Read from MH i2c: E2 0B 00 [02:09:04]MH_I2C_Read... [02:09:04]Read from MH i2c: E2 0B 00 7E 0E 00 A5 BA 12 CA 33 5D 49 C2 90 00 DE [02:09:04]RAPDU: A5 BA 12 CA 33 5D 49 C2 90 00 [02:09:04]wFMCommunicate OK [02:09:04]SAM_PROTO_SignData done [02:09:04]FM_MakeSignedData done [02:09:04]CreateOFDProtocolMessage [02:09:04]wFMCommunicate request_size=4 [02:09:04]MH_SAM_APDU [02:09:04]CAPDU: 80 11 00 00 [02:09:04]Write to MH i2c: E2 08 00 7F 0E 80 11 00 00 00 00 00 00 07 [02:09:04]Write i2c OK [02:09:04]MH_I2C_Read... [02:09:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:09:04]Read from MH i2c: E2 [02:09:04]MH_I2C_Read... [02:09:04]Read from MH i2c: E2 17 00 [02:09:04]MH_I2C_Read... [02:09:04]Read from MH i2c: E2 17 00 7F 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 61 [02:09:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [02:09:04]wFMCommunicate OK [02:09:04]CreateOFDProtocolMessage done [02:09:04]OFDSenderStorePacket 12672 [02:09:04]StoreOFDPacket docnum=12672 [02:09:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 44 01 00 00 6A D5 3C 01 78 73 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 32 32 06 04 3E 00 D0 96 D0 B8 D0 B4 D0 BA D0 BE D1 81 D1 82 D1 8C 20 D1 81 D1 82 D0 B5 D0 BA D0 BB D0 BE D0 BE D0 BC D1 8B D0 B2 D0 B0 D1 8E D1 89 D0 B0 D1 8F 20 D0 9F D0 9D 20 2D 32 30 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 6F 00 00 00 00 13 04 06 00 54 6F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 6F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D2 0B 00 00 00 00 07 04 06 00 54 6F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 C1 C6 25 66 0E 04 04 00 1A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 80 31 00 00 35 04 06 00 F0 49 E7 2D 37 61 A5 BA 12 CA 33 5D 49 C2 [02:09:04]CheckFolder [02:09:04]dirname=/storage/ofd_packets [02:09:04]CheckFolder done [02:09:04]ProducePacketName [02:09:04]name=ofd_packets/00012672 [02:09:04]NVStorageSaveData ofd_packets/00012672 [02:09:04]File name is /storage/ofd_packets/00012672 [02:09:04]Write 354 bytes [02:09:04]NVStorageSaveData done [02:09:04]OFDSenderStorePacket done [02:09:04]KKMCreateOFDPacket done [02:09:04]NVStorageSaveData kkm_last_timestamp [02:09:04]File name is /storage/kkm_last_timestamp [02:09:04]Write 4 bytes [02:09:04]NVStorageSaveData done [02:09:04]ExternCall_PrintAddStr [02:09:04]wPrintStart [02:09:04]Write to MH i2c: 01 00 00 80 0E 8E [02:09:04]Write i2c OK [02:09:04]MH_I2C_Read... [02:09:04]Read from MH i2c: 01 [02:09:04]MH_I2C_Read... [02:09:04]Read from MH i2c: 01 07 00 [02:09:04]MH_I2C_Read... [02:09:04]Read from MH i2c: 01 07 00 80 0E 00 00 00 00 00 FF 0F A3 [02:09:04]RasterBufferAndPrint [02:09:04]line Счет N : (3)32943 [02:09:04]line ИНН: 02508201610067 [02:09:04]line Контрольно-Кассовый Чек [02:09:04]line ПРОДАЖА [02:09:04]line Товар: 8901086040022 [02:09:04]line Жидкость стеклоомывающая ПН -20 4,5л [02:09:04]line 1.000 * 285.00 [02:09:04]line = 285.00 [02:09:04]line НДС 12% НСП 1% [02:09:04]line > о реализуемом товаре [02:09:04]line ИТОГО: 285.00 [02:09:04]line НСП 1% : 2.52 [02:09:04]line НДС 12% : 30.26 [02:09:04]line Наличными: 285.00 [02:09:04]line Безнал.: 0.00 [02:09:04]line Место: АЗС № 106 "Партнер Нефть" [02:09:04]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [02:09:04]line СНО: Общий режим [02:09:04]line Чек 6 22.04.2024 02:09 [02:09:04]line Смена: 282 ФФД: 1.0 [02:09:04]line ЗНМ: 0300000004 [02:09:04]line РНМ: 0000000000100748 [02:09:04]line Версия ККМ: 001 [02:09:04]line ФМ: 0000000000965685 [02:09:04]line ФД: 12672 [02:09:04]line ФПД: 264200201779041 [02:09:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240422T020905&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12672&fm=264200201779041&tin=02508201610067®Number=0000000000100748&sum=28500 [02:09:04]line 0 [02:09:04]OFD Sender: Processing packet 12672 [packets to send 7, broken 6] [02:09:04]ProducePacketName [02:09:04]name=ofd_packets/00012672 [02:09:04]OFD Sender: To server: pG, [02:09:04]CommunicateWithHost lk.salyk.kg:30040 [02:09:04]ConnectInit lk.salyk.kg [02:09:04]written 0, free lines is 4095 [02:09:05]Connected sock=9 [02:09:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 44 01 00 00 6A D5 3C 01 78 73 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 32 32 06 04 3E 00 D0 96 D0 B8 D0 B4 D0 BA D0 BE D1 81 D1 82 D1 8C 20 D1 81 D1 82 D0 B5 D0 BA D0 BB D0 BE D0 BE D0 BC D1 8B D0 B2 D0 B0 D1 8E D1 89 D0 B0 D1 8F 20 D0 9F D0 9D 20 2D 32 30 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 6F 00 00 00 00 13 04 06 00 54 6F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 6F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D2 0B 00 00 00 00 07 04 06 00 54 6F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 C1 C6 25 66 0E 04 04 00 1A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 80 31 00 00 35 04 06 00 F0 49 E7 2D 37 61 A5 BA 12 CA 33 5D 49 C2 [02:09:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 2D 43 47 00 25 07 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 80 31 00 00 F4 03 04 00 40 6F 25 66 B6 04 01 00 00 0D ED F8 66 0F 50 15 14 [02:09:05]CommunicateWithHost err = 0 [02:09:05]CheckOFDResponse [02:09:05]1017 (14) - 77093643461234 [02:09:05]1041 (16) - 0000000000965685 [02:09:05]1040 (4) - 12672 [02:09:05]1012 (4) - 21.04.2024 19:55 [02:09:05]1206 (1) - 0 [02:09:05]OFD Sender: Remove packet 12672 [02:09:05]ProducePacketName [02:09:05]name=ofd_packets/00012672 [02:09:05]NVStorageDeleteData [02:09:05]Write to MH i2c: 01 00 00 A8 0E B6 [02:09:05]Write i2c OK [02:09:05]MH_I2C_Read... [02:09:05]Read from MH i2c: 01 [02:09:05]MH_I2C_Read... [02:09:05]Read from MH i2c: 01 07 00 [02:09:05]MH_I2C_Read... [02:09:05]Read from MH i2c: 01 07 00 A8 0E 00 00 00 00 00 EB 0C B4 [02:09:05]RasterBufferAndPrint [02:09:05]line [02:09:05]line [02:09:05]line [02:09:05]line [02:09:05]line [02:09:05]written 0, free lines is 3314 [02:09:05]MH_Cut [02:09:05]Write to MH i2c: D1 01 00 AF 0E 01 8F [02:09:05]Write i2c OK [02:09:05]MH_I2C_Read... [02:09:05]Read from MH i2c: D1 [02:09:05]MH_I2C_Read... [02:09:05]Read from MH i2c: D1 01 00 [02:09:05]MH_I2C_Read... [02:09:05]Read from MH i2c: D1 01 00 AF 0E 00 8E [02:09:05]Write to MH i2c: 01 00 00 B0 0E BE [02:09:05]Write i2c OK [02:09:05]MH_I2C_Read... [02:09:05]OFD Sender: No OFD packet to send [02:09:06]*** Cut start [02:09:06]*** Partial cut [02:09:06]*** CUTSNS_PIN = 1 [02:09:06]*** CUTSNS_PIN = 0 [02:09:06]*** Brake cut motor [02:09:06]Read from MH i2c: 01 [02:09:06]MH_I2C_Read... [02:09:06]*** Stop cut motor [02:09:06]*** Cut end [02:09:06]Read from MH i2c: 01 07 00 [02:09:06]MH_I2C_Read... [02:09:06]Read from MH i2c: 01 07 00 B0 0E 00 00 00 00 00 FF 0F D3 [02:09:06]process_action close_receipt done [02:09:06]requested_data is exist [02:09:06]produce_requested_data [02:09:06]requested_item fm.sn is exist - process it [02:09:06]wFMCommunicate request_size=4 [02:09:06]MH_SAM_APDU [02:09:06]CAPDU: 80 11 00 00 [02:09:06]Write to MH i2c: E2 08 00 B1 0E 80 11 00 00 00 00 00 00 39 [02:09:06]Write i2c OK [02:09:06]MH_I2C_Read... [02:09:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:09:06]Read from MH i2c: E2 [02:09:06]MH_I2C_Read... [02:09:06]Read from MH i2c: E2 17 00 [02:09:06]MH_I2C_Read... [02:09:06]Read from MH i2c: E2 17 00 B1 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 93 [02:09:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [02:09:06]wFMCommunicate OK [02:09:06]requested_item fd.num is exist - process it [02:09:06]SAM_PROTO_GetFieldsCounters [02:09:06]wFMCommunicate request_size=4 [02:09:06]MH_SAM_APDU [02:09:06]CAPDU: 80 13 00 00 [02:09:06]Write to MH i2c: E2 08 00 B2 0E 80 13 00 00 00 00 00 00 3C [02:09:06]Write i2c OK [02:09:06]MH_I2C_Read... [02:09:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:09:06]Read from MH i2c: E2 [02:09:06]MH_I2C_Read... [02:09:06]Read from MH i2c: E2 62 00 [02:09:06]MH_I2C_Read... [02:09:06]Read from MH i2c: E2 62 00 B2 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 80 31 00 00 0E 04 04 00 1A 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 3D [02:09:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 80 31 00 00 0E 04 04 00 1A 01 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 [02:09:06]wFMCommunicate OK [02:09:06]SAM_PROTO_GetFieldsCounters done [02:09:06]requested_item shift.num is exist - process it [02:09:06]requested_item shift.opened is exist - process it [02:09:06]req_shift_opened [02:09:06]FM_GetShiftState [02:09:06]SAM_PROTO_GetShiftState [02:09:06]wFMCommunicate request_size=4 [02:09:06]MH_SAM_APDU [02:09:06]CAPDU: 80 13 01 00 [02:09:06]Write to MH i2c: E2 08 00 B3 0E 80 13 01 00 00 00 00 00 3E [02:09:06]Write i2c OK [02:09:06]MH_I2C_Read... [02:09:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:09:07]Read from MH i2c: E2 [02:09:07]MH_I2C_Read... [02:09:07]Read from MH i2c: E2 0E 00 [02:09:07]MH_I2C_Read... [02:09:07]Read from MH i2c: E2 0E 00 B3 0E 00 09 00 01 F6 AB 25 66 00 00 00 00 90 00 76 [02:09:07]RAPDU: 09 00 01 F6 AB 25 66 00 00 00 00 90 00 [02:09:07]wFMCommunicate OK [02:09:07]SAM_PROTO_GetShiftState done [02:09:07]FM_GetShiftState done [02:09:07]req_shift_opened done [02:09:07]requested_item shift.open_date is exist - process it [02:09:07]req_shift_open_date [02:09:07]req_shift_open_date done [02:09:07]produce_requested_data done [02:09:07]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12672,"shift.num":282,"shift.opened":1,"shift.open_date":1713744886} [02:09:07]process_action_free close_receipt [02:09:07]json_value_free [02:09:07]json_value_free done [02:09:07]process_json_proto returns [02:09:07]Send response to host [02:09:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12672,"shift.num":282,"shift.opened":1,"shift.open_date":1713744886}}} [02:09:07]free response buf [02:09:07]execute_script done [02:09:07]execute_script returns [02:09:07]free content buf [02:09:07]Sock 7.Close socket [02:09:07]Sock 7.Thread stoped [02:09:10]OFD Sender: No OFD packet to send [02:09:15]OFD Sender: No OFD packet to send [02:09:20]OFD Sender: No OFD packet to send [02:09:25]OFD Sender: No OFD packet to send [02:09:30]OFD Sender: No OFD packet to send [02:09:35]OFD Sender: No OFD packet to send [02:09:40]OFD Sender: No OFD packet to send [02:09:45]OFD Sender: No OFD packet to send [02:09:50]OFD Sender: No OFD packet to send [02:09:55]OFD Sender: No OFD packet to send [02:10:00]OFD Sender: No OFD packet to send [02:10:05]OFD Sender: No OFD packet to send [02:10:10]OFD Sender: No OFD packet to send [02:10:15]OFD Sender: No OFD packet to send [02:10:20]OFD Sender: No OFD packet to send [02:10:25]OFD Sender: No OFD packet to send [02:10:30]OFD Sender: No OFD packet to send [02:10:35]OFD Sender: No OFD packet to send [02:10:40]OFD Sender: No OFD packet to send [02:10:45]OFD Sender: No OFD packet to send [02:10:50]OFD Sender: No OFD packet to send [02:10:55]OFD Sender: No OFD packet to send [02:11:00]OFD Sender: No OFD packet to send [02:11:05]OFD Sender: No OFD packet to send [02:11:10]OFD Sender: No OFD packet to send [02:11:15]OFD Sender: No OFD packet to send [02:11:20]OFD Sender: No OFD packet to send [02:11:25]OFD Sender: No OFD packet to send [02:11:30]OFD Sender: No OFD packet to send [02:11:35]OFD Sender: No OFD packet to send [02:11:40]OFD Sender: No OFD packet to send [02:11:45]OFD Sender: No OFD packet to send [02:11:50]OFD Sender: No OFD packet to send [02:11:55]OFD Sender: No OFD packet to send [02:12:00]OFD Sender: No OFD packet to send [02:12:05]OFD Sender: No OFD packet to send [02:12:10]OFD Sender: No OFD packet to send [02:12:15]OFD Sender: No OFD packet to send [02:12:20]OFD Sender: No OFD packet to send [02:12:25]OFD Sender: No OFD packet to send [02:12:30]OFD Sender: No OFD packet to send [02:12:35]OFD Sender: No OFD packet to send [02:12:40]OFD Sender: No OFD packet to send [02:12:45]OFD Sender: No OFD packet to send [02:12:50]OFD Sender: No OFD packet to send [02:12:55]OFD Sender: No OFD packet to send [02:13:00]OFD Sender: No OFD packet to send [02:13:05]OFD Sender: No OFD packet to send [02:13:10]OFD Sender: No OFD packet to send [02:13:15]OFD Sender: No OFD packet to send [02:13:20]OFD Sender: No OFD packet to send [02:13:25]OFD Sender: No OFD packet to send [02:13:30]OFD Sender: No OFD packet to send [02:13:35]OFD Sender: No OFD packet to send [02:13:41]OFD Sender: No OFD packet to send [02:13:46]OFD Sender: No OFD packet to send [02:13:51]OFD Sender: No OFD packet to send [02:13:56]OFD Sender: No OFD packet to send [02:14:01]OFD Sender: No OFD packet to send [02:14:06]OFD Sender: No OFD packet to send [02:14:11]OFD Sender: No OFD packet to send [02:14:16]OFD Sender: No OFD packet to send [02:14:21]OFD Sender: No OFD packet to send [02:14:26]OFD Sender: No OFD packet to send [02:14:31]OFD Sender: No OFD packet to send [02:14:36]OFD Sender: No OFD packet to send [02:14:41]OFD Sender: No OFD packet to send [02:14:46]OFD Sender: No OFD packet to send [02:14:51]OFD Sender: No OFD packet to send [02:14:56]OFD Sender: No OFD packet to send [02:15:01]OFD Sender: No OFD packet to send [02:15:06]OFD Sender: No OFD packet to send [02:15:11]OFD Sender: No OFD packet to send [02:15:16]OFD Sender: No OFD packet to send [02:15:21]OFD Sender: No OFD packet to send [02:15:26]OFD Sender: No OFD packet to send [02:15:31]OFD Sender: No OFD packet to send [02:15:36]OFD Sender: No OFD packet to send [02:15:41]OFD Sender: No OFD packet to send [02:15:46]OFD Sender: No OFD packet to send [02:15:51]OFD Sender: No OFD packet to send [02:15:56]OFD Sender: No OFD packet to send [02:16:01]OFD Sender: No OFD packet to send [02:16:06]OFD Sender: No OFD packet to send [02:16:11]OFD Sender: No OFD packet to send [02:16:16]OFD Sender: No OFD packet to send [02:16:21]OFD Sender: No OFD packet to send [02:16:26]OFD Sender: No OFD packet to send [02:16:31]OFD Sender: No OFD packet to send [02:16:36]OFD Sender: No OFD packet to send [02:16:41]OFD Sender: No OFD packet to send [02:16:46]OFD Sender: No OFD packet to send [02:16:51]OFD Sender: No OFD packet to send [02:16:56]OFD Sender: No OFD packet to send [02:17:01]OFD Sender: No OFD packet to send [02:17:06]OFD Sender: No OFD packet to send [02:17:11]OFD Sender: No OFD packet to send [02:17:16]OFD Sender: No OFD packet to send [02:17:21]OFD Sender: No OFD packet to send [02:17:26]OFD Sender: No OFD packet to send [02:17:31]OFD Sender: No OFD packet to send [02:17:36]OFD Sender: No OFD packet to send [02:17:41]OFD Sender: No OFD packet to send [02:17:46]OFD Sender: No OFD packet to send [02:17:51]OFD Sender: No OFD packet to send [02:17:56]OFD Sender: No OFD packet to send [02:18:01]OFD Sender: No OFD packet to send [02:18:06]OFD Sender: No OFD packet to send [02:18:11]OFD Sender: No OFD packet to send [02:18:16]OFD Sender: No OFD packet to send [02:18:21]OFD Sender: No OFD packet to send [02:18:26]OFD Sender: No OFD packet to send [02:18:31]OFD Sender: No OFD packet to send [02:18:36]OFD Sender: No OFD packet to send [02:18:41]OFD Sender: No OFD packet to send [02:18:46]OFD Sender: No OFD packet to send [02:18:51]OFD Sender: No OFD packet to send [02:18:56]OFD Sender: No OFD packet to send [02:19:01]OFD Sender: No OFD packet to send [02:19:06]OFD Sender: No OFD packet to send [02:19:11]OFD Sender: No OFD packet to send [02:19:16]OFD Sender: No OFD packet to send [02:19:21]OFD Sender: No OFD packet to send [02:19:26]OFD Sender: No OFD packet to send [02:19:31]OFD Sender: No OFD packet to send [02:19:36]OFD Sender: No OFD packet to send [02:19:41]OFD Sender: No OFD packet to send [02:19:46]OFD Sender: No OFD packet to send [02:19:51]OFD Sender: No OFD packet to send [02:19:56]OFD Sender: No OFD packet to send [02:20:01]OFD Sender: No OFD packet to send [02:20:06]OFD Sender: No OFD packet to send [02:20:11]OFD Sender: No OFD packet to send [02:20:16]OFD Sender: No OFD packet to send [02:20:21]OFD Sender: No OFD packet to send [02:20:26]OFD Sender: No OFD packet to send [02:20:31]OFD Sender: No OFD packet to send [02:20:36]OFD Sender: No OFD packet to send [02:20:41]OFD Sender: No OFD packet to send [02:20:46]OFD Sender: No OFD packet to send [02:20:51]OFD Sender: No OFD packet to send [02:20:56]OFD Sender: No OFD packet to send [02:21:01]OFD Sender: No OFD packet to send [02:21:06]OFD Sender: No OFD packet to send [02:21:11]OFD Sender: No OFD packet to send [02:21:16]OFD Sender: No OFD packet to send [02:21:21]OFD Sender: No OFD packet to send [02:21:26]OFD Sender: No OFD packet to send [02:21:31]OFD Sender: No OFD packet to send [02:21:36]OFD Sender: No OFD packet to send [02:21:41]OFD Sender: No OFD packet to send [02:21:46]OFD Sender: No OFD packet to send [02:21:51]OFD Sender: No OFD packet to send [02:21:56]OFD Sender: No OFD packet to send [02:22:01]OFD Sender: No OFD packet to send [02:22:06]OFD Sender: No OFD packet to send [02:22:11]OFD Sender: No OFD packet to send [02:22:16]OFD Sender: No OFD packet to send [02:22:21]OFD Sender: No OFD packet to send [02:22:26]OFD Sender: No OFD packet to send [02:22:31]OFD Sender: No OFD packet to send [02:22:36]OFD Sender: No OFD packet to send [02:22:41]OFD Sender: No OFD packet to send [02:22:46]OFD Sender: No OFD packet to send [02:22:51]OFD Sender: No OFD packet to send [02:22:56]OFD Sender: No OFD packet to send [02:23:01]OFD Sender: No OFD packet to send [02:23:06]OFD Sender: No OFD packet to send [02:23:11]OFD Sender: No OFD packet to send [02:23:16]OFD Sender: No OFD packet to send [02:23:21]OFD Sender: No OFD packet to send [02:23:26]OFD Sender: No OFD packet to send [02:23:31]OFD Sender: No OFD packet to send [02:23:36]OFD Sender: No OFD packet to send [02:23:41]OFD Sender: No OFD packet to send [02:23:46]OFD Sender: No OFD packet to send [02:23:51]OFD Sender: No OFD packet to send [02:23:56]OFD Sender: No OFD packet to send [02:24:01]OFD Sender: No OFD packet to send [02:24:06]OFD Sender: No OFD packet to send [02:24:11]OFD Sender: No OFD packet to send [02:24:16]OFD Sender: No OFD packet to send [02:24:21]OFD Sender: No OFD packet to send [02:24:26]OFD Sender: No OFD packet to send [02:24:31]OFD Sender: No OFD packet to send [02:24:36]OFD Sender: No OFD packet to send [02:24:41]OFD Sender: No OFD packet to send [02:24:46]OFD Sender: No OFD packet to send [02:24:51]OFD Sender: No OFD packet to send [02:24:56]OFD Sender: No OFD packet to send [02:25:01]OFD Sender: No OFD packet to send [02:25:06]OFD Sender: No OFD packet to send [02:25:11]OFD Sender: No OFD packet to send [02:25:16]OFD Sender: No OFD packet to send [02:25:21]OFD Sender: No OFD packet to send [02:25:26]OFD Sender: No OFD packet to send [02:25:31]OFD Sender: No OFD packet to send [02:25:36]OFD Sender: No OFD packet to send [02:25:41]OFD Sender: No OFD packet to send [02:25:46]OFD Sender: No OFD packet to send [02:25:51]OFD Sender: No OFD packet to send [02:25:56]OFD Sender: No OFD packet to send [02:26:01]OFD Sender: No OFD packet to send [02:26:06]OFD Sender: No OFD packet to send [02:26:11]OFD Sender: No OFD packet to send [02:26:16]OFD Sender: No OFD packet to send [02:26:21]OFD Sender: No OFD packet to send [02:26:26]OFD Sender: No OFD packet to send [02:26:31]OFD Sender: No OFD packet to send [02:26:36]OFD Sender: No OFD packet to send [02:26:41]OFD Sender: No OFD packet to send [02:26:46]OFD Sender: No OFD packet to send [02:26:51]OFD Sender: No OFD packet to send [02:26:56]OFD Sender: No OFD packet to send [02:27:01]OFD Sender: No OFD packet to send [02:27:06]OFD Sender: No OFD packet to send [02:27:11]OFD Sender: No OFD packet to send [02:27:16]OFD Sender: No OFD packet to send [02:27:21]OFD Sender: No OFD packet to send [02:27:26]OFD Sender: No OFD packet to send [02:27:31]OFD Sender: No OFD packet to send [02:27:36]OFD Sender: No OFD packet to send [02:27:41]OFD Sender: No OFD packet to send [02:27:46]OFD Sender: No OFD packet to send [02:27:51]OFD Sender: No OFD packet to send [02:27:56]OFD Sender: No OFD packet to send [02:28:01]OFD Sender: No OFD packet to send [02:28:06]OFD Sender: No OFD packet to send [02:28:11]OFD Sender: No OFD packet to send [02:28:16]OFD Sender: No OFD packet to send [02:28:21]OFD Sender: No OFD packet to send [02:28:26]OFD Sender: No OFD packet to send [02:28:31]OFD Sender: No OFD packet to send [02:28:36]OFD Sender: No OFD packet to send [02:28:41]OFD Sender: No OFD packet to send [02:28:46]OFD Sender: No OFD packet to send [02:28:51]OFD Sender: No OFD packet to send [02:28:56]OFD Sender: No OFD packet to send [02:29:01]OFD Sender: No OFD packet to send [02:29:06]OFD Sender: No OFD packet to send [02:29:11]OFD Sender: No OFD packet to send [02:29:16]OFD Sender: No OFD packet to send [02:29:21]OFD Sender: No OFD packet to send [02:29:26]OFD Sender: No OFD packet to send [02:29:31]OFD Sender: No OFD packet to send [02:29:36]OFD Sender: No OFD packet to send [02:29:41]OFD Sender: No OFD packet to send [02:29:46]OFD Sender: No OFD packet to send [02:29:51]OFD Sender: No OFD packet to send [02:29:56]OFD Sender: No OFD packet to send [02:30:01]OFD Sender: No OFD packet to send [02:30:06]OFD Sender: No OFD packet to send [02:30:11]OFD Sender: No OFD packet to send [02:30:16]OFD Sender: No OFD packet to send [02:30:21]OFD Sender: No OFD packet to send [02:30:26]OFD Sender: No OFD packet to send [02:30:31]OFD Sender: No OFD packet to send [02:30:36]OFD Sender: No OFD packet to send [02:30:41]OFD Sender: No OFD packet to send [02:30:46]OFD Sender: No OFD packet to send [02:30:51]OFD Sender: No OFD packet to send [02:30:56]OFD Sender: No OFD packet to send [02:31:01]OFD Sender: No OFD packet to send [02:31:06]OFD Sender: No OFD packet to send [02:31:11]OFD Sender: No OFD packet to send [02:31:16]OFD Sender: No OFD packet to send [02:31:21]OFD Sender: No OFD packet to send [02:31:26]OFD Sender: No OFD packet to send [02:31:31]OFD Sender: No OFD packet to send [02:31:36]OFD Sender: No OFD packet to send [02:31:41]OFD Sender: No OFD packet to send [02:31:46]OFD Sender: No OFD packet to send [02:31:51]OFD Sender: No OFD packet to send [02:31:56]OFD Sender: No OFD packet to send [02:32:01]OFD Sender: No OFD packet to send [02:32:06]OFD Sender: No OFD packet to send [02:32:11]OFD Sender: No OFD packet to send [02:32:16]OFD Sender: No OFD packet to send [02:32:21]OFD Sender: No OFD packet to send [02:32:26]OFD Sender: No OFD packet to send [02:32:31]OFD Sender: No OFD packet to send [02:32:36]OFD Sender: No OFD packet to send [02:32:41]OFD Sender: No OFD packet to send [02:32:46]OFD Sender: No OFD packet to send [02:32:51]OFD Sender: No OFD packet to send [02:32:56]OFD Sender: No OFD packet to send [02:33:01]OFD Sender: No OFD packet to send [02:33:06]OFD Sender: No OFD packet to send [02:33:11]OFD Sender: No OFD packet to send [02:33:16]OFD Sender: No OFD packet to send [02:33:21]OFD Sender: No OFD packet to send [02:33:26]OFD Sender: No OFD packet to send [02:33:31]OFD Sender: No OFD packet to send [02:33:36]OFD Sender: No OFD packet to send [02:33:41]OFD Sender: No OFD packet to send [02:33:46]OFD Sender: No OFD packet to send [02:33:51]OFD Sender: No OFD packet to send [02:33:56]OFD Sender: No OFD packet to send [02:34:01]OFD Sender: No OFD packet to send [02:34:06]OFD Sender: No OFD packet to send [02:34:11]OFD Sender: No OFD packet to send [02:34:16]OFD Sender: No OFD packet to send [02:34:21]OFD Sender: No OFD packet to send [02:34:26]OFD Sender: No OFD packet to send [02:34:31]OFD Sender: No OFD packet to send [02:34:36]OFD Sender: No OFD packet to send [02:34:41]OFD Sender: No OFD packet to send [02:34:46]OFD Sender: No OFD packet to send [02:34:51]OFD Sender: No OFD packet to send [02:34:56]OFD Sender: No OFD packet to send [02:35:01]OFD Sender: No OFD packet to send [02:35:07]OFD Sender: No OFD packet to send [02:35:12]OFD Sender: No OFD packet to send [02:35:17]OFD Sender: No OFD packet to send [02:35:22]OFD Sender: No OFD packet to send [02:35:27]OFD Sender: No OFD packet to send [02:35:32]OFD Sender: No OFD packet to send [02:35:37]OFD Sender: No OFD packet to send [02:35:42]OFD Sender: No OFD packet to send [02:35:47]OFD Sender: No OFD packet to send [02:35:52]OFD Sender: No OFD packet to send [02:35:57]OFD Sender: No OFD packet to send [02:36:02]OFD Sender: No OFD packet to send [02:36:07]OFD Sender: No OFD packet to send [02:36:12]OFD Sender: No OFD packet to send [02:36:17]OFD Sender: No OFD packet to send [02:36:22]OFD Sender: No OFD packet to send [02:36:27]OFD Sender: No OFD packet to send [02:36:32]OFD Sender: No OFD packet to send [02:36:37]OFD Sender: No OFD packet to send [02:36:42]OFD Sender: No OFD packet to send [02:36:47]OFD Sender: No OFD packet to send [02:36:52]OFD Sender: No OFD packet to send [02:36:57]OFD Sender: No OFD packet to send [02:37:02]OFD Sender: No OFD packet to send [02:37:07]OFD Sender: No OFD packet to send [02:37:12]OFD Sender: No OFD packet to send [02:37:17]OFD Sender: No OFD packet to send [02:37:22]OFD Sender: No OFD packet to send [02:37:27]OFD Sender: No OFD packet to send [02:37:32]OFD Sender: No OFD packet to send [02:37:37]OFD Sender: No OFD packet to send [02:37:42]OFD Sender: No OFD packet to send [02:37:47]OFD Sender: No OFD packet to send [02:37:52]OFD Sender: No OFD packet to send [02:37:57]OFD Sender: No OFD packet to send [02:38:02]OFD Sender: No OFD packet to send [02:38:07]OFD Sender: No OFD packet to send [02:38:12]OFD Sender: No OFD packet to send [02:38:17]OFD Sender: No OFD packet to send [02:38:22]OFD Sender: No OFD packet to send [02:38:27]OFD Sender: No OFD packet to send [02:38:32]OFD Sender: No OFD packet to send [02:38:37]OFD Sender: No OFD packet to send [02:38:42]OFD Sender: No OFD packet to send [02:38:47]OFD Sender: No OFD packet to send [02:38:52]OFD Sender: No OFD packet to send [02:38:57]OFD Sender: No OFD packet to send [02:39:02]OFD Sender: No OFD packet to send [02:39:07]OFD Sender: No OFD packet to send [02:39:12]OFD Sender: No OFD packet to send [02:39:17]OFD Sender: No OFD packet to send [02:39:22]OFD Sender: No OFD packet to send [02:39:27]OFD Sender: No OFD packet to send [02:39:32]OFD Sender: No OFD packet to send [02:39:37]OFD Sender: No OFD packet to send [02:39:42]OFD Sender: No OFD packet to send [02:39:47]OFD Sender: No OFD packet to send [02:39:52]OFD Sender: No OFD packet to send [02:39:57]OFD Sender: No OFD packet to send [02:40:02]OFD Sender: No OFD packet to send [02:40:07]OFD Sender: No OFD packet to send [02:40:12]OFD Sender: No OFD packet to send [02:40:17]OFD Sender: No OFD packet to send [02:40:22]OFD Sender: No OFD packet to send [02:40:27]OFD Sender: No OFD packet to send [02:40:32]OFD Sender: No OFD packet to send [02:40:37]OFD Sender: No OFD packet to send [02:40:42]OFD Sender: No OFD packet to send [02:40:47]OFD Sender: No OFD packet to send [02:40:52]OFD Sender: No OFD packet to send [02:40:57]OFD Sender: No OFD packet to send [02:41:02]OFD Sender: No OFD packet to send [02:41:07]OFD Sender: No OFD packet to send [02:41:12]OFD Sender: No OFD packet to send [02:41:17]OFD Sender: No OFD packet to send [02:41:22]OFD Sender: No OFD packet to send [02:41:27]OFD Sender: No OFD packet to send [02:41:32]OFD Sender: No OFD packet to send [02:41:37]OFD Sender: No OFD packet to send [02:41:42]OFD Sender: No OFD packet to send [02:41:47]OFD Sender: No OFD packet to send [02:41:52]OFD Sender: No OFD packet to send [02:41:57]OFD Sender: No OFD packet to send [02:42:02]OFD Sender: No OFD packet to send [02:42:07]OFD Sender: No OFD packet to send [02:42:12]OFD Sender: No OFD packet to send [02:42:17]OFD Sender: No OFD packet to send [02:42:22]OFD Sender: No OFD packet to send [02:42:27]OFD Sender: No OFD packet to send [02:42:32]OFD Sender: No OFD packet to send [02:42:37]OFD Sender: No OFD packet to send [02:42:42]OFD Sender: No OFD packet to send [02:42:47]OFD Sender: No OFD packet to send [02:42:52]OFD Sender: No OFD packet to send [02:42:57]OFD Sender: No OFD packet to send [02:43:02]OFD Sender: No OFD packet to send [02:43:07]OFD Sender: No OFD packet to send [02:43:12]OFD Sender: No OFD packet to send [02:43:17]OFD Sender: No OFD packet to send [02:43:22]OFD Sender: No OFD packet to send [02:43:27]OFD Sender: No OFD packet to send [02:43:32]OFD Sender: No OFD packet to send [02:43:37]OFD Sender: No OFD packet to send [02:43:42]OFD Sender: No OFD packet to send [02:43:47]OFD Sender: No OFD packet to send [02:43:52]OFD Sender: No OFD packet to send [02:43:57]OFD Sender: No OFD packet to send [02:44:02]OFD Sender: No OFD packet to send [02:44:07]OFD Sender: No OFD packet to send [02:44:12]OFD Sender: No OFD packet to send [02:44:17]OFD Sender: No OFD packet to send [02:44:22]OFD Sender: No OFD packet to send [02:44:27]OFD Sender: No OFD packet to send [02:44:32]OFD Sender: No OFD packet to send [02:44:37]OFD Sender: No OFD packet to send [02:44:42]OFD Sender: No OFD packet to send [02:44:47]OFD Sender: No OFD packet to send [02:44:52]OFD Sender: No OFD packet to send [02:44:57]OFD Sender: No OFD packet to send [02:45:02]OFD Sender: No OFD packet to send [02:45:07]OFD Sender: No OFD packet to send [02:45:12]OFD Sender: No OFD packet to send [02:45:17]OFD Sender: No OFD packet to send [02:45:22]OFD Sender: No OFD packet to send [02:45:27]OFD Sender: No OFD packet to send [02:45:32]OFD Sender: No OFD packet to send [02:45:37]OFD Sender: No OFD packet to send [02:45:42]OFD Sender: No OFD packet to send [02:45:47]OFD Sender: No OFD packet to send [02:45:52]OFD Sender: No OFD packet to send [02:45:57]OFD Sender: No OFD packet to send [02:46:02]OFD Sender: No OFD packet to send [02:46:07]OFD Sender: No OFD packet to send [02:46:12]OFD Sender: No OFD packet to send [02:46:17]OFD Sender: No OFD packet to send [02:46:22]OFD Sender: No OFD packet to send [02:46:27]OFD Sender: No OFD packet to send [02:46:32]OFD Sender: No OFD packet to send [02:46:37]OFD Sender: No OFD packet to send [02:46:42]OFD Sender: No OFD packet to send [02:46:47]OFD Sender: No OFD packet to send [02:46:52]OFD Sender: No OFD packet to send [02:46:57]OFD Sender: No OFD packet to send [02:47:02]OFD Sender: No OFD packet to send [02:47:07]OFD Sender: No OFD packet to send [02:47:12]OFD Sender: No OFD packet to send [02:47:17]OFD Sender: No OFD packet to send [02:47:22]OFD Sender: No OFD packet to send [02:47:27]OFD Sender: No OFD packet to send [02:47:32]OFD Sender: No OFD packet to send [02:47:37]OFD Sender: No OFD packet to send [02:47:42]OFD Sender: No OFD packet to send [02:47:47]OFD Sender: No OFD packet to send [02:47:52]OFD Sender: No OFD packet to send [02:47:57]OFD Sender: No OFD packet to send [02:48:02]OFD Sender: No OFD packet to send [02:48:07]OFD Sender: No OFD packet to send [02:48:12]OFD Sender: No OFD packet to send [02:48:17]OFD Sender: No OFD packet to send [02:48:22]OFD Sender: No OFD packet to send [02:48:27]OFD Sender: No OFD packet to send [02:48:32]OFD Sender: No OFD packet to send [02:48:37]OFD Sender: No OFD packet to send [02:48:42]OFD Sender: No OFD packet to send [02:48:47]OFD Sender: No OFD packet to send [02:48:52]OFD Sender: No OFD packet to send [02:48:57]OFD Sender: No OFD packet to send [02:49:02]OFD Sender: No OFD packet to send [02:49:07]OFD Sender: No OFD packet to send [02:49:12]OFD Sender: No OFD packet to send [02:49:17]OFD Sender: No OFD packet to send [02:49:22]OFD Sender: No OFD packet to send [02:49:27]OFD Sender: No OFD packet to send [02:49:32]OFD Sender: No OFD packet to send [02:49:37]OFD Sender: No OFD packet to send [02:49:42]OFD Sender: No OFD packet to send [02:49:47]OFD Sender: No OFD packet to send [02:49:52]OFD Sender: No OFD packet to send [02:49:57]OFD Sender: No OFD packet to send [02:50:02]OFD Sender: No OFD packet to send [02:50:07]OFD Sender: No OFD packet to send [02:50:12]OFD Sender: No OFD packet to send [02:50:17]OFD Sender: No OFD packet to send [02:50:22]OFD Sender: No OFD packet to send [02:50:27]OFD Sender: No OFD packet to send [02:50:32]OFD Sender: No OFD packet to send [02:50:37]OFD Sender: No OFD packet to send [02:50:42]OFD Sender: No OFD packet to send [02:50:47]OFD Sender: No OFD packet to send [02:50:52]OFD Sender: No OFD packet to send [02:50:57]OFD Sender: No OFD packet to send [02:51:02]OFD Sender: No OFD packet to send [02:51:07]OFD Sender: No OFD packet to send [02:51:12]OFD Sender: No OFD packet to send [02:51:17]OFD Sender: No OFD packet to send [02:51:22]OFD Sender: No OFD packet to send [02:51:27]OFD Sender: No OFD packet to send [02:51:32]OFD Sender: No OFD packet to send [02:51:37]OFD Sender: No OFD packet to send [02:51:42]OFD Sender: No OFD packet to send [02:51:47]OFD Sender: No OFD packet to send [02:51:52]OFD Sender: No OFD packet to send [02:51:57]OFD Sender: No OFD packet to send [02:52:02]OFD Sender: No OFD packet to send [02:52:07]OFD Sender: No OFD packet to send [02:52:12]OFD Sender: No OFD packet to send [02:52:17]OFD Sender: No OFD packet to send [02:52:22]OFD Sender: No OFD packet to send [02:52:27]OFD Sender: No OFD packet to send [02:52:32]OFD Sender: No OFD packet to send [02:52:37]OFD Sender: No OFD packet to send [02:52:42]OFD Sender: No OFD packet to send [02:52:47]OFD Sender: No OFD packet to send [02:52:52]OFD Sender: No OFD packet to send [02:52:57]OFD Sender: No OFD packet to send [02:53:02]OFD Sender: No OFD packet to send [02:53:07]OFD Sender: No OFD packet to send [02:53:12]OFD Sender: No OFD packet to send [02:53:17]OFD Sender: No OFD packet to send [02:53:22]OFD Sender: No OFD packet to send [02:53:27]OFD Sender: No OFD packet to send [02:53:32]OFD Sender: No OFD packet to send [02:53:37]OFD Sender: No OFD packet to send [02:53:42]OFD Sender: No OFD packet to send [02:53:47]OFD Sender: No OFD packet to send [02:53:52]OFD Sender: No OFD packet to send [02:53:57]OFD Sender: No OFD packet to send [02:54:02]OFD Sender: No OFD packet to send [02:54:07]OFD Sender: No OFD packet to send [02:54:12]OFD Sender: No OFD packet to send [02:54:17]OFD Sender: No OFD packet to send [02:54:22]OFD Sender: No OFD packet to send [02:54:27]OFD Sender: No OFD packet to send [02:54:32]OFD Sender: No OFD packet to send [02:54:37]OFD Sender: No OFD packet to send [02:54:42]OFD Sender: No OFD packet to send [02:54:47]OFD Sender: No OFD packet to send [02:54:52]OFD Sender: No OFD packet to send [02:54:57]OFD Sender: No OFD packet to send [02:55:02]OFD Sender: No OFD packet to send [02:55:07]OFD Sender: No OFD packet to send [02:55:12]OFD Sender: No OFD packet to send [02:55:17]OFD Sender: No OFD packet to send [02:55:22]OFD Sender: No OFD packet to send [02:55:27]OFD Sender: No OFD packet to send [02:55:32]OFD Sender: No OFD packet to send [02:55:37]OFD Sender: No OFD packet to send [02:55:42]OFD Sender: No OFD packet to send [02:55:47]OFD Sender: No OFD packet to send [02:55:52]OFD Sender: No OFD packet to send [02:55:57]OFD Sender: No OFD packet to send [02:56:02]OFD Sender: No OFD packet to send [02:56:07]OFD Sender: No OFD packet to send [02:56:12]OFD Sender: No OFD packet to send [02:56:17]OFD Sender: No OFD packet to send [02:56:22]OFD Sender: No OFD packet to send [02:56:28]OFD Sender: No OFD packet to send [02:56:33]OFD Sender: No OFD packet to send [02:56:38]OFD Sender: No OFD packet to send [02:56:43]OFD Sender: No OFD packet to send [02:56:48]OFD Sender: No OFD packet to send [02:56:53]OFD Sender: No OFD packet to send [02:56:58]OFD Sender: No OFD packet to send [02:57:03]OFD Sender: No OFD packet to send [02:57:08]OFD Sender: No OFD packet to send [02:57:13]OFD Sender: No OFD packet to send [02:57:18]OFD Sender: No OFD packet to send [02:57:23]OFD Sender: No OFD packet to send [02:57:28]OFD Sender: No OFD packet to send [02:57:33]OFD Sender: No OFD packet to send [02:57:38]OFD Sender: No OFD packet to send [02:57:43]OFD Sender: No OFD packet to send [02:57:48]OFD Sender: No OFD packet to send [02:57:53]OFD Sender: No OFD packet to send [02:57:58]OFD Sender: No OFD packet to send [02:58:03]OFD Sender: No OFD packet to send [02:58:08]OFD Sender: No OFD packet to send [02:58:13]OFD Sender: No OFD packet to send [02:58:18]OFD Sender: No OFD packet to send [02:58:23]OFD Sender: No OFD packet to send [02:58:28]OFD Sender: No OFD packet to send [02:58:33]OFD Sender: No OFD packet to send [02:58:38]OFD Sender: No OFD packet to send [02:58:43]OFD Sender: No OFD packet to send [02:58:48]OFD Sender: No OFD packet to send [02:58:53]OFD Sender: No OFD packet to send [02:58:58]OFD Sender: No OFD packet to send [02:59:03]OFD Sender: No OFD packet to send [02:59:08]OFD Sender: No OFD packet to send [02:59:13]OFD Sender: No OFD packet to send [02:59:18]OFD Sender: No OFD packet to send [02:59:23]OFD Sender: No OFD packet to send [02:59:28]OFD Sender: No OFD packet to send [02:59:33]OFD Sender: No OFD packet to send [02:59:38]OFD Sender: No OFD packet to send [02:59:43]OFD Sender: No OFD packet to send [02:59:48]OFD Sender: No OFD packet to send [02:59:53]OFD Sender: No OFD packet to send [02:59:58]OFD Sender: No OFD packet to send [03:00:03]OFD Sender: No OFD packet to send [03:00:08]OFD Sender: No OFD packet to send [03:00:13]OFD Sender: No OFD packet to send [03:00:18]OFD Sender: No OFD packet to send [03:00:23]OFD Sender: No OFD packet to send [03:00:28]OFD Sender: No OFD packet to send [03:00:33]OFD Sender: No OFD packet to send [03:00:38]OFD Sender: No OFD packet to send [03:00:43]OFD Sender: No OFD packet to send [03:00:48]OFD Sender: No OFD packet to send [03:00:53]OFD Sender: No OFD packet to send [03:00:58]OFD Sender: No OFD packet to send [03:01:03]OFD Sender: No OFD packet to send [03:01:08]OFD Sender: No OFD packet to send [03:01:13]OFD Sender: No OFD packet to send [03:01:18]OFD Sender: No OFD packet to send [03:01:23]OFD Sender: No OFD packet to send [03:01:28]OFD Sender: No OFD packet to send [03:01:33]OFD Sender: No OFD packet to send [03:01:38]OFD Sender: No OFD packet to send [03:01:43]OFD Sender: No OFD packet to send [03:01:48]OFD Sender: No OFD packet to send [03:01:53]OFD Sender: No OFD packet to send [03:01:58]OFD Sender: No OFD packet to send [03:02:03]OFD Sender: No OFD packet to send [03:02:08]OFD Sender: No OFD packet to send [03:02:13]OFD Sender: No OFD packet to send [03:02:18]OFD Sender: No OFD packet to send [03:02:23]OFD Sender: No OFD packet to send [03:02:28]OFD Sender: No OFD packet to send [03:02:33]OFD Sender: No OFD packet to send [03:02:38]OFD Sender: No OFD packet to send [03:02:43]OFD Sender: No OFD packet to send [03:02:48]OFD Sender: No OFD packet to send [03:02:53]OFD Sender: No OFD packet to send [03:02:58]OFD Sender: No OFD packet to send [03:03:03]OFD Sender: No OFD packet to send [03:03:08]OFD Sender: No OFD packet to send [03:03:13]OFD Sender: No OFD packet to send [03:03:18]OFD Sender: No OFD packet to send [03:03:23]OFD Sender: No OFD packet to send [03:03:28]OFD Sender: No OFD packet to send [03:03:33]OFD Sender: No OFD packet to send [03:03:38]OFD Sender: No OFD packet to send [03:03:43]OFD Sender: No OFD packet to send [03:03:48]OFD Sender: No OFD packet to send [03:03:53]OFD Sender: No OFD packet to send [03:03:58]OFD Sender: No OFD packet to send [03:04:03]OFD Sender: No OFD packet to send [03:04:08]OFD Sender: No OFD packet to send [03:04:13]OFD Sender: No OFD packet to send [03:04:18]OFD Sender: No OFD packet to send [03:04:23]OFD Sender: No OFD packet to send [03:04:28]OFD Sender: No OFD packet to send [03:04:33]OFD Sender: No OFD packet to send [03:04:38]OFD Sender: No OFD packet to send [03:04:43]OFD Sender: No OFD packet to send [03:04:48]OFD Sender: No OFD packet to send [03:04:53]OFD Sender: No OFD packet to send [03:04:58]OFD Sender: No OFD packet to send [03:05:03]OFD Sender: No OFD packet to send [03:05:08]OFD Sender: No OFD packet to send [03:05:13]OFD Sender: No OFD packet to send [03:05:18]OFD Sender: No OFD packet to send [03:05:23]OFD Sender: No OFD packet to send [03:05:28]OFD Sender: No OFD packet to send [03:05:33]OFD Sender: No OFD packet to send [03:05:38]OFD Sender: No OFD packet to send [03:05:43]OFD Sender: No OFD packet to send [03:05:48]OFD Sender: No OFD packet to send [03:05:53]OFD Sender: No OFD packet to send [03:05:58]OFD Sender: No OFD packet to send [03:06:03]OFD Sender: No OFD packet to send [03:06:08]OFD Sender: No OFD packet to send [03:06:13]OFD Sender: No OFD packet to send [03:06:18]OFD Sender: No OFD packet to send [03:06:23]OFD Sender: No OFD packet to send [03:06:28]OFD Sender: No OFD packet to send [03:06:33]OFD Sender: No OFD packet to send [03:06:38]OFD Sender: No OFD packet to send [03:06:43]OFD Sender: No OFD packet to send [03:06:48]OFD Sender: No OFD packet to send [03:06:53]OFD Sender: No OFD packet to send [03:06:58]OFD Sender: No OFD packet to send [03:07:03]OFD Sender: No OFD packet to send [03:07:08]OFD Sender: No OFD packet to send [03:07:13]OFD Sender: No OFD packet to send [03:07:18]OFD Sender: No OFD packet to send [03:07:23]OFD Sender: No OFD packet to send [03:07:28]OFD Sender: No OFD packet to send [03:07:33]OFD Sender: No OFD packet to send [03:07:38]OFD Sender: No OFD packet to send [03:07:43]OFD Sender: No OFD packet to send [03:07:48]OFD Sender: No OFD packet to send [03:07:53]OFD Sender: No OFD packet to send [03:07:58]OFD Sender: No OFD packet to send [03:08:03]OFD Sender: No OFD packet to send [03:08:08]OFD Sender: No OFD packet to send [03:08:13]OFD Sender: No OFD packet to send [03:08:18]OFD Sender: No OFD packet to send [03:08:23]OFD Sender: No OFD packet to send [03:08:28]OFD Sender: No OFD packet to send [03:08:33]OFD Sender: No OFD packet to send [03:08:38]OFD Sender: No OFD packet to send [03:08:43]OFD Sender: No OFD packet to send [03:08:48]OFD Sender: No OFD packet to send [03:08:53]OFD Sender: No OFD packet to send [03:08:58]OFD Sender: No OFD packet to send [03:09:03]OFD Sender: No OFD packet to send [03:09:08]OFD Sender: No OFD packet to send [03:09:13]OFD Sender: No OFD packet to send [03:09:18]OFD Sender: No OFD packet to send [03:09:23]OFD Sender: No OFD packet to send [03:09:28]OFD Sender: No OFD packet to send [03:09:33]OFD Sender: No OFD packet to send [03:09:38]OFD Sender: No OFD packet to send [03:09:43]OFD Sender: No OFD packet to send [03:09:48]OFD Sender: No OFD packet to send [03:09:53]OFD Sender: No OFD packet to send [03:09:58]OFD Sender: No OFD packet to send [03:10:03]OFD Sender: No OFD packet to send [03:10:08]OFD Sender: No OFD packet to send [03:10:13]OFD Sender: No OFD packet to send [03:10:18]OFD Sender: No OFD packet to send [03:10:23]OFD Sender: No OFD packet to send [03:10:28]OFD Sender: No OFD packet to send [03:10:33]OFD Sender: No OFD packet to send [03:10:38]OFD Sender: No OFD packet to send [03:10:43]OFD Sender: No OFD packet to send [03:10:48]OFD Sender: No OFD packet to send [03:10:53]OFD Sender: No OFD packet to send [03:10:58]OFD Sender: No OFD packet to send [03:11:03]OFD Sender: No OFD packet to send [03:11:08]OFD Sender: No OFD packet to send [03:11:13]OFD Sender: No OFD packet to send [03:11:18]OFD Sender: No OFD packet to send [03:11:23]OFD Sender: No OFD packet to send [03:11:28]OFD Sender: No OFD packet to send [03:11:33]OFD Sender: No OFD packet to send [03:11:38]OFD Sender: No OFD packet to send [03:11:43]OFD Sender: No OFD packet to send [03:11:48]OFD Sender: No OFD packet to send [03:11:53]OFD Sender: No OFD packet to send [03:11:58]OFD Sender: No OFD packet to send [03:12:03]OFD Sender: No OFD packet to send [03:12:08]OFD Sender: No OFD packet to send [03:12:13]OFD Sender: No OFD packet to send [03:12:18]OFD Sender: No OFD packet to send [03:12:23]OFD Sender: No OFD packet to send [03:12:28]OFD Sender: No OFD packet to send [03:12:33]OFD Sender: No OFD packet to send [03:12:38]OFD Sender: No OFD packet to send [03:12:43]OFD Sender: No OFD packet to send [03:12:48]OFD Sender: No OFD packet to send [03:12:53]OFD Sender: No OFD packet to send [03:12:58]OFD Sender: No OFD packet to send [03:13:03]OFD Sender: No OFD packet to send [03:13:08]OFD Sender: No OFD packet to send