[03:12:57]OFD Sender: No OFD packet to send [03:13:02]OFD Sender: No OFD packet to send [03:13:07]OFD Sender: No OFD packet to send [03:13:12]OFD Sender: No OFD packet to send [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:17]OFD Sender: No OFD packet to send [03:16:22]OFD Sender: No OFD packet to send [03:16:27]OFD Sender: No OFD packet to send [03:16:32]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:29]OFD Sender: No OFD packet to send [03:36:34]OFD Sender: No OFD packet to send [03:36:39]OFD Sender: No OFD packet to send [03:36:44]OFD Sender: No OFD packet to send [03:36:49]OFD Sender: No OFD packet to send [03:36:54]OFD Sender: No OFD packet to send [03:36:59]OFD Sender: No OFD packet to send [03:37:04]OFD Sender: No OFD packet to send [03:37:09]OFD Sender: No OFD packet to send [03:37:14]OFD Sender: No OFD packet to send [03:37:19]OFD Sender: No OFD packet to send [03:37:24]OFD Sender: No OFD packet to send [03:37:29]OFD Sender: No OFD packet to send [03:37:34]OFD Sender: No OFD packet to send [03:37:39]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:15]OFD Sender: No OFD packet to send [03:56:20]OFD Sender: No OFD packet to send [03:56:25]OFD Sender: No OFD packet to send [03:56:30]OFD Sender: No OFD packet to send [03:56:35]OFD Sender: No OFD packet to send [03:56:40]OFD Sender: No OFD packet to send [03:56:45]OFD Sender: No OFD packet to send [03:56:50]OFD Sender: No OFD packet to send [03:56:55]OFD Sender: No OFD packet to send [03:57:00]OFD Sender: No OFD packet to send [03:57:05]OFD Sender: No OFD packet to send [03:57:10]OFD Sender: No OFD packet to send [03:57:15]OFD Sender: No OFD packet to send [03:57:20]OFD Sender: No OFD packet to send [03:57:25]OFD Sender: No OFD packet to send [03:57:30]OFD Sender: No OFD packet to send [03:57:35]OFD Sender: No OFD packet to send [03:57:40]OFD Sender: No OFD packet to send [03:57:45]OFD Sender: No OFD packet to send [03:57:50]OFD Sender: No OFD packet to send [03:57:55]OFD Sender: No OFD packet to send [03:58:00]OFD Sender: No OFD packet to send [03:58:05]OFD Sender: No OFD packet to send [03:58:10]OFD Sender: No OFD packet to send [03:58:15]OFD Sender: No OFD packet to send [03:58:20]OFD Sender: No OFD packet to send [03:58:25]OFD Sender: No OFD packet to send [03:58:30]OFD Sender: No OFD packet to send [03:58:35]OFD Sender: No OFD packet to send [03:58:40]OFD Sender: No OFD packet to send [03:58:45]OFD Sender: No OFD packet to send [03:58:50]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:06]OFD Sender: No OFD packet to send [04:16:11]OFD Sender: No OFD packet to send [04:16:16]OFD Sender: No OFD packet to send [04:16:21]OFD Sender: No OFD packet to send [04:16:26]OFD Sender: No OFD packet to send [04:16:31]OFD Sender: No OFD packet to send [04:16:36]OFD Sender: No OFD packet to send [04:16:41]OFD Sender: No OFD packet to send [04:16:46]OFD Sender: No OFD packet to send [04:16:51]OFD Sender: No OFD packet to send [04:16:56]OFD Sender: No OFD packet to send [04:17:01]OFD Sender: No OFD packet to send [04:17:06]OFD Sender: No OFD packet to send [04:17:11]OFD Sender: No OFD packet to send [04:17:16]OFD Sender: No OFD packet to send [04:17:21]OFD Sender: No OFD packet to send [04:17:26]OFD Sender: No OFD packet to send [04:17:31]OFD Sender: No OFD packet to send [04:17:36]OFD Sender: No OFD packet to send [04:17:41]OFD Sender: No OFD packet to send [04:17:46]OFD Sender: No OFD packet to send [04:17:51]OFD Sender: No OFD packet to send [04:17:56]OFD Sender: No OFD packet to send [04:18:01]OFD Sender: No OFD packet to send [04:18:06]OFD Sender: No OFD packet to send [04:18:11]OFD Sender: No OFD packet to send [04:18:16]OFD Sender: No OFD packet to send [04:18:21]OFD Sender: No OFD packet to send [04:18:26]OFD Sender: No OFD packet to send [04:18:31]OFD Sender: No OFD packet to send [04:18:36]OFD Sender: No OFD packet to send [04:18:41]OFD Sender: No OFD packet to send [04:18:46]OFD Sender: No OFD packet to send [04:18:51]OFD Sender: No OFD packet to send [04:18:56]OFD Sender: No OFD packet to send [04:19:01]OFD Sender: No OFD packet to send [04:19:06]OFD Sender: No OFD packet to send [04:19:11]OFD Sender: No OFD packet to send [04:19:16]OFD Sender: No OFD packet to send [04:19:21]OFD Sender: No OFD packet to send [04:19:26]OFD Sender: No OFD packet to send [04:19:31]OFD Sender: No OFD packet to send [04:19:36]OFD Sender: No OFD packet to send [04:19:41]OFD Sender: No OFD packet to send [04:19:46]OFD Sender: No OFD packet to send [04:19:51]OFD Sender: No OFD packet to send [04:19:56]OFD Sender: No OFD packet to send [04:20:01]OFD Sender: No OFD packet to send [04:20:06]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:02]OFD Sender: No OFD packet to send [04:36:07]OFD Sender: No OFD packet to send [04:36:12]OFD Sender: No OFD packet to send [04:36:17]OFD Sender: No OFD packet to send [04:36:22]OFD Sender: No OFD packet to send [04:36:27]OFD Sender: No OFD packet to send [04:36:32]OFD Sender: No OFD packet to send [04:36:37]OFD Sender: No OFD packet to send [04:36:42]OFD Sender: No OFD packet to send [04:36:47]OFD Sender: No OFD packet to send [04:36:52]OFD Sender: No OFD packet to send [04:36:57]OFD Sender: No OFD packet to send [04:37:02]OFD Sender: No OFD packet to send [04:37:07]OFD Sender: No OFD packet to send [04:37:12]OFD Sender: No OFD packet to send [04:37:17]OFD Sender: No OFD packet to send [04:37:22]OFD Sender: No OFD packet to send [04:37:27]OFD Sender: No OFD packet to send [04:37:32]OFD Sender: No OFD packet to send [04:37:37]OFD Sender: No OFD packet to send [04:37:42]OFD Sender: No OFD packet to send [04:37:47]OFD Sender: No OFD packet to send [04:37:52]OFD Sender: No OFD packet to send [04:37:57]OFD Sender: No OFD packet to send [04:38:02]OFD Sender: No OFD packet to send [04:38:07]OFD Sender: No OFD packet to send [04:38:12]OFD Sender: No OFD packet to send [04:38:17]OFD Sender: No OFD packet to send [04:38:22]OFD Sender: No OFD packet to send [04:38:27]OFD Sender: No OFD packet to send [04:38:32]OFD Sender: No OFD packet to send [04:38:37]OFD Sender: No OFD packet to send [04:38:42]OFD Sender: No OFD packet to send [04:38:47]OFD Sender: No OFD packet to send [04:38:52]OFD Sender: No OFD packet to send [04:38:57]OFD Sender: No OFD packet to send [04:39:02]OFD Sender: No OFD packet to send [04:39:07]OFD Sender: No OFD packet to send [04:39:12]OFD Sender: No OFD packet to send [04:39:17]OFD Sender: No OFD packet to send [04:39:22]OFD Sender: No OFD packet to send [04:39:27]OFD Sender: No OFD packet to send [04:39:32]OFD Sender: No OFD packet to send [04:39:37]OFD Sender: No OFD packet to send [04:39:42]OFD Sender: No OFD packet to send [04:39:47]OFD Sender: No OFD packet to send [04:39:52]OFD Sender: No OFD packet to send [04:39:57]OFD Sender: No OFD packet to send [04:40:02]OFD Sender: No OFD packet to send [04:40:07]OFD Sender: No OFD packet to send [04:40:12]OFD Sender: No OFD packet to send [04:40:17]OFD Sender: No OFD packet to send [04:40:22]OFD Sender: No OFD packet to send [04:40:27]OFD Sender: No OFD packet to send [04:40:32]OFD Sender: No OFD packet to send [04:40:37]OFD Sender: No OFD packet to send [04:40:42]OFD Sender: No OFD packet to send [04:40:47]OFD Sender: No OFD packet to send [04:40:52]OFD Sender: No OFD packet to send [04:40:57]OFD Sender: No OFD packet to send [04:41:02]OFD Sender: No OFD packet to send [04:41:07]OFD Sender: No OFD packet to send [04:41:12]OFD Sender: No OFD packet to send [04:41:17]OFD Sender: No OFD packet to send [04:41:22]OFD Sender: No OFD packet to send [04:41:27]OFD Sender: No OFD packet to send [04:41:32]OFD Sender: No OFD packet to send [04:41:37]OFD Sender: No OFD packet to send [04:41:42]OFD Sender: No OFD packet to send [04:41:47]OFD Sender: No OFD packet to send [04:41:52]OFD Sender: No OFD packet to send [04:41:57]OFD Sender: No OFD packet to send [04:42:02]OFD Sender: No OFD packet to send [04:42:07]OFD Sender: No OFD packet to send [04:42:12]OFD Sender: No OFD packet to send [04:42:17]OFD Sender: No OFD packet to send [04:42:22]OFD Sender: No OFD packet to send [04:42:27]OFD Sender: No OFD packet to send [04:42:32]OFD Sender: No OFD packet to send [04:42:37]OFD Sender: No OFD packet to send [04:42:42]OFD Sender: No OFD packet to send [04:42:47]OFD Sender: No OFD packet to send [04:42:52]OFD Sender: No OFD packet to send [04:42:57]OFD Sender: No OFD packet to send [04:43:02]OFD Sender: No OFD packet to send [04:43:07]OFD Sender: No OFD packet to send [04:43:12]OFD Sender: No OFD packet to send [04:43:17]OFD Sender: No OFD packet to send [04:43:22]OFD Sender: No OFD packet to send [04:43:27]OFD Sender: No OFD packet to send [04:43:32]OFD Sender: No OFD packet to send [04:43:37]OFD Sender: No OFD packet to send [04:43:42]OFD Sender: No OFD packet to send [04:43:47]OFD Sender: No OFD packet to send [04:43:52]OFD Sender: No OFD packet to send [04:43:57]OFD Sender: No OFD packet to send [04:44:02]OFD Sender: No OFD packet to send [04:44:07]OFD Sender: No OFD packet to send [04:44:12]OFD Sender: No OFD packet to send [04:44:17]OFD Sender: No OFD packet to send [04:44:22]OFD Sender: No OFD packet to send [04:44:27]OFD Sender: No OFD packet to send [04:44:32]OFD Sender: No OFD packet to send [04:44:37]OFD Sender: No OFD packet to send [04:44:42]OFD Sender: No OFD packet to send [04:44:47]OFD Sender: No OFD packet to send [04:44:52]OFD Sender: No OFD packet to send [04:44:57]OFD Sender: No OFD packet to send [04:45:02]OFD Sender: No OFD packet to send [04:45:07]OFD Sender: No OFD packet to send [04:45:12]OFD Sender: No OFD packet to send [04:45:17]OFD Sender: No OFD packet to send [04:45:22]OFD Sender: No OFD packet to send [04:45:27]OFD Sender: No OFD packet to send [04:45:32]OFD Sender: No OFD packet to send [04:45:37]OFD Sender: No OFD packet to send [04:45:42]OFD Sender: No OFD packet to send [04:45:47]OFD Sender: No OFD packet to send [04:45:52]OFD Sender: No OFD packet to send [04:45:57]OFD Sender: No OFD packet to send [04:46:02]OFD Sender: No OFD packet to send [04:46:07]OFD Sender: No OFD packet to send [04:46:12]OFD Sender: No OFD packet to send [04:46:17]OFD Sender: No OFD packet to send [04:46:22]OFD Sender: No OFD packet to send [04:46:27]OFD Sender: No OFD packet to send [04:46:32]OFD Sender: No OFD packet to send [04:46:37]OFD Sender: No OFD packet to send [04:46:42]OFD Sender: No OFD packet to send [04:46:47]OFD Sender: No OFD packet to send [04:46:52]OFD Sender: No OFD packet to send [04:46:57]OFD Sender: No OFD packet to send [04:47:02]OFD Sender: No OFD packet to send [04:47:07]OFD Sender: No OFD packet to send [04:47:12]OFD Sender: No OFD packet to send [04:47:17]OFD Sender: No OFD packet to send [04:47:22]OFD Sender: No OFD packet to send [04:47:27]OFD Sender: No OFD packet to send [04:47:32]OFD Sender: No OFD packet to send [04:47:37]OFD Sender: No OFD packet to send [04:47:42]OFD Sender: No OFD packet to send [04:47:47]OFD Sender: No OFD packet to send [04:47:52]OFD Sender: No OFD packet to send [04:47:57]OFD Sender: No OFD packet to send [04:48:02]OFD Sender: No OFD packet to send [04:48:07]OFD Sender: No OFD packet to send [04:48:12]OFD Sender: No OFD packet to send [04:48:17]OFD Sender: No OFD packet to send [04:48:22]OFD Sender: No OFD packet to send [04:48:27]OFD Sender: No OFD packet to send [04:48:32]OFD Sender: No OFD packet to send [04:48:37]OFD Sender: No OFD packet to send [04:48:42]OFD Sender: No OFD packet to send [04:48:47]OFD Sender: No OFD packet to send [04:48:52]OFD Sender: No OFD packet to send [04:48:57]OFD Sender: No OFD packet to send [04:49:02]OFD Sender: No OFD packet to send [04:49:07]OFD Sender: No OFD packet to send [04:49:12]OFD Sender: No OFD packet to send [04:49:17]OFD Sender: No OFD packet to send [04:49:22]OFD Sender: No OFD packet to send [04:49:27]OFD Sender: No OFD packet to send [04:49:32]OFD Sender: No OFD packet to send [04:49:37]OFD Sender: No OFD packet to send [04:49:42]OFD Sender: No OFD packet to send [04:49:47]OFD Sender: No OFD packet to send [04:49:52]OFD Sender: No OFD packet to send [04:49:57]OFD Sender: No OFD packet to send [04:50:02]OFD Sender: No OFD packet to send [04:50:07]OFD Sender: No OFD packet to send [04:50:12]OFD Sender: No OFD packet to send [04:50:17]OFD Sender: No OFD packet to send [04:50:22]OFD Sender: No OFD packet to send [04:50:27]OFD Sender: No OFD packet to send [04:50:32]OFD Sender: No OFD packet to send [04:50:37]OFD Sender: No OFD packet to send [04:50:42]OFD Sender: No OFD packet to send [04:50:47]OFD Sender: No OFD packet to send [04:50:52]OFD Sender: No OFD packet to send [04:50:57]OFD Sender: No OFD packet to send [04:51:02]OFD Sender: No OFD packet to send [04:51:07]OFD Sender: No OFD packet to send [04:51:12]OFD Sender: No OFD packet to send [04:51:17]OFD Sender: No OFD packet to send [04:51:22]OFD Sender: No OFD packet to send [04:51:27]OFD Sender: No OFD packet to send [04:51:32]OFD Sender: No OFD packet to send [04:51:37]OFD Sender: No OFD packet to send [04:51:42]OFD Sender: No OFD packet to send [04:51:47]OFD Sender: No OFD packet to send [04:51:52]OFD Sender: No OFD packet to send [04:51:57]OFD Sender: No OFD packet to send [04:52:02]OFD Sender: No OFD packet to send [04:52:07]OFD Sender: No OFD packet to send [04:52:12]OFD Sender: No OFD packet to send [04:52:17]OFD Sender: No OFD packet to send [04:52:22]OFD Sender: No OFD packet to send [04:52:27]OFD Sender: No OFD packet to send [04:52:32]OFD Sender: No OFD packet to send [04:52:37]OFD Sender: No OFD packet to send [04:52:42]OFD Sender: No OFD packet to send [04:52:47]OFD Sender: No OFD packet to send [04:52:52]OFD Sender: No OFD packet to send [04:52:57]OFD Sender: No OFD packet to send [04:53:02]OFD Sender: No OFD packet to send [04:53:07]OFD Sender: No OFD packet to send [04:53:12]OFD Sender: No OFD packet to send [04:53:17]OFD Sender: No OFD packet to send [04:53:22]OFD Sender: No OFD packet to send [04:53:27]OFD Sender: No OFD packet to send [04:53:32]OFD Sender: No OFD packet to send [04:53:37]OFD Sender: No OFD packet to send [04:53:42]OFD Sender: No OFD packet to send [04:53:47]OFD Sender: No OFD packet to send [04:53:52]OFD Sender: No OFD packet to send [04:53:57]OFD Sender: No OFD packet to send [04:54:02]OFD Sender: No OFD packet to send [04:54:07]OFD Sender: No OFD packet to send [04:54:12]OFD Sender: No OFD packet to send [04:54:17]OFD Sender: No OFD packet to send [04:54:22]OFD Sender: No OFD packet to send [04:54:27]OFD Sender: No OFD packet to send [04:54:32]OFD Sender: No OFD packet to send [04:54:37]OFD Sender: No OFD packet to send [04:54:42]OFD Sender: No OFD packet to send [04:54:47]OFD Sender: No OFD packet to send [04:54:52]OFD Sender: No OFD packet to send [04:54:57]OFD Sender: No OFD packet to send [04:55:02]OFD Sender: No OFD packet to send [04:55:07]OFD Sender: No OFD packet to send [04:55:12]OFD Sender: No OFD packet to send [04:55:17]OFD Sender: No OFD packet to send [04:55:22]OFD Sender: No OFD packet to send [04:55:27]OFD Sender: No OFD packet to send [04:55:32]OFD Sender: No OFD packet to send [04:55:37]OFD Sender: No OFD packet to send [04:55:42]OFD Sender: No OFD packet to send [04:55:47]OFD Sender: No OFD packet to send [04:55:53]OFD Sender: No OFD packet to send [04:55:58]OFD Sender: No OFD packet to send [04:56:03]OFD Sender: No OFD packet to send [04:56:08]OFD Sender: No OFD packet to send [04:56:13]OFD Sender: No OFD packet to send [04:56:18]OFD Sender: No OFD packet to send [04:56:23]OFD Sender: No OFD packet to send [04:56:28]OFD Sender: No OFD packet to send [04:56:33]OFD Sender: No OFD packet to send [04:56:38]OFD Sender: No OFD packet to send [04:56:43]OFD Sender: No OFD packet to send [04:56:48]OFD Sender: No OFD packet to send [04:56:53]OFD Sender: No OFD packet to send [04:56:58]OFD Sender: No OFD packet to send [04:57:03]OFD Sender: No OFD packet to send [04:57:08]OFD Sender: No OFD packet to send [04:57:13]OFD Sender: No OFD packet to send [04:57:18]OFD Sender: No OFD packet to send [04:57:23]OFD Sender: No OFD packet to send [04:57:28]OFD Sender: No OFD packet to send [04:57:33]OFD Sender: No OFD packet to send [04:57:38]OFD Sender: No OFD packet to send [04:57:43]OFD Sender: No OFD packet to send [04:57:48]OFD Sender: No OFD packet to send [04:57:53]OFD Sender: No OFD packet to send [04:57:58]OFD Sender: No OFD packet to send [04:58:03]OFD Sender: No OFD packet to send [04:58:08]OFD Sender: No OFD packet to send [04:58:13]OFD Sender: No OFD packet to send [04:58:18]OFD Sender: No OFD packet to send [04:58:23]OFD Sender: No OFD packet to send [04:58:28]OFD Sender: No OFD packet to send [04:58:33]OFD Sender: No OFD packet to send [04:58:38]OFD Sender: No OFD packet to send [04:58:43]OFD Sender: No OFD packet to send [04:58:48]OFD Sender: No OFD packet to send [04:58:53]OFD Sender: No OFD packet to send [04:58:58]OFD Sender: No OFD packet to send [04:59:03]OFD Sender: No OFD packet to send [04:59:08]OFD Sender: No OFD packet to send [04:59:13]OFD Sender: No OFD packet to send [04:59:18]OFD Sender: No OFD packet to send [04:59:23]OFD Sender: No OFD packet to send [04:59:28]OFD Sender: No OFD packet to send [04:59:33]OFD Sender: No OFD packet to send [04:59:38]OFD Sender: No OFD packet to send [04:59:43]OFD Sender: No OFD packet to send [04:59:48]OFD Sender: No OFD packet to send [04:59:53]OFD Sender: No OFD packet to send [04:59:58]OFD Sender: No OFD packet to send [05:00:03]OFD Sender: No OFD packet to send [05:00:08]OFD Sender: No OFD packet to send [05:00:13]OFD Sender: No OFD packet to send [05:00:18]OFD Sender: No OFD packet to send [05:00:23]OFD Sender: No OFD packet to send [05:00:28]OFD Sender: No OFD packet to send [05:00:33]OFD Sender: No OFD packet to send [05:00:38]OFD Sender: No OFD packet to send [05:00:43]OFD Sender: No OFD packet to send [05:00:48]OFD Sender: No OFD packet to send [05:00:53]OFD Sender: No OFD packet to send [05:00:58]OFD Sender: No OFD packet to send [05:01:03]OFD Sender: No OFD packet to send [05:01:08]OFD Sender: No OFD packet to send [05:01:13]OFD Sender: No OFD packet to send [05:01:18]OFD Sender: No OFD packet to send [05:01:23]OFD Sender: No OFD packet to send [05:01:28]OFD Sender: No OFD packet to send [05:01:33]OFD Sender: No OFD packet to send [05:01:38]OFD Sender: No OFD packet to send [05:01:43]OFD Sender: No OFD packet to send [05:01:48]OFD Sender: No OFD packet to send [05:01:53]OFD Sender: No OFD packet to send [05:01:58]OFD Sender: No OFD packet to send [05:02:03]OFD Sender: No OFD packet to send [05:02:08]OFD Sender: No OFD packet to send [05:02:13]OFD Sender: No OFD packet to send [05:02:18]OFD Sender: No OFD packet to send [05:02:23]OFD Sender: No OFD packet to send [05:02:28]OFD Sender: No OFD packet to send [05:02:33]OFD Sender: No OFD packet to send [05:02:38]OFD Sender: No OFD packet to send [05:02:43]OFD Sender: No OFD packet to send [05:02:48]OFD Sender: No OFD packet to send [05:02:52]accept exits with 9 [05:02:52]New connection [05:02:52]New thread 3066555748 created [05:02:52]Thread 3066699108 joined [05:02:52]Waiting for new connection... [05:02:52] Sock 9.Parse request [05:02:52]Sock 9.Check first char [05:02:52]Sock 9.First char is OK [05:02:52]request: POST /json_proto HTTP/1.0 [05:02:52]Method: POST [05:02:52]URL: /json_proto [05:02:52]Method is POST - this is cgi request [05:02:52]url: /json_proto [05:02:52]query_string will be loaded in cgi processing [05:02:52]execute_cgi json_proto POST (null) [05:02:52]execute_cgi path=json_proto method=POST [05:02:52]POST find Content-Length [05:02:52]Host: 172.17.53.68:8080 [05:02:52]Content-Length: 704 [05:02:52]Content-Type: application/json [05:02:52] [05:02:52]POST finish read [05:02:52]Found Content-Length = 704 [05:02:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76643", "tax_sys" : 0, "items" : [ { "code": "4650243871224", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u0436/\u0431 0,45\u043B (\u041F\u0418\u0422\u0410\u0419\u042F \u0410\u041D\u0410\u041D\u0410\u0421", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 99.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:02:52]execute_script... [05:02: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)76643", "tax_sys" : 0, "items" : [ { "code": "4650243871224", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u0436/\u0431 0,45\u043B (\u041F\u0418\u0422\u0410\u0419\u042F \u0410\u041D\u0410\u041D\u0410\u0421", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 99.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:02:52]POST & json_proto [05:02:52]process_json_proto [05:02:52]json parsed OK: [05:02:52]protocol is kg_v1.0 [05:02:52]action value=close_receipt [05:02:52]process_action close_receipt [05:02:52]cmd_close_receipt [05:02:52]MH_GetDate [05:02:52]Write to MH i2c: F0 00 00 6E 15 72 [05:02:52]Write i2c OK [05:02:52]MH_I2C_Read... [05:02:52]Read from MH i2c: F0 [05:02:52]MH_I2C_Read... [05:02:52]Read from MH i2c: F0 09 00 [05:02:52]MH_I2C_Read... [05:02:52]Read from MH i2c: F0 09 00 6E 15 00 02 8F 14 67 C5 A4 76 66 CC [05:02:52]GetLastDocTimeStamp 1729387439 [05:02:52]current date 1729400578 [05:02:52]FM_GetShiftState [05:02:52]SAM_PROTO_GetShiftState [05:02:52]wFMCommunicate request_size=4 [05:02:52]MH_SAM_APDU [05:02:52]CAPDU: 80 13 01 00 [05:02:52]Write to MH i2c: E2 08 00 6F 15 80 13 01 00 00 00 00 00 01 [05:02:52]Write i2c OK [05:02:52]MH_I2C_Read... [05:02:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:02:52]Read from MH i2c: E2 [05:02:52]MH_I2C_Read... [05:02:52]Read from MH i2c: E2 0E 00 [05:02:52]MH_I2C_Read... [05:02:52]Read from MH i2c: E2 0E 00 6F 15 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 56 [05:02:52]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [05:02:52]wFMCommunicate OK [05:02:52]SAM_PROTO_GetShiftState done [05:02:52]FM_GetShiftState done [05:02:52]opened in 1729383299 [05:02:52]opened+sec_in_day 1729469699 [05:02:52]quantity*price = 9900 [05:02:52]sum+1 = 9901 [05:02:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 99.00 ÐСП 1% : 0.88 ÐДС 12% : 10.51 Ðаличными: 99.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 6 20.10.2024 05:02 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37158 ФПД: 151465462854962 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T050258&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37158&fm=151465462854962&tin=02508201610067®Number=0000000000098149&sum=9900 0 [05:02:53]StoreToDocumentArchive [05:02:53]shift 461 fd 37158 [05:02:53]save to /storage/0461/doc_00037158 [05:02:53]save last doc name /storage/0461/doc_00037158 to /storage/kkm_last_doc_name [05:02:53]save OK [05:02:53]Clear old archive folders... [05:02:53]ProcessDocumentItem done err = 0, tmpTLVsize=304 [05:02:53]tlvbuf is 0097AFE0 [05:02:53]SAM_PROTO_ClearQueue [05:02:53]wFMCommunicate request_size=4 [05:02:53]MH_SAM_APDU [05:02:53]CAPDU: 80 09 00 00 [05:02:53]Write to MH i2c: E2 08 00 7C 15 80 09 00 00 00 00 00 00 03 [05:02:53]Write i2c OK [05:02:53]MH_I2C_Read... [05:02:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:02:53]Read from MH i2c: E2 [05:02:53]MH_I2C_Read... [05:02:53]Read from MH i2c: E2 03 00 [05:02:53]MH_I2C_Read... [05:02:53]Read from MH i2c: E2 03 00 7C 15 00 90 00 05 [05:02:53]RAPDU: 90 00 [05:02:53]wFMCommunicate OK [05:02:53]SAM_PROTO_ClearQueue done [05:02:53]KKMCreateOFDPacket [05:02:53]OFDProtocolAddRootSTLVToBuf [05:02:53]FM_MakeSignedData [05:02:53]FM_MakeSignedData [05:02:53]SAM_PROTO_SignData [05:02:53]wFMCommunicate request_size=4 [05:02:53]MH_SAM_APDU [05:02:53]CAPDU: 80 0D 01 02 [05:02:53]Write to MH i2c: E2 08 00 7D 15 80 0D 01 02 00 00 00 00 0B [05:02:53]Write i2c OK [05:02:53]MH_I2C_Read... [05:02:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:02:53]Read from MH i2c: E2 [05:02:53]MH_I2C_Read... [05:02:53]Read from MH i2c: E2 03 00 [05:02:53]MH_I2C_Read... [05:02:53]Read from MH i2c: E2 03 00 7D 15 00 90 00 06 [05:02:53]RAPDU: 90 00 [05:02:53]wFMCommunicate OK [05:02:53]wFMCommunicate request_size=255 [05:02:53]MH_SAM_APDU [05:02:53]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 35 30 32 34 33 38 37 31 32 32 34 06 04 3E 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 28 D0 9F D0 98 D0 A2 D0 90 D0 99 D0 AF 20 D0 90 D0 9D D0 90 D0 9D D0 90 D0 A1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 26 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 1B 04 00 00 00 00 07 04 06 00 AC 26 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 02 8F 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 [05:02:53]Write to MH i2c: E2 02 01 7E 15 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 35 30 32 34 33 38 37 31 32 32 34 06 04 3E 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 28 D0 9F D0 98 D0 A2 D0 90 D0 99 D0 AF 20 D0 90 D0 9D D0 90 D0 9D D0 90 D0 A1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 26 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 1B 04 00 00 00 00 07 04 06 00 AC 26 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 02 8F 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 00 00 1E [05:02:53]Write i2c OK [05:02:53]MH_I2C_Read... [05:02:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:02:53]Read from MH i2c: E2 [05:02:53]MH_I2C_Read... [05:02:53]Read from MH i2c: E2 03 00 [05:02:53]MH_I2C_Read... [05:02:53]Read from MH i2c: E2 03 00 7E 15 00 90 00 07 [05:02:53]RAPDU: 90 00 [05:02:53]wFMCommunicate OK [05:02:53]wFMCommunicate request_size=63 [05:02:53]MH_SAM_APDU [05:02:53]CAPDU: 80 0D 02 02 3A 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 26 91 00 00 35 04 06 00 89 C1 CD 1B F5 32 [05:02:53]Write to MH i2c: E2 42 00 7F 15 80 0D 02 02 3A 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 26 91 00 00 35 04 06 00 89 C1 CD 1B F5 32 00 00 6E [05:02:53]Write i2c OK [05:02:53]MH_I2C_Read... [05:02:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:02:54]Read from MH i2c: E2 [05:02:54]MH_I2C_Read... [05:02:54]Read from MH i2c: E2 03 00 [05:02:54]MH_I2C_Read... [05:02:54]Read from MH i2c: E2 03 00 7F 15 00 90 00 08 [05:02:54]RAPDU: 90 00 [05:02:54]wFMCommunicate OK [05:02:54]wFMCommunicate request_size=4 [05:02:54]MH_SAM_APDU [05:02:54]CAPDU: 80 0D 03 02 [05:02:54]Write to MH i2c: E2 08 00 80 15 80 0D 03 02 00 00 00 00 10 [05:02:54]Write i2c OK [05:02:54]MH_I2C_Read... [05:02:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:02:54]Read from MH i2c: E2 [05:02:54]MH_I2C_Read... [05:02:54]Read from MH i2c: E2 0B 00 [05:02:54]MH_I2C_Read... [05:02:54]Read from MH i2c: E2 0B 00 80 15 00 9A 50 51 9E 80 18 3A 07 90 00 C3 [05:02:54]RAPDU: 9A 50 51 9E 80 18 3A 07 90 00 [05:02:54]wFMCommunicate OK [05:02:54]SAM_PROTO_SignData done [05:02:54]FM_MakeSignedData done [05:02:54]CreateOFDProtocolMessage [05:02:54]wFMCommunicate request_size=4 [05:02:54]MH_SAM_APDU [05:02:54]CAPDU: 80 11 00 00 [05:02:54]Write to MH i2c: E2 08 00 81 15 80 11 00 00 00 00 00 00 10 [05:02:54]Write i2c OK [05:02:54]MH_I2C_Read... [05:02:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:02:54]Read from MH i2c: E2 [05:02:54]MH_I2C_Read... [05:02:54]Read from MH i2c: E2 17 00 [05:02:54]MH_I2C_Read... [05:02:54]Read from MH i2c: E2 17 00 81 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 63 [05:02:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [05:02:54]wFMCommunicate OK [05:02:54]CreateOFDProtocolMessage done [05:02:54]OFDSenderStorePacket 37158 [05:02:54]StoreOFDPacket docnum=37158 [05:02:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 44 01 00 00 51 F2 3C 01 50 CD 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 32 32 34 06 04 3E 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 28 D0 9F D0 98 D0 A2 D0 90 D0 99 D0 AF 20 D0 90 D0 9D D0 90 D0 9D D0 90 D0 A1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 26 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 1B 04 00 00 00 00 07 04 06 00 AC 26 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 02 8F 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 26 91 00 00 35 04 06 00 89 C1 CD 1B F5 32 9A 50 51 9E 80 18 3A 07 [05:02:54]CheckFolder [05:02:54]dirname=/storage/ofd_packets [05:02:54]CheckFolder done [05:02:54]ProducePacketName [05:02:54]name=ofd_packets/00037158 [05:02:54]NVStorageSaveData ofd_packets/00037158 [05:02:54]File name is /storage/ofd_packets/00037158 [05:02:54]Write 354 bytes [05:02:54]NVStorageSaveData done [05:02:54]OFDSenderStorePacket done [05:02:54]KKMCreateOFDPacket done [05:02:54]NVStorageSaveData kkm_last_timestamp [05:02:54]File name is /storage/kkm_last_timestamp [05:02:54]Write 4 bytes [05:02:54]NVStorageSaveData done [05:02:54]ExternCall_PrintAddStr [05:02:54]wPrintStart [05:02:54]Write to MH i2c: 01 00 00 82 15 97 [05:02:54]Write i2c OK [05:02:54]MH_I2C_Read... [05:02:54]Read from MH i2c: 01 [05:02:54]MH_I2C_Read... [05:02:54]Read from MH i2c: 01 07 00 [05:02:54]MH_I2C_Read... [05:02:54]Read from MH i2c: 01 07 00 82 15 00 00 00 00 00 FF 0F AC [05:02:54]RasterBufferAndPrint [05:02:54]line Счет N : (3)76643 [05:02:54]line ИÐÐ: 02508201610067 [05:02:54]line Контрольно-КаÑÑовый Чек [05:02:54]line ПРОДÐЖР[05:02:54]line Товар: 4650243871224 [05:02:54]line Ðапиток Gorilla ж/б 0,45л (ПИТÐЙЯ ÐÐÐÐÐС [05:02:54]line 1.000 * 99.00 [05:02:54]line = 99.00 [05:02:54]line ÐДС 12% ÐСП 1% [05:02:54]line > о реализуемом товаре [05:02:54]line ИТОГО: 99.00 [05:02:54]line ÐСП 1% : 0.88 [05:02:54]line ÐДС 12% : 10.51 [05:02:54]line Ðаличными: 99.00 [05:02:54]line Безнал.: 0.00 [05:02:54]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [05:02:54]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [05:02:54]line СÐО: Общий режим [05:02:54]line Чек 6 20.10.2024 05:02 [05:02:54]line Смена: 461 ФФД: 1.0 [05:02:54]line ЗÐМ: 0300000235 [05:02:54]line РÐМ: 0000000000098149 [05:02:54]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [05:02:54]line ФМ: 0000000000965372 [05:02:54]line ФД: 37158 [05:02:54]line ФПД: 151465462854962 [05:02:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T050258&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37158&fm=151465462854962&tin=02508201610067®Number=0000000000098149&sum=9900 [05:02:54]line 0 [05:02:54]OFD Sender: Processing packet 37158 [packets to send 25, broken 24] [05:02:54]ProducePacketName [05:02:54]name=ofd_packets/00037158 [05:02:54]OFD Sender: To server: ‡•öpG, [05:02:54]CommunicateWithHost lk.salyk.kg:30040 [05:02:54]ConnectInit lk.salyk.kg [05:02:54]written 0, free lines is 4095 [05:02:54]Connected sock=11 [05:02: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 33 37 32 44 01 00 00 51 F2 3C 01 50 CD 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 32 32 34 06 04 3E 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 28 D0 9F D0 98 D0 A2 D0 90 D0 99 D0 AF 20 D0 90 D0 9D D0 90 D0 9D D0 90 D0 A1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 26 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 1B 04 00 00 00 00 07 04 06 00 AC 26 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 02 8F 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 26 91 00 00 35 04 06 00 89 C1 CD 1B F5 32 9A 50 51 9E 80 18 3A 07 [05:02:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 5A 35 47 00 BD B2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 26 91 00 00 F4 03 04 00 95 37 14 67 B6 04 01 00 00 2A DD E5 CB 04 E8 EF 5B [05:02:54]CommunicateWithHost err = 0 [05:02:54]CheckOFDResponse [05:02:54]1017 (14) - 77093643461234 [05:02:54]1041 (16) - 0000000000965372 [05:02:54]1040 (4) - 37158 [05:02:54]1012 (4) - 19.10.2024 22:49 [05:02:54]1206 (1) - 0 [05:02:54]OFD Sender: Remove packet 37158 [05:02:54]ProducePacketName [05:02:54]name=ofd_packets/00037158 [05:02:54]NVStorageDeleteData [05:02:54]Write to MH i2c: 01 00 00 AB 15 C0 [05:02:54]Write i2c OK [05:02:54]MH_I2C_Read... [05:02:54]Read from MH i2c: 01 [05:02:54]MH_I2C_Read... [05:02:54]Read from MH i2c: 01 07 00 [05:02:54]MH_I2C_Read... [05:02:54]Read from MH i2c: 01 07 00 AB 15 00 00 00 00 00 F8 0C CB [05:02:54]RasterBufferAndPrint [05:02:54]line [05:02:54]line [05:02:54]line [05:02:54]line [05:02:54]line [05:02:54]written 0, free lines is 3326 [05:02:54]process_action close_receipt done [05:02:54]requested_data is exist [05:02:54]produce_requested_data [05:02:54]requested_item fm.sn is exist - process it [05:02:54]wFMCommunicate request_size=4 [05:02:54]MH_SAM_APDU [05:02:54]CAPDU: 80 11 00 00 [05:02:54]Write to MH i2c: E2 08 00 B2 15 80 11 00 00 00 00 00 00 41 [05:02:54]Write i2c OK [05:02:54]MH_I2C_Read... [05:02:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:02:54]Read from MH i2c: E2 [05:02:54]MH_I2C_Read... [05:02:54]Read from MH i2c: E2 17 00 [05:02:54]MH_I2C_Read... [05:02:54]Read from MH i2c: E2 17 00 B2 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 94 [05:02:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [05:02:54]wFMCommunicate OK [05:02:54]requested_item fd.num is exist - process it [05:02:54]SAM_PROTO_GetFieldsCounters [05:02:54]wFMCommunicate request_size=4 [05:02:54]MH_SAM_APDU [05:02:54]CAPDU: 80 13 00 00 [05:02:54]Write to MH i2c: E2 08 00 B3 15 80 13 00 00 00 00 00 00 44 [05:02:54]Write i2c OK [05:02:54]MH_I2C_Read... [05:02:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:02:55]Read from MH i2c: E2 [05:02:55]MH_I2C_Read... [05:02:55]Read from MH i2c: E2 62 00 [05:02:55]MH_I2C_Read... [05:02:55]Read from MH i2c: E2 62 00 B3 15 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 26 91 00 00 0E 04 04 00 CD 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 [05:02: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 26 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 [05:02:55]wFMCommunicate OK [05:02:55]SAM_PROTO_GetFieldsCounters done [05:02:55]requested_item shift.num is exist - process it [05:02:55]requested_item shift.opened is exist - process it [05:02:55]req_shift_opened [05:02:55]FM_GetShiftState [05:02:55]SAM_PROTO_GetShiftState [05:02:55]wFMCommunicate request_size=4 [05:02:55]MH_SAM_APDU [05:02:55]CAPDU: 80 13 01 00 [05:02:55]Write to MH i2c: E2 08 00 B4 15 80 13 01 00 00 00 00 00 46 [05:02:55]Write i2c OK [05:02:55]MH_I2C_Read... [05:02:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:02:55]Read from MH i2c: E2 [05:02:55]MH_I2C_Read... [05:02:55]Read from MH i2c: E2 0E 00 [05:02:55]MH_I2C_Read... [05:02:55]Read from MH i2c: E2 0E 00 B4 15 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 9B [05:02:55]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [05:02:55]wFMCommunicate OK [05:02:55]SAM_PROTO_GetShiftState done [05:02:55]FM_GetShiftState done [05:02:55]req_shift_opened done [05:02:55]requested_item shift.open_date is exist - process it [05:02:55]req_shift_open_date [05:02:55]req_shift_open_date done [05:02:55]produce_requested_data done [05:02:55]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37158,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [05:02:55]process_action_free close_receipt [05:02:55]json_value_free [05:02:55]json_value_free done [05:02:55]process_json_proto returns [05:02:55]Send response to host [05:02:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37158,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [05:02:55]free response buf [05:02:55]execute_script done [05:02:55]execute_script returns [05:02:55]free content buf [05:02:55]Sock 9.Close socket [05:02:55]Sock 9.Thread stoped [05:02:55]OFD Sender: No OFD packet to send [05:03:00]OFD Sender: No OFD packet to send [05:03:05]OFD Sender: No OFD packet to send [05:03:10]OFD Sender: No OFD packet to send [05:03:15]OFD Sender: No OFD packet to send [05:03:20]OFD Sender: No OFD packet to send [05:03:25]OFD Sender: No OFD packet to send [05:03:30]OFD Sender: No OFD packet to send [05:03:35]OFD Sender: No OFD packet to send [05:03:40]OFD Sender: No OFD packet to send [05:03:45]OFD Sender: No OFD packet to send [05:03:50]OFD Sender: No OFD packet to send [05:03:55]OFD Sender: No OFD packet to send [05:04:00]OFD Sender: No OFD packet to send [05:04:05]OFD Sender: No OFD packet to send [05:04:10]OFD Sender: No OFD packet to send [05:04:15]OFD Sender: No OFD packet to send [05:04:20]OFD Sender: No OFD packet to send [05:04:25]OFD Sender: No OFD packet to send [05:04:30]OFD Sender: No OFD packet to send [05:04:35]OFD Sender: No OFD packet to send [05:04:40]OFD Sender: No OFD packet to send [05:04:45]OFD Sender: No OFD packet to send [05:04:50]OFD Sender: No OFD packet to send [05:04:55]OFD Sender: No OFD packet to send [05:05:00]OFD Sender: No OFD packet to send [05:05:05]OFD Sender: No OFD packet to send [05:05:10]OFD Sender: No OFD packet to send [05:05:15]OFD Sender: No OFD packet to send [05:05:20]OFD Sender: No OFD packet to send [05:05:25]OFD Sender: No OFD packet to send [05:05:30]OFD Sender: No OFD packet to send [05:05:35]OFD Sender: No OFD packet to send [05:05:40]OFD Sender: No OFD packet to send [05:05:45]OFD Sender: No OFD packet to send [05:05:50]OFD Sender: No OFD packet to send [05:05:55]OFD Sender: No OFD packet to send [05:06:00]OFD Sender: No OFD packet to send [05:06:05]OFD Sender: No OFD packet to send [05:06:10]OFD Sender: No OFD packet to send [05:06:15]OFD Sender: No OFD packet to send [05:06:20]OFD Sender: No OFD packet to send [05:06:25]OFD Sender: No OFD packet to send [05:06:30]OFD Sender: No OFD packet to send [05:06:35]OFD Sender: No OFD packet to send [05:06:40]OFD Sender: No OFD packet to send [05:06:45]OFD Sender: No OFD packet to send [05:06:50]OFD Sender: No OFD packet to send [05:06:55]OFD Sender: No OFD packet to send [05:07:00]OFD Sender: No OFD packet to send [05:07:05]OFD Sender: No OFD packet to send [05:07:10]OFD Sender: No OFD packet to send [05:07:15]OFD Sender: No OFD packet to send [05:07:20]OFD Sender: No OFD packet to send [05:07:25]OFD Sender: No OFD packet to send [05:07:30]OFD Sender: No OFD packet to send [05:07:35]OFD Sender: No OFD packet to send [05:07:40]OFD Sender: No OFD packet to send [05:07:45]OFD Sender: No OFD packet to send [05:07:50]OFD Sender: No OFD packet to send [05:07:55]OFD Sender: No OFD packet to send [05:08:00]OFD Sender: No OFD packet to send [05:08:05]OFD Sender: No OFD packet to send [05:08:10]OFD Sender: No OFD packet to send [05:08:15]OFD Sender: No OFD packet to send [05:08:20]OFD Sender: No OFD packet to send [05:08:25]OFD Sender: No OFD packet to send [05:08:30]OFD Sender: No OFD packet to send [05:08:35]OFD Sender: No OFD packet to send [05:08:40]OFD Sender: No OFD packet to send [05:08:45]OFD Sender: No OFD packet to send [05:08:50]OFD Sender: No OFD packet to send [05:08:55]OFD Sender: No OFD packet to send [05:09:00]OFD Sender: No OFD packet to send [05:09:05]OFD Sender: No OFD packet to send [05:09:10]OFD Sender: No OFD packet to send [05:09:15]OFD Sender: No OFD packet to send [05:09:20]OFD Sender: No OFD packet to send [05:09:25]OFD Sender: No OFD packet to send [05:09:30]OFD Sender: No OFD packet to send [05:09:35]OFD Sender: No OFD packet to send [05:09:40]OFD Sender: No OFD packet to send [05:09:45]OFD Sender: No OFD packet to send [05:09:50]OFD Sender: No OFD packet to send [05:09:55]OFD Sender: No OFD packet to send [05:10:00]OFD Sender: No OFD packet to send [05:10:05]OFD Sender: No OFD packet to send [05:10:10]OFD Sender: No OFD packet to send [05:10:15]OFD Sender: No OFD packet to send [05:10:20]OFD Sender: No OFD packet to send [05:10:25]OFD Sender: No OFD packet to send [05:10:30]OFD Sender: No OFD packet to send [05:10:35]OFD Sender: No OFD packet to send [05:10:40]OFD Sender: No OFD packet to send [05:10:45]OFD Sender: No OFD packet to send [05:10:50]OFD Sender: No OFD packet to send [05:10:55]OFD Sender: No OFD packet to send [05:11:00]OFD Sender: No OFD packet to send [05:11:05]OFD Sender: No OFD packet to send [05:11:10]OFD Sender: No OFD packet to send [05:11:15]OFD Sender: No OFD packet to send [05:11:20]OFD Sender: No OFD packet to send [05:11:25]OFD Sender: No OFD packet to send [05:11:30]OFD Sender: No OFD packet to send [05:11:35]OFD Sender: No OFD packet to send [05:11:40]OFD Sender: No OFD packet to send [05:11:45]OFD Sender: No OFD packet to send [05:11:50]OFD Sender: No OFD packet to send [05:11:55]OFD Sender: No OFD packet to send [05:12:00]OFD Sender: No OFD packet to send [05:12:05]OFD Sender: No OFD packet to send [05:12:10]OFD Sender: No OFD packet to send [05:12:15]OFD Sender: No OFD packet to send [05:12:20]OFD Sender: No OFD packet to send [05:12:25]OFD Sender: No OFD packet to send [05:12:30]OFD Sender: No OFD packet to send [05:12:35]OFD Sender: No OFD packet to send [05:12:40]OFD Sender: No OFD packet to send [05:12:45]OFD Sender: No OFD packet to send [05:12:50]OFD Sender: No OFD packet to send [05:12:55]OFD Sender: No OFD packet to send [05:13:00]OFD Sender: No OFD packet to send [05:13:05]OFD Sender: No OFD packet to send [05:13:10]OFD Sender: No OFD packet to send [05:13:15]OFD Sender: No OFD packet to send [05:13:20]OFD Sender: No OFD packet to send [05:13:25]OFD Sender: No OFD packet to send [05:13:30]OFD Sender: No OFD packet to send [05:13:35]OFD Sender: No OFD packet to send [05:13:40]OFD Sender: No OFD packet to send [05:13:45]OFD Sender: No OFD packet to send [05:13:50]OFD Sender: No OFD packet to send [05:13:55]OFD Sender: No OFD packet to send [05:14:00]OFD Sender: No OFD packet to send [05:14:05]OFD Sender: No OFD packet to send [05:14:10]OFD Sender: No OFD packet to send [05:14:15]OFD Sender: No OFD packet to send [05:14:20]OFD Sender: No OFD packet to send [05:14:25]OFD Sender: No OFD packet to send [05:14:30]OFD Sender: No OFD packet to send [05:14:35]OFD Sender: No OFD packet to send [05:14:40]OFD Sender: No OFD packet to send [05:14:45]OFD Sender: No OFD packet to send [05:14:50]OFD Sender: No OFD packet to send [05:14:55]OFD Sender: No OFD packet to send [05:15:00]OFD Sender: No OFD packet to send [05:15:05]OFD Sender: No OFD packet to send [05:15:10]OFD Sender: No OFD packet to send [05:15:15]OFD Sender: No OFD packet to send [05:15:20]OFD Sender: No OFD packet to send [05:15:25]OFD Sender: No OFD packet to send [05:15:30]OFD Sender: No OFD packet to send [05:15:35]OFD Sender: No OFD packet to send [05:15:40]OFD Sender: No OFD packet to send [05:15:45]OFD Sender: No OFD packet to send [05:15:50]OFD Sender: No OFD packet to send [05:15:55]OFD Sender: No OFD packet to send [05:16:00]OFD Sender: No OFD packet to send [05:16:05]OFD Sender: No OFD packet to send [05:16:10]OFD Sender: No OFD packet to send [05:16:15]OFD Sender: No OFD packet to send [05:16:20]OFD Sender: No OFD packet to send [05:16:25]OFD Sender: No OFD packet to send [05:16:30]OFD Sender: No OFD packet to send [05:16:36]OFD Sender: No OFD packet to send [05:16:41]OFD Sender: No OFD packet to send [05:16:46]OFD Sender: No OFD packet to send [05:16:51]OFD Sender: No OFD packet to send [05:16:56]OFD Sender: No OFD packet to send [05:17:01]OFD Sender: No OFD packet to send [05:17:06]OFD Sender: No OFD packet to send [05:17:11]OFD Sender: No OFD packet to send [05:17:16]OFD Sender: No OFD packet to send [05:17:21]OFD Sender: No OFD packet to send [05:17:26]OFD Sender: No OFD packet to send [05:17:31]OFD Sender: No OFD packet to send [05:17:36]OFD Sender: No OFD packet to send [05:17:41]OFD Sender: No OFD packet to send [05:17:46]OFD Sender: No OFD packet to send [05:17:51]OFD Sender: No OFD packet to send [05:17:56]OFD Sender: No OFD packet to send [05:18:01]OFD Sender: No OFD packet to send [05:18:06]OFD Sender: No OFD packet to send [05:18:11]OFD Sender: No OFD packet to send [05:18:16]OFD Sender: No OFD packet to send [05:18:21]OFD Sender: No OFD packet to send [05:18:26]OFD Sender: No OFD packet to send [05:18:31]OFD Sender: No OFD packet to send [05:18:36]OFD Sender: No OFD packet to send [05:18:41]OFD Sender: No OFD packet to send [05:18:46]OFD Sender: No OFD packet to send [05:18:51]OFD Sender: No OFD packet to send [05:18:56]OFD Sender: No OFD packet to send [05:19:01]OFD Sender: No OFD packet to send [05:19:06]OFD Sender: No OFD packet to send [05:19:11]OFD Sender: No OFD packet to send [05:19:16]OFD Sender: No OFD packet to send [05:19:21]OFD Sender: No OFD packet to send [05:19:26]OFD Sender: No OFD packet to send [05:19:31]OFD Sender: No OFD packet to send [05:19:36]OFD Sender: No OFD packet to send [05:19:41]OFD Sender: No OFD packet to send [05:19:46]OFD Sender: No OFD packet to send [05:19:51]OFD Sender: No OFD packet to send [05:19:56]OFD Sender: No OFD packet to send [05:20:01]OFD Sender: No OFD packet to send [05:20:06]OFD Sender: No OFD packet to send [05:20:11]OFD Sender: No OFD packet to send [05:20:16]OFD Sender: No OFD packet to send [05:20:21]OFD Sender: No OFD packet to send [05:20:26]OFD Sender: No OFD packet to send [05:20:31]OFD Sender: No OFD packet to send [05:20:36]OFD Sender: No OFD packet to send [05:20:41]OFD Sender: No OFD packet to send [05:20:46]OFD Sender: No OFD packet to send [05:20:51]OFD Sender: No OFD packet to send [05:20:56]OFD Sender: No OFD packet to send [05:21:01]OFD Sender: No OFD packet to send [05:21:06]OFD Sender: No OFD packet to send [05:21:11]OFD Sender: No OFD packet to send [05:21:16]OFD Sender: No OFD packet to send [05:21:21]OFD Sender: No OFD packet to send [05:21:26]OFD Sender: No OFD packet to send [05:21:31]OFD Sender: No OFD packet to send [05:21:36]OFD Sender: No OFD packet to send [05:21:41]OFD Sender: No OFD packet to send [05:21:46]OFD Sender: No OFD packet to send [05:21:51]OFD Sender: No OFD packet to send [05:21:56]OFD Sender: No OFD packet to send [05:22:01]OFD Sender: No OFD packet to send [05:22:06]OFD Sender: No OFD packet to send [05:22:11]OFD Sender: No OFD packet to send [05:22:16]OFD Sender: No OFD packet to send [05:22:21]OFD Sender: No OFD packet to send [05:22:26]OFD Sender: No OFD packet to send [05:22:31]OFD Sender: No OFD packet to send [05:22:36]OFD Sender: No OFD packet to send [05:22:41]OFD Sender: No OFD packet to send [05:22:46]OFD Sender: No OFD packet to send [05:22:51]OFD Sender: No OFD packet to send [05:22:56]OFD Sender: No OFD packet to send [05:23:01]OFD Sender: No OFD packet to send [05:23:06]OFD Sender: No OFD packet to send [05:23:11]OFD Sender: No OFD packet to send [05:23:16]OFD Sender: No OFD packet to send [05:23:21]OFD Sender: No OFD packet to send [05:23:26]OFD Sender: No OFD packet to send [05:23:31]OFD Sender: No OFD packet to send [05:23:36]OFD Sender: No OFD packet to send [05:23:41]OFD Sender: No OFD packet to send [05:23:46]OFD Sender: No OFD packet to send [05:23:51]OFD Sender: No OFD packet to send [05:23:56]OFD Sender: No OFD packet to send [05:24:01]OFD Sender: No OFD packet to send [05:24:06]OFD Sender: No OFD packet to send [05:24:11]OFD Sender: No OFD packet to send [05:24:16]OFD Sender: No OFD packet to send [05:24:21]OFD Sender: No OFD packet to send [05:24:26]OFD Sender: No OFD packet to send [05:24:31]OFD Sender: No OFD packet to send [05:24:36]OFD Sender: No OFD packet to send [05:24:41]OFD Sender: No OFD packet to send [05:24:46]OFD Sender: No OFD packet to send [05:24:51]OFD Sender: No OFD packet to send [05:24:56]OFD Sender: No OFD packet to send [05:25:01]OFD Sender: No OFD packet to send [05:25:06]OFD Sender: No OFD packet to send [05:25:11]OFD Sender: No OFD packet to send [05:25:16]OFD Sender: No OFD packet to send [05:25:21]OFD Sender: No OFD packet to send [05:25:26]OFD Sender: No OFD packet to send [05:25:31]OFD Sender: No OFD packet to send [05:25:36]OFD Sender: No OFD packet to send [05:25:41]OFD Sender: No OFD packet to send [05:25:46]OFD Sender: No OFD packet to send [05:25:51]OFD Sender: No OFD packet to send [05:25:56]OFD Sender: No OFD packet to send [05:26:01]OFD Sender: No OFD packet to send [05:26:06]OFD Sender: No OFD packet to send [05:26:11]OFD Sender: No OFD packet to send [05:26:16]OFD Sender: No OFD packet to send [05:26:21]OFD Sender: No OFD packet to send [05:26:26]OFD Sender: No OFD packet to send [05:26:31]OFD Sender: No OFD packet to send [05:26:36]OFD Sender: No OFD packet to send [05:26:41]OFD Sender: No OFD packet to send [05:26:46]OFD Sender: No OFD packet to send [05:26:51]OFD Sender: No OFD packet to send [05:26:56]OFD Sender: No OFD packet to send [05:27:01]OFD Sender: No OFD packet to send [05:27:06]OFD Sender: No OFD packet to send [05:27:11]OFD Sender: No OFD packet to send [05:27:16]OFD Sender: No OFD packet to send [05:27:21]OFD Sender: No OFD packet to send [05:27:26]OFD Sender: No OFD packet to send [05:27:31]OFD Sender: No OFD packet to send [05:27:36]OFD Sender: No OFD packet to send [05:27:41]OFD Sender: No OFD packet to send [05:27:46]OFD Sender: No OFD packet to send [05:27:51]OFD Sender: No OFD packet to send [05:27:56]OFD Sender: No OFD packet to send [05:28:01]OFD Sender: No OFD packet to send [05:28:06]OFD Sender: No OFD packet to send [05:28:11]OFD Sender: No OFD packet to send [05:28:16]OFD Sender: No OFD packet to send [05:28:21]OFD Sender: No OFD packet to send [05:28:26]OFD Sender: No OFD packet to send [05:28:31]OFD Sender: No OFD packet to send [05:28:36]OFD Sender: No OFD packet to send [05:28:41]OFD Sender: No OFD packet to send [05:28:46]OFD Sender: No OFD packet to send [05:28:51]OFD Sender: No OFD packet to send [05:28:56]OFD Sender: No OFD packet to send [05:29:01]OFD Sender: No OFD packet to send [05:29:06]OFD Sender: No OFD packet to send [05:29:11]OFD Sender: No OFD packet to send [05:29:16]OFD Sender: No OFD packet to send [05:29:21]OFD Sender: No OFD packet to send [05:29:26]OFD Sender: No OFD packet to send [05:29:31]OFD Sender: No OFD packet to send [05:29:36]OFD Sender: No OFD packet to send [05:29:41]OFD Sender: No OFD packet to send [05:29:46]OFD Sender: No OFD packet to send [05:29:51]OFD Sender: No OFD packet to send [05:29:56]OFD Sender: No OFD packet to send [05:30:01]OFD Sender: No OFD packet to send [05:30:06]OFD Sender: No OFD packet to send [05:30:11]OFD Sender: No OFD packet to send [05:30:16]OFD Sender: No OFD packet to send [05:30:21]OFD Sender: No OFD packet to send [05:30:26]OFD Sender: No OFD packet to send [05:30:31]OFD Sender: No OFD packet to send [05:30:36]OFD Sender: No OFD packet to send [05:30:41]OFD Sender: No OFD packet to send [05:30:46]OFD Sender: No OFD packet to send [05:30:51]OFD Sender: No OFD packet to send [05:30:56]OFD Sender: No OFD packet to send [05:31:01]OFD Sender: No OFD packet to send [05:31:06]OFD Sender: No OFD packet to send [05:31:11]OFD Sender: No OFD packet to send [05:31:16]OFD Sender: No OFD packet to send [05:31:21]OFD Sender: No OFD packet to send [05:31:26]OFD Sender: No OFD packet to send [05:31:31]OFD Sender: No OFD packet to send [05:31:36]OFD Sender: No OFD packet to send [05:31:41]OFD Sender: No OFD packet to send [05:31:46]OFD Sender: No OFD packet to send [05:31:51]OFD Sender: No OFD packet to send [05:31:56]OFD Sender: No OFD packet to send [05:32:01]OFD Sender: No OFD packet to send [05:32:06]OFD Sender: No OFD packet to send [05:32:11]OFD Sender: No OFD packet to send [05:32:16]OFD Sender: No OFD packet to send [05:32:21]OFD Sender: No OFD packet to send [05:32:26]OFD Sender: No OFD packet to send [05:32:31]OFD Sender: No OFD packet to send [05:32:36]OFD Sender: No OFD packet to send [05:32:41]OFD Sender: No OFD packet to send [05:32:46]OFD Sender: No OFD packet to send [05:32:51]OFD Sender: No OFD packet to send [05:32:56]OFD Sender: No OFD packet to send [05:33:01]OFD Sender: No OFD packet to send [05:33:06]OFD Sender: No OFD packet to send [05:33:11]OFD Sender: No OFD packet to send [05:33:16]OFD Sender: No OFD packet to send [05:33:21]OFD Sender: No OFD packet to send [05:33:26]OFD Sender: No OFD packet to send [05:33:31]OFD Sender: No OFD packet to send [05:33:36]OFD Sender: No OFD packet to send [05:33:41]OFD Sender: No OFD packet to send [05:33:46]OFD Sender: No OFD packet to send [05:33:51]OFD Sender: No OFD packet to send [05:33:56]OFD Sender: No OFD packet to send [05:34:01]OFD Sender: No OFD packet to send [05:34:06]OFD Sender: No OFD packet to send [05:34:11]OFD Sender: No OFD packet to send [05:34:16]OFD Sender: No OFD packet to send [05:34:21]OFD Sender: No OFD packet to send [05:34:26]OFD Sender: No OFD packet to send [05:34:31]OFD Sender: No OFD packet to send [05:34:36]OFD Sender: No OFD packet to send [05:34:41]OFD Sender: No OFD packet to send [05:34:46]OFD Sender: No OFD packet to send [05:34:51]OFD Sender: No OFD packet to send [05:34:56]OFD Sender: No OFD packet to send [05:35:01]OFD Sender: No OFD packet to send [05:35:06]OFD Sender: No OFD packet to send [05:35:11]OFD Sender: No OFD packet to send [05:35:16]OFD Sender: No OFD packet to send [05:35:21]OFD Sender: No OFD packet to send [05:35:26]OFD Sender: No OFD packet to send [05:35:31]OFD Sender: No OFD packet to send [05:35:36]OFD Sender: No OFD packet to send [05:35:41]OFD Sender: No OFD packet to send [05:35:46]OFD Sender: No OFD packet to send [05:35:51]OFD Sender: No OFD packet to send [05:35:56]OFD Sender: No OFD packet to send [05:36:01]OFD Sender: No OFD packet to send [05:36:06]OFD Sender: No OFD packet to send [05:36:11]OFD Sender: No OFD packet to send [05:36:16]OFD Sender: No OFD packet to send [05:36:21]OFD Sender: No OFD packet to send [05:36:26]OFD Sender: No OFD packet to send [05:36:32]OFD Sender: No OFD packet to send [05:36:37]OFD Sender: No OFD packet to send [05:36:42]OFD Sender: No OFD packet to send [05:36:47]OFD Sender: No OFD packet to send [05:36:52]OFD Sender: No OFD packet to send [05:36:57]OFD Sender: No OFD packet to send [05:37:02]OFD Sender: No OFD packet to send [05:37:07]OFD Sender: No OFD packet to send [05:37:12]OFD Sender: No OFD packet to send [05:37:17]OFD Sender: No OFD packet to send [05:37:22]OFD Sender: No OFD packet to send [05:37:27]OFD Sender: No OFD packet to send [05:37:32]OFD Sender: No OFD packet to send [05:37:37]OFD Sender: No OFD packet to send [05:37:42]OFD Sender: No OFD packet to send [05:37:47]OFD Sender: No OFD packet to send [05:37:52]OFD Sender: No OFD packet to send [05:37:57]OFD Sender: No OFD packet to send [05:38:02]OFD Sender: No OFD packet to send [05:38:07]OFD Sender: No OFD packet to send [05:38:12]OFD Sender: No OFD packet to send [05:38:17]OFD Sender: No OFD packet to send [05:38:22]OFD Sender: No OFD packet to send [05:38:27]OFD Sender: No OFD packet to send [05:38:32]OFD Sender: No OFD packet to send [05:38:37]OFD Sender: No OFD packet to send [05:38:42]OFD Sender: No OFD packet to send [05:38:47]OFD Sender: No OFD packet to send [05:38:52]OFD Sender: No OFD packet to send [05:38:57]OFD Sender: No OFD packet to send [05:39:02]OFD Sender: No OFD packet to send [05:39:07]OFD Sender: No OFD packet to send [05:39:12]OFD Sender: No OFD packet to send [05:39:17]OFD Sender: No OFD packet to send [05:39:22]OFD Sender: No OFD packet to send [05:39:27]OFD Sender: No OFD packet to send [05:39:32]OFD Sender: No OFD packet to send [05:39:37]OFD Sender: No OFD packet to send [05:39:42]OFD Sender: No OFD packet to send [05:39:47]OFD Sender: No OFD packet to send [05:39:52]OFD Sender: No OFD packet to send [05:39:57]OFD Sender: No OFD packet to send [05:40:02]OFD Sender: No OFD packet to send [05:40:07]OFD Sender: No OFD packet to send [05:40:12]OFD Sender: No OFD packet to send [05:40:17]OFD Sender: No OFD packet to send [05:40:22]OFD Sender: No OFD packet to send [05:40:27]OFD Sender: No OFD packet to send [05:40:32]OFD Sender: No OFD packet to send [05:40:37]OFD Sender: No OFD packet to send [05:40:42]OFD Sender: No OFD packet to send [05:40:47]OFD Sender: No OFD packet to send [05:40:52]OFD Sender: No OFD packet to send [05:40:57]OFD Sender: No OFD packet to send [05:41:02]OFD Sender: No OFD packet to send [05:41:07]OFD Sender: No OFD packet to send [05:41:12]OFD Sender: No OFD packet to send [05:41:17]OFD Sender: No OFD packet to send [05:41:22]OFD Sender: No OFD packet to send [05:41:27]OFD Sender: No OFD packet to send [05:41:32]OFD Sender: No OFD packet to send [05:41:37]OFD Sender: No OFD packet to send [05:41:42]OFD Sender: No OFD packet to send [05:41:47]OFD Sender: No OFD packet to send [05:41:52]OFD Sender: No OFD packet to send [05:41:57]OFD Sender: No OFD packet to send [05:42:02]OFD Sender: No OFD packet to send [05:42:07]OFD Sender: No OFD packet to send [05:42:12]OFD Sender: No OFD packet to send [05:42:17]OFD Sender: No OFD packet to send [05:42:22]OFD Sender: No OFD packet to send [05:42:27]OFD Sender: No OFD packet to send [05:42:32]OFD Sender: No OFD packet to send [05:42:37]OFD Sender: No OFD packet to send [05:42:42]OFD Sender: No OFD packet to send [05:42:47]OFD Sender: No OFD packet to send [05:42:52]OFD Sender: No OFD packet to send [05:42:57]OFD Sender: No OFD packet to send [05:43:02]OFD Sender: No OFD packet to send [05:43:07]OFD Sender: No OFD packet to send [05:43:12]OFD Sender: No OFD packet to send [05:43:17]OFD Sender: No OFD packet to send [05:43:22]OFD Sender: No OFD packet to send [05:43:27]OFD Sender: No OFD packet to send [05:43:32]OFD Sender: No OFD packet to send [05:43:37]OFD Sender: No OFD packet to send [05:43:42]OFD Sender: No OFD packet to send [05:43:47]OFD Sender: No OFD packet to send [05:43:52]OFD Sender: No OFD packet to send [05:43:57]OFD Sender: No OFD packet to send [05:44:02]OFD Sender: No OFD packet to send [05:44:07]OFD Sender: No OFD packet to send [05:44:12]OFD Sender: No OFD packet to send [05:44:17]OFD Sender: No OFD packet to send [05:44:22]OFD Sender: No OFD packet to send [05:44:27]OFD Sender: No OFD packet to send [05:44:32]OFD Sender: No OFD packet to send [05:44:37]OFD Sender: No OFD packet to send [05:44:42]OFD Sender: No OFD packet to send [05:44:47]OFD Sender: No OFD packet to send [05:44:52]OFD Sender: No OFD packet to send [05:44:57]OFD Sender: No OFD packet to send [05:45:02]OFD Sender: No OFD packet to send [05:45:07]OFD Sender: No OFD packet to send [05:45:12]OFD Sender: No OFD packet to send [05:45:17]OFD Sender: No OFD packet to send [05:45:22]OFD Sender: No OFD packet to send [05:45:27]OFD Sender: No OFD packet to send [05:45:32]OFD Sender: No OFD packet to send [05:45:37]OFD Sender: No OFD packet to send [05:45:42]OFD Sender: No OFD packet to send [05:45:47]OFD Sender: No OFD packet to send [05:45:52]OFD Sender: No OFD packet to send [05:45:57]OFD Sender: No OFD packet to send [05:46:02]OFD Sender: No OFD packet to send [05:46:07]OFD Sender: No OFD packet to send [05:46:12]OFD Sender: No OFD packet to send [05:46:17]OFD Sender: No OFD packet to send [05:46:22]OFD Sender: No OFD packet to send [05:46:27]OFD Sender: No OFD packet to send [05:46:32]OFD Sender: No OFD packet to send [05:46:37]OFD Sender: No OFD packet to send [05:46:42]OFD Sender: No OFD packet to send [05:46:47]OFD Sender: No OFD packet to send [05:46:52]OFD Sender: No OFD packet to send [05:46:57]OFD Sender: No OFD packet to send [05:47:02]OFD Sender: No OFD packet to send [05:47:07]OFD Sender: No OFD packet to send [05:47:12]OFD Sender: No OFD packet to send [05:47:17]OFD Sender: No OFD packet to send [05:47:22]OFD Sender: No OFD packet to send [05:47:27]OFD Sender: No OFD packet to send [05:47:32]OFD Sender: No OFD packet to send [05:47:37]OFD Sender: No OFD packet to send [05:47:42]OFD Sender: No OFD packet to send [05:47:47]OFD Sender: No OFD packet to send [05:47:52]OFD Sender: No OFD packet to send [05:47:57]OFD Sender: No OFD packet to send [05:48:02]OFD Sender: No OFD packet to send [05:48:07]OFD Sender: No OFD packet to send [05:48:12]OFD Sender: No OFD packet to send [05:48:17]OFD Sender: No OFD packet to send [05:48:22]OFD Sender: No OFD packet to send [05:48:27]OFD Sender: No OFD packet to send [05:48:32]OFD Sender: No OFD packet to send [05:48:37]OFD Sender: No OFD packet to send [05:48:42]OFD Sender: No OFD packet to send [05:48:47]OFD Sender: No OFD packet to send [05:48:52]OFD Sender: No OFD packet to send [05:48:57]OFD Sender: No OFD packet to send [05:49:02]OFD Sender: No OFD packet to send [05:49:07]OFD Sender: No OFD packet to send [05:49:12]OFD Sender: No OFD packet to send [05:49:17]OFD Sender: No OFD packet to send [05:49:22]OFD Sender: No OFD packet to send [05:49:27]OFD Sender: No OFD packet to send [05:49:32]OFD Sender: No OFD packet to send [05:49:37]OFD Sender: No OFD packet to send [05:49:42]OFD Sender: No OFD packet to send [05:49:47]OFD Sender: No OFD packet to send [05:49:52]OFD Sender: No OFD packet to send [05:49:57]OFD Sender: No OFD packet to send [05:50:02]OFD Sender: No OFD packet to send [05:50:07]OFD Sender: No OFD packet to send [05:50:12]OFD Sender: No OFD packet to send [05:50:17]OFD Sender: No OFD packet to send [05:50:22]OFD Sender: No OFD packet to send [05:50:27]OFD Sender: No OFD packet to send [05:50:32]OFD Sender: No OFD packet to send [05:50:37]OFD Sender: No OFD packet to send [05:50:42]OFD Sender: No OFD packet to send [05:50:47]OFD Sender: No OFD packet to send [05:50:52]OFD Sender: No OFD packet to send [05:50:57]OFD Sender: No OFD packet to send [05:51:02]OFD Sender: No OFD packet to send [05:51:07]OFD Sender: No OFD packet to send [05:51:12]OFD Sender: No OFD packet to send [05:51:17]OFD Sender: No OFD packet to send [05:51:22]OFD Sender: No OFD packet to send [05:51:27]OFD Sender: No OFD packet to send [05:51:32]OFD Sender: No OFD packet to send [05:51:37]OFD Sender: No OFD packet to send [05:51:42]OFD Sender: No OFD packet to send [05:51:47]OFD Sender: No OFD packet to send [05:51:52]OFD Sender: No OFD packet to send [05:51:57]OFD Sender: No OFD packet to send [05:52:02]OFD Sender: No OFD packet to send [05:52:07]OFD Sender: No OFD packet to send [05:52:12]OFD Sender: No OFD packet to send [05:52:17]OFD Sender: No OFD packet to send [05:52:22]OFD Sender: No OFD packet to send [05:52:27]OFD Sender: No OFD packet to send [05:52:32]OFD Sender: No OFD packet to send [05:52:37]OFD Sender: No OFD packet to send [05:52:42]OFD Sender: No OFD packet to send [05:52:47]OFD Sender: No OFD packet to send [05:52:52]OFD Sender: No OFD packet to send [05:52:57]OFD Sender: No OFD packet to send [05:53:02]OFD Sender: No OFD packet to send [05:53:07]OFD Sender: No OFD packet to send [05:53:12]OFD Sender: No OFD packet to send [05:53:17]OFD Sender: No OFD packet to send [05:53:22]OFD Sender: No OFD packet to send [05:53:27]OFD Sender: No OFD packet to send [05:53:32]OFD Sender: No OFD packet to send [05:53:37]OFD Sender: No OFD packet to send [05:53:42]OFD Sender: No OFD packet to send [05:53:47]OFD Sender: No OFD packet to send [05:53:52]OFD Sender: No OFD packet to send [05:53:57]OFD Sender: No OFD packet to send [05:54:02]OFD Sender: No OFD packet to send [05:54:07]OFD Sender: No OFD packet to send [05:54:12]OFD Sender: No OFD packet to send [05:54:17]OFD Sender: No OFD packet to send [05:54:22]OFD Sender: No OFD packet to send [05:54:27]OFD Sender: No OFD packet to send [05:54:32]OFD Sender: No OFD packet to send [05:54:37]OFD Sender: No OFD packet to send [05:54:42]OFD Sender: No OFD packet to send [05:54:47]OFD Sender: No OFD packet to send [05:54:52]OFD Sender: No OFD packet to send [05:54:57]OFD Sender: No OFD packet to send [05:55:02]OFD Sender: No OFD packet to send [05:55:07]OFD Sender: No OFD packet to send [05:55:12]OFD Sender: No OFD packet to send [05:55:17]OFD Sender: No OFD packet to send [05:55:22]OFD Sender: No OFD packet to send [05:55:27]OFD Sender: No OFD packet to send [05:55:32]OFD Sender: No OFD packet to send [05:55:37]OFD Sender: No OFD packet to send [05:55:42]OFD Sender: No OFD packet to send [05:55:47]OFD Sender: No OFD packet to send [05:55:52]OFD Sender: No OFD packet to send [05:55:57]OFD Sender: No OFD packet to send [05:56:00]accept exits with 7 [05:56:00]New connection [05:56:00]New thread 3066699108 created [05:56:00]Thread 3066555748 joined [05:56:00]Waiting for new connection... [05:56:00] Sock 7.Parse request [05:56:00]Sock 7.Check first char [05:56:00]Sock 7.First char is OK [05:56:00]request: POST /json_proto HTTP/1.0 [05:56:00]Method: POST [05:56:00]URL: /json_proto [05:56:00]Method is POST - this is cgi request [05:56:00]url: /json_proto [05:56:00]query_string will be loaded in cgi processing [05:56:00]execute_cgi json_proto POST (null) [05:56:00]execute_cgi path=json_proto method=POST [05:56:00]POST find Content-Length [05:56:00]Host: 172.17.53.68:8080 [05:56:00]Content-Length: 215 [05:56:00]Content-Type: application/json [05:56:00] [05:56:00]POST finish read [05:56:00]Found Content-Length = 215 [05:56: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" ] } } [05:56:00]execute_script... [05:56: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" ] } } [05:56:00]POST & json_proto [05:56:00]process_json_proto [05:56:00]json parsed OK: [05:56:00]protocol is kg_v1.0 [05:56:00]action value=get_value [05:56:00]process_action get_value [05:56:00]cmd_get_value [05:56:00]process_action get_value done [05:56:00]requested_data is exist [05:56:00]produce_requested_data [05:56:00]requested_item kkm.sn is exist - process it [05:56:00]requested_item kkm.ver is exist - process it [05:56:00]requested_item fm.sn is exist - process it [05:56:00]wFMCommunicate request_size=4 [05:56:00]MH_SAM_APDU [05:56:00]CAPDU: 80 11 00 00 [05:56:00]Write to MH i2c: E2 08 00 B5 15 80 11 00 00 00 00 00 00 44 [05:56:00]Write i2c OK [05:56:00]MH_I2C_Read... [05:56:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:56:00]Read from MH i2c: E2 [05:56:00]MH_I2C_Read... [05:56:00]Read from MH i2c: E2 17 00 [05:56:00]MH_I2C_Read... [05:56:00]Read from MH i2c: E2 17 00 B5 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 97 [05:56:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [05:56:00]wFMCommunicate OK [05:56:00]requested_item fd.num is exist - process it [05:56:00]SAM_PROTO_GetFieldsCounters [05:56:00]wFMCommunicate request_size=4 [05:56:00]MH_SAM_APDU [05:56:00]CAPDU: 80 13 00 00 [05:56:00]Write to MH i2c: E2 08 00 B6 15 80 13 00 00 00 00 00 00 47 [05:56:00]Write i2c OK [05:56:00]MH_I2C_Read... [05:56:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:56:01]Read from MH i2c: E2 [05:56:01]MH_I2C_Read... [05:56:01]Read from MH i2c: E2 62 00 [05:56:01]MH_I2C_Read... [05:56:01]Read from MH i2c: E2 62 00 B6 15 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 26 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 05 [05:56:01]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 26 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 [05:56:01]wFMCommunicate OK [05:56:01]SAM_PROTO_GetFieldsCounters done [05:56:01]requested_item shift.num is exist - process it [05:56:01]requested_item shift.opened is exist - process it [05:56:01]req_shift_opened [05:56:01]FM_GetShiftState [05:56:01]SAM_PROTO_GetShiftState [05:56:01]wFMCommunicate request_size=4 [05:56:01]MH_SAM_APDU [05:56:01]CAPDU: 80 13 01 00 [05:56:01]Write to MH i2c: E2 08 00 B7 15 80 13 01 00 00 00 00 00 49 [05:56:01]Write i2c OK [05:56:01]MH_I2C_Read... [05:56:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:56:01]Read from MH i2c: E2 [05:56:01]MH_I2C_Read... [05:56:01]Read from MH i2c: E2 0E 00 [05:56:01]MH_I2C_Read... [05:56:01]Read from MH i2c: E2 0E 00 B7 15 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 9E [05:56:01]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [05:56:01]wFMCommunicate OK [05:56:01]SAM_PROTO_GetShiftState done [05:56:01]FM_GetShiftState done [05:56:01]req_shift_opened done [05:56:01]requested_item shift.open_date is exist - process it [05:56:01]req_shift_open_date [05:56:01]req_shift_open_date done [05:56:01]produce_requested_data done [05:56:01]produce_requested_data return {"kkm.sn":"0300000235","kkm.ver":"001","fm.sn":"0000000000965372","fd.num":37158,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [05:56:01]process_action_free get_value [05:56:01]json_value_free [05:56:01]json_value_free done [05:56:01]process_json_proto returns [05:56:01]Send response to host [05:56:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000235","kkm.ver":"001","fm.sn":"0000000000965372","fd.num":37158,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [05:56:01]free response buf [05:56:01]execute_script done [05:56:01]execute_script returns [05:56:01]free content buf [05:56:01]Sock 7.Close socket [05:56:01]Sock 7.Thread stoped [05:56:01]accept exits with 9 [05:56:01]New connection [05:56:01]New thread 3066555748 created [05:56:01]Thread 3066699108 joined [05:56:01]Waiting for new connection... [05:56:01] Sock 9.Parse request [05:56:01]Sock 9.Check first char [05:56:01]Sock 9.First char is OK [05:56:01]request: POST /json_proto HTTP/1.0 [05:56:01]Method: POST [05:56:01]URL: /json_proto [05:56:01]Method is POST - this is cgi request [05:56:01]url: /json_proto [05:56:01]query_string will be loaded in cgi processing [05:56:01]execute_cgi json_proto POST (null) [05:56:01]execute_cgi path=json_proto method=POST [05:56:01]POST find Content-Length [05:56:01]Host: 172.17.53.68:8080 [05:56:01]Content-Length: 331 [05:56:01]Content-Type: application/json [05:56:01] [05:56:01]POST finish read [05:56:01]Found Content-Length = 331 [05:56:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [05:56:01]execute_script... [05:56: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" ] } } [05:56:01]POST & json_proto [05:56:01]process_json_proto [05:56:01]json parsed OK: [05:56:01]protocol is kg_v1.0 [05:56:01]action value=get_value [05:56:01]process_action get_value [05:56:01]cmd_get_value [05:56:01]process_action get_value done [05:56:01]requested_data is exist [05:56:01]produce_requested_data [05:56:01]requested_item fm.sale.total is exist - process it [05:56:01]SAM_PROTO_GetFMData [05:56:01]wFMCommunicate request_size=4 [05:56:01]MH_SAM_APDU [05:56:01]CAPDU: 80 13 03 00 [05:56:01]Write to MH i2c: E2 08 00 B8 15 80 13 03 00 00 00 00 00 4C [05:56:01]Write i2c OK [05:56:01]MH_I2C_Read... [05:56:01]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [05:56:01]Read from MH i2c: E2 [05:56:01]MH_I2C_Read... [05:56:01]Read from MH i2c: E2 FD 00 [05:56:01]MH_I2C_Read... [05:56:01]Read from MH i2c: E2 FD 00 B8 15 00 C4 04 85 04 C0 04 6E 04 04 00 8C 8D 00 00 69 04 A0 00 6F 04 04 00 43 8C 00 00 B1 04 04 00 AA BC 72 45 70 04 04 00 34 A7 C3 3D 72 04 04 00 76 15 AF 07 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 B7 7F 60 07 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 49 51 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 31 [05:56:01]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 8C 8D 00 00 69 04 A0 00 6F 04 04 00 43 8C 00 00 B1 04 04 00 AA BC 72 45 70 04 04 00 34 A7 C3 3D 72 04 04 00 76 15 AF 07 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 B7 7F 60 07 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 49 51 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 [05:56:01]wFMCommunicate OK [05:56:01]wFMCommunicate request_size=4 [05:56:01]MH_SAM_APDU [05:56:01]CAPDU: 80 17 00 00 [05:56:01]Write to MH i2c: E2 08 00 B9 15 80 17 00 00 00 00 00 00 4E [05:56:01]Write i2c OK [05:56:01]MH_I2C_Read... [05:56:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [05:56:02]Read from MH i2c: E2 [05:56:02]MH_I2C_Read... [05:56:02]Read from MH i2c: E2 FD 00 [05:56:02]MH_I2C_Read... [05:56:02]Read from MH i2c: E2 FD 00 B9 15 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 66 [05:56:02]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [05:56:02]wFMCommunicate OK [05:56:02]wFMCommunicate request_size=4 [05:56:02]MH_SAM_APDU [05:56:02]CAPDU: 80 17 00 00 [05:56:02]Write to MH i2c: E2 08 00 BA 15 80 17 00 00 00 00 00 00 4F [05:56:02]Write i2c OK [05:56:02]MH_I2C_Read... [05:56:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [05:56:02]Read from MH i2c: E2 [05:56:02]MH_I2C_Read... [05:56:02]Read from MH i2c: E2 FD 00 [05:56:02]MH_I2C_Read... [05:56:02]Read from MH i2c: E2 FD 00 BA 15 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 64 [05:56:02]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [05:56:02]wFMCommunicate OK [05:56:02]wFMCommunicate request_size=4 [05:56:02]MH_SAM_APDU [05:56:02]CAPDU: 80 17 00 00 [05:56:02]Write to MH i2c: E2 08 00 BB 15 80 17 00 00 00 00 00 00 50 [05:56:02]Write i2c OK [05:56:02]MH_I2C_Read... [05:56:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [05:56:02]Read from MH i2c: E2 [05:56:02]MH_I2C_Read... [05:56:02]Read from MH i2c: E2 FD 00 [05:56:02]MH_I2C_Read... [05:56:02]Read from MH i2c: E2 FD 00 BB 15 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 C8 [05:56:02]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [05:56:02]wFMCommunicate OK [05:56:02]wFMCommunicate request_size=4 [05:56:02]MH_SAM_APDU [05:56:02]CAPDU: 80 17 00 00 [05:56:02]Write to MH i2c: E2 08 00 BC 15 80 17 00 00 00 00 00 00 51 [05:56:02]Write i2c OK [05:56:02]MH_I2C_Read... [05:56:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [05:56:02]Read from MH i2c: E2 [05:56:02]MH_I2C_Read... [05:56:02]Read from MH i2c: E2 E1 00 [05:56:02]MH_I2C_Read... [05:56:02]Read from MH i2c: E2 E1 00 BC 15 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 3F [05:56:02]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [05:56:03]wFMCommunicate OK [05:56:03]SAM_PROTO_GetFMData done [05:56:03]requested_item fm.sale_refund.total is exist - process it [05:56:03]requested_item fm.buy.total is exist - process it [05:56:03]requested_item shift.sale.total is exist - process it [05:56:03]SAM_PROTO_GetShiftData [05:56:03]wFMCommunicate request_size=4 [05:56:03]MH_SAM_APDU [05:56:03]CAPDU: 80 13 02 00 [05:56:03]Write to MH i2c: E2 08 00 BD 15 80 13 02 00 00 00 00 00 50 [05:56:03]OFD Sender: No OFD packet to send [05:56:03]Write i2c OK [05:56:03]MH_I2C_Read... [05:56:03]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [05:56:03]Read from MH i2c: E2 [05:56:03]MH_I2C_Read... [05:56:03]Read from MH i2c: E2 FD 00 [05:56:03]MH_I2C_Read... [05:56:03]Read from MH i2c: E2 FD 00 BD 15 00 AA 04 AA 04 A6 04 6E 04 04 00 06 00 00 00 69 04 97 00 6F 04 04 00 06 00 00 00 B1 04 03 00 70 C0 01 70 04 03 00 70 C0 01 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 9F 2F EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F7 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 00 EF 90 00 27 [05:56:03]RAPDU: AA 04 AA 04 A6 04 6E 04 04 00 06 00 00 00 69 04 97 00 6F 04 04 00 06 00 00 00 B1 04 03 00 70 C0 01 70 04 03 00 70 C0 01 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 9F 2F EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F7 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 00 EF 90 00 [05:56:03]wFMCommunicate OK [05:56:03]wFMCommunicate request_size=4 [05:56:03]MH_SAM_APDU [05:56:03]CAPDU: 80 17 00 00 [05:56:03]Write to MH i2c: E2 08 00 BE 15 80 17 00 00 00 00 00 00 53 [05:56:03]Write i2c OK [05:56:03]MH_I2C_Read... [05:56:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [05:56:03]Read from MH i2c: E2 [05:56:03]MH_I2C_Read... [05:56:03]Read from MH i2c: E2 FD 00 [05:56:03]MH_I2C_Read... [05:56:03]Read from MH i2c: E2 FD 00 BE 15 00 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 90 00 79 [05:56:03]RAPDU: 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 90 00 [05:56:03]wFMCommunicate OK [05:56:03]wFMCommunicate request_size=4 [05:56:03]MH_SAM_APDU [05:56:03]CAPDU: 80 17 00 00 [05:56:03]Write to MH i2c: E2 08 00 BF 15 80 17 00 00 00 00 00 00 54 [05:56:03]Write i2c OK [05:56:03]MH_I2C_Read... [05:56:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [05:56:04]Read from MH i2c: E2 [05:56:04]MH_I2C_Read... [05:56:04]Read from MH i2c: E2 FD 00 [05:56:04]MH_I2C_Read... [05:56:04]Read from MH i2c: E2 FD 00 BF 15 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 90 00 07 [05:56:04]RAPDU: EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 90 00 [05:56:04]wFMCommunicate OK [05:56:04]wFMCommunicate request_size=4 [05:56:04]MH_SAM_APDU [05:56:04]CAPDU: 80 17 00 00 [05:56:04]Write to MH i2c: E2 08 00 C0 15 80 17 00 00 00 00 00 00 55 [05:56:04]Write i2c OK [05:56:04]MH_I2C_Read... [05:56:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [05:56:04]Read from MH i2c: E2 [05:56:04]MH_I2C_Read... [05:56:04]Read from MH i2c: E2 FD 00 [05:56:04]MH_I2C_Read... [05:56:04]Read from MH i2c: E2 FD 00 C0 15 00 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 90 00 C7 [05:56:04]RAPDU: 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 90 00 [05:56:04]wFMCommunicate OK [05:56:04]wFMCommunicate request_size=4 [05:56:04]MH_SAM_APDU [05:56:04]CAPDU: 80 17 00 00 [05:56:04]Write to MH i2c: E2 08 00 C1 15 80 17 00 00 00 00 00 00 56 [05:56:04]Write i2c OK [05:56:04]MH_I2C_Read... [05:56:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 196! [05:56:04]Read from MH i2c: E2 [05:56:04]MH_I2C_Read... [05:56:04]Read from MH i2c: E2 C7 00 [05:56:04]MH_I2C_Read... [05:56:04]Read from MH i2c: E2 C7 00 C1 15 00 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 49 [05:56:04]RAPDU: 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [05:56:04]wFMCommunicate OK [05:56:04]SAM_PROTO_GetShiftData done [05:56:04]requested_item shift.sale.total_cash is exist - process it [05:56:04]requested_item shift.sale_refund.total is exist - process it [05:56:04]requested_item shift.sale_refund.total_cash is exist - process it [05:56:04]requested_item shift.buy.total is exist - process it [05:56:04]requested_item shift.buy.total_cash is exist - process it [05:56:04]produce_requested_data done [05:56:04]produce_requested_data return {"fm.sale.total":11651473.06,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":1148.00,"shift.sale.total_cash":1148.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} [05:56:04]process_action_free get_value [05:56:04]json_value_free [05:56:04]json_value_free done [05:56:04]process_json_proto returns [05:56:04]Send response to host [05:56:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11651473.06,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":1148.00,"shift.sale.total_cash":1148.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}}} [05:56:04]free response buf [05:56:04]execute_script done [05:56:04]execute_script returns [05:56:04]free content buf [05:56:04]Sock 9.Close socket [05:56:04]Sock 9.Thread stoped [05:56:08]OFD Sender: No OFD packet to send [05:56:13]OFD Sender: No OFD packet to send [05:56:18]OFD Sender: No OFD packet to send [05:56:23]OFD Sender: No OFD packet to send [05:56:28]OFD Sender: No OFD packet to send [05:56:33]OFD Sender: No OFD packet to send [05:56:38]OFD Sender: No OFD packet to send [05:56:43]OFD Sender: No OFD packet to send [05:56:48]OFD Sender: No OFD packet to send [05:56:53]OFD Sender: No OFD packet to send [05:56:58]OFD Sender: No OFD packet to send [05:57:03]OFD Sender: No OFD packet to send [05:57:08]OFD Sender: No OFD packet to send [05:57:13]OFD Sender: No OFD packet to send [05:57:18]OFD Sender: No OFD packet to send [05:57:23]OFD Sender: No OFD packet to send [05:57:28]OFD Sender: No OFD packet to send [05:57:33]OFD Sender: No OFD packet to send [05:57:38]OFD Sender: No OFD packet to send [05:57:43]OFD Sender: No OFD packet to send [05:57:48]OFD Sender: No OFD packet to send [05:57:53]OFD Sender: No OFD packet to send [05:57:58]OFD Sender: No OFD packet to send [05:58:03]OFD Sender: No OFD packet to send [05:58:08]OFD Sender: No OFD packet to send [05:58:13]OFD Sender: No OFD packet to send [05:58:18]OFD Sender: No OFD packet to send [05:58:23]OFD Sender: No OFD packet to send [05:58:28]OFD Sender: No OFD packet to send [05:58:33]OFD Sender: No OFD packet to send [05:58:38]OFD Sender: No OFD packet to send [05:58:43]OFD Sender: No OFD packet to send [05:58:48]OFD Sender: No OFD packet to send [05:58:53]OFD Sender: No OFD packet to send [05:58:58]OFD Sender: No OFD packet to send [05:59:03]OFD Sender: No OFD packet to send [05:59:08]OFD Sender: No OFD packet to send [05:59:13]OFD Sender: No OFD packet to send [05:59:18]OFD Sender: No OFD packet to send [05:59:23]OFD Sender: No OFD packet to send [05:59:28]OFD Sender: No OFD packet to send [05:59:33]OFD Sender: No OFD packet to send [05:59:38]OFD Sender: No OFD packet to send [05:59:43]OFD Sender: No OFD packet to send [05:59:48]OFD Sender: No OFD packet to send [05:59:53]OFD Sender: No OFD packet to send [05:59:58]OFD Sender: No OFD packet to send [06:00:03]OFD Sender: No OFD packet to send [06:00:08]OFD Sender: No OFD packet to send [06:00:13]OFD Sender: No OFD packet to send [06:00:18]OFD Sender: No OFD packet to send [06:00:23]OFD Sender: No OFD packet to send [06:00:28]OFD Sender: No OFD packet to send [06:00:33]OFD Sender: No OFD packet to send [06:00:38]OFD Sender: No OFD packet to send [06:00:43]OFD Sender: No OFD packet to send [06:00:48]OFD Sender: No OFD packet to send [06:00:53]OFD Sender: No OFD packet to send [06:00:58]OFD Sender: No OFD packet to send [06:01:03]OFD Sender: No OFD packet to send [06:01:08]OFD Sender: No OFD packet to send [06:01:13]OFD Sender: No OFD packet to send [06:01:18]OFD Sender: No OFD packet to send [06:01:23]OFD Sender: No OFD packet to send [06:01:28]OFD Sender: No OFD packet to send [06:01:33]OFD Sender: No OFD packet to send [06:01:38]OFD Sender: No OFD packet to send [06:01:43]OFD Sender: No OFD packet to send [06:01:48]OFD Sender: No OFD packet to send [06:01:53]OFD Sender: No OFD packet to send [06:01:58]OFD Sender: No OFD packet to send [06:02:03]OFD Sender: No OFD packet to send [06:02:08]OFD Sender: No OFD packet to send [06:02:13]OFD Sender: No OFD packet to send [06:02:18]OFD Sender: No OFD packet to send [06:02:23]OFD Sender: No OFD packet to send [06:02:28]OFD Sender: No OFD packet to send [06:02:33]OFD Sender: No OFD packet to send [06:02:38]OFD Sender: No OFD packet to send [06:02:43]OFD Sender: No OFD packet to send [06:02:48]OFD Sender: No OFD packet to send [06:02:53]OFD Sender: No OFD packet to send [06:02:58]OFD Sender: No OFD packet to send [06:03:03]OFD Sender: No OFD packet to send [06:03:08]OFD Sender: No OFD packet to send [06:03:13]OFD Sender: No OFD packet to send [06:03:18]OFD Sender: No OFD packet to send [06:03:23]OFD Sender: No OFD packet to send [06:03:28]OFD Sender: No OFD packet to send [06:03:33]OFD Sender: No OFD packet to send [06:03:38]OFD Sender: No OFD packet to send [06:03:43]OFD Sender: No OFD packet to send [06:03:48]OFD Sender: No OFD packet to send [06:03:53]OFD Sender: No OFD packet to send [06:03:58]OFD Sender: No OFD packet to send [06:04:03]OFD Sender: No OFD packet to send [06:04:08]OFD Sender: No OFD packet to send [06:04:13]OFD Sender: No OFD packet to send [06:04:18]OFD Sender: No OFD packet to send [06:04:23]OFD Sender: No OFD packet to send [06:04:28]OFD Sender: No OFD packet to send [06:04:33]OFD Sender: No OFD packet to send [06:04:38]OFD Sender: No OFD packet to send [06:04:43]OFD Sender: No OFD packet to send [06:04:48]OFD Sender: No OFD packet to send [06:04:53]OFD Sender: No OFD packet to send [06:04:58]OFD Sender: No OFD packet to send [06:05:03]OFD Sender: No OFD packet to send [06:05:08]OFD Sender: No OFD packet to send [06:05:13]OFD Sender: No OFD packet to send [06:05:18]OFD Sender: No OFD packet to send [06:05:23]OFD Sender: No OFD packet to send [06:05:28]OFD Sender: No OFD packet to send [06:05:33]OFD Sender: No OFD packet to send [06:05:38]OFD Sender: No OFD packet to send [06:05:43]OFD Sender: No OFD packet to send [06:05:48]OFD Sender: No OFD packet to send [06:05:53]OFD Sender: No OFD packet to send [06:05:58]OFD Sender: No OFD packet to send [06:06:03]OFD Sender: No OFD packet to send [06:06:08]OFD Sender: No OFD packet to send [06:06:13]OFD Sender: No OFD packet to send [06:06:18]OFD Sender: No OFD packet to send [06:06:23]OFD Sender: No OFD packet to send [06:06:28]OFD Sender: No OFD packet to send [06:06:33]OFD Sender: No OFD packet to send [06:06:38]OFD Sender: No OFD packet to send [06:06:43]OFD Sender: No OFD packet to send [06:06:48]OFD Sender: No OFD packet to send [06:06:53]OFD Sender: No OFD packet to send [06:06:58]OFD Sender: No OFD packet to send [06:07:03]OFD Sender: No OFD packet to send [06:07:08]OFD Sender: No OFD packet to send [06:07:13]OFD Sender: No OFD packet to send [06:07:18]OFD Sender: No OFD packet to send [06:07:23]OFD Sender: No OFD packet to send [06:07:28]OFD Sender: No OFD packet to send [06:07:33]OFD Sender: No OFD packet to send [06:07:38]OFD Sender: No OFD packet to send [06:07:43]OFD Sender: No OFD packet to send [06:07:48]OFD Sender: No OFD packet to send [06:07:53]OFD Sender: No OFD packet to send [06:07:58]OFD Sender: No OFD packet to send [06:08:03]OFD Sender: No OFD packet to send [06:08:08]OFD Sender: No OFD packet to send [06:08:13]OFD Sender: No OFD packet to send [06:08:18]OFD Sender: No OFD packet to send [06:08:23]OFD Sender: No OFD packet to send [06:08:28]OFD Sender: No OFD packet to send [06:08:33]OFD Sender: No OFD packet to send [06:08:38]OFD Sender: No OFD packet to send [06:08:43]OFD Sender: No OFD packet to send [06:08:48]OFD Sender: No OFD packet to send [06:08:53]OFD Sender: No OFD packet to send [06:08:58]OFD Sender: No OFD packet to send [06:09:03]OFD Sender: No OFD packet to send [06:09:08]OFD Sender: No OFD packet to send [06:09:13]OFD Sender: No OFD packet to send [06:09:18]OFD Sender: No OFD packet to send [06:09:23]OFD Sender: No OFD packet to send [06:09:28]OFD Sender: No OFD packet to send [06:09:33]OFD Sender: No OFD packet to send [06:09:38]OFD Sender: No OFD packet to send [06:09:43]OFD Sender: No OFD packet to send [06:09:48]OFD Sender: No OFD packet to send [06:09:53]OFD Sender: No OFD packet to send [06:09:58]OFD Sender: No OFD packet to send [06:10:03]OFD Sender: No OFD packet to send [06:10:08]OFD Sender: No OFD packet to send [06:10:13]OFD Sender: No OFD packet to send [06:10:18]OFD Sender: No OFD packet to send [06:10:23]OFD Sender: No OFD packet to send [06:10:28]OFD Sender: No OFD packet to send [06:10:33]OFD Sender: No OFD packet to send [06:10:38]OFD Sender: No OFD packet to send [06:10:43]OFD Sender: No OFD packet to send [06:10:48]OFD Sender: No OFD packet to send [06:10:53]OFD Sender: No OFD packet to send [06:10:58]OFD Sender: No OFD packet to send [06:11:03]OFD Sender: No OFD packet to send [06:11:08]OFD Sender: No OFD packet to send [06:11:13]OFD Sender: No OFD packet to send [06:11:18]OFD Sender: No OFD packet to send [06:11:23]OFD Sender: No OFD packet to send [06:11:28]OFD Sender: No OFD packet to send [06:11:33]OFD Sender: No OFD packet to send [06:11:38]OFD Sender: No OFD packet to send [06:11:43]OFD Sender: No OFD packet to send [06:11:48]OFD Sender: No OFD packet to send [06:11:53]OFD Sender: No OFD packet to send [06:11:58]OFD Sender: No OFD packet to send [06:12:03]OFD Sender: No OFD packet to send [06:12:08]OFD Sender: No OFD packet to send [06:12:13]OFD Sender: No OFD packet to send [06:12:18]OFD Sender: No OFD packet to send [06:12:23]OFD Sender: No OFD packet to send [06:12:28]OFD Sender: No OFD packet to send [06:12:33]OFD Sender: No OFD packet to send [06:12:38]OFD Sender: No OFD packet to send [06:12:43]OFD Sender: No OFD packet to send [06:12:48]OFD Sender: No OFD packet to send [06:12:53]OFD Sender: No OFD packet to send [06:12:58]OFD Sender: No OFD packet to send [06:13:03]OFD Sender: No OFD packet to send [06:13:08]OFD Sender: No OFD packet to send [06:13:13]OFD Sender: No OFD packet to send [06:13:18]OFD Sender: No OFD packet to send [06:13:23]OFD Sender: No OFD packet to send [06:13:28]OFD Sender: No OFD packet to send [06:13:33]OFD Sender: No OFD packet to send [06:13:38]OFD Sender: No OFD packet to send [06:13:43]OFD Sender: No OFD packet to send [06:13:48]OFD Sender: No OFD packet to send [06:13:53]OFD Sender: No OFD packet to send [06:13:58]OFD Sender: No OFD packet to send [06:14:03]OFD Sender: No OFD packet to send [06:14:08]OFD Sender: No OFD packet to send [06:14:13]OFD Sender: No OFD packet to send [06:14:18]OFD Sender: No OFD packet to send [06:14:23]OFD Sender: No OFD packet to send [06:14:28]OFD Sender: No OFD packet to send [06:14:33]OFD Sender: No OFD packet to send [06:14:38]OFD Sender: No OFD packet to send [06:14:43]OFD Sender: No OFD packet to send [06:14:48]OFD Sender: No OFD packet to send [06:14:53]OFD Sender: No OFD packet to send [06:14:58]OFD Sender: No OFD packet to send [06:15:03]OFD Sender: No OFD packet to send [06:15:08]OFD Sender: No OFD packet to send [06:15:14]OFD Sender: No OFD packet to send [06:15:19]OFD Sender: No OFD packet to send [06:15:24]OFD Sender: No OFD packet to send [06:15:29]OFD Sender: No OFD packet to send [06:15:34]OFD Sender: No OFD packet to send [06:15:39]OFD Sender: No OFD packet to send [06:15:44]OFD Sender: No OFD packet to send [06:15:49]OFD Sender: No OFD packet to send [06:15:54]OFD Sender: No OFD packet to send [06:15:59]OFD Sender: No OFD packet to send [06:16:04]OFD Sender: No OFD packet to send [06:16:09]OFD Sender: No OFD packet to send [06:16:14]OFD Sender: No OFD packet to send [06:16:19]OFD Sender: No OFD packet to send [06:16:24]OFD Sender: No OFD packet to send [06:16:29]OFD Sender: No OFD packet to send [06:16:34]OFD Sender: No OFD packet to send [06:16:39]OFD Sender: No OFD packet to send [06:16:44]OFD Sender: No OFD packet to send [06:16:49]OFD Sender: No OFD packet to send [06:16:54]OFD Sender: No OFD packet to send [06:16:59]OFD Sender: No OFD packet to send [06:17:04]OFD Sender: No OFD packet to send [06:17:09]OFD Sender: No OFD packet to send [06:17:14]OFD Sender: No OFD packet to send [06:17:19]OFD Sender: No OFD packet to send [06:17:24]OFD Sender: No OFD packet to send [06:17:29]OFD Sender: No OFD packet to send [06:17:34]OFD Sender: No OFD packet to send [06:17:39]OFD Sender: No OFD packet to send [06:17:44]OFD Sender: No OFD packet to send [06:17:49]OFD Sender: No OFD packet to send [06:17:54]OFD Sender: No OFD packet to send [06:17:59]OFD Sender: No OFD packet to send [06:18:04]OFD Sender: No OFD packet to send [06:18:09]OFD Sender: No OFD packet to send [06:18:14]OFD Sender: No OFD packet to send [06:18:19]OFD Sender: No OFD packet to send [06:18:24]OFD Sender: No OFD packet to send [06:18:29]OFD Sender: No OFD packet to send [06:18:34]OFD Sender: No OFD packet to send [06:18:39]OFD Sender: No OFD packet to send [06:18:44]OFD Sender: No OFD packet to send [06:18:49]OFD Sender: No OFD packet to send [06:18:54]OFD Sender: No OFD packet to send [06:18:59]OFD Sender: No OFD packet to send [06:19:04]OFD Sender: No OFD packet to send [06:19:09]OFD Sender: No OFD packet to send [06:19:14]OFD Sender: No OFD packet to send [06:19:19]OFD Sender: No OFD packet to send [06:19:24]OFD Sender: No OFD packet to send [06:19:29]OFD Sender: No OFD packet to send [06:19:34]OFD Sender: No OFD packet to send [06:19:39]OFD Sender: No OFD packet to send [06:19:44]OFD Sender: No OFD packet to send [06:19:49]OFD Sender: No OFD packet to send [06:19:54]OFD Sender: No OFD packet to send [06:19:59]OFD Sender: No OFD packet to send [06:20:04]OFD Sender: No OFD packet to send [06:20:09]OFD Sender: No OFD packet to send [06:20:14]OFD Sender: No OFD packet to send [06:20:19]OFD Sender: No OFD packet to send [06:20:24]OFD Sender: No OFD packet to send [06:20:29]OFD Sender: No OFD packet to send [06:20:34]OFD Sender: No OFD packet to send [06:20:39]OFD Sender: No OFD packet to send [06:20:44]OFD Sender: No OFD packet to send [06:20:49]OFD Sender: No OFD packet to send [06:20:54]OFD Sender: No OFD packet to send [06:20:59]OFD Sender: No OFD packet to send [06:21:04]OFD Sender: No OFD packet to send [06:21:09]OFD Sender: No OFD packet to send [06:21:14]OFD Sender: No OFD packet to send [06:21:19]OFD Sender: No OFD packet to send [06:21:24]OFD Sender: No OFD packet to send [06:21:29]OFD Sender: No OFD packet to send [06:21:34]OFD Sender: No OFD packet to send [06:21:39]OFD Sender: No OFD packet to send [06:21:44]OFD Sender: No OFD packet to send [06:21:49]OFD Sender: No OFD packet to send [06:21:54]OFD Sender: No OFD packet to send [06:21:59]OFD Sender: No OFD packet to send [06:22:04]OFD Sender: No OFD packet to send [06:22:09]OFD Sender: No OFD packet to send [06:22:14]OFD Sender: No OFD packet to send [06:22:19]OFD Sender: No OFD packet to send [06:22:24]OFD Sender: No OFD packet to send [06:22:29]OFD Sender: No OFD packet to send [06:22:34]OFD Sender: No OFD packet to send [06:22:39]OFD Sender: No OFD packet to send [06:22:44]OFD Sender: No OFD packet to send [06:22:49]OFD Sender: No OFD packet to send [06:22:54]OFD Sender: No OFD packet to send [06:22:59]OFD Sender: No OFD packet to send [06:23:04]OFD Sender: No OFD packet to send [06:23:09]OFD Sender: No OFD packet to send [06:23:14]OFD Sender: No OFD packet to send [06:23:19]OFD Sender: No OFD packet to send [06:23:24]OFD Sender: No OFD packet to send [06:23:29]OFD Sender: No OFD packet to send [06:23:34]OFD Sender: No OFD packet to send [06:23:39]OFD Sender: No OFD packet to send [06:23:44]OFD Sender: No OFD packet to send [06:23:49]OFD Sender: No OFD packet to send [06:23:54]OFD Sender: No OFD packet to send [06:23:59]OFD Sender: No OFD packet to send [06:24:04]OFD Sender: No OFD packet to send [06:24:09]OFD Sender: No OFD packet to send [06:24:14]OFD Sender: No OFD packet to send [06:24:19]OFD Sender: No OFD packet to send [06:24:24]OFD Sender: No OFD packet to send [06:24:29]OFD Sender: No OFD packet to send [06:24:34]OFD Sender: No OFD packet to send [06:24:39]OFD Sender: No OFD packet to send [06:24:44]OFD Sender: No OFD packet to send [06:24:49]OFD Sender: No OFD packet to send [06:24:54]OFD Sender: No OFD packet to send [06:24:59]OFD Sender: No OFD packet to send [06:25:04]OFD Sender: No OFD packet to send [06:25:09]OFD Sender: No OFD packet to send [06:25:14]OFD Sender: No OFD packet to send [06:25:19]OFD Sender: No OFD packet to send [06:25:24]OFD Sender: No OFD packet to send [06:25:29]OFD Sender: No OFD packet to send [06:25:34]OFD Sender: No OFD packet to send [06:25:39]OFD Sender: No OFD packet to send [06:25:44]OFD Sender: No OFD packet to send [06:25:49]OFD Sender: No OFD packet to send [06:25:54]OFD Sender: No OFD packet to send [06:25:59]OFD Sender: No OFD packet to send [06:26:04]OFD Sender: No OFD packet to send [06:26:09]OFD Sender: No OFD packet to send [06:26:14]OFD Sender: No OFD packet to send [06:26:19]OFD Sender: No OFD packet to send [06:26:24]OFD Sender: No OFD packet to send [06:26:29]OFD Sender: No OFD packet to send [06:26:34]OFD Sender: No OFD packet to send [06:26:39]OFD Sender: No OFD packet to send [06:26:44]OFD Sender: No OFD packet to send [06:26:49]OFD Sender: No OFD packet to send [06:26:54]OFD Sender: No OFD packet to send [06:26:59]OFD Sender: No OFD packet to send [06:27:04]OFD Sender: No OFD packet to send [06:27:09]OFD Sender: No OFD packet to send [06:27:14]OFD Sender: No OFD packet to send [06:27:19]OFD Sender: No OFD packet to send [06:27:24]OFD Sender: No OFD packet to send [06:27:29]OFD Sender: No OFD packet to send [06:27:34]OFD Sender: No OFD packet to send [06:27:39]OFD Sender: No OFD packet to send [06:27:44]OFD Sender: No OFD packet to send [06:27:49]OFD Sender: No OFD packet to send [06:27:54]OFD Sender: No OFD packet to send [06:27:59]OFD Sender: No OFD packet to send [06:28:04]OFD Sender: No OFD packet to send [06:28:09]OFD Sender: No OFD packet to send [06:28:14]OFD Sender: No OFD packet to send [06:28:19]OFD Sender: No OFD packet to send [06:28:24]OFD Sender: No OFD packet to send [06:28:29]OFD Sender: No OFD packet to send [06:28:34]OFD Sender: No OFD packet to send [06:28:39]OFD Sender: No OFD packet to send [06:28:44]OFD Sender: No OFD packet to send [06:28:49]OFD Sender: No OFD packet to send [06:28:54]OFD Sender: No OFD packet to send [06:28:59]OFD Sender: No OFD packet to send [06:29:04]OFD Sender: No OFD packet to send [06:29:09]OFD Sender: No OFD packet to send [06:29:14]OFD Sender: No OFD packet to send [06:29:19]OFD Sender: No OFD packet to send [06:29:24]OFD Sender: No OFD packet to send [06:29:29]OFD Sender: No OFD packet to send [06:29:34]OFD Sender: No OFD packet to send [06:29:39]OFD Sender: No OFD packet to send [06:29:44]OFD Sender: No OFD packet to send [06:29:49]OFD Sender: No OFD packet to send [06:29:54]OFD Sender: No OFD packet to send [06:29:59]OFD Sender: No OFD packet to send [06:30:04]OFD Sender: No OFD packet to send [06:30:09]OFD Sender: No OFD packet to send [06:30:14]OFD Sender: No OFD packet to send [06:30:19]OFD Sender: No OFD packet to send [06:30:24]OFD Sender: No OFD packet to send [06:30:29]OFD Sender: No OFD packet to send [06:30:34]OFD Sender: No OFD packet to send [06:30:39]OFD Sender: No OFD packet to send [06:30:44]OFD Sender: No OFD packet to send [06:30:49]OFD Sender: No OFD packet to send [06:30:54]OFD Sender: No OFD packet to send [06:30:59]OFD Sender: No OFD packet to send [06:31:04]OFD Sender: No OFD packet to send [06:31:09]OFD Sender: No OFD packet to send [06:31:14]OFD Sender: No OFD packet to send [06:31:19]OFD Sender: No OFD packet to send [06:31:24]OFD Sender: No OFD packet to send [06:31:29]OFD Sender: No OFD packet to send [06:31:34]OFD Sender: No OFD packet to send [06:31:39]OFD Sender: No OFD packet to send [06:31:44]OFD Sender: No OFD packet to send [06:31:49]OFD Sender: No OFD packet to send [06:31:54]OFD Sender: No OFD packet to send [06:31:59]OFD Sender: No OFD packet to send [06:32:04]OFD Sender: No OFD packet to send [06:32:09]OFD Sender: No OFD packet to send [06:32:14]OFD Sender: No OFD packet to send [06:32:19]OFD Sender: No OFD packet to send [06:32:24]OFD Sender: No OFD packet to send [06:32:29]OFD Sender: No OFD packet to send [06:32:34]OFD Sender: No OFD packet to send [06:32:39]OFD Sender: No OFD packet to send [06:32:44]OFD Sender: No OFD packet to send [06:32:49]OFD Sender: No OFD packet to send [06:32:54]OFD Sender: No OFD packet to send [06:32:59]OFD Sender: No OFD packet to send [06:33:04]OFD Sender: No OFD packet to send [06:33:09]OFD Sender: No OFD packet to send [06:33:14]OFD Sender: No OFD packet to send [06:33:19]OFD Sender: No OFD packet to send [06:33:24]OFD Sender: No OFD packet to send [06:33:29]OFD Sender: No OFD packet to send [06:33:34]OFD Sender: No OFD packet to send [06:33:39]OFD Sender: No OFD packet to send [06:33:44]OFD Sender: No OFD packet to send [06:33:49]OFD Sender: No OFD packet to send [06:33:54]OFD Sender: No OFD packet to send [06:33:59]OFD Sender: No OFD packet to send [06:34:04]OFD Sender: No OFD packet to send [06:34:09]OFD Sender: No OFD packet to send [06:34:14]OFD Sender: No OFD packet to send [06:34:19]OFD Sender: No OFD packet to send [06:34:24]OFD Sender: No OFD packet to send [06:34:29]OFD Sender: No OFD packet to send [06:34:34]OFD Sender: No OFD packet to send [06:34:39]OFD Sender: No OFD packet to send [06:34:44]OFD Sender: No OFD packet to send [06:34:49]OFD Sender: No OFD packet to send [06:34:54]OFD Sender: No OFD packet to send [06:34:59]OFD Sender: No OFD packet to send [06:35:04]OFD Sender: No OFD packet to send [06:35:09]OFD Sender: No OFD packet to send [06:35:15]OFD Sender: No OFD packet to send [06:35:20]OFD Sender: No OFD packet to send [06:35:25]OFD Sender: No OFD packet to send [06:35:30]OFD Sender: No OFD packet to send [06:35:35]OFD Sender: No OFD packet to send [06:35:40]OFD Sender: No OFD packet to send [06:35:45]OFD Sender: No OFD packet to send [06:35:50]OFD Sender: No OFD packet to send [06:35:55]OFD Sender: No OFD packet to send [06:36:00]OFD Sender: No OFD packet to send [06:36:05]OFD Sender: No OFD packet to send [06:36:10]OFD Sender: No OFD packet to send [06:36:15]OFD Sender: No OFD packet to send [06:36:20]OFD Sender: No OFD packet to send [06:36:25]OFD Sender: No OFD packet to send [06:36:30]OFD Sender: No OFD packet to send [06:36:35]OFD Sender: No OFD packet to send [06:36:40]OFD Sender: No OFD packet to send [06:36:45]OFD Sender: No OFD packet to send [06:36:50]OFD Sender: No OFD packet to send [06:36:55]OFD Sender: No OFD packet to send [06:37:00]OFD Sender: No OFD packet to send [06:37:05]OFD Sender: No OFD packet to send [06:37:10]OFD Sender: No OFD packet to send [06:37:15]OFD Sender: No OFD packet to send [06:37:20]OFD Sender: No OFD packet to send [06:37:25]OFD Sender: No OFD packet to send [06:37:30]OFD Sender: No OFD packet to send [06:37:35]OFD Sender: No OFD packet to send [06:37:40]OFD Sender: No OFD packet to send [06:37:45]OFD Sender: No OFD packet to send [06:37:50]OFD Sender: No OFD packet to send [06:37:55]OFD Sender: No OFD packet to send [06:38:00]OFD Sender: No OFD packet to send [06:38:05]OFD Sender: No OFD packet to send [06:38:10]OFD Sender: No OFD packet to send [06:38:15]OFD Sender: No OFD packet to send [06:38:20]OFD Sender: No OFD packet to send [06:38:25]OFD Sender: No OFD packet to send [06:38:30]OFD Sender: No OFD packet to send [06:38:35]OFD Sender: No OFD packet to send [06:38:40]OFD Sender: No OFD packet to send [06:38:45]OFD Sender: No OFD packet to send [06:38:50]OFD Sender: No OFD packet to send [06:38:55]OFD Sender: No OFD packet to send [06:39:00]OFD Sender: No OFD packet to send [06:39:05]OFD Sender: No OFD packet to send [06:39:10]OFD Sender: No OFD packet to send [06:39:15]OFD Sender: No OFD packet to send [06:39:20]OFD Sender: No OFD packet to send [06:39:25]OFD Sender: No OFD packet to send [06:39:30]OFD Sender: No OFD packet to send [06:39:35]OFD Sender: No OFD packet to send [06:39:40]OFD Sender: No OFD packet to send [06:39:45]OFD Sender: No OFD packet to send [06:39:50]OFD Sender: No OFD packet to send [06:39:55]OFD Sender: No OFD packet to send [06:40:00]OFD Sender: No OFD packet to send [06:40:05]OFD Sender: No OFD packet to send [06:40:10]OFD Sender: No OFD packet to send [06:40:15]OFD Sender: No OFD packet to send [06:40:20]OFD Sender: No OFD packet to send [06:40:25]OFD Sender: No OFD packet to send [06:40:30]OFD Sender: No OFD packet to send [06:40:35]OFD Sender: No OFD packet to send [06:40:40]OFD Sender: No OFD packet to send [06:40:45]OFD Sender: No OFD packet to send [06:40:50]OFD Sender: No OFD packet to send [06:40:55]OFD Sender: No OFD packet to send [06:41:00]OFD Sender: No OFD packet to send [06:41:05]OFD Sender: No OFD packet to send [06:41:10]OFD Sender: No OFD packet to send [06:41:15]OFD Sender: No OFD packet to send [06:41:20]OFD Sender: No OFD packet to send [06:41:25]OFD Sender: No OFD packet to send [06:41:30]OFD Sender: No OFD packet to send [06:41:35]OFD Sender: No OFD packet to send [06:41:40]OFD Sender: No OFD packet to send [06:41:45]OFD Sender: No OFD packet to send [06:41:50]OFD Sender: No OFD packet to send [06:41:55]OFD Sender: No OFD packet to send [06:42:00]OFD Sender: No OFD packet to send [06:42:05]OFD Sender: No OFD packet to send [06:42:10]OFD Sender: No OFD packet to send [06:42:15]OFD Sender: No OFD packet to send [06:42:20]OFD Sender: No OFD packet to send [06:42:25]OFD Sender: No OFD packet to send [06:42:30]OFD Sender: No OFD packet to send [06:42:35]OFD Sender: No OFD packet to send [06:42:40]OFD Sender: No OFD packet to send [06:42:45]OFD Sender: No OFD packet to send [06:42:50]OFD Sender: No OFD packet to send [06:42:55]OFD Sender: No OFD packet to send [06:43:00]OFD Sender: No OFD packet to send [06:43:05]OFD Sender: No OFD packet to send [06:43:10]OFD Sender: No OFD packet to send [06:43:15]OFD Sender: No OFD packet to send [06:43:20]OFD Sender: No OFD packet to send [06:43:25]OFD Sender: No OFD packet to send [06:43:30]OFD Sender: No OFD packet to send [06:43:35]OFD Sender: No OFD packet to send [06:43:40]OFD Sender: No OFD packet to send [06:43:45]OFD Sender: No OFD packet to send [06:43:50]OFD Sender: No OFD packet to send [06:43:55]OFD Sender: No OFD packet to send [06:44:00]OFD Sender: No OFD packet to send [06:44:05]OFD Sender: No OFD packet to send [06:44:10]OFD Sender: No OFD packet to send [06:44:15]OFD Sender: No OFD packet to send [06:44:20]OFD Sender: No OFD packet to send [06:44:25]OFD Sender: No OFD packet to send [06:44:30]OFD Sender: No OFD packet to send [06:44:35]OFD Sender: No OFD packet to send [06:44:40]OFD Sender: No OFD packet to send [06:44:45]OFD Sender: No OFD packet to send [06:44:50]OFD Sender: No OFD packet to send [06:44:55]OFD Sender: No OFD packet to send [06:45:00]OFD Sender: No OFD packet to send [06:45:05]OFD Sender: No OFD packet to send [06:45:10]OFD Sender: No OFD packet to send [06:45:15]OFD Sender: No OFD packet to send [06:45:20]OFD Sender: No OFD packet to send [06:45:25]OFD Sender: No OFD packet to send [06:45:30]OFD Sender: No OFD packet to send [06:45:35]OFD Sender: No OFD packet to send [06:45:40]OFD Sender: No OFD packet to send [06:45:45]OFD Sender: No OFD packet to send [06:45:50]OFD Sender: No OFD packet to send [06:45:55]OFD Sender: No OFD packet to send [06:46:00]OFD Sender: No OFD packet to send [06:46:05]OFD Sender: No OFD packet to send [06:46:10]OFD Sender: No OFD packet to send [06:46:15]OFD Sender: No OFD packet to send [06:46:20]OFD Sender: No OFD packet to send [06:46:25]OFD Sender: No OFD packet to send [06:46:30]OFD Sender: No OFD packet to send [06:46:35]OFD Sender: No OFD packet to send [06:46:40]OFD Sender: No OFD packet to send [06:46:45]OFD Sender: No OFD packet to send [06:46:50]OFD Sender: No OFD packet to send [06:46:55]OFD Sender: No OFD packet to send [06:47:00]OFD Sender: No OFD packet to send [06:47:05]OFD Sender: No OFD packet to send [06:47:10]OFD Sender: No OFD packet to send [06:47:15]OFD Sender: No OFD packet to send [06:47:20]OFD Sender: No OFD packet to send [06:47:25]OFD Sender: No OFD packet to send [06:47:30]OFD Sender: No OFD packet to send [06:47:35]OFD Sender: No OFD packet to send [06:47:40]OFD Sender: No OFD packet to send [06:47:45]OFD Sender: No OFD packet to send [06:47:50]OFD Sender: No OFD packet to send [06:47:52]accept exits with 7 [06:47:52]New connection [06:47:52]New thread 3066699108 created [06:47:52]Thread 3066555748 joined [06:47:52]Waiting for new connection... [06:47:52] Sock 7.Parse request [06:47:52]Sock 7.Check first char [06:47:52]Sock 7.First char is OK [06:47:52]request: POST /json_proto HTTP/1.0 [06:47:52]Method: POST [06:47:52]URL: /json_proto [06:47:52]Method is POST - this is cgi request [06:47:52]url: /json_proto [06:47:52]query_string will be loaded in cgi processing [06:47:52]execute_cgi json_proto POST (null) [06:47:52]execute_cgi path=json_proto method=POST [06:47:52]POST find Content-Length [06:47:52]Host: 172.17.53.68:8080 [06:47:52]Content-Length: 677 [06:47:52]Content-Type: application/json [06:47:52] [06:47:52]POST finish read [06:47:52]Found Content-Length = 677 [06:47:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874280", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 5.980, "sum" : 400.06, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:47:52]execute_script... [06:47:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874280", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 5.980, "sum" : 400.06, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:47:52]POST & json_proto [06:47:52]process_json_proto [06:47:52]json parsed OK: [06:47:52]protocol is kg_v1.0 [06:47:52]action value=close_receipt [06:47:52]process_action close_receipt [06:47:52]cmd_close_receipt [06:47:52]MH_GetDate [06:47:52]Write to MH i2c: F0 00 00 C2 15 C6 [06:47:52]Write i2c OK [06:47:52]MH_I2C_Read... [06:47:52]Read from MH i2c: F0 [06:47:52]MH_I2C_Read... [06:47:52]Read from MH i2c: F0 09 00 [06:47:52]MH_I2C_Read... [06:47:52]Read from MH i2c: F0 09 00 C2 15 00 9F A7 14 67 C5 A4 76 66 D5 [06:47:52]GetLastDocTimeStamp 1729400578 [06:47:52]current date 1729406879 [06:47:52]FM_GetShiftState [06:47:52]SAM_PROTO_GetShiftState [06:47:52]wFMCommunicate request_size=4 [06:47:52]MH_SAM_APDU [06:47:52]CAPDU: 80 13 01 00 [06:47:52]Write to MH i2c: E2 08 00 C3 15 80 13 01 00 00 00 00 00 55 [06:47:52]Write i2c OK [06:47:52]MH_I2C_Read... [06:47:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:47:53]Read from MH i2c: E2 [06:47:53]MH_I2C_Read... [06:47:53]Read from MH i2c: E2 0E 00 [06:47:53]MH_I2C_Read... [06:47:53]Read from MH i2c: E2 0E 00 C3 15 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 AA [06:47:53]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [06:47:53]wFMCommunicate OK [06:47:53]SAM_PROTO_GetShiftState done [06:47:53]FM_GetShiftState done [06:47:53]opened in 1729383299 [06:47:53]opened+sec_in_day 1729469699 [06:47:53]quantity*price = 40006 [06:47:53]sum+1 = 40007 [06:47:53]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.06 ИТОГО: 400.00 ВнеÑено: 400.00 СДÐЧÐ: 0.00 ÐСП 1% : 3.54 ÐДС 12% : 42.48 Ðаличными: 400.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 7 20.10.2024 06:47 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37159 ФПД: 153494504921836 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T064759&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37159&fm=153494504921836&tin=02508201610067®Number=0000000000098149&sum=40000 [06:47:54]StoreToDocumentArchive [06:47:54]shift 461 fd 37159 [06:47:54]save to /storage/0461/doc_00037159 [06:47:54]save last doc name /storage/0461/doc_00037159 to /storage/kkm_last_doc_name [06:47:54]save OK [06:47:54]Clear old archive folders... [06:47:54]ProcessDocumentItem done err = 0, tmpTLVsize=251 [06:47:54]tlvbuf is 0097ABE0 [06:47:54]SAM_PROTO_ClearQueue [06:47:54]wFMCommunicate request_size=4 [06:47:54]MH_SAM_APDU [06:47:54]CAPDU: 80 09 00 00 [06:47:54]Write to MH i2c: E2 08 00 D0 15 80 09 00 00 00 00 00 00 57 [06:47:54]Write i2c OK [06:47:54]MH_I2C_Read... [06:47:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:47:54]Read from MH i2c: E2 [06:47:54]MH_I2C_Read... [06:47:54]Read from MH i2c: E2 03 00 [06:47:54]MH_I2C_Read... [06:47:54]Read from MH i2c: E2 03 00 D0 15 00 90 00 59 [06:47:54]RAPDU: 90 00 [06:47:54]wFMCommunicate OK [06:47:54]SAM_PROTO_ClearQueue done [06:47:54]KKMCreateOFDPacket [06:47:54]OFDProtocolAddRootSTLVToBuf [06:47:54]FM_MakeSignedData [06:47:54]FM_MakeSignedData [06:47:54]SAM_PROTO_SignData [06:47:54]wFMCommunicate request_size=4 [06:47:54]MH_SAM_APDU [06:47:54]CAPDU: 80 0D 01 02 [06:47:54]Write to MH i2c: E2 08 00 D1 15 80 0D 01 02 00 00 00 00 5F [06:47:54]Write i2c OK [06:47:54]MH_I2C_Read... [06:47:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:47:54]Read from MH i2c: E2 [06:47:54]MH_I2C_Read... [06:47:54]Read from MH i2c: E2 03 00 [06:47:54]MH_I2C_Read... [06:47:54]Read from MH i2c: E2 03 00 D1 15 00 90 00 5A [06:47:54]RAPDU: 90 00 [06:47:54]wFMCommunicate OK [06:47:54]wFMCommunicate request_size=255 [06:47:54]MH_SAM_APDU [06:47:54]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 5C 17 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 46 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 9F A7 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 27 91 00 00 35 04 06 00 8B [06:47:54]Write to MH i2c: E2 02 01 D2 15 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 5C 17 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 46 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 9F A7 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 27 91 00 00 35 04 06 00 8B 00 00 9C [06:47:54]Write i2c OK [06:47:54]MH_I2C_Read... [06:47:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:47:54]Read from MH i2c: E2 [06:47:54]MH_I2C_Read... [06:47:54]Read from MH i2c: E2 03 00 [06:47:54]MH_I2C_Read... [06:47:54]Read from MH i2c: E2 03 00 D2 15 00 90 00 5B [06:47:54]RAPDU: 90 00 [06:47:54]wFMCommunicate OK [06:47:54]wFMCommunicate request_size=10 [06:47:54]MH_SAM_APDU [06:47:54]CAPDU: 80 0D 02 02 05 9A 39 70 DA EC [06:47:54]Write to MH i2c: E2 0D 00 D3 15 80 0D 02 02 05 00 9A 39 70 DA EC 00 00 75 [06:47:54]Write i2c OK [06:47:54]MH_I2C_Read... [06:47:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:47:54]Read from MH i2c: E2 [06:47:54]MH_I2C_Read... [06:47:54]Read from MH i2c: E2 03 00 [06:47:54]MH_I2C_Read... [06:47:54]Read from MH i2c: E2 03 00 D3 15 00 90 00 5C [06:47:54]RAPDU: 90 00 [06:47:54]wFMCommunicate OK [06:47:54]wFMCommunicate request_size=4 [06:47:54]MH_SAM_APDU [06:47:54]CAPDU: 80 0D 03 02 [06:47:54]Write to MH i2c: E2 08 00 D4 15 80 0D 03 02 00 00 00 00 64 [06:47:54]Write i2c OK [06:47:54]MH_I2C_Read... [06:47:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:47:54]Read from MH i2c: E2 [06:47:54]MH_I2C_Read... [06:47:54]Read from MH i2c: E2 0B 00 [06:47:54]MH_I2C_Read... [06:47:54]Read from MH i2c: E2 0B 00 D4 15 00 6E 4A EE 51 A5 C7 CA AF 90 00 41 [06:47:54]RAPDU: 6E 4A EE 51 A5 C7 CA AF 90 00 [06:47:54]wFMCommunicate OK [06:47:54]SAM_PROTO_SignData done [06:47:54]FM_MakeSignedData done [06:47:54]CreateOFDProtocolMessage [06:47:54]wFMCommunicate request_size=4 [06:47:54]MH_SAM_APDU [06:47:54]CAPDU: 80 11 00 00 [06:47:54]Write to MH i2c: E2 08 00 D5 15 80 11 00 00 00 00 00 00 64 [06:47:54]Write i2c OK [06:47:54]MH_I2C_Read... [06:47:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:47:54]Read from MH i2c: E2 [06:47:54]MH_I2C_Read... [06:47:54]Read from MH i2c: E2 17 00 [06:47:54]MH_I2C_Read... [06:47:54]Read from MH i2c: E2 17 00 D5 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 B7 [06:47:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [06:47:54]wFMCommunicate OK [06:47:54]CreateOFDProtocolMessage done [06:47:54]OFDSenderStorePacket 37159 [06:47:54]StoreOFDPacket docnum=37159 [06:47:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0F 01 00 00 45 AB 07 01 33 9C 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 5C 17 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 46 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 9F A7 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 27 91 00 00 35 04 06 00 8B 9A 39 70 DA EC 6E 4A EE 51 A5 C7 CA AF [06:47:54]CheckFolder [06:47:54]dirname=/storage/ofd_packets [06:47:54]CheckFolder done [06:47:54]ProducePacketName [06:47:54]name=ofd_packets/00037159 [06:47:54]NVStorageSaveData ofd_packets/00037159 [06:47:54]File name is /storage/ofd_packets/00037159 [06:47:54]Write 301 bytes [06:47:54]NVStorageSaveData done [06:47:54]OFDSenderStorePacket done [06:47:54]KKMCreateOFDPacket done [06:47:54]NVStorageSaveData kkm_last_timestamp [06:47:54]File name is /storage/kkm_last_timestamp [06:47:54]Write 4 bytes [06:47:54]NVStorageSaveData done [06:47:54]ExternCall_PrintAddStr [06:47:54]wPrintStart [06:47:54]Write to MH i2c: 01 00 00 D6 15 EB [06:47:54]Write i2c OK [06:47:54]MH_I2C_Read... [06:47:54]Read from MH i2c: 01 [06:47:54]MH_I2C_Read... [06:47:54]Read from MH i2c: 01 07 00 [06:47:54]MH_I2C_Read... [06:47:54]Read from MH i2c: 01 07 00 D6 15 00 00 00 00 00 FF 0F 00 [06:47:54]RasterBufferAndPrint [06:47:54]line Счет N : (1)874280 [06:47:54]line ИÐÐ: 02508201610067 [06:47:54]line Контрольно-КаÑÑовый Чек [06:47:54]line ПРОДÐЖР[06:47:54]line ТРК (МРК, ГÐК) : 42 [06:47:54]line Товар: 2710124130 [06:47:54]line Ðи-92-К-5 [06:47:54]line 5.980 * 66.90 [06:47:54]line = 400.06 [06:47:54]line ÐДС 12% ÐСП 1% [06:47:54]line > о реализуемом товаре [06:47:54]line ОКРУГЛЕÐИЕ: -0.06 [06:47:54]line ИТОГО: 400.00 [06:47:54]line ВнеÑено: 400.00 [06:47:54]line СДÐЧÐ: 0.00 [06:47:54]line ÐСП 1% : 3.54 [06:47:54]line ÐДС 12% : 42.48 [06:47:54]line Ðаличными: 400.00 [06:47:54]line Безнал.: 0.00 [06:47:54]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [06:47:54]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [06:47:54]line СÐО: Общий режим [06:47:54]line Чек 7 20.10.2024 06:47 [06:47:54]line Смена: 461 ФФД: 1.0 [06:47:54]line ЗÐМ: 0300000235 [06:47:54]line РÐМ: 0000000000098149 [06:47:54]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [06:47:54]line ФМ: 0000000000965372 [06:47:54]line ФД: 37159 [06:47:54]line ФПД: 153494504921836 [06:47:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T064759&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37159&fm=153494504921836&tin=02508201610067®Number=0000000000098149&sum=40000 [06:47:54]OFD Sender: Processing packet 37159 [packets to send 25, broken 24] [06:47:54]ProducePacketName [06:47:54]name=ofd_packets/00037159 [06:47:54]OFD Sender: To server: ‡•öpG, [06:47:54]CommunicateWithHost lk.salyk.kg:30040 [06:47:54]ConnectInit lk.salyk.kg [06:47:54]written 0, free lines is 4095 [06:47:55]Connected sock=10 [06:47:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0F 01 00 00 45 AB 07 01 33 9C 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 5C 17 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 46 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 9F A7 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 27 91 00 00 35 04 06 00 8B 9A 39 70 DA EC 6E 4A EE 51 A5 C7 CA AF [06:47:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 A4 73 47 00 95 6B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 27 91 00 00 F4 03 04 00 32 50 14 67 B6 04 01 00 00 D0 48 7E 11 77 25 11 1B [06:47:55]CommunicateWithHost err = 0 [06:47:55]CheckOFDResponse [06:47:55]1017 (14) - 77093643461234 [06:47:55]1041 (16) - 0000000000965372 [06:47:55]1040 (4) - 37159 [06:47:55]1012 (4) - 20.10.2024 00:34 [06:47:55]1206 (1) - 0 [06:47:55]OFD Sender: Remove packet 37159 [06:47:55]ProducePacketName [06:47:55]name=ofd_packets/00037159 [06:47:55]NVStorageDeleteData [06:47:55]Write to MH i2c: 01 00 00 01 16 17 [06:47:55]Write i2c OK [06:47:55]MH_I2C_Read... [06:47:55]Read from MH i2c: 01 [06:47:55]MH_I2C_Read... [06:47:55]Read from MH i2c: 01 07 00 [06:47:55]MH_I2C_Read... [06:47:55]Read from MH i2c: 01 07 00 01 16 00 00 00 00 00 EC 0C 16 [06:47:55]RasterBufferAndPrint [06:47:55]line [06:47:55]line [06:47:55]line [06:47:55]line [06:47:55]line [06:47:55]written 0, free lines is 3314 [06:47:55]process_action close_receipt done [06:47:55]requested_data is exist [06:47:55]produce_requested_data [06:47:55]requested_item fm.sn is exist - process it [06:47:55]wFMCommunicate request_size=4 [06:47:55]MH_SAM_APDU [06:47:55]CAPDU: 80 11 00 00 [06:47:55]Write to MH i2c: E2 08 00 08 16 80 11 00 00 00 00 00 00 98 [06:47:55]Write i2c OK [06:47:55]MH_I2C_Read... [06:47:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:47:55]Read from MH i2c: E2 [06:47:55]MH_I2C_Read... [06:47:55]Read from MH i2c: E2 17 00 [06:47:55]MH_I2C_Read... [06:47:55]Read from MH i2c: E2 17 00 08 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 EB [06:47:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [06:47:55]wFMCommunicate OK [06:47:55]requested_item fd.num is exist - process it [06:47:55]SAM_PROTO_GetFieldsCounters [06:47:55]wFMCommunicate request_size=4 [06:47:55]MH_SAM_APDU [06:47:55]CAPDU: 80 13 00 00 [06:47:55]Write to MH i2c: E2 08 00 09 16 80 13 00 00 00 00 00 00 9B [06:47:55]Write i2c OK [06:47:55]MH_I2C_Read... [06:47:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:47:55]Read from MH i2c: E2 [06:47:55]MH_I2C_Read... [06:47:55]Read from MH i2c: E2 62 00 [06:47:55]MH_I2C_Read... [06:47:55]Read from MH i2c: E2 62 00 09 16 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 27 91 00 00 0E 04 04 00 CD 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 5D [06:47: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 27 91 00 00 0E 04 04 00 CD 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 [06:47:55]wFMCommunicate OK [06:47:55]SAM_PROTO_GetFieldsCounters done [06:47:55]requested_item shift.num is exist - process it [06:47:55]requested_item shift.opened is exist - process it [06:47:55]req_shift_opened [06:47:55]FM_GetShiftState [06:47:55]SAM_PROTO_GetShiftState [06:47:55]wFMCommunicate request_size=4 [06:47:55]MH_SAM_APDU [06:47:55]CAPDU: 80 13 01 00 [06:47:55]Write to MH i2c: E2 08 00 0A 16 80 13 01 00 00 00 00 00 9D [06:47:55]Write i2c OK [06:47:55]MH_I2C_Read... [06:47:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:47:55]Read from MH i2c: E2 [06:47:55]MH_I2C_Read... [06:47:55]Read from MH i2c: E2 0E 00 [06:47:55]MH_I2C_Read... [06:47:55]Read from MH i2c: E2 0E 00 0A 16 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 F2 [06:47:55]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [06:47:55]wFMCommunicate OK [06:47:55]SAM_PROTO_GetShiftState done [06:47:55]FM_GetShiftState done [06:47:55]req_shift_opened done [06:47:55]requested_item shift.open_date is exist - process it [06:47:55]req_shift_open_date [06:47:55]req_shift_open_date done [06:47:55]produce_requested_data done [06:47:55]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37159,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [06:47:55]process_action_free close_receipt [06:47:55]json_value_free [06:47:55]json_value_free done [06:47:55]process_json_proto returns [06:47:55]Send response to host [06:47:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37159,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [06:47:55]free response buf [06:47:55]execute_script done [06:47:55]execute_script returns [06:47:55]free content buf [06:47:55]Sock 7.Close socket [06:47:55]Sock 7.Thread stoped [06:47:55]OFD Sender: No OFD packet to send [06:48:00]OFD Sender: No OFD packet to send [06:48:05]OFD Sender: No OFD packet to send [06:48:10]OFD Sender: No OFD packet to send [06:48:15]OFD Sender: No OFD packet to send [06:48:20]OFD Sender: No OFD packet to send [06:48:25]OFD Sender: No OFD packet to send [06:48:30]OFD Sender: No OFD packet to send [06:48:35]OFD Sender: No OFD packet to send [06:48:40]OFD Sender: No OFD packet to send [06:48:45]OFD Sender: No OFD packet to send [06:48:50]OFD Sender: No OFD packet to send [06:48:55]OFD Sender: No OFD packet to send [06:49:00]OFD Sender: No OFD packet to send [06:49:05]OFD Sender: No OFD packet to send [06:49:09]accept exits with 9 [06:49:09]New connection [06:49:09]New thread 3066555748 created [06:49:09]Thread 3066699108 joined [06:49:09]Waiting for new connection... [06:49:09] Sock 9.Parse request [06:49:09]Sock 9.Check first char [06:49:09]Sock 9.First char is OK [06:49:09]request: POST /json_proto HTTP/1.0 [06:49:09]Method: POST [06:49:09]URL: /json_proto [06:49:09]Method is POST - this is cgi request [06:49:09]url: /json_proto [06:49:09]query_string will be loaded in cgi processing [06:49:09]execute_cgi json_proto POST (null) [06:49:09]execute_cgi path=json_proto method=POST [06:49:09]POST find Content-Length [06:49:09]Host: 172.17.53.68:8080 [06:49:09]Content-Length: 677 [06:49:09]Content-Type: application/json [06:49:09] [06:49:09]POST finish read [06:49:09]Found Content-Length = 677 [06:49:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874281", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 2.700, "sum" : 200.34, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 200.00, "total" : 200.00, "payments": [ { "type": 0, "sum" : 200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:49:09]execute_script... [06:49:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874281", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 2.700, "sum" : 200.34, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 200.00, "total" : 200.00, "payments": [ { "type": 0, "sum" : 200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:49:09]POST & json_proto [06:49:09]process_json_proto [06:49:09]json parsed OK: [06:49:09]protocol is kg_v1.0 [06:49:09]action value=close_receipt [06:49:09]process_action close_receipt [06:49:09]cmd_close_receipt [06:49:09]MH_GetDate [06:49:09]Write to MH i2c: F0 00 00 0B 16 10 [06:49:09]Write i2c OK [06:49:09]MH_I2C_Read... [06:49:09]Read from MH i2c: F0 [06:49:09]MH_I2C_Read... [06:49:09]Read from MH i2c: F0 09 00 [06:49:09]MH_I2C_Read... [06:49:09]Read from MH i2c: F0 09 00 0B 16 00 EB A7 14 67 C5 A4 76 66 6B [06:49:09]GetLastDocTimeStamp 1729406879 [06:49:09]current date 1729406955 [06:49:09]FM_GetShiftState [06:49:09]SAM_PROTO_GetShiftState [06:49:09]wFMCommunicate request_size=4 [06:49:09]MH_SAM_APDU [06:49:09]CAPDU: 80 13 01 00 [06:49:09]Write to MH i2c: E2 08 00 0C 16 80 13 01 00 00 00 00 00 9F [06:49:09]Write i2c OK [06:49:09]MH_I2C_Read... [06:49:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:49:09]Read from MH i2c: E2 [06:49:09]MH_I2C_Read... [06:49:09]Read from MH i2c: E2 0E 00 [06:49:09]MH_I2C_Read... [06:49:09]Read from MH i2c: E2 0E 00 0C 16 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 F4 [06:49:09]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [06:49:09]wFMCommunicate OK [06:49:09]SAM_PROTO_GetShiftState done [06:49:09]FM_GetShiftState done [06:49:09]opened in 1729383299 [06:49:09]opened+sec_in_day 1729469699 [06:49:09]quantity*price = 20034 [06:49:09]sum+1 = 20035 [06:49:09]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.34 ИТОГО: 200.00 ВнеÑено: 200.00 СДÐЧÐ: 0.00 ÐСП 1% : 1.77 ÐДС 12% : 21.27 Ðаличными: 200.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 8 20.10.2024 06:49 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37160 ФПД: 264275931693499 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T064915&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37160&fm=264275931693499&tin=02508201610067®Number=0000000000098149&sum=20000 [06:49:10]StoreToDocumentArchive [06:49:10]shift 461 fd 37160 [06:49:10]save to /storage/0461/doc_00037160 [06:49:10]save last doc name /storage/0461/doc_00037160 to /storage/kkm_last_doc_name [06:49:10]save OK [06:49:10]Clear old archive folders... [06:49:10]ProcessDocumentItem done err = 0, tmpTLVsize=251 [06:49:10]tlvbuf is 00975010 [06:49:10]SAM_PROTO_ClearQueue [06:49:10]wFMCommunicate request_size=4 [06:49:10]MH_SAM_APDU [06:49:10]CAPDU: 80 09 00 00 [06:49:10]Write to MH i2c: E2 08 00 19 16 80 09 00 00 00 00 00 00 A1 [06:49:10]Write i2c OK [06:49:10]MH_I2C_Read... [06:49:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:49:10]Read from MH i2c: E2 [06:49:10]MH_I2C_Read... [06:49:10]Read from MH i2c: E2 03 00 [06:49:10]MH_I2C_Read... [06:49:10]Read from MH i2c: E2 03 00 19 16 00 90 00 A3 [06:49:10]RAPDU: 90 00 [06:49:10]wFMCommunicate OK [06:49:10]SAM_PROTO_ClearQueue done [06:49:10]KKMCreateOFDPacket [06:49:10]OFDProtocolAddRootSTLVToBuf [06:49:10]FM_MakeSignedData [06:49:10]FM_MakeSignedData [06:49:10]SAM_PROTO_SignData [06:49:10]wFMCommunicate request_size=4 [06:49:10]MH_SAM_APDU [06:49:10]CAPDU: 80 0D 01 02 [06:49:10]Write to MH i2c: E2 08 00 1A 16 80 0D 01 02 00 00 00 00 A9 [06:49:10]Write i2c OK [06:49:10]MH_I2C_Read... [06:49:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:49:10]Read from MH i2c: E2 [06:49:10]MH_I2C_Read... [06:49:10]Read from MH i2c: E2 03 00 [06:49:10]MH_I2C_Read... [06:49:10]Read from MH i2c: E2 03 00 1A 16 00 90 00 A4 [06:49:10]RAPDU: 90 00 [06:49:10]wFMCommunicate OK [06:49:10]wFMCommunicate request_size=255 [06:49:10]MH_SAM_APDU [06:49:10]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 8C 0A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 42 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4F 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 EB A7 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 28 91 00 00 35 04 06 00 F0 [06:49:10]Write to MH i2c: E2 02 01 1B 16 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 8C 0A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 42 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4F 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 EB A7 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 28 91 00 00 35 04 06 00 F0 00 00 6B [06:49:10]Write i2c OK [06:49:10]MH_I2C_Read... [06:49:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:49:10]Read from MH i2c: E2 [06:49:10]MH_I2C_Read... [06:49:10]Read from MH i2c: E2 03 00 [06:49:10]MH_I2C_Read... [06:49:10]Read from MH i2c: E2 03 00 1B 16 00 90 00 A5 [06:49:10]RAPDU: 90 00 [06:49:10]wFMCommunicate OK [06:49:10]wFMCommunicate request_size=10 [06:49:10]MH_SAM_APDU [06:49:10]CAPDU: 80 0D 02 02 05 5B 89 08 01 BB [06:49:10]Write to MH i2c: E2 0D 00 1C 16 80 0D 02 02 05 00 5B 89 08 01 BB 00 00 5E [06:49:10]Write i2c OK [06:49:10]MH_I2C_Read... [06:49:10]OFD Sender: No OFD packet to send [06:49:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:49:10]Read from MH i2c: E2 [06:49:10]MH_I2C_Read... [06:49:10]Read from MH i2c: E2 03 00 [06:49:10]MH_I2C_Read... [06:49:10]Read from MH i2c: E2 03 00 1C 16 00 90 00 A6 [06:49:10]RAPDU: 90 00 [06:49:10]wFMCommunicate OK [06:49:10]wFMCommunicate request_size=4 [06:49:10]MH_SAM_APDU [06:49:10]CAPDU: 80 0D 03 02 [06:49:10]Write to MH i2c: E2 08 00 1D 16 80 0D 03 02 00 00 00 00 AE [06:49:10]Write i2c OK [06:49:10]MH_I2C_Read... [06:49:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:49:10]Read from MH i2c: E2 [06:49:10]MH_I2C_Read... [06:49:10]Read from MH i2c: E2 0B 00 [06:49:10]MH_I2C_Read... [06:49:11]Read from MH i2c: E2 0B 00 1D 16 00 50 1B 90 E4 42 9A 85 14 90 00 03 [06:49:11]RAPDU: 50 1B 90 E4 42 9A 85 14 90 00 [06:49:11]wFMCommunicate OK [06:49:11]SAM_PROTO_SignData done [06:49:11]FM_MakeSignedData done [06:49:11]CreateOFDProtocolMessage [06:49:11]wFMCommunicate request_size=4 [06:49:11]MH_SAM_APDU [06:49:11]CAPDU: 80 11 00 00 [06:49:11]Write to MH i2c: E2 08 00 1E 16 80 11 00 00 00 00 00 00 AE [06:49:11]Write i2c OK [06:49:11]MH_I2C_Read... [06:49:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:49:11]Read from MH i2c: E2 [06:49:11]MH_I2C_Read... [06:49:11]Read from MH i2c: E2 17 00 [06:49:11]MH_I2C_Read... [06:49:11]Read from MH i2c: E2 17 00 1E 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 01 [06:49:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [06:49:11]wFMCommunicate OK [06:49:11]CreateOFDProtocolMessage done [06:49:11]OFDSenderStorePacket 37160 [06:49:11]StoreOFDPacket docnum=37160 [06:49:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0F 01 00 00 AF 28 07 01 DB 42 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 8C 0A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 42 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4F 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 EB A7 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 28 91 00 00 35 04 06 00 F0 5B 89 08 01 BB 50 1B 90 E4 42 9A 85 14 [06:49:11]CheckFolder [06:49:11]dirname=/storage/ofd_packets [06:49:11]CheckFolder done [06:49:11]ProducePacketName [06:49:11]name=ofd_packets/00037160 [06:49:11]NVStorageSaveData ofd_packets/00037160 [06:49:11]File name is /storage/ofd_packets/00037160 [06:49:11]Write 301 bytes [06:49:11]NVStorageSaveData done [06:49:11]OFDSenderStorePacket done [06:49:11]KKMCreateOFDPacket done [06:49:11]NVStorageSaveData kkm_last_timestamp [06:49:11]File name is /storage/kkm_last_timestamp [06:49:11]Write 4 bytes [06:49:11]NVStorageSaveData done [06:49:11]ExternCall_PrintAddStr [06:49:11]wPrintStart [06:49:11]Write to MH i2c: 01 00 00 1F 16 35 [06:49:11]Write i2c OK [06:49:11]MH_I2C_Read... [06:49:11]Read from MH i2c: 01 [06:49:11]MH_I2C_Read... [06:49:11]Read from MH i2c: 01 07 00 [06:49:11]MH_I2C_Read... [06:49:11]Read from MH i2c: 01 07 00 1F 16 00 00 00 00 00 FF 0F 4A [06:49:11]RasterBufferAndPrint [06:49:11]line Счет N : (1)874281 [06:49:11]line ИÐÐ: 02508201610067 [06:49:11]line Контрольно-КаÑÑовый Чек [06:49:11]line ПРОДÐЖР[06:49:11]line ТРК (МРК, ГÐК) : 31 [06:49:11]line Товар: 2710124500 [06:49:11]line Ðи-95-К-5 [06:49:11]line 2.700 * 74.20 [06:49:11]line = 200.34 [06:49:11]line ÐДС 12% ÐСП 1% [06:49:11]line > о реализуемом товаре [06:49:11]line ОКРУГЛЕÐИЕ: -0.34 [06:49:11]line ИТОГО: 200.00 [06:49:11]line ВнеÑено: 200.00 [06:49:11]line СДÐЧÐ: 0.00 [06:49:11]line ÐСП 1% : 1.77 [06:49:11]line ÐДС 12% : 21.27 [06:49:11]line Ðаличными: 200.00 [06:49:11]line Безнал.: 0.00 [06:49:11]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [06:49:11]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [06:49:11]line СÐО: Общий режим [06:49:11]line Чек 8 20.10.2024 06:49 [06:49:11]line Смена: 461 ФФД: 1.0 [06:49:11]line ЗÐМ: 0300000235 [06:49:11]line РÐМ: 0000000000098149 [06:49:11]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [06:49:11]line ФМ: 0000000000965372 [06:49:11]line ФД: 37160 [06:49:11]line ФПД: 264275931693499 [06:49:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T064915&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37160&fm=264275931693499&tin=02508201610067®Number=0000000000098149&sum=20000 [06:49:11]OFD Sender: Processing packet 37160 [packets to send 25, broken 24] [06:49:11]ProducePacketName [06:49:11]name=ofd_packets/00037160 [06:49:11]OFD Sender: To server: ‡•öpG, [06:49:11]CommunicateWithHost lk.salyk.kg:30040 [06:49:11]ConnectInit lk.salyk.kg [06:49:11]written 0, free lines is 4095 [06:49:11]Connected sock=10 [06:49: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 33 37 32 0F 01 00 00 AF 28 07 01 DB 42 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 8C 0A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 42 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4F 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 EB A7 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 28 91 00 00 35 04 06 00 F0 5B 89 08 01 BB 50 1B 90 E4 42 9A 85 14 [06:49:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 78 6C 47 00 26 14 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 28 91 00 00 F4 03 04 00 7E 50 14 67 B6 04 01 00 00 5E 84 92 94 59 65 D4 11 [06:49:11]CommunicateWithHost err = 0 [06:49:11]CheckOFDResponse [06:49:11]1017 (14) - 77093643461234 [06:49:11]1041 (16) - 0000000000965372 [06:49:11]1040 (4) - 37160 [06:49:11]1012 (4) - 20.10.2024 00:36 [06:49:11]1206 (1) - 0 [06:49:11]OFD Sender: Remove packet 37160 [06:49:11]ProducePacketName [06:49:11]name=ofd_packets/00037160 [06:49:11]NVStorageDeleteData [06:49:11]Write to MH i2c: 01 00 00 4A 16 60 [06:49:11]Write i2c OK [06:49:11]MH_I2C_Read... [06:49:11]Read from MH i2c: 01 [06:49:11]MH_I2C_Read... [06:49:11]Read from MH i2c: 01 07 00 [06:49:11]MH_I2C_Read... [06:49:11]Read from MH i2c: 01 07 00 4A 16 00 00 00 00 00 DC 0C 4F [06:49:11]RasterBufferAndPrint [06:49:11]line [06:49:11]line [06:49:11]line [06:49:11]line [06:49:11]line [06:49:11]written 0, free lines is 3298 [06:49:11]process_action close_receipt done [06:49:11]requested_data is exist [06:49:11]produce_requested_data [06:49:11]requested_item fm.sn is exist - process it [06:49:11]wFMCommunicate request_size=4 [06:49:11]MH_SAM_APDU [06:49:11]CAPDU: 80 11 00 00 [06:49:11]Write to MH i2c: E2 08 00 51 16 80 11 00 00 00 00 00 00 E1 [06:49:11]Write i2c OK [06:49:11]MH_I2C_Read... [06:49:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:49:11]Read from MH i2c: E2 [06:49:11]MH_I2C_Read... [06:49:11]Read from MH i2c: E2 17 00 [06:49:11]MH_I2C_Read... [06:49:11]Read from MH i2c: E2 17 00 51 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 34 [06:49:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [06:49:11]wFMCommunicate OK [06:49:11]requested_item fd.num is exist - process it [06:49:11]SAM_PROTO_GetFieldsCounters [06:49:11]wFMCommunicate request_size=4 [06:49:11]MH_SAM_APDU [06:49:11]CAPDU: 80 13 00 00 [06:49:11]Write to MH i2c: E2 08 00 52 16 80 13 00 00 00 00 00 00 E4 [06:49:11]Write i2c OK [06:49:11]MH_I2C_Read... [06:49:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:49:12]Read from MH i2c: E2 [06:49:12]MH_I2C_Read... [06:49:12]Read from MH i2c: E2 62 00 [06:49:12]MH_I2C_Read... [06:49:12]Read from MH i2c: E2 62 00 52 16 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 28 91 00 00 0E 04 04 00 CD 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 AA [06:49: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 28 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 [06:49:12]wFMCommunicate OK [06:49:12]SAM_PROTO_GetFieldsCounters done [06:49:12]requested_item shift.num is exist - process it [06:49:12]requested_item shift.opened is exist - process it [06:49:12]req_shift_opened [06:49:12]FM_GetShiftState [06:49:12]SAM_PROTO_GetShiftState [06:49:12]wFMCommunicate request_size=4 [06:49:12]MH_SAM_APDU [06:49:12]CAPDU: 80 13 01 00 [06:49:12]Write to MH i2c: E2 08 00 53 16 80 13 01 00 00 00 00 00 E6 [06:49:12]Write i2c OK [06:49:12]MH_I2C_Read... [06:49:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:49:12]Read from MH i2c: E2 [06:49:12]MH_I2C_Read... [06:49:12]Read from MH i2c: E2 0E 00 [06:49:12]MH_I2C_Read... [06:49:12]Read from MH i2c: E2 0E 00 53 16 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 3B [06:49:12]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [06:49:12]wFMCommunicate OK [06:49:12]SAM_PROTO_GetShiftState done [06:49:12]FM_GetShiftState done [06:49:12]req_shift_opened done [06:49:12]requested_item shift.open_date is exist - process it [06:49:12]req_shift_open_date [06:49:12]req_shift_open_date done [06:49:12]produce_requested_data done [06:49:12]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37160,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [06:49:12]process_action_free close_receipt [06:49:12]json_value_free [06:49:12]json_value_free done [06:49:12]process_json_proto returns [06:49:12]Send response to host [06:49:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37160,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [06:49:12]free response buf [06:49:12]execute_script done [06:49:12]execute_script returns [06:49:12]free content buf [06:49:12]Sock 9.Close socket [06:49:12]Sock 9.Thread stoped [06:49:12]OFD Sender: No OFD packet to send [06:49:17]OFD Sender: No OFD packet to send [06:49:22]OFD Sender: No OFD packet to send [06:49:27]OFD Sender: No OFD packet to send [06:49:32]OFD Sender: No OFD packet to send [06:49:37]OFD Sender: No OFD packet to send [06:49:42]OFD Sender: No OFD packet to send [06:49:47]OFD Sender: No OFD packet to send [06:49:52]OFD Sender: No OFD packet to send [06:49:57]OFD Sender: No OFD packet to send [06:50:02]OFD Sender: No OFD packet to send [06:50:05]accept exits with 7 [06:50:05]New connection [06:50:05]New thread 3066699108 created [06:50:05]Thread 3066555748 joined [06:50:05]Waiting for new connection... [06:50:05] Sock 7.Parse request [06:50:05]Sock 7.Check first char [06:50:05]Sock 7.First char is OK [06:50:05]request: POST /json_proto HTTP/1.0 [06:50:05]Method: POST [06:50:05]URL: /json_proto [06:50:05]Method is POST - this is cgi request [06:50:05]url: /json_proto [06:50:05]query_string will be loaded in cgi processing [06:50:05]execute_cgi json_proto POST (null) [06:50:05]execute_cgi path=json_proto method=POST [06:50:05]POST find Content-Length [06:50:05]Host: 172.17.53.68:8080 [06:50:05]Content-Length: 682 [06:50:05]Content-Type: application/json [06:50:05] [06:50:05]POST finish read [06:50:05]Found Content-Length = 682 [06:50:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874282", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 22.430, "sum" : 1500.57, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1500.00, "total" : 1500.00, "payments": [ { "type": 0, "sum" : 1500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:50:05]execute_script... [06:50:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874282", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 22.430, "sum" : 1500.57, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1500.00, "total" : 1500.00, "payments": [ { "type": 0, "sum" : 1500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:50:05]POST & json_proto [06:50:05]process_json_proto [06:50:05]json parsed OK: [06:50:05]protocol is kg_v1.0 [06:50:05]action value=close_receipt [06:50:05]process_action close_receipt [06:50:05]cmd_close_receipt [06:50:05]MH_GetDate [06:50:05]Write to MH i2c: F0 00 00 54 16 59 [06:50:05]Write i2c OK [06:50:05]MH_I2C_Read... [06:50:05]Read from MH i2c: F0 [06:50:05]MH_I2C_Read... [06:50:05]Read from MH i2c: F0 09 00 [06:50:05]MH_I2C_Read... [06:50:05]Read from MH i2c: F0 09 00 54 16 00 23 A8 14 67 C5 A4 76 66 ED [06:50:05]GetLastDocTimeStamp 1729406955 [06:50:05]current date 1729407011 [06:50:05]FM_GetShiftState [06:50:05]SAM_PROTO_GetShiftState [06:50:05]wFMCommunicate request_size=4 [06:50:05]MH_SAM_APDU [06:50:05]CAPDU: 80 13 01 00 [06:50:05]Write to MH i2c: E2 08 00 55 16 80 13 01 00 00 00 00 00 E8 [06:50:05]Write i2c OK [06:50:05]MH_I2C_Read... [06:50:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:50:05]Read from MH i2c: E2 [06:50:05]MH_I2C_Read... [06:50:05]Read from MH i2c: E2 0E 00 [06:50:05]MH_I2C_Read... [06:50:05]Read from MH i2c: E2 0E 00 55 16 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 3D [06:50:05]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [06:50:05]wFMCommunicate OK [06:50:05]SAM_PROTO_GetShiftState done [06:50:05]FM_GetShiftState done [06:50:05]opened in 1729383299 [06:50:05]opened+sec_in_day 1729469699 [06:50:05]quantity*price = 150056 [06:50:05]sum+1 = 150058 [06:50:05]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.57 ИТОГО: 1500.00 ВнеÑено: 1500.00 СДÐЧÐ: 0.00 ÐСП 1% : 13.28 ÐДС 12% : 159.35 Ðаличными: 1500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 9 20.10.2024 06:50 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37161 ФПД: 192153916452257 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T065012&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37161&fm=192153916452257&tin=02508201610067®Number=0000000000098149&sum=150000 [06:50:07]StoreToDocumentArchive [06:50:07]shift 461 fd 37161 [06:50:07]save to /storage/0461/doc_00037161 [06:50:07]save last doc name /storage/0461/doc_00037161 to /storage/kkm_last_doc_name [06:50:07]save OK [06:50:07]Clear old archive folders... [06:50:07]ProcessDocumentItem done err = 0, tmpTLVsize=251 [06:50:07]tlvbuf is B6E83190 [06:50:07]SAM_PROTO_ClearQueue [06:50:07]wFMCommunicate request_size=4 [06:50:07]MH_SAM_APDU [06:50:07]CAPDU: 80 09 00 00 [06:50:07]Write to MH i2c: E2 08 00 62 16 80 09 00 00 00 00 00 00 EA [06:50:07]Write i2c OK [06:50:07]MH_I2C_Read... [06:50:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:50:07]Read from MH i2c: E2 [06:50:07]MH_I2C_Read... [06:50:07]Read from MH i2c: E2 03 00 [06:50:07]MH_I2C_Read... [06:50:07]Read from MH i2c: E2 03 00 62 16 00 90 00 EC [06:50:07]RAPDU: 90 00 [06:50:07]wFMCommunicate OK [06:50:07]SAM_PROTO_ClearQueue done [06:50:07]KKMCreateOFDPacket [06:50:07]OFDProtocolAddRootSTLVToBuf [06:50:07]FM_MakeSignedData [06:50:07]FM_MakeSignedData [06:50:07]SAM_PROTO_SignData [06:50:07]wFMCommunicate request_size=4 [06:50:07]MH_SAM_APDU [06:50:07]CAPDU: 80 0D 01 02 [06:50:07]Write to MH i2c: E2 08 00 63 16 80 0D 01 02 00 00 00 00 F2 [06:50:07]Write i2c OK [06:50:07]MH_I2C_Read... [06:50:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:50:07]Read from MH i2c: E2 [06:50:07]MH_I2C_Read... [06:50:07]Read from MH i2c: E2 03 00 [06:50:07]MH_I2C_Read... [06:50:07]Read from MH i2c: E2 03 00 63 16 00 90 00 ED [06:50:07]RAPDU: 90 00 [06:50:07]wFMCommunicate OK [06:50:07]wFMCommunicate request_size=255 [06:50:07]MH_SAM_APDU [06:50:07]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 9E 57 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 29 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 24 A8 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 29 91 00 00 35 04 06 00 AE [06:50:07]Write to MH i2c: E2 02 01 64 16 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 9E 57 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 29 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 24 A8 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 29 91 00 00 35 04 06 00 AE 00 00 56 [06:50:07]Write i2c OK [06:50:07]MH_I2C_Read... [06:50:07]OFD Sender: No OFD packet to send [06:50:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:50:07]Read from MH i2c: E2 [06:50:07]MH_I2C_Read... [06:50:07]Read from MH i2c: E2 03 00 [06:50:07]MH_I2C_Read... [06:50:07]Read from MH i2c: E2 03 00 64 16 00 90 00 EE [06:50:07]RAPDU: 90 00 [06:50:07]wFMCommunicate OK [06:50:07]wFMCommunicate request_size=10 [06:50:07]MH_SAM_APDU [06:50:07]CAPDU: 80 0D 02 02 05 C3 51 EE AD A1 [06:50:07]Write to MH i2c: E2 0D 00 65 16 80 0D 02 02 05 00 C3 51 EE AD A1 00 00 4F [06:50:07]Write i2c OK [06:50:07]MH_I2C_Read... [06:50:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:50:07]Read from MH i2c: E2 [06:50:07]MH_I2C_Read... [06:50:07]Read from MH i2c: E2 03 00 [06:50:07]MH_I2C_Read... [06:50:07]Read from MH i2c: E2 03 00 65 16 00 90 00 EF [06:50:07]RAPDU: 90 00 [06:50:07]wFMCommunicate OK [06:50:07]wFMCommunicate request_size=4 [06:50:07]MH_SAM_APDU [06:50:07]CAPDU: 80 0D 03 02 [06:50:07]Write to MH i2c: E2 08 00 66 16 80 0D 03 02 00 00 00 00 F7 [06:50:07]Write i2c OK [06:50:07]MH_I2C_Read... [06:50:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:50:07]Read from MH i2c: E2 [06:50:07]MH_I2C_Read... [06:50:07]Read from MH i2c: E2 0B 00 [06:50:07]MH_I2C_Read... [06:50:07]Read from MH i2c: E2 0B 00 66 16 00 B2 79 FD 8D EF 16 98 20 90 00 6A [06:50:07]RAPDU: B2 79 FD 8D EF 16 98 20 90 00 [06:50:07]wFMCommunicate OK [06:50:07]SAM_PROTO_SignData done [06:50:07]FM_MakeSignedData done [06:50:07]CreateOFDProtocolMessage [06:50:07]wFMCommunicate request_size=4 [06:50:07]MH_SAM_APDU [06:50:07]CAPDU: 80 11 00 00 [06:50:07]Write to MH i2c: E2 08 00 67 16 80 11 00 00 00 00 00 00 F7 [06:50:07]Write i2c OK [06:50:07]MH_I2C_Read... [06:50:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:50:07]Read from MH i2c: E2 [06:50:07]MH_I2C_Read... [06:50:07]Read from MH i2c: E2 17 00 [06:50:07]MH_I2C_Read... [06:50:07]Read from MH i2c: E2 17 00 67 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 4A [06:50:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [06:50:07]wFMCommunicate OK [06:50:07]CreateOFDProtocolMessage done [06:50:07]OFDSenderStorePacket 37161 [06:50:07]StoreOFDPacket docnum=37161 [06:50:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0F 01 00 00 2A B6 07 01 12 B2 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 9E 57 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 29 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 24 A8 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 29 91 00 00 35 04 06 00 AE C3 51 EE AD A1 B2 79 FD 8D EF 16 98 20 [06:50:07]CheckFolder [06:50:07]dirname=/storage/ofd_packets [06:50:07]CheckFolder done [06:50:07]ProducePacketName [06:50:07]name=ofd_packets/00037161 [06:50:07]NVStorageSaveData ofd_packets/00037161 [06:50:07]File name is /storage/ofd_packets/00037161 [06:50:07]Write 301 bytes [06:50:07]NVStorageSaveData done [06:50:07]OFDSenderStorePacket done [06:50:07]KKMCreateOFDPacket done [06:50:07]NVStorageSaveData kkm_last_timestamp [06:50:07]File name is /storage/kkm_last_timestamp [06:50:07]Write 4 bytes [06:50:07]NVStorageSaveData done [06:50:07]ExternCall_PrintAddStr [06:50:07]wPrintStart [06:50:07]Write to MH i2c: 01 00 00 68 16 7E [06:50:07]Write i2c OK [06:50:07]MH_I2C_Read... [06:50:07]Read from MH i2c: 01 [06:50:07]MH_I2C_Read... [06:50:07]Read from MH i2c: 01 07 00 [06:50:07]MH_I2C_Read... [06:50:07]Read from MH i2c: 01 07 00 68 16 00 00 00 00 00 FF 0F 93 [06:50:07]RasterBufferAndPrint [06:50:07]line Счет N : (1)874282 [06:50:07]line ИÐÐ: 02508201610067 [06:50:07]line Контрольно-КаÑÑовый Чек [06:50:07]line ПРОДÐЖР[06:50:07]line ТРК (МРК, ГÐК) : 22 [06:50:07]line Товар: 2710124130 [06:50:07]line Ðи-92-К-5 [06:50:07]line 22.430 * 66.90 [06:50:07]line = 1500.57 [06:50:07]line ÐДС 12% ÐСП 1% [06:50:07]line > о реализуемом товаре [06:50:07]line ОКРУГЛЕÐИЕ: -0.57 [06:50:07]line ИТОГО: 1500.00 [06:50:07]line ВнеÑено: 1500.00 [06:50:07]line СДÐЧÐ: 0.00 [06:50:07]line ÐСП 1% : 13.28 [06:50:07]line ÐДС 12% : 159.35 [06:50:07]line Ðаличными: 1500.00 [06:50:07]line Безнал.: 0.00 [06:50:07]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [06:50:07]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [06:50:07]line СÐО: Общий режим [06:50:07]line Чек 9 20.10.2024 06:50 [06:50:07]line Смена: 461 ФФД: 1.0 [06:50:07]line ЗÐМ: 0300000235 [06:50:07]line РÐМ: 0000000000098149 [06:50:07]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [06:50:07]line ФМ: 0000000000965372 [06:50:07]line ФД: 37161 [06:50:07]line ФПД: 192153916452257 [06:50:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T065012&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37161&fm=192153916452257&tin=02508201610067®Number=0000000000098149&sum=150000 [06:50:07]OFD Sender: Processing packet 37161 [packets to send 25, broken 24] [06:50:07]ProducePacketName [06:50:07]name=ofd_packets/00037161 [06:50:07]OFD Sender: To server: ‡•öpG, [06:50:07]CommunicateWithHost lk.salyk.kg:30040 [06:50:07]ConnectInit lk.salyk.kg [06:50:07]written 0, free lines is 4095 [06:50:08]Connected sock=10 [06:50: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 33 37 32 0F 01 00 00 2A B6 07 01 12 B2 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 9E 57 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 29 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 24 A8 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 29 91 00 00 35 04 06 00 AE C3 51 EE AD A1 B2 79 FD 8D EF 16 98 20 [06:50:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 69 D2 47 00 04 3F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 29 91 00 00 F4 03 04 00 B7 50 14 67 B6 04 01 00 00 91 13 4C 90 A6 61 00 3F [06:50:08]CommunicateWithHost err = 0 [06:50:08]CheckOFDResponse [06:50:08]1017 (14) - 77093643461234 [06:50:08]1041 (16) - 0000000000965372 [06:50:08]1040 (4) - 37161 [06:50:08]1012 (4) - 20.10.2024 00:37 [06:50:08]1206 (1) - 0 [06:50:08]OFD Sender: Remove packet 37161 [06:50:08]ProducePacketName [06:50:08]name=ofd_packets/00037161 [06:50:08]NVStorageDeleteData [06:50:08]Write to MH i2c: 01 00 00 93 16 A9 [06:50:08]Write i2c OK [06:50:08]MH_I2C_Read... [06:50:08]Read from MH i2c: 01 [06:50:08]MH_I2C_Read... [06:50:08]Read from MH i2c: 01 07 00 [06:50:08]MH_I2C_Read... [06:50:08]Read from MH i2c: 01 07 00 93 16 00 00 00 00 00 E6 0C A2 [06:50:08]RasterBufferAndPrint [06:50:08]line [06:50:08]line [06:50:08]line [06:50:08]line [06:50:08]line [06:50:08]written 0, free lines is 3311 [06:50:08]process_action close_receipt done [06:50:08]requested_data is exist [06:50:08]produce_requested_data [06:50:08]requested_item fm.sn is exist - process it [06:50:08]wFMCommunicate request_size=4 [06:50:08]MH_SAM_APDU [06:50:08]CAPDU: 80 11 00 00 [06:50:08]Write to MH i2c: E2 08 00 9A 16 80 11 00 00 00 00 00 00 2A [06:50:08]Write i2c OK [06:50:08]MH_I2C_Read... [06:50:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:50:08]Read from MH i2c: E2 [06:50:08]MH_I2C_Read... [06:50:08]Read from MH i2c: E2 17 00 [06:50:08]MH_I2C_Read... [06:50:08]Read from MH i2c: E2 17 00 9A 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 7D [06:50:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [06:50:08]wFMCommunicate OK [06:50:08]requested_item fd.num is exist - process it [06:50:08]SAM_PROTO_GetFieldsCounters [06:50:08]wFMCommunicate request_size=4 [06:50:08]MH_SAM_APDU [06:50:08]CAPDU: 80 13 00 00 [06:50:08]Write to MH i2c: E2 08 00 9B 16 80 13 00 00 00 00 00 00 2D [06:50:08]Write i2c OK [06:50:08]MH_I2C_Read... [06:50:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:50:08]Read from MH i2c: E2 [06:50:08]MH_I2C_Read... [06:50:08]Read from MH i2c: E2 62 00 [06:50:08]MH_I2C_Read... [06:50:08]Read from MH i2c: E2 62 00 9B 16 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 29 91 00 00 0E 04 04 00 CD 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 F7 [06:50: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 29 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 [06:50:08]wFMCommunicate OK [06:50:08]SAM_PROTO_GetFieldsCounters done [06:50:08]requested_item shift.num is exist - process it [06:50:08]requested_item shift.opened is exist - process it [06:50:08]req_shift_opened [06:50:08]FM_GetShiftState [06:50:08]SAM_PROTO_GetShiftState [06:50:08]wFMCommunicate request_size=4 [06:50:08]MH_SAM_APDU [06:50:08]CAPDU: 80 13 01 00 [06:50:08]Write to MH i2c: E2 08 00 9C 16 80 13 01 00 00 00 00 00 2F [06:50:08]Write i2c OK [06:50:08]MH_I2C_Read... [06:50:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:50:08]Read from MH i2c: E2 [06:50:08]MH_I2C_Read... [06:50:08]Read from MH i2c: E2 0E 00 [06:50:08]MH_I2C_Read... [06:50:08]Read from MH i2c: E2 0E 00 9C 16 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 84 [06:50:08]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [06:50:08]wFMCommunicate OK [06:50:08]SAM_PROTO_GetShiftState done [06:50:08]FM_GetShiftState done [06:50:08]req_shift_opened done [06:50:08]requested_item shift.open_date is exist - process it [06:50:08]req_shift_open_date [06:50:08]req_shift_open_date done [06:50:08]produce_requested_data done [06:50:08]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37161,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [06:50:08]process_action_free close_receipt [06:50:08]json_value_free [06:50:08]json_value_free done [06:50:08]process_json_proto returns [06:50:08]Send response to host [06:50:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37161,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [06:50:08]free response buf [06:50:08]execute_script done [06:50:08]execute_script returns [06:50:08]free content buf [06:50:08]Sock 7.Close socket [06:50:08]Sock 7.Thread stoped [06:50:08]OFD Sender: No OFD packet to send [06:50:11]accept exits with 9 [06:50:11]New connection [06:50:11]New thread 3066555748 created [06:50:11]Thread 3066699108 joined [06:50:11]Waiting for new connection... [06:50:11] Sock 9.Parse request [06:50:11]Sock 9.Check first char [06:50:11]Sock 9.First char is OK [06:50:11]request: POST /json_proto HTTP/1.0 [06:50:11]Method: POST [06:50:11]URL: /json_proto [06:50:11]Method is POST - this is cgi request [06:50:11]url: /json_proto [06:50:11]query_string will be loaded in cgi processing [06:50:11]execute_cgi json_proto POST (null) [06:50:11]execute_cgi path=json_proto method=POST [06:50:11]POST find Content-Length [06:50:11]Host: 172.17.53.68:8080 [06:50:11]Content-Length: 674 [06:50:11]Content-Type: application/json [06:50:11] [06:50:11]POST finish read [06:50:11]Found Content-Length = 674 [06:50:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874283", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 44", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 6.570, "sum" : 500.63, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:50:11]execute_script... [06:50:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874283", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 44", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 6.570, "sum" : 500.63, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:50:11]POST & json_proto [06:50:11]process_json_proto [06:50:11]json parsed OK: [06:50:11]protocol is kg_v1.0 [06:50:11]action value=close_receipt [06:50:11]process_action close_receipt [06:50:11]cmd_close_receipt [06:50:11]MH_GetDate [06:50:11]Write to MH i2c: F0 00 00 9D 16 A2 [06:50:11]Write i2c OK [06:50:11]MH_I2C_Read... [06:50:11]Read from MH i2c: F0 [06:50:11]MH_I2C_Read... [06:50:11]Read from MH i2c: F0 09 00 [06:50:11]MH_I2C_Read... [06:50:11]Read from MH i2c: F0 09 00 9D 16 00 29 A8 14 67 C5 A4 76 66 3C [06:50:11]GetLastDocTimeStamp 1729407012 [06:50:11]current date 1729407017 [06:50:11]FM_GetShiftState [06:50:11]SAM_PROTO_GetShiftState [06:50:11]wFMCommunicate request_size=4 [06:50:11]MH_SAM_APDU [06:50:11]CAPDU: 80 13 01 00 [06:50:11]Write to MH i2c: E2 08 00 9E 16 80 13 01 00 00 00 00 00 31 [06:50:11]Write i2c OK [06:50:11]MH_I2C_Read... [06:50:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:50:11]Read from MH i2c: E2 [06:50:11]MH_I2C_Read... [06:50:11]Read from MH i2c: E2 0E 00 [06:50:11]MH_I2C_Read... [06:50:11]Read from MH i2c: E2 0E 00 9E 16 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 86 [06:50:11]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [06:50:11]wFMCommunicate OK [06:50:11]SAM_PROTO_GetShiftState done [06:50:11]FM_GetShiftState done [06:50:11]opened in 1729383299 [06:50:11]opened+sec_in_day 1729469699 [06:50:11]quantity*price = 50063 [06:50:11]sum+1 = 50064 [06:50:11]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.63 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.16 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 10 20.10.2024 06:50 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37162 ФПД: 139876605562664 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T065017&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37162&fm=139876605562664&tin=02508201610067®Number=0000000000098149&sum=50000 [06:50:12]StoreToDocumentArchive [06:50:12]shift 461 fd 37162 [06:50:12]save to /storage/0461/doc_00037162 [06:50:12]save last doc name /storage/0461/doc_00037162 to /storage/kkm_last_doc_name [06:50:12]save OK [06:50:12]Clear old archive folders... [06:50:12]ProcessDocumentItem done err = 0, tmpTLVsize=248 [06:50:12]tlvbuf is 009F85C0 [06:50:12]SAM_PROTO_ClearQueue [06:50:12]wFMCommunicate request_size=4 [06:50:12]MH_SAM_APDU [06:50:12]CAPDU: 80 09 00 00 [06:50:12]Write to MH i2c: E2 08 00 AB 16 80 09 00 00 00 00 00 00 33 [06:50:12]Write i2c OK [06:50:12]MH_I2C_Read... [06:50:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:50:12]Read from MH i2c: E2 [06:50:12]MH_I2C_Read... [06:50:12]Read from MH i2c: E2 03 00 [06:50:12]MH_I2C_Read... [06:50:12]Read from MH i2c: E2 03 00 AB 16 00 90 00 35 [06:50:12]RAPDU: 90 00 [06:50:12]wFMCommunicate OK [06:50:12]SAM_PROTO_ClearQueue done [06:50:12]KKMCreateOFDPacket [06:50:12]OFDProtocolAddRootSTLVToBuf [06:50:12]FM_MakeSignedData [06:50:12]FM_MakeSignedData [06:50:12]SAM_PROTO_SignData [06:50:12]wFMCommunicate request_size=4 [06:50:12]MH_SAM_APDU [06:50:12]CAPDU: 80 0D 01 02 [06:50:12]Write to MH i2c: E2 08 00 AC 16 80 0D 01 02 00 00 00 00 3B [06:50:12]Write i2c OK [06:50:12]MH_I2C_Read... [06:50:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:50:12]Read from MH i2c: E2 [06:50:12]MH_I2C_Read... [06:50:12]Read from MH i2c: E2 03 00 [06:50:12]MH_I2C_Read... [06:50:12]Read from MH i2c: E2 03 00 AC 16 00 90 00 36 [06:50:12]RAPDU: 90 00 [06:50:12]wFMCommunicate OK [06:50:12]wFMCommunicate request_size=255 [06:50:12]MH_SAM_APDU [06:50:12]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 AA 19 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8F C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 29 A8 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 2A 91 00 00 35 04 06 00 7F 37 8F 63 [06:50:12]Write to MH i2c: E2 02 01 AD 16 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 AA 19 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8F C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 29 A8 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 2A 91 00 00 35 04 06 00 7F 37 8F 63 00 00 D2 [06:50:12]Write i2c OK [06:50:12]MH_I2C_Read... [06:50:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:50:13]Read from MH i2c: E2 [06:50:13]MH_I2C_Read... [06:50:13]Read from MH i2c: E2 03 00 [06:50:13]MH_I2C_Read... [06:50:13]Read from MH i2c: E2 03 00 AD 16 00 90 00 37 [06:50:13]RAPDU: 90 00 [06:50:13]wFMCommunicate OK [06:50:13]wFMCommunicate request_size=7 [06:50:13]MH_SAM_APDU [06:50:13]CAPDU: 80 0D 02 02 02 0F 28 [06:50:13]Write to MH i2c: E2 0A 00 AE 16 80 0D 02 02 02 00 0F 28 00 00 79 [06:50:13]Write i2c OK [06:50:13]MH_I2C_Read... [06:50:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:50:13]Read from MH i2c: E2 [06:50:13]MH_I2C_Read... [06:50:13]Read from MH i2c: E2 03 00 [06:50:13]MH_I2C_Read... [06:50:13]Read from MH i2c: E2 03 00 AE 16 00 90 00 38 [06:50:13]RAPDU: 90 00 [06:50:13]wFMCommunicate OK [06:50:13]wFMCommunicate request_size=4 [06:50:13]MH_SAM_APDU [06:50:13]CAPDU: 80 0D 03 02 [06:50:13]Write to MH i2c: E2 08 00 AF 16 80 0D 03 02 00 00 00 00 40 [06:50:13]Write i2c OK [06:50:13]MH_I2C_Read... [06:50:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:50:13]Read from MH i2c: E2 [06:50:13]MH_I2C_Read... [06:50:13]Read from MH i2c: E2 0B 00 [06:50:13]MH_I2C_Read... [06:50:13]Read from MH i2c: E2 0B 00 AF 16 00 80 77 FA 04 E6 11 B1 F1 90 00 CF [06:50:13]RAPDU: 80 77 FA 04 E6 11 B1 F1 90 00 [06:50:13]wFMCommunicate OK [06:50:13]SAM_PROTO_SignData done [06:50:13]FM_MakeSignedData done [06:50:13]CreateOFDProtocolMessage [06:50:13]wFMCommunicate request_size=4 [06:50:13]MH_SAM_APDU [06:50:13]CAPDU: 80 11 00 00 [06:50:13]Write to MH i2c: E2 08 00 B0 16 80 11 00 00 00 00 00 00 40 [06:50:13]Write i2c OK [06:50:13]MH_I2C_Read... [06:50:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:50:13]Read from MH i2c: E2 [06:50:13]MH_I2C_Read... [06:50:13]Read from MH i2c: E2 17 00 [06:50:13]MH_I2C_Read... [06:50:13]Read from MH i2c: E2 17 00 B0 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 93 [06:50:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [06:50:13]wFMCommunicate OK [06:50:13]CreateOFDProtocolMessage done [06:50:13]OFDSenderStorePacket 37162 [06:50:13]StoreOFDPacket docnum=37162 [06:50:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0C 01 00 00 C7 0D 04 01 81 9B 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 AA 19 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8F C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 29 A8 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 2A 91 00 00 35 04 06 00 7F 37 8F 63 0F 28 80 77 FA 04 E6 11 B1 F1 [06:50:13]CheckFolder [06:50:13]dirname=/storage/ofd_packets [06:50:13]CheckFolder done [06:50:13]ProducePacketName [06:50:13]name=ofd_packets/00037162 [06:50:13]NVStorageSaveData ofd_packets/00037162 [06:50:13]File name is /storage/ofd_packets/00037162 [06:50:13]Write 298 bytes [06:50:13]NVStorageSaveData done [06:50:13]OFDSenderStorePacket done [06:50:13]KKMCreateOFDPacket done [06:50:13]NVStorageSaveData kkm_last_timestamp [06:50:13]File name is /storage/kkm_last_timestamp [06:50:13]Write 4 bytes [06:50:13]NVStorageSaveData done [06:50:13]ExternCall_PrintAddStr [06:50:13]wPrintStart [06:50:13]Write to MH i2c: 01 00 00 B1 16 C7 [06:50:13]Write i2c OK [06:50:13]MH_I2C_Read... [06:50:13]Read from MH i2c: 01 [06:50:13]MH_I2C_Read... [06:50:13]Read from MH i2c: 01 07 00 [06:50:13]MH_I2C_Read... [06:50:13]Read from MH i2c: 01 07 00 B1 16 00 00 00 00 00 FF 0F DC [06:50:13]RasterBufferAndPrint [06:50:13]line Счет N : (1)874283 [06:50:13]line ИÐÐ: 02508201610067 [06:50:13]line Контрольно-КаÑÑовый Чек [06:50:13]line ПРОДÐЖР[06:50:13]line ТРК (МРК, ГÐК) : 44 [06:50:13]line Товар: 2710194210 [06:50:13]line ДТ-К-2 [06:50:13]line 6.570 * 76.20 [06:50:13]line = 500.63 [06:50:13]line ÐДС 12% ÐСП 1% [06:50:13]line > о реализуемом товаре [06:50:13]line ОКРУГЛЕÐИЕ: -0.63 [06:50:13]line ИТОГО: 500.00 [06:50:13]line ВнеÑено: 500.00 [06:50:13]line СДÐЧÐ: 0.00 [06:50:13]line ÐСП 1% : 4.43 [06:50:13]line ÐДС 12% : 53.16 [06:50:13]line Ðаличными: 500.00 [06:50:13]line Безнал.: 0.00 [06:50:13]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [06:50:13]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [06:50:13]line СÐО: Общий режим [06:50:13]line Чек 10 20.10.2024 06:50 [06:50:13]line Смена: 461 ФФД: 1.0 [06:50:13]line ЗÐМ: 0300000235 [06:50:13]line РÐМ: 0000000000098149 [06:50:13]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [06:50:13]line ФМ: 0000000000965372 [06:50:13]line ФД: 37162 [06:50:13]line ФПД: 139876605562664 [06:50:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T065017&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37162&fm=139876605562664&tin=02508201610067®Number=0000000000098149&sum=50000 [06:50:13]written 0, free lines is 4095 [06:50:13]OFD Sender: Processing packet 37162 [packets to send 25, broken 24] [06:50:13]ProducePacketName [06:50:13]name=ofd_packets/00037162 [06:50:13]OFD Sender: To server: ‡•öpG, [06:50:13]CommunicateWithHost lk.salyk.kg:30040 [06:50:13]ConnectInit lk.salyk.kg [06:50:13]Connected sock=10 [06:50: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 33 37 32 0C 01 00 00 C7 0D 04 01 81 9B 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 AA 19 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8F C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 29 A8 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 2A 91 00 00 35 04 06 00 7F 37 8F 63 0F 28 80 77 FA 04 E6 11 B1 F1 [06:50:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 73 F8 47 00 91 C3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 2A 91 00 00 F4 03 04 00 BC 50 14 67 B6 04 01 00 00 B5 6C 0D 54 93 9A 82 14 [06:50:13]CommunicateWithHost err = 0 [06:50:13]CheckOFDResponse [06:50:13]1017 (14) - 77093643461234 [06:50:13]1041 (16) - 0000000000965372 [06:50:13]1040 (4) - 37162 [06:50:13]1012 (4) - 20.10.2024 00:37 [06:50:13]1206 (1) - 0 [06:50:13]OFD Sender: Remove packet 37162 [06:50:13]ProducePacketName [06:50:13]name=ofd_packets/00037162 [06:50:13]NVStorageDeleteData [06:50:13]Write to MH i2c: 01 00 00 DC 16 F2 [06:50:13]Write i2c OK [06:50:13]MH_I2C_Read... [06:50:13]Read from MH i2c: 01 [06:50:13]MH_I2C_Read... [06:50:13]Read from MH i2c: 01 07 00 [06:50:13]MH_I2C_Read... [06:50:13]Read from MH i2c: 01 07 00 DC 16 00 00 00 00 00 EE 0C F3 [06:50:13]RasterBufferAndPrint [06:50:13]line [06:50:13]line [06:50:13]line [06:50:13]line [06:50:13]line [06:50:13]written 0, free lines is 3323 [06:50:13]process_action close_receipt done [06:50:13]requested_data is exist [06:50:13]produce_requested_data [06:50:13]requested_item fm.sn is exist - process it [06:50:13]wFMCommunicate request_size=4 [06:50:13]MH_SAM_APDU [06:50:13]CAPDU: 80 11 00 00 [06:50:13]Write to MH i2c: E2 08 00 E3 16 80 11 00 00 00 00 00 00 73 [06:50:13]Write i2c OK [06:50:13]MH_I2C_Read... [06:50:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:50:13]Read from MH i2c: E2 [06:50:13]MH_I2C_Read... [06:50:13]Read from MH i2c: E2 17 00 [06:50:13]MH_I2C_Read... [06:50:13]Read from MH i2c: E2 17 00 E3 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 C6 [06:50:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [06:50:13]wFMCommunicate OK [06:50:13]requested_item fd.num is exist - process it [06:50:13]SAM_PROTO_GetFieldsCounters [06:50:13]wFMCommunicate request_size=4 [06:50:13]MH_SAM_APDU [06:50:13]CAPDU: 80 13 00 00 [06:50:13]Write to MH i2c: E2 08 00 E4 16 80 13 00 00 00 00 00 00 76 [06:50:13]Write i2c OK [06:50:13]MH_I2C_Read... [06:50:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:50:14]Read from MH i2c: E2 [06:50:14]MH_I2C_Read... [06:50:14]Read from MH i2c: E2 62 00 [06:50:14]MH_I2C_Read... [06:50:14]Read from MH i2c: E2 62 00 E4 16 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 2A 91 00 00 0E 04 04 00 CD 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 44 [06:50: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 2A 91 00 00 0E 04 04 00 CD 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 [06:50:14]wFMCommunicate OK [06:50:14]SAM_PROTO_GetFieldsCounters done [06:50:14]requested_item shift.num is exist - process it [06:50:14]requested_item shift.opened is exist - process it [06:50:14]req_shift_opened [06:50:14]FM_GetShiftState [06:50:14]SAM_PROTO_GetShiftState [06:50:14]wFMCommunicate request_size=4 [06:50:14]MH_SAM_APDU [06:50:14]CAPDU: 80 13 01 00 [06:50:14]Write to MH i2c: E2 08 00 E5 16 80 13 01 00 00 00 00 00 78 [06:50:14]Write i2c OK [06:50:14]MH_I2C_Read... [06:50:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:50:14]Read from MH i2c: E2 [06:50:14]MH_I2C_Read... [06:50:14]Read from MH i2c: E2 0E 00 [06:50:14]MH_I2C_Read... [06:50:14]Read from MH i2c: E2 0E 00 E5 16 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 CD [06:50:14]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [06:50:14]wFMCommunicate OK [06:50:14]SAM_PROTO_GetShiftState done [06:50:14]FM_GetShiftState done [06:50:14]req_shift_opened done [06:50:14]requested_item shift.open_date is exist - process it [06:50:14]req_shift_open_date [06:50:14]req_shift_open_date done [06:50:14]produce_requested_data done [06:50:14]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37162,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [06:50:14]process_action_free close_receipt [06:50:14]json_value_free [06:50:14]json_value_free done [06:50:14]process_json_proto returns [06:50:14]Send response to host [06:50:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37162,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [06:50:14]free response buf [06:50:14]execute_script done [06:50:14]execute_script returns [06:50:14]free content buf [06:50:14]Sock 9.Close socket [06:50:14]Sock 9.Thread stoped [06:50:14]OFD Sender: No OFD packet to send [06:50:19]OFD Sender: No OFD packet to send [06:50:24]OFD Sender: No OFD packet to send [06:50:29]OFD Sender: No OFD packet to send [06:50:34]OFD Sender: No OFD packet to send [06:50:39]OFD Sender: No OFD packet to send [06:50:44]OFD Sender: No OFD packet to send [06:50:49]OFD Sender: No OFD packet to send [06:50:54]OFD Sender: No OFD packet to send [06:50:59]OFD Sender: No OFD packet to send [06:51:04]OFD Sender: No OFD packet to send [06:51:09]OFD Sender: No OFD packet to send [06:51:14]OFD Sender: No OFD packet to send [06:51:19]OFD Sender: No OFD packet to send [06:51:24]OFD Sender: No OFD packet to send [06:51:29]OFD Sender: No OFD packet to send [06:51:34]OFD Sender: No OFD packet to send [06:51:39]OFD Sender: No OFD packet to send [06:51:44]OFD Sender: No OFD packet to send [06:51:49]OFD Sender: No OFD packet to send [06:51:54]OFD Sender: No OFD packet to send [06:51:59]OFD Sender: No OFD packet to send [06:52:04]OFD Sender: No OFD packet to send [06:52:09]OFD Sender: No OFD packet to send [06:52:14]OFD Sender: No OFD packet to send [06:52:19]OFD Sender: No OFD packet to send [06:52:24]OFD Sender: No OFD packet to send [06:52:29]OFD Sender: No OFD packet to send [06:52:34]OFD Sender: No OFD packet to send [06:52:39]OFD Sender: No OFD packet to send [06:52:44]OFD Sender: No OFD packet to send [06:52:49]OFD Sender: No OFD packet to send [06:52:54]OFD Sender: No OFD packet to send [06:52:59]OFD Sender: No OFD packet to send [06:53:04]OFD Sender: No OFD packet to send [06:53:09]OFD Sender: No OFD packet to send [06:53:14]OFD Sender: No OFD packet to send [06:53:19]OFD Sender: No OFD packet to send [06:53:24]OFD Sender: No OFD packet to send [06:53:29]OFD Sender: No OFD packet to send [06:53:34]OFD Sender: No OFD packet to send [06:53:39]OFD Sender: No OFD packet to send [06:53:44]OFD Sender: No OFD packet to send [06:53:49]OFD Sender: No OFD packet to send [06:53:54]OFD Sender: No OFD packet to send [06:53:59]OFD Sender: No OFD packet to send [06:54:04]OFD Sender: No OFD packet to send [06:54:09]OFD Sender: No OFD packet to send [06:54:14]OFD Sender: No OFD packet to send [06:54:19]OFD Sender: No OFD packet to send [06:54:24]OFD Sender: No OFD packet to send [06:54:29]OFD Sender: No OFD packet to send [06:54:34]OFD Sender: No OFD packet to send [06:54:39]OFD Sender: No OFD packet to send [06:54:44]OFD Sender: No OFD packet to send [06:54:49]OFD Sender: No OFD packet to send [06:54:54]OFD Sender: No OFD packet to send [06:54:59]OFD Sender: No OFD packet to send [06:55:04]OFD Sender: No OFD packet to send [06:55:09]OFD Sender: No OFD packet to send [06:55:14]OFD Sender: No OFD packet to send [06:55:19]OFD Sender: No OFD packet to send [06:55:24]OFD Sender: No OFD packet to send [06:55:29]OFD Sender: No OFD packet to send [06:55:34]OFD Sender: No OFD packet to send [06:55:39]OFD Sender: No OFD packet to send [06:55:44]OFD Sender: No OFD packet to send [06:55:49]OFD Sender: No OFD packet to send [06:55:54]OFD Sender: No OFD packet to send [06:55:59]OFD Sender: No OFD packet to send [06:56:04]OFD Sender: No OFD packet to send [06:56:09]OFD Sender: No OFD packet to send [06:56:14]OFD Sender: No OFD packet to send [06:56:19]OFD Sender: No OFD packet to send [06:56:24]OFD Sender: No OFD packet to send [06:56:29]OFD Sender: No OFD packet to send [06:56:34]OFD Sender: No OFD packet to send [06:56:39]OFD Sender: No OFD packet to send [06:56:44]OFD Sender: No OFD packet to send [06:56:49]OFD Sender: No OFD packet to send [06:56:54]OFD Sender: No OFD packet to send [06:56:59]OFD Sender: No OFD packet to send [06:57:04]OFD Sender: No OFD packet to send [06:57:09]OFD Sender: No OFD packet to send [06:57:14]OFD Sender: No OFD packet to send [06:57:19]OFD Sender: No OFD packet to send [06:57:24]OFD Sender: No OFD packet to send [06:57:29]OFD Sender: No OFD packet to send [06:57:34]OFD Sender: No OFD packet to send [06:57:39]OFD Sender: No OFD packet to send [06:57:44]OFD Sender: No OFD packet to send [06:57:49]OFD Sender: No OFD packet to send [06:57:54]OFD Sender: No OFD packet to send [06:57:59]OFD Sender: No OFD packet to send [06:58:04]OFD Sender: No OFD packet to send [06:58:09]OFD Sender: No OFD packet to send [06:58:14]OFD Sender: No OFD packet to send [06:58:19]OFD Sender: No OFD packet to send [06:58:24]OFD Sender: No OFD packet to send [06:58:29]OFD Sender: No OFD packet to send [06:58:34]OFD Sender: No OFD packet to send [06:58:39]OFD Sender: No OFD packet to send [06:58:44]OFD Sender: No OFD packet to send [06:58:49]OFD Sender: No OFD packet to send [06:58:54]OFD Sender: No OFD packet to send [06:58:59]OFD Sender: No OFD packet to send [06:59:04]OFD Sender: No OFD packet to send [06:59:09]OFD Sender: No OFD packet to send [06:59:14]OFD Sender: No OFD packet to send [06:59:19]OFD Sender: No OFD packet to send [06:59:24]OFD Sender: No OFD packet to send [06:59:29]OFD Sender: No OFD packet to send [06:59:34]OFD Sender: No OFD packet to send [06:59:39]OFD Sender: No OFD packet to send [06:59:44]OFD Sender: No OFD packet to send [06:59:49]OFD Sender: No OFD packet to send [06:59:54]OFD Sender: No OFD packet to send [06:59:59]OFD Sender: No OFD packet to send [07:00:04]OFD Sender: No OFD packet to send [07:00:09]OFD Sender: No OFD packet to send [07:00:14]OFD Sender: No OFD packet to send [07:00:19]OFD Sender: No OFD packet to send [07:00:24]OFD Sender: No OFD packet to send [07:00:29]OFD Sender: No OFD packet to send [07:00:34]OFD Sender: No OFD packet to send [07:00:39]OFD Sender: No OFD packet to send [07:00:44]OFD Sender: No OFD packet to send [07:00:49]OFD Sender: No OFD packet to send [07:00:54]OFD Sender: No OFD packet to send [07:00:59]OFD Sender: No OFD packet to send [07:01:04]OFD Sender: No OFD packet to send [07:01:09]OFD Sender: No OFD packet to send [07:01:14]OFD Sender: No OFD packet to send [07:01:19]OFD Sender: No OFD packet to send [07:01:24]OFD Sender: No OFD packet to send [07:01:29]OFD Sender: No OFD packet to send [07:01:34]OFD Sender: No OFD packet to send [07:01:39]OFD Sender: No OFD packet to send [07:01:44]OFD Sender: No OFD packet to send [07:01:49]OFD Sender: No OFD packet to send [07:01:54]OFD Sender: No OFD packet to send [07:01:59]OFD Sender: No OFD packet to send [07:02:04]OFD Sender: No OFD packet to send [07:02:09]OFD Sender: No OFD packet to send [07:02:14]OFD Sender: No OFD packet to send [07:02:19]OFD Sender: No OFD packet to send [07:02:24]OFD Sender: No OFD packet to send [07:02:29]OFD Sender: No OFD packet to send [07:02:34]OFD Sender: No OFD packet to send [07:02:39]OFD Sender: No OFD packet to send [07:02:44]OFD Sender: No OFD packet to send [07:02:49]OFD Sender: No OFD packet to send [07:02:54]OFD Sender: No OFD packet to send [07:02:59]OFD Sender: No OFD packet to send [07:03:04]OFD Sender: No OFD packet to send [07:03:09]OFD Sender: No OFD packet to send [07:03:14]OFD Sender: No OFD packet to send [07:03:19]OFD Sender: No OFD packet to send [07:03:24]OFD Sender: No OFD packet to send [07:03:29]OFD Sender: No OFD packet to send [07:03:34]OFD Sender: No OFD packet to send [07:03:39]OFD Sender: No OFD packet to send [07:03:44]OFD Sender: No OFD packet to send [07:03:49]OFD Sender: No OFD packet to send [07:03:54]OFD Sender: No OFD packet to send [07:03:59]OFD Sender: No OFD packet to send [07:04:04]OFD Sender: No OFD packet to send [07:04:10]OFD Sender: No OFD packet to send [07:04:15]OFD Sender: No OFD packet to send [07:04:20]OFD Sender: No OFD packet to send [07:04:25]OFD Sender: No OFD packet to send [07:04:30]OFD Sender: No OFD packet to send [07:04:35]OFD Sender: No OFD packet to send [07:04:40]OFD Sender: No OFD packet to send [07:04:45]OFD Sender: No OFD packet to send [07:04:50]OFD Sender: No OFD packet to send [07:04:55]OFD Sender: No OFD packet to send [07:05:00]OFD Sender: No OFD packet to send [07:05:05]OFD Sender: No OFD packet to send [07:05:10]OFD Sender: No OFD packet to send [07:05:15]OFD Sender: No OFD packet to send [07:05:20]OFD Sender: No OFD packet to send [07:05:25]OFD Sender: No OFD packet to send [07:05:30]OFD Sender: No OFD packet to send [07:05:35]OFD Sender: No OFD packet to send [07:05:40]OFD Sender: No OFD packet to send [07:05:45]OFD Sender: No OFD packet to send [07:05:50]OFD Sender: No OFD packet to send [07:05:55]OFD Sender: No OFD packet to send [07:06:00]OFD Sender: No OFD packet to send [07:06:05]OFD Sender: No OFD packet to send [07:06:10]OFD Sender: No OFD packet to send [07:06:15]OFD Sender: No OFD packet to send [07:06:20]OFD Sender: No OFD packet to send [07:06:25]OFD Sender: No OFD packet to send [07:06:30]OFD Sender: No OFD packet to send [07:06:35]OFD Sender: No OFD packet to send [07:06:40]OFD Sender: No OFD packet to send [07:06:45]OFD Sender: No OFD packet to send [07:06:50]OFD Sender: No OFD packet to send [07:06:55]OFD Sender: No OFD packet to send [07:07:00]OFD Sender: No OFD packet to send [07:07:05]OFD Sender: No OFD packet to send [07:07:10]OFD Sender: No OFD packet to send [07:07:15]OFD Sender: No OFD packet to send [07:07:20]OFD Sender: No OFD packet to send [07:07:25]OFD Sender: No OFD packet to send [07:07:30]OFD Sender: No OFD packet to send [07:07:35]OFD Sender: No OFD packet to send [07:07:40]OFD Sender: No OFD packet to send [07:07:45]OFD Sender: No OFD packet to send [07:07:50]OFD Sender: No OFD packet to send [07:07:55]OFD Sender: No OFD packet to send [07:08:00]OFD Sender: No OFD packet to send [07:08:05]OFD Sender: No OFD packet to send [07:08:10]OFD Sender: No OFD packet to send [07:08:15]OFD Sender: No OFD packet to send [07:08:20]OFD Sender: No OFD packet to send [07:08:25]OFD Sender: No OFD packet to send [07:08:30]OFD Sender: No OFD packet to send [07:08:35]OFD Sender: No OFD packet to send [07:08:40]OFD Sender: No OFD packet to send [07:08:45]OFD Sender: No OFD packet to send [07:08:50]OFD Sender: No OFD packet to send [07:08:55]OFD Sender: No OFD packet to send [07:09:00]OFD Sender: No OFD packet to send [07:09:05]OFD Sender: No OFD packet to send [07:09:10]OFD Sender: No OFD packet to send [07:09:15]OFD Sender: No OFD packet to send [07:09:20]OFD Sender: No OFD packet to send [07:09:25]OFD Sender: No OFD packet to send [07:09:30]OFD Sender: No OFD packet to send [07:09:35]OFD Sender: No OFD packet to send [07:09:40]OFD Sender: No OFD packet to send [07:09:45]OFD Sender: No OFD packet to send [07:09:50]OFD Sender: No OFD packet to send [07:09:55]OFD Sender: No OFD packet to send [07:10:00]OFD Sender: No OFD packet to send [07:10:05]OFD Sender: No OFD packet to send [07:10:10]OFD Sender: No OFD packet to send [07:10:15]OFD Sender: No OFD packet to send [07:10:20]OFD Sender: No OFD packet to send [07:10:25]OFD Sender: No OFD packet to send [07:10:30]OFD Sender: No OFD packet to send [07:10:35]OFD Sender: No OFD packet to send [07:10:40]OFD Sender: No OFD packet to send [07:10:45]OFD Sender: No OFD packet to send [07:10:50]OFD Sender: No OFD packet to send [07:10:55]OFD Sender: No OFD packet to send [07:11:00]OFD Sender: No OFD packet to send [07:11:05]OFD Sender: No OFD packet to send [07:11:10]OFD Sender: No OFD packet to send [07:11:15]OFD Sender: No OFD packet to send [07:11:20]OFD Sender: No OFD packet to send [07:11:25]OFD Sender: No OFD packet to send [07:11:30]OFD Sender: No OFD packet to send [07:11:35]OFD Sender: No OFD packet to send [07:11:40]OFD Sender: No OFD packet to send [07:11:45]OFD Sender: No OFD packet to send [07:11:50]OFD Sender: No OFD packet to send [07:11:55]OFD Sender: No OFD packet to send [07:12:00]OFD Sender: No OFD packet to send [07:12:05]OFD Sender: No OFD packet to send [07:12:10]OFD Sender: No OFD packet to send [07:12:15]OFD Sender: No OFD packet to send [07:12:20]OFD Sender: No OFD packet to send [07:12:25]OFD Sender: No OFD packet to send [07:12:30]OFD Sender: No OFD packet to send [07:12:35]OFD Sender: No OFD packet to send [07:12:40]OFD Sender: No OFD packet to send [07:12:45]OFD Sender: No OFD packet to send [07:12:50]OFD Sender: No OFD packet to send [07:12:55]OFD Sender: No OFD packet to send [07:13:00]OFD Sender: No OFD packet to send [07:13:05]OFD Sender: No OFD packet to send [07:13:10]OFD Sender: No OFD packet to send [07:13:15]OFD Sender: No OFD packet to send [07:13:20]OFD Sender: No OFD packet to send [07:13:25]OFD Sender: No OFD packet to send [07:13:30]OFD Sender: No OFD packet to send [07:13:35]OFD Sender: No OFD packet to send [07:13:40]OFD Sender: No OFD packet to send [07:13:45]OFD Sender: No OFD packet to send [07:13:50]OFD Sender: No OFD packet to send [07:13:55]OFD Sender: No OFD packet to send [07:14:00]OFD Sender: No OFD packet to send [07:14:05]OFD Sender: No OFD packet to send [07:14:10]OFD Sender: No OFD packet to send [07:14:15]OFD Sender: No OFD packet to send [07:14:20]OFD Sender: No OFD packet to send [07:14:25]OFD Sender: No OFD packet to send [07:14:30]OFD Sender: No OFD packet to send [07:14:35]OFD Sender: No OFD packet to send [07:14:40]OFD Sender: No OFD packet to send [07:14:45]OFD Sender: No OFD packet to send [07:14:50]OFD Sender: No OFD packet to send [07:14:55]OFD Sender: No OFD packet to send [07:15:00]OFD Sender: No OFD packet to send [07:15:05]OFD Sender: No OFD packet to send [07:15:10]OFD Sender: No OFD packet to send [07:15:15]OFD Sender: No OFD packet to send [07:15:20]OFD Sender: No OFD packet to send [07:15:25]OFD Sender: No OFD packet to send [07:15:30]OFD Sender: No OFD packet to send [07:15:35]OFD Sender: No OFD packet to send [07:15:40]OFD Sender: No OFD packet to send [07:15:45]OFD Sender: No OFD packet to send [07:15:50]OFD Sender: No OFD packet to send [07:15:55]OFD Sender: No OFD packet to send [07:16:00]OFD Sender: No OFD packet to send [07:16:05]OFD Sender: No OFD packet to send [07:16:10]OFD Sender: No OFD packet to send [07:16:15]OFD Sender: No OFD packet to send [07:16:20]OFD Sender: No OFD packet to send [07:16:25]OFD Sender: No OFD packet to send [07:16:30]OFD Sender: No OFD packet to send [07:16:35]OFD Sender: No OFD packet to send [07:16:40]OFD Sender: No OFD packet to send [07:16:45]OFD Sender: No OFD packet to send [07:16:50]OFD Sender: No OFD packet to send [07:16:55]OFD Sender: No OFD packet to send [07:17:00]OFD Sender: No OFD packet to send [07:17:05]OFD Sender: No OFD packet to send [07:17:10]OFD Sender: No OFD packet to send [07:17:15]OFD Sender: No OFD packet to send [07:17:20]OFD Sender: No OFD packet to send [07:17:25]OFD Sender: No OFD packet to send [07:17:30]OFD Sender: No OFD packet to send [07:17:35]OFD Sender: No OFD packet to send [07:17:40]OFD Sender: No OFD packet to send [07:17:45]OFD Sender: No OFD packet to send [07:17:50]OFD Sender: No OFD packet to send [07:17:55]OFD Sender: No OFD packet to send [07:18:00]OFD Sender: No OFD packet to send [07:18:05]OFD Sender: No OFD packet to send [07:18:10]OFD Sender: No OFD packet to send [07:18:15]OFD Sender: No OFD packet to send [07:18:20]OFD Sender: No OFD packet to send [07:18:25]OFD Sender: No OFD packet to send [07:18:30]OFD Sender: No OFD packet to send [07:18:35]OFD Sender: No OFD packet to send [07:18:40]OFD Sender: No OFD packet to send [07:18:45]OFD Sender: No OFD packet to send [07:18:50]OFD Sender: No OFD packet to send [07:18:55]OFD Sender: No OFD packet to send [07:19:00]OFD Sender: No OFD packet to send [07:19:05]OFD Sender: No OFD packet to send [07:19:10]OFD Sender: No OFD packet to send [07:19:15]OFD Sender: No OFD packet to send [07:19:20]OFD Sender: No OFD packet to send [07:19:25]OFD Sender: No OFD packet to send [07:19:30]OFD Sender: No OFD packet to send [07:19:35]OFD Sender: No OFD packet to send [07:19:40]OFD Sender: No OFD packet to send [07:19:45]OFD Sender: No OFD packet to send [07:19:50]OFD Sender: No OFD packet to send [07:19:55]OFD Sender: No OFD packet to send [07:20:00]OFD Sender: No OFD packet to send [07:20:05]OFD Sender: No OFD packet to send [07:20:10]OFD Sender: No OFD packet to send [07:20:15]OFD Sender: No OFD packet to send [07:20:20]OFD Sender: No OFD packet to send [07:20:25]OFD Sender: No OFD packet to send [07:20:30]OFD Sender: No OFD packet to send [07:20:35]OFD Sender: No OFD packet to send [07:20:40]OFD Sender: No OFD packet to send [07:20:45]OFD Sender: No OFD packet to send [07:20:50]OFD Sender: No OFD packet to send [07:20:55]OFD Sender: No OFD packet to send [07:21:00]OFD Sender: No OFD packet to send [07:21:05]OFD Sender: No OFD packet to send [07:21:10]OFD Sender: No OFD packet to send [07:21:15]OFD Sender: No OFD packet to send [07:21:20]OFD Sender: No OFD packet to send [07:21:25]OFD Sender: No OFD packet to send [07:21:30]OFD Sender: No OFD packet to send [07:21:35]OFD Sender: No OFD packet to send [07:21:40]OFD Sender: No OFD packet to send [07:21:45]OFD Sender: No OFD packet to send [07:21:50]OFD Sender: No OFD packet to send [07:21:55]OFD Sender: No OFD packet to send [07:22:00]OFD Sender: No OFD packet to send [07:22:05]OFD Sender: No OFD packet to send [07:22:10]OFD Sender: No OFD packet to send [07:22:15]OFD Sender: No OFD packet to send [07:22:20]OFD Sender: No OFD packet to send [07:22:25]OFD Sender: No OFD packet to send [07:22:30]OFD Sender: No OFD packet to send [07:22:35]OFD Sender: No OFD packet to send [07:22:40]OFD Sender: No OFD packet to send [07:22:45]OFD Sender: No OFD packet to send [07:22:50]OFD Sender: No OFD packet to send [07:22:55]OFD Sender: No OFD packet to send [07:23:00]OFD Sender: No OFD packet to send [07:23:05]OFD Sender: No OFD packet to send [07:23:10]OFD Sender: No OFD packet to send [07:23:15]OFD Sender: No OFD packet to send [07:23:20]OFD Sender: No OFD packet to send [07:23:25]OFD Sender: No OFD packet to send [07:23:30]OFD Sender: No OFD packet to send [07:23:35]OFD Sender: No OFD packet to send [07:23:40]OFD Sender: No OFD packet to send [07:23:45]OFD Sender: No OFD packet to send [07:23:50]OFD Sender: No OFD packet to send [07:23:55]OFD Sender: No OFD packet to send [07:24:00]OFD Sender: No OFD packet to send [07:24:06]OFD Sender: No OFD packet to send [07:24:11]OFD Sender: No OFD packet to send [07:24:16]OFD Sender: No OFD packet to send [07:24:21]OFD Sender: No OFD packet to send [07:24:26]OFD Sender: No OFD packet to send [07:24:31]OFD Sender: No OFD packet to send [07:24:36]OFD Sender: No OFD packet to send [07:24:41]OFD Sender: No OFD packet to send [07:24:46]OFD Sender: No OFD packet to send [07:24:51]OFD Sender: No OFD packet to send [07:24:56]OFD Sender: No OFD packet to send [07:25:01]OFD Sender: No OFD packet to send [07:25:06]OFD Sender: No OFD packet to send [07:25:11]OFD Sender: No OFD packet to send [07:25:16]OFD Sender: No OFD packet to send [07:25:21]OFD Sender: No OFD packet to send [07:25:26]OFD Sender: No OFD packet to send [07:25:31]OFD Sender: No OFD packet to send [07:25:36]OFD Sender: No OFD packet to send [07:25:41]OFD Sender: No OFD packet to send [07:25:46]OFD Sender: No OFD packet to send [07:25:51]OFD Sender: No OFD packet to send [07:25:56]OFD Sender: No OFD packet to send [07:26:01]OFD Sender: No OFD packet to send [07:26:06]OFD Sender: No OFD packet to send [07:26:11]OFD Sender: No OFD packet to send [07:26:16]OFD Sender: No OFD packet to send [07:26:21]OFD Sender: No OFD packet to send [07:26:26]OFD Sender: No OFD packet to send [07:26:31]OFD Sender: No OFD packet to send [07:26:36]OFD Sender: No OFD packet to send [07:26:41]OFD Sender: No OFD packet to send [07:26:46]OFD Sender: No OFD packet to send [07:26:51]OFD Sender: No OFD packet to send [07:26:56]OFD Sender: No OFD packet to send [07:27:01]OFD Sender: No OFD packet to send [07:27:06]OFD Sender: No OFD packet to send [07:27:11]OFD Sender: No OFD packet to send [07:27:16]OFD Sender: No OFD packet to send [07:27:21]OFD Sender: No OFD packet to send [07:27:26]OFD Sender: No OFD packet to send [07:27:31]OFD Sender: No OFD packet to send [07:27:36]OFD Sender: No OFD packet to send [07:27:41]OFD Sender: No OFD packet to send [07:27:46]OFD Sender: No OFD packet to send [07:27:51]OFD Sender: No OFD packet to send [07:27:56]OFD Sender: No OFD packet to send [07:28:01]OFD Sender: No OFD packet to send [07:28:06]OFD Sender: No OFD packet to send [07:28:11]OFD Sender: No OFD packet to send [07:28:16]OFD Sender: No OFD packet to send [07:28:21]OFD Sender: No OFD packet to send [07:28:26]OFD Sender: No OFD packet to send [07:28:31]OFD Sender: No OFD packet to send [07:28:36]OFD Sender: No OFD packet to send [07:28:41]OFD Sender: No OFD packet to send [07:28:46]OFD Sender: No OFD packet to send [07:28:51]OFD Sender: No OFD packet to send [07:28:56]OFD Sender: No OFD packet to send [07:29:01]OFD Sender: No OFD packet to send [07:29:06]OFD Sender: No OFD packet to send [07:29:11]OFD Sender: No OFD packet to send [07:29:16]OFD Sender: No OFD packet to send [07:29:21]OFD Sender: No OFD packet to send [07:29:26]OFD Sender: No OFD packet to send [07:29:31]OFD Sender: No OFD packet to send [07:29:36]OFD Sender: No OFD packet to send [07:29:41]OFD Sender: No OFD packet to send [07:29:46]OFD Sender: No OFD packet to send [07:29:51]OFD Sender: No OFD packet to send [07:29:56]OFD Sender: No OFD packet to send [07:30:01]OFD Sender: No OFD packet to send [07:30:06]OFD Sender: No OFD packet to send [07:30:11]OFD Sender: No OFD packet to send [07:30:16]OFD Sender: No OFD packet to send [07:30:21]OFD Sender: No OFD packet to send [07:30:26]OFD Sender: No OFD packet to send [07:30:31]OFD Sender: No OFD packet to send [07:30:36]OFD Sender: No OFD packet to send [07:30:41]OFD Sender: No OFD packet to send [07:30:46]OFD Sender: No OFD packet to send [07:30:51]OFD Sender: No OFD packet to send [07:30:56]OFD Sender: No OFD packet to send [07:31:01]OFD Sender: No OFD packet to send [07:31:06]OFD Sender: No OFD packet to send [07:31:11]OFD Sender: No OFD packet to send [07:31:16]OFD Sender: No OFD packet to send [07:31:21]OFD Sender: No OFD packet to send [07:31:26]OFD Sender: No OFD packet to send [07:31:31]OFD Sender: No OFD packet to send [07:31:36]OFD Sender: No OFD packet to send [07:31:41]OFD Sender: No OFD packet to send [07:31:46]OFD Sender: No OFD packet to send [07:31:51]OFD Sender: No OFD packet to send [07:31:56]OFD Sender: No OFD packet to send [07:32:01]OFD Sender: No OFD packet to send [07:32:06]OFD Sender: No OFD packet to send [07:32:11]OFD Sender: No OFD packet to send [07:32:16]OFD Sender: No OFD packet to send [07:32:21]OFD Sender: No OFD packet to send [07:32:26]OFD Sender: No OFD packet to send [07:32:31]OFD Sender: No OFD packet to send [07:32:36]OFD Sender: No OFD packet to send [07:32:41]OFD Sender: No OFD packet to send [07:32:46]OFD Sender: No OFD packet to send [07:32:51]OFD Sender: No OFD packet to send [07:32:56]OFD Sender: No OFD packet to send [07:33:01]OFD Sender: No OFD packet to send [07:33:06]OFD Sender: No OFD packet to send [07:33:11]OFD Sender: No OFD packet to send [07:33:16]OFD Sender: No OFD packet to send [07:33:21]OFD Sender: No OFD packet to send [07:33:26]OFD Sender: No OFD packet to send [07:33:31]OFD Sender: No OFD packet to send [07:33:36]OFD Sender: No OFD packet to send [07:33:41]OFD Sender: No OFD packet to send [07:33:46]OFD Sender: No OFD packet to send [07:33:51]OFD Sender: No OFD packet to send [07:33:56]OFD Sender: No OFD packet to send [07:34:01]OFD Sender: No OFD packet to send [07:34:06]OFD Sender: No OFD packet to send [07:34:11]OFD Sender: No OFD packet to send [07:34:16]OFD Sender: No OFD packet to send [07:34:21]OFD Sender: No OFD packet to send [07:34:26]OFD Sender: No OFD packet to send [07:34:31]OFD Sender: No OFD packet to send [07:34:36]OFD Sender: No OFD packet to send [07:34:41]OFD Sender: No OFD packet to send [07:34:46]OFD Sender: No OFD packet to send [07:34:51]OFD Sender: No OFD packet to send [07:34:56]OFD Sender: No OFD packet to send [07:35:01]OFD Sender: No OFD packet to send [07:35:06]OFD Sender: No OFD packet to send [07:35:10]accept exits with 7 [07:35:10]New connection [07:35:10]New thread 3066699108 created [07:35:10]Thread 3066555748 joined [07:35:10]Waiting for new connection... [07:35:10] Sock 7.Parse request [07:35:10]Sock 7.Check first char [07:35:10]Sock 7.First char is OK [07:35:10]request: POST /json_proto HTTP/1.0 [07:35:10]Method: POST [07:35:10]URL: /json_proto [07:35:10]Method is POST - this is cgi request [07:35:10]url: /json_proto [07:35:10]query_string will be loaded in cgi processing [07:35:10]execute_cgi json_proto POST (null) [07:35:10]execute_cgi path=json_proto method=POST [07:35:10]POST find Content-Length [07:35:10]Host: 172.17.53.68:8080 [07:35:10]Content-Length: 970 [07:35:10]Content-Type: application/json [07:35:10] [07:35:10]POST finish read [07:35:10]Found Content-Length = 970 [07:35:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76644", "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": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.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" ] } } [07:35:10]execute_script... [07:35:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76644", "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": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.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" ] } } [07:35:10]POST & json_proto [07:35:10]process_json_proto [07:35:10]json parsed OK: [07:35:10]protocol is kg_v1.0 [07:35:10]action value=close_receipt [07:35:10]process_action close_receipt [07:35:10]cmd_close_receipt [07:35:10]MH_GetDate [07:35:10]Write to MH i2c: F0 00 00 E6 16 EB [07:35:10]Write i2c OK [07:35:10]MH_I2C_Read... [07:35:10]Read from MH i2c: F0 [07:35:10]MH_I2C_Read... [07:35:10]Read from MH i2c: F0 09 00 [07:35:10]MH_I2C_Read... [07:35:10]Read from MH i2c: F0 09 00 E6 16 00 B5 B2 14 67 C5 A4 76 66 1B [07:35:10]GetLastDocTimeStamp 1729407017 [07:35:10]current date 1729409717 [07:35:10]FM_GetShiftState [07:35:10]SAM_PROTO_GetShiftState [07:35:10]wFMCommunicate request_size=4 [07:35:10]MH_SAM_APDU [07:35:10]CAPDU: 80 13 01 00 [07:35:10]Write to MH i2c: E2 08 00 E7 16 80 13 01 00 00 00 00 00 7A [07:35:10]Write i2c OK [07:35:10]MH_I2C_Read... [07:35:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:35:10]Read from MH i2c: E2 [07:35:10]MH_I2C_Read... [07:35:10]Read from MH i2c: E2 0E 00 [07:35:10]MH_I2C_Read... [07:35:10]Read from MH i2c: E2 0E 00 E7 16 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 CF [07:35:10]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [07:35:10]wFMCommunicate OK [07:35:10]SAM_PROTO_GetShiftState done [07:35:10]FM_GetShiftState done [07:35:10]opened in 1729383299 [07:35:10]opened+sec_in_day 1729469699 [07:35:10]quantity*price = 13000 [07:35:10]sum+1 = 13001 [07:35:10]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4660085515163 Шок Батончик Ð¡Ð½Ð¸ÐºÐµÑ€Ñ Ñупер 95/80г 1.000 * 90.00 = 90.00 ÐДС 12% ÐСП 1% > о реализуемом товаре ИТОГО: 220.00 ÐСП 1% : 1.95 ÐДС 12% : 23.36 Ðаличными: 220.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 11 20.10.2024 07:35 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37163 ФПД: 95528437292574 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T073517&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37163&fm=95528437292574&tin=02508201610067®Number=0000000000098149&sum=22000 0 [07:35:11]StoreToDocumentArchive [07:35:11]shift 461 fd 37163 [07:35:11]save to /storage/0461/doc_00037163 [07:35:11]save last doc name /storage/0461/doc_00037163 to /storage/kkm_last_doc_name [07:35:11]save OK [07:35:11]Clear old archive folders... [07:35:11]ProcessDocumentItem done err = 0, tmpTLVsize=411 [07:35:11]tlvbuf is 00967B70 [07:35:11]SAM_PROTO_ClearQueue [07:35:11]wFMCommunicate request_size=4 [07:35:11]MH_SAM_APDU [07:35:11]CAPDU: 80 09 00 00 [07:35:11]Write to MH i2c: E2 08 00 F4 16 80 09 00 00 00 00 00 00 7C [07:35:11]Write i2c OK [07:35:11]MH_I2C_Read... [07:35:11]Read from MH i2c: E2 [07:35:11]MH_I2C_Read... [07:35:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:35:11]Read from MH i2c: E2 03 00 [07:35:11]MH_I2C_Read... [07:35:11]Read from MH i2c: E2 03 00 F4 16 00 90 00 7E [07:35:11]RAPDU: 90 00 [07:35:11]wFMCommunicate OK [07:35:11]SAM_PROTO_ClearQueue done [07:35:11]KKMCreateOFDPacket [07:35:11]OFDProtocolAddRootSTLVToBuf [07:35:11]FM_MakeSignedData [07:35:11]FM_MakeSignedData [07:35:11]SAM_PROTO_SignData [07:35:11]wFMCommunicate request_size=4 [07:35:11]MH_SAM_APDU [07:35:11]CAPDU: 80 0D 01 02 [07:35:11]Write to MH i2c: E2 08 00 F5 16 80 0D 01 02 00 00 00 00 84 [07:35:11]Write i2c OK [07:35:11]MH_I2C_Read... [07:35:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:35:12]Read from MH i2c: E2 [07:35:12]MH_I2C_Read... [07:35:12]Read from MH i2c: E2 03 00 [07:35:12]MH_I2C_Read... [07:35:12]Read from MH i2c: E2 03 00 F5 16 00 90 00 7F [07:35:12]RAPDU: 90 00 [07:35:12]wFMCommunicate OK [07:35:12]wFMCommunicate request_size=255 [07:35:12]MH_SAM_APDU [07:35:12]CAPDU: 80 0D 02 02 FA 03 00 9B 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 [07:35:12]Write to MH i2c: E2 02 01 F6 16 80 0D 02 02 FA 00 03 00 9B 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 00 00 E1 [07:35:12]Write i2c OK [07:35:12]MH_I2C_Read... [07:35:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:35:12]Read from MH i2c: E2 [07:35:12]MH_I2C_Read... [07:35:12]Read from MH i2c: E2 03 00 [07:35:12]MH_I2C_Read... [07:35:12]Read from MH i2c: E2 03 00 F6 16 00 90 00 80 [07:35:12]RAPDU: 90 00 [07:35:12]wFMCommunicate OK [07:35:12]wFMCommunicate request_size=170 [07:35:12]MH_SAM_APDU [07:35:12]CAPDU: 80 0D 02 02 A5 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 0B 00 00 00 F4 03 04 00 B5 B2 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 2B 91 00 00 35 04 06 00 56 E1 F2 92 1E 1E [07:35:12]Write to MH i2c: E2 AD 00 F7 16 80 0D 02 02 A5 00 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 0B 00 00 00 F4 03 04 00 B5 B2 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 2B 91 00 00 35 04 06 00 56 E1 F2 92 1E 1E 00 00 FD [07:35:12]Write i2c OK [07:35:12]MH_I2C_Read... [07:35:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:35:12]Read from MH i2c: E2 [07:35:12]MH_I2C_Read... [07:35:12]Read from MH i2c: E2 03 00 [07:35:12]MH_I2C_Read... [07:35:12]Read from MH i2c: E2 03 00 F7 16 00 90 00 81 [07:35:12]RAPDU: 90 00 [07:35:12]wFMCommunicate OK [07:35:12]wFMCommunicate request_size=4 [07:35:12]MH_SAM_APDU [07:35:12]CAPDU: 80 0D 03 02 [07:35:12]Write to MH i2c: E2 08 00 F8 16 80 0D 03 02 00 00 00 00 89 [07:35:12]Write i2c OK [07:35:12]MH_I2C_Read... [07:35:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:35:12]Read from MH i2c: E2 [07:35:12]MH_I2C_Read... [07:35:12]Read from MH i2c: E2 0B 00 [07:35:12]MH_I2C_Read... [07:35:12]Read from MH i2c: E2 0B 00 F8 16 00 7B D3 5B 1A 91 A0 62 6B 90 00 4B [07:35:12]RAPDU: 7B D3 5B 1A 91 A0 62 6B 90 00 [07:35:12]wFMCommunicate OK [07:35:12]SAM_PROTO_SignData done [07:35:12]FM_MakeSignedData done [07:35:12]CreateOFDProtocolMessage [07:35:12]wFMCommunicate request_size=4 [07:35:12]MH_SAM_APDU [07:35:12]CAPDU: 80 11 00 00 [07:35:12]Write to MH i2c: E2 08 00 F9 16 80 11 00 00 00 00 00 00 89 [07:35:12]Write i2c OK [07:35:12]MH_I2C_Read... [07:35:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:35:12]Read from MH i2c: E2 [07:35:12]MH_I2C_Read... [07:35:12]Read from MH i2c: E2 17 00 [07:35:12]MH_I2C_Read... [07:35:12]Read from MH i2c: E2 17 00 F9 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 DC [07:35:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [07:35:12]wFMCommunicate OK [07:35:12]CreateOFDProtocolMessage done [07:35:12]OFDSenderStorePacket 37163 [07:35:12]StoreOFDPacket docnum=37163 [07:35:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 AF 01 00 00 26 43 A7 01 0C FD 5A 03 01 00 03 00 9B 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 0B 00 00 00 F4 03 04 00 B5 B2 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 2B 91 00 00 35 04 06 00 56 E1 F2 92 1E 1E 7B D3 5B 1A 91 A0 62 6B [07:35:12]CheckFolder [07:35:12]dirname=/storage/ofd_packets [07:35:12]CheckFolder done [07:35:12]ProducePacketName [07:35:12]name=ofd_packets/00037163 [07:35:12]NVStorageSaveData ofd_packets/00037163 [07:35:12]File name is /storage/ofd_packets/00037163 [07:35:12]Write 461 bytes [07:35:12]NVStorageSaveData done [07:35:12]OFDSenderStorePacket done [07:35:12]KKMCreateOFDPacket done [07:35:12]NVStorageSaveData kkm_last_timestamp [07:35:12]File name is /storage/kkm_last_timestamp [07:35:12]Write 4 bytes [07:35:12]NVStorageSaveData done [07:35:12]ExternCall_PrintAddStr [07:35:12]wPrintStart [07:35:12]Write to MH i2c: 01 00 00 FA 16 10 [07:35:12]Write i2c OK [07:35:12]MH_I2C_Read... [07:35:12]Read from MH i2c: 01 [07:35:12]MH_I2C_Read... [07:35:12]Read from MH i2c: 01 07 00 [07:35:12]MH_I2C_Read... [07:35:12]OFD Sender: Processing packet 37163 [packets to send 25, broken 24] [07:35:12]ProducePacketName [07:35:12]name=ofd_packets/00037163 [07:35:12]Read from MH i2c: 01 07 00 FA 16 00 00 00 00 00 FF 0F 25 [07:35:12]RasterBufferAndPrint [07:35:12]line Счет N : (3)76644 [07:35:12]line ИÐÐ: 02508201610067 [07:35:12]line Контрольно-КаÑÑовый Чек [07:35:12]line ПРОДÐЖР[07:35:12]line Товар: 2000036220012 [07:35:12]line Кофе Капучино XL(GABB TRADE) [07:35:12]line 1.000 * 130.00 [07:35:12]line = 130.00 [07:35:12]line ÐДС 12% ÐСП 1% [07:35:12]line > о реализуемом товаре [07:35:12]line Товар: 4660085515163 [07:35:12]line Шок Батончик Ð¡Ð½Ð¸ÐºÐµÑ€Ñ Ñупер 95/80г [07:35:12]line 1.000 * 90.00 [07:35:12]line = 90.00 [07:35:12]line ÐДС 12% ÐСП 1% [07:35:12]line > о реализуемом товаре [07:35:12]line ИТОГО: 220.00 [07:35:12]line ÐСП 1% : 1.95 [07:35:12]line ÐДС 12% : 23.36 [07:35:12]line Ðаличными: 220.00 [07:35:12]line Безнал.: 0.00 [07:35:12]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [07:35:12]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [07:35:12]line СÐО: Общий режим [07:35:12]line Чек 11 20.10.2024 07:35 [07:35:12]line Смена: 461 ФФД: 1.0 [07:35:12]line ЗÐМ: 0300000235 [07:35:12]line РÐМ: 0000000000098149 [07:35:12]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [07:35:12]line ФМ: 0000000000965372 [07:35:12]line ФД: 37163 [07:35:12]line ФПД: 95528437292574 [07:35:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T073517&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37163&fm=95528437292574&tin=02508201610067®Number=0000000000098149&sum=22000 [07:35:12]line 0 [07:35:12]OFD Sender: To server: ‡•öpG, [07:35:12]CommunicateWithHost lk.salyk.kg:30040 [07:35:12]ConnectInit lk.salyk.kg [07:35:12]written 0, free lines is 4095 [07:35:13]Connected sock=10 [07:35: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 33 37 32 AF 01 00 00 26 43 A7 01 0C FD 5A 03 01 00 03 00 9B 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 0B 00 00 00 F4 03 04 00 B5 B2 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 2B 91 00 00 35 04 06 00 56 E1 F2 92 1E 1E 7B D3 5B 1A 91 A0 62 6B [07:35:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 25 68 47 00 78 35 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 2B 91 00 00 F4 03 04 00 48 5B 14 67 B6 04 01 00 00 82 E9 A2 57 95 71 46 A7 [07:35:13]CommunicateWithHost err = 0 [07:35:13]CheckOFDResponse [07:35:13]1017 (14) - 77093643461234 [07:35:13]1041 (16) - 0000000000965372 [07:35:13]1040 (4) - 37163 [07:35:13]1012 (4) - 20.10.2024 01:22 [07:35:13]1206 (1) - 0 [07:35:13]OFD Sender: Remove packet 37163 [07:35:13]ProducePacketName [07:35:13]name=ofd_packets/00037163 [07:35:13]NVStorageDeleteData [07:35:13]Write to MH i2c: 01 00 00 2A 17 41 [07:35:13]Write i2c OK [07:35:13]MH_I2C_Read... [07:35:13]Read from MH i2c: 01 [07:35:13]MH_I2C_Read... [07:35:13]Read from MH i2c: 01 07 00 [07:35:13]MH_I2C_Read... [07:35:13]Read from MH i2c: 01 07 00 2A 17 00 00 00 00 00 7B 0C CF [07:35:13]RasterBufferAndPrint [07:35:13]line [07:35:13]line [07:35:13]line [07:35:13]line [07:35:13]line [07:35:13]written 0, free lines is 3201 [07:35:13]process_action close_receipt done [07:35:13]requested_data is exist [07:35:13]produce_requested_data [07:35:13]requested_item fm.sn is exist - process it [07:35:13]wFMCommunicate request_size=4 [07:35:13]MH_SAM_APDU [07:35:13]CAPDU: 80 11 00 00 [07:35:13]Write to MH i2c: E2 08 00 31 17 80 11 00 00 00 00 00 00 C2 [07:35:13]Write i2c OK [07:35:13]MH_I2C_Read... [07:35:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:35:13]Read from MH i2c: E2 [07:35:13]MH_I2C_Read... [07:35:13]Read from MH i2c: E2 17 00 [07:35:13]MH_I2C_Read... [07:35:13]Read from MH i2c: E2 17 00 31 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 15 [07:35:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [07:35:13]wFMCommunicate OK [07:35:13]requested_item fd.num is exist - process it [07:35:13]SAM_PROTO_GetFieldsCounters [07:35:13]wFMCommunicate request_size=4 [07:35:13]MH_SAM_APDU [07:35:13]CAPDU: 80 13 00 00 [07:35:13]Write to MH i2c: E2 08 00 32 17 80 13 00 00 00 00 00 00 C5 [07:35:13]Write i2c OK [07:35:13]MH_I2C_Read... [07:35:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:35:13]Read from MH i2c: E2 [07:35:13]MH_I2C_Read... [07:35:13]Read from MH i2c: E2 62 00 [07:35:13]MH_I2C_Read... [07:35:13]Read from MH i2c: E2 62 00 32 17 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 2B 91 00 00 0E 04 04 00 CD 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 97 [07:35:13]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 2B 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:35:13]wFMCommunicate OK [07:35:13]SAM_PROTO_GetFieldsCounters done [07:35:13]requested_item shift.num is exist - process it [07:35:13]requested_item shift.opened is exist - process it [07:35:13]req_shift_opened [07:35:13]FM_GetShiftState [07:35:13]SAM_PROTO_GetShiftState [07:35:13]wFMCommunicate request_size=4 [07:35:13]MH_SAM_APDU [07:35:13]CAPDU: 80 13 01 00 [07:35:13]Write to MH i2c: E2 08 00 33 17 80 13 01 00 00 00 00 00 C7 [07:35:13]Write i2c OK [07:35:13]MH_I2C_Read... [07:35:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:35:13]Read from MH i2c: E2 [07:35:13]MH_I2C_Read... [07:35:13]Read from MH i2c: E2 0E 00 [07:35:13]MH_I2C_Read... [07:35:13]Read from MH i2c: E2 0E 00 33 17 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 1C [07:35:13]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [07:35:13]wFMCommunicate OK [07:35:13]SAM_PROTO_GetShiftState done [07:35:13]FM_GetShiftState done [07:35:13]req_shift_opened done [07:35:13]requested_item shift.open_date is exist - process it [07:35:13]req_shift_open_date [07:35:13]req_shift_open_date done [07:35:13]produce_requested_data done [07:35:13]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37163,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [07:35:13]process_action_free close_receipt [07:35:13]json_value_free [07:35:13]json_value_free done [07:35:13]process_json_proto returns [07:35:13]Send response to host [07:35:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37163,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [07:35:13]free response buf [07:35:13]execute_script done [07:35:13]execute_script returns [07:35:13]free content buf [07:35:13]Sock 7.Close socket [07:35:13]Sock 7.Thread stoped [07:35:13]OFD Sender: No OFD packet to send [07:35:18]OFD Sender: No OFD packet to send [07:35:23]OFD Sender: No OFD packet to send [07:35:28]int [07:35:28]Write to MH i2c: 01 00 00 34 17 4B [07:35:28]*** FLAG_PRN_KEY set [07:35:28]Write i2c OK [07:35:28]MH_I2C_Read... [07:35:28]Read from MH i2c: 01 [07:35:28]MH_I2C_Read... [07:35:28]Read from MH i2c: 01 07 00 [07:35:28]MH_I2C_Read... [07:35:28]Read from MH i2c: 01 07 00 34 17 00 08 00 00 00 FF 0F 68 [07:35:28]state=0 [07:35:28]Key pressed [07:35:28]Feed [07:35:28]Write to MH i2c: D8 00 00 35 17 23 [07:35:28]Write i2c OK [07:35:28]MH_I2C_Read... [07:35:28]Read from MH i2c: D8 [07:35:28]MH_I2C_Read... [07:35:28]Read from MH i2c: D8 01 00 [07:35:28]MH_I2C_Read... [07:35:28]Read from MH i2c: D8 01 00 35 17 00 24 [07:35:28]int [07:35:28]Write to MH i2c: 01 00 00 36 17 4D [07:35:28]Write i2c OK [07:35:28]MH_I2C_Read... [07:35:28]Read from MH i2c: 01 [07:35:28]MH_I2C_Read... [07:35:28]Read from MH i2c: 01 07 00 [07:35:28]MH_I2C_Read... [07:35:28]Read from MH i2c: 01 07 00 36 17 00 48 00 00 00 3D 00 D9 [07:35:28]state=2 [07:35:28]Key pressed [07:35:28]int [07:35:28]Write to MH i2c: 01 00 00 37 17 4E [07:35:28]*** FLAG_PRN_KEY reset [07:35:28]Write i2c OK [07:35:28]MH_I2C_Read... [07:35:28]Read from MH i2c: 01 [07:35:28]MH_I2C_Read... [07:35:28]Read from MH i2c: 01 07 00 [07:35:28]MH_I2C_Read... [07:35:28]Read from MH i2c: 01 07 00 37 17 00 00 00 00 00 F6 0F 5A [07:35:28]state=2 [07:35:28]Stop feed [07:35:28]OFD Sender: No OFD packet to send [07:35:33]OFD Sender: No OFD packet to send [07:35:38]OFD Sender: No OFD packet to send [07:35:43]OFD Sender: No OFD packet to send [07:35:48]OFD Sender: No OFD packet to send [07:35:53]OFD Sender: No OFD packet to send [07:35:58]OFD Sender: No OFD packet to send [07:36:03]OFD Sender: No OFD packet to send [07:36:08]OFD Sender: No OFD packet to send [07:36:13]OFD Sender: No OFD packet to send [07:36:18]OFD Sender: No OFD packet to send [07:36:23]OFD Sender: No OFD packet to send [07:36:28]OFD Sender: No OFD packet to send [07:36:33]OFD Sender: No OFD packet to send [07:36:38]OFD Sender: No OFD packet to send [07:36:43]OFD Sender: No OFD packet to send [07:36:48]OFD Sender: No OFD packet to send [07:36:49]accept exits with 9 [07:36:49]New connection [07:36:49]New thread 3066555748 created [07:36:49]Thread 3066699108 joined [07:36:49]Waiting for new connection... [07:36:49] Sock 9.Parse request [07:36:49]Sock 9.Check first char [07:36:49]Sock 9.First char is OK [07:36:49]request: POST /json_proto HTTP/1.0 [07:36:49]Method: POST [07:36:49]URL: /json_proto [07:36:49]Method is POST - this is cgi request [07:36:49]url: /json_proto [07:36:49]query_string will be loaded in cgi processing [07:36:49]execute_cgi json_proto POST (null) [07:36:49]execute_cgi path=json_proto method=POST [07:36:49]POST find Content-Length [07:36:49]Host: 172.17.53.68:8080 [07:36:49]Content-Length: 649 [07:36:49]Content-Type: application/json [07:36:49] [07:36:49]POST finish read [07:36:49]Found Content-Length = 649 [07:36:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76645", "tax_sys" : 0, "items" : [ { "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:36:49]execute_script... [07:36: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)76645", "tax_sys" : 0, "items" : [ { "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:36:49]POST & json_proto [07:36:49]process_json_proto [07:36:49]json parsed OK: [07:36:49]protocol is kg_v1.0 [07:36:49]action value=close_receipt [07:36:49]process_action close_receipt [07:36:49]cmd_close_receipt [07:36:49]MH_GetDate [07:36:49]Write to MH i2c: F0 00 00 38 17 3E [07:36:49]Write i2c OK [07:36:49]MH_I2C_Read... [07:36:49]Read from MH i2c: F0 [07:36:49]MH_I2C_Read... [07:36:49]Read from MH i2c: F0 09 00 [07:36:49]MH_I2C_Read... [07:36:49]Read from MH i2c: F0 09 00 38 17 00 17 B3 14 67 C5 A4 76 66 D1 [07:36:49]GetLastDocTimeStamp 1729409717 [07:36:49]current date 1729409815 [07:36:49]FM_GetShiftState [07:36:49]SAM_PROTO_GetShiftState [07:36:49]wFMCommunicate request_size=4 [07:36:49]MH_SAM_APDU [07:36:49]CAPDU: 80 13 01 00 [07:36:49]Write to MH i2c: E2 08 00 39 17 80 13 01 00 00 00 00 00 CD [07:36:49]Write i2c OK [07:36:49]MH_I2C_Read... [07:36:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:36:49]Read from MH i2c: E2 [07:36:49]MH_I2C_Read... [07:36:49]Read from MH i2c: E2 0E 00 [07:36:49]MH_I2C_Read... [07:36:49]Read from MH i2c: E2 0E 00 39 17 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 22 [07:36:49]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [07:36:49]wFMCommunicate OK [07:36:49]SAM_PROTO_GetShiftState done [07:36:49]FM_GetShiftState done [07:36:49]opened in 1729383299 [07:36:49]opened+sec_in_day 1729469699 [07:36:49]quantity*price = 10500 [07:36:49]sum+1 = 10501 [07:36:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 105.00 ÐСП 1% : 0.93 ÐДС 12% : 11.15 Ðаличными: 105.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 12 20.10.2024 07:36 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37164 ФПД: 238234788396583 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T073655&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37164&fm=238234788396583&tin=02508201610067®Number=0000000000098149&sum=10500 0 [07:36:50]StoreToDocumentArchive [07:36:50]shift 461 fd 37164 [07:36:50]save to /storage/0461/doc_00037164 [07:36:50]save last doc name /storage/0461/doc_00037164 to /storage/kkm_last_doc_name [07:36:50]save OK [07:36:50]Clear old archive folders... [07:36:50]ProcessDocumentItem done err = 0, tmpTLVsize=282 [07:36:50]tlvbuf is B6E6A770 [07:36:50]SAM_PROTO_ClearQueue [07:36:50]wFMCommunicate request_size=4 [07:36:50]MH_SAM_APDU [07:36:50]CAPDU: 80 09 00 00 [07:36:50]Write to MH i2c: E2 08 00 46 17 80 09 00 00 00 00 00 00 CF [07:36:50]Write i2c OK [07:36:50]MH_I2C_Read... [07:36:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:36:50]Read from MH i2c: E2 [07:36:50]MH_I2C_Read... [07:36:50]Read from MH i2c: E2 03 00 [07:36:50]MH_I2C_Read... [07:36:50]Read from MH i2c: E2 03 00 46 17 00 90 00 D1 [07:36:50]RAPDU: 90 00 [07:36:50]wFMCommunicate OK [07:36:50]SAM_PROTO_ClearQueue done [07:36:50]KKMCreateOFDPacket [07:36:50]OFDProtocolAddRootSTLVToBuf [07:36:50]FM_MakeSignedData [07:36:50]FM_MakeSignedData [07:36:50]SAM_PROTO_SignData [07:36:50]wFMCommunicate request_size=4 [07:36:50]MH_SAM_APDU [07:36:50]CAPDU: 80 0D 01 02 [07:36:50]Write to MH i2c: E2 08 00 47 17 80 0D 01 02 00 00 00 00 D7 [07:36:50]Write i2c OK [07:36:50]MH_I2C_Read... [07:36:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:36:50]Read from MH i2c: E2 [07:36:50]MH_I2C_Read... [07:36:50]Read from MH i2c: E2 03 00 [07:36:50]MH_I2C_Read... [07:36:50]Read from MH i2c: E2 03 00 47 17 00 90 00 D2 [07:36:50]RAPDU: 90 00 [07:36:50]wFMCommunicate OK [07:36:50]wFMCommunicate request_size=255 [07:36:50]MH_SAM_APDU [07:36:50]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 17 B3 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 [07:36:50]Write to MH i2c: E2 02 01 48 17 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 17 B3 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 00 00 C4 [07:36:50]Write i2c OK [07:36:50]MH_I2C_Read... [07:36:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:36:50]Read from MH i2c: E2 [07:36:50]MH_I2C_Read... [07:36:50]Read from MH i2c: E2 03 00 [07:36:50]MH_I2C_Read... [07:36:50]Read from MH i2c: E2 03 00 48 17 00 90 00 D3 [07:36:50]RAPDU: 90 00 [07:36:50]wFMCommunicate OK [07:36:50]wFMCommunicate request_size=41 [07:36:50]MH_SAM_APDU [07:36:50]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 2C 91 00 00 35 04 06 00 D8 AC 5B EF 7E 27 [07:36:50]Write to MH i2c: E2 2C 00 49 17 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 2C 91 00 00 35 04 06 00 D8 AC 5B EF 7E 27 00 00 D9 [07:36:50]Write i2c OK [07:36:50]MH_I2C_Read... [07:36:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:36:50]Read from MH i2c: E2 [07:36:50]MH_I2C_Read... [07:36:50]Read from MH i2c: E2 03 00 [07:36:50]MH_I2C_Read... [07:36:50]Read from MH i2c: E2 03 00 49 17 00 90 00 D4 [07:36:50]RAPDU: 90 00 [07:36:50]wFMCommunicate OK [07:36:50]wFMCommunicate request_size=4 [07:36:50]MH_SAM_APDU [07:36:50]CAPDU: 80 0D 03 02 [07:36:50]Write to MH i2c: E2 08 00 4A 17 80 0D 03 02 00 00 00 00 DC [07:36:50]Write i2c OK [07:36:50]MH_I2C_Read... [07:36:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:36:51]Read from MH i2c: E2 [07:36:51]MH_I2C_Read... [07:36:51]Read from MH i2c: E2 0B 00 [07:36:51]MH_I2C_Read... [07:36:51]Read from MH i2c: E2 0B 00 4A 17 00 11 E2 12 DC 18 F3 E3 CA 90 00 76 [07:36:51]RAPDU: 11 E2 12 DC 18 F3 E3 CA 90 00 [07:36:51]wFMCommunicate OK [07:36:51]SAM_PROTO_SignData done [07:36:51]FM_MakeSignedData done [07:36:51]CreateOFDProtocolMessage [07:36:51]wFMCommunicate request_size=4 [07:36:51]MH_SAM_APDU [07:36:51]CAPDU: 80 11 00 00 [07:36:51]Write to MH i2c: E2 08 00 4B 17 80 11 00 00 00 00 00 00 DC [07:36:51]Write i2c OK [07:36:51]MH_I2C_Read... [07:36:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:36:51]Read from MH i2c: E2 [07:36:51]MH_I2C_Read... [07:36:51]Read from MH i2c: E2 17 00 [07:36:51]MH_I2C_Read... [07:36:51]Read from MH i2c: E2 17 00 4B 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 2F [07:36:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [07:36:51]wFMCommunicate OK [07:36:51]CreateOFDProtocolMessage done [07:36:51]OFDSenderStorePacket 37164 [07:36:51]StoreOFDPacket docnum=37164 [07:36:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 2E 01 00 00 3D 16 26 01 85 0E 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 17 B3 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 2C 91 00 00 35 04 06 00 D8 AC 5B EF 7E 27 11 E2 12 DC 18 F3 E3 CA [07:36:51]CheckFolder [07:36:51]dirname=/storage/ofd_packets [07:36:51]CheckFolder done [07:36:51]ProducePacketName [07:36:51]name=ofd_packets/00037164 [07:36:51]NVStorageSaveData ofd_packets/00037164 [07:36:51]File name is /storage/ofd_packets/00037164 [07:36:51]Write 332 bytes [07:36:51]NVStorageSaveData done [07:36:51]OFDSenderStorePacket done [07:36:51]KKMCreateOFDPacket done [07:36:51]NVStorageSaveData kkm_last_timestamp [07:36:51]File name is /storage/kkm_last_timestamp [07:36:51]Write 4 bytes [07:36:51]NVStorageSaveData done [07:36:51]ExternCall_PrintAddStr [07:36:51]wPrintStart [07:36:51]Write to MH i2c: 01 00 00 4C 17 63 [07:36:51]Write i2c OK [07:36:51]MH_I2C_Read... [07:36:51]Read from MH i2c: 01 [07:36:51]MH_I2C_Read... [07:36:51]Read from MH i2c: 01 07 00 [07:36:51]MH_I2C_Read... [07:36:51]Read from MH i2c: 01 07 00 4C 17 00 00 00 00 00 FF 0F 78 [07:36:51]RasterBufferAndPrint [07:36:51]line Счет N : (3)76645 [07:36:51]line ИÐÐ: 02508201610067 [07:36:51]line Контрольно-КаÑÑовый Чек [07:36:51]line ПРОДÐЖР[07:36:51]line Товар: 2000034730018 [07:36:51]line Кофе Ðмерикано (GABB TRADE) [07:36:51]line 1.000 * 105.00 [07:36:51]line = 105.00 [07:36:51]line ÐДС 12% ÐСП 1% [07:36:51]line > о реализуемом товаре [07:36:51]line ИТОГО: 105.00 [07:36:51]line ÐСП 1% : 0.93 [07:36:51]line ÐДС 12% : 11.15 [07:36:51]line Ðаличными: 105.00 [07:36:51]line Безнал.: 0.00 [07:36:51]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [07:36:51]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [07:36:51]line СÐО: Общий режим [07:36:51]line Чек 12 20.10.2024 07:36 [07:36:51]line Смена: 461 ФФД: 1.0 [07:36:51]line ЗÐМ: 0300000235 [07:36:51]line РÐМ: 0000000000098149 [07:36:51]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [07:36:51]line ФМ: 0000000000965372 [07:36:51]line ФД: 37164 [07:36:51]line ФПД: 238234788396583 [07:36:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T073655&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37164&fm=238234788396583&tin=02508201610067®Number=0000000000098149&sum=10500 [07:36:51]line 0 [07:36:51]OFD Sender: Processing packet 37164 [packets to send 25, broken 24] [07:36:51]ProducePacketName [07:36:51]name=ofd_packets/00037164 [07:36:51]OFD Sender: To server: ‡•öpG, [07:36:51]CommunicateWithHost lk.salyk.kg:30040 [07:36:51]ConnectInit lk.salyk.kg [07:36:51]written 0, free lines is 4095 [07:36:51]Connected sock=10 [07:36: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 33 37 32 2E 01 00 00 3D 16 26 01 85 0E 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 17 B3 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 2C 91 00 00 35 04 06 00 D8 AC 5B EF 7E 27 11 E2 12 DC 18 F3 E3 CA [07: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 33 37 32 4F 00 00 00 A1 B3 47 00 EA 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 33 37 32 10 04 04 00 2C 91 00 00 F4 03 04 00 AA 5B 14 67 B6 04 01 00 00 39 1E 55 60 3E E9 BF 18 [07:36:51]CommunicateWithHost err = 0 [07:36:51]CheckOFDResponse [07:36:51]1017 (14) - 77093643461234 [07:36:51]1041 (16) - 0000000000965372 [07:36:51]1040 (4) - 37164 [07:36:51]1012 (4) - 20.10.2024 01:23 [07:36:51]1206 (1) - 0 [07:36:51]OFD Sender: Remove packet 37164 [07:36:51]ProducePacketName [07:36:51]name=ofd_packets/00037164 [07:36:51]NVStorageDeleteData [07:36:51]Write to MH i2c: 01 00 00 75 17 8C [07:36:51]Write i2c OK [07:36:51]MH_I2C_Read... [07:36:51]Read from MH i2c: 01 [07:36:51]MH_I2C_Read... [07:36:51]Read from MH i2c: 01 07 00 [07:36:51]MH_I2C_Read... [07:36:51]Read from MH i2c: 01 07 00 75 17 00 00 00 00 00 EC 0C 8B [07:36:51]RasterBufferAndPrint [07:36:51]line [07:36:51]line [07:36:51]line [07:36:51]line [07:36:51]line [07:36:51]written 0, free lines is 3317 [07:36:51]process_action close_receipt done [07:36:51]requested_data is exist [07:36:51]produce_requested_data [07:36:51]requested_item fm.sn is exist - process it [07:36:51]wFMCommunicate request_size=4 [07:36:51]MH_SAM_APDU [07:36:51]CAPDU: 80 11 00 00 [07:36:51]Write to MH i2c: E2 08 00 7C 17 80 11 00 00 00 00 00 00 0D [07:36:51]Write i2c OK [07:36:51]MH_I2C_Read... [07:36:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:36:51]Read from MH i2c: E2 [07:36:51]MH_I2C_Read... [07:36:51]Read from MH i2c: E2 17 00 [07:36:51]MH_I2C_Read... [07:36:51]Read from MH i2c: E2 17 00 7C 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 60 [07:36:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [07:36:51]wFMCommunicate OK [07:36:51]requested_item fd.num is exist - process it [07:36:51]SAM_PROTO_GetFieldsCounters [07:36:51]wFMCommunicate request_size=4 [07:36:51]MH_SAM_APDU [07:36:51]CAPDU: 80 13 00 00 [07:36:51]Write to MH i2c: E2 08 00 7D 17 80 13 00 00 00 00 00 00 10 [07:36:51]Write i2c OK [07:36:51]MH_I2C_Read... [07:36:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:36:52]Read from MH i2c: E2 [07:36:52]MH_I2C_Read... [07:36:52]Read from MH i2c: E2 62 00 [07:36:52]MH_I2C_Read... [07:36:52]Read from MH i2c: E2 62 00 7D 17 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 2C 91 00 00 0E 04 04 00 CD 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 E6 [07: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 2C 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:36:52]wFMCommunicate OK [07:36:52]SAM_PROTO_GetFieldsCounters done [07:36:52]requested_item shift.num is exist - process it [07:36:52]requested_item shift.opened is exist - process it [07:36:52]req_shift_opened [07:36:52]FM_GetShiftState [07:36:52]SAM_PROTO_GetShiftState [07:36:52]wFMCommunicate request_size=4 [07:36:52]MH_SAM_APDU [07:36:52]CAPDU: 80 13 01 00 [07:36:52]Write to MH i2c: E2 08 00 7E 17 80 13 01 00 00 00 00 00 12 [07:36:52]Write i2c OK [07:36:52]MH_I2C_Read... [07:36:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:36:52]Read from MH i2c: E2 [07:36:52]MH_I2C_Read... [07:36:52]Read from MH i2c: E2 0E 00 [07:36:52]MH_I2C_Read... [07:36:52]Read from MH i2c: E2 0E 00 7E 17 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 67 [07:36:52]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [07:36:52]wFMCommunicate OK [07:36:52]SAM_PROTO_GetShiftState done [07:36:52]FM_GetShiftState done [07:36:52]req_shift_opened done [07:36:52]requested_item shift.open_date is exist - process it [07:36:52]req_shift_open_date [07:36:52]req_shift_open_date done [07:36:52]produce_requested_data done [07:36:52]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37164,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [07:36:52]process_action_free close_receipt [07:36:52]json_value_free [07:36:52]json_value_free done [07:36:52]process_json_proto returns [07:36:52]Send response to host [07:36:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37164,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [07:36:52]free response buf [07:36:52]execute_script done [07:36:52]execute_script returns [07:36:52]free content buf [07:36:52]Sock 9.Close socket [07:36:52]Sock 9.Thread stoped [07:36:52]OFD Sender: No OFD packet to send [07:36:54]int [07:36:54]Write to MH i2c: 01 00 00 7F 17 96 [07:36:54]*** FLAG_PRN_KEY set [07:36:54]Write i2c OK [07:36:54]MH_I2C_Read... [07:36:54]Read from MH i2c: 01 [07:36:54]MH_I2C_Read... [07:36:54]Read from MH i2c: 01 07 00 [07:36:54]MH_I2C_Read... [07:36:54]Read from MH i2c: 01 07 00 7F 17 00 08 00 00 00 FF 0F B3 [07:36:54]state=0 [07:36:54]Key pressed [07:36:54]Feed [07:36:54]Write to MH i2c: D8 00 00 80 17 6E [07:36:54]Write i2c OK [07:36:54]MH_I2C_Read... [07:36:54]Read from MH i2c: D8 [07:36:54]MH_I2C_Read... [07:36:54]Read from MH i2c: D8 01 00 [07:36:54]MH_I2C_Read... [07:36:54]Read from MH i2c: D8 01 00 80 17 00 6F [07:36:54]int [07:36:54]Write to MH i2c: 01 00 00 81 17 98 [07:36:54]Write i2c OK [07:36:54]MH_I2C_Read... [07:36:54]Read from MH i2c: 01 [07:36:54]MH_I2C_Read... [07:36:54]Read from MH i2c: 01 07 00 [07:36:54]MH_I2C_Read... [07:36:54]Read from MH i2c: 01 07 00 81 17 00 48 00 00 00 3C 00 23 [07:36:54]state=2 [07:36:54]Key pressed [07:36:54]int [07:36:54]Write to MH i2c: 01 00 00 82 17 99 [07:36:54]*** FLAG_PRN_KEY reset [07:36:54]Write i2c OK [07:36:54]MH_I2C_Read... [07:36:54]Read from MH i2c: 01 [07:36:54]MH_I2C_Read... [07:36:54]Read from MH i2c: 01 07 00 [07:36:54]MH_I2C_Read... [07:36:54]Read from MH i2c: 01 07 00 82 17 00 00 00 00 00 F7 0F A6 [07:36:54]state=2 [07:36:54]Stop feed [07:36:57]OFD Sender: No OFD packet to send [07:37:02]OFD Sender: No OFD packet to send [07:37:07]OFD Sender: No OFD packet to send [07:37:12]OFD Sender: No OFD packet to send [07:37:17]OFD Sender: No OFD packet to send [07:37:22]OFD Sender: No OFD packet to send [07:37:24]accept exits with 7 [07:37:24]New connection [07:37:24]New thread 3066699108 created [07:37:24]Thread 3066555748 joined [07:37:24]Waiting for new connection... [07:37:24] Sock 7.Parse request [07:37:24]Sock 7.Check first char [07:37:24]Sock 7.First char is OK [07:37:24]request: POST /json_proto HTTP/1.0 [07:37:24]Method: POST [07:37:24]URL: /json_proto [07:37:24]Method is POST - this is cgi request [07:37:24]url: /json_proto [07:37:24]query_string will be loaded in cgi processing [07:37:24]execute_cgi json_proto POST (null) [07:37:24]execute_cgi path=json_proto method=POST [07:37:24]POST find Content-Length [07:37:24]Host: 172.17.53.68:8080 [07:37:24]Content-Length: 708 [07:37:24]Content-Type: application/json [07:37:24] [07:37:24]POST finish read [07:37:24]Found Content-Length = 708 [07:37:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76646", "tax_sys" : 0, "items" : [ { "code": "4870112003956", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI SUPER \u0410\u043B\u044C\u0431\u0435\u043D\u0438 \u0421\u0443\u043F\u0435\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:37:24]execute_script... [07:37: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)76646", "tax_sys" : 0, "items" : [ { "code": "4870112003956", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI SUPER \u0410\u043B\u044C\u0431\u0435\u043D\u0438 \u0421\u0443\u043F\u0435\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:37:24]POST & json_proto [07:37:24]process_json_proto [07:37:24]json parsed OK: [07:37:24]protocol is kg_v1.0 [07:37:24]action value=close_receipt [07:37:24]process_action close_receipt [07:37:24]cmd_close_receipt [07:37:24]MH_GetDate [07:37:24]Write to MH i2c: F0 00 00 83 17 89 [07:37:24]Write i2c OK [07:37:24]MH_I2C_Read... [07:37:24]Read from MH i2c: F0 [07:37:24]MH_I2C_Read... [07:37:24]Read from MH i2c: F0 09 00 [07:37:24]MH_I2C_Read... [07:37:24]Read from MH i2c: F0 09 00 83 17 00 3B B3 14 67 C5 A4 76 66 40 [07:37:24]GetLastDocTimeStamp 1729409815 [07:37:24]current date 1729409851 [07:37:24]FM_GetShiftState [07:37:24]SAM_PROTO_GetShiftState [07:37:24]wFMCommunicate request_size=4 [07:37:24]MH_SAM_APDU [07:37:24]CAPDU: 80 13 01 00 [07:37:24]Write to MH i2c: E2 08 00 84 17 80 13 01 00 00 00 00 00 18 [07:37:24]Write i2c OK [07:37:24]MH_I2C_Read... [07:37:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:37:24]Read from MH i2c: E2 [07:37:24]MH_I2C_Read... [07:37:24]Read from MH i2c: E2 0E 00 [07:37:24]MH_I2C_Read... [07:37:24]Read from MH i2c: E2 0E 00 84 17 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 6D [07:37:24]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [07:37:24]wFMCommunicate OK [07:37:24]SAM_PROTO_GetShiftState done [07:37:24]FM_GetShiftState done [07:37:24]opened in 1729383299 [07:37:24]opened+sec_in_day 1729469699 [07:37:24]quantity*price = 7500 [07:37:24]sum+1 = 7501 [07:37:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 75.00 ÐСП 1% : 0.66 ÐДС 12% : 7.96 Ðаличными: 75.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 13 20.10.2024 07:37 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37165 ФПД: 140763684929934 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T073731&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37165&fm=140763684929934&tin=02508201610067®Number=0000000000098149&sum=7500 0 [07:37:25]StoreToDocumentArchive [07:37:25]shift 461 fd 37165 [07:37:25]save to /storage/0461/doc_00037165 [07:37:25]save last doc name /storage/0461/doc_00037165 to /storage/kkm_last_doc_name [07:37:25]save OK [07:37:25]Clear old archive folders... [07:37:25]ProcessDocumentItem done err = 0, tmpTLVsize=304 [07:37:25]tlvbuf is B6E838D0 [07:37:25]SAM_PROTO_ClearQueue [07:37:25]wFMCommunicate request_size=4 [07:37:25]MH_SAM_APDU [07:37:25]CAPDU: 80 09 00 00 [07:37:25]Write to MH i2c: E2 08 00 91 17 80 09 00 00 00 00 00 00 1A [07:37:25]Write i2c OK [07:37:25]MH_I2C_Read... [07:37:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:37:25]Read from MH i2c: E2 [07:37:25]MH_I2C_Read... [07:37:25]Read from MH i2c: E2 03 00 [07:37:25]MH_I2C_Read... [07:37:25]Read from MH i2c: E2 03 00 91 17 00 90 00 1C [07:37:25]RAPDU: 90 00 [07:37:25]wFMCommunicate OK [07:37:25]SAM_PROTO_ClearQueue done [07:37:25]KKMCreateOFDPacket [07:37:25]OFDProtocolAddRootSTLVToBuf [07:37:25]FM_MakeSignedData [07:37:25]FM_MakeSignedData [07:37:25]SAM_PROTO_SignData [07:37:25]wFMCommunicate request_size=4 [07:37:25]MH_SAM_APDU [07:37:25]CAPDU: 80 0D 01 02 [07:37:25]Write to MH i2c: E2 08 00 92 17 80 0D 01 02 00 00 00 00 22 [07:37:25]Write i2c OK [07:37:25]MH_I2C_Read... [07:37:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:37:26]Read from MH i2c: E2 [07:37:26]MH_I2C_Read... [07:37:26]Read from MH i2c: E2 03 00 [07:37:26]MH_I2C_Read... [07:37:26]Read from MH i2c: E2 03 00 92 17 00 90 00 1D [07:37:26]RAPDU: 90 00 [07:37:26]wFMCommunicate OK [07:37:26]wFMCommunicate request_size=255 [07:37:26]MH_SAM_APDU [07:37:26]CAPDU: 80 0D 02 02 FA 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 3B B3 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 [07:37:26]Write to MH i2c: E2 02 01 93 17 80 0D 02 02 FA 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 3B B3 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 00 00 2A [07:37:26]Write i2c OK [07:37:26]MH_I2C_Read... [07:37:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:37:26]Read from MH i2c: E2 [07:37:26]MH_I2C_Read... [07:37:26]Read from MH i2c: E2 03 00 [07:37:26]MH_I2C_Read... [07:37:26]Read from MH i2c: E2 03 00 93 17 00 90 00 1E [07:37:26]RAPDU: 90 00 [07:37:26]wFMCommunicate OK [07:37:26]wFMCommunicate request_size=63 [07:37:26]MH_SAM_APDU [07:37:26]CAPDU: 80 0D 02 02 3A 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 2D 91 00 00 35 04 06 00 80 06 19 70 01 8E [07:37:26]Write to MH i2c: E2 42 00 94 17 80 0D 02 02 3A 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 2D 91 00 00 35 04 06 00 80 06 19 70 01 8E 00 00 D1 [07:37:26]Write i2c OK [07:37:26]MH_I2C_Read... [07:37:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:37:26]Read from MH i2c: E2 [07:37:26]MH_I2C_Read... [07:37:26]Read from MH i2c: E2 03 00 [07:37:26]MH_I2C_Read... [07:37:26]Read from MH i2c: E2 03 00 94 17 00 90 00 1F [07:37:26]RAPDU: 90 00 [07:37:26]wFMCommunicate OK [07:37:26]wFMCommunicate request_size=4 [07:37:26]MH_SAM_APDU [07:37:26]CAPDU: 80 0D 03 02 [07:37:26]Write to MH i2c: E2 08 00 95 17 80 0D 03 02 00 00 00 00 27 [07:37:26]Write i2c OK [07:37:26]MH_I2C_Read... [07:37:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:37:26]Read from MH i2c: E2 [07:37:26]MH_I2C_Read... [07:37:26]Read from MH i2c: E2 0B 00 [07:37:26]MH_I2C_Read... [07:37:26]Read from MH i2c: E2 0B 00 95 17 00 6F 0B D9 2C 9F D7 F0 39 90 00 46 [07:37:26]RAPDU: 6F 0B D9 2C 9F D7 F0 39 90 00 [07:37:26]wFMCommunicate OK [07:37:26]SAM_PROTO_SignData done [07:37:26]FM_MakeSignedData done [07:37:26]CreateOFDProtocolMessage [07:37:26]wFMCommunicate request_size=4 [07:37:26]MH_SAM_APDU [07:37:26]CAPDU: 80 11 00 00 [07:37:26]Write to MH i2c: E2 08 00 96 17 80 11 00 00 00 00 00 00 27 [07:37:26]Write i2c OK [07:37:26]MH_I2C_Read... [07:37:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:37:26]Read from MH i2c: E2 [07:37:26]MH_I2C_Read... [07:37:26]Read from MH i2c: E2 17 00 [07:37:26]MH_I2C_Read... [07:37:26]Read from MH i2c: E2 17 00 96 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 7A [07:37:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [07:37:26]wFMCommunicate OK [07:37:26]CreateOFDProtocolMessage done [07:37:26]OFDSenderStorePacket 37165 [07:37:26]StoreOFDPacket docnum=37165 [07:37:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 44 01 00 00 C0 AF 3C 01 59 04 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 3B B3 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 2D 91 00 00 35 04 06 00 80 06 19 70 01 8E 6F 0B D9 2C 9F D7 F0 39 [07:37:26]CheckFolder [07:37:26]dirname=/storage/ofd_packets [07:37:26]CheckFolder done [07:37:26]ProducePacketName [07:37:26]name=ofd_packets/00037165 [07:37:26]NVStorageSaveData ofd_packets/00037165 [07:37:26]File name is /storage/ofd_packets/00037165 [07:37:26]Write 354 bytes [07:37:26]NVStorageSaveData done [07:37:26]OFDSenderStorePacket done [07:37:26]KKMCreateOFDPacket done [07:37:26]NVStorageSaveData kkm_last_timestamp [07:37:26]File name is /storage/kkm_last_timestamp [07:37:26]Write 4 bytes [07:37:26]NVStorageSaveData done [07:37:26]ExternCall_PrintAddStr [07:37:26]wPrintStart [07:37:26]Write to MH i2c: 01 00 00 97 17 AE [07:37:26]Write i2c OK [07:37:26]MH_I2C_Read... [07:37:26]Read from MH i2c: 01 [07:37:26]MH_I2C_Read... [07:37:26]Read from MH i2c: 01 07 00 [07:37:26]MH_I2C_Read... [07:37:26]Read from MH i2c: 01 07 00 97 17 00 00 00 00 00 FF 0F C3 [07:37:26]RasterBufferAndPrint [07:37:26]line Счет N : (3)76646 [07:37:26]line ИÐÐ: 02508201610067 [07:37:26]line Контрольно-КаÑÑовый Чек [07:37:26]line ПРОДÐЖР[07:37:26]line Товар: 4870112003956 [07:37:26]line Шок батончик ALBENI SUPER Ðльбени Супер [07:37:26]line 1.000 * 75.00 [07:37:26]line = 75.00 [07:37:26]line ÐДС 12% ÐСП 1% [07:37:26]line > о реализуемом товаре [07:37:26]line ИТОГО: 75.00 [07:37:26]line ÐСП 1% : 0.66 [07:37:26]line ÐДС 12% : 7.96 [07:37:26]line Ðаличными: 75.00 [07:37:26]line Безнал.: 0.00 [07:37:26]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [07:37:26]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [07:37:26]line СÐО: Общий режим [07:37:26]line Чек 13 20.10.2024 07:37 [07:37:26]line Смена: 461 ФФД: 1.0 [07:37:26]line ЗÐМ: 0300000235 [07:37:26]line РÐМ: 0000000000098149 [07:37:26]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [07:37:26]line ФМ: 0000000000965372 [07:37:26]line ФД: 37165 [07:37:26]line ФПД: 140763684929934 [07:37:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T073731&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37165&fm=140763684929934&tin=02508201610067®Number=0000000000098149&sum=7500 [07:37:26]line 0 [07:37:26]OFD Sender: Processing packet 37165 [packets to send 25, broken 24] [07:37:26]ProducePacketName [07:37:26]name=ofd_packets/00037165 [07:37:26]OFD Sender: To server: ‡•öpG, [07:37:26]CommunicateWithHost lk.salyk.kg:30040 [07:37:26]ConnectInit lk.salyk.kg [07:37:26]written 0, free lines is 4095 [07:37:26]Connected sock=10 [07:37: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 33 37 32 44 01 00 00 C0 AF 3C 01 59 04 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 3B B3 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 2D 91 00 00 35 04 06 00 80 06 19 70 01 8E 6F 0B D9 2C 9F D7 F0 39 [07:37:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 0F 0C 47 00 9F 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 33 37 32 10 04 04 00 2D 91 00 00 F4 03 04 00 CE 5B 14 67 B6 04 01 00 00 06 E3 45 D2 30 C2 EC 02 [07:37:27]CommunicateWithHost err = 0 [07:37:27]CheckOFDResponse [07:37:27]1017 (14) - 77093643461234 [07:37:27]1041 (16) - 0000000000965372 [07:37:27]1040 (4) - 37165 [07:37:27]1012 (4) - 20.10.2024 01:24 [07:37:27]1206 (1) - 0 [07:37:27]OFD Sender: Remove packet 37165 [07:37:27]ProducePacketName [07:37:27]name=ofd_packets/00037165 [07:37:27]NVStorageDeleteData [07:37:27]Write to MH i2c: 01 00 00 C0 17 D7 [07:37:27]Write i2c OK [07:37:27]MH_I2C_Read... [07:37:27]Read from MH i2c: 01 [07:37:27]MH_I2C_Read... [07:37:27]Read from MH i2c: 01 07 00 [07:37:27]MH_I2C_Read... [07:37:27]Read from MH i2c: 01 07 00 C0 17 00 00 00 00 00 E7 0C D1 [07:37:27]RasterBufferAndPrint [07:37:27]line [07:37:27]line [07:37:27]line [07:37:27]line [07:37:27]line [07:37:27]written 0, free lines is 3310 [07:37:27]process_action close_receipt done [07:37:27]requested_data is exist [07:37:27]produce_requested_data [07:37:27]requested_item fm.sn is exist - process it [07:37:27]wFMCommunicate request_size=4 [07:37:27]MH_SAM_APDU [07:37:27]CAPDU: 80 11 00 00 [07:37:27]Write to MH i2c: E2 08 00 C7 17 80 11 00 00 00 00 00 00 58 [07:37:27]Write i2c OK [07:37:27]MH_I2C_Read... [07:37:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:37:27]Read from MH i2c: E2 [07:37:27]MH_I2C_Read... [07:37:27]Read from MH i2c: E2 17 00 [07:37:27]MH_I2C_Read... [07:37:27]Read from MH i2c: E2 17 00 C7 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 AB [07:37:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [07:37:27]wFMCommunicate OK [07:37:27]requested_item fd.num is exist - process it [07:37:27]SAM_PROTO_GetFieldsCounters [07:37:27]wFMCommunicate request_size=4 [07:37:27]MH_SAM_APDU [07:37:27]CAPDU: 80 13 00 00 [07:37:27]Write to MH i2c: E2 08 00 C8 17 80 13 00 00 00 00 00 00 5B [07:37:27]Write i2c OK [07:37:27]MH_I2C_Read... [07:37:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:37:27]Read from MH i2c: E2 [07:37:27]MH_I2C_Read... [07:37:27]Read from MH i2c: E2 62 00 [07:37:27]MH_I2C_Read... [07:37:27]Read from MH i2c: E2 62 00 C8 17 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 2D 91 00 00 0E 04 04 00 CD 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 35 [07:37: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 2D 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:37:27]wFMCommunicate OK [07:37:27]SAM_PROTO_GetFieldsCounters done [07:37:27]requested_item shift.num is exist - process it [07:37:27]requested_item shift.opened is exist - process it [07:37:27]req_shift_opened [07:37:27]FM_GetShiftState [07:37:27]SAM_PROTO_GetShiftState [07:37:27]wFMCommunicate request_size=4 [07:37:27]MH_SAM_APDU [07:37:27]CAPDU: 80 13 01 00 [07:37:27]Write to MH i2c: E2 08 00 C9 17 80 13 01 00 00 00 00 00 5D [07:37:27]Write i2c OK [07:37:27]MH_I2C_Read... [07:37:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:37:27]Read from MH i2c: E2 [07:37:27]MH_I2C_Read... [07:37:27]Read from MH i2c: E2 0E 00 [07:37:27]MH_I2C_Read... [07:37:27]Read from MH i2c: E2 0E 00 C9 17 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 B2 [07:37:27]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [07:37:27]wFMCommunicate OK [07:37:27]SAM_PROTO_GetShiftState done [07:37:27]FM_GetShiftState done [07:37:27]req_shift_opened done [07:37:27]requested_item shift.open_date is exist - process it [07:37:27]req_shift_open_date [07:37:27]req_shift_open_date done [07:37:27]produce_requested_data done [07:37:27]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37165,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [07:37:27]process_action_free close_receipt [07:37:27]json_value_free [07:37:27]json_value_free done [07:37:27]process_json_proto returns [07:37:27]Send response to host [07:37:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37165,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [07:37:27]free response buf [07:37:27]execute_script done [07:37:27]execute_script returns [07:37:27]free content buf [07:37:27]Sock 7.Close socket [07:37:27]Sock 7.Thread stoped [07:37:27]OFD Sender: No OFD packet to send [07:37:32]OFD Sender: No OFD packet to send [07:37:37]OFD Sender: No OFD packet to send [07:37:42]OFD Sender: No OFD packet to send [07:37:47]OFD Sender: No OFD packet to send [07:37:52]OFD Sender: No OFD packet to send [07:37:57]OFD Sender: No OFD packet to send [07:38:02]OFD Sender: No OFD packet to send [07:38:07]OFD Sender: No OFD packet to send [07:38:12]OFD Sender: No OFD packet to send [07:38:17]OFD Sender: No OFD packet to send [07:38:22]OFD Sender: No OFD packet to send [07:38:27]OFD Sender: No OFD packet to send [07:38:32]OFD Sender: No OFD packet to send [07:38:37]OFD Sender: No OFD packet to send [07:38:42]OFD Sender: No OFD packet to send [07:38:47]OFD Sender: No OFD packet to send [07:38:52]OFD Sender: No OFD packet to send [07:38:57]OFD Sender: No OFD packet to send [07:39:02]OFD Sender: No OFD packet to send [07:39:07]OFD Sender: No OFD packet to send [07:39:12]OFD Sender: No OFD packet to send [07:39:17]OFD Sender: No OFD packet to send [07:39:22]OFD Sender: No OFD packet to send [07:39:27]OFD Sender: No OFD packet to send [07:39:32]OFD Sender: No OFD packet to send [07:39:37]OFD Sender: No OFD packet to send [07:39:42]OFD Sender: No OFD packet to send [07:39:47]OFD Sender: No OFD packet to send [07:39:52]OFD Sender: No OFD packet to send [07:39:57]OFD Sender: No OFD packet to send [07:40:02]OFD Sender: No OFD packet to send [07:40:07]OFD Sender: No OFD packet to send [07:40:12]OFD Sender: No OFD packet to send [07:40:17]OFD Sender: No OFD packet to send [07:40:22]OFD Sender: No OFD packet to send [07:40:27]OFD Sender: No OFD packet to send [07:40:32]OFD Sender: No OFD packet to send [07:40:37]OFD Sender: No OFD packet to send [07:40:42]OFD Sender: No OFD packet to send [07:40:47]OFD Sender: No OFD packet to send [07:40:52]OFD Sender: No OFD packet to send [07:40:57]OFD Sender: No OFD packet to send [07:41:02]OFD Sender: No OFD packet to send [07:41:07]OFD Sender: No OFD packet to send [07:41:12]OFD Sender: No OFD packet to send [07:41:17]OFD Sender: No OFD packet to send [07:41:22]OFD Sender: No OFD packet to send [07:41:27]OFD Sender: No OFD packet to send [07:41:32]OFD Sender: No OFD packet to send [07:41:37]OFD Sender: No OFD packet to send [07:41:42]OFD Sender: No OFD packet to send [07:41:47]OFD Sender: No OFD packet to send [07:41:52]OFD Sender: No OFD packet to send [07:41:57]OFD Sender: No OFD packet to send [07:42:02]OFD Sender: No OFD packet to send [07:42:07]OFD Sender: No OFD packet to send [07:42:12]OFD Sender: No OFD packet to send [07:42:17]OFD Sender: No OFD packet to send [07:42:22]OFD Sender: No OFD packet to send [07:42:27]OFD Sender: No OFD packet to send [07:42:32]OFD Sender: No OFD packet to send [07:42:37]OFD Sender: No OFD packet to send [07:42:42]OFD Sender: No OFD packet to send [07:42:47]OFD Sender: No OFD packet to send [07:42:52]OFD Sender: No OFD packet to send [07:42:57]OFD Sender: No OFD packet to send [07:43:02]OFD Sender: No OFD packet to send [07:43:07]OFD Sender: No OFD packet to send [07:43:12]OFD Sender: No OFD packet to send [07:43:17]OFD Sender: No OFD packet to send [07:43:22]OFD Sender: No OFD packet to send [07:43:27]OFD Sender: No OFD packet to send [07:43:32]OFD Sender: No OFD packet to send [07:43:37]OFD Sender: No OFD packet to send [07:43:42]OFD Sender: No OFD packet to send [07:43:47]OFD Sender: No OFD packet to send [07:43:52]OFD Sender: No OFD packet to send [07:43:57]OFD Sender: No OFD packet to send [07:44:02]OFD Sender: No OFD packet to send [07:44:07]OFD Sender: No OFD packet to send [07:44:12]OFD Sender: No OFD packet to send [07:44:17]OFD Sender: No OFD packet to send [07:44:22]OFD Sender: No OFD packet to send [07:44:27]accept exits with 9 [07:44:27]New connection [07:44:27]New thread 3066555748 created [07:44:27]Thread 3066699108 joined [07:44:27]Waiting for new connection... [07:44:27] Sock 9.Parse request [07:44:27]Sock 9.Check first char [07:44:27]Sock 9.First char is OK [07:44:27]request: POST /json_proto HTTP/1.0 [07:44:27]Method: POST [07:44:27]URL: /json_proto [07:44:27]Method is POST - this is cgi request [07:44:27]url: /json_proto [07:44:27]query_string will be loaded in cgi processing [07:44:27]execute_cgi json_proto POST (null) [07:44:27]execute_cgi path=json_proto method=POST [07:44:27]POST find Content-Length [07:44:27]Host: 172.17.53.68:8080 [07:44:27]Content-Length: 782 [07:44:27]Content-Type: application/json [07:44:27] [07:44:27]POST finish read [07:44:27]Found Content-Length = 782 [07:44:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76647", "tax_sys" : 0, "items" : [ { "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "price" : 120.00, "quantity" : 1.000, "sum" : 120.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: Mbank", "payments": [ { "type": 1, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:44:27]execute_script... [07:44:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76647", "tax_sys" : 0, "items" : [ { "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "price" : 120.00, "quantity" : 1.000, "sum" : 120.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: Mbank", "payments": [ { "type": 1, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:44:27]POST & json_proto [07:44:27]process_json_proto [07:44:27]json parsed OK: [07:44:27]protocol is kg_v1.0 [07:44:27]action value=close_receipt [07:44:27]process_action close_receipt [07:44:27]cmd_close_receipt [07:44:27]MH_GetDate [07:44:27]Write to MH i2c: F0 00 00 CA 17 D0 [07:44:27]Write i2c OK [07:44:27]MH_I2C_Read... [07:44:27]Read from MH i2c: F0 [07:44:27]MH_I2C_Read... [07:44:27]Read from MH i2c: F0 09 00 [07:44:27]MH_I2C_Read... [07:44:27]Read from MH i2c: F0 09 00 CA 17 00 E1 B4 14 67 C5 A4 76 66 2E [07:44:27]GetLastDocTimeStamp 1729409851 [07:44:27]current date 1729410273 [07:44:27]FM_GetShiftState [07:44:27]SAM_PROTO_GetShiftState [07:44:27]wFMCommunicate request_size=4 [07:44:27]MH_SAM_APDU [07:44:27]CAPDU: 80 13 01 00 [07:44:27]Write to MH i2c: E2 08 00 CB 17 80 13 01 00 00 00 00 00 5F [07:44:27]Write i2c OK [07:44:27]MH_I2C_Read... [07:44:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:44:27]Read from MH i2c: E2 [07:44:27]MH_I2C_Read... [07:44:27]Read from MH i2c: E2 0E 00 [07:44:27]MH_I2C_Read... [07:44:27]Read from MH i2c: E2 0E 00 CB 17 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 B4 [07:44:27]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [07:44:27]wFMCommunicate OK [07:44:27]SAM_PROTO_GetShiftState done [07:44:27]FM_GetShiftState done [07:44:27]opened in 1729383299 [07:44:27]opened+sec_in_day 1729469699 [07:44:27]quantity*price = 12000 [07:44:27]sum+1 = 12001 [07:44:27]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 120.00 ÐСП 1% : 1.06 ÐДС 12% : 12.74 Ðаличными: 0.00 Безнал.: 120.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 14 20.10.2024 07:44 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Mbank ФМ: 0000000000965372 ФД: 37166 ФПД: 89708087317315 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T074434&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37166&fm=89708087317315&tin=02508201610067®Number=0000000000098149&sum=12000 0 [07:44:28]StoreToDocumentArchive [07:44:28]shift 461 fd 37166 [07:44:28]save to /storage/0461/doc_00037166 [07:44:28]save last doc name /storage/0461/doc_00037166 to /storage/kkm_last_doc_name [07:44:28]save OK [07:44:28]Clear old archive folders... [07:44:28]ProcessDocumentItem done err = 0, tmpTLVsize=284 [07:44:28]tlvbuf is B6E83600 [07:44:28]SAM_PROTO_ClearQueue [07:44:28]wFMCommunicate request_size=4 [07:44:28]MH_SAM_APDU [07:44:28]CAPDU: 80 09 00 00 [07:44:28]Write to MH i2c: E2 08 00 D8 17 80 09 00 00 00 00 00 00 61 [07:44:28]Write i2c OK [07:44:28]MH_I2C_Read... [07:44:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:44:28]Read from MH i2c: E2 [07:44:28]MH_I2C_Read... [07:44:28]Read from MH i2c: E2 03 00 [07:44:28]MH_I2C_Read... [07:44:28]Read from MH i2c: E2 03 00 D8 17 00 90 00 63 [07:44:28]RAPDU: 90 00 [07:44:28]wFMCommunicate OK [07:44:28]SAM_PROTO_ClearQueue done [07:44:28]KKMCreateOFDPacket [07:44:28]OFDProtocolAddRootSTLVToBuf [07:44:28]FM_MakeSignedData [07:44:28]FM_MakeSignedData [07:44:28]SAM_PROTO_SignData [07:44:28]wFMCommunicate request_size=4 [07:44:28]MH_SAM_APDU [07:44:28]CAPDU: 80 0D 01 02 [07:44:28]Write to MH i2c: E2 08 00 D9 17 80 0D 01 02 00 00 00 00 69 [07:44:28]Write i2c OK [07:44:28]MH_I2C_Read... [07:44:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:44:28]Read from MH i2c: E2 [07:44:28]MH_I2C_Read... [07:44:28]Read from MH i2c: E2 03 00 [07:44:28]MH_I2C_Read... [07:44:28]Read from MH i2c: E2 03 00 D9 17 00 90 00 64 [07:44:28]RAPDU: 90 00 [07:44:28]wFMCommunicate OK [07:44:28]wFMCommunicate request_size=255 [07:44:28]MH_SAM_APDU [07:44:28]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 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 00 00 00 00 00 00 39 04 06 00 E0 2E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 E2 B4 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 [07:44:28]Write to MH i2c: E2 02 01 DA 17 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 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 00 00 00 00 00 00 39 04 06 00 E0 2E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 E2 B4 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 00 00 33 [07:44:28]Write i2c OK [07:44:28]MH_I2C_Read... [07:44:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:44:29]Read from MH i2c: E2 [07:44:29]MH_I2C_Read... [07:44:29]Read from MH i2c: E2 03 00 [07:44:29]MH_I2C_Read... [07:44:29]Read from MH i2c: E2 03 00 DA 17 00 90 00 65 [07:44:29]RAPDU: 90 00 [07:44:29]wFMCommunicate OK [07:44:29]wFMCommunicate request_size=43 [07:44:29]MH_SAM_APDU [07:44:29]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 2E 91 00 00 35 04 06 00 51 96 CA AD 93 43 [07:44:29]Write to MH i2c: E2 2E 00 DB 17 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 2E 91 00 00 35 04 06 00 51 96 CA AD 93 43 00 00 47 [07:44:29]Write i2c OK [07:44:29]MH_I2C_Read... [07:44:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:44:29]Read from MH i2c: E2 [07:44:29]MH_I2C_Read... [07:44:29]Read from MH i2c: E2 03 00 [07:44:29]MH_I2C_Read... [07:44:29]Read from MH i2c: E2 03 00 DB 17 00 90 00 66 [07:44:29]RAPDU: 90 00 [07:44:29]wFMCommunicate OK [07:44:29]wFMCommunicate request_size=4 [07:44:29]MH_SAM_APDU [07:44:29]CAPDU: 80 0D 03 02 [07:44:29]Write to MH i2c: E2 08 00 DC 17 80 0D 03 02 00 00 00 00 6E [07:44:29]Write i2c OK [07:44:29]MH_I2C_Read... [07:44:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:44:29]Read from MH i2c: E2 [07:44:29]MH_I2C_Read... [07:44:29]Read from MH i2c: E2 0B 00 [07:44:29]MH_I2C_Read... [07:44:29]Read from MH i2c: E2 0B 00 DC 17 00 B5 79 7B 19 D6 96 12 12 90 00 C1 [07:44:29]RAPDU: B5 79 7B 19 D6 96 12 12 90 00 [07:44:29]wFMCommunicate OK [07:44:29]SAM_PROTO_SignData done [07:44:29]FM_MakeSignedData done [07:44:29]CreateOFDProtocolMessage [07:44:29]wFMCommunicate request_size=4 [07:44:29]MH_SAM_APDU [07:44:29]CAPDU: 80 11 00 00 [07:44:29]Write to MH i2c: E2 08 00 DD 17 80 11 00 00 00 00 00 00 6E [07:44:29]Write i2c OK [07:44:29]MH_I2C_Read... [07:44:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:44:29]Read from MH i2c: E2 [07:44:29]MH_I2C_Read... [07:44:29]Read from MH i2c: E2 17 00 [07:44:29]MH_I2C_Read... [07:44:29]Read from MH i2c: E2 17 00 DD 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 C1 [07:44:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [07:44:29]wFMCommunicate OK [07:44:29]CreateOFDProtocolMessage done [07:44:29]OFDSenderStorePacket 37166 [07:44:29]StoreOFDPacket docnum=37166 [07:44:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 30 01 00 00 58 2A 28 01 7A 9B 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 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 00 00 00 00 00 00 39 04 06 00 E0 2E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 E2 B4 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 2E 91 00 00 35 04 06 00 51 96 CA AD 93 43 B5 79 7B 19 D6 96 12 12 [07:44:29]CheckFolder [07:44:29]dirname=/storage/ofd_packets [07:44:29]CheckFolder done [07:44:29]ProducePacketName [07:44:29]name=ofd_packets/00037166 [07:44:29]NVStorageSaveData ofd_packets/00037166 [07:44:29]File name is /storage/ofd_packets/00037166 [07:44:29]Write 334 bytes [07:44:29]NVStorageSaveData done [07:44:29]OFDSenderStorePacket done [07:44:29]KKMCreateOFDPacket done [07:44:29]NVStorageSaveData kkm_last_timestamp [07:44:29]File name is /storage/kkm_last_timestamp [07:44:29]Write 4 bytes [07:44:29]OFD Sender: Processing packet 37166 [packets to send 25, broken 24] [07:44:29]ProducePacketName [07:44:29]name=ofd_packets/00037166 [07:44:29]OFD Sender: To server: ‡•öpG, [07:44:29]CommunicateWithHost lk.salyk.kg:30040 [07:44:29]ConnectInit lk.salyk.kg [07:44:29]NVStorageSaveData done [07:44:29]ExternCall_PrintAddStr [07:44:29]wPrintStart [07:44:29]Write to MH i2c: 01 00 00 DE 17 F5 [07:44:29]Write i2c OK [07:44:29]MH_I2C_Read... [07:44:29]Read from MH i2c: 01 [07:44:29]MH_I2C_Read... [07:44:29]Read from MH i2c: 01 07 00 [07:44:29]MH_I2C_Read... [07:44:29]Read from MH i2c: 01 07 00 DE 17 00 00 00 00 00 FF 0F 0A [07:44:29]RasterBufferAndPrint [07:44:29]line Счет N : (3)76647 [07:44:29]line ИÐÐ: 02508201610067 [07:44:29]line Контрольно-КаÑÑовый Чек [07:44:29]line ПРОДÐЖР[07:44:29]line Товар: 2000034250011 [07:44:29]line ГорÑчий шоколад (GABB trade) [07:44:29]line 1.000 * 120.00 [07:44:29]line = 120.00 [07:44:29]line ÐДС 12% ÐСП 1% [07:44:29]line > о реализуемом товаре [07:44:29]line ИТОГО: 120.00 [07:44:29]line ÐСП 1% : 1.06 [07:44:29]line ÐДС 12% : 12.74 [07:44:29]line Ðаличными: 0.00 [07:44:29]line Безнал.: 120.00 [07:44:29]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [07:44:29]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [07:44:29]line СÐО: Общий режим [07:44:29]line Чек 14 20.10.2024 07:44 [07:44:29]line Смена: 461 ФФД: 1.0 [07:44:29]line ЗÐМ: 0300000235 [07:44:29]line РÐМ: 0000000000098149 [07:44:29]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [07:44:29]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Mbank [07:44:29]line ФМ: 0000000000965372 [07:44:29]line ФД: 37166 [07:44:29]line ФПД: 89708087317315 [07:44:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T074434&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37166&fm=89708087317315&tin=02508201610067®Number=0000000000098149&sum=12000 [07:44:29]line 0 [07:44:29]Connected sock=11 [07:44:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 30 01 00 00 58 2A 28 01 7A 9B 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 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 00 00 00 00 00 00 39 04 06 00 E0 2E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 E2 B4 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 2E 91 00 00 35 04 06 00 51 96 CA AD 93 43 B5 79 7B 19 D6 96 12 12 [07:44:29]written 0, free lines is 4095 [07:44:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 13 A2 47 00 6B F5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 2E 91 00 00 F4 03 04 00 74 5D 14 67 B6 04 01 00 00 9B A8 2B 6F 8A A7 ED DE [07:44:29]CommunicateWithHost err = 0 [07:44:29]CheckOFDResponse [07:44:29]1017 (14) - 77093643461234 [07:44:29]1041 (16) - 0000000000965372 [07:44:29]1040 (4) - 37166 [07:44:29]1012 (4) - 20.10.2024 01:31 [07:44:29]1206 (1) - 0 [07:44:29]OFD Sender: Remove packet 37166 [07:44:29]ProducePacketName [07:44:29]name=ofd_packets/00037166 [07:44:29]NVStorageDeleteData [07:44:30]Write to MH i2c: 01 00 00 08 18 20 [07:44:30]Write i2c OK [07:44:30]MH_I2C_Read... [07:44:30]Read from MH i2c: 01 [07:44:30]MH_I2C_Read... [07:44:30]Read from MH i2c: 01 07 00 [07:44:30]MH_I2C_Read... [07:44:30]Read from MH i2c: 01 07 00 08 18 00 00 00 00 00 DD 0C 10 [07:44:30]RasterBufferAndPrint [07:44:30]line [07:44:30]line [07:44:30]line [07:44:30]line [07:44:30]line [07:44:30]written 0, free lines is 3299 [07:44:30]process_action close_receipt done [07:44:30]requested_data is exist [07:44:30]produce_requested_data [07:44:30]requested_item fm.sn is exist - process it [07:44:30]wFMCommunicate request_size=4 [07:44:30]MH_SAM_APDU [07:44:30]CAPDU: 80 11 00 00 [07:44:30]Write to MH i2c: E2 08 00 0F 18 80 11 00 00 00 00 00 00 A1 [07:44:30]Write i2c OK [07:44:30]MH_I2C_Read... [07:44:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:44:30]Read from MH i2c: E2 [07:44:30]MH_I2C_Read... [07:44:30]Read from MH i2c: E2 17 00 [07:44:30]MH_I2C_Read... [07:44:30]Read from MH i2c: E2 17 00 0F 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 F4 [07:44:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [07:44:30]wFMCommunicate OK [07:44:30]requested_item fd.num is exist - process it [07:44:30]SAM_PROTO_GetFieldsCounters [07:44:30]wFMCommunicate request_size=4 [07:44:30]MH_SAM_APDU [07:44:30]CAPDU: 80 13 00 00 [07:44:30]Write to MH i2c: E2 08 00 10 18 80 13 00 00 00 00 00 00 A4 [07:44:30]Write i2c OK [07:44:30]MH_I2C_Read... [07:44:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:44:30]Read from MH i2c: E2 [07:44:30]MH_I2C_Read... [07:44:30]Read from MH i2c: E2 62 00 [07:44:30]MH_I2C_Read... [07:44:30]Read from MH i2c: E2 62 00 10 18 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 2E 91 00 00 0E 04 04 00 CD 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 82 [07:44: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 2E 91 00 00 0E 04 04 00 CD 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 [07:44:30]wFMCommunicate OK [07:44:30]SAM_PROTO_GetFieldsCounters done [07:44:30]requested_item shift.num is exist - process it [07:44:30]requested_item shift.opened is exist - process it [07:44:30]req_shift_opened [07:44:30]FM_GetShiftState [07:44:30]SAM_PROTO_GetShiftState [07:44:30]wFMCommunicate request_size=4 [07:44:30]MH_SAM_APDU [07:44:30]CAPDU: 80 13 01 00 [07:44:30]Write to MH i2c: E2 08 00 11 18 80 13 01 00 00 00 00 00 A6 [07:44:30]Write i2c OK [07:44:30]MH_I2C_Read... [07:44:30]OFD Sender: No OFD packet to send [07:44:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:44:30]Read from MH i2c: E2 [07:44:30]MH_I2C_Read... [07:44:30]Read from MH i2c: E2 0E 00 [07:44:30]MH_I2C_Read... [07:44:30]Read from MH i2c: E2 0E 00 11 18 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 FB [07:44:30]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [07:44:30]wFMCommunicate OK [07:44:30]SAM_PROTO_GetShiftState done [07:44:30]FM_GetShiftState done [07:44:30]req_shift_opened done [07:44:30]requested_item shift.open_date is exist - process it [07:44:30]req_shift_open_date [07:44:30]req_shift_open_date done [07:44:30]produce_requested_data done [07:44:30]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37166,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [07:44:30]process_action_free close_receipt [07:44:30]json_value_free [07:44:30]json_value_free done [07:44:30]process_json_proto returns [07:44:30]Send response to host [07:44:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37166,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [07:44:30]free response buf [07:44:30]execute_script done [07:44:30]execute_script returns [07:44:30]free content buf [07:44:30]Sock 9.Close socket [07:44:30]Sock 9.Thread stoped [07:44:31]int [07:44:31]Write to MH i2c: 01 00 00 12 18 2A [07:44:31]*** FLAG_PRN_KEY set [07:44:31]Write i2c OK [07:44:31]MH_I2C_Read... [07:44:31]Read from MH i2c: 01 [07:44:31]MH_I2C_Read... [07:44:31]Read from MH i2c: 01 07 00 [07:44:31]MH_I2C_Read... [07:44:31]Read from MH i2c: 01 07 00 12 18 00 08 00 00 00 FF 0F 47 [07:44:31]state=0 [07:44:31]Key pressed [07:44:31]Feed [07:44:31]Write to MH i2c: D8 00 00 13 18 02 [07:44:31]Write i2c OK [07:44:31]MH_I2C_Read... [07:44:31]Read from MH i2c: D8 [07:44:31]MH_I2C_Read... [07:44:31]Read from MH i2c: D8 01 00 [07:44:31]MH_I2C_Read... [07:44:31]Read from MH i2c: D8 01 00 13 18 00 03 [07:44:31]int [07:44:31]Write to MH i2c: 01 00 00 14 18 2C [07:44:31]Write i2c OK [07:44:31]MH_I2C_Read... [07:44:31]Read from MH i2c: 01 [07:44:31]MH_I2C_Read... [07:44:31]Read from MH i2c: 01 07 00 [07:44:31]MH_I2C_Read... [07:44:31]Read from MH i2c: 01 07 00 14 18 00 48 00 00 00 3C 00 B7 [07:44:31]state=2 [07:44:31]Key pressed [07:44:31]int [07:44:31]Write to MH i2c: 01 00 00 15 18 2D [07:44:31]*** FLAG_PRN_KEY reset [07:44:31]Write i2c OK [07:44:31]MH_I2C_Read... [07:44:31]Read from MH i2c: 01 [07:44:31]MH_I2C_Read... [07:44:31]Read from MH i2c: 01 07 00 [07:44:31]MH_I2C_Read... [07:44:31]Read from MH i2c: 01 07 00 15 18 00 00 00 00 00 FF 0F 42 [07:44:31]state=2 [07:44:31]Stop feed [07:44:35]OFD Sender: No OFD packet to send [07:44:40]OFD Sender: No OFD packet to send [07:44:45]OFD Sender: No OFD packet to send [07:44:50]OFD Sender: No OFD packet to send [07:44:55]OFD Sender: No OFD packet to send [07:45:00]OFD Sender: No OFD packet to send [07:45:05]OFD Sender: No OFD packet to send [07:45:10]OFD Sender: No OFD packet to send [07:45:15]OFD Sender: No OFD packet to send [07:45:20]OFD Sender: No OFD packet to send [07:45:25]OFD Sender: No OFD packet to send [07:45:30]OFD Sender: No OFD packet to send [07:45:35]OFD Sender: No OFD packet to send [07:45:40]OFD Sender: No OFD packet to send [07:45:45]OFD Sender: No OFD packet to send [07:45:50]OFD Sender: No OFD packet to send [07:45:55]OFD Sender: No OFD packet to send [07:46:00]OFD Sender: No OFD packet to send [07:46:05]OFD Sender: No OFD packet to send [07:46:10]OFD Sender: No OFD packet to send [07:46:15]OFD Sender: No OFD packet to send [07:46:20]OFD Sender: No OFD packet to send [07:46:25]OFD Sender: No OFD packet to send [07:46:30]OFD Sender: No OFD packet to send [07:46:35]OFD Sender: No OFD packet to send [07:46:40]OFD Sender: No OFD packet to send [07:46:45]OFD Sender: No OFD packet to send [07:46:50]OFD Sender: No OFD packet to send [07:46:55]OFD Sender: No OFD packet to send [07:47:00]OFD Sender: No OFD packet to send [07:47:05]OFD Sender: No OFD packet to send [07:47:08]accept exits with 7 [07:47:08]New connection [07:47:08]New thread 3066699108 created [07:47:08]Thread 3066555748 joined [07:47:08]Waiting for new connection... [07:47:08] Sock 7.Parse request [07:47:08]Sock 7.Check first char [07:47:08]Sock 7.First char is OK [07:47:08]request: POST /json_proto HTTP/1.0 [07:47:08]Method: POST [07:47:08]URL: /json_proto [07:47:08]Method is POST - this is cgi request [07:47:08]url: /json_proto [07:47:08]query_string will be loaded in cgi processing [07:47:08]execute_cgi json_proto POST (null) [07:47:08]execute_cgi path=json_proto method=POST [07:47:08]POST find Content-Length [07:47:08]Host: 172.17.53.68:8080 [07:47:08]Content-Length: 625 [07:47:08]Content-Type: application/json [07:47:08] [07:47:08]POST finish read [07:47:08]Found Content-Length = 625 [07:47:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76648", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 4.000, "sum" : 460.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 460.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:47:08]execute_script... [07:47: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)76648", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 4.000, "sum" : 460.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 460.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:47:08]POST & json_proto [07:47:08]process_json_proto [07:47:08]json parsed OK: [07:47:08]protocol is kg_v1.0 [07:47:08]action value=close_receipt [07:47:08]process_action close_receipt [07:47:08]cmd_close_receipt [07:47:08]MH_GetDate [07:47:08]Write to MH i2c: F0 00 00 16 18 1D [07:47:08]Write i2c OK [07:47:08]MH_I2C_Read... [07:47:08]Read from MH i2c: F0 [07:47:08]MH_I2C_Read... [07:47:08]Read from MH i2c: F0 09 00 [07:47:08]MH_I2C_Read... [07:47:08]Read from MH i2c: F0 09 00 16 18 00 83 B5 14 67 C5 A4 76 66 1E [07:47:08]GetLastDocTimeStamp 1729410274 [07:47:08]current date 1729410435 [07:47:08]FM_GetShiftState [07:47:08]SAM_PROTO_GetShiftState [07:47:08]wFMCommunicate request_size=4 [07:47:08]MH_SAM_APDU [07:47:08]CAPDU: 80 13 01 00 [07:47:08]Write to MH i2c: E2 08 00 17 18 80 13 01 00 00 00 00 00 AC [07:47:08]Write i2c OK [07:47:08]MH_I2C_Read... [07:47:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:47:08]Read from MH i2c: E2 [07:47:08]MH_I2C_Read... [07:47:08]Read from MH i2c: E2 0E 00 [07:47:08]MH_I2C_Read... [07:47:08]Read from MH i2c: E2 0E 00 17 18 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 01 [07:47:08]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [07:47:08]wFMCommunicate OK [07:47:08]SAM_PROTO_GetShiftState done [07:47:08]FM_GetShiftState done [07:47:08]opened in 1729383299 [07:47:08]opened+sec_in_day 1729469699 [07:47:08]quantity*price = 46000 [07:47:08]sum+1 = 46001 [07:47:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 460.00 ÐСП 1% : 4.07 ÐДС 12% : 48.85 Ðаличными: 460.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 15 20.10.2024 07:47 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37167 ФПД: 176563724384592 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T074715&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37167&fm=176563724384592&tin=02508201610067®Number=0000000000098149&sum=46000 0 [07:47:09]StoreToDocumentArchive [07:47:09]shift 461 fd 37167 [07:47:09]save to /storage/0461/doc_00037167 [07:47:09]save last doc name /storage/0461/doc_00037167 to /storage/kkm_last_doc_name [07:47:09]save OK [07:47:09]Clear old archive folders... [07:47:09]ProcessDocumentItem done err = 0, tmpTLVsize=274 [07:47:09]tlvbuf is B6F17910 [07:47:09]SAM_PROTO_ClearQueue [07:47:09]wFMCommunicate request_size=4 [07:47:09]MH_SAM_APDU [07:47:09]CAPDU: 80 09 00 00 [07:47:09]Write to MH i2c: E2 08 00 24 18 80 09 00 00 00 00 00 00 AE [07:47:09]Write i2c OK [07:47:09]MH_I2C_Read... [07:47:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:47:09]Read from MH i2c: E2 [07:47:09]MH_I2C_Read... [07:47:09]Read from MH i2c: E2 03 00 [07:47:09]MH_I2C_Read... [07:47:09]Read from MH i2c: E2 03 00 24 18 00 90 00 B0 [07:47:09]RAPDU: 90 00 [07:47:09]wFMCommunicate OK [07:47:09]SAM_PROTO_ClearQueue done [07:47:09]KKMCreateOFDPacket [07:47:09]OFDProtocolAddRootSTLVToBuf [07:47:09]FM_MakeSignedData [07:47:09]FM_MakeSignedData [07:47:09]SAM_PROTO_SignData [07:47:09]wFMCommunicate request_size=4 [07:47:09]MH_SAM_APDU [07:47:09]CAPDU: 80 0D 01 02 [07:47:09]Write to MH i2c: E2 08 00 25 18 80 0D 01 02 00 00 00 00 B6 [07:47:09]Write i2c OK [07:47:09]MH_I2C_Read... [07:47:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:47:09]Read from MH i2c: E2 [07:47:09]MH_I2C_Read... [07:47:09]Read from MH i2c: E2 03 00 [07:47:09]MH_I2C_Read... [07:47:09]Read from MH i2c: E2 03 00 25 18 00 90 00 B1 [07:47:09]RAPDU: 90 00 [07:47:09]wFMCommunicate OK [07:47:09]wFMCommunicate request_size=255 [07:47:09]MH_SAM_APDU [07:47:09]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 A0 0F 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 B0 B3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 B3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 97 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 15 13 00 00 00 00 07 04 06 00 B0 B3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 83 B5 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 [07:47:09]Write to MH i2c: E2 02 01 26 18 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 A0 0F 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 B0 B3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 B3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 97 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 15 13 00 00 00 00 07 04 06 00 B0 B3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 83 B5 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 00 00 1E [07:47:09]Write i2c OK [07:47:09]MH_I2C_Read... [07:47:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:47:10]Read from MH i2c: E2 [07:47:10]MH_I2C_Read... [07:47:10]Read from MH i2c: E2 03 00 [07:47:10]MH_I2C_Read... [07:47:10]Read from MH i2c: E2 03 00 26 18 00 90 00 B2 [07:47:10]RAPDU: 90 00 [07:47:10]wFMCommunicate OK [07:47:10]wFMCommunicate request_size=33 [07:47:10]MH_SAM_APDU [07:47:10]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 33 37 32 10 04 04 00 2F 91 00 00 35 04 06 00 A0 95 72 12 79 50 [07:47:10]Write to MH i2c: E2 24 00 27 18 80 0D 02 02 1C 00 30 30 30 30 39 36 35 33 37 32 10 04 04 00 2F 91 00 00 35 04 06 00 A0 95 72 12 79 50 00 00 8A [07:47:10]Write i2c OK [07:47:10]MH_I2C_Read... [07:47:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:47:10]Read from MH i2c: E2 [07:47:10]MH_I2C_Read... [07:47:10]Read from MH i2c: E2 03 00 [07:47:10]MH_I2C_Read... [07:47:10]Read from MH i2c: E2 03 00 27 18 00 90 00 B3 [07:47:10]RAPDU: 90 00 [07:47:10]wFMCommunicate OK [07:47:10]wFMCommunicate request_size=4 [07:47:10]MH_SAM_APDU [07:47:10]CAPDU: 80 0D 03 02 [07:47:10]Write to MH i2c: E2 08 00 28 18 80 0D 03 02 00 00 00 00 BB [07:47:10]Write i2c OK [07:47:10]MH_I2C_Read... [07:47:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:47:10]Read from MH i2c: E2 [07:47:10]MH_I2C_Read... [07:47:10]Read from MH i2c: E2 0B 00 [07:47:10]MH_I2C_Read... [07:47:10]Read from MH i2c: E2 0B 00 28 18 00 10 20 08 C0 80 1A B7 62 90 00 67 [07:47:10]RAPDU: 10 20 08 C0 80 1A B7 62 90 00 [07:47:10]wFMCommunicate OK [07:47:10]SAM_PROTO_SignData done [07:47:10]FM_MakeSignedData done [07:47:10]CreateOFDProtocolMessage [07:47:10]wFMCommunicate request_size=4 [07:47:10]MH_SAM_APDU [07:47:10]CAPDU: 80 11 00 00 [07:47:10]Write to MH i2c: E2 08 00 29 18 80 11 00 00 00 00 00 00 BB [07:47:10]Write i2c OK [07:47:10]MH_I2C_Read... [07:47:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:47:10]Read from MH i2c: E2 [07:47:10]MH_I2C_Read... [07:47:10]Read from MH i2c: E2 17 00 [07:47:10]MH_I2C_Read... [07:47:10]Read from MH i2c: E2 17 00 29 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 0E [07:47:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [07:47:10]wFMCommunicate OK [07:47:10]CreateOFDProtocolMessage done [07:47:10]OFDSenderStorePacket 37167 [07:47:10]StoreOFDPacket docnum=37167 [07:47:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 26 01 00 00 00 A4 1E 01 F4 14 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 A0 0F 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 B0 B3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 B3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 97 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 15 13 00 00 00 00 07 04 06 00 B0 B3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 83 B5 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 2F 91 00 00 35 04 06 00 A0 95 72 12 79 50 10 20 08 C0 80 1A B7 62 [07:47:10]CheckFolder [07:47:10]dirname=/storage/ofd_packets [07:47:10]CheckFolder done [07:47:10]ProducePacketName [07:47:10]name=ofd_packets/00037167 [07:47:10]NVStorageSaveData ofd_packets/00037167 [07:47:10]File name is /storage/ofd_packets/00037167 [07:47:10]Write 324 bytes [07:47:10]NVStorageSaveData done [07:47:10]OFDSenderStorePacket done [07:47:10]KKMCreateOFDPacket done [07:47:10]NVStorageSaveData kkm_last_timestamp [07:47:10]File name is /storage/kkm_last_timestamp [07:47:10]Write 4 bytes [07:47:10]NVStorageSaveData done [07:47:10]ExternCall_PrintAddStr [07:47:10]wPrintStart [07:47:10]Write to MH i2c: 01 00 00 2A 18 42 [07:47:10]Write i2c OK [07:47:10]MH_I2C_Read... [07:47:10]Read from MH i2c: 01 [07:47:10]MH_I2C_Read... [07:47:10]Read from MH i2c: 01 07 00 [07:47:10]MH_I2C_Read... [07:47:10]Read from MH i2c: 01 07 00 2A 18 00 00 00 00 00 FF 0F 57 [07:47:10]RasterBufferAndPrint [07:47:10]line Счет N : (3)76648 [07:47:10]line ИÐÐ: 02508201610067 [07:47:10]line Контрольно-КаÑÑовый Чек [07:47:10]line ПРОДÐЖР[07:47:10]line Товар: 2000036240010 [07:47:10]line Кофе Латте (GABB TRADE) [07:47:10]line 4.000 * 115.00 [07:47:10]line = 460.00 [07:47:10]line ÐДС 12% ÐСП 1% [07:47:10]line > о реализуемом товаре [07:47:10]line ИТОГО: 460.00 [07:47:10]line ÐСП 1% : 4.07 [07:47:10]line ÐДС 12% : 48.85 [07:47:10]line Ðаличными: 460.00 [07:47:10]line Безнал.: 0.00 [07:47:10]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [07:47:10]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [07:47:10]line СÐО: Общий режим [07:47:10]line Чек 15 20.10.2024 07:47 [07:47:10]line Смена: 461 ФФД: 1.0 [07:47:10]line ЗÐМ: 0300000235 [07:47:10]line РÐМ: 0000000000098149 [07:47:10]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [07:47:10]line ФМ: 0000000000965372 [07:47:10]line ФД: 37167 [07:47:10]line ФПД: 176563724384592 [07:47:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T074715&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37167&fm=176563724384592&tin=02508201610067®Number=0000000000098149&sum=46000 [07:47:10]OFD Sender: Processing packet 37167 [packets to send 25, broken 24] [07:47:10]ProducePacketName [07:47:10]name=ofd_packets/00037167 [07:47:10]OFD Sender: To server: ‡•öpG, [07:47:10]CommunicateWithHost lk.salyk.kg:30040 [07:47:10]ConnectInit lk.salyk.kg [07:47:10]line 0 [07:47:10]written 0, free lines is 4095 [07:47:10]Connected sock=10 [07:47: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 33 37 32 26 01 00 00 00 A4 1E 01 F4 14 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 A0 0F 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 B0 B3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 B3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 97 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 15 13 00 00 00 00 07 04 06 00 B0 B3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 83 B5 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 2F 91 00 00 35 04 06 00 A0 95 72 12 79 50 10 20 08 C0 80 1A B7 62 [07:47:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 3E 2F 47 00 3D 2D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 2F 91 00 00 F4 03 04 00 16 5E 14 67 B6 04 01 00 00 0F 36 6F 30 AD E5 1B D2 [07:47:11]CommunicateWithHost err = 0 [07:47:11]CheckOFDResponse [07:47:11]1017 (14) - 77093643461234 [07:47:11]1041 (16) - 0000000000965372 [07:47:11]1040 (4) - 37167 [07:47:11]1012 (4) - 20.10.2024 01:34 [07:47:11]1206 (1) - 0 [07:47:11]OFD Sender: Remove packet 37167 [07:47:11]ProducePacketName [07:47:11]name=ofd_packets/00037167 [07:47:11]NVStorageDeleteData [07:47:11]Write to MH i2c: 01 00 00 52 18 6A [07:47:11]Write i2c OK [07:47:11]MH_I2C_Read... [07:47:11]Read from MH i2c: 01 [07:47:11]MH_I2C_Read... [07:47:11]Read from MH i2c: 01 07 00 [07:47:11]MH_I2C_Read... [07:47:11]Read from MH i2c: 01 07 00 52 18 00 00 00 00 00 1A 0D 98 [07:47:11]RasterBufferAndPrint [07:47:11]line [07:47:11]line [07:47:11]line [07:47:11]line [07:47:11]line [07:47:11]written 0, free lines is 3361 [07:47:11]process_action close_receipt done [07:47:11]requested_data is exist [07:47:11]produce_requested_data [07:47:11]requested_item fm.sn is exist - process it [07:47:11]wFMCommunicate request_size=4 [07:47:11]MH_SAM_APDU [07:47:11]CAPDU: 80 11 00 00 [07:47:11]Write to MH i2c: E2 08 00 59 18 80 11 00 00 00 00 00 00 EB [07:47:11]Write i2c OK [07:47:11]MH_I2C_Read... [07:47:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:47:11]Read from MH i2c: E2 [07:47:11]MH_I2C_Read... [07:47:11]Read from MH i2c: E2 17 00 [07:47:11]MH_I2C_Read... [07:47:11]Read from MH i2c: E2 17 00 59 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 3E [07:47:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [07:47:11]wFMCommunicate OK [07:47:11]requested_item fd.num is exist - process it [07:47:11]SAM_PROTO_GetFieldsCounters [07:47:11]wFMCommunicate request_size=4 [07:47:11]MH_SAM_APDU [07:47:11]CAPDU: 80 13 00 00 [07:47:11]Write to MH i2c: E2 08 00 5A 18 80 13 00 00 00 00 00 00 EE [07:47:11]Write i2c OK [07:47:11]MH_I2C_Read... [07:47:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:47:11]Read from MH i2c: E2 [07:47:11]MH_I2C_Read... [07:47:11]Read from MH i2c: E2 62 00 [07:47:11]MH_I2C_Read... [07:47:11]Read from MH i2c: E2 62 00 5A 18 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 2F 91 00 00 0E 04 04 00 CD 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 D0 [07:47: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 2F 91 00 00 0E 04 04 00 CD 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 [07:47:11]wFMCommunicate OK [07:47:11]SAM_PROTO_GetFieldsCounters done [07:47:11]requested_item shift.num is exist - process it [07:47:11]requested_item shift.opened is exist - process it [07:47:11]req_shift_opened [07:47:11]FM_GetShiftState [07:47:11]SAM_PROTO_GetShiftState [07:47:11]wFMCommunicate request_size=4 [07:47:11]MH_SAM_APDU [07:47:11]CAPDU: 80 13 01 00 [07:47:11]Write to MH i2c: E2 08 00 5B 18 80 13 01 00 00 00 00 00 F0 [07:47:11]Write i2c OK [07:47:11]MH_I2C_Read... [07:47:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:47:11]Read from MH i2c: E2 [07:47:11]MH_I2C_Read... [07:47:11]Read from MH i2c: E2 0E 00 [07:47:11]MH_I2C_Read... [07:47:11]Read from MH i2c: E2 0E 00 5B 18 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 45 [07:47:11]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [07:47:11]wFMCommunicate OK [07:47:11]SAM_PROTO_GetShiftState done [07:47:11]FM_GetShiftState done [07:47:11]req_shift_opened done [07:47:11]requested_item shift.open_date is exist - process it [07:47:11]req_shift_open_date [07:47:11]req_shift_open_date done [07:47:11]produce_requested_data done [07:47:11]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37167,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [07:47:11]process_action_free close_receipt [07:47:11]json_value_free [07:47:11]json_value_free done [07:47:11]process_json_proto returns [07:47:11]Send response to host [07:47:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37167,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [07:47:11]free response buf [07:47:11]execute_script done [07:47:11]execute_script returns [07:47:11]free content buf [07:47:11]Sock 7.Close socket [07:47:11]Sock 7.Thread stoped [07:47:11]OFD Sender: No OFD packet to send [07:47:16]OFD Sender: No OFD packet to send [07:47:21]int [07:47:21]Write to MH i2c: 01 00 00 5C 18 74 [07:47:21]*** FLAG_PRN_KEY set [07:47:21]Write i2c OK [07:47:21]MH_I2C_Read... [07:47:21]Read from MH i2c: 01 [07:47:21]MH_I2C_Read... [07:47:21]Read from MH i2c: 01 07 00 [07:47:21]MH_I2C_Read... [07:47:21]Read from MH i2c: 01 07 00 5C 18 00 08 00 00 00 FF 0F 91 [07:47:21]state=0 [07:47:21]Key pressed [07:47:21]Feed [07:47:21]Write to MH i2c: D8 00 00 5D 18 4C [07:47:21]Write i2c OK [07:47:21]MH_I2C_Read... [07:47:21]Read from MH i2c: D8 [07:47:21]MH_I2C_Read... [07:47:21]Read from MH i2c: D8 01 00 [07:47:21]MH_I2C_Read... [07:47:21]Read from MH i2c: D8 01 00 5D 18 00 4D [07:47:21]int [07:47:21]Write to MH i2c: 01 00 00 5E 18 76 [07:47:21]Write i2c OK [07:47:21]MH_I2C_Read... [07:47:21]Read from MH i2c: 01 [07:47:21]MH_I2C_Read... [07:47:21]Read from MH i2c: 01 07 00 [07:47:21]MH_I2C_Read... [07:47:21]Read from MH i2c: 01 07 00 5E 18 00 48 00 00 00 3D 00 02 [07:47:21]state=2 [07:47:21]Key pressed [07:47:21]int [07:47:21]Write to MH i2c: 01 00 00 5F 18 77 [07:47:21]*** FLAG_PRN_KEY reset [07:47:21]Write i2c OK [07:47:21]MH_I2C_Read... [07:47:21]Read from MH i2c: 01 [07:47:21]MH_I2C_Read... [07:47:21]Read from MH i2c: 01 07 00 [07:47:21]MH_I2C_Read... [07:47:21]Read from MH i2c: 01 07 00 5F 18 00 00 00 00 00 FE 0F 8B [07:47:21]state=2 [07:47:21]Stop feed [07:47:21]OFD Sender: No OFD packet to send [07:47:26]OFD Sender: No OFD packet to send [07:47:31]OFD Sender: No OFD packet to send [07:47:36]OFD Sender: No OFD packet to send [07:47:41]OFD Sender: No OFD packet to send [07:47:46]OFD Sender: No OFD packet to send [07:47:51]OFD Sender: No OFD packet to send [07:47:56]OFD Sender: No OFD packet to send [07:48:01]OFD Sender: No OFD packet to send [07:48:06]OFD Sender: No OFD packet to send [07:48:11]OFD Sender: No OFD packet to send [07:48:16]OFD Sender: No OFD packet to send [07:48:21]OFD Sender: No OFD packet to send [07:48:26]OFD Sender: No OFD packet to send [07:48:31]OFD Sender: No OFD packet to send [07:48:36]OFD Sender: No OFD packet to send [07:48:41]OFD Sender: No OFD packet to send [07:48:46]OFD Sender: No OFD packet to send [07:48:51]OFD Sender: No OFD packet to send [07:48:56]OFD Sender: No OFD packet to send [07:49:01]OFD Sender: No OFD packet to send [07:49:06]OFD Sender: No OFD packet to send [07:49:11]OFD Sender: No OFD packet to send [07:49:16]OFD Sender: No OFD packet to send [07:49:21]OFD Sender: No OFD packet to send [07:49:26]OFD Sender: No OFD packet to send [07:49:31]OFD Sender: No OFD packet to send [07:49:36]OFD Sender: No OFD packet to send [07:49:41]OFD Sender: No OFD packet to send [07:49:46]OFD Sender: No OFD packet to send [07:49:51]OFD Sender: No OFD packet to send [07:49:56]OFD Sender: No OFD packet to send [07:50:01]OFD Sender: No OFD packet to send [07:50:06]OFD Sender: No OFD packet to send [07:50:11]OFD Sender: No OFD packet to send [07:50:16]OFD Sender: No OFD packet to send [07:50:21]OFD Sender: No OFD packet to send [07:50:26]OFD Sender: No OFD packet to send [07:50:27]accept exits with 9 [07:50:27]New connection [07:50:27]New thread 3066555748 created [07:50:27]Thread 3066699108 joined [07:50:27]Waiting for new connection... [07:50:27] Sock 9.Parse request [07:50:27]Sock 9.Check first char [07:50:27]Sock 9.First char is OK [07:50:27]request: POST /json_proto HTTP/1.0 [07:50:27]Method: POST [07:50:27]URL: /json_proto [07:50:27]Method is POST - this is cgi request [07:50:27]url: /json_proto [07:50:27]query_string will be loaded in cgi processing [07:50:27]execute_cgi json_proto POST (null) [07:50:27]execute_cgi path=json_proto method=POST [07:50:27]POST find Content-Length [07:50:27]Host: 172.17.53.68:8080 [07:50:27]Content-Length: 710 [07:50:27]Content-Type: application/json [07:50:27] [07:50:27]POST finish read [07:50:27]Found Content-Length = 710 [07:50:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76649", "tax_sys" : 0, "items" : [ { "code": "4870112003956", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI SUPER \u0410\u043B\u044C\u0431\u0435\u043D\u0438 \u0421\u0443\u043F\u0435\u0440", "price" : 75.00, "quantity" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:50:27]execute_script... [07:50:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76649", "tax_sys" : 0, "items" : [ { "code": "4870112003956", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI SUPER \u0410\u043B\u044C\u0431\u0435\u043D\u0438 \u0421\u0443\u043F\u0435\u0440", "price" : 75.00, "quantity" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:50:27]POST & json_proto [07:50:27]process_json_proto [07:50:27]json parsed OK: [07:50:27]protocol is kg_v1.0 [07:50:27]action value=close_receipt [07:50:27]process_action close_receipt [07:50:27]cmd_close_receipt [07:50:27]MH_GetDate [07:50:27]Write to MH i2c: F0 00 00 60 18 67 [07:50:27]Write i2c OK [07:50:27]MH_I2C_Read... [07:50:27]Read from MH i2c: F0 [07:50:27]MH_I2C_Read... [07:50:27]Read from MH i2c: F0 09 00 [07:50:27]MH_I2C_Read... [07:50:27]Read from MH i2c: F0 09 00 60 18 00 49 B6 14 67 C5 A4 76 66 2F [07:50:27]GetLastDocTimeStamp 1729410435 [07:50:27]current date 1729410633 [07:50:27]FM_GetShiftState [07:50:27]SAM_PROTO_GetShiftState [07:50:27]wFMCommunicate request_size=4 [07:50:27]MH_SAM_APDU [07:50:27]CAPDU: 80 13 01 00 [07:50:27]Write to MH i2c: E2 08 00 61 18 80 13 01 00 00 00 00 00 F6 [07:50:27]Write i2c OK [07:50:27]MH_I2C_Read... [07:50:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:50:27]Read from MH i2c: E2 [07:50:27]MH_I2C_Read... [07:50:27]Read from MH i2c: E2 0E 00 [07:50:27]MH_I2C_Read... [07:50:27]Read from MH i2c: E2 0E 00 61 18 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 4B [07:50:27]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [07:50:27]wFMCommunicate OK [07:50:27]SAM_PROTO_GetShiftState done [07:50:27]FM_GetShiftState done [07:50:27]opened in 1729383299 [07:50:27]opened+sec_in_day 1729469699 [07:50:27]quantity*price = 15000 [07:50:27]sum+1 = 15001 [07:50:27]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 ÐСП 1% : 1.33 ÐДС 12% : 15.93 Ðаличными: 150.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 16 20.10.2024 07:50 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37168 ФПД: 277410181568724 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T075033&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37168&fm=277410181568724&tin=02508201610067®Number=0000000000098149&sum=15000 0 [07:50:28]StoreToDocumentArchive [07:50:28]shift 461 fd 37168 [07:50:28]save to /storage/0461/doc_00037168 [07:50:28]save last doc name /storage/0461/doc_00037168 to /storage/kkm_last_doc_name [07:50:28]save OK [07:50:28]Clear old archive folders... [07:50:28]ProcessDocumentItem done err = 0, tmpTLVsize=304 [07:50:28]tlvbuf is B6E6A9D0 [07:50:28]SAM_PROTO_ClearQueue [07:50:28]wFMCommunicate request_size=4 [07:50:28]MH_SAM_APDU [07:50:28]CAPDU: 80 09 00 00 [07:50:28]Write to MH i2c: E2 08 00 6E 18 80 09 00 00 00 00 00 00 F8 [07:50:28]Write i2c OK [07:50:28]MH_I2C_Read... [07:50:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:50:28]Read from MH i2c: E2 [07:50:28]MH_I2C_Read... [07:50:28]Read from MH i2c: E2 03 00 [07:50:28]MH_I2C_Read... [07:50:28]Read from MH i2c: E2 03 00 6E 18 00 90 00 FA [07:50:28]RAPDU: 90 00 [07:50:28]wFMCommunicate OK [07:50:28]SAM_PROTO_ClearQueue done [07:50:28]KKMCreateOFDPacket [07:50:28]OFDProtocolAddRootSTLVToBuf [07:50:28]FM_MakeSignedData [07:50:28]FM_MakeSignedData [07:50:28]SAM_PROTO_SignData [07:50:28]wFMCommunicate request_size=4 [07:50:28]MH_SAM_APDU [07:50:28]CAPDU: 80 0D 01 02 [07:50:28]Write to MH i2c: E2 08 00 6F 18 80 0D 01 02 00 00 00 00 00 [07:50:28]Write i2c OK [07:50:28]MH_I2C_Read... [07:50:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:50:28]Read from MH i2c: E2 [07:50:28]MH_I2C_Read... [07:50:28]Read from MH i2c: E2 03 00 [07:50:28]MH_I2C_Read... [07:50:28]Read from MH i2c: E2 03 00 6F 18 00 90 00 FB [07:50:28]RAPDU: 90 00 [07:50:28]wFMCommunicate OK [07:50:28]wFMCommunicate request_size=255 [07:50:28]MH_SAM_APDU [07:50:28]CAPDU: 80 0D 02 02 FA 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 49 B6 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 [07:50:28]Write to MH i2c: E2 02 01 70 18 80 0D 02 02 FA 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 49 B6 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 00 00 A6 [07:50:28]Write i2c OK [07:50:28]MH_I2C_Read... [07:50:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:50:28]Read from MH i2c: E2 [07:50:28]MH_I2C_Read... [07:50:28]Read from MH i2c: E2 03 00 [07:50:28]MH_I2C_Read... [07:50:28]Read from MH i2c: E2 03 00 70 18 00 90 00 FC [07:50:28]RAPDU: 90 00 [07:50:28]wFMCommunicate OK [07:50:28]wFMCommunicate request_size=63 [07:50:28]MH_SAM_APDU [07:50:28]CAPDU: 80 0D 02 02 3A 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 30 91 00 00 35 04 06 00 FC 4D 97 54 58 D4 [07:50:28]Write to MH i2c: E2 42 00 71 18 80 0D 02 02 3A 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 30 91 00 00 35 04 06 00 FC 4D 97 54 58 D4 00 00 74 [07:50:28]Write i2c OK [07:50:28]MH_I2C_Read... [07:50:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:50:28]Read from MH i2c: E2 [07:50:28]MH_I2C_Read... [07:50:28]Read from MH i2c: E2 03 00 [07:50:28]MH_I2C_Read... [07:50:28]Read from MH i2c: E2 03 00 71 18 00 90 00 FD [07:50:28]RAPDU: 90 00 [07:50:28]wFMCommunicate OK [07:50:28]wFMCommunicate request_size=4 [07:50:28]MH_SAM_APDU [07:50:28]CAPDU: 80 0D 03 02 [07:50:28]Write to MH i2c: E2 08 00 72 18 80 0D 03 02 00 00 00 00 05 [07:50:28]Write i2c OK [07:50:28]MH_I2C_Read... [07:50:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:50:28]Read from MH i2c: E2 [07:50:28]MH_I2C_Read... [07:50:28]Read from MH i2c: E2 0B 00 [07:50:28]MH_I2C_Read... [07:50:28]Read from MH i2c: E2 0B 00 72 18 00 5D 70 C5 C7 07 92 6C 90 90 00 F4 [07:50:28]RAPDU: 5D 70 C5 C7 07 92 6C 90 90 00 [07:50:28]wFMCommunicate OK [07:50:28]SAM_PROTO_SignData done [07:50:28]FM_MakeSignedData done [07:50:28]CreateOFDProtocolMessage [07:50:28]wFMCommunicate request_size=4 [07:50:28]MH_SAM_APDU [07:50:28]CAPDU: 80 11 00 00 [07:50:28]Write to MH i2c: E2 08 00 73 18 80 11 00 00 00 00 00 00 05 [07:50:28]Write i2c OK [07:50:28]MH_I2C_Read... [07:50:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:50:29]Read from MH i2c: E2 [07:50:29]MH_I2C_Read... [07:50:29]Read from MH i2c: E2 17 00 [07:50:29]MH_I2C_Read... [07:50:29]Read from MH i2c: E2 17 00 73 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 58 [07:50:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [07:50:29]wFMCommunicate OK [07:50:29]CreateOFDProtocolMessage done [07:50:29]OFDSenderStorePacket 37168 [07:50:29]StoreOFDPacket docnum=37168 [07:50:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 44 01 00 00 51 7A 3C 01 EE 42 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 49 B6 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 30 91 00 00 35 04 06 00 FC 4D 97 54 58 D4 5D 70 C5 C7 07 92 6C 90 [07:50:29]CheckFolder [07:50:29]dirname=/storage/ofd_packets [07:50:29]CheckFolder done [07:50:29]ProducePacketName [07:50:29]name=ofd_packets/00037168 [07:50:29]NVStorageSaveData ofd_packets/00037168 [07:50:29]File name is /storage/ofd_packets/00037168 [07:50:29]Write 354 bytes [07:50:29]NVStorageSaveData done [07:50:29]OFDSenderStorePacket done [07:50:29]KKMCreateOFDPacket done [07:50:29]NVStorageSaveData kkm_last_timestamp [07:50:29]File name is /storage/kkm_last_timestamp [07:50:29]Write 4 bytes [07:50:29]NVStorageSaveData done [07:50:29]ExternCall_PrintAddStr [07:50:29]wPrintStart [07:50:29]Write to MH i2c: 01 00 00 74 18 8C [07:50:29]Write i2c OK [07:50:29]MH_I2C_Read... [07:50:29]Read from MH i2c: 01 [07:50:29]MH_I2C_Read... [07:50:29]Read from MH i2c: 01 07 00 [07:50:29]MH_I2C_Read... [07:50:29]Read from MH i2c: 01 07 00 74 18 00 00 00 00 00 FF 0F A1 [07:50:29]RasterBufferAndPrint [07:50:29]line Счет N : (3)76649 [07:50:29]line ИÐÐ: 02508201610067 [07:50:29]line Контрольно-КаÑÑовый Чек [07:50:29]line ПРОДÐЖР[07:50:29]line Товар: 4870112003956 [07:50:29]line Шок батончик ALBENI SUPER Ðльбени Супер [07:50:29]line 2.000 * 75.00 [07:50:29]line = 150.00 [07:50:29]line ÐДС 12% ÐСП 1% [07:50:29]line > о реализуемом товаре [07:50:29]line ИТОГО: 150.00 [07:50:29]line ÐСП 1% : 1.33 [07:50:29]line ÐДС 12% : 15.93 [07:50:29]line Ðаличными: 150.00 [07:50:29]line Безнал.: 0.00 [07:50:29]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [07:50:29]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [07:50:29]line СÐО: Общий режим [07:50:29]line Чек 16 20.10.2024 07:50 [07:50:29]line Смена: 461 ФФД: 1.0 [07:50:29]line ЗÐМ: 0300000235 [07:50:29]line РÐМ: 0000000000098149 [07:50:29]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [07:50:29]line ФМ: 0000000000965372 [07:50:29]line ФД: 37168 [07:50:29]line ФПД: 277410181568724 [07:50:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T075033&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37168&fm=277410181568724&tin=02508201610067®Number=0000000000098149&sum=15000 [07:50:29]line 0 [07:50:29]OFD Sender: Processing packet 37168 [packets to send 25, broken 24] [07:50:29]ProducePacketName [07:50:29]name=ofd_packets/00037168 [07:50:29]OFD Sender: To server: ‡•öpG, [07:50:29]CommunicateWithHost lk.salyk.kg:30040 [07:50:29]ConnectInit lk.salyk.kg [07:50:29]written 0, free lines is 4095 [07:50:29]Connected sock=10 [07:50:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 44 01 00 00 51 7A 3C 01 EE 42 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 49 B6 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 30 91 00 00 35 04 06 00 FC 4D 97 54 58 D4 5D 70 C5 C7 07 92 6C 90 [07:50:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 52 04 47 00 9C 44 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 30 91 00 00 F4 03 04 00 DC 5E 14 67 B6 04 01 00 00 83 78 78 9E 8A 81 1F 5F [07:50:29]CommunicateWithHost err = 0 [07:50:29]CheckOFDResponse [07:50:29]1017 (14) - 77093643461234 [07:50:29]1041 (16) - 0000000000965372 [07:50:29]1040 (4) - 37168 [07:50:29]1012 (4) - 20.10.2024 01:37 [07:50:29]1206 (1) - 0 [07:50:29]OFD Sender: Remove packet 37168 [07:50:29]ProducePacketName [07:50:29]name=ofd_packets/00037168 [07:50:29]NVStorageDeleteData [07:50:29]Write to MH i2c: 01 00 00 9D 18 B5 [07:50:29]Write i2c OK [07:50:29]MH_I2C_Read... [07:50:29]Read from MH i2c: 01 [07:50:29]MH_I2C_Read... [07:50:29]Read from MH i2c: 01 07 00 [07:50:29]MH_I2C_Read... [07:50:29]Read from MH i2c: 01 07 00 9D 18 00 00 00 00 00 DF 0C A7 [07:50:29]RasterBufferAndPrint [07:50:29]line [07:50:29]line [07:50:29]line [07:50:29]line [07:50:29]line [07:50:29]written 0, free lines is 3304 [07:50:29]process_action close_receipt done [07:50:29]requested_data is exist [07:50:29]produce_requested_data [07:50:29]requested_item fm.sn is exist - process it [07:50:29]wFMCommunicate request_size=4 [07:50:29]MH_SAM_APDU [07:50:29]CAPDU: 80 11 00 00 [07:50:29]Write to MH i2c: E2 08 00 A4 18 80 11 00 00 00 00 00 00 36 [07:50:29]Write i2c OK [07:50:29]MH_I2C_Read... [07:50:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:50:29]Read from MH i2c: E2 [07:50:29]MH_I2C_Read... [07:50:29]Read from MH i2c: E2 17 00 [07:50:29]MH_I2C_Read... [07:50:29]Read from MH i2c: E2 17 00 A4 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 89 [07:50:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [07:50:29]wFMCommunicate OK [07:50:29]requested_item fd.num is exist - process it [07:50:29]SAM_PROTO_GetFieldsCounters [07:50:29]wFMCommunicate request_size=4 [07:50:29]MH_SAM_APDU [07:50:29]CAPDU: 80 13 00 00 [07:50:29]Write to MH i2c: E2 08 00 A5 18 80 13 00 00 00 00 00 00 39 [07:50:29]Write i2c OK [07:50:29]MH_I2C_Read... [07:50:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:50:30]Read from MH i2c: E2 [07:50:30]MH_I2C_Read... [07:50:30]Read from MH i2c: E2 62 00 [07:50:30]MH_I2C_Read... [07:50:30]Read from MH i2c: E2 62 00 A5 18 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 30 91 00 00 0E 04 04 00 CD 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 1F [07:50: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 30 91 00 00 0E 04 04 00 CD 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 [07:50:30]wFMCommunicate OK [07:50:30]SAM_PROTO_GetFieldsCounters done [07:50:30]requested_item shift.num is exist - process it [07:50:30]requested_item shift.opened is exist - process it [07:50:30]req_shift_opened [07:50:30]FM_GetShiftState [07:50:30]SAM_PROTO_GetShiftState [07:50:30]wFMCommunicate request_size=4 [07:50:30]MH_SAM_APDU [07:50:30]CAPDU: 80 13 01 00 [07:50:30]Write to MH i2c: E2 08 00 A6 18 80 13 01 00 00 00 00 00 3B [07:50:30]Write i2c OK [07:50:30]MH_I2C_Read... [07:50:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:50:30]Read from MH i2c: E2 [07:50:30]MH_I2C_Read... [07:50:30]Read from MH i2c: E2 0E 00 [07:50:30]MH_I2C_Read... [07:50:30]Read from MH i2c: E2 0E 00 A6 18 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 90 [07:50:30]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [07:50:30]wFMCommunicate OK [07:50:30]SAM_PROTO_GetShiftState done [07:50:30]FM_GetShiftState done [07:50:30]req_shift_opened done [07:50:30]requested_item shift.open_date is exist - process it [07:50:30]req_shift_open_date [07:50:30]req_shift_open_date done [07:50:30]produce_requested_data done [07:50:30]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37168,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [07:50:30]process_action_free close_receipt [07:50:30]json_value_free [07:50:30]json_value_free done [07:50:30]process_json_proto returns [07:50:30]Send response to host [07:50:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37168,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [07:50:30]free response buf [07:50:30]execute_script done [07:50:30]execute_script returns [07:50:30]free content buf [07:50:30]Sock 9.Close socket [07:50:30]Sock 9.Thread stoped [07:50:30]OFD Sender: No OFD packet to send [07:50:35]OFD Sender: No OFD packet to send [07:50:40]OFD Sender: No OFD packet to send [07:50:45]OFD Sender: No OFD packet to send [07:50:50]OFD Sender: No OFD packet to send [07:50:55]OFD Sender: No OFD packet to send [07:51:00]OFD Sender: No OFD packet to send [07:51:05]OFD Sender: No OFD packet to send [07:51:10]OFD Sender: No OFD packet to send [07:51:15]OFD Sender: No OFD packet to send [07:51:20]OFD Sender: No OFD packet to send [07:51:25]OFD Sender: No OFD packet to send [07:51:30]OFD Sender: No OFD packet to send [07:51:35]OFD Sender: No OFD packet to send [07:51:40]OFD Sender: No OFD packet to send [07:51:45]OFD Sender: No OFD packet to send [07:51:50]OFD Sender: No OFD packet to send [07:51:55]OFD Sender: No OFD packet to send [07:52:00]OFD Sender: No OFD packet to send [07:52:05]OFD Sender: No OFD packet to send [07:52:10]OFD Sender: No OFD packet to send [07:52:15]OFD Sender: No OFD packet to send [07:52:20]OFD Sender: No OFD packet to send [07:52:25]OFD Sender: No OFD packet to send [07:52:30]OFD Sender: No OFD packet to send [07:52:35]OFD Sender: No OFD packet to send [07:52:40]OFD Sender: No OFD packet to send [07:52:45]OFD Sender: No OFD packet to send [07:52:50]OFD Sender: No OFD packet to send [07:52:55]OFD Sender: No OFD packet to send [07:52:57]accept exits with 7 [07:52:57]New connection [07:52:57]New thread 3066699108 created [07:52:57]Thread 3066555748 joined [07:52:57]Waiting for new connection... [07:52:57] Sock 7.Parse request [07:52:57]Sock 7.Check first char [07:52:57]Sock 7.First char is OK [07:52:57]request: POST /json_proto HTTP/1.0 [07:52:57]Method: POST [07:52:57]URL: /json_proto [07:52:57]Method is POST - this is cgi request [07:52:57]url: /json_proto [07:52:57]query_string will be loaded in cgi processing [07:52:57]execute_cgi json_proto POST (null) [07:52:57]execute_cgi path=json_proto method=POST [07:52:57]POST find Content-Length [07:52:57]Host: 172.17.53.68:8080 [07:52:57]Content-Length: 1079 [07:52:57]Content-Type: application/json [07:52:57] [07:52:57]POST finish read [07:52:57]Found Content-Length = 1079 [07:52:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76650", "tax_sys" : 0, "items" : [ { "code": "48744119", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Xstyle Dual", "price" : 149.00, "quantity" : 1.000, "sum" : 149.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "50173976", "name": "\u0416\u0435\u0432 Orbit Winterfresh \u043F\u043E\u0434", "price" : 34.00, "quantity" : 1.000, "sum" : 34.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 327.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:52:57]execute_script... [07:52:57]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76650", "tax_sys" : 0, "items" : [ { "code": "48744119", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Xstyle Dual", "price" : 149.00, "quantity" : 1.000, "sum" : 149.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "50173976", "name": "\u0416\u0435\u0432 Orbit Winterfresh \u043F\u043E\u0434", "price" : 34.00, "quantity" : 1.000, "sum" : 34.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 327.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:52:57]POST & json_proto [07:52:57]process_json_proto [07:52:57]json parsed OK: [07:52:57]protocol is kg_v1.0 [07:52:57]action value=close_receipt [07:52:57]process_action close_receipt [07:52:57]cmd_close_receipt [07:52:57]MH_GetDate [07:52:57]Write to MH i2c: F0 00 00 A7 18 AE [07:52:57]Write i2c OK [07:52:57]MH_I2C_Read... [07:52:57]Read from MH i2c: F0 [07:52:57]MH_I2C_Read... [07:52:57]Read from MH i2c: F0 09 00 [07:52:57]MH_I2C_Read... [07:52:57]Read from MH i2c: F0 09 00 A7 18 00 E0 B6 14 67 C5 A4 76 66 0D [07:52:57]GetLastDocTimeStamp 1729410633 [07:52:57]current date 1729410784 [07:52:57]FM_GetShiftState [07:52:57]SAM_PROTO_GetShiftState [07:52:57]wFMCommunicate request_size=4 [07:52:57]MH_SAM_APDU [07:52:57]CAPDU: 80 13 01 00 [07:52:57]Write to MH i2c: E2 08 00 A8 18 80 13 01 00 00 00 00 00 3D [07:52:57]Write i2c OK [07:52:57]MH_I2C_Read... [07:52:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:52:57]Read from MH i2c: E2 [07:52:57]MH_I2C_Read... [07:52:57]Read from MH i2c: E2 0E 00 [07:52:57]MH_I2C_Read... [07:52:57]Read from MH i2c: E2 0E 00 A8 18 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 92 [07:52:57]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [07:52:57]wFMCommunicate OK [07:52:57]SAM_PROTO_GetShiftState done [07:52:57]FM_GetShiftState done [07:52:57]opened in 1729383299 [07:52:57]opened+sec_in_day 1729469699 [07:52:57]quantity*price = 14900 [07:52:57]sum+1 = 14901 [07:52:57]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 1.000 * 144.00 = 144.00 ÐДС 12% ÐСП 1% > о реализуемом товаре Товар: 50173976 Жев Orbit Winterfresh под 1.000 * 34.00 = 34.00 ÐДС 12% ÐСП 1% > о реализуемом товаре ИТОГО: 327.00 ÐСП 1% : 2.89 ÐДС 12% : 34.72 Ðаличными: 327.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 17 20.10.2024 07:53 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37169 ФПД: 245787463771430 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T075304&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37169&fm=245787463771430&tin=02508201610067®Number=0000000000098149&sum=32700 0 [07:52:59]StoreToDocumentArchive [07:52:59]shift 461 fd 37169 [07:52:59]save to /storage/0461/doc_00037169 [07:52:59]save last doc name /storage/0461/doc_00037169 to /storage/kkm_last_doc_name [07:52:59]save OK [07:52:59]Clear old archive folders... [07:52:59]ProcessDocumentItem done err = 0, tmpTLVsize=474 [07:52:59]tlvbuf is B6E6A650 [07:52:59]SAM_PROTO_ClearQueue [07:52:59]wFMCommunicate request_size=4 [07:52:59]MH_SAM_APDU [07:52:59]CAPDU: 80 09 00 00 [07:52:59]Write to MH i2c: E2 08 00 B5 18 80 09 00 00 00 00 00 00 3F [07:52:59]Write i2c OK [07:52:59]MH_I2C_Read... [07:52:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:52:59]Read from MH i2c: E2 [07:52:59]MH_I2C_Read... [07:52:59]Read from MH i2c: E2 03 00 [07:52:59]MH_I2C_Read... [07:52:59]Read from MH i2c: E2 03 00 B5 18 00 90 00 41 [07:52:59]RAPDU: 90 00 [07:52:59]wFMCommunicate OK [07:52:59]SAM_PROTO_ClearQueue done [07:52:59]KKMCreateOFDPacket [07:52:59]OFDProtocolAddRootSTLVToBuf [07:52:59]FM_MakeSignedData [07:52:59]FM_MakeSignedData [07:52:59]SAM_PROTO_SignData [07:52:59]wFMCommunicate request_size=4 [07:52:59]MH_SAM_APDU [07:52:59]CAPDU: 80 0D 01 02 [07:52:59]Write to MH i2c: E2 08 00 B6 18 80 0D 01 02 00 00 00 00 47 [07:52:59]Write i2c OK [07:52:59]MH_I2C_Read... [07:52:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:52:59]Read from MH i2c: E2 [07:52:59]MH_I2C_Read... [07:52:59]Read from MH i2c: E2 03 00 [07:52:59]MH_I2C_Read... [07:52:59]Read from MH i2c: E2 03 00 B6 18 00 90 00 42 [07:52:59]RAPDU: 90 00 [07:52:59]wFMCommunicate OK [07:52:59]wFMCommunicate request_size=255 [07:52:59]MH_SAM_APDU [07:52:59]CAPDU: 80 0D 02 02 FA 03 00 DA 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 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 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 08 00 35 30 31 37 33 39 37 36 06 04 1F 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 69 [07:52:59]Write to MH i2c: E2 02 01 B7 18 80 0D 02 02 FA 00 03 00 DA 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 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 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 08 00 35 30 31 37 33 39 37 36 06 04 1F 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 69 00 00 05 [07:52:59]Write i2c OK [07:52:59]MH_I2C_Read... [07:52:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:52:59]Read from MH i2c: E2 [07:52:59]MH_I2C_Read... [07:52:59]Read from MH i2c: E2 03 00 [07:52:59]MH_I2C_Read... [07:52:59]Read from MH i2c: E2 03 00 B7 18 00 90 00 43 [07:52:59]RAPDU: 90 00 [07:52:59]wFMCommunicate OK [07:52:59]wFMCommunicate request_size=233 [07:52:59]MH_SAM_APDU [07:52:59]CAPDU: 80 0D 02 02 E4 6E 74 65 72 66 72 65 73 68 20 D0 BF D0 BE D0 B4 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 48 0D 00 00 00 00 13 04 06 00 48 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 7F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 21 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 0D 00 00 00 00 07 04 06 00 BC 7F 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 E0 B6 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 31 91 00 00 35 04 06 00 DF 8A DA 77 E5 26 [07:52:59]Write to MH i2c: E2 EC 00 B8 18 80 0D 02 02 E4 00 6E 74 65 72 66 72 65 73 68 20 D0 BF D0 BE D0 B4 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 48 0D 00 00 00 00 13 04 06 00 48 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 7F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 21 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 0D 00 00 00 00 07 04 06 00 BC 7F 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 E0 B6 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 31 91 00 00 35 04 06 00 DF 8A DA 77 E5 26 00 00 4C [07:52:59]Write i2c OK [07:52:59]MH_I2C_Read... [07:53:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:53:00]Read from MH i2c: E2 [07:53:00]MH_I2C_Read... [07:53:00]Read from MH i2c: E2 03 00 [07:53:00]MH_I2C_Read... [07:53:00]Read from MH i2c: E2 03 00 B8 18 00 90 00 44 [07:53:00]RAPDU: 90 00 [07:53:00]wFMCommunicate OK [07:53:00]wFMCommunicate request_size=4 [07:53:00]MH_SAM_APDU [07:53:00]CAPDU: 80 0D 03 02 [07:53:00]Write to MH i2c: E2 08 00 B9 18 80 0D 03 02 00 00 00 00 4C [07:53:00]Write i2c OK [07:53:00]MH_I2C_Read... [07:53:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:53:00]Read from MH i2c: E2 [07:53:00]MH_I2C_Read... [07:53:00]Read from MH i2c: E2 0B 00 [07:53:00]MH_I2C_Read... [07:53:00]Read from MH i2c: E2 0B 00 B9 18 00 FF BD C6 EA D3 A6 29 AC 90 00 07 [07:53:00]RAPDU: FF BD C6 EA D3 A6 29 AC 90 00 [07:53:00]wFMCommunicate OK [07:53:00]SAM_PROTO_SignData done [07:53:00]FM_MakeSignedData done [07:53:00]CreateOFDProtocolMessage [07:53:00]wFMCommunicate request_size=4 [07:53:00]MH_SAM_APDU [07:53:00]CAPDU: 80 11 00 00 [07:53:00]Write to MH i2c: E2 08 00 BA 18 80 11 00 00 00 00 00 00 4C [07:53:00]Write i2c OK [07:53:00]MH_I2C_Read... [07:53:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:53:00]Read from MH i2c: E2 [07:53:00]MH_I2C_Read... [07:53:00]Read from MH i2c: E2 17 00 [07:53:00]MH_I2C_Read... [07:53:00]Read from MH i2c: E2 17 00 BA 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 9F [07:53:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [07:53:00]wFMCommunicate OK [07:53:00]CreateOFDProtocolMessage done [07:53:00]OFDSenderStorePacket 37169 [07:53:00]StoreOFDPacket docnum=37169 [07:53:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 EE 01 00 00 31 2C E6 01 0C D9 5A 03 01 00 03 00 DA 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 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 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 08 00 35 30 31 37 33 39 37 36 06 04 1F 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 69 6E 74 65 72 66 72 65 73 68 20 D0 BF D0 BE D0 B4 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 48 0D 00 00 00 00 13 04 06 00 48 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 7F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 21 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 0D 00 00 00 00 07 04 06 00 BC 7F 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 E0 B6 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 31 91 00 00 35 04 06 00 DF 8A DA 77 E5 26 FF BD C6 EA D3 A6 29 AC [07:53:00]CheckFolder [07:53:00]dirname=/storage/ofd_packets [07:53:00]CheckFolder done [07:53:00]ProducePacketName [07:53:00]name=ofd_packets/00037169 [07:53:00]NVStorageSaveData ofd_packets/00037169 [07:53:00]File name is /storage/ofd_packets/00037169 [07:53:00]Write 524 bytes [07:53:00]NVStorageSaveData done [07:53:00]OFDSenderStorePacket done [07:53:00]KKMCreateOFDPacket done [07:53:00]NVStorageSaveData kkm_last_timestamp [07:53:00]File name is /storage/kkm_last_timestamp [07:53:00]Write 4 bytes [07:53:00]NVStorageSaveData done [07:53:00]ExternCall_PrintAddStr [07:53:00]wPrintStart [07:53:00]Write to MH i2c: 01 00 00 BB 18 D3 [07:53:00]Write i2c OK [07:53:00]MH_I2C_Read... [07:53:00]Read from MH i2c: 01 [07:53:00]MH_I2C_Read... [07:53:00]Read from MH i2c: 01 07 00 [07:53:00]MH_I2C_Read... [07:53:00]Read from MH i2c: 01 07 00 BB 18 00 00 00 00 00 FF 0F E8 [07:53:00]RasterBufferAndPrint [07:53:00]line Счет N : (3)76650 [07:53:00]line ИÐÐ: 02508201610067 [07:53:00]line Контрольно-КаÑÑовый Чек [07:53:00]line ПРОДÐЖР[07:53:00]line Товар: 48744119 [07:53:00]line Сигареты Winston Xstyle Dual [07:53:00]line 1.000 * 149.00 [07:53:00]line = 149.00 [07:53:00]line ÐДС 12% ÐСП 1% [07:53:00]line > о реализуемом товаре [07:53:00]line Товар: 48743570 [07:53:00]line Сигареты Winston XStyle Blue [07:53:00]line 1.000 * 144.00 [07:53:00]line = 144.00 [07:53:00]line ÐДС 12% ÐСП 1% [07:53:00]line > о реализуемом товаре [07:53:00]line Товар: 50173976 [07:53:00]line Жев Orbit Winterfresh под [07:53:00]line 1.000 * 34.00 [07:53:00]line = 34.00 [07:53:00]line ÐДС 12% ÐСП 1% [07:53:00]line > о реализуемом товаре [07:53:00]line ИТОГО: 327.00 [07:53:00]line ÐСП 1% : 2.89 [07:53:00]line ÐДС 12% : 34.72 [07:53:00]line Ðаличными: 327.00 [07:53:00]line Безнал.: 0.00 [07:53:00]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [07:53:00]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [07:53:00]line СÐО: Общий режим [07:53:00]line Чек 17 20.10.2024 07:53 [07:53:00]line Смена: 461 ФФД: 1.0 [07:53:00]line ЗÐМ: 0300000235 [07:53:00]line РÐМ: 0000000000098149 [07:53:00]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [07:53:00]line ФМ: 0000000000965372 [07:53:00]line ФД: 37169 [07:53:00]line ФПД: 245787463771430 [07:53:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T075304&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37169&fm=245787463771430&tin=02508201610067®Number=0000000000098149&sum=32700 [07:53:00]line 0 [07:53:00]written 0, free lines is 4095 [07:53:00]OFD Sender: Processing packet 37169 [packets to send 25, broken 24] [07:53:00]ProducePacketName [07:53:00]name=ofd_packets/00037169 [07:53:00]OFD Sender: To server: ‡•öpG, [07:53:00]CommunicateWithHost lk.salyk.kg:30040 [07:53:00]ConnectInit lk.salyk.kg [07:53:00]Write to MH i2c: 01 00 00 EF 18 07 [07:53:00]Write i2c OK [07:53:00]MH_I2C_Read... [07:53:00]Read from MH i2c: 01 [07:53:00]MH_I2C_Read... [07:53:00]Read from MH i2c: 01 07 00 [07:53:00]MH_I2C_Read... [07:53:00]Read from MH i2c: 01 07 00 EF 18 00 00 00 00 00 30 0C 4A [07:53:00]RasterBufferAndPrint [07:53:00]line [07:53:00]line [07:53:00]line [07:53:00]line [07:53:00]line [07:53:00]written 0, free lines is 3124 [07:53:00]process_action close_receipt done [07:53:00]requested_data is exist [07:53:00]produce_requested_data [07:53:00]requested_item fm.sn is exist - process it [07:53:00]wFMCommunicate request_size=4 [07:53:00]MH_SAM_APDU [07:53:00]CAPDU: 80 11 00 00 [07:53:00]Write to MH i2c: E2 08 00 F6 18 80 11 00 00 00 00 00 00 88 [07:53:00]Write i2c OK [07:53:00]MH_I2C_Read... [07:53:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:53:00]Read from MH i2c: E2 [07:53:00]MH_I2C_Read... [07:53:00]Read from MH i2c: E2 17 00 [07:53:00]MH_I2C_Read... [07:53:00]Read from MH i2c: E2 17 00 F6 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 DB [07:53:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [07:53:00]wFMCommunicate OK [07:53:00]requested_item fd.num is exist - process it [07:53:00]SAM_PROTO_GetFieldsCounters [07:53:00]wFMCommunicate request_size=4 [07:53:00]MH_SAM_APDU [07:53:00]CAPDU: 80 13 00 00 [07:53:00]Write to MH i2c: E2 08 00 F7 18 80 13 00 00 00 00 00 00 8B [07:53:00]Write i2c OK [07:53:00]MH_I2C_Read... [07:53:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:53:00]Read from MH i2c: E2 [07:53:00]MH_I2C_Read... [07:53:00]Read from MH i2c: E2 62 00 [07:53:00]MH_I2C_Read... [07:53:00]Read from MH i2c: E2 62 00 F7 18 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 31 91 00 00 0E 04 04 00 CD 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 75 [07:53: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 31 91 00 00 0E 04 04 00 CD 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 [07:53:00]wFMCommunicate OK [07:53:00]SAM_PROTO_GetFieldsCounters done [07:53:00]requested_item shift.num is exist - process it [07:53:00]requested_item shift.opened is exist - process it [07:53:00]req_shift_opened [07:53:00]FM_GetShiftState [07:53:00]SAM_PROTO_GetShiftState [07:53:00]wFMCommunicate request_size=4 [07:53:00]MH_SAM_APDU [07:53:00]CAPDU: 80 13 01 00 [07:53:00]Write to MH i2c: E2 08 00 F8 18 80 13 01 00 00 00 00 00 8D [07:53:00]Write i2c OK [07:53:00]MH_I2C_Read... [07:53:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:53:00]Read from MH i2c: E2 [07:53:00]MH_I2C_Read... [07:53:00]Read from MH i2c: E2 0E 00 [07:53:00]MH_I2C_Read... [07:53:00]Read from MH i2c: E2 0E 00 F8 18 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 E2 [07:53:00]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [07:53:00]wFMCommunicate OK [07:53:00]SAM_PROTO_GetShiftState done [07:53:00]FM_GetShiftState done [07:53:00]req_shift_opened done [07:53:00]requested_item shift.open_date is exist - process it [07:53:00]req_shift_open_date [07:53:00]req_shift_open_date done [07:53:01]produce_requested_data done [07:53:01]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37169,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [07:53:01]process_action_free close_receipt [07:53:01]json_value_free [07:53:01]json_value_free done [07:53:01]process_json_proto returns [07:53:01]Send response to host [07:53:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37169,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [07:53:01]free response buf [07:53:01]execute_script done [07:53:01]execute_script returns [07:53:01]free content buf [07:53:01]Sock 7.Close socket [07:53:01]Sock 7.Thread stoped [07:55:10]ConnectInit Can't connect to host [07:55:10]CommunicateWithHost connect error [07:55:10]CommunicateWithHost err = -1 [07:55:10]OFD Sender: Server communicate error [07:55:15]OFD Sender: Processing packet 37169 [packets to send 25, broken 24] [07:55:15]ProducePacketName [07:55:15]name=ofd_packets/00037169 [07:55:15]OFD Sender: To server: ‡•öpG, [07:55:15]CommunicateWithHost lk.salyk.kg:30040 [07:55:15]ConnectInit lk.salyk.kg [07:55:15]Connected sock=7 [07:55: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 33 37 32 EE 01 00 00 31 2C E6 01 0C D9 5A 03 01 00 03 00 DA 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 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 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 08 00 35 30 31 37 33 39 37 36 06 04 1F 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 69 6E 74 65 72 66 72 65 73 68 20 D0 BF D0 BE D0 B4 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 48 0D 00 00 00 00 13 04 06 00 48 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 7F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 21 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 0D 00 00 00 00 07 04 06 00 BC 7F 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 E0 B6 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 31 91 00 00 35 04 06 00 DF 8A DA 77 E5 26 FF BD C6 EA D3 A6 29 AC [07:55:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 E6 E5 47 00 EC 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 33 37 32 10 04 04 00 31 91 00 00 F4 03 04 00 FA 5F 14 67 B6 04 01 00 00 AF 96 A9 5F BA 66 7D 58 [07:55:15]CommunicateWithHost err = 0 [07:55:15]CheckOFDResponse [07:55:15]1017 (14) - 77093643461234 [07:55:15]1041 (16) - 0000000000965372 [07:55:15]1040 (4) - 37169 [07:55:15]1012 (4) - 20.10.2024 01:42 [07:55:15]1206 (1) - 0 [07:55:15]OFD Sender: Remove packet 37169 [07:55:15]ProducePacketName [07:55:15]name=ofd_packets/00037169 [07:55:15]NVStorageDeleteData [07:55:16]OFD Sender: No OFD packet to send [07:55:21]OFD Sender: No OFD packet to send [07:55:26]OFD Sender: No OFD packet to send [07:55:31]OFD Sender: No OFD packet to send [07:55:32]accept exits with 9 [07:55:32]New connection [07:55:32]New thread 3066555748 created [07:55:32]Thread 3066699108 joined [07:55:32]Waiting for new connection... [07:55:32] Sock 9.Parse request [07:55:32]Sock 9.Check first char [07:55:32]Sock 9.First char is OK [07:55:32]request: POST /json_proto HTTP/1.0 [07:55:32]Method: POST [07:55:32]URL: /json_proto [07:55:32]Method is POST - this is cgi request [07:55:32]url: /json_proto [07:55:32]query_string will be loaded in cgi processing [07:55:32]execute_cgi json_proto POST (null) [07:55:32]execute_cgi path=json_proto method=POST [07:55:32]POST find Content-Length [07:55:32]Host: 172.17.53.68:8080 [07:55:32]Content-Length: 683 [07:55:32]Content-Type: application/json [07:55:32] [07:55:32]POST finish read [07:55:32]Found Content-Length = 683 [07:55:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76651", "tax_sys" : 0, "items" : [ { "code": "5449000027450", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:55:32]execute_script... [07:55:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76651", "tax_sys" : 0, "items" : [ { "code": "5449000027450", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:55:32]POST & json_proto [07:55:32]process_json_proto [07:55:32]json parsed OK: [07:55:32]protocol is kg_v1.0 [07:55:32]action value=close_receipt [07:55:32]process_action close_receipt [07:55:32]cmd_close_receipt [07:55:32]MH_GetDate [07:55:32]Write to MH i2c: F0 00 00 F9 18 00 [07:55:32]Write i2c OK [07:55:32]MH_I2C_Read... [07:55:32]Read from MH i2c: F0 [07:55:32]MH_I2C_Read... [07:55:32]Read from MH i2c: F0 09 00 [07:55:32]MH_I2C_Read... [07:55:32]Read from MH i2c: F0 09 00 F9 18 00 7A B7 14 67 C5 A4 76 66 FA [07:55:32]GetLastDocTimeStamp 1729410784 [07:55:32]current date 1729410938 [07:55:32]FM_GetShiftState [07:55:32]SAM_PROTO_GetShiftState [07:55:32]wFMCommunicate request_size=4 [07:55:32]MH_SAM_APDU [07:55:32]CAPDU: 80 13 01 00 [07:55:32]Write to MH i2c: E2 08 00 FA 18 80 13 01 00 00 00 00 00 8F [07:55:32]Write i2c OK [07:55:32]MH_I2C_Read... [07:55:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:55:32]Read from MH i2c: E2 [07:55:32]MH_I2C_Read... [07:55:32]Read from MH i2c: E2 0E 00 [07:55:32]MH_I2C_Read... [07:55:32]Read from MH i2c: E2 0E 00 FA 18 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 E4 [07:55:32]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [07:55:32]wFMCommunicate OK [07:55:32]SAM_PROTO_GetShiftState done [07:55:32]FM_GetShiftState done [07:55:32]opened in 1729383299 [07:55:32]opened+sec_in_day 1729469699 [07:55:32]quantity*price = 7500 [07:55:32]sum+1 = 7501 [07:55:32]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 75.00 ÐСП 1% : 0.66 ÐДС 12% : 7.96 Ðаличными: 75.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 18 20.10.2024 07:55 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37170 ФПД: 197133552065313 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T075538&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37170&fm=197133552065313&tin=02508201610067®Number=0000000000098149&sum=7500 0 [07:55:33]StoreToDocumentArchive [07:55:33]shift 461 fd 37170 [07:55:33]save to /storage/0461/doc_00037170 [07:55:33]save last doc name /storage/0461/doc_00037170 to /storage/kkm_last_doc_name [07:55:33]save OK [07:55:33]Clear old archive folders... [07:55:33]ProcessDocumentItem done err = 0, tmpTLVsize=295 [07:55:33]tlvbuf is 0097AA30 [07:55:33]SAM_PROTO_ClearQueue [07:55:33]wFMCommunicate request_size=4 [07:55:33]MH_SAM_APDU [07:55:33]CAPDU: 80 09 00 00 [07:55:33]Write to MH i2c: E2 08 00 07 19 80 09 00 00 00 00 00 00 92 [07:55:33]Write i2c OK [07:55:33]MH_I2C_Read... [07:55:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:55:33]Read from MH i2c: E2 [07:55:33]MH_I2C_Read... [07:55:33]Read from MH i2c: E2 03 00 [07:55:33]MH_I2C_Read... [07:55:33]Read from MH i2c: E2 03 00 07 19 00 90 00 94 [07:55:33]RAPDU: 90 00 [07:55:33]wFMCommunicate OK [07:55:33]SAM_PROTO_ClearQueue done [07:55:33]KKMCreateOFDPacket [07:55:33]OFDProtocolAddRootSTLVToBuf [07:55:33]FM_MakeSignedData [07:55:33]FM_MakeSignedData [07:55:33]SAM_PROTO_SignData [07:55:33]wFMCommunicate request_size=4 [07:55:33]MH_SAM_APDU [07:55:33]CAPDU: 80 0D 01 02 [07:55:33]Write to MH i2c: E2 08 00 08 19 80 0D 01 02 00 00 00 00 9A [07:55:33]Write i2c OK [07:55:33]MH_I2C_Read... [07:55:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:55:33]Read from MH i2c: E2 [07:55:33]MH_I2C_Read... [07:55:33]Read from MH i2c: E2 03 00 [07:55:33]MH_I2C_Read... [07:55:33]Read from MH i2c: E2 03 00 08 19 00 90 00 95 [07:55:33]RAPDU: 90 00 [07:55:33]wFMCommunicate OK [07:55:33]wFMCommunicate request_size=255 [07:55:33]MH_SAM_APDU [07:55:33]CAPDU: 80 0D 02 02 FA 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 35 30 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 7A B7 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 [07:55:33]Write to MH i2c: E2 02 01 09 19 80 0D 02 02 FA 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 35 30 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 7A B7 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 00 00 6B [07:55:33]Write i2c OK [07:55:33]MH_I2C_Read... [07:55:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:55:34]Read from MH i2c: E2 [07:55:34]MH_I2C_Read... [07:55:34]Read from MH i2c: E2 03 00 [07:55:34]MH_I2C_Read... [07:55:34]Read from MH i2c: E2 03 00 09 19 00 90 00 96 [07:55:34]RAPDU: 90 00 [07:55:34]wFMCommunicate OK [07:55:34]wFMCommunicate request_size=54 [07:55:34]MH_SAM_APDU [07:55:34]CAPDU: 80 0D 02 02 31 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 32 91 00 00 35 04 06 00 B3 4A BB 58 1B 21 [07:55:34]Write to MH i2c: E2 39 00 0A 19 80 0D 02 02 31 00 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 32 91 00 00 35 04 06 00 B3 4A BB 58 1B 21 00 00 D9 [07:55:34]Write i2c OK [07:55:34]MH_I2C_Read... [07:55:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:55:34]Read from MH i2c: E2 [07:55:34]MH_I2C_Read... [07:55:34]Read from MH i2c: E2 03 00 [07:55:34]MH_I2C_Read... [07:55:34]Read from MH i2c: E2 03 00 0A 19 00 90 00 97 [07:55:34]RAPDU: 90 00 [07:55:34]wFMCommunicate OK [07:55:34]wFMCommunicate request_size=4 [07:55:34]MH_SAM_APDU [07:55:34]CAPDU: 80 0D 03 02 [07:55:34]Write to MH i2c: E2 08 00 0B 19 80 0D 03 02 00 00 00 00 9F [07:55:34]Write i2c OK [07:55:34]MH_I2C_Read... [07:55:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:55:34]Read from MH i2c: E2 [07:55:34]MH_I2C_Read... [07:55:34]Read from MH i2c: E2 0B 00 [07:55:34]MH_I2C_Read... [07:55:34]Read from MH i2c: E2 0B 00 0B 19 00 6E 93 D1 2F 3F 1B 90 55 90 00 E0 [07:55:34]RAPDU: 6E 93 D1 2F 3F 1B 90 55 90 00 [07:55:34]wFMCommunicate OK [07:55:34]SAM_PROTO_SignData done [07:55:34]FM_MakeSignedData done [07:55:34]CreateOFDProtocolMessage [07:55:34]wFMCommunicate request_size=4 [07:55:34]MH_SAM_APDU [07:55:34]CAPDU: 80 11 00 00 [07:55:34]Write to MH i2c: E2 08 00 0C 19 80 11 00 00 00 00 00 00 9F [07:55:34]Write i2c OK [07:55:34]MH_I2C_Read... [07:55:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:55:34]Read from MH i2c: E2 [07:55:34]MH_I2C_Read... [07:55:34]Read from MH i2c: E2 17 00 [07:55:34]MH_I2C_Read... [07:55:34]Read from MH i2c: E2 17 00 0C 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 F2 [07:55:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [07:55:34]wFMCommunicate OK [07:55:34]CreateOFDProtocolMessage done [07:55:34]OFDSenderStorePacket 37170 [07:55:34]StoreOFDPacket docnum=37170 [07:55:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 3B 01 00 00 39 0E 33 01 26 54 5A 03 01 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 35 30 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 7A B7 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 32 91 00 00 35 04 06 00 B3 4A BB 58 1B 21 6E 93 D1 2F 3F 1B 90 55 [07:55:34]CheckFolder [07:55:34]dirname=/storage/ofd_packets [07:55:34]CheckFolder done [07:55:34]ProducePacketName [07:55:34]name=ofd_packets/00037170 [07:55:34]NVStorageSaveData ofd_packets/00037170 [07:55:34]File name is /storage/ofd_packets/00037170 [07:55:34]Write 345 bytes [07:55:34]NVStorageSaveData done [07:55:34]OFDSenderStorePacket done [07:55:34]KKMCreateOFDPacket done [07:55:34]NVStorageSaveData kkm_last_timestamp [07:55:34]File name is /storage/kkm_last_timestamp [07:55:34]Write 4 bytes [07:55:34]NVStorageSaveData done [07:55:34]OFD Sender: Processing packet 37170 [packets to send 25, broken 24] [07:55:34]ProducePacketName [07:55:34]name=ofd_packets/00037170 [07:55:34]OFD Sender: To server: ‡•öpG, [07:55:34]CommunicateWithHost lk.salyk.kg:30040 [07:55:34]ConnectInit lk.salyk.kg [07:55:34]ExternCall_PrintAddStr [07:55:34]wPrintStart [07:55:34]Write to MH i2c: 01 00 00 0D 19 26 [07:55:34]Write i2c OK [07:55:34]MH_I2C_Read... [07:55:34]Read from MH i2c: 01 [07:55:34]MH_I2C_Read... [07:55:34]Read from MH i2c: 01 07 00 [07:55:34]MH_I2C_Read... [07:55:34]Read from MH i2c: 01 07 00 0D 19 00 00 00 00 00 FF 0F 3B [07:55:34]RasterBufferAndPrint [07:55:34]line Счет N : (3)76651 [07:55:34]line ИÐÐ: 02508201610067 [07:55:34]line Контрольно-КаÑÑовый Чек [07:55:34]line ПРОДÐЖР[07:55:34]line Товар: 5449000027450 [07:55:34]line Ðапиток FuzeTea чай манго,ром 0,5л [07:55:34]line 1.000 * 75.00 [07:55:34]line = 75.00 [07:55:34]line ÐДС 12% ÐСП 1% [07:55:34]line > о реализуемом товаре [07:55:34]line ИТОГО: 75.00 [07:55:34]line ÐСП 1% : 0.66 [07:55:34]line ÐДС 12% : 7.96 [07:55:34]line Ðаличными: 75.00 [07:55:34]line Безнал.: 0.00 [07:55:34]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [07:55:34]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [07:55:34]line СÐО: Общий режим [07:55:34]line Чек 18 20.10.2024 07:55 [07:55:34]line Смена: 461 ФФД: 1.0 [07:55:34]line ЗÐМ: 0300000235 [07:55:34]line РÐМ: 0000000000098149 [07:55:34]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [07:55:34]line ФМ: 0000000000965372 [07:55:34]line ФД: 37170 [07:55:34]line ФПД: 197133552065313 [07:55:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T075538&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37170&fm=197133552065313&tin=02508201610067®Number=0000000000098149&sum=7500 [07:55:34]line 0 [07:55:34]Connected sock=10 [07:55:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 3B 01 00 00 39 0E 33 01 26 54 5A 03 01 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 35 30 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 7A B7 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 32 91 00 00 35 04 06 00 B3 4A BB 58 1B 21 6E 93 D1 2F 3F 1B 90 55 [07:55:34]written 0, free lines is 4095 [07:55:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 E9 EC 47 00 BB 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 33 37 32 10 04 04 00 32 91 00 00 F4 03 04 00 0D 60 14 67 B6 04 01 00 00 83 15 BB AF F7 FC AC 32 [07:55:34]CommunicateWithHost err = 0 [07:55:34]CheckOFDResponse [07:55:34]1017 (14) - 77093643461234 [07:55:34]1041 (16) - 0000000000965372 [07:55:34]1040 (4) - 37170 [07:55:34]1012 (4) - 20.10.2024 01:42 [07:55:34]1206 (1) - 0 [07:55:34]OFD Sender: Remove packet 37170 [07:55:34]ProducePacketName [07:55:34]name=ofd_packets/00037170 [07:55:34]NVStorageDeleteData [07:55:35]Write to MH i2c: 01 00 00 36 19 4F [07:55:35]Write i2c OK [07:55:35]MH_I2C_Read... [07:55:35]Read from MH i2c: 01 [07:55:35]MH_I2C_Read... [07:55:35]Read from MH i2c: 01 07 00 [07:55:35]MH_I2C_Read... [07:55:35]Read from MH i2c: 01 07 00 36 19 00 00 00 00 00 DE 0C 40 [07:55:35]RasterBufferAndPrint [07:55:35]line [07:55:35]line [07:55:35]line [07:55:35]line [07:55:35]line [07:55:35]written 0, free lines is 3303 [07:55:35]process_action close_receipt done [07:55:35]requested_data is exist [07:55:35]produce_requested_data [07:55:35]requested_item fm.sn is exist - process it [07:55:35]wFMCommunicate request_size=4 [07:55:35]MH_SAM_APDU [07:55:35]CAPDU: 80 11 00 00 [07:55:35]Write to MH i2c: E2 08 00 3D 19 80 11 00 00 00 00 00 00 D0 [07:55:35]Write i2c OK [07:55:35]MH_I2C_Read... [07:55:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:55:35]Read from MH i2c: E2 [07:55:35]MH_I2C_Read... [07:55:35]Read from MH i2c: E2 17 00 [07:55:35]MH_I2C_Read... [07:55:35]Read from MH i2c: E2 17 00 3D 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 23 [07:55:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [07:55:35]wFMCommunicate OK [07:55:35]requested_item fd.num is exist - process it [07:55:35]SAM_PROTO_GetFieldsCounters [07:55:35]wFMCommunicate request_size=4 [07:55:35]MH_SAM_APDU [07:55:35]CAPDU: 80 13 00 00 [07:55:35]Write to MH i2c: E2 08 00 3E 19 80 13 00 00 00 00 00 00 D3 [07:55:35]Write i2c OK [07:55:35]MH_I2C_Read... [07:55:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:55:35]Read from MH i2c: E2 [07:55:35]MH_I2C_Read... [07:55:35]Read from MH i2c: E2 62 00 [07:55:35]MH_I2C_Read... [07:55:35]Read from MH i2c: E2 62 00 3E 19 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 32 91 00 00 0E 04 04 00 CD 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 C1 [07:55: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 32 91 00 00 0E 04 04 00 CD 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 [07:55:35]wFMCommunicate OK [07:55:35]SAM_PROTO_GetFieldsCounters done [07:55:35]requested_item shift.num is exist - process it [07:55:35]requested_item shift.opened is exist - process it [07:55:35]req_shift_opened [07:55:35]FM_GetShiftState [07:55:35]SAM_PROTO_GetShiftState [07:55:35]wFMCommunicate request_size=4 [07:55:35]MH_SAM_APDU [07:55:35]CAPDU: 80 13 01 00 [07:55:35]Write to MH i2c: E2 08 00 3F 19 80 13 01 00 00 00 00 00 D5 [07:55:35]Write i2c OK [07:55:35]MH_I2C_Read... [07:55:35]OFD Sender: No OFD packet to send [07:55:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:55:35]Read from MH i2c: E2 [07:55:35]MH_I2C_Read... [07:55:35]Read from MH i2c: E2 0E 00 [07:55:35]MH_I2C_Read... [07:55:35]Read from MH i2c: E2 0E 00 3F 19 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 2A [07:55:35]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [07:55:35]wFMCommunicate OK [07:55:35]SAM_PROTO_GetShiftState done [07:55:35]FM_GetShiftState done [07:55:35]req_shift_opened done [07:55:35]requested_item shift.open_date is exist - process it [07:55:35]req_shift_open_date [07:55:35]req_shift_open_date done [07:55:35]produce_requested_data done [07:55:35]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37170,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [07:55:35]process_action_free close_receipt [07:55:35]json_value_free [07:55:35]json_value_free done [07:55:35]process_json_proto returns [07:55:35]Send response to host [07:55:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37170,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [07:55:35]free response buf [07:55:35]execute_script done [07:55:35]execute_script returns [07:55:35]free content buf [07:55:35]Sock 9.Close socket [07:55:35]Sock 9.Thread stoped [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:55:57]int [07:55:57]Write to MH i2c: 01 00 00 40 19 59 [07:55:57]*** FLAG_PRN_KEY set [07:55:57]Write i2c OK [07:55:57]MH_I2C_Read... [07:55:57]Read from MH i2c: 01 [07:55:57]MH_I2C_Read... [07:55:57]Read from MH i2c: 01 07 00 [07:55:57]MH_I2C_Read... [07:55:57]Read from MH i2c: 01 07 00 40 19 00 08 00 00 00 FF 0F 76 [07:55:57]state=0 [07:55:57]Key pressed [07:55:57]Feed [07:55:57]Write to MH i2c: D8 00 00 41 19 31 [07:55:57]Write i2c OK [07:55:57]MH_I2C_Read... [07:55:57]Read from MH i2c: D8 [07:55:57]MH_I2C_Read... [07:55:57]Read from MH i2c: D8 01 00 [07:55:57]MH_I2C_Read... [07:55:57]Read from MH i2c: D8 01 00 41 19 00 32 [07:55:57]int [07:55:57]Write to MH i2c: 01 00 00 42 19 5B [07:55:57]Write i2c OK [07:55:57]MH_I2C_Read... [07:55:57]Read from MH i2c: 01 [07:55:57]MH_I2C_Read... [07:55:57]Read from MH i2c: 01 07 00 [07:55:57]MH_I2C_Read... [07:55:57]Read from MH i2c: 01 07 00 42 19 00 48 00 00 00 3D 00 E7 [07:55:57]state=2 [07:55:57]Key pressed [07:55:58]int [07:55:58]Write to MH i2c: 01 00 00 43 19 5C [07:55:58]*** FLAG_PRN_KEY reset [07:55:58]Write i2c OK [07:55:58]MH_I2C_Read... [07:55:58]Read from MH i2c: 01 [07:55:58]MH_I2C_Read... [07:55:58]Read from MH i2c: 01 07 00 [07:55:58]MH_I2C_Read... [07:55:58]Read from MH i2c: 01 07 00 43 19 00 00 00 00 00 F6 0F 68 [07:55:58]state=2 [07:55:58]Stop feed [07:55:58]int [07:55:58]Write to MH i2c: 01 00 00 44 19 5D [07:55:58]*** FLAG_PRN_KEY set [07:55:58]Write i2c OK [07:55:58]MH_I2C_Read... [07:55:58]Read from MH i2c: 01 [07:55:58]MH_I2C_Read... [07:55:58]Read from MH i2c: 01 07 00 [07:55:58]MH_I2C_Read... [07:55:58]Read from MH i2c: 01 07 00 44 19 00 08 00 00 00 FF 0F 7A [07:55:58]state=0 [07:55:58]Key pressed [07:55:58]Feed [07:55:58]Write to MH i2c: D8 00 00 45 19 35 [07:55:58]Write i2c OK [07:55:58]MH_I2C_Read... [07:55:58]Read from MH i2c: D8 [07:55:58]MH_I2C_Read... [07:55:58]Read from MH i2c: D8 01 00 [07:55:58]MH_I2C_Read... [07:55:58]Read from MH i2c: D8 01 00 45 19 00 36 [07:55:58]int [07:55:58]Write to MH i2c: 01 00 00 46 19 5F [07:55:58]Write i2c OK [07:55:58]MH_I2C_Read... [07:55:58]Read from MH i2c: 01 [07:55:58]MH_I2C_Read... [07:55:58]Read from MH i2c: 01 07 00 [07:55:58]MH_I2C_Read... [07:55:58]Read from MH i2c: 01 07 00 46 19 00 48 00 00 00 3D 00 EB [07:55:58]state=2 [07:55:58]Key pressed [07:55:59]int [07:55:59]Write to MH i2c: 01 00 00 47 19 60 [07:55:59]*** FLAG_PRN_KEY reset [07:55:59]Write i2c OK [07:55:59]MH_I2C_Read... [07:55:59]Read from MH i2c: 01 [07:55:59]MH_I2C_Read... [07:55:59]Read from MH i2c: 01 07 00 [07:55:59]MH_I2C_Read... [07:55:59]Read from MH i2c: 01 07 00 47 19 00 00 00 00 00 F6 0F 6C [07:55:59]state=2 [07:55:59]Stop feed [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:18]accept exits with 7 [07:56:18]New connection [07:56:18]New thread 3066699108 created [07:56:18]Thread 3066555748 joined [07:56:18]Waiting for new connection... [07:56:18] Sock 7.Parse request [07:56:18]Sock 7.Check first char [07:56:18]Sock 7.First char is OK [07:56:18]request: POST /json_proto HTTP/1.0 [07:56:18]Method: POST [07:56:18]URL: /json_proto [07:56:18]Method is POST - this is cgi request [07:56:18]url: /json_proto [07:56:18]query_string will be loaded in cgi processing [07:56:18]execute_cgi json_proto POST (null) [07:56:18]execute_cgi path=json_proto method=POST [07:56:18]POST find Content-Length [07:56:18]Host: 172.17.53.68:8080 [07:56:18]Content-Length: 922 [07:56:18]Content-Type: application/json [07:56:18] [07:56:18]POST finish read [07:56:18]Found Content-Length = 922 [07:56:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76652", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4823077630439", "name": "\u041A\u0440\u0435\u043A\u0435\u0440 2 CRACK \u0441 \u0448\u043E\u043A \u043D\u0430\u0447 235\u0433\u0440", "price" : 200.00, "quantity" : 1.000, "sum" : 200.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 430.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:56:18]execute_script... [07:56: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)76652", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4823077630439", "name": "\u041A\u0440\u0435\u043A\u0435\u0440 2 CRACK \u0441 \u0448\u043E\u043A \u043D\u0430\u0447 235\u0433\u0440", "price" : 200.00, "quantity" : 1.000, "sum" : 200.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 430.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:56:18]POST & json_proto [07:56:18]process_json_proto [07:56:18]json parsed OK: [07:56:18]protocol is kg_v1.0 [07:56:18]action value=close_receipt [07:56:18]process_action close_receipt [07:56:18]cmd_close_receipt [07:56:18]MH_GetDate [07:56:18]Write to MH i2c: F0 00 00 48 19 50 [07:56:18]Write i2c OK [07:56:18]MH_I2C_Read... [07:56:18]Read from MH i2c: F0 [07:56:18]MH_I2C_Read... [07:56:18]Read from MH i2c: F0 09 00 [07:56:18]MH_I2C_Read... [07:56:18]Read from MH i2c: F0 09 00 48 19 00 A9 B7 14 67 C5 A4 76 66 79 [07:56:18]GetLastDocTimeStamp 1729410938 [07:56:18]current date 1729410985 [07:56:18]FM_GetShiftState [07:56:18]SAM_PROTO_GetShiftState [07:56:18]wFMCommunicate request_size=4 [07:56:18]MH_SAM_APDU [07:56:18]CAPDU: 80 13 01 00 [07:56:18]Write to MH i2c: E2 08 00 49 19 80 13 01 00 00 00 00 00 DF [07:56:18]Write i2c OK [07:56:18]MH_I2C_Read... [07:56:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:56:18]Read from MH i2c: E2 [07:56:18]MH_I2C_Read... [07:56:18]Read from MH i2c: E2 0E 00 [07:56:18]MH_I2C_Read... [07:56:18]Read from MH i2c: E2 0E 00 49 19 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 34 [07:56:18]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [07:56:18]wFMCommunicate OK [07:56:18]SAM_PROTO_GetShiftState done [07:56:18]FM_GetShiftState done [07:56:18]opened in 1729383299 [07:56:18]opened+sec_in_day 1729469699 [07:56:18]quantity*price = 23000 [07:56:18]sum+1 = 23001 [07:56:18]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4823077630439 Крекер 2 CRACK Ñ ÑˆÐ¾Ðº нач 235гр 1.000 * 200.00 = 200.00 ÐДС 12% ÐСП 1% > о реализуемом товаре ИТОГО: 430.00 ÐСП 1% : 3.80 ÐДС 12% : 45.66 Ðаличными: 430.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 19 20.10.2024 07:56 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37171 ФПД: 201180146789334 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T075625&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37171&fm=201180146789334&tin=02508201610067®Number=0000000000098149&sum=43000 0 [07:56:19]StoreToDocumentArchive [07:56:19]shift 461 fd 37171 [07:56:19]save to /storage/0461/doc_00037171 [07:56:19]save last doc name /storage/0461/doc_00037171 to /storage/kkm_last_doc_name [07:56:19]save OK [07:56:19]Clear old archive folders... [07:56:19]ProcessDocumentItem done err = 0, tmpTLVsize=397 [07:56:19]tlvbuf is 00A15320 [07:56:19]SAM_PROTO_ClearQueue [07:56:19]wFMCommunicate request_size=4 [07:56:19]MH_SAM_APDU [07:56:19]CAPDU: 80 09 00 00 [07:56:19]Write to MH i2c: E2 08 00 56 19 80 09 00 00 00 00 00 00 E1 [07:56:19]Write i2c OK [07:56:19]MH_I2C_Read... [07:56:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:56:19]Read from MH i2c: E2 [07:56:19]MH_I2C_Read... [07:56:19]Read from MH i2c: E2 03 00 [07:56:19]MH_I2C_Read... [07:56:19]Read from MH i2c: E2 03 00 56 19 00 90 00 E3 [07:56:19]RAPDU: 90 00 [07:56:19]wFMCommunicate OK [07:56:19]SAM_PROTO_ClearQueue done [07:56:19]KKMCreateOFDPacket [07:56:19]OFDProtocolAddRootSTLVToBuf [07:56:19]FM_MakeSignedData [07:56:19]FM_MakeSignedData [07:56:19]SAM_PROTO_SignData [07:56:19]wFMCommunicate request_size=4 [07:56:19]MH_SAM_APDU [07:56:19]CAPDU: 80 0D 01 02 [07:56:19]Write to MH i2c: E2 08 00 57 19 80 0D 01 02 00 00 00 00 E9 [07:56:19]Write i2c OK [07:56:19]MH_I2C_Read... [07:56:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:56:19]Read from MH i2c: E2 [07:56:19]MH_I2C_Read... [07:56:19]Read from MH i2c: E2 03 00 [07:56:19]MH_I2C_Read... [07:56:19]Read from MH i2c: E2 03 00 57 19 00 90 00 E4 [07:56:19]RAPDU: 90 00 [07:56:19]wFMCommunicate OK [07:56:19]wFMCommunicate request_size=255 [07:56:19]MH_SAM_APDU [07:56:19]CAPDU: 80 0D 02 02 FA 03 00 8D 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 34 38 32 33 30 37 37 36 33 30 34 33 39 06 04 2D 00 D0 9A D1 80 D0 B5 D0 BA D0 B5 D1 80 20 32 20 43 52 41 43 4B 20 D1 81 20 D1 88 D0 BE D0 BA 20 D0 BD D0 B0 D1 87 20 32 33 35 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 A7 00 00 00 00 EB 03 26 00 [07:56:19]Write to MH i2c: E2 02 01 58 19 80 0D 02 02 FA 00 03 00 8D 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 34 38 32 33 30 37 37 36 33 30 34 33 39 06 04 2D 00 D0 9A D1 80 D0 B5 D0 BA D0 B5 D1 80 20 32 20 43 52 41 43 4B 20 D1 81 20 D1 88 D0 BE D0 BA 20 D0 BD D0 B0 D1 87 20 32 33 35 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 A7 00 00 00 00 EB 03 26 00 00 00 B5 [07:56:19]Write i2c OK [07:56:19]MH_I2C_Read... [07:56:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:56:20]Read from MH i2c: E2 [07:56:20]MH_I2C_Read... [07:56:20]Read from MH i2c: E2 03 00 [07:56:20]MH_I2C_Read... [07:56:20]Read from MH i2c: E2 03 00 58 19 00 90 00 E5 [07:56:20]RAPDU: 90 00 [07:56:20]wFMCommunicate OK [07:56:20]wFMCommunicate request_size=156 [07:56:20]MH_SAM_APDU [07:56:20]CAPDU: 80 0D 02 02 97 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 D6 11 00 00 00 00 07 04 06 00 F8 A7 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 A9 B7 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 33 91 00 00 35 04 06 00 B6 F8 E7 2F 6B D6 [07:56:20]Write to MH i2c: E2 9F 00 59 19 80 0D 02 02 97 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 D6 11 00 00 00 00 07 04 06 00 F8 A7 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 A9 B7 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 33 91 00 00 35 04 06 00 B6 F8 E7 2F 6B D6 00 00 D1 [07:56:20]Write i2c OK [07:56:20]MH_I2C_Read... [07:56:20]OFD Sender: No OFD packet to send [07:56:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:56:20]Read from MH i2c: E2 [07:56:20]MH_I2C_Read... [07:56:20]Read from MH i2c: E2 03 00 [07:56:20]MH_I2C_Read... [07:56:20]Read from MH i2c: E2 03 00 59 19 00 90 00 E6 [07:56:20]RAPDU: 90 00 [07:56:20]wFMCommunicate OK [07:56:20]wFMCommunicate request_size=4 [07:56:20]MH_SAM_APDU [07:56:20]CAPDU: 80 0D 03 02 [07:56:20]Write to MH i2c: E2 08 00 5A 19 80 0D 03 02 00 00 00 00 EE [07:56:20]Write i2c OK [07:56:20]MH_I2C_Read... [07:56:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:56:20]Read from MH i2c: E2 [07:56:20]MH_I2C_Read... [07:56:20]Read from MH i2c: E2 0B 00 [07:56:20]MH_I2C_Read... [07:56:20]Read from MH i2c: E2 0B 00 5A 19 00 28 66 57 60 90 9A 52 B5 90 00 65 [07:56:20]RAPDU: 28 66 57 60 90 9A 52 B5 90 00 [07:56:20]wFMCommunicate OK [07:56:20]SAM_PROTO_SignData done [07:56:20]FM_MakeSignedData done [07:56:20]CreateOFDProtocolMessage [07:56:20]wFMCommunicate request_size=4 [07:56:20]MH_SAM_APDU [07:56:20]CAPDU: 80 11 00 00 [07:56:20]Write to MH i2c: E2 08 00 5B 19 80 11 00 00 00 00 00 00 EE [07:56:20]Write i2c OK [07:56:20]MH_I2C_Read... [07:56:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:56:20]Read from MH i2c: E2 [07:56:20]MH_I2C_Read... [07:56:20]Read from MH i2c: E2 17 00 [07:56:20]MH_I2C_Read... [07:56:20]Read from MH i2c: E2 17 00 5B 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 41 [07:56:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [07:56:20]wFMCommunicate OK [07:56:20]CreateOFDProtocolMessage done [07:56:20]OFDSenderStorePacket 37171 [07:56:20]StoreOFDPacket docnum=37171 [07:56:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 A1 01 00 00 A7 A9 99 01 E9 5B 5A 03 01 00 03 00 8D 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 34 38 32 33 30 37 37 36 33 30 34 33 39 06 04 2D 00 D0 9A D1 80 D0 B5 D0 BA D0 B5 D1 80 20 32 20 43 52 41 43 4B 20 D1 81 20 D1 88 D0 BE D0 BA 20 D0 BD D0 B0 D1 87 20 32 33 35 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 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 D6 11 00 00 00 00 07 04 06 00 F8 A7 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 A9 B7 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 33 91 00 00 35 04 06 00 B6 F8 E7 2F 6B D6 28 66 57 60 90 9A 52 B5 [07:56:20]CheckFolder [07:56:20]dirname=/storage/ofd_packets [07:56:20]CheckFolder done [07:56:20]ProducePacketName [07:56:20]name=ofd_packets/00037171 [07:56:20]NVStorageSaveData ofd_packets/00037171 [07:56:20]File name is /storage/ofd_packets/00037171 [07:56:20]Write 447 bytes [07:56:20]NVStorageSaveData done [07:56:20]OFDSenderStorePacket done [07:56:20]KKMCreateOFDPacket done [07:56:20]NVStorageSaveData kkm_last_timestamp [07:56:20]File name is /storage/kkm_last_timestamp [07:56:20]Write 4 bytes [07:56:20]NVStorageSaveData done [07:56:20]ExternCall_PrintAddStr [07:56:20]wPrintStart [07:56:20]Write to MH i2c: 01 00 00 5C 19 75 [07:56:20]Write i2c OK [07:56:20]MH_I2C_Read... [07:56:20]Read from MH i2c: 01 [07:56:20]MH_I2C_Read... [07:56:20]Read from MH i2c: 01 07 00 [07:56:20]MH_I2C_Read... [07:56:20]Read from MH i2c: 01 07 00 5C 19 00 00 00 00 00 FF 0F 8A [07:56:20]RasterBufferAndPrint [07:56:20]line Счет N : (3)76652 [07:56:20]line ИÐÐ: 02508201610067 [07:56:20]line Контрольно-КаÑÑовый Чек [07:56:20]line ПРОДÐЖР[07:56:20]line Товар: 2000036210013 [07:56:20]line Кофе Капучино (GABB TRADE) [07:56:20]line 2.000 * 115.00 [07:56:20]line = 230.00 [07:56:20]line ÐДС 12% ÐСП 1% [07:56:20]line > о реализуемом товаре [07:56:20]line Товар: 4823077630439 [07:56:20]line Крекер 2 CRACK Ñ ÑˆÐ¾Ðº нач 235гр [07:56:20]line 1.000 * 200.00 [07:56:20]line = 200.00 [07:56:20]line ÐДС 12% ÐСП 1% [07:56:20]line > о реализуемом товаре [07:56:20]line ИТОГО: 430.00 [07:56:20]line ÐСП 1% : 3.80 [07:56:20]line ÐДС 12% : 45.66 [07:56:20]line Ðаличными: 430.00 [07:56:20]line Безнал.: 0.00 [07:56:20]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [07:56:20]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [07:56:20]line СÐО: Общий режим [07:56:20]line Чек 19 20.10.2024 07:56 [07:56:20]line Смена: 461 ФФД: 1.0 [07:56:20]line ЗÐМ: 0300000235 [07:56:20]line РÐМ: 0000000000098149 [07:56:20]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [07:56:20]line ФМ: 0000000000965372 [07:56:20]line ФД: 37171 [07:56:20]line ФПД: 201180146789334 [07:56:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T075625&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37171&fm=201180146789334&tin=02508201610067®Number=0000000000098149&sum=43000 [07:56:20]line 0 [07:56:20]OFD Sender: Processing packet 37171 [packets to send 25, broken 24] [07:56:20]ProducePacketName [07:56:20]name=ofd_packets/00037171 [07:56:20]OFD Sender: To server: ‡•öpG, [07:56:20]CommunicateWithHost lk.salyk.kg:30040 [07:56:20]ConnectInit lk.salyk.kg [07:56:20]written 0, free lines is 4095 [07:56:20]Connected sock=10 [07:56: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 33 37 32 A1 01 00 00 A7 A9 99 01 E9 5B 5A 03 01 00 03 00 8D 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 34 38 32 33 30 37 37 36 33 30 34 33 39 06 04 2D 00 D0 9A D1 80 D0 B5 D0 BA D0 B5 D1 80 20 32 20 43 52 41 43 4B 20 D1 81 20 D1 88 D0 BE D0 BA 20 D0 BD D0 B0 D1 87 20 32 33 35 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 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 D6 11 00 00 00 00 07 04 06 00 F8 A7 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 A9 B7 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 33 91 00 00 35 04 06 00 B6 F8 E7 2F 6B D6 28 66 57 60 90 9A 52 B5 [07:56:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 33 F6 47 00 5C 8C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 33 91 00 00 F4 03 04 00 3C 60 14 67 B6 04 01 00 00 08 7B 67 A3 0C 26 F0 71 [07:56:21]CommunicateWithHost err = 0 [07:56:21]CheckOFDResponse [07:56:21]1017 (14) - 77093643461234 [07:56:21]1041 (16) - 0000000000965372 [07:56:21]1040 (4) - 37171 [07:56:21]1012 (4) - 20.10.2024 01:43 [07:56:21]1206 (1) - 0 [07:56:21]OFD Sender: Remove packet 37171 [07:56:21]ProducePacketName [07:56:21]name=ofd_packets/00037171 [07:56:21]NVStorageDeleteData [07:56:21]Write to MH i2c: 01 00 00 8B 19 A4 [07:56:21]Write i2c OK [07:56:21]MH_I2C_Read... [07:56:21]Read from MH i2c: 01 [07:56:21]MH_I2C_Read... [07:56:21]Read from MH i2c: 01 07 00 [07:56:21]MH_I2C_Read... [07:56:21]Read from MH i2c: 01 07 00 8B 19 00 00 00 00 00 97 0C 4E [07:56:21]RasterBufferAndPrint [07:56:21]line [07:56:21]line [07:56:21]line [07:56:21]line [07:56:21]line [07:56:21]written 0, free lines is 3229 [07:56:21]process_action close_receipt done [07:56:21]requested_data is exist [07:56:21]produce_requested_data [07:56:21]requested_item fm.sn is exist - process it [07:56:21]wFMCommunicate request_size=4 [07:56:21]MH_SAM_APDU [07:56:21]CAPDU: 80 11 00 00 [07:56:21]Write to MH i2c: E2 08 00 92 19 80 11 00 00 00 00 00 00 25 [07:56:21]Write i2c OK [07:56:21]MH_I2C_Read... [07:56:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:56:21]Read from MH i2c: E2 [07:56:21]MH_I2C_Read... [07:56:21]Read from MH i2c: E2 17 00 [07:56:21]MH_I2C_Read... [07:56:21]Read from MH i2c: E2 17 00 92 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 78 [07:56:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [07:56:21]wFMCommunicate OK [07:56:21]requested_item fd.num is exist - process it [07:56:21]SAM_PROTO_GetFieldsCounters [07:56:21]wFMCommunicate request_size=4 [07:56:21]MH_SAM_APDU [07:56:21]CAPDU: 80 13 00 00 [07:56:21]Write to MH i2c: E2 08 00 93 19 80 13 00 00 00 00 00 00 28 [07:56:21]Write i2c OK [07:56:21]MH_I2C_Read... [07:56:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:56:21]Read from MH i2c: E2 [07:56:21]MH_I2C_Read... [07:56:21]Read from MH i2c: E2 62 00 [07:56:21]MH_I2C_Read... [07:56:21]Read from MH i2c: E2 62 00 93 19 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 33 91 00 00 0E 04 04 00 CD 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 1A [07:56: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 33 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:56:21]wFMCommunicate OK [07:56:21]SAM_PROTO_GetFieldsCounters done [07:56:21]requested_item shift.num is exist - process it [07:56:21]requested_item shift.opened is exist - process it [07:56:21]req_shift_opened [07:56:21]FM_GetShiftState [07:56:21]SAM_PROTO_GetShiftState [07:56:21]wFMCommunicate request_size=4 [07:56:21]MH_SAM_APDU [07:56:21]CAPDU: 80 13 01 00 [07:56:21]Write to MH i2c: E2 08 00 94 19 80 13 01 00 00 00 00 00 2A [07:56:21]Write i2c OK [07:56:21]MH_I2C_Read... [07:56:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:56:21]Read from MH i2c: E2 [07:56:21]MH_I2C_Read... [07:56:21]Read from MH i2c: E2 0E 00 [07:56:21]MH_I2C_Read... [07:56:21]Read from MH i2c: E2 0E 00 94 19 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 7F [07:56:21]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [07:56:21]wFMCommunicate OK [07:56:21]SAM_PROTO_GetShiftState done [07:56:21]FM_GetShiftState done [07:56:21]req_shift_opened done [07:56:21]requested_item shift.open_date is exist - process it [07:56:21]req_shift_open_date [07:56:21]req_shift_open_date done [07:56:21]produce_requested_data done [07:56:21]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37171,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [07:56:21]process_action_free close_receipt [07:56:21]json_value_free [07:56:21]json_value_free done [07:56:21]process_json_proto returns [07:56:21]Send response to host [07:56:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37171,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [07:56:21]free response buf [07:56:21]execute_script done [07:56:21]execute_script returns [07:56:21]free content buf [07:56:21]Sock 7.Close socket [07:56:21]Sock 7.Thread stoped [07:56:21]OFD Sender: No OFD packet to send [07:56:22]int [07:56:22]Write to MH i2c: 01 00 00 95 19 AE [07:56:22]*** FLAG_PRN_KEY set [07:56:22]Write i2c OK [07:56:22]MH_I2C_Read... [07:56:22]Read from MH i2c: 01 [07:56:22]MH_I2C_Read... [07:56:22]Read from MH i2c: 01 07 00 [07:56:22]MH_I2C_Read... [07:56:22]Read from MH i2c: 01 07 00 95 19 00 08 00 00 00 FF 0F CB [07:56:22]state=0 [07:56:22]Key pressed [07:56:22]Feed [07:56:22]Write to MH i2c: D8 00 00 96 19 86 [07:56:22]Write i2c OK [07:56:22]MH_I2C_Read... [07:56:22]Read from MH i2c: D8 [07:56:22]MH_I2C_Read... [07:56:22]Read from MH i2c: D8 01 00 [07:56:22]MH_I2C_Read... [07:56:22]Read from MH i2c: D8 01 00 96 19 00 87 [07:56:22]int [07:56:22]Write to MH i2c: 01 00 00 97 19 B0 [07:56:22]Write i2c OK [07:56:22]MH_I2C_Read... [07:56:22]Read from MH i2c: 01 [07:56:22]MH_I2C_Read... [07:56:22]Read from MH i2c: 01 07 00 [07:56:22]MH_I2C_Read... [07:56:22]Read from MH i2c: 01 07 00 97 19 00 48 00 00 00 3C 00 3B [07:56:22]state=2 [07:56:22]Key pressed [07:56:23]int [07:56:23]Write to MH i2c: 01 00 00 98 19 B1 [07:56:23]*** FLAG_PRN_KEY reset [07:56:23]Write i2c OK [07:56:23]MH_I2C_Read... [07:56:23]Read from MH i2c: 01 [07:56:23]MH_I2C_Read... [07:56:23]Read from MH i2c: 01 07 00 [07:56:23]MH_I2C_Read... [07:56:23]Read from MH i2c: 01 07 00 98 19 00 00 00 00 00 FF 0F C6 [07:56:23]state=2 [07:56:23]Stop feed [07:56:26]OFD Sender: No OFD packet to send [07:56:31]OFD Sender: No OFD packet to send [07:56:36]OFD Sender: No OFD packet to send [07:56:41]OFD Sender: No OFD packet to send [07:56:46]OFD Sender: No OFD packet to send [07:56:51]OFD Sender: No OFD packet to send [07:56:56]OFD Sender: No OFD packet to send [07:57:01]OFD Sender: No OFD packet to send [07:57:06]OFD Sender: No OFD packet to send [07:57:11]OFD Sender: No OFD packet to send [07:57:16]OFD Sender: No OFD packet to send [07:57:21]OFD Sender: No OFD packet to send [07:57:26]OFD Sender: No OFD packet to send [07:57:31]OFD Sender: No OFD packet to send [07:57:36]OFD Sender: No OFD packet to send [07:57:41]OFD Sender: No OFD packet to send [07:57:46]OFD Sender: No OFD packet to send [07:57:51]OFD Sender: No OFD packet to send [07:57:56]OFD Sender: No OFD packet to send [07:58:01]OFD Sender: No OFD packet to send [07:58:06]OFD Sender: No OFD packet to send [07:58:11]OFD Sender: No OFD packet to send [07:58:16]OFD Sender: No OFD packet to send [07:58:21]OFD Sender: No OFD packet to send [07:58:26]OFD Sender: No OFD packet to send [07:58:31]OFD Sender: No OFD packet to send [07:58:36]OFD Sender: No OFD packet to send [07:58:41]OFD Sender: No OFD packet to send [07:58:46]OFD Sender: No OFD packet to send [07:58:51]OFD Sender: No OFD packet to send [07:58:56]OFD Sender: No OFD packet to send [07:59:01]OFD Sender: No OFD packet to send [07:59:06]OFD Sender: No OFD packet to send [07:59:11]OFD Sender: No OFD packet to send [07:59:16]OFD Sender: No OFD packet to send [07:59:21]OFD Sender: No OFD packet to send [07:59:26]OFD Sender: No OFD packet to send [07:59:31]OFD Sender: No OFD packet to send [07:59:36]OFD Sender: No OFD packet to send [07:59:41]OFD Sender: No OFD packet to send [07:59:46]OFD Sender: No OFD packet to send [07:59:51]OFD Sender: No OFD packet to send [07:59:56]OFD Sender: No OFD packet to send [08:00:01]OFD Sender: No OFD packet to send [08:00:06]OFD Sender: No OFD packet to send [08:00:11]OFD Sender: No OFD packet to send [08:00:16]OFD Sender: No OFD packet to send [08:00:21]OFD Sender: No OFD packet to send [08:00:26]OFD Sender: No OFD packet to send [08:00:31]OFD Sender: No OFD packet to send [08:00:36]OFD Sender: No OFD packet to send [08:00:41]OFD Sender: No OFD packet to send [08:00:46]OFD Sender: No OFD packet to send [08:00:51]OFD Sender: No OFD packet to send [08:00:56]OFD Sender: No OFD packet to send [08:01:01]OFD Sender: No OFD packet to send [08:01:06]OFD Sender: No OFD packet to send [08:01:11]OFD Sender: No OFD packet to send [08:01:13]accept exits with 9 [08:01:13]New connection [08:01:13]New thread 3066555748 created [08:01:13]Thread 3066699108 joined [08:01:13]Waiting for new connection... [08:01:13] Sock 9.Parse request [08:01:13]Sock 9.Check first char [08:01:13]Sock 9.First char is OK [08:01:13]request: POST /json_proto HTTP/1.0 [08:01:13]Method: POST [08:01:13]URL: /json_proto [08:01:13]Method is POST - this is cgi request [08:01:13]url: /json_proto [08:01:13]query_string will be loaded in cgi processing [08:01:13]execute_cgi json_proto POST (null) [08:01:13]execute_cgi path=json_proto method=POST [08:01:13]POST find Content-Length [08:01:13]Host: 172.17.53.68:8080 [08:01:13]Content-Length: 1737 [08:01:13]Content-Type: application/json [08:01:13] [08:01:13]POST finish read [08:01:13]Found Content-Length = 1737 [08:01:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76653", "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": "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": "4607123066058", "name": "\u041F\u0435\u0447\u0435\u043D\u044C\u0435 \u042E\u0431\u0438\u043B\u0435\u0439\u043D\u043E\u0435 \u0422\u043E\u0440\u0436\u0435\u0441\u0442\u0432\u043E \u043E\u0440\u0435\u0445 120\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver Blue", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 519.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:01:13]execute_script... [08:01: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)76653", "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": "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": "4607123066058", "name": "\u041F\u0435\u0447\u0435\u043D\u044C\u0435 \u042E\u0431\u0438\u043B\u0435\u0439\u043D\u043E\u0435 \u0422\u043E\u0440\u0436\u0435\u0441\u0442\u0432\u043E \u043E\u0440\u0435\u0445 120\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver Blue", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 519.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:01:13]POST & json_proto [08:01:13]process_json_proto [08:01:13]json parsed OK: [08:01:13]protocol is kg_v1.0 [08:01:13]action value=close_receipt [08:01:13]process_action close_receipt [08:01:13]cmd_close_receipt [08:01:13]MH_GetDate [08:01:13]Write to MH i2c: F0 00 00 99 19 A1 [08:01:13]Write i2c OK [08:01:13]MH_I2C_Read... [08:01:13]Read from MH i2c: F0 [08:01:13]MH_I2C_Read... [08:01:13]Read from MH i2c: F0 09 00 [08:01:13]MH_I2C_Read... [08:01:13]Read from MH i2c: F0 09 00 99 19 00 D0 B8 14 67 C5 A4 76 66 F2 [08:01:13]GetLastDocTimeStamp 1729410985 [08:01:13]current date 1729411280 [08:01:13]FM_GetShiftState [08:01:13]SAM_PROTO_GetShiftState [08:01:13]wFMCommunicate request_size=4 [08:01:13]MH_SAM_APDU [08:01:13]CAPDU: 80 13 01 00 [08:01:13]Write to MH i2c: E2 08 00 9A 19 80 13 01 00 00 00 00 00 30 [08:01:13]Write i2c OK [08:01:13]MH_I2C_Read... [08:01:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:01:13]Read from MH i2c: E2 [08:01:13]MH_I2C_Read... [08:01:13]Read from MH i2c: E2 0E 00 [08:01:13]MH_I2C_Read... [08:01:13]Read from MH i2c: E2 0E 00 9A 19 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 85 [08:01:13]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [08:01:13]wFMCommunicate OK [08:01:13]SAM_PROTO_GetShiftState done [08:01:13]FM_GetShiftState done [08:01:13]opened in 1729383299 [08:01:13]opened+sec_in_day 1729469699 [08:01:13]quantity*price = 13000 [08:01:13]sum+1 = 13001 [08:01:13]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160211 Вода Легенда 0,5л 1.000 * 40.00 = 40.00 ÐДС 12% ÐСП 1% > о реализуемом товаре Товар: 4607123066058 Печенье Юбилейное ТоржеÑтво орех 120г 1.000 * 59.00 = 59.00 ÐДС 12% ÐСП 1% > о реализуемом товаре Товар: 2000036230011 Кофе Латте XL(GABB TRADE) 1.000 * 130.00 = 130.00 ÐДС 12% ÐСП 1% > о реализуемом товаре Товар: 48742245 Сигареты Parliament Silver Blue 1.000 * 160.00 = 160.00 ÐДС 12% ÐСП 1% > о реализуемом товаре ИТОГО: 519.00 ÐСП 1% : 4.59 ÐДС 12% : 55.10 Ðаличными: 519.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 20 20.10.2024 08:01 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37172 ФПД: 235793782104321 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T080120&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37172&fm=235793782104321&tin=02508201610067®Number=0000000000098149&sum=51900 0 [08:01:14]StoreToDocumentArchive [08:01:14]shift 461 fd 37172 [08:01:14]save to /storage/0461/doc_00037172 [08:01:14]save last doc name /storage/0461/doc_00037172 to /storage/kkm_last_doc_name [08:01:14]save OK [08:01:14]Clear old archive folders... [08:01:14]ProcessDocumentItem done err = 0, tmpTLVsize=734 [08:01:14]tlvbuf is 00A15320 [08:01:14]SAM_PROTO_ClearQueue [08:01:14]wFMCommunicate request_size=4 [08:01:14]MH_SAM_APDU [08:01:14]CAPDU: 80 09 00 00 [08:01:14]Write to MH i2c: E2 08 00 A7 19 80 09 00 00 00 00 00 00 32 [08:01:14]Write i2c OK [08:01:14]MH_I2C_Read... [08:01:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:01:14]Read from MH i2c: E2 [08:01:14]MH_I2C_Read... [08:01:14]Read from MH i2c: E2 03 00 [08:01:14]MH_I2C_Read... [08:01:14]Read from MH i2c: E2 03 00 A7 19 00 90 00 34 [08:01:14]RAPDU: 90 00 [08:01:14]wFMCommunicate OK [08:01:14]SAM_PROTO_ClearQueue done [08:01:14]KKMCreateOFDPacket [08:01:14]OFDProtocolAddRootSTLVToBuf [08:01:14]FM_MakeSignedData [08:01:14]FM_MakeSignedData [08:01:14]SAM_PROTO_SignData [08:01:14]wFMCommunicate request_size=4 [08:01:14]MH_SAM_APDU [08:01:14]CAPDU: 80 0D 01 02 [08:01:14]Write to MH i2c: E2 08 00 A8 19 80 0D 01 02 00 00 00 00 3A [08:01:14]Write i2c OK [08:01:14]MH_I2C_Read... [08:01:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:01:14]Read from MH i2c: E2 [08:01:14]MH_I2C_Read... [08:01:14]Read from MH i2c: E2 03 00 [08:01:14]MH_I2C_Read... [08:01:14]Read from MH i2c: E2 03 00 A8 19 00 90 00 35 [08:01:14]RAPDU: 90 00 [08:01:14]wFMCommunicate OK [08:01:14]wFMCommunicate request_size=255 [08:01:14]MH_SAM_APDU [08:01:14]CAPDU: 80 0D 02 02 FA 03 00 DE 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 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 87 00 8A 04 0D 00 34 36 30 37 31 32 33 30 36 36 30 35 38 06 04 43 00 D0 9F D0 [08:01:14]Write to MH i2c: E2 02 01 A9 19 80 0D 02 02 FA 00 03 00 DE 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 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 87 00 8A 04 0D 00 34 36 30 37 31 32 33 30 36 36 30 35 38 06 04 43 00 D0 9F D0 00 00 09 [08:01:14]Write i2c OK [08:01:14]MH_I2C_Read... [08:01:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:01:15]Read from MH i2c: E2 [08:01:15]MH_I2C_Read... [08:01:15]Read from MH i2c: E2 03 00 [08:01:15]MH_I2C_Read... [08:01:15]Read from MH i2c: E2 03 00 A9 19 00 90 00 36 [08:01:15]RAPDU: 90 00 [08:01:15]wFMCommunicate OK [08:01:15]wFMCommunicate request_size=255 [08:01:15]MH_SAM_APDU [08:01:15]CAPDU: 80 0D 02 02 FA B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 D0 BE D1 80 D0 B5 D1 85 20 31 32 30 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 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 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 [08:01:15]Write to MH i2c: E2 02 01 AA 19 80 0D 02 02 FA 00 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 D0 BE D1 80 D0 B5 D1 85 20 31 32 30 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 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 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 00 00 CC [08:01:15]Write i2c OK [08:01:15]MH_I2C_Read... [08:01:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:01:15]Read from MH i2c: E2 [08:01:15]MH_I2C_Read... [08:01:15]Read from MH i2c: E2 03 00 [08:01:15]MH_I2C_Read... [08:01:15]Read from MH i2c: E2 03 00 AA 19 00 90 00 37 [08:01:15]RAPDU: 90 00 [08:01:15]wFMCommunicate OK [08:01:15]wFMCommunicate request_size=243 [08:01:15]MH_SAM_APDU [08:01:15]CAPDU: 80 0D 02 02 EE 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 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC CA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 86 15 00 00 00 00 07 04 06 00 BC CA 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 D0 B8 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 34 91 00 00 35 04 06 00 D6 74 04 9F 61 01 [08:01:15]Write to MH i2c: E2 F6 00 AB 19 80 0D 02 02 EE 00 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 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC CA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 86 15 00 00 00 00 07 04 06 00 BC CA 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 D0 B8 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 34 91 00 00 35 04 06 00 D6 74 04 9F 61 01 00 00 9C [08:01:15]Write i2c OK [08:01:15]MH_I2C_Read... [08:01:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:01:15]Read from MH i2c: E2 [08:01:15]MH_I2C_Read... [08:01:15]Read from MH i2c: E2 03 00 [08:01:15]MH_I2C_Read... [08:01:15]Read from MH i2c: E2 03 00 AB 19 00 90 00 38 [08:01:15]RAPDU: 90 00 [08:01:15]wFMCommunicate OK [08:01:15]wFMCommunicate request_size=4 [08:01:15]MH_SAM_APDU [08:01:15]CAPDU: 80 0D 03 02 [08:01:15]Write to MH i2c: E2 08 00 AC 19 80 0D 03 02 00 00 00 00 40 [08:01:15]Write i2c OK [08:01:15]MH_I2C_Read... [08:01:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:01:15]Read from MH i2c: E2 [08:01:15]MH_I2C_Read... [08:01:15]Read from MH i2c: E2 0B 00 [08:01:15]MH_I2C_Read... [08:01:15]Read from MH i2c: E2 0B 00 AC 19 00 95 3F D9 F1 EC 02 A8 8C 90 00 01 [08:01:15]RAPDU: 95 3F D9 F1 EC 02 A8 8C 90 00 [08:01:15]wFMCommunicate OK [08:01:15]SAM_PROTO_SignData done [08:01:15]FM_MakeSignedData done [08:01:15]CreateOFDProtocolMessage [08:01:15]wFMCommunicate request_size=4 [08:01:15]MH_SAM_APDU [08:01:15]CAPDU: 80 11 00 00 [08:01:15]Write to MH i2c: E2 08 00 AD 19 80 11 00 00 00 00 00 00 40 [08:01:15]Write i2c OK [08:01:15]MH_I2C_Read... [08:01:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:01:15]Read from MH i2c: E2 [08:01:15]MH_I2C_Read... [08:01:15]Read from MH i2c: E2 17 00 [08:01:15]MH_I2C_Read... [08:01:15]Read from MH i2c: E2 17 00 AD 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 93 [08:01:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [08:01:15]wFMCommunicate OK [08:01:15]CreateOFDProtocolMessage done [08:01:15]OFDSenderStorePacket 37172 [08:01:15]StoreOFDPacket docnum=37172 [08:01:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 F2 02 00 00 44 43 EA 02 DE 6D 5A 03 01 00 03 00 DE 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 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 87 00 8A 04 0D 00 34 36 30 37 31 32 33 30 36 36 30 35 38 06 04 43 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 D0 BE D1 80 D0 B5 D1 85 20 31 32 30 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 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 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 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC CA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 86 15 00 00 00 00 07 04 06 00 BC CA 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 D0 B8 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 34 91 00 00 35 04 06 00 D6 74 04 9F 61 01 95 3F D9 F1 EC 02 A8 8C [08:01:16]CheckFolder [08:01:16]dirname=/storage/ofd_packets [08:01:16]CheckFolder done [08:01:16]ProducePacketName [08:01:16]name=ofd_packets/00037172 [08:01:16]NVStorageSaveData ofd_packets/00037172 [08:01:16]File name is /storage/ofd_packets/00037172 [08:01:16]Write 784 bytes [08:01:16]NVStorageSaveData done [08:01:16]OFDSenderStorePacket done [08:01:16]KKMCreateOFDPacket done [08:01:16]NVStorageSaveData kkm_last_timestamp [08:01:16]File name is /storage/kkm_last_timestamp [08:01:16]Write 4 bytes [08:01:16]NVStorageSaveData done [08:01:16]ExternCall_PrintAddStr [08:01:16]wPrintStart [08:01:16]Write to MH i2c: 01 00 00 AE 19 C7 [08:01:16]Write i2c OK [08:01:16]MH_I2C_Read... [08:01:16]Read from MH i2c: 01 [08:01:16]MH_I2C_Read... [08:01:16]Read from MH i2c: 01 07 00 [08:01:16]MH_I2C_Read... [08:01:16]Read from MH i2c: 01 07 00 AE 19 00 00 00 00 00 FF 0F DC [08:01:16]RasterBufferAndPrint [08:01:16]line Счет N : (3)76653 [08:01:16]line ИÐÐ: 02508201610067 [08:01:16]line Контрольно-КаÑÑовый Чек [08:01:16]line ПРОДÐЖР[08:01:16]line Товар: 2000036220012 [08:01:16]line Кофе Капучино XL(GABB TRADE) [08:01:16]line 1.000 * 130.00 [08:01:16]line = 130.00 [08:01:16]line ÐДС 12% ÐСП 1% [08:01:16]line > о реализуемом товаре [08:01:16]line Товар: 4700000160211 [08:01:16]line Вода Легенда 0,5л [08:01:16]line 1.000 * 40.00 [08:01:16]line = 40.00 [08:01:16]line ÐДС 12% ÐСП 1% [08:01:16]line > о реализуемом товаре [08:01:16]line Товар: 4607123066058 [08:01:16]line Печенье Юбилейное ТоржеÑтво орех 120г [08:01:16]line 1.000 * 59.00 [08:01:16]line = 59.00 [08:01:16]line ÐДС 12% ÐСП 1% [08:01:16]line > о реализуемом товаре [08:01:16]line Товар: 2000036230011 [08:01:16]line Кофе Латте XL(GABB TRADE) [08:01:16]line 1.000 * 130.00 [08:01:16]line = 130.00 [08:01:16]line ÐДС 12% ÐСП 1% [08:01:16]line > о реализуемом товаре [08:01:16]line Товар: 48742245 [08:01:16]line Сигареты Parliament Silver Blue [08:01:16]line 1.000 * 160.00 [08:01:16]line = 160.00 [08:01:16]line ÐДС 12% ÐСП 1% [08:01:16]line > о реализуемом товаре [08:01:16]line ИТОГО: 519.00 [08:01:16]line ÐСП 1% : 4.59 [08:01:16]line ÐДС 12% : 55.10 [08:01:16]line Ðаличными: 519.00 [08:01:16]line Безнал.: 0.00 [08:01:16]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [08:01:16]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [08:01:16]line СÐО: Общий режим [08:01:16]line Чек 20 20.10.2024 08:01 [08:01:16]line Смена: 461 ФФД: 1.0 [08:01:16]line ЗÐМ: 0300000235 [08:01:16]line РÐМ: 0000000000098149 [08:01:16]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [08:01:16]line ФМ: 0000000000965372 [08:01:16]line ФД: 37172 [08:01:16]line ФПД: 235793782104321 [08:01:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T080120&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37172&fm=235793782104321&tin=02508201610067®Number=0000000000098149&sum=51900 [08:01:16]line 0 [08:01:16]written 0, free lines is 4095 [08:01:16]OFD Sender: Processing packet 37172 [packets to send 25, broken 24] [08:01:16]ProducePacketName [08:01:16]name=ofd_packets/00037172 [08:01:16]OFD Sender: To server: ‡•öpG, [08:01:16]CommunicateWithHost lk.salyk.kg:30040 [08:01:16]ConnectInit lk.salyk.kg [08:01:16]Connected sock=10 [08:01: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 33 37 32 F2 02 00 00 44 43 EA 02 DE 6D 5A 03 01 00 03 00 DE 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 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 87 00 8A 04 0D 00 34 36 30 37 31 32 33 30 36 36 30 35 38 06 04 43 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 D0 BE D1 80 D0 B5 D1 85 20 31 32 30 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 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 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 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC CA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 86 15 00 00 00 00 07 04 06 00 BC CA 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 D0 B8 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 34 91 00 00 35 04 06 00 D6 74 04 9F 61 01 95 3F D9 F1 EC 02 A8 8C [08:01:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 81 35 47 00 EE 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 33 37 32 10 04 04 00 34 91 00 00 F4 03 04 00 63 61 14 67 B6 04 01 00 00 23 9A DD 50 56 D2 46 77 [08:01:16]CommunicateWithHost err = 0 [08:01:16]CheckOFDResponse [08:01:16]1017 (14) - 77093643461234 [08:01:16]1041 (16) - 0000000000965372 [08:01:16]1040 (4) - 37172 [08:01:16]1012 (4) - 20.10.2024 01:48 [08:01:16]1206 (1) - 0 [08:01:16]OFD Sender: Remove packet 37172 [08:01:16]ProducePacketName [08:01:16]name=ofd_packets/00037172 [08:01:16]NVStorageDeleteData [08:01:16]Write to MH i2c: 01 00 00 F1 19 0A [08:01:16]Write i2c OK [08:01:16]MH_I2C_Read... [08:01:16]Read from MH i2c: 01 [08:01:16]MH_I2C_Read... [08:01:16]Read from MH i2c: 01 07 00 [08:01:16]MH_I2C_Read... [08:01:16]Read from MH i2c: 01 07 00 F1 19 00 00 00 00 00 82 0B 9E [08:01:16]RasterBufferAndPrint [08:01:16]line [08:01:16]line [08:01:16]line [08:01:16]line [08:01:16]line [08:01:16]written 0, free lines is 2957 [08:01:16]process_action close_receipt done [08:01:16]requested_data is exist [08:01:16]produce_requested_data [08:01:16]requested_item fm.sn is exist - process it [08:01:16]wFMCommunicate request_size=4 [08:01:16]MH_SAM_APDU [08:01:16]CAPDU: 80 11 00 00 [08:01:16]Write to MH i2c: E2 08 00 F8 19 80 11 00 00 00 00 00 00 8B [08:01:16]Write i2c OK [08:01:16]MH_I2C_Read... [08:01:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:01:16]Read from MH i2c: E2 [08:01:16]MH_I2C_Read... [08:01:16]Read from MH i2c: E2 17 00 [08:01:16]MH_I2C_Read... [08:01:16]Read from MH i2c: E2 17 00 F8 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 DE [08:01:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [08:01:16]wFMCommunicate OK [08:01:16]requested_item fd.num is exist - process it [08:01:16]SAM_PROTO_GetFieldsCounters [08:01:16]wFMCommunicate request_size=4 [08:01:16]MH_SAM_APDU [08:01:16]CAPDU: 80 13 00 00 [08:01:16]Write to MH i2c: E2 08 00 F9 19 80 13 00 00 00 00 00 00 8E [08:01:16]Write i2c OK [08:01:16]MH_I2C_Read... [08:01:17]OFD Sender: No OFD packet to send [08:01:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:01:17]Read from MH i2c: E2 [08:01:17]MH_I2C_Read... [08:01:17]Read from MH i2c: E2 62 00 [08:01:17]MH_I2C_Read... [08:01:17]Read from MH i2c: E2 62 00 F9 19 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 34 91 00 00 0E 04 04 00 CD 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 84 [08:01: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 34 91 00 00 0E 04 04 00 CD 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 [08:01:17]wFMCommunicate OK [08:01:17]SAM_PROTO_GetFieldsCounters done [08:01:17]requested_item shift.num is exist - process it [08:01:17]requested_item shift.opened is exist - process it [08:01:17]req_shift_opened [08:01:17]FM_GetShiftState [08:01:17]SAM_PROTO_GetShiftState [08:01:17]wFMCommunicate request_size=4 [08:01:17]MH_SAM_APDU [08:01:17]CAPDU: 80 13 01 00 [08:01:17]Write to MH i2c: E2 08 00 FA 19 80 13 01 00 00 00 00 00 90 [08:01:17]Write i2c OK [08:01:17]MH_I2C_Read... [08:01:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:01:17]Read from MH i2c: E2 [08:01:17]MH_I2C_Read... [08:01:17]Read from MH i2c: E2 0E 00 [08:01:17]MH_I2C_Read... [08:01:17]Read from MH i2c: E2 0E 00 FA 19 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 E5 [08:01:17]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [08:01:17]wFMCommunicate OK [08:01:17]SAM_PROTO_GetShiftState done [08:01:17]FM_GetShiftState done [08:01:17]req_shift_opened done [08:01:17]requested_item shift.open_date is exist - process it [08:01:17]req_shift_open_date [08:01:17]req_shift_open_date done [08:01:17]produce_requested_data done [08:01:17]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37172,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [08:01:17]process_action_free close_receipt [08:01:17]json_value_free [08:01:17]json_value_free done [08:01:17]process_json_proto returns [08:01:17]Send response to host [08:01:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37172,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [08:01:17]free response buf [08:01:17]execute_script done [08:01:17]execute_script returns [08:01:17]free content buf [08:01:17]Sock 9.Close socket [08:01:17]Sock 9.Thread stoped [08:01:22]OFD Sender: No OFD packet to send [08:01:27]OFD Sender: No OFD packet to send [08:01:32]OFD Sender: No OFD packet to send [08:01:34]int [08:01:34]Write to MH i2c: 01 00 00 FB 19 14 [08:01:34]*** FLAG_PRN_KEY set [08:01:34]Write i2c OK [08:01:34]MH_I2C_Read... [08:01:34]Read from MH i2c: 01 [08:01:34]MH_I2C_Read... [08:01:34]Read from MH i2c: 01 07 00 [08:01:34]MH_I2C_Read... [08:01:34]Read from MH i2c: 01 07 00 FB 19 00 08 00 00 00 FF 0F 31 [08:01:34]state=0 [08:01:34]Key pressed [08:01:34]Feed [08:01:34]Write to MH i2c: D8 00 00 FC 19 EC [08:01:34]Write i2c OK [08:01:34]MH_I2C_Read... [08:01:34]Read from MH i2c: D8 [08:01:34]MH_I2C_Read... [08:01:34]Read from MH i2c: D8 01 00 [08:01:34]MH_I2C_Read... [08:01:34]Read from MH i2c: D8 01 00 FC 19 00 ED [08:01:34]int [08:01:34]Write to MH i2c: 01 00 00 FD 19 16 [08:01:34]Write i2c OK [08:01:34]MH_I2C_Read... [08:01:34]Read from MH i2c: 01 [08:01:34]MH_I2C_Read... [08:01:34]Read from MH i2c: 01 07 00 [08:01:34]MH_I2C_Read... [08:01:34]Read from MH i2c: 01 07 00 FD 19 00 48 00 00 00 3D 00 A2 [08:01:34]state=2 [08:01:34]Key pressed [08:01:34]int [08:01:34]Write to MH i2c: 01 00 00 FE 19 17 [08:01:34]*** FLAG_PRN_KEY reset [08:01:34]Write i2c OK [08:01:34]MH_I2C_Read... [08:01:34]Read from MH i2c: 01 [08:01:34]MH_I2C_Read... [08:01:34]Read from MH i2c: 01 07 00 [08:01:34]MH_I2C_Read... [08:01:34]Read from MH i2c: 01 07 00 FE 19 00 00 00 00 00 FA 0F 27 [08:01:34]state=2 [08:01:34]Stop feed [08:01:34]int [08:01:34]Write to MH i2c: 01 00 00 FF 19 18 [08:01:34]*** FLAG_PRN_KEY set [08:01:34]Write i2c OK [08:01:34]MH_I2C_Read... [08:01:34]Read from MH i2c: 01 [08:01:34]MH_I2C_Read... [08:01:34]Read from MH i2c: 01 07 00 [08:01:34]MH_I2C_Read... [08:01:34]Read from MH i2c: 01 07 00 FF 19 00 08 00 00 00 FF 0F 35 [08:01:34]state=0 [08:01:34]Key pressed [08:01:34]Feed [08:01:34]Write to MH i2c: D8 00 00 00 1A F1 [08:01:34]Write i2c OK [08:01:34]MH_I2C_Read... [08:01:34]Read from MH i2c: D8 [08:01:34]MH_I2C_Read... [08:01:34]Read from MH i2c: D8 01 00 [08:01:34]MH_I2C_Read... [08:01:34]Read from MH i2c: D8 01 00 00 1A 00 F2 [08:01:34]int [08:01:34]Write to MH i2c: 01 00 00 01 1A 1B [08:01:34]Write i2c OK [08:01:34]MH_I2C_Read... [08:01:34]Read from MH i2c: 01 [08:01:34]MH_I2C_Read... [08:01:34]Read from MH i2c: 01 07 00 [08:01:34]MH_I2C_Read... [08:01:34]Read from MH i2c: 01 07 00 01 1A 00 48 00 00 00 3C 00 A6 [08:01:34]state=2 [08:01:34]Key pressed [08:01:34]int [08:01:34]Write to MH i2c: 01 00 00 02 1A 1C [08:01:34]*** FLAG_PRN_KEY reset [08:01:34]Write i2c OK [08:01:34]MH_I2C_Read... [08:01:34]Read from MH i2c: 01 [08:01:34]MH_I2C_Read... [08:01:34]Read from MH i2c: 01 07 00 [08:01:34]MH_I2C_Read... [08:01:34]Read from MH i2c: 01 07 00 02 1A 00 00 00 00 00 F6 0F 28 [08:01:34]state=2 [08:01:34]Stop feed [08:01:37]OFD Sender: No OFD packet to send [08:01:42]OFD Sender: No OFD packet to send [08:01:47]OFD Sender: No OFD packet to send [08:01:52]OFD Sender: No OFD packet to send [08:01:57]OFD Sender: No OFD packet to send [08:02:02]OFD Sender: No OFD packet to send [08:02:07]OFD Sender: No OFD packet to send [08:02:12]OFD Sender: No OFD packet to send [08:02:17]OFD Sender: No OFD packet to send [08:02:22]OFD Sender: No OFD packet to send [08:02:27]OFD Sender: No OFD packet to send [08:02:32]OFD Sender: No OFD packet to send [08:02:37]OFD Sender: No OFD packet to send [08:02:42]OFD Sender: No OFD packet to send [08:02:47]OFD Sender: No OFD packet to send [08:02:52]OFD Sender: No OFD packet to send [08:02:57]OFD Sender: No OFD packet to send [08:03:02]OFD Sender: No OFD packet to send [08:03:07]OFD Sender: No OFD packet to send [08:03:12]OFD Sender: No OFD packet to send [08:03:17]OFD Sender: No OFD packet to send [08:03:22]OFD Sender: No OFD packet to send [08:03:27]OFD Sender: No OFD packet to send [08:03:32]OFD Sender: No OFD packet to send [08:03:37]OFD Sender: No OFD packet to send [08:03:42]OFD Sender: No OFD packet to send [08:03:47]OFD Sender: No OFD packet to send [08:03:52]OFD Sender: No OFD packet to send [08:03:57]OFD Sender: No OFD packet to send [08:04:02]OFD Sender: No OFD packet to send [08:04:07]OFD Sender: No OFD packet to send [08:04:12]OFD Sender: No OFD packet to send [08:04:17]OFD Sender: No OFD packet to send [08:04:22]OFD Sender: No OFD packet to send [08:04:27]OFD Sender: No OFD packet to send [08:04:32]OFD Sender: No OFD packet to send [08:04:37]OFD Sender: No OFD packet to send [08:04:42]OFD Sender: No OFD packet to send [08:04:47]OFD Sender: No OFD packet to send [08:04:52]OFD Sender: No OFD packet to send [08:04:57]OFD Sender: No OFD packet to send [08:05:02]OFD Sender: No OFD packet to send [08:05:07]OFD Sender: No OFD packet to send [08:05:12]OFD Sender: No OFD packet to send [08:05:17]OFD Sender: No OFD packet to send [08:05:22]OFD Sender: No OFD packet to send [08:05:27]OFD Sender: No OFD packet to send [08:05:32]OFD Sender: No OFD packet to send [08:05:37]OFD Sender: No OFD packet to send [08:05:42]OFD Sender: No OFD packet to send [08:05:47]OFD Sender: No OFD packet to send [08:05:52]OFD Sender: No OFD packet to send [08:05:57]OFD Sender: No OFD packet to send [08:06:02]OFD Sender: No OFD packet to send [08:06:07]OFD Sender: No OFD packet to send [08:06:12]OFD Sender: No OFD packet to send [08:06:17]OFD Sender: No OFD packet to send [08:06:22]OFD Sender: No OFD packet to send [08:06:27]OFD Sender: No OFD packet to send [08:06:32]OFD Sender: No OFD packet to send [08:06:37]OFD Sender: No OFD packet to send [08:06:42]OFD Sender: No OFD packet to send [08:06:47]OFD Sender: No OFD packet to send [08:06:52]OFD Sender: No OFD packet to send [08:06:57]OFD Sender: No OFD packet to send [08:07:02]OFD Sender: No OFD packet to send [08:07:07]OFD Sender: No OFD packet to send [08:07:12]OFD Sender: No OFD packet to send [08:07:17]OFD Sender: No OFD packet to send [08:07:22]OFD Sender: No OFD packet to send [08:07:27]OFD Sender: No OFD packet to send [08:07:32]OFD Sender: No OFD packet to send [08:07:37]OFD Sender: No OFD packet to send [08:07:42]OFD Sender: No OFD packet to send [08:07:47]OFD Sender: No OFD packet to send [08:07:52]OFD Sender: No OFD packet to send [08:07:57]OFD Sender: No OFD packet to send [08:08:02]OFD Sender: No OFD packet to send [08:08:07]OFD Sender: No OFD packet to send [08:08:12]OFD Sender: No OFD packet to send [08:08:17]OFD Sender: No OFD packet to send [08:08:22]OFD Sender: No OFD packet to send [08:08:27]OFD Sender: No OFD packet to send [08:08:32]OFD Sender: No OFD packet to send [08:08:37]OFD Sender: No OFD packet to send [08:08:42]OFD Sender: No OFD packet to send [08:08:47]OFD Sender: No OFD packet to send [08:08:52]OFD Sender: No OFD packet to send [08:08:57]OFD Sender: No OFD packet to send [08:09:02]OFD Sender: No OFD packet to send [08:09:07]OFD Sender: No OFD packet to send [08:09:12]OFD Sender: No OFD packet to send [08:09:17]OFD Sender: No OFD packet to send [08:09:22]OFD Sender: No OFD packet to send [08:09:27]OFD Sender: No OFD packet to send [08:09:32]OFD Sender: No OFD packet to send [08:09:37]OFD Sender: No OFD packet to send [08:09:42]OFD Sender: No OFD packet to send [08:09:47]OFD Sender: No OFD packet to send [08:09:52]OFD Sender: No OFD packet to send [08:09:57]OFD Sender: No OFD packet to send [08:10:02]OFD Sender: No OFD packet to send [08:10:07]OFD Sender: No OFD packet to send [08:10:12]OFD Sender: No OFD packet to send [08:10:17]OFD Sender: No OFD packet to send [08:10:22]OFD Sender: No OFD packet to send [08:10:27]OFD Sender: No OFD packet to send [08:10:32]OFD Sender: No OFD packet to send [08:10:37]OFD Sender: No OFD packet to send [08:10:42]OFD Sender: No OFD packet to send [08:10:47]OFD Sender: No OFD packet to send [08:10:52]OFD Sender: No OFD packet to send [08:10:57]OFD Sender: No OFD packet to send [08:11:02]OFD Sender: No OFD packet to send [08:11:07]OFD Sender: No OFD packet to send [08:11:12]OFD Sender: No OFD packet to send [08:11:17]OFD Sender: No OFD packet to send [08:11:22]OFD Sender: No OFD packet to send [08:11:27]OFD Sender: No OFD packet to send [08:11:32]OFD Sender: No OFD packet to send [08:11:37]OFD Sender: No OFD packet to send [08:11:42]OFD Sender: No OFD packet to send [08:11:47]OFD Sender: No OFD packet to send [08:11:52]OFD Sender: No OFD packet to send [08:11:57]OFD Sender: No OFD packet to send [08:12:02]OFD Sender: No OFD packet to send [08:12:07]OFD Sender: No OFD packet to send [08:12:12]OFD Sender: No OFD packet to send [08:12:17]OFD Sender: No OFD packet to send [08:12:22]OFD Sender: No OFD packet to send [08:12:27]OFD Sender: No OFD packet to send [08:12:32]OFD Sender: No OFD packet to send [08:12:37]OFD Sender: No OFD packet to send [08:12:42]OFD Sender: No OFD packet to send [08:12:47]OFD Sender: No OFD packet to send [08:12:52]OFD Sender: No OFD packet to send [08:12:57]OFD Sender: No OFD packet to send [08:13:02]OFD Sender: No OFD packet to send [08:13:07]OFD Sender: No OFD packet to send [08:13:12]OFD Sender: No OFD packet to send [08:13:17]OFD Sender: No OFD packet to send [08:13:22]OFD Sender: No OFD packet to send [08:13:27]OFD Sender: No OFD packet to send [08:13:32]OFD Sender: No OFD packet to send [08:13:37]OFD Sender: No OFD packet to send [08:13:42]OFD Sender: No OFD packet to send [08:13:47]OFD Sender: No OFD packet to send [08:13:52]OFD Sender: No OFD packet to send [08:13:57]OFD Sender: No OFD packet to send [08:14:02]OFD Sender: No OFD packet to send [08:14:07]OFD Sender: No OFD packet to send [08:14:12]OFD Sender: No OFD packet to send [08:14:17]OFD Sender: No OFD packet to send [08:14:22]OFD Sender: No OFD packet to send [08:14:27]OFD Sender: No OFD packet to send [08:14:28]accept exits with 7 [08:14:28]New connection [08:14:28]New thread 3066699108 created [08:14:28]Thread 3066555748 joined [08:14:28]Waiting for new connection... [08:14:28] Sock 7.Parse request [08:14:28]Sock 7.Check first char [08:14:28]Sock 7.First char is OK [08:14:28]request: POST /json_proto HTTP/1.0 [08:14:28]Method: POST [08:14:28]URL: /json_proto [08:14:28]Method is POST - this is cgi request [08:14:28]url: /json_proto [08:14:28]query_string will be loaded in cgi processing [08:14:28]execute_cgi json_proto POST (null) [08:14:28]execute_cgi path=json_proto method=POST [08:14:28]POST find Content-Length [08:14:28]Host: 172.17.53.68:8080 [08:14:28]Content-Length: 667 [08:14:28]Content-Type: application/json [08:14:28] [08:14:28]POST finish read [08:14:28]Found Content-Length = 667 [08:14:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76654", "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" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 119.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:14:28]execute_script... [08:14: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)76654", "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" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 119.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:14:28]POST & json_proto [08:14:28]process_json_proto [08:14:28]json parsed OK: [08:14:28]protocol is kg_v1.0 [08:14:28]action value=close_receipt [08:14:28]process_action close_receipt [08:14:28]cmd_close_receipt [08:14:28]MH_GetDate [08:14:28]Write to MH i2c: F0 00 00 03 1A 0C [08:14:28]Write i2c OK [08:14:28]MH_I2C_Read... [08:14:28]Read from MH i2c: F0 [08:14:28]MH_I2C_Read... [08:14:28]Read from MH i2c: F0 09 00 [08:14:28]MH_I2C_Read... [08:14:28]Read from MH i2c: F0 09 00 03 1A 00 EA BB 14 67 C5 A4 76 66 7A [08:14:28]GetLastDocTimeStamp 1729411280 [08:14:28]current date 1729412074 [08:14:28]FM_GetShiftState [08:14:28]SAM_PROTO_GetShiftState [08:14:28]wFMCommunicate request_size=4 [08:14:28]MH_SAM_APDU [08:14:28]CAPDU: 80 13 01 00 [08:14:28]Write to MH i2c: E2 08 00 04 1A 80 13 01 00 00 00 00 00 9B [08:14:28]Write i2c OK [08:14:28]MH_I2C_Read... [08:14:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:14:28]Read from MH i2c: E2 [08:14:28]MH_I2C_Read... [08:14:28]Read from MH i2c: E2 0E 00 [08:14:28]MH_I2C_Read... [08:14:28]Read from MH i2c: E2 0E 00 04 1A 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 F0 [08:14:28]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [08:14:28]wFMCommunicate OK [08:14:28]SAM_PROTO_GetShiftState done [08:14:28]FM_GetShiftState done [08:14:28]opened in 1729383299 [08:14:28]opened+sec_in_day 1729469699 [08:14:28]quantity*price = 11900 [08:14:28]sum+1 = 11901 [08:14:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 119.00 ÐСП 1% : 1.05 ÐДС 12% : 12.64 Ðаличными: 119.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 21 20.10.2024 08:14 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37173 ФПД: 39829054384982 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T081434&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37173&fm=39829054384982&tin=02508201610067®Number=0000000000098149&sum=11900 0 [08:14:29]StoreToDocumentArchive [08:14:29]shift 461 fd 37173 [08:14:29]save to /storage/0461/doc_00037173 [08:14:29]save last doc name /storage/0461/doc_00037173 to /storage/kkm_last_doc_name [08:14:29]save OK [08:14:29]Clear old archive folders... [08:14:29]ProcessDocumentItem done err = 0, tmpTLVsize=296 [08:14:29]tlvbuf is 00983AD0 [08:14:29]SAM_PROTO_ClearQueue [08:14:29]wFMCommunicate request_size=4 [08:14:29]MH_SAM_APDU [08:14:29]CAPDU: 80 09 00 00 [08:14:29]Write to MH i2c: E2 08 00 11 1A 80 09 00 00 00 00 00 00 9D [08:14:29]Write i2c OK [08:14:29]MH_I2C_Read... [08:14:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:14:29]Read from MH i2c: E2 [08:14:29]MH_I2C_Read... [08:14:29]Read from MH i2c: E2 03 00 [08:14:29]MH_I2C_Read... [08:14:29]Read from MH i2c: E2 03 00 11 1A 00 90 00 9F [08:14:29]RAPDU: 90 00 [08:14:29]wFMCommunicate OK [08:14:29]SAM_PROTO_ClearQueue done [08:14:29]KKMCreateOFDPacket [08:14:29]OFDProtocolAddRootSTLVToBuf [08:14:29]FM_MakeSignedData [08:14:29]FM_MakeSignedData [08:14:29]SAM_PROTO_SignData [08:14:29]wFMCommunicate request_size=4 [08:14:29]MH_SAM_APDU [08:14:29]CAPDU: 80 0D 01 02 [08:14:29]Write to MH i2c: E2 08 00 12 1A 80 0D 01 02 00 00 00 00 A5 [08:14:29]Write i2c OK [08:14:29]MH_I2C_Read... [08:14:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:14:29]Read from MH i2c: E2 [08:14:29]MH_I2C_Read... [08:14:29]Read from MH i2c: E2 03 00 [08:14:29]MH_I2C_Read... [08:14:29]Read from MH i2c: E2 03 00 12 1A 00 90 00 A0 [08:14:29]RAPDU: 90 00 [08:14:29]wFMCommunicate OK [08:14:29]wFMCommunicate request_size=255 [08:14:29]MH_SAM_APDU [08:14:29]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 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 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 7C 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 15 00 00 00 F4 03 04 00 EA BB 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 [08:14:29]Write to MH i2c: E2 02 01 13 1A 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 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 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 7C 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 15 00 00 00 F4 03 04 00 EA BB 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 00 00 BF [08:14:29]Write i2c OK [08:14:29]MH_I2C_Read... [08:14:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:14:30]Read from MH i2c: E2 [08:14:30]MH_I2C_Read... [08:14:30]Read from MH i2c: E2 03 00 [08:14:30]MH_I2C_Read... [08:14:30]Read from MH i2c: E2 03 00 13 1A 00 90 00 A1 [08:14:30]RAPDU: 90 00 [08:14:30]wFMCommunicate OK [08:14:30]wFMCommunicate request_size=55 [08:14:30]MH_SAM_APDU [08:14:30]CAPDU: 80 0D 02 02 32 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 35 91 00 00 35 04 06 00 24 39 6C A3 6B 56 [08:14:30]Write to MH i2c: E2 3A 00 14 1A 80 0D 02 02 32 00 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 35 91 00 00 35 04 06 00 24 39 6C A3 6B 56 00 00 FA [08:14:30]Write i2c OK [08:14:30]MH_I2C_Read... [08:14:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:14:30]Read from MH i2c: E2 [08:14:30]MH_I2C_Read... [08:14:30]Read from MH i2c: E2 03 00 [08:14:30]MH_I2C_Read... [08:14:30]Read from MH i2c: E2 03 00 14 1A 00 90 00 A2 [08:14:30]RAPDU: 90 00 [08:14:30]wFMCommunicate OK [08:14:30]wFMCommunicate request_size=4 [08:14:30]MH_SAM_APDU [08:14:30]CAPDU: 80 0D 03 02 [08:14:30]Write to MH i2c: E2 08 00 15 1A 80 0D 03 02 00 00 00 00 AA [08:14:30]Write i2c OK [08:14:30]MH_I2C_Read... [08:14:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:14:30]Read from MH i2c: E2 [08:14:30]MH_I2C_Read... [08:14:30]Read from MH i2c: E2 0B 00 [08:14:30]MH_I2C_Read... [08:14:30]Read from MH i2c: E2 0B 00 15 1A 00 40 88 31 6A 67 76 0B C6 90 00 BC [08:14:30]RAPDU: 40 88 31 6A 67 76 0B C6 90 00 [08:14:30]wFMCommunicate OK [08:14:30]SAM_PROTO_SignData done [08:14:30]FM_MakeSignedData done [08:14:30]CreateOFDProtocolMessage [08:14:30]wFMCommunicate request_size=4 [08:14:30]MH_SAM_APDU [08:14:30]CAPDU: 80 11 00 00 [08:14:30]Write to MH i2c: E2 08 00 16 1A 80 11 00 00 00 00 00 00 AA [08:14:30]Write i2c OK [08:14:30]MH_I2C_Read... [08:14:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:14:30]Read from MH i2c: E2 [08:14:30]MH_I2C_Read... [08:14:30]Read from MH i2c: E2 17 00 [08:14:30]MH_I2C_Read... [08:14:30]Read from MH i2c: E2 17 00 16 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 FD [08:14:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [08:14:30]wFMCommunicate OK [08:14:30]CreateOFDProtocolMessage done [08:14:30]OFDSenderStorePacket 37173 [08:14:30]StoreOFDPacket docnum=37173 [08:14:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 3C 01 00 00 D9 4F 34 01 6C C8 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 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 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 7C 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 15 00 00 00 F4 03 04 00 EA BB 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 35 91 00 00 35 04 06 00 24 39 6C A3 6B 56 40 88 31 6A 67 76 0B C6 [08:14:30]CheckFolder [08:14:30]dirname=/storage/ofd_packets [08:14:30]CheckFolder done [08:14:30]ProducePacketName [08:14:30]name=ofd_packets/00037173 [08:14:30]NVStorageSaveData ofd_packets/00037173 [08:14:30]File name is /storage/ofd_packets/00037173 [08:14:30]Write 346 bytes [08:14:30]NVStorageSaveData done [08:14:30]OFDSenderStorePacket done [08:14:30]KKMCreateOFDPacket done [08:14:30]NVStorageSaveData kkm_last_timestamp [08:14:30]File name is /storage/kkm_last_timestamp [08:14:30]Write 4 bytes [08:14:30]NVStorageSaveData done [08:14:30]ExternCall_PrintAddStr [08:14:30]wPrintStart [08:14:30]Write to MH i2c: 01 00 00 17 1A 31 [08:14:30]Write i2c OK [08:14:30]MH_I2C_Read... [08:14:30]Read from MH i2c: 01 [08:14:30]MH_I2C_Read... [08:14:30]Read from MH i2c: 01 07 00 [08:14:30]MH_I2C_Read... [08:14:30]Read from MH i2c: 01 07 00 17 1A 00 00 00 00 00 FF 0F 46 [08:14:30]RasterBufferAndPrint [08:14:30]line Счет N : (3)76654 [08:14:30]line ИÐÐ: 02508201610067 [08:14:30]line Контрольно-КаÑÑовый Чек [08:14:30]line ПРОДÐЖР[08:14:30]line Товар: 4870002329951 [08:14:30]line Ðапиток Lipton IceTea 1л зел чай Regular [08:14:30]line 1.000 * 119.00 [08:14:30]line = 119.00 [08:14:30]line ÐДС 12% ÐСП 1% [08:14:30]line > о реализуемом товаре [08:14:30]line ИТОГО: 119.00 [08:14:30]line ÐСП 1% : 1.05 [08:14:30]line ÐДС 12% : 12.64 [08:14:30]line Ðаличными: 119.00 [08:14:30]line Безнал.: 0.00 [08:14:30]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [08:14:30]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [08:14:30]line СÐО: Общий режим [08:14:30]line Чек 21 20.10.2024 08:14 [08:14:30]line Смена: 461 ФФД: 1.0 [08:14:30]line ЗÐМ: 0300000235 [08:14:30]line РÐМ: 0000000000098149 [08:14:30]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [08:14:30]line ФМ: 0000000000965372 [08:14:30]line ФД: 37173 [08:14:30]line ФПД: 39829054384982 [08:14:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T081434&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37173&fm=39829054384982&tin=02508201610067®Number=0000000000098149&sum=11900 [08:14:30]line 0 [08:14:30]OFD Sender: Processing packet 37173 [packets to send 25, broken 24] [08:14:30]ProducePacketName [08:14:30]name=ofd_packets/00037173 [08:14:30]OFD Sender: To server: ‡•öpG, [08:14:30]CommunicateWithHost lk.salyk.kg:30040 [08:14:30]ConnectInit lk.salyk.kg [08:14:30]written 0, free lines is 4095 [08:14:30]Connected sock=10 [08:14: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 33 37 32 3C 01 00 00 D9 4F 34 01 6C C8 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 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 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 7C 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 15 00 00 00 F4 03 04 00 EA BB 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 35 91 00 00 35 04 06 00 24 39 6C A3 6B 56 40 88 31 6A 67 76 0B C6 [08:14:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 D2 EB 47 00 81 B3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 35 91 00 00 F4 03 04 00 7D 64 14 67 B6 04 01 00 00 C7 AC 11 22 7A 86 7C CA [08:14:30]CommunicateWithHost err = 0 [08:14:30]CheckOFDResponse [08:14:30]1017 (14) - 77093643461234 [08:14:30]1041 (16) - 0000000000965372 [08:14:30]1040 (4) - 37173 [08:14:30]1012 (4) - 20.10.2024 02:01 [08:14:30]1206 (1) - 0 [08:14:30]OFD Sender: Remove packet 37173 [08:14:30]ProducePacketName [08:14:30]name=ofd_packets/00037173 [08:14:30]NVStorageDeleteData [08:14:30]Write to MH i2c: 01 00 00 40 1A 5A [08:14:30]Write i2c OK [08:14:30]MH_I2C_Read... [08:14:30]Read from MH i2c: 01 [08:14:30]MH_I2C_Read... [08:14:30]Read from MH i2c: 01 07 00 [08:14:30]MH_I2C_Read... [08:14:30]Read from MH i2c: 01 07 00 40 1A 00 00 00 00 00 E7 0C 54 [08:14:30]RasterBufferAndPrint [08:14:30]line [08:14:30]line [08:14:30]line [08:14:30]line [08:14:30]line [08:14:30]written 0, free lines is 3310 [08:14:31]process_action close_receipt done [08:14:31]requested_data is exist [08:14:31]produce_requested_data [08:14:31]requested_item fm.sn is exist - process it [08:14:31]wFMCommunicate request_size=4 [08:14:31]MH_SAM_APDU [08:14:31]CAPDU: 80 11 00 00 [08:14:31]Write to MH i2c: E2 08 00 47 1A 80 11 00 00 00 00 00 00 DB [08:14:31]Write i2c OK [08:14:31]MH_I2C_Read... [08:14:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:14:31]Read from MH i2c: E2 [08:14:31]MH_I2C_Read... [08:14:31]Read from MH i2c: E2 17 00 [08:14:31]MH_I2C_Read... [08:14:31]Read from MH i2c: E2 17 00 47 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 2E [08:14:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [08:14:31]wFMCommunicate OK [08:14:31]requested_item fd.num is exist - process it [08:14:31]SAM_PROTO_GetFieldsCounters [08:14:31]wFMCommunicate request_size=4 [08:14:31]MH_SAM_APDU [08:14:31]CAPDU: 80 13 00 00 [08:14:31]Write to MH i2c: E2 08 00 48 1A 80 13 00 00 00 00 00 00 DE [08:14:31]Write i2c OK [08:14:31]MH_I2C_Read... [08:14:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:14:31]Read from MH i2c: E2 [08:14:31]MH_I2C_Read... [08:14:31]Read from MH i2c: E2 62 00 [08:14:31]MH_I2C_Read... [08:14:31]Read from MH i2c: E2 62 00 48 1A 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 35 91 00 00 0E 04 04 00 CD 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 D8 [08:14:31]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 35 91 00 00 0E 04 04 00 CD 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 [08:14:31]wFMCommunicate OK [08:14:31]SAM_PROTO_GetFieldsCounters done [08:14:31]requested_item shift.num is exist - process it [08:14:31]requested_item shift.opened is exist - process it [08:14:31]req_shift_opened [08:14:31]FM_GetShiftState [08:14:31]SAM_PROTO_GetShiftState [08:14:31]wFMCommunicate request_size=4 [08:14:31]MH_SAM_APDU [08:14:31]CAPDU: 80 13 01 00 [08:14:31]Write to MH i2c: E2 08 00 49 1A 80 13 01 00 00 00 00 00 E0 [08:14:31]Write i2c OK [08:14:31]MH_I2C_Read... [08:14:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:14:31]Read from MH i2c: E2 [08:14:31]MH_I2C_Read... [08:14:31]Read from MH i2c: E2 0E 00 [08:14:31]MH_I2C_Read... [08:14:31]Read from MH i2c: E2 0E 00 49 1A 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 35 [08:14:31]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [08:14:31]wFMCommunicate OK [08:14:31]SAM_PROTO_GetShiftState done [08:14:31]FM_GetShiftState done [08:14:31]req_shift_opened done [08:14:31]requested_item shift.open_date is exist - process it [08:14:31]req_shift_open_date [08:14:31]req_shift_open_date done [08:14:31]produce_requested_data done [08:14:31]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37173,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [08:14:31]process_action_free close_receipt [08:14:31]json_value_free [08:14:31]json_value_free done [08:14:31]process_json_proto returns [08:14:31]Send response to host [08:14:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37173,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [08:14:31]free response buf [08:14:31]execute_script done [08:14:31]execute_script returns [08:14:31]free content buf [08:14:31]Sock 7.Close socket [08:14:31]Sock 7.Thread stoped [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:51]OFD Sender: No OFD packet to send [08:16:56]OFD Sender: No OFD packet to send [08:17:01]OFD Sender: No OFD packet to send [08:17:06]OFD Sender: No OFD packet to send [08:17:11]OFD Sender: No OFD packet to send [08:17:16]OFD Sender: No OFD packet to send [08:17:21]OFD Sender: No OFD packet to send [08:17:26]OFD Sender: No OFD packet to send [08:17:31]OFD Sender: No OFD packet to send [08:17:36]OFD Sender: No OFD packet to send [08:17:41]OFD Sender: No OFD packet to send [08:17:46]OFD Sender: No OFD packet to send [08:17:51]OFD Sender: No OFD packet to send [08:17:56]OFD Sender: No OFD packet to send [08:18:01]OFD Sender: No OFD packet to send [08:18:06]OFD Sender: No OFD packet to send [08:18:11]OFD Sender: No OFD packet to send [08:18:16]OFD Sender: No OFD packet to send [08:18:19]accept exits with 9 [08:18:19]New connection [08:18:19]New thread 3066555748 created [08:18:19]Thread 3066699108 joined [08:18:19]Waiting for new connection... [08:18:19] Sock 9.Parse request [08:18:19]Sock 9.Check first char [08:18:19]Sock 9.First char is OK [08:18:19]request: POST /json_proto HTTP/1.0 [08:18:19]Method: POST [08:18:19]URL: /json_proto [08:18:19]Method is POST - this is cgi request [08:18:19]url: /json_proto [08:18:19]query_string will be loaded in cgi processing [08:18:19]execute_cgi json_proto POST (null) [08:18:19]execute_cgi path=json_proto method=POST [08:18:19]POST find Content-Length [08:18:19]Host: 172.17.53.68:8080 [08:18:19]Content-Length: 584 [08:18:19]Content-Type: application/json [08:18:19] [08:18:19]POST finish read [08:18:19]Found Content-Length = 584 [08:18:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76655", "tax_sys" : 0, "items" : [ { "code": "50173808", "name": "\u0416\u0435\u0432 Orbit Sweet Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:18:19]execute_script... [08:18:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76655", "tax_sys" : 0, "items" : [ { "code": "50173808", "name": "\u0416\u0435\u0432 Orbit Sweet Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:18:19]POST & json_proto [08:18:19]process_json_proto [08:18:19]json parsed OK: [08:18:19]protocol is kg_v1.0 [08:18:19]action value=close_receipt [08:18:19]process_action close_receipt [08:18:19]cmd_close_receipt [08:18:19]MH_GetDate [08:18:19]Write to MH i2c: F0 00 00 4A 1A 53 [08:18:19]Write i2c OK [08:18:19]MH_I2C_Read... [08:18:19]Read from MH i2c: F0 [08:18:19]MH_I2C_Read... [08:18:19]Read from MH i2c: F0 09 00 [08:18:19]MH_I2C_Read... [08:18:19]Read from MH i2c: F0 09 00 4A 1A 00 D1 BC 14 67 C5 A4 76 66 A9 [08:18:19]GetLastDocTimeStamp 1729412074 [08:18:19]current date 1729412305 [08:18:19]FM_GetShiftState [08:18:19]SAM_PROTO_GetShiftState [08:18:19]wFMCommunicate request_size=4 [08:18:19]MH_SAM_APDU [08:18:19]CAPDU: 80 13 01 00 [08:18:19]Write to MH i2c: E2 08 00 4B 1A 80 13 01 00 00 00 00 00 E2 [08:18:19]Write i2c OK [08:18:19]MH_I2C_Read... [08:18:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:18:19]Read from MH i2c: E2 [08:18:19]MH_I2C_Read... [08:18:19]Read from MH i2c: E2 0E 00 [08:18:19]MH_I2C_Read... [08:18:19]Read from MH i2c: E2 0E 00 4B 1A 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 37 [08:18:19]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [08:18:19]wFMCommunicate OK [08:18:19]SAM_PROTO_GetShiftState done [08:18:19]FM_GetShiftState done [08:18:19]opened in 1729383299 [08:18:19]opened+sec_in_day 1729469699 [08:18:19]quantity*price = 4500 [08:18:19]sum+1 = 4501 [08:18:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 ÐСП 1% : 0.40 ÐДС 12% : 4.78 Ðаличными: 45.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 22 20.10.2024 08:18 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37174 ФПД: 196770878332892 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T081825&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37174&fm=196770878332892&tin=02508201610067®Number=0000000000098149&sum=4500 0 [08:18:20]StoreToDocumentArchive [08:18:20]shift 461 fd 37174 [08:18:20]save to /storage/0461/doc_00037174 [08:18:20]save last doc name /storage/0461/doc_00037174 to /storage/kkm_last_doc_name [08:18:20]save OK [08:18:20]Clear old archive folders... [08:18:20]ProcessDocumentItem done err = 0, tmpTLVsize=260 [08:18:20]tlvbuf is 00999840 [08:18:20]SAM_PROTO_ClearQueue [08:18:20]wFMCommunicate request_size=4 [08:18:20]MH_SAM_APDU [08:18:20]CAPDU: 80 09 00 00 [08:18:20]Write to MH i2c: E2 08 00 58 1A 80 09 00 00 00 00 00 00 E4 [08:18:20]Write i2c OK [08:18:20]MH_I2C_Read... [08:18:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:18:20]Read from MH i2c: E2 [08:18:20]MH_I2C_Read... [08:18:20]Read from MH i2c: E2 03 00 [08:18:20]MH_I2C_Read... [08:18:20]Read from MH i2c: E2 03 00 58 1A 00 90 00 E6 [08:18:20]RAPDU: 90 00 [08:18:20]wFMCommunicate OK [08:18:20]SAM_PROTO_ClearQueue done [08:18:20]KKMCreateOFDPacket [08:18:20]OFDProtocolAddRootSTLVToBuf [08:18:20]FM_MakeSignedData [08:18:20]FM_MakeSignedData [08:18:20]SAM_PROTO_SignData [08:18:20]wFMCommunicate request_size=4 [08:18:20]MH_SAM_APDU [08:18:20]CAPDU: 80 0D 01 02 [08:18:20]Write to MH i2c: E2 08 00 59 1A 80 0D 01 02 00 00 00 00 EC [08:18:20]Write i2c OK [08:18:20]MH_I2C_Read... [08:18:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:18:20]Read from MH i2c: E2 [08:18:20]MH_I2C_Read... [08:18:20]Read from MH i2c: E2 03 00 [08:18:20]MH_I2C_Read... [08:18:20]Read from MH i2c: E2 03 00 59 1A 00 90 00 E7 [08:18:20]RAPDU: 90 00 [08:18:20]wFMCommunicate OK [08:18:20]wFMCommunicate request_size=255 [08:18:20]MH_SAM_APDU [08:18:20]CAPDU: 80 0D 02 02 FA 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 D1 BC 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 [08:18:20]Write to MH i2c: E2 02 01 5A 1A 80 0D 02 02 FA 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 D1 BC 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 00 00 EA [08:18:20]Write i2c OK [08:18:20]MH_I2C_Read... [08:18:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:18:21]Read from MH i2c: E2 [08:18:21]MH_I2C_Read... [08:18:21]Read from MH i2c: E2 03 00 [08:18:21]MH_I2C_Read... [08:18:21]Read from MH i2c: E2 03 00 5A 1A 00 90 00 E8 [08:18:21]RAPDU: 90 00 [08:18:21]wFMCommunicate OK [08:18:21]wFMCommunicate request_size=19 [08:18:21]MH_SAM_APDU [08:18:21]CAPDU: 80 0D 02 02 0E 36 91 00 00 35 04 06 00 B2 F6 4A 4E 1F DC [08:18:21]Write to MH i2c: E2 16 00 5B 1A 80 0D 02 02 0E 00 36 91 00 00 35 04 06 00 B2 F6 4A 4E 1F DC 00 00 4C [08:18:21]Write i2c OK [08:18:21]MH_I2C_Read... [08:18:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:18:21]Read from MH i2c: E2 [08:18:21]MH_I2C_Read... [08:18:21]Read from MH i2c: E2 03 00 [08:18:21]MH_I2C_Read... [08:18:21]Read from MH i2c: E2 03 00 5B 1A 00 90 00 E9 [08:18:21]RAPDU: 90 00 [08:18:21]wFMCommunicate OK [08:18:21]wFMCommunicate request_size=4 [08:18:21]MH_SAM_APDU [08:18:21]CAPDU: 80 0D 03 02 [08:18:21]Write to MH i2c: E2 08 00 5C 1A 80 0D 03 02 00 00 00 00 F1 [08:18:21]Write i2c OK [08:18:21]MH_I2C_Read... [08:18:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:18:21]Read from MH i2c: E2 [08:18:21]MH_I2C_Read... [08:18:21]Read from MH i2c: E2 0B 00 [08:18:21]MH_I2C_Read... [08:18:21]Read from MH i2c: E2 0B 00 5C 1A 00 95 A3 D7 80 5C E5 B0 02 90 00 74 [08:18:21]RAPDU: 95 A3 D7 80 5C E5 B0 02 90 00 [08:18:21]wFMCommunicate OK [08:18:21]SAM_PROTO_SignData done [08:18:21]FM_MakeSignedData done [08:18:21]CreateOFDProtocolMessage [08:18:21]wFMCommunicate request_size=4 [08:18:21]MH_SAM_APDU [08:18:21]CAPDU: 80 11 00 00 [08:18:21]Write to MH i2c: E2 08 00 5D 1A 80 11 00 00 00 00 00 00 F1 [08:18:21]Write i2c OK [08:18:21]MH_I2C_Read... [08:18:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:18:21]Read from MH i2c: E2 [08:18:21]MH_I2C_Read... [08:18:21]Read from MH i2c: E2 17 00 [08:18:21]MH_I2C_Read... [08:18:21]Read from MH i2c: E2 17 00 5D 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 44 [08:18:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [08:18:21]wFMCommunicate OK [08:18:21]CreateOFDProtocolMessage done [08:18:21]OFDSenderStorePacket 37174 [08:18:21]StoreOFDPacket docnum=37174 [08:18:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 18 01 00 00 BF 7C 10 01 8F 34 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 D1 BC 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 36 91 00 00 35 04 06 00 B2 F6 4A 4E 1F DC 95 A3 D7 80 5C E5 B0 02 [08:18:21]CheckFolder [08:18:21]dirname=/storage/ofd_packets [08:18:21]CheckFolder done [08:18:21]ProducePacketName [08:18:21]name=ofd_packets/00037174 [08:18:21]NVStorageSaveData ofd_packets/00037174 [08:18:21]File name is /storage/ofd_packets/00037174 [08:18:21]Write 310 bytes [08:18:21]NVStorageSaveData done [08:18:21]OFDSenderStorePacket done [08:18:21]KKMCreateOFDPacket done [08:18:21]NVStorageSaveData kkm_last_timestamp [08:18:21]File name is /storage/kkm_last_timestamp [08:18:21]Write 4 bytes [08:18:21]OFD Sender: Processing packet 37174 [packets to send 25, broken 24] [08:18:21]ProducePacketName [08:18:21]name=ofd_packets/00037174 [08:18:21]OFD Sender: To server: ‡•öpG, [08:18:21]CommunicateWithHost lk.salyk.kg:30040 [08:18:21]ConnectInit lk.salyk.kg [08:18:21]NVStorageSaveData done [08:18:21]ExternCall_PrintAddStr [08:18:21]wPrintStart [08:18:21]Write to MH i2c: 01 00 00 5E 1A 78 [08:18:21]Write i2c OK [08:18:21]MH_I2C_Read... [08:18:21]Read from MH i2c: 01 [08:18:21]MH_I2C_Read... [08:18:21]Read from MH i2c: 01 07 00 [08:18:21]MH_I2C_Read... [08:18:21]Read from MH i2c: 01 07 00 5E 1A 00 00 00 00 00 FF 0F 8D [08:18:21]RasterBufferAndPrint [08:18:21]line Счет N : (3)76655 [08:18:21]line ИÐÐ: 02508201610067 [08:18:21]line Контрольно-КаÑÑовый Чек [08:18:21]line ПРОДÐЖР[08:18:21]line Товар: 50173808 [08:18:21]line Жев Orbit Sweet Mint [08:18:21]line 1.000 * 45.00 [08:18:21]line = 45.00 [08:18:21]line ÐДС 12% ÐСП 1% [08:18:21]line > о реализуемом товаре [08:18:21]line ИТОГО: 45.00 [08:18:21]line ÐСП 1% : 0.40 [08:18:21]line ÐДС 12% : 4.78 [08:18:21]line Ðаличными: 45.00 [08:18:21]line Безнал.: 0.00 [08:18:21]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [08:18:21]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [08:18:21]line СÐО: Общий режим [08:18:21]line Чек 22 20.10.2024 08:18 [08:18:21]line Смена: 461 ФФД: 1.0 [08:18:21]line ЗÐМ: 0300000235 [08:18:21]line РÐМ: 0000000000098149 [08:18:21]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [08:18:21]line ФМ: 0000000000965372 [08:18:21]line ФД: 37174 [08:18:21]line ФПД: 196770878332892 [08:18:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T081825&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37174&fm=196770878332892&tin=02508201610067®Number=0000000000098149&sum=4500 [08:18:21]line 0 [08:18:21]Connected sock=11 [08:18:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 18 01 00 00 BF 7C 10 01 8F 34 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 D1 BC 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 36 91 00 00 35 04 06 00 B2 F6 4A 4E 1F DC 95 A3 D7 80 5C E5 B0 02 [08:18:21]written 0, free lines is 4095 [08:18:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 FC 88 47 00 52 8D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 36 91 00 00 F4 03 04 00 64 65 14 67 B6 04 01 00 00 56 CB D5 85 DE F8 8C 08 [08:18:21]CommunicateWithHost err = 0 [08:18:21]CheckOFDResponse [08:18:21]1017 (14) - 77093643461234 [08:18:21]1041 (16) - 0000000000965372 [08:18:21]1040 (4) - 37174 [08:18:21]1012 (4) - 20.10.2024 02:05 [08:18:21]1206 (1) - 0 [08:18:21]OFD Sender: Remove packet 37174 [08:18:21]ProducePacketName [08:18:21]name=ofd_packets/00037174 [08:18:21]NVStorageDeleteData [08:18:21]Write to MH i2c: 01 00 00 86 1A A0 [08:18:21]Write i2c OK [08:18:21]MH_I2C_Read... [08:18:21]Read from MH i2c: 01 [08:18:21]MH_I2C_Read... [08:18:21]Read from MH i2c: 01 07 00 [08:18:21]MH_I2C_Read... [08:18:21]Read from MH i2c: 01 07 00 86 1A 00 00 00 00 00 FF 0C B2 [08:18:21]RasterBufferAndPrint [08:18:21]line [08:18:21]line [08:18:21]line [08:18:21]line [08:18:21]line [08:18:21]written 0, free lines is 3332 [08:18:21]process_action close_receipt done [08:18:21]requested_data is exist [08:18:21]produce_requested_data [08:18:21]requested_item fm.sn is exist - process it [08:18:21]wFMCommunicate request_size=4 [08:18:21]MH_SAM_APDU [08:18:21]CAPDU: 80 11 00 00 [08:18:21]Write to MH i2c: E2 08 00 8D 1A 80 11 00 00 00 00 00 00 21 [08:18:21]Write i2c OK [08:18:21]MH_I2C_Read... [08:18:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:18:22]Read from MH i2c: E2 [08:18:22]MH_I2C_Read... [08:18:22]Read from MH i2c: E2 17 00 [08:18:22]MH_I2C_Read... [08:18:22]Read from MH i2c: E2 17 00 8D 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 74 [08:18:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [08:18:22]wFMCommunicate OK [08:18:22]requested_item fd.num is exist - process it [08:18:22]SAM_PROTO_GetFieldsCounters [08:18:22]wFMCommunicate request_size=4 [08:18:22]MH_SAM_APDU [08:18:22]CAPDU: 80 13 00 00 [08:18:22]Write to MH i2c: E2 08 00 8E 1A 80 13 00 00 00 00 00 00 24 [08:18:22]Write i2c OK [08:18:22]MH_I2C_Read... [08:18:22]Read from MH i2c: E2 [08:18:22]MH_I2C_Read... [08:18:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:18:22]Read from MH i2c: E2 62 00 [08:18:22]MH_I2C_Read... [08:18:22]Read from MH i2c: E2 62 00 8E 1A 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 36 91 00 00 0E 04 04 00 CD 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 22 [08:18: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 36 91 00 00 0E 04 04 00 CD 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 [08:18:22]wFMCommunicate OK [08:18:22]SAM_PROTO_GetFieldsCounters done [08:18:22]requested_item shift.num is exist - process it [08:18:22]requested_item shift.opened is exist - process it [08:18:22]req_shift_opened [08:18:22]FM_GetShiftState [08:18:22]SAM_PROTO_GetShiftState [08:18:22]wFMCommunicate request_size=4 [08:18:22]MH_SAM_APDU [08:18:22]CAPDU: 80 13 01 00 [08:18:22]Write to MH i2c: E2 08 00 8F 1A 80 13 01 00 00 00 00 00 26 [08:18:22]Write i2c OK [08:18:22]MH_I2C_Read... [08:18:22]OFD Sender: No OFD packet to send [08:18:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:18:22]Read from MH i2c: E2 [08:18:22]MH_I2C_Read... [08:18:22]Read from MH i2c: E2 0E 00 [08:18:22]MH_I2C_Read... [08:18:22]Read from MH i2c: E2 0E 00 8F 1A 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 7B [08:18:22]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [08:18:22]wFMCommunicate OK [08:18:22]SAM_PROTO_GetShiftState done [08:18:22]FM_GetShiftState done [08:18:22]req_shift_opened done [08:18:22]requested_item shift.open_date is exist - process it [08:18:22]req_shift_open_date [08:18:22]req_shift_open_date done [08:18:22]produce_requested_data done [08:18:22]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37174,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [08:18:22]process_action_free close_receipt [08:18:22]json_value_free [08:18:22]json_value_free done [08:18:22]process_json_proto returns [08:18:22]Send response to host [08:18:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37174,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [08:18:22]free response buf [08:18:22]execute_script done [08:18:22]execute_script returns [08:18:22]free content buf [08:18:22]Sock 9.Close socket [08:18:22]Sock 9.Thread stoped [08:18:27]OFD Sender: No OFD packet to send [08:18:32]OFD Sender: No OFD packet to send [08:18:37]OFD Sender: No OFD packet to send [08:18:42]OFD Sender: No OFD packet to send [08:18:47]OFD Sender: No OFD packet to send [08:18:52]OFD Sender: No OFD packet to send [08:18:57]OFD Sender: No OFD packet to send [08:19:02]OFD Sender: No OFD packet to send [08:19:07]OFD Sender: No OFD packet to send [08:19:12]OFD Sender: No OFD packet to send [08:19:17]OFD Sender: No OFD packet to send [08:19:22]OFD Sender: No OFD packet to send [08:19:27]OFD Sender: No OFD packet to send [08:19:32]OFD Sender: No OFD packet to send [08:19:37]OFD Sender: No OFD packet to send [08:19:42]OFD Sender: No OFD packet to send [08:19:47]OFD Sender: No OFD packet to send [08:19:52]OFD Sender: No OFD packet to send [08:19:57]OFD Sender: No OFD packet to send [08:20:02]OFD Sender: No OFD packet to send [08:20:07]OFD Sender: No OFD packet to send [08:20:12]OFD Sender: No OFD packet to send [08:20:17]OFD Sender: No OFD packet to send [08:20:22]OFD Sender: No OFD packet to send [08:20:27]OFD Sender: No OFD packet to send [08:20:32]OFD Sender: No OFD packet to send [08:20:37]OFD Sender: No OFD packet to send [08:20:42]OFD Sender: No OFD packet to send [08:20:47]OFD Sender: No OFD packet to send [08:20:52]OFD Sender: No OFD packet to send [08:20:57]OFD Sender: No OFD packet to send [08:21:02]OFD Sender: No OFD packet to send [08:21:07]OFD Sender: No OFD packet to send [08:21:12]OFD Sender: No OFD packet to send [08:21:17]OFD Sender: No OFD packet to send [08:21:22]OFD Sender: No OFD packet to send [08:21:27]OFD Sender: No OFD packet to send [08:21:32]OFD Sender: No OFD packet to send [08:21:37]OFD Sender: No OFD packet to send [08:21:42]OFD Sender: No OFD packet to send [08:21:47]OFD Sender: No OFD packet to send [08:21:52]OFD Sender: No OFD packet to send [08:21:57]OFD Sender: No OFD packet to send [08:22:02]OFD Sender: No OFD packet to send [08:22:07]OFD Sender: No OFD packet to send [08:22:12]OFD Sender: No OFD packet to send [08:22:17]OFD Sender: No OFD packet to send [08:22:22]OFD Sender: No OFD packet to send [08:22:27]OFD Sender: No OFD packet to send [08:22:32]OFD Sender: No OFD packet to send [08:22:37]OFD Sender: No OFD packet to send [08:22:42]OFD Sender: No OFD packet to send [08:22:47]OFD Sender: No OFD packet to send [08:22:52]OFD Sender: No OFD packet to send [08:22:57]OFD Sender: No OFD packet to send [08:23:02]OFD Sender: No OFD packet to send [08:23:07]OFD Sender: No OFD packet to send [08:23:12]OFD Sender: No OFD packet to send [08:23:17]OFD Sender: No OFD packet to send [08:23:22]OFD Sender: No OFD packet to send [08:23:27]OFD Sender: No OFD packet to send [08:23:32]OFD Sender: No OFD packet to send [08:23:37]OFD Sender: No OFD packet to send [08:23:42]OFD Sender: No OFD packet to send [08:23:47]OFD Sender: No OFD packet to send [08:23:52]OFD Sender: No OFD packet to send [08:23:57]OFD Sender: No OFD packet to send [08:24:02]OFD Sender: No OFD packet to send [08:24:07]OFD Sender: No OFD packet to send [08:24:12]OFD Sender: No OFD packet to send [08:24:17]OFD Sender: No OFD packet to send [08:24:22]OFD Sender: No OFD packet to send [08:24:27]OFD Sender: No OFD packet to send [08:24:32]OFD Sender: No OFD packet to send [08:24:37]OFD Sender: No OFD packet to send [08:24:42]OFD Sender: No OFD packet to send [08:24:47]OFD Sender: No OFD packet to send [08:24:52]OFD Sender: No OFD packet to send [08:24:57]OFD Sender: No OFD packet to send [08:25:02]OFD Sender: No OFD packet to send [08:25:07]OFD Sender: No OFD packet to send [08:25:12]OFD Sender: No OFD packet to send [08:25:17]OFD Sender: No OFD packet to send [08:25:22]OFD Sender: No OFD packet to send [08:25:27]OFD Sender: No OFD packet to send [08:25:32]OFD Sender: No OFD packet to send [08:25:37]OFD Sender: No OFD packet to send [08:25:42]OFD Sender: No OFD packet to send [08:25:47]OFD Sender: No OFD packet to send [08:25:52]OFD Sender: No OFD packet to send [08:25:57]OFD Sender: No OFD packet to send [08:26:02]OFD Sender: No OFD packet to send [08:26:07]OFD Sender: No OFD packet to send [08:26:12]OFD Sender: No OFD packet to send [08:26:17]OFD Sender: No OFD packet to send [08:26:22]OFD Sender: No OFD packet to send [08:26:27]OFD Sender: No OFD packet to send [08:26:32]OFD Sender: No OFD packet to send [08:26:37]OFD Sender: No OFD packet to send [08:26:42]OFD Sender: No OFD packet to send [08:26:47]OFD Sender: No OFD packet to send [08:26:52]OFD Sender: No OFD packet to send [08:26:57]OFD Sender: No OFD packet to send [08:27:02]OFD Sender: No OFD packet to send [08:27:07]OFD Sender: No OFD packet to send [08:27:12]OFD Sender: No OFD packet to send [08:27:17]OFD Sender: No OFD packet to send [08:27:22]OFD Sender: No OFD packet to send [08:27:27]OFD Sender: No OFD packet to send [08:27:32]OFD Sender: No OFD packet to send [08:27:37]OFD Sender: No OFD packet to send [08:27:42]OFD Sender: No OFD packet to send [08:27:47]OFD Sender: No OFD packet to send [08:27:52]OFD Sender: No OFD packet to send [08:27:57]OFD Sender: No OFD packet to send [08:28:02]OFD Sender: No OFD packet to send [08:28:07]OFD Sender: No OFD packet to send [08:28:12]OFD Sender: No OFD packet to send [08:28:17]OFD Sender: No OFD packet to send [08:28:22]OFD Sender: No OFD packet to send [08:28:27]OFD Sender: No OFD packet to send [08:28:32]OFD Sender: No OFD packet to send [08:28:37]OFD Sender: No OFD packet to send [08:28:42]OFD Sender: No OFD packet to send [08:28:47]OFD Sender: No OFD packet to send [08:28:52]OFD Sender: No OFD packet to send [08:28:57]OFD Sender: No OFD packet to send [08:29:02]OFD Sender: No OFD packet to send [08:29:07]OFD Sender: No OFD packet to send [08:29:12]OFD Sender: No OFD packet to send [08:29:17]OFD Sender: No OFD packet to send [08:29:22]OFD Sender: No OFD packet to send [08:29:27]OFD Sender: No OFD packet to send [08:29:32]OFD Sender: No OFD packet to send [08:29:37]OFD Sender: No OFD packet to send [08:29:42]OFD Sender: No OFD packet to send [08:29:47]OFD Sender: No OFD packet to send [08:29:52]OFD Sender: No OFD packet to send [08:29:57]OFD Sender: No OFD packet to send [08:30:02]OFD Sender: No OFD packet to send [08:30:07]OFD Sender: No OFD packet to send [08:30:12]OFD Sender: No OFD packet to send [08:30:17]OFD Sender: No OFD packet to send [08:30:22]OFD Sender: No OFD packet to send [08:30:27]OFD Sender: No OFD packet to send [08:30:32]OFD Sender: No OFD packet to send [08:30:37]OFD Sender: No OFD packet to send [08:30:42]OFD Sender: No OFD packet to send [08:30:47]OFD Sender: No OFD packet to send [08:30:52]OFD Sender: No OFD packet to send [08:30:57]OFD Sender: No OFD packet to send [08:31:02]OFD Sender: No OFD packet to send [08:31:07]OFD Sender: No OFD packet to send [08:31:12]OFD Sender: No OFD packet to send [08:31:17]OFD Sender: No OFD packet to send [08:31:22]OFD Sender: No OFD packet to send [08:31:27]OFD Sender: No OFD packet to send [08:31:32]OFD Sender: No OFD packet to send [08:31:37]OFD Sender: No OFD packet to send [08:31:42]OFD Sender: No OFD packet to send [08:31:47]OFD Sender: No OFD packet to send [08:31:52]OFD Sender: No OFD packet to send [08:31:57]OFD Sender: No OFD packet to send [08:32:02]OFD Sender: No OFD packet to send [08:32:07]OFD Sender: No OFD packet to send [08:32:12]OFD Sender: No OFD packet to send [08:32:17]OFD Sender: No OFD packet to send [08:32:22]OFD Sender: No OFD packet to send [08:32:27]OFD Sender: No OFD packet to send [08:32:32]OFD Sender: No OFD packet to send [08:32:37]OFD Sender: No OFD packet to send [08:32:42]OFD Sender: No OFD packet to send [08:32:47]OFD Sender: No OFD packet to send [08:32:52]OFD Sender: No OFD packet to send [08:32:57]OFD Sender: No OFD packet to send [08:33:02]OFD Sender: No OFD packet to send [08:33:07]OFD Sender: No OFD packet to send [08:33:12]OFD Sender: No OFD packet to send [08:33:17]OFD Sender: No OFD packet to send [08:33:22]OFD Sender: No OFD packet to send [08:33:27]OFD Sender: No OFD packet to send [08:33:32]OFD Sender: No OFD packet to send [08:33:38]OFD Sender: No OFD packet to send [08:33:43]OFD Sender: No OFD packet to send [08:33:48]OFD Sender: No OFD packet to send [08:33:53]OFD Sender: No OFD packet to send [08:33:58]OFD Sender: No OFD packet to send [08:34:03]OFD Sender: No OFD packet to send [08:34:08]OFD Sender: No OFD packet to send [08:34:13]OFD Sender: No OFD packet to send [08:34:18]OFD Sender: No OFD packet to send [08:34:23]OFD Sender: No OFD packet to send [08:34:28]OFD Sender: No OFD packet to send [08:34:33]OFD Sender: No OFD packet to send [08:34:38]OFD Sender: No OFD packet to send [08:34:43]OFD Sender: No OFD packet to send [08:34:48]OFD Sender: No OFD packet to send [08:34:53]OFD Sender: No OFD packet to send [08:34:58]OFD Sender: No OFD packet to send [08:35:03]OFD Sender: No OFD packet to send [08:35:08]OFD Sender: No OFD packet to send [08:35:13]OFD Sender: No OFD packet to send [08:35:18]OFD Sender: No OFD packet to send [08:35:23]OFD Sender: No OFD packet to send [08:35:28]OFD Sender: No OFD packet to send [08:35:33]OFD Sender: No OFD packet to send [08:35:38]OFD Sender: No OFD packet to send [08:35:43]OFD Sender: No OFD packet to send [08:35:48]OFD Sender: No OFD packet to send [08:35:53]OFD Sender: No OFD packet to send [08:35:58]OFD Sender: No OFD packet to send [08:36:03]OFD Sender: No OFD packet to send [08:36:08]OFD Sender: No OFD packet to send [08:36:13]OFD Sender: No OFD packet to send [08:36:18]OFD Sender: No OFD packet to send [08:36:23]OFD Sender: No OFD packet to send [08:36:28]OFD Sender: No OFD packet to send [08:36:33]OFD Sender: No OFD packet to send [08:36:38]OFD Sender: No OFD packet to send [08:36:43]OFD Sender: No OFD packet to send [08:36:48]OFD Sender: No OFD packet to send [08:36:53]OFD Sender: No OFD packet to send [08:36:58]OFD Sender: No OFD packet to send [08:37:03]OFD Sender: No OFD packet to send [08:37:08]OFD Sender: No OFD packet to send [08:37:13]OFD Sender: No OFD packet to send [08:37:18]OFD Sender: No OFD packet to send [08:37:23]OFD Sender: No OFD packet to send [08:37:28]OFD Sender: No OFD packet to send [08:37:33]OFD Sender: No OFD packet to send [08:37:38]OFD Sender: No OFD packet to send [08:37:43]OFD Sender: No OFD packet to send [08:37:48]OFD Sender: No OFD packet to send [08:37:53]OFD Sender: No OFD packet to send [08:37:58]OFD Sender: No OFD packet to send [08:38:03]OFD Sender: No OFD packet to send [08:38:08]OFD Sender: No OFD packet to send [08:38:13]OFD Sender: No OFD packet to send [08:38:18]OFD Sender: No OFD packet to send [08:38:23]OFD Sender: No OFD packet to send [08:38:28]OFD Sender: No OFD packet to send [08:38:33]OFD Sender: No OFD packet to send [08:38:38]OFD Sender: No OFD packet to send [08:38:43]OFD Sender: No OFD packet to send [08:38:48]OFD Sender: No OFD packet to send [08:38:53]OFD Sender: No OFD packet to send [08:38:58]OFD Sender: No OFD packet to send [08:39:03]OFD Sender: No OFD packet to send [08:39:08]OFD Sender: No OFD packet to send [08:39:13]OFD Sender: No OFD packet to send [08:39:18]OFD Sender: No OFD packet to send [08:39:23]OFD Sender: No OFD packet to send [08:39:28]OFD Sender: No OFD packet to send [08:39:33]OFD Sender: No OFD packet to send [08:39:38]OFD Sender: No OFD packet to send [08:39:43]OFD Sender: No OFD packet to send [08:39:48]OFD Sender: No OFD packet to send [08:39:53]OFD Sender: No OFD packet to send [08:39:58]OFD Sender: No OFD packet to send [08:40:03]OFD Sender: No OFD packet to send [08:40:08]OFD Sender: No OFD packet to send [08:40:13]OFD Sender: No OFD packet to send [08:40:18]OFD Sender: No OFD packet to send [08:40:23]OFD Sender: No OFD packet to send [08:40:28]OFD Sender: No OFD packet to send [08:40:33]OFD Sender: No OFD packet to send [08:40:38]OFD Sender: No OFD packet to send [08:40:43]OFD Sender: No OFD packet to send [08:40:48]OFD Sender: No OFD packet to send [08:40:53]OFD Sender: No OFD packet to send [08:40:58]OFD Sender: No OFD packet to send [08:41:03]OFD Sender: No OFD packet to send [08:41:08]OFD Sender: No OFD packet to send [08:41:13]OFD Sender: No OFD packet to send [08:41:18]OFD Sender: No OFD packet to send [08:41:23]OFD Sender: No OFD packet to send [08:41:28]OFD Sender: No OFD packet to send [08:41:33]OFD Sender: No OFD packet to send [08:41:38]OFD Sender: No OFD packet to send [08:41:43]OFD Sender: No OFD packet to send [08:41:48]OFD Sender: No OFD packet to send [08:41:53]OFD Sender: No OFD packet to send [08:41:58]OFD Sender: No OFD packet to send [08:42:03]OFD Sender: No OFD packet to send [08:42:08]OFD Sender: No OFD packet to send [08:42:13]OFD Sender: No OFD packet to send [08:42:18]OFD Sender: No OFD packet to send [08:42:23]OFD Sender: No OFD packet to send [08:42:28]OFD Sender: No OFD packet to send [08:42:33]OFD Sender: No OFD packet to send [08:42:38]OFD Sender: No OFD packet to send [08:42:43]OFD Sender: No OFD packet to send [08:42:48]OFD Sender: No OFD packet to send [08:42:53]OFD Sender: No OFD packet to send [08:42:58]OFD Sender: No OFD packet to send [08:43:03]OFD Sender: No OFD packet to send [08:43:08]OFD Sender: No OFD packet to send [08:43:13]OFD Sender: No OFD packet to send [08:43:18]OFD Sender: No OFD packet to send [08:43:23]OFD Sender: No OFD packet to send [08:43:28]OFD Sender: No OFD packet to send [08:43:33]OFD Sender: No OFD packet to send [08:43:38]OFD Sender: No OFD packet to send [08:43:43]OFD Sender: No OFD packet to send [08:43:48]OFD Sender: No OFD packet to send [08:43:53]OFD Sender: No OFD packet to send [08:43:58]OFD Sender: No OFD packet to send [08:44:03]OFD Sender: No OFD packet to send [08:44:08]OFD Sender: No OFD packet to send [08:44:13]OFD Sender: No OFD packet to send [08:44:18]OFD Sender: No OFD packet to send [08:44:23]OFD Sender: No OFD packet to send [08:44:28]OFD Sender: No OFD packet to send [08:44:33]OFD Sender: No OFD packet to send [08:44:38]OFD Sender: No OFD packet to send [08:44:43]OFD Sender: No OFD packet to send [08:44:48]OFD Sender: No OFD packet to send [08:44:53]OFD Sender: No OFD packet to send [08:44:58]OFD Sender: No OFD packet to send [08:45:03]OFD Sender: No OFD packet to send [08:45:08]OFD Sender: No OFD packet to send [08:45:13]OFD Sender: No OFD packet to send [08:45:18]OFD Sender: No OFD packet to send [08:45:23]OFD Sender: No OFD packet to send [08:45:28]OFD Sender: No OFD packet to send [08:45:33]OFD Sender: No OFD packet to send [08:45:38]OFD Sender: No OFD packet to send [08:45:43]OFD Sender: No OFD packet to send [08:45:48]OFD Sender: No OFD packet to send [08:45:53]OFD Sender: No OFD packet to send [08:45:58]OFD Sender: No OFD packet to send [08:46:03]OFD Sender: No OFD packet to send [08:46:08]OFD Sender: No OFD packet to send [08:46:13]OFD Sender: No OFD packet to send [08:46:18]OFD Sender: No OFD packet to send [08:46:23]OFD Sender: No OFD packet to send [08:46:27]int [08:46:27]Write to MH i2c: 01 00 00 90 1A AA [08:46:27]*** FLAG_PRN_PAP1 set [08:46:27]Write i2c OK [08:46:27]MH_I2C_Read... [08:46:27]Read from MH i2c: 01 [08:46:27]MH_I2C_Read... [08:46:27]Read from MH i2c: 01 07 00 [08:46:27]MH_I2C_Read... [08:46:27]Read from MH i2c: 01 07 00 90 1A 00 01 00 00 00 FF 0F C0 [08:46:27]state=0 [08:46:27]No paper [08:46:27]int [08:46:27]Write to MH i2c: 01 00 00 91 1A AB [08:46:27]*** FLAG_PRN_PAP2 set [08:46:27]Write i2c OK [08:46:27]MH_I2C_Read... [08:46:27]Read from MH i2c: 01 [08:46:27]MH_I2C_Read... [08:46:27]Read from MH i2c: 01 07 00 [08:46:27]MH_I2C_Read... [08:46:27]Read from MH i2c: 01 07 00 91 1A 00 03 00 00 00 FF 0F C3 [08:46:27]state=0 [08:46:27]No paper [08:46:27]Cover opened [08:46:28]OFD Sender: No OFD packet to send [08:46:28]int [08:46:28]Write to MH i2c: 01 00 00 92 1A AC [08:46:28]*** FLAG_PRN_PAP2 reset [08:46:28]Write i2c OK [08:46:28]MH_I2C_Read... [08:46:28]Read from MH i2c: 01 [08:46:28]MH_I2C_Read... [08:46:28]Read from MH i2c: 01 07 00 [08:46:28]MH_I2C_Read... [08:46:28]Read from MH i2c: 01 07 00 92 1A 00 01 00 00 00 FF 0F C2 [08:46:28]state=3 [08:46:28]No paper [08:46:28]Cover closed [08:46:28]int [08:46:28]Write to MH i2c: 01 00 00 93 1A AD [08:46:28]*** FLAG_PRN_PAP2 set [08:46:28]Write i2c OK [08:46:28]MH_I2C_Read... [08:46:28]Read from MH i2c: 01 [08:46:28]MH_I2C_Read... [08:46:28]Read from MH i2c: 01 07 00 [08:46:28]MH_I2C_Read... [08:46:28]Read from MH i2c: 01 07 00 93 1A 00 03 00 00 00 FF 0F C5 [08:46:28]state=0 [08:46:28]No paper [08:46:28]Cover opened [08:46:33]OFD Sender: No OFD packet to send [08:46:33]Write to MH i2c: 01 00 00 94 1A AE [08:46:33]Write i2c OK [08:46:33]MH_I2C_Read... [08:46:33]Read from MH i2c: 01 [08:46:33]MH_I2C_Read... [08:46:33]Read from MH i2c: 01 07 00 [08:46:33]MH_I2C_Read... [08:46:33]Read from MH i2c: 01 07 00 94 1A 00 03 00 00 00 FF 0F C6 [08:46:33]state=3 [08:46:33]No paper [08:46:33]Cover opened [08:46:38]OFD Sender: No OFD packet to send [08:46:38]Write to MH i2c: 01 00 00 95 1A AF [08:46:38]Write i2c OK [08:46:38]MH_I2C_Read... [08:46:38]Read from MH i2c: 01 [08:46:38]MH_I2C_Read... [08:46:38]Read from MH i2c: 01 07 00 [08:46:38]MH_I2C_Read... [08:46:38]Read from MH i2c: 01 07 00 95 1A 00 03 00 00 00 FF 0F C7 [08:46:38]state=3 [08:46:38]No paper [08:46:38]Cover opened [08:46:43]OFD Sender: No OFD packet to send [08:46:43]Write to MH i2c: 01 00 00 96 1A B0 [08:46:43]Write i2c OK [08:46:43]MH_I2C_Read... [08:46:43]Read from MH i2c: 01 [08:46:43]MH_I2C_Read... [08:46:43]Read from MH i2c: 01 07 00 [08:46:43]MH_I2C_Read... [08:46:43]Read from MH i2c: 01 07 00 96 1A 00 03 00 00 00 FF 0F C8 [08:46:43]state=3 [08:46:43]No paper [08:46:43]Cover opened [08:46:48]OFD Sender: No OFD packet to send [08:46:48]Write to MH i2c: 01 00 00 97 1A B1 [08:46:48]Write i2c OK [08:46:48]MH_I2C_Read... [08:46:48]Read from MH i2c: 01 [08:46:48]MH_I2C_Read... [08:46:48]Read from MH i2c: 01 07 00 [08:46:48]MH_I2C_Read... [08:46:48]Read from MH i2c: 01 07 00 97 1A 00 03 00 00 00 FF 0F C9 [08:46:48]state=3 [08:46:48]No paper [08:46:48]Cover opened [08:46:53]OFD Sender: No OFD packet to send [08:46:53]Write to MH i2c: 01 00 00 98 1A B2 [08:46:53]Write i2c OK [08:46:53]MH_I2C_Read... [08:46:53]Read from MH i2c: 01 [08:46:53]MH_I2C_Read... [08:46:53]Read from MH i2c: 01 07 00 [08:46:53]MH_I2C_Read... [08:46:53]Read from MH i2c: 01 07 00 98 1A 00 03 00 00 00 FF 0F CA [08:46:53]state=3 [08:46:53]No paper [08:46:53]Cover opened [08:46:58]OFD Sender: No OFD packet to send [08:46:58]Write to MH i2c: 01 00 00 99 1A B3 [08:46:58]Write i2c OK [08:46:58]MH_I2C_Read... [08:46:58]Read from MH i2c: 01 [08:46:58]MH_I2C_Read... [08:46:58]Read from MH i2c: 01 07 00 [08:46:58]MH_I2C_Read... [08:46:58]Read from MH i2c: 01 07 00 99 1A 00 03 00 00 00 FF 0F CB [08:46:58]state=3 [08:46:58]No paper [08:46:58]Cover opened [08:47:03]OFD Sender: No OFD packet to send [08:47:03]Write to MH i2c: 01 00 00 9A 1A B4 [08:47:03]Write i2c OK [08:47:03]MH_I2C_Read... [08:47:03]Read from MH i2c: 01 [08:47:03]MH_I2C_Read... [08:47:03]Read from MH i2c: 01 07 00 [08:47:03]MH_I2C_Read... [08:47:03]Read from MH i2c: 01 07 00 9A 1A 00 03 00 00 00 FF 0F CC [08:47:03]state=3 [08:47:03]No paper [08:47:03]Cover opened [08:47:08]OFD Sender: No OFD packet to send [08:47:08]Write to MH i2c: 01 00 00 9B 1A B5 [08:47:08]Write i2c OK [08:47:08]MH_I2C_Read... [08:47:08]Read from MH i2c: 01 [08:47:08]MH_I2C_Read... [08:47:08]Read from MH i2c: 01 07 00 [08:47:08]MH_I2C_Read... [08:47:08]Read from MH i2c: 01 07 00 9B 1A 00 03 00 00 00 FF 0F CD [08:47:08]state=3 [08:47:08]No paper [08:47:08]Cover opened [08:47:10]int [08:47:10]Write to MH i2c: 01 00 00 9C 1A B6 [08:47:10]*** FLAG_PRN_PAP1 reset [08:47:10]*** FLAG_PRN_PAP2 reset [08:47:10]Write i2c OK [08:47:10]MH_I2C_Read... [08:47:10]Read from MH i2c: 01 [08:47:10]MH_I2C_Read... [08:47:10]Read from MH i2c: 01 07 00 [08:47:10]MH_I2C_Read... [08:47:10]Read from MH i2c: 01 07 00 9C 1A 00 00 00 00 00 FF 0F CB [08:47:10]state=3 [08:47:10]Cover closed [08:47:13]OFD Sender: No OFD packet to send [08:47:18]OFD Sender: No OFD packet to send [08:47:23]OFD Sender: No OFD packet to send [08:47:28]OFD Sender: No OFD packet to send [08:47:33]OFD Sender: No OFD packet to send [08:47:38]OFD Sender: No OFD packet to send [08:47:43]OFD Sender: No OFD packet to send [08:47:48]OFD Sender: No OFD packet to send [08:47:53]OFD Sender: No OFD packet to send [08:47:58]OFD Sender: No OFD packet to send [08:48:03]OFD Sender: No OFD packet to send [08:48:08]OFD Sender: No OFD packet to send [08:48:13]OFD Sender: No OFD packet to send [08:48:18]OFD Sender: No OFD packet to send [08:48:23]OFD Sender: No OFD packet to send [08:48:28]OFD Sender: No OFD packet to send [08:48:33]OFD Sender: No OFD packet to send [08:48:38]OFD Sender: No OFD packet to send [08:48:43]OFD Sender: No OFD packet to send [08:48:48]OFD Sender: No OFD packet to send [08:48:53]OFD Sender: No OFD packet to send [08:48:58]OFD Sender: No OFD packet to send [08:49:03]OFD Sender: No OFD packet to send [08:49:08]OFD Sender: No OFD packet to send [08:49:13]OFD Sender: No OFD packet to send [08:49:18]OFD Sender: No OFD packet to send [08:49:23]OFD Sender: No OFD packet to send [08:49:28]OFD Sender: No OFD packet to send [08:49:33]OFD Sender: No OFD packet to send [08:49:38]OFD Sender: No OFD packet to send [08:49:43]OFD Sender: No OFD packet to send [08:49:48]OFD Sender: No OFD packet to send [08:49:53]OFD Sender: No OFD packet to send [08:49:58]OFD Sender: No OFD packet to send [08:50:03]OFD Sender: No OFD packet to send [08:50:08]OFD Sender: No OFD packet to send [08:50:13]OFD Sender: No OFD packet to send [08:50:18]OFD Sender: No OFD packet to send [08:50:23]OFD Sender: No OFD packet to send [08:50:28]OFD Sender: No OFD packet to send [08:50:33]OFD Sender: No OFD packet to send [08:50:38]OFD Sender: No OFD packet to send [08:50:43]OFD Sender: No OFD packet to send [08:50:48]OFD Sender: No OFD packet to send [08:50:53]OFD Sender: No OFD packet to send [08:50:58]OFD Sender: No OFD packet to send [08:51:03]OFD Sender: No OFD packet to send [08:51:08]OFD Sender: No OFD packet to send [08:51:13]OFD Sender: No OFD packet to send [08:51:18]OFD Sender: No OFD packet to send [08:51:23]OFD Sender: No OFD packet to send [08:51:28]OFD Sender: No OFD packet to send [08:51:33]OFD Sender: No OFD packet to send [08:51:38]OFD Sender: No OFD packet to send [08:51:43]OFD Sender: No OFD packet to send [08:51:48]OFD Sender: No OFD packet to send [08:51:53]OFD Sender: No OFD packet to send [08:51:58]OFD Sender: No OFD packet to send [08:52:03]OFD Sender: No OFD packet to send [08:52:08]OFD Sender: No OFD packet to send [08:52:13]OFD Sender: No OFD packet to send [08:52:18]OFD Sender: No OFD packet to send [08:52:23]OFD Sender: No OFD packet to send [08:52:28]OFD Sender: No OFD packet to send [08:52:33]OFD Sender: No OFD packet to send [08:52:38]OFD Sender: No OFD packet to send [08:52:43]OFD Sender: No OFD packet to send [08:52:48]OFD Sender: No OFD packet to send [08:52:53]OFD Sender: No OFD packet to send [08:52:58]OFD Sender: No OFD packet to send [08:53:03]OFD Sender: No OFD packet to send [08:53:08]OFD Sender: No OFD packet to send [08:53:13]OFD Sender: No OFD packet to send [08:53:18]OFD Sender: No OFD packet to send [08:53:23]OFD Sender: No OFD packet to send [08:53:29]OFD Sender: No OFD packet to send [08:53:34]OFD Sender: No OFD packet to send [08:53:39]OFD Sender: No OFD packet to send [08:53:44]OFD Sender: No OFD packet to send [08:53:49]OFD Sender: No OFD packet to send [08:53:54]OFD Sender: No OFD packet to send [08:53:59]OFD Sender: No OFD packet to send [08:54:04]OFD Sender: No OFD packet to send [08:54:09]OFD Sender: No OFD packet to send [08:54:14]OFD Sender: No OFD packet to send [08:54:19]OFD Sender: No OFD packet to send [08:54:24]OFD Sender: No OFD packet to send [08:54:29]OFD Sender: No OFD packet to send [08:54:34]OFD Sender: No OFD packet to send [08:54:39]OFD Sender: No OFD packet to send [08:54:44]OFD Sender: No OFD packet to send [08:54:49]OFD Sender: No OFD packet to send [08:54:54]OFD Sender: No OFD packet to send [08:54:59]OFD Sender: No OFD packet to send [08: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:47]accept exits with 7 [08:55:47]New connection [08:55:47]New thread 3066699108 created [08:55:47]Thread 3066555748 joined [08:55:47]Waiting for new connection... [08:55:47] Sock 7.Parse request [08:55:47]Sock 7.Check first char [08:55:47]Sock 7.First char is OK [08:55:47]request: POST /json_proto HTTP/1.0 [08:55:47]Method: POST [08:55:47]URL: /json_proto [08:55:47]Method is POST - this is cgi request [08:55:47]url: /json_proto [08:55:47]query_string will be loaded in cgi processing [08:55:47]execute_cgi json_proto POST (null) [08:55:47]execute_cgi path=json_proto method=POST [08:55:47]POST find Content-Length [08:55:47]Host: 172.17.53.68:8080 [08:55:47]Content-Length: 679 [08:55:47]Content-Type: application/json [08:55:47] [08:55:47]POST finish read [08:55:47]Found Content-Length = 679 [08:55:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874342", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 44", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 32.810, "sum" : 2500.12, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2500.00, "total" : 2500.00, "payments": [ { "type": 0, "sum" : 2500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:55:47]execute_script... [08:55:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874342", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 44", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 32.810, "sum" : 2500.12, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2500.00, "total" : 2500.00, "payments": [ { "type": 0, "sum" : 2500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:55:47]POST & json_proto [08:55:47]process_json_proto [08:55:47]json parsed OK: [08:55:47]protocol is kg_v1.0 [08:55:47]action value=close_receipt [08:55:47]process_action close_receipt [08:55:47]cmd_close_receipt [08:55:47]MH_GetDate [08:55:47]Write to MH i2c: F0 00 00 9D 1A A6 [08:55:47]Write i2c OK [08:55:47]MH_I2C_Read... [08:55:47]Read from MH i2c: F0 [08:55:47]MH_I2C_Read... [08:55:47]Read from MH i2c: F0 09 00 [08:55:47]MH_I2C_Read... [08:55:47]Read from MH i2c: F0 09 00 9D 1A 00 99 C5 14 67 C5 A4 76 66 CD [08:55:47]GetLastDocTimeStamp 1729412305 [08:55:47]current date 1729414553 [08:55:47]FM_GetShiftState [08:55:47]SAM_PROTO_GetShiftState [08:55:47]wFMCommunicate request_size=4 [08:55:47]MH_SAM_APDU [08:55:47]CAPDU: 80 13 01 00 [08:55:47]Write to MH i2c: E2 08 00 9E 1A 80 13 01 00 00 00 00 00 35 [08:55:47]Write i2c OK [08:55:47]MH_I2C_Read... [08:55:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:55:47]Read from MH i2c: E2 [08:55:47]MH_I2C_Read... [08:55:47]Read from MH i2c: E2 0E 00 [08:55:47]MH_I2C_Read... [08:55:47]Read from MH i2c: E2 0E 00 9E 1A 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 8A [08:55:47]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [08:55:47]wFMCommunicate OK [08:55:47]SAM_PROTO_GetShiftState done [08:55:47]FM_GetShiftState done [08:55:47]opened in 1729383299 [08:55:47]opened+sec_in_day 1729469699 [08:55:47]quantity*price = 250012 [08:55:47]sum+1 = 250013 [08:55:47]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.12 ИТОГО: 2500.00 ВнеÑено: 2500.00 СДÐЧÐ: 0.00 ÐСП 1% : 22.12 ÐДС 12% : 265.50 Ðаличными: 2500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 23 20.10.2024 08:55 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37175 ФПД: 224735622134622 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T085554&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37175&fm=224735622134622&tin=02508201610067®Number=0000000000098149&sum=250000 [08:55:48]StoreToDocumentArchive [08:55:48]shift 461 fd 37175 [08:55:48]save to /storage/0461/doc_00037175 [08:55:48]save last doc name /storage/0461/doc_00037175 to /storage/kkm_last_doc_name [08:55:48]save OK [08:55:48]Clear old archive folders... [08:55:48]ProcessDocumentItem done err = 0, tmpTLVsize=248 [08:55:48]tlvbuf is B6F1AEB0 [08:55:48]SAM_PROTO_ClearQueue [08:55:48]wFMCommunicate request_size=4 [08:55:48]MH_SAM_APDU [08:55:48]CAPDU: 80 09 00 00 [08:55:48]Write to MH i2c: E2 08 00 AB 1A 80 09 00 00 00 00 00 00 37 [08:55:48]Write i2c OK [08:55:48]MH_I2C_Read... [08:55:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:55:48]Read from MH i2c: E2 [08:55:48]MH_I2C_Read... [08:55:48]Read from MH i2c: E2 03 00 [08:55:48]MH_I2C_Read... [08:55:48]Read from MH i2c: E2 03 00 AB 1A 00 90 00 39 [08:55:48]RAPDU: 90 00 [08:55:48]wFMCommunicate OK [08:55:48]SAM_PROTO_ClearQueue done [08:55:48]KKMCreateOFDPacket [08:55:48]OFDProtocolAddRootSTLVToBuf [08:55:48]FM_MakeSignedData [08:55:48]FM_MakeSignedData [08:55:48]SAM_PROTO_SignData [08:55:48]wFMCommunicate request_size=4 [08:55:48]MH_SAM_APDU [08:55:48]CAPDU: 80 0D 01 02 [08:55:48]Write to MH i2c: E2 08 00 AC 1A 80 0D 01 02 00 00 00 00 3F [08:55:48]Write i2c OK [08:55:48]MH_I2C_Read... [08:55:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:55:48]Read from MH i2c: E2 [08:55:48]MH_I2C_Read... [08:55:48]Read from MH i2c: E2 03 00 [08:55:48]MH_I2C_Read... [08:55:48]Read from MH i2c: E2 03 00 AC 1A 00 90 00 3A [08:55:48]RAPDU: 90 00 [08:55:48]wFMCommunicate OK [08:55:48]wFMCommunicate request_size=255 [08:55:48]MH_SAM_APDU [08:55:48]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 2A 80 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 9C D0 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 D0 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 67 00 00 00 00 07 04 06 00 90 D0 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 9A C5 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 37 91 00 00 35 04 06 00 CC 65 56 EC [08:55:48]Write to MH i2c: E2 02 01 AD 1A 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 2A 80 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 9C D0 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 D0 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 67 00 00 00 00 07 04 06 00 90 D0 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 9A C5 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 37 91 00 00 35 04 06 00 CC 65 56 EC 00 00 22 [08:55:48]Write i2c OK [08:55:48]MH_I2C_Read... [08:55:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:55:48]Read from MH i2c: E2 [08:55:48]MH_I2C_Read... [08:55:48]Read from MH i2c: E2 03 00 [08:55:48]MH_I2C_Read... [08:55:48]Read from MH i2c: E2 03 00 AD 1A 00 90 00 3B [08:55:48]RAPDU: 90 00 [08:55:48]wFMCommunicate OK [08:55:48]wFMCommunicate request_size=7 [08:55:48]MH_SAM_APDU [08:55:48]CAPDU: 80 0D 02 02 02 FB 5E [08:55:48]Write to MH i2c: E2 0A 00 AE 1A 80 0D 02 02 02 00 FB 5E 00 00 9F [08:55:48]Write i2c OK [08:55:48]MH_I2C_Read... [08:55:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:55:48]Read from MH i2c: E2 [08:55:48]MH_I2C_Read... [08:55:48]Read from MH i2c: E2 03 00 [08:55:48]MH_I2C_Read... [08:55:48]Read from MH i2c: E2 03 00 AE 1A 00 90 00 3C [08:55:48]RAPDU: 90 00 [08:55:48]wFMCommunicate OK [08:55:48]wFMCommunicate request_size=4 [08:55:48]MH_SAM_APDU [08:55:48]CAPDU: 80 0D 03 02 [08:55:48]Write to MH i2c: E2 08 00 AF 1A 80 0D 03 02 00 00 00 00 44 [08:55:48]Write i2c OK [08:55:48]MH_I2C_Read... [08:55:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:55:48]Read from MH i2c: E2 [08:55:48]MH_I2C_Read... [08:55:48]Read from MH i2c: E2 0B 00 [08:55:48]MH_I2C_Read... [08:55:48]Read from MH i2c: E2 0B 00 AF 1A 00 26 2E 03 5A C4 44 C9 0C 90 00 D3 [08:55:48]RAPDU: 26 2E 03 5A C4 44 C9 0C 90 00 [08:55:48]wFMCommunicate OK [08:55:48]SAM_PROTO_SignData done [08:55:48]FM_MakeSignedData done [08:55:48]CreateOFDProtocolMessage [08:55:48]wFMCommunicate request_size=4 [08:55:48]MH_SAM_APDU [08:55:48]CAPDU: 80 11 00 00 [08:55:48]Write to MH i2c: E2 08 00 B0 1A 80 11 00 00 00 00 00 00 44 [08:55:48]Write i2c OK [08:55:48]MH_I2C_Read... [08:55:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:55:49]Read from MH i2c: E2 [08:55:49]MH_I2C_Read... [08:55:49]Read from MH i2c: E2 17 00 [08:55:49]MH_I2C_Read... [08:55:49]Read from MH i2c: E2 17 00 B0 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 97 [08:55:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [08:55:49]wFMCommunicate OK [08:55:49]CreateOFDProtocolMessage done [08:55:49]OFDSenderStorePacket 37175 [08:55:49]StoreOFDPacket docnum=37175 [08:55:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0C 01 00 00 6C 39 04 01 FE BF 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 2A 80 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 9C D0 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 D0 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 67 00 00 00 00 07 04 06 00 90 D0 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 9A C5 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 37 91 00 00 35 04 06 00 CC 65 56 EC FB 5E 26 2E 03 5A C4 44 C9 0C [08:55:49]CheckFolder [08:55:49]dirname=/storage/ofd_packets [08:55:49]CheckFolder done [08:55:49]ProducePacketName [08:55:49]name=ofd_packets/00037175 [08:55:49]NVStorageSaveData ofd_packets/00037175 [08:55:49]File name is /storage/ofd_packets/00037175 [08:55:49]Write 298 bytes [08:55:49]NVStorageSaveData done [08:55:49]OFDSenderStorePacket done [08:55:49]KKMCreateOFDPacket done [08:55:49]NVStorageSaveData kkm_last_timestamp [08:55:49]File name is /storage/kkm_last_timestamp [08:55:49]Write 4 bytes [08:55:49]NVStorageSaveData done [08:55:49]ExternCall_PrintAddStr [08:55:49]wPrintStart [08:55:49]Write to MH i2c: 01 00 00 B1 1A CB [08:55:49]Write i2c OK [08:55:49]MH_I2C_Read... [08:55:49]Read from MH i2c: 01 [08:55:49]MH_I2C_Read... [08:55:49]Read from MH i2c: 01 07 00 [08:55:49]MH_I2C_Read... [08:55:49]Read from MH i2c: 01 07 00 B1 1A 00 00 00 00 00 FF 0F E0 [08:55:49]RasterBufferAndPrint [08:55:49]line Счет N : (1)874342 [08:55:49]line ИÐÐ: 02508201610067 [08:55:49]line Контрольно-КаÑÑовый Чек [08:55:49]line ПРОДÐЖР[08:55:49]line ТРК (МРК, ГÐК) : 44 [08:55:49]line Товар: 2710194210 [08:55:49]line ДТ-К-2 [08:55:49]line 32.810 * 76.20 [08:55:49]line = 2500.12 [08:55:49]line ÐДС 12% ÐСП 1% [08:55:49]line > о реализуемом товаре [08:55:49]line ОКРУГЛЕÐИЕ: -0.12 [08:55:49]line ИТОГО: 2500.00 [08:55:49]line ВнеÑено: 2500.00 [08:55:49]line СДÐЧÐ: 0.00 [08:55:49]line ÐСП 1% : 22.12 [08:55:49]line ÐДС 12% : 265.50 [08:55:49]line Ðаличными: 2500.00 [08:55:49]line Безнал.: 0.00 [08:55:49]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [08:55:49]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [08:55:49]line СÐО: Общий режим [08:55:49]line Чек 23 20.10.2024 08:55 [08:55:49]line Смена: 461 ФФД: 1.0 [08:55:49]line ЗÐМ: 0300000235 [08:55:49]line РÐМ: 0000000000098149 [08:55:49]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [08:55:49]line ФМ: 0000000000965372 [08:55:49]line ФД: 37175 [08:55:49]line ФПД: 224735622134622 [08:55:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T085554&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37175&fm=224735622134622&tin=02508201610067®Number=0000000000098149&sum=250000 [08:55:49]OFD Sender: Processing packet 37175 [packets to send 25, broken 24] [08:55:49]ProducePacketName [08:55:49]name=ofd_packets/00037175 [08:55:49]OFD Sender: To server: ‡•öpG, [08:55:49]CommunicateWithHost lk.salyk.kg:30040 [08:55:49]ConnectInit lk.salyk.kg [08:55:49]written 0, free lines is 4095 [08:55:49]Connected sock=10 [08:55: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 33 37 32 0C 01 00 00 6C 39 04 01 FE BF 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 2A 80 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 9C D0 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 D0 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 67 00 00 00 00 07 04 06 00 90 D0 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 9A C5 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 37 91 00 00 35 04 06 00 CC 65 56 EC FB 5E 26 2E 03 5A C4 44 C9 0C [08:55:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 89 C2 47 00 F2 19 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 37 91 00 00 F4 03 04 00 2C 6E 14 67 B6 04 01 00 00 52 CD D2 75 EE C8 40 A0 [08:55:49]CommunicateWithHost err = 0 [08:55:49]CheckOFDResponse [08:55:49]1017 (14) - 77093643461234 [08:55:49]1041 (16) - 0000000000965372 [08:55:49]1040 (4) - 37175 [08:55:49]1012 (4) - 20.10.2024 02:42 [08:55:49]1206 (1) - 0 [08:55:49]OFD Sender: Remove packet 37175 [08:55:49]ProducePacketName [08:55:49]name=ofd_packets/00037175 [08:55:49]NVStorageDeleteData [08:55:49]Write to MH i2c: 01 00 00 DC 1A F6 [08:55:49]Write i2c OK [08:55:49]MH_I2C_Read... [08:55:49]Read from MH i2c: 01 [08:55:49]MH_I2C_Read... [08:55:49]Read from MH i2c: 01 07 00 [08:55:49]MH_I2C_Read... [08:55:49]Read from MH i2c: 01 07 00 DC 1A 00 00 00 00 00 F3 0C FC [08:55:49]RasterBufferAndPrint [08:55:49]line [08:55:49]line [08:55:49]line [08:55:49]line [08:55:49]line [08:55:49]written 0, free lines is 3321 [08:55:49]process_action close_receipt done [08:55:49]requested_data is exist [08:55:49]produce_requested_data [08:55:49]requested_item fm.sn is exist - process it [08:55:49]wFMCommunicate request_size=4 [08:55:49]MH_SAM_APDU [08:55:49]CAPDU: 80 11 00 00 [08:55:49]Write to MH i2c: E2 08 00 E3 1A 80 11 00 00 00 00 00 00 77 [08:55:49]Write i2c OK [08:55:49]MH_I2C_Read... [08:55:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:55:49]Read from MH i2c: E2 [08:55:49]MH_I2C_Read... [08:55:49]Read from MH i2c: E2 17 00 [08:55:49]MH_I2C_Read... [08:55:49]Read from MH i2c: E2 17 00 E3 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 CA [08:55:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [08:55:49]wFMCommunicate OK [08:55:49]requested_item fd.num is exist - process it [08:55:49]SAM_PROTO_GetFieldsCounters [08:55:49]wFMCommunicate request_size=4 [08:55:49]MH_SAM_APDU [08:55:49]CAPDU: 80 13 00 00 [08:55:49]Write to MH i2c: E2 08 00 E4 1A 80 13 00 00 00 00 00 00 7A [08:55:49]Write i2c OK [08:55:49]MH_I2C_Read... [08:55:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:55:50]Read from MH i2c: E2 [08:55:50]MH_I2C_Read... [08:55:50]Read from MH i2c: E2 62 00 [08:55:50]MH_I2C_Read... [08:55:50]Read from MH i2c: E2 62 00 E4 1A 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 37 91 00 00 0E 04 04 00 CD 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 7C [08:55: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 37 91 00 00 0E 04 04 00 CD 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 [08:55:50]wFMCommunicate OK [08:55:50]SAM_PROTO_GetFieldsCounters done [08:55:50]requested_item shift.num is exist - process it [08:55:50]requested_item shift.opened is exist - process it [08:55:50]req_shift_opened [08:55:50]FM_GetShiftState [08:55:50]SAM_PROTO_GetShiftState [08:55:50]wFMCommunicate request_size=4 [08:55:50]MH_SAM_APDU [08:55:50]CAPDU: 80 13 01 00 [08:55:50]Write to MH i2c: E2 08 00 E5 1A 80 13 01 00 00 00 00 00 7C [08:55:50]Write i2c OK [08:55:50]MH_I2C_Read... [08:55:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:55:50]Read from MH i2c: E2 [08:55:50]MH_I2C_Read... [08:55:50]Read from MH i2c: E2 0E 00 [08:55:50]MH_I2C_Read... [08:55:50]Read from MH i2c: E2 0E 00 E5 1A 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 D1 [08:55:50]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [08:55:50]wFMCommunicate OK [08:55:50]SAM_PROTO_GetShiftState done [08:55:50]FM_GetShiftState done [08:55:50]req_shift_opened done [08:55:50]requested_item shift.open_date is exist - process it [08:55:50]req_shift_open_date [08:55:50]req_shift_open_date done [08:55:50]produce_requested_data done [08:55:50]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37175,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [08:55:50]process_action_free close_receipt [08:55:50]json_value_free [08:55:50]json_value_free done [08:55:50]process_json_proto returns [08:55:50]Send response to host [08:55:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37175,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [08:55:50]free response buf [08:55:50]execute_script done [08:55:50]execute_script returns [08:55:50]free content buf [08:55:50]Sock 7.Close socket [08:55:50]Sock 7.Thread stoped [08:55:50]OFD Sender: No OFD packet to send [08:55:55]OFD Sender: No OFD packet to send [08:56:00]OFD Sender: No OFD packet to send [08:56:05]OFD Sender: No OFD packet to send [08:56:10]OFD Sender: No OFD packet to send [08:56:15]OFD Sender: No OFD packet to send [08:56:20]OFD Sender: No OFD packet to send [08:56:25]OFD Sender: No OFD packet to send [08:56:30]OFD Sender: No OFD packet to send [08:56:35]OFD Sender: No OFD packet to send [08:56:40]OFD Sender: No OFD packet to send [08:56:45]OFD Sender: No OFD packet to send [08:56:50]OFD Sender: No OFD packet to send [08:56:55]OFD Sender: No OFD packet to send [08:57:00]OFD Sender: No OFD packet to send [08:57:05]OFD Sender: No OFD packet to send [08:57:10]OFD Sender: No OFD packet to send [08:57:15]OFD Sender: No OFD packet to send [08:57:20]OFD Sender: No OFD packet to send [08:57:25]OFD Sender: No OFD packet to send [08:57:30]OFD Sender: No OFD packet to send [08:57:35]OFD Sender: No OFD packet to send [08:57:40]OFD Sender: No OFD packet to send [08:57:45]OFD Sender: No OFD packet to send [08:57:45]accept exits with 9 [08:57:45]New connection [08:57:45]New thread 3066555748 created [08:57:45]Thread 3066699108 joined [08:57:45]Waiting for new connection... [08:57:45] Sock 9.Parse request [08:57:45]Sock 9.Check first char [08:57:45]Sock 9.First char is OK [08:57:45]request: POST /json_proto HTTP/1.0 [08:57:45]Method: POST [08:57:45]URL: /json_proto [08:57:45]Method is POST - this is cgi request [08:57:45]url: /json_proto [08:57:45]query_string will be loaded in cgi processing [08:57:45]execute_cgi json_proto POST (null) [08:57:45]execute_cgi path=json_proto method=POST [08:57:45]POST find Content-Length [08:57:45]Host: 172.17.53.68:8080 [08:57:45]Content-Length: 677 [08:57:45]Content-Type: application/json [08:57:45] [08:57:45]POST finish read [08:57:45]Found Content-Length = 677 [08:57:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874343", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.490, "sum" : 300.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:57:45]execute_script... [08:57:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874343", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.490, "sum" : 300.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:57:45]POST & json_proto [08:57:45]process_json_proto [08:57:45]json parsed OK: [08:57:45]protocol is kg_v1.0 [08:57:45]action value=close_receipt [08:57:45]process_action close_receipt [08:57:45]cmd_close_receipt [08:57:45]MH_GetDate [08:57:45]Write to MH i2c: F0 00 00 E6 1A EF [08:57:45]Write i2c OK [08:57:45]MH_I2C_Read... [08:57:45]Read from MH i2c: F0 [08:57:45]MH_I2C_Read... [08:57:45]Read from MH i2c: F0 09 00 [08:57:45]MH_I2C_Read... [08:57:45]Read from MH i2c: F0 09 00 E6 1A 00 10 C6 14 67 C5 A4 76 66 8E [08:57:45]GetLastDocTimeStamp 1729414554 [08:57:45]current date 1729414672 [08:57:45]FM_GetShiftState [08:57:45]SAM_PROTO_GetShiftState [08:57:45]wFMCommunicate request_size=4 [08:57:45]MH_SAM_APDU [08:57:45]CAPDU: 80 13 01 00 [08:57:45]Write to MH i2c: E2 08 00 E7 1A 80 13 01 00 00 00 00 00 7E [08:57:45]Write i2c OK [08:57:45]MH_I2C_Read... [08:57:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:57:45]Read from MH i2c: E2 [08:57:45]MH_I2C_Read... [08:57:45]Read from MH i2c: E2 0E 00 [08:57:45]MH_I2C_Read... [08:57:45]Read from MH i2c: E2 0E 00 E7 1A 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 D3 [08:57:45]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [08:57:45]wFMCommunicate OK [08:57:45]SAM_PROTO_GetShiftState done [08:57:45]FM_GetShiftState done [08:57:45]opened in 1729383299 [08:57:45]opened+sec_in_day 1729469699 [08:57:45]quantity*price = 30038 [08:57:45]sum+1 = 30039 [08:57:45]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.38 ИТОГО: 300.00 ВнеÑено: 300.00 СДÐЧÐ: 0.00 ÐСП 1% : 2.66 ÐДС 12% : 31.90 Ðаличными: 300.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 24 20.10.2024 08:57 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37176 ФПД: 69014452655250 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T085752&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37176&fm=69014452655250&tin=02508201610067®Number=0000000000098149&sum=30000 [08:57:46]StoreToDocumentArchive [08:57:46]shift 461 fd 37176 [08:57:46]save to /storage/0461/doc_00037176 [08:57:46]save last doc name /storage/0461/doc_00037176 to /storage/kkm_last_doc_name [08:57:46]save OK [08:57:46]Clear old archive folders... [08:57:46]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:57:46]tlvbuf is 009F6460 [08:57:46]SAM_PROTO_ClearQueue [08:57:46]wFMCommunicate request_size=4 [08:57:46]MH_SAM_APDU [08:57:46]CAPDU: 80 09 00 00 [08:57:46]Write to MH i2c: E2 08 00 F4 1A 80 09 00 00 00 00 00 00 80 [08:57:46]Write i2c OK [08:57:46]MH_I2C_Read... [08:57:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:57:46]Read from MH i2c: E2 [08:57:46]MH_I2C_Read... [08:57:46]Read from MH i2c: E2 03 00 [08:57:46]MH_I2C_Read... [08:57:46]Read from MH i2c: E2 03 00 F4 1A 00 90 00 82 [08:57:46]RAPDU: 90 00 [08:57:46]wFMCommunicate OK [08:57:46]SAM_PROTO_ClearQueue done [08:57:46]KKMCreateOFDPacket [08:57:46]OFDProtocolAddRootSTLVToBuf [08:57:46]FM_MakeSignedData [08:57:46]FM_MakeSignedData [08:57:46]SAM_PROTO_SignData [08:57:46]wFMCommunicate request_size=4 [08:57:46]MH_SAM_APDU [08:57:46]CAPDU: 80 0D 01 02 [08:57:46]Write to MH i2c: E2 08 00 F5 1A 80 0D 01 02 00 00 00 00 88 [08:57:46]Write i2c OK [08:57:46]MH_I2C_Read... [08:57:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:57:46]Read from MH i2c: E2 [08:57:46]MH_I2C_Read... [08:57:46]Read from MH i2c: E2 03 00 [08:57:46]MH_I2C_Read... [08:57:46]Read from MH i2c: E2 03 00 F5 1A 00 90 00 83 [08:57:46]RAPDU: 90 00 [08:57:46]wFMCommunicate OK [08:57:46]wFMCommunicate request_size=255 [08:57:46]MH_SAM_APDU [08:57:46]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 10 C6 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 38 91 00 00 35 04 06 00 3E [08:57:46]Write to MH i2c: E2 02 01 F6 1A 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 10 C6 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 38 91 00 00 35 04 06 00 3E 00 00 4F [08:57:46]Write i2c OK [08:57:46]MH_I2C_Read... [08:57:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:57:47]Read from MH i2c: E2 [08:57:47]MH_I2C_Read... [08:57:47]Read from MH i2c: E2 03 00 [08:57:47]MH_I2C_Read... [08:57:47]Read from MH i2c: E2 03 00 F6 1A 00 90 00 84 [08:57:47]RAPDU: 90 00 [08:57:47]wFMCommunicate OK [08:57:47]wFMCommunicate request_size=10 [08:57:47]MH_SAM_APDU [08:57:47]CAPDU: 80 0D 02 02 05 C4 AD EF 54 92 [08:57:47]Write to MH i2c: E2 0D 00 F7 1A 80 0D 02 02 05 00 C4 AD EF 54 92 00 00 DB [08:57:47]Write i2c OK [08:57:47]MH_I2C_Read... [08:57:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:57:47]Read from MH i2c: E2 [08:57:47]MH_I2C_Read... [08:57:47]Read from MH i2c: E2 03 00 [08:57:47]MH_I2C_Read... [08:57:47]Read from MH i2c: E2 03 00 F7 1A 00 90 00 85 [08:57:47]RAPDU: 90 00 [08:57:47]wFMCommunicate OK [08:57:47]wFMCommunicate request_size=4 [08:57:47]MH_SAM_APDU [08:57:47]CAPDU: 80 0D 03 02 [08:57:47]Write to MH i2c: E2 08 00 F8 1A 80 0D 03 02 00 00 00 00 8D [08:57:47]Write i2c OK [08:57:47]MH_I2C_Read... [08:57:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:57:47]Read from MH i2c: E2 [08:57:47]MH_I2C_Read... [08:57:47]Read from MH i2c: E2 0B 00 [08:57:47]MH_I2C_Read... [08:57:47]Read from MH i2c: E2 0B 00 F8 1A 00 96 DF DB D0 36 8A 96 B7 90 00 BB [08:57:47]RAPDU: 96 DF DB D0 36 8A 96 B7 90 00 [08:57:47]wFMCommunicate OK [08:57:47]SAM_PROTO_SignData done [08:57:47]FM_MakeSignedData done [08:57:47]CreateOFDProtocolMessage [08:57:47]wFMCommunicate request_size=4 [08:57:47]MH_SAM_APDU [08:57:47]CAPDU: 80 11 00 00 [08:57:47]Write to MH i2c: E2 08 00 F9 1A 80 11 00 00 00 00 00 00 8D [08:57:47]Write i2c OK [08:57:47]MH_I2C_Read... [08:57:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:57:47]Read from MH i2c: E2 [08:57:47]MH_I2C_Read... [08:57:47]Read from MH i2c: E2 17 00 [08:57:47]MH_I2C_Read... [08:57:47]Read from MH i2c: E2 17 00 F9 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 E0 [08:57:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [08:57:47]wFMCommunicate OK [08:57:47]CreateOFDProtocolMessage done [08:57:47]OFDSenderStorePacket 37176 [08:57:47]StoreOFDPacket docnum=37176 [08:57:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0F 01 00 00 15 85 07 01 BD AD 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 10 C6 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 38 91 00 00 35 04 06 00 3E C4 AD EF 54 92 96 DF DB D0 36 8A 96 B7 [08:57:47]CheckFolder [08:57:47]dirname=/storage/ofd_packets [08:57:47]CheckFolder done [08:57:47]ProducePacketName [08:57:47]name=ofd_packets/00037176 [08:57:47]NVStorageSaveData ofd_packets/00037176 [08:57:47]File name is /storage/ofd_packets/00037176 [08:57:47]Write 301 bytes [08:57:47]NVStorageSaveData done [08:57:47]OFDSenderStorePacket done [08:57:47]KKMCreateOFDPacket done [08:57:47]NVStorageSaveData kkm_last_timestamp [08:57:47]File name is /storage/kkm_last_timestamp [08:57:47]Write 4 bytes [08:57:47]NVStorageSaveData done [08:57:47]ExternCall_PrintAddStr [08:57:47]wPrintStart [08:57:47]Write to MH i2c: 01 00 00 FA 1A 14 [08:57:47]Write i2c OK [08:57:47]MH_I2C_Read... [08:57:47]Read from MH i2c: 01 [08:57:47]MH_I2C_Read... [08:57:47]Read from MH i2c: 01 07 00 [08:57:47]MH_I2C_Read... [08:57:47]Read from MH i2c: 01 07 00 FA 1A 00 00 00 00 00 FF 0F 29 [08:57:47]RasterBufferAndPrint [08:57:47]line Счет N : (1)874343 [08:57:47]line ИÐÐ: 02508201610067 [08:57:47]line Контрольно-КаÑÑовый Чек [08:57:47]line ПРОДÐЖР[08:57:47]line ТРК (МРК, ГÐК) : 12 [08:57:47]line Товар: 2710124130 [08:57:47]line Ðи-92-К-5 [08:57:47]line 4.490 * 66.90 [08:57:47]line = 300.38 [08:57:47]line ÐДС 12% ÐСП 1% [08:57:47]line > о реализуемом товаре [08:57:47]line ОКРУГЛЕÐИЕ: -0.38 [08:57:47]line ИТОГО: 300.00 [08:57:47]line ВнеÑено: 300.00 [08:57:47]line СДÐЧÐ: 0.00 [08:57:47]line ÐСП 1% : 2.66 [08:57:47]line ÐДС 12% : 31.90 [08:57:47]line Ðаличными: 300.00 [08:57:47]line Безнал.: 0.00 [08:57:47]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [08:57:47]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [08:57:47]line СÐО: Общий режим [08:57:47]line Чек 24 20.10.2024 08:57 [08:57:47]line Смена: 461 ФФД: 1.0 [08:57:47]line ЗÐМ: 0300000235 [08:57:47]line РÐМ: 0000000000098149 [08:57:47]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [08:57:47]line ФМ: 0000000000965372 [08:57:47]line ФД: 37176 [08:57:47]line ФПД: 69014452655250 [08:57:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T085752&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37176&fm=69014452655250&tin=02508201610067®Number=0000000000098149&sum=30000 [08:57:47]OFD Sender: Processing packet 37176 [packets to send 25, broken 24] [08:57:47]ProducePacketName [08:57:47]name=ofd_packets/00037176 [08:57:47]OFD Sender: To server: ‡•öpG, [08:57:47]CommunicateWithHost lk.salyk.kg:30040 [08:57:47]ConnectInit lk.salyk.kg [08:57:47]written 0, free lines is 4095 [08:57:47]Connected sock=11 [08:57: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 33 37 32 0F 01 00 00 15 85 07 01 BD AD 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 10 C6 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 38 91 00 00 35 04 06 00 3E C4 AD EF 54 92 96 DF DB D0 36 8A 96 B7 [08:57:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 43 91 47 00 56 55 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 38 91 00 00 F4 03 04 00 A3 6E 14 67 B6 04 01 00 00 50 18 0E E2 0A 52 0B 04 [08:57:47]CommunicateWithHost err = 0 [08:57:47]CheckOFDResponse [08:57:47]1017 (14) - 77093643461234 [08:57:47]1041 (16) - 0000000000965372 [08:57:47]1040 (4) - 37176 [08:57:47]1012 (4) - 20.10.2024 02:44 [08:57:47]1206 (1) - 0 [08:57:47]OFD Sender: Remove packet 37176 [08:57:47]ProducePacketName [08:57:47]name=ofd_packets/00037176 [08:57:47]NVStorageDeleteData [08:57:48]Write to MH i2c: 01 00 00 25 1B 40 [08:57:48]Write i2c OK [08:57:48]MH_I2C_Read... [08:57:48]Read from MH i2c: 01 [08:57:48]MH_I2C_Read... [08:57:48]Read from MH i2c: 01 07 00 [08:57:48]MH_I2C_Read... [08:57:48]Read from MH i2c: 01 07 00 25 1B 00 00 00 00 00 E4 0C 37 [08:57:48]RasterBufferAndPrint [08:57:48]line [08:57:48]line [08:57:48]line [08:57:48]line [08:57:48]line [08:57:48]written 0, free lines is 3306 [08:57:48]process_action close_receipt done [08:57:48]requested_data is exist [08:57:48]produce_requested_data [08:57:48]requested_item fm.sn is exist - process it [08:57:48]wFMCommunicate request_size=4 [08:57:48]MH_SAM_APDU [08:57:48]CAPDU: 80 11 00 00 [08:57:48]Write to MH i2c: E2 08 00 2C 1B 80 11 00 00 00 00 00 00 C1 [08:57:48]Write i2c OK [08:57:48]MH_I2C_Read... [08:57:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:57:48]Read from MH i2c: E2 [08:57:48]MH_I2C_Read... [08:57:48]Read from MH i2c: E2 17 00 [08:57:48]MH_I2C_Read... [08:57:48]Read from MH i2c: E2 17 00 2C 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 14 [08:57:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [08:57:48]wFMCommunicate OK [08:57:48]requested_item fd.num is exist - process it [08:57:48]SAM_PROTO_GetFieldsCounters [08:57:48]wFMCommunicate request_size=4 [08:57:48]MH_SAM_APDU [08:57:48]CAPDU: 80 13 00 00 [08:57:48]Write to MH i2c: E2 08 00 2D 1B 80 13 00 00 00 00 00 00 C4 [08:57:48]Write i2c OK [08:57:48]MH_I2C_Read... [08:57:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:57:48]Read from MH i2c: E2 [08:57:48]MH_I2C_Read... [08:57:48]Read from MH i2c: E2 62 00 [08:57:48]MH_I2C_Read... [08:57:48]Read from MH i2c: E2 62 00 2D 1B 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 38 91 00 00 0E 04 04 00 CD 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 CA [08:57: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 38 91 00 00 0E 04 04 00 CD 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 [08:57:48]wFMCommunicate OK [08:57:48]SAM_PROTO_GetFieldsCounters done [08:57:48]requested_item shift.num is exist - process it [08:57:48]requested_item shift.opened is exist - process it [08:57:48]req_shift_opened [08:57:48]FM_GetShiftState [08:57:48]SAM_PROTO_GetShiftState [08:57:48]wFMCommunicate request_size=4 [08:57:48]MH_SAM_APDU [08:57:48]CAPDU: 80 13 01 00 [08:57:48]Write to MH i2c: E2 08 00 2E 1B 80 13 01 00 00 00 00 00 C6 [08:57:48]Write i2c OK [08:57:48]MH_I2C_Read... [08:57:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:57:48]Read from MH i2c: E2 [08:57:48]MH_I2C_Read... [08:57:48]Read from MH i2c: E2 0E 00 [08:57:48]MH_I2C_Read... [08:57:48]Read from MH i2c: E2 0E 00 2E 1B 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 1B [08:57:48]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [08:57:48]wFMCommunicate OK [08:57:48]SAM_PROTO_GetShiftState done [08:57:48]FM_GetShiftState done [08:57:48]req_shift_opened done [08:57:48]requested_item shift.open_date is exist - process it [08:57:48]req_shift_open_date [08:57:48]req_shift_open_date done [08:57:48]produce_requested_data done [08:57:48]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37176,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [08:57:48]process_action_free close_receipt [08:57:48]json_value_free [08:57:48]json_value_free done [08:57:48]process_json_proto returns [08:57:48]Send response to host [08:57:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37176,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [08:57:48]free response buf [08:57:48]execute_script done [08:57:48]execute_script returns [08:57:48]free content buf [08:57:48]Sock 9.Close socket [08:57:48]Sock 9.Thread stoped [08:57:48]OFD Sender: No OFD packet to send [08:57:53]OFD Sender: No OFD packet to send [08:57:58]OFD Sender: No OFD packet to send [08:58:03]OFD Sender: No OFD packet to send [08:58:08]OFD Sender: No OFD packet to send [08:58:13]OFD Sender: No OFD packet to send [08:58:18]OFD Sender: No OFD packet to send [08:58:23]OFD Sender: No OFD packet to send [08:58:28]OFD Sender: No OFD packet to send [08:58:33]OFD Sender: No OFD packet to send [08:58:38]OFD Sender: No OFD packet to send [08:58:43]OFD Sender: No OFD packet to send [08:58:48]OFD Sender: No OFD packet to send [08:58:53]OFD Sender: No OFD packet to send [08:58:58]OFD Sender: No OFD packet to send [08:59:03]OFD Sender: No OFD packet to send [08:59:08]OFD Sender: No OFD packet to send [08:59:13]OFD Sender: No OFD packet to send [08:59:18]OFD Sender: No OFD packet to send [08:59:23]OFD Sender: No OFD packet to send [08:59:28]OFD Sender: No OFD packet to send [08:59:33]OFD Sender: No OFD packet to send [08:59:38]OFD Sender: No OFD packet to send [08:59:43]OFD Sender: No OFD packet to send [08:59:48]OFD Sender: No OFD packet to send [08:59:53]OFD Sender: No OFD packet to send [08:59:58]OFD Sender: No OFD packet to send [09:00:03]OFD Sender: No OFD packet to send [09:00:08]OFD Sender: No OFD packet to send [09:00:13]OFD Sender: No OFD packet to send [09:00:18]OFD Sender: No OFD packet to send [09:00:23]OFD Sender: No OFD packet to send [09:00:28]OFD Sender: No OFD packet to send [09:00:33]OFD Sender: No OFD packet to send [09:00:38]OFD Sender: No OFD packet to send [09:00:43]OFD Sender: No OFD packet to send [09:00:48]OFD Sender: No OFD packet to send [09:00:53]OFD Sender: No OFD packet to send [09:00:58]OFD Sender: No OFD packet to send [09:01:03]OFD Sender: No OFD packet to send [09:01:08]OFD Sender: No OFD packet to send [09:01:13]OFD Sender: No OFD packet to send [09:01:18]OFD Sender: No OFD packet to send [09:01:23]OFD Sender: No OFD packet to send [09:01:28]OFD Sender: No OFD packet to send [09:01:33]OFD Sender: No OFD packet to send [09:01:38]OFD Sender: No OFD packet to send [09:01:43]OFD Sender: No OFD packet to send [09:01:48]OFD Sender: No OFD packet to send [09:01:53]OFD Sender: No OFD packet to send [09:01:58]OFD Sender: No OFD packet to send [09:02:03]OFD Sender: No OFD packet to send [09:02:08]OFD Sender: No OFD packet to send [09:02:13]OFD Sender: No OFD packet to send [09:02:18]OFD Sender: No OFD packet to send [09:02:23]OFD Sender: No OFD packet to send [09:02:28]OFD Sender: No OFD packet to send [09:02:33]OFD Sender: No OFD packet to send [09:02:38]OFD Sender: No OFD packet to send [09:02:43]OFD Sender: No OFD packet to send [09:02:48]OFD Sender: No OFD packet to send [09:02:53]OFD Sender: No OFD packet to send [09:02:58]OFD Sender: No OFD packet to send [09:03:03]OFD Sender: No OFD packet to send [09:03:08]OFD Sender: No OFD packet to send [09:03:13]OFD Sender: No OFD packet to send [09:03:18]OFD Sender: No OFD packet to send [09:03:23]OFD Sender: No OFD packet to send [09:03:28]OFD Sender: No OFD packet to send [09:03:33]OFD Sender: No OFD packet to send [09:03:38]OFD Sender: No OFD packet to send [09:03:43]OFD Sender: No OFD packet to send [09:03:48]OFD Sender: No OFD packet to send [09:03:53]OFD Sender: No OFD packet to send [09:03:58]OFD Sender: No OFD packet to send [09:04:03]OFD Sender: No OFD packet to send [09:04:08]OFD Sender: No OFD packet to send [09:04:13]OFD Sender: No OFD packet to send [09:04:18]OFD Sender: No OFD packet to send [09:04:23]OFD Sender: No OFD packet to send [09:04:28]OFD Sender: No OFD packet to send [09:04:33]OFD Sender: No OFD packet to send [09:04:38]OFD Sender: No OFD packet to send [09:04:43]OFD Sender: No OFD packet to send [09:04:48]OFD Sender: No OFD packet to send [09:04:53]OFD Sender: No OFD packet to send [09:04:58]OFD Sender: No OFD packet to send [09:05:03]OFD Sender: No OFD packet to send [09:05:08]OFD Sender: No OFD packet to send [09:05:13]OFD Sender: No OFD packet to send [09:05:18]OFD Sender: No OFD packet to send [09:05:23]OFD Sender: No OFD packet to send [09:05:28]OFD Sender: No OFD packet to send [09:05:33]OFD Sender: No OFD packet to send [09:05:38]OFD Sender: No OFD packet to send [09:05:43]OFD Sender: No OFD packet to send [09:05:48]OFD Sender: No OFD packet to send [09:05:53]OFD Sender: No OFD packet to send [09:05:58]OFD Sender: No OFD packet to send [09:06:03]OFD Sender: No OFD packet to send [09:06:08]OFD Sender: No OFD packet to send [09:06:13]OFD Sender: No OFD packet to send [09:06:18]OFD Sender: No OFD packet to send [09:06:23]OFD Sender: No OFD packet to send [09:06:28]OFD Sender: No OFD packet to send [09:06:33]OFD Sender: No OFD packet to send [09:06:38]OFD Sender: No OFD packet to send [09:06:43]OFD Sender: No OFD packet to send [09:06:48]OFD Sender: No OFD packet to send [09:06:53]OFD Sender: No OFD packet to send [09:06:58]OFD Sender: No OFD packet to send [09:07:03]OFD Sender: No OFD packet to send [09:07:08]OFD Sender: No OFD packet to send [09:07:13]OFD Sender: No OFD packet to send [09:07:18]OFD Sender: No OFD packet to send [09:07:23]OFD Sender: No OFD packet to send [09:07:28]OFD Sender: No OFD packet to send [09:07:33]OFD Sender: No OFD packet to send [09:07:38]OFD Sender: No OFD packet to send [09:07:43]OFD Sender: No OFD packet to send [09:07:48]OFD Sender: No OFD packet to send [09:07:53]OFD Sender: No OFD packet to send [09:07:58]OFD Sender: No OFD packet to send [09:08:03]OFD Sender: No OFD packet to send [09:08:08]OFD Sender: No OFD packet to send [09:08:13]OFD Sender: No OFD packet to send [09:08:18]OFD Sender: No OFD packet to send [09:08:23]OFD Sender: No OFD packet to send [09:08:28]OFD Sender: No OFD packet to send [09:08:33]OFD Sender: No OFD packet to send [09:08:38]OFD Sender: No OFD packet to send [09:08:43]OFD Sender: No OFD packet to send [09:08:48]OFD Sender: No OFD packet to send [09:08:53]OFD Sender: No OFD packet to send [09:08:58]OFD Sender: No OFD packet to send [09:09:03]OFD Sender: No OFD packet to send [09:09:08]OFD Sender: No OFD packet to send [09:09:13]OFD Sender: No OFD packet to send [09:09:18]OFD Sender: No OFD packet to send [09:09:23]OFD Sender: No OFD packet to send [09:09:28]OFD Sender: No OFD packet to send [09:09:34]OFD Sender: No OFD packet to send [09:09:39]OFD Sender: No OFD packet to send [09:09:44]OFD Sender: No OFD packet to send [09:09:49]OFD Sender: No OFD packet to send [09:09:54]OFD Sender: No OFD packet to send [09:09:59]OFD Sender: No OFD packet to send [09:10:04]OFD Sender: No OFD packet to send [09:10:09]OFD Sender: No OFD packet to send [09:10:14]OFD Sender: No OFD packet to send [09:10:19]OFD Sender: No OFD packet to send [09:10:24]OFD Sender: No OFD packet to send [09:10:29]OFD Sender: No OFD packet to send [09:10:34]OFD Sender: No OFD packet to send [09:10:39]OFD Sender: No OFD packet to send [09:10:44]OFD Sender: No OFD packet to send [09:10:49]OFD Sender: No OFD packet to send [09:10:54]OFD Sender: No OFD packet to send [09:10:59]OFD Sender: No OFD packet to send [09:11:04]OFD Sender: No OFD packet to send [09:11:09]OFD Sender: No OFD packet to send [09:11:14]OFD Sender: No OFD packet to send [09:11:19]OFD Sender: No OFD packet to send [09:11:24]OFD Sender: No OFD packet to send [09:11:29]OFD Sender: No OFD packet to send [09:11:34]OFD Sender: No OFD packet to send [09:11:39]OFD Sender: No OFD packet to send [09:11:44]OFD Sender: No OFD packet to send [09:11:49]OFD Sender: No OFD packet to send [09:11:54]OFD Sender: No OFD packet to send [09:11:59]OFD Sender: No OFD packet to send [09:12:04]OFD Sender: No OFD packet to send [09:12:09]OFD Sender: No OFD packet to send [09:12:14]OFD Sender: No OFD packet to send [09:12:19]OFD Sender: No OFD packet to send [09:12:24]OFD Sender: No OFD packet to send [09:12:29]OFD Sender: No OFD packet to send [09:12:34]OFD Sender: No OFD packet to send [09:12:39]OFD Sender: No OFD packet to send [09:12:44]OFD Sender: No OFD packet to send [09:12:49]OFD Sender: No OFD packet to send [09:12:54]OFD Sender: No OFD packet to send [09:12:59]OFD Sender: No OFD packet to send [09:13:04]OFD Sender: No OFD packet to send [09:13:09]OFD Sender: No OFD packet to send [09:13:14]OFD Sender: No OFD packet to send [09:13:19]OFD Sender: No OFD packet to send [09:13:24]OFD Sender: No OFD packet to send [09:13:29]OFD Sender: No OFD packet to send [09:13:34]OFD Sender: No OFD packet to send [09:13:39]OFD Sender: No OFD packet to send [09:13:44]OFD Sender: No OFD packet to send [09:13:49]OFD Sender: No OFD packet to send [09:13:54]OFD Sender: No OFD packet to send [09:13:59]OFD Sender: No OFD packet to send [09:14:04]OFD Sender: No OFD packet to send [09:14:09]OFD Sender: No OFD packet to send [09:14:14]OFD Sender: No OFD packet to send [09:14:19]OFD Sender: No OFD packet to send [09:14:24]OFD Sender: No OFD packet to send [09:14:29]OFD Sender: No OFD packet to send [09:14:34]OFD Sender: No OFD packet to send [09:14:39]OFD Sender: No OFD packet to send [09:14:44]OFD Sender: No OFD packet to send [09:14:49]OFD Sender: No OFD packet to send [09:14:54]OFD Sender: No OFD packet to send [09:14:59]OFD Sender: No OFD packet to send [09:15:04]OFD Sender: No OFD packet to send [09:15:09]OFD Sender: No OFD packet to send [09:15:14]OFD Sender: No OFD packet to send [09:15:19]OFD Sender: No OFD packet to send [09:15:24]OFD Sender: No OFD packet to send [09:15:29]OFD Sender: No OFD packet to send [09:15:34]OFD Sender: No OFD packet to send [09:15:39]OFD Sender: No OFD packet to send [09:15:44]OFD Sender: No OFD packet to send [09:15:49]OFD Sender: No OFD packet to send [09:15:54]OFD Sender: No OFD packet to send [09:15:59]OFD Sender: No OFD packet to send [09:16:04]OFD Sender: No OFD packet to send [09:16:09]OFD Sender: No OFD packet to send [09:16:14]OFD Sender: No OFD packet to send [09:16:19]OFD Sender: No OFD packet to send [09:16:24]OFD Sender: No OFD packet to send [09:16:29]OFD Sender: No OFD packet to send [09:16:34]OFD Sender: No OFD packet to send [09:16:39]OFD Sender: No OFD packet to send [09:16:44]OFD Sender: No OFD packet to send [09:16:49]OFD Sender: No OFD packet to send [09:16:54]OFD Sender: No OFD packet to send [09:16:59]OFD Sender: No OFD packet to send [09:17:04]OFD Sender: No OFD packet to send [09:17:09]OFD Sender: No OFD packet to send [09:17:14]OFD Sender: No OFD packet to send [09:17:19]OFD Sender: No OFD packet to send [09:17:24]OFD Sender: No OFD packet to send [09:17:29]OFD Sender: No OFD packet to send [09:17:34]OFD Sender: No OFD packet to send [09:17:39]OFD Sender: No OFD packet to send [09:17:44]OFD Sender: No OFD packet to send [09:17:49]OFD Sender: No OFD packet to send [09:17:54]OFD Sender: No OFD packet to send [09:17:59]OFD Sender: No OFD packet to send [09:18:04]OFD Sender: No OFD packet to send [09:18:09]OFD Sender: No OFD packet to send [09:18:14]OFD Sender: No OFD packet to send [09:18:19]OFD Sender: No OFD packet to send [09:18:24]OFD Sender: No OFD packet to send [09:18:29]OFD Sender: No OFD packet to send [09:18:34]OFD Sender: No OFD packet to send [09:18:39]OFD Sender: No OFD packet to send [09:18:44]OFD Sender: No OFD packet to send [09:18:49]OFD Sender: No OFD packet to send [09:18:54]OFD Sender: No OFD packet to send [09:18:59]OFD Sender: No OFD packet to send [09:19:04]OFD Sender: No OFD packet to send [09:19:09]OFD Sender: No OFD packet to send [09:19:14]OFD Sender: No OFD packet to send [09:19:19]OFD Sender: No OFD packet to send [09:19:24]OFD Sender: No OFD packet to send [09:19:29]OFD Sender: No OFD packet to send [09:19:34]OFD Sender: No OFD packet to send [09:19:39]OFD Sender: No OFD packet to send [09:19:44]OFD Sender: No OFD packet to send [09:19:49]OFD Sender: No OFD packet to send [09:19:54]OFD Sender: No OFD packet to send [09:19:59]OFD Sender: No OFD packet to send [09:20:04]OFD Sender: No OFD packet to send [09:20:09]OFD Sender: No OFD packet to send [09:20:14]OFD Sender: No OFD packet to send [09:20:19]OFD Sender: No OFD packet to send [09:20:24]OFD Sender: No OFD packet to send [09:20:29]OFD Sender: No OFD packet to send [09:20:34]OFD Sender: No OFD packet to send [09:20:39]OFD Sender: No OFD packet to send [09:20:44]OFD Sender: No OFD packet to send [09:20:49]OFD Sender: No OFD packet to send [09:20:54]OFD Sender: No OFD packet to send [09:20:59]OFD Sender: No OFD packet to send [09:21:04]OFD Sender: No OFD packet to send [09:21:09]OFD Sender: No OFD packet to send [09:21:14]OFD Sender: No OFD packet to send [09:21:19]OFD Sender: No OFD packet to send [09:21:24]OFD Sender: No OFD packet to send [09:21:29]OFD Sender: No OFD packet to send [09:21:34]OFD Sender: No OFD packet to send [09:21:39]OFD Sender: No OFD packet to send [09:21:44]OFD Sender: No OFD packet to send [09:21:49]OFD Sender: No OFD packet to send [09:21:54]OFD Sender: No OFD packet to send [09:21:59]OFD Sender: No OFD packet to send [09:22:04]OFD Sender: No OFD packet to send [09:22:09]OFD Sender: No OFD packet to send [09:22:14]OFD Sender: No OFD packet to send [09:22:19]OFD Sender: No OFD packet to send [09:22:24]OFD Sender: No OFD packet to send [09:22:29]OFD Sender: No OFD packet to send [09:22:34]OFD Sender: No OFD packet to send [09:22:39]OFD Sender: No OFD packet to send [09:22:44]OFD Sender: No OFD packet to send [09:22:49]OFD Sender: No OFD packet to send [09:22:54]OFD Sender: No OFD packet to send [09:22:59]OFD Sender: No OFD packet to send [09:23:04]OFD Sender: No OFD packet to send [09:23:09]OFD Sender: No OFD packet to send [09:23:14]OFD Sender: No OFD packet to send [09:23:19]OFD Sender: No OFD packet to send [09:23:24]OFD Sender: No OFD packet to send [09:23:29]OFD Sender: No OFD packet to send [09:23:34]OFD Sender: No OFD packet to send [09:23:39]OFD Sender: No OFD packet to send [09:23:44]OFD Sender: No OFD packet to send [09:23:49]OFD Sender: No OFD packet to send [09:23:54]OFD Sender: No OFD packet to send [09:23:59]OFD Sender: No OFD packet to send [09:24:04]OFD Sender: No OFD packet to send [09:24:09]OFD Sender: No OFD packet to send [09:24:14]OFD Sender: No OFD packet to send [09:24:19]OFD Sender: No OFD packet to send [09:24:24]OFD Sender: No OFD packet to send [09:24:29]OFD Sender: No OFD packet to send [09:24:34]OFD Sender: No OFD packet to send [09:24:39]OFD Sender: No OFD packet to send [09:24:44]OFD Sender: No OFD packet to send [09:24:49]OFD Sender: No OFD packet to send [09:24:54]OFD Sender: No OFD packet to send [09:24:59]OFD Sender: No OFD packet to send [09:25:04]OFD Sender: No OFD packet to send [09:25:09]OFD Sender: No OFD packet to send [09:25:14]OFD Sender: No OFD packet to send [09:25:19]OFD Sender: No OFD packet to send [09:25:24]OFD Sender: No OFD packet to send [09:25:29]OFD Sender: No OFD packet to send [09:25:34]OFD Sender: No OFD packet to send [09:25:39]OFD Sender: No OFD packet to send [09:25:44]OFD Sender: No OFD packet to send [09:25:49]OFD Sender: No OFD packet to send [09:25:54]OFD Sender: No OFD packet to send [09:25:59]OFD Sender: No OFD packet to send [09:26:04]OFD Sender: No OFD packet to send [09:26:09]OFD Sender: No OFD packet to send [09:26:14]OFD Sender: No OFD packet to send [09:26:19]OFD Sender: No OFD packet to send [09:26:24]OFD Sender: No OFD packet to send [09:26:29]OFD Sender: No OFD packet to send [09:26:34]OFD Sender: No OFD packet to send [09:26:39]OFD Sender: No OFD packet to send [09:26:44]OFD Sender: No OFD packet to send [09:26:49]OFD Sender: No OFD packet to send [09:26:54]OFD Sender: No OFD packet to send [09:26:59]OFD Sender: No OFD packet to send [09:27:04]OFD Sender: No OFD packet to send [09:27:09]OFD Sender: No OFD packet to send [09:27:14]OFD Sender: No OFD packet to send [09:27:19]OFD Sender: No OFD packet to send [09:27:24]OFD Sender: No OFD packet to send [09:27:29]OFD Sender: No OFD packet to send [09:27:34]OFD Sender: No OFD packet to send [09:27:39]OFD Sender: No OFD packet to send [09:27:44]OFD Sender: No OFD packet to send [09:27:49]OFD Sender: No OFD packet to send [09:27:54]OFD Sender: No OFD packet to send [09:27:59]OFD Sender: No OFD packet to send [09:28:04]OFD Sender: No OFD packet to send [09:28:09]OFD Sender: No OFD packet to send [09:28:14]OFD Sender: No OFD packet to send [09:28:19]OFD Sender: No OFD packet to send [09:28:24]OFD Sender: No OFD packet to send [09:28:29]OFD Sender: No OFD packet to send [09:28:34]OFD Sender: No OFD packet to send [09:28:39]OFD Sender: No OFD packet to send [09:28:44]OFD Sender: No OFD packet to send [09:28:49]OFD Sender: No OFD packet to send [09:28:54]OFD Sender: No OFD packet to send [09:28:59]OFD Sender: No OFD packet to send [09:29:04]OFD Sender: No OFD packet to send [09:29:09]OFD Sender: No OFD packet to send [09:29:14]OFD Sender: No OFD packet to send [09:29:19]OFD Sender: No OFD packet to send [09:29:25]OFD Sender: No OFD packet to send [09:29:30]OFD Sender: No OFD packet to send [09:29:35]OFD Sender: No OFD packet to send [09:29:40]OFD Sender: No OFD packet to send [09:29:45]OFD Sender: No OFD packet to send [09:29:50]OFD Sender: No OFD packet to send [09:29:55]OFD Sender: No OFD packet to send [09:30:00]OFD Sender: No OFD packet to send [09:30:05]OFD Sender: No OFD packet to send [09:30:10]OFD Sender: No OFD packet to send [09:30:15]OFD Sender: No OFD packet to send [09:30:20]OFD Sender: No OFD packet to send [09:30:25]OFD Sender: No OFD packet to send [09:30:30]OFD Sender: No OFD packet to send [09:30:35]OFD Sender: No OFD packet to send [09:30:40]OFD Sender: No OFD packet to send [09:30:45]OFD Sender: No OFD packet to send [09:30:50]OFD Sender: No OFD packet to send [09:30:55]OFD Sender: No OFD packet to send [09:31:00]OFD Sender: No OFD packet to send [09:31:05]OFD Sender: No OFD packet to send [09:31:10]OFD Sender: No OFD packet to send [09:31:15]OFD Sender: No OFD packet to send [09:31:20]OFD Sender: No OFD packet to send [09:31:25]OFD Sender: No OFD packet to send [09:31:30]OFD Sender: No OFD packet to send [09:31:35]OFD Sender: No OFD packet to send [09:31:40]OFD Sender: No OFD packet to send [09:31:45]OFD Sender: No OFD packet to send [09:31:50]OFD Sender: No OFD packet to send [09:31:55]OFD Sender: No OFD packet to send [09:32:00]OFD Sender: No OFD packet to send [09:32:05]OFD Sender: No OFD packet to send [09:32:10]OFD Sender: No OFD packet to send [09:32:15]OFD Sender: No OFD packet to send [09:32:20]OFD Sender: No OFD packet to send [09:32:25]OFD Sender: No OFD packet to send [09:32:30]OFD Sender: No OFD packet to send [09:32:35]OFD Sender: No OFD packet to send [09:32:40]OFD Sender: No OFD packet to send [09:32:45]OFD Sender: No OFD packet to send [09:32:50]OFD Sender: No OFD packet to send [09:32:55]OFD Sender: No OFD packet to send [09:33:00]OFD Sender: No OFD packet to send [09:33:05]OFD Sender: No OFD packet to send [09:33:10]OFD Sender: No OFD packet to send [09:33:15]OFD Sender: No OFD packet to send [09:33:20]OFD Sender: No OFD packet to send [09:33:25]OFD Sender: No OFD packet to send [09:33:30]OFD Sender: No OFD packet to send [09:33:35]OFD Sender: No OFD packet to send [09:33:40]OFD Sender: No OFD packet to send [09:33:45]OFD Sender: No OFD packet to send [09:33:50]OFD Sender: No OFD packet to send [09:33:55]OFD Sender: No OFD packet to send [09:34:00]OFD Sender: No OFD packet to send [09:34:05]OFD Sender: No OFD packet to send [09:34:10]OFD Sender: No OFD packet to send [09:34:15]OFD Sender: No OFD packet to send [09:34:20]OFD Sender: No OFD packet to send [09:34:25]OFD Sender: No OFD packet to send [09:34:30]OFD Sender: No OFD packet to send [09:34:35]OFD Sender: No OFD packet to send [09:34:40]OFD Sender: No OFD packet to send [09:34:45]OFD Sender: No OFD packet to send [09:34:50]OFD Sender: No OFD packet to send [09:34:55]OFD Sender: No OFD packet to send [09:35:00]OFD Sender: No OFD packet to send [09:35:05]OFD Sender: No OFD packet to send [09:35:10]OFD Sender: No OFD packet to send [09:35:15]OFD Sender: No OFD packet to send [09:35:20]OFD Sender: No OFD packet to send [09:35:25]OFD Sender: No OFD packet to send [09:35:30]OFD Sender: No OFD packet to send [09:35:35]OFD Sender: No OFD packet to send [09:35:40]OFD Sender: No OFD packet to send [09:35:45]OFD Sender: No OFD packet to send [09:35:50]OFD Sender: No OFD packet to send [09:35:55]OFD Sender: No OFD packet to send [09:36:00]OFD Sender: No OFD packet to send [09:36:05]OFD Sender: No OFD packet to send [09:36:10]OFD Sender: No OFD packet to send [09:36:15]OFD Sender: No OFD packet to send [09:36:20]OFD Sender: No OFD packet to send [09:36:25]OFD Sender: No OFD packet to send [09:36:30]OFD Sender: No OFD packet to send [09:36:35]OFD Sender: No OFD packet to send [09:36:40]OFD Sender: No OFD packet to send [09:36:45]OFD Sender: No OFD packet to send [09:36:50]OFD Sender: No OFD packet to send [09:36:55]OFD Sender: No OFD packet to send [09:37:00]OFD Sender: No OFD packet to send [09:37:05]OFD Sender: No OFD packet to send [09:37:10]OFD Sender: No OFD packet to send [09:37:15]OFD Sender: No OFD packet to send [09:37:20]OFD Sender: No OFD packet to send [09:37:25]OFD Sender: No OFD packet to send [09:37:30]OFD Sender: No OFD packet to send [09:37:35]OFD Sender: No OFD packet to send [09:37:40]OFD Sender: No OFD packet to send [09:37:45]OFD Sender: No OFD packet to send [09:37:50]OFD Sender: No OFD packet to send [09:37:55]OFD Sender: No OFD packet to send [09:38:00]OFD Sender: No OFD packet to send [09:38:05]OFD Sender: No OFD packet to send [09:38:10]OFD Sender: No OFD packet to send [09:38:15]OFD Sender: No OFD packet to send [09:38:20]OFD Sender: No OFD packet to send [09:38:25]OFD Sender: No OFD packet to send [09:38:30]OFD Sender: No OFD packet to send [09:38:35]OFD Sender: No OFD packet to send [09:38:40]OFD Sender: No OFD packet to send [09:38:45]OFD Sender: No OFD packet to send [09:38:50]OFD Sender: No OFD packet to send [09:38:55]OFD Sender: No OFD packet to send [09:39:00]OFD Sender: No OFD packet to send [09:39:05]OFD Sender: No OFD packet to send [09:39:10]OFD Sender: No OFD packet to send [09:39:15]OFD Sender: No OFD packet to send [09:39:20]OFD Sender: No OFD packet to send [09:39:25]OFD Sender: No OFD packet to send [09:39:30]OFD Sender: No OFD packet to send [09:39:35]OFD Sender: No OFD packet to send [09:39:40]OFD Sender: No OFD packet to send [09:39:45]OFD Sender: No OFD packet to send [09:39:50]OFD Sender: No OFD packet to send [09:39:55]OFD Sender: No OFD packet to send [09:40:00]OFD Sender: No OFD packet to send [09:40:05]OFD Sender: No OFD packet to send [09:40:10]OFD Sender: No OFD packet to send [09:40:15]OFD Sender: No OFD packet to send [09:40:20]OFD Sender: No OFD packet to send [09:40:25]OFD Sender: No OFD packet to send [09:40:30]OFD Sender: No OFD packet to send [09:40:35]OFD Sender: No OFD packet to send [09:40:40]OFD Sender: No OFD packet to send [09:40:45]OFD Sender: No OFD packet to send [09:40:50]OFD Sender: No OFD packet to send [09:40:55]OFD Sender: No OFD packet to send [09:41:00]OFD Sender: No OFD packet to send [09:41:05]OFD Sender: No OFD packet to send [09:41:10]OFD Sender: No OFD packet to send [09:41:15]OFD Sender: No OFD packet to send [09:41:20]OFD Sender: No OFD packet to send [09:41:25]OFD Sender: No OFD packet to send [09:41:30]OFD Sender: No OFD packet to send [09:41:35]OFD Sender: No OFD packet to send [09:41:40]OFD Sender: No OFD packet to send [09:41:45]OFD Sender: No OFD packet to send [09:41:50]OFD Sender: No OFD packet to send [09:41:55]OFD Sender: No OFD packet to send [09:42:00]OFD Sender: No OFD packet to send [09:42:05]OFD Sender: No OFD packet to send [09:42:10]OFD Sender: No OFD packet to send [09:42:15]OFD Sender: No OFD packet to send [09:42:20]OFD Sender: No OFD packet to send [09:42:25]OFD Sender: No OFD packet to send [09:42:30]OFD Sender: No OFD packet to send [09:42:35]OFD Sender: No OFD packet to send [09:42:40]OFD Sender: No OFD packet to send [09:42:45]OFD Sender: No OFD packet to send [09:42:50]OFD Sender: No OFD packet to send [09:42:55]OFD Sender: No OFD packet to send [09:43:00]OFD Sender: No OFD packet to send [09:43:05]OFD Sender: No OFD packet to send [09:43:10]OFD Sender: No OFD packet to send [09:43:15]OFD Sender: No OFD packet to send [09:43:20]OFD Sender: No OFD packet to send [09:43:25]OFD Sender: No OFD packet to send [09:43:30]OFD Sender: No OFD packet to send [09:43:35]OFD Sender: No OFD packet to send [09:43:40]OFD Sender: No OFD packet to send [09:43:45]OFD Sender: No OFD packet to send [09:43:50]OFD Sender: No OFD packet to send [09:43:55]OFD Sender: No OFD packet to send [09:44:00]OFD Sender: No OFD packet to send [09:44:05]OFD Sender: No OFD packet to send [09:44:10]OFD Sender: No OFD packet to send [09:44:15]OFD Sender: No OFD packet to send [09:44:20]OFD Sender: No OFD packet to send [09:44:25]OFD Sender: No OFD packet to send [09:44:30]OFD Sender: No OFD packet to send [09:44:35]OFD Sender: No OFD packet to send [09:44:40]OFD Sender: No OFD packet to send [09:44:45]OFD Sender: No OFD packet to send [09:44:50]OFD Sender: No OFD packet to send [09:44:55]OFD Sender: No OFD packet to send [09:45:00]OFD Sender: No OFD packet to send [09:45:05]OFD Sender: No OFD packet to send [09:45:10]OFD Sender: No OFD packet to send [09:45:15]OFD Sender: No OFD packet to send [09:45:20]OFD Sender: No OFD packet to send [09:45:25]OFD Sender: No OFD packet to send [09:45:30]OFD Sender: No OFD packet to send [09:45:35]OFD Sender: No OFD packet to send [09:45:40]OFD Sender: No OFD packet to send [09:45:45]OFD Sender: No OFD packet to send [09:45:50]OFD Sender: No OFD packet to send [09:45:55]OFD Sender: No OFD packet to send [09:46:00]OFD Sender: No OFD packet to send [09:46:05]OFD Sender: No OFD packet to send [09:46:10]OFD Sender: No OFD packet to send [09:46:15]OFD Sender: No OFD packet to send [09:46:20]OFD Sender: No OFD packet to send [09:46:25]OFD Sender: No OFD packet to send [09:46:30]OFD Sender: No OFD packet to send [09:46:35]OFD Sender: No OFD packet to send [09:46:40]OFD Sender: No OFD packet to send [09:46:45]OFD Sender: No OFD packet to send [09:46:50]OFD Sender: No OFD packet to send [09:46:55]OFD Sender: No OFD packet to send [09:47:00]OFD Sender: No OFD packet to send [09:47:05]OFD Sender: No OFD packet to send [09:47:10]OFD Sender: No OFD packet to send [09:47:15]OFD Sender: No OFD packet to send [09:47:20]OFD Sender: No OFD packet to send [09:47:25]OFD Sender: No OFD packet to send [09:47:30]OFD Sender: No OFD packet to send [09:47:35]OFD Sender: No OFD packet to send [09:47:40]OFD Sender: No OFD packet to send [09:47:45]OFD Sender: No OFD packet to send [09:47:50]OFD Sender: No OFD packet to send [09:47:55]OFD Sender: No OFD packet to send [09:48:00]OFD Sender: No OFD packet to send [09:48:05]OFD Sender: No OFD packet to send [09:48:10]OFD Sender: No OFD packet to send [09:48:15]OFD Sender: No OFD packet to send [09:48:20]OFD Sender: No OFD packet to send [09:48:25]OFD Sender: No OFD packet to send [09:48:30]OFD Sender: No OFD packet to send [09:48:35]OFD Sender: No OFD packet to send [09:48:40]OFD Sender: No OFD packet to send [09:48:45]OFD Sender: No OFD packet to send [09:48:50]OFD Sender: No OFD packet to send [09:48:55]OFD Sender: No OFD packet to send [09:49:00]OFD Sender: No OFD packet to send [09:49:05]OFD Sender: No OFD packet to send [09:49:11]OFD Sender: No OFD packet to send [09:49:16]OFD Sender: No OFD packet to send [09:49:21]OFD Sender: No OFD packet to send [09:49:26]OFD Sender: No OFD packet to send [09:49:31]OFD Sender: No OFD packet to send [09:49:36]OFD Sender: No OFD packet to send [09:49:41]OFD Sender: No OFD packet to send [09:49:46]OFD Sender: No OFD packet to send [09:49:51]OFD Sender: No OFD packet to send [09:49:56]OFD Sender: No OFD packet to send [09:50:01]OFD Sender: No OFD packet to send [09:50:06]OFD Sender: No OFD packet to send [09:50:11]OFD Sender: No OFD packet to send [09:50:16]OFD Sender: No OFD packet to send [09:50:21]OFD Sender: No OFD packet to send [09:50:26]OFD Sender: No OFD packet to send [09:50:31]OFD Sender: No OFD packet to send [09:50:36]OFD Sender: No OFD packet to send [09:50:41]OFD Sender: No OFD packet to send [09:50:46]OFD Sender: No OFD packet to send [09:50:51]OFD Sender: No OFD packet to send [09:50:56]OFD Sender: No OFD packet to send [09:51:01]OFD Sender: No OFD packet to send [09:51:06]OFD Sender: No OFD packet to send [09:51:11]OFD Sender: No OFD packet to send [09:51:16]OFD Sender: No OFD packet to send [09:51:21]OFD Sender: No OFD packet to send [09:51:26]OFD Sender: No OFD packet to send [09:51:31]OFD Sender: No OFD packet to send [09:51:36]OFD Sender: No OFD packet to send [09:51:41]OFD Sender: No OFD packet to send [09:51:46]OFD Sender: No OFD packet to send [09:51:51]OFD Sender: No OFD packet to send [09:51:56]OFD Sender: No OFD packet to send [09:52:01]OFD Sender: No OFD packet to send [09:52:06]OFD Sender: No OFD packet to send [09:52:11]OFD Sender: No OFD packet to send [09:52:16]OFD Sender: No OFD packet to send [09:52:21]OFD Sender: No OFD packet to send [09:52:26]OFD Sender: No OFD packet to send [09:52:31]OFD Sender: No OFD packet to send [09:52:36]OFD Sender: No OFD packet to send [09:52:41]OFD Sender: No OFD packet to send [09:52:46]OFD Sender: No OFD packet to send [09:52:51]OFD Sender: No OFD packet to send [09:52:56]OFD Sender: No OFD packet to send [09:53:01]OFD Sender: No OFD packet to send [09:53:06]OFD Sender: No OFD packet to send [09:53:11]OFD Sender: No OFD packet to send [09:53:16]OFD Sender: No OFD packet to send [09:53:21]OFD Sender: No OFD packet to send [09:53:26]OFD Sender: No OFD packet to send [09:53:31]OFD Sender: No OFD packet to send [09:53:36]OFD Sender: No OFD packet to send [09:53:41]OFD Sender: No OFD packet to send [09:53:46]OFD Sender: No OFD packet to send [09:53:51]OFD Sender: No OFD packet to send [09:53:56]OFD Sender: No OFD packet to send [09:54:01]OFD Sender: No OFD packet to send [09:54:06]OFD Sender: No OFD packet to send [09:54:11]OFD Sender: No OFD packet to send [09:54:16]OFD Sender: No OFD packet to send [09:54:21]OFD Sender: No OFD packet to send [09:54:26]OFD Sender: No OFD packet to send [09:54:31]OFD Sender: No OFD packet to send [09:54:36]OFD Sender: No OFD packet to send [09:54:41]OFD Sender: No OFD packet to send [09:54:46]OFD Sender: No OFD packet to send [09:54:51]OFD Sender: No OFD packet to send [09:54:56]OFD Sender: No OFD packet to send [09:55:01]OFD Sender: No OFD packet to send [09:55:06]OFD Sender: No OFD packet to send [09:55:11]OFD Sender: No OFD packet to send [09:55:16]OFD Sender: No OFD packet to send [09:55:21]OFD Sender: No OFD packet to send [09:55:26]OFD Sender: No OFD packet to send [09:55:31]OFD Sender: No OFD packet to send [09:55:36]OFD Sender: No OFD packet to send [09:55:41]OFD Sender: No OFD packet to send [09:55:46]OFD Sender: No OFD packet to send [09:55:51]OFD Sender: No OFD packet to send [09:55:56]OFD Sender: No OFD packet to send [09:56:01]OFD Sender: No OFD packet to send [09:56:06]OFD Sender: No OFD packet to send [09:56:11]OFD Sender: No OFD packet to send [09:56:16]OFD Sender: No OFD packet to send [09:56:21]OFD Sender: No OFD packet to send [09:56:26]OFD Sender: No OFD packet to send [09:56:31]OFD Sender: No OFD packet to send [09:56:36]OFD Sender: No OFD packet to send [09:56:41]OFD Sender: No OFD packet to send [09:56:46]OFD Sender: No OFD packet to send [09:56:51]OFD Sender: No OFD packet to send [09:56:56]OFD Sender: No OFD packet to send [09:57:01]OFD Sender: No OFD packet to send [09:57:06]OFD Sender: No OFD packet to send [09:57:11]OFD Sender: No OFD packet to send [09:57:16]OFD Sender: No OFD packet to send [09:57:21]OFD Sender: No OFD packet to send [09:57:26]OFD Sender: No OFD packet to send [09:57:31]OFD Sender: No OFD packet to send [09:57:36]OFD Sender: No OFD packet to send [09:57:41]OFD Sender: No OFD packet to send [09:57:46]OFD Sender: No OFD packet to send [09:57:51]OFD Sender: No OFD packet to send [09:57:56]OFD Sender: No OFD packet to send [09:58:01]OFD Sender: No OFD packet to send [09:58:06]OFD Sender: No OFD packet to send [09:58:11]OFD Sender: No OFD packet to send [09:58:16]OFD Sender: No OFD packet to send [09:58:21]OFD Sender: No OFD packet to send [09:58:26]OFD Sender: No OFD packet to send [09:58:31]OFD Sender: No OFD packet to send [09:58:36]OFD Sender: No OFD packet to send [09:58:41]OFD Sender: No OFD packet to send [09:58:46]OFD Sender: No OFD packet to send [09:58:51]OFD Sender: No OFD packet to send [09:58:56]OFD Sender: No OFD packet to send [09:59:01]OFD Sender: No OFD packet to send [09:59:06]OFD Sender: No OFD packet to send [09:59:11]OFD Sender: No OFD packet to send [09:59:16]OFD Sender: No OFD packet to send [09:59:21]OFD Sender: No OFD packet to send [09:59:26]OFD Sender: No OFD packet to send [09:59:31]OFD Sender: No OFD packet to send [09:59:36]OFD Sender: No OFD packet to send [09:59:41]OFD Sender: No OFD packet to send [09:59:46]OFD Sender: No OFD packet to send [09:59:51]OFD Sender: No OFD packet to send [09:59:56]OFD Sender: No OFD packet to send [10:00:01]OFD Sender: No OFD packet to send [10:00:06]OFD Sender: No OFD packet to send [10:00:11]OFD Sender: No OFD packet to send [10:00:16]OFD Sender: No OFD packet to send [10:00:21]OFD Sender: No OFD packet to send [10:00:26]OFD Sender: No OFD packet to send [10:00:31]OFD Sender: No OFD packet to send [10:00:36]OFD Sender: No OFD packet to send [10:00:41]OFD Sender: No OFD packet to send [10:00:46]OFD Sender: No OFD packet to send [10:00:51]OFD Sender: No OFD packet to send [10:00:56]OFD Sender: No OFD packet to send [10:01:01]OFD Sender: No OFD packet to send [10:01:06]OFD Sender: No OFD packet to send [10:01:11]OFD Sender: No OFD packet to send [10:01:16]OFD Sender: No OFD packet to send [10:01:21]OFD Sender: No OFD packet to send [10:01:26]OFD Sender: No OFD packet to send [10:01:31]OFD Sender: No OFD packet to send [10:01:36]OFD Sender: No OFD packet to send [10:01:41]OFD Sender: No OFD packet to send [10:01:46]OFD Sender: No OFD packet to send [10:01:51]OFD Sender: No OFD packet to send [10:01:56]OFD Sender: No OFD packet to send [10:02:01]OFD Sender: No OFD packet to send [10:02:06]OFD Sender: No OFD packet to send [10:02:11]OFD Sender: No OFD packet to send [10:02:16]OFD Sender: No OFD packet to send [10:02:21]OFD Sender: No OFD packet to send [10:02:26]OFD Sender: No OFD packet to send [10:02:31]OFD Sender: No OFD packet to send [10:02:36]OFD Sender: No OFD packet to send [10:02:41]OFD Sender: No OFD packet to send [10:02:46]OFD Sender: No OFD packet to send [10:02:51]OFD Sender: No OFD packet to send [10:02:56]OFD Sender: No OFD packet to send [10:03:01]OFD Sender: No OFD packet to send [10:03:06]OFD Sender: No OFD packet to send [10:03:11]OFD Sender: No OFD packet to send [10:03:16]OFD Sender: No OFD packet to send [10:03:21]OFD Sender: No OFD packet to send [10:03:26]OFD Sender: No OFD packet to send [10:03:31]OFD Sender: No OFD packet to send [10:03:36]OFD Sender: No OFD packet to send [10:03:41]OFD Sender: No OFD packet to send [10:03:46]OFD Sender: No OFD packet to send [10:03:51]OFD Sender: No OFD packet to send [10:03:56]OFD Sender: No OFD packet to send [10:04:01]OFD Sender: No OFD packet to send [10:04:06]OFD Sender: No OFD packet to send [10:04:11]OFD Sender: No OFD packet to send [10:04:16]OFD Sender: No OFD packet to send [10:04:21]OFD Sender: No OFD packet to send [10:04:26]OFD Sender: No OFD packet to send [10:04:31]OFD Sender: No OFD packet to send [10:04:36]OFD Sender: No OFD packet to send [10:04:41]OFD Sender: No OFD packet to send [10:04:46]OFD Sender: No OFD packet to send [10:04:51]OFD Sender: No OFD packet to send [10:04:56]OFD Sender: No OFD packet to send [10:05:01]OFD Sender: No OFD packet to send [10:05:06]OFD Sender: No OFD packet to send [10:05:11]OFD Sender: No OFD packet to send [10:05:16]OFD Sender: No OFD packet to send [10:05:21]OFD Sender: No OFD packet to send [10:05:26]OFD Sender: No OFD packet to send [10:05:31]OFD Sender: No OFD packet to send [10:05:36]OFD Sender: No OFD packet to send [10:05:41]OFD Sender: No OFD packet to send [10:05:46]OFD Sender: No OFD packet to send [10:05:51]OFD Sender: No OFD packet to send [10:05:56]OFD Sender: No OFD packet to send [10:06:01]OFD Sender: No OFD packet to send [10:06:06]OFD Sender: No OFD packet to send [10:06:11]OFD Sender: No OFD packet to send [10:06:16]OFD Sender: No OFD packet to send [10:06:21]OFD Sender: No OFD packet to send [10:06:26]OFD Sender: No OFD packet to send [10:06:31]OFD Sender: No OFD packet to send [10:06:36]OFD Sender: No OFD packet to send [10:06:41]OFD Sender: No OFD packet to send [10:06:46]OFD Sender: No OFD packet to send [10:06:51]OFD Sender: No OFD packet to send [10:06:56]OFD Sender: No OFD packet to send [10:07:01]OFD Sender: No OFD packet to send [10:07:06]OFD Sender: No OFD packet to send [10:07:11]OFD Sender: No OFD packet to send [10:07:16]OFD Sender: No OFD packet to send [10:07:21]OFD Sender: No OFD packet to send [10:07:26]OFD Sender: No OFD packet to send [10:07:31]OFD Sender: No OFD packet to send [10:07:36]OFD Sender: No OFD packet to send [10:07:41]OFD Sender: No OFD packet to send [10:07:46]OFD Sender: No OFD packet to send [10:07:51]OFD Sender: No OFD packet to send [10:07:56]OFD Sender: No OFD packet to send [10:08:01]OFD Sender: No OFD packet to send [10:08:06]OFD Sender: No OFD packet to send [10:08:11]OFD Sender: No OFD packet to send [10:08:16]OFD Sender: No OFD packet to send [10:08:21]OFD Sender: No OFD packet to send [10:08:26]OFD Sender: No OFD packet to send [10:08:31]OFD Sender: No OFD packet to send [10:08:36]OFD Sender: No OFD packet to send [10:08:41]OFD Sender: No OFD packet to send [10:08:46]OFD Sender: No OFD packet to send [10:08:51]OFD Sender: No OFD packet to send [10:08:57]OFD Sender: No OFD packet to send [10:09:02]OFD Sender: No OFD packet to send [10:09:07]OFD Sender: No OFD packet to send [10:09:12]OFD Sender: No OFD packet to send [10:09:17]OFD Sender: No OFD packet to send [10:09:22]OFD Sender: No OFD packet to send [10:09:27]OFD Sender: No OFD packet to send [10:09:32]OFD Sender: No OFD packet to send [10:09:37]OFD Sender: No OFD packet to send [10:09:42]OFD Sender: No OFD packet to send [10:09:47]OFD Sender: No OFD packet to send [10:09:52]OFD Sender: No OFD packet to send [10:09:57]OFD Sender: No OFD packet to send [10:10:02]OFD Sender: No OFD packet to send [10:10:07]OFD Sender: No OFD packet to send [10:10:12]OFD Sender: No OFD packet to send [10:10:17]OFD Sender: No OFD packet to send [10:10:22]OFD Sender: No OFD packet to send [10:10:27]OFD Sender: No OFD packet to send [10:10:32]OFD Sender: No OFD packet to send [10:10:37]OFD Sender: No OFD packet to send [10:10:42]OFD Sender: No OFD packet to send [10:10:47]OFD Sender: No OFD packet to send [10:10:52]OFD Sender: No OFD packet to send [10:10:57]OFD Sender: No OFD packet to send [10:11:02]OFD Sender: No OFD packet to send [10:11:07]OFD Sender: No OFD packet to send [10:11:12]OFD Sender: No OFD packet to send [10:11:17]OFD Sender: No OFD packet to send [10:11:22]OFD Sender: No OFD packet to send [10:11:27]OFD Sender: No OFD packet to send [10:11:32]OFD Sender: No OFD packet to send [10:11:37]OFD Sender: No OFD packet to send [10:11:42]OFD Sender: No OFD packet to send [10:11:47]OFD Sender: No OFD packet to send [10:11:52]OFD Sender: No OFD packet to send [10:11:57]OFD Sender: No OFD packet to send [10:12:02]OFD Sender: No OFD packet to send [10:12:07]OFD Sender: No OFD packet to send [10:12:12]OFD Sender: No OFD packet to send [10:12:17]OFD Sender: No OFD packet to send [10:12:22]OFD Sender: No OFD packet to send [10:12:27]OFD Sender: No OFD packet to send [10:12:32]OFD Sender: No OFD packet to send [10:12:37]OFD Sender: No OFD packet to send [10:12:42]OFD Sender: No OFD packet to send [10:12:47]OFD Sender: No OFD packet to send [10:12:52]OFD Sender: No OFD packet to send [10:12:57]OFD Sender: No OFD packet to send [10:13:02]OFD Sender: No OFD packet to send [10:13:07]OFD Sender: No OFD packet to send [10:13:12]OFD Sender: No OFD packet to send [10:13:17]OFD Sender: No OFD packet to send [10:13:22]OFD Sender: No OFD packet to send [10:13:27]OFD Sender: No OFD packet to send [10:13:32]OFD Sender: No OFD packet to send [10:13:37]OFD Sender: No OFD packet to send [10:13:42]OFD Sender: No OFD packet to send [10:13:47]OFD Sender: No OFD packet to send [10:13:52]OFD Sender: No OFD packet to send [10:13:57]OFD Sender: No OFD packet to send [10:14:02]OFD Sender: No OFD packet to send [10:14:07]OFD Sender: No OFD packet to send [10:14:12]OFD Sender: No OFD packet to send [10:14:17]OFD Sender: No OFD packet to send [10:14:22]OFD Sender: No OFD packet to send [10:14:27]OFD Sender: No OFD packet to send [10:14:32]OFD Sender: No OFD packet to send [10:14:37]OFD Sender: No OFD packet to send [10:14:42]OFD Sender: No OFD packet to send [10:14:47]OFD Sender: No OFD packet to send [10:14:52]OFD Sender: No OFD packet to send [10:14:57]OFD Sender: No OFD packet to send [10:15:02]OFD Sender: No OFD packet to send [10:15:07]OFD Sender: No OFD packet to send [10:15:12]OFD Sender: No OFD packet to send [10:15:17]OFD Sender: No OFD packet to send [10:15:22]OFD Sender: No OFD packet to send [10:15:27]OFD Sender: No OFD packet to send [10:15:32]OFD Sender: No OFD packet to send [10:15:37]OFD Sender: No OFD packet to send [10:15:42]OFD Sender: No OFD packet to send [10:15:47]OFD Sender: No OFD packet to send [10:15:52]OFD Sender: No OFD packet to send [10:15:57]OFD Sender: No OFD packet to send [10:16:02]OFD Sender: No OFD packet to send [10:16:07]OFD Sender: No OFD packet to send [10:16:12]OFD Sender: No OFD packet to send [10:16:17]OFD Sender: No OFD packet to send [10:16:22]OFD Sender: No OFD packet to send [10:16:27]OFD Sender: No OFD packet to send [10:16:32]OFD Sender: No OFD packet to send [10:16:37]OFD Sender: No OFD packet to send [10:16:42]OFD Sender: No OFD packet to send [10:16:47]OFD Sender: No OFD packet to send [10:16:52]OFD Sender: No OFD packet to send [10:16:57]OFD Sender: No OFD packet to send [10:17:02]OFD Sender: No OFD packet to send [10:17:07]OFD Sender: No OFD packet to send [10:17:12]OFD Sender: No OFD packet to send [10:17:17]OFD Sender: No OFD packet to send [10:17:22]OFD Sender: No OFD packet to send [10:17:27]OFD Sender: No OFD packet to send [10:17:32]OFD Sender: No OFD packet to send [10:17:37]OFD Sender: No OFD packet to send [10:17:42]OFD Sender: No OFD packet to send [10:17:47]OFD Sender: No OFD packet to send [10:17:52]OFD Sender: No OFD packet to send [10:17:57]OFD Sender: No OFD packet to send [10:18:02]OFD Sender: No OFD packet to send [10:18:07]OFD Sender: No OFD packet to send [10:18:12]OFD Sender: No OFD packet to send [10:18:17]OFD Sender: No OFD packet to send [10:18:22]OFD Sender: No OFD packet to send [10:18:27]OFD Sender: No OFD packet to send [10:18:32]OFD Sender: No OFD packet to send [10:18:37]OFD Sender: No OFD packet to send [10:18:42]OFD Sender: No OFD packet to send [10:18:47]OFD Sender: No OFD packet to send [10:18:52]OFD Sender: No OFD packet to send [10:18:57]OFD Sender: No OFD packet to send [10:19:02]OFD Sender: No OFD packet to send [10:19:07]OFD Sender: No OFD packet to send [10:19:12]OFD Sender: No OFD packet to send [10:19:17]OFD Sender: No OFD packet to send [10:19:22]OFD Sender: No OFD packet to send [10:19:27]OFD Sender: No OFD packet to send [10:19:32]OFD Sender: No OFD packet to send [10:19:37]OFD Sender: No OFD packet to send [10:19:42]OFD Sender: No OFD packet to send [10:19:47]OFD Sender: No OFD packet to send [10:19:52]OFD Sender: No OFD packet to send [10:19:57]OFD Sender: No OFD packet to send [10:20:02]OFD Sender: No OFD packet to send [10:20:07]OFD Sender: No OFD packet to send [10:20:12]OFD Sender: No OFD packet to send [10:20:17]OFD Sender: No OFD packet to send [10:20:22]OFD Sender: No OFD packet to send [10:20:27]OFD Sender: No OFD packet to send [10:20:32]OFD Sender: No OFD packet to send [10:20:37]OFD Sender: No OFD packet to send [10:20:42]OFD Sender: No OFD packet to send [10:20:47]OFD Sender: No OFD packet to send [10:20:52]OFD Sender: No OFD packet to send [10:20:57]OFD Sender: No OFD packet to send [10:21:02]OFD Sender: No OFD packet to send [10:21:07]OFD Sender: No OFD packet to send [10:21:12]OFD Sender: No OFD packet to send [10:21:17]OFD Sender: No OFD packet to send [10:21:22]OFD Sender: No OFD packet to send [10:21:27]OFD Sender: No OFD packet to send [10:21:32]OFD Sender: No OFD packet to send [10:21:37]OFD Sender: No OFD packet to send [10:21:42]OFD Sender: No OFD packet to send [10:21:47]OFD Sender: No OFD packet to send [10:21:52]OFD Sender: No OFD packet to send [10:21:57]OFD Sender: No OFD packet to send [10:22:02]OFD Sender: No OFD packet to send [10:22:07]OFD Sender: No OFD packet to send [10:22:12]OFD Sender: No OFD packet to send [10:22:17]OFD Sender: No OFD packet to send [10:22:22]OFD Sender: No OFD packet to send [10:22:27]OFD Sender: No OFD packet to send [10:22:32]OFD Sender: No OFD packet to send [10:22:37]OFD Sender: No OFD packet to send [10:22:42]OFD Sender: No OFD packet to send [10:22:47]OFD Sender: No OFD packet to send [10:22:52]OFD Sender: No OFD packet to send [10:22:57]OFD Sender: No OFD packet to send [10:23:02]OFD Sender: No OFD packet to send [10:23:07]OFD Sender: No OFD packet to send [10:23:12]OFD Sender: No OFD packet to send [10:23:17]OFD Sender: No OFD packet to send [10:23:22]OFD Sender: No OFD packet to send [10:23:27]OFD Sender: No OFD packet to send [10:23:32]OFD Sender: No OFD packet to send [10:23:37]OFD Sender: No OFD packet to send [10:23:42]OFD Sender: No OFD packet to send [10:23:47]OFD Sender: No OFD packet to send [10:23:52]OFD Sender: No OFD packet to send [10:23:57]OFD Sender: No OFD packet to send [10:24:02]OFD Sender: No OFD packet to send [10:24:07]OFD Sender: No OFD packet to send [10:24:12]OFD Sender: No OFD packet to send [10:24:17]OFD Sender: No OFD packet to send [10:24:22]OFD Sender: No OFD packet to send [10:24:27]OFD Sender: No OFD packet to send [10:24:32]OFD Sender: No OFD packet to send [10:24:37]OFD Sender: No OFD packet to send [10:24:42]OFD Sender: No OFD packet to send [10:24:47]OFD Sender: No OFD packet to send [10:24:52]OFD Sender: No OFD packet to send [10:24:57]OFD Sender: No OFD packet to send [10:25:02]OFD Sender: No OFD packet to send [10:25:07]OFD Sender: No OFD packet to send [10:25:12]accept exits with 7 [10:25:12]New connection [10:25:12]New thread 3066699108 created [10:25:12]Thread 3066555748 joined [10:25:12]Waiting for new connection... [10:25:12] Sock 7.Parse request [10:25:12]Sock 7.Check first char [10:25:12]Sock 7.First char is OK [10:25:12]request: POST /json_proto HTTP/1.0 [10:25:12]Method: POST [10:25:12]URL: /json_proto [10:25:12]Method is POST - this is cgi request [10:25:12]url: /json_proto [10:25:12]query_string will be loaded in cgi processing [10:25:12]execute_cgi json_proto POST (null) [10:25:12]execute_cgi path=json_proto method=POST [10:25:12]POST find Content-Length [10:25:12]Host: 172.17.53.68:8080 [10:25:12]Content-Length: 622 [10:25:12]Content-Type: application/json [10:25:12] [10:25:12]POST finish read [10:25:12]Found Content-Length = 622 [10:25:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76656", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:25:12]execute_script... [10:25: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)76656", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:25:12]POST & json_proto [10:25:12]process_json_proto [10:25:12]json parsed OK: [10:25:12]protocol is kg_v1.0 [10:25:12]action value=close_receipt [10:25:12]process_action close_receipt [10:25:12]cmd_close_receipt [10:25:12]MH_GetDate [10:25:12]Write to MH i2c: F0 00 00 2F 1B 39 [10:25:12]Write i2c OK [10:25:12]MH_I2C_Read... [10:25:12]Read from MH i2c: F0 [10:25:12]MH_I2C_Read... [10:25:12]Read from MH i2c: F0 09 00 [10:25:12]MH_I2C_Read... [10:25:12]Read from MH i2c: F0 09 00 2F 1B 00 8F DA 14 67 C5 A4 76 66 6B [10:25:12]GetLastDocTimeStamp 1729414672 [10:25:12]current date 1729419919 [10:25:12]FM_GetShiftState [10:25:12]SAM_PROTO_GetShiftState [10:25:12]wFMCommunicate request_size=4 [10:25:12]MH_SAM_APDU [10:25:12]CAPDU: 80 13 01 00 [10:25:12]Write to MH i2c: E2 08 00 30 1B 80 13 01 00 00 00 00 00 C8 [10:25:12]Write i2c OK [10:25:12]MH_I2C_Read... [10:25:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:25:12]Read from MH i2c: E2 [10:25:12]MH_I2C_Read... [10:25:12]Read from MH i2c: E2 0E 00 [10:25:12]MH_I2C_Read... [10:25:12]Read from MH i2c: E2 0E 00 30 1B 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 1D [10:25:12]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [10:25:12]wFMCommunicate OK [10:25:12]SAM_PROTO_GetShiftState done [10:25:12]FM_GetShiftState done [10:25:12]opened in 1729383299 [10:25:12]opened+sec_in_day 1729469699 [10:25:12]quantity*price = 14400 [10:25:12]sum+1 = 14401 [10:25:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 ÐСП 1% : 1.27 ÐДС 12% : 15.29 Ðаличными: 144.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 25 20.10.2024 10:25 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37177 ФПД: 74760858773979 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T102519&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37177&fm=74760858773979&tin=02508201610067®Number=0000000000098149&sum=14400 0 [10:25:13]StoreToDocumentArchive [10:25:13]shift 461 fd 37177 [10:25:13]save to /storage/0461/doc_00037177 [10:25:13]save last doc name /storage/0461/doc_00037177 to /storage/kkm_last_doc_name [10:25:13]save OK [10:25:13]Clear old archive folders... [10:25:13]ProcessDocumentItem done err = 0, tmpTLVsize=275 [10:25:13]tlvbuf is B6E6A090 [10:25:13]SAM_PROTO_ClearQueue [10:25:13]wFMCommunicate request_size=4 [10:25:13]MH_SAM_APDU [10:25:13]CAPDU: 80 09 00 00 [10:25:13]Write to MH i2c: E2 08 00 3D 1B 80 09 00 00 00 00 00 00 CA [10:25:13]Write i2c OK [10:25:13]MH_I2C_Read... [10:25:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:25:13]Read from MH i2c: E2 [10:25:13]MH_I2C_Read... [10:25:13]Read from MH i2c: E2 03 00 [10:25:13]MH_I2C_Read... [10:25:13]Read from MH i2c: E2 03 00 3D 1B 00 90 00 CC [10:25:13]RAPDU: 90 00 [10:25:13]wFMCommunicate OK [10:25:13]SAM_PROTO_ClearQueue done [10:25:13]KKMCreateOFDPacket [10:25:13]OFDProtocolAddRootSTLVToBuf [10:25:13]FM_MakeSignedData [10:25:13]FM_MakeSignedData [10:25:13]SAM_PROTO_SignData [10:25:13]wFMCommunicate request_size=4 [10:25:13]MH_SAM_APDU [10:25:13]CAPDU: 80 0D 01 02 [10:25:13]Write to MH i2c: E2 08 00 3E 1B 80 0D 01 02 00 00 00 00 D2 [10:25:13]Write i2c OK [10:25:13]MH_I2C_Read... [10:25:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:25:13]Read from MH i2c: E2 [10:25:13]MH_I2C_Read... [10:25:13]Read from MH i2c: E2 03 00 [10:25:13]MH_I2C_Read... [10:25:13]Read from MH i2c: E2 03 00 3E 1B 00 90 00 CD [10:25:13]RAPDU: 90 00 [10:25:13]wFMCommunicate OK [10:25:13]wFMCommunicate request_size=255 [10:25:13]MH_SAM_APDU [10:25:13]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 8F DA 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 [10:25:14]Write to MH i2c: E2 02 01 3F 1B 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 8F DA 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 00 00 A8 [10:25:14]Write i2c OK [10:25:14]MH_I2C_Read... [10:25:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:25:14]Read from MH i2c: E2 [10:25:14]MH_I2C_Read... [10:25:14]Read from MH i2c: E2 03 00 [10:25:14]MH_I2C_Read... [10:25:14]Read from MH i2c: E2 03 00 3F 1B 00 90 00 CE [10:25:14]RAPDU: 90 00 [10:25:14]wFMCommunicate OK [10:25:14]wFMCommunicate request_size=34 [10:25:14]MH_SAM_APDU [10:25:14]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 39 91 00 00 35 04 06 00 43 FE 9E 6E 29 DB [10:25:14]Write to MH i2c: E2 25 00 40 1B 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 39 91 00 00 35 04 06 00 43 FE 9E 6E 29 DB 00 00 B1 [10:25:14]Write i2c OK [10:25:14]MH_I2C_Read... [10:25:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:25:14]Read from MH i2c: E2 [10:25:14]MH_I2C_Read... [10:25:14]Read from MH i2c: E2 03 00 [10:25:14]MH_I2C_Read... [10:25:14]Read from MH i2c: E2 03 00 40 1B 00 90 00 CF [10:25:14]RAPDU: 90 00 [10:25:14]wFMCommunicate OK [10:25:14]wFMCommunicate request_size=4 [10:25:14]MH_SAM_APDU [10:25:14]CAPDU: 80 0D 03 02 [10:25:14]Write to MH i2c: E2 08 00 41 1B 80 0D 03 02 00 00 00 00 D7 [10:25:14]Write i2c OK [10:25:14]MH_I2C_Read... [10:25:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:25:14]Read from MH i2c: E2 [10:25:14]MH_I2C_Read... [10:25:14]Read from MH i2c: E2 0B 00 [10:25:14]MH_I2C_Read... [10:25:14]Read from MH i2c: E2 0B 00 41 1B 00 95 8C 25 98 0A 39 DD 93 90 00 69 [10:25:14]RAPDU: 95 8C 25 98 0A 39 DD 93 90 00 [10:25:14]wFMCommunicate OK [10:25:14]SAM_PROTO_SignData done [10:25:14]FM_MakeSignedData done [10:25:14]CreateOFDProtocolMessage [10:25:14]wFMCommunicate request_size=4 [10:25:14]MH_SAM_APDU [10:25:14]CAPDU: 80 11 00 00 [10:25:14]Write to MH i2c: E2 08 00 42 1B 80 11 00 00 00 00 00 00 D7 [10:25:14]Write i2c OK [10:25:14]MH_I2C_Read... [10:25:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:25:14]Read from MH i2c: E2 [10:25:14]MH_I2C_Read... [10:25:14]Read from MH i2c: E2 17 00 [10:25:14]MH_I2C_Read... [10:25:14]Read from MH i2c: E2 17 00 42 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 2A [10:25:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [10:25:14]wFMCommunicate OK [10:25:14]CreateOFDProtocolMessage done [10:25:14]OFDSenderStorePacket 37177 [10:25:14]StoreOFDPacket docnum=37177 [10:25:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 27 01 00 00 01 34 1F 01 DC B2 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 8F DA 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 39 91 00 00 35 04 06 00 43 FE 9E 6E 29 DB 95 8C 25 98 0A 39 DD 93 [10:25:14]CheckFolder [10:25:14]dirname=/storage/ofd_packets [10:25:14]CheckFolder done [10:25:14]ProducePacketName [10:25:14]name=ofd_packets/00037177 [10:25:14]NVStorageSaveData ofd_packets/00037177 [10:25:14]File name is /storage/ofd_packets/00037177 [10:25:14]Write 325 bytes [10:25:14]NVStorageSaveData done [10:25:14]OFDSenderStorePacket done [10:25:14]KKMCreateOFDPacket done [10:25:14]NVStorageSaveData kkm_last_timestamp [10:25:14]File name is /storage/kkm_last_timestamp [10:25:14]Write 4 bytes [10:25:14]NVStorageSaveData done [10:25:14]ExternCall_PrintAddStr [10:25:14]wPrintStart [10:25:14]Write to MH i2c: 01 00 00 43 1B 5E [10:25:14]Write i2c OK [10:25:14]MH_I2C_Read... [10:25:14]Read from MH i2c: 01 [10:25:14]MH_I2C_Read... [10:25:14]Read from MH i2c: 01 07 00 [10:25:14]MH_I2C_Read... [10:25:14]Read from MH i2c: 01 07 00 43 1B 00 00 00 00 00 FF 0F 73 [10:25:14]RasterBufferAndPrint [10:25:14]line Счет N : (3)76656 [10:25:14]line ИÐÐ: 02508201610067 [10:25:14]line Контрольно-КаÑÑовый Чек [10:25:14]line ПРОДÐЖР[10:25:14]line Товар: 48743587 [10:25:14]line Сигареты Winston XStyle Silver [10:25:14]line 1.000 * 144.00 [10:25:14]line = 144.00 [10:25:14]line ÐДС 12% ÐСП 1% [10:25:14]line > о реализуемом товаре [10:25:14]line ИТОГО: 144.00 [10:25:14]line ÐСП 1% : 1.27 [10:25:14]line ÐДС 12% : 15.29 [10:25:14]line Ðаличными: 144.00 [10:25:14]line Безнал.: 0.00 [10:25:14]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [10:25:14]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [10:25:14]line СÐО: Общий режим [10:25:14]line Чек 25 20.10.2024 10:25 [10:25:14]line Смена: 461 ФФД: 1.0 [10:25:14]line ЗÐМ: 0300000235 [10:25:14]line РÐМ: 0000000000098149 [10:25:14]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [10:25:14]line ФМ: 0000000000965372 [10:25:14]line ФД: 37177 [10:25:14]line ФПД: 74760858773979 [10:25:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T102519&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37177&fm=74760858773979&tin=02508201610067®Number=0000000000098149&sum=14400 [10:25:14]line 0 [10:25:14]OFD Sender: Processing packet 37177 [packets to send 25, broken 24] [10:25:14]ProducePacketName [10:25:14]name=ofd_packets/00037177 [10:25:14]OFD Sender: To server: ‡•öpG, [10:25:14]CommunicateWithHost lk.salyk.kg:30040 [10:25:14]ConnectInit lk.salyk.kg [10:25:14]written 0, free lines is 4095 [10:25:14]Connected sock=10 [10:25: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 33 37 32 27 01 00 00 01 34 1F 01 DC B2 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 8F DA 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 39 91 00 00 35 04 06 00 43 FE 9E 6E 29 DB 95 8C 25 98 0A 39 DD 93 [10:25:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 44 D2 47 00 3A 1D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 39 91 00 00 F4 03 04 00 22 83 14 67 B6 04 01 00 00 D7 B5 47 6B 74 7C EF 51 [10:25:15]CommunicateWithHost err = 0 [10:25:15]CheckOFDResponse [10:25:15]1017 (14) - 77093643461234 [10:25:15]1041 (16) - 0000000000965372 [10:25:15]1040 (4) - 37177 [10:25:15]1012 (4) - 20.10.2024 04:12 [10:25:15]1206 (1) - 0 [10:25:15]OFD Sender: Remove packet 37177 [10:25:15]ProducePacketName [10:25:15]name=ofd_packets/00037177 [10:25:15]NVStorageDeleteData [10:25:15]Write to MH i2c: 01 00 00 6C 1B 87 [10:25:15]Write i2c OK [10:25:15]MH_I2C_Read... [10:25:15]Read from MH i2c: 01 [10:25:15]MH_I2C_Read... [10:25:15]Read from MH i2c: 01 07 00 [10:25:15]MH_I2C_Read... [10:25:15]Read from MH i2c: 01 07 00 6C 1B 00 00 00 00 00 E7 0C 81 [10:25:15]RasterBufferAndPrint [10:25:15]line [10:25:15]line [10:25:15]line [10:25:15]line [10:25:15]line [10:25:15]written 0, free lines is 3310 [10:25:15]process_action close_receipt done [10:25:15]requested_data is exist [10:25:15]produce_requested_data [10:25:15]requested_item fm.sn is exist - process it [10:25:15]wFMCommunicate request_size=4 [10:25:15]MH_SAM_APDU [10:25:15]CAPDU: 80 11 00 00 [10:25:15]Write to MH i2c: E2 08 00 73 1B 80 11 00 00 00 00 00 00 08 [10:25:15]Write i2c OK [10:25:15]MH_I2C_Read... [10:25:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:25:15]Read from MH i2c: E2 [10:25:15]MH_I2C_Read... [10:25:15]Read from MH i2c: E2 17 00 [10:25:15]MH_I2C_Read... [10:25:15]Read from MH i2c: E2 17 00 73 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 5B [10:25:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [10:25:15]wFMCommunicate OK [10:25:15]requested_item fd.num is exist - process it [10:25:15]SAM_PROTO_GetFieldsCounters [10:25:15]wFMCommunicate request_size=4 [10:25:15]MH_SAM_APDU [10:25:15]CAPDU: 80 13 00 00 [10:25:15]Write to MH i2c: E2 08 00 74 1B 80 13 00 00 00 00 00 00 0B [10:25:15]Write i2c OK [10:25:15]MH_I2C_Read... [10:25:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:25:15]Read from MH i2c: E2 [10:25:15]MH_I2C_Read... [10:25:15]Read from MH i2c: E2 62 00 [10:25:15]MH_I2C_Read... [10:25:15]Read from MH i2c: E2 62 00 74 1B 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 39 91 00 00 0E 04 04 00 CD 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 15 [10:25: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 39 91 00 00 0E 04 04 00 CD 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 [10:25:15]wFMCommunicate OK [10:25:15]SAM_PROTO_GetFieldsCounters done [10:25:15]requested_item shift.num is exist - process it [10:25:15]requested_item shift.opened is exist - process it [10:25:15]req_shift_opened [10:25:15]FM_GetShiftState [10:25:15]SAM_PROTO_GetShiftState [10:25:15]wFMCommunicate request_size=4 [10:25:15]MH_SAM_APDU [10:25:15]CAPDU: 80 13 01 00 [10:25:15]Write to MH i2c: E2 08 00 75 1B 80 13 01 00 00 00 00 00 0D [10:25:15]Write i2c OK [10:25:15]MH_I2C_Read... [10:25:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:25:15]Read from MH i2c: E2 [10:25:15]MH_I2C_Read... [10:25:15]Read from MH i2c: E2 0E 00 [10:25:15]MH_I2C_Read... [10:25:15]Read from MH i2c: E2 0E 00 75 1B 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 62 [10:25:15]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [10:25:15]wFMCommunicate OK [10:25:15]SAM_PROTO_GetShiftState done [10:25:15]FM_GetShiftState done [10:25:15]req_shift_opened done [10:25:15]requested_item shift.open_date is exist - process it [10:25:15]req_shift_open_date [10:25:15]req_shift_open_date done [10:25:15]produce_requested_data done [10:25:15]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37177,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [10:25:15]process_action_free close_receipt [10:25:15]json_value_free [10:25:15]json_value_free done [10:25:15]process_json_proto returns [10:25:15]Send response to host [10:25:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37177,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [10:25:15]free response buf [10:25:15]execute_script done [10:25:15]execute_script returns [10:25:15]free content buf [10:25:15]Sock 7.Close socket [10:25:15]Sock 7.Thread stoped [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:05]accept exits with 9 [10:28:05]New connection [10:28:05]New thread 3066555748 created [10:28:05]Thread 3066699108 joined [10:28:05]Waiting for new connection... [10:28:05] Sock 9.Parse request [10:28:05]Sock 9.Check first char [10:28:05]Sock 9.First char is OK [10:28:05]request: POST /json_proto HTTP/1.0 [10:28:05]Method: POST [10:28:05]URL: /json_proto [10:28:05]Method is POST - this is cgi request [10:28:05]url: /json_proto [10:28:05]query_string will be loaded in cgi processing [10:28:05]execute_cgi json_proto POST (null) [10:28:05]execute_cgi path=json_proto method=POST [10:28:05]POST find Content-Length [10:28:05]Host: 172.17.53.68:8080 [10:28:05]Content-Length: 962 [10:28:05]Content-Type: application/json [10:28:05] [10:28:05]POST finish read [10:28:05]Found Content-Length = 962 [10:28:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76657", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521193", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041CAXI \u0447\u0435\u0440 \u0447\u0430\u0439 \u043B\u0435\u0441\u043D\u044B\u0435 \u044F\u0433\u043E\u0434\u044B 0,4\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 214.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:28:05]execute_script... [10:28:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76657", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521193", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041CAXI \u0447\u0435\u0440 \u0447\u0430\u0439 \u043B\u0435\u0441\u043D\u044B\u0435 \u044F\u0433\u043E\u0434\u044B 0,4\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 214.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:28:05]POST & json_proto [10:28:05]process_json_proto [10:28:05]json parsed OK: [10:28:05]protocol is kg_v1.0 [10:28:05]action value=close_receipt [10:28:05]process_action close_receipt [10:28:05]cmd_close_receipt [10:28:05]MH_GetDate [10:28:05]Write to MH i2c: F0 00 00 76 1B 80 [10:28:05]Write i2c OK [10:28:05]MH_I2C_Read... [10:28:05]Read from MH i2c: F0 [10:28:05]MH_I2C_Read... [10:28:05]Read from MH i2c: F0 09 00 [10:28:05]MH_I2C_Read... [10:28:05]Read from MH i2c: F0 09 00 76 1B 00 3C DB 14 67 C5 A4 76 66 60 [10:28:05]GetLastDocTimeStamp 1729419919 [10:28:05]current date 1729420092 [10:28:05]FM_GetShiftState [10:28:05]SAM_PROTO_GetShiftState [10:28:05]wFMCommunicate request_size=4 [10:28:05]MH_SAM_APDU [10:28:05]CAPDU: 80 13 01 00 [10:28:05]Write to MH i2c: E2 08 00 77 1B 80 13 01 00 00 00 00 00 0F [10:28:05]Write i2c OK [10:28:05]MH_I2C_Read... [10:28:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:28:06]Read from MH i2c: E2 [10:28:06]MH_I2C_Read... [10:28:06]Read from MH i2c: E2 0E 00 [10:28:06]MH_I2C_Read... [10:28:06]Read from MH i2c: E2 0E 00 77 1B 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 64 [10:28:06]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [10:28:06]wFMCommunicate OK [10:28:06]SAM_PROTO_GetShiftState done [10:28:06]FM_GetShiftState done [10:28:06]opened in 1729383299 [10:28:06]opened+sec_in_day 1729469699 [10:28:06]quantity*price = 14400 [10:28:06]sum+1 = 14401 [10:28:06]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870202521193 Ðапиток МAXI чер чай леÑные Ñгоды 0,4л 1.000 * 70.00 = 70.00 ÐДС 12% ÐСП 1% > о реализуемом товаре ИТОГО: 214.00 ÐСП 1% : 1.89 ÐДС 12% : 22.72 Ðаличными: 214.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 26 20.10.2024 10:28 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37178 ФПД: 211878553299645 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T102813&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37178&fm=211878553299645&tin=02508201610067®Number=0000000000098149&sum=21400 0 [10:28:07]StoreToDocumentArchive [10:28:07]shift 461 fd 37178 [10:28:07]save to /storage/0461/doc_00037178 [10:28:07]save last doc name /storage/0461/doc_00037178 to /storage/kkm_last_doc_name [10:28:07]save OK [10:28:07]Clear old archive folders... [10:28:07]ProcessDocumentItem done err = 0, tmpTLVsize=411 [10:28:07]tlvbuf is 00A124E0 [10:28:07]SAM_PROTO_ClearQueue [10:28:07]wFMCommunicate request_size=4 [10:28:07]MH_SAM_APDU [10:28:07]CAPDU: 80 09 00 00 [10:28:07]Write to MH i2c: E2 08 00 84 1B 80 09 00 00 00 00 00 00 11 [10:28:07]Write i2c OK [10:28:07]MH_I2C_Read... [10:28:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:28:07]Read from MH i2c: E2 [10:28:07]MH_I2C_Read... [10:28:07]Read from MH i2c: E2 03 00 [10:28:07]MH_I2C_Read... [10:28:07]Read from MH i2c: E2 03 00 84 1B 00 90 00 13 [10:28:07]RAPDU: 90 00 [10:28:07]wFMCommunicate OK [10:28:07]SAM_PROTO_ClearQueue done [10:28:07]KKMCreateOFDPacket [10:28:07]OFDProtocolAddRootSTLVToBuf [10:28:07]FM_MakeSignedData [10:28:07]FM_MakeSignedData [10:28:07]SAM_PROTO_SignData [10:28:07]wFMCommunicate request_size=4 [10:28:07]MH_SAM_APDU [10:28:07]CAPDU: 80 0D 01 02 [10:28:07]Write to MH i2c: E2 08 00 85 1B 80 0D 01 02 00 00 00 00 19 [10:28:07]Write i2c OK [10:28:07]MH_I2C_Read... [10:28:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:28:07]Read from MH i2c: E2 [10:28:07]MH_I2C_Read... [10:28:07]Read from MH i2c: E2 03 00 [10:28:07]MH_I2C_Read... [10:28:07]Read from MH i2c: E2 03 00 85 1B 00 90 00 14 [10:28:07]RAPDU: 90 00 [10:28:07]wFMCommunicate OK [10:28:07]wFMCommunicate request_size=255 [10:28:07]MH_SAM_APDU [10:28:07]CAPDU: 80 0D 02 02 FA 03 00 9B 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 39 33 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9C 41 58 49 20 D1 87 D0 B5 D1 80 20 D1 87 D0 B0 D0 B9 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 20 30 2C 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 [10:28:07]Write to MH i2c: E2 02 01 86 1B 80 0D 02 02 FA 00 03 00 9B 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 39 33 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9C 41 58 49 20 D1 87 D0 B5 D1 80 20 D1 87 D0 B0 D0 B9 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 20 30 2C 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 00 00 E2 [10:28:07]Write i2c OK [10:28:07]MH_I2C_Read... [10:28:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:28:07]Read from MH i2c: E2 [10:28:07]MH_I2C_Read... [10:28:07]Read from MH i2c: E2 03 00 [10:28:07]MH_I2C_Read... [10:28:07]Read from MH i2c: E2 03 00 86 1B 00 90 00 15 [10:28:07]RAPDU: 90 00 [10:28:07]wFMCommunicate OK [10:28:07]wFMCommunicate request_size=170 [10:28:07]MH_SAM_APDU [10:28:07]CAPDU: 80 0D 02 02 A5 FC 03 06 00 98 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E0 08 00 00 00 00 07 04 06 00 98 53 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 3D DB 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 3A 91 00 00 35 04 06 00 C0 B3 D1 E7 AA BD [10:28:07]Write to MH i2c: E2 AD 00 87 1B 80 0D 02 02 A5 00 FC 03 06 00 98 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E0 08 00 00 00 00 07 04 06 00 98 53 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 3D DB 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 3A 91 00 00 35 04 06 00 C0 B3 D1 E7 AA BD 00 00 01 [10:28:07]Write i2c OK [10:28:07]MH_I2C_Read... [10:28:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:28:07]Read from MH i2c: E2 [10:28:07]MH_I2C_Read... [10:28:07]Read from MH i2c: E2 03 00 [10:28:07]MH_I2C_Read... [10:28:07]Read from MH i2c: E2 03 00 87 1B 00 90 00 16 [10:28:07]RAPDU: 90 00 [10:28:07]wFMCommunicate OK [10:28:07]wFMCommunicate request_size=4 [10:28:07]MH_SAM_APDU [10:28:07]CAPDU: 80 0D 03 02 [10:28:07]Write to MH i2c: E2 08 00 88 1B 80 0D 03 02 00 00 00 00 1E [10:28:07]Write i2c OK [10:28:07]MH_I2C_Read... [10:28:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:28:07]Read from MH i2c: E2 [10:28:07]MH_I2C_Read... [10:28:07]Read from MH i2c: E2 0B 00 [10:28:07]MH_I2C_Read... [10:28:07]Read from MH i2c: E2 0B 00 88 1B 00 72 68 CA 9A 60 05 A4 BA 90 00 20 [10:28:07]RAPDU: 72 68 CA 9A 60 05 A4 BA 90 00 [10:28:07]wFMCommunicate OK [10:28:07]SAM_PROTO_SignData done [10:28:07]FM_MakeSignedData done [10:28:07]CreateOFDProtocolMessage [10:28:07]wFMCommunicate request_size=4 [10:28:07]MH_SAM_APDU [10:28:07]CAPDU: 80 11 00 00 [10:28:07]Write to MH i2c: E2 08 00 89 1B 80 11 00 00 00 00 00 00 1E [10:28:07]Write i2c OK [10:28:07]MH_I2C_Read... [10:28:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:28:07]Read from MH i2c: E2 [10:28:07]MH_I2C_Read... [10:28:07]Read from MH i2c: E2 17 00 [10:28:07]MH_I2C_Read... [10:28:07]Read from MH i2c: E2 17 00 89 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 71 [10:28:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [10:28:07]wFMCommunicate OK [10:28:07]CreateOFDProtocolMessage done [10:28:07]OFDSenderStorePacket 37178 [10:28:07]StoreOFDPacket docnum=37178 [10:28:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 AF 01 00 00 36 21 A7 01 65 39 5A 03 01 00 03 00 9B 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 39 33 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9C 41 58 49 20 D1 87 D0 B5 D1 80 20 D1 87 D0 B0 D0 B9 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 20 30 2C 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E0 08 00 00 00 00 07 04 06 00 98 53 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 3D DB 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 3A 91 00 00 35 04 06 00 C0 B3 D1 E7 AA BD 72 68 CA 9A 60 05 A4 BA [10:28:07]CheckFolder [10:28:07]dirname=/storage/ofd_packets [10:28:07]CheckFolder done [10:28:07]ProducePacketName [10:28:07]name=ofd_packets/00037178 [10:28:07]NVStorageSaveData ofd_packets/00037178 [10:28:07]File name is /storage/ofd_packets/00037178 [10:28:07]Write 461 bytes [10:28:07]NVStorageSaveData done [10:28:07]OFDSenderStorePacket done [10:28:07]KKMCreateOFDPacket done [10:28:07]NVStorageSaveData kkm_last_timestamp [10:28:07]File name is /storage/kkm_last_timestamp [10:28:07]Write 4 bytes [10:28:07]NVStorageSaveData done [10:28:07]ExternCall_PrintAddStr [10:28:07]wPrintStart [10:28:07]Write to MH i2c: 01 00 00 8A 1B A5 [10:28:07]Write i2c OK [10:28:07]MH_I2C_Read... [10:28:07]Read from MH i2c: 01 [10:28:07]MH_I2C_Read... [10:28:07]Read from MH i2c: 01 07 00 [10:28:07]MH_I2C_Read... [10:28:07]Read from MH i2c: 01 07 00 8A 1B 00 00 00 00 00 FF 0F BA [10:28:07]RasterBufferAndPrint [10:28:07]line Счет N : (3)76657 [10:28:08]line ИÐÐ: 02508201610067 [10:28:08]line Контрольно-КаÑÑовый Чек [10:28:08]line ПРОДÐЖР[10:28:08]line Товар: 48743587 [10:28:08]line Сигареты Winston XStyle Silver [10:28:08]line 1.000 * 144.00 [10:28:08]line = 144.00 [10:28:08]line ÐДС 12% ÐСП 1% [10:28:08]line > о реализуемом товаре [10:28:08]line Товар: 4870202521193 [10:28:08]line Ðапиток МAXI чер чай леÑные Ñгоды 0,4л [10:28:08]line 1.000 * 70.00 [10:28:08]line = 70.00 [10:28:08]line ÐДС 12% ÐСП 1% [10:28:08]line > о реализуемом товаре [10:28:08]line ИТОГО: 214.00 [10:28:08]line ÐСП 1% : 1.89 [10:28:08]line ÐДС 12% : 22.72 [10:28:08]line Ðаличными: 214.00 [10:28:08]line Безнал.: 0.00 [10:28:08]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [10:28:08]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [10:28:08]line СÐО: Общий режим [10:28:08]line Чек 26 20.10.2024 10:28 [10:28:08]line Смена: 461 ФФД: 1.0 [10:28:08]line ЗÐМ: 0300000235 [10:28:08]line РÐМ: 0000000000098149 [10:28:08]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [10:28:08]line ФМ: 0000000000965372 [10:28:08]line ФД: 37178 [10:28:08]line ФПД: 211878553299645 [10:28:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T102813&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37178&fm=211878553299645&tin=02508201610067®Number=0000000000098149&sum=21400 [10:28:08]OFD Sender: Processing packet 37178 [packets to send 25, broken 24] [10:28:08]ProducePacketName [10:28:08]name=ofd_packets/00037178 [10:28:08]OFD Sender: To server: ‡•öpG, [10:28:08]CommunicateWithHost lk.salyk.kg:30040 [10:28:08]ConnectInit lk.salyk.kg [10:28:08]line 0 [10:28:08]written 0, free lines is 4095 [10:28:08]Connected sock=10 [10:28: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 33 37 32 AF 01 00 00 36 21 A7 01 65 39 5A 03 01 00 03 00 9B 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 39 33 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9C 41 58 49 20 D1 87 D0 B5 D1 80 20 D1 87 D0 B0 D0 B9 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 20 30 2C 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E0 08 00 00 00 00 07 04 06 00 98 53 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 3D DB 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 3A 91 00 00 35 04 06 00 C0 B3 D1 E7 AA BD 72 68 CA 9A 60 05 A4 BA [10:28:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 B9 01 47 00 E8 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 33 37 32 10 04 04 00 3A 91 00 00 F4 03 04 00 CF 83 14 67 B6 04 01 00 00 9A 57 D0 48 70 25 63 8A [10:28:08]CommunicateWithHost err = 0 [10:28:08]CheckOFDResponse [10:28:08]1017 (14) - 77093643461234 [10:28:08]1041 (16) - 0000000000965372 [10:28:08]1040 (4) - 37178 [10:28:08]1012 (4) - 20.10.2024 04:15 [10:28:08]1206 (1) - 0 [10:28:08]OFD Sender: Remove packet 37178 [10:28:08]ProducePacketName [10:28:08]name=ofd_packets/00037178 [10:28:08]NVStorageDeleteData [10:28:08]Write to MH i2c: 01 00 00 BA 1B D5 [10:28:08]Write i2c OK [10:28:08]MH_I2C_Read... [10:28:08]Read from MH i2c: 01 [10:28:08]MH_I2C_Read... [10:28:08]Read from MH i2c: 01 07 00 [10:28:08]MH_I2C_Read... [10:28:08]Read from MH i2c: 01 07 00 BA 1B 00 00 00 00 00 64 0C 4C [10:28:08]RasterBufferAndPrint [10:28:08]line [10:28:08]line [10:28:08]line [10:28:08]line [10:28:08]line [10:28:08]written 0, free lines is 3180 [10:28:08]process_action close_receipt done [10:28:08]requested_data is exist [10:28:08]produce_requested_data [10:28:08]requested_item fm.sn is exist - process it [10:28:08]wFMCommunicate request_size=4 [10:28:08]MH_SAM_APDU [10:28:08]CAPDU: 80 11 00 00 [10:28:08]Write to MH i2c: E2 08 00 C1 1B 80 11 00 00 00 00 00 00 56 [10:28:08]Write i2c OK [10:28:08]MH_I2C_Read... [10:28:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:28:08]Read from MH i2c: E2 [10:28:08]MH_I2C_Read... [10:28:08]Read from MH i2c: E2 17 00 [10:28:08]MH_I2C_Read... [10:28:08]Read from MH i2c: E2 17 00 C1 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 A9 [10:28:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [10:28:08]wFMCommunicate OK [10:28:08]requested_item fd.num is exist - process it [10:28:08]SAM_PROTO_GetFieldsCounters [10:28:08]wFMCommunicate request_size=4 [10:28:08]MH_SAM_APDU [10:28:08]CAPDU: 80 13 00 00 [10:28:08]Write to MH i2c: E2 08 00 C2 1B 80 13 00 00 00 00 00 00 59 [10:28:08]Write i2c OK [10:28:08]MH_I2C_Read... [10:28:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:28:08]Read from MH i2c: E2 [10:28:08]MH_I2C_Read... [10:28:08]Read from MH i2c: E2 62 00 [10:28:08]MH_I2C_Read... [10:28:08]Read from MH i2c: E2 62 00 C2 1B 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 3A 91 00 00 0E 04 04 00 CD 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 67 [10:28: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 3A 91 00 00 0E 04 04 00 CD 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 [10:28:08]wFMCommunicate OK [10:28:08]SAM_PROTO_GetFieldsCounters done [10:28:08]requested_item shift.num is exist - process it [10:28:08]requested_item shift.opened is exist - process it [10:28:08]req_shift_opened [10:28:08]FM_GetShiftState [10:28:08]SAM_PROTO_GetShiftState [10:28:08]wFMCommunicate request_size=4 [10:28:08]MH_SAM_APDU [10:28:08]CAPDU: 80 13 01 00 [10:28:08]Write to MH i2c: E2 08 00 C3 1B 80 13 01 00 00 00 00 00 5B [10:28:08]Write i2c OK [10:28:08]MH_I2C_Read... [10:28:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:28:08]Read from MH i2c: E2 [10:28:08]MH_I2C_Read... [10:28:08]Read from MH i2c: E2 0E 00 [10:28:08]MH_I2C_Read... [10:28:08]Read from MH i2c: E2 0E 00 C3 1B 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 B0 [10:28:08]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [10:28:08]wFMCommunicate OK [10:28:08]SAM_PROTO_GetShiftState done [10:28:08]FM_GetShiftState done [10:28:08]req_shift_opened done [10:28:08]requested_item shift.open_date is exist - process it [10:28:08]req_shift_open_date [10:28:08]req_shift_open_date done [10:28:08]produce_requested_data done [10:28:08]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37178,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [10:28:08]process_action_free close_receipt [10:28:08]json_value_free [10:28:08]json_value_free done [10:28:08]process_json_proto returns [10:28:08]Send response to host [10:28:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37178,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [10:28:08]free response buf [10:28:08]execute_script done [10:28:08]execute_script returns [10:28:08]free content buf [10:28:08]Sock 9.Close socket [10:28:08]Sock 9.Thread stoped [10:28:08]OFD Sender: No OFD packet to send [10:28:13]OFD Sender: No OFD packet to send [10:28:18]OFD Sender: No OFD packet to send [10:28:24]OFD Sender: No OFD packet to send [10:28:29]OFD Sender: No OFD packet to send [10:28:34]OFD Sender: No OFD packet to send [10:28:39]OFD Sender: No OFD packet to send [10:28:44]OFD Sender: No OFD packet to send [10:28:49]OFD Sender: No OFD packet to send [10:28:54]OFD Sender: No OFD packet to send [10:28:59]OFD Sender: No OFD packet to send [10:29:04]OFD Sender: No OFD packet to send [10:29:09]OFD Sender: No OFD packet to send [10:29:14]OFD Sender: No OFD packet to send [10:29:19]OFD Sender: No OFD packet to send [10:29:24]OFD Sender: No OFD packet to send [10:29:29]OFD Sender: No OFD packet to send [10:29:34]OFD Sender: No OFD packet to send [10:29:39]OFD Sender: No OFD packet to send [10:29:44]OFD Sender: No OFD packet to send [10:29:49]OFD Sender: No OFD packet to send [10:29:54]OFD Sender: No OFD packet to send [10:29:59]OFD Sender: No OFD packet to send [10:30:04]OFD Sender: No OFD packet to send [10:30:09]OFD Sender: No OFD packet to send [10:30:14]OFD Sender: No OFD packet to send [10:30:19]OFD Sender: No OFD packet to send [10:30:24]OFD Sender: No OFD packet to send [10:30:29]OFD Sender: No OFD packet to send [10:30:34]OFD Sender: No OFD packet to send [10:30:39]OFD Sender: No OFD packet to send [10:30:44]OFD Sender: No OFD packet to send [10:30:49]OFD Sender: No OFD packet to send [10:30:54]OFD Sender: No OFD packet to send [10:30:59]OFD Sender: No OFD packet to send [10:31:04]OFD Sender: No OFD packet to send [10:31:09]OFD Sender: No OFD packet to send [10:31:14]OFD Sender: No OFD packet to send [10:31:19]OFD Sender: No OFD packet to send [10:31:24]OFD Sender: No OFD packet to send [10:31:29]OFD Sender: No OFD packet to send [10:31:34]OFD Sender: No OFD packet to send [10:31:39]OFD Sender: No OFD packet to send [10:31:44]OFD Sender: No OFD packet to send [10:31:49]OFD Sender: No OFD packet to send [10:31:54]OFD Sender: No OFD packet to send [10:31:59]OFD Sender: No OFD packet to send [10:32:04]OFD Sender: No OFD packet to send [10:32:09]OFD Sender: No OFD packet to send [10:32:14]OFD Sender: No OFD packet to send [10:32:19]OFD Sender: No OFD packet to send [10:32:24]OFD Sender: No OFD packet to send [10:32:29]OFD Sender: No OFD packet to send [10:32:34]OFD Sender: No OFD packet to send [10:32:39]OFD Sender: No OFD packet to send [10:32:44]OFD Sender: No OFD packet to send [10:32:49]OFD Sender: No OFD packet to send [10:32:54]OFD Sender: No OFD packet to send [10:32:59]OFD Sender: No OFD packet to send [10:33:04]OFD Sender: No OFD packet to send [10:33:09]OFD Sender: No OFD packet to send [10:33:14]OFD Sender: No OFD packet to send [10:33:19]OFD Sender: No OFD packet to send [10:33:24]OFD Sender: No OFD packet to send [10:33:29]OFD Sender: No OFD packet to send [10:33:34]OFD Sender: No OFD packet to send [10:33:39]OFD Sender: No OFD packet to send [10:33:44]OFD Sender: No OFD packet to send [10:33:49]OFD Sender: No OFD packet to send [10:33:54]OFD Sender: No OFD packet to send [10:33:59]OFD Sender: No OFD packet to send [10:34:04]OFD Sender: No OFD packet to send [10:34:09]OFD Sender: No OFD packet to send [10:34:14]OFD Sender: No OFD packet to send [10:34:19]OFD Sender: No OFD packet to send [10:34:24]OFD Sender: No OFD packet to send [10:34:29]OFD Sender: No OFD packet to send [10:34:30]accept exits with 7 [10:34:30]New connection [10:34:30]New thread 3066699108 created [10:34:30]Thread 3066555748 joined [10:34:30]Waiting for new connection... [10:34:30] Sock 7.Parse request [10:34:30]Sock 7.Check first char [10:34:30]Sock 7.First char is OK [10:34:30]request: POST /json_proto HTTP/1.0 [10:34:30]Method: POST [10:34:30]URL: /json_proto [10:34:30]Method is POST - this is cgi request [10:34:30]url: /json_proto [10:34:30]query_string will be loaded in cgi processing [10:34:30]execute_cgi json_proto POST (null) [10:34:30]execute_cgi path=json_proto method=POST [10:34:30]POST find Content-Length [10:34:30]Host: 172.17.53.68:8080 [10:34:30]Content-Length: 604 [10:34:30]Content-Type: application/json [10:34:30] [10:34:30]POST finish read [10:34:30]Found Content-Length = 604 [10:34:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76658", "tax_sys" : 0, "items" : [ { "code": "50173976", "name": "\u0416\u0435\u0432 Orbit Winterfresh \u043F\u043E\u0434", "price" : 34.00, "quantity" : 1.000, "sum" : 34.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 34.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:34:30]execute_script... [10:34: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)76658", "tax_sys" : 0, "items" : [ { "code": "50173976", "name": "\u0416\u0435\u0432 Orbit Winterfresh \u043F\u043E\u0434", "price" : 34.00, "quantity" : 1.000, "sum" : 34.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 34.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:34:30]POST & json_proto [10:34:30]process_json_proto [10:34:30]json parsed OK: [10:34:30]protocol is kg_v1.0 [10:34:30]action value=close_receipt [10:34:30]process_action close_receipt [10:34:30]cmd_close_receipt [10:34:30]MH_GetDate [10:34:30]Write to MH i2c: F0 00 00 C4 1B CE [10:34:30]Write i2c OK [10:34:30]MH_I2C_Read... [10:34:30]Read from MH i2c: F0 [10:34:30]MH_I2C_Read... [10:34:30]Read from MH i2c: F0 09 00 [10:34:30]MH_I2C_Read... [10:34:30]Read from MH i2c: F0 09 00 C4 1B 00 BD DC 14 67 C5 A4 76 66 30 [10:34:30]GetLastDocTimeStamp 1729420093 [10:34:30]current date 1729420477 [10:34:30]FM_GetShiftState [10:34:30]SAM_PROTO_GetShiftState [10:34:30]wFMCommunicate request_size=4 [10:34:30]MH_SAM_APDU [10:34:30]CAPDU: 80 13 01 00 [10:34:30]Write to MH i2c: E2 08 00 C5 1B 80 13 01 00 00 00 00 00 5D [10:34:30]Write i2c OK [10:34:30]MH_I2C_Read... [10:34:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:34:30]Read from MH i2c: E2 [10:34:30]MH_I2C_Read... [10:34:30]Read from MH i2c: E2 0E 00 [10:34:30]MH_I2C_Read... [10:34:30]Read from MH i2c: E2 0E 00 C5 1B 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 B2 [10:34:30]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [10:34:30]wFMCommunicate OK [10:34:30]SAM_PROTO_GetShiftState done [10:34:30]FM_GetShiftState done [10:34:30]opened in 1729383299 [10:34:30]opened+sec_in_day 1729469699 [10:34:30]quantity*price = 3400 [10:34:30]sum+1 = 3401 [10:34:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 34.00 ÐСП 1% : 0.30 ÐДС 12% : 3.61 Ðаличными: 34.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 27 20.10.2024 10:34 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37179 ФПД: 30754956182245 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T103437&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37179&fm=30754956182245&tin=02508201610067®Number=0000000000098149&sum=3400 0 [10:34:32]StoreToDocumentArchive [10:34:32]shift 461 fd 37179 [10:34:32]save to /storage/0461/doc_00037179 [10:34:32]save last doc name /storage/0461/doc_00037179 to /storage/kkm_last_doc_name [10:34:32]save OK [10:34:32]Clear old archive folders... [10:34:32]ProcessDocumentItem done err = 0, tmpTLVsize=268 [10:34:32]tlvbuf is B6E9C980 [10:34:32]SAM_PROTO_ClearQueue [10:34:32]wFMCommunicate request_size=4 [10:34:32]MH_SAM_APDU [10:34:32]CAPDU: 80 09 00 00 [10:34:32]Write to MH i2c: E2 08 00 D2 1B 80 09 00 00 00 00 00 00 5F [10:34:32]Write i2c OK [10:34:32]MH_I2C_Read... [10:34:32]Read from MH i2c: E2 [10:34:32]MH_I2C_Read... [10:34:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:34:32]Read from MH i2c: E2 03 00 [10:34:32]MH_I2C_Read... [10:34:32]Read from MH i2c: E2 03 00 D2 1B 00 90 00 61 [10:34:32]RAPDU: 90 00 [10:34:32]wFMCommunicate OK [10:34:32]SAM_PROTO_ClearQueue done [10:34:32]KKMCreateOFDPacket [10:34:32]OFDProtocolAddRootSTLVToBuf [10:34:32]FM_MakeSignedData [10:34:32]FM_MakeSignedData [10:34:32]SAM_PROTO_SignData [10:34:32]wFMCommunicate request_size=4 [10:34:32]MH_SAM_APDU [10:34:32]CAPDU: 80 0D 01 02 [10:34:32]Write to MH i2c: E2 08 00 D3 1B 80 0D 01 02 00 00 00 00 67 [10:34:32]Write i2c OK [10:34:32]MH_I2C_Read... [10:34:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:34:32]Read from MH i2c: E2 [10:34:32]MH_I2C_Read... [10:34:32]Read from MH i2c: E2 03 00 [10:34:32]MH_I2C_Read... [10:34:32]Read from MH i2c: E2 03 00 D3 1B 00 90 00 62 [10:34:32]RAPDU: 90 00 [10:34:32]wFMCommunicate OK [10:34:32]wFMCommunicate request_size=255 [10:34:32]MH_SAM_APDU [10:34:32]CAPDU: 80 0D 02 02 FA 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 35 30 31 37 33 39 37 36 06 04 1F 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 69 6E 74 65 72 66 72 65 73 68 20 D0 BF D0 BE D0 B4 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 48 0D 00 00 00 00 13 04 06 00 48 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 69 01 00 00 00 00 07 04 06 00 48 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 1B 00 00 00 F4 03 04 00 BD DC 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 [10:34:32]Write to MH i2c: E2 02 01 D4 1B 80 0D 02 02 FA 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 35 30 31 37 33 39 37 36 06 04 1F 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 69 6E 74 65 72 66 72 65 73 68 20 D0 BF D0 BE D0 B4 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 48 0D 00 00 00 00 13 04 06 00 48 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 69 01 00 00 00 00 07 04 06 00 48 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 1B 00 00 00 F4 03 04 00 BD DC 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 00 00 7E [10:34:32]Write i2c OK [10:34:32]MH_I2C_Read... [10:34:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:34:32]Read from MH i2c: E2 [10:34:32]MH_I2C_Read... [10:34:32]Read from MH i2c: E2 03 00 [10:34:32]MH_I2C_Read... [10:34:32]Read from MH i2c: E2 03 00 D4 1B 00 90 00 63 [10:34:32]RAPDU: 90 00 [10:34:32]wFMCommunicate OK [10:34:32]wFMCommunicate request_size=27 [10:34:32]MH_SAM_APDU [10:34:32]CAPDU: 80 0D 02 02 16 35 33 37 32 10 04 04 00 3B 91 00 00 35 04 06 00 1B F8 B2 3D 02 E5 [10:34:32]Write to MH i2c: E2 1E 00 D5 1B 80 0D 02 02 16 00 35 33 37 32 10 04 04 00 3B 91 00 00 35 04 06 00 1B F8 B2 3D 02 E5 00 00 73 [10:34:32]Write i2c OK [10:34:32]MH_I2C_Read... [10:34:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:34:32]Read from MH i2c: E2 [10:34:32]MH_I2C_Read... [10:34:32]Read from MH i2c: E2 03 00 [10:34:32]MH_I2C_Read... [10:34:32]Read from MH i2c: E2 03 00 D5 1B 00 90 00 64 [10:34:32]RAPDU: 90 00 [10:34:32]wFMCommunicate OK [10:34:32]wFMCommunicate request_size=4 [10:34:32]MH_SAM_APDU [10:34:32]CAPDU: 80 0D 03 02 [10:34:32]Write to MH i2c: E2 08 00 D6 1B 80 0D 03 02 00 00 00 00 6C [10:34:32]Write i2c OK [10:34:32]MH_I2C_Read... [10:34:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:34:32]Read from MH i2c: E2 [10:34:32]MH_I2C_Read... [10:34:32]Read from MH i2c: E2 0B 00 [10:34:32]MH_I2C_Read... [10:34:32]Read from MH i2c: E2 0B 00 D6 1B 00 77 A3 40 D5 91 21 A9 09 90 00 00 [10:34:32]RAPDU: 77 A3 40 D5 91 21 A9 09 90 00 [10:34:32]wFMCommunicate OK [10:34:32]SAM_PROTO_SignData done [10:34:32]FM_MakeSignedData done [10:34:32]CreateOFDProtocolMessage [10:34:32]wFMCommunicate request_size=4 [10:34:32]MH_SAM_APDU [10:34:32]CAPDU: 80 11 00 00 [10:34:32]Write to MH i2c: E2 08 00 D7 1B 80 11 00 00 00 00 00 00 6C [10:34:32]Write i2c OK [10:34:32]MH_I2C_Read... [10:34:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:34:32]Read from MH i2c: E2 [10:34:32]MH_I2C_Read... [10:34:32]Read from MH i2c: E2 17 00 [10:34:32]MH_I2C_Read... [10:34:32]Read from MH i2c: E2 17 00 D7 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 BF [10:34:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [10:34:32]wFMCommunicate OK [10:34:32]CreateOFDProtocolMessage done [10:34:32]OFDSenderStorePacket 37179 [10:34:32]StoreOFDPacket docnum=37179 [10:34:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 20 01 00 00 7D 37 18 01 D3 83 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 35 30 31 37 33 39 37 36 06 04 1F 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 69 6E 74 65 72 66 72 65 73 68 20 D0 BF D0 BE D0 B4 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 48 0D 00 00 00 00 13 04 06 00 48 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 69 01 00 00 00 00 07 04 06 00 48 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 1B 00 00 00 F4 03 04 00 BD DC 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 3B 91 00 00 35 04 06 00 1B F8 B2 3D 02 E5 77 A3 40 D5 91 21 A9 09 [10:34:32]CheckFolder [10:34:32]dirname=/storage/ofd_packets [10:34:32]CheckFolder done [10:34:32]ProducePacketName [10:34:32]name=ofd_packets/00037179 [10:34:32]NVStorageSaveData ofd_packets/00037179 [10:34:32]File name is /storage/ofd_packets/00037179 [10:34:32]Write 318 bytes [10:34:32]NVStorageSaveData done [10:34:32]OFDSenderStorePacket done [10:34:32]KKMCreateOFDPacket done [10:34:32]NVStorageSaveData kkm_last_timestamp [10:34:32]File name is /storage/kkm_last_timestamp [10:34:32]Write 4 bytes [10:34:32]NVStorageSaveData done [10:34:32]ExternCall_PrintAddStr [10:34:32]wPrintStart [10:34:32]Write to MH i2c: 01 00 00 D8 1B F3 [10:34:32]Write i2c OK [10:34:32]MH_I2C_Read... [10:34:32]Read from MH i2c: 01 [10:34:32]MH_I2C_Read... [10:34:32]Read from MH i2c: 01 07 00 [10:34:32]MH_I2C_Read... [10:34:32]Read from MH i2c: 01 07 00 D8 1B 00 00 00 00 00 FF 0F 08 [10:34:32]RasterBufferAndPrint [10:34:32]line Счет N : (3)76658 [10:34:32]line ИÐÐ: 02508201610067 [10:34:32]line Контрольно-КаÑÑовый Чек [10:34:32]line ПРОДÐЖР[10:34:32]line Товар: 50173976 [10:34:32]line Жев Orbit Winterfresh под [10:34:32]line 1.000 * 34.00 [10:34:32]line = 34.00 [10:34:32]line ÐДС 12% ÐСП 1% [10:34:32]line > о реализуемом товаре [10:34:32]line ИТОГО: 34.00 [10:34:32]line ÐСП 1% : 0.30 [10:34:32]line ÐДС 12% : 3.61 [10:34:32]line Ðаличными: 34.00 [10:34:32]line Безнал.: 0.00 [10:34:32]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [10:34:32]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [10:34:32]line СÐО: Общий режим [10:34:32]line Чек 27 20.10.2024 10:34 [10:34:32]line Смена: 461 ФФД: 1.0 [10:34:32]line ЗÐМ: 0300000235 [10:34:32]line РÐМ: 0000000000098149 [10:34:32]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [10:34:32]line ФМ: 0000000000965372 [10:34:32]line ФД: 37179 [10:34:32]line ФПД: 30754956182245 [10:34:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T103437&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37179&fm=30754956182245&tin=02508201610067®Number=0000000000098149&sum=3400 [10:34:32]line 0 [10:34:32]OFD Sender: Processing packet 37179 [packets to send 25, broken 24] [10:34:32]ProducePacketName [10:34:32]name=ofd_packets/00037179 [10:34:32]OFD Sender: To server: ‡•öpG, [10:34:32]CommunicateWithHost lk.salyk.kg:30040 [10:34:32]ConnectInit lk.salyk.kg [10:34:32]written 0, free lines is 4095 [10:34:32]Connected sock=10 [10:34:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 20 01 00 00 7D 37 18 01 D3 83 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 35 30 31 37 33 39 37 36 06 04 1F 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 69 6E 74 65 72 66 72 65 73 68 20 D0 BF D0 BE D0 B4 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 48 0D 00 00 00 00 13 04 06 00 48 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 69 01 00 00 00 00 07 04 06 00 48 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 1B 00 00 00 F4 03 04 00 BD DC 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 3B 91 00 00 35 04 06 00 1B F8 B2 3D 02 E5 77 A3 40 D5 91 21 A9 09 [10:34:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 9A 59 47 00 60 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 33 37 32 10 04 04 00 3B 91 00 00 F4 03 04 00 50 85 14 67 B6 04 01 00 00 24 7F F8 C4 13 10 DC B7 [10:34:33]CommunicateWithHost err = 0 [10:34:33]CheckOFDResponse [10:34:33]1017 (14) - 77093643461234 [10:34:33]1041 (16) - 0000000000965372 [10:34:33]1040 (4) - 37179 [10:34:33]1012 (4) - 20.10.2024 04:21 [10:34:33]1206 (1) - 0 [10:34:33]OFD Sender: Remove packet 37179 [10:34:33]ProducePacketName [10:34:33]name=ofd_packets/00037179 [10:34:33]NVStorageDeleteData [10:34:33]Write to MH i2c: 01 00 00 00 1C 1C [10:34:33]Write i2c OK [10:34:33]MH_I2C_Read... [10:34:33]Read from MH i2c: 01 [10:34:33]MH_I2C_Read... [10:34:33]Read from MH i2c: 01 07 00 [10:34:33]MH_I2C_Read... [10:34:33]Read from MH i2c: 01 07 00 00 1C 00 00 00 00 00 EE 0C 1D [10:34:33]RasterBufferAndPrint [10:34:33]line [10:34:33]line [10:34:33]line [10:34:33]line [10:34:33]line [10:34:33]written 0, free lines is 3317 [10:34:33]process_action close_receipt done [10:34:33]requested_data is exist [10:34:33]produce_requested_data [10:34:33]requested_item fm.sn is exist - process it [10:34:33]wFMCommunicate request_size=4 [10:34:33]MH_SAM_APDU [10:34:33]CAPDU: 80 11 00 00 [10:34:33]Write to MH i2c: E2 08 00 07 1C 80 11 00 00 00 00 00 00 9D [10:34:33]Write i2c OK [10:34:33]MH_I2C_Read... [10:34:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:34:33]Read from MH i2c: E2 [10:34:33]MH_I2C_Read... [10:34:33]Read from MH i2c: E2 17 00 [10:34:33]MH_I2C_Read... [10:34:33]Read from MH i2c: E2 17 00 07 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 F0 [10:34:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [10:34:33]wFMCommunicate OK [10:34:33]requested_item fd.num is exist - process it [10:34:33]SAM_PROTO_GetFieldsCounters [10:34:33]wFMCommunicate request_size=4 [10:34:33]MH_SAM_APDU [10:34:33]CAPDU: 80 13 00 00 [10:34:33]Write to MH i2c: E2 08 00 08 1C 80 13 00 00 00 00 00 00 A0 [10:34:33]Write i2c OK [10:34:33]MH_I2C_Read... [10:34:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:34:33]Read from MH i2c: E2 [10:34:33]MH_I2C_Read... [10:34:33]Read from MH i2c: E2 62 00 [10:34:33]MH_I2C_Read... [10:34:33]Read from MH i2c: E2 62 00 08 1C 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 3B 91 00 00 0E 04 04 00 CD 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 B2 [10:34: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 3B 91 00 00 0E 04 04 00 CD 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 [10:34:33]wFMCommunicate OK [10:34:33]SAM_PROTO_GetFieldsCounters done [10:34:33]requested_item shift.num is exist - process it [10:34:33]requested_item shift.opened is exist - process it [10:34:33]req_shift_opened [10:34:33]FM_GetShiftState [10:34:33]SAM_PROTO_GetShiftState [10:34:33]wFMCommunicate request_size=4 [10:34:33]MH_SAM_APDU [10:34:33]CAPDU: 80 13 01 00 [10:34:33]Write to MH i2c: E2 08 00 09 1C 80 13 01 00 00 00 00 00 A2 [10:34:33]Write i2c OK [10:34:33]MH_I2C_Read... [10:34:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:34:33]Read from MH i2c: E2 [10:34:33]MH_I2C_Read... [10:34:33]Read from MH i2c: E2 0E 00 [10:34:33]MH_I2C_Read... [10:34:33]Read from MH i2c: E2 0E 00 09 1C 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 F7 [10:34:33]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [10:34:33]wFMCommunicate OK [10:34:33]SAM_PROTO_GetShiftState done [10:34:33]FM_GetShiftState done [10:34:33]req_shift_opened done [10:34:33]requested_item shift.open_date is exist - process it [10:34:33]req_shift_open_date [10:34:33]req_shift_open_date done [10:34:33]produce_requested_data done [10:34:33]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37179,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [10:34:33]process_action_free close_receipt [10:34:33]json_value_free [10:34:33]json_value_free done [10:34:33]process_json_proto returns [10:34:33]Send response to host [10:34:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37179,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [10:34:33]free response buf [10:34:33]execute_script done [10:34:33]execute_script returns [10:34:33]free content buf [10:34:33]Sock 7.Close socket [10:34:33]Sock 7.Thread stoped [10:34:33]OFD Sender: No OFD packet to send [10:34:38]OFD Sender: No OFD packet to send [10:34:43]OFD Sender: No OFD packet to send [10:34:48]OFD Sender: No OFD packet to send [10:34:53]OFD Sender: No OFD packet to send [10:34:58]OFD Sender: No OFD packet to send [10:35:03]OFD Sender: No OFD packet to send [10:35:08]OFD Sender: No OFD packet to send [10:35:13]OFD Sender: No OFD packet to send [10:35:18]OFD Sender: No OFD packet to send [10:35:23]OFD Sender: No OFD packet to send [10:35:28]OFD Sender: No OFD packet to send [10:35:33]OFD Sender: No OFD packet to send [10:35:38]OFD Sender: No OFD packet to send [10:35:43]OFD Sender: No OFD packet to send [10:35:48]OFD Sender: No OFD packet to send [10:35:53]OFD Sender: No OFD packet to send [10:35:58]OFD Sender: No OFD packet to send [10:36:03]OFD Sender: No OFD packet to send [10:36:08]OFD Sender: No OFD packet to send [10:36:13]OFD Sender: No OFD packet to send [10:36:18]OFD Sender: No OFD packet to send [10:36:23]OFD Sender: No OFD packet to send [10:36:28]OFD Sender: No OFD packet to send [10:36:33]OFD Sender: No OFD packet to send [10:36:38]OFD Sender: No OFD packet to send [10:36:43]OFD Sender: No OFD packet to send [10:36:48]OFD Sender: No OFD packet to send [10:36:53]OFD Sender: No OFD packet to send [10:36:58]OFD Sender: No OFD packet to send [10:37:03]OFD Sender: No OFD packet to send [10:37:08]OFD Sender: No OFD packet to send [10:37:13]OFD Sender: No OFD packet to send [10:37:18]OFD Sender: No OFD packet to send [10:37:23]OFD Sender: No OFD packet to send [10:37:28]OFD Sender: No OFD packet to send [10:37:33]OFD Sender: No OFD packet to send [10:37:38]OFD Sender: No OFD packet to send [10:37:43]OFD Sender: No OFD packet to send [10:37:48]OFD Sender: No OFD packet to send [10:37:53]OFD Sender: No OFD packet to send [10:37:58]OFD Sender: No OFD packet to send [10:38:03]OFD Sender: No OFD packet to send [10:38:08]OFD Sender: No OFD packet to send [10:38:13]OFD Sender: No OFD packet to send [10:38:18]OFD Sender: No OFD packet to send [10:38:23]OFD Sender: No OFD packet to send [10:38:28]OFD Sender: No OFD packet to send [10:38:33]OFD Sender: No OFD packet to send [10:38:38]OFD Sender: No OFD packet to send [10:38:43]OFD Sender: No OFD packet to send [10:38:48]OFD Sender: No OFD packet to send [10:38:53]OFD Sender: No OFD packet to send [10:38:58]OFD Sender: No OFD packet to send [10:39:03]OFD Sender: No OFD packet to send [10:39:08]OFD Sender: No OFD packet to send [10:39:13]OFD Sender: No OFD packet to send [10:39:18]OFD Sender: No OFD packet to send [10:39:23]OFD Sender: No OFD packet to send [10:39:28]OFD Sender: No OFD packet to send [10:39:33]OFD Sender: No OFD packet to send [10:39:38]OFD Sender: No OFD packet to send [10:39:43]OFD Sender: No OFD packet to send [10:39:48]OFD Sender: No OFD packet to send [10:39:53]OFD Sender: No OFD packet to send [10:39:58]OFD Sender: No OFD packet to send [10:40:03]OFD Sender: No OFD packet to send [10:40:08]OFD Sender: No OFD packet to send [10:40:13]OFD Sender: No OFD packet to send [10:40:18]OFD Sender: No OFD packet to send [10:40:23]OFD Sender: No OFD packet to send [10:40:28]OFD Sender: No OFD packet to send [10:40:33]OFD Sender: No OFD packet to send [10:40:38]OFD Sender: No OFD packet to send [10:40:43]OFD Sender: No OFD packet to send [10:40:49]OFD Sender: No OFD packet to send [10:40:54]OFD Sender: No OFD packet to send [10:40:59]OFD Sender: No OFD packet to send [10:41:04]OFD Sender: No OFD packet to send [10:41:09]OFD Sender: No OFD packet to send [10:41:14]OFD Sender: No OFD packet to send [10:41:19]OFD Sender: No OFD packet to send [10:41:24]OFD Sender: No OFD packet to send [10:41:29]OFD Sender: No OFD packet to send [10:41:34]OFD Sender: No OFD packet to send [10:41:39]OFD Sender: No OFD packet to send [10:41:44]OFD Sender: No OFD packet to send [10:41:49]OFD Sender: No OFD packet to send [10:41:54]OFD Sender: No OFD packet to send [10:41:59]OFD Sender: No OFD packet to send [10:42:04]OFD Sender: No OFD packet to send [10:42:09]OFD Sender: No OFD packet to send [10:42:14]OFD Sender: No OFD packet to send [10:42:19]OFD Sender: No OFD packet to send [10:42:24]OFD Sender: No OFD packet to send [10:42:29]OFD Sender: No OFD packet to send [10:42:34]OFD Sender: No OFD packet to send [10:42:39]OFD Sender: No OFD packet to send [10:42:44]OFD Sender: No OFD packet to send [10:42:49]OFD Sender: No OFD packet to send [10:42:54]OFD Sender: No OFD packet to send [10:42:59]OFD Sender: No OFD packet to send [10:43:04]OFD Sender: No OFD packet to send [10:43:09]OFD Sender: No OFD packet to send [10:43:14]OFD Sender: No OFD packet to send [10:43:19]OFD Sender: No OFD packet to send [10:43:24]OFD Sender: No OFD packet to send [10:43:29]OFD Sender: No OFD packet to send [10:43:34]OFD Sender: No OFD packet to send [10:43:39]OFD Sender: No OFD packet to send [10:43:44]OFD Sender: No OFD packet to send [10:43:49]OFD Sender: No OFD packet to send [10:43:54]OFD Sender: No OFD packet to send [10:43:59]OFD Sender: No OFD packet to send [10:44:04]OFD Sender: No OFD packet to send [10:44:09]OFD Sender: No OFD packet to send [10:44:14]OFD Sender: No OFD packet to send [10:44:19]OFD Sender: No OFD packet to send [10:44:24]OFD Sender: No OFD packet to send [10:44:29]OFD Sender: No OFD packet to send [10:44:34]OFD Sender: No OFD packet to send [10:44:39]OFD Sender: No OFD packet to send [10:44:44]OFD Sender: No OFD packet to send [10:44:49]OFD Sender: No OFD packet to send [10:44:54]OFD Sender: No OFD packet to send [10:44:59]OFD Sender: No OFD packet to send [10:45:04]OFD Sender: No OFD packet to send [10:45:09]OFD Sender: No OFD packet to send [10:45:14]OFD Sender: No OFD packet to send [10:45:19]OFD Sender: No OFD packet to send [10:45:24]OFD Sender: No OFD packet to send [10:45:29]OFD Sender: No OFD packet to send [10:45:34]OFD Sender: No OFD packet to send [10:45:39]OFD Sender: No OFD packet to send [10:45:44]OFD Sender: No OFD packet to send [10:45:49]OFD Sender: No OFD packet to send [10:45:54]OFD Sender: No OFD packet to send [10:45:59]OFD Sender: No OFD packet to send [10:46:04]OFD Sender: No OFD packet to send [10:46:09]OFD Sender: No OFD packet to send [10:46:14]OFD Sender: No OFD packet to send [10:46:19]OFD Sender: No OFD packet to send [10:46:21]accept exits with 9 [10:46:21]New connection [10:46:21]New thread 3066555748 created [10:46:21]Thread 3066699108 joined [10:46:21]Waiting for new connection... [10:46:21] Sock 9.Parse request [10:46:21]Sock 9.Check first char [10:46:21]Sock 9.First char is OK [10:46:21]request: POST /json_proto HTTP/1.0 [10:46:21]Method: POST [10:46:21]URL: /json_proto [10:46:21]Method is POST - this is cgi request [10:46:21]url: /json_proto [10:46:21]query_string will be loaded in cgi processing [10:46:21]execute_cgi json_proto POST (null) [10:46:21]execute_cgi path=json_proto method=POST [10:46:21]POST find Content-Length [10:46:21]Host: 172.17.53.68:8080 [10:46:21]Content-Length: 1529 [10:46:21]Content-Type: application/json [10:46:21] [10:46:21]POST finish read [10:46:21]Found Content-Length = 1529 [10:46:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76659", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 150.00, "quantity" : 2.000, "sum" : 300.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" : 3.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000483297", "name": "\u042D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Nitro \u0410\u043D\u0430\u043D\u0430\u0441-\u0433\u0443\u0430\u0432", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189325", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 590.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:46:21]execute_script... [10:46: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)76659", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 150.00, "quantity" : 2.000, "sum" : 300.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" : 3.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000483297", "name": "\u042D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Nitro \u0410\u043D\u0430\u043D\u0430\u0441-\u0433\u0443\u0430\u0432", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189325", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 590.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:46:21]POST & json_proto [10:46:21]process_json_proto [10:46:21]json parsed OK: [10:46:21]protocol is kg_v1.0 [10:46:21]action value=close_receipt [10:46:21]process_action close_receipt [10:46:21]cmd_close_receipt [10:46:21]MH_GetDate [10:46:21]Write to MH i2c: F0 00 00 0A 1C 15 [10:46:21]Write i2c OK [10:46:21]MH_I2C_Read... [10:46:21]Read from MH i2c: F0 [10:46:21]MH_I2C_Read... [10:46:21]Read from MH i2c: F0 09 00 [10:46:21]MH_I2C_Read... [10:46:21]Read from MH i2c: F0 09 00 0A 1C 00 84 DF 14 67 C5 A4 76 66 41 [10:46:21]GetLastDocTimeStamp 1729420477 [10:46:21]current date 1729421188 [10:46:21]FM_GetShiftState [10:46:21]SAM_PROTO_GetShiftState [10:46:21]wFMCommunicate request_size=4 [10:46:21]MH_SAM_APDU [10:46:21]CAPDU: 80 13 01 00 [10:46:21]Write to MH i2c: E2 08 00 0B 1C 80 13 01 00 00 00 00 00 A4 [10:46:21]Write i2c OK [10:46:21]MH_I2C_Read... [10:46:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:46:21]Read from MH i2c: E2 [10:46:21]MH_I2C_Read... [10:46:21]Read from MH i2c: E2 0E 00 [10:46:21]MH_I2C_Read... [10:46:21]Read from MH i2c: E2 0E 00 0B 1C 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 F9 [10:46:21]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [10:46:21]wFMCommunicate OK [10:46:21]SAM_PROTO_GetShiftState done [10:46:21]FM_GetShiftState done [10:46:21]opened in 1729383299 [10:46:21]opened+sec_in_day 1729469699 [10:46:21]quantity*price = 30000 [10:46:21]sum+1 = 30001 [10:46:21]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160211 Вода Легенда 0,5л 3.000 * 40.00 = 120.00 ÐДС 12% ÐСП 1% > о реализуемом товаре Товар: 4700000483297 ЭнергетичеÑкий напиток Nitro ÐнанаÑ-гуав 1.000 * 95.00 = 95.00 ÐДС 12% ÐСП 1% > о реализуемом товаре Товар: 5449000189325 Холодный чай Fuse перÑик 0,5л 1.000 * 75.00 = 75.00 ÐДС 12% ÐСП 1% > о реализуемом товаре ИТОГО: 590.00 ÐСП 1% : 5.21 ÐДС 12% : 62.65 Ðаличными: 590.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 28 20.10.2024 10:46 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37180 ФПД: 69008288415796 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T104628&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37180&fm=69008288415796&tin=02508201610067®Number=0000000000098149&sum=59000 0 [10:46:22]StoreToDocumentArchive [10:46:22]shift 461 fd 37180 [10:46:22]save to /storage/0461/doc_00037180 [10:46:22]save last doc name /storage/0461/doc_00037180 to /storage/kkm_last_doc_name [10:46:22]save OK [10:46:22]Clear old archive folders... [10:46:22]ProcessDocumentItem done err = 0, tmpTLVsize=637 [10:46:22]tlvbuf is B6E6A530 [10:46:22]SAM_PROTO_ClearQueue [10:46:22]wFMCommunicate request_size=4 [10:46:22]MH_SAM_APDU [10:46:22]CAPDU: 80 09 00 00 [10:46:22]Write to MH i2c: E2 08 00 18 1C 80 09 00 00 00 00 00 00 A6 [10:46:22]Write i2c OK [10:46:22]MH_I2C_Read... [10:46:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:46:22]Read from MH i2c: E2 [10:46:22]MH_I2C_Read... [10:46:22]Read from MH i2c: E2 03 00 [10:46:22]MH_I2C_Read... [10:46:22]Read from MH i2c: E2 03 00 18 1C 00 90 00 A8 [10:46:22]RAPDU: 90 00 [10:46:22]wFMCommunicate OK [10:46:22]SAM_PROTO_ClearQueue done [10:46:22]KKMCreateOFDPacket [10:46:22]OFDProtocolAddRootSTLVToBuf [10:46:22]FM_MakeSignedData [10:46:22]FM_MakeSignedData [10:46:22]SAM_PROTO_SignData [10:46:22]wFMCommunicate request_size=4 [10:46:22]MH_SAM_APDU [10:46:22]CAPDU: 80 0D 01 02 [10:46:22]Write to MH i2c: E2 08 00 19 1C 80 0D 01 02 00 00 00 00 AE [10:46:22]Write i2c OK [10:46:22]MH_I2C_Read... [10:46:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:46:22]Read from MH i2c: E2 [10:46:22]MH_I2C_Read... [10:46:22]Read from MH i2c: E2 03 00 [10:46:22]MH_I2C_Read... [10:46:22]Read from MH i2c: E2 03 00 19 1C 00 90 00 A9 [10:46:22]RAPDU: 90 00 [10:46:22]wFMCommunicate OK [10:46:22]wFMCommunicate request_size=255 [10:46:22]MH_SAM_APDU [10:46:22]CAPDU: 80 0D 02 02 FA 03 00 7D 02 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 30 75 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 B8 0B 00 00 00 00 00 37 04 06 00 A0 0F 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 8B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 39 37 06 04 47 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 D0 [10:46:22]Write to MH i2c: E2 02 01 1A 1C 80 0D 02 02 FA 00 03 00 7D 02 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 30 75 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 B8 0B 00 00 00 00 00 37 04 06 00 A0 0F 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 8B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 39 37 06 04 47 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 D0 00 00 D8 [10:46:22]Write i2c OK [10:46:22]MH_I2C_Read... [10:46:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:46:23]Read from MH i2c: E2 [10:46:23]MH_I2C_Read... [10:46:23]Read from MH i2c: E2 03 00 [10:46:23]MH_I2C_Read... [10:46:23]Read from MH i2c: E2 03 00 1A 1C 00 90 00 AA [10:46:23]RAPDU: 90 00 [10:46:23]wFMCommunicate OK [10:46:23]wFMCommunicate request_size=255 [10:46:23]MH_SAM_APDU [10:46:23]CAPDU: 80 0D 02 02 FA B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 D0 90 D0 BD D0 B0 D0 BD D0 B0 D1 81 2D D0 B3 D1 83 D0 B0 D0 B2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 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 78 E6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 [10:46:23]Write to MH i2c: E2 02 01 1B 1C 80 0D 02 02 FA 00 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 D0 90 D0 BD D0 B0 D0 BD D0 B0 D1 81 2D D0 B3 D1 83 D0 B0 D0 B2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 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 78 E6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 00 00 1A [10:46:23]Write i2c OK [10:46:23]MH_I2C_Read... [10:46:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:46:23]Read from MH i2c: E2 [10:46:23]MH_I2C_Read... [10:46:23]Read from MH i2c: E2 03 00 [10:46:23]MH_I2C_Read... [10:46:23]Read from MH i2c: E2 03 00 1B 1C 00 90 00 AB [10:46:23]RAPDU: 90 00 [10:46:23]wFMCommunicate OK [10:46:23]wFMCommunicate request_size=146 [10:46:23]MH_SAM_APDU [10:46:23]CAPDU: 80 0D 02 02 8D 03 06 00 09 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 18 00 00 00 00 07 04 06 00 78 E6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 84 DF 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 3C 91 00 00 35 04 06 00 3E C3 3E 84 80 34 [10:46:23]Write to MH i2c: E2 95 00 1C 1C 80 0D 02 02 8D 00 03 06 00 09 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 18 00 00 00 00 07 04 06 00 78 E6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 84 DF 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 3C 91 00 00 35 04 06 00 3E C3 3E 84 80 34 00 00 0E [10:46:23]Write i2c OK [10:46:23]MH_I2C_Read... [10:46:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:46:23]Read from MH i2c: E2 [10:46:23]MH_I2C_Read... [10:46:23]Read from MH i2c: E2 03 00 [10:46:23]MH_I2C_Read... [10:46:23]Read from MH i2c: E2 03 00 1C 1C 00 90 00 AC [10:46:23]RAPDU: 90 00 [10:46:23]wFMCommunicate OK [10:46:23]wFMCommunicate request_size=4 [10:46:23]MH_SAM_APDU [10:46:23]CAPDU: 80 0D 03 02 [10:46:23]Write to MH i2c: E2 08 00 1D 1C 80 0D 03 02 00 00 00 00 B4 [10:46:23]Write i2c OK [10:46:23]MH_I2C_Read... [10:46:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:46:23]Read from MH i2c: E2 [10:46:23]MH_I2C_Read... [10:46:23]Read from MH i2c: E2 0B 00 [10:46:23]MH_I2C_Read... [10:46:23]Read from MH i2c: E2 0B 00 1D 1C 00 71 3F F7 E9 74 89 95 FD 90 00 D4 [10:46:23]RAPDU: 71 3F F7 E9 74 89 95 FD 90 00 [10:46:23]wFMCommunicate OK [10:46:23]SAM_PROTO_SignData done [10:46:23]FM_MakeSignedData done [10:46:23]CreateOFDProtocolMessage [10:46:23]wFMCommunicate request_size=4 [10:46:23]MH_SAM_APDU [10:46:23]CAPDU: 80 11 00 00 [10:46:23]Write to MH i2c: E2 08 00 1E 1C 80 11 00 00 00 00 00 00 B4 [10:46:23]Write i2c OK [10:46:23]MH_I2C_Read... [10:46:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:46:23]Read from MH i2c: E2 [10:46:23]MH_I2C_Read... [10:46:23]Read from MH i2c: E2 17 00 [10:46:23]MH_I2C_Read... [10:46:23]Read from MH i2c: E2 17 00 1E 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 07 [10:46:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [10:46:23]wFMCommunicate OK [10:46:23]CreateOFDProtocolMessage done [10:46:23]OFDSenderStorePacket 37180 [10:46:23]StoreOFDPacket docnum=37180 [10:46:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 91 02 00 00 98 17 89 02 79 14 5A 03 01 00 03 00 7D 02 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 30 75 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 B8 0B 00 00 00 00 00 37 04 06 00 A0 0F 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 8B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 39 37 06 04 47 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 D0 90 D0 BD D0 B0 D0 BD D0 B0 D1 81 2D D0 B3 D1 83 D0 B0 D0 B2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 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 78 E6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 18 00 00 00 00 07 04 06 00 78 E6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 84 DF 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 3C 91 00 00 35 04 06 00 3E C3 3E 84 80 34 71 3F F7 E9 74 89 95 FD [10:46:23]CheckFolder [10:46:23]dirname=/storage/ofd_packets [10:46:23]CheckFolder done [10:46:23]ProducePacketName [10:46:23]name=ofd_packets/00037180 [10:46:23]NVStorageSaveData ofd_packets/00037180 [10:46:23]File name is /storage/ofd_packets/00037180 [10:46:23]Write 687 bytes [10:46:23]NVStorageSaveData done [10:46:23]OFDSenderStorePacket done [10:46:23]KKMCreateOFDPacket done [10:46:23]NVStorageSaveData kkm_last_timestamp [10:46:23]File name is /storage/kkm_last_timestamp [10:46:23]Write 4 bytes [10:46:23]NVStorageSaveData done [10:46:23]ExternCall_PrintAddStr [10:46:23]wPrintStart [10:46:23]Write to MH i2c: 01 00 00 1F 1C 3B [10:46:23]Write i2c OK [10:46:23]MH_I2C_Read... [10:46:23]Read from MH i2c: 01 [10:46:23]MH_I2C_Read... [10:46:23]Read from MH i2c: 01 07 00 [10:46:23]MH_I2C_Read... [10:46:23]Read from MH i2c: 01 07 00 1F 1C 00 00 00 00 00 FF 0F 50 [10:46:23]RasterBufferAndPrint [10:46:23]line Счет N : (3)76659 [10:46:23]line ИÐÐ: 02508201610067 [10:46:23]line Контрольно-КаÑÑовый Чек [10:46:23]line ПРОДÐЖР[10:46:23]line Товар: 4640030091645 [10:46:23]line Сигареты ESSE Exchange M [10:46:23]line 2.000 * 150.00 [10:46:23]line = 300.00 [10:46:23]line ÐДС 12% ÐСП 1% [10:46:23]line > о реализуемом товаре [10:46:23]line Товар: 4700000160211 [10:46:24]line Вода Легенда 0,5л [10:46:24]line 3.000 * 40.00 [10:46:24]line = 120.00 [10:46:24]line ÐДС 12% ÐСП 1% [10:46:24]line > о реализуемом товаре [10:46:24]line Товар: 4700000483297 [10:46:24]line ЭнергетичеÑкий напиток Nitro ÐнанаÑ-гуав [10:46:24]line 1.000 * 95.00 [10:46:24]line = 95.00 [10:46:24]line ÐДС 12% ÐСП 1% [10:46:24]line > о реализуемом товаре [10:46:24]line Товар: 5449000189325 [10:46:24]line Холодный чай Fuse перÑик 0,5л [10:46:24]line 1.000 * 75.00 [10:46:24]line = 75.00 [10:46:24]line ÐДС 12% ÐСП 1% [10:46:24]line > о реализуемом товаре [10:46:24]line ИТОГО: 590.00 [10:46:24]line ÐСП 1% : 5.21 [10:46:24]line ÐДС 12% : 62.65 [10:46:24]line Ðаличными: 590.00 [10:46:24]line Безнал.: 0.00 [10:46:24]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [10:46:24]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [10:46:24]line СÐО: Общий режим [10:46:24]line Чек 28 20.10.2024 10:46 [10:46:24]line Смена: 461 ФФД: 1.0 [10:46:24]line ЗÐМ: 0300000235 [10:46:24]line РÐМ: 0000000000098149 [10:46:24]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [10:46:24]line ФМ: 0000000000965372 [10:46:24]line ФД: 37180 [10:46:24]line ФПД: 69008288415796 [10:46:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T104628&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37180&fm=69008288415796&tin=02508201610067®Number=0000000000098149&sum=59000 [10:46:24]line 0 [10:46:24]OFD Sender: Processing packet 37180 [packets to send 25, broken 24] [10:46:24]ProducePacketName [10:46:24]name=ofd_packets/00037180 [10:46:24]OFD Sender: To server: ‡•öpG, [10:46:24]CommunicateWithHost lk.salyk.kg:30040 [10:46:24]ConnectInit lk.salyk.kg [10:46:24]written 0, free lines is 4095 [10:46:24]Connected sock=10 [10:46: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 33 37 32 91 02 00 00 98 17 89 02 79 14 5A 03 01 00 03 00 7D 02 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 30 75 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 B8 0B 00 00 00 00 00 37 04 06 00 A0 0F 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 8B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 39 37 06 04 47 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 D0 90 D0 BD D0 B0 D0 BD D0 B0 D1 81 2D D0 B3 D1 83 D0 B0 D0 B2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 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 78 E6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 18 00 00 00 00 07 04 06 00 78 E6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 84 DF 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 3C 91 00 00 35 04 06 00 3E C3 3E 84 80 34 71 3F F7 E9 74 89 95 FD [10:46:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 51 B6 47 00 95 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 33 37 32 10 04 04 00 3C 91 00 00 F4 03 04 00 17 88 14 67 B6 04 01 00 00 AB E1 2B 4A A1 62 61 D5 [10:46:24]CommunicateWithHost err = 0 [10:46:24]CheckOFDResponse [10:46:24]1017 (14) - 77093643461234 [10:46:24]1041 (16) - 0000000000965372 [10:46:24]1040 (4) - 37180 [10:46:24]1012 (4) - 20.10.2024 04:33 [10:46:24]1206 (1) - 0 [10:46:24]OFD Sender: Remove packet 37180 [10:46:24]ProducePacketName [10:46:24]name=ofd_packets/00037180 [10:46:24]NVStorageDeleteData [10:46:24]Write to MH i2c: 01 00 00 5B 1C 77 [10:46:24]Write i2c OK [10:46:24]MH_I2C_Read... [10:46:24]Read from MH i2c: 01 [10:46:24]MH_I2C_Read... [10:46:24]Read from MH i2c: 01 07 00 [10:46:24]MH_I2C_Read... [10:46:24]Read from MH i2c: 01 07 00 5B 1C 00 00 00 00 00 C5 0B 4E [10:46:24]RasterBufferAndPrint [10:46:24]line [10:46:24]line [10:46:24]line [10:46:24]line [10:46:24]line [10:46:24]written 0, free lines is 3023 [10:46:24]process_action close_receipt done [10:46:24]requested_data is exist [10:46:24]produce_requested_data [10:46:24]requested_item fm.sn is exist - process it [10:46:24]wFMCommunicate request_size=4 [10:46:24]MH_SAM_APDU [10:46:24]CAPDU: 80 11 00 00 [10:46:24]Write to MH i2c: E2 08 00 62 1C 80 11 00 00 00 00 00 00 F8 [10:46:24]Write i2c OK [10:46:24]MH_I2C_Read... [10:46:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:46:24]Read from MH i2c: E2 [10:46:24]MH_I2C_Read... [10:46:24]Read from MH i2c: E2 17 00 [10:46:24]MH_I2C_Read... [10:46:24]Read from MH i2c: E2 17 00 62 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 4B [10:46:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [10:46:24]wFMCommunicate OK [10:46:24]requested_item fd.num is exist - process it [10:46:24]SAM_PROTO_GetFieldsCounters [10:46:24]wFMCommunicate request_size=4 [10:46:24]MH_SAM_APDU [10:46:24]CAPDU: 80 13 00 00 [10:46:24]Write to MH i2c: E2 08 00 63 1C 80 13 00 00 00 00 00 00 FB [10:46:24]Write i2c OK [10:46:24]MH_I2C_Read... [10:46:24]OFD Sender: No OFD packet to send [10:46:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:46:24]Read from MH i2c: E2 [10:46:24]MH_I2C_Read... [10:46:24]Read from MH i2c: E2 62 00 [10:46:24]MH_I2C_Read... [10:46:24]Read from MH i2c: E2 62 00 63 1C 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 3C 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 11 [10:46:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 3C 91 00 00 0E 04 04 00 CD 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 [10:46:24]wFMCommunicate OK [10:46:24]SAM_PROTO_GetFieldsCounters done [10:46:24]requested_item shift.num is exist - process it [10:46:24]requested_item shift.opened is exist - process it [10:46:24]req_shift_opened [10:46:24]FM_GetShiftState [10:46:24]SAM_PROTO_GetShiftState [10:46:24]wFMCommunicate request_size=4 [10:46:24]MH_SAM_APDU [10:46:24]CAPDU: 80 13 01 00 [10:46:24]Write to MH i2c: E2 08 00 64 1C 80 13 01 00 00 00 00 00 FD [10:46:24]Write i2c OK [10:46:24]MH_I2C_Read... [10:46:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:46:24]Read from MH i2c: E2 [10:46:24]MH_I2C_Read... [10:46:24]Read from MH i2c: E2 0E 00 [10:46:24]MH_I2C_Read... [10:46:24]Read from MH i2c: E2 0E 00 64 1C 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 52 [10:46:24]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [10:46:24]wFMCommunicate OK [10:46:24]SAM_PROTO_GetShiftState done [10:46:24]FM_GetShiftState done [10:46:24]req_shift_opened done [10:46:24]requested_item shift.open_date is exist - process it [10:46:24]req_shift_open_date [10:46:24]req_shift_open_date done [10:46:24]produce_requested_data done [10:46:24]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37180,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [10:46:24]process_action_free close_receipt [10:46:24]json_value_free [10:46:24]json_value_free done [10:46:24]process_json_proto returns [10:46:24]Send response to host [10:46:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37180,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [10:46:25]free response buf [10:46:25]execute_script done [10:46:25]execute_script returns [10:46:25]free content buf [10:46:25]Sock 9.Close socket [10:46:25]Sock 9.Thread stoped [10:46:29]OFD Sender: No OFD packet to send [10:46:34]OFD Sender: No OFD packet to send [10:46:39]OFD Sender: No OFD packet to send [10:46:44]OFD Sender: No OFD packet to send [10:46:49]OFD Sender: No OFD packet to send [10:46:54]OFD Sender: No OFD packet to send [10:46:59]OFD Sender: No OFD packet to send [10:47:04]OFD Sender: No OFD packet to send [10:47:09]OFD Sender: No OFD packet to send [10:47:14]OFD Sender: No OFD packet to send [10:47:19]OFD Sender: No OFD packet to send [10:47:24]OFD Sender: No OFD packet to send [10:47:29]OFD Sender: No OFD packet to send [10:47:34]OFD Sender: No OFD packet to send [10:47:39]OFD Sender: No OFD packet to send [10:47:44]OFD Sender: No OFD packet to send [10:47:49]OFD Sender: No OFD packet to send [10:47:54]OFD Sender: No OFD packet to send [10:47:59]OFD Sender: No OFD packet to send [10:48:04]OFD Sender: No OFD packet to send [10:48:09]OFD Sender: No OFD packet to send [10:48:14]OFD Sender: No OFD packet to send [10:48:19]OFD Sender: No OFD packet to send [10:48:24]OFD Sender: No OFD packet to send [10:48:29]OFD Sender: No OFD packet to send [10:48:34]OFD Sender: No OFD packet to send [10:48:40]OFD Sender: No OFD packet to send [10:48:45]OFD Sender: No OFD packet to send [10:48:50]OFD Sender: No OFD packet to send [10:48:55]OFD Sender: No OFD packet to send [10:49:00]OFD Sender: No OFD packet to send [10:49:05]OFD Sender: No OFD packet to send [10:49:10]OFD Sender: No OFD packet to send [10:49:15]OFD Sender: No OFD packet to send [10:49:20]OFD Sender: No OFD packet to send [10:49:25]OFD Sender: No OFD packet to send [10:49:30]OFD Sender: No OFD packet to send [10:49:35]OFD Sender: No OFD packet to send [10:49:40]OFD Sender: No OFD packet to send [10:49:45]OFD Sender: No OFD packet to send [10:49:50]OFD Sender: No OFD packet to send [10:49:55]OFD Sender: No OFD packet to send [10:50:00]OFD Sender: No OFD packet to send [10:50:05]OFD Sender: No OFD packet to send [10:50:10]OFD Sender: No OFD packet to send [10:50:15]OFD Sender: No OFD packet to send [10:50:20]OFD Sender: No OFD packet to send [10:50:25]OFD Sender: No OFD packet to send [10:50:30]OFD Sender: No OFD packet to send [10:50:35]OFD Sender: No OFD packet to send [10:50:40]OFD Sender: No OFD packet to send [10:50:45]OFD Sender: No OFD packet to send [10:50:50]OFD Sender: No OFD packet to send [10:50:55]OFD Sender: No OFD packet to send [10:51:00]OFD Sender: No OFD packet to send [10:51:05]OFD Sender: No OFD packet to send [10:51:10]OFD Sender: No OFD packet to send [10:51:15]OFD Sender: No OFD packet to send [10:51:20]OFD Sender: No OFD packet to send [10:51:25]OFD Sender: No OFD packet to send [10:51:30]OFD Sender: No OFD packet to send [10:51:35]OFD Sender: No OFD packet to send [10:51:40]OFD Sender: No OFD packet to send [10:51:45]OFD Sender: No OFD packet to send [10:51:50]OFD Sender: No OFD packet to send [10:51:55]OFD Sender: No OFD packet to send [10:52:00]OFD Sender: No OFD packet to send [10:52:05]OFD Sender: No OFD packet to send [10:52:10]OFD Sender: No OFD packet to send [10:52:15]OFD Sender: No OFD packet to send [10:52:20]OFD Sender: No OFD packet to send [10:52:25]OFD Sender: No OFD packet to send [10:52:30]OFD Sender: No OFD packet to send [10:52:35]OFD Sender: No OFD packet to send [10:52:40]OFD Sender: No OFD packet to send [10:52:45]OFD Sender: No OFD packet to send [10:52:50]OFD Sender: No OFD packet to send [10:52:55]OFD Sender: No OFD packet to send [10:53:00]OFD Sender: No OFD packet to send [10:53:05]OFD Sender: No OFD packet to send [10:53:10]OFD Sender: No OFD packet to send [10:53:15]OFD Sender: No OFD packet to send [10:53:20]OFD Sender: No OFD packet to send [10:53:25]OFD Sender: No OFD packet to send [10:53:30]OFD Sender: No OFD packet to send [10:53:35]OFD Sender: No OFD packet to send [10:53:40]OFD Sender: No OFD packet to send [10:53:45]OFD Sender: No OFD packet to send [10:53:50]OFD Sender: No OFD packet to send [10:53:55]OFD Sender: No OFD packet to send [10:54:00]OFD Sender: No OFD packet to send [10:54:05]OFD Sender: No OFD packet to send [10:54:10]OFD Sender: No OFD packet to send [10:54:15]OFD Sender: No OFD packet to send [10:54:20]OFD Sender: No OFD packet to send [10:54:25]OFD Sender: No OFD packet to send [10:54:30]OFD Sender: No OFD packet to send [10:54:35]OFD Sender: No OFD packet to send [10:54:40]OFD Sender: No OFD packet to send [10:54:45]OFD Sender: No OFD packet to send [10:54:50]OFD Sender: No OFD packet to send [10:54:55]OFD Sender: No OFD packet to send [10:55:00]OFD Sender: No OFD packet to send [10:55:05]OFD Sender: No OFD packet to send [10:55:10]OFD Sender: No OFD packet to send [10:55:15]OFD Sender: No OFD packet to send [10:55:20]OFD Sender: No OFD packet to send [10:55:25]OFD Sender: No OFD packet to send [10:55:30]OFD Sender: No OFD packet to send [10:55:35]OFD Sender: No OFD packet to send [10:55:40]OFD Sender: No OFD packet to send [10:55:45]OFD Sender: No OFD packet to send [10:55:50]OFD Sender: No OFD packet to send [10:55:55]OFD Sender: No OFD packet to send [10:56:00]OFD Sender: No OFD packet to send [10:56:05]OFD Sender: No OFD packet to send [10:56:10]OFD Sender: No OFD packet to send [10:56:15]OFD Sender: No OFD packet to send [10:56:20]OFD Sender: No OFD packet to send [10:56:25]OFD Sender: No OFD packet to send [10:56:30]OFD Sender: No OFD packet to send [10:56:35]OFD Sender: No OFD packet to send [10:56:40]OFD Sender: No OFD packet to send [10:56:45]OFD Sender: No OFD packet to send [10:56:50]OFD Sender: No OFD packet to send [10:56:55]OFD Sender: No OFD packet to send [10:57:00]OFD Sender: No OFD packet to send [10:57:05]OFD Sender: No OFD packet to send [10:57:10]OFD Sender: No OFD packet to send [10:57:15]OFD Sender: No OFD packet to send [10:57:20]OFD Sender: No OFD packet to send [10:57:25]OFD Sender: No OFD packet to send [10:57:30]OFD Sender: No OFD packet to send [10:57:35]OFD Sender: No OFD packet to send [10:57:40]OFD Sender: No OFD packet to send [10:57:45]OFD Sender: No OFD packet to send [10:57:50]OFD Sender: No OFD packet to send [10:57:55]OFD Sender: No OFD packet to send [10:58:00]OFD Sender: No OFD packet to send [10:58:05]OFD Sender: No OFD packet to send [10:58:10]OFD Sender: No OFD packet to send [10:58:15]OFD Sender: No OFD packet to send [10:58:20]OFD Sender: No OFD packet to send [10:58:25]OFD Sender: No OFD packet to send [10:58:30]OFD Sender: No OFD packet to send [10:58:35]OFD Sender: No OFD packet to send [10:58:40]OFD Sender: No OFD packet to send [10:58:45]OFD Sender: No OFD packet to send [10:58:50]OFD Sender: No OFD packet to send [10:58:55]OFD Sender: No OFD packet to send [10:59:00]OFD Sender: No OFD packet to send [10:59:05]OFD Sender: No OFD packet to send [10:59:10]OFD Sender: No OFD packet to send [10:59:15]OFD Sender: No OFD packet to send [10:59:20]OFD Sender: No OFD packet to send [10:59:25]OFD Sender: No OFD packet to send [10:59:30]OFD Sender: No OFD packet to send [10:59:35]OFD Sender: No OFD packet to send [10:59:40]OFD Sender: No OFD packet to send [10:59:45]OFD Sender: No OFD packet to send [10:59:50]OFD Sender: No OFD packet to send [10:59:55]OFD Sender: No OFD packet to send [11:00:00]OFD Sender: No OFD packet to send [11:00:05]OFD Sender: No OFD packet to send [11:00:10]OFD Sender: No OFD packet to send [11:00:15]OFD Sender: No OFD packet to send [11:00:20]OFD Sender: No OFD packet to send [11:00:25]OFD Sender: No OFD packet to send [11:00:30]OFD Sender: No OFD packet to send [11:00:35]OFD Sender: No OFD packet to send [11:00:40]OFD Sender: No OFD packet to send [11:00:45]OFD Sender: No OFD packet to send [11:00:50]OFD Sender: No OFD packet to send [11:00:55]OFD Sender: No OFD packet to send [11:01:00]OFD Sender: No OFD packet to send [11:01:05]OFD Sender: No OFD packet to send [11:01:10]OFD Sender: No OFD packet to send [11:01:15]OFD Sender: No OFD packet to send [11:01:20]OFD Sender: No OFD packet to send [11:01:25]OFD Sender: No OFD packet to send [11:01:30]OFD Sender: No OFD packet to send [11:01:35]OFD Sender: No OFD packet to send [11:01:40]OFD Sender: No OFD packet to send [11:01:45]OFD Sender: No OFD packet to send [11:01:50]OFD Sender: No OFD packet to send [11:01:55]OFD Sender: No OFD packet to send [11:02:00]OFD Sender: No OFD packet to send [11:02:05]OFD Sender: No OFD packet to send [11:02:10]OFD Sender: No OFD packet to send [11:02:15]OFD Sender: No OFD packet to send [11:02:20]OFD Sender: No OFD packet to send [11:02:25]OFD Sender: No OFD packet to send [11:02:30]OFD Sender: No OFD packet to send [11:02:35]OFD Sender: No OFD packet to send [11:02:40]OFD Sender: No OFD packet to send [11:02:45]OFD Sender: No OFD packet to send [11:02:50]OFD Sender: No OFD packet to send [11:02:55]OFD Sender: No OFD packet to send [11:03:00]OFD Sender: No OFD packet to send [11:03:05]OFD Sender: No OFD packet to send [11:03:10]OFD Sender: No OFD packet to send [11:03:15]OFD Sender: No OFD packet to send [11:03:20]OFD Sender: No OFD packet to send [11:03:25]OFD Sender: No OFD packet to send [11:03:30]OFD Sender: No OFD packet to send [11:03:35]OFD Sender: No OFD packet to send [11:03:40]OFD Sender: No OFD packet to send [11:03:45]OFD Sender: No OFD packet to send [11:03:50]OFD Sender: No OFD packet to send [11:03:55]OFD Sender: No OFD packet to send [11:04:00]OFD Sender: No OFD packet to send [11:04:05]OFD Sender: No OFD packet to send [11:04:10]OFD Sender: No OFD packet to send [11:04:15]OFD Sender: No OFD packet to send [11:04:20]OFD Sender: No OFD packet to send [11:04:25]OFD Sender: No OFD packet to send [11:04:30]OFD Sender: No OFD packet to send [11:04:35]OFD Sender: No OFD packet to send [11:04:40]OFD Sender: No OFD packet to send [11:04:45]OFD Sender: No OFD packet to send [11:04:50]OFD Sender: No OFD packet to send [11:04:55]OFD Sender: No OFD packet to send [11:05:00]OFD Sender: No OFD packet to send [11:05:05]OFD Sender: No OFD packet to send [11:05:10]OFD Sender: No OFD packet to send [11:05:15]OFD Sender: No OFD packet to send [11:05:20]OFD Sender: No OFD packet to send [11:05:25]OFD Sender: No OFD packet to send [11:05:30]OFD Sender: No OFD packet to send [11:05:35]OFD Sender: No OFD packet to send [11:05:40]OFD Sender: No OFD packet to send [11:05:45]OFD Sender: No OFD packet to send [11:05:50]OFD Sender: No OFD packet to send [11:05:55]OFD Sender: No OFD packet to send [11:06:00]OFD Sender: No OFD packet to send [11:06:05]OFD Sender: No OFD packet to send [11:06:10]OFD Sender: No OFD packet to send [11:06:15]OFD Sender: No OFD packet to send [11:06:20]OFD Sender: No OFD packet to send [11:06:25]OFD Sender: No OFD packet to send [11:06:30]OFD Sender: No OFD packet to send [11:06:35]OFD Sender: No OFD packet to send [11:06:40]OFD Sender: No OFD packet to send [11:06:45]OFD Sender: No OFD packet to send [11:06:50]OFD Sender: No OFD packet to send [11:06:55]OFD Sender: No OFD packet to send [11:07:00]OFD Sender: No OFD packet to send [11:07:05]OFD Sender: No OFD packet to send [11:07:10]OFD Sender: No OFD packet to send [11:07:15]OFD Sender: No OFD packet to send [11:07:20]OFD Sender: No OFD packet to send [11:07:25]OFD Sender: No OFD packet to send [11:07:30]OFD Sender: No OFD packet to send [11:07:35]OFD Sender: No OFD packet to send [11:07:40]OFD Sender: No OFD packet to send [11:07:45]OFD Sender: No OFD packet to send [11:07:50]OFD Sender: No OFD packet to send [11:07:55]OFD Sender: No OFD packet to send [11:08:00]OFD Sender: No OFD packet to send [11:08:05]OFD Sender: No OFD packet to send [11:08:10]OFD Sender: No OFD packet to send [11:08:15]OFD Sender: No OFD packet to send [11:08:20]OFD Sender: No OFD packet to send [11:08:25]OFD Sender: No OFD packet to send [11:08:30]OFD Sender: No OFD packet to send [11:08:36]OFD Sender: No OFD packet to send [11:08:41]OFD Sender: No OFD packet to send [11:08:46]OFD Sender: No OFD packet to send [11:08:51]OFD Sender: No OFD packet to send [11:08:56]OFD Sender: No OFD packet to send [11:09:01]OFD Sender: No OFD packet to send [11:09:06]OFD Sender: No OFD packet to send [11:09:11]OFD Sender: No OFD packet to send [11:09:16]OFD Sender: No OFD packet to send [11:09:21]OFD Sender: No OFD packet to send [11:09:26]OFD Sender: No OFD packet to send [11:09:31]OFD Sender: No OFD packet to send [11:09:36]OFD Sender: No OFD packet to send [11:09:41]OFD Sender: No OFD packet to send [11:09:46]OFD Sender: No OFD packet to send [11:09:51]OFD Sender: No OFD packet to send [11:09:56]OFD Sender: No OFD packet to send [11:10:01]OFD Sender: No OFD packet to send [11:10:06]OFD Sender: No OFD packet to send [11:10:11]OFD Sender: No OFD packet to send [11:10:16]OFD Sender: No OFD packet to send [11:10:21]OFD Sender: No OFD packet to send [11:10:26]OFD Sender: No OFD packet to send [11:10:31]OFD Sender: No OFD packet to send [11:10:36]OFD Sender: No OFD packet to send [11:10:41]OFD Sender: No OFD packet to send [11:10:46]OFD Sender: No OFD packet to send [11:10:51]OFD Sender: No OFD packet to send [11:10:56]OFD Sender: No OFD packet to send [11:11:01]OFD Sender: No OFD packet to send [11:11:06]OFD Sender: No OFD packet to send [11:11:11]OFD Sender: No OFD packet to send [11:11:16]OFD Sender: No OFD packet to send [11:11:21]OFD Sender: No OFD packet to send [11:11:26]OFD Sender: No OFD packet to send [11:11:31]OFD Sender: No OFD packet to send [11:11:36]OFD Sender: No OFD packet to send [11:11:41]OFD Sender: No OFD packet to send [11:11:46]OFD Sender: No OFD packet to send [11:11:51]OFD Sender: No OFD packet to send [11:11:56]OFD Sender: No OFD packet to send [11:12:01]OFD Sender: No OFD packet to send [11:12:06]OFD Sender: No OFD packet to send [11:12:11]OFD Sender: No OFD packet to send [11:12:16]OFD Sender: No OFD packet to send [11:12:21]OFD Sender: No OFD packet to send [11:12:26]OFD Sender: No OFD packet to send [11:12:31]OFD Sender: No OFD packet to send [11:12:36]OFD Sender: No OFD packet to send [11:12:41]OFD Sender: No OFD packet to send [11:12:46]OFD Sender: No OFD packet to send [11:12:51]OFD Sender: No OFD packet to send [11:12:56]OFD Sender: No OFD packet to send [11:13:01]OFD Sender: No OFD packet to send [11:13:06]OFD Sender: No OFD packet to send [11:13:11]OFD Sender: No OFD packet to send [11:13:16]OFD Sender: No OFD packet to send [11:13:21]OFD Sender: No OFD packet to send [11:13:26]OFD Sender: No OFD packet to send [11:13:31]OFD Sender: No OFD packet to send [11:13:32]accept exits with 7 [11:13:32]New connection [11:13:32]New thread 3066699108 created [11:13:32]Thread 3066555748 joined [11:13:32]Waiting for new connection... [11:13:32] Sock 7.Parse request [11:13:32]Sock 7.Check first char [11:13:32]Sock 7.First char is OK [11:13:32]request: POST /json_proto HTTP/1.0 [11:13:32]Method: POST [11:13:32]URL: /json_proto [11:13:32]Method is POST - this is cgi request [11:13:32]url: /json_proto [11:13:32]query_string will be loaded in cgi processing [11:13:32]execute_cgi json_proto POST (null) [11:13:32]execute_cgi path=json_proto method=POST [11:13:32]POST find Content-Length [11:13:32]Host: 172.17.53.68:8080 [11:13:32]Content-Length: 616 [11:13:32]Content-Type: application/json [11:13:32] [11:13:32]POST finish read [11:13:32]Found Content-Length = 616 [11:13:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76660", "tax_sys" : 0, "items" : [ { "code": "47803008", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Blue", "price" : 144.00, "quantity" : 4.000, "sum" : 576.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 576.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:13:32]execute_script... [11:13:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76660", "tax_sys" : 0, "items" : [ { "code": "47803008", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Blue", "price" : 144.00, "quantity" : 4.000, "sum" : 576.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 576.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:13:32]POST & json_proto [11:13:32]process_json_proto [11:13:32]json parsed OK: [11:13:32]protocol is kg_v1.0 [11:13:32]action value=close_receipt [11:13:32]process_action close_receipt [11:13:32]cmd_close_receipt [11:13:32]MH_GetDate [11:13:32]Write to MH i2c: F0 00 00 65 1C 70 [11:13:32]Write i2c OK [11:13:32]MH_I2C_Read... [11:13:32]Read from MH i2c: F0 [11:13:32]MH_I2C_Read... [11:13:32]Read from MH i2c: F0 09 00 [11:13:32]MH_I2C_Read... [11:13:32]Read from MH i2c: F0 09 00 65 1C 00 E3 E5 14 67 C5 A4 76 66 01 [11:13:32]GetLastDocTimeStamp 1729421188 [11:13:32]current date 1729422819 [11:13:32]FM_GetShiftState [11:13:32]SAM_PROTO_GetShiftState [11:13:32]wFMCommunicate request_size=4 [11:13:32]MH_SAM_APDU [11:13:32]CAPDU: 80 13 01 00 [11:13:32]Write to MH i2c: E2 08 00 66 1C 80 13 01 00 00 00 00 00 FF [11:13:32]Write i2c OK [11:13:32]MH_I2C_Read... [11:13:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:13:32]Read from MH i2c: E2 [11:13:32]MH_I2C_Read... [11:13:32]Read from MH i2c: E2 0E 00 [11:13:32]MH_I2C_Read... [11:13:32]Read from MH i2c: E2 0E 00 66 1C 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 54 [11:13:32]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [11:13:32]wFMCommunicate OK [11:13:32]SAM_PROTO_GetShiftState done [11:13:32]FM_GetShiftState done [11:13:32]opened in 1729383299 [11:13:32]opened+sec_in_day 1729469699 [11:13:32]quantity*price = 57600 [11:13:32]sum+1 = 57601 [11:13:32]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 576.00 ÐСП 1% : 5.10 ÐДС 12% : 61.17 Ðаличными: 576.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 29 20.10.2024 11:13 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37181 ФПД: 70107603061700 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T111339&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37181&fm=70107603061700&tin=02508201610067®Number=0000000000098149&sum=57600 0 [11:13:33]StoreToDocumentArchive [11:13:33]shift 461 fd 37181 [11:13:33]save to /storage/0461/doc_00037181 [11:13:33]save last doc name /storage/0461/doc_00037181 to /storage/kkm_last_doc_name [11:13:33]save OK [11:13:33]Clear old archive folders... [11:13:33]ProcessDocumentItem done err = 0, tmpTLVsize=269 [11:13:33]tlvbuf is 009D1370 [11:13:33]SAM_PROTO_ClearQueue [11:13:33]wFMCommunicate request_size=4 [11:13:33]MH_SAM_APDU [11:13:33]CAPDU: 80 09 00 00 [11:13:33]Write to MH i2c: E2 08 00 73 1C 80 09 00 00 00 00 00 00 01 [11:13:33]Write i2c OK [11:13:33]MH_I2C_Read... [11:13:33]Read from MH i2c: E2 [11:13:33]MH_I2C_Read... [11:13:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:13:33]Read from MH i2c: E2 03 00 [11:13:33]MH_I2C_Read... [11:13:33]Read from MH i2c: E2 03 00 73 1C 00 90 00 03 [11:13:33]RAPDU: 90 00 [11:13:33]wFMCommunicate OK [11:13:33]SAM_PROTO_ClearQueue done [11:13:33]KKMCreateOFDPacket [11:13:33]OFDProtocolAddRootSTLVToBuf [11:13:33]FM_MakeSignedData [11:13:33]FM_MakeSignedData [11:13:33]SAM_PROTO_SignData [11:13:33]wFMCommunicate request_size=4 [11:13:33]MH_SAM_APDU [11:13:33]CAPDU: 80 0D 01 02 [11:13:33]Write to MH i2c: E2 08 00 74 1C 80 0D 01 02 00 00 00 00 09 [11:13:33]Write i2c OK [11:13:33]MH_I2C_Read... [11:13:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:13:33]Read from MH i2c: E2 [11:13:33]MH_I2C_Read... [11:13:33]Read from MH i2c: E2 03 00 [11:13:33]MH_I2C_Read... [11:13:33]Read from MH i2c: E2 03 00 74 1C 00 90 00 04 [11:13:33]RAPDU: 90 00 [11:13:33]wFMCommunicate OK [11:13:33]wFMCommunicate request_size=255 [11:13:33]MH_SAM_APDU [11:13:33]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 08 00 34 37 38 30 33 30 30 38 06 04 20 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 20 42 6C 75 65 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 00 E1 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 E1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FE 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 17 00 00 00 00 07 04 06 00 00 E1 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 E3 E5 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 [11:13:33]Write to MH i2c: E2 02 01 75 1C 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 08 00 34 37 38 30 33 30 30 38 06 04 20 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 20 42 6C 75 65 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 00 E1 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 E1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FE 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 17 00 00 00 00 07 04 06 00 00 E1 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 E3 E5 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 00 00 1B [11:13:33]Write i2c OK [11:13:33]MH_I2C_Read... [11:13:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:13:34]Read from MH i2c: E2 [11:13:34]MH_I2C_Read... [11:13:34]Read from MH i2c: E2 03 00 [11:13:34]MH_I2C_Read... [11:13:34]Read from MH i2c: E2 03 00 75 1C 00 90 00 05 [11:13:34]RAPDU: 90 00 [11:13:34]wFMCommunicate OK [11:13:34]wFMCommunicate request_size=28 [11:13:34]MH_SAM_APDU [11:13:34]CAPDU: 80 0D 02 02 17 36 35 33 37 32 10 04 04 00 3D 91 00 00 35 04 06 00 3F C3 32 C6 CB C4 [11:13:34]Write to MH i2c: E2 1F 00 76 1C 80 0D 02 02 17 00 36 35 33 37 32 10 04 04 00 3D 91 00 00 35 04 06 00 3F C3 32 C6 CB C4 00 00 EF [11:13:34]Write i2c OK [11:13:34]MH_I2C_Read... [11:13:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:13:34]Read from MH i2c: E2 [11:13:34]MH_I2C_Read... [11:13:34]Read from MH i2c: E2 03 00 [11:13:34]MH_I2C_Read... [11:13:34]Read from MH i2c: E2 03 00 76 1C 00 90 00 06 [11:13:34]RAPDU: 90 00 [11:13:34]wFMCommunicate OK [11:13:34]wFMCommunicate request_size=4 [11:13:34]MH_SAM_APDU [11:13:34]CAPDU: 80 0D 03 02 [11:13:34]Write to MH i2c: E2 08 00 77 1C 80 0D 03 02 00 00 00 00 0E [11:13:34]Write i2c OK [11:13:34]MH_I2C_Read... [11:13:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:13:34]Read from MH i2c: E2 [11:13:34]MH_I2C_Read... [11:13:34]Read from MH i2c: E2 0B 00 [11:13:34]MH_I2C_Read... [11:13:34]Read from MH i2c: E2 0B 00 77 1C 00 5E B8 D8 EB C8 9B D1 02 90 00 1E [11:13:34]RAPDU: 5E B8 D8 EB C8 9B D1 02 90 00 [11:13:34]wFMCommunicate OK [11:13:34]SAM_PROTO_SignData done [11:13:34]FM_MakeSignedData done [11:13:34]CreateOFDProtocolMessage [11:13:34]wFMCommunicate request_size=4 [11:13:34]MH_SAM_APDU [11:13:34]CAPDU: 80 11 00 00 [11:13:34]Write to MH i2c: E2 08 00 78 1C 80 11 00 00 00 00 00 00 0E [11:13:34]Write i2c OK [11:13:34]MH_I2C_Read... [11:13:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:13:34]Read from MH i2c: E2 [11:13:34]MH_I2C_Read... [11:13:34]Read from MH i2c: E2 17 00 [11:13:34]MH_I2C_Read... [11:13:34]Read from MH i2c: E2 17 00 78 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 61 [11:13:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [11:13:34]wFMCommunicate OK [11:13:34]CreateOFDProtocolMessage done [11:13:34]OFDSenderStorePacket 37181 [11:13:34]StoreOFDPacket docnum=37181 [11:13:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 21 01 00 00 DB 09 19 01 D1 D3 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 08 00 34 37 38 30 33 30 30 38 06 04 20 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 20 42 6C 75 65 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 00 E1 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 E1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FE 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 17 00 00 00 00 07 04 06 00 00 E1 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 E3 E5 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 3D 91 00 00 35 04 06 00 3F C3 32 C6 CB C4 5E B8 D8 EB C8 9B D1 02 [11:13:34]CheckFolder [11:13:34]dirname=/storage/ofd_packets [11:13:34]CheckFolder done [11:13:34]ProducePacketName [11:13:34]name=ofd_packets/00037181 [11:13:34]NVStorageSaveData ofd_packets/00037181 [11:13:34]File name is /storage/ofd_packets/00037181 [11:13:34]Write 319 bytes [11:13:34]NVStorageSaveData done [11:13:34]OFDSenderStorePacket done [11:13:34]KKMCreateOFDPacket done [11:13:34]NVStorageSaveData kkm_last_timestamp [11:13:34]File name is /storage/kkm_last_timestamp [11:13:34]Write 4 bytes [11:13:34]NVStorageSaveData done [11:13:34]ExternCall_PrintAddStr [11:13:34]wPrintStart [11:13:34]Write to MH i2c: 01 00 00 79 1C 95 [11:13:34]Write i2c OK [11:13:34]MH_I2C_Read... [11:13:34]Read from MH i2c: 01 [11:13:34]MH_I2C_Read... [11:13:34]Read from MH i2c: 01 07 00 [11:13:34]MH_I2C_Read... [11:13:34]Read from MH i2c: 01 07 00 79 1C 00 00 00 00 00 FF 0F AA [11:13:34]RasterBufferAndPrint [11:13:34]line Счет N : (3)76660 [11:13:34]line ИÐÐ: 02508201610067 [11:13:34]line Контрольно-КаÑÑовый Чек [11:13:34]line ПРОДÐЖР[11:13:34]line Товар: 47803008 [11:13:34]line Сигареты Winston XS Blue [11:13:34]line 4.000 * 144.00 [11:13:34]line = 576.00 [11:13:34]line ÐДС 12% ÐСП 1% [11:13:34]line > о реализуемом товаре [11:13:34]line ИТОГО: 576.00 [11:13:34]line ÐСП 1% : 5.10 [11:13:34]line ÐДС 12% : 61.17 [11:13:34]line Ðаличными: 576.00 [11:13:34]line Безнал.: 0.00 [11:13:34]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [11:13:34]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [11:13:34]line СÐО: Общий режим [11:13:34]line Чек 29 20.10.2024 11:13 [11:13:34]line Смена: 461 ФФД: 1.0 [11:13:34]line ЗÐМ: 0300000235 [11:13:34]line РÐМ: 0000000000098149 [11:13:34]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [11:13:34]line ФМ: 0000000000965372 [11:13:34]line ФД: 37181 [11:13:34]line ФПД: 70107603061700 [11:13:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T111339&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37181&fm=70107603061700&tin=02508201610067®Number=0000000000098149&sum=57600 [11:13:34]line 0 [11:13:34]OFD Sender: Processing packet 37181 [packets to send 25, broken 24] [11:13:34]ProducePacketName [11:13:34]name=ofd_packets/00037181 [11:13:34]OFD Sender: To server: ‡•öpG, [11:13:34]CommunicateWithHost lk.salyk.kg:30040 [11:13:34]ConnectInit lk.salyk.kg [11:13:34]written 0, free lines is 4095 [11:13:34]Connected sock=10 [11:13:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 21 01 00 00 DB 09 19 01 D1 D3 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 08 00 34 37 38 30 33 30 30 38 06 04 20 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 20 42 6C 75 65 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 00 E1 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 E1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FE 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 17 00 00 00 00 07 04 06 00 00 E1 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 E3 E5 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 3D 91 00 00 35 04 06 00 3F C3 32 C6 CB C4 5E B8 D8 EB C8 9B D1 02 [11:13:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 AE 07 47 00 B9 DF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 3D 91 00 00 F4 03 04 00 76 8E 14 67 B6 04 01 00 00 E7 8A 6E 78 4A A9 F0 19 [11:13:34]CommunicateWithHost err = 0 [11:13:34]CheckOFDResponse [11:13:34]1017 (14) - 77093643461234 [11:13:34]1041 (16) - 0000000000965372 [11:13:34]1040 (4) - 37181 [11:13:34]1012 (4) - 20.10.2024 05:00 [11:13:34]1206 (1) - 0 [11:13:34]OFD Sender: Remove packet 37181 [11:13:34]ProducePacketName [11:13:34]name=ofd_packets/00037181 [11:13:34]NVStorageDeleteData [11:13:35]Write to MH i2c: 01 00 00 A1 1C BD [11:13:35]Write i2c OK [11:13:35]MH_I2C_Read... [11:13:35]Read from MH i2c: 01 [11:13:35]MH_I2C_Read... [11:13:35]Read from MH i2c: 01 07 00 [11:13:35]MH_I2C_Read... [11:13:35]Read from MH i2c: 01 07 00 A1 1C 00 00 00 00 00 F6 0C C6 [11:13:35]RasterBufferAndPrint [11:13:35]line [11:13:35]line [11:13:35]line [11:13:35]line [11:13:35]line [11:13:35]written 0, free lines is 3326 [11:13:35]process_action close_receipt done [11:13:35]requested_data is exist [11:13:35]produce_requested_data [11:13:35]requested_item fm.sn is exist - process it [11:13:35]wFMCommunicate request_size=4 [11:13:35]MH_SAM_APDU [11:13:35]CAPDU: 80 11 00 00 [11:13:35]Write to MH i2c: E2 08 00 A8 1C 80 11 00 00 00 00 00 00 3E [11:13:35]Write i2c OK [11:13:35]MH_I2C_Read... [11:13:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:13:35]Read from MH i2c: E2 [11:13:35]MH_I2C_Read... [11:13:35]Read from MH i2c: E2 17 00 [11:13:35]MH_I2C_Read... [11:13:35]Read from MH i2c: E2 17 00 A8 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 91 [11:13:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [11:13:35]wFMCommunicate OK [11:13:35]requested_item fd.num is exist - process it [11:13:35]SAM_PROTO_GetFieldsCounters [11:13:35]wFMCommunicate request_size=4 [11:13:35]MH_SAM_APDU [11:13:35]CAPDU: 80 13 00 00 [11:13:35]Write to MH i2c: E2 08 00 A9 1C 80 13 00 00 00 00 00 00 41 [11:13:35]Write i2c OK [11:13:35]MH_I2C_Read... [11:13:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:13:35]Read from MH i2c: E2 [11:13:35]MH_I2C_Read... [11:13:35]Read from MH i2c: E2 62 00 [11:13:35]MH_I2C_Read... [11:13:35]Read from MH i2c: E2 62 00 A9 1C 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 3D 91 00 00 0E 04 04 00 CD 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 5B [11:13: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 3D 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:13:35]wFMCommunicate OK [11:13:35]SAM_PROTO_GetFieldsCounters done [11:13:35]requested_item shift.num is exist - process it [11:13:35]requested_item shift.opened is exist - process it [11:13:35]req_shift_opened [11:13:35]FM_GetShiftState [11:13:35]SAM_PROTO_GetShiftState [11:13:35]wFMCommunicate request_size=4 [11:13:35]MH_SAM_APDU [11:13:35]CAPDU: 80 13 01 00 [11:13:35]Write to MH i2c: E2 08 00 AA 1C 80 13 01 00 00 00 00 00 43 [11:13:35]Write i2c OK [11:13:35]MH_I2C_Read... [11:13:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:13:35]Read from MH i2c: E2 [11:13:35]MH_I2C_Read... [11:13:35]Read from MH i2c: E2 0E 00 [11:13:35]MH_I2C_Read... [11:13:35]Read from MH i2c: E2 0E 00 AA 1C 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 98 [11:13:35]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [11:13:35]wFMCommunicate OK [11:13:35]SAM_PROTO_GetShiftState done [11:13:35]FM_GetShiftState done [11:13:35]req_shift_opened done [11:13:35]requested_item shift.open_date is exist - process it [11:13:35]req_shift_open_date [11:13:35]req_shift_open_date done [11:13:35]produce_requested_data done [11:13:35]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37181,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [11:13:35]process_action_free close_receipt [11:13:35]json_value_free [11:13:35]json_value_free done [11:13:35]process_json_proto returns [11:13:35]Send response to host [11:13:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37181,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [11:13:35]free response buf [11:13:35]execute_script done [11:13:35]execute_script returns [11:13:35]free content buf [11:13:35]Sock 7.Close socket [11:13:35]Sock 7.Thread stoped [11:13:35]OFD Sender: No OFD packet to send [11:13:40]OFD Sender: No OFD packet to send [11:13:45]OFD Sender: No OFD packet to send [11:13:50]OFD Sender: No OFD packet to send [11:13:55]OFD Sender: No OFD packet to send [11:14:00]OFD Sender: No OFD packet to send [11:14:05]OFD Sender: No OFD packet to send [11:14:10]OFD Sender: No OFD packet to send [11:14:15]OFD Sender: No OFD packet to send [11:14:20]OFD Sender: No OFD packet to send [11:14:25]OFD Sender: No OFD packet to send [11:14:30]OFD Sender: No OFD packet to send [11:14:35]OFD Sender: No OFD packet to send [11:14:40]OFD Sender: No OFD packet to send [11:14:45]OFD Sender: No OFD packet to send [11:14:50]OFD Sender: No OFD packet to send [11:14:55]OFD Sender: No OFD packet to send [11:15:00]OFD Sender: No OFD packet to send [11:15:05]OFD Sender: No OFD packet to send [11:15:10]OFD Sender: No OFD packet to send [11:15:15]OFD Sender: No OFD packet to send [11:15:20]OFD Sender: No OFD packet to send [11:15:25]OFD Sender: No OFD packet to send [11:15:30]OFD Sender: No OFD packet to send [11:15:35]OFD Sender: No OFD packet to send [11:15:40]OFD Sender: No OFD packet to send [11:15:45]OFD Sender: No OFD packet to send [11:15:50]OFD Sender: No OFD packet to send [11:15:55]OFD Sender: No OFD packet to send [11:16:00]OFD Sender: No OFD packet to send [11:16:05]OFD Sender: No OFD packet to send [11:16:10]OFD Sender: No OFD packet to send [11:16:15]OFD Sender: No OFD packet to send [11:16:20]OFD Sender: No OFD packet to send [11:16:25]OFD Sender: No OFD packet to send [11:16:30]OFD Sender: No OFD packet to send [11:16:35]OFD Sender: No OFD packet to send [11:16:40]OFD Sender: No OFD packet to send [11:16:45]OFD Sender: No OFD packet to send [11:16:50]OFD Sender: No OFD packet to send [11:16:55]OFD Sender: No OFD packet to send [11:17:00]OFD Sender: No OFD packet to send [11:17:05]OFD Sender: No OFD packet to send [11:17:10]OFD Sender: No OFD packet to send [11:17:15]OFD Sender: No OFD packet to send [11:17:20]OFD Sender: No OFD packet to send [11:17:25]OFD Sender: No OFD packet to send [11:17:30]OFD Sender: No OFD packet to send [11:17:35]OFD Sender: No OFD packet to send [11:17:40]OFD Sender: No OFD packet to send [11:17:45]OFD Sender: No OFD packet to send [11:17:50]OFD Sender: No OFD packet to send [11:17:55]OFD Sender: No OFD packet to send [11:18:00]OFD Sender: No OFD packet to send [11:18:05]OFD Sender: No OFD packet to send [11:18:10]OFD Sender: No OFD packet to send [11:18:15]OFD Sender: No OFD packet to send [11:18:20]OFD Sender: No OFD packet to send [11:18:25]OFD Sender: No OFD packet to send [11:18:30]OFD Sender: No OFD packet to send [11:18:35]OFD Sender: No OFD packet to send [11:18:40]OFD Sender: No OFD packet to send [11:18:45]OFD Sender: No OFD packet to send [11:18:50]OFD Sender: No OFD packet to send [11:18:55]OFD Sender: No OFD packet to send [11:19:00]OFD Sender: No OFD packet to send [11:19:05]OFD Sender: No OFD packet to send [11:19:10]OFD Sender: No OFD packet to send [11:19:15]OFD Sender: No OFD packet to send [11:19:20]OFD Sender: No OFD packet to send [11:19:25]OFD Sender: No OFD packet to send [11:19:30]OFD Sender: No OFD packet to send [11:19:35]OFD Sender: No OFD packet to send [11:19:40]OFD Sender: No OFD packet to send [11:19:45]OFD Sender: No OFD packet to send [11:19:50]OFD Sender: No OFD packet to send [11:19:55]OFD Sender: No OFD packet to send [11:20:00]OFD Sender: No OFD packet to send [11:20:05]OFD Sender: No OFD packet to send [11:20:10]OFD Sender: No OFD packet to send [11:20:15]OFD Sender: No OFD packet to send [11:20:20]OFD Sender: No OFD packet to send [11:20:25]OFD Sender: No OFD packet to send [11:20:30]OFD Sender: No OFD packet to send [11:20:35]OFD Sender: No OFD packet to send [11:20:40]OFD Sender: No OFD packet to send [11:20:45]OFD Sender: No OFD packet to send [11:20:50]OFD Sender: No OFD packet to send [11:20:55]OFD Sender: No OFD packet to send [11:21:00]OFD Sender: No OFD packet to send [11:21:05]OFD Sender: No OFD packet to send [11:21:10]OFD Sender: No OFD packet to send [11:21:15]OFD Sender: No OFD packet to send [11:21:20]OFD Sender: No OFD packet to send [11:21:25]OFD Sender: No OFD packet to send [11:21:30]OFD Sender: No OFD packet to send [11:21:35]OFD Sender: No OFD packet to send [11:21:40]OFD Sender: No OFD packet to send [11:21:45]OFD Sender: No OFD packet to send [11:21:50]OFD Sender: No OFD packet to send [11:21:55]OFD Sender: No OFD packet to send [11:22:00]OFD Sender: No OFD packet to send [11:22:05]OFD Sender: No OFD packet to send [11:22:10]OFD Sender: No OFD packet to send [11:22:15]OFD Sender: No OFD packet to send [11:22:20]OFD Sender: No OFD packet to send [11:22:25]OFD Sender: No OFD packet to send [11:22:30]OFD Sender: No OFD packet to send [11:22:35]OFD Sender: No OFD packet to send [11:22:40]OFD Sender: No OFD packet to send [11:22:45]OFD Sender: No OFD packet to send [11:22: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:36]OFD Sender: No OFD packet to send [11:25:41]OFD Sender: No OFD packet to send [11:25:46]OFD Sender: No OFD packet to send [11:25:51]OFD Sender: No OFD packet to send [11:25:56]OFD Sender: No OFD packet to send [11:26:01]OFD Sender: No OFD packet to send [11:26:06]OFD Sender: No OFD packet to send [11:26:11]OFD Sender: No OFD packet to send [11:26:16]OFD Sender: No OFD packet to send [11:26:21]OFD Sender: No OFD packet to send [11:26:26]OFD Sender: No OFD packet to send [11:26:31]OFD Sender: No OFD packet to send [11:26:36]OFD Sender: No OFD packet to send [11:26:41]OFD Sender: No OFD packet to send [11:26:46]OFD Sender: No OFD packet to send [11:26:51]OFD Sender: No OFD packet to send [11:26:56]OFD Sender: No OFD packet to send [11:27:01]OFD Sender: No OFD packet to send [11:27:06]OFD Sender: No OFD packet to send [11:27:11]OFD Sender: No OFD packet to send [11:27:16]OFD Sender: No OFD packet to send [11:27:21]OFD Sender: No OFD packet to send [11:27:26]OFD Sender: No OFD packet to send [11:27:31]OFD Sender: No OFD packet to send [11:27:36]OFD Sender: No OFD packet to send [11:27:41]OFD Sender: No OFD packet to send [11:27:46]OFD Sender: No OFD packet to send [11:27:51]OFD Sender: No OFD packet to send [11:27:56]OFD Sender: No OFD packet to send [11:28:01]OFD Sender: No OFD packet to send [11:28:06]OFD Sender: No OFD packet to send [11:28:11]OFD Sender: No OFD packet to send [11:28:16]OFD Sender: No OFD packet to send [11:28:21]OFD Sender: No OFD packet to send [11:28:26]OFD Sender: No OFD packet to send [11:28:31]OFD Sender: No OFD packet to send [11:28:36]OFD Sender: No OFD packet to send [11:28:41]OFD Sender: No OFD packet to send [11:28:46]OFD Sender: No OFD packet to send [11:28:51]OFD Sender: No OFD packet to send [11:28:56]OFD Sender: No OFD packet to send [11:29:01]OFD Sender: No OFD packet to send [11:29:06]OFD Sender: No OFD packet to send [11:29:11]OFD Sender: No OFD packet to send [11:29:16]OFD Sender: No OFD packet to send [11:29:21]OFD Sender: No OFD packet to send [11:29:26]OFD Sender: No OFD packet to send [11:29:31]OFD Sender: No OFD packet to send [11:29:36]OFD Sender: No OFD packet to send [11:29:41]OFD Sender: No OFD packet to send [11:29:46]OFD Sender: No OFD packet to send [11:29:51]OFD Sender: No OFD packet to send [11:29:56]OFD Sender: No OFD packet to send [11:30:01]OFD Sender: No OFD packet to send [11:30:06]OFD Sender: No OFD packet to send [11:30:11]OFD Sender: No OFD packet to send [11:30:16]OFD Sender: No OFD packet to send [11:30:21]OFD Sender: No OFD packet to send [11:30:26]OFD Sender: No OFD packet to send [11:30:31]OFD Sender: No OFD packet to send [11:30:36]OFD Sender: No OFD packet to send [11:30:41]OFD Sender: No OFD packet to send [11:30:46]OFD Sender: No OFD packet to send [11:30:51]OFD Sender: No OFD packet to send [11:30:56]OFD Sender: No OFD packet to send [11:31:01]OFD Sender: No OFD packet to send [11:31:06]OFD Sender: No OFD packet to send [11:31:11]OFD Sender: No OFD packet to send [11:31:16]OFD Sender: No OFD packet to send [11:31:21]OFD Sender: No OFD packet to send [11:31:26]OFD Sender: No OFD packet to send [11:31:31]OFD Sender: No OFD packet to send [11:31:36]OFD Sender: No OFD packet to send [11:31:41]OFD Sender: No OFD packet to send [11:31:46]OFD Sender: No OFD packet to send [11:31:51]OFD Sender: No OFD packet to send [11:31:56]OFD Sender: No OFD packet to send [11:32:01]OFD Sender: No OFD packet to send [11:32:06]OFD Sender: No OFD packet to send [11:32:11]OFD Sender: No OFD packet to send [11:32:16]OFD Sender: No OFD packet to send [11:32:21]OFD Sender: No OFD packet to send [11:32:26]OFD Sender: No OFD packet to send [11:32:31]OFD Sender: No OFD packet to send [11:32:36]OFD Sender: No OFD packet to send [11:32:41]OFD Sender: No OFD packet to send [11:32:46]OFD Sender: No OFD packet to send [11:32:51]OFD Sender: No OFD packet to send [11:32:56]OFD Sender: No OFD packet to send [11:33:01]OFD Sender: No OFD packet to send [11:33:06]OFD Sender: No OFD packet to send [11:33:11]OFD Sender: No OFD packet to send [11:33:16]OFD Sender: No OFD packet to send [11:33:21]OFD Sender: No OFD packet to send [11:33:26]OFD Sender: No OFD packet to send [11:33:31]OFD Sender: No OFD packet to send [11:33:36]OFD Sender: No OFD packet to send [11:33:41]OFD Sender: No OFD packet to send [11:33:46]OFD Sender: No OFD packet to send [11:33:51]OFD Sender: No OFD packet to send [11:33:56]OFD Sender: No OFD packet to send [11:34:01]OFD Sender: No OFD packet to send [11:34:06]OFD Sender: No OFD packet to send [11:34:11]OFD Sender: No OFD packet to send [11:34:16]OFD Sender: No OFD packet to send [11:34:21]OFD Sender: No OFD packet to send [11:34:26]OFD Sender: No OFD packet to send [11:34:31]OFD Sender: No OFD packet to send [11:34:36]OFD Sender: No OFD packet to send [11:34:41]OFD Sender: No OFD packet to send [11:34:46]OFD Sender: No OFD packet to send [11:34:51]OFD Sender: No OFD packet to send [11:34:56]OFD Sender: No OFD packet to send [11:35:01]OFD Sender: No OFD packet to send [11:35:06]OFD Sender: No OFD packet to send [11:35:11]OFD Sender: No OFD packet to send [11:35:16]OFD Sender: No OFD packet to send [11:35:21]OFD Sender: No OFD packet to send [11:35:26]OFD Sender: No OFD packet to send [11:35:31]OFD Sender: No OFD packet to send [11:35:36]OFD Sender: No OFD packet to send [11:35:41]OFD Sender: No OFD packet to send [11:35:46]OFD Sender: No OFD packet to send [11:35:51]OFD Sender: No OFD packet to send [11:35:56]OFD Sender: No OFD packet to send [11:36:01]OFD Sender: No OFD packet to send [11:36:06]OFD Sender: No OFD packet to send [11:36:11]OFD Sender: No OFD packet to send [11:36:16]OFD Sender: No OFD packet to send [11:36:21]OFD Sender: No OFD packet to send [11:36:26]OFD Sender: No OFD packet to send [11:36:31]OFD Sender: No OFD packet to send [11:36:36]OFD Sender: No OFD packet to send [11:36:41]OFD Sender: No OFD packet to send [11:36:46]OFD Sender: No OFD packet to send [11:36:51]OFD Sender: No OFD packet to send [11:36:56]OFD Sender: No OFD packet to send [11:37:01]OFD Sender: No OFD packet to send [11:37:06]OFD Sender: No OFD packet to send [11:37:11]OFD Sender: No OFD packet to send [11:37:16]OFD Sender: No OFD packet to send [11:37:21]OFD Sender: No OFD packet to send [11:37:26]OFD Sender: No OFD packet to send [11:37:31]OFD Sender: No OFD packet to send [11:37:36]OFD Sender: No OFD packet to send [11:37:41]OFD Sender: No OFD packet to send [11:37:46]OFD Sender: No OFD packet to send [11:37:51]OFD Sender: No OFD packet to send [11:37:56]OFD Sender: No OFD packet to send [11:38:01]OFD Sender: No OFD packet to send [11:38:06]OFD Sender: No OFD packet to send [11:38:11]OFD Sender: No OFD packet to send [11:38:16]OFD Sender: No OFD packet to send [11:38:21]OFD Sender: No OFD packet to send [11:38:26]OFD Sender: No OFD packet to send [11:38:31]OFD Sender: No OFD packet to send [11:38:36]OFD Sender: No OFD packet to send [11:38:41]OFD Sender: No OFD packet to send [11:38:46]OFD Sender: No OFD packet to send [11:38:51]OFD Sender: No OFD packet to send [11:38:56]OFD Sender: No OFD packet to send [11:39:01]OFD Sender: No OFD packet to send [11:39:06]OFD Sender: No OFD packet to send [11:39:11]OFD Sender: No OFD packet to send [11:39:16]OFD Sender: No OFD packet to send [11:39:21]OFD Sender: No OFD packet to send [11:39:26]OFD Sender: No OFD packet to send [11:39:31]OFD Sender: No OFD packet to send [11:39:36]OFD Sender: No OFD packet to send [11:39:41]OFD Sender: No OFD packet to send [11:39:46]OFD Sender: No OFD packet to send [11:39:51]OFD Sender: No OFD packet to send [11:39:56]OFD Sender: No OFD packet to send [11:40:01]OFD Sender: No OFD packet to send [11:40:06]OFD Sender: No OFD packet to send [11:40:11]OFD Sender: No OFD packet to send [11:40:16]OFD Sender: No OFD packet to send [11:40:21]OFD Sender: No OFD packet to send [11:40:26]OFD Sender: No OFD packet to send [11:40:31]OFD Sender: No OFD packet to send [11:40:36]OFD Sender: No OFD packet to send [11:40:41]OFD Sender: No OFD packet to send [11:40:46]OFD Sender: No OFD packet to send [11:40:51]OFD Sender: No OFD packet to send [11:40:56]OFD Sender: No OFD packet to send [11:41:01]OFD Sender: No OFD packet to send [11:41:06]OFD Sender: No OFD packet to send [11:41:11]OFD Sender: No OFD packet to send [11:41:16]OFD Sender: No OFD packet to send [11:41:21]OFD Sender: No OFD packet to send [11:41:26]OFD Sender: No OFD packet to send [11:41:31]OFD Sender: No OFD packet to send [11:41:36]OFD Sender: No OFD packet to send [11:41:41]OFD Sender: No OFD packet to send [11:41:46]OFD Sender: No OFD packet to send [11:41:51]OFD Sender: No OFD packet to send [11:41:56]OFD Sender: No OFD packet to send [11:42:01]OFD Sender: No OFD packet to send [11:42:06]OFD Sender: No OFD packet to send [11:42:11]OFD Sender: No OFD packet to send [11:42:16]OFD Sender: No OFD packet to send [11:42:21]OFD Sender: No OFD packet to send [11:42:26]OFD Sender: No OFD packet to send [11:42:31]OFD Sender: No OFD packet to send [11:42:36]OFD Sender: No OFD packet to send [11:42:41]OFD Sender: No OFD packet to send [11:42:46]OFD Sender: No OFD packet to send [11:42:51]OFD Sender: No OFD packet to send [11:42:56]OFD Sender: No OFD packet to send [11:43:01]OFD Sender: No OFD packet to send [11:43:06]OFD Sender: No OFD packet to send [11:43:11]OFD Sender: No OFD packet to send [11:43:16]OFD Sender: No OFD packet to send [11:43:21]OFD Sender: No OFD packet to send [11:43:26]OFD Sender: No OFD packet to send [11:43:31]OFD Sender: No OFD packet to send [11:43:36]OFD Sender: No OFD packet to send [11:43:41]OFD Sender: No OFD packet to send [11:43:46]OFD Sender: No OFD packet to send [11:43:51]OFD Sender: No OFD packet to send [11:43:55]accept exits with 9 [11:43:55]New connection [11:43:55]New thread 3066555748 created [11:43:55]Thread 3066699108 joined [11:43:55]Waiting for new connection... [11:43:55] Sock 9.Parse request [11:43:55]Sock 9.Check first char [11:43:55]Sock 9.First char is OK [11:43:55]request: POST /json_proto HTTP/1.0 [11:43:55]Method: POST [11:43:55]URL: /json_proto [11:43:55]Method is POST - this is cgi request [11:43:55]url: /json_proto [11:43:55]query_string will be loaded in cgi processing [11:43:55]execute_cgi json_proto POST (null) [11:43:55]execute_cgi path=json_proto method=POST [11:43:55]POST find Content-Length [11:43:55]Host: 172.17.53.68:8080 [11:43:55]Content-Length: 1227 [11:43:55]Content-Type: application/json [11:43:55] [11:43:55]POST finish read [11:43:55]Found Content-Length = 1227 [11:43:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76661", "tax_sys" : 0, "items" : [ { "code": "4870209744564", "name": "\u0421\u0443\u0445\u0430\u0440\u0438\u043A\u0438 \u0424\u043B\u0438\u043D\u0442 \u0428\u0430\u0448\u043B\u044B\u043A 100 \u0433\u0440", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870209744595", "name": "\u0421\u0443\u0445\u0430\u0440\u0438\u043A\u0438 \u0424\u043B\u0438\u043D\u0442 \u041A\u0440\u0430\u0431 100 \u0433\u0440", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 169.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:43:55]execute_script... [11:43:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76661", "tax_sys" : 0, "items" : [ { "code": "4870209744564", "name": "\u0421\u0443\u0445\u0430\u0440\u0438\u043A\u0438 \u0424\u043B\u0438\u043D\u0442 \u0428\u0430\u0448\u043B\u044B\u043A 100 \u0433\u0440", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870209744595", "name": "\u0421\u0443\u0445\u0430\u0440\u0438\u043A\u0438 \u0424\u043B\u0438\u043D\u0442 \u041A\u0440\u0430\u0431 100 \u0433\u0440", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 169.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:43:55]POST & json_proto [11:43:55]process_json_proto [11:43:55]json parsed OK: [11:43:55]protocol is kg_v1.0 [11:43:55]action value=close_receipt [11:43:55]process_action close_receipt [11:43:55]cmd_close_receipt [11:43:55]MH_GetDate [11:43:55]Write to MH i2c: F0 00 00 AB 1C B6 [11:43:55]Write i2c OK [11:43:55]MH_I2C_Read... [11:43:55]Read from MH i2c: F0 [11:43:55]MH_I2C_Read... [11:43:55]Read from MH i2c: F0 09 00 [11:43:55]MH_I2C_Read... [11:43:55]Read from MH i2c: F0 09 00 AB 1C 00 03 ED 14 67 C5 A4 76 66 6F [11:43:55]GetLastDocTimeStamp 1729422819 [11:43:55]current date 1729424643 [11:43:55]FM_GetShiftState [11:43:55]SAM_PROTO_GetShiftState [11:43:55]wFMCommunicate request_size=4 [11:43:55]MH_SAM_APDU [11:43:55]CAPDU: 80 13 01 00 [11:43:55]Write to MH i2c: E2 08 00 AC 1C 80 13 01 00 00 00 00 00 45 [11:43:55]Write i2c OK [11:43:55]MH_I2C_Read... [11:43:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:43:55]Read from MH i2c: E2 [11:43:55]MH_I2C_Read... [11:43:55]Read from MH i2c: E2 0E 00 [11:43:55]MH_I2C_Read... [11:43:55]Read from MH i2c: E2 0E 00 AC 1C 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 9A [11:43:55]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [11:43:55]wFMCommunicate OK [11:43:55]SAM_PROTO_GetShiftState done [11:43:55]FM_GetShiftState done [11:43:55]opened in 1729383299 [11:43:55]opened+sec_in_day 1729469699 [11:43:55]quantity*price = 6000 [11:43:55]sum+1 = 6001 [11:43:55]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870209744595 Сухарики Флинт Краб 100 гр 1.000 * 60.00 = 60.00 ÐДС 12% ÐСП 1% > о реализуемом товаре Товар: 80942726 Р/ж mentos мÑта ролл 16г 1.000 * 49.00 = 49.00 ÐДС 12% ÐСП 1% > о реализуемом товаре ИТОГО: 169.00 ÐСП 1% : 1.49 ÐДС 12% : 17.94 Ðаличными: 169.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 30 20.10.2024 11:44 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37182 ФПД: 98634669294086 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T114403&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37182&fm=98634669294086&tin=02508201610067®Number=0000000000098149&sum=16900 0 [11:43:57]StoreToDocumentArchive [11:43:57]shift 461 fd 37182 [11:43:57]save to /storage/0461/doc_00037182 [11:43:57]save last doc name /storage/0461/doc_00037182 to /storage/kkm_last_doc_name [11:43:57]save OK [11:43:57]Clear old archive folders... [11:43:57]ProcessDocumentItem done err = 0, tmpTLVsize=510 [11:43:57]tlvbuf is 00A1E730 [11:43:57]SAM_PROTO_ClearQueue [11:43:57]wFMCommunicate request_size=4 [11:43:57]MH_SAM_APDU [11:43:57]CAPDU: 80 09 00 00 [11:43:57]Write to MH i2c: E2 08 00 B9 1C 80 09 00 00 00 00 00 00 47 [11:43:57]Write i2c OK [11:43:57]MH_I2C_Read... [11:43:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:43:57]Read from MH i2c: E2 [11:43:57]MH_I2C_Read... [11:43:57]Read from MH i2c: E2 03 00 [11:43:57]MH_I2C_Read... [11:43:57]Read from MH i2c: E2 03 00 B9 1C 00 90 00 49 [11:43:57]RAPDU: 90 00 [11:43:57]wFMCommunicate OK [11:43:57]SAM_PROTO_ClearQueue done [11:43:57]KKMCreateOFDPacket [11:43:57]OFDProtocolAddRootSTLVToBuf [11:43:57]FM_MakeSignedData [11:43:57]FM_MakeSignedData [11:43:57]SAM_PROTO_SignData [11:43:57]wFMCommunicate request_size=4 [11:43:57]MH_SAM_APDU [11:43:57]CAPDU: 80 0D 01 02 [11:43:57]Write to MH i2c: E2 08 00 BA 1C 80 0D 01 02 00 00 00 00 4F [11:43:57]Write i2c OK [11:43:57]MH_I2C_Read... [11:43:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:43:57]Read from MH i2c: E2 [11:43:57]MH_I2C_Read... [11:43:57]Read from MH i2c: E2 03 00 [11:43:57]MH_I2C_Read... [11:43:57]Read from MH i2c: E2 03 00 BA 1C 00 90 00 4A [11:43:57]RAPDU: 90 00 [11:43:57]wFMCommunicate OK [11:43:57]wFMCommunicate request_size=255 [11:43:57]MH_SAM_APDU [11:43:57]CAPDU: 80 0D 02 02 FA 03 00 FE 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 35 36 34 06 04 31 00 D0 A1 D1 83 D1 85 D0 B0 D1 80 D0 B8 D0 BA D0 B8 20 D0 A4 D0 BB D0 B8 D0 BD D1 82 20 D0 A8 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 31 30 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 35 39 35 06 04 2D 00 D0 A1 D1 83 D1 85 D0 B0 D1 80 D0 B8 D0 BA D0 B8 20 D0 A4 D0 BB D0 B8 D0 BD D1 82 20 D0 9A D1 80 D0 B0 D0 B1 20 31 30 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 [11:43:57]Write to MH i2c: E2 02 01 BB 1C 80 0D 02 02 FA 00 03 00 FE 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 35 36 34 06 04 31 00 D0 A1 D1 83 D1 85 D0 B0 D1 80 D0 B8 D0 BA D0 B8 20 D0 A4 D0 BB D0 B8 D0 BD D1 82 20 D0 A8 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 31 30 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 35 39 35 06 04 2D 00 D0 A1 D1 83 D1 85 D0 B0 D1 80 D0 B8 D0 BA D0 B8 20 D0 A4 D0 BB D0 B8 D0 BD D1 82 20 D0 9A D1 80 D0 B0 D0 B1 20 31 30 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 00 7F [11:43:57]Write i2c OK [11:43:57]MH_I2C_Read... [11:43:57]Read from MH i2c: E2 [11:43:57]MH_I2C_Read... [11:43:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:43:57]Read from MH i2c: E2 03 00 [11:43:57]MH_I2C_Read... [11:43:57]Read from MH i2c: E2 03 00 BB 1C 00 90 00 4B [11:43:57]RAPDU: 90 00 [11:43:57]wFMCommunicate OK [11:43:57]wFMCommunicate request_size=255 [11:43:57]MH_SAM_APDU [11:43:57]CAPDU: 80 0D 02 02 FA 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 04 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 95 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 02 07 00 00 00 00 07 04 06 00 04 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 03 ED 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 [11:43:57]Write to MH i2c: E2 02 01 BC 1C 80 0D 02 02 FA 00 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 04 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 95 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 02 07 00 00 00 00 07 04 06 00 04 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 03 ED 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 00 00 8B [11:43:57]Write i2c OK [11:43:57]MH_I2C_Read... [11:43:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:43:58]Read from MH i2c: E2 [11:43:58]MH_I2C_Read... [11:43:58]Read from MH i2c: E2 03 00 [11:43:58]MH_I2C_Read... [11:43:58]Read from MH i2c: E2 03 00 BC 1C 00 90 00 4C [11:43:58]RAPDU: 90 00 [11:43:58]wFMCommunicate OK [11:43:58]wFMCommunicate request_size=19 [11:43:58]MH_SAM_APDU [11:43:58]CAPDU: 80 0D 02 02 0E 3E 91 00 00 35 04 06 00 59 B5 2C 6D 02 06 [11:43:58]Write to MH i2c: E2 16 00 BD 1C 80 0D 02 02 0E 00 3E 91 00 00 35 04 06 00 59 B5 2C 6D 02 06 00 00 2C [11:43:58]Write i2c OK [11:43:58]MH_I2C_Read... [11:43:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:43:58]Read from MH i2c: E2 [11:43:58]MH_I2C_Read... [11:43:58]Read from MH i2c: E2 03 00 [11:43:58]MH_I2C_Read... [11:43:58]Read from MH i2c: E2 03 00 BD 1C 00 90 00 4D [11:43:58]RAPDU: 90 00 [11:43:58]wFMCommunicate OK [11:43:58]wFMCommunicate request_size=4 [11:43:58]MH_SAM_APDU [11:43:58]CAPDU: 80 0D 03 02 [11:43:58]Write to MH i2c: E2 08 00 BE 1C 80 0D 03 02 00 00 00 00 55 [11:43:58]Write i2c OK [11:43:58]MH_I2C_Read... [11:43:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:43:58]Read from MH i2c: E2 [11:43:58]MH_I2C_Read... [11:43:58]Read from MH i2c: E2 0B 00 [11:43:58]MH_I2C_Read... [11:43:58]Read from MH i2c: E2 0B 00 BE 1C 00 52 42 7F D9 74 4D DB EC 90 00 CA [11:43:58]RAPDU: 52 42 7F D9 74 4D DB EC 90 00 [11:43:58]wFMCommunicate OK [11:43:58]SAM_PROTO_SignData done [11:43:58]FM_MakeSignedData done [11:43:58]CreateOFDProtocolMessage [11:43:58]wFMCommunicate request_size=4 [11:43:58]MH_SAM_APDU [11:43:58]CAPDU: 80 11 00 00 [11:43:58]Write to MH i2c: E2 08 00 BF 1C 80 11 00 00 00 00 00 00 55 [11:43:58]Write i2c OK [11:43:58]MH_I2C_Read... [11:43:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:43:58]Read from MH i2c: E2 [11:43:58]MH_I2C_Read... [11:43:58]Read from MH i2c: E2 17 00 [11:43:58]MH_I2C_Read... [11:43:58]Read from MH i2c: E2 17 00 BF 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 A8 [11:43:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [11:43:58]wFMCommunicate OK [11:43:58]CreateOFDProtocolMessage done [11:43:58]OFDSenderStorePacket 37182 [11:43:58]StoreOFDPacket docnum=37182 [11:43:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 12 02 00 00 1F 32 0A 02 9A 3B 5A 03 01 00 03 00 FE 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 35 36 34 06 04 31 00 D0 A1 D1 83 D1 85 D0 B0 D1 80 D0 B8 D0 BA D0 B8 20 D0 A4 D0 BB D0 B8 D0 BD D1 82 20 D0 A8 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 31 30 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 35 39 35 06 04 2D 00 D0 A1 D1 83 D1 85 D0 B0 D1 80 D0 B8 D0 BA D0 B8 20 D0 A4 D0 BB D0 B8 D0 BD D1 82 20 D0 9A D1 80 D0 B0 D0 B1 20 31 30 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 04 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 95 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 02 07 00 00 00 00 07 04 06 00 04 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 03 ED 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 3E 91 00 00 35 04 06 00 59 B5 2C 6D 02 06 52 42 7F D9 74 4D DB EC [11:43:58]CheckFolder [11:43:58]dirname=/storage/ofd_packets [11:43:58]CheckFolder done [11:43:58]ProducePacketName [11:43:58]name=ofd_packets/00037182 [11:43:58]NVStorageSaveData ofd_packets/00037182 [11:43:58]File name is /storage/ofd_packets/00037182 [11:43:58]Write 560 bytes [11:43:58]NVStorageSaveData done [11:43:58]OFDSenderStorePacket done [11:43:58]KKMCreateOFDPacket done [11:43:58]NVStorageSaveData kkm_last_timestamp [11:43:58]File name is /storage/kkm_last_timestamp [11:43:58]Write 4 bytes [11:43:58]NVStorageSaveData done [11:43:58]ExternCall_PrintAddStr [11:43:58]wPrintStart [11:43:58]Write to MH i2c: 01 00 00 C0 1C DC [11:43:58]Write i2c OK [11:43:58]MH_I2C_Read... [11:43:58]Read from MH i2c: 01 [11:43:58]MH_I2C_Read... [11:43:58]Read from MH i2c: 01 07 00 [11:43:58]MH_I2C_Read... [11:43:58]Read from MH i2c: 01 07 00 C0 1C 00 00 00 00 00 FF 0F F1 [11:43:58]RasterBufferAndPrint [11:43:58]line Счет N : (3)76661 [11:43:58]line ИÐÐ: 02508201610067 [11:43:58]line Контрольно-КаÑÑовый Чек [11:43:58]line ПРОДÐЖР[11:43:58]line Товар: 4870209744564 [11:43:58]line Сухарики Флинт Шашлык 100 гр [11:43:58]line 1.000 * 60.00 [11:43:58]line = 60.00 [11:43:58]line ÐДС 12% ÐСП 1% [11:43:58]line > о реализуемом товаре [11:43:58]line Товар: 4870209744595 [11:43:58]line Сухарики Флинт Краб 100 гр [11:43:58]line 1.000 * 60.00 [11:43:58]line = 60.00 [11:43:58]line ÐДС 12% ÐСП 1% [11:43:58]line > о реализуемом товаре [11:43:58]line Товар: 80942726 [11:43:58]line Р/ж mentos мÑта ролл 16г [11:43:58]line 1.000 * 49.00 [11:43:58]line = 49.00 [11:43:58]line ÐДС 12% ÐСП 1% [11:43:58]line > о реализуемом товаре [11:43:58]line ИТОГО: 169.00 [11:43:58]line ÐСП 1% : 1.49 [11:43:58]line ÐДС 12% : 17.94 [11:43:58]line Ðаличными: 169.00 [11:43:58]line Безнал.: 0.00 [11:43:58]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [11:43:58]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [11:43:58]line СÐО: Общий режим [11:43:58]line Чек 30 20.10.2024 11:44 [11:43:58]line Смена: 461 ФФД: 1.0 [11:43:58]line ЗÐМ: 0300000235 [11:43:58]line РÐМ: 0000000000098149 [11:43:58]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [11:43:58]line ФМ: 0000000000965372 [11:43:58]line ФД: 37182 [11:43:58]line ФПД: 98634669294086 [11:43:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T114403&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37182&fm=98634669294086&tin=02508201610067®Number=0000000000098149&sum=16900 [11:43:58]line 0 [11:43:58]OFD Sender: Processing packet 37182 [packets to send 25, broken 24] [11:43:58]ProducePacketName [11:43:58]name=ofd_packets/00037182 [11:43:58]OFD Sender: To server: ‡•öpG, [11:43:58]CommunicateWithHost lk.salyk.kg:30040 [11:43:58]ConnectInit lk.salyk.kg [11:43:58]written 0, free lines is 4095 [11:43:58]Connected sock=10 [11:43:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 12 02 00 00 1F 32 0A 02 9A 3B 5A 03 01 00 03 00 FE 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 35 36 34 06 04 31 00 D0 A1 D1 83 D1 85 D0 B0 D1 80 D0 B8 D0 BA D0 B8 20 D0 A4 D0 BB D0 B8 D0 BD D1 82 20 D0 A8 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 31 30 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 35 39 35 06 04 2D 00 D0 A1 D1 83 D1 85 D0 B0 D1 80 D0 B8 D0 BA D0 B8 20 D0 A4 D0 BB D0 B8 D0 BD D1 82 20 D0 9A D1 80 D0 B0 D0 B1 20 31 30 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 04 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 95 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 02 07 00 00 00 00 07 04 06 00 04 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 03 ED 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 3E 91 00 00 35 04 06 00 59 B5 2C 6D 02 06 52 42 7F D9 74 4D DB EC [11:43:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 8F BC 47 00 BC 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 33 37 32 10 04 04 00 3E 91 00 00 F4 03 04 00 96 95 14 67 B6 04 01 00 00 DD 49 36 12 C5 CB 1E 3D [11:43:58]CommunicateWithHost err = 0 [11:43:58]CheckOFDResponse [11:43:58]1017 (14) - 77093643461234 [11:43:58]1041 (16) - 0000000000965372 [11:43:58]1040 (4) - 37182 [11:43:58]1012 (4) - 20.10.2024 05:31 [11:43:58]1206 (1) - 0 [11:43:58]OFD Sender: Remove packet 37182 [11:43:58]ProducePacketName [11:43:58]name=ofd_packets/00037182 [11:43:58]NVStorageDeleteData [11:43:59]Write to MH i2c: 01 00 00 F5 1C 11 [11:43:59]Write i2c OK [11:43:59]MH_I2C_Read... [11:43:59]Read from MH i2c: 01 [11:43:59]MH_I2C_Read... [11:43:59]Read from MH i2c: 01 07 00 [11:43:59]MH_I2C_Read... [11:43:59]Read from MH i2c: 01 07 00 F5 1C 00 00 00 00 00 37 0C 5B [11:43:59]RasterBufferAndPrint [11:43:59]line [11:43:59]line [11:43:59]line [11:43:59]line [11:43:59]line [11:43:59]written 0, free lines is 3135 [11:43:59]process_action close_receipt done [11:43:59]requested_data is exist [11:43:59]produce_requested_data [11:43:59]requested_item fm.sn is exist - process it [11:43:59]wFMCommunicate request_size=4 [11:43:59]MH_SAM_APDU [11:43:59]CAPDU: 80 11 00 00 [11:43:59]Write to MH i2c: E2 08 00 FC 1C 80 11 00 00 00 00 00 00 92 [11:43:59]Write i2c OK [11:43:59]MH_I2C_Read... [11:43:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:43:59]Read from MH i2c: E2 [11:43:59]MH_I2C_Read... [11:43:59]Read from MH i2c: E2 17 00 [11:43:59]MH_I2C_Read... [11:43:59]Read from MH i2c: E2 17 00 FC 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 E5 [11:43:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [11:43:59]wFMCommunicate OK [11:43:59]requested_item fd.num is exist - process it [11:43:59]SAM_PROTO_GetFieldsCounters [11:43:59]wFMCommunicate request_size=4 [11:43:59]MH_SAM_APDU [11:43:59]CAPDU: 80 13 00 00 [11:43:59]Write to MH i2c: E2 08 00 FD 1C 80 13 00 00 00 00 00 00 95 [11:43:59]Write i2c OK [11:43:59]MH_I2C_Read... [11:43:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:43:59]Read from MH i2c: E2 [11:43:59]MH_I2C_Read... [11:43:59]Read from MH i2c: E2 62 00 [11:43:59]MH_I2C_Read... [11:43:59]Read from MH i2c: E2 62 00 FD 1C 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 3E 91 00 00 0E 04 04 00 CD 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 B3 [11:43: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 3E 91 00 00 0E 04 04 00 CD 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 [11:43:59]wFMCommunicate OK [11:43:59]SAM_PROTO_GetFieldsCounters done [11:43:59]requested_item shift.num is exist - process it [11:43:59]requested_item shift.opened is exist - process it [11:43:59]req_shift_opened [11:43:59]FM_GetShiftState [11:43:59]SAM_PROTO_GetShiftState [11:43:59]wFMCommunicate request_size=4 [11:43:59]MH_SAM_APDU [11:43:59]CAPDU: 80 13 01 00 [11:43:59]Write to MH i2c: E2 08 00 FE 1C 80 13 01 00 00 00 00 00 97 [11:43:59]OFD Sender: No OFD packet to send [11:43:59]Write i2c OK [11:43:59]MH_I2C_Read... [11:43:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:43:59]Read from MH i2c: E2 [11:43:59]MH_I2C_Read... [11:43:59]Read from MH i2c: E2 0E 00 [11:43:59]MH_I2C_Read... [11:43:59]Read from MH i2c: E2 0E 00 FE 1C 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 EC [11:43:59]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [11:43:59]wFMCommunicate OK [11:43:59]SAM_PROTO_GetShiftState done [11:43:59]FM_GetShiftState done [11:43:59]req_shift_opened done [11:43:59]requested_item shift.open_date is exist - process it [11:43:59]req_shift_open_date [11:43:59]req_shift_open_date done [11:43:59]produce_requested_data done [11:43:59]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37182,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [11:43:59]process_action_free close_receipt [11:43:59]json_value_free [11:43:59]json_value_free done [11:43:59]process_json_proto returns [11:43:59]Send response to host [11:43:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37182,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [11:43:59]free response buf [11:43:59]execute_script done [11:43:59]execute_script returns [11:43:59]free content buf [11:43:59]Sock 9.Close socket [11:43:59]Sock 9.Thread stoped [11:44:04]OFD Sender: No OFD packet to send [11:44:09]OFD Sender: No OFD packet to send [11:44:14]OFD Sender: No OFD packet to send [11:44:19]OFD Sender: No OFD packet to send [11:44:24]OFD Sender: No OFD packet to send [11:44:29]OFD Sender: No OFD packet to send [11:44:34]OFD Sender: No OFD packet to send [11:44:39]OFD Sender: No OFD packet to send [11:44:44]OFD Sender: No OFD packet to send [11:44:49]OFD Sender: No OFD packet to send [11:44:54]OFD Sender: No OFD packet to send [11:44:59]OFD Sender: No OFD packet to send [11:45:04]OFD Sender: No OFD packet to send [11:45:09]OFD Sender: No OFD packet to send [11:45:14]OFD Sender: No OFD packet to send [11:45:19]OFD Sender: No OFD packet to send [11:45:24]OFD Sender: No OFD packet to send [11:45:29]OFD Sender: No OFD packet to send [11:45:34]OFD Sender: No OFD packet to send [11:45:39]OFD Sender: No OFD packet to send [11:45:44]OFD Sender: No OFD packet to send [11:45:49]OFD Sender: No OFD packet to send [11:45:54]OFD Sender: No OFD packet to send [11:45:59]OFD Sender: No OFD packet to send [11:46:04]OFD Sender: No OFD packet to send [11:46:09]OFD Sender: No OFD packet to send [11:46:14]OFD Sender: No OFD packet to send [11:46:19]OFD Sender: No OFD packet to send [11:46:24]OFD Sender: No OFD packet to send [11:46:29]OFD Sender: No OFD packet to send [11:46:34]OFD Sender: No OFD packet to send [11:46:39]OFD Sender: No OFD packet to send [11:46:44]OFD Sender: No OFD packet to send [11:46:49]OFD Sender: No OFD packet to send [11:46:54]OFD Sender: No OFD packet to send [11:46:59]OFD Sender: No OFD packet to send [11:47:04]OFD Sender: No OFD packet to send [11:47:09]OFD Sender: No OFD packet to send [11:47:14]OFD Sender: No OFD packet to send [11:47:19]OFD Sender: No OFD packet to send [11:47:24]OFD Sender: No OFD packet to send [11:47:29]OFD Sender: No OFD packet to send [11:47:34]OFD Sender: No OFD packet to send [11:47:39]OFD Sender: No OFD packet to send [11:47:44]OFD Sender: No OFD packet to send [11:47:49]OFD Sender: No OFD packet to send [11:47:54]OFD Sender: No OFD packet to send [11:47:59]OFD Sender: No OFD packet to send [11:48:04]OFD Sender: No OFD packet to send [11:48:09]OFD Sender: No OFD packet to send [11:48:14]OFD Sender: No OFD packet to send [11:48:19]OFD Sender: No OFD packet to send [11:48:24]OFD Sender: No OFD packet to send [11:48:29]OFD Sender: No OFD packet to send [11:48:34]OFD Sender: No OFD packet to send [11:48:39]OFD Sender: No OFD packet to send [11:48:44]OFD Sender: No OFD packet to send [11:48:49]OFD Sender: No OFD packet to send [11:48:54]OFD Sender: No OFD packet to send [11:48:59]OFD Sender: No OFD packet to send [11:49:04]OFD Sender: No OFD packet to send [11:49:09]OFD Sender: No OFD packet to send [11:49:14]OFD Sender: No OFD packet to send [11:49:19]OFD Sender: No OFD packet to send [11:49:24]OFD Sender: No OFD packet to send [11:49:29]OFD Sender: No OFD packet to send [11:49:34]OFD Sender: No OFD packet to send [11:49:39]OFD Sender: No OFD packet to send [11:49:44]OFD Sender: No OFD packet to send [11:49:49]OFD Sender: No OFD packet to send [11:49:54]OFD Sender: No OFD packet to send [11:49:59]OFD Sender: No OFD packet to send [11:50:04]OFD Sender: No OFD packet to send [11:50:09]OFD Sender: No OFD packet to send [11:50:14]OFD Sender: No OFD packet to send [11:50:19]OFD Sender: No OFD packet to send [11:50:24]OFD Sender: No OFD packet to send [11:50:29]OFD Sender: No OFD packet to send [11:50:34]OFD Sender: No OFD packet to send [11:50:39]OFD Sender: No OFD packet to send [11:50:44]OFD Sender: No OFD packet to send [11:50:49]OFD Sender: No OFD packet to send [11:50:54]OFD Sender: No OFD packet to send [11:50:59]OFD Sender: No OFD packet to send [11:51:04]OFD Sender: No OFD packet to send [11:51:09]OFD Sender: No OFD packet to send [11:51:14]OFD Sender: No OFD packet to send [11:51:19]OFD Sender: No OFD packet to send [11:51:24]OFD Sender: No OFD packet to send [11:51:29]OFD Sender: No OFD packet to send [11:51:34]OFD Sender: No OFD packet to send [11:51:39]OFD Sender: No OFD packet to send [11:51:44]OFD Sender: No OFD packet to send [11:51:49]OFD Sender: No OFD packet to send [11:51:54]OFD Sender: No OFD packet to send [11:51:59]OFD Sender: No OFD packet to send [11:52:04]OFD Sender: No OFD packet to send [11:52:09]OFD Sender: No OFD packet to send [11:52:14]OFD Sender: No OFD packet to send [11:52:19]OFD Sender: No OFD packet to send [11:52:24]OFD Sender: No OFD packet to send [11:52:29]OFD Sender: No OFD packet to send [11:52:34]OFD Sender: No OFD packet to send [11:52:39]OFD Sender: No OFD packet to send [11:52:44]OFD Sender: No OFD packet to send [11:52:49]OFD Sender: No OFD packet to send [11:52:54]OFD Sender: No OFD packet to send [11:52:59]OFD Sender: No OFD packet to send [11:53:04]OFD Sender: No OFD packet to send [11:53:09]OFD Sender: No OFD packet to send [11:53:14]OFD Sender: No OFD packet to send [11:53:19]OFD Sender: No OFD packet to send [11:53:24]OFD Sender: No OFD packet to send [11:53:29]OFD Sender: No OFD packet to send [11:53:34]accept exits with 7 [11:53:34]New connection [11:53:34]New thread 3066699108 created [11:53:34]Thread 3066555748 joined [11:53:34]Waiting for new connection... [11:53:34] Sock 7.Parse request [11:53:34]Sock 7.Check first char [11:53:34]Sock 7.First char is OK [11:53:34]request: POST /json_proto HTTP/1.0 [11:53:34]Method: POST [11:53:34]URL: /json_proto [11:53:34]Method is POST - this is cgi request [11:53:34]url: /json_proto [11:53:34]query_string will be loaded in cgi processing [11:53:34]execute_cgi json_proto POST (null) [11:53:34]execute_cgi path=json_proto method=POST [11:53:34]POST find Content-Length [11:53:34]Host: 172.17.53.68:8080 [11:53:34]Content-Length: 853 [11:53:34]Content-Type: application/json [11:53:34] [11:53:34]POST finish read [11:53:34]Found Content-Length = 853 [11:53:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76662", "tax_sys" : 0, "items" : [ { "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 2.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48747417", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Unique Caster", "price" : 147.00, "quantity" : 1.000, "sum" : 147.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 307.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:53:34]execute_script... [11:53:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76662", "tax_sys" : 0, "items" : [ { "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 2.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48747417", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Unique Caster", "price" : 147.00, "quantity" : 1.000, "sum" : 147.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 307.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:53:34]POST & json_proto [11:53:34]process_json_proto [11:53:34]json parsed OK: [11:53:34]protocol is kg_v1.0 [11:53:34]action value=close_receipt [11:53:34]process_action close_receipt [11:53:34]cmd_close_receipt [11:53:34]MH_GetDate [11:53:34]Write to MH i2c: F0 00 00 FF 1C 0A [11:53:34]Write i2c OK [11:53:34]MH_I2C_Read... [11:53:34]Read from MH i2c: F0 [11:53:34]MH_I2C_Read... [11:53:34]Read from MH i2c: F0 09 00 [11:53:34]MH_I2C_Read... [11:53:34]Read from MH i2c: F0 09 00 FF 1C 00 46 EF 14 67 C5 A4 76 66 08 [11:53:34]GetLastDocTimeStamp 1729424643 [11:53:34]current date 1729425222 [11:53:34]FM_GetShiftState [11:53:34]SAM_PROTO_GetShiftState [11:53:34]wFMCommunicate request_size=4 [11:53:34]MH_SAM_APDU [11:53:34]CAPDU: 80 13 01 00 [11:53:34]Write to MH i2c: E2 08 00 00 1D 80 13 01 00 00 00 00 00 9A [11:53:34]Write i2c OK [11:53:34]MH_I2C_Read... [11:53:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:53:34]Read from MH i2c: E2 [11:53:34]MH_I2C_Read... [11:53:34]Read from MH i2c: E2 0E 00 [11:53:34]MH_I2C_Read... [11:53:34]Read from MH i2c: E2 0E 00 00 1D 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 EF [11:53:34]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [11:53:34]wFMCommunicate OK [11:53:34]SAM_PROTO_GetShiftState done [11:53:34]FM_GetShiftState done [11:53:34]opened in 1729383299 [11:53:34]opened+sec_in_day 1729469699 [11:53:34]quantity*price = 16000 [11:53:34]sum+1 = 16001 [11:53:34]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48747417 Сигареты Winston Unique Caster 1.000 * 147.00 = 147.00 ÐДС 12% ÐСП 1% > о реализуемом товаре ИТОГО: 307.00 ÐСП 1% : 2.72 ÐДС 12% : 32.60 Ðаличными: 307.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 31 20.10.2024 11:53 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37183 ФПД: 192540430032200 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T115342&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37183&fm=192540430032200&tin=02508201610067®Number=0000000000098149&sum=30700 0 [11:53:35]StoreToDocumentArchive [11:53:35]shift 461 fd 37183 [11:53:35]save to /storage/0461/doc_00037183 [11:53:35]save last doc name /storage/0461/doc_00037183 to /storage/kkm_last_doc_name [11:53:35]save OK [11:53:35]Clear old archive folders... [11:53:35]ProcessDocumentItem done err = 0, tmpTLVsize=373 [11:53:35]tlvbuf is 009D6C10 [11:53:35]SAM_PROTO_ClearQueue [11:53:35]wFMCommunicate request_size=4 [11:53:35]MH_SAM_APDU [11:53:35]CAPDU: 80 09 00 00 [11:53:35]Write to MH i2c: E2 08 00 0D 1D 80 09 00 00 00 00 00 00 9C [11:53:35]Write i2c OK [11:53:35]MH_I2C_Read... [11:53:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:53:35]Read from MH i2c: E2 [11:53:35]MH_I2C_Read... [11:53:35]Read from MH i2c: E2 03 00 [11:53:35]MH_I2C_Read... [11:53:35]Read from MH i2c: E2 03 00 0D 1D 00 90 00 9E [11:53:35]RAPDU: 90 00 [11:53:35]wFMCommunicate OK [11:53:35]SAM_PROTO_ClearQueue done [11:53:35]KKMCreateOFDPacket [11:53:35]OFDProtocolAddRootSTLVToBuf [11:53:35]FM_MakeSignedData [11:53:35]FM_MakeSignedData [11:53:35]SAM_PROTO_SignData [11:53:35]wFMCommunicate request_size=4 [11:53:35]MH_SAM_APDU [11:53:35]CAPDU: 80 0D 01 02 [11:53:35]Write to MH i2c: E2 08 00 0E 1D 80 0D 01 02 00 00 00 00 A4 [11:53:35]Write i2c OK [11:53:35]MH_I2C_Read... [11:53:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:53:35]Read from MH i2c: E2 [11:53:35]MH_I2C_Read... [11:53:35]Read from MH i2c: E2 03 00 [11:53:35]MH_I2C_Read... [11:53:35]Read from MH i2c: E2 03 00 0E 1D 00 90 00 9F [11:53:35]RAPDU: 90 00 [11:53:35]wFMCommunicate OK [11:53:35]wFMCommunicate request_size=255 [11:53:35]MH_SAM_APDU [11:53:35]CAPDU: 80 0D 02 02 FA 03 00 75 01 1E 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 D0 07 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 37 34 31 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 55 6E 69 71 75 65 20 43 61 73 74 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 77 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 [11:53:35]Write to MH i2c: E2 02 01 0F 1D 80 0D 02 02 FA 00 03 00 75 01 1E 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 D0 07 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 37 34 31 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 55 6E 69 71 75 65 20 43 61 73 74 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 77 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 00 00 6E [11:53:35]Write i2c OK [11:53:35]MH_I2C_Read... [11:53:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:53:36]Read from MH i2c: E2 [11:53:36]MH_I2C_Read... [11:53:36]Read from MH i2c: E2 03 00 [11:53:36]MH_I2C_Read... [11:53:36]Read from MH i2c: E2 03 00 0F 1D 00 90 00 A0 [11:53:36]RAPDU: 90 00 [11:53:36]wFMCommunicate OK [11:53:36]wFMCommunicate request_size=132 [11:53:36]MH_SAM_APDU [11:53:36]CAPDU: 80 0D 02 02 7F 03 01 00 01 F3 03 06 00 BC 0C 00 00 00 00 07 04 06 00 EC 77 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 46 EF 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 3F 91 00 00 35 04 06 00 AF 1D 4F EF DD 48 [11:53:36]Write to MH i2c: E2 87 00 10 1D 80 0D 02 02 7F 00 03 01 00 01 F3 03 06 00 BC 0C 00 00 00 00 07 04 06 00 EC 77 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 46 EF 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 3F 91 00 00 35 04 06 00 AF 1D 4F EF DD 48 00 00 AD [11:53:36]Write i2c OK [11:53:36]MH_I2C_Read... [11:53:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:53:36]Read from MH i2c: E2 [11:53:36]MH_I2C_Read... [11:53:36]Read from MH i2c: E2 03 00 [11:53:36]MH_I2C_Read... [11:53:36]Read from MH i2c: E2 03 00 10 1D 00 90 00 A1 [11:53:36]RAPDU: 90 00 [11:53:36]wFMCommunicate OK [11:53:36]wFMCommunicate request_size=4 [11:53:36]MH_SAM_APDU [11:53:36]CAPDU: 80 0D 03 02 [11:53:36]Write to MH i2c: E2 08 00 11 1D 80 0D 03 02 00 00 00 00 A9 [11:53:36]Write i2c OK [11:53:36]MH_I2C_Read... [11:53:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:53:36]Read from MH i2c: E2 [11:53:36]MH_I2C_Read... [11:53:36]Read from MH i2c: E2 0B 00 [11:53:36]MH_I2C_Read... [11:53:36]Read from MH i2c: E2 0B 00 11 1D 00 8C 74 EF 6E 8D 1A 5E 8C 90 00 98 [11:53:36]RAPDU: 8C 74 EF 6E 8D 1A 5E 8C 90 00 [11:53:36]wFMCommunicate OK [11:53:36]SAM_PROTO_SignData done [11:53:36]FM_MakeSignedData done [11:53:36]CreateOFDProtocolMessage [11:53:36]wFMCommunicate request_size=4 [11:53:36]MH_SAM_APDU [11:53:36]CAPDU: 80 11 00 00 [11:53:36]Write to MH i2c: E2 08 00 12 1D 80 11 00 00 00 00 00 00 A9 [11:53:36]Write i2c OK [11:53:36]MH_I2C_Read... [11:53:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:53:36]Read from MH i2c: E2 [11:53:36]MH_I2C_Read... [11:53:36]Read from MH i2c: E2 17 00 [11:53:36]MH_I2C_Read... [11:53:36]Read from MH i2c: E2 17 00 12 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 FC [11:53:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [11:53:36]wFMCommunicate OK [11:53:36]CreateOFDProtocolMessage done [11:53:36]OFDSenderStorePacket 37183 [11:53:36]StoreOFDPacket docnum=37183 [11:53:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 89 01 00 00 BF 8B 81 01 49 EA 5A 03 01 00 03 00 75 01 1E 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 D0 07 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 37 34 31 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 55 6E 69 71 75 65 20 43 61 73 74 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 77 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 BC 0C 00 00 00 00 07 04 06 00 EC 77 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 46 EF 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 3F 91 00 00 35 04 06 00 AF 1D 4F EF DD 48 8C 74 EF 6E 8D 1A 5E 8C [11:53:36]CheckFolder [11:53:36]dirname=/storage/ofd_packets [11:53:36]CheckFolder done [11:53:36]ProducePacketName [11:53:36]name=ofd_packets/00037183 [11:53:36]NVStorageSaveData ofd_packets/00037183 [11:53:36]File name is /storage/ofd_packets/00037183 [11:53:36]Write 423 bytes [11:53:36]NVStorageSaveData done [11:53:36]OFDSenderStorePacket done [11:53:36]KKMCreateOFDPacket done [11:53:36]NVStorageSaveData kkm_last_timestamp [11:53:36]File name is /storage/kkm_last_timestamp [11:53:36]Write 4 bytes [11:53:36]NVStorageSaveData done [11:53:36]ExternCall_PrintAddStr [11:53:36]wPrintStart [11:53:36]Write to MH i2c: 01 00 00 13 1D 30 [11:53:36]Write i2c OK [11:53:36]MH_I2C_Read... [11:53:36]Read from MH i2c: 01 [11:53:36]MH_I2C_Read... [11:53:36]Read from MH i2c: 01 07 00 [11:53:36]MH_I2C_Read... [11:53:36]Read from MH i2c: 01 07 00 13 1D 00 00 00 00 00 FF 0F 45 [11:53:36]RasterBufferAndPrint [11:53:36]line Счет N : (3)76662 [11:53:36]line ИÐÐ: 02508201610067 [11:53:36]line Контрольно-КаÑÑовый Чек [11:53:36]line ПРОДÐЖР[11:53:36]line Товар: 4870001570057 [11:53:36]line Ðапиток Pepsi 0,5л [11:53:36]line 2.000 * 80.00 [11:53:36]line = 160.00 [11:53:36]line ÐДС 12% ÐСП 1% [11:53:36]line > о реализуемом товаре [11:53:36]line Товар: 48747417 [11:53:36]line Сигареты Winston Unique Caster [11:53:36]line 1.000 * 147.00 [11:53:36]line = 147.00 [11:53:36]line ÐДС 12% ÐСП 1% [11:53:36]line > о реализуемом товаре [11:53:36]line ИТОГО: 307.00 [11:53:36]line ÐСП 1% : 2.72 [11:53:36]line ÐДС 12% : 32.60 [11:53:36]line Ðаличными: 307.00 [11:53:36]line Безнал.: 0.00 [11:53:36]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [11:53:36]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [11:53:36]line СÐО: Общий режим [11:53:36]line Чек 31 20.10.2024 11:53 [11:53:36]line Смена: 461 ФФД: 1.0 [11:53:36]line ЗÐМ: 0300000235 [11:53:36]line РÐМ: 0000000000098149 [11:53:36]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [11:53:36]line ФМ: 0000000000965372 [11:53:36]line ФД: 37183 [11:53:36]line ФПД: 192540430032200 [11:53:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T115342&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37183&fm=192540430032200&tin=02508201610067®Number=0000000000098149&sum=30700 [11:53:36]line 0 [11:53:36]OFD Sender: Processing packet 37183 [packets to send 25, broken 24] [11:53:36]ProducePacketName [11:53:36]name=ofd_packets/00037183 [11:53:36]OFD Sender: To server: ‡•öpG, [11:53:36]CommunicateWithHost lk.salyk.kg:30040 [11:53:36]ConnectInit lk.salyk.kg [11:53:36]written 0, free lines is 4095 [11:53:36]Connected sock=10 [11:53:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 89 01 00 00 BF 8B 81 01 49 EA 5A 03 01 00 03 00 75 01 1E 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 D0 07 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 37 34 31 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 55 6E 69 71 75 65 20 43 61 73 74 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 77 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 BC 0C 00 00 00 00 07 04 06 00 EC 77 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 46 EF 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 3F 91 00 00 35 04 06 00 AF 1D 4F EF DD 48 8C 74 EF 6E 8D 1A 5E 8C [11:53:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 FE 04 47 00 CB 42 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 3F 91 00 00 F4 03 04 00 D8 97 14 67 B6 04 01 00 00 2D A7 AE 1C 42 28 6F B3 [11:53:37]CommunicateWithHost err = 0 [11:53:37]CheckOFDResponse [11:53:37]1017 (14) - 77093643461234 [11:53:37]1041 (16) - 0000000000965372 [11:53:37]1040 (4) - 37183 [11:53:37]1012 (4) - 20.10.2024 05:40 [11:53:37]1206 (1) - 0 [11:53:37]OFD Sender: Remove packet 37183 [11:53:37]ProducePacketName [11:53:37]name=ofd_packets/00037183 [11:53:37]NVStorageDeleteData [11:53:37]Write to MH i2c: 01 00 00 42 1D 5F [11:53:37]Write i2c OK [11:53:37]MH_I2C_Read... [11:53:37]Read from MH i2c: 01 [11:53:37]MH_I2C_Read... [11:53:37]Read from MH i2c: 01 07 00 [11:53:37]MH_I2C_Read... [11:53:37]Read from MH i2c: 01 07 00 42 1D 00 00 00 00 00 71 0C E3 [11:53:37]RasterBufferAndPrint [11:53:37]line [11:53:37]line [11:53:37]line [11:53:37]line [11:53:37]line [11:53:37]written 0, free lines is 3194 [11:53:37]process_action close_receipt done [11:53:37]requested_data is exist [11:53:37]produce_requested_data [11:53:37]requested_item fm.sn is exist - process it [11:53:37]wFMCommunicate request_size=4 [11:53:37]MH_SAM_APDU [11:53:37]CAPDU: 80 11 00 00 [11:53:37]Write to MH i2c: E2 08 00 49 1D 80 11 00 00 00 00 00 00 E0 [11:53:37]Write i2c OK [11:53:37]MH_I2C_Read... [11:53:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:53:37]Read from MH i2c: E2 [11:53:37]MH_I2C_Read... [11:53:37]Read from MH i2c: E2 17 00 [11:53:37]MH_I2C_Read... [11:53:37]Read from MH i2c: E2 17 00 49 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 33 [11:53:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [11:53:37]wFMCommunicate OK [11:53:37]requested_item fd.num is exist - process it [11:53:37]SAM_PROTO_GetFieldsCounters [11:53:37]wFMCommunicate request_size=4 [11:53:37]MH_SAM_APDU [11:53:37]CAPDU: 80 13 00 00 [11:53:37]Write to MH i2c: E2 08 00 4A 1D 80 13 00 00 00 00 00 00 E3 [11:53:37]Write i2c OK [11:53:37]MH_I2C_Read... [11:53:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:53:37]Read from MH i2c: E2 [11:53:37]MH_I2C_Read... [11:53:37]Read from MH i2c: E2 62 00 [11:53:37]MH_I2C_Read... [11:53:37]Read from MH i2c: E2 62 00 4A 1D 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 3F 91 00 00 0E 04 04 00 CD 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 05 [11:53: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 3F 91 00 00 0E 04 04 00 CD 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 [11:53:37]wFMCommunicate OK [11:53:37]SAM_PROTO_GetFieldsCounters done [11:53:37]requested_item shift.num is exist - process it [11:53:37]requested_item shift.opened is exist - process it [11:53:37]req_shift_opened [11:53:37]FM_GetShiftState [11:53:37]SAM_PROTO_GetShiftState [11:53:37]wFMCommunicate request_size=4 [11:53:37]MH_SAM_APDU [11:53:37]CAPDU: 80 13 01 00 [11:53:37]Write to MH i2c: E2 08 00 4B 1D 80 13 01 00 00 00 00 00 E5 [11:53:37]Write i2c OK [11:53:37]MH_I2C_Read... [11:53:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:53:37]Read from MH i2c: E2 [11:53:37]MH_I2C_Read... [11:53:37]Read from MH i2c: E2 0E 00 [11:53:37]MH_I2C_Read... [11:53:37]Read from MH i2c: E2 0E 00 4B 1D 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 3A [11:53:37]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [11:53:37]wFMCommunicate OK [11:53:37]SAM_PROTO_GetShiftState done [11:53:37]FM_GetShiftState done [11:53:37]req_shift_opened done [11:53:37]requested_item shift.open_date is exist - process it [11:53:37]req_shift_open_date [11:53:37]req_shift_open_date done [11:53:37]produce_requested_data done [11:53:37]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37183,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [11:53:37]process_action_free close_receipt [11:53:37]json_value_free [11:53:37]json_value_free done [11:53:37]process_json_proto returns [11:53:37]Send response to host [11:53:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37183,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [11:53:37]free response buf [11:53:37]execute_script done [11:53:37]execute_script returns [11:53:37]free content buf [11:53:37]Sock 7.Close socket [11:53:37]Sock 7.Thread stoped [11:53:37]OFD Sender: No OFD packet to send [11:53:42]OFD Sender: No OFD packet to send [11:53:47]OFD Sender: No OFD packet to send [11:53:52]OFD Sender: No OFD packet to send [11:53:57]OFD Sender: No OFD packet to send [11:54:02]OFD Sender: No OFD packet to send [11:54:07]OFD Sender: No OFD packet to send [11:54:12]OFD Sender: No OFD packet to send [11:54:17]OFD Sender: No OFD packet to send [11:54:22]OFD Sender: No OFD packet to send [11:54:27]OFD Sender: No OFD packet to send [11:54:32]OFD Sender: No OFD packet to send [11:54:37]OFD Sender: No OFD packet to send [11:54:42]OFD Sender: No OFD packet to send [11:54:47]OFD Sender: No OFD packet to send [11:54:52]OFD Sender: No OFD packet to send [11:54:57]OFD Sender: No OFD packet to send [11:55:02]OFD Sender: No OFD packet to send [11:55:07]OFD Sender: No OFD packet to send [11:55:12]OFD Sender: No OFD packet to send [11:55:17]OFD Sender: No OFD packet to send [11:55:22]OFD Sender: No OFD packet to send [11:55:27]OFD Sender: No OFD packet to send [11:55:32]OFD Sender: No OFD packet to send [11:55:37]OFD Sender: No OFD packet to send [11:55:42]OFD Sender: No OFD packet to send [11:55:47]OFD Sender: No OFD packet to send [11:55:52]OFD Sender: No OFD packet to send [11:55:57]OFD Sender: No OFD packet to send [11:56:02]OFD Sender: No OFD packet to send [11:56:07]OFD Sender: No OFD packet to send [11:56:12]OFD Sender: No OFD packet to send [11:56:17]OFD Sender: No OFD packet to send [11:56:22]OFD Sender: No OFD packet to send [11:56:27]OFD Sender: No OFD packet to send [11:56:32]OFD Sender: No OFD packet to send [11:56:37]OFD Sender: No OFD packet to send [11:56:42]OFD Sender: No OFD packet to send [11:56:47]OFD Sender: No OFD packet to send [11:56:52]OFD Sender: No OFD packet to send [11:56:57]OFD Sender: No OFD packet to send [11:57:02]OFD Sender: No OFD packet to send [11:57:07]OFD Sender: No OFD packet to send [11:57:12]OFD Sender: No OFD packet to send [11:57:17]OFD Sender: No OFD packet to send [11:57:22]OFD Sender: No OFD packet to send [11:57:27]OFD Sender: No OFD packet to send [11:57:32]OFD Sender: No OFD packet to send [11:57:37]OFD Sender: No OFD packet to send [11:57:42]OFD Sender: No OFD packet to send [11:57:47]OFD Sender: No OFD packet to send [11:57:52]OFD Sender: No OFD packet to send [11:57:57]OFD Sender: No OFD packet to send [11:58:02]OFD Sender: No OFD packet to send [11:58:07]OFD Sender: No OFD packet to send [11:58:12]OFD Sender: No OFD packet to send [11:58:17]OFD Sender: No OFD packet to send [11:58:22]OFD Sender: No OFD packet to send [11:58:27]OFD Sender: No OFD packet to send [11:58:32]OFD Sender: No OFD packet to send [11:58:37]OFD Sender: No OFD packet to send [11:58:42]OFD Sender: No OFD packet to send [11:58:47]OFD Sender: No OFD packet to send [11:58:52]OFD Sender: No OFD packet to send [11:58:57]OFD Sender: No OFD packet to send [11:59:02]OFD Sender: No OFD packet to send [11:59:07]OFD Sender: No OFD packet to send [11:59:12]OFD Sender: No OFD packet to send [11:59:17]OFD Sender: No OFD packet to send [11:59:22]OFD Sender: No OFD packet to send [11:59:27]OFD Sender: No OFD packet to send [11:59:32]OFD Sender: No OFD packet to send [11:59:37]OFD Sender: No OFD packet to send [11:59:42]OFD Sender: No OFD packet to send [11:59:47]OFD Sender: No OFD packet to send [11:59:52]OFD Sender: No OFD packet to send [11:59:57]OFD Sender: No OFD packet to send [12:00:02]OFD Sender: No OFD packet to send [12:00:07]OFD Sender: No OFD packet to send [12:00:12]OFD Sender: No OFD packet to send [12:00:17]OFD Sender: No OFD packet to send [12:00:22]OFD Sender: No OFD packet to send [12:00:27]OFD Sender: No OFD packet to send [12:00:32]OFD Sender: No OFD packet to send [12:00:37]OFD Sender: No OFD packet to send [12:00:42]OFD Sender: No OFD packet to send [12:00:47]OFD Sender: No OFD packet to send [12:00:52]OFD Sender: No OFD packet to send [12:00:57]OFD Sender: No OFD packet to send [12:01:02]OFD Sender: No OFD packet to send [12:01:07]OFD Sender: No OFD packet to send [12:01:13]OFD Sender: No OFD packet to send [12:01:18]OFD Sender: No OFD packet to send [12:01:23]OFD Sender: No OFD packet to send [12:01:28]OFD Sender: No OFD packet to send [12:01:33]OFD Sender: No OFD packet to send [12:01:38]OFD Sender: No OFD packet to send [12:01:43]OFD Sender: No OFD packet to send [12:01:48]OFD Sender: No OFD packet to send [12:01:53]OFD Sender: No OFD packet to send [12:01:58]OFD Sender: No OFD packet to send [12:02:03]OFD Sender: No OFD packet to send [12:02:08]OFD Sender: No OFD packet to send [12:02:13]OFD Sender: No OFD packet to send [12:02:18]OFD Sender: No OFD packet to send [12:02:23]OFD Sender: No OFD packet to send [12:02:28]OFD Sender: No OFD packet to send [12:02:33]OFD Sender: No OFD packet to send [12:02:38]OFD Sender: No OFD packet to send [12:02:43]OFD Sender: No OFD packet to send [12:02:48]OFD Sender: No OFD packet to send [12:02:53]OFD Sender: No OFD packet to send [12:02:58]OFD Sender: No OFD packet to send [12:03:03]OFD Sender: No OFD packet to send [12:03:08]OFD Sender: No OFD packet to send [12:03:13]OFD Sender: No OFD packet to send [12:03:18]OFD Sender: No OFD packet to send [12:03:23]OFD Sender: No OFD packet to send [12:03:28]OFD Sender: No OFD packet to send [12:03:33]OFD Sender: No OFD packet to send [12:03:38]OFD Sender: No OFD packet to send [12:03:43]OFD Sender: No OFD packet to send [12:03:48]OFD Sender: No OFD packet to send [12:03:53]OFD Sender: No OFD packet to send [12:03:58]OFD Sender: No OFD packet to send [12:04:03]OFD Sender: No OFD packet to send [12:04:08]OFD Sender: No OFD packet to send [12:04:13]OFD Sender: No OFD packet to send [12:04:18]OFD Sender: No OFD packet to send [12:04:23]OFD Sender: No OFD packet to send [12:04:28]OFD Sender: No OFD packet to send [12:04:33]OFD Sender: No OFD packet to send [12:04:38]OFD Sender: No OFD packet to send [12:04:43]OFD Sender: No OFD packet to send [12:04:48]OFD Sender: No OFD packet to send [12:04:53]OFD Sender: No OFD packet to send [12:04:58]OFD Sender: No OFD packet to send [12:05:03]OFD Sender: No OFD packet to send [12:05:08]OFD Sender: No OFD packet to send [12:05:13]OFD Sender: No OFD packet to send [12:05:18]OFD Sender: No OFD packet to send [12:05:23]OFD Sender: No OFD packet to send [12:05:28]OFD Sender: No OFD packet to send [12:05:33]OFD Sender: No OFD packet to send [12:05:38]OFD Sender: No OFD packet to send [12:05:43]OFD Sender: No OFD packet to send [12:05:48]OFD Sender: No OFD packet to send [12:05:53]OFD Sender: No OFD packet to send [12:05:58]OFD Sender: No OFD packet to send [12:06:03]OFD Sender: No OFD packet to send [12:06:08]OFD Sender: No OFD packet to send [12:06:13]OFD Sender: No OFD packet to send [12:06:18]OFD Sender: No OFD packet to send [12:06:23]OFD Sender: No OFD packet to send [12:06:28]OFD Sender: No OFD packet to send [12:06:33]OFD Sender: No OFD packet to send [12:06:38]OFD Sender: No OFD packet to send [12:06:43]OFD Sender: No OFD packet to send [12:06:48]OFD Sender: No OFD packet to send [12:06:53]OFD Sender: No OFD packet to send [12:06:58]OFD Sender: No OFD packet to send [12:07:03]OFD Sender: No OFD packet to send [12:07:08]OFD Sender: No OFD packet to send [12:07:13]OFD Sender: No OFD packet to send [12:07:18]OFD Sender: No OFD packet to send [12:07:23]OFD Sender: No OFD packet to send [12:07:28]OFD Sender: No OFD packet to send [12:07:33]OFD Sender: No OFD packet to send [12:07:38]OFD Sender: No OFD packet to send [12:07:43]OFD Sender: No OFD packet to send [12:07:48]OFD Sender: No OFD packet to send [12:07:53]OFD Sender: No OFD packet to send [12:07:58]OFD Sender: No OFD packet to send [12:08:03]OFD Sender: No OFD packet to send [12:08:07]accept exits with 9 [12:08:07]New connection [12:08:07]New thread 3066555748 created [12:08:07]Thread 3066699108 joined [12:08:07]Waiting for new connection... [12:08:07] Sock 9.Parse request [12:08:07]Sock 9.Check first char [12:08:07]Sock 9.First char is OK [12:08:07]request: POST /json_proto HTTP/1.0 [12:08:07]Method: POST [12:08:07]URL: /json_proto [12:08:07]Method is POST - this is cgi request [12:08:07]url: /json_proto [12:08:07]query_string will be loaded in cgi processing [12:08:07]execute_cgi json_proto POST (null) [12:08:07]execute_cgi path=json_proto method=POST [12:08:07]POST find Content-Length [12:08:07]Host: 172.17.53.68:8080 [12:08:07]Content-Length: 621 [12:08:07]Content-Type: application/json [12:08:07] [12:08:07]POST finish read [12:08:07]Found Content-Length = 621 [12:08:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76663", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:08:07]execute_script... [12:08: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)76663", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:08:07]POST & json_proto [12:08:07]process_json_proto [12:08:07]json parsed OK: [12:08:07]protocol is kg_v1.0 [12:08:07]action value=close_receipt [12:08:07]process_action close_receipt [12:08:07]cmd_close_receipt [12:08:07]MH_GetDate [12:08:07]Write to MH i2c: F0 00 00 4C 1D 58 [12:08:07]Write i2c OK [12:08:07]MH_I2C_Read... [12:08:07]Read from MH i2c: F0 [12:08:07]MH_I2C_Read... [12:08:07]Read from MH i2c: F0 09 00 [12:08:07]MH_I2C_Read... [12:08:07]Read from MH i2c: F0 09 00 4C 1D 00 AE F2 14 67 C5 A4 76 66 C1 [12:08:07]GetLastDocTimeStamp 1729425222 [12:08:07]current date 1729426094 [12:08:07]FM_GetShiftState [12:08:07]SAM_PROTO_GetShiftState [12:08:07]wFMCommunicate request_size=4 [12:08:07]MH_SAM_APDU [12:08:07]CAPDU: 80 13 01 00 [12:08:07]Write to MH i2c: E2 08 00 4D 1D 80 13 01 00 00 00 00 00 E7 [12:08:07]Write i2c OK [12:08:07]MH_I2C_Read... [12:08:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:08:07]Read from MH i2c: E2 [12:08:07]MH_I2C_Read... [12:08:07]Read from MH i2c: E2 0E 00 [12:08:07]MH_I2C_Read... [12:08:07]Read from MH i2c: E2 0E 00 4D 1D 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 3C [12:08:07]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [12:08:07]wFMCommunicate OK [12:08:07]SAM_PROTO_GetShiftState done [12:08:07]FM_GetShiftState done [12:08:07]opened in 1729383299 [12:08:07]opened+sec_in_day 1729469699 [12:08:07]quantity*price = 15000 [12:08:07]sum+1 = 15001 [12:08:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 ÐСП 1% : 1.33 ÐДС 12% : 15.93 Ðаличными: 150.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 32 20.10.2024 12:08 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37184 ФПД: 48872441243937 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T120814&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37184&fm=48872441243937&tin=02508201610067®Number=0000000000098149&sum=15000 0 [12:08:08]StoreToDocumentArchive [12:08:08]shift 461 fd 37184 [12:08:08]save to /storage/0461/doc_00037184 [12:08:08]save last doc name /storage/0461/doc_00037184 to /storage/kkm_last_doc_name [12:08:08]save OK [12:08:08]Clear old archive folders... [12:08:08]ProcessDocumentItem done err = 0, tmpTLVsize=274 [12:08:08]tlvbuf is 009D0FA0 [12:08:08]SAM_PROTO_ClearQueue [12:08:08]wFMCommunicate request_size=4 [12:08:08]MH_SAM_APDU [12:08:08]CAPDU: 80 09 00 00 [12:08:08]Write to MH i2c: E2 08 00 5A 1D 80 09 00 00 00 00 00 00 E9 [12:08:08]Write i2c OK [12:08:08]MH_I2C_Read... [12:08:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:08:08]Read from MH i2c: E2 [12:08:08]MH_I2C_Read... [12:08:08]Read from MH i2c: E2 03 00 [12:08:08]MH_I2C_Read... [12:08:08]Read from MH i2c: E2 03 00 5A 1D 00 90 00 EB [12:08:08]RAPDU: 90 00 [12:08:08]wFMCommunicate OK [12:08:08]SAM_PROTO_ClearQueue done [12:08:08]KKMCreateOFDPacket [12:08:08]OFDProtocolAddRootSTLVToBuf [12:08:08]FM_MakeSignedData [12:08:08]FM_MakeSignedData [12:08:08]SAM_PROTO_SignData [12:08:08]wFMCommunicate request_size=4 [12:08:08]MH_SAM_APDU [12:08:08]CAPDU: 80 0D 01 02 [12:08:08]Write to MH i2c: E2 08 00 5B 1D 80 0D 01 02 00 00 00 00 F1 [12:08:08]Write i2c OK [12:08:08]MH_I2C_Read... [12:08:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:08:08]Read from MH i2c: E2 [12:08:08]MH_I2C_Read... [12:08:08]Read from MH i2c: E2 03 00 [12:08:08]MH_I2C_Read... [12:08:08]Read from MH i2c: E2 03 00 5B 1D 00 90 00 EC [12:08:08]RAPDU: 90 00 [12:08:08]wFMCommunicate OK [12:08:08]wFMCommunicate request_size=255 [12:08:08]MH_SAM_APDU [12:08:08]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 AE F2 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 [12:08:08]Write to MH i2c: E2 02 01 5C 1D 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 AE F2 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 00 00 9D [12:08:08]Write i2c OK [12:08:08]MH_I2C_Read... [12:08:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:08:08]Read from MH i2c: E2 [12:08:08]MH_I2C_Read... [12:08:08]Read from MH i2c: E2 03 00 [12:08:08]MH_I2C_Read... [12:08:08]Read from MH i2c: E2 03 00 5C 1D 00 90 00 ED [12:08:08]RAPDU: 90 00 [12:08:08]wFMCommunicate OK [12:08:08]wFMCommunicate request_size=33 [12:08:08]MH_SAM_APDU [12:08:08]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 33 37 32 10 04 04 00 40 91 00 00 35 04 06 00 2C 73 00 7F E9 21 [12:08:08]Write to MH i2c: E2 24 00 5D 1D 80 0D 02 02 1C 00 30 30 30 30 39 36 35 33 37 32 10 04 04 00 40 91 00 00 35 04 06 00 2C 73 00 7F E9 21 00 00 7C [12:08:08]Write i2c OK [12:08:08]MH_I2C_Read... [12:08:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:08:09]Read from MH i2c: E2 [12:08:09]MH_I2C_Read... [12:08:09]Read from MH i2c: E2 03 00 [12:08:09]MH_I2C_Read... [12:08:09]Read from MH i2c: E2 03 00 5D 1D 00 90 00 EE [12:08:09]RAPDU: 90 00 [12:08:09]wFMCommunicate OK [12:08:09]wFMCommunicate request_size=4 [12:08:09]MH_SAM_APDU [12:08:09]CAPDU: 80 0D 03 02 [12:08:09]Write to MH i2c: E2 08 00 5E 1D 80 0D 03 02 00 00 00 00 F6 [12:08:09]Write i2c OK [12:08:09]MH_I2C_Read... [12:08:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:08:09]Read from MH i2c: E2 [12:08:09]MH_I2C_Read... [12:08:09]Read from MH i2c: E2 0B 00 [12:08:09]MH_I2C_Read... [12:08:09]Read from MH i2c: E2 0B 00 5E 1D 00 39 80 D5 B5 E4 91 16 14 90 00 D9 [12:08:09]RAPDU: 39 80 D5 B5 E4 91 16 14 90 00 [12:08:09]wFMCommunicate OK [12:08:09]SAM_PROTO_SignData done [12:08:09]FM_MakeSignedData done [12:08:09]CreateOFDProtocolMessage [12:08:09]wFMCommunicate request_size=4 [12:08:09]MH_SAM_APDU [12:08:09]CAPDU: 80 11 00 00 [12:08:09]Write to MH i2c: E2 08 00 5F 1D 80 11 00 00 00 00 00 00 F6 [12:08:09]Write i2c OK [12:08:09]MH_I2C_Read... [12:08:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:08:09]Read from MH i2c: E2 [12:08:09]MH_I2C_Read... [12:08:09]Read from MH i2c: E2 17 00 [12:08:09]MH_I2C_Read... [12:08:09]Read from MH i2c: E2 17 00 5F 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 49 [12:08:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [12:08:09]wFMCommunicate OK [12:08:09]CreateOFDProtocolMessage done [12:08:09]OFDSenderStorePacket 37184 [12:08:09]StoreOFDPacket docnum=37184 [12:08:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 26 01 00 00 F9 BA 1E 01 7A C1 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 AE F2 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 40 91 00 00 35 04 06 00 2C 73 00 7F E9 21 39 80 D5 B5 E4 91 16 14 [12:08:09]CheckFolder [12:08:09]dirname=/storage/ofd_packets [12:08:09]CheckFolder done [12:08:09]ProducePacketName [12:08:09]name=ofd_packets/00037184 [12:08:09]NVStorageSaveData ofd_packets/00037184 [12:08:09]File name is /storage/ofd_packets/00037184 [12:08:09]Write 324 bytes [12:08:09]NVStorageSaveData done [12:08:09]OFDSenderStorePacket done [12:08:09]KKMCreateOFDPacket done [12:08:09]NVStorageSaveData kkm_last_timestamp [12:08:09]File name is /storage/kkm_last_timestamp [12:08:09]Write 4 bytes [12:08:09]NVStorageSaveData done [12:08:09]ExternCall_PrintAddStr [12:08:09]wPrintStart [12:08:09]Write to MH i2c: 01 00 00 60 1D 7D [12:08:09]Write i2c OK [12:08:09]MH_I2C_Read... [12:08:09]Read from MH i2c: 01 [12:08:09]MH_I2C_Read... [12:08:09]Read from MH i2c: 01 07 00 [12:08:09]MH_I2C_Read... [12:08:09]Read from MH i2c: 01 07 00 60 1D 00 00 00 00 00 FF 0F 92 [12:08:09]RasterBufferAndPrint [12:08:09]line Счет N : (3)76663 [12:08:09]line ИÐÐ: 02508201610067 [12:08:09]line Контрольно-КаÑÑовый Чек [12:08:09]line ПРОДÐЖР[12:08:09]line Товар: 4640030091645 [12:08:09]line Сигареты ESSE Exchange M [12:08:09]line 1.000 * 150.00 [12:08:09]line = 150.00 [12:08:09]line ÐДС 12% ÐСП 1% [12:08:09]line > о реализуемом товаре [12:08:09]line ИТОГО: 150.00 [12:08:09]line ÐСП 1% : 1.33 [12:08:09]line ÐДС 12% : 15.93 [12:08:09]line Ðаличными: 150.00 [12:08:09]line Безнал.: 0.00 [12:08:09]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [12:08:09]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [12:08:09]line СÐО: Общий режим [12:08:09]line Чек 32 20.10.2024 12:08 [12:08:09]line Смена: 461 ФФД: 1.0 [12:08:09]line ЗÐМ: 0300000235 [12:08:09]line РÐМ: 0000000000098149 [12:08:09]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [12:08:09]line ФМ: 0000000000965372 [12:08:09]line ФД: 37184 [12:08:09]line ФПД: 48872441243937 [12:08:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T120814&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37184&fm=48872441243937&tin=02508201610067®Number=0000000000098149&sum=15000 [12:08:09]OFD Sender: Processing packet 37184 [packets to send 25, broken 24] [12:08:09]ProducePacketName [12:08:09]name=ofd_packets/00037184 [12:08:09]OFD Sender: To server: ‡•öpG, [12:08:09]CommunicateWithHost lk.salyk.kg:30040 [12:08:09]ConnectInit lk.salyk.kg [12:08:09]line 0 [12:08:09]written 0, free lines is 4095 [12:08:09]Connected sock=7 [12:08: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 33 37 32 26 01 00 00 F9 BA 1E 01 7A C1 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 AE F2 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 40 91 00 00 35 04 06 00 2C 73 00 7F E9 21 39 80 D5 B5 E4 91 16 14 [12:08:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 8A 37 47 00 B5 7F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 40 91 00 00 F4 03 04 00 41 9B 14 67 B6 04 01 00 00 A1 39 1D 31 DF 59 52 4B [12:08:09]CommunicateWithHost err = 0 [12:08:09]CheckOFDResponse [12:08:09]1017 (14) - 77093643461234 [12:08:09]1041 (16) - 0000000000965372 [12:08:09]1040 (4) - 37184 [12:08:09]1012 (4) - 20.10.2024 05:55 [12:08:09]1206 (1) - 0 [12:08:09]OFD Sender: Remove packet 37184 [12:08:09]ProducePacketName [12:08:09]name=ofd_packets/00037184 [12:08:09]NVStorageDeleteData [12:08:09]Write to MH i2c: 01 00 00 88 1D A5 [12:08:09]Write i2c OK [12:08:09]MH_I2C_Read... [12:08:09]Read from MH i2c: 01 [12:08:09]MH_I2C_Read... [12:08:09]Read from MH i2c: 01 07 00 [12:08:09]MH_I2C_Read... [12:08:09]Read from MH i2c: 01 07 00 88 1D 00 00 00 00 00 FA 0C B2 [12:08:09]RasterBufferAndPrint [12:08:09]line [12:08:09]line [12:08:09]line [12:08:09]line [12:08:09]line [12:08:09]written 0, free lines is 3327 [12:08:09]process_action close_receipt done [12:08:09]requested_data is exist [12:08:09]produce_requested_data [12:08:09]requested_item fm.sn is exist - process it [12:08:09]wFMCommunicate request_size=4 [12:08:09]MH_SAM_APDU [12:08:09]CAPDU: 80 11 00 00 [12:08:09]Write to MH i2c: E2 08 00 8F 1D 80 11 00 00 00 00 00 00 26 [12:08:09]Write i2c OK [12:08:09]MH_I2C_Read... [12:08:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:08:09]Read from MH i2c: E2 [12:08:09]MH_I2C_Read... [12:08:09]Read from MH i2c: E2 17 00 [12:08:09]MH_I2C_Read... [12:08:09]Read from MH i2c: E2 17 00 8F 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 79 [12:08:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [12:08:09]wFMCommunicate OK [12:08:09]requested_item fd.num is exist - process it [12:08:09]SAM_PROTO_GetFieldsCounters [12:08:09]wFMCommunicate request_size=4 [12:08:09]MH_SAM_APDU [12:08:09]CAPDU: 80 13 00 00 [12:08:09]Write to MH i2c: E2 08 00 90 1D 80 13 00 00 00 00 00 00 29 [12:08:09]Write i2c OK [12:08:09]MH_I2C_Read... [12:08:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:08:10]Read from MH i2c: E2 [12:08:10]MH_I2C_Read... [12:08:10]Read from MH i2c: E2 62 00 [12:08:10]MH_I2C_Read... [12:08:10]Read from MH i2c: E2 62 00 90 1D 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 40 91 00 00 0E 04 04 00 CD 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 4F [12:08:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 40 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:08:10]wFMCommunicate OK [12:08:10]SAM_PROTO_GetFieldsCounters done [12:08:10]requested_item shift.num is exist - process it [12:08:10]requested_item shift.opened is exist - process it [12:08:10]req_shift_opened [12:08:10]FM_GetShiftState [12:08:10]SAM_PROTO_GetShiftState [12:08:10]wFMCommunicate request_size=4 [12:08:10]MH_SAM_APDU [12:08:10]CAPDU: 80 13 01 00 [12:08:10]Write to MH i2c: E2 08 00 91 1D 80 13 01 00 00 00 00 00 2B [12:08:10]Write i2c OK [12:08:10]MH_I2C_Read... [12:08:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:08:10]Read from MH i2c: E2 [12:08:10]MH_I2C_Read... [12:08:10]Read from MH i2c: E2 0E 00 [12:08:10]MH_I2C_Read... [12:08:10]Read from MH i2c: E2 0E 00 91 1D 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 80 [12:08:10]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [12:08:10]wFMCommunicate OK [12:08:10]SAM_PROTO_GetShiftState done [12:08:10]FM_GetShiftState done [12:08:10]req_shift_opened done [12:08:10]requested_item shift.open_date is exist - process it [12:08:10]req_shift_open_date [12:08:10]req_shift_open_date done [12:08:10]produce_requested_data done [12:08:10]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37184,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [12:08:10]process_action_free close_receipt [12:08:10]json_value_free [12:08:10]json_value_free done [12:08:10]process_json_proto returns [12:08:10]Send response to host [12:08:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37184,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [12:08:10]free response buf [12:08:10]execute_script done [12:08:10]execute_script returns [12:08:10]free content buf [12:08:10]Sock 9.Close socket [12:08:10]Sock 9.Thread stoped [12:08:10]OFD Sender: No OFD packet to send [12:08:15]OFD Sender: No OFD packet to send [12:08:20]OFD Sender: No OFD packet to send [12:08:25]OFD Sender: No OFD packet to send [12:08:30]OFD Sender: No OFD packet to send [12:08:35]OFD Sender: No OFD packet to send [12:08:40]OFD Sender: No OFD packet to send [12:08:45]OFD Sender: No OFD packet to send [12:08:50]OFD Sender: No OFD packet to send [12:08:55]OFD Sender: No OFD packet to send [12:09:00]OFD Sender: No OFD packet to send [12:09:05]OFD Sender: No OFD packet to send [12:09:10]OFD Sender: No OFD packet to send [12:09:15]OFD Sender: No OFD packet to send [12:09:20]OFD Sender: No OFD packet to send [12:09:25]OFD Sender: No OFD packet to send [12:09:30]OFD Sender: No OFD packet to send [12:09:35]OFD Sender: No OFD packet to send [12:09:40]OFD Sender: No OFD packet to send [12:09:45]OFD Sender: No OFD packet to send [12:09:50]OFD Sender: No OFD packet to send [12:09:55]OFD Sender: No OFD packet to send [12:10:00]OFD Sender: No OFD packet to send [12:10:05]OFD Sender: No OFD packet to send [12:10:10]OFD Sender: No OFD packet to send [12:10:15]OFD Sender: No OFD packet to send [12:10:20]OFD Sender: No OFD packet to send [12:10:25]OFD Sender: No OFD packet to send [12:10:30]OFD Sender: No OFD packet to send [12:10:35]OFD Sender: No OFD packet to send [12:10:40]OFD Sender: No OFD packet to send [12:10:45]OFD Sender: No OFD packet to send [12:10:50]OFD Sender: No OFD packet to send [12:10:55]OFD Sender: No OFD packet to send [12:11:00]OFD Sender: No OFD packet to send [12:11:05]OFD Sender: No OFD packet to send [12:11:10]OFD Sender: No OFD packet to send [12:11:15]OFD Sender: No OFD packet to send [12:11:20]OFD Sender: No OFD packet to send [12:11:25]OFD Sender: No OFD packet to send [12:11:30]OFD Sender: No OFD packet to send [12:11:35]OFD Sender: No OFD packet to send [12:11:40]OFD Sender: No OFD packet to send [12:11:45]OFD Sender: No OFD packet to send [12:11:50]OFD Sender: No OFD packet to send [12:11:55]OFD Sender: No OFD packet to send [12:12:00]OFD Sender: No OFD packet to send [12:12:05]OFD Sender: No OFD packet to send [12:12:10]OFD Sender: No OFD packet to send [12:12:15]OFD Sender: No OFD packet to send [12:12:20]OFD Sender: No OFD packet to send [12:12:25]OFD Sender: No OFD packet to send [12:12:30]OFD Sender: No OFD packet to send [12:12:35]OFD Sender: No OFD packet to send [12:12:40]OFD Sender: No OFD packet to send [12:12:45]OFD Sender: No OFD packet to send [12:12:50]OFD Sender: No OFD packet to send [12:12:55]OFD Sender: No OFD packet to send [12:13:00]OFD Sender: No OFD packet to send [12:13:05]OFD Sender: No OFD packet to send [12:13:10]OFD Sender: No OFD packet to send [12:13:15]OFD Sender: No OFD packet to send [12:13:20]OFD Sender: No OFD packet to send [12:13:25]OFD Sender: No OFD packet to send [12:13:30]OFD Sender: No OFD packet to send [12:13:35]OFD Sender: No OFD packet to send [12:13:40]OFD Sender: No OFD packet to send [12:13:45]OFD Sender: No OFD packet to send [12:13:50]OFD Sender: No OFD packet to send [12:13:55]OFD Sender: No OFD packet to send [12:14:00]OFD Sender: No OFD packet to send [12:14:05]OFD Sender: No OFD packet to send [12:14:10]OFD Sender: No OFD packet to send [12:14:15]OFD Sender: No OFD packet to send [12:14:20]OFD Sender: No OFD packet to send [12:14:25]OFD Sender: No OFD packet to send [12:14:30]OFD Sender: No OFD packet to send [12:14:35]OFD Sender: No OFD packet to send [12:14:40]OFD Sender: No OFD packet to send [12:14:45]OFD Sender: No OFD packet to send [12:14:50]OFD Sender: No OFD packet to send [12:14:55]OFD Sender: No OFD packet to send [12:15:00]OFD Sender: No OFD packet to send [12:15:05]OFD Sender: No OFD packet to send [12:15:10]OFD Sender: No OFD packet to send [12:15:15]OFD Sender: No OFD packet to send [12:15:20]OFD Sender: No OFD packet to send [12:15:25]OFD Sender: No OFD packet to send [12:15:30]OFD Sender: No OFD packet to send [12:15:35]OFD Sender: No OFD packet to send [12:15:40]OFD Sender: No OFD packet to send [12:15:45]OFD Sender: No OFD packet to send [12:15:50]OFD Sender: No OFD packet to send [12:15:55]OFD Sender: No OFD packet to send [12:16:00]OFD Sender: No OFD packet to send [12:16:05]OFD Sender: No OFD packet to send [12:16:10]OFD Sender: No OFD packet to send [12:16:15]OFD Sender: No OFD packet to send [12:16:20]OFD Sender: No OFD packet to send [12:16:25]OFD Sender: No OFD packet to send [12:16:30]OFD Sender: No OFD packet to send [12:16:35]OFD Sender: No OFD packet to send [12:16:40]OFD Sender: No OFD packet to send [12:16:45]OFD Sender: No OFD packet to send [12:16:50]OFD Sender: No OFD packet to send [12:16:55]OFD Sender: No OFD packet to send [12:17:00]OFD Sender: No OFD packet to send [12:17:05]OFD Sender: No OFD packet to send [12:17:10]OFD Sender: No OFD packet to send [12:17:15]OFD Sender: No OFD packet to send [12:17:20]OFD Sender: No OFD packet to send [12:17:25]accept exits with 10 [12:17:25]New connection [12:17:25]New thread 3066699108 created [12:17:25]Thread 3066555748 joined [12:17:25]Waiting for new connection... [12:17:25] Sock 10.Parse request [12:17:25]Sock 10.Check first char [12:17:25]Sock 10.First char is OK [12:17:25]request: POST /json_proto HTTP/1.0 [12:17:25]Method: POST [12:17:25]URL: /json_proto [12:17:25]Method is POST - this is cgi request [12:17:25]url: /json_proto [12:17:25]query_string will be loaded in cgi processing [12:17:25]execute_cgi json_proto POST (null) [12:17:25]execute_cgi path=json_proto method=POST [12:17:25]POST find Content-Length [12:17:25]Host: 172.17.53.68:8080 [12:17:25]Content-Length: 622 [12:17:25]Content-Type: application/json [12:17:25] [12:17:25]POST finish read [12:17:25]Found Content-Length = 622 [12:17:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76664", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:17:25]execute_script... [12:17: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)76664", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:17:25]POST & json_proto [12:17:25]process_json_proto [12:17:25]json parsed OK: [12:17:25]protocol is kg_v1.0 [12:17:25]action value=close_receipt [12:17:25]process_action close_receipt [12:17:25]cmd_close_receipt [12:17:25]MH_GetDate [12:17:25]Write to MH i2c: F0 00 00 92 1D 9E [12:17:25]Write i2c OK [12:17:25]MH_I2C_Read... [12:17:25]Read from MH i2c: F0 [12:17:25]MH_I2C_Read... [12:17:25]Read from MH i2c: F0 09 00 [12:17:25]MH_I2C_Read... [12:17:25]Read from MH i2c: F0 09 00 92 1D 00 DC F4 14 67 C5 A4 76 66 37 [12:17:25]GetLastDocTimeStamp 1729426094 [12:17:25]current date 1729426652 [12:17:25]FM_GetShiftState [12:17:25]SAM_PROTO_GetShiftState [12:17:25]wFMCommunicate request_size=4 [12:17:25]MH_SAM_APDU [12:17:25]CAPDU: 80 13 01 00 [12:17:25]Write to MH i2c: E2 08 00 93 1D 80 13 01 00 00 00 00 00 2D [12:17:25]Write i2c OK [12:17:25]MH_I2C_Read... [12:17:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:17:25]Read from MH i2c: E2 [12:17:25]MH_I2C_Read... [12:17:25]Read from MH i2c: E2 0E 00 [12:17:25]MH_I2C_Read... [12:17:25]Read from MH i2c: E2 0E 00 93 1D 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 82 [12:17:25]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [12:17:25]wFMCommunicate OK [12:17:25]SAM_PROTO_GetShiftState done [12:17:25]FM_GetShiftState done [12:17:25]opened in 1729383299 [12:17:25]opened+sec_in_day 1729469699 [12:17:25]quantity*price = 14400 [12:17:25]sum+1 = 14401 [12:17:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 ÐСП 1% : 1.27 ÐДС 12% : 15.29 Ðаличными: 144.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 33 20.10.2024 12:17 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37185 ФПД: 92778872833849 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T121732&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37185&fm=92778872833849&tin=02508201610067®Number=0000000000098149&sum=14400 0 [12:17:26]StoreToDocumentArchive [12:17:26]shift 461 fd 37185 [12:17:26]save to /storage/0461/doc_00037185 [12:17:26]save last doc name /storage/0461/doc_00037185 to /storage/kkm_last_doc_name [12:17:26]save OK [12:17:26]Clear old archive folders... [12:17:26]ProcessDocumentItem done err = 0, tmpTLVsize=275 [12:17:26]tlvbuf is B6F1A4F0 [12:17:26]SAM_PROTO_ClearQueue [12:17:26]wFMCommunicate request_size=4 [12:17:26]MH_SAM_APDU [12:17:26]CAPDU: 80 09 00 00 [12:17:26]Write to MH i2c: E2 08 00 A0 1D 80 09 00 00 00 00 00 00 2F [12:17:26]Write i2c OK [12:17:26]MH_I2C_Read... [12:17:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:17:26]Read from MH i2c: E2 [12:17:26]MH_I2C_Read... [12:17:26]Read from MH i2c: E2 03 00 [12:17:26]MH_I2C_Read... [12:17:26]Read from MH i2c: E2 03 00 A0 1D 00 90 00 31 [12:17:26]RAPDU: 90 00 [12:17:26]wFMCommunicate OK [12:17:26]SAM_PROTO_ClearQueue done [12:17:26]KKMCreateOFDPacket [12:17:26]OFDProtocolAddRootSTLVToBuf [12:17:26]FM_MakeSignedData [12:17:26]FM_MakeSignedData [12:17:26]SAM_PROTO_SignData [12:17:26]wFMCommunicate request_size=4 [12:17:26]MH_SAM_APDU [12:17:26]CAPDU: 80 0D 01 02 [12:17:26]Write to MH i2c: E2 08 00 A1 1D 80 0D 01 02 00 00 00 00 37 [12:17:26]Write i2c OK [12:17:26]MH_I2C_Read... [12:17:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:17:26]Read from MH i2c: E2 [12:17:26]MH_I2C_Read... [12:17:26]Read from MH i2c: E2 03 00 [12:17:26]MH_I2C_Read... [12:17:26]Read from MH i2c: E2 03 00 A1 1D 00 90 00 32 [12:17:26]RAPDU: 90 00 [12:17:26]wFMCommunicate OK [12:17:26]wFMCommunicate request_size=255 [12:17:26]MH_SAM_APDU [12:17:26]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 DC F4 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 [12:17:26]Write to MH i2c: E2 02 01 A2 1D 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 DC F4 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 00 00 7C [12:17:26]Write i2c OK [12:17:26]MH_I2C_Read... [12:17:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:17:26]Read from MH i2c: E2 [12:17:26]MH_I2C_Read... [12:17:26]Read from MH i2c: E2 03 00 [12:17:26]MH_I2C_Read... [12:17:26]Read from MH i2c: E2 03 00 A2 1D 00 90 00 33 [12:17:26]RAPDU: 90 00 [12:17:26]wFMCommunicate OK [12:17:26]wFMCommunicate request_size=34 [12:17:26]MH_SAM_APDU [12:17:26]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 41 91 00 00 35 04 06 00 54 61 C3 C2 07 39 [12:17:26]Write to MH i2c: E2 25 00 A3 1D 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 41 91 00 00 35 04 06 00 54 61 C3 C2 07 39 00 00 47 [12:17:26]Write i2c OK [12:17:26]MH_I2C_Read... [12:17:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:17:26]Read from MH i2c: E2 [12:17:26]MH_I2C_Read... [12:17:26]Read from MH i2c: E2 03 00 [12:17:26]MH_I2C_Read... [12:17:26]Read from MH i2c: E2 03 00 A3 1D 00 90 00 34 [12:17:26]RAPDU: 90 00 [12:17:26]wFMCommunicate OK [12:17:26]wFMCommunicate request_size=4 [12:17:26]MH_SAM_APDU [12:17:26]CAPDU: 80 0D 03 02 [12:17:26]Write to MH i2c: E2 08 00 A4 1D 80 0D 03 02 00 00 00 00 3C [12:17:26]Write i2c OK [12:17:26]MH_I2C_Read... [12:17:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:17:27]Read from MH i2c: E2 [12:17:27]MH_I2C_Read... [12:17:27]Read from MH i2c: E2 0B 00 [12:17:27]MH_I2C_Read... [12:17:27]Read from MH i2c: E2 0B 00 A4 1D 00 08 DD 34 85 6E DB 17 12 90 00 4D [12:17:27]RAPDU: 08 DD 34 85 6E DB 17 12 90 00 [12:17:27]wFMCommunicate OK [12:17:27]SAM_PROTO_SignData done [12:17:27]FM_MakeSignedData done [12:17:27]CreateOFDProtocolMessage [12:17:27]wFMCommunicate request_size=4 [12:17:27]MH_SAM_APDU [12:17:27]CAPDU: 80 11 00 00 [12:17:27]Write to MH i2c: E2 08 00 A5 1D 80 11 00 00 00 00 00 00 3C [12:17:27]Write i2c OK [12:17:27]MH_I2C_Read... [12:17:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:17:27]Read from MH i2c: E2 [12:17:27]MH_I2C_Read... [12:17:27]Read from MH i2c: E2 17 00 [12:17:27]MH_I2C_Read... [12:17:27]Read from MH i2c: E2 17 00 A5 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 8F [12:17:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [12:17:27]wFMCommunicate OK [12:17:27]CreateOFDProtocolMessage done [12:17:27]OFDSenderStorePacket 37185 [12:17:27]StoreOFDPacket docnum=37185 [12:17:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 27 01 00 00 D3 79 1F 01 9F 7D 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 DC F4 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 41 91 00 00 35 04 06 00 54 61 C3 C2 07 39 08 DD 34 85 6E DB 17 12 [12:17:27]CheckFolder [12:17:27]dirname=/storage/ofd_packets [12:17:27]CheckFolder done [12:17:27]ProducePacketName [12:17:27]name=ofd_packets/00037185 [12:17:27]NVStorageSaveData ofd_packets/00037185 [12:17:27]File name is /storage/ofd_packets/00037185 [12:17:27]Write 325 bytes [12:17:27]NVStorageSaveData done [12:17:27]OFDSenderStorePacket done [12:17:27]KKMCreateOFDPacket done [12:17:27]NVStorageSaveData kkm_last_timestamp [12:17:27]File name is /storage/kkm_last_timestamp [12:17:27]Write 4 bytes [12:17:27]NVStorageSaveData done [12:17:27]ExternCall_PrintAddStr [12:17:27]wPrintStart [12:17:27]Write to MH i2c: 01 00 00 A6 1D C3 [12:17:27]Write i2c OK [12:17:27]MH_I2C_Read... [12:17:27]Read from MH i2c: 01 [12:17:27]MH_I2C_Read... [12:17:27]Read from MH i2c: 01 07 00 [12:17:27]MH_I2C_Read... [12:17:27]Read from MH i2c: 01 07 00 A6 1D 00 00 00 00 00 FF 0F D8 [12:17:27]RasterBufferAndPrint [12:17:27]line Счет N : (3)76664 [12:17:27]line ИÐÐ: 02508201610067 [12:17:27]line Контрольно-КаÑÑовый Чек [12:17:27]line ПРОДÐЖР[12:17:27]line Товар: 48743587 [12:17:27]line Сигареты Winston XStyle Silver [12:17:27]line 1.000 * 144.00 [12:17:27]line = 144.00 [12:17:27]line ÐДС 12% ÐСП 1% [12:17:27]line > о реализуемом товаре [12:17:27]line ИТОГО: 144.00 [12:17:27]line ÐСП 1% : 1.27 [12:17:27]line ÐДС 12% : 15.29 [12:17:27]line Ðаличными: 144.00 [12:17:27]line Безнал.: 0.00 [12:17:27]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [12:17:27]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [12:17:27]line СÐО: Общий режим [12:17:27]line Чек 33 20.10.2024 12:17 [12:17:27]line Смена: 461 ФФД: 1.0 [12:17:27]line ЗÐМ: 0300000235 [12:17:27]line РÐМ: 0000000000098149 [12:17:27]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [12:17:27]line ФМ: 0000000000965372 [12:17:27]line ФД: 37185 [12:17:27]line ФПД: 92778872833849 [12:17:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T121732&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37185&fm=92778872833849&tin=02508201610067®Number=0000000000098149&sum=14400 [12:17:27]line 0 [12:17:27]OFD Sender: Processing packet 37185 [packets to send 25, broken 24] [12:17:27]ProducePacketName [12:17:27]name=ofd_packets/00037185 [12:17:27]OFD Sender: To server: ‡•öpG, [12:17:27]CommunicateWithHost lk.salyk.kg:30040 [12:17:27]ConnectInit lk.salyk.kg [12:17:27]written 0, free lines is 4095 [12:17:27]Connected sock=9 [12:17: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 33 37 32 27 01 00 00 D3 79 1F 01 9F 7D 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 DC F4 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 41 91 00 00 35 04 06 00 54 61 C3 C2 07 39 08 DD 34 85 6E DB 17 12 [12:17:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 A5 36 47 00 7A 68 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 41 91 00 00 F4 03 04 00 6F 9D 14 67 B6 04 01 00 00 77 C0 AF 3E 9D A5 33 CE [12:17:27]CommunicateWithHost err = 0 [12:17:27]CheckOFDResponse [12:17:27]1017 (14) - 77093643461234 [12:17:27]1041 (16) - 0000000000965372 [12:17:27]1040 (4) - 37185 [12:17:27]1012 (4) - 20.10.2024 06:04 [12:17:27]1206 (1) - 0 [12:17:27]OFD Sender: Remove packet 37185 [12:17:27]ProducePacketName [12:17:27]name=ofd_packets/00037185 [12:17:27]NVStorageDeleteData [12:17:27]Write to MH i2c: 01 00 00 CF 1D EC [12:17:27]Write i2c OK [12:17:27]MH_I2C_Read... [12:17:27]Read from MH i2c: 01 [12:17:27]MH_I2C_Read... [12:17:27]Read from MH i2c: 01 07 00 [12:17:27]MH_I2C_Read... [12:17:27]Read from MH i2c: 01 07 00 CF 1D 00 00 00 00 00 DE 0C DD [12:17:27]RasterBufferAndPrint [12:17:27]line [12:17:27]line [12:17:27]line [12:17:27]line [12:17:27]line [12:17:27]written 0, free lines is 3300 [12:17:27]process_action close_receipt done [12:17:27]requested_data is exist [12:17:27]produce_requested_data [12:17:27]requested_item fm.sn is exist - process it [12:17:27]wFMCommunicate request_size=4 [12:17:27]MH_SAM_APDU [12:17:27]CAPDU: 80 11 00 00 [12:17:27]Write to MH i2c: E2 08 00 D6 1D 80 11 00 00 00 00 00 00 6D [12:17:27]Write i2c OK [12:17:27]MH_I2C_Read... [12:17:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:17:27]Read from MH i2c: E2 [12:17:27]MH_I2C_Read... [12:17:27]Read from MH i2c: E2 17 00 [12:17:27]MH_I2C_Read... [12:17:27]Read from MH i2c: E2 17 00 D6 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 C0 [12:17:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [12:17:27]wFMCommunicate OK [12:17:27]requested_item fd.num is exist - process it [12:17:27]SAM_PROTO_GetFieldsCounters [12:17:27]wFMCommunicate request_size=4 [12:17:27]MH_SAM_APDU [12:17:27]CAPDU: 80 13 00 00 [12:17:27]Write to MH i2c: E2 08 00 D7 1D 80 13 00 00 00 00 00 00 70 [12:17:27]Write i2c OK [12:17:27]MH_I2C_Read... [12:17:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:17:28]Read from MH i2c: E2 [12:17:28]MH_I2C_Read... [12:17:28]Read from MH i2c: E2 62 00 [12:17:28]MH_I2C_Read... [12:17:28]Read from MH i2c: E2 62 00 D7 1D 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 41 91 00 00 0E 04 04 00 CD 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 9A [12:17: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 41 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 21 00 00 00 5E 04 04 00 21 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:17:28]wFMCommunicate OK [12:17:28]SAM_PROTO_GetFieldsCounters done [12:17:28]requested_item shift.num is exist - process it [12:17:28]requested_item shift.opened is exist - process it [12:17:28]req_shift_opened [12:17:28]FM_GetShiftState [12:17:28]SAM_PROTO_GetShiftState [12:17:28]wFMCommunicate request_size=4 [12:17:28]MH_SAM_APDU [12:17:28]CAPDU: 80 13 01 00 [12:17:28]Write to MH i2c: E2 08 00 D8 1D 80 13 01 00 00 00 00 00 72 [12:17:28]Write i2c OK [12:17:28]MH_I2C_Read... [12:17:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:17:28]Read from MH i2c: E2 [12:17:28]MH_I2C_Read... [12:17:28]Read from MH i2c: E2 0E 00 [12:17:28]MH_I2C_Read... [12:17:28]Read from MH i2c: E2 0E 00 D8 1D 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 C7 [12:17:28]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [12:17:28]wFMCommunicate OK [12:17:28]SAM_PROTO_GetShiftState done [12:17:28]FM_GetShiftState done [12:17:28]req_shift_opened done [12:17:28]requested_item shift.open_date is exist - process it [12:17:28]req_shift_open_date [12:17:28]req_shift_open_date done [12:17:28]produce_requested_data done [12:17:28]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37185,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [12:17:28]process_action_free close_receipt [12:17:28]json_value_free [12:17:28]json_value_free done [12:17:28]process_json_proto returns [12:17:28]Send response to host [12:17:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37185,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [12:17:28]free response buf [12:17:28]execute_script done [12:17:28]execute_script returns [12:17:28]free content buf [12:17:28]Sock 10.Close socket [12:17:28]Sock 10.Thread stoped [12:17:28]OFD Sender: No OFD packet to send [12:17:33]OFD Sender: No OFD packet to send [12:17:38]OFD Sender: No OFD packet to send [12:17:43]OFD Sender: No OFD packet to send [12:17:48]OFD Sender: No OFD packet to send [12:17:53]OFD Sender: No OFD packet to send [12:17:58]OFD Sender: No OFD packet to send [12:18:03]OFD Sender: No OFD packet to send [12:18:08]OFD Sender: No OFD packet to send [12:18:13]OFD Sender: No OFD packet to send [12:18:18]OFD Sender: No OFD packet to send [12:18:23]OFD Sender: No OFD packet to send [12:18:28]OFD Sender: No OFD packet to send [12:18:33]OFD Sender: No OFD packet to send [12:18:38]OFD Sender: No OFD packet to send [12:18:43]OFD Sender: No OFD packet to send [12:18:48]OFD Sender: No OFD packet to send [12:18:53]OFD Sender: No OFD packet to send [12:18:58]OFD Sender: No OFD packet to send [12:19:03]OFD Sender: No OFD packet to send [12:19:08]OFD Sender: No OFD packet to send [12:19:13]OFD Sender: No OFD packet to send [12:19:18]OFD Sender: No OFD packet to send [12:19:23]OFD Sender: No OFD packet to send [12:19:28]OFD Sender: No OFD packet to send [12:19:33]OFD Sender: No OFD packet to send [12:19:38]OFD Sender: No OFD packet to send [12:19:43]OFD Sender: No OFD packet to send [12:19:48]OFD Sender: No OFD packet to send [12:19:53]OFD Sender: No OFD packet to send [12:19:58]OFD Sender: No OFD packet to send [12:20:03]OFD Sender: No OFD packet to send [12:20:08]OFD Sender: No OFD packet to send [12:20:13]OFD Sender: No OFD packet to send [12:20:18]OFD Sender: No OFD packet to send [12:20:23]OFD Sender: No OFD packet to send [12:20:28]OFD Sender: No OFD packet to send [12:20:33]OFD Sender: No OFD packet to send [12:20:38]OFD Sender: No OFD packet to send [12:20:43]OFD Sender: No OFD packet to send [12:20:48]OFD Sender: No OFD packet to send [12:20:53]OFD Sender: No OFD packet to send [12:20:58]OFD Sender: No OFD packet to send [12:21:03]OFD Sender: No OFD packet to send [12:21:08]OFD Sender: No OFD packet to send [12:21:13]OFD Sender: No OFD packet to send [12:21:18]OFD Sender: No OFD packet to send [12:21:23]OFD Sender: No OFD packet to send [12:21:28]OFD Sender: No OFD packet to send [12:21:33]OFD Sender: No OFD packet to send [12:21:38]OFD Sender: No OFD packet to send [12:21:43]OFD Sender: No OFD packet to send [12:21:48]OFD Sender: No OFD packet to send [12:21:53]OFD Sender: No OFD packet to send [12:21:58]OFD Sender: No OFD packet to send [12:22:03]OFD Sender: No OFD packet to send [12:22:08]OFD Sender: No OFD packet to send [12:22:13]OFD Sender: No OFD packet to send [12:22:18]OFD Sender: No OFD packet to send [12:22:23]OFD Sender: No OFD packet to send [12:22:28]OFD Sender: No OFD packet to send [12:22:33]OFD Sender: No OFD packet to send [12:22:38]OFD Sender: No OFD packet to send [12:22:43]OFD Sender: No OFD packet to send [12:22:48]OFD Sender: No OFD packet to send [12:22:53]OFD Sender: No OFD packet to send [12:22:58]OFD Sender: No OFD packet to send [12:23:03]OFD Sender: No OFD packet to send [12:23:08]OFD Sender: No OFD packet to send [12:23:13]OFD Sender: No OFD packet to send [12:23:18]OFD Sender: No OFD packet to send [12:23:23]OFD Sender: No OFD packet to send [12:23:28]OFD Sender: No OFD packet to send [12:23:33]OFD Sender: No OFD packet to send [12:23:38]OFD Sender: No OFD packet to send [12:23:43]OFD Sender: No OFD packet to send [12:23:48]OFD Sender: No OFD packet to send [12:23:53]OFD Sender: No OFD packet to send [12:23:58]OFD Sender: No OFD packet to send [12:24:03]OFD Sender: No OFD packet to send [12:24:08]OFD Sender: No OFD packet to send [12:24:13]OFD Sender: No OFD packet to send [12:24:18]OFD Sender: No OFD packet to send [12:24:23]OFD Sender: No OFD packet to send [12:24:28]OFD Sender: No OFD packet to send [12:24:33]OFD Sender: No OFD packet to send [12:24:38]OFD Sender: No OFD packet to send [12:24:43]OFD Sender: No OFD packet to send [12:24:48]OFD Sender: No OFD packet to send [12:24:53]OFD Sender: No OFD packet to send [12:24:58]OFD Sender: No OFD packet to send [12:25:03]OFD Sender: No OFD packet to send [12:25:08]OFD Sender: No OFD packet to send [12:25:13]OFD Sender: No OFD packet to send [12:25:18]OFD Sender: No OFD packet to send [12:25:23]OFD Sender: No OFD packet to send [12:25:28]OFD Sender: No OFD packet to send [12:25:33]OFD Sender: No OFD packet to send [12:25:38]OFD Sender: No OFD packet to send [12:25:43]OFD Sender: No OFD packet to send [12:25:46]accept exits with 7 [12:25:46]New connection [12:25:46]New thread 3066555748 created [12:25:46]Thread 3066699108 joined [12:25:46]Waiting for new connection... [12:25:46] Sock 7.Parse request [12:25:46]Sock 7.Check first char [12:25:46]Sock 7.First char is OK [12:25:46]request: POST /json_proto HTTP/1.0 [12:25:46]Method: POST [12:25:46]URL: /json_proto [12:25:46]Method is POST - this is cgi request [12:25:46]url: /json_proto [12:25:46]query_string will be loaded in cgi processing [12:25:46]execute_cgi json_proto POST (null) [12:25:46]execute_cgi path=json_proto method=POST [12:25:46]POST find Content-Length [12:25:46]Host: 172.17.53.68:8080 [12:25:46]Content-Length: 970 [12:25:46]Content-Type: application/json [12:25:46] [12:25:46]POST finish read [12:25:46]Found Content-Length = 970 [12:25:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76665", "tax_sys" : 0, "items" : [ { "code": "4607010748616", "name": "\u0421\u0443\u0445 \u041A\u0438\u0440\u0438\u0435\u0448\u043A\u0438 \u041C\u0410\u0425 - \u043E\u0445\u043E\u0442\u043D\u0438\u0447\u044C\u0438 \u043A\u043E\u043B\u0431\u0430\u0441\u043A\u0438 40", "price" : 21.00, "quantity" : 1.000, "sum" : 21.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" : 44.00, "quantity" : 1.000, "sum" : 44.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:25:46]execute_script... [12:25: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)76665", "tax_sys" : 0, "items" : [ { "code": "4607010748616", "name": "\u0421\u0443\u0445 \u041A\u0438\u0440\u0438\u0435\u0448\u043A\u0438 \u041C\u0410\u0425 - \u043E\u0445\u043E\u0442\u043D\u0438\u0447\u044C\u0438 \u043A\u043E\u043B\u0431\u0430\u0441\u043A\u0438 40", "price" : 21.00, "quantity" : 1.000, "sum" : 21.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" : 44.00, "quantity" : 1.000, "sum" : 44.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:25:46]POST & json_proto [12:25:46]process_json_proto [12:25:46]json parsed OK: [12:25:46]protocol is kg_v1.0 [12:25:46]action value=close_receipt [12:25:46]process_action close_receipt [12:25:46]cmd_close_receipt [12:25:46]MH_GetDate [12:25:46]Write to MH i2c: F0 00 00 D9 1D E5 [12:25:46]Write i2c OK [12:25:46]MH_I2C_Read... [12:25:46]Read from MH i2c: F0 [12:25:46]MH_I2C_Read... [12:25:46]Read from MH i2c: F0 09 00 [12:25:46]MH_I2C_Read... [12:25:46]Read from MH i2c: F0 09 00 D9 1D 00 D2 F6 14 67 C5 A4 76 66 76 [12:25:46]GetLastDocTimeStamp 1729426652 [12:25:46]current date 1729427154 [12:25:46]FM_GetShiftState [12:25:46]SAM_PROTO_GetShiftState [12:25:46]wFMCommunicate request_size=4 [12:25:46]MH_SAM_APDU [12:25:46]CAPDU: 80 13 01 00 [12:25:46]Write to MH i2c: E2 08 00 DA 1D 80 13 01 00 00 00 00 00 74 [12:25:46]Write i2c OK [12:25:46]MH_I2C_Read... [12:25:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:25:46]Read from MH i2c: E2 [12:25:46]MH_I2C_Read... [12:25:46]Read from MH i2c: E2 0E 00 [12:25:46]MH_I2C_Read... [12:25:46]Read from MH i2c: E2 0E 00 DA 1D 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 C9 [12:25:46]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [12:25:46]wFMCommunicate OK [12:25:46]SAM_PROTO_GetShiftState done [12:25:46]FM_GetShiftState done [12:25:46]opened in 1729383299 [12:25:46]opened+sec_in_day 1729469699 [12:25:46]quantity*price = 2100 [12:25:46]sum+1 = 2101 [12:25:46]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870112003925 Конд ULKER-Albeni 40gr (6*24) 1.000 * 44.00 = 44.00 ÐДС 12% ÐСП 1% > о реализуемом товаре ИТОГО: 65.00 ÐСП 1% : 0.58 ÐДС 12% : 6.90 Ðаличными: 65.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 34 20.10.2024 12:25 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37186 ФПД: 131918642151218 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T122554&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37186&fm=131918642151218&tin=02508201610067®Number=0000000000098149&sum=6500 0 [12:25:47]StoreToDocumentArchive [12:25:47]shift 461 fd 37186 [12:25:47]save to /storage/0461/doc_00037186 [12:25:47]save last doc name /storage/0461/doc_00037186 to /storage/kkm_last_doc_name [12:25:47]save OK [12:25:47]Clear old archive folders... [12:25:47]ProcessDocumentItem done err = 0, tmpTLVsize=418 [12:25:47]tlvbuf is 00A31B50 [12:25:47]SAM_PROTO_ClearQueue [12:25:47]wFMCommunicate request_size=4 [12:25:47]MH_SAM_APDU [12:25:47]CAPDU: 80 09 00 00 [12:25:47]Write to MH i2c: E2 08 00 E7 1D 80 09 00 00 00 00 00 00 76 [12:25:47]Write i2c OK [12:25:47]MH_I2C_Read... [12:25:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:25:47]Read from MH i2c: E2 [12:25:47]MH_I2C_Read... [12:25:47]Read from MH i2c: E2 03 00 [12:25:47]MH_I2C_Read... [12:25:47]Read from MH i2c: E2 03 00 E7 1D 00 90 00 78 [12:25:47]RAPDU: 90 00 [12:25:47]wFMCommunicate OK [12:25:47]SAM_PROTO_ClearQueue done [12:25:47]KKMCreateOFDPacket [12:25:47]OFDProtocolAddRootSTLVToBuf [12:25:47]FM_MakeSignedData [12:25:47]FM_MakeSignedData [12:25:47]SAM_PROTO_SignData [12:25:47]wFMCommunicate request_size=4 [12:25:47]MH_SAM_APDU [12:25:47]CAPDU: 80 0D 01 02 [12:25:47]Write to MH i2c: E2 08 00 E8 1D 80 0D 01 02 00 00 00 00 7E [12:25:47]Write i2c OK [12:25:47]MH_I2C_Read... [12:25:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:25:47]Read from MH i2c: E2 [12:25:47]MH_I2C_Read... [12:25:47]Read from MH i2c: E2 03 00 [12:25:47]MH_I2C_Read... [12:25:47]Read from MH i2c: E2 03 00 E8 1D 00 90 00 79 [12:25:47]RAPDU: 90 00 [12:25:47]wFMCommunicate OK [12:25:47]wFMCommunicate request_size=255 [12:25:47]MH_SAM_APDU [12:25:47]CAPDU: 80 0D 02 02 FA 03 00 A2 01 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 38 36 31 36 06 04 47 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D0 9C D0 90 D0 A5 20 2D 20 D0 BE D1 85 D0 BE D1 82 D0 BD D0 B8 D1 87 D1 8C D0 B8 20 D0 BA D0 BE D0 BB D0 B1 D0 B0 D1 81 D0 BA D0 B8 20 34 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 08 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 [12:25:47]Write to MH i2c: E2 02 01 E9 1D 80 0D 02 02 FA 00 03 00 A2 01 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 38 36 31 36 06 04 47 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D0 9C D0 90 D0 A5 20 2D 20 D0 BE D1 85 D0 BE D1 82 D0 BD D0 B8 D1 87 D1 8C D0 B8 20 D0 BA D0 BE D0 BB D0 B1 D0 B0 D1 81 D0 BA D0 B8 20 34 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 08 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 00 F5 [12:25:47]Write i2c OK [12:25:47]MH_I2C_Read... [12:25:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:25:48]Read from MH i2c: E2 [12:25:48]MH_I2C_Read... [12:25:48]Read from MH i2c: E2 03 00 [12:25:48]MH_I2C_Read... [12:25:48]Read from MH i2c: E2 03 00 E9 1D 00 90 00 7A [12:25:48]RAPDU: 90 00 [12:25:48]wFMCommunicate OK [12:25:48]wFMCommunicate request_size=177 [12:25:48]MH_SAM_APDU [12:25:48]CAPDU: 80 0D 02 02 AC 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 3A 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 22 00 00 00 F4 03 04 00 D2 F6 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 42 91 00 00 35 04 06 00 77 FA B3 CD FF 32 [12:25:48]Write to MH i2c: E2 B4 00 EA 1D 80 0D 02 02 AC 00 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 3A 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 22 00 00 00 F4 03 04 00 D2 F6 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 42 91 00 00 35 04 06 00 77 FA B3 CD FF 32 00 00 F4 [12:25:48]Write i2c OK [12:25:48]MH_I2C_Read... [12:25:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:25:48]Read from MH i2c: E2 [12:25:48]MH_I2C_Read... [12:25:48]Read from MH i2c: E2 03 00 [12:25:48]MH_I2C_Read... [12:25:48]Read from MH i2c: E2 03 00 EA 1D 00 90 00 7B [12:25:48]RAPDU: 90 00 [12:25:48]wFMCommunicate OK [12:25:48]wFMCommunicate request_size=4 [12:25:48]MH_SAM_APDU [12:25:48]CAPDU: 80 0D 03 02 [12:25:48]Write to MH i2c: E2 08 00 EB 1D 80 0D 03 02 00 00 00 00 83 [12:25:48]Write i2c OK [12:25:48]MH_I2C_Read... [12:25:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:25:48]Read from MH i2c: E2 [12:25:48]MH_I2C_Read... [12:25:48]Read from MH i2c: E2 0B 00 [12:25:48]MH_I2C_Read... [12:25:48]Read from MH i2c: E2 0B 00 EB 1D 00 C2 3A 8C 8F 91 78 48 CD 90 00 B9 [12:25:48]RAPDU: C2 3A 8C 8F 91 78 48 CD 90 00 [12:25:48]wFMCommunicate OK [12:25:48]SAM_PROTO_SignData done [12:25:48]FM_MakeSignedData done [12:25:48]CreateOFDProtocolMessage [12:25:48]wFMCommunicate request_size=4 [12:25:48]MH_SAM_APDU [12:25:48]CAPDU: 80 11 00 00 [12:25:48]Write to MH i2c: E2 08 00 EC 1D 80 11 00 00 00 00 00 00 83 [12:25:48]Write i2c OK [12:25:48]MH_I2C_Read... [12:25:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:25:48]Read from MH i2c: E2 [12:25:48]MH_I2C_Read... [12:25:48]Read from MH i2c: E2 17 00 [12:25:48]MH_I2C_Read... [12:25:48]Read from MH i2c: E2 17 00 EC 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 D6 [12:25:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [12:25:48]wFMCommunicate OK [12:25:48]CreateOFDProtocolMessage done [12:25:48]OFDSenderStorePacket 37186 [12:25:48]StoreOFDPacket docnum=37186 [12:25:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 B6 01 00 00 8F C3 AE 01 5F FE 5A 03 01 00 03 00 A2 01 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 38 36 31 36 06 04 47 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D0 9C D0 90 D0 A5 20 2D 20 D0 BE D1 85 D0 BE D1 82 D0 BD D0 B8 D1 87 D1 8C D0 B8 20 D0 BA D0 BE D0 BB D0 B1 D0 B0 D1 81 D0 BA D0 B8 20 34 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 08 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 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 3A 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 22 00 00 00 F4 03 04 00 D2 F6 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 42 91 00 00 35 04 06 00 77 FA B3 CD FF 32 C2 3A 8C 8F 91 78 48 CD [12:25:48]CheckFolder [12:25:48]dirname=/storage/ofd_packets [12:25:48]CheckFolder done [12:25:48]ProducePacketName [12:25:48]name=ofd_packets/00037186 [12:25:48]NVStorageSaveData ofd_packets/00037186 [12:25:48]File name is /storage/ofd_packets/00037186 [12:25:48]Write 468 bytes [12:25:48]NVStorageSaveData done [12:25:48]OFDSenderStorePacket done [12:25:48]KKMCreateOFDPacket done [12:25:48]NVStorageSaveData kkm_last_timestamp [12:25:48]File name is /storage/kkm_last_timestamp [12:25:48]Write 4 bytes [12:25:48]NVStorageSaveData done [12:25:48]ExternCall_PrintAddStr [12:25:48]wPrintStart [12:25:48]Write to MH i2c: 01 00 00 ED 1D 0A [12:25:48]Write i2c OK [12:25:48]MH_I2C_Read... [12:25:48]Read from MH i2c: 01 [12:25:48]MH_I2C_Read... [12:25:48]Read from MH i2c: 01 07 00 [12:25:48]MH_I2C_Read... [12:25:48]Read from MH i2c: 01 07 00 ED 1D 00 00 00 00 00 FF 0F 1F [12:25:48]RasterBufferAndPrint [12:25:48]line Счет N : (3)76665 [12:25:48]line ИÐÐ: 02508201610067 [12:25:48]line Контрольно-КаÑÑовый Чек [12:25:48]line ПРОДÐЖР[12:25:48]line Товар: 4607010748616 [12:25:48]line Сух Кириешки МÐÐ¥ - охотничьи колбаÑки 40 [12:25:48]line 1.000 * 21.00 [12:25:48]line = 21.00 [12:25:48]line ÐДС 12% ÐСП 1% [12:25:48]line > о реализуемом товаре [12:25:48]line Товар: 4870112003925 [12:25:48]line Конд ULKER-Albeni 40gr (6*24) [12:25:48]line 1.000 * 44.00 [12:25:48]line = 44.00 [12:25:48]line ÐДС 12% ÐСП 1% [12:25:48]line > о реализуемом товаре [12:25:48]line ИТОГО: 65.00 [12:25:48]line ÐСП 1% : 0.58 [12:25:48]line ÐДС 12% : 6.90 [12:25:48]line Ðаличными: 65.00 [12:25:48]line Безнал.: 0.00 [12:25:48]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [12:25:48]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [12:25:48]line СÐО: Общий режим [12:25:48]line Чек 34 20.10.2024 12:25 [12:25:48]line Смена: 461 ФФД: 1.0 [12:25:48]line ЗÐМ: 0300000235 [12:25:48]line РÐМ: 0000000000098149 [12:25:48]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [12:25:48]line ФМ: 0000000000965372 [12:25:48]line ФД: 37186 [12:25:48]line ФПД: 131918642151218 [12:25:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T122554&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37186&fm=131918642151218&tin=02508201610067®Number=0000000000098149&sum=6500 [12:25:48]line 0 [12:25:48]OFD Sender: Processing packet 37186 [packets to send 25, broken 24] [12:25:48]ProducePacketName [12:25:48]name=ofd_packets/00037186 [12:25:48]OFD Sender: To server: ‡•öpG, [12:25:48]CommunicateWithHost lk.salyk.kg:30040 [12:25:48]ConnectInit lk.salyk.kg [12:25:48]written 0, free lines is 4095 [12:25:48]Connected sock=10 [12:25:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 B6 01 00 00 8F C3 AE 01 5F FE 5A 03 01 00 03 00 A2 01 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 38 36 31 36 06 04 47 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D0 9C D0 90 D0 A5 20 2D 20 D0 BE D1 85 D0 BE D1 82 D0 BD D0 B8 D1 87 D1 8C D0 B8 20 D0 BA D0 BE D0 BB D0 B1 D0 B0 D1 81 D0 BA D0 B8 20 34 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 08 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 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 3A 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 22 00 00 00 F4 03 04 00 D2 F6 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 42 91 00 00 35 04 06 00 77 FA B3 CD FF 32 C2 3A 8C 8F 91 78 48 CD [12:25:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 05 48 47 00 BA FC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 42 91 00 00 F4 03 04 00 64 9F 14 67 B6 04 01 00 00 3C 9E 79 A6 9D D3 91 07 [12:25:49]CommunicateWithHost err = 0 [12:25:49]CheckOFDResponse [12:25:49]1017 (14) - 77093643461234 [12:25:49]1041 (16) - 0000000000965372 [12:25:49]1040 (4) - 37186 [12:25:49]1012 (4) - 20.10.2024 06:12 [12:25:49]1206 (1) - 0 [12:25:49]OFD Sender: Remove packet 37186 [12:25:49]ProducePacketName [12:25:49]name=ofd_packets/00037186 [12:25:49]NVStorageDeleteData [12:25:49]Write to MH i2c: 01 00 00 1C 1E 3A [12:25:49]Write i2c OK [12:25:49]MH_I2C_Read... [12:25:49]Read from MH i2c: 01 [12:25:49]MH_I2C_Read... [12:25:49]Read from MH i2c: 01 07 00 [12:25:49]MH_I2C_Read... [12:25:49]Read from MH i2c: 01 07 00 1C 1E 00 00 00 00 00 A6 0C F3 [12:25:49]RasterBufferAndPrint [12:25:49]line [12:25:49]line [12:25:49]line [12:25:49]line [12:25:49]line [12:25:49]written 0, free lines is 3243 [12:25:49]process_action close_receipt done [12:25:49]requested_data is exist [12:25:49]produce_requested_data [12:25:49]requested_item fm.sn is exist - process it [12:25:49]wFMCommunicate request_size=4 [12:25:49]MH_SAM_APDU [12:25:49]CAPDU: 80 11 00 00 [12:25:49]Write to MH i2c: E2 08 00 23 1E 80 11 00 00 00 00 00 00 BB [12:25:49]Write i2c OK [12:25:49]MH_I2C_Read... [12:25:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:25:49]Read from MH i2c: E2 [12:25:49]MH_I2C_Read... [12:25:49]Read from MH i2c: E2 17 00 [12:25:49]MH_I2C_Read... [12:25:49]Read from MH i2c: E2 17 00 23 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 0E [12:25:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [12:25:49]wFMCommunicate OK [12:25:49]requested_item fd.num is exist - process it [12:25:49]SAM_PROTO_GetFieldsCounters [12:25:49]wFMCommunicate request_size=4 [12:25:49]MH_SAM_APDU [12:25:49]CAPDU: 80 13 00 00 [12:25:49]Write to MH i2c: E2 08 00 24 1E 80 13 00 00 00 00 00 00 BE [12:25:49]Write i2c OK [12:25:49]MH_I2C_Read... [12:25:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:25:49]Read from MH i2c: E2 [12:25:49]MH_I2C_Read... [12:25:49]Read from MH i2c: E2 62 00 [12:25:49]MH_I2C_Read... [12:25:49]Read from MH i2c: E2 62 00 24 1E 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 42 91 00 00 0E 04 04 00 CD 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 EC [12:25:49]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 42 91 00 00 0E 04 04 00 CD 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 [12:25:49]wFMCommunicate OK [12:25:49]SAM_PROTO_GetFieldsCounters done [12:25:49]requested_item shift.num is exist - process it [12:25:49]requested_item shift.opened is exist - process it [12:25:49]req_shift_opened [12:25:49]FM_GetShiftState [12:25:49]SAM_PROTO_GetShiftState [12:25:49]wFMCommunicate request_size=4 [12:25:49]MH_SAM_APDU [12:25:49]CAPDU: 80 13 01 00 [12:25:49]Write to MH i2c: E2 08 00 25 1E 80 13 01 00 00 00 00 00 C0 [12:25:49]Write i2c OK [12:25:49]MH_I2C_Read... [12:25:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:25:49]Read from MH i2c: E2 [12:25:49]MH_I2C_Read... [12:25:49]Read from MH i2c: E2 0E 00 [12:25:49]MH_I2C_Read... [12:25:49]Read from MH i2c: E2 0E 00 25 1E 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 15 [12:25:49]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [12:25:49]wFMCommunicate OK [12:25:49]SAM_PROTO_GetShiftState done [12:25:49]FM_GetShiftState done [12:25:49]req_shift_opened done [12:25:49]requested_item shift.open_date is exist - process it [12:25:49]req_shift_open_date [12:25:49]req_shift_open_date done [12:25:49]produce_requested_data done [12:25:49]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37186,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [12:25:49]process_action_free close_receipt [12:25:49]json_value_free [12:25:49]json_value_free done [12:25:49]process_json_proto returns [12:25:49]Send response to host [12:25:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37186,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [12:25:49]free response buf [12:25:49]execute_script done [12:25:49]execute_script returns [12:25:49]free content buf [12:25:49]Sock 7.Close socket [12:25:49]Sock 7.Thread stoped [12:25:49]OFD Sender: No OFD packet to send [12:25:54]OFD Sender: No OFD packet to send [12:25:59]OFD Sender: No OFD packet to send [12:26:04]OFD Sender: No OFD packet to send [12:26:09]OFD Sender: No OFD packet to send [12:26:14]OFD Sender: No OFD packet to send [12:26:19]OFD Sender: No OFD packet to send [12:26:24]OFD Sender: No OFD packet to send [12:26:29]OFD Sender: No OFD packet to send [12:26:34]OFD Sender: No OFD packet to send [12:26:39]OFD Sender: No OFD packet to send [12:26:44]OFD Sender: No OFD packet to send [12:26:49]OFD Sender: No OFD packet to send [12:26:54]OFD Sender: No OFD packet to send [12:26:59]OFD Sender: No OFD packet to send [12:27:04]OFD Sender: No OFD packet to send [12:27:09]OFD Sender: No OFD packet to send [12:27:14]OFD Sender: No OFD packet to send [12:27:19]OFD Sender: No OFD packet to send [12:27:24]OFD Sender: No OFD packet to send [12:27:29]OFD Sender: No OFD packet to send [12:27:34]OFD Sender: No OFD packet to send [12:27:39]OFD Sender: No OFD packet to send [12:27:44]OFD Sender: No OFD packet to send [12:27:49]OFD Sender: No OFD packet to send [12:27:54]OFD Sender: No OFD packet to send [12:27:59]OFD Sender: No OFD packet to send [12:28:04]accept exits with 9 [12:28:04]New connection [12:28:04]New thread 3066699108 created [12:28:04]Thread 3066555748 joined [12:28:04]Waiting for new connection... [12:28:04] Sock 9.Parse request [12:28:04]Sock 9.Check first char [12:28:04]Sock 9.First char is OK [12:28:04]request: POST /json_proto HTTP/1.0 [12:28:04]Method: POST [12:28:04]URL: /json_proto [12:28:04]Method is POST - this is cgi request [12:28:04]url: /json_proto [12:28:04]query_string will be loaded in cgi processing [12:28:04]execute_cgi json_proto POST (null) [12:28:04]execute_cgi path=json_proto method=POST [12:28:04]POST find Content-Length [12:28:04]Host: 172.17.53.68:8080 [12:28:04]Content-Length: 701 [12:28:04]Content-Type: application/json [12:28:04] [12:28:04]POST finish read [12:28:04]Found Content-Length = 701 [12:28:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76666", "tax_sys" : 0, "items" : [ { "code": "4870202522701", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 \u041C\u0430\u043B\u0438\u043D\u0430 1,2", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:28:04]execute_script... [12:28: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)76666", "tax_sys" : 0, "items" : [ { "code": "4870202522701", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 \u041C\u0430\u043B\u0438\u043D\u0430 1,2", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:28:04]POST & json_proto [12:28:04]process_json_proto [12:28:04]json parsed OK: [12:28:04]protocol is kg_v1.0 [12:28:04]action value=close_receipt [12:28:04]process_action close_receipt [12:28:04]cmd_close_receipt [12:28:04]MH_GetDate [12:28:04]Write to MH i2c: F0 00 00 26 1E 33 [12:28:04]Write i2c OK [12:28:04]MH_I2C_Read... [12:28:04]Read from MH i2c: F0 [12:28:04]MH_I2C_Read... [12:28:04]Read from MH i2c: F0 09 00 [12:28:04]MH_I2C_Read... [12:28:04]Read from MH i2c: F0 09 00 26 1E 00 5B F7 14 67 C5 A4 76 66 4E [12:28:04]GetLastDocTimeStamp 1729427154 [12:28:04]current date 1729427291 [12:28:04]FM_GetShiftState [12:28:04]SAM_PROTO_GetShiftState [12:28:04]wFMCommunicate request_size=4 [12:28:04]MH_SAM_APDU [12:28:04]CAPDU: 80 13 01 00 [12:28:04]Write to MH i2c: E2 08 00 27 1E 80 13 01 00 00 00 00 00 C2 [12:28:04]Write i2c OK [12:28:04]MH_I2C_Read... [12:28:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:28:04]Read from MH i2c: E2 [12:28:04]MH_I2C_Read... [12:28:04]Read from MH i2c: E2 0E 00 [12:28:04]MH_I2C_Read... [12:28:04]Read from MH i2c: E2 0E 00 27 1E 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 17 [12:28:04]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [12:28:04]wFMCommunicate OK [12:28:04]SAM_PROTO_GetShiftState done [12:28:04]FM_GetShiftState done [12:28:04]opened in 1729383299 [12:28:04]opened+sec_in_day 1729469699 [12:28:04]quantity*price = 12500 [12:28:04]sum+1 = 12501 [12:28:04]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 ÐСП 1% : 1.11 ÐДС 12% : 13.27 Ðаличными: 125.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 35 20.10.2024 12:28 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37187 ФПД: 247406407433293 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T122811&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37187&fm=247406407433293&tin=02508201610067®Number=0000000000098149&sum=12500 0 [12:28:05]StoreToDocumentArchive [12:28:05]shift 461 fd 37187 [12:28:05]save to /storage/0461/doc_00037187 [12:28:05]save last doc name /storage/0461/doc_00037187 to /storage/kkm_last_doc_name [12:28:05]save OK [12:28:05]Clear old archive folders... [12:28:05]ProcessDocumentItem done err = 0, tmpTLVsize=298 [12:28:05]tlvbuf is 00991390 [12:28:05]SAM_PROTO_ClearQueue [12:28:05]wFMCommunicate request_size=4 [12:28:05]MH_SAM_APDU [12:28:05]CAPDU: 80 09 00 00 [12:28:05]Write to MH i2c: E2 08 00 34 1E 80 09 00 00 00 00 00 00 C4 [12:28:05]Write i2c OK [12:28:05]MH_I2C_Read... [12:28:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:28:05]Read from MH i2c: E2 [12:28:05]MH_I2C_Read... [12:28:05]Read from MH i2c: E2 03 00 [12:28:05]MH_I2C_Read... [12:28:05]Read from MH i2c: E2 03 00 34 1E 00 90 00 C6 [12:28:05]RAPDU: 90 00 [12:28:05]wFMCommunicate OK [12:28:05]SAM_PROTO_ClearQueue done [12:28:05]KKMCreateOFDPacket [12:28:05]OFDProtocolAddRootSTLVToBuf [12:28:05]FM_MakeSignedData [12:28:05]FM_MakeSignedData [12:28:05]SAM_PROTO_SignData [12:28:05]wFMCommunicate request_size=4 [12:28:05]MH_SAM_APDU [12:28:05]CAPDU: 80 0D 01 02 [12:28:05]Write to MH i2c: E2 08 00 35 1E 80 0D 01 02 00 00 00 00 CC [12:28:05]Write i2c OK [12:28:05]MH_I2C_Read... [12:28:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:28:05]Read from MH i2c: E2 [12:28:05]MH_I2C_Read... [12:28:05]Read from MH i2c: E2 03 00 [12:28:05]MH_I2C_Read... [12:28:05]Read from MH i2c: E2 03 00 35 1E 00 90 00 C7 [12:28:05]RAPDU: 90 00 [12:28:05]wFMCommunicate OK [12:28:05]wFMCommunicate request_size=255 [12:28:05]MH_SAM_APDU [12:28:05]CAPDU: 80 0D 02 02 FA 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 5B F7 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 [12:28:05]Write to MH i2c: E2 02 01 36 1E 80 0D 02 02 FA 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 5B F7 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 00 00 EE [12:28:05]Write i2c OK [12:28:05]MH_I2C_Read... [12:28:05]Read from MH i2c: E2 [12:28:05]MH_I2C_Read... [12:28:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:28:05]Read from MH i2c: E2 03 00 [12:28:05]MH_I2C_Read... [12:28:05]Read from MH i2c: E2 03 00 36 1E 00 90 00 C8 [12:28:05]RAPDU: 90 00 [12:28:05]wFMCommunicate OK [12:28:05]wFMCommunicate request_size=57 [12:28:05]MH_SAM_APDU [12:28:05]CAPDU: 80 0D 02 02 34 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 43 91 00 00 35 04 06 00 E1 03 CB 07 BC 4D [12:28:05]Write to MH i2c: E2 3C 00 37 1E 80 0D 02 02 34 00 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 43 91 00 00 35 04 06 00 E1 03 CB 07 BC 4D 00 00 25 [12:28:05]Write i2c OK [12:28:05]MH_I2C_Read... [12:28:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:28:05]Read from MH i2c: E2 [12:28:05]MH_I2C_Read... [12:28:05]Read from MH i2c: E2 03 00 [12:28:05]MH_I2C_Read... [12:28:05]Read from MH i2c: E2 03 00 37 1E 00 90 00 C9 [12:28:05]RAPDU: 90 00 [12:28:05]wFMCommunicate OK [12:28:05]wFMCommunicate request_size=4 [12:28:05]MH_SAM_APDU [12:28:05]CAPDU: 80 0D 03 02 [12:28:05]Write to MH i2c: E2 08 00 38 1E 80 0D 03 02 00 00 00 00 D1 [12:28:05]Write i2c OK [12:28:05]MH_I2C_Read... [12:28:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:28:05]Read from MH i2c: E2 [12:28:05]MH_I2C_Read... [12:28:05]Read from MH i2c: E2 0B 00 [12:28:05]MH_I2C_Read... [12:28:05]Read from MH i2c: E2 0B 00 38 1E 00 83 99 85 5F E1 55 F3 40 90 00 3B [12:28:05]RAPDU: 83 99 85 5F E1 55 F3 40 90 00 [12:28:05]wFMCommunicate OK [12:28:05]SAM_PROTO_SignData done [12:28:05]FM_MakeSignedData done [12:28:05]CreateOFDProtocolMessage [12:28:05]wFMCommunicate request_size=4 [12:28:05]MH_SAM_APDU [12:28:05]CAPDU: 80 11 00 00 [12:28:05]Write to MH i2c: E2 08 00 39 1E 80 11 00 00 00 00 00 00 D1 [12:28:05]Write i2c OK [12:28:05]MH_I2C_Read... [12:28:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:28:06]Read from MH i2c: E2 [12:28:06]MH_I2C_Read... [12:28:06]Read from MH i2c: E2 17 00 [12:28:06]MH_I2C_Read... [12:28:06]Read from MH i2c: E2 17 00 39 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 24 [12:28:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [12:28:06]wFMCommunicate OK [12:28:06]CreateOFDProtocolMessage done [12:28:06]OFDSenderStorePacket 37187 [12:28:06]StoreOFDPacket docnum=37187 [12:28:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 3E 01 00 00 E5 14 36 01 43 EA 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 5B F7 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 43 91 00 00 35 04 06 00 E1 03 CB 07 BC 4D 83 99 85 5F E1 55 F3 40 [12:28:06]CheckFolder [12:28:06]dirname=/storage/ofd_packets [12:28:06]CheckFolder done [12:28:06]ProducePacketName [12:28:06]name=ofd_packets/00037187 [12:28:06]NVStorageSaveData ofd_packets/00037187 [12:28:06]File name is /storage/ofd_packets/00037187 [12:28:06]Write 348 bytes [12:28:06]NVStorageSaveData done [12:28:06]OFDSenderStorePacket done [12:28:06]KKMCreateOFDPacket done [12:28:06]NVStorageSaveData kkm_last_timestamp [12:28:06]File name is /storage/kkm_last_timestamp [12:28:06]Write 4 bytes [12:28:06]NVStorageSaveData done [12:28:06]ExternCall_PrintAddStr [12:28:06]wPrintStart [12:28:06]Write to MH i2c: 01 00 00 3A 1E 58 [12:28:06]Write i2c OK [12:28:06]MH_I2C_Read... [12:28:06]Read from MH i2c: 01 [12:28:06]MH_I2C_Read... [12:28:06]Read from MH i2c: 01 07 00 [12:28:06]MH_I2C_Read... [12:28:06]Read from MH i2c: 01 07 00 3A 1E 00 00 00 00 00 FF 0F 6D [12:28:06]RasterBufferAndPrint [12:28:06]line Счет N : (3)76666 [12:28:06]line ИÐÐ: 02508201610067 [12:28:06]line Контрольно-КаÑÑовый Чек [12:28:06]line ПРОДÐЖР[12:28:06]line Товар: 4870202522701 [12:28:06]line Ðапиток Maxi Чай черный Малина 1,2 [12:28:06]line 1.000 * 125.00 [12:28:06]line = 125.00 [12:28:06]line ÐДС 12% ÐСП 1% [12:28:06]line > о реализуемом товаре [12:28:06]line ИТОГО: 125.00 [12:28:06]line ÐСП 1% : 1.11 [12:28:06]line ÐДС 12% : 13.27 [12:28:06]line Ðаличными: 125.00 [12:28:06]line Безнал.: 0.00 [12:28:06]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [12:28:06]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [12:28:06]line СÐО: Общий режим [12:28:06]line Чек 35 20.10.2024 12:28 [12:28:06]line Смена: 461 ФФД: 1.0 [12:28:06]line ЗÐМ: 0300000235 [12:28:06]line РÐМ: 0000000000098149 [12:28:06]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [12:28:06]line ФМ: 0000000000965372 [12:28:06]line ФД: 37187 [12:28:06]line ФПД: 247406407433293 [12:28:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T122811&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37187&fm=247406407433293&tin=02508201610067®Number=0000000000098149&sum=12500 [12:28:06]line 0 [12:28:06]OFD Sender: Processing packet 37187 [packets to send 25, broken 24] [12:28:06]ProducePacketName [12:28:06]name=ofd_packets/00037187 [12:28:06]OFD Sender: To server: ‡•öpG, [12:28:06]CommunicateWithHost lk.salyk.kg:30040 [12:28:06]ConnectInit lk.salyk.kg [12:28:06]written 0, free lines is 4095 [12:28:06]Connected sock=10 [12:28: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 33 37 32 3E 01 00 00 E5 14 36 01 43 EA 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 5B F7 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 43 91 00 00 35 04 06 00 E1 03 CB 07 BC 4D 83 99 85 5F E1 55 F3 40 [12:28:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 62 E3 47 00 C7 88 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 43 91 00 00 F4 03 04 00 EE 9F 14 67 B6 04 01 00 00 37 12 2C 5E C4 26 72 E0 [12:28:06]CommunicateWithHost err = 0 [12:28:06]CheckOFDResponse [12:28:06]1017 (14) - 77093643461234 [12:28:06]1041 (16) - 0000000000965372 [12:28:06]1040 (4) - 37187 [12:28:06]1012 (4) - 20.10.2024 06:15 [12:28:06]1206 (1) - 0 [12:28:06]OFD Sender: Remove packet 37187 [12:28:06]ProducePacketName [12:28:06]name=ofd_packets/00037187 [12:28:06]NVStorageDeleteData [12:28:06]Write to MH i2c: 01 00 00 63 1E 81 [12:28:06]Write i2c OK [12:28:06]MH_I2C_Read... [12:28:06]Read from MH i2c: 01 [12:28:06]MH_I2C_Read... [12:28:06]Read from MH i2c: 01 07 00 [12:28:06]MH_I2C_Read... [12:28:06]Read from MH i2c: 01 07 00 63 1E 00 00 00 00 00 E1 0C 75 [12:28:06]RasterBufferAndPrint [12:28:06]line [12:28:06]line [12:28:06]line [12:28:06]line [12:28:06]line [12:28:06]written 0, free lines is 3303 [12:28:06]process_action close_receipt done [12:28:06]requested_data is exist [12:28:06]produce_requested_data [12:28:06]requested_item fm.sn is exist - process it [12:28:06]wFMCommunicate request_size=4 [12:28:06]MH_SAM_APDU [12:28:06]CAPDU: 80 11 00 00 [12:28:06]Write to MH i2c: E2 08 00 6A 1E 80 11 00 00 00 00 00 00 02 [12:28:06]Write i2c OK [12:28:06]MH_I2C_Read... [12:28:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:28:06]Read from MH i2c: E2 [12:28:06]MH_I2C_Read... [12:28:06]Read from MH i2c: E2 17 00 [12:28:06]MH_I2C_Read... [12:28:06]Read from MH i2c: E2 17 00 6A 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 55 [12:28:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [12:28:06]wFMCommunicate OK [12:28:06]requested_item fd.num is exist - process it [12:28:06]SAM_PROTO_GetFieldsCounters [12:28:06]wFMCommunicate request_size=4 [12:28:06]MH_SAM_APDU [12:28:06]CAPDU: 80 13 00 00 [12:28:06]Write to MH i2c: E2 08 00 6B 1E 80 13 00 00 00 00 00 00 05 [12:28:06]Write i2c OK [12:28:06]MH_I2C_Read... [12:28:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:28:06]Read from MH i2c: E2 [12:28:06]MH_I2C_Read... [12:28:06]Read from MH i2c: E2 62 00 [12:28:06]MH_I2C_Read... [12:28:06]Read from MH i2c: E2 62 00 6B 1E 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 43 91 00 00 0E 04 04 00 CD 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 37 [12:28: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 43 91 00 00 0E 04 04 00 CD 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 [12:28:06]wFMCommunicate OK [12:28:06]SAM_PROTO_GetFieldsCounters done [12:28:06]requested_item shift.num is exist - process it [12:28:06]requested_item shift.opened is exist - process it [12:28:06]req_shift_opened [12:28:06]FM_GetShiftState [12:28:06]SAM_PROTO_GetShiftState [12:28:06]wFMCommunicate request_size=4 [12:28:06]MH_SAM_APDU [12:28:06]CAPDU: 80 13 01 00 [12:28:06]Write to MH i2c: E2 08 00 6C 1E 80 13 01 00 00 00 00 00 07 [12:28:06]Write i2c OK [12:28:06]MH_I2C_Read... [12:28:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:28:07]Read from MH i2c: E2 [12:28:07]MH_I2C_Read... [12:28:07]Read from MH i2c: E2 0E 00 [12:28:07]MH_I2C_Read... [12:28:07]Read from MH i2c: E2 0E 00 6C 1E 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 5C [12:28:07]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [12:28:07]wFMCommunicate OK [12:28:07]SAM_PROTO_GetShiftState done [12:28:07]FM_GetShiftState done [12:28:07]req_shift_opened done [12:28:07]requested_item shift.open_date is exist - process it [12:28:07]req_shift_open_date [12:28:07]req_shift_open_date done [12:28:07]produce_requested_data done [12:28:07]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37187,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [12:28:07]process_action_free close_receipt [12:28:07]json_value_free [12:28:07]json_value_free done [12:28:07]process_json_proto returns [12:28:07]Send response to host [12:28:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37187,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [12:28:07]free response buf [12:28:07]execute_script done [12:28:07]execute_script returns [12:28:07]free content buf [12:28:07]Sock 9.Close socket [12:28:07]Sock 9.Thread stoped [12:28:07]OFD Sender: No OFD packet to send [12:28:12]OFD Sender: No OFD packet to send [12:28:17]OFD Sender: No OFD packet to send [12:28:22]OFD Sender: No OFD packet to send [12:28:27]OFD Sender: No OFD packet to send [12:28:32]OFD Sender: No OFD packet to send [12:28:37]OFD Sender: No OFD packet to send [12:28:42]OFD Sender: No OFD packet to send [12:28:47]OFD Sender: No OFD packet to send [12:28:52]OFD Sender: No OFD packet to send [12:28:57]OFD Sender: No OFD packet to send [12:29:02]OFD Sender: No OFD packet to send [12:29:05]accept exits with 7 [12:29:05]New connection [12:29:05]New thread 3066555748 created [12:29:05]Thread 3066699108 joined [12:29:05]Waiting for new connection... [12:29:05] Sock 7.Parse request [12:29:05]Sock 7.Check first char [12:29:05]Sock 7.First char is OK [12:29:05]request: POST /json_proto HTTP/1.0 [12:29:05]Method: POST [12:29:05]URL: /json_proto [12:29:05]Method is POST - this is cgi request [12:29:05]url: /json_proto [12:29:05]query_string will be loaded in cgi processing [12:29:05]execute_cgi json_proto POST (null) [12:29:05]execute_cgi path=json_proto method=POST [12:29:05]POST find Content-Length [12:29:05]Host: 172.17.53.68:8080 [12:29:05]Content-Length: 622 [12:29:05]Content-Type: application/json [12:29:05] [12:29:05]POST finish read [12:29:05]Found Content-Length = 622 [12:29:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76667", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:29:05]execute_script... [12:29:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76667", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:29:05]POST & json_proto [12:29:05]process_json_proto [12:29:05]json parsed OK: [12:29:05]protocol is kg_v1.0 [12:29:05]action value=close_receipt [12:29:05]process_action close_receipt [12:29:05]cmd_close_receipt [12:29:05]MH_GetDate [12:29:05]Write to MH i2c: F0 00 00 6D 1E 7A [12:29:05]Write i2c OK [12:29:05]MH_I2C_Read... [12:29:05]Read from MH i2c: F0 [12:29:05]MH_I2C_Read... [12:29:05]Read from MH i2c: F0 09 00 [12:29:05]MH_I2C_Read... [12:29:05]Read from MH i2c: F0 09 00 6D 1E 00 99 F7 14 67 C5 A4 76 66 D3 [12:29:05]GetLastDocTimeStamp 1729427291 [12:29:05]current date 1729427353 [12:29:05]FM_GetShiftState [12:29:05]SAM_PROTO_GetShiftState [12:29:05]wFMCommunicate request_size=4 [12:29:05]MH_SAM_APDU [12:29:05]CAPDU: 80 13 01 00 [12:29:05]Write to MH i2c: E2 08 00 6E 1E 80 13 01 00 00 00 00 00 09 [12:29:05]Write i2c OK [12:29:05]MH_I2C_Read... [12:29:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:29:05]Read from MH i2c: E2 [12:29:05]MH_I2C_Read... [12:29:05]Read from MH i2c: E2 0E 00 [12:29:05]MH_I2C_Read... [12:29:05]Read from MH i2c: E2 0E 00 6E 1E 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 5E [12:29:05]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [12:29:05]wFMCommunicate OK [12:29:05]SAM_PROTO_GetShiftState done [12:29:05]FM_GetShiftState done [12:29:05]opened in 1729383299 [12:29:05]opened+sec_in_day 1729469699 [12:29:05]quantity*price = 14400 [12:29:05]sum+1 = 14401 [12:29:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 ÐСП 1% : 1.27 ÐДС 12% : 15.29 Ðаличными: 144.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 36 20.10.2024 12:29 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37188 ФПД: 116616120092158 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T122913&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37188&fm=116616120092158&tin=02508201610067®Number=0000000000098149&sum=14400 0 [12:29:07]StoreToDocumentArchive [12:29:07]shift 461 fd 37188 [12:29:07]save to /storage/0461/doc_00037188 [12:29:07]save last doc name /storage/0461/doc_00037188 to /storage/kkm_last_doc_name [12:29:07]save OK [12:29:07]Clear old archive folders... [12:29:07]ProcessDocumentItem done err = 0, tmpTLVsize=275 [12:29:07]tlvbuf is B6F176F0 [12:29:07]SAM_PROTO_ClearQueue [12:29:07]wFMCommunicate request_size=4 [12:29:07]MH_SAM_APDU [12:29:07]CAPDU: 80 09 00 00 [12:29:07]Write to MH i2c: E2 08 00 7B 1E 80 09 00 00 00 00 00 00 0B [12:29:07]Write i2c OK [12:29:07]MH_I2C_Read... [12:29:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:29:07]Read from MH i2c: E2 [12:29:07]MH_I2C_Read... [12:29:07]Read from MH i2c: E2 03 00 [12:29:07]MH_I2C_Read... [12:29:07]Read from MH i2c: E2 03 00 7B 1E 00 90 00 0D [12:29:07]RAPDU: 90 00 [12:29:07]wFMCommunicate OK [12:29:07]SAM_PROTO_ClearQueue done [12:29:07]KKMCreateOFDPacket [12:29:07]OFDProtocolAddRootSTLVToBuf [12:29:07]FM_MakeSignedData [12:29:07]FM_MakeSignedData [12:29:07]SAM_PROTO_SignData [12:29:07]wFMCommunicate request_size=4 [12:29:07]MH_SAM_APDU [12:29:07]CAPDU: 80 0D 01 02 [12:29:07]Write to MH i2c: E2 08 00 7C 1E 80 0D 01 02 00 00 00 00 13 [12:29:07]Write i2c OK [12:29:07]MH_I2C_Read... [12:29:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:29:07]Read from MH i2c: E2 [12:29:07]MH_I2C_Read... [12:29:07]Read from MH i2c: E2 03 00 [12:29:07]MH_I2C_Read... [12:29:07]Read from MH i2c: E2 03 00 7C 1E 00 90 00 0E [12:29:07]RAPDU: 90 00 [12:29:07]wFMCommunicate OK [12:29:07]wFMCommunicate request_size=255 [12:29:07]MH_SAM_APDU [12:29:07]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 99 F7 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 [12:29:07]Write to MH i2c: E2 02 01 7D 1E 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 99 F7 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 00 00 1B [12:29:07]Write i2c OK [12:29:07]MH_I2C_Read... [12:29:07]OFD Sender: No OFD packet to send [12:29:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:29:07]Read from MH i2c: E2 [12:29:07]MH_I2C_Read... [12:29:07]Read from MH i2c: E2 03 00 [12:29:07]MH_I2C_Read... [12:29:07]Read from MH i2c: E2 03 00 7D 1E 00 90 00 0F [12:29:07]RAPDU: 90 00 [12:29:07]wFMCommunicate OK [12:29:07]wFMCommunicate request_size=34 [12:29:07]MH_SAM_APDU [12:29:07]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 44 91 00 00 35 04 06 00 6A 0F CE 69 C5 FE [12:29:07]Write to MH i2c: E2 25 00 7E 1E 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 44 91 00 00 35 04 06 00 6A 0F CE 69 C5 FE 00 00 1F [12:29:07]Write i2c OK [12:29:07]MH_I2C_Read... [12:29:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:29:07]Read from MH i2c: E2 [12:29:07]MH_I2C_Read... [12:29:07]Read from MH i2c: E2 03 00 [12:29:07]MH_I2C_Read... [12:29:07]Read from MH i2c: E2 03 00 7E 1E 00 90 00 10 [12:29:07]RAPDU: 90 00 [12:29:07]wFMCommunicate OK [12:29:07]wFMCommunicate request_size=4 [12:29:07]MH_SAM_APDU [12:29:07]CAPDU: 80 0D 03 02 [12:29:07]Write to MH i2c: E2 08 00 7F 1E 80 0D 03 02 00 00 00 00 18 [12:29:07]Write i2c OK [12:29:07]MH_I2C_Read... [12:29:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:29:07]Read from MH i2c: E2 [12:29:07]MH_I2C_Read... [12:29:07]Read from MH i2c: E2 0B 00 [12:29:07]MH_I2C_Read... [12:29:07]Read from MH i2c: E2 0B 00 7F 1E 00 1E 59 D5 58 00 89 99 46 90 00 25 [12:29:07]RAPDU: 1E 59 D5 58 00 89 99 46 90 00 [12:29:07]wFMCommunicate OK [12:29:07]SAM_PROTO_SignData done [12:29:07]FM_MakeSignedData done [12:29:07]CreateOFDProtocolMessage [12:29:07]wFMCommunicate request_size=4 [12:29:07]MH_SAM_APDU [12:29:07]CAPDU: 80 11 00 00 [12:29:07]Write to MH i2c: E2 08 00 80 1E 80 11 00 00 00 00 00 00 18 [12:29:07]Write i2c OK [12:29:07]MH_I2C_Read... [12:29:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:29:07]Read from MH i2c: E2 [12:29:07]MH_I2C_Read... [12:29:07]Read from MH i2c: E2 17 00 [12:29:07]MH_I2C_Read... [12:29:07]Read from MH i2c: E2 17 00 80 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 6B [12:29:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [12:29:07]wFMCommunicate OK [12:29:07]CreateOFDProtocolMessage done [12:29:07]OFDSenderStorePacket 37188 [12:29:07]StoreOFDPacket docnum=37188 [12:29:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 27 01 00 00 2B 7E 1F 01 ED DC 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 99 F7 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 44 91 00 00 35 04 06 00 6A 0F CE 69 C5 FE 1E 59 D5 58 00 89 99 46 [12:29:07]CheckFolder [12:29:07]dirname=/storage/ofd_packets [12:29:07]CheckFolder done [12:29:07]ProducePacketName [12:29:07]name=ofd_packets/00037188 [12:29:07]NVStorageSaveData ofd_packets/00037188 [12:29:07]File name is /storage/ofd_packets/00037188 [12:29:07]Write 325 bytes [12:29:07]NVStorageSaveData done [12:29:07]OFDSenderStorePacket done [12:29:07]KKMCreateOFDPacket done [12:29:07]NVStorageSaveData kkm_last_timestamp [12:29:07]File name is /storage/kkm_last_timestamp [12:29:07]Write 4 bytes [12:29:07]NVStorageSaveData done [12:29:07]ExternCall_PrintAddStr [12:29:07]wPrintStart [12:29:07]Write to MH i2c: 01 00 00 81 1E 9F [12:29:07]Write i2c OK [12:29:07]MH_I2C_Read... [12:29:07]Read from MH i2c: 01 [12:29:07]MH_I2C_Read... [12:29:07]Read from MH i2c: 01 07 00 [12:29:07]MH_I2C_Read... [12:29:07]Read from MH i2c: 01 07 00 81 1E 00 00 00 00 00 FF 0F B4 [12:29:07]RasterBufferAndPrint [12:29:07]line Счет N : (3)76667 [12:29:07]line ИÐÐ: 02508201610067 [12:29:07]line Контрольно-КаÑÑовый Чек [12:29:07]line ПРОДÐЖР[12:29:07]line Товар: 48743587 [12:29:07]line Сигареты Winston XStyle Silver [12:29:07]line 1.000 * 144.00 [12:29:07]line = 144.00 [12:29:07]line ÐДС 12% ÐСП 1% [12:29:07]line > о реализуемом товаре [12:29:07]line ИТОГО: 144.00 [12:29:07]line ÐСП 1% : 1.27 [12:29:07]line ÐДС 12% : 15.29 [12:29:07]line Ðаличными: 144.00 [12:29:07]line Безнал.: 0.00 [12:29:07]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [12:29:07]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [12:29:07]line СÐО: Общий режим [12:29:07]line Чек 36 20.10.2024 12:29 [12:29:07]line Смена: 461 ФФД: 1.0 [12:29:07]line ЗÐМ: 0300000235 [12:29:07]line РÐМ: 0000000000098149 [12:29:07]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [12:29:07]line ФМ: 0000000000965372 [12:29:07]line ФД: 37188 [12:29:07]line ФПД: 116616120092158 [12:29:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T122913&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37188&fm=116616120092158&tin=02508201610067®Number=0000000000098149&sum=14400 [12:29:07]line 0 [12:29:07]OFD Sender: Processing packet 37188 [packets to send 25, broken 24] [12:29:07]ProducePacketName [12:29:07]name=ofd_packets/00037188 [12:29:07]OFD Sender: To server: ‡•öpG, [12:29:07]CommunicateWithHost lk.salyk.kg:30040 [12:29:07]ConnectInit lk.salyk.kg [12:29:07]written 0, free lines is 4095 [12:29:08]Connected sock=10 [12:29: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 33 37 32 27 01 00 00 2B 7E 1F 01 ED DC 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 99 F7 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 44 91 00 00 35 04 06 00 6A 0F CE 69 C5 FE 1E 59 D5 58 00 89 99 46 [12:29:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 5B 7F 47 00 BD 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 33 37 32 10 04 04 00 44 91 00 00 F4 03 04 00 2B A0 14 67 B6 04 01 00 00 6D 44 D1 F9 A8 6D 35 3A [12:29:08]CommunicateWithHost err = 0 [12:29:08]CheckOFDResponse [12:29:08]1017 (14) - 77093643461234 [12:29:08]1041 (16) - 0000000000965372 [12:29:08]1040 (4) - 37188 [12:29:08]1012 (4) - 20.10.2024 06:16 [12:29:08]1206 (1) - 0 [12:29:08]OFD Sender: Remove packet 37188 [12:29:08]ProducePacketName [12:29:08]name=ofd_packets/00037188 [12:29:08]NVStorageDeleteData [12:29:08]Write to MH i2c: 01 00 00 AA 1E C8 [12:29:08]Write i2c OK [12:29:08]MH_I2C_Read... [12:29:08]Read from MH i2c: 01 [12:29:08]MH_I2C_Read... [12:29:08]Read from MH i2c: 01 07 00 [12:29:08]MH_I2C_Read... [12:29:08]Read from MH i2c: 01 07 00 AA 1E 00 00 00 00 00 DF 0C BA [12:29:08]RasterBufferAndPrint [12:29:08]line [12:29:08]line [12:29:08]line [12:29:08]line [12:29:08]line [12:29:08]written 0, free lines is 3304 [12:29:08]process_action close_receipt done [12:29:08]requested_data is exist [12:29:08]produce_requested_data [12:29:08]requested_item fm.sn is exist - process it [12:29:08]wFMCommunicate request_size=4 [12:29:08]MH_SAM_APDU [12:29:08]CAPDU: 80 11 00 00 [12:29:08]Write to MH i2c: E2 08 00 B1 1E 80 11 00 00 00 00 00 00 49 [12:29:08]Write i2c OK [12:29:08]MH_I2C_Read... [12:29:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:29:08]Read from MH i2c: E2 [12:29:08]MH_I2C_Read... [12:29:08]Read from MH i2c: E2 17 00 [12:29:08]MH_I2C_Read... [12:29:08]Read from MH i2c: E2 17 00 B1 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 9C [12:29:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [12:29:08]wFMCommunicate OK [12:29:08]requested_item fd.num is exist - process it [12:29:08]SAM_PROTO_GetFieldsCounters [12:29:08]wFMCommunicate request_size=4 [12:29:08]MH_SAM_APDU [12:29:08]CAPDU: 80 13 00 00 [12:29:08]Write to MH i2c: E2 08 00 B2 1E 80 13 00 00 00 00 00 00 4C [12:29:08]Write i2c OK [12:29:08]MH_I2C_Read... [12:29:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:29:08]Read from MH i2c: E2 [12:29:08]MH_I2C_Read... [12:29:08]Read from MH i2c: E2 62 00 [12:29:08]MH_I2C_Read... [12:29:08]Read from MH i2c: E2 62 00 B2 1E 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 44 91 00 00 0E 04 04 00 CD 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 82 [12:29: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 44 91 00 00 0E 04 04 00 CD 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 [12:29:08]wFMCommunicate OK [12:29:08]SAM_PROTO_GetFieldsCounters done [12:29:08]requested_item shift.num is exist - process it [12:29:08]requested_item shift.opened is exist - process it [12:29:08]req_shift_opened [12:29:08]FM_GetShiftState [12:29:08]SAM_PROTO_GetShiftState [12:29:08]wFMCommunicate request_size=4 [12:29:08]MH_SAM_APDU [12:29:08]CAPDU: 80 13 01 00 [12:29:08]Write to MH i2c: E2 08 00 B3 1E 80 13 01 00 00 00 00 00 4E [12:29:08]Write i2c OK [12:29:08]MH_I2C_Read... [12:29:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:29:08]Read from MH i2c: E2 [12:29:08]MH_I2C_Read... [12:29:08]Read from MH i2c: E2 0E 00 [12:29:08]MH_I2C_Read... [12:29:08]Read from MH i2c: E2 0E 00 B3 1E 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 A3 [12:29:08]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [12:29:08]wFMCommunicate OK [12:29:08]SAM_PROTO_GetShiftState done [12:29:08]FM_GetShiftState done [12:29:08]req_shift_opened done [12:29:08]requested_item shift.open_date is exist - process it [12:29:08]req_shift_open_date [12:29:08]req_shift_open_date done [12:29:08]produce_requested_data done [12:29:08]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37188,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [12:29:08]process_action_free close_receipt [12:29:08]json_value_free [12:29:08]json_value_free done [12:29:08]process_json_proto returns [12:29:08]Send response to host [12:29:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37188,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [12:29:08]free response buf [12:29:08]execute_script done [12:29:08]execute_script returns [12:29:08]free content buf [12:29:08]Sock 7.Close socket [12:29:08]Sock 7.Thread stoped [12:29:08]OFD Sender: No OFD packet to send [12:29:13]OFD Sender: No OFD packet to send [12:29:18]OFD Sender: No OFD packet to send [12:29:23]OFD Sender: No OFD packet to send [12:29:28]OFD Sender: No OFD packet to send [12:29:33]OFD Sender: No OFD packet to send [12:29:38]OFD Sender: No OFD packet to send [12:29:43]OFD Sender: No OFD packet to send [12:29:48]OFD Sender: No OFD packet to send [12:29:53]OFD Sender: No OFD packet to send [12:29:58]OFD Sender: No OFD packet to send [12:30:03]OFD Sender: No OFD packet to send [12:30:06]accept exits with 9 [12:30:06]New connection [12:30:06]New thread 3066699108 created [12:30:06]Thread 3066555748 joined [12:30:06]Waiting for new connection... [12:30:06] Sock 9.Parse request [12:30:06]Sock 9.Check first char [12:30:06]Sock 9.First char is OK [12:30:06]request: POST /json_proto HTTP/1.0 [12:30:06]Method: POST [12:30:06]URL: /json_proto [12:30:06]Method is POST - this is cgi request [12:30:06]url: /json_proto [12:30:06]query_string will be loaded in cgi processing [12:30:06]execute_cgi json_proto POST (null) [12:30:06]execute_cgi path=json_proto method=POST [12:30:06]POST find Content-Length [12:30:06]Host: 172.17.53.68:8080 [12:30:06]Content-Length: 618 [12:30:06]Content-Type: application/json [12:30:06] [12:30:06]POST finish read [12:30:06]Found Content-Length = 618 [12:30:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76668", "tax_sys" : 0, "items" : [ { "code": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:30:06]execute_script... [12:30: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)76668", "tax_sys" : 0, "items" : [ { "code": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:30:06]POST & json_proto [12:30:06]process_json_proto [12:30:06]json parsed OK: [12:30:06]protocol is kg_v1.0 [12:30:06]action value=close_receipt [12:30:06]process_action close_receipt [12:30:06]cmd_close_receipt [12:30:06]MH_GetDate [12:30:06]Write to MH i2c: F0 00 00 B4 1E C1 [12:30:06]Write i2c OK [12:30:06]MH_I2C_Read... [12:30:06]Read from MH i2c: F0 [12:30:06]MH_I2C_Read... [12:30:06]Read from MH i2c: F0 09 00 [12:30:06]MH_I2C_Read... [12:30:06]Read from MH i2c: F0 09 00 B4 1E 00 D5 F7 14 67 C5 A4 76 66 56 [12:30:06]GetLastDocTimeStamp 1729427353 [12:30:06]current date 1729427413 [12:30:06]FM_GetShiftState [12:30:06]SAM_PROTO_GetShiftState [12:30:06]wFMCommunicate request_size=4 [12:30:06]MH_SAM_APDU [12:30:06]CAPDU: 80 13 01 00 [12:30:06]Write to MH i2c: E2 08 00 B5 1E 80 13 01 00 00 00 00 00 50 [12:30:06]Write i2c OK [12:30:06]MH_I2C_Read... [12:30:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:30:06]Read from MH i2c: E2 [12:30:06]MH_I2C_Read... [12:30:06]Read from MH i2c: E2 0E 00 [12:30:06]MH_I2C_Read... [12:30:06]Read from MH i2c: E2 0E 00 B5 1E 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 A5 [12:30:06]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [12:30:06]wFMCommunicate OK [12:30:06]SAM_PROTO_GetShiftState done [12:30:06]FM_GetShiftState done [12:30:06]opened in 1729383299 [12:30:06]opened+sec_in_day 1729469699 [12:30:06]quantity*price = 14400 [12:30:06]sum+1 = 14401 [12:30:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 ÐСП 1% : 1.27 ÐДС 12% : 15.29 Ðаличными: 144.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 37 20.10.2024 12:30 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37189 ФПД: 12648319075513 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T123013&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37189&fm=12648319075513&tin=02508201610067®Number=0000000000098149&sum=14400 0 [12:30:07]StoreToDocumentArchive [12:30:07]shift 461 fd 37189 [12:30:07]save to /storage/0461/doc_00037189 [12:30:07]save last doc name /storage/0461/doc_00037189 to /storage/kkm_last_doc_name [12:30:07]save OK [12:30:07]Clear old archive folders... [12:30:07]ProcessDocumentItem done err = 0, tmpTLVsize=271 [12:30:07]tlvbuf is 00A318E0 [12:30:07]SAM_PROTO_ClearQueue [12:30:07]wFMCommunicate request_size=4 [12:30:07]MH_SAM_APDU [12:30:07]CAPDU: 80 09 00 00 [12:30:07]Write to MH i2c: E2 08 00 C2 1E 80 09 00 00 00 00 00 00 52 [12:30:07]Write i2c OK [12:30:07]MH_I2C_Read... [12:30:07]Read from MH i2c: E2 [12:30:07]MH_I2C_Read... [12:30:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:30:07]Read from MH i2c: E2 03 00 [12:30:07]MH_I2C_Read... [12:30:07]Read from MH i2c: E2 03 00 C2 1E 00 90 00 54 [12:30:07]RAPDU: 90 00 [12:30:07]wFMCommunicate OK [12:30:07]SAM_PROTO_ClearQueue done [12:30:07]KKMCreateOFDPacket [12:30:07]OFDProtocolAddRootSTLVToBuf [12:30:07]FM_MakeSignedData [12:30:07]FM_MakeSignedData [12:30:07]SAM_PROTO_SignData [12:30:07]wFMCommunicate request_size=4 [12:30:07]MH_SAM_APDU [12:30:07]CAPDU: 80 0D 01 02 [12:30:07]Write to MH i2c: E2 08 00 C3 1E 80 0D 01 02 00 00 00 00 5A [12:30:07]Write i2c OK [12:30:07]MH_I2C_Read... [12:30:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:30:07]Read from MH i2c: E2 [12:30:07]MH_I2C_Read... [12:30:07]Read from MH i2c: E2 03 00 [12:30:07]MH_I2C_Read... [12:30:07]Read from MH i2c: E2 03 00 C3 1E 00 90 00 55 [12:30:07]RAPDU: 90 00 [12:30:07]wFMCommunicate OK [12:30:07]wFMCommunicate request_size=255 [12:30:07]MH_SAM_APDU [12:30:07]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 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 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 D5 F7 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 [12:30:07]Write to MH i2c: E2 02 01 C4 1E 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 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 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 D5 F7 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 93 [12:30:07]Write i2c OK [12:30:07]MH_I2C_Read... [12:30:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:30:07]Read from MH i2c: E2 [12:30:07]MH_I2C_Read... [12:30:07]Read from MH i2c: E2 03 00 [12:30:07]MH_I2C_Read... [12:30:07]Read from MH i2c: E2 03 00 C4 1E 00 90 00 56 [12:30:07]RAPDU: 90 00 [12:30:07]wFMCommunicate OK [12:30:07]wFMCommunicate request_size=30 [12:30:07]MH_SAM_APDU [12:30:07]CAPDU: 80 0D 02 02 19 30 39 36 35 33 37 32 10 04 04 00 45 91 00 00 35 04 06 00 0B 80 EA 90 C4 B9 [12:30:07]Write to MH i2c: E2 21 00 C5 1E 80 0D 02 02 19 00 30 39 36 35 33 37 32 10 04 04 00 45 91 00 00 35 04 06 00 0B 80 EA 90 C4 B9 00 00 AE [12:30:07]Write i2c OK [12:30:07]MH_I2C_Read... [12:30:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:30:07]Read from MH i2c: E2 [12:30:07]MH_I2C_Read... [12:30:07]Read from MH i2c: E2 03 00 [12:30:07]MH_I2C_Read... [12:30:07]Read from MH i2c: E2 03 00 C5 1E 00 90 00 57 [12:30:07]RAPDU: 90 00 [12:30:07]wFMCommunicate OK [12:30:07]wFMCommunicate request_size=4 [12:30:07]MH_SAM_APDU [12:30:07]CAPDU: 80 0D 03 02 [12:30:07]Write to MH i2c: E2 08 00 C6 1E 80 0D 03 02 00 00 00 00 5F [12:30:07]Write i2c OK [12:30:07]MH_I2C_Read... [12:30:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:30:07]Read from MH i2c: E2 [12:30:07]MH_I2C_Read... [12:30:07]Read from MH i2c: E2 0B 00 [12:30:07]MH_I2C_Read... [12:30:07]Read from MH i2c: E2 0B 00 C6 1E 00 7C 31 37 A5 EC DB 14 77 90 00 3B [12:30:07]RAPDU: 7C 31 37 A5 EC DB 14 77 90 00 [12:30:07]wFMCommunicate OK [12:30:07]SAM_PROTO_SignData done [12:30:07]FM_MakeSignedData done [12:30:07]CreateOFDProtocolMessage [12:30:07]wFMCommunicate request_size=4 [12:30:07]MH_SAM_APDU [12:30:07]CAPDU: 80 11 00 00 [12:30:07]Write to MH i2c: E2 08 00 C7 1E 80 11 00 00 00 00 00 00 5F [12:30:07]Write i2c OK [12:30:07]MH_I2C_Read... [12:30:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:30:07]Read from MH i2c: E2 [12:30:07]MH_I2C_Read... [12:30:07]Read from MH i2c: E2 17 00 [12:30:07]MH_I2C_Read... [12:30:07]Read from MH i2c: E2 17 00 C7 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 B2 [12:30:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [12:30:07]wFMCommunicate OK [12:30:07]CreateOFDProtocolMessage done [12:30:07]OFDSenderStorePacket 37189 [12:30:07]StoreOFDPacket docnum=37189 [12:30:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 23 01 00 00 67 DD 1B 01 C6 6F 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 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 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 D5 F7 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 45 91 00 00 35 04 06 00 0B 80 EA 90 C4 B9 7C 31 37 A5 EC DB 14 77 [12:30:07]CheckFolder [12:30:07]dirname=/storage/ofd_packets [12:30:07]CheckFolder done [12:30:07]ProducePacketName [12:30:07]name=ofd_packets/00037189 [12:30:07]NVStorageSaveData ofd_packets/00037189 [12:30:07]File name is /storage/ofd_packets/00037189 [12:30:07]Write 321 bytes [12:30:07]NVStorageSaveData done [12:30:07]OFDSenderStorePacket done [12:30:07]KKMCreateOFDPacket done [12:30:07]NVStorageSaveData kkm_last_timestamp [12:30:07]File name is /storage/kkm_last_timestamp [12:30:07]Write 4 bytes [12:30:07]NVStorageSaveData done [12:30:07]ExternCall_PrintAddStr [12:30:07]wPrintStart [12:30:07]Write to MH i2c: 01 00 00 C8 1E E6 [12:30:07]Write i2c OK [12:30:07]MH_I2C_Read... [12:30:07]Read from MH i2c: 01 [12:30:07]MH_I2C_Read... [12:30:07]Read from MH i2c: 01 07 00 [12:30:07]MH_I2C_Read... [12:30:07]Read from MH i2c: 01 07 00 C8 1E 00 00 00 00 00 FF 0F FB [12:30:07]RasterBufferAndPrint [12:30:07]line Счет N : (3)76668 [12:30:07]line ИÐÐ: 02508201610067 [12:30:07]line Контрольно-КаÑÑовый Чек [12:30:07]line ПРОДÐЖР[12:30:07]line Товар: 47802995 [12:30:07]line Сигареты Winston XS Silver [12:30:07]line 1.000 * 144.00 [12:30:07]line = 144.00 [12:30:07]line ÐДС 12% ÐСП 1% [12:30:07]line > о реализуемом товаре [12:30:07]line ИТОГО: 144.00 [12:30:07]line ÐСП 1% : 1.27 [12:30:07]line ÐДС 12% : 15.29 [12:30:07]line Ðаличными: 144.00 [12:30:07]line Безнал.: 0.00 [12:30:07]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [12:30:07]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [12:30:07]line СÐО: Общий режим [12:30:07]line Чек 37 20.10.2024 12:30 [12:30:07]line Смена: 461 ФФД: 1.0 [12:30:07]line ЗÐМ: 0300000235 [12:30:07]line РÐМ: 0000000000098149 [12:30:07]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [12:30:07]line ФМ: 0000000000965372 [12:30:07]line ФД: 37189 [12:30:07]line ФПД: 12648319075513 [12:30:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T123013&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37189&fm=12648319075513&tin=02508201610067®Number=0000000000098149&sum=14400 [12:30:08]line 0 [12:30:08]OFD Sender: Processing packet 37189 [packets to send 25, broken 24] [12:30:08]ProducePacketName [12:30:08]name=ofd_packets/00037189 [12:30:08]OFD Sender: To server: ‡•öpG, [12:30:08]CommunicateWithHost lk.salyk.kg:30040 [12:30:08]ConnectInit lk.salyk.kg [12:30:08]written 0, free lines is 4095 [12:30:08]Connected sock=10 [12:30: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 33 37 32 23 01 00 00 67 DD 1B 01 C6 6F 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 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 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 D5 F7 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 45 91 00 00 35 04 06 00 0B 80 EA 90 C4 B9 7C 31 37 A5 EC DB 14 77 [12:30:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 D7 48 47 00 B7 A4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 45 91 00 00 F4 03 04 00 67 A0 14 67 B6 04 01 00 00 8B 97 00 6C BF AA E3 88 [12:30:08]CommunicateWithHost err = 0 [12:30:08]CheckOFDResponse [12:30:08]1017 (14) - 77093643461234 [12:30:08]1041 (16) - 0000000000965372 [12:30:08]1040 (4) - 37189 [12:30:08]1012 (4) - 20.10.2024 06:17 [12:30:08]1206 (1) - 0 [12:30:08]OFD Sender: Remove packet 37189 [12:30:08]ProducePacketName [12:30:08]name=ofd_packets/00037189 [12:30:08]NVStorageDeleteData [12:30:08]Write to MH i2c: 01 00 00 F0 1E 0E [12:30:08]Write i2c OK [12:30:08]MH_I2C_Read... [12:30:08]Read from MH i2c: 01 [12:30:08]MH_I2C_Read... [12:30:08]Read from MH i2c: 01 07 00 [12:30:08]MH_I2C_Read... [12:30:08]Read from MH i2c: 01 07 00 F0 1E 00 00 00 00 00 02 0D 24 [12:30:08]RasterBufferAndPrint [12:30:08]line [12:30:08]line [12:30:08]line [12:30:08]line [12:30:08]line [12:30:08]written 0, free lines is 3337 [12:30:08]process_action close_receipt done [12:30:08]requested_data is exist [12:30:08]produce_requested_data [12:30:08]requested_item fm.sn is exist - process it [12:30:08]wFMCommunicate request_size=4 [12:30:08]MH_SAM_APDU [12:30:08]CAPDU: 80 11 00 00 [12:30:08]Write to MH i2c: E2 08 00 F7 1E 80 11 00 00 00 00 00 00 8F [12:30:08]Write i2c OK [12:30:08]MH_I2C_Read... [12:30:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:30:08]Read from MH i2c: E2 [12:30:08]MH_I2C_Read... [12:30:08]Read from MH i2c: E2 17 00 [12:30:08]MH_I2C_Read... [12:30:08]Read from MH i2c: E2 17 00 F7 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 E2 [12:30:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [12:30:08]wFMCommunicate OK [12:30:08]requested_item fd.num is exist - process it [12:30:08]SAM_PROTO_GetFieldsCounters [12:30:08]wFMCommunicate request_size=4 [12:30:08]MH_SAM_APDU [12:30:08]CAPDU: 80 13 00 00 [12:30:08]Write to MH i2c: E2 08 00 F8 1E 80 13 00 00 00 00 00 00 92 [12:30:08]Write i2c OK [12:30:08]MH_I2C_Read... [12:30:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:30:08]Read from MH i2c: E2 [12:30:08]MH_I2C_Read... [12:30:08]Read from MH i2c: E2 62 00 [12:30:08]MH_I2C_Read... [12:30:08]Read from MH i2c: E2 62 00 F8 1E 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 45 91 00 00 0E 04 04 00 CD 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 CC [12:30: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 45 91 00 00 0E 04 04 00 CD 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 [12:30:08]wFMCommunicate OK [12:30:08]SAM_PROTO_GetFieldsCounters done [12:30:08]requested_item shift.num is exist - process it [12:30:08]requested_item shift.opened is exist - process it [12:30:08]req_shift_opened [12:30:08]FM_GetShiftState [12:30:08]SAM_PROTO_GetShiftState [12:30:08]wFMCommunicate request_size=4 [12:30:08]MH_SAM_APDU [12:30:08]CAPDU: 80 13 01 00 [12:30:08]Write to MH i2c: E2 08 00 F9 1E 80 13 01 00 00 00 00 00 94 [12:30:08]Write i2c OK [12:30:08]MH_I2C_Read... [12:30:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:30:08]Read from MH i2c: E2 [12:30:08]MH_I2C_Read... [12:30:08]Read from MH i2c: E2 0E 00 [12:30:08]MH_I2C_Read... [12:30:08]Read from MH i2c: E2 0E 00 F9 1E 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 E9 [12:30:08]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [12:30:08]wFMCommunicate OK [12:30:08]SAM_PROTO_GetShiftState done [12:30:08]FM_GetShiftState done [12:30:08]req_shift_opened done [12:30:08]requested_item shift.open_date is exist - process it [12:30:08]req_shift_open_date [12:30:08]req_shift_open_date done [12:30:08]produce_requested_data done [12:30:08]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37189,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [12:30:08]process_action_free close_receipt [12:30:08]json_value_free [12:30:08]json_value_free done [12:30:08]process_json_proto returns [12:30:08]Send response to host [12:30:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37189,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [12:30:08]free response buf [12:30:08]execute_script done [12:30:08]execute_script returns [12:30:08]free content buf [12:30:08]Sock 9.Close socket [12:30:08]Sock 9.Thread stoped [12:30:08]OFD Sender: No OFD packet to send [12:30:13]OFD Sender: No OFD packet to send [12:30:18]OFD Sender: No OFD packet to send [12:30:23]OFD Sender: No OFD packet to send [12:30:28]OFD Sender: No OFD packet to send [12:30:33]OFD Sender: No OFD packet to send [12:30:38]OFD Sender: No OFD packet to send [12:30:43]OFD Sender: No OFD packet to send [12:30:48]OFD Sender: No OFD packet to send [12:30:53]OFD Sender: No OFD packet to send [12:30:58]OFD Sender: No OFD packet to send [12:31:03]OFD Sender: No OFD packet to send [12:31:08]OFD Sender: No OFD packet to send [12:31:13]OFD Sender: No OFD packet to send [12:31:18]OFD Sender: No OFD packet to send [12:31:23]OFD Sender: No OFD packet to send [12:31:28]OFD Sender: No OFD packet to send [12:31:33]OFD Sender: No OFD packet to send [12:31:38]OFD Sender: No OFD packet to send [12:31:43]OFD Sender: No OFD packet to send [12:31:48]OFD Sender: No OFD packet to send [12:31:53]OFD Sender: No OFD packet to send [12:31:59]OFD Sender: No OFD packet to send [12:32:04]OFD Sender: No OFD packet to send [12:32:09]OFD Sender: No OFD packet to send [12:32:14]OFD Sender: No OFD packet to send [12:32:19]OFD Sender: No OFD packet to send [12:32:24]OFD Sender: No OFD packet to send [12:32:29]OFD Sender: No OFD packet to send [12:32:34]OFD Sender: No OFD packet to send [12:32:39]OFD Sender: No OFD packet to send [12:32:44]OFD Sender: No OFD packet to send [12:32:49]OFD Sender: No OFD packet to send [12:32:54]OFD Sender: No OFD packet to send [12:32:59]OFD Sender: No OFD packet to send [12:33:04]OFD Sender: No OFD packet to send [12:33:09]OFD Sender: No OFD packet to send [12:33:14]OFD Sender: No OFD packet to send [12:33:19]OFD Sender: No OFD packet to send [12:33:24]OFD Sender: No OFD packet to send [12:33:29]OFD Sender: No OFD packet to send [12:33:34]OFD Sender: No OFD packet to send [12:33:39]OFD Sender: No OFD packet to send [12:33:44]OFD Sender: No OFD packet to send [12:33:49]OFD Sender: No OFD packet to send [12:33:54]OFD Sender: No OFD packet to send [12:33:59]OFD Sender: No OFD packet to send [12:34:04]OFD Sender: No OFD packet to send [12:34:09]OFD Sender: No OFD packet to send [12:34:14]OFD Sender: No OFD packet to send [12:34:19]OFD Sender: No OFD packet to send [12:34:24]OFD Sender: No OFD packet to send [12:34:29]OFD Sender: No OFD packet to send [12:34:34]OFD Sender: No OFD packet to send [12:34:39]OFD Sender: No OFD packet to send [12:34:44]OFD Sender: No OFD packet to send [12:34:49]OFD Sender: No OFD packet to send [12:34:54]OFD Sender: No OFD packet to send [12:34:59]OFD Sender: No OFD packet to send [12:35:04]OFD Sender: No OFD packet to send [12:35:09]OFD Sender: No OFD packet to send [12:35:14]OFD Sender: No OFD packet to send [12:35:19]OFD Sender: No OFD packet to send [12:35:24]OFD Sender: No OFD packet to send [12:35:29]OFD Sender: No OFD packet to send [12:35:34]OFD Sender: No OFD packet to send [12:35:39]OFD Sender: No OFD packet to send [12:35:44]OFD Sender: No OFD packet to send [12:35:49]OFD Sender: No OFD packet to send [12:35:54]OFD Sender: No OFD packet to send [12:35:59]OFD Sender: No OFD packet to send [12:36:04]OFD Sender: No OFD packet to send [12:36:09]OFD Sender: No OFD packet to send [12:36:14]OFD Sender: No OFD packet to send [12:36:19]OFD Sender: No OFD packet to send [12:36:24]OFD Sender: No OFD packet to send [12:36:29]OFD Sender: No OFD packet to send [12:36:34]OFD Sender: No OFD packet to send [12:36:39]OFD Sender: No OFD packet to send [12:36:44]OFD Sender: No OFD packet to send [12:36:49]OFD Sender: No OFD packet to send [12:36:54]OFD Sender: No OFD packet to send [12:36:59]OFD Sender: No OFD packet to send [12:37:04]OFD Sender: No OFD packet to send [12:37:09]OFD Sender: No OFD packet to send [12:37:14]OFD Sender: No OFD packet to send [12:37:19]OFD Sender: No OFD packet to send [12:37:24]OFD Sender: No OFD packet to send [12:37:29]OFD Sender: No OFD packet to send [12:37:34]OFD Sender: No OFD packet to send [12:37:39]OFD Sender: No OFD packet to send [12:37:44]OFD Sender: No OFD packet to send [12:37:49]OFD Sender: No OFD packet to send [12:37:54]OFD Sender: No OFD packet to send [12:37:59]OFD Sender: No OFD packet to send [12:38:04]OFD Sender: No OFD packet to send [12:38:09]OFD Sender: No OFD packet to send [12:38:14]OFD Sender: No OFD packet to send [12:38:19]OFD Sender: No OFD packet to send [12:38:24]OFD Sender: No OFD packet to send [12:38:29]OFD Sender: No OFD packet to send [12:38:34]OFD Sender: No OFD packet to send [12:38:39]OFD Sender: No OFD packet to send [12:38:44]OFD Sender: No OFD packet to send [12:38:49]OFD Sender: No OFD packet to send [12:38:54]OFD Sender: No OFD packet to send [12:38:59]OFD Sender: No OFD packet to send [12:39:04]OFD Sender: No OFD packet to send [12:39:09]OFD Sender: No OFD packet to send [12:39:14]OFD Sender: No OFD packet to send [12:39:19]OFD Sender: No OFD packet to send [12:39:24]OFD Sender: No OFD packet to send [12:39:29]OFD Sender: No OFD packet to send [12:39:34]OFD Sender: No OFD packet to send [12:39:39]OFD Sender: No OFD packet to send [12:39:44]OFD Sender: No OFD packet to send [12:39:49]OFD Sender: No OFD packet to send [12:39:54]OFD Sender: No OFD packet to send [12:39:59]OFD Sender: No OFD packet to send [12:40:04]OFD Sender: No OFD packet to send [12:40:09]OFD Sender: No OFD packet to send [12:40:14]OFD Sender: No OFD packet to send [12:40:19]OFD Sender: No OFD packet to send [12:40:24]OFD Sender: No OFD packet to send [12:40:29]OFD Sender: No OFD packet to send [12:40:34]OFD Sender: No OFD packet to send [12:40:39]OFD Sender: No OFD packet to send [12:40:44]OFD Sender: No OFD packet to send [12:40:49]OFD Sender: No OFD packet to send [12:40:54]OFD Sender: No OFD packet to send [12:40:59]OFD Sender: No OFD packet to send [12:41:04]OFD Sender: No OFD packet to send [12:41:09]OFD Sender: No OFD packet to send [12:41:14]OFD Sender: No OFD packet to send [12:41:19]OFD Sender: No OFD packet to send [12:41:24]OFD Sender: No OFD packet to send [12:41:29]OFD Sender: No OFD packet to send [12:41:34]OFD Sender: No OFD packet to send [12:41:39]OFD Sender: No OFD packet to send [12:41:44]OFD Sender: No OFD packet to send [12:41:49]OFD Sender: No OFD packet to send [12:41:54]OFD Sender: No OFD packet to send [12:41:59]OFD Sender: No OFD packet to send [12:42:04]OFD Sender: No OFD packet to send [12:42:09]OFD Sender: No OFD packet to send [12:42:14]OFD Sender: No OFD packet to send [12:42:19]OFD Sender: No OFD packet to send [12:42:24]OFD Sender: No OFD packet to send [12:42:29]OFD Sender: No OFD packet to send [12:42:34]OFD Sender: No OFD packet to send [12:42:39]OFD Sender: No OFD packet to send [12:42:44]OFD Sender: No OFD packet to send [12:42:49]OFD Sender: No OFD packet to send [12:42:54]OFD Sender: No OFD packet to send [12:42:59]OFD Sender: No OFD packet to send [12:43:04]OFD Sender: No OFD packet to send [12:43:09]OFD Sender: No OFD packet to send [12:43:14]OFD Sender: No OFD packet to send [12:43:19]OFD Sender: No OFD packet to send [12:43:24]OFD Sender: No OFD packet to send [12:43:29]OFD Sender: No OFD packet to send [12:43:34]OFD Sender: No OFD packet to send [12:43:39]OFD Sender: No OFD packet to send [12:43:44]OFD Sender: No OFD packet to send [12:43:49]OFD Sender: No OFD packet to send [12:43:54]OFD Sender: No OFD packet to send [12:43:59]OFD Sender: No OFD packet to send [12:44:04]OFD Sender: No OFD packet to send [12:44:09]OFD Sender: No OFD packet to send [12:44:14]OFD Sender: No OFD packet to send [12:44:19]OFD Sender: No OFD packet to send [12:44:24]OFD Sender: No OFD packet to send [12:44:29]OFD Sender: No OFD packet to send [12:44:34]OFD Sender: No OFD packet to send [12:44:39]OFD Sender: No OFD packet to send [12:44:44]OFD Sender: No OFD packet to send [12:44:49]OFD Sender: No OFD packet to send [12:44:54]OFD Sender: No OFD packet to send [12:44:59]OFD Sender: No OFD packet to send [12:45:04]OFD Sender: No OFD packet to send [12:45:09]OFD Sender: No OFD packet to send [12:45:14]OFD Sender: No OFD packet to send [12:45:19]OFD Sender: No OFD packet to send [12:45:24]OFD Sender: No OFD packet to send [12:45:29]OFD Sender: No OFD packet to send [12:45:34]OFD Sender: No OFD packet to send [12:45:39]OFD Sender: No OFD packet to send [12:45:44]OFD Sender: No OFD packet to send [12:45:49]OFD Sender: No OFD packet to send [12:45:54]OFD Sender: No OFD packet to send [12:45:59]OFD Sender: No OFD packet to send [12:46:04]OFD Sender: No OFD packet to send [12:46:09]OFD Sender: No OFD packet to send [12:46:14]OFD Sender: No OFD packet to send [12:46:19]OFD Sender: No OFD packet to send [12:46:24]OFD Sender: No OFD packet to send [12:46:29]OFD Sender: No OFD packet to send [12:46:34]OFD Sender: No OFD packet to send [12:46:39]OFD Sender: No OFD packet to send [12:46:44]OFD Sender: No OFD packet to send [12:46:49]OFD Sender: No OFD packet to send [12:46:54]OFD Sender: No OFD packet to send [12:46:59]OFD Sender: No OFD packet to send [12:47:04]OFD Sender: No OFD packet to send [12:47:09]OFD Sender: No OFD packet to send [12:47:14]OFD Sender: No OFD packet to send [12:47:19]OFD Sender: No OFD packet to send [12:47:24]OFD Sender: No OFD packet to send [12:47:29]OFD Sender: No OFD packet to send [12:47:34]OFD Sender: No OFD packet to send [12:47:39]OFD Sender: No OFD packet to send [12:47:44]OFD Sender: No OFD packet to send [12:47:49]OFD Sender: No OFD packet to send [12:47:54]OFD Sender: No OFD packet to send [12:47:59]OFD Sender: No OFD packet to send [12:48:04]OFD Sender: No OFD packet to send [12:48:09]OFD Sender: No OFD packet to send [12:48:14]OFD Sender: No OFD packet to send [12:48:19]OFD Sender: No OFD packet to send [12:48:24]OFD Sender: No OFD packet to send [12:48:29]OFD Sender: No OFD packet to send [12:48:34]OFD Sender: No OFD packet to send [12:48:39]OFD Sender: No OFD packet to send [12:48:44]OFD Sender: No OFD packet to send [12:48:49]OFD Sender: No OFD packet to send [12:48:54]OFD Sender: No OFD packet to send [12:48:59]OFD Sender: No OFD packet to send [12:49:04]OFD Sender: No OFD packet to send [12:49:09]OFD Sender: No OFD packet to send [12:49:11]accept exits with 7 [12:49:11]New connection [12:49:11]New thread 3066555748 created [12:49:11]Thread 3066699108 joined [12:49:11]Waiting for new connection... [12:49:11] Sock 7.Parse request [12:49:11]Sock 7.Check first char [12:49:11]Sock 7.First char is OK [12:49:11]request: POST /json_proto HTTP/1.0 [12:49:11]Method: POST [12:49:11]URL: /json_proto [12:49:11]Method is POST - this is cgi request [12:49:11]url: /json_proto [12:49:11]query_string will be loaded in cgi processing [12:49:11]execute_cgi json_proto POST (null) [12:49:11]execute_cgi path=json_proto method=POST [12:49:11]POST find Content-Length [12:49:11]Host: 172.17.53.68:8080 [12:49:11]Content-Length: 643 [12:49:11]Content-Type: application/json [12:49:11] [12:49:11]POST finish read [12:49:11]Found Content-Length = 643 [12:49:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76669", "tax_sys" : 0, "items" : [ { "code": "4700000310326", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 1\u043B \u0431/\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 35.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:49:11]execute_script... [12:49:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76669", "tax_sys" : 0, "items" : [ { "code": "4700000310326", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 1\u043B \u0431/\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 35.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:49:11]POST & json_proto [12:49:11]process_json_proto [12:49:11]json parsed OK: [12:49:11]protocol is kg_v1.0 [12:49:11]action value=close_receipt [12:49:11]process_action close_receipt [12:49:11]cmd_close_receipt [12:49:11]MH_GetDate [12:49:11]Write to MH i2c: F0 00 00 FA 1E 07 [12:49:11]Write i2c OK [12:49:11]MH_I2C_Read... [12:49:11]Read from MH i2c: F0 [12:49:11]MH_I2C_Read... [12:49:11]Read from MH i2c: F0 09 00 [12:49:11]MH_I2C_Read... [12:49:11]Read from MH i2c: F0 09 00 FA 1E 00 4E FC 14 67 C5 A4 76 66 1A [12:49:11]GetLastDocTimeStamp 1729427413 [12:49:11]current date 1729428558 [12:49:11]FM_GetShiftState [12:49:11]SAM_PROTO_GetShiftState [12:49:11]wFMCommunicate request_size=4 [12:49:11]MH_SAM_APDU [12:49:11]CAPDU: 80 13 01 00 [12:49:11]Write to MH i2c: E2 08 00 FB 1E 80 13 01 00 00 00 00 00 96 [12:49:11]Write i2c OK [12:49:11]MH_I2C_Read... [12:49:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:49:11]Read from MH i2c: E2 [12:49:11]MH_I2C_Read... [12:49:11]Read from MH i2c: E2 0E 00 [12:49:11]MH_I2C_Read... [12:49:11]Read from MH i2c: E2 0E 00 FB 1E 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 EB [12:49:11]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [12:49:11]wFMCommunicate OK [12:49:11]SAM_PROTO_GetShiftState done [12:49:11]FM_GetShiftState done [12:49:11]opened in 1729383299 [12:49:11]opened+sec_in_day 1729469699 [12:49:11]quantity*price = 3500 [12:49:11]sum+1 = 3501 [12:49:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 35.00 ÐСП 1% : 0.31 ÐДС 12% : 3.72 Ðаличными: 35.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 38 20.10.2024 12:49 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37190 ФПД: 11134314872052 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T124918&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37190&fm=11134314872052&tin=02508201610067®Number=0000000000098149&sum=3500 0 [12:49:12]StoreToDocumentArchive [12:49:12]shift 461 fd 37190 [12:49:12]save to /storage/0461/doc_00037190 [12:49:12]save last doc name /storage/0461/doc_00037190 to /storage/kkm_last_doc_name [12:49:12]save OK [12:49:12]Clear old archive folders... [12:49:12]ProcessDocumentItem done err = 0, tmpTLVsize=275 [12:49:12]tlvbuf is 00A31710 [12:49:12]SAM_PROTO_ClearQueue [12:49:12]wFMCommunicate request_size=4 [12:49:12]MH_SAM_APDU [12:49:12]CAPDU: 80 09 00 00 [12:49:12]Write to MH i2c: E2 08 00 08 1F 80 09 00 00 00 00 00 00 99 [12:49:12]Write i2c OK [12:49:12]MH_I2C_Read... [12:49:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:49:12]Read from MH i2c: E2 [12:49:12]MH_I2C_Read... [12:49:12]Read from MH i2c: E2 03 00 [12:49:12]MH_I2C_Read... [12:49:12]Read from MH i2c: E2 03 00 08 1F 00 90 00 9B [12:49:12]RAPDU: 90 00 [12:49:12]wFMCommunicate OK [12:49:12]SAM_PROTO_ClearQueue done [12:49:12]KKMCreateOFDPacket [12:49:12]OFDProtocolAddRootSTLVToBuf [12:49:12]FM_MakeSignedData [12:49:12]FM_MakeSignedData [12:49:12]SAM_PROTO_SignData [12:49:12]wFMCommunicate request_size=4 [12:49:12]MH_SAM_APDU [12:49:12]CAPDU: 80 0D 01 02 [12:49:12]Write to MH i2c: E2 08 00 09 1F 80 0D 01 02 00 00 00 00 A1 [12:49:12]Write i2c OK [12:49:12]MH_I2C_Read... [12:49:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:49:12]Read from MH i2c: E2 [12:49:12]MH_I2C_Read... [12:49:12]Read from MH i2c: E2 03 00 [12:49:12]MH_I2C_Read... [12:49:12]Read from MH i2c: E2 03 00 09 1F 00 90 00 9C [12:49:12]RAPDU: 90 00 [12:49:12]wFMCommunicate OK [12:49:12]wFMCommunicate request_size=255 [12:49:12]MH_SAM_APDU [12:49:12]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 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 26 00 00 00 F4 03 04 00 4E FC 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 [12:49:12]Write to MH i2c: E2 02 01 0A 1F 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 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 26 00 00 00 F4 03 04 00 4E FC 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 00 00 48 [12:49:12]Write i2c OK [12:49:12]MH_I2C_Read... [12:49:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:49:12]Read from MH i2c: E2 [12:49:12]MH_I2C_Read... [12:49:12]Read from MH i2c: E2 03 00 [12:49:12]MH_I2C_Read... [12:49:12]Read from MH i2c: E2 03 00 0A 1F 00 90 00 9D [12:49:12]RAPDU: 90 00 [12:49:12]wFMCommunicate OK [12:49:12]wFMCommunicate request_size=34 [12:49:12]MH_SAM_APDU [12:49:12]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 46 91 00 00 35 04 06 00 0A 20 68 E1 FC F4 [12:49:12]Write to MH i2c: E2 25 00 0B 1F 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 46 91 00 00 35 04 06 00 0A 20 68 E1 FC F4 00 00 9F [12:49:12]Write i2c OK [12:49:12]MH_I2C_Read... [12:49:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:49:12]Read from MH i2c: E2 [12:49:12]MH_I2C_Read... [12:49:12]Read from MH i2c: E2 03 00 [12:49:12]MH_I2C_Read... [12:49:12]Read from MH i2c: E2 03 00 0B 1F 00 90 00 9E [12:49:12]RAPDU: 90 00 [12:49:12]wFMCommunicate OK [12:49:12]wFMCommunicate request_size=4 [12:49:12]MH_SAM_APDU [12:49:12]CAPDU: 80 0D 03 02 [12:49:12]Write to MH i2c: E2 08 00 0C 1F 80 0D 03 02 00 00 00 00 A6 [12:49:12]Write i2c OK [12:49:12]MH_I2C_Read... [12:49:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:49:12]Read from MH i2c: E2 [12:49:12]MH_I2C_Read... [12:49:12]Read from MH i2c: E2 0B 00 [12:49:12]MH_I2C_Read... [12:49:12]Read from MH i2c: E2 0B 00 0C 1F 00 7D 52 A3 F1 32 50 04 5E 90 00 EE [12:49:12]RAPDU: 7D 52 A3 F1 32 50 04 5E 90 00 [12:49:12]wFMCommunicate OK [12:49:12]SAM_PROTO_SignData done [12:49:12]FM_MakeSignedData done [12:49:12]CreateOFDProtocolMessage [12:49:12]wFMCommunicate request_size=4 [12:49:12]MH_SAM_APDU [12:49:12]CAPDU: 80 11 00 00 [12:49:12]Write to MH i2c: E2 08 00 0D 1F 80 11 00 00 00 00 00 00 A6 [12:49:12]Write i2c OK [12:49:12]MH_I2C_Read... [12:49:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:49:12]Read from MH i2c: E2 [12:49:12]MH_I2C_Read... [12:49:12]Read from MH i2c: E2 17 00 [12:49:12]MH_I2C_Read... [12:49:12]Read from MH i2c: E2 17 00 0D 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 F9 [12:49:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [12:49:12]wFMCommunicate OK [12:49:12]CreateOFDProtocolMessage done [12:49:12]OFDSenderStorePacket 37190 [12:49:12]StoreOFDPacket docnum=37190 [12:49:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 27 01 00 00 85 4F 1F 01 E9 1F 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 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 26 00 00 00 F4 03 04 00 4E FC 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 46 91 00 00 35 04 06 00 0A 20 68 E1 FC F4 7D 52 A3 F1 32 50 04 5E [12:49:12]CheckFolder [12:49:12]dirname=/storage/ofd_packets [12:49:12]CheckFolder done [12:49:12]ProducePacketName [12:49:12]name=ofd_packets/00037190 [12:49:12]NVStorageSaveData ofd_packets/00037190 [12:49:12]File name is /storage/ofd_packets/00037190 [12:49:12]Write 325 bytes [12:49:12]NVStorageSaveData done [12:49:12]OFDSenderStorePacket done [12:49:12]KKMCreateOFDPacket done [12:49:12]NVStorageSaveData kkm_last_timestamp [12:49:12]File name is /storage/kkm_last_timestamp [12:49:12]Write 4 bytes [12:49:12]NVStorageSaveData done [12:49:12]ExternCall_PrintAddStr [12:49:12]wPrintStart [12:49:12]Write to MH i2c: 01 00 00 0E 1F 2D [12:49:12]Write i2c OK [12:49:12]MH_I2C_Read... [12:49:12]Read from MH i2c: 01 [12:49:12]MH_I2C_Read... [12:49:12]Read from MH i2c: 01 07 00 [12:49:12]MH_I2C_Read... [12:49:12]Read from MH i2c: 01 07 00 0E 1F 00 00 00 00 00 FF 0F 42 [12:49:12]RasterBufferAndPrint [12:49:12]line Счет N : (3)76669 [12:49:12]line ИÐÐ: 02508201610067 [12:49:12]line Контрольно-КаÑÑовый Чек [12:49:12]line ПРОДÐЖР[12:49:12]line Товар: 4700000310326 [12:49:12]line Вода Ðдыгене 1л б/г [12:49:12]line 1.000 * 35.00 [12:49:12]line = 35.00 [12:49:12]line ÐДС 12% ÐСП 1% [12:49:12]line > о реализуемом товаре [12:49:12]line ИТОГО: 35.00 [12:49:12]line ÐСП 1% : 0.31 [12:49:12]line ÐДС 12% : 3.72 [12:49:12]line Ðаличными: 35.00 [12:49:12]line Безнал.: 0.00 [12:49:12]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [12:49:12]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [12:49:12]line СÐО: Общий режим [12:49:12]line Чек 38 20.10.2024 12:49 [12:49:12]line Смена: 461 ФФД: 1.0 [12:49:12]line ЗÐМ: 0300000235 [12:49:13]line РÐМ: 0000000000098149 [12:49:13]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [12:49:13]line ФМ: 0000000000965372 [12:49:13]line ФД: 37190 [12:49:13]line ФПД: 11134314872052 [12:49:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T124918&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37190&fm=11134314872052&tin=02508201610067®Number=0000000000098149&sum=3500 [12:49:13]line 0 [12:49:13]OFD Sender: Processing packet 37190 [packets to send 25, broken 24] [12:49:13]ProducePacketName [12:49:13]name=ofd_packets/00037190 [12:49:13]OFD Sender: To server: ‡•öpG, [12:49:13]CommunicateWithHost lk.salyk.kg:30040 [12:49:13]ConnectInit lk.salyk.kg [12:49:13]written 0, free lines is 4095 [12:49:13]Connected sock=10 [12:49: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 33 37 32 27 01 00 00 85 4F 1F 01 E9 1F 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 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 26 00 00 00 F4 03 04 00 4E FC 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 46 91 00 00 35 04 06 00 0A 20 68 E1 FC F4 7D 52 A3 F1 32 50 04 5E [12:49:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 CB A1 47 00 2E 8E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 46 91 00 00 F4 03 04 00 E0 A4 14 67 B6 04 01 00 00 50 7B CA 6C 40 C3 62 98 [12:49:13]CommunicateWithHost err = 0 [12:49:13]CheckOFDResponse [12:49:13]1017 (14) - 77093643461234 [12:49:13]1041 (16) - 0000000000965372 [12:49:13]1040 (4) - 37190 [12:49:13]1012 (4) - 20.10.2024 06:36 [12:49:13]1206 (1) - 0 [12:49:13]OFD Sender: Remove packet 37190 [12:49:13]ProducePacketName [12:49:13]name=ofd_packets/00037190 [12:49:13]NVStorageDeleteData [12:49:13]Write to MH i2c: 01 00 00 36 1F 55 [12:49:13]Write i2c OK [12:49:13]MH_I2C_Read... [12:49:13]Read from MH i2c: 01 [12:49:13]MH_I2C_Read... [12:49:13]Read from MH i2c: 01 07 00 [12:49:13]MH_I2C_Read... [12:49:13]Read from MH i2c: 01 07 00 36 1F 00 00 00 00 00 F3 0C 5B [12:49:13]RasterBufferAndPrint [12:49:13]line [12:49:13]line [12:49:13]line [12:49:13]line [12:49:13]line [12:49:13]written 0, free lines is 3322 [12:49:13]process_action close_receipt done [12:49:13]requested_data is exist [12:49:13]produce_requested_data [12:49:13]requested_item fm.sn is exist - process it [12:49:13]wFMCommunicate request_size=4 [12:49:13]MH_SAM_APDU [12:49:13]CAPDU: 80 11 00 00 [12:49:13]Write to MH i2c: E2 08 00 3D 1F 80 11 00 00 00 00 00 00 D6 [12:49:13]Write i2c OK [12:49:13]MH_I2C_Read... [12:49:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:49:13]Read from MH i2c: E2 [12:49:13]MH_I2C_Read... [12:49:13]Read from MH i2c: E2 17 00 [12:49:13]MH_I2C_Read... [12:49:13]Read from MH i2c: E2 17 00 3D 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 29 [12:49:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [12:49:13]wFMCommunicate OK [12:49:13]requested_item fd.num is exist - process it [12:49:13]SAM_PROTO_GetFieldsCounters [12:49:13]wFMCommunicate request_size=4 [12:49:13]MH_SAM_APDU [12:49:13]CAPDU: 80 13 00 00 [12:49:13]Write to MH i2c: E2 08 00 3E 1F 80 13 00 00 00 00 00 00 D9 [12:49:13]Write i2c OK [12:49:13]MH_I2C_Read... [12:49:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:49:13]Read from MH i2c: E2 [12:49:13]MH_I2C_Read... [12:49:13]Read from MH i2c: E2 62 00 [12:49:13]MH_I2C_Read... [12:49:13]Read from MH i2c: E2 62 00 3E 1F 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 46 91 00 00 0E 04 04 00 CD 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 [12:49:13]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 46 91 00 00 0E 04 04 00 CD 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 [12:49:13]wFMCommunicate OK [12:49:13]SAM_PROTO_GetFieldsCounters done [12:49:13]requested_item shift.num is exist - process it [12:49:13]requested_item shift.opened is exist - process it [12:49:13]req_shift_opened [12:49:13]FM_GetShiftState [12:49:13]SAM_PROTO_GetShiftState [12:49:13]wFMCommunicate request_size=4 [12:49:13]MH_SAM_APDU [12:49:13]CAPDU: 80 13 01 00 [12:49:13]Write to MH i2c: E2 08 00 3F 1F 80 13 01 00 00 00 00 00 DB [12:49:13]Write i2c OK [12:49:13]MH_I2C_Read... [12:49:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:49:13]Read from MH i2c: E2 [12:49:13]MH_I2C_Read... [12:49:13]Read from MH i2c: E2 0E 00 [12:49:13]MH_I2C_Read... [12:49:13]Read from MH i2c: E2 0E 00 3F 1F 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 30 [12:49:13]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [12:49:13]wFMCommunicate OK [12:49:13]SAM_PROTO_GetShiftState done [12:49:13]FM_GetShiftState done [12:49:13]req_shift_opened done [12:49:13]requested_item shift.open_date is exist - process it [12:49:13]req_shift_open_date [12:49:13]req_shift_open_date done [12:49:13]produce_requested_data done [12:49:13]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37190,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [12:49:13]process_action_free close_receipt [12:49:13]json_value_free [12:49:13]json_value_free done [12:49:13]process_json_proto returns [12:49:13]Send response to host [12:49:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37190,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [12:49:13]free response buf [12:49:13]execute_script done [12:49:13]execute_script returns [12:49:13]free content buf [12:49:13]Sock 7.Close socket [12:49:13]Sock 7.Thread stoped [12:49:13]OFD Sender: No OFD packet to send [12:49:18]OFD Sender: No OFD packet to send [12:49:23]OFD Sender: No OFD packet to send [12:49:28]OFD Sender: No OFD packet to send [12:49:34]OFD Sender: No OFD packet to send [12:49:39]OFD Sender: No OFD packet to send [12:49:44]OFD Sender: No OFD packet to send [12:49:49]OFD Sender: No OFD packet to send [12:49:54]OFD Sender: No OFD packet to send [12:49:59]OFD Sender: No OFD packet to send [12:50:04]OFD Sender: No OFD packet to send [12:50:09]OFD Sender: No OFD packet to send [12:50:14]OFD Sender: No OFD packet to send [12:50:19]OFD Sender: No OFD packet to send [12:50:24]OFD Sender: No OFD packet to send [12:50:29]OFD Sender: No OFD packet to send [12:50:34]OFD Sender: No OFD packet to send [12:50:39]OFD Sender: No OFD packet to send [12:50:44]OFD Sender: No OFD packet to send [12:50:49]OFD Sender: No OFD packet to send [12:50:54]OFD Sender: No OFD packet to send [12:50:59]OFD Sender: No OFD packet to send [12:51:04]OFD Sender: No OFD packet to send [12:51:09]OFD Sender: No OFD packet to send [12:51:14]OFD Sender: No OFD packet to send [12:51:19]OFD Sender: No OFD packet to send [12:51:24]OFD Sender: No OFD packet to send [12:51:29]OFD Sender: No OFD packet to send [12:51:34]OFD Sender: No OFD packet to send [12:51:39]OFD Sender: No OFD packet to send [12:51:44]OFD Sender: No OFD packet to send [12:51:49]OFD Sender: No OFD packet to send [12:51:54]OFD Sender: No OFD packet to send [12:51:59]OFD Sender: No OFD packet to send [12:52:04]OFD Sender: No OFD packet to send [12:52:09]OFD Sender: No OFD packet to send [12:52:14]OFD Sender: No OFD packet to send [12:52:19]OFD Sender: No OFD packet to send [12:52:24]OFD Sender: No OFD packet to send [12:52:29]OFD Sender: No OFD packet to send [12:52:34]OFD Sender: No OFD packet to send [12:52:39]OFD Sender: No OFD packet to send [12:52:44]OFD Sender: No OFD packet to send [12:52:49]OFD Sender: No OFD packet to send [12:52:54]OFD Sender: No OFD packet to send [12:52:59]OFD Sender: No OFD packet to send [12:53:04]OFD Sender: No OFD packet to send [12:53:09]OFD Sender: No OFD packet to send [12:53:14]OFD Sender: No OFD packet to send [12:53:19]OFD Sender: No OFD packet to send [12:53:24]OFD Sender: No OFD packet to send [12:53:29]OFD Sender: No OFD packet to send [12:53:34]OFD Sender: No OFD packet to send [12:53:39]OFD Sender: No OFD packet to send [12:53:44]OFD Sender: No OFD packet to send [12:53:49]OFD Sender: No OFD packet to send [12:53:54]OFD Sender: No OFD packet to send [12:53:59]OFD Sender: No OFD packet to send [12:54:04]OFD Sender: No OFD packet to send [12:54:09]OFD Sender: No OFD packet to send [12:54:14]OFD Sender: No OFD packet to send [12:54:19]OFD Sender: No OFD packet to send [12:54:24]OFD Sender: No OFD packet to send [12:54:29]OFD Sender: No OFD packet to send [12:54:34]OFD Sender: No OFD packet to send [12:54:39]OFD Sender: No OFD packet to send [12:54:44]OFD Sender: No OFD packet to send [12:54:49]OFD Sender: No OFD packet to send [12:54:54]OFD Sender: No OFD packet to send [12:54:59]OFD Sender: No OFD packet to send [12:55:04]OFD Sender: No OFD packet to send [12:55:09]OFD Sender: No OFD packet to send [12:55:14]OFD Sender: No OFD packet to send [12:55:19]OFD Sender: No OFD packet to send [12:55:24]OFD Sender: No OFD packet to send [12:55:29]OFD Sender: No OFD packet to send [12:55:34]OFD Sender: No OFD packet to send [12:55:39]OFD Sender: No OFD packet to send [12:55:44]OFD Sender: No OFD packet to send [12:55:49]OFD Sender: No OFD packet to send [12:55:54]OFD Sender: No OFD packet to send [12:55:59]OFD Sender: No OFD packet to send [12:56:04]OFD Sender: No OFD packet to send [12:56:09]OFD Sender: No OFD packet to send [12:56:14]OFD Sender: No OFD packet to send [12:56:19]OFD Sender: No OFD packet to send [12:56:24]OFD Sender: No OFD packet to send [12:56:29]OFD Sender: No OFD packet to send [12:56:34]OFD Sender: No OFD packet to send [12:56:39]OFD Sender: No OFD packet to send [12:56:44]OFD Sender: No OFD packet to send [12:56:49]OFD Sender: No OFD packet to send [12:56:54]OFD Sender: No OFD packet to send [12:56:59]OFD Sender: No OFD packet to send [12:57:04]OFD Sender: No OFD packet to send [12:57:09]OFD Sender: No OFD packet to send [12:57:14]OFD Sender: No OFD packet to send [12:57:19]OFD Sender: No OFD packet to send [12:57:24]OFD Sender: No OFD packet to send [12:57:29]OFD Sender: No OFD packet to send [12:57:34]OFD Sender: No OFD packet to send [12:57:39]OFD Sender: No OFD packet to send [12:57:44]OFD Sender: No OFD packet to send [12:57:49]OFD Sender: No OFD packet to send [12:57:54]OFD Sender: No OFD packet to send [12:57:59]OFD Sender: No OFD packet to send [12:58:04]OFD Sender: No OFD packet to send [12:58:09]OFD Sender: No OFD packet to send [12:58:14]OFD Sender: No OFD packet to send [12:58:19]OFD Sender: No OFD packet to send [12:58:24]OFD Sender: No OFD packet to send [12:58:29]OFD Sender: No OFD packet to send [12:58:34]OFD Sender: No OFD packet to send [12:58:39]OFD Sender: No OFD packet to send [12:58:44]OFD Sender: No OFD packet to send [12:58:49]OFD Sender: No OFD packet to send [12:58:54]OFD Sender: No OFD packet to send [12:58:59]OFD Sender: No OFD packet to send [12:59:04]OFD Sender: No OFD packet to send [12:59:09]OFD Sender: No OFD packet to send [12:59:14]OFD Sender: No OFD packet to send [12:59:19]OFD Sender: No OFD packet to send [12:59:24]OFD Sender: No OFD packet to send [12:59:29]OFD Sender: No OFD packet to send [12:59:34]OFD Sender: No OFD packet to send [12:59:39]OFD Sender: No OFD packet to send [12:59:44]OFD Sender: No OFD packet to send [12:59:49]OFD Sender: No OFD packet to send [12:59:54]OFD Sender: No OFD packet to send [12:59:59]OFD Sender: No OFD packet to send [13:00:04]OFD Sender: No OFD packet to send [13:00:09]OFD Sender: No OFD packet to send [13:00:14]OFD Sender: No OFD packet to send [13:00:19]OFD Sender: No OFD packet to send [13:00:24]OFD Sender: No OFD packet to send [13:00:29]OFD Sender: No OFD packet to send [13:00:30]accept exits with 9 [13:00:30]New connection [13:00:30]New thread 3066699108 created [13:00:30]Thread 3066555748 joined [13:00:30]Waiting for new connection... [13:00:30] Sock 9.Parse request [13:00:30]Sock 9.Check first char [13:00:30]Sock 9.First char is OK [13:00:30]request: POST /json_proto HTTP/1.0 [13:00:30]Method: POST [13:00:30]URL: /json_proto [13:00:30]Method is POST - this is cgi request [13:00:30]url: /json_proto [13:00:30]query_string will be loaded in cgi processing [13:00:30]execute_cgi json_proto POST (null) [13:00:30]execute_cgi path=json_proto method=POST [13:00:30]POST find Content-Length [13:00:30]Host: 172.17.53.68:8080 [13:00:30]Content-Length: 621 [13:00:30]Content-Type: application/json [13:00:30] [13:00:30]POST finish read [13:00:30]Found Content-Length = 621 [13:00:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76670", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:00:30]execute_script... [13:00: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)76670", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:00:30]POST & json_proto [13:00:30]process_json_proto [13:00:30]json parsed OK: [13:00:30]protocol is kg_v1.0 [13:00:30]action value=close_receipt [13:00:30]process_action close_receipt [13:00:30]cmd_close_receipt [13:00:30]MH_GetDate [13:00:30]Write to MH i2c: F0 00 00 40 1F 4E [13:00:30]Write i2c OK [13:00:30]MH_I2C_Read... [13:00:30]Read from MH i2c: F0 [13:00:30]MH_I2C_Read... [13:00:30]Read from MH i2c: F0 09 00 [13:00:30]MH_I2C_Read... [13:00:30]Read from MH i2c: F0 09 00 40 1F 00 F5 FE 14 67 C5 A4 76 66 0A [13:00:30]GetLastDocTimeStamp 1729428558 [13:00:30]current date 1729429237 [13:00:30]FM_GetShiftState [13:00:30]SAM_PROTO_GetShiftState [13:00:30]wFMCommunicate request_size=4 [13:00:30]MH_SAM_APDU [13:00:30]CAPDU: 80 13 01 00 [13:00:30]Write to MH i2c: E2 08 00 41 1F 80 13 01 00 00 00 00 00 DD [13:00:30]Write i2c OK [13:00:30]MH_I2C_Read... [13:00:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:00:30]Read from MH i2c: E2 [13:00:30]MH_I2C_Read... [13:00:30]Read from MH i2c: E2 0E 00 [13:00:30]MH_I2C_Read... [13:00:30]Read from MH i2c: E2 0E 00 41 1F 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 32 [13:00:30]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [13:00:30]wFMCommunicate OK [13:00:30]SAM_PROTO_GetShiftState done [13:00:30]FM_GetShiftState done [13:00:30]opened in 1729383299 [13:00:30]opened+sec_in_day 1729469699 [13:00:30]quantity*price = 15000 [13:00:30]sum+1 = 15001 [13:00:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 ÐСП 1% : 1.33 ÐДС 12% : 15.93 Ðаличными: 150.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 39 20.10.2024 13:00 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37191 ФПД: 176385173957858 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T130037&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37191&fm=176385173957858&tin=02508201610067®Number=0000000000098149&sum=15000 0 [13:00:31]StoreToDocumentArchive [13:00:31]shift 461 fd 37191 [13:00:31]save to /storage/0461/doc_00037191 [13:00:31]save last doc name /storage/0461/doc_00037191 to /storage/kkm_last_doc_name [13:00:31]save OK [13:00:31]Clear old archive folders... [13:00:31]ProcessDocumentItem done err = 0, tmpTLVsize=274 [13:00:31]tlvbuf is 00A31360 [13:00:31]SAM_PROTO_ClearQueue [13:00:31]wFMCommunicate request_size=4 [13:00:31]MH_SAM_APDU [13:00:31]CAPDU: 80 09 00 00 [13:00:31]Write to MH i2c: E2 08 00 4E 1F 80 09 00 00 00 00 00 00 DF [13:00:31]Write i2c OK [13:00:31]MH_I2C_Read... [13:00:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:00:31]Read from MH i2c: E2 [13:00:31]MH_I2C_Read... [13:00:31]Read from MH i2c: E2 03 00 [13:00:31]MH_I2C_Read... [13:00:31]Read from MH i2c: E2 03 00 4E 1F 00 90 00 E1 [13:00:31]RAPDU: 90 00 [13:00:31]wFMCommunicate OK [13:00:31]SAM_PROTO_ClearQueue done [13:00:31]KKMCreateOFDPacket [13:00:31]OFDProtocolAddRootSTLVToBuf [13:00:31]FM_MakeSignedData [13:00:31]FM_MakeSignedData [13:00:31]SAM_PROTO_SignData [13:00:31]wFMCommunicate request_size=4 [13:00:31]MH_SAM_APDU [13:00:31]CAPDU: 80 0D 01 02 [13:00:31]Write to MH i2c: E2 08 00 4F 1F 80 0D 01 02 00 00 00 00 E7 [13:00:31]Write i2c OK [13:00:31]MH_I2C_Read... [13:00:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:00:31]Read from MH i2c: E2 [13:00:31]MH_I2C_Read... [13:00:31]Read from MH i2c: E2 03 00 [13:00:31]MH_I2C_Read... [13:00:31]Read from MH i2c: E2 03 00 4F 1F 00 90 00 E2 [13:00:31]RAPDU: 90 00 [13:00:31]wFMCommunicate OK [13:00:31]wFMCommunicate request_size=255 [13:00:31]MH_SAM_APDU [13:00:31]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 F5 FE 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 [13:00:31]Write to MH i2c: E2 02 01 50 1F 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 F5 FE 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 00 00 ED [13:00:31]Write i2c OK [13:00:31]MH_I2C_Read... [13:00:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:00:31]Read from MH i2c: E2 [13:00:31]MH_I2C_Read... [13:00:31]Read from MH i2c: E2 03 00 [13:00:31]MH_I2C_Read... [13:00:31]Read from MH i2c: E2 03 00 50 1F 00 90 00 E3 [13:00:31]RAPDU: 90 00 [13:00:31]wFMCommunicate OK [13:00:31]wFMCommunicate request_size=33 [13:00:31]MH_SAM_APDU [13:00:31]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 33 37 32 10 04 04 00 47 91 00 00 35 04 06 00 A0 6B DF A3 2C E2 [13:00:31]Write to MH i2c: E2 24 00 51 1F 80 0D 02 02 1C 00 30 30 30 30 39 36 35 33 37 32 10 04 04 00 47 91 00 00 35 04 06 00 A0 6B DF A3 2C E2 00 00 EC [13:00:31]Write i2c OK [13:00:31]MH_I2C_Read... [13:00:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:00:31]Read from MH i2c: E2 [13:00:31]MH_I2C_Read... [13:00:31]Read from MH i2c: E2 03 00 [13:00:31]MH_I2C_Read... [13:00:31]Read from MH i2c: E2 03 00 51 1F 00 90 00 E4 [13:00:31]RAPDU: 90 00 [13:00:31]wFMCommunicate OK [13:00:31]wFMCommunicate request_size=4 [13:00:31]MH_SAM_APDU [13:00:31]CAPDU: 80 0D 03 02 [13:00:31]Write to MH i2c: E2 08 00 52 1F 80 0D 03 02 00 00 00 00 EC [13:00:31]Write i2c OK [13:00:31]MH_I2C_Read... [13:00:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:00:31]Read from MH i2c: E2 [13:00:31]MH_I2C_Read... [13:00:31]Read from MH i2c: E2 0B 00 [13:00:31]MH_I2C_Read... [13:00:31]Read from MH i2c: E2 0B 00 52 1F 00 A5 68 BC 0F B4 55 4C A9 90 00 C3 [13:00:31]RAPDU: A5 68 BC 0F B4 55 4C A9 90 00 [13:00:31]wFMCommunicate OK [13:00:31]SAM_PROTO_SignData done [13:00:31]FM_MakeSignedData done [13:00:31]CreateOFDProtocolMessage [13:00:31]wFMCommunicate request_size=4 [13:00:31]MH_SAM_APDU [13:00:31]CAPDU: 80 11 00 00 [13:00:31]Write to MH i2c: E2 08 00 53 1F 80 11 00 00 00 00 00 00 EC [13:00:31]Write i2c OK [13:00:31]MH_I2C_Read... [13:00:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:00:31]Read from MH i2c: E2 [13:00:31]MH_I2C_Read... [13:00:31]Read from MH i2c: E2 17 00 [13:00:31]MH_I2C_Read... [13:00:31]Read from MH i2c: E2 17 00 53 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 3F [13:00:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [13:00:31]wFMCommunicate OK [13:00:31]CreateOFDProtocolMessage done [13:00:31]OFDSenderStorePacket 37191 [13:00:31]StoreOFDPacket docnum=37191 [13:00:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 26 01 00 00 98 59 1E 01 7B 41 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 F5 FE 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 47 91 00 00 35 04 06 00 A0 6B DF A3 2C E2 A5 68 BC 0F B4 55 4C A9 [13:00:31]CheckFolder [13:00:31]dirname=/storage/ofd_packets [13:00:31]CheckFolder done [13:00:31]ProducePacketName [13:00:31]name=ofd_packets/00037191 [13:00:31]NVStorageSaveData ofd_packets/00037191 [13:00:31]File name is /storage/ofd_packets/00037191 [13:00:31]Write 324 bytes [13:00:31]NVStorageSaveData done [13:00:31]OFDSenderStorePacket done [13:00:31]KKMCreateOFDPacket done [13:00:31]NVStorageSaveData kkm_last_timestamp [13:00:31]File name is /storage/kkm_last_timestamp [13:00:31]Write 4 bytes [13:00:31]NVStorageSaveData done [13:00:31]ExternCall_PrintAddStr [13:00:31]wPrintStart [13:00:31]Write to MH i2c: 01 00 00 54 1F 73 [13:00:31]Write i2c OK [13:00:31]MH_I2C_Read... [13:00:31]Read from MH i2c: 01 [13:00:31]MH_I2C_Read... [13:00:31]Read from MH i2c: 01 07 00 [13:00:31]MH_I2C_Read... [13:00:31]Read from MH i2c: 01 07 00 54 1F 00 00 00 00 00 FF 0F 88 [13:00:31]RasterBufferAndPrint [13:00:31]line Счет N : (3)76670 [13:00:31]line ИÐÐ: 02508201610067 [13:00:31]line Контрольно-КаÑÑовый Чек [13:00:31]line ПРОДÐЖР[13:00:31]line Товар: 4640030091645 [13:00:31]line Сигареты ESSE Exchange M [13:00:31]line 1.000 * 150.00 [13:00:31]line = 150.00 [13:00:31]line ÐДС 12% ÐСП 1% [13:00:31]line > о реализуемом товаре [13:00:31]line ИТОГО: 150.00 [13:00:31]line ÐСП 1% : 1.33 [13:00:31]line ÐДС 12% : 15.93 [13:00:31]line Ðаличными: 150.00 [13:00:31]line Безнал.: 0.00 [13:00:31]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [13:00:31]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [13:00:31]line СÐО: Общий режим [13:00:31]line Чек 39 20.10.2024 13:00 [13:00:31]line Смена: 461 ФФД: 1.0 [13:00:31]line ЗÐМ: 0300000235 [13:00:31]line РÐМ: 0000000000098149 [13:00:31]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [13:00:31]line ФМ: 0000000000965372 [13:00:31]line ФД: 37191 [13:00:31]line ФПД: 176385173957858 [13:00:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T130037&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37191&fm=176385173957858&tin=02508201610067®Number=0000000000098149&sum=15000 [13:00:31]line 0 [13:00:32]written 0, free lines is 4095 [13:00:32]OFD Sender: Processing packet 37191 [packets to send 25, broken 24] [13:00:32]ProducePacketName [13:00:32]name=ofd_packets/00037191 [13:00:32]OFD Sender: To server: ‡•öpG, [13:00:32]CommunicateWithHost lk.salyk.kg:30040 [13:00:32]ConnectInit lk.salyk.kg [13:00:32]Connected sock=10 [13:00:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 26 01 00 00 98 59 1E 01 7B 41 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 F5 FE 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 47 91 00 00 35 04 06 00 A0 6B DF A3 2C E2 A5 68 BC 0F B4 55 4C A9 [13:00:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 90 9F 47 00 84 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 33 37 32 10 04 04 00 47 91 00 00 F4 03 04 00 87 A7 14 67 B6 04 01 00 00 A0 D9 A1 EB 5E 16 99 DA [13:00:32]CommunicateWithHost err = 0 [13:00:32]CheckOFDResponse [13:00:32]1017 (14) - 77093643461234 [13:00:32]1041 (16) - 0000000000965372 [13:00:32]1040 (4) - 37191 [13:00:32]1012 (4) - 20.10.2024 06:47 [13:00:32]1206 (1) - 0 [13:00:32]OFD Sender: Remove packet 37191 [13:00:32]ProducePacketName [13:00:32]name=ofd_packets/00037191 [13:00:32]NVStorageDeleteData [13:00:32]Write to MH i2c: 01 00 00 7C 1F 9B [13:00:32]Write i2c OK [13:00:32]MH_I2C_Read... [13:00:32]Read from MH i2c: 01 [13:00:32]MH_I2C_Read... [13:00:32]Read from MH i2c: 01 07 00 [13:00:32]MH_I2C_Read... [13:00:32]Read from MH i2c: 01 07 00 7C 1F 00 00 00 00 00 00 0D AF [13:00:32]RasterBufferAndPrint [13:00:32]line [13:00:32]line [13:00:32]line [13:00:32]line [13:00:32]line [13:00:32]written 0, free lines is 3337 [13:00:32]process_action close_receipt done [13:00:32]requested_data is exist [13:00:32]produce_requested_data [13:00:32]requested_item fm.sn is exist - process it [13:00:32]wFMCommunicate request_size=4 [13:00:32]MH_SAM_APDU [13:00:32]CAPDU: 80 11 00 00 [13:00:32]Write to MH i2c: E2 08 00 83 1F 80 11 00 00 00 00 00 00 1C [13:00:32]Write i2c OK [13:00:32]MH_I2C_Read... [13:00:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:00:32]Read from MH i2c: E2 [13:00:32]MH_I2C_Read... [13:00:32]Read from MH i2c: E2 17 00 [13:00:32]MH_I2C_Read... [13:00:32]Read from MH i2c: E2 17 00 83 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 6F [13:00:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [13:00:32]wFMCommunicate OK [13:00:32]requested_item fd.num is exist - process it [13:00:32]SAM_PROTO_GetFieldsCounters [13:00:32]wFMCommunicate request_size=4 [13:00:32]MH_SAM_APDU [13:00:32]CAPDU: 80 13 00 00 [13:00:32]Write to MH i2c: E2 08 00 84 1F 80 13 00 00 00 00 00 00 1F [13:00:32]Write i2c OK [13:00:32]MH_I2C_Read... [13:00:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:00:32]Read from MH i2c: E2 [13:00:32]MH_I2C_Read... [13:00:32]Read from MH i2c: E2 62 00 [13:00:32]MH_I2C_Read... [13:00:32]Read from MH i2c: E2 62 00 84 1F 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 47 91 00 00 0E 04 04 00 CD 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 [13:00: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 47 91 00 00 0E 04 04 00 CD 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 [13:00:32]wFMCommunicate OK [13:00:32]SAM_PROTO_GetFieldsCounters done [13:00:32]requested_item shift.num is exist - process it [13:00:32]requested_item shift.opened is exist - process it [13:00:32]req_shift_opened [13:00:32]FM_GetShiftState [13:00:32]SAM_PROTO_GetShiftState [13:00:32]wFMCommunicate request_size=4 [13:00:32]MH_SAM_APDU [13:00:32]CAPDU: 80 13 01 00 [13:00:32]Write to MH i2c: E2 08 00 85 1F 80 13 01 00 00 00 00 00 21 [13:00:32]Write i2c OK [13:00:32]MH_I2C_Read... [13:00:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:00:32]Read from MH i2c: E2 [13:00:32]MH_I2C_Read... [13:00:32]Read from MH i2c: E2 0E 00 [13:00:32]MH_I2C_Read... [13:00:32]Read from MH i2c: E2 0E 00 85 1F 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 76 [13:00:32]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [13:00:32]wFMCommunicate OK [13:00:32]SAM_PROTO_GetShiftState done [13:00:32]FM_GetShiftState done [13:00:32]req_shift_opened done [13:00:32]requested_item shift.open_date is exist - process it [13:00:32]req_shift_open_date [13:00:32]req_shift_open_date done [13:00:32]produce_requested_data done [13:00:32]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37191,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [13:00:32]process_action_free close_receipt [13:00:32]json_value_free [13:00:32]json_value_free done [13:00:32]process_json_proto returns [13:00:32]Send response to host [13:00:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37191,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [13:00:32]free response buf [13:00:32]execute_script done [13:00:32]execute_script returns [13:00:32]free content buf [13:00:32]Sock 9.Close socket [13:00:32]Sock 9.Thread stoped [13:00:32]OFD Sender: No OFD packet to send [13:00:37]OFD Sender: No OFD packet to send [13:00:42]OFD Sender: No OFD packet to send [13:00:47]OFD Sender: No OFD packet to send [13:00:52]OFD Sender: No OFD packet to send [13:00:57]OFD Sender: No OFD packet to send [13:01:02]OFD Sender: No OFD packet to send [13:01:07]OFD Sender: No OFD packet to send [13:01:12]OFD Sender: No OFD packet to send [13:01:17]OFD Sender: No OFD packet to send [13:01:22]OFD Sender: No OFD packet to send [13:01:27]OFD Sender: No OFD packet to send [13:01:32]OFD Sender: No OFD packet to send [13:01:37]OFD Sender: No OFD packet to send [13:01:42]OFD Sender: No OFD packet to send [13:01:47]OFD Sender: No OFD packet to send [13:01:52]OFD Sender: No OFD packet to send [13:01:57]OFD Sender: No OFD packet to send [13:02:02]OFD Sender: No OFD packet to send [13:02:07]OFD Sender: No OFD packet to send [13:02:12]OFD Sender: No OFD packet to send [13:02:17]OFD Sender: No OFD packet to send [13:02:22]OFD Sender: No OFD packet to send [13:02:27]OFD Sender: No OFD packet to send [13:02:32]OFD Sender: No OFD packet to send [13:02:37]OFD Sender: No OFD packet to send [13:02:42]OFD Sender: No OFD packet to send [13:02:47]OFD Sender: No OFD packet to send [13:02:52]OFD Sender: No OFD packet to send [13:02:57]OFD Sender: No OFD packet to send [13:03:02]OFD Sender: No OFD packet to send [13:03:08]OFD Sender: No OFD packet to send [13:03:13]OFD Sender: No OFD packet to send [13:03:15]accept exits with 7 [13:03:15]New connection [13:03:15]New thread 3066555748 created [13:03:15]Thread 3066699108 joined [13:03:15]Waiting for new connection... [13:03:15] Sock 7.Parse request [13:03:15]Sock 7.Check first char [13:03:15]Sock 7.First char is OK [13:03:15]request: POST /json_proto HTTP/1.0 [13:03:15]Method: POST [13:03:15]URL: /json_proto [13:03:15]Method is POST - this is cgi request [13:03:15]url: /json_proto [13:03:15]query_string will be loaded in cgi processing [13:03:15]execute_cgi json_proto POST (null) [13:03:15]execute_cgi path=json_proto method=POST [13:03:15]POST find Content-Length [13:03:15]Host: 172.17.53.68:8080 [13:03:15]Content-Length: 854 [13:03:15]Content-Type: application/json [13:03:15] [13:03:15]POST finish read [13:03:15]Found Content-Length = 854 [13:03:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76671", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.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" ] } } [13:03:15]execute_script... [13:03: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)76671", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.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" ] } } [13:03:15]POST & json_proto [13:03:15]process_json_proto [13:03:15]json parsed OK: [13:03:15]protocol is kg_v1.0 [13:03:15]action value=close_receipt [13:03:15]process_action close_receipt [13:03:15]cmd_close_receipt [13:03:15]MH_GetDate [13:03:15]Write to MH i2c: F0 00 00 86 1F 94 [13:03:15]Write i2c OK [13:03:15]MH_I2C_Read... [13:03:15]Read from MH i2c: F0 [13:03:15]MH_I2C_Read... [13:03:15]Read from MH i2c: F0 09 00 [13:03:15]MH_I2C_Read... [13:03:15]Read from MH i2c: F0 09 00 86 1F 00 9A FF 14 67 C5 A4 76 66 F6 [13:03:15]GetLastDocTimeStamp 1729429237 [13:03:15]current date 1729429402 [13:03:15]FM_GetShiftState [13:03:15]SAM_PROTO_GetShiftState [13:03:15]wFMCommunicate request_size=4 [13:03:15]MH_SAM_APDU [13:03:15]CAPDU: 80 13 01 00 [13:03:15]Write to MH i2c: E2 08 00 87 1F 80 13 01 00 00 00 00 00 23 [13:03:15]Write i2c OK [13:03:15]MH_I2C_Read... [13:03:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:03:15]Read from MH i2c: E2 [13:03:15]MH_I2C_Read... [13:03:15]Read from MH i2c: E2 0E 00 [13:03:15]MH_I2C_Read... [13:03:15]Read from MH i2c: E2 0E 00 87 1F 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 78 [13:03:15]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [13:03:15]wFMCommunicate OK [13:03:15]SAM_PROTO_GetShiftState done [13:03:15]FM_GetShiftState done [13:03:15]opened in 1729383299 [13:03:15]opened+sec_in_day 1729469699 [13:03:15]quantity*price = 5000 [13:03:15]sum+1 = 5001 [13:03:15]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46231529 Mentos ПФ Ðрбуз 6*100*2 1.000 * 10.00 = 10.00 ÐДС 12% ÐСП 1% > о реализуемом товаре ИТОГО: 60.00 ÐСП 1% : 0.53 ÐДС 12% : 6.37 Ðаличными: 60.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 40 20.10.2024 13:03 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37192 ФПД: 77579396739998 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T130323&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37192&fm=77579396739998&tin=02508201610067®Number=0000000000098149&sum=6000 0 [13:03:16]StoreToDocumentArchive [13:03:16]shift 461 fd 37192 [13:03:16]save to /storage/0461/doc_00037192 [13:03:16]save last doc name /storage/0461/doc_00037192 to /storage/kkm_last_doc_name [13:03:16]save OK [13:03:16]Clear old archive folders... [13:03:16]ProcessDocumentItem done err = 0, tmpTLVsize=366 [13:03:16]tlvbuf is 009F5E80 [13:03:16]SAM_PROTO_ClearQueue [13:03:16]wFMCommunicate request_size=4 [13:03:16]MH_SAM_APDU [13:03:16]CAPDU: 80 09 00 00 [13:03:16]Write to MH i2c: E2 08 00 94 1F 80 09 00 00 00 00 00 00 25 [13:03:16]Write i2c OK [13:03:16]MH_I2C_Read... [13:03:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:03:16]Read from MH i2c: E2 [13:03:16]MH_I2C_Read... [13:03:16]Read from MH i2c: E2 03 00 [13:03:16]MH_I2C_Read... [13:03:16]Read from MH i2c: E2 03 00 94 1F 00 90 00 27 [13:03:16]RAPDU: 90 00 [13:03:16]wFMCommunicate OK [13:03:16]SAM_PROTO_ClearQueue done [13:03:16]KKMCreateOFDPacket [13:03:16]OFDProtocolAddRootSTLVToBuf [13:03:16]FM_MakeSignedData [13:03:16]FM_MakeSignedData [13:03:16]SAM_PROTO_SignData [13:03:16]wFMCommunicate request_size=4 [13:03:16]MH_SAM_APDU [13:03:16]CAPDU: 80 0D 01 02 [13:03:16]Write to MH i2c: E2 08 00 95 1F 80 0D 01 02 00 00 00 00 2D [13:03:16]Write i2c OK [13:03:16]MH_I2C_Read... [13:03:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:03:16]Read from MH i2c: E2 [13:03:16]MH_I2C_Read... [13:03:16]Read from MH i2c: E2 03 00 [13:03:16]MH_I2C_Read... [13:03:16]Read from MH i2c: E2 03 00 95 1F 00 90 00 28 [13:03:16]RAPDU: 90 00 [13:03:16]wFMCommunicate OK [13:03:16]wFMCommunicate request_size=255 [13:03:16]MH_SAM_APDU [13:03:16]CAPDU: 80 0D 02 02 FA 03 00 6E 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 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 [13:03:16]Write to MH i2c: E2 02 01 96 1F 80 0D 02 02 FA 00 03 00 6E 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 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 00 E4 [13:03:16]Write i2c OK [13:03:16]MH_I2C_Read... [13:03:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:03:16]Read from MH i2c: E2 [13:03:16]MH_I2C_Read... [13:03:16]Read from MH i2c: E2 03 00 [13:03:16]MH_I2C_Read... [13:03:16]Read from MH i2c: E2 03 00 96 1F 00 90 00 29 [13:03:16]RAPDU: 90 00 [13:03:16]wFMCommunicate OK [13:03:16]wFMCommunicate request_size=125 [13:03:16]MH_SAM_APDU [13:03:16]CAPDU: 80 0D 02 02 78 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 28 00 00 00 F4 03 04 00 9B FF 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 48 91 00 00 35 04 06 00 46 8E DC 62 73 9E [13:03:16]Write to MH i2c: E2 80 00 97 1F 80 0D 02 02 78 00 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 28 00 00 00 F4 03 04 00 9B FF 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 48 91 00 00 35 04 06 00 46 8E DC 62 73 9E 00 00 6D [13:03:16]Write i2c OK [13:03:16]MH_I2C_Read... [13:03:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:03:16]Read from MH i2c: E2 [13:03:16]MH_I2C_Read... [13:03:16]Read from MH i2c: E2 03 00 [13:03:16]MH_I2C_Read... [13:03:16]Read from MH i2c: E2 03 00 97 1F 00 90 00 2A [13:03:16]RAPDU: 90 00 [13:03:16]wFMCommunicate OK [13:03:16]wFMCommunicate request_size=4 [13:03:16]MH_SAM_APDU [13:03:16]CAPDU: 80 0D 03 02 [13:03:16]Write to MH i2c: E2 08 00 98 1F 80 0D 03 02 00 00 00 00 32 [13:03:16]Write i2c OK [13:03:16]MH_I2C_Read... [13:03:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:03:17]Read from MH i2c: E2 [13:03:17]MH_I2C_Read... [13:03:17]Read from MH i2c: E2 0B 00 [13:03:17]MH_I2C_Read... [13:03:17]Read from MH i2c: E2 0B 00 98 1F 00 79 03 6A 50 05 80 8C 21 90 00 9B [13:03:17]RAPDU: 79 03 6A 50 05 80 8C 21 90 00 [13:03:17]wFMCommunicate OK [13:03:17]SAM_PROTO_SignData done [13:03:17]FM_MakeSignedData done [13:03:17]CreateOFDProtocolMessage [13:03:17]wFMCommunicate request_size=4 [13:03:17]MH_SAM_APDU [13:03:17]CAPDU: 80 11 00 00 [13:03:17]Write to MH i2c: E2 08 00 99 1F 80 11 00 00 00 00 00 00 32 [13:03:17]Write i2c OK [13:03:17]MH_I2C_Read... [13:03:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:03:17]Read from MH i2c: E2 [13:03:17]MH_I2C_Read... [13:03:17]Read from MH i2c: E2 17 00 [13:03:17]MH_I2C_Read... [13:03:17]Read from MH i2c: E2 17 00 99 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 85 [13:03:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [13:03:17]wFMCommunicate OK [13:03:17]CreateOFDProtocolMessage done [13:03:17]OFDSenderStorePacket 37192 [13:03:17]StoreOFDPacket docnum=37192 [13:03:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 82 01 00 00 75 08 7A 01 45 26 5A 03 01 00 03 00 6E 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 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 28 00 00 00 F4 03 04 00 9B FF 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 48 91 00 00 35 04 06 00 46 8E DC 62 73 9E 79 03 6A 50 05 80 8C 21 [13:03:17]CheckFolder [13:03:17]dirname=/storage/ofd_packets [13:03:17]CheckFolder done [13:03:17]ProducePacketName [13:03:17]name=ofd_packets/00037192 [13:03:17]NVStorageSaveData ofd_packets/00037192 [13:03:17]File name is /storage/ofd_packets/00037192 [13:03:17]Write 416 bytes [13:03:17]NVStorageSaveData done [13:03:17]OFDSenderStorePacket done [13:03:17]KKMCreateOFDPacket done [13:03:17]NVStorageSaveData kkm_last_timestamp [13:03:17]File name is /storage/kkm_last_timestamp [13:03:17]Write 4 bytes [13:03:17]NVStorageSaveData done [13:03:17]ExternCall_PrintAddStr [13:03:17]wPrintStart [13:03:17]Write to MH i2c: 01 00 00 9A 1F B9 [13:03:17]Write i2c OK [13:03:17]MH_I2C_Read... [13:03:17]Read from MH i2c: 01 [13:03:17]MH_I2C_Read... [13:03:17]Read from MH i2c: 01 07 00 [13:03:17]MH_I2C_Read... [13:03:17]Read from MH i2c: 01 07 00 9A 1F 00 00 00 00 00 FF 0F CE [13:03:17]RasterBufferAndPrint [13:03:17]line Счет N : (3)76671 [13:03:17]line ИÐÐ: 02508201610067 [13:03:17]line Контрольно-КаÑÑовый Чек [13:03:17]line ПРОДÐЖР[13:03:17]line Товар: 4700000160358 [13:03:17]line Вода Легенда 1л [13:03:17]line 1.000 * 50.00 [13:03:17]line = 50.00 [13:03:17]line ÐДС 12% ÐСП 1% [13:03:17]line > о реализуемом товаре [13:03:17]line Товар: 46231529 [13:03:17]line Mentos ПФ Ðрбуз 6*100*2 [13:03:17]line 1.000 * 10.00 [13:03:17]line = 10.00 [13:03:17]line ÐДС 12% ÐСП 1% [13:03:17]line > о реализуемом товаре [13:03:17]line ИТОГО: 60.00 [13:03:17]line ÐСП 1% : 0.53 [13:03:17]line ÐДС 12% : 6.37 [13:03:17]line Ðаличными: 60.00 [13:03:17]line Безнал.: 0.00 [13:03:17]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [13:03:17]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [13:03:17]line СÐО: Общий режим [13:03:17]line Чек 40 20.10.2024 13:03 [13:03:17]line Смена: 461 ФФД: 1.0 [13:03:17]line ЗÐМ: 0300000235 [13:03:17]line РÐМ: 0000000000098149 [13:03:17]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [13:03:17]line ФМ: 0000000000965372 [13:03:17]line ФД: 37192 [13:03:17]line ФПД: 77579396739998 [13:03:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T130323&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37192&fm=77579396739998&tin=02508201610067®Number=0000000000098149&sum=6000 [13:03:17]line 0 [13:03:17]OFD Sender: Processing packet 37192 [packets to send 25, broken 24] [13:03:17]ProducePacketName [13:03:17]name=ofd_packets/00037192 [13:03:17]OFD Sender: To server: ‡•öpG, [13:03:17]CommunicateWithHost lk.salyk.kg:30040 [13:03:17]ConnectInit lk.salyk.kg [13:03:17]written 0, free lines is 4095 [13:03:17]Connected sock=10 [13:03: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 33 37 32 82 01 00 00 75 08 7A 01 45 26 5A 03 01 00 03 00 6E 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 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 28 00 00 00 F4 03 04 00 9B FF 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 48 91 00 00 35 04 06 00 46 8E DC 62 73 9E 79 03 6A 50 05 80 8C 21 [13:03:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 09 36 47 00 48 E9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 48 91 00 00 F4 03 04 00 2D A8 14 67 B6 04 01 00 00 01 0A 6E C0 1A A4 AD 58 [13:03:17]CommunicateWithHost err = 0 [13:03:17]CheckOFDResponse [13:03:17]1017 (14) - 77093643461234 [13:03:17]1041 (16) - 0000000000965372 [13:03:17]1040 (4) - 37192 [13:03:17]1012 (4) - 20.10.2024 06:50 [13:03:17]1206 (1) - 0 [13:03:17]OFD Sender: Remove packet 37192 [13:03:17]ProducePacketName [13:03:17]name=ofd_packets/00037192 [13:03:17]NVStorageDeleteData [13:03:17]Write to MH i2c: 01 00 00 C8 1F E7 [13:03:17]Write i2c OK [13:03:17]MH_I2C_Read... [13:03:17]Read from MH i2c: 01 [13:03:17]MH_I2C_Read... [13:03:17]Read from MH i2c: 01 07 00 [13:03:17]MH_I2C_Read... [13:03:17]Read from MH i2c: 01 07 00 C8 1F 00 00 00 00 00 A2 0C 9C [13:03:17]RasterBufferAndPrint [13:03:17]line [13:03:17]line [13:03:17]line [13:03:17]line [13:03:17]line [13:03:17]written 0, free lines is 3240 [13:03:17]process_action close_receipt done [13:03:17]requested_data is exist [13:03:17]produce_requested_data [13:03:17]requested_item fm.sn is exist - process it [13:03:17]wFMCommunicate request_size=4 [13:03:17]MH_SAM_APDU [13:03:17]CAPDU: 80 11 00 00 [13:03:17]Write to MH i2c: E2 08 00 CF 1F 80 11 00 00 00 00 00 00 68 [13:03:17]Write i2c OK [13:03:17]MH_I2C_Read... [13:03:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:03:17]Read from MH i2c: E2 [13:03:17]MH_I2C_Read... [13:03:17]Read from MH i2c: E2 17 00 [13:03:17]MH_I2C_Read... [13:03:17]Read from MH i2c: E2 17 00 CF 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 BB [13:03:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [13:03:17]wFMCommunicate OK [13:03:17]requested_item fd.num is exist - process it [13:03:17]SAM_PROTO_GetFieldsCounters [13:03:17]wFMCommunicate request_size=4 [13:03:17]MH_SAM_APDU [13:03:17]CAPDU: 80 13 00 00 [13:03:17]Write to MH i2c: E2 08 00 D0 1F 80 13 00 00 00 00 00 00 6B [13:03:17]Write i2c OK [13:03:17]MH_I2C_Read... [13:03:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:03:18]Read from MH i2c: E2 [13:03:18]MH_I2C_Read... [13:03:18]Read from MH i2c: E2 62 00 [13:03:18]MH_I2C_Read... [13:03:18]Read from MH i2c: E2 62 00 D0 1F 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 48 91 00 00 0E 04 04 00 CD 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 B1 [13:03:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 48 91 00 00 0E 04 04 00 CD 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 [13:03:18]wFMCommunicate OK [13:03:18]SAM_PROTO_GetFieldsCounters done [13:03:18]requested_item shift.num is exist - process it [13:03:18]requested_item shift.opened is exist - process it [13:03:18]req_shift_opened [13:03:18]FM_GetShiftState [13:03:18]SAM_PROTO_GetShiftState [13:03:18]wFMCommunicate request_size=4 [13:03:18]MH_SAM_APDU [13:03:18]CAPDU: 80 13 01 00 [13:03:18]Write to MH i2c: E2 08 00 D1 1F 80 13 01 00 00 00 00 00 6D [13:03:18]Write i2c OK [13:03:18]MH_I2C_Read... [13:03:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:03:18]Read from MH i2c: E2 [13:03:18]MH_I2C_Read... [13:03:18]Read from MH i2c: E2 0E 00 [13:03:18]MH_I2C_Read... [13:03:18]Read from MH i2c: E2 0E 00 D1 1F 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 C2 [13:03:18]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [13:03:18]wFMCommunicate OK [13:03:18]SAM_PROTO_GetShiftState done [13:03:18]FM_GetShiftState done [13:03:18]req_shift_opened done [13:03:18]requested_item shift.open_date is exist - process it [13:03:18]req_shift_open_date [13:03:18]req_shift_open_date done [13:03:18]produce_requested_data done [13:03:18]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37192,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [13:03:18]process_action_free close_receipt [13:03:18]json_value_free [13:03:18]json_value_free done [13:03:18]process_json_proto returns [13:03:18]Send response to host [13:03:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37192,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [13:03:18]free response buf [13:03:18]execute_script done [13:03:18]execute_script returns [13:03:18]free content buf [13:03:18]Sock 7.Close socket [13:03:18]Sock 7.Thread stoped [13:03:18]OFD Sender: No OFD packet to send [13:03:23]OFD Sender: No OFD packet to send [13:03:28]OFD Sender: No OFD packet to send [13:03:33]OFD Sender: No OFD packet to send [13:03:38]OFD Sender: No OFD packet to send [13:03:43]OFD Sender: No OFD packet to send [13:03:48]OFD Sender: No OFD packet to send [13:03:53]OFD Sender: No OFD packet to send [13:03:58]OFD Sender: No OFD packet to send [13:04:03]OFD Sender: No OFD packet to send [13:04:08]OFD Sender: No OFD packet to send [13:04:13]OFD Sender: No OFD packet to send [13:04:18]OFD Sender: No OFD packet to send [13:04:23]OFD Sender: No OFD packet to send [13:04:28]OFD Sender: No OFD packet to send [13:04:33]OFD Sender: No OFD packet to send [13:04:38]OFD Sender: No OFD packet to send [13:04:43]OFD Sender: No OFD packet to send [13:04:48]OFD Sender: No OFD packet to send [13:04:53]OFD Sender: No OFD packet to send [13:04:58]OFD Sender: No OFD packet to send [13:05:03]OFD Sender: No OFD packet to send [13:05:08]OFD Sender: No OFD packet to send [13:05:13]OFD Sender: No OFD packet to send [13:05:18]OFD Sender: No OFD packet to send [13:05:23]OFD Sender: No OFD packet to send [13:05:28]OFD Sender: No OFD packet to send [13:05:33]OFD Sender: No OFD packet to send [13:05:38]OFD Sender: No OFD packet to send [13:05:43]OFD Sender: No OFD packet to send [13:05:48]OFD Sender: No OFD packet to send [13:05:53]OFD Sender: No OFD packet to send [13:05:58]OFD Sender: No OFD packet to send [13:06:03]OFD Sender: No OFD packet to send [13:06:08]OFD Sender: No OFD packet to send [13:06:13]OFD Sender: No OFD packet to send [13:06:18]OFD Sender: No OFD packet to send [13:06:23]OFD Sender: No OFD packet to send [13:06:28]OFD Sender: No OFD packet to send [13:06:33]OFD Sender: No OFD packet to send [13:06:38]OFD Sender: No OFD packet to send [13:06:43]OFD Sender: No OFD packet to send [13:06:48]OFD Sender: No OFD packet to send [13:06:53]OFD Sender: No OFD packet to send [13:06:58]OFD Sender: No OFD packet to send [13:07:03]OFD Sender: No OFD packet to send [13:07:08]OFD Sender: No OFD packet to send [13:07:13]OFD Sender: No OFD packet to send [13:07:18]OFD Sender: No OFD packet to send [13:07:23]OFD Sender: No OFD packet to send [13:07:28]OFD Sender: No OFD packet to send [13:07:33]OFD Sender: No OFD packet to send [13:07:38]OFD Sender: No OFD packet to send [13:07:40]accept exits with 9 [13:07:40]New connection [13:07:40]New thread 3066699108 created [13:07:40]Thread 3066555748 joined [13:07:40]Waiting for new connection... [13:07:40] Sock 9.Parse request [13:07:40]Sock 9.Check first char [13:07:40]Sock 9.First char is OK [13:07:40]request: POST /json_proto HTTP/1.0 [13:07:40]Method: POST [13:07:40]URL: /json_proto [13:07:40]Method is POST - this is cgi request [13:07:40]url: /json_proto [13:07:40]query_string will be loaded in cgi processing [13:07:40]execute_cgi json_proto POST (null) [13:07:40]execute_cgi path=json_proto method=POST [13:07:40]POST find Content-Length [13:07:40]Host: 172.17.53.68:8080 [13:07:40]Content-Length: 620 [13:07:40]Content-Type: application/json [13:07:40] [13:07:40]POST finish read [13:07:40]Found Content-Length = 620 [13:07:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76672", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 288.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:07:40]execute_script... [13:07: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)76672", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 288.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:07:40]POST & json_proto [13:07:40]process_json_proto [13:07:40]json parsed OK: [13:07:40]protocol is kg_v1.0 [13:07:40]action value=close_receipt [13:07:40]process_action close_receipt [13:07:40]cmd_close_receipt [13:07:40]MH_GetDate [13:07:40]Write to MH i2c: F0 00 00 D2 1F E0 [13:07:40]Write i2c OK [13:07:40]MH_I2C_Read... [13:07:40]Read from MH i2c: F0 [13:07:40]MH_I2C_Read... [13:07:40]Read from MH i2c: F0 09 00 [13:07:40]MH_I2C_Read... [13:07:40]Read from MH i2c: F0 09 00 D2 1F 00 A3 00 15 67 C5 A4 76 66 4D [13:07:40]GetLastDocTimeStamp 1729429403 [13:07:40]current date 1729429667 [13:07:40]FM_GetShiftState [13:07:40]SAM_PROTO_GetShiftState [13:07:40]wFMCommunicate request_size=4 [13:07:40]MH_SAM_APDU [13:07:40]CAPDU: 80 13 01 00 [13:07:40]Write to MH i2c: E2 08 00 D3 1F 80 13 01 00 00 00 00 00 6F [13:07:40]Write i2c OK [13:07:40]MH_I2C_Read... [13:07:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:07:40]Read from MH i2c: E2 [13:07:40]MH_I2C_Read... [13:07:40]Read from MH i2c: E2 0E 00 [13:07:40]MH_I2C_Read... [13:07:40]Read from MH i2c: E2 0E 00 D3 1F 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 C4 [13:07:40]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [13:07:40]wFMCommunicate OK [13:07:40]SAM_PROTO_GetShiftState done [13:07:40]FM_GetShiftState done [13:07:40]opened in 1729383299 [13:07:40]opened+sec_in_day 1729469699 [13:07:40]quantity*price = 28800 [13:07:40]sum+1 = 28801 [13:07:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 288.00 ÐСП 1% : 2.55 ÐДС 12% : 30.58 Ðаличными: 288.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 41 20.10.2024 13:07 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37193 ФПД: 218852807865482 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T130747&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37193&fm=218852807865482&tin=02508201610067®Number=0000000000098149&sum=28800 0 [13:07:41]StoreToDocumentArchive [13:07:41]shift 461 fd 37193 [13:07:41]save to /storage/0461/doc_00037193 [13:07:41]save last doc name /storage/0461/doc_00037193 to /storage/kkm_last_doc_name [13:07:41]save OK [13:07:41]Clear old archive folders... [13:07:41]ProcessDocumentItem done err = 0, tmpTLVsize=273 [13:07:41]tlvbuf is 00A314D0 [13:07:41]SAM_PROTO_ClearQueue [13:07:41]wFMCommunicate request_size=4 [13:07:41]MH_SAM_APDU [13:07:41]CAPDU: 80 09 00 00 [13:07:41]Write to MH i2c: E2 08 00 E0 1F 80 09 00 00 00 00 00 00 71 [13:07:41]Write i2c OK [13:07:41]MH_I2C_Read... [13:07:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:07:41]Read from MH i2c: E2 [13:07:41]MH_I2C_Read... [13:07:41]Read from MH i2c: E2 03 00 [13:07:41]MH_I2C_Read... [13:07:41]Read from MH i2c: E2 03 00 E0 1F 00 90 00 73 [13:07:41]RAPDU: 90 00 [13:07:41]wFMCommunicate OK [13:07:41]SAM_PROTO_ClearQueue done [13:07:41]KKMCreateOFDPacket [13:07:41]OFDProtocolAddRootSTLVToBuf [13:07:41]FM_MakeSignedData [13:07:41]FM_MakeSignedData [13:07:41]SAM_PROTO_SignData [13:07:41]wFMCommunicate request_size=4 [13:07:41]MH_SAM_APDU [13:07:41]CAPDU: 80 0D 01 02 [13:07:41]Write to MH i2c: E2 08 00 E1 1F 80 0D 01 02 00 00 00 00 79 [13:07:41]Write i2c OK [13:07:41]MH_I2C_Read... [13:07:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:07:41]Read from MH i2c: E2 [13:07:41]MH_I2C_Read... [13:07:41]Read from MH i2c: E2 03 00 [13:07:41]MH_I2C_Read... [13:07:41]Read from MH i2c: E2 03 00 E1 1F 00 90 00 74 [13:07:41]RAPDU: 90 00 [13:07:41]wFMCommunicate OK [13:07:41]wFMCommunicate request_size=255 [13:07:41]MH_SAM_APDU [13:07: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 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 A3 00 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 [13:07:41]Write to MH i2c: E2 02 01 E2 1F 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 A3 00 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 00 00 D2 [13:07:41]Write i2c OK [13:07:41]MH_I2C_Read... [13:07:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:07:41]Read from MH i2c: E2 [13:07:41]MH_I2C_Read... [13:07:41]Read from MH i2c: E2 03 00 [13:07:41]MH_I2C_Read... [13:07:41]Read from MH i2c: E2 03 00 E2 1F 00 90 00 75 [13:07:41]RAPDU: 90 00 [13:07:41]wFMCommunicate OK [13:07:41]wFMCommunicate request_size=32 [13:07:41]MH_SAM_APDU [13:07:41]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 33 37 32 10 04 04 00 49 91 00 00 35 04 06 00 C7 0B A3 DE F4 8A [13:07:41]Write to MH i2c: E2 23 00 E3 1F 80 0D 02 02 1B 00 30 30 30 39 36 35 33 37 32 10 04 04 00 49 91 00 00 35 04 06 00 C7 0B A3 DE F4 8A 00 00 84 [13:07:41]Write i2c OK [13:07:41]MH_I2C_Read... [13:07:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:07:41]Read from MH i2c: E2 [13:07:41]MH_I2C_Read... [13:07:41]Read from MH i2c: E2 03 00 [13:07:41]MH_I2C_Read... [13:07:41]Read from MH i2c: E2 03 00 E3 1F 00 90 00 76 [13:07:41]RAPDU: 90 00 [13:07:41]wFMCommunicate OK [13:07:41]wFMCommunicate request_size=4 [13:07:41]MH_SAM_APDU [13:07:41]CAPDU: 80 0D 03 02 [13:07:41]Write to MH i2c: E2 08 00 E4 1F 80 0D 03 02 00 00 00 00 7E [13:07:41]Write i2c OK [13:07:41]MH_I2C_Read... [13:07:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:07:41]Read from MH i2c: E2 [13:07:41]MH_I2C_Read... [13:07:41]Read from MH i2c: E2 0B 00 [13:07:41]MH_I2C_Read... [13:07:41]Read from MH i2c: E2 0B 00 E4 1F 00 0C 00 F9 D2 97 05 1B CB 90 00 D8 [13:07:41]RAPDU: 0C 00 F9 D2 97 05 1B CB 90 00 [13:07:41]wFMCommunicate OK [13:07:41]SAM_PROTO_SignData done [13:07:41]FM_MakeSignedData done [13:07:41]CreateOFDProtocolMessage [13:07:41]wFMCommunicate request_size=4 [13:07:41]MH_SAM_APDU [13:07:41]CAPDU: 80 11 00 00 [13:07:41]Write to MH i2c: E2 08 00 E5 1F 80 11 00 00 00 00 00 00 7E [13:07:41]Write i2c OK [13:07:41]MH_I2C_Read... [13:07:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:07:41]Read from MH i2c: E2 [13:07:41]MH_I2C_Read... [13:07:41]Read from MH i2c: E2 17 00 [13:07:41]MH_I2C_Read... [13:07:41]Read from MH i2c: E2 17 00 E5 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 D1 [13:07:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [13:07:41]wFMCommunicate OK [13:07:41]CreateOFDProtocolMessage done [13:07:41]OFDSenderStorePacket 37193 [13:07:41]StoreOFDPacket docnum=37193 [13:07:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 25 01 00 00 FA F7 1D 01 31 49 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 A3 00 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 49 91 00 00 35 04 06 00 C7 0B A3 DE F4 8A 0C 00 F9 D2 97 05 1B CB [13:07:41]CheckFolder [13:07:41]dirname=/storage/ofd_packets [13:07:41]CheckFolder done [13:07:41]ProducePacketName [13:07:41]name=ofd_packets/00037193 [13:07:41]NVStorageSaveData ofd_packets/00037193 [13:07:41]File name is /storage/ofd_packets/00037193 [13:07:41]Write 323 bytes [13:07:41]NVStorageSaveData done [13:07:41]OFDSenderStorePacket done [13:07:41]KKMCreateOFDPacket done [13:07:41]NVStorageSaveData kkm_last_timestamp [13:07:41]File name is /storage/kkm_last_timestamp [13:07:41]Write 4 bytes [13:07:41]NVStorageSaveData done [13:07:41]ExternCall_PrintAddStr [13:07:41]wPrintStart [13:07:41]Write to MH i2c: 01 00 00 E6 1F 05 [13:07:41]Write i2c OK [13:07:41]MH_I2C_Read... [13:07:41]Read from MH i2c: 01 [13:07:41]MH_I2C_Read... [13:07:41]Read from MH i2c: 01 07 00 [13:07:41]MH_I2C_Read... [13:07:41]Read from MH i2c: 01 07 00 E6 1F 00 00 00 00 00 FF 0F 1A [13:07:41]RasterBufferAndPrint [13:07:41]line Счет N : (3)76672 [13:07:41]line ИÐÐ: 02508201610067 [13:07:41]line Контрольно-КаÑÑовый Чек [13:07:41]line ПРОДÐЖР[13:07:41]line Товар: 48743570 [13:07:41]line Сигареты Winston XStyle Blue [13:07:41]line 2.000 * 144.00 [13:07:41]line = 288.00 [13:07:41]line ÐДС 12% ÐСП 1% [13:07:41]line > о реализуемом товаре [13:07:41]line ИТОГО: 288.00 [13:07:41]line ÐСП 1% : 2.55 [13:07:41]line ÐДС 12% : 30.58 [13:07:41]line Ðаличными: 288.00 [13:07:41]line Безнал.: 0.00 [13:07:41]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [13:07:41]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [13:07:41]line СÐО: Общий режим [13:07:41]line Чек 41 20.10.2024 13:07 [13:07:41]line Смена: 461 ФФД: 1.0 [13:07:41]line ЗÐМ: 0300000235 [13:07:41]line РÐМ: 0000000000098149 [13:07:42]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [13:07:42]line ФМ: 0000000000965372 [13:07:42]line ФД: 37193 [13:07:42]line ФПД: 218852807865482 [13:07:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T130747&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37193&fm=218852807865482&tin=02508201610067®Number=0000000000098149&sum=28800 [13:07:42]line 0 [13:07:42]OFD Sender: Processing packet 37193 [packets to send 25, broken 24] [13:07:42]ProducePacketName [13:07:42]name=ofd_packets/00037193 [13:07:42]OFD Sender: To server: ‡•öpG, [13:07:42]CommunicateWithHost lk.salyk.kg:30040 [13:07:42]ConnectInit lk.salyk.kg [13:07:42]written 0, free lines is 4095 [13:07:42]Connected sock=10 [13:07: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 33 37 32 25 01 00 00 FA F7 1D 01 31 49 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 A3 00 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 49 91 00 00 35 04 06 00 C7 0B A3 DE F4 8A 0C 00 F9 D2 97 05 1B CB [13:07:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 D8 2D 47 00 23 8A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 49 91 00 00 F4 03 04 00 35 A9 14 67 B6 04 01 00 00 0F 78 07 1F D9 00 CD 0B [13:07:42]CommunicateWithHost err = 0 [13:07:42]CheckOFDResponse [13:07:42]1017 (14) - 77093643461234 [13:07:42]1041 (16) - 0000000000965372 [13:07:42]1040 (4) - 37193 [13:07:42]1012 (4) - 20.10.2024 06:54 [13:07:42]1206 (1) - 0 [13:07:42]OFD Sender: Remove packet 37193 [13:07:42]ProducePacketName [13:07:42]name=ofd_packets/00037193 [13:07:42]NVStorageDeleteData [13:07:42]Write to MH i2c: 01 00 00 0E 20 2E [13:07:42]Write i2c OK [13:07:42]MH_I2C_Read... [13:07:42]Read from MH i2c: 01 [13:07:42]MH_I2C_Read... [13:07:42]Read from MH i2c: 01 07 00 [13:07:42]MH_I2C_Read... [13:07:42]Read from MH i2c: 01 07 00 0E 20 00 00 00 00 00 FE 0C 3F [13:07:42]RasterBufferAndPrint [13:07:42]line [13:07:42]line [13:07:42]line [13:07:42]line [13:07:42]line [13:07:42]written 0, free lines is 3332 [13:07:42]process_action close_receipt done [13:07:42]requested_data is exist [13:07:42]produce_requested_data [13:07:42]requested_item fm.sn is exist - process it [13:07:42]wFMCommunicate request_size=4 [13:07:42]MH_SAM_APDU [13:07:42]CAPDU: 80 11 00 00 [13:07:42]Write to MH i2c: E2 08 00 15 20 80 11 00 00 00 00 00 00 AF [13:07:42]Write i2c OK [13:07:42]MH_I2C_Read... [13:07:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:07:42]Read from MH i2c: E2 [13:07:42]MH_I2C_Read... [13:07:42]Read from MH i2c: E2 17 00 [13:07:42]MH_I2C_Read... [13:07:42]Read from MH i2c: E2 17 00 15 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 02 [13:07:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [13:07:42]wFMCommunicate OK [13:07:42]requested_item fd.num is exist - process it [13:07:42]SAM_PROTO_GetFieldsCounters [13:07:42]wFMCommunicate request_size=4 [13:07:42]MH_SAM_APDU [13:07:42]CAPDU: 80 13 00 00 [13:07:42]Write to MH i2c: E2 08 00 16 20 80 13 00 00 00 00 00 00 B2 [13:07:42]Write i2c OK [13:07:42]MH_I2C_Read... [13:07:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:07:42]Read from MH i2c: E2 [13:07:42]MH_I2C_Read... [13:07:42]Read from MH i2c: E2 62 00 [13:07:42]MH_I2C_Read... [13:07:42]Read from MH i2c: E2 62 00 16 20 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 49 91 00 00 0E 04 04 00 CD 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 FC [13:07: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 49 91 00 00 0E 04 04 00 CD 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 [13:07:42]wFMCommunicate OK [13:07:42]SAM_PROTO_GetFieldsCounters done [13:07:42]requested_item shift.num is exist - process it [13:07:42]requested_item shift.opened is exist - process it [13:07:42]req_shift_opened [13:07:42]FM_GetShiftState [13:07:42]SAM_PROTO_GetShiftState [13:07:42]wFMCommunicate request_size=4 [13:07:42]MH_SAM_APDU [13:07:42]CAPDU: 80 13 01 00 [13:07:42]Write to MH i2c: E2 08 00 17 20 80 13 01 00 00 00 00 00 B4 [13:07:42]Write i2c OK [13:07:42]MH_I2C_Read... [13:07:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:07:42]Read from MH i2c: E2 [13:07:42]MH_I2C_Read... [13:07:42]Read from MH i2c: E2 0E 00 [13:07:42]MH_I2C_Read... [13:07:42]Read from MH i2c: E2 0E 00 17 20 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 09 [13:07:42]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [13:07:42]wFMCommunicate OK [13:07:42]SAM_PROTO_GetShiftState done [13:07:42]FM_GetShiftState done [13:07:42]req_shift_opened done [13:07:42]requested_item shift.open_date is exist - process it [13:07:42]req_shift_open_date [13:07:42]req_shift_open_date done [13:07:42]produce_requested_data done [13:07:42]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37193,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [13:07:42]process_action_free close_receipt [13:07:42]json_value_free [13:07:42]json_value_free done [13:07:42]process_json_proto returns [13:07:42]Send response to host [13:07:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37193,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [13:07:42]free response buf [13:07:42]execute_script done [13:07:42]execute_script returns [13:07:42]free content buf [13:07:42]Sock 9.Close socket [13:07:42]Sock 9.Thread stoped [13:07:42]OFD Sender: No OFD packet to send [13:07:47]OFD Sender: No OFD packet to send [13:07:52]OFD Sender: No OFD packet to send [13:07:57]OFD Sender: No OFD packet to send [13:08:02]OFD Sender: No OFD packet to send [13:08:07]OFD Sender: No OFD packet to send [13:08:12]OFD Sender: No OFD packet to send [13:08:17]OFD Sender: No OFD packet to send [13:08:22]OFD Sender: No OFD packet to send [13:08:27]OFD Sender: No OFD packet to send [13:08:32]OFD Sender: No OFD packet to send [13:08:37]OFD Sender: No OFD packet to send [13:08:42]OFD Sender: No OFD packet to send [13:08:47]OFD Sender: No OFD packet to send [13:08:52]OFD Sender: No OFD packet to send [13:08:57]OFD Sender: No OFD packet to send [13:09:02]OFD Sender: No OFD packet to send [13:09:07]OFD Sender: No OFD packet to send [13:09:12]OFD Sender: No OFD packet to send [13:09:17]OFD Sender: No OFD packet to send [13:09:22]OFD Sender: No OFD packet to send [13:09:24]accept exits with 7 [13:09:24]New connection [13:09:24]New thread 3066555748 created [13:09:24]Thread 3066699108 joined [13:09:24]Waiting for new connection... [13:09:24] Sock 7.Parse request [13:09:24]Sock 7.Check first char [13:09:24]Sock 7.First char is OK [13:09:24]request: POST /json_proto HTTP/1.0 [13:09:24]Method: POST [13:09:24]URL: /json_proto [13:09:24]Method is POST - this is cgi request [13:09:24]url: /json_proto [13:09:24]query_string will be loaded in cgi processing [13:09:24]execute_cgi json_proto POST (null) [13:09:24]execute_cgi path=json_proto method=POST [13:09:24]POST find Content-Length [13:09:24]Host: 172.17.53.68:8080 [13:09:24]Content-Length: 683 [13:09:24]Content-Type: application/json [13:09:24] [13:09:24]POST finish read [13:09:24]Found Content-Length = 683 [13:09:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76673", "tax_sys" : 0, "items" : [ { "code": "4870202521230", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0447\u0435\u0440\u043D.\u043B\u0438\u043C\u043E\u043D", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:09:24]execute_script... [13:09: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)76673", "tax_sys" : 0, "items" : [ { "code": "4870202521230", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0447\u0435\u0440\u043D.\u043B\u0438\u043C\u043E\u043D", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:09:24]POST & json_proto [13:09:24]process_json_proto [13:09:24]json parsed OK: [13:09:24]protocol is kg_v1.0 [13:09:24]action value=close_receipt [13:09:24]process_action close_receipt [13:09:24]cmd_close_receipt [13:09:24]MH_GetDate [13:09:24]Write to MH i2c: F0 00 00 18 20 27 [13:09:24]Write i2c OK [13:09:24]MH_I2C_Read... [13:09:24]Read from MH i2c: F0 [13:09:24]MH_I2C_Read... [13:09:24]Read from MH i2c: F0 09 00 [13:09:24]MH_I2C_Read... [13:09:24]Read from MH i2c: F0 09 00 18 20 00 0C 01 15 67 C5 A4 76 66 FE [13:09:24]GetLastDocTimeStamp 1729429667 [13:09:24]current date 1729429772 [13:09:24]FM_GetShiftState [13:09:24]SAM_PROTO_GetShiftState [13:09:24]wFMCommunicate request_size=4 [13:09:24]MH_SAM_APDU [13:09:24]CAPDU: 80 13 01 00 [13:09:24]Write to MH i2c: E2 08 00 19 20 80 13 01 00 00 00 00 00 B6 [13:09:24]Write i2c OK [13:09:24]MH_I2C_Read... [13:09:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:09:24]Read from MH i2c: E2 [13:09:24]MH_I2C_Read... [13:09:24]Read from MH i2c: E2 0E 00 [13:09:24]MH_I2C_Read... [13:09:24]Read from MH i2c: E2 0E 00 19 20 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 0B [13:09:24]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [13:09:24]wFMCommunicate OK [13:09:24]SAM_PROTO_GetShiftState done [13:09:24]FM_GetShiftState done [13:09:24]opened in 1729383299 [13:09:24]opened+sec_in_day 1729469699 [13:09:24]quantity*price = 12500 [13:09:24]sum+1 = 12501 [13:09:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 ÐСП 1% : 1.11 ÐДС 12% : 13.27 Ðаличными: 125.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 42 20.10.2024 13:09 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37194 ФПД: 173631527213096 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T130932&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37194&fm=173631527213096&tin=02508201610067®Number=0000000000098149&sum=12500 0 [13:09:25]StoreToDocumentArchive [13:09:25]shift 461 fd 37194 [13:09:25]save to /storage/0461/doc_00037194 [13:09:25]save last doc name /storage/0461/doc_00037194 to /storage/kkm_last_doc_name [13:09:25]save OK [13:09:25]Clear old archive folders... [13:09:25]ProcessDocumentItem done err = 0, tmpTLVsize=292 [13:09:25]tlvbuf is 00A12540 [13:09:25]SAM_PROTO_ClearQueue [13:09:25]wFMCommunicate request_size=4 [13:09:25]MH_SAM_APDU [13:09:25]CAPDU: 80 09 00 00 [13:09:25]Write to MH i2c: E2 08 00 26 20 80 09 00 00 00 00 00 00 B8 [13:09:25]Write i2c OK [13:09:25]MH_I2C_Read... [13:09:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:09:25]Read from MH i2c: E2 [13:09:25]MH_I2C_Read... [13:09:25]Read from MH i2c: E2 03 00 [13:09:25]MH_I2C_Read... [13:09:25]Read from MH i2c: E2 03 00 26 20 00 90 00 BA [13:09:25]RAPDU: 90 00 [13:09:25]wFMCommunicate OK [13:09:25]SAM_PROTO_ClearQueue done [13:09:25]KKMCreateOFDPacket [13:09:25]OFDProtocolAddRootSTLVToBuf [13:09:25]FM_MakeSignedData [13:09:25]FM_MakeSignedData [13:09:25]SAM_PROTO_SignData [13:09:25]wFMCommunicate request_size=4 [13:09:25]MH_SAM_APDU [13:09:25]CAPDU: 80 0D 01 02 [13:09:25]Write to MH i2c: E2 08 00 27 20 80 0D 01 02 00 00 00 00 C0 [13:09:25]Write i2c OK [13:09:25]MH_I2C_Read... [13:09:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:09:26]Read from MH i2c: E2 [13:09:26]MH_I2C_Read... [13:09:26]Read from MH i2c: E2 03 00 [13:09:26]MH_I2C_Read... [13:09:26]Read from MH i2c: E2 03 00 27 20 00 90 00 BB [13:09:26]RAPDU: 90 00 [13:09:26]wFMCommunicate OK [13:09:26]wFMCommunicate request_size=255 [13:09:26]MH_SAM_APDU [13:09:26]CAPDU: 80 0D 02 02 FA 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 0C 01 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 [13:09:26]Write to MH i2c: E2 02 01 28 20 80 0D 02 02 FA 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 0C 01 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 00 00 07 [13:09:26]Write i2c OK [13:09:26]MH_I2C_Read... [13:09:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:09:26]Read from MH i2c: E2 [13:09:26]MH_I2C_Read... [13:09:26]Read from MH i2c: E2 03 00 [13:09:26]MH_I2C_Read... [13:09:26]Read from MH i2c: E2 03 00 28 20 00 90 00 BC [13:09:26]RAPDU: 90 00 [13:09:26]wFMCommunicate OK [13:09:26]wFMCommunicate request_size=51 [13:09:26]MH_SAM_APDU [13:09:26]CAPDU: 80 0D 02 02 2E 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 4A 91 00 00 35 04 06 00 9D EA BD 80 58 28 [13:09:26]Write to MH i2c: E2 36 00 29 20 80 0D 02 02 2E 00 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 4A 91 00 00 35 04 06 00 9D EA BD 80 58 28 00 00 79 [13:09:26]Write i2c OK [13:09:26]MH_I2C_Read... [13:09:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:09:26]Read from MH i2c: E2 [13:09:26]MH_I2C_Read... [13:09:26]Read from MH i2c: E2 03 00 [13:09:26]MH_I2C_Read... [13:09:26]Read from MH i2c: E2 03 00 29 20 00 90 00 BD [13:09:26]RAPDU: 90 00 [13:09:26]wFMCommunicate OK [13:09:26]wFMCommunicate request_size=4 [13:09:26]MH_SAM_APDU [13:09:26]CAPDU: 80 0D 03 02 [13:09:26]Write to MH i2c: E2 08 00 2A 20 80 0D 03 02 00 00 00 00 C5 [13:09:26]Write i2c OK [13:09:26]MH_I2C_Read... [13:09:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:09:26]Read from MH i2c: E2 [13:09:26]MH_I2C_Read... [13:09:26]Read from MH i2c: E2 0B 00 [13:09:26]MH_I2C_Read... [13:09:26]Read from MH i2c: E2 0B 00 2A 20 00 74 A2 E2 25 18 73 B8 D7 90 00 FD [13:09:26]RAPDU: 74 A2 E2 25 18 73 B8 D7 90 00 [13:09:26]wFMCommunicate OK [13:09:26]SAM_PROTO_SignData done [13:09:26]FM_MakeSignedData done [13:09:26]CreateOFDProtocolMessage [13:09:26]wFMCommunicate request_size=4 [13:09:26]MH_SAM_APDU [13:09:26]CAPDU: 80 11 00 00 [13:09:26]Write to MH i2c: E2 08 00 2B 20 80 11 00 00 00 00 00 00 C5 [13:09:26]Write i2c OK [13:09:26]MH_I2C_Read... [13:09:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:09:26]Read from MH i2c: E2 [13:09:26]MH_I2C_Read... [13:09:26]Read from MH i2c: E2 17 00 [13:09:26]MH_I2C_Read... [13:09:26]Read from MH i2c: E2 17 00 2B 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 18 [13:09:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [13:09:26]wFMCommunicate OK [13:09:26]CreateOFDProtocolMessage done [13:09:26]OFDSenderStorePacket 37194 [13:09:26]StoreOFDPacket docnum=37194 [13:09:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 38 01 00 00 B4 F1 30 01 C4 2B 5A 03 01 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 0C 01 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 4A 91 00 00 35 04 06 00 9D EA BD 80 58 28 74 A2 E2 25 18 73 B8 D7 [13:09:26]CheckFolder [13:09:26]dirname=/storage/ofd_packets [13:09:26]CheckFolder done [13:09:26]ProducePacketName [13:09:26]name=ofd_packets/00037194 [13:09:26]NVStorageSaveData ofd_packets/00037194 [13:09:26]File name is /storage/ofd_packets/00037194 [13:09:26]Write 342 bytes [13:09:26]NVStorageSaveData done [13:09:26]OFDSenderStorePacket done [13:09:26]KKMCreateOFDPacket done [13:09:26]NVStorageSaveData kkm_last_timestamp [13:09:26]File name is /storage/kkm_last_timestamp [13:09:26]Write 4 bytes [13:09:26]NVStorageSaveData done [13:09:26]OFD Sender: Processing packet 37194 [packets to send 25, broken 24] [13:09:26]ProducePacketName [13:09:26]name=ofd_packets/00037194 [13:09:26]OFD Sender: To server: ‡•öpG, [13:09:26]CommunicateWithHost lk.salyk.kg:30040 [13:09:26]ConnectInit lk.salyk.kg [13:09:26]ExternCall_PrintAddStr [13:09:26]wPrintStart [13:09:26]Write to MH i2c: 01 00 00 2C 20 4C [13:09:26]Write i2c OK [13:09:26]MH_I2C_Read... [13:09:26]Read from MH i2c: 01 [13:09:26]MH_I2C_Read... [13:09:26]Read from MH i2c: 01 07 00 [13:09:26]MH_I2C_Read... [13:09:26]Read from MH i2c: 01 07 00 2C 20 00 00 00 00 00 FF 0F 61 [13:09:26]RasterBufferAndPrint [13:09:26]line Счет N : (3)76673 [13:09:26]line ИÐÐ: 02508201610067 [13:09:26]line Контрольно-КаÑÑовый Чек [13:09:26]line ПРОДÐЖР[13:09:26]line Товар: 4870202521230 [13:09:26]line Ðапиток MAXI чай 1,2 черн.лимон [13:09:26]line 1.000 * 125.00 [13:09:26]line = 125.00 [13:09:26]line ÐДС 12% ÐСП 1% [13:09:26]line > о реализуемом товаре [13:09:26]line ИТОГО: 125.00 [13:09:26]line ÐСП 1% : 1.11 [13:09:26]line ÐДС 12% : 13.27 [13:09:26]line Ðаличными: 125.00 [13:09:26]line Безнал.: 0.00 [13:09:26]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [13:09:26]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [13:09:26]line СÐО: Общий режим [13:09:26]line Чек 42 20.10.2024 13:09 [13:09:26]line Смена: 461 ФФД: 1.0 [13:09:26]line ЗÐМ: 0300000235 [13:09:26]line РÐМ: 0000000000098149 [13:09:26]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [13:09:26]line ФМ: 0000000000965372 [13:09:26]line ФД: 37194 [13:09:26]line ФПД: 173631527213096 [13:09:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T130932&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37194&fm=173631527213096&tin=02508201610067®Number=0000000000098149&sum=12500 [13:09:26]line 0 [13:09:26]Connected sock=11 [13:09: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 33 37 32 38 01 00 00 B4 F1 30 01 C4 2B 5A 03 01 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 0C 01 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 4A 91 00 00 35 04 06 00 9D EA BD 80 58 28 74 A2 E2 25 18 73 B8 D7 [13:09:26]written 0, free lines is 4095 [13:09:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 54 C8 47 00 7F 22 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 4A 91 00 00 F4 03 04 00 9E A9 14 67 B6 04 01 00 00 D7 4F 6B EC 57 67 37 6B [13:09:27]CommunicateWithHost err = 0 [13:09:27]CheckOFDResponse [13:09:27]1017 (14) - 77093643461234 [13:09:27]1041 (16) - 0000000000965372 [13:09:27]1040 (4) - 37194 [13:09:27]1012 (4) - 20.10.2024 06:56 [13:09:27]1206 (1) - 0 [13:09:27]OFD Sender: Remove packet 37194 [13:09:27]ProducePacketName [13:09:27]name=ofd_packets/00037194 [13:09:27]NVStorageDeleteData [13:09:27]Write to MH i2c: 01 00 00 55 20 75 [13:09:27]Write i2c OK [13:09:27]MH_I2C_Read... [13:09:27]Read from MH i2c: 01 [13:09:27]MH_I2C_Read... [13:09:27]Read from MH i2c: 01 07 00 [13:09:27]MH_I2C_Read... [13:09:27]Read from MH i2c: 01 07 00 55 20 00 00 00 00 00 E1 0C 69 [13:09:27]RasterBufferAndPrint [13:09:27]line [13:09:27]line [13:09:27]line [13:09:27]line [13:09:27]line [13:09:27]written 0, free lines is 3303 [13:09:27]process_action close_receipt done [13:09:27]requested_data is exist [13:09:27]produce_requested_data [13:09:27]requested_item fm.sn is exist - process it [13:09:27]wFMCommunicate request_size=4 [13:09:27]MH_SAM_APDU [13:09:27]CAPDU: 80 11 00 00 [13:09:27]Write to MH i2c: E2 08 00 5C 20 80 11 00 00 00 00 00 00 F6 [13:09:27]Write i2c OK [13:09:27]MH_I2C_Read... [13:09:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:09:27]Read from MH i2c: E2 [13:09:27]MH_I2C_Read... [13:09:27]Read from MH i2c: E2 17 00 [13:09:27]MH_I2C_Read... [13:09:27]Read from MH i2c: E2 17 00 5C 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 49 [13:09:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [13:09:27]wFMCommunicate OK [13:09:27]requested_item fd.num is exist - process it [13:09:27]SAM_PROTO_GetFieldsCounters [13:09:27]wFMCommunicate request_size=4 [13:09:27]MH_SAM_APDU [13:09:27]CAPDU: 80 13 00 00 [13:09:27]Write to MH i2c: E2 08 00 5D 20 80 13 00 00 00 00 00 00 F9 [13:09:27]Write i2c OK [13:09:27]MH_I2C_Read... [13:09:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:09:27]Read from MH i2c: E2 [13:09:27]MH_I2C_Read... [13:09:27]Read from MH i2c: E2 62 00 [13:09:27]MH_I2C_Read... [13:09:27]Read from MH i2c: E2 62 00 5D 20 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 4A 91 00 00 0E 04 04 00 CD 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 47 [13:09: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 4A 91 00 00 0E 04 04 00 CD 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 [13:09:27]wFMCommunicate OK [13:09:27]SAM_PROTO_GetFieldsCounters done [13:09:27]requested_item shift.num is exist - process it [13:09:27]requested_item shift.opened is exist - process it [13:09:27]req_shift_opened [13:09:27]FM_GetShiftState [13:09:27]SAM_PROTO_GetShiftState [13:09:27]wFMCommunicate request_size=4 [13:09:27]MH_SAM_APDU [13:09:27]CAPDU: 80 13 01 00 [13:09:27]Write to MH i2c: E2 08 00 5E 20 80 13 01 00 00 00 00 00 FB [13:09:27]Write i2c OK [13:09:27]MH_I2C_Read... [13:09:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:09:27]Read from MH i2c: E2 [13:09:27]MH_I2C_Read... [13:09:27]OFD Sender: No OFD packet to send [13:09:27]Read from MH i2c: E2 0E 00 [13:09:27]MH_I2C_Read... [13:09:27]Read from MH i2c: E2 0E 00 5E 20 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 50 [13:09:27]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [13:09:27]wFMCommunicate OK [13:09:27]SAM_PROTO_GetShiftState done [13:09:27]FM_GetShiftState done [13:09:27]req_shift_opened done [13:09:27]requested_item shift.open_date is exist - process it [13:09:27]req_shift_open_date [13:09:27]req_shift_open_date done [13:09:27]produce_requested_data done [13:09:27]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37194,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [13:09:27]process_action_free close_receipt [13:09:27]json_value_free [13:09:27]json_value_free done [13:09:27]process_json_proto returns [13:09:27]Send response to host [13:09:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37194,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [13:09:27]free response buf [13:09:27]execute_script done [13:09:27]execute_script returns [13:09:27]free content buf [13:09:27]Sock 7.Close socket [13:09:27]Sock 7.Thread stoped [13:09:32]OFD Sender: No OFD packet to send [13:09:37]OFD Sender: No OFD packet to send [13:09:42]OFD Sender: No OFD packet to send [13:09:47]OFD Sender: No OFD packet to send [13:09:52]OFD Sender: No OFD packet to send [13:09:57]OFD Sender: No OFD packet to send [13:10:02]OFD Sender: No OFD packet to send [13:10:07]OFD Sender: No OFD packet to send [13:10:12]OFD Sender: No OFD packet to send [13:10:17]OFD Sender: No OFD packet to send [13:10:22]OFD Sender: No OFD packet to send [13:10:27]OFD Sender: No OFD packet to send [13:10:32]OFD Sender: No OFD packet to send [13:10:37]OFD Sender: No OFD packet to send [13:10:42]OFD Sender: No OFD packet to send [13:10:47]OFD Sender: No OFD packet to send [13:10:52]OFD Sender: No OFD packet to send [13:10:57]OFD Sender: No OFD packet to send [13:11:02]OFD Sender: No OFD packet to send [13:11:07]OFD Sender: No OFD packet to send [13:11:12]OFD Sender: No OFD packet to send [13:11:17]OFD Sender: No OFD packet to send [13:11:22]OFD Sender: No OFD packet to send [13:11:27]OFD Sender: No OFD packet to send [13:11:32]OFD Sender: No OFD packet to send [13:11:37]OFD Sender: No OFD packet to send [13:11:42]OFD Sender: No OFD packet to send [13:11:47]OFD Sender: No OFD packet to send [13:11:52]OFD Sender: No OFD packet to send [13:11:57]OFD Sender: No OFD packet to send [13:12:02]OFD Sender: No OFD packet to send [13:12:07]OFD Sender: No OFD packet to send [13:12:12]OFD Sender: No OFD packet to send [13:12:17]OFD Sender: No OFD packet to send [13:12:22]OFD Sender: No OFD packet to send [13:12:27]OFD Sender: No OFD packet to send [13:12:32]OFD Sender: No OFD packet to send [13:12:37]OFD Sender: No OFD packet to send [13:12:42]OFD Sender: No OFD packet to send [13:12:47]OFD Sender: No OFD packet to send [13:12:52]OFD Sender: No OFD packet to send [13:12:57]OFD Sender: No OFD packet to send [13:13:02]OFD Sender: No OFD packet to send [13:13:07]OFD Sender: No OFD packet to send [13:13:12]OFD Sender: No OFD packet to send [13:13:17]OFD Sender: No OFD packet to send [13:13:22]OFD Sender: No OFD packet to send [13:13:27]OFD Sender: No OFD packet to send [13:13:32]OFD Sender: No OFD packet to send [13:13:37]OFD Sender: No OFD packet to send [13:13:42]OFD Sender: No OFD packet to send [13:13:47]OFD Sender: No OFD packet to send [13:13:52]OFD Sender: No OFD packet to send [13:13:57]OFD Sender: No OFD packet to send [13:14:02]OFD Sender: No OFD packet to send [13:14:07]OFD Sender: No OFD packet to send [13:14:12]OFD Sender: No OFD packet to send [13:14:17]OFD Sender: No OFD packet to send [13:14:22]OFD Sender: No OFD packet to send [13:14:27]OFD Sender: No OFD packet to send [13:14:32]OFD Sender: No OFD packet to send [13:14:37]OFD Sender: No OFD packet to send [13:14:42]OFD Sender: No OFD packet to send [13:14:47]OFD Sender: No OFD packet to send [13:14:52]OFD Sender: No OFD packet to send [13:14:57]OFD Sender: No OFD packet to send [13:15:02]OFD Sender: No OFD packet to send [13:15:07]OFD Sender: No OFD packet to send [13:15:12]OFD Sender: No OFD packet to send [13:15:17]OFD Sender: No OFD packet to send [13:15:22]OFD Sender: No OFD packet to send [13:15:27]OFD Sender: No OFD packet to send [13:15:32]OFD Sender: No OFD packet to send [13:15:37]OFD Sender: No OFD packet to send [13:15:42]OFD Sender: No OFD packet to send [13:15:47]OFD Sender: No OFD packet to send [13:15:52]OFD Sender: No OFD packet to send [13:15:57]OFD Sender: No OFD packet to send [13:16:02]OFD Sender: No OFD packet to send [13:16:07]OFD Sender: No OFD packet to send [13:16:12]OFD Sender: No OFD packet to send [13:16:17]OFD Sender: No OFD packet to send [13:16:22]OFD Sender: No OFD packet to send [13:16:27]OFD Sender: No OFD packet to send [13:16:32]OFD Sender: No OFD packet to send [13:16:37]OFD Sender: No OFD packet to send [13:16:42]OFD Sender: No OFD packet to send [13:16:47]OFD Sender: No OFD packet to send [13:16:52]OFD Sender: No OFD packet to send [13:16:57]OFD Sender: No OFD packet to send [13:17:02]OFD Sender: No OFD packet to send [13:17:07]OFD Sender: No OFD packet to send [13:17:12]OFD Sender: No OFD packet to send [13:17:17]OFD Sender: No OFD packet to send [13:17:22]OFD Sender: No OFD packet to send [13:17:27]OFD Sender: No OFD packet to send [13:17:32]OFD Sender: No OFD packet to send [13:17:37]OFD Sender: No OFD packet to send [13:17:42]OFD Sender: No OFD packet to send [13:17:47]OFD Sender: No OFD packet to send [13:17:52]OFD Sender: No OFD packet to send [13:17:57]OFD Sender: No OFD packet to send [13:18:02]OFD Sender: No OFD packet to send [13:18:07]OFD Sender: No OFD packet to send [13:18:12]OFD Sender: No OFD packet to send [13:18:18]OFD Sender: No OFD packet to send [13:18:23]OFD Sender: No OFD packet to send [13:18:28]OFD Sender: No OFD packet to send [13:18:33]OFD Sender: No OFD packet to send [13:18:38]OFD Sender: No OFD packet to send [13:18:43]OFD Sender: No OFD packet to send [13:18:48]OFD Sender: No OFD packet to send [13:18:53]OFD Sender: No OFD packet to send [13:18:57]accept exits with 9 [13:18:57]New connection [13:18:57]New thread 3066699108 created [13:18:57]Thread 3066555748 joined [13:18:57]Waiting for new connection... [13:18:57] Sock 9.Parse request [13:18:57]Sock 9.Check first char [13:18:57]Sock 9.First char is OK [13:18:57]request: POST /json_proto HTTP/1.0 [13:18:57]Method: POST [13:18:57]URL: /json_proto [13:18:57]Method is POST - this is cgi request [13:18:57]url: /json_proto [13:18:57]query_string will be loaded in cgi processing [13:18:57]execute_cgi json_proto POST (null) [13:18:57]execute_cgi path=json_proto method=POST [13:18:57]POST find Content-Length [13:18:57]Host: 172.17.53.68:8080 [13:18:57]Content-Length: 1541 [13:18:57]Content-Type: application/json [13:18:57] [13:18:57]POST finish read [13:18:57]Found Content-Length = 1541 [13:18:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76674", "tax_sys" : 0, "items" : [ { "code": "4823063106399", "name": "\u0421\u0430\u0434\u043E\u0447\u043E\u043A 0,2 \u0412\u0438\u043D\u043E\u0433\u0440\u0430\u0434\u043D\u043E-\u044F\u0431\u043B\u043E\u0447\u043D\u044B\u0439 \u0441\u043E\u043A \u0441 \u0441\u0430", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 69.00, "quantity" : 1.000, "sum" : 69.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4631150682851", "name": "\u041D\u0430\u043F En Dragon Mojito \u043B\u0430\u0439\u043C,\u043A\u043B\u0443\u0431 \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 353.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:18:57]execute_script... [13:18:57]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76674", "tax_sys" : 0, "items" : [ { "code": "4823063106399", "name": "\u0421\u0430\u0434\u043E\u0447\u043E\u043A 0,2 \u0412\u0438\u043D\u043E\u0433\u0440\u0430\u0434\u043D\u043E-\u044F\u0431\u043B\u043E\u0447\u043D\u044B\u0439 \u0441\u043E\u043A \u0441 \u0441\u0430", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 69.00, "quantity" : 1.000, "sum" : 69.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4631150682851", "name": "\u041D\u0430\u043F En Dragon Mojito \u043B\u0430\u0439\u043C,\u043A\u043B\u0443\u0431 \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 353.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:18:57]POST & json_proto [13:18:57]process_json_proto [13:18:57]json parsed OK: [13:18:57]protocol is kg_v1.0 [13:18:57]action value=close_receipt [13:18:57]process_action close_receipt [13:18:57]cmd_close_receipt [13:18:57]MH_GetDate [13:18:57]Write to MH i2c: F0 00 00 5F 20 6E [13:18:57]Write i2c OK [13:18:57]MH_I2C_Read... [13:18:57]Read from MH i2c: F0 [13:18:57]MH_I2C_Read... [13:18:57]Read from MH i2c: F0 09 00 [13:18:57]MH_I2C_Read... [13:18:57]Read from MH i2c: F0 09 00 5F 20 00 49 03 15 67 C5 A4 76 66 84 [13:18:58]GetLastDocTimeStamp 1729429772 [13:18:58]current date 1729430345 [13:18:58]FM_GetShiftState [13:18:58]SAM_PROTO_GetShiftState [13:18:58]wFMCommunicate request_size=4 [13:18:58]MH_SAM_APDU [13:18:58]CAPDU: 80 13 01 00 [13:18:58]Write to MH i2c: E2 08 00 60 20 80 13 01 00 00 00 00 00 FD [13:18:58]OFD Sender: No OFD packet to send [13:18:58]Write i2c OK [13:18:58]MH_I2C_Read... [13:18:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:18:58]Read from MH i2c: E2 [13:18:58]MH_I2C_Read... [13:18:58]Read from MH i2c: E2 0E 00 [13:18:58]MH_I2C_Read... [13:18:58]Read from MH i2c: E2 0E 00 60 20 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 52 [13:18:58]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [13:18:58]wFMCommunicate OK [13:18:58]SAM_PROTO_GetShiftState done [13:18:58]FM_GetShiftState done [13:18:58]opened in 1729383299 [13:18:58]opened+sec_in_day 1729469699 [13:18:58]quantity*price = 4500 [13:18:58]sum+1 = 4501 [13:18:58]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4600682557456 Ðапиток FLash up energy Ñн ж/б 0,5/0,45л 1.000 * 69.00 = 69.00 ÐДС 12% ÐСП 1% > о реализуемом товаре Товар: 4631150682851 Ðап En Dragon Mojito лайм,клуб ж/б 0,45л 1.000 * 95.00 = 95.00 ÐДС 12% ÐСП 1% > о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 1.000 * 144.00 = 144.00 ÐДС 12% ÐСП 1% > о реализуемом товаре ИТОГО: 353.00 ÐСП 1% : 3.12 ÐДС 12% : 37.49 Ðаличными: 353.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 43 20.10.2024 13:19 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37195 ФПД: 77913162120412 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T131905&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37195&fm=77913162120412&tin=02508201610067®Number=0000000000098149&sum=35300 0 [13:18:59]StoreToDocumentArchive [13:18:59]shift 461 fd 37195 [13:18:59]save to /storage/0461/doc_00037195 [13:18:59]save last doc name /storage/0461/doc_00037195 to /storage/kkm_last_doc_name [13:18:59]save OK [13:18:59]Clear old archive folders... [13:18:59]ProcessDocumentItem done err = 0, tmpTLVsize=666 [13:18:59]tlvbuf is 009E7400 [13:18:59]SAM_PROTO_ClearQueue [13:18:59]wFMCommunicate request_size=4 [13:18:59]MH_SAM_APDU [13:18:59]CAPDU: 80 09 00 00 [13:18:59]Write to MH i2c: E2 08 00 6D 20 80 09 00 00 00 00 00 00 FF [13:18:59]Write i2c OK [13:18:59]MH_I2C_Read... [13:18:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:18:59]Read from MH i2c: E2 [13:18:59]MH_I2C_Read... [13:18:59]Read from MH i2c: E2 03 00 [13:18:59]MH_I2C_Read... [13:18:59]Read from MH i2c: E2 03 00 6D 20 00 90 00 01 [13:18:59]RAPDU: 90 00 [13:18:59]wFMCommunicate OK [13:18:59]SAM_PROTO_ClearQueue done [13:18:59]KKMCreateOFDPacket [13:18:59]OFDProtocolAddRootSTLVToBuf [13:18:59]FM_MakeSignedData [13:18:59]FM_MakeSignedData [13:18:59]SAM_PROTO_SignData [13:18:59]wFMCommunicate request_size=4 [13:18:59]MH_SAM_APDU [13:18:59]CAPDU: 80 0D 01 02 [13:18:59]Write to MH i2c: E2 08 00 6E 20 80 0D 01 02 00 00 00 00 07 [13:18:59]Write i2c OK [13:18:59]MH_I2C_Read... [13:18:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:18:59]Read from MH i2c: E2 [13:18:59]MH_I2C_Read... [13:18:59]Read from MH i2c: E2 03 00 [13:18:59]MH_I2C_Read... [13:18:59]Read from MH i2c: E2 03 00 6E 20 00 90 00 02 [13:18:59]RAPDU: 90 00 [13:18:59]wFMCommunicate OK [13:18:59]wFMCommunicate request_size=255 [13:18:59]MH_SAM_APDU [13:18:59]CAPDU: 80 0D 02 02 FA 03 00 9A 02 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 38 32 33 30 36 33 31 30 36 33 39 39 06 04 47 00 D0 A1 D0 B0 D0 B4 D0 BE D1 87 D0 BE D0 BA 20 30 2C 32 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 D0 BD D0 BE 2D D1 8F D0 B1 D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 D1 81 D0 BE D0 BA 20 D1 81 20 D1 81 D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 [13:18:59]Write to MH i2c: E2 02 01 6F 20 80 0D 02 02 FA 00 03 00 9A 02 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 38 32 33 30 36 33 31 30 36 33 39 39 06 04 47 00 D0 A1 D0 B0 D0 B4 D0 BE D1 87 D0 BE D0 BA 20 30 2C 32 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 D0 BD D0 BE 2D D1 8F D0 B1 D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 D1 81 D0 BE D0 BA 20 D1 81 20 D1 81 D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 00 77 [13:18:59]Write i2c OK [13:18:59]MH_I2C_Read... [13:18:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:18:59]Read from MH i2c: E2 [13:18:59]MH_I2C_Read... [13:18:59]Read from MH i2c: E2 03 00 [13:18:59]MH_I2C_Read... [13:18:59]Read from MH i2c: E2 03 00 6F 20 00 90 00 03 [13:18:59]RAPDU: 90 00 [13:18:59]wFMCommunicate OK [13:18:59]wFMCommunicate request_size=255 [13:18:59]MH_SAM_APDU [13:18:59]CAPDU: 80 0D 02 02 FA 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 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 [13:18:59]Write to MH i2c: E2 02 01 70 20 80 0D 02 02 FA 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 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 00 00 F0 [13:18:59]Write i2c OK [13:18:59]MH_I2C_Read... [13:18:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:18:59]Read from MH i2c: E2 [13:18:59]MH_I2C_Read... [13:18:59]Read from MH i2c: E2 03 00 [13:18:59]MH_I2C_Read... [13:18:59]Read from MH i2c: E2 03 00 70 20 00 90 00 04 [13:18:59]RAPDU: 90 00 [13:18:59]wFMCommunicate OK [13:18:59]wFMCommunicate request_size=175 [13:18:59]MH_SAM_APDU [13:18:59]CAPDU: 80 0D 02 02 AA BC 04 01 00 01 FC 03 06 00 E4 89 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A5 0E 00 00 00 00 07 04 06 00 E4 89 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 49 03 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 4B 91 00 00 35 04 06 00 46 DC 92 59 FC DC [13:18:59]Write to MH i2c: E2 B2 00 71 20 80 0D 02 02 AA 00 BC 04 01 00 01 FC 03 06 00 E4 89 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A5 0E 00 00 00 00 07 04 06 00 E4 89 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 49 03 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 4B 91 00 00 35 04 06 00 46 DC 92 59 FC DC 00 00 B1 [13:18:59]Write i2c OK [13:18:59]MH_I2C_Read... [13:19:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:19:00]Read from MH i2c: E2 [13:19:00]MH_I2C_Read... [13:19:00]Read from MH i2c: E2 03 00 [13:19:00]MH_I2C_Read... [13:19:00]Read from MH i2c: E2 03 00 71 20 00 90 00 05 [13:19:00]RAPDU: 90 00 [13:19:00]wFMCommunicate OK [13:19:00]wFMCommunicate request_size=4 [13:19:00]MH_SAM_APDU [13:19:00]CAPDU: 80 0D 03 02 [13:19:00]Write to MH i2c: E2 08 00 72 20 80 0D 03 02 00 00 00 00 0D [13:19:00]Write i2c OK [13:19:00]MH_I2C_Read... [13:19:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:19:00]Read from MH i2c: E2 [13:19:00]MH_I2C_Read... [13:19:00]Read from MH i2c: E2 0B 00 [13:19:00]MH_I2C_Read... [13:19:00]Read from MH i2c: E2 0B 00 72 20 00 93 3A C3 76 9C 7F 64 C8 90 00 5B [13:19:00]RAPDU: 93 3A C3 76 9C 7F 64 C8 90 00 [13:19:00]wFMCommunicate OK [13:19:00]SAM_PROTO_SignData done [13:19:00]FM_MakeSignedData done [13:19:00]CreateOFDProtocolMessage [13:19:00]wFMCommunicate request_size=4 [13:19:00]MH_SAM_APDU [13:19:00]CAPDU: 80 11 00 00 [13:19:00]Write to MH i2c: E2 08 00 73 20 80 11 00 00 00 00 00 00 0D [13:19:00]Write i2c OK [13:19:00]MH_I2C_Read... [13:19:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:19:00]Read from MH i2c: E2 [13:19:00]MH_I2C_Read... [13:19:00]Read from MH i2c: E2 17 00 [13:19:00]MH_I2C_Read... [13:19:00]Read from MH i2c: E2 17 00 73 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 60 [13:19:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [13:19:00]wFMCommunicate OK [13:19:00]CreateOFDProtocolMessage done [13:19:00]OFDSenderStorePacket 37195 [13:19:00]StoreOFDPacket docnum=37195 [13:19:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 AE 02 00 00 13 9C A6 02 4E 2E 5A 03 01 00 03 00 9A 02 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 38 32 33 30 36 33 31 30 36 33 39 39 06 04 47 00 D0 A1 D0 B0 D0 B4 D0 BE D1 87 D0 BE D0 BA 20 30 2C 32 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 D0 BD D0 BE 2D D1 8F D0 B1 D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 D1 81 D0 BE D0 BA 20 D1 81 20 D1 81 D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 89 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A5 0E 00 00 00 00 07 04 06 00 E4 89 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 49 03 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 4B 91 00 00 35 04 06 00 46 DC 92 59 FC DC 93 3A C3 76 9C 7F 64 C8 [13:19:00]CheckFolder [13:19:00]dirname=/storage/ofd_packets [13:19:00]CheckFolder done [13:19:00]ProducePacketName [13:19:00]name=ofd_packets/00037195 [13:19:00]NVStorageSaveData ofd_packets/00037195 [13:19:00]File name is /storage/ofd_packets/00037195 [13:19:00]Write 716 bytes [13:19:00]NVStorageSaveData done [13:19:00]OFDSenderStorePacket done [13:19:00]KKMCreateOFDPacket done [13:19:00]NVStorageSaveData kkm_last_timestamp [13:19:00]File name is /storage/kkm_last_timestamp [13:19:00]Write 4 bytes [13:19:00]NVStorageSaveData done [13:19:00]ExternCall_PrintAddStr [13:19:00]wPrintStart [13:19:00]Write to MH i2c: 01 00 00 74 20 94 [13:19:00]Write i2c OK [13:19:00]MH_I2C_Read... [13:19:00]Read from MH i2c: 01 [13:19:00]MH_I2C_Read... [13:19:00]Read from MH i2c: 01 07 00 [13:19:00]MH_I2C_Read... [13:19:00]Read from MH i2c: 01 07 00 74 20 00 00 00 00 00 FF 0F A9 [13:19:00]RasterBufferAndPrint [13:19:00]line Счет N : (3)76674 [13:19:00]line ИÐÐ: 02508201610067 [13:19:00]line Контрольно-КаÑÑовый Чек [13:19:00]line ПРОДÐЖР[13:19:00]line Товар: 4823063106399 [13:19:00]line Садочок 0,2 Виноградно-Ñблочный Ñок Ñ Ñа [13:19:00]line 1.000 * 45.00 [13:19:00]line = 45.00 [13:19:00]line ÐДС 12% ÐСП 1% [13:19:00]line > о реализуемом товаре [13:19:00]line Товар: 4600682557456 [13:19:00]line Ðапиток FLash up energy Ñн ж/б 0,5/0,45л [13:19:00]line 1.000 * 69.00 [13:19:00]line = 69.00 [13:19:00]line ÐДС 12% ÐСП 1% [13:19:00]line > о реализуемом товаре [13:19:00]line Товар: 4631150682851 [13:19:00]line Ðап En Dragon Mojito лайм,клуб ж/б 0,45л [13:19:00]line 1.000 * 95.00 [13:19:00]line = 95.00 [13:19:00]line ÐДС 12% ÐСП 1% [13:19:00]line > о реализуемом товаре [13:19:00]line Товар: 48743570 [13:19:00]line Сигареты Winston XStyle Blue [13:19:00]line 1.000 * 144.00 [13:19:00]line = 144.00 [13:19:00]line ÐДС 12% ÐСП 1% [13:19:00]line > о реализуемом товаре [13:19:00]line ИТОГО: 353.00 [13:19:00]line ÐСП 1% : 3.12 [13:19:00]line ÐДС 12% : 37.49 [13:19:00]line Ðаличными: 353.00 [13:19:00]line Безнал.: 0.00 [13:19:00]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [13:19:00]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [13:19:00]line СÐО: Общий режим [13:19:00]line Чек 43 20.10.2024 13:19 [13:19:00]line Смена: 461 ФФД: 1.0 [13:19:00]line ЗÐМ: 0300000235 [13:19:00]line РÐМ: 0000000000098149 [13:19:00]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [13:19:00]line ФМ: 0000000000965372 [13:19:00]line ФД: 37195 [13:19:00]line ФПД: 77913162120412 [13:19:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T131905&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37195&fm=77913162120412&tin=02508201610067®Number=0000000000098149&sum=35300 [13:19:00]OFD Sender: Processing packet 37195 [packets to send 25, broken 24] [13:19:00]ProducePacketName [13:19:00]name=ofd_packets/00037195 [13:19:00]OFD Sender: To server: ‡•öpG, [13:19:00]CommunicateWithHost lk.salyk.kg:30040 [13:19:00]ConnectInit lk.salyk.kg [13:19:00]line 0 [13:19:00]written 0, free lines is 4095 [13:19:00]Connected sock=10 [13:19: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 33 37 32 AE 02 00 00 13 9C A6 02 4E 2E 5A 03 01 00 03 00 9A 02 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 38 32 33 30 36 33 31 30 36 33 39 39 06 04 47 00 D0 A1 D0 B0 D0 B4 D0 BE D1 87 D0 BE D0 BA 20 30 2C 32 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 D0 BD D0 BE 2D D1 8F D0 B1 D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 D1 81 D0 BE D0 BA 20 D1 81 20 D1 81 D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 89 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A5 0E 00 00 00 00 07 04 06 00 E4 89 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 49 03 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 4B 91 00 00 35 04 06 00 46 DC 92 59 FC DC 93 3A C3 76 9C 7F 64 C8 [13:19:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 C9 71 47 00 7D 16 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 4B 91 00 00 F4 03 04 00 DC AB 14 67 B6 04 01 00 00 EE E7 E2 57 F8 D4 A3 79 [13:19:00]CommunicateWithHost err = 0 [13:19:00]CheckOFDResponse [13:19:00]1017 (14) - 77093643461234 [13:19:00]1041 (16) - 0000000000965372 [13:19:00]1040 (4) - 37195 [13:19:00]1012 (4) - 20.10.2024 07:06 [13:19:00]1206 (1) - 0 [13:19:00]OFD Sender: Remove packet 37195 [13:19:00]ProducePacketName [13:19:00]name=ofd_packets/00037195 [13:19:00]NVStorageDeleteData [13:19:01]Write to MH i2c: 01 00 00 B1 20 D1 [13:19:01]Write i2c OK [13:19:01]MH_I2C_Read... [13:19:01]Read from MH i2c: 01 [13:19:01]MH_I2C_Read... [13:19:01]Read from MH i2c: 01 07 00 [13:19:01]MH_I2C_Read... [13:19:01]Read from MH i2c: 01 07 00 B1 20 00 00 00 00 00 CF 0B B2 [13:19:01]RasterBufferAndPrint [13:19:01]line [13:19:01]line [13:19:01]line [13:19:01]line [13:19:01]line [13:19:01]written 0, free lines is 3032 [13:19:01]process_action close_receipt done [13:19:01]requested_data is exist [13:19:01]produce_requested_data [13:19:01]requested_item fm.sn is exist - process it [13:19:01]wFMCommunicate request_size=4 [13:19:01]MH_SAM_APDU [13:19:01]CAPDU: 80 11 00 00 [13:19:01]Write to MH i2c: E2 08 00 B8 20 80 11 00 00 00 00 00 00 52 [13:19:01]Write i2c OK [13:19:01]MH_I2C_Read... [13:19:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:19:01]Read from MH i2c: E2 [13:19:01]MH_I2C_Read... [13:19:01]Read from MH i2c: E2 17 00 [13:19:01]MH_I2C_Read... [13:19:01]Read from MH i2c: E2 17 00 B8 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 A5 [13:19:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [13:19:01]wFMCommunicate OK [13:19:01]requested_item fd.num is exist - process it [13:19:01]SAM_PROTO_GetFieldsCounters [13:19:01]wFMCommunicate request_size=4 [13:19:01]MH_SAM_APDU [13:19:01]CAPDU: 80 13 00 00 [13:19:01]Write to MH i2c: E2 08 00 B9 20 80 13 00 00 00 00 00 00 55 [13:19:01]Write i2c OK [13:19:01]MH_I2C_Read... [13:19:01]OFD Sender: No OFD packet to send [13:19:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:19:01]Read from MH i2c: E2 [13:19:01]MH_I2C_Read... [13:19:01]Read from MH i2c: E2 62 00 [13:19:01]MH_I2C_Read... [13:19:01]Read from MH i2c: E2 62 00 B9 20 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 4B 91 00 00 0E 04 04 00 CD 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 A7 [13:19:01]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 4B 91 00 00 0E 04 04 00 CD 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 [13:19:01]wFMCommunicate OK [13:19:01]SAM_PROTO_GetFieldsCounters done [13:19:01]requested_item shift.num is exist - process it [13:19:01]requested_item shift.opened is exist - process it [13:19:01]req_shift_opened [13:19:01]FM_GetShiftState [13:19:01]SAM_PROTO_GetShiftState [13:19:01]wFMCommunicate request_size=4 [13:19:01]MH_SAM_APDU [13:19:01]CAPDU: 80 13 01 00 [13:19:01]Write to MH i2c: E2 08 00 BA 20 80 13 01 00 00 00 00 00 57 [13:19:01]Write i2c OK [13:19:01]MH_I2C_Read... [13:19:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:19:01]Read from MH i2c: E2 [13:19:01]MH_I2C_Read... [13:19:01]Read from MH i2c: E2 0E 00 [13:19:01]MH_I2C_Read... [13:19:01]Read from MH i2c: E2 0E 00 BA 20 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 AC [13:19:01]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [13:19:01]wFMCommunicate OK [13:19:01]SAM_PROTO_GetShiftState done [13:19:01]FM_GetShiftState done [13:19:01]req_shift_opened done [13:19:01]requested_item shift.open_date is exist - process it [13:19:01]req_shift_open_date [13:19:01]req_shift_open_date done [13:19:01]produce_requested_data done [13:19:01]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37195,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [13:19:01]process_action_free close_receipt [13:19:01]json_value_free [13:19:01]json_value_free done [13:19:01]process_json_proto returns [13:19:01]Send response to host [13:19:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37195,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [13:19:01]free response buf [13:19:01]execute_script done [13:19:01]execute_script returns [13:19:01]free content buf [13:19:01]Sock 9.Close socket [13:19:01]Sock 9.Thread stoped [13:19:06]OFD Sender: No OFD packet to send [13:19:11]OFD Sender: No OFD packet to send [13:19:16]OFD Sender: No OFD packet to send [13:19:21]OFD Sender: No OFD packet to send [13:19:26]OFD Sender: No OFD packet to send [13:19:31]OFD Sender: No OFD packet to send [13:19:36]OFD Sender: No OFD packet to send [13:19:41]OFD Sender: No OFD packet to send [13:19:46]OFD Sender: No OFD packet to send [13:19:51]OFD Sender: No OFD packet to send [13:19:56]OFD Sender: No OFD packet to send [13:20:01]OFD Sender: No OFD packet to send [13:20:06]OFD Sender: No OFD packet to send [13:20:11]OFD Sender: No OFD packet to send [13:20:16]OFD Sender: No OFD packet to send [13:20:21]OFD Sender: No OFD packet to send [13:20:26]OFD Sender: No OFD packet to send [13:20:31]OFD Sender: No OFD packet to send [13:20:36]OFD Sender: No OFD packet to send [13:20:41]OFD Sender: No OFD packet to send [13:20:46]OFD Sender: No OFD packet to send [13:20:51]OFD Sender: No OFD packet to send [13:20:56]OFD Sender: No OFD packet to send [13:21:01]OFD Sender: No OFD packet to send [13:21:06]OFD Sender: No OFD packet to send [13:21:11]OFD Sender: No OFD packet to send [13:21:16]OFD Sender: No OFD packet to send [13:21:21]OFD Sender: No OFD packet to send [13:21:26]OFD Sender: No OFD packet to send [13:21:31]OFD Sender: No OFD packet to send [13:21:36]OFD Sender: No OFD packet to send [13:21:41]OFD Sender: No OFD packet to send [13:21:46]OFD Sender: No OFD packet to send [13:21:51]OFD Sender: No OFD packet to send [13:21:56]OFD Sender: No OFD packet to send [13:22:01]OFD Sender: No OFD packet to send [13:22:06]OFD Sender: No OFD packet to send [13:22:11]OFD Sender: No OFD packet to send [13:22:16]OFD Sender: No OFD packet to send [13:22:21]OFD Sender: No OFD packet to send [13:22:26]OFD Sender: No OFD packet to send [13:22:31]OFD Sender: No OFD packet to send [13:22:36]OFD Sender: No OFD packet to send [13:22:41]OFD Sender: No OFD packet to send [13:22:46]OFD Sender: No OFD packet to send [13:22:51]OFD Sender: No OFD packet to send [13:22:56]OFD Sender: No OFD packet to send [13:23:01]OFD Sender: No OFD packet to send [13:23:06]OFD Sender: No OFD packet to send [13:23:11]OFD Sender: No OFD packet to send [13:23:16]OFD Sender: No OFD packet to send [13:23:21]OFD Sender: No OFD packet to send [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:26]OFD Sender: No OFD packet to send [13:24:31]OFD Sender: No OFD packet to send [13:24:36]OFD Sender: No OFD packet to send [13:24:41]OFD Sender: No OFD packet to send [13:24:46]OFD Sender: No OFD packet to send [13:24:51]OFD Sender: No OFD packet to send [13:24:56]OFD Sender: No OFD packet to send [13:25:01]OFD Sender: No OFD packet to send [13:25:06]OFD Sender: No OFD packet to send [13:25:11]OFD Sender: No OFD packet to send [13:25:16]OFD Sender: No OFD packet to send [13:25:21]OFD Sender: No OFD packet to send [13:25:26]OFD Sender: No OFD packet to send [13:25:31]OFD Sender: No OFD packet to send [13:25:36]OFD Sender: No OFD packet to send [13:25:41]OFD Sender: No OFD packet to send [13:25:46]OFD Sender: No OFD packet to send [13:25:51]OFD Sender: No OFD packet to send [13:25:56]OFD Sender: No OFD packet to send [13:26:01]OFD Sender: No OFD packet to send [13:26:06]OFD Sender: No OFD packet to send [13:26:11]OFD Sender: No OFD packet to send [13:26:16]OFD Sender: No OFD packet to send [13:26:21]OFD Sender: No OFD packet to send [13:26:26]OFD Sender: No OFD packet to send [13:26:31]OFD Sender: No OFD packet to send [13:26:36]OFD Sender: No OFD packet to send [13:26:41]OFD Sender: No OFD packet to send [13:26:46]OFD Sender: No OFD packet to send [13:26:51]OFD Sender: No OFD packet to send [13:26:56]OFD Sender: No OFD packet to send [13:27:01]OFD Sender: No OFD packet to send [13:27:06]OFD Sender: No OFD packet to send [13:27:11]OFD Sender: No OFD packet to send [13:27:16]OFD Sender: No OFD packet to send [13:27:21]OFD Sender: No OFD packet to send [13:27:26]OFD Sender: No OFD packet to send [13:27:31]OFD Sender: No OFD packet to send [13:27:36]OFD Sender: No OFD packet to send [13:27:41]OFD Sender: No OFD packet to send [13:27:46]OFD Sender: No OFD packet to send [13:27:51]OFD Sender: No OFD packet to send [13:27:56]OFD Sender: No OFD packet to send [13:28:01]OFD Sender: No OFD packet to send [13:28:06]OFD Sender: No OFD packet to send [13:28:11]OFD Sender: No OFD packet to send [13:28:16]OFD Sender: No OFD packet to send [13:28:21]OFD Sender: No OFD packet to send [13:28:26]OFD Sender: No OFD packet to send [13:28:31]OFD Sender: No OFD packet to send [13:28:36]OFD Sender: No OFD packet to send [13:28:41]OFD Sender: No OFD packet to send [13:28:46]OFD Sender: No OFD packet to send [13:28:51]OFD Sender: No OFD packet to send [13:28:56]OFD Sender: No OFD packet to send [13:29:01]OFD Sender: No OFD packet to send [13:29:06]OFD Sender: No OFD packet to send [13:29:11]OFD Sender: No OFD packet to send [13:29:16]OFD Sender: No OFD packet to send [13:29:21]OFD Sender: No OFD packet to send [13:29:26]OFD Sender: No OFD packet to send [13:29:31]OFD Sender: No OFD packet to send [13:29:36]OFD Sender: No OFD packet to send [13:29:41]OFD Sender: No OFD packet to send [13:29:46]OFD Sender: No OFD packet to send [13:29:51]OFD Sender: No OFD packet to send [13:29:56]OFD Sender: No OFD packet to send [13:30:01]OFD Sender: No OFD packet to send [13:30:06]OFD Sender: No OFD packet to send [13:30:11]OFD Sender: No OFD packet to send [13:30:16]OFD Sender: No OFD packet to send [13:30:21]OFD Sender: No OFD packet to send [13:30:26]OFD Sender: No OFD packet to send [13:30:31]OFD Sender: No OFD packet to send [13:30:36]OFD Sender: No OFD packet to send [13:30:41]OFD Sender: No OFD packet to send [13:30:46]OFD Sender: No OFD packet to send [13:30:51]OFD Sender: No OFD packet to send [13:30:56]OFD Sender: No OFD packet to send [13:31:01]OFD Sender: No OFD packet to send [13:31:06]OFD Sender: No OFD packet to send [13:31:12]OFD Sender: No OFD packet to send [13:31:17]OFD Sender: No OFD packet to send [13:31:22]OFD Sender: No OFD packet to send [13:31:27]OFD Sender: No OFD packet to send [13:31:32]OFD Sender: No OFD packet to send [13:31:37]OFD Sender: No OFD packet to send [13:31:42]OFD Sender: No OFD packet to send [13:31:47]OFD Sender: No OFD packet to send [13:31:52]OFD Sender: No OFD packet to send [13:31:57]OFD Sender: No OFD packet to send [13:32:02]OFD Sender: No OFD packet to send [13:32:07]OFD Sender: No OFD packet to send [13:32:12]OFD Sender: No OFD packet to send [13:32:17]OFD Sender: No OFD packet to send [13:32:22]OFD Sender: No OFD packet to send [13:32:27]OFD Sender: No OFD packet to send [13:32:32]OFD Sender: No OFD packet to send [13:32:37]OFD Sender: No OFD packet to send [13:32:42]OFD Sender: No OFD packet to send [13:32:47]OFD Sender: No OFD packet to send [13:32:52]OFD Sender: No OFD packet to send [13:32:57]OFD Sender: No OFD packet to send [13:33:02]OFD Sender: No OFD packet to send [13:33:07]OFD Sender: No OFD packet to send [13:33:12]OFD Sender: No OFD packet to send [13:33:17]OFD Sender: No OFD packet to send [13:33:22]OFD Sender: No OFD packet to send [13:33:27]OFD Sender: No OFD packet to send [13:33:32]OFD Sender: No OFD packet to send [13:33:37]OFD Sender: No OFD packet to send [13:33:42]OFD Sender: No OFD packet to send [13:33:47]OFD Sender: No OFD packet to send [13:33:52]OFD Sender: No OFD packet to send [13:33:57]OFD Sender: No OFD packet to send [13:34:02]OFD Sender: No OFD packet to send [13:34:07]OFD Sender: No OFD packet to send [13:34:12]OFD Sender: No OFD packet to send [13:34:17]OFD Sender: No OFD packet to send [13:34:22]OFD Sender: No OFD packet to send [13:34:27]OFD Sender: No OFD packet to send [13:34:32]OFD Sender: No OFD packet to send [13:34:37]OFD Sender: No OFD packet to send [13:34:42]OFD Sender: No OFD packet to send [13:34:47]OFD Sender: No OFD packet to send [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:52]OFD Sender: No OFD packet to send [13:36:57]OFD Sender: No OFD packet to send [13:37:02]OFD Sender: No OFD packet to send [13:37:07]OFD Sender: No OFD packet to send [13:37:12]OFD Sender: No OFD packet to send [13:37:17]OFD Sender: No OFD packet to send [13:37:22]OFD Sender: No OFD packet to send [13:37:27]OFD Sender: No OFD packet to send [13:37:32]OFD Sender: No OFD packet to send [13:37:37]OFD Sender: No OFD packet to send [13:37:42]OFD Sender: No OFD packet to send [13:37:47]OFD Sender: No OFD packet to send [13:37:52]OFD Sender: No OFD packet to send [13:37:57]OFD Sender: No OFD packet to send [13:38:02]OFD Sender: No OFD packet to send [13:38:07]OFD Sender: No OFD packet to send [13:38:12]OFD Sender: No OFD packet to send [13:38:17]OFD Sender: No OFD packet to send [13:38:22]OFD Sender: No OFD packet to send [13:38:27]OFD Sender: No OFD packet to send [13:38:32]OFD Sender: No OFD packet to send [13:38:37]OFD Sender: No OFD packet to send [13:38:42]OFD Sender: No OFD packet to send [13:38:47]OFD Sender: No OFD packet to send [13:38:52]OFD Sender: No OFD packet to send [13:38:57]OFD Sender: No OFD packet to send [13:39:02]OFD Sender: No OFD packet to send [13:39:07]OFD Sender: No OFD packet to send [13:39:12]OFD Sender: No OFD packet to send [13:39:17]OFD Sender: No OFD packet to send [13:39:22]OFD Sender: No OFD packet to send [13:39:27]OFD Sender: No OFD packet to send [13:39:32]OFD Sender: No OFD packet to send [13:39:37]OFD Sender: No OFD packet to send [13:39:42]OFD Sender: No OFD packet to send [13:39:47]OFD Sender: No OFD packet to send [13:39:52]OFD Sender: No OFD packet to send [13:39:57]OFD Sender: No OFD packet to send [13:40:02]OFD Sender: No OFD packet to send [13:40:07]OFD Sender: No OFD packet to send [13:40:12]OFD Sender: No OFD packet to send [13:40:17]OFD Sender: No OFD packet to send [13:40:22]OFD Sender: No OFD packet to send [13:40:27]OFD Sender: No OFD packet to send [13:40:32]OFD Sender: No OFD packet to send [13:40:37]OFD Sender: No OFD packet to send [13:40:42]OFD Sender: No OFD packet to send [13:40:47]OFD Sender: No OFD packet to send [13:40:52]OFD Sender: No OFD packet to send [13:40:57]OFD Sender: No OFD packet to send [13:41:02]OFD Sender: No OFD packet to send [13:41:07]OFD Sender: No OFD packet to send [13:41:12]OFD Sender: No OFD packet to send [13:41:17]OFD Sender: No OFD packet to send [13:41:22]OFD Sender: No OFD packet to send [13:41:27]OFD Sender: No OFD packet to send [13:41:32]OFD Sender: No OFD packet to send [13:41:37]OFD Sender: No OFD packet to send [13:41:42]OFD Sender: No OFD packet to send [13:41:47]OFD Sender: No OFD packet to send [13:41:52]OFD Sender: No OFD packet to send [13:41:57]OFD Sender: No OFD packet to send [13:42:02]OFD Sender: No OFD packet to send [13:42:07]OFD Sender: No OFD packet to send [13:42:12]OFD Sender: No OFD packet to send [13:42:17]OFD Sender: No OFD packet to send [13:42:22]OFD Sender: No OFD packet to send [13:42:27]OFD Sender: No OFD packet to send [13:42:32]OFD Sender: No OFD packet to send [13:42:37]OFD Sender: No OFD packet to send [13:42:42]OFD Sender: No OFD packet to send [13:42:47]OFD Sender: No OFD packet to send [13:42:52]OFD Sender: No OFD packet to send [13:42:57]OFD Sender: No OFD packet to send [13:43:02]OFD Sender: No OFD packet to send [13:43:07]OFD Sender: No OFD packet to send [13:43:12]OFD Sender: No OFD packet to send [13:43:17]OFD Sender: No OFD packet to send [13:43:22]OFD Sender: No OFD packet to send [13:43:27]OFD Sender: No OFD packet to send [13:43:32]OFD Sender: No OFD packet to send [13:43:37]OFD Sender: No OFD packet to send [13:43:42]OFD Sender: No OFD packet to send [13:43:47]OFD Sender: No OFD packet to send [13:43:52]OFD Sender: No OFD packet to send [13:43:57]OFD Sender: No OFD packet to send [13:44:02]OFD Sender: No OFD packet to send [13:44:07]OFD Sender: No OFD packet to send [13:44:12]OFD Sender: No OFD packet to send [13:44:17]OFD Sender: No OFD packet to send [13:44:22]OFD Sender: No OFD packet to send [13:44:27]OFD Sender: No OFD packet to send [13:44:32]OFD Sender: No OFD packet to send [13:44:37]OFD Sender: No OFD packet to send [13:44:42]OFD Sender: No OFD packet to send [13:44:47]OFD Sender: No OFD packet to send [13:44:52]OFD Sender: No OFD packet to send [13:44:57]OFD Sender: No OFD packet to send [13:45:02]OFD Sender: No OFD packet to send [13:45:07]OFD Sender: No OFD packet to send [13:45:12]OFD Sender: No OFD packet to send [13:45:17]OFD Sender: No OFD packet to send [13:45:22]OFD Sender: No OFD packet to send [13:45:27]OFD Sender: No OFD packet to send [13:45:32]OFD Sender: No OFD packet to send [13:45:37]OFD Sender: No OFD packet to send [13:45:42]OFD Sender: No OFD packet to send [13:45:47]OFD Sender: No OFD packet to send [13:45:52]OFD Sender: No OFD packet to send [13:45:57]OFD Sender: No OFD packet to send [13:46:02]OFD Sender: No OFD packet to send [13:46:07]OFD Sender: No OFD packet to send [13:46:12]OFD Sender: No OFD packet to send [13:46:17]OFD Sender: No OFD packet to send [13:46:22]OFD Sender: No OFD packet to send [13:46:27]OFD Sender: No OFD packet to send [13:46:32]OFD Sender: No OFD packet to send [13:46:37]OFD Sender: No OFD packet to send [13:46:42]OFD Sender: No OFD packet to send [13:46:47]OFD Sender: No OFD packet to send [13:46:52]OFD Sender: No OFD packet to send [13:46:57]OFD Sender: No OFD packet to send [13:47:02]OFD Sender: No OFD packet to send [13:47:07]OFD Sender: No OFD packet to send [13:47:12]OFD Sender: No OFD packet to send [13:47:17]OFD Sender: No OFD packet to send [13:47:22]OFD Sender: No OFD packet to send [13:47:27]OFD Sender: No OFD packet to send [13:47:32]OFD Sender: No OFD packet to send [13:47:37]OFD Sender: No OFD packet to send [13:47:42]OFD Sender: No OFD packet to send [13:47:47]OFD Sender: No OFD packet to send [13:47:52]OFD Sender: No OFD packet to send [13:47:57]OFD Sender: No OFD packet to send [13:48:02]OFD Sender: No OFD packet to send [13:48:07]OFD Sender: No OFD packet to send [13:48:12]OFD Sender: No OFD packet to send [13:48:17]OFD Sender: No OFD packet to send [13:48:22]OFD Sender: No OFD packet to send [13:48:27]OFD Sender: No OFD packet to send [13:48:32]OFD Sender: No OFD packet to send [13:48:37]OFD Sender: No OFD packet to send [13:48:42]OFD Sender: No OFD packet to send [13:48:47]OFD Sender: No OFD packet to send [13:48:52]OFD Sender: No OFD packet to send [13:48:57]OFD Sender: No OFD packet to send [13:49:02]OFD Sender: No OFD packet to send [13:49:07]OFD Sender: No OFD packet to send [13:49:12]OFD Sender: No OFD packet to send [13:49:17]OFD Sender: No OFD packet to send [13:49:22]OFD Sender: No OFD packet to send [13:49:27]OFD Sender: No OFD packet to send [13:49:32]OFD Sender: No OFD packet to send [13:49:37]OFD Sender: No OFD packet to send [13:49:42]OFD Sender: No OFD packet to send [13:49:47]OFD Sender: No OFD packet to send [13:49:52]OFD Sender: No OFD packet to send [13:49:57]OFD Sender: No OFD packet to send [13:50:02]OFD Sender: No OFD packet to send [13:50:07]OFD Sender: No OFD packet to send [13:50:12]OFD Sender: No OFD packet to send [13:50:17]OFD Sender: No OFD packet to send [13:50:22]OFD Sender: No OFD packet to send [13:50:27]OFD Sender: No OFD packet to send [13:50:32]OFD Sender: No OFD packet to send [13:50:37]OFD Sender: No OFD packet to send [13:50:42]OFD Sender: No OFD packet to send [13:50:47]OFD Sender: No OFD packet to send [13:50:52]OFD Sender: No OFD packet to send [13:50:57]OFD Sender: No OFD packet to send [13:51: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:43]OFD Sender: No OFD packet to send [13:54:48]OFD Sender: No OFD packet to send [13:54:53]OFD Sender: No OFD packet to send [13:54:58]OFD Sender: No OFD packet to send [13:55:03]OFD Sender: No OFD packet to send [13:55:08]OFD Sender: No OFD packet to send [13:55:13]OFD Sender: No OFD packet to send [13:55:18]OFD Sender: No OFD packet to send [13:55:23]OFD Sender: No OFD packet to send [13:55:28]OFD Sender: No OFD packet to send [13:55:33]OFD Sender: No OFD packet to send [13:55:38]OFD Sender: No OFD packet to send [13:55:43]OFD Sender: No OFD packet to send [13:55:48]OFD Sender: No OFD packet to send [13:55:53]OFD Sender: No OFD packet to send [13:55:58]OFD Sender: No OFD packet to send [13:56:03]OFD Sender: No OFD packet to send [13:56:08]OFD Sender: No OFD packet to send [13:56:13]OFD Sender: No OFD packet to send [13:56:18]OFD Sender: No OFD packet to send [13:56:23]OFD Sender: No OFD packet to send [13:56:28]OFD Sender: No OFD packet to send [13:56:33]OFD Sender: No OFD packet to send [13:56:38]OFD Sender: No OFD packet to send [13:56:43]OFD Sender: No OFD packet to send [13:56:48]OFD Sender: No OFD packet to send [13:56:53]OFD Sender: No OFD packet to send [13:56:58]OFD Sender: No OFD packet to send [13:57:03]OFD Sender: No OFD packet to send [13:57:08]OFD Sender: No OFD packet to send [13:57:13]OFD Sender: No OFD packet to send [13:57:18]OFD Sender: No OFD packet to send [13:57:23]OFD Sender: No OFD packet to send [13:57:28]OFD Sender: No OFD packet to send [13:57:33]OFD Sender: No OFD packet to send [13:57:38]OFD Sender: No OFD packet to send [13:57:43]OFD Sender: No OFD packet to send [13:57:48]OFD Sender: No OFD packet to send [13:57:53]OFD Sender: No OFD packet to send [13:57:58]OFD Sender: No OFD packet to send [13:58:03]OFD Sender: No OFD packet to send [13:58:08]OFD Sender: No OFD packet to send [13:58:13]OFD Sender: No OFD packet to send [13:58:18]OFD Sender: No OFD packet to send [13:58:23]OFD Sender: No OFD packet to send [13:58:28]OFD Sender: No OFD packet to send [13:58:33]OFD Sender: No OFD packet to send [13:58:38]OFD Sender: No OFD packet to send [13:58:43]OFD Sender: No OFD packet to send [13:58:48]OFD Sender: No OFD packet to send [13:58:53]OFD Sender: No OFD packet to send [13:58:58]OFD Sender: No OFD packet to send [13:59:03]OFD Sender: No OFD packet to send [13:59:08]OFD Sender: No OFD packet to send [13:59:13]OFD Sender: No OFD packet to send [13:59:18]OFD Sender: No OFD packet to send [13:59:23]OFD Sender: No OFD packet to send [13:59:28]OFD Sender: No OFD packet to send [13:59:33]OFD Sender: No OFD packet to send [13:59:38]OFD Sender: No OFD packet to send [13:59:43]OFD Sender: No OFD packet to send [13:59:48]OFD Sender: No OFD packet to send [13:59:53]OFD Sender: No OFD packet to send [13:59:58]OFD Sender: No OFD packet to send [14:00:03]OFD Sender: No OFD packet to send [14:00:08]OFD Sender: No OFD packet to send [14:00:13]OFD Sender: No OFD packet to send [14:00:18]OFD Sender: No OFD packet to send [14:00:23]OFD Sender: No OFD packet to send [14:00:28]OFD Sender: No OFD packet to send [14:00:33]OFD Sender: No OFD packet to send [14:00:38]OFD Sender: No OFD packet to send [14:00:43]OFD Sender: No OFD packet to send [14:00:48]OFD Sender: No OFD packet to send [14:00:53]OFD Sender: No OFD packet to send [14:00:58]OFD Sender: No OFD packet to send [14:01:03]OFD Sender: No OFD packet to send [14:01:08]OFD Sender: No OFD packet to send [14:01:13]OFD Sender: No OFD packet to send [14:01:18]OFD Sender: No OFD packet to send [14:01:23]OFD Sender: No OFD packet to send [14:01:28]OFD Sender: No OFD packet to send [14:01:33]OFD Sender: No OFD packet to send [14:01:38]OFD Sender: No OFD packet to send [14:01:43]OFD Sender: No OFD packet to send [14:01:48]OFD Sender: No OFD packet to send [14:01:53]OFD Sender: No OFD packet to send [14:01:58]OFD Sender: No OFD packet to send [14:02:03]OFD Sender: No OFD packet to send [14:02:08]OFD Sender: No OFD packet to send [14:02:13]OFD Sender: No OFD packet to send [14:02:18]OFD Sender: No OFD packet to send [14:02:23]OFD Sender: No OFD packet to send [14:02:28]OFD Sender: No OFD packet to send [14:02:33]OFD Sender: No OFD packet to send [14:02:38]OFD Sender: No OFD packet to send [14:02:43]OFD Sender: No OFD packet to send [14:02:48]OFD Sender: No OFD packet to send [14:02:53]OFD Sender: No OFD packet to send [14:02:58]OFD Sender: No OFD packet to send [14:03:03]OFD Sender: No OFD packet to send [14:03:08]OFD Sender: No OFD packet to send [14:03:13]OFD Sender: No OFD packet to send [14:03:18]OFD Sender: No OFD packet to send [14:03:23]OFD Sender: No OFD packet to send [14:03:28]OFD Sender: No OFD packet to send [14:03:33]OFD Sender: No OFD packet to send [14:03:38]OFD Sender: No OFD packet to send [14:03:43]OFD Sender: No OFD packet to send [14:03:48]OFD Sender: No OFD packet to send [14:03:53]OFD Sender: No OFD packet to send [14:03:58]OFD Sender: No OFD packet to send [14:04:03]OFD Sender: No OFD packet to send [14:04:08]OFD Sender: No OFD packet to send [14:04:13]OFD Sender: No OFD packet to send [14:04:18]OFD Sender: No OFD packet to send [14:04:23]OFD Sender: No OFD packet to send [14:04:28]OFD Sender: No OFD packet to send [14:04:33]OFD Sender: No OFD packet to send [14:04:38]OFD Sender: No OFD packet to send [14:04:43]OFD Sender: No OFD packet to send [14:04:48]OFD Sender: No OFD packet to send [14:04:53]OFD Sender: No OFD packet to send [14:04:58]OFD Sender: No OFD packet to send [14:05:03]OFD Sender: No OFD packet to send [14:05:08]OFD Sender: No OFD packet to send [14:05:13]OFD Sender: No OFD packet to send [14:05:18]OFD Sender: No OFD packet to send [14:05:23]OFD Sender: No OFD packet to send [14:05:28]OFD Sender: No OFD packet to send [14:05:33]OFD Sender: No OFD packet to send [14:05:38]OFD Sender: No OFD packet to send [14:05:43]OFD Sender: No OFD packet to send [14:05:48]OFD Sender: No OFD packet to send [14:05:53]OFD Sender: No OFD packet to send [14:05:58]OFD Sender: No OFD packet to send [14:06:03]OFD Sender: No OFD packet to send [14:06:08]OFD Sender: No OFD packet to send [14:06:13]OFD Sender: No OFD packet to send [14:06:18]OFD Sender: No OFD packet to send [14:06:23]OFD Sender: No OFD packet to send [14:06:28]OFD Sender: No OFD packet to send [14:06:33]OFD Sender: No OFD packet to send [14:06:38]OFD Sender: No OFD packet to send [14:06:43]OFD Sender: No OFD packet to send [14:06:48]OFD Sender: No OFD packet to send [14:06:53]OFD Sender: No OFD packet to send [14:06:58]OFD Sender: No OFD packet to send [14:07:03]OFD Sender: No OFD packet to send [14:07:08]OFD Sender: No OFD packet to send [14:07:13]OFD Sender: No OFD packet to send [14:07:18]OFD Sender: No OFD packet to send [14:07:23]OFD Sender: No OFD packet to send [14:07:28]OFD Sender: No OFD packet to send [14:07:33]OFD Sender: No OFD packet to send [14:07:38]OFD Sender: No OFD packet to send [14:07:43]OFD Sender: No OFD packet to send [14:07:48]OFD Sender: No OFD packet to send [14:07:53]OFD Sender: No OFD packet to send [14:07:58]OFD Sender: No OFD packet to send [14:08:03]OFD Sender: No OFD packet to send [14:08:08]OFD Sender: No OFD packet to send [14:08:13]OFD Sender: No OFD packet to send [14:08:18]OFD Sender: No OFD packet to send [14:08:23]OFD Sender: No OFD packet to send [14:08:28]OFD Sender: No OFD packet to send [14:08:33]OFD Sender: No OFD packet to send [14:08:38]OFD Sender: No OFD packet to send [14:08:43]OFD Sender: No OFD packet to send [14:08:48]OFD Sender: No OFD packet to send [14:08:53]OFD Sender: No OFD packet to send [14:08:58]OFD Sender: No OFD packet to send [14:09:03]OFD Sender: No OFD packet to send [14:09:08]OFD Sender: No OFD packet to send [14:09:13]OFD Sender: No OFD packet to send [14:09:18]OFD Sender: No OFD packet to send [14:09:23]OFD Sender: No OFD packet to send [14:09:28]OFD Sender: No OFD packet to send [14:09:33]OFD Sender: No OFD packet to send [14:09:38]OFD Sender: No OFD packet to send [14:09:43]OFD Sender: No OFD packet to send [14:09:48]OFD Sender: No OFD packet to send [14:09:53]OFD Sender: No OFD packet to send [14:09:58]OFD Sender: No OFD packet to send [14:10:03]OFD Sender: No OFD packet to send [14:10:08]OFD Sender: No OFD packet to send [14:10:13]OFD Sender: No OFD packet to send [14:10:18]OFD Sender: No OFD packet to send [14:10:23]OFD Sender: No OFD packet to send [14:10:28]OFD Sender: No OFD packet to send [14:10:33]OFD Sender: No OFD packet to send [14:10:38]OFD Sender: No OFD packet to send [14:10:43]OFD Sender: No OFD packet to send [14:10:48]OFD Sender: No OFD packet to send [14:10:53]OFD Sender: No OFD packet to send [14:10:58]OFD Sender: No OFD packet to send [14:11:04]OFD Sender: No OFD packet to send [14:11:09]OFD Sender: No OFD packet to send [14:11:14]OFD Sender: No OFD packet to send [14:11:19]OFD Sender: No OFD packet to send [14:11:24]OFD Sender: No OFD packet to send [14:11:29]OFD Sender: No OFD packet to send [14:11:34]OFD Sender: No OFD packet to send [14:11:39]OFD Sender: No OFD packet to send [14:11:44]OFD Sender: No OFD packet to send [14:11:49]OFD Sender: No OFD packet to send [14:11:54]OFD Sender: No OFD packet to send [14:11:59]OFD Sender: No OFD packet to send [14:12:04]OFD Sender: No OFD packet to send [14:12:09]OFD Sender: No OFD packet to send [14:12:14]OFD Sender: No OFD packet to send [14:12:19]OFD Sender: No OFD packet to send [14:12:24]OFD Sender: No OFD packet to send [14:12:29]OFD Sender: No OFD packet to send [14:12:34]OFD Sender: No OFD packet to send [14:12:39]OFD Sender: No OFD packet to send [14:12:44]OFD Sender: No OFD packet to send [14:12:49]OFD Sender: No OFD packet to send [14:12:54]OFD Sender: No OFD packet to send [14:12:59]OFD Sender: No OFD packet to send [14:13:04]OFD Sender: No OFD packet to send [14:13:09]OFD Sender: No OFD packet to send [14:13:14]OFD Sender: No OFD packet to send [14:13:19]OFD Sender: No OFD packet to send [14:13:24]OFD Sender: No OFD packet to send [14:13:29]OFD Sender: No OFD packet to send [14:13:34]OFD Sender: No OFD packet to send [14:13:39]OFD Sender: No OFD packet to send [14:13:44]OFD Sender: No OFD packet to send [14:13:49]OFD Sender: No OFD packet to send [14:13:54]OFD Sender: No OFD packet to send [14:13:59]OFD Sender: No OFD packet to send [14:14:04]OFD Sender: No OFD packet to send [14:14:09]OFD Sender: No OFD packet to send [14:14:14]OFD Sender: No OFD packet to send [14:14:19]OFD Sender: No OFD packet to send [14:14:24]OFD Sender: No OFD packet to send [14:14:29]OFD Sender: No OFD packet to send [14:14:34]OFD Sender: No OFD packet to send [14:14:39]OFD Sender: No OFD packet to send [14:14:44]OFD Sender: No OFD packet to send [14:14:49]OFD Sender: No OFD packet to send [14:14:54]OFD Sender: No OFD packet to send [14:14:59]OFD Sender: No OFD packet to send [14:15:04]OFD Sender: No OFD packet to send [14:15:09]OFD Sender: No OFD packet to send [14:15:14]OFD Sender: No OFD packet to send [14:15:19]OFD Sender: No OFD packet to send [14:15:24]OFD Sender: No OFD packet to send [14:15:29]OFD Sender: No OFD packet to send [14:15:34]OFD Sender: No OFD packet to send [14:15:39]OFD Sender: No OFD packet to send [14:15:44]OFD Sender: No OFD packet to send [14:15:49]OFD Sender: No OFD packet to send [14:15:54]OFD Sender: No OFD packet to send [14:15:59]OFD Sender: No OFD packet to send [14:16:04]OFD Sender: No OFD packet to send [14:16:09]OFD Sender: No OFD packet to send [14:16:14]OFD Sender: No OFD packet to send [14:16:19]OFD Sender: No OFD packet to send [14:16:24]OFD Sender: No OFD packet to send [14:16:29]OFD Sender: No OFD packet to send [14:16:34]OFD Sender: No OFD packet to send [14:16:39]OFD Sender: No OFD packet to send [14:16:44]OFD Sender: No OFD packet to send [14:16:49]OFD Sender: No OFD packet to send [14:16:54]OFD Sender: No OFD packet to send [14:16:59]OFD Sender: No OFD packet to send [14:17:04]OFD Sender: No OFD packet to send [14:17:09]OFD Sender: No OFD packet to send [14:17:14]OFD Sender: No OFD packet to send [14:17:19]OFD Sender: No OFD packet to send [14:17:24]OFD Sender: No OFD packet to send [14:17:29]OFD Sender: No OFD packet to send [14:17:34]OFD Sender: No OFD packet to send [14:17:39]OFD Sender: No OFD packet to send [14:17:44]OFD Sender: No OFD packet to send [14:17:49]OFD Sender: No OFD packet to send [14:17:54]OFD Sender: No OFD packet to send [14:17:59]OFD Sender: No OFD packet to send [14:18:04]OFD Sender: No OFD packet to send [14:18:09]OFD Sender: No OFD packet to send [14:18:14]OFD Sender: No OFD packet to send [14:18:19]OFD Sender: No OFD packet to send [14:18:24]OFD Sender: No OFD packet to send [14:18:29]OFD Sender: No OFD packet to send [14:18:34]OFD Sender: No OFD packet to send [14:18:39]OFD Sender: No OFD packet to send [14:18:44]OFD Sender: No OFD packet to send [14:18:49]OFD Sender: No OFD packet to send [14:18:54]OFD Sender: No OFD packet to send [14:18:59]OFD Sender: No OFD packet to send [14:19:04]OFD Sender: No OFD packet to send [14:19:09]OFD Sender: No OFD packet to send [14:19:14]OFD Sender: No OFD packet to send [14:19:19]OFD Sender: No OFD packet to send [14:19:24]OFD Sender: No OFD packet to send [14:19:29]OFD Sender: No OFD packet to send [14:19:34]OFD Sender: No OFD packet to send [14:19:39]OFD Sender: No OFD packet to send [14:19:44]OFD Sender: No OFD packet to send [14:19:49]OFD Sender: No OFD packet to send [14:19:54]OFD Sender: No OFD packet to send [14:19:57]accept exits with 7 [14:19:57]New connection [14:19:57]New thread 3066555748 created [14:19:57]Thread 3066699108 joined [14:19:57]Waiting for new connection... [14:19:57] Sock 7.Parse request [14:19:57]Sock 7.Check first char [14:19:57]Sock 7.First char is OK [14:19:57]request: POST /json_proto HTTP/1.0 [14:19:57]Method: POST [14:19:57]URL: /json_proto [14:19:57]Method is POST - this is cgi request [14:19:57]url: /json_proto [14:19:57]query_string will be loaded in cgi processing [14:19:57]execute_cgi json_proto POST (null) [14:19:57]execute_cgi path=json_proto method=POST [14:19:57]POST find Content-Length [14:19:57]Host: 172.17.53.68:8080 [14:19:57]Content-Length: 649 [14:19:57]Content-Type: application/json [14:19:57] [14:19:57]POST finish read [14:19:57]Found Content-Length = 649 [14:19:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76675", "tax_sys" : 0, "items" : [ { "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:19:57]execute_script... [14:19:57]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76675", "tax_sys" : 0, "items" : [ { "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:19:57]POST & json_proto [14:19:57]process_json_proto [14:19:57]json parsed OK: [14:19:57]protocol is kg_v1.0 [14:19:57]action value=close_receipt [14:19:57]process_action close_receipt [14:19:57]cmd_close_receipt [14:19:57]MH_GetDate [14:19:57]Write to MH i2c: F0 00 00 BB 20 CA [14:19:57]Write i2c OK [14:19:57]MH_I2C_Read... [14:19:57]Read from MH i2c: F0 [14:19:57]MH_I2C_Read... [14:19:57]Read from MH i2c: F0 09 00 [14:19:57]MH_I2C_Read... [14:19:57]Read from MH i2c: F0 09 00 BB 20 00 95 11 15 67 C5 A4 76 66 3A [14:19:57]GetLastDocTimeStamp 1729430345 [14:19:57]current date 1729434005 [14:19:57]FM_GetShiftState [14:19:57]SAM_PROTO_GetShiftState [14:19:57]wFMCommunicate request_size=4 [14:19:57]MH_SAM_APDU [14:19:57]CAPDU: 80 13 01 00 [14:19:57]Write to MH i2c: E2 08 00 BC 20 80 13 01 00 00 00 00 00 59 [14:19:57]Write i2c OK [14:19:57]MH_I2C_Read... [14:19:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:19:57]Read from MH i2c: E2 [14:19:57]MH_I2C_Read... [14:19:57]Read from MH i2c: E2 0E 00 [14:19:57]MH_I2C_Read... [14:19:57]Read from MH i2c: E2 0E 00 BC 20 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 AE [14:19:57]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [14:19:57]wFMCommunicate OK [14:19:57]SAM_PROTO_GetShiftState done [14:19:57]FM_GetShiftState done [14:19:57]opened in 1729383299 [14:19:57]opened+sec_in_day 1729469699 [14:19:57]quantity*price = 10500 [14:19:57]sum+1 = 10501 [14:19:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 105.00 ÐСП 1% : 0.93 ÐДС 12% : 11.15 Ðаличными: 105.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 44 20.10.2024 14:20 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37196 ФПД: 36483159001706 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T142005&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37196&fm=36483159001706&tin=02508201610067®Number=0000000000098149&sum=10500 0 [14:19:58]StoreToDocumentArchive [14:19:58]shift 461 fd 37196 [14:19:58]save to /storage/0461/doc_00037196 [14:19:58]save last doc name /storage/0461/doc_00037196 to /storage/kkm_last_doc_name [14:19:58]save OK [14:19:58]Clear old archive folders... [14:19:58]ProcessDocumentItem done err = 0, tmpTLVsize=282 [14:19:58]tlvbuf is 009E7AC0 [14:19:58]SAM_PROTO_ClearQueue [14:19:58]wFMCommunicate request_size=4 [14:19:58]MH_SAM_APDU [14:19:58]CAPDU: 80 09 00 00 [14:19:58]Write to MH i2c: E2 08 00 C9 20 80 09 00 00 00 00 00 00 5B [14:19:58]Write i2c OK [14:19:58]MH_I2C_Read... [14:19:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:19:58]Read from MH i2c: E2 [14:19:58]MH_I2C_Read... [14:19:58]Read from MH i2c: E2 03 00 [14:19:58]MH_I2C_Read... [14:19:58]Read from MH i2c: E2 03 00 C9 20 00 90 00 5D [14:19:58]RAPDU: 90 00 [14:19:58]wFMCommunicate OK [14:19:58]SAM_PROTO_ClearQueue done [14:19:58]KKMCreateOFDPacket [14:19:58]OFDProtocolAddRootSTLVToBuf [14:19:58]FM_MakeSignedData [14:19:58]FM_MakeSignedData [14:19:58]SAM_PROTO_SignData [14:19:58]wFMCommunicate request_size=4 [14:19:58]MH_SAM_APDU [14:19:58]CAPDU: 80 0D 01 02 [14:19:58]Write to MH i2c: E2 08 00 CA 20 80 0D 01 02 00 00 00 00 63 [14:19:58]Write i2c OK [14:19:58]MH_I2C_Read... [14:19:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:19:59]Read from MH i2c: E2 [14:19:59]MH_I2C_Read... [14:19:59]Read from MH i2c: E2 03 00 [14:19:59]MH_I2C_Read... [14:19:59]Read from MH i2c: E2 03 00 CA 20 00 90 00 5E [14:19:59]RAPDU: 90 00 [14:19:59]wFMCommunicate OK [14:19:59]wFMCommunicate request_size=255 [14:19:59]MH_SAM_APDU [14:19:59]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 95 11 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 [14:19:59]Write to MH i2c: E2 02 01 CB 20 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 95 11 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 00 00 4D [14:19:59]Write i2c OK [14:19:59]MH_I2C_Read... [14:19:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:19:59]Read from MH i2c: E2 [14:19:59]MH_I2C_Read... [14:19:59]Read from MH i2c: E2 03 00 [14:19:59]MH_I2C_Read... [14:19:59]Read from MH i2c: E2 03 00 CB 20 00 90 00 5F [14:19:59]RAPDU: 90 00 [14:19:59]wFMCommunicate OK [14:19:59]wFMCommunicate request_size=41 [14:19:59]MH_SAM_APDU [14:19:59]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 4C 91 00 00 35 04 06 00 21 2E 65 BB 8A 6A [14:19:59]Write to MH i2c: E2 2C 00 CC 20 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 4C 91 00 00 35 04 06 00 21 2E 65 BB 8A 6A 00 00 75 [14:19:59]Write i2c OK [14:19:59]MH_I2C_Read... [14:19:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:19:59]Read from MH i2c: E2 [14:19:59]MH_I2C_Read... [14:19:59]Read from MH i2c: E2 03 00 [14:19:59]MH_I2C_Read... [14:19:59]Read from MH i2c: E2 03 00 CC 20 00 90 00 60 [14:19:59]RAPDU: 90 00 [14:19:59]wFMCommunicate OK [14:19:59]wFMCommunicate request_size=4 [14:19:59]MH_SAM_APDU [14:19:59]CAPDU: 80 0D 03 02 [14:19:59]Write to MH i2c: E2 08 00 CD 20 80 0D 03 02 00 00 00 00 68 [14:19:59]Write i2c OK [14:19:59]MH_I2C_Read... [14:19:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:19:59]Read from MH i2c: E2 [14:19:59]MH_I2C_Read... [14:19:59]Read from MH i2c: E2 0B 00 [14:19:59]MH_I2C_Read... [14:19:59]Read from MH i2c: E2 0B 00 CD 20 00 CB BB BB 12 68 86 28 37 90 00 09 [14:19:59]RAPDU: CB BB BB 12 68 86 28 37 90 00 [14:19:59]wFMCommunicate OK [14:19:59]SAM_PROTO_SignData done [14:19:59]FM_MakeSignedData done [14:19:59]CreateOFDProtocolMessage [14:19:59]wFMCommunicate request_size=4 [14:19:59]MH_SAM_APDU [14:19:59]CAPDU: 80 11 00 00 [14:19:59]Write to MH i2c: E2 08 00 CE 20 80 11 00 00 00 00 00 00 68 [14:19:59]Write i2c OK [14:19:59]MH_I2C_Read... [14:19:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:19:59]Read from MH i2c: E2 [14:19:59]MH_I2C_Read... [14:19:59]Read from MH i2c: E2 17 00 [14:19:59]MH_I2C_Read... [14:19:59]Read from MH i2c: E2 17 00 CE 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 BB [14:19:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [14:19:59]wFMCommunicate OK [14:19:59]CreateOFDProtocolMessage done [14:19:59]OFDSenderStorePacket 37196 [14:19:59]StoreOFDPacket docnum=37196 [14:19:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 2E 01 00 00 3F 05 26 01 D6 EF 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 95 11 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 4C 91 00 00 35 04 06 00 21 2E 65 BB 8A 6A CB BB BB 12 68 86 28 37 [14:19:59]CheckFolder [14:19:59]dirname=/storage/ofd_packets [14:19:59]CheckFolder done [14:19:59]ProducePacketName [14:19:59]name=ofd_packets/00037196 [14:19:59]NVStorageSaveData ofd_packets/00037196 [14:19:59]File name is /storage/ofd_packets/00037196 [14:19:59]Write 332 bytes [14:19:59]NVStorageSaveData done [14:19:59]OFDSenderStorePacket done [14:19:59]KKMCreateOFDPacket done [14:19:59]NVStorageSaveData kkm_last_timestamp [14:19:59]File name is /storage/kkm_last_timestamp [14:19:59]Write 4 bytes [14:19:59]NVStorageSaveData done [14:19:59]ExternCall_PrintAddStr [14:19:59]wPrintStart [14:19:59]Write to MH i2c: 01 00 00 CF 20 EF [14:19:59]Write i2c OK [14:19:59]MH_I2C_Read... [14:19:59]Read from MH i2c: 01 [14:19:59]MH_I2C_Read... [14:19:59]Read from MH i2c: 01 07 00 [14:19:59]MH_I2C_Read... [14:19:59]Read from MH i2c: 01 07 00 CF 20 00 00 00 00 00 FF 0F 04 [14:19:59]RasterBufferAndPrint [14:19:59]line Счет N : (3)76675 [14:19:59]line ИÐÐ: 02508201610067 [14:19:59]line Контрольно-КаÑÑовый Чек [14:19:59]line ПРОДÐЖР[14:19:59]line Товар: 2000034730018 [14:19:59]line Кофе Ðмерикано (GABB TRADE) [14:19:59]line 1.000 * 105.00 [14:19:59]line = 105.00 [14:19:59]line ÐДС 12% ÐСП 1% [14:19:59]line > о реализуемом товаре [14:19:59]line ИТОГО: 105.00 [14:19:59]line ÐСП 1% : 0.93 [14:19:59]line ÐДС 12% : 11.15 [14:19:59]line Ðаличными: 105.00 [14:19:59]line Безнал.: 0.00 [14:19:59]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [14:19:59]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [14:19:59]line СÐО: Общий режим [14:19:59]line Чек 44 20.10.2024 14:20 [14:19:59]line Смена: 461 ФФД: 1.0 [14:19:59]line ЗÐМ: 0300000235 [14:19:59]line РÐМ: 0000000000098149 [14:19:59]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [14:19:59]line ФМ: 0000000000965372 [14:19:59]line ФД: 37196 [14:19:59]line ФПД: 36483159001706 [14:19:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T142005&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37196&fm=36483159001706&tin=02508201610067®Number=0000000000098149&sum=10500 [14:19:59]line 0 [14:19:59]OFD Sender: Processing packet 37196 [packets to send 25, broken 24] [14:19:59]ProducePacketName [14:19:59]name=ofd_packets/00037196 [14:19:59]OFD Sender: To server: ‡•öpG, [14:19:59]CommunicateWithHost lk.salyk.kg:30040 [14:19:59]ConnectInit lk.salyk.kg [14:19:59]written 0, free lines is 4095 [14:19:59]Connected sock=10 [14:19:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 2E 01 00 00 3F 05 26 01 D6 EF 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 95 11 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 4C 91 00 00 35 04 06 00 21 2E 65 BB 8A 6A CB BB BB 12 68 86 28 37 [14:20:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 8E 3F 47 00 6E 4B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 4C 91 00 00 F4 03 04 00 27 BA 14 67 B6 04 01 00 00 F1 10 96 8D 24 C3 C0 16 [14:20:00]CommunicateWithHost err = 0 [14:20:00]CheckOFDResponse [14:20:00]1017 (14) - 77093643461234 [14:20:00]1041 (16) - 0000000000965372 [14:20:00]1040 (4) - 37196 [14:20:00]1012 (4) - 20.10.2024 08:07 [14:20:00]1206 (1) - 0 [14:20:00]OFD Sender: Remove packet 37196 [14:20:00]ProducePacketName [14:20:00]name=ofd_packets/00037196 [14:20:00]NVStorageDeleteData [14:20:00]Write to MH i2c: 01 00 00 F8 20 18 [14:20:00]Write i2c OK [14:20:00]MH_I2C_Read... [14:20:00]Read from MH i2c: 01 [14:20:00]MH_I2C_Read... [14:20:00]Read from MH i2c: 01 07 00 [14:20:00]MH_I2C_Read... [14:20:00]Read from MH i2c: 01 07 00 F8 20 00 00 00 00 00 EB 0C 16 [14:20:00]RasterBufferAndPrint [14:20:00]line [14:20:00]line [14:20:00]line [14:20:00]line [14:20:00]line [14:20:00]written 0, free lines is 3313 [14:20:00]process_action close_receipt done [14:20:00]requested_data is exist [14:20:00]produce_requested_data [14:20:00]requested_item fm.sn is exist - process it [14:20:00]wFMCommunicate request_size=4 [14:20:00]MH_SAM_APDU [14:20:00]CAPDU: 80 11 00 00 [14:20:00]Write to MH i2c: E2 08 00 FF 20 80 11 00 00 00 00 00 00 99 [14:20:00]Write i2c OK [14:20:00]MH_I2C_Read... [14:20:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:20:00]Read from MH i2c: E2 [14:20:00]MH_I2C_Read... [14:20:00]Read from MH i2c: E2 17 00 [14:20:00]MH_I2C_Read... [14:20:00]Read from MH i2c: E2 17 00 FF 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 EC [14:20:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [14:20:00]wFMCommunicate OK [14:20:00]requested_item fd.num is exist - process it [14:20:00]SAM_PROTO_GetFieldsCounters [14:20:00]wFMCommunicate request_size=4 [14:20:00]MH_SAM_APDU [14:20:00]CAPDU: 80 13 00 00 [14:20:00]Write to MH i2c: E2 08 00 00 21 80 13 00 00 00 00 00 00 9D [14:20:00]Write i2c OK [14:20:00]MH_I2C_Read... [14:20:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:20:00]Read from MH i2c: E2 [14:20:00]MH_I2C_Read... [14:20:00]Read from MH i2c: E2 62 00 [14:20:00]MH_I2C_Read... [14:20:00]Read from MH i2c: E2 62 00 00 21 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 4C 91 00 00 0E 04 04 00 CD 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 F3 [14:20: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 4C 91 00 00 0E 04 04 00 CD 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 [14:20:00]wFMCommunicate OK [14:20:00]SAM_PROTO_GetFieldsCounters done [14:20:00]requested_item shift.num is exist - process it [14:20:00]requested_item shift.opened is exist - process it [14:20:00]req_shift_opened [14:20:00]FM_GetShiftState [14:20:00]SAM_PROTO_GetShiftState [14:20:00]wFMCommunicate request_size=4 [14:20:00]MH_SAM_APDU [14:20:00]CAPDU: 80 13 01 00 [14:20:00]Write to MH i2c: E2 08 00 01 21 80 13 01 00 00 00 00 00 9F [14:20:00]Write i2c OK [14:20:00]MH_I2C_Read... [14:20:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:20:00]Read from MH i2c: E2 [14:20:00]MH_I2C_Read... [14:20:00]Read from MH i2c: E2 0E 00 [14:20:00]MH_I2C_Read... [14:20:00]Read from MH i2c: E2 0E 00 01 21 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 F4 [14:20:00]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [14:20:00]wFMCommunicate OK [14:20:00]SAM_PROTO_GetShiftState done [14:20:00]FM_GetShiftState done [14:20:00]req_shift_opened done [14:20:00]requested_item shift.open_date is exist - process it [14:20:00]req_shift_open_date [14:20:00]req_shift_open_date done [14:20:00]produce_requested_data done [14:20:00]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37196,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [14:20:00]process_action_free close_receipt [14:20:00]json_value_free [14:20:00]json_value_free done [14:20:00]process_json_proto returns [14:20:00]Send response to host [14:20:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37196,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [14:20:00]free response buf [14:20:00]execute_script done [14:20:00]execute_script returns [14:20:00]free content buf [14:20:00]Sock 7.Close socket [14:20:00]Sock 7.Thread stoped [14:20:00]OFD Sender: No OFD packet to send [14:20:05]OFD Sender: No OFD packet to send [14:20:10]int [14:20:10]Write to MH i2c: 01 00 00 02 21 23 [14:20:10]*** FLAG_PRN_KEY set [14:20:10]Write i2c OK [14:20:10]MH_I2C_Read... [14:20:10]Read from MH i2c: 01 [14:20:10]MH_I2C_Read... [14:20:10]Read from MH i2c: 01 07 00 [14:20:10]MH_I2C_Read... [14:20:10]Read from MH i2c: 01 07 00 02 21 00 08 00 00 00 FF 0F 40 [14:20:10]state=0 [14:20:10]Key pressed [14:20:10]Feed [14:20:10]Write to MH i2c: D8 00 00 03 21 FB [14:20:10]Write i2c OK [14:20:10]MH_I2C_Read... [14:20:10]Read from MH i2c: D8 [14:20:10]MH_I2C_Read... [14:20:10]Read from MH i2c: D8 01 00 [14:20:10]MH_I2C_Read... [14:20:10]Read from MH i2c: D8 01 00 03 21 00 FC [14:20:10]int [14:20:10]Write to MH i2c: 01 00 00 04 21 25 [14:20:10]Write i2c OK [14:20:10]MH_I2C_Read... [14:20:10]Read from MH i2c: 01 [14:20:10]MH_I2C_Read... [14:20:10]Read from MH i2c: 01 07 00 [14:20:10]MH_I2C_Read... [14:20:10]Read from MH i2c: 01 07 00 04 21 00 48 00 00 00 3D 00 B1 [14:20:10]state=2 [14:20:10]Key pressed [14:20:10]OFD Sender: No OFD packet to send [14:20:10]int [14:20:10]Write to MH i2c: 01 00 00 05 21 26 [14:20:10]*** FLAG_PRN_KEY reset [14:20:10]Write i2c OK [14:20:10]MH_I2C_Read... [14:20:10]Read from MH i2c: 01 [14:20:10]MH_I2C_Read... [14:20:10]Read from MH i2c: 01 07 00 [14:20:10]MH_I2C_Read... [14:20:10]Read from MH i2c: 01 07 00 05 21 00 00 00 00 00 FF 0F 3B [14:20:10]state=2 [14:20:10]Stop feed [14:20:15]OFD Sender: No OFD packet to send [14:20:20]OFD Sender: No OFD packet to send [14:20:25]OFD Sender: No OFD packet to send [14:20:30]OFD Sender: No OFD packet to send [14:20:35]OFD Sender: No OFD packet to send [14:20:40]OFD Sender: No OFD packet to send [14:20:45]OFD Sender: No OFD packet to send [14:20:50]OFD Sender: No OFD packet to send [14:20:55]OFD Sender: No OFD packet to send [14:21:00]OFD Sender: No OFD packet to send [14:21:05]OFD Sender: No OFD packet to send [14:21:10]OFD Sender: No OFD packet to send [14:21:15]OFD Sender: No OFD packet to send [14:21:20]OFD Sender: No OFD packet to send [14:21:25]OFD Sender: No OFD packet to send [14:21:30]OFD Sender: No OFD packet to send [14:21:35]OFD Sender: No OFD packet to send [14:21:40]OFD Sender: No OFD packet to send [14:21:45]OFD Sender: No OFD packet to send [14:21:50]OFD Sender: No OFD packet to send [14:21:55]OFD Sender: No OFD packet to send [14:22:00]OFD Sender: No OFD packet to send [14:22:05]OFD Sender: No OFD packet to send [14:22:10]OFD Sender: No OFD packet to send [14:22:15]OFD Sender: No OFD packet to send [14:22:20]OFD Sender: No OFD packet to send [14:22:25]OFD Sender: No OFD packet to send [14:22:30]OFD Sender: No OFD packet to send [14:22:35]OFD Sender: No OFD packet to send [14:22:40]OFD Sender: No OFD packet to send [14:22:45]OFD Sender: No OFD packet to send [14:22:50]OFD Sender: No OFD packet to send [14:22:55]OFD Sender: No OFD packet to send [14:23:00]OFD Sender: No OFD packet to send [14:23:05]OFD Sender: No OFD packet to send [14:23:10]OFD Sender: No OFD packet to send [14:23:14]accept exits with 9 [14:23:14]New connection [14:23:14]New thread 3066699108 created [14:23:14]Thread 3066555748 joined [14:23:14]Waiting for new connection... [14:23:14] Sock 9.Parse request [14:23:14]Sock 9.Check first char [14:23:14]Sock 9.First char is OK [14:23:14]request: POST /json_proto HTTP/1.0 [14:23:14]Method: POST [14:23:14]URL: /json_proto [14:23:14]Method is POST - this is cgi request [14:23:14]url: /json_proto [14:23:14]query_string will be loaded in cgi processing [14:23:14]execute_cgi json_proto POST (null) [14:23:14]execute_cgi path=json_proto method=POST [14:23:14]POST find Content-Length [14:23:14]Host: 172.17.53.68:8080 [14:23:14]Content-Length: 747 [14:23:14]Content-Type: application/json [14:23:14] [14:23:14]POST finish read [14:23:14]Found Content-Length = 747 [14:23:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76676", "tax_sys" : 0, "items" : [ { "code": "4870202521254", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u043A\u043B\u0443\u0431\u043D", "price" : 104.00, "quantity" : 1.000, "sum" : 104.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 104.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:23:14]execute_script... [14:23: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)76676", "tax_sys" : 0, "items" : [ { "code": "4870202521254", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u043A\u043B\u0443\u0431\u043D", "price" : 104.00, "quantity" : 1.000, "sum" : 104.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 104.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:23:14]POST & json_proto [14:23:14]process_json_proto [14:23:14]json parsed OK: [14:23:14]protocol is kg_v1.0 [14:23:14]action value=close_receipt [14:23:14]process_action close_receipt [14:23:14]cmd_close_receipt [14:23:14]MH_GetDate [14:23:14]Write to MH i2c: F0 00 00 06 21 16 [14:23:14]Write i2c OK [14:23:14]MH_I2C_Read... [14:23:14]Read from MH i2c: F0 [14:23:14]MH_I2C_Read... [14:23:14]Read from MH i2c: F0 09 00 [14:23:14]MH_I2C_Read... [14:23:14]Read from MH i2c: F0 09 00 06 21 00 5A 12 15 67 C5 A4 76 66 4C [14:23:14]GetLastDocTimeStamp 1729434005 [14:23:14]current date 1729434202 [14:23:14]FM_GetShiftState [14:23:14]SAM_PROTO_GetShiftState [14:23:14]wFMCommunicate request_size=4 [14:23:14]MH_SAM_APDU [14:23:14]CAPDU: 80 13 01 00 [14:23:14]Write to MH i2c: E2 08 00 07 21 80 13 01 00 00 00 00 00 A5 [14:23:14]Write i2c OK [14:23:14]MH_I2C_Read... [14:23:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:23:14]Read from MH i2c: E2 [14:23:14]MH_I2C_Read... [14:23:14]Read from MH i2c: E2 0E 00 [14:23:14]MH_I2C_Read... [14:23:14]Read from MH i2c: E2 0E 00 07 21 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 FA [14:23:14]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [14:23:14]wFMCommunicate OK [14:23:14]SAM_PROTO_GetShiftState done [14:23:14]FM_GetShiftState done [14:23:14]opened in 1729383299 [14:23:14]opened+sec_in_day 1729469699 [14:23:14]quantity*price = 10400 [14:23:14]sum+1 = 10401 [14:23:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 104.00 ÐСП 1% : 0.92 ÐДС 12% : 11.04 Ðаличными: 104.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 45 20.10.2024 14:23 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37197 ФПД: 54347889868108 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T142322&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37197&fm=54347889868108&tin=02508201610067®Number=0000000000098149&sum=10400 0 [14:23:15]StoreToDocumentArchive [14:23:15]shift 461 fd 37197 [14:23:15]save to /storage/0461/doc_00037197 [14:23:15]save last doc name /storage/0461/doc_00037197 to /storage/kkm_last_doc_name [14:23:15]save OK [14:23:15]Clear old archive folders... [14:23:15]ProcessDocumentItem done err = 0, tmpTLVsize=312 [14:23:15]tlvbuf is 00A19620 [14:23:15]SAM_PROTO_ClearQueue [14:23:15]wFMCommunicate request_size=4 [14:23:15]MH_SAM_APDU [14:23:15]CAPDU: 80 09 00 00 [14:23:15]Write to MH i2c: E2 08 00 14 21 80 09 00 00 00 00 00 00 A7 [14:23:15]Write i2c OK [14:23:15]MH_I2C_Read... [14:23:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:23:15]Read from MH i2c: E2 [14:23:15]MH_I2C_Read... [14:23:15]Read from MH i2c: E2 03 00 [14:23:15]MH_I2C_Read... [14:23:15]Read from MH i2c: E2 03 00 14 21 00 90 00 A9 [14:23:15]RAPDU: 90 00 [14:23:15]wFMCommunicate OK [14:23:15]SAM_PROTO_ClearQueue done [14:23:15]KKMCreateOFDPacket [14:23:15]OFDProtocolAddRootSTLVToBuf [14:23:15]FM_MakeSignedData [14:23:15]FM_MakeSignedData [14:23:15]SAM_PROTO_SignData [14:23:15]wFMCommunicate request_size=4 [14:23:15]MH_SAM_APDU [14:23:15]CAPDU: 80 0D 01 02 [14:23:15]Write to MH i2c: E2 08 00 15 21 80 0D 01 02 00 00 00 00 AF [14:23:15]Write i2c OK [14:23:15]MH_I2C_Read... [14:23:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:23:15]Read from MH i2c: E2 [14:23:15]MH_I2C_Read... [14:23:15]Read from MH i2c: E2 03 00 [14:23:15]MH_I2C_Read... [14:23:15]Read from MH i2c: E2 03 00 15 21 00 90 00 AA [14:23:15]RAPDU: 90 00 [14:23:15]wFMCommunicate OK [14:23:15]wFMCommunicate request_size=255 [14:23:15]MH_SAM_APDU [14:23:15]CAPDU: 80 0D 02 02 FA 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 28 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 04 00 00 00 00 07 04 06 00 A0 28 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 5A 12 15 67 0E 04 04 00 CD [14:23:15]Write to MH i2c: E2 02 01 16 21 80 0D 02 02 FA 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 28 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 04 00 00 00 00 07 04 06 00 A0 28 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 5A 12 15 67 0E 04 04 00 CD 00 00 CA [14:23:16]Write i2c OK [14:23:16]MH_I2C_Read... [14:23:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:23:16]Read from MH i2c: E2 [14:23:16]MH_I2C_Read... [14:23:16]Read from MH i2c: E2 03 00 [14:23:16]MH_I2C_Read... [14:23:16]Read from MH i2c: E2 03 00 16 21 00 90 00 AB [14:23:16]RAPDU: 90 00 [14:23:16]wFMCommunicate OK [14:23:16]wFMCommunicate request_size=71 [14:23:16]MH_SAM_APDU [14:23:16]CAPDU: 80 0D 02 02 42 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 4D 91 00 00 35 04 06 00 31 6D DA AB 7D 4C [14:23:16]Write to MH i2c: E2 4A 00 17 21 80 0D 02 02 42 00 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 4D 91 00 00 35 04 06 00 31 6D DA AB 7D 4C 00 00 9C [14:23:16]Write i2c OK [14:23:16]MH_I2C_Read... [14:23:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:23:16]Read from MH i2c: E2 [14:23:16]MH_I2C_Read... [14:23:16]Read from MH i2c: E2 03 00 [14:23:16]MH_I2C_Read... [14:23:16]Read from MH i2c: E2 03 00 17 21 00 90 00 AC [14:23:16]RAPDU: 90 00 [14:23:16]wFMCommunicate OK [14:23:16]wFMCommunicate request_size=4 [14:23:16]MH_SAM_APDU [14:23:16]CAPDU: 80 0D 03 02 [14:23:16]Write to MH i2c: E2 08 00 18 21 80 0D 03 02 00 00 00 00 B4 [14:23:16]Write i2c OK [14:23:16]MH_I2C_Read... [14:23:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:23:16]Read from MH i2c: E2 [14:23:16]MH_I2C_Read... [14:23:16]Read from MH i2c: E2 0B 00 [14:23:16]MH_I2C_Read... [14:23:16]Read from MH i2c: E2 0B 00 18 21 00 F6 22 FA BB A3 74 CB DF 90 00 43 [14:23:16]RAPDU: F6 22 FA BB A3 74 CB DF 90 00 [14:23:16]wFMCommunicate OK [14:23:16]SAM_PROTO_SignData done [14:23:16]FM_MakeSignedData done [14:23:16]CreateOFDProtocolMessage [14:23:16]wFMCommunicate request_size=4 [14:23:16]MH_SAM_APDU [14:23:16]CAPDU: 80 11 00 00 [14:23:16]Write to MH i2c: E2 08 00 19 21 80 11 00 00 00 00 00 00 B4 [14:23:16]Write i2c OK [14:23:16]MH_I2C_Read... [14:23:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:23:16]Read from MH i2c: E2 [14:23:16]MH_I2C_Read... [14:23:16]Read from MH i2c: E2 17 00 [14:23:16]MH_I2C_Read... [14:23:16]Read from MH i2c: E2 17 00 19 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 07 [14:23:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [14:23:16]wFMCommunicate OK [14:23:16]CreateOFDProtocolMessage done [14:23:16]OFDSenderStorePacket 37197 [14:23:16]StoreOFDPacket docnum=37197 [14:23:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4C 01 00 00 F3 B5 44 01 42 BA 5A 03 01 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 28 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 04 00 00 00 00 07 04 06 00 A0 28 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 5A 12 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 4D 91 00 00 35 04 06 00 31 6D DA AB 7D 4C F6 22 FA BB A3 74 CB DF [14:23:16]CheckFolder [14:23:16]dirname=/storage/ofd_packets [14:23:16]CheckFolder done [14:23:16]ProducePacketName [14:23:16]name=ofd_packets/00037197 [14:23:16]NVStorageSaveData ofd_packets/00037197 [14:23:16]File name is /storage/ofd_packets/00037197 [14:23:16]Write 362 bytes [14:23:16]NVStorageSaveData done [14:23:16]OFDSenderStorePacket done [14:23:16]KKMCreateOFDPacket done [14:23:16]NVStorageSaveData kkm_last_timestamp [14:23:16]File name is /storage/kkm_last_timestamp [14:23:16]Write 4 bytes [14:23:16]NVStorageSaveData done [14:23:16]ExternCall_PrintAddStr [14:23:16]wPrintStart [14:23:16]Write to MH i2c: 01 00 00 1A 21 3B [14:23:16]Write i2c OK [14:23:16]MH_I2C_Read... [14:23:16]Read from MH i2c: 01 [14:23:16]MH_I2C_Read... [14:23:16]Read from MH i2c: 01 07 00 [14:23:16]MH_I2C_Read... [14:23:16]Read from MH i2c: 01 07 00 1A 21 00 00 00 00 00 FF 0F 50 [14:23:16]RasterBufferAndPrint [14:23:16]line Счет N : (3)76676 [14:23:16]line ИÐÐ: 02508201610067 [14:23:16]line Контрольно-КаÑÑовый Чек [14:23:16]line ПРОДÐЖР[14:23:16]line Товар: 4870202521254 [14:23:16]line Чай холодный MAXI черный Ñо вкуÑом клубн [14:23:16]line 1.000 * 104.00 [14:23:16]line = 104.00 [14:23:16]line ÐДС 12% ÐСП 1% [14:23:16]line > о реализуемом товаре [14:23:16]line ИТОГО: 104.00 [14:23:16]line ÐСП 1% : 0.92 [14:23:16]line ÐДС 12% : 11.04 [14:23:16]line Ðаличными: 104.00 [14:23:16]line Безнал.: 0.00 [14:23:16]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [14:23:16]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [14:23:16]line СÐО: Общий режим [14:23:16]line Чек 45 20.10.2024 14:23 [14:23:16]line Смена: 461 ФФД: 1.0 [14:23:16]line ЗÐМ: 0300000235 [14:23:16]line РÐМ: 0000000000098149 [14:23:16]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [14:23:16]line ФМ: 0000000000965372 [14:23:16]line ФД: 37197 [14:23:16]line ФПД: 54347889868108 [14:23:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T142322&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37197&fm=54347889868108&tin=02508201610067®Number=0000000000098149&sum=10400 [14:23:16]line 0 [14:23:16]OFD Sender: Processing packet 37197 [packets to send 25, broken 24] [14:23:16]ProducePacketName [14:23:16]name=ofd_packets/00037197 [14:23:16]OFD Sender: To server: ‡•öpG, [14:23:16]CommunicateWithHost lk.salyk.kg:30040 [14:23:16]ConnectInit lk.salyk.kg [14:23:16]written 0, free lines is 4095 [14:23:16]Connected sock=11 [14:23: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 33 37 32 4C 01 00 00 F3 B5 44 01 42 BA 5A 03 01 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 28 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 04 00 00 00 00 07 04 06 00 A0 28 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 5A 12 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 4D 91 00 00 35 04 06 00 31 6D DA AB 7D 4C F6 22 FA BB A3 74 CB DF [14:23:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 DB FF 47 00 97 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 33 37 32 10 04 04 00 4D 91 00 00 F4 03 04 00 EC BA 14 67 B6 04 01 00 00 C7 9D 73 3D 1A F4 D2 73 [14:23:17]CommunicateWithHost err = 0 [14:23:17]CheckOFDResponse [14:23:17]1017 (14) - 77093643461234 [14:23:17]1041 (16) - 0000000000965372 [14:23:17]1040 (4) - 37197 [14:23:17]1012 (4) - 20.10.2024 08:10 [14:23:17]1206 (1) - 0 [14:23:17]OFD Sender: Remove packet 37197 [14:23:17]ProducePacketName [14:23:17]name=ofd_packets/00037197 [14:23:17]NVStorageDeleteData [14:23:17]Write to MH i2c: 01 00 00 43 21 64 [14:23:17]Write i2c OK [14:23:17]MH_I2C_Read... [14:23:17]Read from MH i2c: 01 [14:23:17]MH_I2C_Read... [14:23:17]Read from MH i2c: 01 07 00 [14:23:17]MH_I2C_Read... [14:23:17]Read from MH i2c: 01 07 00 43 21 00 00 00 00 00 F3 0C 6A [14:23:17]RasterBufferAndPrint [14:23:17]line [14:23:17]line [14:23:17]line [14:23:17]line [14:23:17]line [14:23:17]written 0, free lines is 3323 [14:23:17]process_action close_receipt done [14:23:17]requested_data is exist [14:23:17]produce_requested_data [14:23:17]requested_item fm.sn is exist - process it [14:23:17]wFMCommunicate request_size=4 [14:23:17]MH_SAM_APDU [14:23:17]CAPDU: 80 11 00 00 [14:23:17]Write to MH i2c: E2 08 00 4A 21 80 11 00 00 00 00 00 00 E5 [14:23:17]Write i2c OK [14:23:17]MH_I2C_Read... [14:23:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:23:17]Read from MH i2c: E2 [14:23:17]MH_I2C_Read... [14:23:17]Read from MH i2c: E2 17 00 [14:23:17]MH_I2C_Read... [14:23:17]Read from MH i2c: E2 17 00 4A 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 38 [14:23:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [14:23:17]wFMCommunicate OK [14:23:17]requested_item fd.num is exist - process it [14:23:17]SAM_PROTO_GetFieldsCounters [14:23:17]wFMCommunicate request_size=4 [14:23:17]MH_SAM_APDU [14:23:17]CAPDU: 80 13 00 00 [14:23:17]Write to MH i2c: E2 08 00 4B 21 80 13 00 00 00 00 00 00 E8 [14:23:17]Write i2c OK [14:23:17]MH_I2C_Read... [14:23:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:23:17]Read from MH i2c: E2 [14:23:17]MH_I2C_Read... [14:23:17]Read from MH i2c: E2 62 00 [14:23:17]MH_I2C_Read... [14:23:17]Read from MH i2c: E2 62 00 4B 21 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 4D 91 00 00 0E 04 04 00 CD 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 42 [14:23:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 4D 91 00 00 0E 04 04 00 CD 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 [14:23:17]wFMCommunicate OK [14:23:17]SAM_PROTO_GetFieldsCounters done [14:23:17]requested_item shift.num is exist - process it [14:23:17]requested_item shift.opened is exist - process it [14:23:17]req_shift_opened [14:23:17]FM_GetShiftState [14:23:17]SAM_PROTO_GetShiftState [14:23:17]wFMCommunicate request_size=4 [14:23:17]MH_SAM_APDU [14:23:17]CAPDU: 80 13 01 00 [14:23:17]Write to MH i2c: E2 08 00 4C 21 80 13 01 00 00 00 00 00 EA [14:23:17]Write i2c OK [14:23:17]MH_I2C_Read... [14:23:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:23:17]Read from MH i2c: E2 [14:23:17]MH_I2C_Read... [14:23:17]Read from MH i2c: E2 0E 00 [14:23:17]MH_I2C_Read... [14:23:17]Read from MH i2c: E2 0E 00 4C 21 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 3F [14:23:17]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [14:23:17]wFMCommunicate OK [14:23:17]SAM_PROTO_GetShiftState done [14:23:17]FM_GetShiftState done [14:23:17]req_shift_opened done [14:23:17]requested_item shift.open_date is exist - process it [14:23:17]req_shift_open_date [14:23:17]req_shift_open_date done [14:23:17]produce_requested_data done [14:23:17]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37197,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [14:23:17]process_action_free close_receipt [14:23:17]json_value_free [14:23:17]json_value_free done [14:23:17]process_json_proto returns [14:23:17]Send response to host [14:23:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37197,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [14:23:17]free response buf [14:23:17]execute_script done [14:23:17]execute_script returns [14:23:17]free content buf [14:23:17]Sock 9.Close socket [14:23:17]Sock 9.Thread stoped [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:18]OFD Sender: No OFD packet to send [14:31:23]OFD Sender: No OFD packet to send [14:31:28]OFD Sender: No OFD packet to send [14:31:33]OFD Sender: No OFD packet to send [14:31:38]OFD Sender: No OFD packet to send [14:31:43]OFD Sender: No OFD packet to send [14:31:48]OFD Sender: No OFD packet to send [14:31:53]OFD Sender: No OFD packet to send [14:31:58]OFD Sender: No OFD packet to send [14:32:03]OFD Sender: No OFD packet to send [14:32:08]OFD Sender: No OFD packet to send [14:32:13]OFD Sender: No OFD packet to send [14:32:18]OFD Sender: No OFD packet to send [14:32:23]OFD Sender: No OFD packet to send [14:32:28]OFD Sender: No OFD packet to send [14:32:33]OFD Sender: No OFD packet to send [14:32:38]OFD Sender: No OFD packet to send [14:32:43]OFD Sender: No OFD packet to send [14:32:48]OFD Sender: No OFD packet to send [14:32:53]OFD Sender: No OFD packet to send [14:32:58]OFD Sender: No OFD packet to send [14:33:03]OFD Sender: No OFD packet to send [14:33:08]OFD Sender: No OFD packet to send [14:33:13]OFD Sender: No OFD packet to send [14:33:18]OFD Sender: No OFD packet to send [14:33:23]OFD Sender: No OFD packet to send [14:33:28]OFD Sender: No OFD packet to send [14:33:33]OFD Sender: No OFD packet to send [14:33:38]OFD Sender: No OFD packet to send [14:33:43]OFD Sender: No OFD packet to send [14:33:48]OFD Sender: No OFD packet to send [14:33:53]OFD Sender: No OFD packet to send [14:33:58]OFD Sender: No OFD packet to send [14:33:58]accept exits with 7 [14:33:58]New connection [14:33:58]New thread 3066555748 created [14:33:58]Thread 3066699108 joined [14:33:58]Waiting for new connection... [14:33:58] Sock 7.Parse request [14:33:58]Sock 7.Check first char [14:33:58]Sock 7.First char is OK [14:33:58]request: POST /json_proto HTTP/1.0 [14:33:58]Method: POST [14:33:58]URL: /json_proto [14:33:58]Method is POST - this is cgi request [14:33:58]url: /json_proto [14:33:58]query_string will be loaded in cgi processing [14:33:58]execute_cgi json_proto POST (null) [14:33:58]execute_cgi path=json_proto method=POST [14:33:58]POST find Content-Length [14:33:58]Host: 172.17.53.68:8080 [14:33:58]Content-Length: 569 [14:33:58]Content-Type: application/json [14:33:58] [14:33:58]POST finish read [14:33:58]Found Content-Length = 569 [14:33:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76677", "tax_sys" : 0, "items" : [ { "code": "48744546", "name": "LD Compact Silver", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:33:58]execute_script... [14:33:58]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76677", "tax_sys" : 0, "items" : [ { "code": "48744546", "name": "LD Compact Silver", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:33:58]POST & json_proto [14:33:58]process_json_proto [14:33:58]json parsed OK: [14:33:58]protocol is kg_v1.0 [14:33:58]action value=close_receipt [14:33:58]process_action close_receipt [14:33:58]cmd_close_receipt [14:33:58]MH_GetDate [14:33:58]Write to MH i2c: F0 00 00 4D 21 5D [14:33:58]Write i2c OK [14:33:58]MH_I2C_Read... [14:33:58]Read from MH i2c: F0 [14:33:58]MH_I2C_Read... [14:33:58]Read from MH i2c: F0 09 00 [14:33:58]MH_I2C_Read... [14:33:58]Read from MH i2c: F0 09 00 4D 21 00 DE 14 15 67 C5 A4 76 66 19 [14:33:58]GetLastDocTimeStamp 1729434202 [14:33:58]current date 1729434846 [14:33:58]FM_GetShiftState [14:33:58]SAM_PROTO_GetShiftState [14:33:58]wFMCommunicate request_size=4 [14:33:58]MH_SAM_APDU [14:33:58]CAPDU: 80 13 01 00 [14:33:58]Write to MH i2c: E2 08 00 4E 21 80 13 01 00 00 00 00 00 EC [14:33:58]Write i2c OK [14:33:58]MH_I2C_Read... [14:33:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:33:58]Read from MH i2c: E2 [14:33:58]MH_I2C_Read... [14:33:58]Read from MH i2c: E2 0E 00 [14:33:58]MH_I2C_Read... [14:33:58]Read from MH i2c: E2 0E 00 4E 21 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 41 [14:33:58]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [14:33:58]wFMCommunicate OK [14:33:58]SAM_PROTO_GetShiftState done [14:33:58]FM_GetShiftState done [14:33:58]opened in 1729383299 [14:33:58]opened+sec_in_day 1729469699 [14:33:58]quantity*price = 13400 [14:33:58]sum+1 = 13401 [14:33:58]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 134.00 ÐСП 1% : 1.19 ÐДС 12% : 14.23 Ðаличными: 134.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 46 20.10.2024 14:34 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37198 ФПД: 51364146375178 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T143406&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37198&fm=51364146375178&tin=02508201610067®Number=0000000000098149&sum=13400 0 [14:33:59]StoreToDocumentArchive [14:33:59]shift 461 fd 37198 [14:33:59]save to /storage/0461/doc_00037198 [14:33:59]save last doc name /storage/0461/doc_00037198 to /storage/kkm_last_doc_name [14:33:59]save OK [14:33:59]Clear old archive folders... [14:33:59]ProcessDocumentItem done err = 0, tmpTLVsize=254 [14:33:59]tlvbuf is 00A0AC40 [14:33:59]SAM_PROTO_ClearQueue [14:33:59]wFMCommunicate request_size=4 [14:33:59]MH_SAM_APDU [14:33:59]CAPDU: 80 09 00 00 [14:33:59]Write to MH i2c: E2 08 00 5B 21 80 09 00 00 00 00 00 00 EE [14:33:59]Write i2c OK [14:33:59]MH_I2C_Read... [14:33:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:33:59]Read from MH i2c: E2 [14:33:59]MH_I2C_Read... [14:33:59]Read from MH i2c: E2 03 00 [14:33:59]MH_I2C_Read... [14:33:59]Read from MH i2c: E2 03 00 5B 21 00 90 00 F0 [14:33:59]RAPDU: 90 00 [14:33:59]wFMCommunicate OK [14:33:59]SAM_PROTO_ClearQueue done [14:33:59]KKMCreateOFDPacket [14:33:59]OFDProtocolAddRootSTLVToBuf [14:33:59]FM_MakeSignedData [14:33:59]FM_MakeSignedData [14:33:59]SAM_PROTO_SignData [14:33:59]wFMCommunicate request_size=4 [14:33:59]MH_SAM_APDU [14:33:59]CAPDU: 80 0D 01 02 [14:33:59]Write to MH i2c: E2 08 00 5C 21 80 0D 01 02 00 00 00 00 F6 [14:33:59]Write i2c OK [14:33:59]MH_I2C_Read... [14:33:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:33:59]Read from MH i2c: E2 [14:33:59]MH_I2C_Read... [14:33:59]Read from MH i2c: E2 03 00 [14:33:59]MH_I2C_Read... [14:33:59]Read from MH i2c: E2 03 00 5C 21 00 90 00 F1 [14:33:59]RAPDU: 90 00 [14:33:59]wFMCommunicate OK [14:33:59]wFMCommunicate request_size=255 [14:33:59]MH_SAM_APDU [14:33:59]CAPDU: 80 0D 02 02 FA 03 00 FE 00 1E 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 35 34 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 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 8F 05 00 00 00 00 07 04 06 00 58 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 2E 00 00 00 F4 03 04 00 DE 14 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 4E 91 00 00 35 04 [14:33:59]Write to MH i2c: E2 02 01 5D 21 80 0D 02 02 FA 00 03 00 FE 00 1E 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 35 34 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 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 8F 05 00 00 00 00 07 04 06 00 58 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 2E 00 00 00 F4 03 04 00 DE 14 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 4E 91 00 00 35 04 00 00 C0 [14:33:59]Write i2c OK [14:33:59]MH_I2C_Read... [14:34:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:34:00]Read from MH i2c: E2 [14:34:00]MH_I2C_Read... [14:34:00]Read from MH i2c: E2 03 00 [14:34:00]MH_I2C_Read... [14:34:00]Read from MH i2c: E2 03 00 5D 21 00 90 00 F2 [14:34:00]RAPDU: 90 00 [14:34:00]wFMCommunicate OK [14:34:00]wFMCommunicate request_size=13 [14:34:00]MH_SAM_APDU [14:34:00]CAPDU: 80 0D 02 02 08 06 00 2E B7 25 B2 EA 0A [14:34:00]Write to MH i2c: E2 10 00 5E 21 80 0D 02 02 08 00 06 00 2E B7 25 B2 EA 0A 00 00 BF [14:34:00]Write i2c OK [14:34:00]MH_I2C_Read... [14:34:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:34:00]Read from MH i2c: E2 [14:34:00]MH_I2C_Read... [14:34:00]Read from MH i2c: E2 03 00 [14:34:00]MH_I2C_Read... [14:34:00]Read from MH i2c: E2 03 00 5E 21 00 90 00 F3 [14:34:00]RAPDU: 90 00 [14:34:00]wFMCommunicate OK [14:34:00]wFMCommunicate request_size=4 [14:34:00]MH_SAM_APDU [14:34:00]CAPDU: 80 0D 03 02 [14:34:00]Write to MH i2c: E2 08 00 5F 21 80 0D 03 02 00 00 00 00 FB [14:34:00]Write i2c OK [14:34:00]MH_I2C_Read... [14:34:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:34:00]Read from MH i2c: E2 [14:34:00]MH_I2C_Read... [14:34:00]Read from MH i2c: E2 0B 00 [14:34:00]MH_I2C_Read... [14:34:00]Read from MH i2c: E2 0B 00 5F 21 00 A4 74 8B 13 C7 67 D4 99 90 00 4D [14:34:00]RAPDU: A4 74 8B 13 C7 67 D4 99 90 00 [14:34:00]wFMCommunicate OK [14:34:00]SAM_PROTO_SignData done [14:34:00]FM_MakeSignedData done [14:34:00]CreateOFDProtocolMessage [14:34:00]wFMCommunicate request_size=4 [14:34:00]MH_SAM_APDU [14:34:00]CAPDU: 80 11 00 00 [14:34:00]Write to MH i2c: E2 08 00 60 21 80 11 00 00 00 00 00 00 FB [14:34:00]Write i2c OK [14:34:00]MH_I2C_Read... [14:34:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:34:00]Read from MH i2c: E2 [14:34:00]MH_I2C_Read... [14:34:00]Read from MH i2c: E2 17 00 [14:34:00]MH_I2C_Read... [14:34:00]Read from MH i2c: E2 17 00 60 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 4E [14:34:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [14:34:00]wFMCommunicate OK [14:34:00]CreateOFDProtocolMessage done [14:34:00]OFDSenderStorePacket 37198 [14:34:00]StoreOFDPacket docnum=37198 [14:34:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 12 01 00 00 D5 9E 0A 01 AE 57 5A 03 01 00 03 00 FE 00 1E 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 35 34 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 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 8F 05 00 00 00 00 07 04 06 00 58 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 2E 00 00 00 F4 03 04 00 DE 14 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 4E 91 00 00 35 04 06 00 2E B7 25 B2 EA 0A A4 74 8B 13 C7 67 D4 99 [14:34:00]CheckFolder [14:34:00]dirname=/storage/ofd_packets [14:34:00]CheckFolder done [14:34:00]ProducePacketName [14:34:00]name=ofd_packets/00037198 [14:34:00]NVStorageSaveData ofd_packets/00037198 [14:34:00]File name is /storage/ofd_packets/00037198 [14:34:00]Write 304 bytes [14:34:00]NVStorageSaveData done [14:34:00]OFDSenderStorePacket done [14:34:00]KKMCreateOFDPacket done [14:34:00]NVStorageSaveData kkm_last_timestamp [14:34:00]File name is /storage/kkm_last_timestamp [14:34:00]Write 4 bytes [14:34:00]NVStorageSaveData done [14:34:00]ExternCall_PrintAddStr [14:34:00]wPrintStart [14:34:00]Write to MH i2c: 01 00 00 61 21 82 [14:34:00]OFD Sender: Processing packet 37198 [packets to send 25, broken 24] [14:34:00]ProducePacketName [14:34:00]name=ofd_packets/00037198 [14:34:00]OFD Sender: To server: ‡•öpG, [14:34:00]CommunicateWithHost lk.salyk.kg:30040 [14:34:00]ConnectInit lk.salyk.kg [14:34:00]Write i2c OK [14:34:00]MH_I2C_Read... [14:34:00]Read from MH i2c: 01 [14:34:00]MH_I2C_Read... [14:34:00]Read from MH i2c: 01 07 00 [14:34:00]MH_I2C_Read... [14:34:00]Read from MH i2c: 01 07 00 61 21 00 00 00 00 00 FF 0F 97 [14:34:00]RasterBufferAndPrint [14:34:00]line Счет N : (3)76677 [14:34:00]line ИÐÐ: 02508201610067 [14:34:00]line Контрольно-КаÑÑовый Чек [14:34:00]line ПРОДÐЖР[14:34:00]line Товар: 48744546 [14:34:00]line LD Compact Silver [14:34:00]line 1.000 * 134.00 [14:34:00]line = 134.00 [14:34:00]line ÐДС 12% ÐСП 1% [14:34:00]line > о реализуемом товаре [14:34:00]line ИТОГО: 134.00 [14:34:00]line ÐСП 1% : 1.19 [14:34:00]line ÐДС 12% : 14.23 [14:34:00]line Ðаличными: 134.00 [14:34:00]line Безнал.: 0.00 [14:34:00]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [14:34:00]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [14:34:00]line СÐО: Общий режим [14:34:00]line Чек 46 20.10.2024 14:34 [14:34:00]line Смена: 461 ФФД: 1.0 [14:34:00]line ЗÐМ: 0300000235 [14:34:00]line РÐМ: 0000000000098149 [14:34:00]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [14:34:00]line ФМ: 0000000000965372 [14:34:00]line ФД: 37198 [14:34:00]line ФПД: 51364146375178 [14:34:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T143406&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37198&fm=51364146375178&tin=02508201610067®Number=0000000000098149&sum=13400 [14:34:00]line 0 [14:34:00]written 0, free lines is 4095 [14:34:00]Connected sock=10 [14:34: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 33 37 32 12 01 00 00 D5 9E 0A 01 AE 57 5A 03 01 00 03 00 FE 00 1E 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 35 34 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 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 8F 05 00 00 00 00 07 04 06 00 58 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 2E 00 00 00 F4 03 04 00 DE 14 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 4E 91 00 00 35 04 06 00 2E B7 25 B2 EA 0A A4 74 8B 13 C7 67 D4 99 [14:34:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 5F 0F 47 00 88 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 33 37 32 10 04 04 00 4E 91 00 00 F4 03 04 00 70 BD 14 67 B6 04 01 00 00 9C F5 9D 68 65 C4 81 4D [14:34:00]CommunicateWithHost err = 0 [14:34:00]CheckOFDResponse [14:34:00]1017 (14) - 77093643461234 [14:34:00]1041 (16) - 0000000000965372 [14:34:00]1040 (4) - 37198 [14:34:00]1012 (4) - 20.10.2024 08:21 [14:34:00]1206 (1) - 0 [14:34:00]OFD Sender: Remove packet 37198 [14:34:00]ProducePacketName [14:34:00]name=ofd_packets/00037198 [14:34:00]NVStorageDeleteData [14:34:00]Write to MH i2c: 01 00 00 89 21 AA [14:34:00]Write i2c OK [14:34:00]MH_I2C_Read... [14:34:00]Read from MH i2c: 01 [14:34:00]MH_I2C_Read... [14:34:00]Read from MH i2c: 01 07 00 [14:34:00]MH_I2C_Read... [14:34:00]Read from MH i2c: 01 07 00 89 21 00 00 00 00 00 06 0D C4 [14:34:00]RasterBufferAndPrint [14:34:00]line [14:34:00]line [14:34:00]line [14:34:00]line [14:34:00]line [14:34:00]written 0, free lines is 3340 [14:34:00]process_action close_receipt done [14:34:00]requested_data is exist [14:34:00]produce_requested_data [14:34:00]requested_item fm.sn is exist - process it [14:34:00]wFMCommunicate request_size=4 [14:34:00]MH_SAM_APDU [14:34:00]CAPDU: 80 11 00 00 [14:34:00]Write to MH i2c: E2 08 00 90 21 80 11 00 00 00 00 00 00 2B [14:34:00]Write i2c OK [14:34:00]MH_I2C_Read... [14:34:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:34:00]Read from MH i2c: E2 [14:34:00]MH_I2C_Read... [14:34:00]Read from MH i2c: E2 17 00 [14:34:00]MH_I2C_Read... [14:34:00]Read from MH i2c: E2 17 00 90 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 7E [14:34:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [14:34:00]wFMCommunicate OK [14:34:00]requested_item fd.num is exist - process it [14:34:00]SAM_PROTO_GetFieldsCounters [14:34:00]wFMCommunicate request_size=4 [14:34:00]MH_SAM_APDU [14:34:00]CAPDU: 80 13 00 00 [14:34:00]Write to MH i2c: E2 08 00 91 21 80 13 00 00 00 00 00 00 2E [14:34:00]Write i2c OK [14:34:00]MH_I2C_Read... [14:34:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:34:00]Read from MH i2c: E2 [14:34:00]MH_I2C_Read... [14:34:00]Read from MH i2c: E2 62 00 [14:34:00]MH_I2C_Read... [14:34:00]Read from MH i2c: E2 62 00 91 21 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 4E 91 00 00 0E 04 04 00 CD 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 8C [14:34: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 4E 91 00 00 0E 04 04 00 CD 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 [14:34:00]wFMCommunicate OK [14:34:00]SAM_PROTO_GetFieldsCounters done [14:34:00]requested_item shift.num is exist - process it [14:34:00]requested_item shift.opened is exist - process it [14:34:00]req_shift_opened [14:34:00]FM_GetShiftState [14:34:00]SAM_PROTO_GetShiftState [14:34:00]wFMCommunicate request_size=4 [14:34:00]MH_SAM_APDU [14:34:00]CAPDU: 80 13 01 00 [14:34:00]Write to MH i2c: E2 08 00 92 21 80 13 01 00 00 00 00 00 30 [14:34:00]Write i2c OK [14:34:00]MH_I2C_Read... [14:34:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:34:00]Read from MH i2c: E2 [14:34:00]MH_I2C_Read... [14:34:00]Read from MH i2c: E2 0E 00 [14:34:00]MH_I2C_Read... [14:34:00]Read from MH i2c: E2 0E 00 92 21 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 85 [14:34:00]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [14:34:00]wFMCommunicate OK [14:34:00]SAM_PROTO_GetShiftState done [14:34:00]FM_GetShiftState done [14:34:00]req_shift_opened done [14:34:00]requested_item shift.open_date is exist - process it [14:34:00]req_shift_open_date [14:34:00]req_shift_open_date done [14:34:00]produce_requested_data done [14:34:00]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37198,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [14:34:00]process_action_free close_receipt [14:34:00]json_value_free [14:34:00]json_value_free done [14:34:00]process_json_proto returns [14:34:00]Send response to host [14:34:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37198,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [14:34:00]free response buf [14:34:00]execute_script done [14:34:00]execute_script returns [14:34:00]free content buf [14:34:00]Sock 7.Close socket [14:34:00]Sock 7.Thread stoped [14:34:01]OFD Sender: No OFD packet to send [14:34:06]OFD Sender: No OFD packet to send [14:34:11]OFD Sender: No OFD packet to send [14:34:16]OFD Sender: No OFD packet to send [14:34:21]OFD Sender: No OFD packet to send [14:34:26]OFD Sender: No OFD packet to send [14:34:31]OFD Sender: No OFD packet to send [14:34:36]OFD Sender: No OFD packet to send [14:34:41]OFD Sender: No OFD packet to send [14:34:46]OFD Sender: No OFD packet to send [14:34:51]OFD Sender: No OFD packet to send [14:34:56]OFD Sender: No OFD packet to send [14:35:01]OFD Sender: No OFD packet to send [14:35:06]OFD Sender: No OFD packet to send [14:35:11]OFD Sender: No OFD packet to send [14:35:16]OFD Sender: No OFD packet to send [14:35:21]OFD Sender: No OFD packet to send [14:35:26]OFD Sender: No OFD packet to send [14:35:31]OFD Sender: No OFD packet to send [14:35:36]OFD Sender: No OFD packet to send [14:35:41]OFD Sender: No OFD packet to send [14:35:46]OFD Sender: No OFD packet to send [14:35:51]OFD Sender: No OFD packet to send [14:35:56]OFD Sender: No OFD packet to send [14:36:01]OFD Sender: No OFD packet to send [14:36:06]OFD Sender: No OFD packet to send [14:36:11]OFD Sender: No OFD packet to send [14:36:16]OFD Sender: No OFD packet to send [14:36:21]OFD Sender: No OFD packet to send [14:36:26]OFD Sender: No OFD packet to send [14:36:31]OFD Sender: No OFD packet to send [14:36:36]OFD Sender: No OFD packet to send [14:36:41]OFD Sender: No OFD packet to send [14:36:46]OFD Sender: No OFD packet to send [14:36:51]OFD Sender: No OFD packet to send [14:36:56]OFD Sender: No OFD packet to send [14:37:01]OFD Sender: No OFD packet to send [14:37:06]OFD Sender: No OFD packet to send [14:37:11]OFD Sender: No OFD packet to send [14:37:16]OFD Sender: No OFD packet to send [14:37:21]OFD Sender: No OFD packet to send [14:37:26]OFD Sender: No OFD packet to send [14:37:31]OFD Sender: No OFD packet to send [14:37:36]OFD Sender: No OFD packet to send [14:37:41]OFD Sender: No OFD packet to send [14:37:46]OFD Sender: No OFD packet to send [14:37:51]OFD Sender: No OFD packet to send [14:37:56]OFD Sender: No OFD packet to send [14:38:01]OFD Sender: No OFD packet to send [14:38:06]OFD Sender: No OFD packet to send [14:38:11]OFD Sender: No OFD packet to send [14:38:16]OFD Sender: No OFD packet to send [14:38:21]OFD Sender: No OFD packet to send [14:38:26]OFD Sender: No OFD packet to send [14:38:31]OFD Sender: No OFD packet to send [14:38:36]OFD Sender: No OFD packet to send [14:38:41]OFD Sender: No OFD packet to send [14:38:46]OFD Sender: No OFD packet to send [14:38:51]OFD Sender: No OFD packet to send [14:38:56]OFD Sender: No OFD packet to send [14:39:01]OFD Sender: No OFD packet to send [14:39:06]OFD Sender: No OFD packet to send [14:39:11]OFD Sender: No OFD packet to send [14:39:16]OFD Sender: No OFD packet to send [14:39:21]OFD Sender: No OFD packet to send [14:39:26]OFD Sender: No OFD packet to send [14:39:31]OFD Sender: No OFD packet to send [14:39:36]OFD Sender: No OFD packet to send [14:39:41]OFD Sender: No OFD packet to send [14:39:46]OFD Sender: No OFD packet to send [14:39:51]OFD Sender: No OFD packet to send [14:39:56]OFD Sender: No OFD packet to send [14:40:01]OFD Sender: No OFD packet to send [14:40:06]OFD Sender: No OFD packet to send [14:40:11]OFD Sender: No OFD packet to send [14:40:16]OFD Sender: No OFD packet to send [14:40:21]OFD Sender: No OFD packet to send [14:40:26]OFD Sender: No OFD packet to send [14:40:31]OFD Sender: No OFD packet to send [14:40:36]OFD Sender: No OFD packet to send [14:40:41]OFD Sender: No OFD packet to send [14:40:46]OFD Sender: No OFD packet to send [14:40:51]OFD Sender: No OFD packet to send [14:40:56]OFD Sender: No OFD packet to send [14:41:01]OFD Sender: No OFD packet to send [14:41:06]OFD Sender: No OFD packet to send [14:41:11]OFD Sender: No OFD packet to send [14:41:16]OFD Sender: No OFD packet to send [14:41:21]OFD Sender: No OFD packet to send [14:41:26]OFD Sender: No OFD packet to send [14:41:31]OFD Sender: No OFD packet to send [14:41:36]OFD Sender: No OFD packet to send [14:41:41]OFD Sender: No OFD packet to send [14:41:46]OFD Sender: No OFD packet to send [14:41:51]OFD Sender: No OFD packet to send [14:41:56]OFD Sender: No OFD packet to send [14:42:01]OFD Sender: No OFD packet to send [14:42:06]OFD Sender: No OFD packet to send [14:42:11]OFD Sender: No OFD packet to send [14:42:16]OFD Sender: No OFD packet to send [14:42:21]OFD Sender: No OFD packet to send [14:42:26]OFD Sender: No OFD packet to send [14:42:31]OFD Sender: No OFD packet to send [14:42:36]OFD Sender: No OFD packet to send [14:42:41]OFD Sender: No OFD packet to send [14:42:46]OFD Sender: No OFD packet to send [14:42:51]OFD Sender: No OFD packet to send [14:42:56]OFD Sender: No OFD packet to send [14:43:01]OFD Sender: No OFD packet to send [14:43:06]OFD Sender: No OFD packet to send [14:43:11]OFD Sender: No OFD packet to send [14:43:16]OFD Sender: No OFD packet to send [14:43:21]OFD Sender: No OFD packet to send [14:43:26]OFD Sender: No OFD packet to send [14:43:31]OFD Sender: No OFD packet to send [14:43:36]OFD Sender: No OFD packet to send [14:43:41]OFD Sender: No OFD packet to send [14:43:46]OFD Sender: No OFD packet to send [14:43:51]OFD Sender: No OFD packet to send [14:43:56]OFD Sender: No OFD packet to send [14:44:01]OFD Sender: No OFD packet to send [14:44:06]OFD Sender: No OFD packet to send [14:44:11]OFD Sender: No OFD packet to send [14:44:16]OFD Sender: No OFD packet to send [14:44:21]OFD Sender: No OFD packet to send [14:44:26]OFD Sender: No OFD packet to send [14:44:31]OFD Sender: No OFD packet to send [14:44:36]OFD Sender: No OFD packet to send [14:44:41]OFD Sender: No OFD packet to send [14:44:46]OFD Sender: No OFD packet to send [14:44:51]OFD Sender: No OFD packet to send [14:44:56]OFD Sender: No OFD packet to send [14:45:01]OFD Sender: No OFD packet to send [14:45:06]OFD Sender: No OFD packet to send [14:45:11]OFD Sender: No OFD packet to send [14:45:16]OFD Sender: No OFD packet to send [14:45:21]OFD Sender: No OFD packet to send [14:45:26]OFD Sender: No OFD packet to send [14:45:31]OFD Sender: No OFD packet to send [14:45:36]OFD Sender: No OFD packet to send [14:45:41]OFD Sender: No OFD packet to send [14:45:46]OFD Sender: No OFD packet to send [14:45:51]OFD Sender: No OFD packet to send [14:45:56]OFD Sender: No OFD packet to send [14:46:01]OFD Sender: No OFD packet to send [14:46:06]OFD Sender: No OFD packet to send [14:46:11]OFD Sender: No OFD packet to send [14:46:16]OFD Sender: No OFD packet to send [14:46:21]OFD Sender: No OFD packet to send [14:46:26]OFD Sender: No OFD packet to send [14:46:31]OFD Sender: No OFD packet to send [14:46:36]OFD Sender: No OFD packet to send [14:46:41]OFD Sender: No OFD packet to send [14:46:46]OFD Sender: No OFD packet to send [14:46:51]OFD Sender: No OFD packet to send [14:46:56]OFD Sender: No OFD packet to send [14:47:01]OFD Sender: No OFD packet to send [14:47:06]OFD Sender: No OFD packet to send [14:47:11]OFD Sender: No OFD packet to send [14:47:16]OFD Sender: No OFD packet to send [14:47:21]OFD Sender: No OFD packet to send [14:47:26]OFD Sender: No OFD packet to send [14:47:31]OFD Sender: No OFD packet to send [14:47:36]OFD Sender: No OFD packet to send [14:47:41]OFD Sender: No OFD packet to send [14:47:46]OFD Sender: No OFD packet to send [14:47:51]OFD Sender: No OFD packet to send [14:47:56]OFD Sender: No OFD packet to send [14:48:01]OFD Sender: No OFD packet to send [14:48:06]OFD Sender: No OFD packet to send [14:48:11]OFD Sender: No OFD packet to send [14:48:16]OFD Sender: No OFD packet to send [14:48:21]OFD Sender: No OFD packet to send [14:48:26]OFD Sender: No OFD packet to send [14:48:31]OFD Sender: No OFD packet to send [14:48:36]OFD Sender: No OFD packet to send [14:48:41]OFD Sender: No OFD packet to send [14:48:46]OFD Sender: No OFD packet to send [14:48:51]OFD Sender: No OFD packet to send [14:48:56]OFD Sender: No OFD packet to send [14:49:01]OFD Sender: No OFD packet to send [14:49:06]OFD Sender: No OFD packet to send [14:49:11]OFD Sender: No OFD packet to send [14:49:16]OFD Sender: No OFD packet to send [14:49:21]OFD Sender: No OFD packet to send [14:49:26]OFD Sender: No OFD packet to send [14:49:31]OFD Sender: No OFD packet to send [14:49:36]OFD Sender: No OFD packet to send [14:49:41]OFD Sender: No OFD packet to send [14:49:46]OFD Sender: No OFD packet to send [14:49:51]OFD Sender: No OFD packet to send [14:49:56]OFD Sender: No OFD packet to send [14:50:01]OFD Sender: No OFD packet to send [14:50:06]OFD Sender: No OFD packet to send [14:50:11]OFD Sender: No OFD packet to send [14:50:16]OFD Sender: No OFD packet to send [14:50:21]OFD Sender: No OFD packet to send [14:50:26]OFD Sender: No OFD packet to send [14:50:31]OFD Sender: No OFD packet to send [14:50:36]OFD Sender: No OFD packet to send [14:50:41]OFD Sender: No OFD packet to send [14:50:46]OFD Sender: No OFD packet to send [14:50:51]OFD Sender: No OFD packet to send [14:50:56]OFD Sender: No OFD packet to send [14:51:01]OFD Sender: No OFD packet to send [14:51:06]OFD Sender: No OFD packet to send [14:51:11]OFD Sender: No OFD packet to send [14:51:16]OFD Sender: No OFD packet to send [14:51:21]OFD Sender: No OFD packet to send [14:51:26]OFD Sender: No OFD packet to send [14:51:31]OFD Sender: No OFD packet to send [14:51:36]OFD Sender: No OFD packet to send [14:51:41]OFD Sender: No OFD packet to send [14:51:46]OFD Sender: No OFD packet to send [14:51:51]OFD Sender: No OFD packet to send [14:51:56]OFD Sender: No OFD packet to send [14:52:01]OFD Sender: No OFD packet to send [14:52:06]OFD Sender: No OFD packet to send [14:52:11]OFD Sender: No OFD packet to send [14:52:16]OFD Sender: No OFD packet to send [14:52:21]OFD Sender: No OFD packet to send [14:52:26]OFD Sender: No OFD packet to send [14:52:31]OFD Sender: No OFD packet to send [14:52:36]OFD Sender: No OFD packet to send [14:52:41]OFD Sender: No OFD packet to send [14:52:46]OFD Sender: No OFD packet to send [14:52:51]OFD Sender: No OFD packet to send [14:52:56]OFD Sender: No OFD packet to send [14:53:01]OFD Sender: No OFD packet to send [14:53:06]OFD Sender: No OFD packet to send [14:53:11]OFD Sender: No OFD packet to send [14:53:16]OFD Sender: No OFD packet to send [14:53:21]OFD Sender: No OFD packet to send [14:53:26]OFD Sender: No OFD packet to send [14:53:31]OFD Sender: No OFD packet to send [14:53:36]OFD Sender: No OFD packet to send [14:53:41]OFD Sender: No OFD packet to send [14:53:46]OFD Sender: No OFD packet to send [14:53:52]OFD Sender: No OFD packet to send [14:53:57]OFD Sender: No OFD packet to send [14:54:02]OFD Sender: No OFD packet to send [14:54:07]OFD Sender: No OFD packet to send [14:54:12]OFD Sender: No OFD packet to send [14:54:17]OFD Sender: No OFD packet to send [14:54:22]OFD Sender: No OFD packet to send [14:54:27]OFD Sender: No OFD packet to send [14:54:32]OFD Sender: No OFD packet to send [14:54:37]OFD Sender: No OFD packet to send [14:54:42]OFD Sender: No OFD packet to send [14:54:47]OFD Sender: No OFD packet to send [14:54:52]OFD Sender: No OFD packet to send [14:54:57]OFD Sender: No OFD packet to send [14:55:02]OFD Sender: No OFD packet to send [14:55:07]OFD Sender: No OFD packet to send [14:55:12]OFD Sender: No OFD packet to send [14:55:17]OFD Sender: No OFD packet to send [14:55:22]OFD Sender: No OFD packet to send [14:55:27]OFD Sender: No OFD packet to send [14:55:32]OFD Sender: No OFD packet to send [14:55:37]OFD Sender: No OFD packet to send [14:55:42]OFD Sender: No OFD packet to send [14:55:47]OFD Sender: No OFD packet to send [14:55:52]OFD Sender: No OFD packet to send [14:55:57]OFD Sender: No OFD packet to send [14:56:02]OFD Sender: No OFD packet to send [14:56:07]OFD Sender: No OFD packet to send [14:56:12]OFD Sender: No OFD packet to send [14:56:17]OFD Sender: No OFD packet to send [14:56:22]OFD Sender: No OFD packet to send [14:56:27]OFD Sender: No OFD packet to send [14:56:32]OFD Sender: No OFD packet to send [14:56:37]OFD Sender: No OFD packet to send [14:56:42]OFD Sender: No OFD packet to send [14:56:47]OFD Sender: No OFD packet to send [14:56:52]OFD Sender: No OFD packet to send [14:56:57]OFD Sender: No OFD packet to send [14:57:02]OFD Sender: No OFD packet to send [14:57:07]OFD Sender: No OFD packet to send [14:57:12]OFD Sender: No OFD packet to send [14:57:17]OFD Sender: No OFD packet to send [14:57:22]OFD Sender: No OFD packet to send [14:57:27]OFD Sender: No OFD packet to send [14:57:32]OFD Sender: No OFD packet to send [14:57:37]OFD Sender: No OFD packet to send [14:57:42]OFD Sender: No OFD packet to send [14:57:47]OFD Sender: No OFD packet to send [14:57:52]OFD Sender: No OFD packet to send [14:57:57]OFD Sender: No OFD packet to send [14:58:02]OFD Sender: No OFD packet to send [14:58:07]OFD Sender: No OFD packet to send [14:58:12]OFD Sender: No OFD packet to send [14:58:17]OFD Sender: No OFD packet to send [14:58:22]OFD Sender: No OFD packet to send [14:58:27]OFD Sender: No OFD packet to send [14:58:32]OFD Sender: No OFD packet to send [14:58:37]OFD Sender: No OFD packet to send [14:58:42]OFD Sender: No OFD packet to send [14:58:47]OFD Sender: No OFD packet to send [14:58:52]OFD Sender: No OFD packet to send [14:58:57]OFD Sender: No OFD packet to send [14:59:02]OFD Sender: No OFD packet to send [14:59:07]OFD Sender: No OFD packet to send [14:59:12]OFD Sender: No OFD packet to send [14:59:17]OFD Sender: No OFD packet to send [14:59:22]OFD Sender: No OFD packet to send [14:59:27]OFD Sender: No OFD packet to send [14:59:32]OFD Sender: No OFD packet to send [14:59:37]OFD Sender: No OFD packet to send [14:59:42]OFD Sender: No OFD packet to send [14:59:47]OFD Sender: No OFD packet to send [14:59:52]OFD Sender: No OFD packet to send [14:59:57]OFD Sender: No OFD packet to send [15:00:02]OFD Sender: No OFD packet to send [15:00:07]OFD Sender: No OFD packet to send [15:00:12]OFD Sender: No OFD packet to send [15:00:17]OFD Sender: No OFD packet to send [15:00:22]OFD Sender: No OFD packet to send [15:00:27]OFD Sender: No OFD packet to send [15:00:32]OFD Sender: No OFD packet to send [15:00:37]OFD Sender: No OFD packet to send [15:00:42]OFD Sender: No OFD packet to send [15:00:47]OFD Sender: No OFD packet to send [15:00:52]OFD Sender: No OFD packet to send [15:00:57]OFD Sender: No OFD packet to send [15:01:02]OFD Sender: No OFD packet to send [15:01:07]OFD Sender: No OFD packet to send [15:01:12]OFD Sender: No OFD packet to send [15:01:17]OFD Sender: No OFD packet to send [15:01:22]OFD Sender: No OFD packet to send [15:01:27]OFD Sender: No OFD packet to send [15:01:32]OFD Sender: No OFD packet to send [15:01:37]OFD Sender: No OFD packet to send [15:01:42]OFD Sender: No OFD packet to send [15:01:47]OFD Sender: No OFD packet to send [15:01:52]OFD Sender: No OFD packet to send [15:01:57]OFD Sender: No OFD packet to send [15:02:02]OFD Sender: No OFD packet to send [15:02:07]OFD Sender: No OFD packet to send [15:02:12]OFD Sender: No OFD packet to send [15:02:17]OFD Sender: No OFD packet to send [15:02:22]OFD Sender: No OFD packet to send [15:02:27]OFD Sender: No OFD packet to send [15:02:32]OFD Sender: No OFD packet to send [15:02:37]OFD Sender: No OFD packet to send [15:02:42]OFD Sender: No OFD packet to send [15:02:47]OFD Sender: No OFD packet to send [15:02:52]OFD Sender: No OFD packet to send [15:02:57]OFD Sender: No OFD packet to send [15:03:02]OFD Sender: No OFD packet to send [15:03:07]OFD Sender: No OFD packet to send [15:03:12]OFD Sender: No OFD packet to send [15:03:17]OFD Sender: No OFD packet to send [15:03:22]OFD Sender: No OFD packet to send [15:03:27]OFD Sender: No OFD packet to send [15:03:32]OFD Sender: No OFD packet to send [15:03:37]OFD Sender: No OFD packet to send [15:03:42]OFD Sender: No OFD packet to send [15:03:47]OFD Sender: No OFD packet to send [15:03:52]OFD Sender: No OFD packet to send [15:03:57]OFD Sender: No OFD packet to send [15:04:02]OFD Sender: No OFD packet to send [15:04:07]OFD Sender: No OFD packet to send [15:04:12]OFD Sender: No OFD packet to send [15:04:17]OFD Sender: No OFD packet to send [15:04:22]OFD Sender: No OFD packet to send [15:04:27]OFD Sender: No OFD packet to send [15:04:32]OFD Sender: No OFD packet to send [15:04:37]OFD Sender: No OFD packet to send [15:04:42]OFD Sender: No OFD packet to send [15:04:47]OFD Sender: No OFD packet to send [15:04:52]OFD Sender: No OFD packet to send [15:04:57]OFD Sender: No OFD packet to send [15:05:02]OFD Sender: No OFD packet to send [15:05:07]OFD Sender: No OFD packet to send [15:05:12]OFD Sender: No OFD packet to send [15:05:17]OFD Sender: No OFD packet to send [15:05:22]OFD Sender: No OFD packet to send [15:05:27]OFD Sender: No OFD packet to send [15:05:32]OFD Sender: No OFD packet to send [15:05:37]OFD Sender: No OFD packet to send [15:05:42]OFD Sender: No OFD packet to send [15:05:47]OFD Sender: No OFD packet to send [15:05:52]OFD Sender: No OFD packet to send [15:05:57]OFD Sender: No OFD packet to send [15:06:02]OFD Sender: No OFD packet to send [15:06:07]OFD Sender: No OFD packet to send [15:06:12]OFD Sender: No OFD packet to send [15:06:17]OFD Sender: No OFD packet to send [15:06:22]OFD Sender: No OFD packet to send [15:06:27]OFD Sender: No OFD packet to send [15:06:32]OFD Sender: No OFD packet to send [15:06:37]OFD Sender: No OFD packet to send [15:06:42]OFD Sender: No OFD packet to send [15:06:47]OFD Sender: No OFD packet to send [15:06:52]OFD Sender: No OFD packet to send [15:06:57]OFD Sender: No OFD packet to send [15:07:02]OFD Sender: No OFD packet to send [15:07:07]OFD Sender: No OFD packet to send [15:07:12]OFD Sender: No OFD packet to send [15:07:17]OFD Sender: No OFD packet to send [15:07:22]OFD Sender: No OFD packet to send [15:07:27]OFD Sender: No OFD packet to send [15:07:32]OFD Sender: No OFD packet to send [15:07:37]OFD Sender: No OFD packet to send [15:07:42]OFD Sender: No OFD packet to send [15:07:47]OFD Sender: No OFD packet to send [15:07:52]OFD Sender: No OFD packet to send [15:07:57]OFD Sender: No OFD packet to send [15:08:02]OFD Sender: No OFD packet to send [15:08:07]OFD Sender: No OFD packet to send [15:08:12]OFD Sender: No OFD packet to send [15:08:17]OFD Sender: No OFD packet to send [15:08:22]OFD Sender: No OFD packet to send [15:08:27]OFD Sender: No OFD packet to send [15:08:32]OFD Sender: No OFD packet to send [15:08:37]OFD Sender: No OFD packet to send [15:08:42]OFD Sender: No OFD packet to send [15:08:47]OFD Sender: No OFD packet to send [15:08:52]OFD Sender: No OFD packet to send [15:08:57]OFD Sender: No OFD packet to send [15:09:02]OFD Sender: No OFD packet to send [15:09:07]OFD Sender: No OFD packet to send [15:09:12]OFD Sender: No OFD packet to send [15:09:17]OFD Sender: No OFD packet to send [15:09:22]OFD Sender: No OFD packet to send [15:09:27]OFD Sender: No OFD packet to send [15:09:32]OFD Sender: No OFD packet to send [15:09:37]OFD Sender: No OFD packet to send [15:09:42]OFD Sender: No OFD packet to send [15:09:47]OFD Sender: No OFD packet to send [15:09:52]OFD Sender: No OFD packet to send [15:09:57]OFD Sender: No OFD packet to send [15:10:02]OFD Sender: No OFD packet to send [15:10:07]OFD Sender: No OFD packet to send [15:10:12]OFD Sender: No OFD packet to send [15:10:17]OFD Sender: No OFD packet to send [15:10:22]OFD Sender: No OFD packet to send [15:10:27]OFD Sender: No OFD packet to send [15:10:32]OFD Sender: No OFD packet to send [15:10:37]OFD Sender: No OFD packet to send [15:10:42]OFD Sender: No OFD packet to send [15:10:47]OFD Sender: No OFD packet to send [15:10:52]OFD Sender: No OFD packet to send [15:10:57]OFD Sender: No OFD packet to send [15:11:02]OFD Sender: No OFD packet to send [15:11:07]OFD Sender: No OFD packet to send [15:11:12]OFD Sender: No OFD packet to send [15:11:17]OFD Sender: No OFD packet to send [15:11:22]OFD Sender: No OFD packet to send [15:11:27]OFD Sender: No OFD packet to send [15:11:32]OFD Sender: No OFD packet to send [15:11:37]OFD Sender: No OFD packet to send [15:11:42]OFD Sender: No OFD packet to send [15:11:47]OFD Sender: No OFD packet to send [15:11:52]OFD Sender: No OFD packet to send [15:11:57]OFD Sender: No OFD packet to send [15:12:02]OFD Sender: No OFD packet to send [15:12:07]OFD Sender: No OFD packet to send [15:12:12]OFD Sender: No OFD packet to send [15:12:17]OFD Sender: No OFD packet to send [15:12:22]OFD Sender: No OFD packet to send [15:12:27]OFD Sender: No OFD packet to send [15:12:32]OFD Sender: No OFD packet to send [15:12:37]OFD Sender: No OFD packet to send [15:12:42]OFD Sender: No OFD packet to send [15:12:47]OFD Sender: No OFD packet to send [15:12:52]OFD Sender: No OFD packet to send [15:12:57]OFD Sender: No OFD packet to send [15:13:02]OFD Sender: No OFD packet to send [15:13:07]OFD Sender: No OFD packet to send [15:13:12]OFD Sender: No OFD packet to send [15:13:17]OFD Sender: No OFD packet to send [15:13:22]OFD Sender: No OFD packet to send [15:13:27]OFD Sender: No OFD packet to send [15:13:32]OFD Sender: No OFD packet to send [15:13:37]OFD Sender: No OFD packet to send [15:13:42]OFD Sender: No OFD packet to send [15:13:47]OFD Sender: No OFD packet to send [15:13:53]OFD Sender: No OFD packet to send [15:13:58]OFD Sender: No OFD packet to send [15:14:03]OFD Sender: No OFD packet to send [15:14:08]OFD Sender: No OFD packet to send [15:14:13]OFD Sender: No OFD packet to send [15:14:18]OFD Sender: No OFD packet to send [15:14:23]OFD Sender: No OFD packet to send [15:14:28]OFD Sender: No OFD packet to send [15:14:33]OFD Sender: No OFD packet to send [15:14:38]OFD Sender: No OFD packet to send [15:14:43]OFD Sender: No OFD packet to send [15:14:48]OFD Sender: No OFD packet to send [15:14:53]OFD Sender: No OFD packet to send [15:14:58]OFD Sender: No OFD packet to send [15:15:03]OFD Sender: No OFD packet to send [15:15:08]OFD Sender: No OFD packet to send [15:15:13]OFD Sender: No OFD packet to send [15:15:18]OFD Sender: No OFD packet to send [15:15:23]OFD Sender: No OFD packet to send [15:15:28]OFD Sender: No OFD packet to send [15:15:33]OFD Sender: No OFD packet to send [15:15:38]OFD Sender: No OFD packet to send [15:15:43]OFD Sender: No OFD packet to send [15:15:48]OFD Sender: No OFD packet to send [15:15:53]OFD Sender: No OFD packet to send [15:15:58]OFD Sender: No OFD packet to send [15:16:03]OFD Sender: No OFD packet to send [15:16:08]OFD Sender: No OFD packet to send [15:16:13]OFD Sender: No OFD packet to send [15:16:18]OFD Sender: No OFD packet to send [15:16:23]OFD Sender: No OFD packet to send [15:16:28]OFD Sender: No OFD packet to send [15:16:33]OFD Sender: No OFD packet to send [15:16:38]OFD Sender: No OFD packet to send [15:16:43]OFD Sender: No OFD packet to send [15:16:48]OFD Sender: No OFD packet to send [15:16:53]OFD Sender: No OFD packet to send [15:16:58]OFD Sender: No OFD packet to send [15:17:03]OFD Sender: No OFD packet to send [15:17:08]OFD Sender: No OFD packet to send [15:17:13]OFD Sender: No OFD packet to send [15:17:18]OFD Sender: No OFD packet to send [15:17:23]OFD Sender: No OFD packet to send [15:17:28]OFD Sender: No OFD packet to send [15:17:33]OFD Sender: No OFD packet to send [15:17:38]OFD Sender: No OFD packet to send [15:17:43]OFD Sender: No OFD packet to send [15:17:48]OFD Sender: No OFD packet to send [15:17:53]OFD Sender: No OFD packet to send [15:17:58]OFD Sender: No OFD packet to send [15:18:03]OFD Sender: No OFD packet to send [15:18:08]OFD Sender: No OFD packet to send [15:18:13]OFD Sender: No OFD packet to send [15:18:18]OFD Sender: No OFD packet to send [15:18:23]OFD Sender: No OFD packet to send [15:18:28]OFD Sender: No OFD packet to send [15:18:33]OFD Sender: No OFD packet to send [15:18:38]OFD Sender: No OFD packet to send [15:18:43]OFD Sender: No OFD packet to send [15:18:48]OFD Sender: No OFD packet to send [15:18:53]OFD Sender: No OFD packet to send [15:18:58]OFD Sender: No OFD packet to send [15:19:03]OFD Sender: No OFD packet to send [15:19:08]OFD Sender: No OFD packet to send [15:19:13]OFD Sender: No OFD packet to send [15:19:18]OFD Sender: No OFD packet to send [15:19:23]OFD Sender: No OFD packet to send [15:19:28]OFD Sender: No OFD packet to send [15:19:33]OFD Sender: No OFD packet to send [15:19:38]OFD Sender: No OFD packet to send [15:19:43]OFD Sender: No OFD packet to send [15:19:48]OFD Sender: No OFD packet to send [15:19:53]OFD Sender: No OFD packet to send [15:19:58]OFD Sender: No OFD packet to send [15:20:03]OFD Sender: No OFD packet to send [15:20:08]OFD Sender: No OFD packet to send [15:20:13]OFD Sender: No OFD packet to send [15:20:18]OFD Sender: No OFD packet to send [15:20:23]OFD Sender: No OFD packet to send [15:20:28]OFD Sender: No OFD packet to send [15:20:33]OFD Sender: No OFD packet to send [15:20:38]OFD Sender: No OFD packet to send [15:20:43]OFD Sender: No OFD packet to send [15:20:48]OFD Sender: No OFD packet to send [15:20:53]OFD Sender: No OFD packet to send [15:20:58]OFD Sender: No OFD packet to send [15:21:03]OFD Sender: No OFD packet to send [15:21:08]OFD Sender: No OFD packet to send [15:21:13]OFD Sender: No OFD packet to send [15:21:18]OFD Sender: No OFD packet to send [15:21:23]OFD Sender: No OFD packet to send [15:21:28]OFD Sender: No OFD packet to send [15:21:33]OFD Sender: No OFD packet to send [15:21:38]OFD Sender: No OFD packet to send [15:21:43]OFD Sender: No OFD packet to send [15:21:48]OFD Sender: No OFD packet to send [15:21:53]OFD Sender: No OFD packet to send [15:21:58]OFD Sender: No OFD packet to send [15:22:03]OFD Sender: No OFD packet to send [15:22:08]OFD Sender: No OFD packet to send [15:22:13]OFD Sender: No OFD packet to send [15:22:18]OFD Sender: No OFD packet to send [15:22:23]OFD Sender: No OFD packet to send [15:22:28]OFD Sender: No OFD packet to send [15:22:33]OFD Sender: No OFD packet to send [15:22:38]OFD Sender: No OFD packet to send [15:22:43]OFD Sender: No OFD packet to send [15:22:48]OFD Sender: No OFD packet to send [15:22:53]OFD Sender: No OFD packet to send [15:22:58]OFD Sender: No OFD packet to send [15:23:03]OFD Sender: No OFD packet to send [15:23:08]OFD Sender: No OFD packet to send [15:23:13]OFD Sender: No OFD packet to send [15:23:18]OFD Sender: No OFD packet to send [15:23:23]OFD Sender: No OFD packet to send [15:23:28]OFD Sender: No OFD packet to send [15:23:33]OFD Sender: No OFD packet to send [15:23:38]OFD Sender: No OFD packet to send [15:23:43]OFD Sender: No OFD packet to send [15:23:48]OFD Sender: No OFD packet to send [15:23:53]OFD Sender: No OFD packet to send [15:23:58]OFD Sender: No OFD packet to send [15:24:03]OFD Sender: No OFD packet to send [15:24:08]OFD Sender: No OFD packet to send [15:24:13]OFD Sender: No OFD packet to send [15:24:18]OFD Sender: No OFD packet to send [15:24:23]OFD Sender: No OFD packet to send [15:24:28]OFD Sender: No OFD packet to send [15:24:33]OFD Sender: No OFD packet to send [15:24:38]OFD Sender: No OFD packet to send [15:24:43]OFD Sender: No OFD packet to send [15:24:48]OFD Sender: No OFD packet to send [15:24:53]OFD Sender: No OFD packet to send [15:24:58]OFD Sender: No OFD packet to send [15:25:03]OFD Sender: No OFD packet to send [15:25:08]OFD Sender: No OFD packet to send [15:25:13]OFD Sender: No OFD packet to send [15:25:18]OFD Sender: No OFD packet to send [15:25:23]OFD Sender: No OFD packet to send [15:25:28]OFD Sender: No OFD packet to send [15:25:33]OFD Sender: No OFD packet to send [15:25:38]OFD Sender: No OFD packet to send [15:25:43]OFD Sender: No OFD packet to send [15:25:48]OFD Sender: No OFD packet to send [15:25:53]OFD Sender: No OFD packet to send [15:25:58]OFD Sender: No OFD packet to send [15:26:03]OFD Sender: No OFD packet to send [15:26:08]OFD Sender: No OFD packet to send [15:26:13]OFD Sender: No OFD packet to send [15:26:18]OFD Sender: No OFD packet to send [15:26:23]OFD Sender: No OFD packet to send [15:26:28]OFD Sender: No OFD packet to send [15:26:33]OFD Sender: No OFD packet to send [15:26:38]OFD Sender: No OFD packet to send [15:26:43]OFD Sender: No OFD packet to send [15:26:48]OFD Sender: No OFD packet to send [15:26:53]OFD Sender: No OFD packet to send [15:26:58]OFD Sender: No OFD packet to send [15:27:03]OFD Sender: No OFD packet to send [15:27:08]OFD Sender: No OFD packet to send [15:27:13]OFD Sender: No OFD packet to send [15:27:18]OFD Sender: No OFD packet to send [15:27:23]OFD Sender: No OFD packet to send [15:27:28]OFD Sender: No OFD packet to send [15:27:33]OFD Sender: No OFD packet to send [15:27:38]OFD Sender: No OFD packet to send [15:27:43]OFD Sender: No OFD packet to send [15:27:48]OFD Sender: No OFD packet to send [15:27:53]OFD Sender: No OFD packet to send [15:27:58]OFD Sender: No OFD packet to send [15:28:03]OFD Sender: No OFD packet to send [15:28:08]OFD Sender: No OFD packet to send [15:28:13]OFD Sender: No OFD packet to send [15:28:18]OFD Sender: No OFD packet to send [15:28:23]OFD Sender: No OFD packet to send [15:28:28]OFD Sender: No OFD packet to send [15:28:33]OFD Sender: No OFD packet to send [15:28:38]OFD Sender: No OFD packet to send [15:28:43]OFD Sender: No OFD packet to send [15:28:48]OFD Sender: No OFD packet to send [15:28:53]OFD Sender: No OFD packet to send [15:28:58]OFD Sender: No OFD packet to send [15:29:03]OFD Sender: No OFD packet to send [15:29:08]OFD Sender: No OFD packet to send [15:29:13]OFD Sender: No OFD packet to send [15:29:18]OFD Sender: No OFD packet to send [15:29:23]OFD Sender: No OFD packet to send [15:29:28]OFD Sender: No OFD packet to send [15:29:33]OFD Sender: No OFD packet to send [15:29:38]OFD Sender: No OFD packet to send [15:29:43]OFD Sender: No OFD packet to send [15:29:48]OFD Sender: No OFD packet to send [15:29:53]OFD Sender: No OFD packet to send [15:29:58]OFD Sender: No OFD packet to send [15:30:03]OFD Sender: No OFD packet to send [15:30:08]OFD Sender: No OFD packet to send [15:30:13]OFD Sender: No OFD packet to send [15:30:18]OFD Sender: No OFD packet to send [15:30:23]OFD Sender: No OFD packet to send [15:30:28]OFD Sender: No OFD packet to send [15:30:33]OFD Sender: No OFD packet to send [15:30:38]OFD Sender: No OFD packet to send [15:30:43]OFD Sender: No OFD packet to send [15:30:48]OFD Sender: No OFD packet to send [15:30:53]OFD Sender: No OFD packet to send [15:30:58]OFD Sender: No OFD packet to send [15:31:03]OFD Sender: No OFD packet to send [15:31:08]OFD Sender: No OFD packet to send [15:31:13]OFD Sender: No OFD packet to send [15:31:18]OFD Sender: No OFD packet to send [15:31:23]OFD Sender: No OFD packet to send [15:31:28]OFD Sender: No OFD packet to send [15:31:33]OFD Sender: No OFD packet to send [15:31:38]OFD Sender: No OFD packet to send [15:31:43]OFD Sender: No OFD packet to send [15:31:48]OFD Sender: No OFD packet to send [15:31:53]OFD Sender: No OFD packet to send [15:31:58]accept exits with 9 [15:31:58]New connection [15:31:58]New thread 3066699108 created [15:31:58]Thread 3066555748 joined [15:31:58]Waiting for new connection... [15:31:58] Sock 9.Parse request [15:31:58]Sock 9.Check first char [15:31:58]Sock 9.First char is OK [15:31:58]request: POST /json_proto HTTP/1.0 [15:31:58]Method: POST [15:31:58]URL: /json_proto [15:31:58]Method is POST - this is cgi request [15:31:58]url: /json_proto [15:31:58]query_string will be loaded in cgi processing [15:31:58]execute_cgi json_proto POST (null) [15:31:58]execute_cgi path=json_proto method=POST [15:31:58]POST find Content-Length [15:31:58]Host: 172.17.53.68:8080 [15:31:58]Content-Length: 567 [15:31:58]Content-Type: application/json [15:31:58] [15:31:58]POST finish read [15:31:58]Found Content-Length = 567 [15:31:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76678", "tax_sys" : 0, "items" : [ { "code": "48744539", "name": "LD Compact Blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:31:58]execute_script... [15:31:58]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76678", "tax_sys" : 0, "items" : [ { "code": "48744539", "name": "LD Compact Blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:31:58]POST & json_proto [15:31:58]process_json_proto [15:31:58]json parsed OK: [15:31:58]protocol is kg_v1.0 [15:31:58]action value=close_receipt [15:31:58]process_action close_receipt [15:31:58]cmd_close_receipt [15:31:58]MH_GetDate [15:31:58]Write to MH i2c: F0 00 00 93 21 A3 [15:31:58]Write i2c OK [15:31:58]MH_I2C_Read... [15:31:58]Read from MH i2c: F0 [15:31:58]MH_I2C_Read... [15:31:58]Read from MH i2c: F0 09 00 [15:31:58]MH_I2C_Read... [15:31:58]Read from MH i2c: F0 09 00 93 21 00 76 22 15 67 C5 A4 76 66 05 [15:31:58]GetLastDocTimeStamp 1729434846 [15:31:58]current date 1729438326 [15:31:58]FM_GetShiftState [15:31:58]SAM_PROTO_GetShiftState [15:31:58]wFMCommunicate request_size=4 [15:31:58]MH_SAM_APDU [15:31:58]CAPDU: 80 13 01 00 [15:31:58]Write to MH i2c: E2 08 00 94 21 80 13 01 00 00 00 00 00 32 [15:31:58]Write i2c OK [15:31:58]MH_I2C_Read... [15:31:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:31:58]Read from MH i2c: E2 [15:31:58]MH_I2C_Read... [15:31:58]Read from MH i2c: E2 0E 00 [15:31:58]MH_I2C_Read... [15:31:58]Read from MH i2c: E2 0E 00 94 21 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 87 [15:31:58]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [15:31:58]wFMCommunicate OK [15:31:58]SAM_PROTO_GetShiftState done [15:31:58]FM_GetShiftState done [15:31:58]opened in 1729383299 [15:31:58]opened+sec_in_day 1729469699 [15:31:58]quantity*price = 13400 [15:31:58]sum+1 = 13401 [15:31:58]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 134.00 ÐСП 1% : 1.19 ÐДС 12% : 14.23 Ðаличными: 134.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 47 20.10.2024 15:32 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37199 ФПД: 178986159607284 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T153206&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37199&fm=178986159607284&tin=02508201610067®Number=0000000000098149&sum=13400 0 [15:31:59]StoreToDocumentArchive [15:31:59]shift 461 fd 37199 [15:31:59]save to /storage/0461/doc_00037199 [15:31:59]save last doc name /storage/0461/doc_00037199 to /storage/kkm_last_doc_name [15:31:59]save OK [15:31:59]Clear old archive folders... [15:31:59]ProcessDocumentItem done err = 0, tmpTLVsize=252 [15:31:59]tlvbuf is 009BC0C0 [15:31:59]SAM_PROTO_ClearQueue [15:31:59]wFMCommunicate request_size=4 [15:31:59]MH_SAM_APDU [15:31:59]CAPDU: 80 09 00 00 [15:31:59]Write to MH i2c: E2 08 00 A1 21 80 09 00 00 00 00 00 00 34 [15:31:59]Write i2c OK [15:31:59]MH_I2C_Read... [15:31:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:31:59]Read from MH i2c: E2 [15:31:59]MH_I2C_Read... [15:31:59]Read from MH i2c: E2 03 00 [15:31:59]MH_I2C_Read... [15:31:59]Read from MH i2c: E2 03 00 A1 21 00 90 00 36 [15:31:59]RAPDU: 90 00 [15:31:59]wFMCommunicate OK [15:31:59]SAM_PROTO_ClearQueue done [15:31:59]KKMCreateOFDPacket [15:31:59]OFDProtocolAddRootSTLVToBuf [15:31:59]FM_MakeSignedData [15:31:59]FM_MakeSignedData [15:31:59]SAM_PROTO_SignData [15:31:59]wFMCommunicate request_size=4 [15:31:59]MH_SAM_APDU [15:31:59]CAPDU: 80 0D 01 02 [15:31:59]Write to MH i2c: E2 08 00 A2 21 80 0D 01 02 00 00 00 00 3C [15:31:59]Write i2c OK [15:31:59]MH_I2C_Read... [15:31:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:31:59]Read from MH i2c: E2 [15:31:59]MH_I2C_Read... [15:31:59]Read from MH i2c: E2 03 00 [15:31:59]MH_I2C_Read... [15:31:59]Read from MH i2c: E2 03 00 A2 21 00 90 00 37 [15:31:59]RAPDU: 90 00 [15:31:59]wFMCommunicate OK [15:31:59]wFMCommunicate request_size=255 [15:31:59]MH_SAM_APDU [15:31:59]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 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 8F 05 00 00 00 00 07 04 06 00 58 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 2F 00 00 00 F4 03 04 00 76 22 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 4F 91 00 00 35 04 06 00 [15:31:59]Write to MH i2c: E2 02 01 A3 21 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 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 8F 05 00 00 00 00 07 04 06 00 58 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 2F 00 00 00 F4 03 04 00 76 22 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 4F 91 00 00 35 04 06 00 00 00 C3 [15:31:59]Write i2c OK [15:31:59]MH_I2C_Read... [15:31:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:31:59]Read from MH i2c: E2 [15:31:59]MH_I2C_Read... [15:31:59]Read from MH i2c: E2 03 00 [15:31:59]MH_I2C_Read... [15:31:59]Read from MH i2c: E2 03 00 A3 21 00 90 00 38 [15:31:59]RAPDU: 90 00 [15:31:59]wFMCommunicate OK [15:31:59]wFMCommunicate request_size=11 [15:31:59]MH_SAM_APDU [15:31:59]CAPDU: 80 0D 02 02 06 A2 C9 76 76 8D F4 [15:31:59]Write to MH i2c: E2 0E 00 A4 21 80 0D 02 02 06 00 A2 C9 76 76 8D F4 00 00 23 [15:31:59]Write i2c OK [15:31:59]MH_I2C_Read... [15:31:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:31:59]Read from MH i2c: E2 [15:31:59]MH_I2C_Read... [15:31:59]Read from MH i2c: E2 03 00 [15:31:59]MH_I2C_Read... [15:31:59]Read from MH i2c: E2 03 00 A4 21 00 90 00 39 [15:31:59]RAPDU: 90 00 [15:31:59]wFMCommunicate OK [15:31:59]wFMCommunicate request_size=4 [15:31:59]MH_SAM_APDU [15:31:59]CAPDU: 80 0D 03 02 [15:31:59]Write to MH i2c: E2 08 00 A5 21 80 0D 03 02 00 00 00 00 41 [15:31:59]Write i2c OK [15:31:59]MH_I2C_Read... [15:32:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:32:00]Read from MH i2c: E2 [15:32:00]MH_I2C_Read... [15:32:00]Read from MH i2c: E2 0B 00 [15:32:00]MH_I2C_Read... [15:32:00]Read from MH i2c: E2 0B 00 A5 21 00 DD DF 71 D2 C6 56 99 EC 90 00 E2 [15:32:00]RAPDU: DD DF 71 D2 C6 56 99 EC 90 00 [15:32:00]wFMCommunicate OK [15:32:00]SAM_PROTO_SignData done [15:32:00]FM_MakeSignedData done [15:32:00]CreateOFDProtocolMessage [15:32:00]wFMCommunicate request_size=4 [15:32:00]MH_SAM_APDU [15:32:00]CAPDU: 80 11 00 00 [15:32:00]Write to MH i2c: E2 08 00 A6 21 80 11 00 00 00 00 00 00 41 [15:32:00]Write i2c OK [15:32:00]MH_I2C_Read... [15:32:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:32:00]Read from MH i2c: E2 [15:32:00]MH_I2C_Read... [15:32:00]Read from MH i2c: E2 17 00 [15:32:00]MH_I2C_Read... [15:32:00]Read from MH i2c: E2 17 00 A6 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 94 [15:32:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [15:32:00]wFMCommunicate OK [15:32:00]CreateOFDProtocolMessage done [15:32:00]OFDSenderStorePacket 37199 [15:32:00]StoreOFDPacket docnum=37199 [15:32:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 01 00 00 D5 F3 08 01 B8 3F 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 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 8F 05 00 00 00 00 07 04 06 00 58 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 2F 00 00 00 F4 03 04 00 76 22 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 4F 91 00 00 35 04 06 00 A2 C9 76 76 8D F4 DD DF 71 D2 C6 56 99 EC [15:32:00]CheckFolder [15:32:00]dirname=/storage/ofd_packets [15:32:00]CheckFolder done [15:32:00]ProducePacketName [15:32:00]name=ofd_packets/00037199 [15:32:00]NVStorageSaveData ofd_packets/00037199 [15:32:00]File name is /storage/ofd_packets/00037199 [15:32:00]Write 302 bytes [15:32:00]NVStorageSaveData done [15:32:00]OFDSenderStorePacket done [15:32:00]KKMCreateOFDPacket done [15:32:00]NVStorageSaveData kkm_last_timestamp [15:32:00]File name is /storage/kkm_last_timestamp [15:32:00]Write 4 bytes [15:32:00]NVStorageSaveData done [15:32:00]ExternCall_PrintAddStr [15:32:00]wPrintStart [15:32:00]Write to MH i2c: 01 00 00 A7 21 C8 [15:32:00]OFD Sender: Processing packet 37199 [packets to send 25, broken 24] [15:32:00]ProducePacketName [15:32:00]name=ofd_packets/00037199 [15:32:00]OFD Sender: To server: ‡•öpG, [15:32:00]CommunicateWithHost lk.salyk.kg:30040 [15:32:00]ConnectInit lk.salyk.kg [15:32:00]Write i2c OK [15:32:00]MH_I2C_Read... [15:32:00]Read from MH i2c: 01 [15:32:00]MH_I2C_Read... [15:32:00]Read from MH i2c: 01 07 00 [15:32:00]MH_I2C_Read... [15:32:00]Read from MH i2c: 01 07 00 A7 21 00 00 00 00 00 FF 0F DD [15:32:00]RasterBufferAndPrint [15:32:00]line Счет N : (3)76678 [15:32:00]line ИÐÐ: 02508201610067 [15:32:00]line Контрольно-КаÑÑовый Чек [15:32:00]line ПРОДÐЖР[15:32:00]line Товар: 48744539 [15:32:00]line LD Compact Blue [15:32:00]line 1.000 * 134.00 [15:32:00]line = 134.00 [15:32:00]line ÐДС 12% ÐСП 1% [15:32:00]line > о реализуемом товаре [15:32:00]line ИТОГО: 134.00 [15:32:00]line ÐСП 1% : 1.19 [15:32:00]line ÐДС 12% : 14.23 [15:32:00]line Ðаличными: 134.00 [15:32:00]line Безнал.: 0.00 [15:32:00]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [15:32:00]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [15:32:00]line СÐО: Общий режим [15:32:00]line Чек 47 20.10.2024 15:32 [15:32:00]line Смена: 461 ФФД: 1.0 [15:32:00]line ЗÐМ: 0300000235 [15:32:00]line РÐМ: 0000000000098149 [15:32:00]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [15:32:00]line ФМ: 0000000000965372 [15:32:00]line ФД: 37199 [15:32:00]line ФПД: 178986159607284 [15:32:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T153206&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37199&fm=178986159607284&tin=02508201610067®Number=0000000000098149&sum=13400 [15:32:00]line 0 [15:32:00]Connected sock=10 [15:32: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 33 37 32 10 01 00 00 D5 F3 08 01 B8 3F 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 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 8F 05 00 00 00 00 07 04 06 00 58 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 2F 00 00 00 F4 03 04 00 76 22 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 4F 91 00 00 35 04 06 00 A2 C9 76 76 8D F4 DD DF 71 D2 C6 56 99 EC [15:32:00]written 0, free lines is 4095 [15:32:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 B4 05 47 00 30 B9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 4F 91 00 00 F4 03 04 00 08 CB 14 67 B6 04 01 00 00 DF A8 B0 F5 41 BE 26 8B [15:32:00]CommunicateWithHost err = 0 [15:32:00]CheckOFDResponse [15:32:00]1017 (14) - 77093643461234 [15:32:00]1041 (16) - 0000000000965372 [15:32:00]1040 (4) - 37199 [15:32:00]1012 (4) - 20.10.2024 09:19 [15:32:00]1206 (1) - 0 [15:32:00]OFD Sender: Remove packet 37199 [15:32:00]ProducePacketName [15:32:00]name=ofd_packets/00037199 [15:32:00]NVStorageDeleteData [15:32:00]Write to MH i2c: 01 00 00 CF 21 F0 [15:32:00]Write i2c OK [15:32:00]MH_I2C_Read... [15:32:00]Read from MH i2c: 01 [15:32:00]MH_I2C_Read... [15:32:00]Read from MH i2c: 01 07 00 [15:32:00]MH_I2C_Read... [15:32:00]Read from MH i2c: 01 07 00 CF 21 00 00 00 00 00 03 0D 07 [15:32:00]RasterBufferAndPrint [15:32:00]line [15:32:00]line [15:32:00]line [15:32:00]line [15:32:00]line [15:32:00]written 0, free lines is 3337 [15:32:00]process_action close_receipt done [15:32:00]requested_data is exist [15:32:00]produce_requested_data [15:32:00]requested_item fm.sn is exist - process it [15:32:00]wFMCommunicate request_size=4 [15:32:00]MH_SAM_APDU [15:32:00]CAPDU: 80 11 00 00 [15:32:00]Write to MH i2c: E2 08 00 D6 21 80 11 00 00 00 00 00 00 71 [15:32:00]Write i2c OK [15:32:00]MH_I2C_Read... [15:32:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:32:00]Read from MH i2c: E2 [15:32:00]MH_I2C_Read... [15:32:00]Read from MH i2c: E2 17 00 [15:32:00]MH_I2C_Read... [15:32:00]Read from MH i2c: E2 17 00 D6 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 C4 [15:32:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [15:32:00]wFMCommunicate OK [15:32:00]requested_item fd.num is exist - process it [15:32:00]SAM_PROTO_GetFieldsCounters [15:32:00]wFMCommunicate request_size=4 [15:32:00]MH_SAM_APDU [15:32:00]CAPDU: 80 13 00 00 [15:32:00]Write to MH i2c: E2 08 00 D7 21 80 13 00 00 00 00 00 00 74 [15:32:00]Write i2c OK [15:32:00]MH_I2C_Read... [15:32:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:32:01]Read from MH i2c: E2 [15:32:01]MH_I2C_Read... [15:32:01]Read from MH i2c: E2 62 00 [15:32:01]MH_I2C_Read... [15:32:01]Read from MH i2c: E2 62 00 D7 21 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 4F 91 00 00 0E 04 04 00 CD 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 D6 [15:32:01]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 4F 91 00 00 0E 04 04 00 CD 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 [15:32:01]wFMCommunicate OK [15:32:01]SAM_PROTO_GetFieldsCounters done [15:32:01]requested_item shift.num is exist - process it [15:32:01]requested_item shift.opened is exist - process it [15:32:01]req_shift_opened [15:32:01]FM_GetShiftState [15:32:01]SAM_PROTO_GetShiftState [15:32:01]wFMCommunicate request_size=4 [15:32:01]MH_SAM_APDU [15:32:01]CAPDU: 80 13 01 00 [15:32:01]Write to MH i2c: E2 08 00 D8 21 80 13 01 00 00 00 00 00 76 [15:32:01]Write i2c OK [15:32:01]MH_I2C_Read... [15:32:01]OFD Sender: No OFD packet to send [15:32:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:32:01]Read from MH i2c: E2 [15:32:01]MH_I2C_Read... [15:32:01]Read from MH i2c: E2 0E 00 [15:32:01]MH_I2C_Read... [15:32:01]Read from MH i2c: E2 0E 00 D8 21 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 CB [15:32:01]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [15:32:01]wFMCommunicate OK [15:32:01]SAM_PROTO_GetShiftState done [15:32:01]FM_GetShiftState done [15:32:01]req_shift_opened done [15:32:01]requested_item shift.open_date is exist - process it [15:32:01]req_shift_open_date [15:32:01]req_shift_open_date done [15:32:01]produce_requested_data done [15:32:01]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37199,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [15:32:01]process_action_free close_receipt [15:32:01]json_value_free [15:32:01]json_value_free done [15:32:01]process_json_proto returns [15:32:01]Send response to host [15:32:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37199,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [15:32:01]free response buf [15:32:01]execute_script done [15:32:01]execute_script returns [15:32:01]free content buf [15:32:01]Sock 9.Close socket [15:32:01]Sock 9.Thread stoped [15:32:06]OFD Sender: No OFD packet to send [15:32:11]OFD Sender: No OFD packet to send [15:32:16]OFD Sender: No OFD packet to send [15:32:21]OFD Sender: No OFD packet to send [15:32:26]OFD Sender: No OFD packet to send [15:32:31]OFD Sender: No OFD packet to send [15:32:36]OFD Sender: No OFD packet to send [15:32:41]OFD Sender: No OFD packet to send [15:32:46]OFD Sender: No OFD packet to send [15:32:51]OFD Sender: No OFD packet to send [15:32:56]OFD Sender: No OFD packet to send [15:33:01]OFD Sender: No OFD packet to send [15:33:06]OFD Sender: No OFD packet to send [15:33:11]OFD Sender: No OFD packet to send [15:33:16]OFD Sender: No OFD packet to send [15:33:21]OFD Sender: No OFD packet to send [15:33:26]OFD Sender: No OFD packet to send [15:33:31]OFD Sender: No OFD packet to send [15:33:36]OFD Sender: No OFD packet to send [15:33:41]OFD Sender: No OFD packet to send [15:33:46]OFD Sender: No OFD packet to send [15:33:51]OFD Sender: No OFD packet to send [15:33:56]OFD Sender: No OFD packet to send [15:34:01]OFD Sender: No OFD packet to send [15:34:06]OFD Sender: No OFD packet to send [15:34:11]OFD Sender: No OFD packet to send [15:34:16]OFD Sender: No OFD packet to send [15:34:21]OFD Sender: No OFD packet to send [15:34:26]OFD Sender: No OFD packet to send [15:34:31]OFD Sender: No OFD packet to send [15:34:36]OFD Sender: No OFD packet to send [15:34:41]OFD Sender: No OFD packet to send [15:34:46]OFD Sender: No OFD packet to send [15:34:51]OFD Sender: No OFD packet to send [15:34:56]OFD Sender: No OFD packet to send [15:35:01]OFD Sender: No OFD packet to send [15:35:06]OFD Sender: No OFD packet to send [15:35:11]OFD Sender: No OFD packet to send [15:35:16]OFD Sender: No OFD packet to send [15:35:21]OFD Sender: No OFD packet to send [15:35:26]OFD Sender: No OFD packet to send [15:35:31]OFD Sender: No OFD packet to send [15:35:36]OFD Sender: No OFD packet to send [15:35:41]OFD Sender: No OFD packet to send [15:35:46]OFD Sender: No OFD packet to send [15:35:51]OFD Sender: No OFD packet to send [15:35:56]OFD Sender: No OFD packet to send [15:36:01]OFD Sender: No OFD packet to send [15:36:06]OFD Sender: No OFD packet to send [15:36:11]OFD Sender: No OFD packet to send [15:36:16]OFD Sender: No OFD packet to send [15:36:21]OFD Sender: No OFD packet to send [15:36:26]OFD Sender: No OFD packet to send [15:36:31]OFD Sender: No OFD packet to send [15:36:36]OFD Sender: No OFD packet to send [15:36:41]OFD Sender: No OFD packet to send [15:36:46]OFD Sender: No OFD packet to send [15:36:51]OFD Sender: No OFD packet to send [15:36:56]OFD Sender: No OFD packet to send [15:37:01]OFD Sender: No OFD packet to send [15:37:06]OFD Sender: No OFD packet to send [15:37:11]OFD Sender: No OFD packet to send [15:37:16]OFD Sender: No OFD packet to send [15:37:21]OFD Sender: No OFD packet to send [15:37:26]OFD Sender: No OFD packet to send [15:37:31]OFD Sender: No OFD packet to send [15:37:36]OFD Sender: No OFD packet to send [15:37:41]OFD Sender: No OFD packet to send [15:37:46]OFD Sender: No OFD packet to send [15:37:51]OFD Sender: No OFD packet to send [15:37:56]OFD Sender: No OFD packet to send [15:38:01]OFD Sender: No OFD packet to send [15:38:06]OFD Sender: No OFD packet to send [15:38:11]OFD Sender: No OFD packet to send [15:38:16]OFD Sender: No OFD packet to send [15:38:21]OFD Sender: No OFD packet to send [15:38:26]OFD Sender: No OFD packet to send [15:38:31]OFD Sender: No OFD packet to send [15:38:36]OFD Sender: No OFD packet to send [15:38:41]OFD Sender: No OFD packet to send [15:38:46]OFD Sender: No OFD packet to send [15:38:51]OFD Sender: No OFD packet to send [15:38:56]OFD Sender: No OFD packet to send [15:39:01]OFD Sender: No OFD packet to send [15:39:06]OFD Sender: No OFD packet to send [15:39:11]OFD Sender: No OFD packet to send [15:39:16]OFD Sender: No OFD packet to send [15:39:21]OFD Sender: No OFD packet to send [15:39:26]OFD Sender: No OFD packet to send [15:39:31]OFD Sender: No OFD packet to send [15:39:36]OFD Sender: No OFD packet to send [15:39:41]OFD Sender: No OFD packet to send [15:39:46]OFD Sender: No OFD packet to send [15:39:51]OFD Sender: No OFD packet to send [15:39:56]OFD Sender: No OFD packet to send [15:40:01]OFD Sender: No OFD packet to send [15:40:06]OFD Sender: No OFD packet to send [15:40:11]OFD Sender: No OFD packet to send [15:40:16]OFD Sender: No OFD packet to send [15:40:21]OFD Sender: No OFD packet to send [15:40:26]OFD Sender: No OFD packet to send [15:40:31]OFD Sender: No OFD packet to send [15:40:36]OFD Sender: No OFD packet to send [15:40:41]OFD Sender: No OFD packet to send [15:40:46]OFD Sender: No OFD packet to send [15:40:51]OFD Sender: No OFD packet to send [15:40:56]OFD Sender: No OFD packet to send [15:41:01]OFD Sender: No OFD packet to send [15:41:06]OFD Sender: No OFD packet to send [15:41:11]OFD Sender: No OFD packet to send [15:41:16]OFD Sender: No OFD packet to send [15:41:21]OFD Sender: No OFD packet to send [15:41:26]OFD Sender: No OFD packet to send [15:41:31]OFD Sender: No OFD packet to send [15:41:36]OFD Sender: No OFD packet to send [15:41:41]OFD Sender: No OFD packet to send [15:41:46]OFD Sender: No OFD packet to send [15:41:51]OFD Sender: No OFD packet to send [15:41:56]OFD Sender: No OFD packet to send [15:42:01]OFD Sender: No OFD packet to send [15:42:06]OFD Sender: No OFD packet to send [15:42:11]OFD Sender: No OFD packet to send [15:42:16]OFD Sender: No OFD packet to send [15:42:21]OFD Sender: No OFD packet to send [15:42:26]OFD Sender: No OFD packet to send [15:42:31]OFD Sender: No OFD packet to send [15:42:36]OFD Sender: No OFD packet to send [15:42:41]OFD Sender: No OFD packet to send [15:42:46]OFD Sender: No OFD packet to send [15:42:51]OFD Sender: No OFD packet to send [15:42:56]OFD Sender: No OFD packet to send [15:43:01]OFD Sender: No OFD packet to send [15:43:06]OFD Sender: No OFD packet to send [15:43:11]OFD Sender: No OFD packet to send [15:43:16]OFD Sender: No OFD packet to send [15:43:21]OFD Sender: No OFD packet to send [15:43:26]OFD Sender: No OFD packet to send [15:43:31]OFD Sender: No OFD packet to send [15:43:36]OFD Sender: No OFD packet to send [15:43:41]OFD Sender: No OFD packet to send [15:43:46]OFD Sender: No OFD packet to send [15:43:51]OFD Sender: No OFD packet to send [15:43:56]OFD Sender: No OFD packet to send [15:44:01]OFD Sender: No OFD packet to send [15:44:06]OFD Sender: No OFD packet to send [15:44:11]OFD Sender: No OFD packet to send [15:44:16]OFD Sender: No OFD packet to send [15:44:21]OFD Sender: No OFD packet to send [15:44:26]OFD Sender: No OFD packet to send [15:44:31]OFD Sender: No OFD packet to send [15:44:36]OFD Sender: No OFD packet to send [15:44:41]OFD Sender: No OFD packet to send [15:44:46]OFD Sender: No OFD packet to send [15:44:51]OFD Sender: No OFD packet to send [15:44:56]OFD Sender: No OFD packet to send [15:45:01]OFD Sender: No OFD packet to send [15:45:06]OFD Sender: No OFD packet to send [15:45:11]OFD Sender: No OFD packet to send [15:45:16]OFD Sender: No OFD packet to send [15:45:21]OFD Sender: No OFD packet to send [15:45:26]OFD Sender: No OFD packet to send [15:45:31]OFD Sender: No OFD packet to send [15:45:36]OFD Sender: No OFD packet to send [15:45:41]OFD Sender: No OFD packet to send [15:45:46]OFD Sender: No OFD packet to send [15:45:51]OFD Sender: No OFD packet to send [15:45:56]OFD Sender: No OFD packet to send [15:46:01]OFD Sender: No OFD packet to send [15:46:06]OFD Sender: No OFD packet to send [15:46:11]OFD Sender: No OFD packet to send [15:46:16]OFD Sender: No OFD packet to send [15:46:21]OFD Sender: No OFD packet to send [15:46:26]OFD Sender: No OFD packet to send [15:46:31]OFD Sender: No OFD packet to send [15:46:36]OFD Sender: No OFD packet to send [15:46:41]OFD Sender: No OFD packet to send [15:46:46]OFD Sender: No OFD packet to send [15:46:51]OFD Sender: No OFD packet to send [15:46:56]OFD Sender: No OFD packet to send [15:47:01]OFD Sender: No OFD packet to send [15:47:06]OFD Sender: No OFD packet to send [15:47:11]OFD Sender: No OFD packet to send [15:47:16]OFD Sender: No OFD packet to send [15:47:21]OFD Sender: No OFD packet to send [15:47:26]OFD Sender: No OFD packet to send [15:47:31]OFD Sender: No OFD packet to send [15:47:36]OFD Sender: No OFD packet to send [15:47:41]OFD Sender: No OFD packet to send [15:47:46]OFD Sender: No OFD packet to send [15:47:51]OFD Sender: No OFD packet to send [15:47:56]OFD Sender: No OFD packet to send [15:48:01]OFD Sender: No OFD packet to send [15:48:06]OFD Sender: No OFD packet to send [15:48:11]OFD Sender: No OFD packet to send [15:48:16]OFD Sender: No OFD packet to send [15:48:21]OFD Sender: No OFD packet to send [15:48:26]OFD Sender: No OFD packet to send [15:48:31]OFD Sender: No OFD packet to send [15:48:36]OFD Sender: No OFD packet to send [15:48:41]OFD Sender: No OFD packet to send [15:48:46]OFD Sender: No OFD packet to send [15:48:51]OFD Sender: No OFD packet to send [15:48:56]OFD Sender: No OFD packet to send [15:49:01]OFD Sender: No OFD packet to send [15:49:06]OFD Sender: No OFD packet to send [15:49:11]OFD Sender: No OFD packet to send [15:49:16]OFD Sender: No OFD packet to send [15:49:21]OFD Sender: No OFD packet to send [15:49:26]OFD Sender: No OFD packet to send [15:49:32]OFD Sender: No OFD packet to send [15:49:37]OFD Sender: No OFD packet to send [15:49:42]OFD Sender: No OFD packet to send [15:49:47]OFD Sender: No OFD packet to send [15:49:52]OFD Sender: No OFD packet to send [15:49:57]OFD Sender: No OFD packet to send [15:50:02]OFD Sender: No OFD packet to send [15:50:07]OFD Sender: No OFD packet to send [15:50:12]OFD Sender: No OFD packet to send [15:50:17]OFD Sender: No OFD packet to send [15:50:22]OFD Sender: No OFD packet to send [15:50:27]OFD Sender: No OFD packet to send [15:50:32]OFD Sender: No OFD packet to send [15:50:37]OFD Sender: No OFD packet to send [15:50:42]OFD Sender: No OFD packet to send [15:50:47]OFD Sender: No OFD packet to send [15:50:52]OFD Sender: No OFD packet to send [15:50:57]OFD Sender: No OFD packet to send [15:51:02]OFD Sender: No OFD packet to send [15:51:07]OFD Sender: No OFD packet to send [15:51:12]OFD Sender: No OFD packet to send [15:51:17]OFD Sender: No OFD packet to send [15:51:22]OFD Sender: No OFD packet to send [15:51:27]OFD Sender: No OFD packet to send [15:51:32]OFD Sender: No OFD packet to send [15:51:37]OFD Sender: No OFD packet to send [15:51:42]OFD Sender: No OFD packet to send [15:51:47]OFD Sender: No OFD packet to send [15:51:52]OFD Sender: No OFD packet to send [15:51:57]OFD Sender: No OFD packet to send [15:52:02]OFD Sender: No OFD packet to send [15:52:07]OFD Sender: No OFD packet to send [15:52:12]OFD Sender: No OFD packet to send [15:52:17]OFD Sender: No OFD packet to send [15:52:22]OFD Sender: No OFD packet to send [15:52:27]OFD Sender: No OFD packet to send [15:52:32]OFD Sender: No OFD packet to send [15:52:37]OFD Sender: No OFD packet to send [15:52:42]OFD Sender: No OFD packet to send [15:52:47]OFD Sender: No OFD packet to send [15:52:52]OFD Sender: No OFD packet to send [15:52:57]OFD Sender: No OFD packet to send [15:53:02]OFD Sender: No OFD packet to send [15:53:07]OFD Sender: No OFD packet to send [15:53:12]OFD Sender: No OFD packet to send [15:53:17]OFD Sender: No OFD packet to send [15:53:22]OFD Sender: No OFD packet to send [15:53:27]OFD Sender: No OFD packet to send [15:53:32]OFD Sender: No OFD packet to send [15:53:37]OFD Sender: No OFD packet to send [15:53:42]OFD Sender: No OFD packet to send [15:53:47]OFD Sender: No OFD packet to send [15:53:52]OFD Sender: No OFD packet to send [15:53:57]OFD Sender: No OFD packet to send [15:54:02]OFD Sender: No OFD packet to send [15:54:07]OFD Sender: No OFD packet to send [15:54:12]OFD Sender: No OFD packet to send [15:54:17]OFD Sender: No OFD packet to send [15:54:22]OFD Sender: No OFD packet to send [15:54:27]OFD Sender: No OFD packet to send [15:54:32]OFD Sender: No OFD packet to send [15:54:37]OFD Sender: No OFD packet to send [15:54:42]OFD Sender: No OFD packet to send [15:54:47]OFD Sender: No OFD packet to send [15:54:52]OFD Sender: No OFD packet to send [15:54:57]OFD Sender: No OFD packet to send [15:55:02]OFD Sender: No OFD packet to send [15:55:07]OFD Sender: No OFD packet to send [15:55:12]OFD Sender: No OFD packet to send [15:55:17]OFD Sender: No OFD packet to send [15:55:22]OFD Sender: No OFD packet to send [15:55:27]OFD Sender: No OFD packet to send [15:55:32]OFD Sender: No OFD packet to send [15:55:37]OFD Sender: No OFD packet to send [15:55:42]OFD Sender: No OFD packet to send [15:55:47]OFD Sender: No OFD packet to send [15:55:52]OFD Sender: No OFD packet to send [15:55:57]OFD Sender: No OFD packet to send [15:56:02]OFD Sender: No OFD packet to send [15:56:07]OFD Sender: No OFD packet to send [15:56:12]OFD Sender: No OFD packet to send [15:56:17]OFD Sender: No OFD packet to send [15:56:22]OFD Sender: No OFD packet to send [15:56:27]OFD Sender: No OFD packet to send [15:56:32]OFD Sender: No OFD packet to send [15:56:37]OFD Sender: No OFD packet to send [15:56:42]OFD Sender: No OFD packet to send [15:56:47]OFD Sender: No OFD packet to send [15:56:52]OFD Sender: No OFD packet to send [15:56:57]OFD Sender: No OFD packet to send [15:57:02]OFD Sender: No OFD packet to send [15:57:07]OFD Sender: No OFD packet to send [15:57:12]OFD Sender: No OFD packet to send [15:57:17]OFD Sender: No OFD packet to send [15:57:22]OFD Sender: No OFD packet to send [15:57:27]OFD Sender: No OFD packet to send [15:57:32]OFD Sender: No OFD packet to send [15:57:37]OFD Sender: No OFD packet to send [15:57:42]OFD Sender: No OFD packet to send [15:57:47]OFD Sender: No OFD packet to send [15:57:52]OFD Sender: No OFD packet to send [15:57:57]OFD Sender: No OFD packet to send [15:58:02]OFD Sender: No OFD packet to send [15:58:07]OFD Sender: No OFD packet to send [15:58:12]OFD Sender: No OFD packet to send [15:58:17]OFD Sender: No OFD packet to send [15:58:22]OFD Sender: No OFD packet to send [15:58:27]OFD Sender: No OFD packet to send [15:58:32]OFD Sender: No OFD packet to send [15:58:37]OFD Sender: No OFD packet to send [15:58:42]OFD Sender: No OFD packet to send [15:58:47]OFD Sender: No OFD packet to send [15:58:52]OFD Sender: No OFD packet to send [15:58:57]OFD Sender: No OFD packet to send [15:59:02]OFD Sender: No OFD packet to send [15:59:07]OFD Sender: No OFD packet to send [15:59:12]OFD Sender: No OFD packet to send [15:59:17]OFD Sender: No OFD packet to send [15:59:22]OFD Sender: No OFD packet to send [15:59:27]OFD Sender: No OFD packet to send [15:59:32]OFD Sender: No OFD packet to send [15:59:37]OFD Sender: No OFD packet to send [15:59:42]OFD Sender: No OFD packet to send [15:59:47]OFD Sender: No OFD packet to send [15:59:52]OFD Sender: No OFD packet to send [15:59:57]OFD Sender: No OFD packet to send [16:00:02]OFD Sender: No OFD packet to send [16:00:07]OFD Sender: No OFD packet to send [16:00:12]OFD Sender: No OFD packet to send [16:00:17]OFD Sender: No OFD packet to send [16:00:22]OFD Sender: No OFD packet to send [16:00:27]OFD Sender: No OFD packet to send [16:00:32]OFD Sender: No OFD packet to send [16:00:37]OFD Sender: No OFD packet to send [16:00:42]OFD Sender: No OFD packet to send [16:00:47]OFD Sender: No OFD packet to send [16:00:52]OFD Sender: No OFD packet to send [16:00:57]OFD Sender: No OFD packet to send [16:01:02]OFD Sender: No OFD packet to send [16:01:07]OFD Sender: No OFD packet to send [16:01:12]OFD Sender: No OFD packet to send [16:01:17]OFD Sender: No OFD packet to send [16:01:22]OFD Sender: No OFD packet to send [16:01:27]OFD Sender: No OFD packet to send [16:01:32]OFD Sender: No OFD packet to send [16:01:37]OFD Sender: No OFD packet to send [16:01:42]OFD Sender: No OFD packet to send [16:01:47]OFD Sender: No OFD packet to send [16:01:52]OFD Sender: No OFD packet to send [16:01:57]OFD Sender: No OFD packet to send [16:02:02]OFD Sender: No OFD packet to send [16:02:07]OFD Sender: No OFD packet to send [16:02:12]OFD Sender: No OFD packet to send [16:02:17]OFD Sender: No OFD packet to send [16:02:22]OFD Sender: No OFD packet to send [16:02:27]OFD Sender: No OFD packet to send [16:02:32]OFD Sender: No OFD packet to send [16:02:37]OFD Sender: No OFD packet to send [16:02:42]OFD Sender: No OFD packet to send [16:02:47]OFD Sender: No OFD packet to send [16:02:52]OFD Sender: No OFD packet to send [16:02:57]OFD Sender: No OFD packet to send [16:03:02]OFD Sender: No OFD packet to send [16:03:07]OFD Sender: No OFD packet to send [16:03:12]OFD Sender: No OFD packet to send [16:03:17]OFD Sender: No OFD packet to send [16:03:22]OFD Sender: No OFD packet to send [16:03:27]OFD Sender: No OFD packet to send [16:03:32]OFD Sender: No OFD packet to send [16:03:37]OFD Sender: No OFD packet to send [16:03:42]OFD Sender: No OFD packet to send [16:03:47]OFD Sender: No OFD packet to send [16:03:52]OFD Sender: No OFD packet to send [16:03:57]OFD Sender: No OFD packet to send [16:04:02]OFD Sender: No OFD packet to send [16:04:07]OFD Sender: No OFD packet to send [16:04:12]OFD Sender: No OFD packet to send [16:04:17]OFD Sender: No OFD packet to send [16:04:22]OFD Sender: No OFD packet to send [16:04:27]OFD Sender: No OFD packet to send [16:04:32]OFD Sender: No OFD packet to send [16:04:37]OFD Sender: No OFD packet to send [16:04:42]OFD Sender: No OFD packet to send [16:04:47]OFD Sender: No OFD packet to send [16:04:52]OFD Sender: No OFD packet to send [16:04:57]OFD Sender: No OFD packet to send [16:05:02]OFD Sender: No OFD packet to send [16:05:07]OFD Sender: No OFD packet to send [16:05:12]OFD Sender: No OFD packet to send [16:05:17]OFD Sender: No OFD packet to send [16:05:22]OFD Sender: No OFD packet to send [16:05:27]OFD Sender: No OFD packet to send [16:05:32]OFD Sender: No OFD packet to send [16:05:37]OFD Sender: No OFD packet to send [16:05:42]OFD Sender: No OFD packet to send [16:05:47]OFD Sender: No OFD packet to send [16:05:52]OFD Sender: No OFD packet to send [16:05:57]OFD Sender: No OFD packet to send [16:06:02]OFD Sender: No OFD packet to send [16:06:07]OFD Sender: No OFD packet to send [16:06:12]OFD Sender: No OFD packet to send [16:06:17]OFD Sender: No OFD packet to send [16:06:22]OFD Sender: No OFD packet to send [16:06:27]OFD Sender: No OFD packet to send [16:06:32]OFD Sender: No OFD packet to send [16:06:37]OFD Sender: No OFD packet to send [16:06:42]OFD Sender: No OFD packet to send [16:06:45]accept exits with 7 [16:06:45]New connection [16:06:45]New thread 3066555748 created [16:06:45]Thread 3066699108 joined [16:06:45]Waiting for new connection... [16:06:45] Sock 7.Parse request [16:06:45]Sock 7.Check first char [16:06:45]Sock 7.First char is OK [16:06:45]request: POST /json_proto HTTP/1.0 [16:06:45]Method: POST [16:06:45]URL: /json_proto [16:06:45]Method is POST - this is cgi request [16:06:45]url: /json_proto [16:06:45]query_string will be loaded in cgi processing [16:06:45]execute_cgi json_proto POST (null) [16:06:45]execute_cgi path=json_proto method=POST [16:06:45]POST find Content-Length [16:06:45]Host: 172.17.53.68:8080 [16:06:45]Content-Length: 1037 [16:06:45]Content-Type: application/json [16:06:45] [16:06:45]POST finish read [16:06:45]Found Content-Length = 1037 [16:06:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76679", "tax_sys" : 0, "items" : [ { "code": "4631162227163", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 Mojito LEMON LIME \u0436", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870235681062", "name": "Grizzly \u0432\u043E\u043B\u043D\u0438\u0441\u0442\u044B\u0435 \u041A\u043E\u043B\u0431\u0430\u0441\u043A\u0438 \u0441 \u0433\u043E\u0440\u0447\u0438\u0446\u0435\u0439 55", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 185.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:06:45]execute_script... [16:06:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76679", "tax_sys" : 0, "items" : [ { "code": "4631162227163", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 Mojito LEMON LIME \u0436", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870235681062", "name": "Grizzly \u0432\u043E\u043B\u043D\u0438\u0441\u0442\u044B\u0435 \u041A\u043E\u043B\u0431\u0430\u0441\u043A\u0438 \u0441 \u0433\u043E\u0440\u0447\u0438\u0446\u0435\u0439 55", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 185.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:06:45]POST & json_proto [16:06:45]process_json_proto [16:06:45]json parsed OK: [16:06:45]protocol is kg_v1.0 [16:06:45]action value=close_receipt [16:06:45]process_action close_receipt [16:06:45]cmd_close_receipt [16:06:45]MH_GetDate [16:06:45]Write to MH i2c: F0 00 00 D9 21 E9 [16:06:45]Write i2c OK [16:06:45]MH_I2C_Read... [16:06:45]Read from MH i2c: F0 [16:06:45]MH_I2C_Read... [16:06:45]Read from MH i2c: F0 09 00 [16:06:45]MH_I2C_Read... [16:06:45]Read from MH i2c: F0 09 00 D9 21 00 9D 2A 15 67 C5 A4 76 66 7A [16:06:45]GetLastDocTimeStamp 1729438326 [16:06:45]current date 1729440413 [16:06:45]FM_GetShiftState [16:06:45]SAM_PROTO_GetShiftState [16:06:45]wFMCommunicate request_size=4 [16:06:45]MH_SAM_APDU [16:06:45]CAPDU: 80 13 01 00 [16:06:45]Write to MH i2c: E2 08 00 DA 21 80 13 01 00 00 00 00 00 78 [16:06:45]Write i2c OK [16:06:45]MH_I2C_Read... [16:06:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:06:45]Read from MH i2c: E2 [16:06:45]MH_I2C_Read... [16:06:45]Read from MH i2c: E2 0E 00 [16:06:45]MH_I2C_Read... [16:06:45]Read from MH i2c: E2 0E 00 DA 21 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 CD [16:06:45]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [16:06:45]wFMCommunicate OK [16:06:45]SAM_PROTO_GetShiftState done [16:06:45]FM_GetShiftState done [16:06:45]opened in 1729383299 [16:06:45]opened+sec_in_day 1729469699 [16:06:45]quantity*price = 9500 [16:06:45]sum+1 = 9501 [16:06:45]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870235681062 Grizzly волниÑтые КолбаÑки Ñ Ð³Ð¾Ñ€Ñ‡Ð¸Ñ†ÐµÐ¹ 55 1.000 * 90.00 = 90.00 ÐДС 12% ÐСП 1% > о реализуемом товаре ИТОГО: 185.00 ÐСП 1% : 1.64 ÐДС 12% : 19.65 Ðаличными: 185.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 48 20.10.2024 16:06 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37200 ФПД: 280874192992813 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T160653&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37200&fm=280874192992813&tin=02508201610067®Number=0000000000098149&sum=18500 0 [16:06:46]StoreToDocumentArchive [16:06:46]shift 461 fd 37200 [16:06:46]save to /storage/0461/doc_00037200 [16:06:46]save last doc name /storage/0461/doc_00037200 to /storage/kkm_last_doc_name [16:06:46]save OK [16:06:46]Clear old archive folders... [16:06:46]ProcessDocumentItem done err = 0, tmpTLVsize=440 [16:06:46]tlvbuf is 00966690 [16:06:46]SAM_PROTO_ClearQueue [16:06:46]wFMCommunicate request_size=4 [16:06:46]MH_SAM_APDU [16:06:46]CAPDU: 80 09 00 00 [16:06:46]Write to MH i2c: E2 08 00 E7 21 80 09 00 00 00 00 00 00 7A [16:06:46]Write i2c OK [16:06:46]MH_I2C_Read... [16:06:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:06:46]Read from MH i2c: E2 [16:06:46]MH_I2C_Read... [16:06:46]Read from MH i2c: E2 03 00 [16:06:46]MH_I2C_Read... [16:06:46]Read from MH i2c: E2 03 00 E7 21 00 90 00 7C [16:06:46]RAPDU: 90 00 [16:06:46]wFMCommunicate OK [16:06:46]SAM_PROTO_ClearQueue done [16:06:46]KKMCreateOFDPacket [16:06:46]OFDProtocolAddRootSTLVToBuf [16:06:46]FM_MakeSignedData [16:06:46]FM_MakeSignedData [16:06:46]SAM_PROTO_SignData [16:06:46]wFMCommunicate request_size=4 [16:06:46]MH_SAM_APDU [16:06:46]CAPDU: 80 0D 01 02 [16:06:46]Write to MH i2c: E2 08 00 E8 21 80 0D 01 02 00 00 00 00 82 [16:06:46]Write i2c OK [16:06:46]MH_I2C_Read... [16:06:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:06:46]Read from MH i2c: E2 [16:06:46]MH_I2C_Read... [16:06:46]Read from MH i2c: E2 03 00 [16:06:46]MH_I2C_Read... [16:06:46]Read from MH i2c: E2 03 00 E8 21 00 90 00 7D [16:06:46]RAPDU: 90 00 [16:06:46]wFMCommunicate OK [16:06:46]wFMCommunicate request_size=255 [16:06:46]MH_SAM_APDU [16:06:46]CAPDU: 80 0D 02 02 FA 03 00 B8 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 33 31 31 36 32 32 32 37 31 36 33 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 4D 6F 6A 69 74 6F 20 4C 45 4D 4F 4E 20 4C 49 4D 45 20 D0 B6 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 86 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 36 32 06 04 42 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 9A D0 BE D0 BB D0 B1 D0 B0 D1 81 D0 BA D0 B8 20 D1 81 20 D0 B3 D0 BE D1 80 D1 87 D0 B8 D1 86 D0 B5 D0 B9 20 35 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 [16:06:46]Write to MH i2c: E2 02 01 E9 21 80 0D 02 02 FA 00 03 00 B8 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 33 31 31 36 32 32 32 37 31 36 33 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 4D 6F 6A 69 74 6F 20 4C 45 4D 4F 4E 20 4C 49 4D 45 20 D0 B6 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 86 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 36 32 06 04 42 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 9A D0 BE D0 BB D0 B1 D0 B0 D1 81 D0 BA D0 B8 20 D1 81 20 D0 B3 D0 BE D1 80 D1 87 D0 B8 D1 86 D0 B5 D0 B9 20 35 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 7C [16:06:46]Write i2c OK [16:06:46]MH_I2C_Read... [16:06:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:06:46]Read from MH i2c: E2 [16:06:46]MH_I2C_Read... [16:06:46]Read from MH i2c: E2 03 00 [16:06:46]MH_I2C_Read... [16:06:46]Read from MH i2c: E2 03 00 E9 21 00 90 00 7E [16:06:46]RAPDU: 90 00 [16:06:46]wFMCommunicate OK [16:06:46]wFMCommunicate request_size=199 [16:06:46]MH_SAM_APDU [16:06:46]CAPDU: 80 0D 02 02 C2 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 44 48 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 9D 2A 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 50 91 00 00 35 04 06 00 FF 74 1E 7F FA 2D [16:06:46]Write to MH i2c: E2 CA 00 EA 21 80 0D 02 02 C2 00 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 44 48 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 9D 2A 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 50 91 00 00 35 04 06 00 FF 74 1E 7F FA 2D 00 00 36 [16:06:46]Write i2c OK [16:06:46]MH_I2C_Read... [16:06:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:06:47]Read from MH i2c: E2 [16:06:47]MH_I2C_Read... [16:06:47]Read from MH i2c: E2 03 00 [16:06:47]MH_I2C_Read... [16:06:47]Read from MH i2c: E2 03 00 EA 21 00 90 00 7F [16:06:47]RAPDU: 90 00 [16:06:47]wFMCommunicate OK [16:06:47]wFMCommunicate request_size=4 [16:06:47]MH_SAM_APDU [16:06:47]CAPDU: 80 0D 03 02 [16:06:47]Write to MH i2c: E2 08 00 EB 21 80 0D 03 02 00 00 00 00 87 [16:06:47]Write i2c OK [16:06:47]MH_I2C_Read... [16:06:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:06:47]Read from MH i2c: E2 [16:06:47]MH_I2C_Read... [16:06:47]Read from MH i2c: E2 0B 00 [16:06:47]MH_I2C_Read... [16:06:47]Read from MH i2c: E2 0B 00 EB 21 00 63 0B A4 92 F6 21 DC 9C 90 00 BB [16:06:47]RAPDU: 63 0B A4 92 F6 21 DC 9C 90 00 [16:06:47]wFMCommunicate OK [16:06:47]SAM_PROTO_SignData done [16:06:47]FM_MakeSignedData done [16:06:47]CreateOFDProtocolMessage [16:06:47]wFMCommunicate request_size=4 [16:06:47]MH_SAM_APDU [16:06:47]CAPDU: 80 11 00 00 [16:06:47]Write to MH i2c: E2 08 00 EC 21 80 11 00 00 00 00 00 00 87 [16:06:47]Write i2c OK [16:06:47]MH_I2C_Read... [16:06:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:06:47]Read from MH i2c: E2 [16:06:47]MH_I2C_Read... [16:06:47]Read from MH i2c: E2 17 00 [16:06:47]MH_I2C_Read... [16:06:47]Read from MH i2c: E2 17 00 EC 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 DA [16:06:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [16:06:47]wFMCommunicate OK [16:06:47]CreateOFDProtocolMessage done [16:06:47]OFDSenderStorePacket 37200 [16:06:47]StoreOFDPacket docnum=37200 [16:06:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 CC 01 00 00 28 28 C4 01 90 5D 5A 03 01 00 03 00 B8 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 33 31 31 36 32 32 32 37 31 36 33 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 4D 6F 6A 69 74 6F 20 4C 45 4D 4F 4E 20 4C 49 4D 45 20 D0 B6 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 86 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 36 32 06 04 42 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 9A D0 BE D0 BB D0 B1 D0 B0 D1 81 D0 BA D0 B8 20 D1 81 20 D0 B3 D0 BE D1 80 D1 87 D0 B8 D1 86 D0 B5 D0 B9 20 35 35 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 44 48 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 9D 2A 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 50 91 00 00 35 04 06 00 FF 74 1E 7F FA 2D 63 0B A4 92 F6 21 DC 9C [16:06:47]CheckFolder [16:06:47]dirname=/storage/ofd_packets [16:06:47]CheckFolder done [16:06:47]ProducePacketName [16:06:47]name=ofd_packets/00037200 [16:06:47]NVStorageSaveData ofd_packets/00037200 [16:06:47]File name is /storage/ofd_packets/00037200 [16:06:47]Write 490 bytes [16:06:47]NVStorageSaveData done [16:06:47]OFDSenderStorePacket done [16:06:47]KKMCreateOFDPacket done [16:06:47]NVStorageSaveData kkm_last_timestamp [16:06:47]File name is /storage/kkm_last_timestamp [16:06:47]Write 4 bytes [16:06:47]NVStorageSaveData done [16:06:47]ExternCall_PrintAddStr [16:06:47]wPrintStart [16:06:47]Write to MH i2c: 01 00 00 ED 21 0E [16:06:47]Write i2c OK [16:06:47]MH_I2C_Read... [16:06:47]Read from MH i2c: 01 [16:06:47]MH_I2C_Read... [16:06:47]Read from MH i2c: 01 07 00 [16:06:47]MH_I2C_Read... [16:06:47]Read from MH i2c: 01 07 00 ED 21 00 00 00 00 00 FF 0F 23 [16:06:47]RasterBufferAndPrint [16:06:47]line Счет N : (3)76679 [16:06:47]line ИÐÐ: 02508201610067 [16:06:47]line Контрольно-КаÑÑовый Чек [16:06:47]line ПРОДÐЖР[16:06:47]line Товар: 4631162227163 [16:06:47]line Ðапиток газированный Mojito LEMON LIME ж [16:06:47]line 1.000 * 95.00 [16:06:47]line = 95.00 [16:06:47]line ÐДС 12% ÐСП 1% [16:06:47]line > о реализуемом товаре [16:06:47]line Товар: 4870235681062 [16:06:47]line Grizzly волниÑтые КолбаÑки Ñ Ð³Ð¾Ñ€Ñ‡Ð¸Ñ†ÐµÐ¹ 55 [16:06:47]line 1.000 * 90.00 [16:06:47]line = 90.00 [16:06:47]line ÐДС 12% ÐСП 1% [16:06:47]line > о реализуемом товаре [16:06:47]line ИТОГО: 185.00 [16:06:47]line ÐСП 1% : 1.64 [16:06:47]line ÐДС 12% : 19.65 [16:06:47]line Ðаличными: 185.00 [16:06:47]line Безнал.: 0.00 [16:06:47]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [16:06:47]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [16:06:47]line СÐО: Общий режим [16:06:47]line Чек 48 20.10.2024 16:06 [16:06:47]line Смена: 461 ФФД: 1.0 [16:06:47]line ЗÐМ: 0300000235 [16:06:47]line РÐМ: 0000000000098149 [16:06:47]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [16:06:47]line ФМ: 0000000000965372 [16:06:47]line ФД: 37200 [16:06:47]line ФПД: 280874192992813 [16:06:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T160653&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37200&fm=280874192992813&tin=02508201610067®Number=0000000000098149&sum=18500 [16:06:47]line 0 [16:06:47]OFD Sender: Processing packet 37200 [packets to send 25, broken 24] [16:06:47]ProducePacketName [16:06:47]name=ofd_packets/00037200 [16:06:47]OFD Sender: To server: ‡•öpG, [16:06:47]CommunicateWithHost lk.salyk.kg:30040 [16:06:47]ConnectInit lk.salyk.kg [16:06:47]written 0, free lines is 4095 [16:06:47]Connected sock=10 [16:06: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 33 37 32 CC 01 00 00 28 28 C4 01 90 5D 5A 03 01 00 03 00 B8 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 33 31 31 36 32 32 32 37 31 36 33 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 4D 6F 6A 69 74 6F 20 4C 45 4D 4F 4E 20 4C 49 4D 45 20 D0 B6 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 86 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 36 32 06 04 42 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 9A D0 BE D0 BB D0 B1 D0 B0 D1 81 D0 BA D0 B8 20 D1 81 20 D0 B3 D0 BE D1 80 D1 87 D0 B8 D1 86 D0 B5 D0 B9 20 35 35 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 44 48 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 9D 2A 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 50 91 00 00 35 04 06 00 FF 74 1E 7F FA 2D 63 0B A4 92 F6 21 DC 9C [16:06:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 B8 2B 47 00 55 11 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 50 91 00 00 F4 03 04 00 2F D3 14 67 B6 04 01 00 00 73 86 DA AD 56 8F 54 4B [16:06:47]CommunicateWithHost err = 0 [16:06:47]CheckOFDResponse [16:06:47]1017 (14) - 77093643461234 [16:06:47]1041 (16) - 0000000000965372 [16:06:47]1040 (4) - 37200 [16:06:47]1012 (4) - 20.10.2024 09:53 [16:06:47]1206 (1) - 0 [16:06:47]OFD Sender: Remove packet 37200 [16:06:47]ProducePacketName [16:06:47]name=ofd_packets/00037200 [16:06:47]NVStorageDeleteData [16:06:48]Write to MH i2c: 01 00 00 1D 22 3F [16:06:48]Write i2c OK [16:06:48]MH_I2C_Read... [16:06:48]Read from MH i2c: 01 [16:06:48]MH_I2C_Read... [16:06:48]Read from MH i2c: 01 07 00 [16:06:48]MH_I2C_Read... [16:06:48]Read from MH i2c: 01 07 00 1D 22 00 00 00 00 00 88 0C DA [16:06:48]RasterBufferAndPrint [16:06:48]line [16:06:48]line [16:06:48]line [16:06:48]line [16:06:48]line [16:06:48]written 0, free lines is 3216 [16:06:48]process_action close_receipt done [16:06:48]requested_data is exist [16:06:48]produce_requested_data [16:06:48]requested_item fm.sn is exist - process it [16:06:48]wFMCommunicate request_size=4 [16:06:48]MH_SAM_APDU [16:06:48]CAPDU: 80 11 00 00 [16:06:48]Write to MH i2c: E2 08 00 24 22 80 11 00 00 00 00 00 00 C0 [16:06:48]Write i2c OK [16:06:48]MH_I2C_Read... [16:06:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:06:48]Read from MH i2c: E2 [16:06:48]MH_I2C_Read... [16:06:48]Read from MH i2c: E2 17 00 [16:06:48]MH_I2C_Read... [16:06:48]Read from MH i2c: E2 17 00 24 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 13 [16:06:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [16:06:48]wFMCommunicate OK [16:06:48]requested_item fd.num is exist - process it [16:06:48]SAM_PROTO_GetFieldsCounters [16:06:48]wFMCommunicate request_size=4 [16:06:48]MH_SAM_APDU [16:06:48]CAPDU: 80 13 00 00 [16:06:48]Write to MH i2c: E2 08 00 25 22 80 13 00 00 00 00 00 00 C3 [16:06:48]Write i2c OK [16:06:48]MH_I2C_Read... [16:06:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:06:48]Read from MH i2c: E2 [16:06:48]MH_I2C_Read... [16:06:48]Read from MH i2c: E2 62 00 [16:06:48]MH_I2C_Read... [16:06:48]Read from MH i2c: E2 62 00 25 22 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 50 91 00 00 0E 04 04 00 CD 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 29 [16:06: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 50 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:06:48]wFMCommunicate OK [16:06:48]SAM_PROTO_GetFieldsCounters done [16:06:48]requested_item shift.num is exist - process it [16:06:48]requested_item shift.opened is exist - process it [16:06:48]req_shift_opened [16:06:48]FM_GetShiftState [16:06:48]SAM_PROTO_GetShiftState [16:06:48]wFMCommunicate request_size=4 [16:06:48]MH_SAM_APDU [16:06:48]CAPDU: 80 13 01 00 [16:06:48]Write to MH i2c: E2 08 00 26 22 80 13 01 00 00 00 00 00 C5 [16:06:48]Write i2c OK [16:06:48]MH_I2C_Read... [16:06:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:06:48]Read from MH i2c: E2 [16:06:48]MH_I2C_Read... [16:06:48]Read from MH i2c: E2 0E 00 [16:06:48]MH_I2C_Read... [16:06:48]Read from MH i2c: E2 0E 00 26 22 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 1A [16:06:48]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [16:06:48]wFMCommunicate OK [16:06:48]SAM_PROTO_GetShiftState done [16:06:48]FM_GetShiftState done [16:06:48]req_shift_opened done [16:06:48]requested_item shift.open_date is exist - process it [16:06:48]req_shift_open_date [16:06:48]req_shift_open_date done [16:06:48]produce_requested_data done [16:06:48]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37200,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [16:06:48]process_action_free close_receipt [16:06:48]json_value_free [16:06:48]json_value_free done [16:06:48]process_json_proto returns [16:06:48]Send response to host [16:06:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37200,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [16:06:48]free response buf [16:06:48]execute_script done [16:06:48]execute_script returns [16:06:48]free content buf [16:06:48]Sock 7.Close socket [16:06:48]Sock 7.Thread stoped [16:06:48]OFD Sender: No OFD packet to send [16:06:53]OFD Sender: No OFD packet to send [16:06:58]OFD Sender: No OFD packet to send [16:07:03]OFD Sender: No OFD packet to send [16:07:08]OFD Sender: No OFD packet to send [16:07:13]OFD Sender: No OFD packet to send [16:07:18]OFD Sender: No OFD packet to send [16:07:23]OFD Sender: No OFD packet to send [16:07:28]OFD Sender: No OFD packet to send [16:07:33]OFD Sender: No OFD packet to send [16:07:38]OFD Sender: No OFD packet to send [16:07:43]OFD Sender: No OFD packet to send [16:07:48]OFD Sender: No OFD packet to send [16:07:53]OFD Sender: No OFD packet to send [16:07:58]OFD Sender: No OFD packet to send [16:08:03]OFD Sender: No OFD packet to send [16:08:08]OFD Sender: No OFD packet to send [16:08:13]OFD Sender: No OFD packet to send [16:08:18]OFD Sender: No OFD packet to send [16:08:23]OFD Sender: No OFD packet to send [16:08:28]OFD Sender: No OFD packet to send [16:08:33]OFD Sender: No OFD packet to send [16:08:38]OFD Sender: No OFD packet to send [16:08:43]OFD Sender: No OFD packet to send [16:08:48]OFD Sender: No OFD packet to send [16:08:53]OFD Sender: No OFD packet to send [16:08:58]OFD Sender: No OFD packet to send [16:09:03]OFD Sender: No OFD packet to send [16:09:08]OFD Sender: No OFD packet to send [16:09:13]OFD Sender: No OFD packet to send [16:09:18]OFD Sender: No OFD packet to send [16:09:23]OFD Sender: No OFD packet to send [16:09:28]OFD Sender: No OFD packet to send [16:09:33]OFD Sender: No OFD packet to send [16:09:38]OFD Sender: No OFD packet to send [16:09:43]OFD Sender: No OFD packet to send [16:09:48]OFD Sender: No OFD packet to send [16:09:53]OFD Sender: No OFD packet to send [16:09:58]OFD Sender: No OFD packet to send [16:10:03]OFD Sender: No OFD packet to send [16:10:08]OFD Sender: No OFD packet to send [16:10:13]OFD Sender: No OFD packet to send [16:10:18]OFD Sender: No OFD packet to send [16:10:23]OFD Sender: No OFD packet to send [16:10:28]OFD Sender: No OFD packet to send [16:10:33]OFD Sender: No OFD packet to send [16:10:38]OFD Sender: No OFD packet to send [16:10:43]OFD Sender: No OFD packet to send [16:10:48]OFD Sender: No OFD packet to send [16:10:53]OFD Sender: No OFD packet to send [16:10:58]OFD Sender: No OFD packet to send [16:11:03]OFD Sender: No OFD packet to send [16:11:08]OFD Sender: No OFD packet to send [16:11:13]OFD Sender: No OFD packet to send [16:11:18]OFD Sender: No OFD packet to send [16:11:23]OFD Sender: No OFD packet to send [16:11:28]OFD Sender: No OFD packet to send [16:11:33]OFD Sender: No OFD packet to send [16:11:38]OFD Sender: No OFD packet to send [16:11:43]OFD Sender: No OFD packet to send [16:11:48]OFD Sender: No OFD packet to send [16:11:53]OFD Sender: No OFD packet to send [16:11:58]OFD Sender: No OFD packet to send [16:12:03]OFD Sender: No OFD packet to send [16:12:08]OFD Sender: No OFD packet to send [16:12:13]OFD Sender: No OFD packet to send [16:12:18]OFD Sender: No OFD packet to send [16:12:23]OFD Sender: No OFD packet to send [16:12:28]OFD Sender: No OFD packet to send [16:12:33]OFD Sender: No OFD packet to send [16:12:38]OFD Sender: No OFD packet to send [16:12:43]OFD Sender: No OFD packet to send [16:12:48]OFD Sender: No OFD packet to send [16:12:53]OFD Sender: No OFD packet to send [16:12:58]OFD Sender: No OFD packet to send [16:13:03]OFD Sender: No OFD packet to send [16:13:08]OFD Sender: No OFD packet to send [16:13:13]OFD Sender: No OFD packet to send [16:13:18]OFD Sender: No OFD packet to send [16:13:23]OFD Sender: No OFD packet to send [16:13:28]OFD Sender: No OFD packet to send [16:13:33]OFD Sender: No OFD packet to send [16:13:38]OFD Sender: No OFD packet to send [16:13:43]OFD Sender: No OFD packet to send [16:13:48]OFD Sender: No OFD packet to send [16:13:53]OFD Sender: No OFD packet to send [16:13:58]OFD Sender: No OFD packet to send [16:14:03]OFD Sender: No OFD packet to send [16:14:08]OFD Sender: No OFD packet to send [16:14:13]OFD Sender: No OFD packet to send [16:14:18]accept exits with 9 [16:14:18]New connection [16:14:18]New thread 3066699108 created [16:14:18]Thread 3066555748 joined [16:14:18]Waiting for new connection... [16:14:18] Sock 9.Parse request [16:14:18]Sock 9.Check first char [16:14:18]Sock 9.First char is OK [16:14:18]request: POST /json_proto HTTP/1.0 [16:14:18]Method: POST [16:14:18]URL: /json_proto [16:14:18]Method is POST - this is cgi request [16:14:18]url: /json_proto [16:14:18]query_string will be loaded in cgi processing [16:14:18]execute_cgi json_proto POST (null) [16:14:18]execute_cgi path=json_proto method=POST [16:14:18]POST find Content-Length [16:14:18]Host: 172.17.53.68:8080 [16:14:18]Content-Length: 698 [16:14:18]Content-Type: application/json [16:14:18] [16:14:18]POST finish read [16:14:18]Found Content-Length = 698 [16:14:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76680", "tax_sys" : 0, "items" : [ { "code": "4700000482740", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Fr \u0433\u0430\u0437 \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:14:18]execute_script... [16:14:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76680", "tax_sys" : 0, "items" : [ { "code": "4700000482740", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Fr \u0433\u0430\u0437 \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:14:18]POST & json_proto [16:14:18]process_json_proto [16:14:18]json parsed OK: [16:14:18]protocol is kg_v1.0 [16:14:18]action value=close_receipt [16:14:18]process_action close_receipt [16:14:18]cmd_close_receipt [16:14:18]MH_GetDate [16:14:18]Write to MH i2c: F0 00 00 27 22 38 [16:14:18]Write i2c OK [16:14:18]MH_I2C_Read... [16:14:18]Read from MH i2c: F0 [16:14:18]MH_I2C_Read... [16:14:18]Read from MH i2c: F0 09 00 [16:14:18]MH_I2C_Read... [16:14:18]Read from MH i2c: F0 09 00 27 22 00 62 2C 15 67 C5 A4 76 66 90 [16:14:18]GetLastDocTimeStamp 1729440413 [16:14:18]current date 1729440866 [16:14:18]FM_GetShiftState [16:14:18]SAM_PROTO_GetShiftState [16:14:18]wFMCommunicate request_size=4 [16:14:18]MH_SAM_APDU [16:14:18]CAPDU: 80 13 01 00 [16:14:18]Write to MH i2c: E2 08 00 28 22 80 13 01 00 00 00 00 00 C7 [16:14:18]Write i2c OK [16:14:18]MH_I2C_Read... [16:14:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:14:18]Read from MH i2c: E2 [16:14:18]MH_I2C_Read... [16:14:18]Read from MH i2c: E2 0E 00 [16:14:18]MH_I2C_Read... [16:14:18]Read from MH i2c: E2 0E 00 28 22 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 1C [16:14:18]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [16:14:18]wFMCommunicate OK [16:14:18]SAM_PROTO_GetShiftState done [16:14:18]FM_GetShiftState done [16:14:18]opened in 1729383299 [16:14:18]opened+sec_in_day 1729469699 [16:14:18]quantity*price = 9500 [16:14:18]sum+1 = 9501 [16:14:18]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 ÐСП 1% : 0.84 ÐДС 12% : 10.09 Ðаличными: 95.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 49 20.10.2024 16:14 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37201 ФПД: 138336042143589 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T161426&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37201&fm=138336042143589&tin=02508201610067®Number=0000000000098149&sum=9500 0 [16:14:19]StoreToDocumentArchive [16:14:19]shift 461 fd 37201 [16:14:19]save to /storage/0461/doc_00037201 [16:14:19]save last doc name /storage/0461/doc_00037201 to /storage/kkm_last_doc_name [16:14:19]save OK [16:14:19]Clear old archive folders... [16:14:19]ProcessDocumentItem done err = 0, tmpTLVsize=302 [16:14:19]tlvbuf is 009BBBF0 [16:14:19]SAM_PROTO_ClearQueue [16:14:19]wFMCommunicate request_size=4 [16:14:19]MH_SAM_APDU [16:14:19]CAPDU: 80 09 00 00 [16:14:19]Write to MH i2c: E2 08 00 35 22 80 09 00 00 00 00 00 00 C9 [16:14:19]Write i2c OK [16:14:19]MH_I2C_Read... [16:14:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:14:19]Read from MH i2c: E2 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: E2 03 00 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: E2 03 00 35 22 00 90 00 CB [16:14:19]RAPDU: 90 00 [16:14:19]wFMCommunicate OK [16:14:19]SAM_PROTO_ClearQueue done [16:14:19]KKMCreateOFDPacket [16:14:19]OFDProtocolAddRootSTLVToBuf [16:14:19]FM_MakeSignedData [16:14:19]FM_MakeSignedData [16:14:19]SAM_PROTO_SignData [16:14:19]wFMCommunicate request_size=4 [16:14:19]MH_SAM_APDU [16:14:19]CAPDU: 80 0D 01 02 [16:14:19]Write to MH i2c: E2 08 00 36 22 80 0D 01 02 00 00 00 00 D1 [16:14:19]Write i2c OK [16:14:19]MH_I2C_Read... [16:14:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:14:19]Read from MH i2c: E2 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: E2 03 00 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: E2 03 00 36 22 00 90 00 CC [16:14:19]RAPDU: 90 00 [16:14:19]wFMCommunicate OK [16:14:19]wFMCommunicate request_size=255 [16:14:19]MH_SAM_APDU [16:14:19]CAPDU: 80 0D 02 02 FA 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 34 30 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 20 D0 B3 D0 B0 D0 B7 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 62 2C 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 [16:14:19]Write to MH i2c: E2 02 01 37 22 80 0D 02 02 FA 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 34 30 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 20 D0 B3 D0 B0 D0 B7 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 62 2C 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 00 00 FC [16:14:19]Write i2c OK [16:14:19]MH_I2C_Read... [16:14:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:14:19]Read from MH i2c: E2 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: E2 03 00 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: E2 03 00 37 22 00 90 00 CD [16:14:19]RAPDU: 90 00 [16:14:19]wFMCommunicate OK [16:14:19]wFMCommunicate request_size=61 [16:14:19]MH_SAM_APDU [16:14:19]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 51 91 00 00 35 04 06 00 7D D0 DE A6 CF 65 [16:14:19]Write to MH i2c: E2 40 00 38 22 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 51 91 00 00 35 04 06 00 7D D0 DE A6 CF 65 00 00 F6 [16:14:19]Write i2c OK [16:14:19]MH_I2C_Read... [16:14:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:14:19]Read from MH i2c: E2 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: E2 03 00 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: E2 03 00 38 22 00 90 00 CE [16:14:19]RAPDU: 90 00 [16:14:19]wFMCommunicate OK [16:14:19]wFMCommunicate request_size=4 [16:14:19]MH_SAM_APDU [16:14:19]CAPDU: 80 0D 03 02 [16:14:19]Write to MH i2c: E2 08 00 39 22 80 0D 03 02 00 00 00 00 D6 [16:14:19]Write i2c OK [16:14:19]MH_I2C_Read... [16:14:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:14:19]Read from MH i2c: E2 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: E2 0B 00 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: E2 0B 00 39 22 00 58 27 20 23 90 D5 58 4C 90 00 A2 [16:14:19]RAPDU: 58 27 20 23 90 D5 58 4C 90 00 [16:14:19]wFMCommunicate OK [16:14:19]SAM_PROTO_SignData done [16:14:19]FM_MakeSignedData done [16:14:19]CreateOFDProtocolMessage [16:14:19]wFMCommunicate request_size=4 [16:14:19]MH_SAM_APDU [16:14:19]CAPDU: 80 11 00 00 [16:14:19]Write to MH i2c: E2 08 00 3A 22 80 11 00 00 00 00 00 00 D6 [16:14:19]Write i2c OK [16:14:19]MH_I2C_Read... [16:14:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:14:19]Read from MH i2c: E2 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: E2 17 00 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: E2 17 00 3A 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 29 [16:14:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [16:14:19]wFMCommunicate OK [16:14:19]CreateOFDProtocolMessage done [16:14:19]OFDSenderStorePacket 37201 [16:14:19]StoreOFDPacket docnum=37201 [16:14:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 42 01 00 00 63 E2 3A 01 48 D9 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 34 30 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 20 D0 B3 D0 B0 D0 B7 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 62 2C 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 51 91 00 00 35 04 06 00 7D D0 DE A6 CF 65 58 27 20 23 90 D5 58 4C [16:14:19]CheckFolder [16:14:19]dirname=/storage/ofd_packets [16:14:19]CheckFolder done [16:14:19]ProducePacketName [16:14:19]name=ofd_packets/00037201 [16:14:19]NVStorageSaveData ofd_packets/00037201 [16:14:19]File name is /storage/ofd_packets/00037201 [16:14:19]Write 352 bytes [16:14:19]NVStorageSaveData done [16:14:19]OFDSenderStorePacket done [16:14:19]KKMCreateOFDPacket done [16:14:19]NVStorageSaveData kkm_last_timestamp [16:14:19]File name is /storage/kkm_last_timestamp [16:14:19]Write 4 bytes [16:14:19]NVStorageSaveData done [16:14:19]ExternCall_PrintAddStr [16:14:19]wPrintStart [16:14:19]Write to MH i2c: 01 00 00 3B 22 5D [16:14:19]Write i2c OK [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: 01 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: 01 07 00 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: 01 07 00 3B 22 00 00 00 00 00 FF 0F 72 [16:14:19]RasterBufferAndPrint [16:14:19]line Счет N : (3)76680 [16:14:19]line ИÐÐ: 02508201610067 [16:14:19]line Контрольно-КаÑÑовый Чек [16:14:19]line ПРОДÐЖР[16:14:19]line Товар: 4700000482740 [16:14:19]line Ðапиток Nitro Fr газ апельÑин ж/б 0,45л [16:14:19]line 1.000 * 95.00 [16:14:19]line = 95.00 [16:14:19]line ÐДС 12% ÐСП 1% [16:14:19]line > о реализуемом товаре [16:14:19]line ИТОГО: 95.00 [16:14:19]line ÐСП 1% : 0.84 [16:14:19]line ÐДС 12% : 10.09 [16:14:19]line Ðаличными: 95.00 [16:14:19]line Безнал.: 0.00 [16:14:19]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [16:14:19]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [16:14:19]line СÐО: Общий режим [16:14:19]line Чек 49 20.10.2024 16:14 [16:14:19]line Смена: 461 ФФД: 1.0 [16:14:20]line ЗÐМ: 0300000235 [16:14:20]line РÐМ: 0000000000098149 [16:14:20]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [16:14:20]line ФМ: 0000000000965372 [16:14:20]line ФД: 37201 [16:14:20]line ФПД: 138336042143589 [16:14:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T161426&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37201&fm=138336042143589&tin=02508201610067®Number=0000000000098149&sum=9500 [16:14:20]line 0 [16:14:20]OFD Sender: Processing packet 37201 [packets to send 25, broken 24] [16:14:20]ProducePacketName [16:14:20]name=ofd_packets/00037201 [16:14:20]OFD Sender: To server: ‡•öpG, [16:14:20]CommunicateWithHost lk.salyk.kg:30040 [16:14:20]ConnectInit lk.salyk.kg [16:14:20]written 0, free lines is 4095 [16:14:20]Connected sock=10 [16:14: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 33 37 32 42 01 00 00 63 E2 3A 01 48 D9 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 34 30 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 20 D0 B3 D0 B0 D0 B7 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 62 2C 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 51 91 00 00 35 04 06 00 7D D0 DE A6 CF 65 58 27 20 23 90 D5 58 4C [16:14:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 F8 61 47 00 47 54 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 51 91 00 00 F4 03 04 00 F4 D4 14 67 B6 04 01 00 00 91 77 0B 23 C9 45 29 41 [16:14:20]CommunicateWithHost err = 0 [16:14:20]CheckOFDResponse [16:14:20]1017 (14) - 77093643461234 [16:14:20]1041 (16) - 0000000000965372 [16:14:20]1040 (4) - 37201 [16:14:20]1012 (4) - 20.10.2024 10:01 [16:14:20]1206 (1) - 0 [16:14:20]OFD Sender: Remove packet 37201 [16:14:20]ProducePacketName [16:14:20]name=ofd_packets/00037201 [16:14:20]NVStorageDeleteData [16:14:20]Write to MH i2c: 01 00 00 64 22 86 [16:14:20]Write i2c OK [16:14:20]MH_I2C_Read... [16:14:20]Read from MH i2c: 01 [16:14:20]MH_I2C_Read... [16:14:20]Read from MH i2c: 01 07 00 [16:14:20]MH_I2C_Read... [16:14:20]Read from MH i2c: 01 07 00 64 22 00 00 00 00 00 F0 0C 89 [16:14:20]RasterBufferAndPrint [16:14:20]line [16:14:20]line [16:14:20]line [16:14:20]line [16:14:20]line [16:14:20]written 0, free lines is 3318 [16:14:20]process_action close_receipt done [16:14:20]requested_data is exist [16:14:20]produce_requested_data [16:14:20]requested_item fm.sn is exist - process it [16:14:20]wFMCommunicate request_size=4 [16:14:20]MH_SAM_APDU [16:14:20]CAPDU: 80 11 00 00 [16:14:20]Write to MH i2c: E2 08 00 6B 22 80 11 00 00 00 00 00 00 07 [16:14:20]Write i2c OK [16:14:20]MH_I2C_Read... [16:14:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:14:20]Read from MH i2c: E2 [16:14:20]MH_I2C_Read... [16:14:20]Read from MH i2c: E2 17 00 [16:14:20]MH_I2C_Read... [16:14:20]Read from MH i2c: E2 17 00 6B 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 5A [16:14:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [16:14:20]wFMCommunicate OK [16:14:20]requested_item fd.num is exist - process it [16:14:20]SAM_PROTO_GetFieldsCounters [16:14:20]wFMCommunicate request_size=4 [16:14:20]MH_SAM_APDU [16:14:20]CAPDU: 80 13 00 00 [16:14:20]Write to MH i2c: E2 08 00 6C 22 80 13 00 00 00 00 00 00 0A [16:14:20]Write i2c OK [16:14:20]MH_I2C_Read... [16:14:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:14:20]Read from MH i2c: E2 [16:14:20]MH_I2C_Read... [16:14:20]Read from MH i2c: E2 62 00 [16:14:20]MH_I2C_Read... [16:14:20]Read from MH i2c: E2 62 00 6C 22 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 51 91 00 00 0E 04 04 00 CD 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 74 [16:14:20]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 51 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:14:20]wFMCommunicate OK [16:14:20]SAM_PROTO_GetFieldsCounters done [16:14:20]requested_item shift.num is exist - process it [16:14:20]requested_item shift.opened is exist - process it [16:14:20]req_shift_opened [16:14:20]FM_GetShiftState [16:14:20]SAM_PROTO_GetShiftState [16:14:20]wFMCommunicate request_size=4 [16:14:20]MH_SAM_APDU [16:14:20]CAPDU: 80 13 01 00 [16:14:20]Write to MH i2c: E2 08 00 6D 22 80 13 01 00 00 00 00 00 0C [16:14:20]Write i2c OK [16:14:20]MH_I2C_Read... [16:14:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:14:20]Read from MH i2c: E2 [16:14:20]MH_I2C_Read... [16:14:20]Read from MH i2c: E2 0E 00 [16:14:20]MH_I2C_Read... [16:14:20]Read from MH i2c: E2 0E 00 6D 22 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 61 [16:14:20]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [16:14:20]wFMCommunicate OK [16:14:20]SAM_PROTO_GetShiftState done [16:14:20]FM_GetShiftState done [16:14:20]req_shift_opened done [16:14:20]requested_item shift.open_date is exist - process it [16:14:20]req_shift_open_date [16:14:20]req_shift_open_date done [16:14:20]produce_requested_data done [16:14:20]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37201,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [16:14:20]process_action_free close_receipt [16:14:20]json_value_free [16:14:20]json_value_free done [16:14:20]process_json_proto returns [16:14:20]Send response to host [16:14:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37201,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [16:14:20]free response buf [16:14:20]execute_script done [16:14:20]execute_script returns [16:14:20]free content buf [16:14:20]Sock 9.Close socket [16:14:20]Sock 9.Thread stoped [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:31]OFD Sender: No OFD packet to send [16:15:36]OFD Sender: No OFD packet to send [16:15:41]OFD Sender: No OFD packet to send [16:15:46]OFD Sender: No OFD packet to send [16:15:51]OFD Sender: No OFD packet to send [16:15:56]OFD Sender: No OFD packet to send [16:16:01]OFD Sender: No OFD packet to send [16:16:06]OFD Sender: No OFD packet to send [16:16:11]OFD Sender: No OFD packet to send [16:16:16]OFD Sender: No OFD packet to send [16:16:21]OFD Sender: No OFD packet to send [16:16:26]OFD Sender: No OFD packet to send [16:16:31]OFD Sender: No OFD packet to send [16:16:36]OFD Sender: No OFD packet to send [16:16:41]OFD Sender: No OFD packet to send [16:16:46]OFD Sender: No OFD packet to send [16:16:51]OFD Sender: No OFD packet to send [16:16:56]OFD Sender: No OFD packet to send [16:17:01]OFD Sender: No OFD packet to send [16:17:06]OFD Sender: No OFD packet to send [16:17:11]OFD Sender: No OFD packet to send [16:17:16]OFD Sender: No OFD packet to send [16:17:21]OFD Sender: No OFD packet to send [16:17:26]OFD Sender: No OFD packet to send [16:17:31]OFD Sender: No OFD packet to send [16:17:36]OFD Sender: No OFD packet to send [16:17:41]OFD Sender: No OFD packet to send [16:17:46]OFD Sender: No OFD packet to send [16:17:51]OFD Sender: No OFD packet to send [16:17:56]OFD Sender: No OFD packet to send [16:18:01]OFD Sender: No OFD packet to send [16:18:06]OFD Sender: No OFD packet to send [16:18:11]OFD Sender: No OFD packet to send [16:18:16]OFD Sender: No OFD packet to send [16:18:21]OFD Sender: No OFD packet to send [16:18:26]OFD Sender: No OFD packet to send [16:18:31]OFD Sender: No OFD packet to send [16:18:36]OFD Sender: No OFD packet to send [16:18:41]OFD Sender: No OFD packet to send [16:18:46]OFD Sender: No OFD packet to send [16:18:51]OFD Sender: No OFD packet to send [16:18:56]OFD Sender: No OFD packet to send [16:19:01]OFD Sender: No OFD packet to send [16:19:06]OFD Sender: No OFD packet to send [16:19:11]OFD Sender: No OFD packet to send [16:19:16]OFD Sender: No OFD packet to send [16:19:21]OFD Sender: No OFD packet to send [16:19:26]OFD Sender: No OFD packet to send [16:19:31]OFD Sender: No OFD packet to send [16:19:36]OFD Sender: No OFD packet to send [16:19:41]OFD Sender: No OFD packet to send [16:19:46]OFD Sender: No OFD packet to send [16:19:51]OFD Sender: No OFD packet to send [16:19:56]OFD Sender: No OFD packet to send [16:20:01]OFD Sender: No OFD packet to send [16:20:06]OFD Sender: No OFD packet to send [16:20:11]OFD Sender: No OFD packet to send [16:20:16]OFD Sender: No OFD packet to send [16:20:21]OFD Sender: No OFD packet to send [16:20:26]OFD Sender: No OFD packet to send [16:20:31]OFD Sender: No OFD packet to send [16:20:36]OFD Sender: No OFD packet to send [16:20:41]OFD Sender: No OFD packet to send [16:20:46]OFD Sender: No OFD packet to send [16:20:51]OFD Sender: No OFD packet to send [16:20:56]OFD Sender: No OFD packet to send [16:21:01]OFD Sender: No OFD packet to send [16:21:06]OFD Sender: No OFD packet to send [16:21:11]OFD Sender: No OFD packet to send [16:21:16]OFD Sender: No OFD packet to send [16:21:21]OFD Sender: No OFD packet to send [16:21:26]OFD Sender: No OFD packet to send [16:21:31]OFD Sender: No OFD packet to send [16:21:36]OFD Sender: No OFD packet to send [16:21:41]OFD Sender: No OFD packet to send [16:21:46]OFD Sender: No OFD packet to send [16:21:51]OFD Sender: No OFD packet to send [16:21:56]OFD Sender: No OFD packet to send [16:22:01]OFD Sender: No OFD packet to send [16:22:06]OFD Sender: No OFD packet to send [16:22:11]OFD Sender: No OFD packet to send [16:22:16]OFD Sender: No OFD packet to send [16:22:21]OFD Sender: No OFD packet to send [16:22:26]OFD Sender: No OFD packet to send [16:22:31]OFD Sender: No OFD packet to send [16:22:36]OFD Sender: No OFD packet to send [16:22:41]OFD Sender: No OFD packet to send [16:22:46]OFD Sender: No OFD packet to send [16:22:51]OFD Sender: No OFD packet to send [16:22:56]OFD Sender: No OFD packet to send [16:23:01]OFD Sender: No OFD packet to send [16:23:06]OFD Sender: No OFD packet to send [16:23:11]OFD Sender: No OFD packet to send [16:23:16]OFD Sender: No OFD packet to send [16:23:21]OFD Sender: No OFD packet to send [16:23:26]OFD Sender: No OFD packet to send [16:23:31]OFD Sender: No OFD packet to send [16:23:36]OFD Sender: No OFD packet to send [16:23:41]OFD Sender: No OFD packet to send [16:23:46]OFD Sender: No OFD packet to send [16:23:51]OFD Sender: No OFD packet to send [16:23:56]OFD Sender: No OFD packet to send [16:24:01]OFD Sender: No OFD packet to send [16:24:06]OFD Sender: No OFD packet to send [16:24:11]OFD Sender: No OFD packet to send [16:24:16]OFD Sender: No OFD packet to send [16:24:21]OFD Sender: No OFD packet to send [16:24:26]OFD Sender: No OFD packet to send [16:24:31]OFD Sender: No OFD packet to send [16:24:36]OFD Sender: No OFD packet to send [16:24:41]OFD Sender: No OFD packet to send [16:24:46]OFD Sender: No OFD packet to send [16:24:51]OFD Sender: No OFD packet to send [16:24:56]OFD Sender: No OFD packet to send [16:25:01]OFD Sender: No OFD packet to send [16:25:06]OFD Sender: No OFD packet to send [16:25:11]OFD Sender: No OFD packet to send [16:25:16]OFD Sender: No OFD packet to send [16:25:21]OFD Sender: No OFD packet to send [16:25:26]OFD Sender: No OFD packet to send [16:25:31]OFD Sender: No OFD packet to send [16:25:36]OFD Sender: No OFD packet to send [16:25:41]OFD Sender: No OFD packet to send [16:25:46]OFD Sender: No OFD packet to send [16:25:51]OFD Sender: No OFD packet to send [16:25:56]OFD Sender: No OFD packet to send [16:26:01]OFD Sender: No OFD packet to send [16:26:06]OFD Sender: No OFD packet to send [16:26:11]OFD Sender: No OFD packet to send [16:26:16]OFD Sender: No OFD packet to send [16:26:21]OFD Sender: No OFD packet to send [16:26:26]OFD Sender: No OFD packet to send [16:26:31]OFD Sender: No OFD packet to send [16:26:36]OFD Sender: No OFD packet to send [16:26:41]OFD Sender: No OFD packet to send [16:26:46]OFD Sender: No OFD packet to send [16:26:51]OFD Sender: No OFD packet to send [16:26:56]OFD Sender: No OFD packet to send [16:27:01]OFD Sender: No OFD packet to send [16:27:06]OFD Sender: No OFD packet to send [16:27:11]OFD Sender: No OFD packet to send [16:27:16]OFD Sender: No OFD packet to send [16:27:21]OFD Sender: No OFD packet to send [16:27:26]OFD Sender: No OFD packet to send [16:27:31]OFD Sender: No OFD packet to send [16:27:36]OFD Sender: No OFD packet to send [16:27:41]OFD Sender: No OFD packet to send [16:27:46]OFD Sender: No OFD packet to send [16:27:51]OFD Sender: No OFD packet to send [16:27:56]OFD Sender: No OFD packet to send [16:28:01]OFD Sender: No OFD packet to send [16:28:06]OFD Sender: No OFD packet to send [16:28:11]OFD Sender: No OFD packet to send [16:28:16]OFD Sender: No OFD packet to send [16:28:21]OFD Sender: No OFD packet to send [16:28:26]OFD Sender: No OFD packet to send [16:28:31]OFD Sender: No OFD packet to send [16:28:36]OFD Sender: No OFD packet to send [16:28:41]OFD Sender: No OFD packet to send [16:28:46]OFD Sender: No OFD packet to send [16:28:51]OFD Sender: No OFD packet to send [16:28:56]OFD Sender: No OFD packet to send [16:29:01]OFD Sender: No OFD packet to send [16:29:06]OFD Sender: No OFD packet to send [16:29:11]OFD Sender: No OFD packet to send [16:29:16]OFD Sender: No OFD packet to send [16:29:21]OFD Sender: No OFD packet to send [16:29:26]OFD Sender: No OFD packet to send [16:29:31]OFD Sender: No OFD packet to send [16:29:36]OFD Sender: No OFD packet to send [16:29:41]OFD Sender: No OFD packet to send [16:29:46]OFD Sender: No OFD packet to send [16:29:51]OFD Sender: No OFD packet to send [16:29:56]OFD Sender: No OFD packet to send [16:30:01]OFD Sender: No OFD packet to send [16:30:06]OFD Sender: No OFD packet to send [16:30:11]OFD Sender: No OFD packet to send [16:30:16]OFD Sender: No OFD packet to send [16:30:21]OFD Sender: No OFD packet to send [16:30:26]OFD Sender: No OFD packet to send [16:30:27]accept exits with 7 [16:30:27]New connection [16:30:27]New thread 3066555748 created [16:30:27]Thread 3066699108 joined [16:30:27]Waiting for new connection... [16:30:27] Sock 7.Parse request [16:30:27]Sock 7.Check first char [16:30:27]Sock 7.First char is OK [16:30:27]request: POST /json_proto HTTP/1.0 [16:30:27]Method: POST [16:30:27]URL: /json_proto [16:30:27]Method is POST - this is cgi request [16:30:27]url: /json_proto [16:30:27]query_string will be loaded in cgi processing [16:30:27]execute_cgi json_proto POST (null) [16:30:27]execute_cgi path=json_proto method=POST [16:30:27]POST find Content-Length [16:30:27]Host: 172.17.53.68:8080 [16:30:27]Content-Length: 670 [16:30:27]Content-Type: application/json [16:30:27] [16:30:27]POST finish read [16:30:27]Found Content-Length = 670 [16:30:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76681", "tax_sys" : 0, "items" : [ { "code": "4823077629136", "name": "\u0428\u043E\u043A\u043E\u043B\u0430\u0434 \u043C\u043E\u043B\u043E\u0447\u043D\u044B\u0439 LACMI 90 \u0433\u0440", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:30:27]execute_script... [16:30:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76681", "tax_sys" : 0, "items" : [ { "code": "4823077629136", "name": "\u0428\u043E\u043A\u043E\u043B\u0430\u0434 \u043C\u043E\u043B\u043E\u0447\u043D\u044B\u0439 LACMI 90 \u0433\u0440", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:30:27]POST & json_proto [16:30:27]process_json_proto [16:30:27]json parsed OK: [16:30:27]protocol is kg_v1.0 [16:30:27]action value=close_receipt [16:30:27]process_action close_receipt [16:30:27]cmd_close_receipt [16:30:27]MH_GetDate [16:30:27]Write to MH i2c: F0 00 00 6E 22 7F [16:30:27]Write i2c OK [16:30:27]MH_I2C_Read... [16:30:27]Read from MH i2c: F0 [16:30:27]MH_I2C_Read... [16:30:27]Read from MH i2c: F0 09 00 [16:30:27]MH_I2C_Read... [16:30:27]Read from MH i2c: F0 09 00 6E 22 00 2C 30 15 67 C5 A4 76 66 A5 [16:30:27]GetLastDocTimeStamp 1729440866 [16:30:27]current date 1729441836 [16:30:27]FM_GetShiftState [16:30:27]SAM_PROTO_GetShiftState [16:30:27]wFMCommunicate request_size=4 [16:30:27]MH_SAM_APDU [16:30:27]CAPDU: 80 13 01 00 [16:30:27]Write to MH i2c: E2 08 00 6F 22 80 13 01 00 00 00 00 00 0E [16:30:27]Write i2c OK [16:30:27]MH_I2C_Read... [16:30:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:30:28]Read from MH i2c: E2 [16:30:28]MH_I2C_Read... [16:30:28]Read from MH i2c: E2 0E 00 [16:30:28]MH_I2C_Read... [16:30:28]Read from MH i2c: E2 0E 00 6F 22 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 63 [16:30:28]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [16:30:28]wFMCommunicate OK [16:30:28]SAM_PROTO_GetShiftState done [16:30:28]FM_GetShiftState done [16:30:28]opened in 1729383299 [16:30:28]opened+sec_in_day 1729469699 [16:30:28]quantity*price = 13000 [16:30:28]sum+1 = 13001 [16:30:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 ÐСП 1% : 1.15 ÐДС 12% : 13.80 Ðаличными: 130.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 50 20.10.2024 16:30 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37202 ФПД: 115796110200995 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T163036&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37202&fm=115796110200995&tin=02508201610067®Number=0000000000098149&sum=13000 0 [16:30:29]StoreToDocumentArchive [16:30:29]shift 461 fd 37202 [16:30:29]save to /storage/0461/doc_00037202 [16:30:29]save last doc name /storage/0461/doc_00037202 to /storage/kkm_last_doc_name [16:30:29]save OK [16:30:29]Clear old archive folders... [16:30:29]ProcessDocumentItem done err = 0, tmpTLVsize=287 [16:30:29]tlvbuf is 009A0D40 [16:30:29]SAM_PROTO_ClearQueue [16:30:29]wFMCommunicate request_size=4 [16:30:29]MH_SAM_APDU [16:30:29]CAPDU: 80 09 00 00 [16:30:29]Write to MH i2c: E2 08 00 7C 22 80 09 00 00 00 00 00 00 10 [16:30:29]Write i2c OK [16:30:29]MH_I2C_Read... [16:30:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:30:29]Read from MH i2c: E2 [16:30:29]MH_I2C_Read... [16:30:29]Read from MH i2c: E2 03 00 [16:30:29]MH_I2C_Read... [16:30:29]Read from MH i2c: E2 03 00 7C 22 00 90 00 12 [16:30:29]RAPDU: 90 00 [16:30:29]wFMCommunicate OK [16:30:29]SAM_PROTO_ClearQueue done [16:30:29]KKMCreateOFDPacket [16:30:29]OFDProtocolAddRootSTLVToBuf [16:30:29]FM_MakeSignedData [16:30:29]FM_MakeSignedData [16:30:29]SAM_PROTO_SignData [16:30:29]wFMCommunicate request_size=4 [16:30:29]MH_SAM_APDU [16:30:29]CAPDU: 80 0D 01 02 [16:30:29]Write to MH i2c: E2 08 00 7D 22 80 0D 01 02 00 00 00 00 18 [16:30:29]Write i2c OK [16:30:29]MH_I2C_Read... [16:30:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:30:29]Read from MH i2c: E2 [16:30:29]MH_I2C_Read... [16:30:29]Read from MH i2c: E2 03 00 [16:30:29]MH_I2C_Read... [16:30:29]Read from MH i2c: E2 03 00 7D 22 00 90 00 13 [16:30:29]RAPDU: 90 00 [16:30:29]wFMCommunicate OK [16:30:29]wFMCommunicate request_size=255 [16:30:29]MH_SAM_APDU [16:30:29]CAPDU: 80 0D 02 02 FA 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 38 32 33 30 37 37 36 32 39 31 33 36 06 04 2D 00 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 D0 BC D0 BE D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 4C 41 43 4D 49 20 39 30 20 D0 B3 D1 80 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 32 00 00 00 F4 03 04 00 2C 30 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 [16:30:29]Write to MH i2c: E2 02 01 7E 22 80 0D 02 02 FA 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 38 32 33 30 37 37 36 32 39 31 33 36 06 04 2D 00 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 D0 BC D0 BE D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 4C 41 43 4D 49 20 39 30 20 D0 B3 D1 80 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 32 00 00 00 F4 03 04 00 2C 30 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 00 00 EB [16:30:29]Write i2c OK [16:30:29]MH_I2C_Read... [16:30:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:30:29]Read from MH i2c: E2 [16:30:29]MH_I2C_Read... [16:30:29]Read from MH i2c: E2 03 00 [16:30:29]MH_I2C_Read... [16:30:29]Read from MH i2c: E2 03 00 7E 22 00 90 00 14 [16:30:29]RAPDU: 90 00 [16:30:29]wFMCommunicate OK [16:30:29]wFMCommunicate request_size=46 [16:30:29]MH_SAM_APDU [16:30:29]CAPDU: 80 0D 02 02 29 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 52 91 00 00 35 04 06 00 69 50 E2 03 D0 A3 [16:30:29]Write to MH i2c: E2 31 00 7F 22 80 0D 02 02 29 00 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 52 91 00 00 35 04 06 00 69 50 E2 03 D0 A3 00 00 9B [16:30:29]Write i2c OK [16:30:29]MH_I2C_Read... [16:30:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:30:29]Read from MH i2c: E2 [16:30:29]MH_I2C_Read... [16:30:29]Read from MH i2c: E2 03 00 [16:30:29]MH_I2C_Read... [16:30:29]Read from MH i2c: E2 03 00 7F 22 00 90 00 15 [16:30:29]RAPDU: 90 00 [16:30:29]wFMCommunicate OK [16:30:29]wFMCommunicate request_size=4 [16:30:29]MH_SAM_APDU [16:30:29]CAPDU: 80 0D 03 02 [16:30:29]Write to MH i2c: E2 08 00 80 22 80 0D 03 02 00 00 00 00 1D [16:30:29]Write i2c OK [16:30:29]MH_I2C_Read... [16:30:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:30:29]Read from MH i2c: E2 [16:30:29]MH_I2C_Read... [16:30:29]Read from MH i2c: E2 0B 00 [16:30:29]MH_I2C_Read... [16:30:29]Read from MH i2c: E2 0B 00 80 22 00 DB 3F DB 9C AF C9 2E EC 90 00 41 [16:30:29]RAPDU: DB 3F DB 9C AF C9 2E EC 90 00 [16:30:29]wFMCommunicate OK [16:30:29]SAM_PROTO_SignData done [16:30:29]FM_MakeSignedData done [16:30:29]CreateOFDProtocolMessage [16:30:29]wFMCommunicate request_size=4 [16:30:29]MH_SAM_APDU [16:30:29]CAPDU: 80 11 00 00 [16:30:29]Write to MH i2c: E2 08 00 81 22 80 11 00 00 00 00 00 00 1D [16:30:29]Write i2c OK [16:30:29]MH_I2C_Read... [16:30:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:30:29]Read from MH i2c: E2 [16:30:29]MH_I2C_Read... [16:30:29]Read from MH i2c: E2 17 00 [16:30:29]MH_I2C_Read... [16:30:29]Read from MH i2c: E2 17 00 81 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 70 [16:30:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [16:30:29]wFMCommunicate OK [16:30:29]CreateOFDProtocolMessage done [16:30:29]OFDSenderStorePacket 37202 [16:30:29]StoreOFDPacket docnum=37202 [16:30:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 33 01 00 00 A5 93 2B 01 BD 24 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 38 32 33 30 37 37 36 32 39 31 33 36 06 04 2D 00 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 D0 BC D0 BE D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 4C 41 43 4D 49 20 39 30 20 D0 B3 D1 80 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 32 00 00 00 F4 03 04 00 2C 30 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 52 91 00 00 35 04 06 00 69 50 E2 03 D0 A3 DB 3F DB 9C AF C9 2E EC [16:30:29]CheckFolder [16:30:29]dirname=/storage/ofd_packets [16:30:29]CheckFolder done [16:30:29]ProducePacketName [16:30:29]name=ofd_packets/00037202 [16:30:29]NVStorageSaveData ofd_packets/00037202 [16:30:29]File name is /storage/ofd_packets/00037202 [16:30:29]Write 337 bytes [16:30:29]NVStorageSaveData done [16:30:29]OFDSenderStorePacket done [16:30:29]KKMCreateOFDPacket done [16:30:29]NVStorageSaveData kkm_last_timestamp [16:30:29]File name is /storage/kkm_last_timestamp [16:30:29]Write 4 bytes [16:30:29]NVStorageSaveData done [16:30:29]ExternCall_PrintAddStr [16:30:29]wPrintStart [16:30:29]Write to MH i2c: 01 00 00 82 22 A4 [16:30:29]Write i2c OK [16:30:29]MH_I2C_Read... [16:30:29]Read from MH i2c: 01 [16:30:29]MH_I2C_Read... [16:30:29]Read from MH i2c: 01 07 00 [16:30:29]MH_I2C_Read... [16:30:29]Read from MH i2c: 01 07 00 82 22 00 00 00 00 00 FF 0F B9 [16:30:29]RasterBufferAndPrint [16:30:29]line Счет N : (3)76681 [16:30:29]line ИÐÐ: 02508201610067 [16:30:29]line Контрольно-КаÑÑовый Чек [16:30:29]line ПРОДÐЖР[16:30:29]line Товар: 4823077629136 [16:30:29]line Шоколад молочный LACMI 90 гр [16:30:29]line 1.000 * 130.00 [16:30:29]line = 130.00 [16:30:29]line ÐДС 12% ÐСП 1% [16:30:29]line > о реализуемом товаре [16:30:29]line ИТОГО: 130.00 [16:30:29]line ÐСП 1% : 1.15 [16:30:29]line ÐДС 12% : 13.80 [16:30:29]line Ðаличными: 130.00 [16:30:29]line Безнал.: 0.00 [16:30:29]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [16:30:29]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [16:30:29]line СÐО: Общий режим [16:30:29]line Чек 50 20.10.2024 16:30 [16:30:29]line Смена: 461 ФФД: 1.0 [16:30:29]line ЗÐМ: 0300000235 [16:30:29]line РÐМ: 0000000000098149 [16:30:29]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [16:30:29]line ФМ: 0000000000965372 [16:30:29]line ФД: 37202 [16:30:29]line ФПД: 115796110200995 [16:30:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T163036&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37202&fm=115796110200995&tin=02508201610067®Number=0000000000098149&sum=13000 [16:30:30]line 0 [16:30:30]OFD Sender: Processing packet 37202 [packets to send 25, broken 24] [16:30:30]ProducePacketName [16:30:30]name=ofd_packets/00037202 [16:30:30]OFD Sender: To server: ‡•öpG, [16:30:30]CommunicateWithHost lk.salyk.kg:30040 [16:30:30]ConnectInit lk.salyk.kg [16:30:30]written 0, free lines is 4095 [16:30:30]Connected sock=10 [16:30: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 33 37 32 33 01 00 00 A5 93 2B 01 BD 24 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 38 32 33 30 37 37 36 32 39 31 33 36 06 04 2D 00 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 D0 BC D0 BE D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 4C 41 43 4D 49 20 39 30 20 D0 B3 D1 80 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 32 00 00 00 F4 03 04 00 2C 30 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 52 91 00 00 35 04 06 00 69 50 E2 03 D0 A3 DB 3F DB 9C AF C9 2E EC [16:30:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 BA 98 47 00 6C 53 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 52 91 00 00 F4 03 04 00 BE D8 14 67 B6 04 01 00 00 87 2C 23 EA 67 7C 54 EF [16:30:30]CommunicateWithHost err = 0 [16:30:30]CheckOFDResponse [16:30:30]1017 (14) - 77093643461234 [16:30:30]1041 (16) - 0000000000965372 [16:30:30]1040 (4) - 37202 [16:30:30]1012 (4) - 20.10.2024 10:17 [16:30:30]1206 (1) - 0 [16:30:30]OFD Sender: Remove packet 37202 [16:30:30]ProducePacketName [16:30:30]name=ofd_packets/00037202 [16:30:30]NVStorageDeleteData [16:30:30]Write to MH i2c: 01 00 00 AB 22 CD [16:30:30]Write i2c OK [16:30:30]MH_I2C_Read... [16:30:30]Read from MH i2c: 01 [16:30:30]MH_I2C_Read... [16:30:30]Read from MH i2c: 01 07 00 [16:30:30]MH_I2C_Read... [16:30:30]Read from MH i2c: 01 07 00 AB 22 00 00 00 00 00 05 0D E6 [16:30:30]RasterBufferAndPrint [16:30:30]line [16:30:30]line [16:30:30]line [16:30:30]line [16:30:30]line [16:30:30]written 0, free lines is 3340 [16:30:30]process_action close_receipt done [16:30:30]requested_data is exist [16:30:30]produce_requested_data [16:30:30]requested_item fm.sn is exist - process it [16:30:30]wFMCommunicate request_size=4 [16:30:30]MH_SAM_APDU [16:30:30]CAPDU: 80 11 00 00 [16:30:30]Write to MH i2c: E2 08 00 B2 22 80 11 00 00 00 00 00 00 4E [16:30:30]Write i2c OK [16:30:30]MH_I2C_Read... [16:30:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:30:30]Read from MH i2c: E2 [16:30:30]MH_I2C_Read... [16:30:30]Read from MH i2c: E2 17 00 [16:30:30]MH_I2C_Read... [16:30:30]Read from MH i2c: E2 17 00 B2 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 A1 [16:30:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [16:30:30]wFMCommunicate OK [16:30:30]requested_item fd.num is exist - process it [16:30:30]SAM_PROTO_GetFieldsCounters [16:30:30]wFMCommunicate request_size=4 [16:30:30]MH_SAM_APDU [16:30:30]CAPDU: 80 13 00 00 [16:30:30]Write to MH i2c: E2 08 00 B3 22 80 13 00 00 00 00 00 00 51 [16:30:30]Write i2c OK [16:30:30]MH_I2C_Read... [16:30:30]Read from MH i2c: E2 [16:30:30]MH_I2C_Read... [16:30:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:30:30]Read from MH i2c: E2 62 00 [16:30:30]MH_I2C_Read... [16:30:30]Read from MH i2c: E2 62 00 B3 22 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 52 91 00 00 0E 04 04 00 CD 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 [16:30: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 52 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:30:30]wFMCommunicate OK [16:30:30]SAM_PROTO_GetFieldsCounters done [16:30:30]requested_item shift.num is exist - process it [16:30:30]requested_item shift.opened is exist - process it [16:30:30]req_shift_opened [16:30:30]FM_GetShiftState [16:30:30]SAM_PROTO_GetShiftState [16:30:30]wFMCommunicate request_size=4 [16:30:30]MH_SAM_APDU [16:30:30]CAPDU: 80 13 01 00 [16:30:30]Write to MH i2c: E2 08 00 B4 22 80 13 01 00 00 00 00 00 53 [16:30:30]Write i2c OK [16:30:30]MH_I2C_Read... [16:30:30]Read from MH i2c: E2 [16:30:30]MH_I2C_Read... [16:30:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:30:30]Read from MH i2c: E2 0E 00 [16:30:30]MH_I2C_Read... [16:30:30]Read from MH i2c: E2 0E 00 B4 22 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 A8 [16:30:30]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [16:30:30]wFMCommunicate OK [16:30:30]SAM_PROTO_GetShiftState done [16:30:30]FM_GetShiftState done [16:30:30]req_shift_opened done [16:30:30]requested_item shift.open_date is exist - process it [16:30:30]req_shift_open_date [16:30:30]req_shift_open_date done [16:30:30]produce_requested_data done [16:30:30]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37202,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [16:30:30]process_action_free close_receipt [16:30:30]json_value_free [16:30:30]json_value_free done [16:30:30]process_json_proto returns [16:30:30]Send response to host [16:30:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37202,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [16:30:30]free response buf [16:30:30]execute_script done [16:30:30]execute_script returns [16:30:30]free content buf [16:30:30]Sock 7.Close socket [16:30:30]Sock 7.Thread stoped [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:21]OFD Sender: No OFD packet to send [16:33:26]OFD Sender: No OFD packet to send [16:33:31]OFD Sender: No OFD packet to send [16:33:36]OFD Sender: No OFD packet to send [16:33:41]OFD Sender: No OFD packet to send [16:33:46]OFD Sender: No OFD packet to send [16:33:51]OFD Sender: No OFD packet to send [16:33:56]OFD Sender: No OFD packet to send [16:34:01]OFD Sender: No OFD packet to send [16:34:06]OFD Sender: No OFD packet to send [16:34:11]OFD Sender: No OFD packet to send [16:34:16]OFD Sender: No OFD packet to send [16:34:21]OFD Sender: No OFD packet to send [16:34:26]OFD Sender: No OFD packet to send [16:34:31]OFD Sender: No OFD packet to send [16:34:36]OFD Sender: No OFD packet to send [16:34:41]OFD Sender: No OFD packet to send [16:34:46]OFD Sender: No OFD packet to send [16:34:51]OFD Sender: No OFD packet to send [16:34:56]OFD Sender: No OFD packet to send [16:35:01]OFD Sender: No OFD packet to send [16:35:06]OFD Sender: No OFD packet to send [16:35:11]OFD Sender: No OFD packet to send [16:35:16]OFD Sender: No OFD packet to send [16:35:21]OFD Sender: No OFD packet to send [16:35:26]OFD Sender: No OFD packet to send [16:35:31]OFD Sender: No OFD packet to send [16:35:36]OFD Sender: No OFD packet to send [16:35:41]OFD Sender: No OFD packet to send [16:35:46]OFD Sender: No OFD packet to send [16:35:51]OFD Sender: No OFD packet to send [16:35:56]OFD Sender: No OFD packet to send [16:36:01]OFD Sender: No OFD packet to send [16:36:06]OFD Sender: No OFD packet to send [16:36:11]OFD Sender: No OFD packet to send [16:36:16]OFD Sender: No OFD packet to send [16:36:21]OFD Sender: No OFD packet to send [16:36:26]OFD Sender: No OFD packet to send [16:36:31]OFD Sender: No OFD packet to send [16:36:36]OFD Sender: No OFD packet to send [16:36:41]OFD Sender: No OFD packet to send [16:36:46]OFD Sender: No OFD packet to send [16:36:51]OFD Sender: No OFD packet to send [16:36:56]OFD Sender: No OFD packet to send [16:37:01]OFD Sender: No OFD packet to send [16:37:06]OFD Sender: No OFD packet to send [16:37:11]OFD Sender: No OFD packet to send [16:37:16]OFD Sender: No OFD packet to send [16:37:21]OFD Sender: No OFD packet to send [16:37:26]OFD Sender: No OFD packet to send [16:37:31]OFD Sender: No OFD packet to send [16:37:36]OFD Sender: No OFD packet to send [16:37:41]OFD Sender: No OFD packet to send [16:37:46]OFD Sender: No OFD packet to send [16:37:51]OFD Sender: No OFD packet to send [16:37:56]OFD Sender: No OFD packet to send [16:38:01]OFD Sender: No OFD packet to send [16:38:06]OFD Sender: No OFD packet to send [16:38:11]OFD Sender: No OFD packet to send [16:38:16]OFD Sender: No OFD packet to send [16:38:21]OFD Sender: No OFD packet to send [16:38:26]OFD Sender: No OFD packet to send [16:38:31]OFD Sender: No OFD packet to send [16:38:36]OFD Sender: No OFD packet to send [16:38:41]OFD Sender: No OFD packet to send [16:38:46]OFD Sender: No OFD packet to send [16:38:51]OFD Sender: No OFD packet to send [16:38:56]OFD Sender: No OFD packet to send [16:39:01]OFD Sender: No OFD packet to send [16:39:06]OFD Sender: No OFD packet to send [16:39:11]OFD Sender: No OFD packet to send [16:39:16]OFD Sender: No OFD packet to send [16:39:21]OFD Sender: No OFD packet to send [16:39:26]OFD Sender: No OFD packet to send [16:39:31]OFD Sender: No OFD packet to send [16:39:36]OFD Sender: No OFD packet to send [16:39:41]OFD Sender: No OFD packet to send [16:39:46]OFD Sender: No OFD packet to send [16:39:51]OFD Sender: No OFD packet to send [16:39:56]OFD Sender: No OFD packet to send [16:40:01]OFD Sender: No OFD packet to send [16:40:06]OFD Sender: No OFD packet to send [16:40:11]OFD Sender: No OFD packet to send [16:40:16]OFD Sender: No OFD packet to send [16:40:21]OFD Sender: No OFD packet to send [16:40:26]OFD Sender: No OFD packet to send [16:40:31]OFD Sender: No OFD packet to send [16:40:36]OFD Sender: No OFD packet to send [16:40:41]OFD Sender: No OFD packet to send [16:40:46]OFD Sender: No OFD packet to send [16:40:51]OFD Sender: No OFD packet to send [16:40:56]OFD Sender: No OFD packet to send [16:41:01]OFD Sender: No OFD packet to send [16:41:06]OFD Sender: No OFD packet to send [16:41:11]OFD Sender: No OFD packet to send [16:41:16]OFD Sender: No OFD packet to send [16:41:21]OFD Sender: No OFD packet to send [16:41:26]OFD Sender: No OFD packet to send [16:41:31]OFD Sender: No OFD packet to send [16:41:36]OFD Sender: No OFD packet to send [16:41:41]OFD Sender: No OFD packet to send [16:41:46]OFD Sender: No OFD packet to send [16:41:51]OFD Sender: No OFD packet to send [16:41:56]OFD Sender: No OFD packet to send [16:42:01]OFD Sender: No OFD packet to send [16:42:06]OFD Sender: No OFD packet to send [16:42:11]OFD Sender: No OFD packet to send [16:42:16]OFD Sender: No OFD packet to send [16:42:21]OFD Sender: No OFD packet to send [16:42:26]OFD Sender: No OFD packet to send [16:42:31]OFD Sender: No OFD packet to send [16:42:36]OFD Sender: No OFD packet to send [16:42:41]OFD Sender: No OFD packet to send [16:42:46]OFD Sender: No OFD packet to send [16:42:51]OFD Sender: No OFD packet to send [16:42:56]OFD Sender: No OFD packet to send [16:43:01]OFD Sender: No OFD packet to send [16:43:06]OFD Sender: No OFD packet to send [16:43:11]OFD Sender: No OFD packet to send [16:43:16]OFD Sender: No OFD packet to send [16:43:21]OFD Sender: No OFD packet to send [16:43:26]OFD Sender: No OFD packet to send [16:43:31]OFD Sender: No OFD packet to send [16:43:36]OFD Sender: No OFD packet to send [16:43:41]OFD Sender: No OFD packet to send [16:43:46]OFD Sender: No OFD packet to send [16:43:51]OFD Sender: No OFD packet to send [16:43:56]OFD Sender: No OFD packet to send [16:44:01]OFD Sender: No OFD packet to send [16:44:06]OFD Sender: No OFD packet to send [16:44:11]OFD Sender: No OFD packet to send [16:44:16]OFD Sender: No OFD packet to send [16:44:21]OFD Sender: No OFD packet to send [16:44:26]OFD Sender: No OFD packet to send [16:44:31]OFD Sender: No OFD packet to send [16:44:36]OFD Sender: No OFD packet to send [16:44:41]OFD Sender: No OFD packet to send [16:44:46]OFD Sender: No OFD packet to send [16:44:51]OFD Sender: No OFD packet to send [16:44:56]OFD Sender: No OFD packet to send [16:45:01]OFD Sender: No OFD packet to send [16:45:06]OFD Sender: No OFD packet to send [16:45:11]OFD Sender: No OFD packet to send [16:45:16]OFD Sender: No OFD packet to send [16:45:21]OFD Sender: No OFD packet to send [16:45:26]OFD Sender: No OFD packet to send [16:45:31]OFD Sender: No OFD packet to send [16:45:36]OFD Sender: No OFD packet to send [16:45:41]OFD Sender: No OFD packet to send [16:45:46]OFD Sender: No OFD packet to send [16:45:51]OFD Sender: No OFD packet to send [16:45:56]OFD Sender: No OFD packet to send [16:46:01]OFD Sender: No OFD packet to send [16:46:06]OFD Sender: No OFD packet to send [16:46:11]OFD Sender: No OFD packet to send [16:46:16]OFD Sender: No OFD packet to send [16:46:21]OFD Sender: No OFD packet to send [16:46:26]OFD Sender: No OFD packet to send [16:46:31]OFD Sender: No OFD packet to send [16:46:36]OFD Sender: No OFD packet to send [16:46:41]OFD Sender: No OFD packet to send [16:46:46]OFD Sender: No OFD packet to send [16:46:51]OFD Sender: No OFD packet to send [16:46:56]OFD Sender: No OFD packet to send [16:47:01]OFD Sender: No OFD packet to send [16:47:06]OFD Sender: No OFD packet to send [16:47:11]OFD Sender: No OFD packet to send [16:47:16]OFD Sender: No OFD packet to send [16:47:21]OFD Sender: No OFD packet to send [16:47:26]OFD Sender: No OFD packet to send [16:47:31]OFD Sender: No OFD packet to send [16:47:36]OFD Sender: No OFD packet to send [16:47:41]OFD Sender: No OFD packet to send [16:47:46]OFD Sender: No OFD packet to send [16:47:51]OFD Sender: No OFD packet to send [16:47:56]OFD Sender: No OFD packet to send [16:48:01]OFD Sender: No OFD packet to send [16:48:06]OFD Sender: No OFD packet to send [16:48:11]OFD Sender: No OFD packet to send [16:48:16]OFD Sender: No OFD packet to send [16:48:21]OFD Sender: No OFD packet to send [16:48:26]OFD Sender: No OFD packet to send [16:48:31]OFD Sender: No OFD packet to send [16:48:36]OFD Sender: No OFD packet to send [16:48:41]OFD Sender: No OFD packet to send [16:48:46]OFD Sender: No OFD packet to send [16:48:51]OFD Sender: No OFD packet to send [16:48:56]OFD Sender: No OFD packet to send [16:49:01]OFD Sender: No OFD packet to send [16:49:06]OFD Sender: No OFD packet to send [16:49:11]OFD Sender: No OFD packet to send [16:49:16]OFD Sender: No OFD packet to send [16:49:21]OFD Sender: No OFD packet to send [16:49:26]OFD Sender: No OFD packet to send [16:49:31]OFD Sender: No OFD packet to send [16:49:36]OFD Sender: No OFD packet to send [16:49:41]OFD Sender: No OFD packet to send [16:49:46]OFD Sender: No OFD packet to send [16:49:51]OFD Sender: No OFD packet to send [16:49:56]OFD Sender: No OFD packet to send [16:50:01]OFD Sender: No OFD packet to send [16:50:06]OFD Sender: No OFD packet to send [16:50:11]OFD Sender: No OFD packet to send [16:50:16]OFD Sender: No OFD packet to send [16:50:21]OFD Sender: No OFD packet to send [16:50:26]OFD Sender: No OFD packet to send [16:50:31]OFD Sender: No OFD packet to send [16:50:36]OFD Sender: No OFD packet to send [16:50:41]OFD Sender: No OFD packet to send [16:50:46]OFD Sender: No OFD packet to send [16:50:51]OFD Sender: No OFD packet to send [16:50:56]OFD Sender: No OFD packet to send [16:51:01]OFD Sender: No OFD packet to send [16:51:06]OFD Sender: No OFD packet to send [16:51:11]OFD Sender: No OFD packet to send [16:51:16]OFD Sender: No OFD packet to send [16:51:21]OFD Sender: No OFD packet to send [16:51:26]OFD Sender: No OFD packet to send [16:51:31]OFD Sender: No OFD packet to send [16:51:36]OFD Sender: No OFD packet to send [16:51:41]OFD Sender: No OFD packet to send [16:51:46]OFD Sender: No OFD packet to send [16:51:51]OFD Sender: No OFD packet to send [16:51:56]OFD Sender: No OFD packet to send [16:52:01]OFD Sender: No OFD packet to send [16:52:06]OFD Sender: No OFD packet to send [16:52:11]OFD Sender: No OFD packet to send [16:52:16]OFD Sender: No OFD packet to send [16:52:21]OFD Sender: No OFD packet to send [16:52:26]OFD Sender: No OFD packet to send [16:52:31]OFD Sender: No OFD packet to send [16:52:36]OFD Sender: No OFD packet to send [16:52:41]OFD Sender: No OFD packet to send [16:52:46]OFD Sender: No OFD packet to send [16:52:51]OFD Sender: No OFD packet to send [16:52:56]OFD Sender: No OFD packet to send [16:53:01]OFD Sender: No OFD packet to send [16:53:06]OFD Sender: No OFD packet to send [16:53:11]OFD Sender: No OFD packet to send [16:53:16]OFD Sender: No OFD packet to send [16:53:22]OFD Sender: No OFD packet to send [16:53:27]OFD Sender: No OFD packet to send [16:53:32]OFD Sender: No OFD packet to send [16:53:37]OFD Sender: No OFD packet to send [16:53:42]OFD Sender: No OFD packet to send [16:53:47]OFD Sender: No OFD packet to send [16:53:52]OFD Sender: No OFD packet to send [16:53:57]OFD Sender: No OFD packet to send [16:54:00]accept exits with 9 [16:54:00]New connection [16:54:00]New thread 3066699108 created [16:54:00]Thread 3066555748 joined [16:54:00]Waiting for new connection... [16:54:00] Sock 9.Parse request [16:54:00]Sock 9.Check first char [16:54:00]Sock 9.First char is OK [16:54:00]request: POST /json_proto HTTP/1.0 [16:54:00]Method: POST [16:54:00]URL: /json_proto [16:54:00]Method is POST - this is cgi request [16:54:00]url: /json_proto [16:54:00]query_string will be loaded in cgi processing [16:54:00]execute_cgi json_proto POST (null) [16:54:00]execute_cgi path=json_proto method=POST [16:54:00]POST find Content-Length [16:54:00]Host: 172.17.53.68:8080 [16:54:00]Content-Length: 890 [16:54:00]Content-Type: application/json [16:54:00] [16:54:00]POST finish read [16:54:00]Found Content-Length = 890 [16:54:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76682", "tax_sys" : 0, "items" : [ { "code": "4700003610560", "name": "\u0412\u043E\u0434\u0430 \u042D\u043D\u0435\u0441\u0430\u0439 5\u043B.", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8901086040008", "name": "\u0416\u0438\u0434/\u0441\u0442 \u041F\u041D \u043B\u0435\u0442\u043D\u044F\u044F 4,5\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 230.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:54:00]execute_script... [16:54: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)76682", "tax_sys" : 0, "items" : [ { "code": "4700003610560", "name": "\u0412\u043E\u0434\u0430 \u042D\u043D\u0435\u0441\u0430\u0439 5\u043B.", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8901086040008", "name": "\u0416\u0438\u0434/\u0441\u0442 \u041F\u041D \u043B\u0435\u0442\u043D\u044F\u044F 4,5\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 230.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:54:00]POST & json_proto [16:54:00]process_json_proto [16:54:00]json parsed OK: [16:54:00]protocol is kg_v1.0 [16:54:00]action value=close_receipt [16:54:00]process_action close_receipt [16:54:00]cmd_close_receipt [16:54:00]MH_GetDate [16:54:00]Write to MH i2c: F0 00 00 B5 22 C6 [16:54:00]Write i2c OK [16:54:00]MH_I2C_Read... [16:54:00]Read from MH i2c: F0 [16:54:00]MH_I2C_Read... [16:54:00]Read from MH i2c: F0 09 00 [16:54:00]MH_I2C_Read... [16:54:00]Read from MH i2c: F0 09 00 B5 22 00 B0 35 15 67 C5 A4 76 66 75 [16:54:00]GetLastDocTimeStamp 1729441836 [16:54:00]current date 1729443248 [16:54:00]FM_GetShiftState [16:54:00]SAM_PROTO_GetShiftState [16:54:00]wFMCommunicate request_size=4 [16:54:00]MH_SAM_APDU [16:54:00]CAPDU: 80 13 01 00 [16:54:00]Write to MH i2c: E2 08 00 B6 22 80 13 01 00 00 00 00 00 55 [16:54:00]Write i2c OK [16:54:00]MH_I2C_Read... [16:54:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:54:00]Read from MH i2c: E2 [16:54:00]MH_I2C_Read... [16:54:00]Read from MH i2c: E2 0E 00 [16:54:00]MH_I2C_Read... [16:54:00]Read from MH i2c: E2 0E 00 B6 22 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 AA [16:54:00]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [16:54:00]wFMCommunicate OK [16:54:00]SAM_PROTO_GetShiftState done [16:54:00]FM_GetShiftState done [16:54:00]opened in 1729383299 [16:54:00]opened+sec_in_day 1729469699 [16:54:00]quantity*price = 6000 [16:54:00]sum+1 = 6001 [16:54:00]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 8901086040008 Жид/ÑÑ‚ ПРлетнÑÑ 4,5л 1.000 * 170.00 = 170.00 ÐДС 12% ÐСП 1% > о реализуемом товаре ИТОГО: 230.00 ÐСП 1% : 2.03 ÐДС 12% : 24.42 Ðаличными: 230.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 51 20.10.2024 16:54 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37203 ФПД: 191941997367479 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T165408&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37203&fm=191941997367479&tin=02508201610067®Number=0000000000098149&sum=23000 0 [16:54:01]StoreToDocumentArchive [16:54:01]shift 461 fd 37203 [16:54:01]save to /storage/0461/doc_00037203 [16:54:01]save last doc name /storage/0461/doc_00037203 to /storage/kkm_last_doc_name [16:54:01]save OK [16:54:01]Clear old archive folders... [16:54:01]ProcessDocumentItem done err = 0, tmpTLVsize=375 [16:54:01]tlvbuf is 00969CD0 [16:54:01]SAM_PROTO_ClearQueue [16:54:01]wFMCommunicate request_size=4 [16:54:01]MH_SAM_APDU [16:54:01]CAPDU: 80 09 00 00 [16:54:01]Write to MH i2c: E2 08 00 C3 22 80 09 00 00 00 00 00 00 57 [16:54:01]Write i2c OK [16:54:01]MH_I2C_Read... [16:54:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:54:01]Read from MH i2c: E2 [16:54:01]MH_I2C_Read... [16:54:01]Read from MH i2c: E2 03 00 [16:54:01]MH_I2C_Read... [16:54:01]Read from MH i2c: E2 03 00 C3 22 00 90 00 59 [16:54:01]RAPDU: 90 00 [16:54:01]wFMCommunicate OK [16:54:01]SAM_PROTO_ClearQueue done [16:54:01]KKMCreateOFDPacket [16:54:01]OFDProtocolAddRootSTLVToBuf [16:54:01]FM_MakeSignedData [16:54:01]FM_MakeSignedData [16:54:01]SAM_PROTO_SignData [16:54:01]wFMCommunicate request_size=4 [16:54:01]MH_SAM_APDU [16:54:01]CAPDU: 80 0D 01 02 [16:54:01]Write to MH i2c: E2 08 00 C4 22 80 0D 01 02 00 00 00 00 5F [16:54:01]Write i2c OK [16:54:01]MH_I2C_Read... [16:54:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:54:01]Read from MH i2c: E2 [16:54:01]MH_I2C_Read... [16:54:01]Read from MH i2c: E2 03 00 [16:54:01]MH_I2C_Read... [16:54:01]Read from MH i2c: E2 03 00 C4 22 00 90 00 5A [16:54:01]RAPDU: 90 00 [16:54:01]wFMCommunicate OK [16:54:01]wFMCommunicate request_size=255 [16:54:01]MH_SAM_APDU [16:54:01]CAPDU: 80 0D 02 02 FA 03 00 77 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 37 30 30 30 30 33 36 31 30 35 36 30 06 04 1A 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AD D0 BD D0 B5 D1 81 D0 B0 D0 B9 20 35 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F [16:54:01]Write to MH i2c: E2 02 01 C5 22 80 0D 02 02 FA 00 03 00 77 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 37 30 30 30 30 33 36 31 30 35 36 30 06 04 1A 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AD D0 BD D0 B5 D1 81 D0 B0 D0 B9 20 35 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 00 A0 [16:54:01]Write i2c OK [16:54:01]MH_I2C_Read... [16:54:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:54:01]Read from MH i2c: E2 [16:54:01]MH_I2C_Read... [16:54:01]Read from MH i2c: E2 03 00 [16:54:01]MH_I2C_Read... [16:54:01]Read from MH i2c: E2 03 00 C5 22 00 90 00 5B [16:54:01]RAPDU: 90 00 [16:54:01]wFMCommunicate OK [16:54:01]wFMCommunicate request_size=134 [16:54:01]MH_SAM_APDU [16:54:01]CAPDU: 80 0D 02 02 81 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 D8 59 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 B0 35 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 53 91 00 00 35 04 06 00 AE 91 FA 92 10 B7 [16:54:01]Write to MH i2c: E2 89 00 C6 22 80 0D 02 02 81 00 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 D8 59 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 B0 35 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 53 91 00 00 35 04 06 00 AE 91 FA 92 10 B7 00 00 33 [16:54:01]Write i2c OK [16:54:01]MH_I2C_Read... [16:54:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:54:01]Read from MH i2c: E2 [16:54:01]MH_I2C_Read... [16:54:01]Read from MH i2c: E2 03 00 [16:54:01]MH_I2C_Read... [16:54:01]Read from MH i2c: E2 03 00 C6 22 00 90 00 5C [16:54:01]RAPDU: 90 00 [16:54:01]wFMCommunicate OK [16:54:01]wFMCommunicate request_size=4 [16:54:01]MH_SAM_APDU [16:54:01]CAPDU: 80 0D 03 02 [16:54:01]Write to MH i2c: E2 08 00 C7 22 80 0D 03 02 00 00 00 00 64 [16:54:01]Write i2c OK [16:54:01]MH_I2C_Read... [16:54:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:54:01]Read from MH i2c: E2 [16:54:01]MH_I2C_Read... [16:54:01]Read from MH i2c: E2 0B 00 [16:54:01]MH_I2C_Read... [16:54:01]Read from MH i2c: E2 0B 00 C7 22 00 1F 88 BB BA 9D 40 09 2D 90 00 94 [16:54:01]RAPDU: 1F 88 BB BA 9D 40 09 2D 90 00 [16:54:01]wFMCommunicate OK [16:54:01]SAM_PROTO_SignData done [16:54:01]FM_MakeSignedData done [16:54:01]CreateOFDProtocolMessage [16:54:01]wFMCommunicate request_size=4 [16:54:01]MH_SAM_APDU [16:54:01]CAPDU: 80 11 00 00 [16:54:01]Write to MH i2c: E2 08 00 C8 22 80 11 00 00 00 00 00 00 64 [16:54:01]Write i2c OK [16:54:01]MH_I2C_Read... [16:54:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:54:01]Read from MH i2c: E2 [16:54:01]MH_I2C_Read... [16:54:01]Read from MH i2c: E2 17 00 [16:54:01]MH_I2C_Read... [16:54:01]Read from MH i2c: E2 17 00 C8 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 B7 [16:54:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [16:54:01]wFMCommunicate OK [16:54:01]CreateOFDProtocolMessage done [16:54:01]OFDSenderStorePacket 37203 [16:54:01]StoreOFDPacket docnum=37203 [16:54:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 8B 01 00 00 CF 72 83 01 0C 56 5A 03 01 00 03 00 77 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 37 30 30 30 30 33 36 31 30 35 36 30 06 04 1A 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AD D0 BD D0 B5 D1 81 D0 B0 D0 B9 20 35 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 D8 59 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 B0 35 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 53 91 00 00 35 04 06 00 AE 91 FA 92 10 B7 1F 88 BB BA 9D 40 09 2D [16:54:01]CheckFolder [16:54:01]dirname=/storage/ofd_packets [16:54:01]CheckFolder done [16:54:01]ProducePacketName [16:54:01]name=ofd_packets/00037203 [16:54:01]NVStorageSaveData ofd_packets/00037203 [16:54:01]File name is /storage/ofd_packets/00037203 [16:54:01]Write 425 bytes [16:54:01]NVStorageSaveData done [16:54:01]OFDSenderStorePacket done [16:54:01]KKMCreateOFDPacket done [16:54:01]NVStorageSaveData kkm_last_timestamp [16:54:01]File name is /storage/kkm_last_timestamp [16:54:01]Write 4 bytes [16:54:01]NVStorageSaveData done [16:54:01]ExternCall_PrintAddStr [16:54:01]wPrintStart [16:54:01]Write to MH i2c: 01 00 00 C9 22 EB [16:54:01]Write i2c OK [16:54:01]MH_I2C_Read... [16:54:01]Read from MH i2c: 01 [16:54:01]MH_I2C_Read... [16:54:01]Read from MH i2c: 01 07 00 [16:54:02]MH_I2C_Read... [16:54:02]OFD Sender: Processing packet 37203 [packets to send 25, broken 24] [16:54:02]ProducePacketName [16:54:02]name=ofd_packets/00037203 [16:54:02]Read from MH i2c: OFD Sender: To server: ‡•öpG, [16:54:02]01 CommunicateWithHost lk.salyk.kg:30040 [16:54:02]07 ConnectInit lk.salyk.kg [16:54:02]00 C9 22 00 00 00 00 00 FF 0F 00 [16:54:02]RasterBufferAndPrint [16:54:02]line Счет N : (3)76682 [16:54:02]line ИÐÐ: 02508201610067 [16:54:02]line Контрольно-КаÑÑовый Чек [16:54:02]line ПРОДÐЖР[16:54:02]line Товар: 4700003610560 [16:54:02]line Вода ЭнеÑай 5л. [16:54:02]line 1.000 * 60.00 [16:54:02]line = 60.00 [16:54:02]line ÐДС 12% ÐСП 1% [16:54:02]line > о реализуемом товаре [16:54:02]line Товар: 8901086040008 [16:54:02]line Жид/ÑÑ‚ ПРлетнÑÑ 4,5л [16:54:02]line 1.000 * 170.00 [16:54:02]line = 170.00 [16:54:02]line ÐДС 12% ÐСП 1% [16:54:02]line > о реализуемом товаре [16:54:02]line ИТОГО: 230.00 [16:54:02]line ÐСП 1% : 2.03 [16:54:02]line ÐДС 12% : 24.42 [16:54:02]line Ðаличными: 230.00 [16:54:02]line Безнал.: 0.00 [16:54:02]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [16:54:02]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [16:54:02]line СÐО: Общий режим [16:54:02]line Чек 51 20.10.2024 16:54 [16:54:02]line Смена: 461 ФФД: 1.0 [16:54:02]line ЗÐМ: 0300000235 [16:54:02]line РÐМ: 0000000000098149 [16:54:02]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [16:54:02]line ФМ: 0000000000965372 [16:54:02]line ФД: 37203 [16:54:02]line ФПД: 191941997367479 [16:54:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T165408&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37203&fm=191941997367479&tin=02508201610067®Number=0000000000098149&sum=23000 [16:54:02]line 0 [16:54:02]written 0, free lines is 4095 [16:54:02]Connected sock=11 [16:54: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 33 37 32 8B 01 00 00 CF 72 83 01 0C 56 5A 03 01 00 03 00 77 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 37 30 30 30 30 33 36 31 30 35 36 30 06 04 1A 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AD D0 BD D0 B5 D1 81 D0 B0 D0 B9 20 35 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 D8 59 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 B0 35 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 53 91 00 00 35 04 06 00 AE 91 FA 92 10 B7 1F 88 BB BA 9D 40 09 2D [16:54:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 31 A8 47 00 93 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 33 37 32 10 04 04 00 53 91 00 00 F4 03 04 00 42 DE 14 67 B6 04 01 00 00 33 00 D2 EC 03 94 99 09 [16:54:02]CommunicateWithHost err = 0 [16:54:02]CheckOFDResponse [16:54:02]1017 (14) - 77093643461234 [16:54:02]1041 (16) - 0000000000965372 [16:54:02]1040 (4) - 37203 [16:54:02]1012 (4) - 20.10.2024 10:41 [16:54:02]1206 (1) - 0 [16:54:02]OFD Sender: Remove packet 37203 [16:54:02]ProducePacketName [16:54:02]name=ofd_packets/00037203 [16:54:02]NVStorageDeleteData [16:54:02]Write to MH i2c: 01 00 00 F7 22 19 [16:54:02]Write i2c OK [16:54:02]MH_I2C_Read... [16:54:02]Read from MH i2c: 01 [16:54:02]MH_I2C_Read... [16:54:02]Read from MH i2c: 01 07 00 [16:54:02]MH_I2C_Read... [16:54:02]Read from MH i2c: 01 07 00 F7 22 00 00 00 00 00 BE 0C EA [16:54:02]RasterBufferAndPrint [16:54:02]line [16:54:02]line [16:54:02]line [16:54:02]line [16:54:02]line [16:54:02]written 0, free lines is 3266 [16:54:02]process_action close_receipt done [16:54:02]requested_data is exist [16:54:02]produce_requested_data [16:54:02]requested_item fm.sn is exist - process it [16:54:02]wFMCommunicate request_size=4 [16:54:02]MH_SAM_APDU [16:54:02]CAPDU: 80 11 00 00 [16:54:02]Write to MH i2c: E2 08 00 FE 22 80 11 00 00 00 00 00 00 9A [16:54:02]Write i2c OK [16:54:02]MH_I2C_Read... [16:54:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:54:02]Read from MH i2c: E2 [16:54:02]MH_I2C_Read... [16:54:02]Read from MH i2c: E2 17 00 [16:54:02]MH_I2C_Read... [16:54:02]Read from MH i2c: E2 17 00 FE 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 ED [16:54:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [16:54:02]wFMCommunicate OK [16:54:02]requested_item fd.num is exist - process it [16:54:02]SAM_PROTO_GetFieldsCounters [16:54:02]wFMCommunicate request_size=4 [16:54:02]MH_SAM_APDU [16:54:02]CAPDU: 80 13 00 00 [16:54:02]Write to MH i2c: E2 08 00 FF 22 80 13 00 00 00 00 00 00 9D [16:54:02]Write i2c OK [16:54:02]MH_I2C_Read... [16:54:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:54:02]Read from MH i2c: E2 [16:54:02]MH_I2C_Read... [16:54:02]Read from MH i2c: E2 62 00 [16:54:02]MH_I2C_Read... [16:54:02]Read from MH i2c: E2 62 00 FF 22 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 53 91 00 00 0E 04 04 00 CD 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 0F [16:54: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 53 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:54:02]wFMCommunicate OK [16:54:02]SAM_PROTO_GetFieldsCounters done [16:54:02]requested_item shift.num is exist - process it [16:54:02]requested_item shift.opened is exist - process it [16:54:02]req_shift_opened [16:54:02]FM_GetShiftState [16:54:02]SAM_PROTO_GetShiftState [16:54:02]wFMCommunicate request_size=4 [16:54:02]MH_SAM_APDU [16:54:02]CAPDU: 80 13 01 00 [16:54:02]Write to MH i2c: E2 08 00 00 23 80 13 01 00 00 00 00 00 A0 [16:54:02]Write i2c OK [16:54:02]MH_I2C_Read... [16:54:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:54:02]Read from MH i2c: E2 [16:54:02]MH_I2C_Read... [16:54:02]Read from MH i2c: E2 0E 00 [16:54:02]MH_I2C_Read... [16:54:02]Read from MH i2c: E2 0E 00 00 23 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 F5 [16:54:02]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [16:54:02]wFMCommunicate OK [16:54:02]SAM_PROTO_GetShiftState done [16:54:02]FM_GetShiftState done [16:54:02]req_shift_opened done [16:54:02]requested_item shift.open_date is exist - process it [16:54:02]req_shift_open_date [16:54:02]req_shift_open_date done [16:54:02]produce_requested_data done [16:54:02]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37203,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [16:54:02]process_action_free close_receipt [16:54:02]json_value_free [16:54:02]json_value_free done [16:54:02]process_json_proto returns [16:54:02]Send response to host [16:54:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37203,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [16:54:02]free response buf [16:54:02]execute_script done [16:54:02]execute_script returns [16:54:02]free content buf [16:54:02]Sock 9.Close socket [16:54:02]Sock 9.Thread stoped [16:54:02]OFD Sender: No OFD packet to send [16:54:07]OFD Sender: No OFD packet to send [16:54:12]OFD Sender: No OFD packet to send [16:54:17]OFD Sender: No OFD packet to send [16:54:23]OFD Sender: No OFD packet to send [16:54:28]OFD Sender: No OFD packet to send [16:54:33]OFD Sender: No OFD packet to send [16:54:38]OFD Sender: No OFD packet to send [16:54:43]OFD Sender: No OFD packet to send [16:54:48]OFD Sender: No OFD packet to send [16:54:53]OFD Sender: No OFD packet to send [16:54:58]OFD Sender: No OFD packet to send [16:55:03]OFD Sender: No OFD packet to send [16:55:08]OFD Sender: No OFD packet to send [16:55:13]OFD Sender: No OFD packet to send [16:55:18]OFD Sender: No OFD packet to send [16:55:23]OFD Sender: No OFD packet to send [16:55:28]OFD Sender: No OFD packet to send [16:55:33]OFD Sender: No OFD packet to send [16:55:38]OFD Sender: No OFD packet to send [16:55:43]OFD Sender: No OFD packet to send [16:55:48]OFD Sender: No OFD packet to send [16:55:53]OFD Sender: No OFD packet to send [16:55:58]OFD Sender: No OFD packet to send [16:56:03]OFD Sender: No OFD packet to send [16:56:08]OFD Sender: No OFD packet to send [16:56:13]OFD Sender: No OFD packet to send [16:56:18]OFD Sender: No OFD packet to send [16:56:23]OFD Sender: No OFD packet to send [16:56:28]OFD Sender: No OFD packet to send [16:56:33]OFD Sender: No OFD packet to send [16:56:38]OFD Sender: No OFD packet to send [16:56:43]OFD Sender: No OFD packet to send [16:56:48]OFD Sender: No OFD packet to send [16:56:53]OFD Sender: No OFD packet to send [16:56:58]OFD Sender: No OFD packet to send [16:57:03]OFD Sender: No OFD packet to send [16:57:08]OFD Sender: No OFD packet to send [16:57:13]OFD Sender: No OFD packet to send [16:57:18]OFD Sender: No OFD packet to send [16:57:23]OFD Sender: No OFD packet to send [16:57:28]OFD Sender: No OFD packet to send [16:57:33]OFD Sender: No OFD packet to send [16:57:38]OFD Sender: No OFD packet to send [16:57:43]OFD Sender: No OFD packet to send [16:57:44]accept exits with 7 [16:57:44]New connection [16:57:44]New thread 3066555748 created [16:57:44]Thread 3066699108 joined [16:57:44]Waiting for new connection... [16:57:44] Sock 7.Parse request [16:57:44]Sock 7.Check first char [16:57:44]Sock 7.First char is OK [16:57:44]request: POST /json_proto HTTP/1.0 [16:57:44]Method: POST [16:57:44]URL: /json_proto [16:57:44]Method is POST - this is cgi request [16:57:44]url: /json_proto [16:57:44]query_string will be loaded in cgi processing [16:57:44]execute_cgi json_proto POST (null) [16:57:44]execute_cgi path=json_proto method=POST [16:57:44]POST find Content-Length [16:57:44]Host: 172.17.53.68:8080 [16:57:44]Content-Length: 624 [16:57:44]Content-Type: application/json [16:57:44] [16:57:44]POST finish read [16:57:44]Found Content-Length = 624 [16:57:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76683", "tax_sys" : 0, "items" : [ { "code": "4700003610560", "name": "\u0412\u043E\u0434\u0430 \u042D\u043D\u0435\u0441\u0430\u0439 5\u043B.", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:57:44]execute_script... [16:57: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)76683", "tax_sys" : 0, "items" : [ { "code": "4700003610560", "name": "\u0412\u043E\u0434\u0430 \u042D\u043D\u0435\u0441\u0430\u0439 5\u043B.", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:57:44]POST & json_proto [16:57:44]process_json_proto [16:57:44]json parsed OK: [16:57:44]protocol is kg_v1.0 [16:57:44]action value=close_receipt [16:57:44]process_action close_receipt [16:57:44]cmd_close_receipt [16:57:44]MH_GetDate [16:57:44]Write to MH i2c: F0 00 00 01 23 13 [16:57:44]Write i2c OK [16:57:44]MH_I2C_Read... [16:57:44]Read from MH i2c: F0 [16:57:44]MH_I2C_Read... [16:57:44]Read from MH i2c: F0 09 00 [16:57:44]MH_I2C_Read... [16:57:44]Read from MH i2c: F0 09 00 01 23 00 91 36 15 67 C5 A4 76 66 A4 [16:57:44]GetLastDocTimeStamp 1729443248 [16:57:44]current date 1729443473 [16:57:44]FM_GetShiftState [16:57:44]SAM_PROTO_GetShiftState [16:57:44]wFMCommunicate request_size=4 [16:57:44]MH_SAM_APDU [16:57:44]CAPDU: 80 13 01 00 [16:57:44]Write to MH i2c: E2 08 00 02 23 80 13 01 00 00 00 00 00 A2 [16:57:44]Write i2c OK [16:57:44]MH_I2C_Read... [16:57:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:57:45]Read from MH i2c: E2 [16:57:45]MH_I2C_Read... [16:57:45]Read from MH i2c: E2 0E 00 [16:57:45]MH_I2C_Read... [16:57:45]Read from MH i2c: E2 0E 00 02 23 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 F7 [16:57:45]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [16:57:45]wFMCommunicate OK [16:57:45]SAM_PROTO_GetShiftState done [16:57:45]FM_GetShiftState done [16:57:45]opened in 1729383299 [16:57:45]opened+sec_in_day 1729469699 [16:57:45]quantity*price = 6000 [16:57:45]sum+1 = 6001 [16:57:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 ÐСП 1% : 0.53 ÐДС 12% : 6.37 Ðаличными: 60.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 52 20.10.2024 16:57 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37204 ФПД: 87601509904692 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T165753&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37204&fm=87601509904692&tin=02508201610067®Number=0000000000098149&sum=6000 0 [16:57:46]StoreToDocumentArchive [16:57:46]shift 461 fd 37204 [16:57:46]save to /storage/0461/doc_00037204 [16:57:46]save last doc name /storage/0461/doc_00037204 to /storage/kkm_last_doc_name [16:57:46]save OK [16:57:46]Clear old archive folders... [16:57:46]ProcessDocumentItem done err = 0, tmpTLVsize=268 [16:57:46]tlvbuf is 0097F650 [16:57:46]SAM_PROTO_ClearQueue [16:57:46]wFMCommunicate request_size=4 [16:57:46]MH_SAM_APDU [16:57:46]CAPDU: 80 09 00 00 [16:57:46]Write to MH i2c: E2 08 00 0F 23 80 09 00 00 00 00 00 00 A4 [16:57:46]Write i2c OK [16:57:46]MH_I2C_Read... [16:57:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:57:46]Read from MH i2c: E2 [16:57:46]MH_I2C_Read... [16:57:46]Read from MH i2c: E2 03 00 [16:57:46]MH_I2C_Read... [16:57:46]Read from MH i2c: E2 03 00 0F 23 00 90 00 A6 [16:57:46]RAPDU: 90 00 [16:57:46]wFMCommunicate OK [16:57:46]SAM_PROTO_ClearQueue done [16:57:46]KKMCreateOFDPacket [16:57:46]OFDProtocolAddRootSTLVToBuf [16:57:46]FM_MakeSignedData [16:57:46]FM_MakeSignedData [16:57:46]SAM_PROTO_SignData [16:57:46]wFMCommunicate request_size=4 [16:57:46]MH_SAM_APDU [16:57:46]CAPDU: 80 0D 01 02 [16:57:46]Write to MH i2c: E2 08 00 10 23 80 0D 01 02 00 00 00 00 AC [16:57:46]Write i2c OK [16:57:46]MH_I2C_Read... [16:57:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:57:46]Read from MH i2c: E2 [16:57:46]MH_I2C_Read... [16:57:46]Read from MH i2c: E2 03 00 [16:57:46]MH_I2C_Read... [16:57:46]Read from MH i2c: E2 03 00 10 23 00 90 00 A7 [16:57:46]RAPDU: 90 00 [16:57:46]wFMCommunicate OK [16:57:46]wFMCommunicate request_size=255 [16:57:46]MH_SAM_APDU [16:57:46]CAPDU: 80 0D 02 02 FA 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 37 30 30 30 30 33 36 31 30 35 36 30 06 04 1A 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AD D0 BD D0 B5 D1 81 D0 B0 D0 B9 20 35 D0 BB 2E 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 34 00 00 00 F4 03 04 00 91 36 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 [16:57:46]Write to MH i2c: E2 02 01 11 23 80 0D 02 02 FA 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 37 30 30 30 30 33 36 31 30 35 36 30 06 04 1A 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AD D0 BD D0 B5 D1 81 D0 B0 D0 B9 20 35 D0 BB 2E 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 34 00 00 00 F4 03 04 00 91 36 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 00 00 F6 [16:57:46]Write i2c OK [16:57:46]MH_I2C_Read... [16:57:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:57:46]Read from MH i2c: E2 [16:57:46]MH_I2C_Read... [16:57:46]Read from MH i2c: E2 03 00 [16:57:46]MH_I2C_Read... [16:57:46]Read from MH i2c: E2 03 00 11 23 00 90 00 A8 [16:57:46]RAPDU: 90 00 [16:57:46]wFMCommunicate OK [16:57:46]wFMCommunicate request_size=27 [16:57:46]MH_SAM_APDU [16:57:46]CAPDU: 80 0D 02 02 16 35 33 37 32 10 04 04 00 54 91 00 00 35 04 06 00 4F AC 50 E1 31 34 [16:57:46]Write to MH i2c: E2 1E 00 12 23 80 0D 02 02 16 00 35 33 37 32 10 04 04 00 54 91 00 00 35 04 06 00 4F AC 50 E1 31 34 00 00 79 [16:57:46]Write i2c OK [16:57:46]MH_I2C_Read... [16:57:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:57:46]Read from MH i2c: E2 [16:57:46]MH_I2C_Read... [16:57:46]Read from MH i2c: E2 03 00 [16:57:46]MH_I2C_Read... [16:57:46]Read from MH i2c: E2 03 00 12 23 00 90 00 A9 [16:57:46]RAPDU: 90 00 [16:57:46]wFMCommunicate OK [16:57:46]wFMCommunicate request_size=4 [16:57:46]MH_SAM_APDU [16:57:46]CAPDU: 80 0D 03 02 [16:57:46]Write to MH i2c: E2 08 00 13 23 80 0D 03 02 00 00 00 00 B1 [16:57:46]Write i2c OK [16:57:46]MH_I2C_Read... [16:57:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:57:46]Read from MH i2c: E2 [16:57:46]MH_I2C_Read... [16:57:46]Read from MH i2c: E2 0B 00 [16:57:46]MH_I2C_Read... [16:57:46]Read from MH i2c: E2 0B 00 13 23 00 FF 91 61 1E 1C 0F AA 9A 90 00 30 [16:57:46]RAPDU: FF 91 61 1E 1C 0F AA 9A 90 00 [16:57:46]wFMCommunicate OK [16:57:46]SAM_PROTO_SignData done [16:57:46]FM_MakeSignedData done [16:57:46]CreateOFDProtocolMessage [16:57:46]wFMCommunicate request_size=4 [16:57:46]MH_SAM_APDU [16:57:46]CAPDU: 80 11 00 00 [16:57:46]Write to MH i2c: E2 08 00 14 23 80 11 00 00 00 00 00 00 B1 [16:57:46]Write i2c OK [16:57:46]MH_I2C_Read... [16:57:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:57:46]Read from MH i2c: E2 [16:57:46]MH_I2C_Read... [16:57:46]Read from MH i2c: E2 17 00 [16:57:46]MH_I2C_Read... [16:57:46]Read from MH i2c: E2 17 00 14 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 04 [16:57:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [16:57:46]wFMCommunicate OK [16:57:46]CreateOFDProtocolMessage done [16:57:46]OFDSenderStorePacket 37204 [16:57:46]StoreOFDPacket docnum=37204 [16:57:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 20 01 00 00 C7 FA 18 01 4F DC 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 37 30 30 30 30 33 36 31 30 35 36 30 06 04 1A 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AD D0 BD D0 B5 D1 81 D0 B0 D0 B9 20 35 D0 BB 2E 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 34 00 00 00 F4 03 04 00 91 36 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 54 91 00 00 35 04 06 00 4F AC 50 E1 31 34 FF 91 61 1E 1C 0F AA 9A [16:57:46]CheckFolder [16:57:46]dirname=/storage/ofd_packets [16:57:46]CheckFolder done [16:57:46]ProducePacketName [16:57:46]name=ofd_packets/00037204 [16:57:46]NVStorageSaveData ofd_packets/00037204 [16:57:46]File name is /storage/ofd_packets/00037204 [16:57:46]Write 318 bytes [16:57:46]NVStorageSaveData done [16:57:46]OFDSenderStorePacket done [16:57:46]KKMCreateOFDPacket done [16:57:46]NVStorageSaveData kkm_last_timestamp [16:57:46]File name is /storage/kkm_last_timestamp [16:57:46]Write 4 bytes [16:57:46]NVStorageSaveData done [16:57:46]ExternCall_PrintAddStr [16:57:46]wPrintStart [16:57:46]Write to MH i2c: 01 00 00 15 23 38 [16:57:46]Write i2c OK [16:57:46]MH_I2C_Read... [16:57:46]Read from MH i2c: 01 [16:57:46]MH_I2C_Read... [16:57:46]Read from MH i2c: 01 07 00 [16:57:46]MH_I2C_Read... [16:57:46]Read from MH i2c: 01 07 00 15 23 00 00 00 00 00 FF 0F 4D [16:57:46]RasterBufferAndPrint [16:57:46]line Счет N : (3)76683 [16:57:46]line ИÐÐ: 02508201610067 [16:57:46]line Контрольно-КаÑÑовый Чек [16:57:46]line ПРОДÐЖР[16:57:46]line Товар: 4700003610560 [16:57:46]line Вода ЭнеÑай 5л. [16:57:46]line 1.000 * 60.00 [16:57:46]line = 60.00 [16:57:46]line ÐДС 12% ÐСП 1% [16:57:46]line > о реализуемом товаре [16:57:46]line ИТОГО: 60.00 [16:57:46]line ÐСП 1% : 0.53 [16:57:46]line ÐДС 12% : 6.37 [16:57:46]line Ðаличными: 60.00 [16:57:46]line Безнал.: 0.00 [16:57:46]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [16:57:46]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [16:57:46]line СÐО: Общий режим [16:57:46]line Чек 52 20.10.2024 16:57 [16:57:46]line Смена: 461 ФФД: 1.0 [16:57:46]line ЗÐМ: 0300000235 [16:57:46]line РÐМ: 0000000000098149 [16:57:46]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [16:57:46]line ФМ: 0000000000965372 [16:57:46]line ФД: 37204 [16:57:46]line ФПД: 87601509904692 [16:57:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T165753&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37204&fm=87601509904692&tin=02508201610067®Number=0000000000098149&sum=6000 [16:57:46]line 0 [16:57:46]written 0, free lines is 4095 [16:57:46]OFD Sender: Processing packet 37204 [packets to send 25, broken 24] [16:57:46]ProducePacketName [16:57:46]name=ofd_packets/00037204 [16:57:46]OFD Sender: To server: ‡•öpG, [16:57:46]CommunicateWithHost lk.salyk.kg:30040 [16:57:46]ConnectInit lk.salyk.kg [16:57:46]Connected sock=10 [16:57: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 33 37 32 20 01 00 00 C7 FA 18 01 4F DC 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 37 30 30 30 30 33 36 31 30 35 36 30 06 04 1A 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AD D0 BD D0 B5 D1 81 D0 B0 D0 B9 20 35 D0 BB 2E 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 34 00 00 00 F4 03 04 00 91 36 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 54 91 00 00 35 04 06 00 4F AC 50 E1 31 34 FF 91 61 1E 1C 0F AA 9A [16:57:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 6B 51 47 00 34 BA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 54 91 00 00 F4 03 04 00 22 DF 14 67 B6 04 01 00 00 68 E0 82 A4 86 02 3C F8 [16:57:46]CommunicateWithHost err = 0 [16:57:46]CheckOFDResponse [16:57:46]1017 (14) - 77093643461234 [16:57:46]1041 (16) - 0000000000965372 [16:57:46]1040 (4) - 37204 [16:57:46]1012 (4) - 20.10.2024 10:44 [16:57:46]1206 (1) - 0 [16:57:46]OFD Sender: Remove packet 37204 [16:57:46]ProducePacketName [16:57:46]name=ofd_packets/00037204 [16:57:46]NVStorageDeleteData [16:57:47]Write to MH i2c: 01 00 00 3D 23 60 [16:57:47]Write i2c OK [16:57:47]MH_I2C_Read... [16:57:47]Read from MH i2c: 01 [16:57:47]MH_I2C_Read... [16:57:47]Read from MH i2c: 01 07 00 [16:57:47]MH_I2C_Read... [16:57:47]Read from MH i2c: 01 07 00 3D 23 00 00 00 00 00 10 0D 84 [16:57:47]RasterBufferAndPrint [16:57:47]line [16:57:47]line [16:57:47]line [16:57:47]line [16:57:47]line [16:57:47]written 0, free lines is 3354 [16:57:47]process_action close_receipt done [16:57:47]requested_data is exist [16:57:47]produce_requested_data [16:57:47]requested_item fm.sn is exist - process it [16:57:47]wFMCommunicate request_size=4 [16:57:47]MH_SAM_APDU [16:57:47]CAPDU: 80 11 00 00 [16:57:47]Write to MH i2c: E2 08 00 44 23 80 11 00 00 00 00 00 00 E1 [16:57:47]Write i2c OK [16:57:47]MH_I2C_Read... [16:57:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:57:47]Read from MH i2c: E2 [16:57:47]MH_I2C_Read... [16:57:47]Read from MH i2c: E2 17 00 [16:57:47]MH_I2C_Read... [16:57:47]Read from MH i2c: E2 17 00 44 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 34 [16:57:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [16:57:47]wFMCommunicate OK [16:57:47]requested_item fd.num is exist - process it [16:57:47]SAM_PROTO_GetFieldsCounters [16:57:47]wFMCommunicate request_size=4 [16:57:47]MH_SAM_APDU [16:57:47]CAPDU: 80 13 00 00 [16:57:47]Write to MH i2c: E2 08 00 45 23 80 13 00 00 00 00 00 00 E4 [16:57:47]Write i2c OK [16:57:47]MH_I2C_Read... [16:57:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:57:47]Read from MH i2c: E2 [16:57:47]MH_I2C_Read... [16:57:47]Read from MH i2c: E2 62 00 [16:57:47]MH_I2C_Read... [16:57:47]Read from MH i2c: E2 62 00 45 23 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 54 91 00 00 0E 04 04 00 CD 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 5A [16: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 54 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:57:47]wFMCommunicate OK [16:57:47]SAM_PROTO_GetFieldsCounters done [16:57:47]requested_item shift.num is exist - process it [16:57:47]requested_item shift.opened is exist - process it [16:57:47]req_shift_opened [16:57:47]FM_GetShiftState [16:57:47]SAM_PROTO_GetShiftState [16:57:47]wFMCommunicate request_size=4 [16:57:47]MH_SAM_APDU [16:57:47]CAPDU: 80 13 01 00 [16:57:47]Write to MH i2c: E2 08 00 46 23 80 13 01 00 00 00 00 00 E6 [16:57:47]Write i2c OK [16:57:47]MH_I2C_Read... [16:57:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:57:47]Read from MH i2c: E2 [16:57:47]MH_I2C_Read... [16:57:47]Read from MH i2c: E2 0E 00 [16:57:47]MH_I2C_Read... [16:57:47]Read from MH i2c: E2 0E 00 46 23 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 3B [16:57:47]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [16:57:47]wFMCommunicate OK [16:57:47]SAM_PROTO_GetShiftState done [16:57:47]FM_GetShiftState done [16:57:47]req_shift_opened done [16:57:47]requested_item shift.open_date is exist - process it [16:57:47]req_shift_open_date [16:57:47]req_shift_open_date done [16:57:47]produce_requested_data done [16:57:47]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37204,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [16:57:47]process_action_free close_receipt [16:57:47]json_value_free [16:57:47]json_value_free done [16:57:47]process_json_proto returns [16:57:47]Send response to host [16:57:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37204,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [16:57:47]free response buf [16:57:47]execute_script done [16:57:47]execute_script returns [16:57:47]free content buf [16:57:47]Sock 7.Close socket [16:57:47]Sock 7.Thread stoped [16:57:47]OFD Sender: No OFD packet to send [16:57:52]OFD Sender: No OFD packet to send [16:57:57]OFD Sender: No OFD packet to send [16:58:02]OFD Sender: No OFD packet to send [16:58:07]OFD Sender: No OFD packet to send [16:58:12]OFD Sender: No OFD packet to send [16:58:17]OFD Sender: No OFD packet to send [16:58:22]OFD Sender: No OFD packet to send [16:58:27]OFD Sender: No OFD packet to send [16:58:32]OFD Sender: No OFD packet to send [16:58:37]OFD Sender: No OFD packet to send [16:58:42]OFD Sender: No OFD packet to send [16:58:47]OFD Sender: No OFD packet to send [16:58:50]accept exits with 9 [16:58:50]New connection [16:58:50]New thread 3066699108 created [16:58:50]Thread 3066555748 joined [16:58:50]Waiting for new connection... [16:58:50] Sock 9.Parse request [16:58:50]Sock 9.Check first char [16:58:50]Sock 9.First char is OK [16:58:50]request: POST /json_proto HTTP/1.0 [16:58:50]Method: POST [16:58:50]URL: /json_proto [16:58:50]Method is POST - this is cgi request [16:58:50]url: /json_proto [16:58:50]query_string will be loaded in cgi processing [16:58:50]execute_cgi json_proto POST (null) [16:58:50]execute_cgi path=json_proto method=POST [16:58:50]POST find Content-Length [16:58:50]Host: 172.17.53.68:8080 [16:58:50]Content-Length: 567 [16:58:50]Content-Type: application/json [16:58:50] [16:58:50]POST finish read [16:58:50]Found Content-Length = 567 [16:58:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76684", "tax_sys" : 0, "items" : [ { "code": "48744539", "name": "LD Compact Blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:58:50]execute_script... [16:58: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)76684", "tax_sys" : 0, "items" : [ { "code": "48744539", "name": "LD Compact Blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:58:50]POST & json_proto [16:58:50]process_json_proto [16:58:50]json parsed OK: [16:58:50]protocol is kg_v1.0 [16:58:50]action value=close_receipt [16:58:50]process_action close_receipt [16:58:50]cmd_close_receipt [16:58:50]MH_GetDate [16:58:50]Write to MH i2c: F0 00 00 47 23 59 [16:58:50]Write i2c OK [16:58:50]MH_I2C_Read... [16:58:50]Read from MH i2c: F0 [16:58:50]MH_I2C_Read... [16:58:50]Read from MH i2c: F0 09 00 [16:58:50]MH_I2C_Read... [16:58:50]Read from MH i2c: F0 09 00 47 23 00 D3 36 15 67 C5 A4 76 66 2C [16:58:50]GetLastDocTimeStamp 1729443473 [16:58:50]current date 1729443539 [16:58:50]FM_GetShiftState [16:58:50]SAM_PROTO_GetShiftState [16:58:50]wFMCommunicate request_size=4 [16:58:50]MH_SAM_APDU [16:58:50]CAPDU: 80 13 01 00 [16:58:50]Write to MH i2c: E2 08 00 48 23 80 13 01 00 00 00 00 00 E8 [16:58:50]Write i2c OK [16:58:50]MH_I2C_Read... [16:58:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:58:50]Read from MH i2c: E2 [16:58:50]MH_I2C_Read... [16:58:50]Read from MH i2c: E2 0E 00 [16:58:50]MH_I2C_Read... [16:58:50]Read from MH i2c: E2 0E 00 48 23 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 3D [16:58:50]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [16:58:50]wFMCommunicate OK [16:58:50]SAM_PROTO_GetShiftState done [16:58:50]FM_GetShiftState done [16:58:50]opened in 1729383299 [16:58:50]opened+sec_in_day 1729469699 [16:58:50]quantity*price = 13400 [16:58:50]sum+1 = 13401 [16:58:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 134.00 ÐСП 1% : 1.19 ÐДС 12% : 14.23 Ðаличными: 134.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 53 20.10.2024 16:58 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37205 ФПД: 51216915773816 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T165859&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37205&fm=51216915773816&tin=02508201610067®Number=0000000000098149&sum=13400 0 [16:58:51]StoreToDocumentArchive [16:58:51]shift 461 fd 37205 [16:58:51]save to /storage/0461/doc_00037205 [16:58:51]save last doc name /storage/0461/doc_00037205 to /storage/kkm_last_doc_name [16:58:51]save OK [16:58:51]Clear old archive folders... [16:58:51]ProcessDocumentItem done err = 0, tmpTLVsize=252 [16:58:51]tlvbuf is 00993590 [16:58:51]SAM_PROTO_ClearQueue [16:58:51]wFMCommunicate request_size=4 [16:58:51]MH_SAM_APDU [16:58:51]CAPDU: 80 09 00 00 [16:58:51]Write to MH i2c: E2 08 00 55 23 80 09 00 00 00 00 00 00 EA [16:58:51]Write i2c OK [16:58:51]MH_I2C_Read... [16:58:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:58:51]Read from MH i2c: E2 [16:58:51]MH_I2C_Read... [16:58:51]Read from MH i2c: E2 03 00 [16:58:51]MH_I2C_Read... [16:58:51]Read from MH i2c: E2 03 00 55 23 00 90 00 EC [16:58:51]RAPDU: 90 00 [16:58:51]wFMCommunicate OK [16:58:51]SAM_PROTO_ClearQueue done [16:58:51]KKMCreateOFDPacket [16:58:51]OFDProtocolAddRootSTLVToBuf [16:58:51]FM_MakeSignedData [16:58:51]FM_MakeSignedData [16:58:51]SAM_PROTO_SignData [16:58:51]wFMCommunicate request_size=4 [16:58:51]MH_SAM_APDU [16:58:51]CAPDU: 80 0D 01 02 [16:58:51]Write to MH i2c: E2 08 00 56 23 80 0D 01 02 00 00 00 00 F2 [16:58:51]Write i2c OK [16:58:51]MH_I2C_Read... [16:58:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:58:51]Read from MH i2c: E2 [16:58:51]MH_I2C_Read... [16:58:51]Read from MH i2c: E2 03 00 [16:58:51]MH_I2C_Read... [16:58:51]Read from MH i2c: E2 03 00 56 23 00 90 00 ED [16:58:51]RAPDU: 90 00 [16:58:51]wFMCommunicate OK [16:58:51]wFMCommunicate request_size=255 [16:58:51]MH_SAM_APDU [16:58:51]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 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 8F 05 00 00 00 00 07 04 06 00 58 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 35 00 00 00 F4 03 04 00 D3 36 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 55 91 00 00 35 04 06 00 [16:58:52]Write to MH i2c: E2 02 01 57 23 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 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 8F 05 00 00 00 00 07 04 06 00 58 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 35 00 00 00 F4 03 04 00 D3 36 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 55 91 00 00 35 04 06 00 00 00 F6 [16:58:52]Write i2c OK [16:58:52]MH_I2C_Read... [16:58:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:58:52]Read from MH i2c: E2 [16:58:52]MH_I2C_Read... [16:58:52]Read from MH i2c: E2 03 00 [16:58:52]MH_I2C_Read... [16:58:52]Read from MH i2c: E2 03 00 57 23 00 90 00 EE [16:58:52]RAPDU: 90 00 [16:58:52]wFMCommunicate OK [16:58:52]wFMCommunicate request_size=11 [16:58:52]MH_SAM_APDU [16:58:52]CAPDU: 80 0D 02 02 06 2E 94 DE 12 39 78 [16:58:52]Write to MH i2c: E2 0E 00 58 23 80 0D 02 02 06 00 2E 94 DE 12 39 78 00 00 64 [16:58:52]Write i2c OK [16:58:52]MH_I2C_Read... [16:58:52]OFD Sender: No OFD packet to send [16:58:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:58:52]Read from MH i2c: E2 [16:58:52]MH_I2C_Read... [16:58:52]Read from MH i2c: E2 03 00 [16:58:52]MH_I2C_Read... [16:58:52]Read from MH i2c: E2 03 00 58 23 00 90 00 EF [16:58:52]RAPDU: 90 00 [16:58:52]wFMCommunicate OK [16:58:52]wFMCommunicate request_size=4 [16:58:52]MH_SAM_APDU [16:58:52]CAPDU: 80 0D 03 02 [16:58:52]Write to MH i2c: E2 08 00 59 23 80 0D 03 02 00 00 00 00 F7 [16:58:52]Write i2c OK [16:58:52]MH_I2C_Read... [16:58:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:58:52]Read from MH i2c: E2 [16:58:52]MH_I2C_Read... [16:58:52]Read from MH i2c: E2 0B 00 [16:58:52]MH_I2C_Read... [16:58:52]Read from MH i2c: E2 0B 00 59 23 00 65 32 13 63 A7 70 4A EC 90 00 52 [16:58:52]RAPDU: 65 32 13 63 A7 70 4A EC 90 00 [16:58:52]wFMCommunicate OK [16:58:52]SAM_PROTO_SignData done [16:58:52]FM_MakeSignedData done [16:58:52]CreateOFDProtocolMessage [16:58:52]wFMCommunicate request_size=4 [16:58:52]MH_SAM_APDU [16:58:52]CAPDU: 80 11 00 00 [16:58:52]Write to MH i2c: E2 08 00 5A 23 80 11 00 00 00 00 00 00 F7 [16:58:52]Write i2c OK [16:58:52]MH_I2C_Read... [16:58:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:58:52]Read from MH i2c: E2 [16:58:52]MH_I2C_Read... [16:58:52]Read from MH i2c: E2 17 00 [16:58:52]MH_I2C_Read... [16:58:52]Read from MH i2c: E2 17 00 5A 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 4A [16:58:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [16:58:52]wFMCommunicate OK [16:58:52]CreateOFDProtocolMessage done [16:58:52]OFDSenderStorePacket 37205 [16:58:52]StoreOFDPacket docnum=37205 [16:58:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 01 00 00 E3 99 08 01 38 B8 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 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 8F 05 00 00 00 00 07 04 06 00 58 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 35 00 00 00 F4 03 04 00 D3 36 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 55 91 00 00 35 04 06 00 2E 94 DE 12 39 78 65 32 13 63 A7 70 4A EC [16:58:52]CheckFolder [16:58:52]dirname=/storage/ofd_packets [16:58:52]CheckFolder done [16:58:52]ProducePacketName [16:58:52]name=ofd_packets/00037205 [16:58:52]NVStorageSaveData ofd_packets/00037205 [16:58:52]File name is /storage/ofd_packets/00037205 [16:58:52]Write 302 bytes [16:58:52]NVStorageSaveData done [16:58:52]OFDSenderStorePacket done [16:58:52]KKMCreateOFDPacket done [16:58:52]NVStorageSaveData kkm_last_timestamp [16:58:52]File name is /storage/kkm_last_timestamp [16:58:52]Write 4 bytes [16:58:52]NVStorageSaveData done [16:58:52]ExternCall_PrintAddStr [16:58:52]wPrintStart [16:58:52]Write to MH i2c: 01 00 00 5B 23 7E [16:58:52]Write i2c OK [16:58:52]MH_I2C_Read... [16:58:52]Read from MH i2c: 01 [16:58:52]MH_I2C_Read... [16:58:52]Read from MH i2c: 01 07 00 [16:58:52]MH_I2C_Read... [16:58:52]Read from MH i2c: 01 07 00 5B 23 00 00 00 00 00 FF 0F 93 [16:58:52]RasterBufferAndPrint [16:58:52]line Счет N : (3)76684 [16:58:52]line ИÐÐ: 02508201610067 [16:58:52]line Контрольно-КаÑÑовый Чек [16:58:52]line ПРОДÐЖР[16:58:52]line Товар: 48744539 [16:58:52]line LD Compact Blue [16:58:52]line 1.000 * 134.00 [16:58:52]line = 134.00 [16:58:52]line ÐДС 12% ÐСП 1% [16:58:52]line > о реализуемом товаре [16:58:52]line ИТОГО: 134.00 [16:58:52]line ÐСП 1% : 1.19 [16:58:52]line ÐДС 12% : 14.23 [16:58:52]line Ðаличными: 134.00 [16:58:52]line Безнал.: 0.00 [16:58:52]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [16:58:52]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [16:58:52]line СÐО: Общий режим [16:58:52]line Чек 53 20.10.2024 16:58 [16:58:52]line Смена: 461 ФФД: 1.0 [16:58:52]line ЗÐМ: 0300000235 [16:58:52]line РÐМ: 0000000000098149 [16:58:52]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [16:58:52]line ФМ: 0000000000965372 [16:58:52]line ФД: 37205 [16:58:52]line ФПД: 51216915773816 [16:58:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T165859&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37205&fm=51216915773816&tin=02508201610067®Number=0000000000098149&sum=13400 [16:58:52]line 0 [16:58:52]written 0, free lines is 4095 [16:58:52]OFD Sender: Processing packet 37205 [packets to send 25, broken 24] [16:58:52]ProducePacketName [16:58:52]name=ofd_packets/00037205 [16:58:52]OFD Sender: To server: ‡•öpG, [16:58:52]CommunicateWithHost lk.salyk.kg:30040 [16:58:52]ConnectInit lk.salyk.kg [16:58:52]Connected sock=10 [16:58: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 33 37 32 10 01 00 00 E3 99 08 01 38 B8 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 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 8F 05 00 00 00 00 07 04 06 00 58 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 35 00 00 00 F4 03 04 00 D3 36 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 55 91 00 00 35 04 06 00 2E 94 DE 12 39 78 65 32 13 63 A7 70 4A EC [16:58:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 95 C9 47 00 72 03 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 55 91 00 00 F4 03 04 00 64 DF 14 67 B6 04 01 00 00 E5 A6 9D 59 38 59 BC CA [16:58:52]CommunicateWithHost err = 0 [16:58:52]CheckOFDResponse [16:58:52]1017 (14) - 77093643461234 [16:58:52]1041 (16) - 0000000000965372 [16:58:52]1040 (4) - 37205 [16:58:52]1012 (4) - 20.10.2024 10:45 [16:58:52]1206 (1) - 0 [16:58:52]OFD Sender: Remove packet 37205 [16:58:52]ProducePacketName [16:58:52]name=ofd_packets/00037205 [16:58:52]NVStorageDeleteData [16:58:53]Write to MH i2c: 01 00 00 83 23 A6 [16:58:53]Write i2c OK [16:58:53]MH_I2C_Read... [16:58:53]Read from MH i2c: 01 [16:58:53]MH_I2C_Read... [16:58:53]Read from MH i2c: 01 07 00 [16:58:53]MH_I2C_Read... [16:58:53]Read from MH i2c: 01 07 00 83 23 00 00 00 00 00 0F 0D C9 [16:58:53]RasterBufferAndPrint [16:58:53]line [16:58:53]line [16:58:53]line [16:58:53]line [16:58:53]line [16:58:53]written 0, free lines is 3349 [16:58:53]process_action close_receipt done [16:58:53]requested_data is exist [16:58:53]produce_requested_data [16:58:53]requested_item fm.sn is exist - process it [16:58:53]wFMCommunicate request_size=4 [16:58:53]MH_SAM_APDU [16:58:53]CAPDU: 80 11 00 00 [16:58:53]Write to MH i2c: E2 08 00 8A 23 80 11 00 00 00 00 00 00 27 [16:58:53]Write i2c OK [16:58:53]MH_I2C_Read... [16:58:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:58:53]Read from MH i2c: E2 [16:58:53]MH_I2C_Read... [16:58:53]Read from MH i2c: E2 17 00 [16:58:53]MH_I2C_Read... [16:58:53]Read from MH i2c: E2 17 00 8A 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 7A [16:58:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [16:58:53]wFMCommunicate OK [16:58:53]requested_item fd.num is exist - process it [16:58:53]SAM_PROTO_GetFieldsCounters [16:58:53]wFMCommunicate request_size=4 [16:58:53]MH_SAM_APDU [16:58:53]CAPDU: 80 13 00 00 [16:58:53]Write to MH i2c: E2 08 00 8B 23 80 13 00 00 00 00 00 00 2A [16:58:53]Write i2c OK [16:58:53]MH_I2C_Read... [16:58:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:58:53]Read from MH i2c: E2 [16:58:53]MH_I2C_Read... [16:58:53]Read from MH i2c: E2 62 00 [16:58:53]MH_I2C_Read... [16:58:53]Read from MH i2c: E2 62 00 8B 23 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 55 91 00 00 0E 04 04 00 CD 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 A4 [16:58: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 55 91 00 00 0E 04 04 00 CD 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 [16:58:53]wFMCommunicate OK [16:58:53]SAM_PROTO_GetFieldsCounters done [16:58:53]requested_item shift.num is exist - process it [16:58:53]requested_item shift.opened is exist - process it [16:58:53]req_shift_opened [16:58:53]FM_GetShiftState [16:58:53]SAM_PROTO_GetShiftState [16:58:53]wFMCommunicate request_size=4 [16:58:53]MH_SAM_APDU [16:58:53]CAPDU: 80 13 01 00 [16:58:53]Write to MH i2c: E2 08 00 8C 23 80 13 01 00 00 00 00 00 2C [16:58:53]Write i2c OK [16:58:53]MH_I2C_Read... [16:58:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:58:53]Read from MH i2c: E2 [16:58:53]MH_I2C_Read... [16:58:53]Read from MH i2c: E2 0E 00 [16:58:53]MH_I2C_Read... [16:58:53]Read from MH i2c: E2 0E 00 8C 23 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 81 [16:58:53]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [16:58:53]wFMCommunicate OK [16:58:53]SAM_PROTO_GetShiftState done [16:58:53]FM_GetShiftState done [16:58:53]req_shift_opened done [16:58:53]requested_item shift.open_date is exist - process it [16:58:53]req_shift_open_date [16:58:53]req_shift_open_date done [16:58:53]produce_requested_data done [16:58:53]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37205,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [16:58:53]process_action_free close_receipt [16:58:53]json_value_free [16:58:53]json_value_free done [16:58:53]process_json_proto returns [16:58:53]Send response to host [16:58:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37205,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [16:58:53]free response buf [16:58:53]execute_script done [16:58:53]execute_script returns [16:58:53]free content buf [16:58:53]Sock 9.Close socket [16:58:53]Sock 9.Thread stoped [16:58:53]OFD Sender: No OFD packet to send [16:58:58]OFD Sender: No OFD packet to send [16:59:03]OFD Sender: No OFD packet to send [16:59:08]OFD Sender: No OFD packet to send [16:59:13]OFD Sender: No OFD packet to send [16:59:18]OFD Sender: No OFD packet to send [16:59:23]OFD Sender: No OFD packet to send [16:59:28]OFD Sender: No OFD packet to send [16:59:33]OFD Sender: No OFD packet to send [16:59:38]OFD Sender: No OFD packet to send [16:59:43]OFD Sender: No OFD packet to send [16:59:48]OFD Sender: No OFD packet to send [16:59:53]OFD Sender: No OFD packet to send [16:59:58]OFD Sender: No OFD packet to send [17:00:03]OFD Sender: No OFD packet to send [17:00:08]OFD Sender: No OFD packet to send [17:00:13]OFD Sender: No OFD packet to send [17:00:18]OFD Sender: No OFD packet to send [17:00:23]OFD Sender: No OFD packet to send [17:00:28]OFD Sender: No OFD packet to send [17:00:33]OFD Sender: No OFD packet to send [17:00:38]OFD Sender: No OFD packet to send [17:00:43]OFD Sender: No OFD packet to send [17:00:48]OFD Sender: No OFD packet to send [17:00:53]OFD Sender: No OFD packet to send [17:00:58]OFD Sender: No OFD packet to send [17:01:03]OFD Sender: No OFD packet to send [17:01:08]OFD Sender: No OFD packet to send [17:01:13]OFD Sender: No OFD packet to send [17:01:18]OFD Sender: No OFD packet to send [17:01:23]OFD Sender: No OFD packet to send [17:01:28]OFD Sender: No OFD packet to send [17:01:33]OFD Sender: No OFD packet to send [17:01:38]OFD Sender: No OFD packet to send [17:01:43]OFD Sender: No OFD packet to send [17:01:48]OFD Sender: No OFD packet to send [17:01:53]OFD Sender: No OFD packet to send [17:01:58]OFD Sender: No OFD packet to send [17:02:03]OFD Sender: No OFD packet to send [17:02:08]OFD Sender: No OFD packet to send [17:02:13]OFD Sender: No OFD packet to send [17:02:18]OFD Sender: No OFD packet to send [17:02:23]OFD Sender: No OFD packet to send [17:02:28]OFD Sender: No OFD packet to send [17:02:33]OFD Sender: No OFD packet to send [17:02:38]OFD Sender: No OFD packet to send [17:02:43]OFD Sender: No OFD packet to send [17:02:48]OFD Sender: No OFD packet to send [17:02:53]OFD Sender: No OFD packet to send [17:02:58]OFD Sender: No OFD packet to send [17:03:03]OFD Sender: No OFD packet to send [17:03:08]OFD Sender: No OFD packet to send [17:03:13]OFD Sender: No OFD packet to send [17:03:18]OFD Sender: No OFD packet to send [17:03:23]OFD Sender: No OFD packet to send [17:03:28]OFD Sender: No OFD packet to send [17:03:33]OFD Sender: No OFD packet to send [17:03:38]OFD Sender: No OFD packet to send [17:03:43]OFD Sender: No OFD packet to send [17:03:48]OFD Sender: No OFD packet to send [17:03:53]OFD Sender: No OFD packet to send [17:03:58]OFD Sender: No OFD packet to send [17:04:03]OFD Sender: No OFD packet to send [17:04:08]OFD Sender: No OFD packet to send [17:04:13]OFD Sender: No OFD packet to send [17:04:18]OFD Sender: No OFD packet to send [17:04:23]OFD Sender: No OFD packet to send [17:04:28]OFD Sender: No OFD packet to send [17:04:30]accept exits with 7 [17:04:30]New connection [17:04:30]New thread 3066555748 created [17:04:30]Thread 3066699108 joined [17:04:30]Waiting for new connection... [17:04:30] Sock 7.Parse request [17:04:30]Sock 7.Check first char [17:04:30]Sock 7.First char is OK [17:04:30]request: POST /json_proto HTTP/1.0 [17:04:30]Method: POST [17:04:30]URL: /json_proto [17:04:30]Method is POST - this is cgi request [17:04:30]url: /json_proto [17:04:30]query_string will be loaded in cgi processing [17:04:30]execute_cgi json_proto POST (null) [17:04:30]execute_cgi path=json_proto method=POST [17:04:30]POST find Content-Length [17:04:30]Host: 172.17.53.68:8080 [17:04:30]Content-Length: 618 [17:04:30]Content-Type: application/json [17:04:30] [17:04:30]POST finish read [17:04:30]Found Content-Length = 618 [17:04:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76685", "tax_sys" : 0, "items" : [ { "code": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:04:30]execute_script... [17:04: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)76685", "tax_sys" : 0, "items" : [ { "code": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:04:30]POST & json_proto [17:04:30]process_json_proto [17:04:30]json parsed OK: [17:04:30]protocol is kg_v1.0 [17:04:30]action value=close_receipt [17:04:30]process_action close_receipt [17:04:30]cmd_close_receipt [17:04:30]MH_GetDate [17:04:30]Write to MH i2c: F0 00 00 8D 23 9F [17:04:30]Write i2c OK [17:04:30]MH_I2C_Read... [17:04:30]Read from MH i2c: F0 [17:04:30]MH_I2C_Read... [17:04:30]Read from MH i2c: F0 09 00 [17:04:30]MH_I2C_Read... [17:04:30]Read from MH i2c: F0 09 00 8D 23 00 27 38 15 67 C5 A4 76 66 C8 [17:04:30]GetLastDocTimeStamp 1729443539 [17:04:30]current date 1729443879 [17:04:30]FM_GetShiftState [17:04:30]SAM_PROTO_GetShiftState [17:04:30]wFMCommunicate request_size=4 [17:04:30]MH_SAM_APDU [17:04:30]CAPDU: 80 13 01 00 [17:04:30]Write to MH i2c: E2 08 00 8E 23 80 13 01 00 00 00 00 00 2E [17:04:30]Write i2c OK [17:04:30]MH_I2C_Read... [17:04:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:04:30]Read from MH i2c: E2 [17:04:30]MH_I2C_Read... [17:04:30]Read from MH i2c: E2 0E 00 [17:04:30]MH_I2C_Read... [17:04:30]Read from MH i2c: E2 0E 00 8E 23 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 83 [17:04:30]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [17:04:30]wFMCommunicate OK [17:04:30]SAM_PROTO_GetShiftState done [17:04:30]FM_GetShiftState done [17:04:30]opened in 1729383299 [17:04:30]opened+sec_in_day 1729469699 [17:04:30]quantity*price = 14400 [17:04:30]sum+1 = 14401 [17:04:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 ÐСП 1% : 1.27 ÐДС 12% : 15.29 Ðаличными: 144.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 54 20.10.2024 17:04 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37206 ФПД: 201719482507669 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T170439&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37206&fm=201719482507669&tin=02508201610067®Number=0000000000098149&sum=14400 0 [17:04:31]StoreToDocumentArchive [17:04:31]shift 461 fd 37206 [17:04:31]save to /storage/0461/doc_00037206 [17:04:31]save last doc name /storage/0461/doc_00037206 to /storage/kkm_last_doc_name [17:04:31]save OK [17:04:31]Clear old archive folders... [17:04:31]ProcessDocumentItem done err = 0, tmpTLVsize=271 [17:04:31]tlvbuf is 0099BA90 [17:04:31]SAM_PROTO_ClearQueue [17:04:31]wFMCommunicate request_size=4 [17:04:31]MH_SAM_APDU [17:04:31]CAPDU: 80 09 00 00 [17:04:31]Write to MH i2c: E2 08 00 9B 23 80 09 00 00 00 00 00 00 30 [17:04:31]Write i2c OK [17:04:31]MH_I2C_Read... [17:04:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:04:32]Read from MH i2c: E2 [17:04:32]MH_I2C_Read... [17:04:32]Read from MH i2c: E2 03 00 [17:04:32]MH_I2C_Read... [17:04:32]Read from MH i2c: E2 03 00 9B 23 00 90 00 32 [17:04:32]RAPDU: 90 00 [17:04:32]wFMCommunicate OK [17:04:32]SAM_PROTO_ClearQueue done [17:04:32]KKMCreateOFDPacket [17:04:32]OFDProtocolAddRootSTLVToBuf [17:04:32]FM_MakeSignedData [17:04:32]FM_MakeSignedData [17:04:32]SAM_PROTO_SignData [17:04:32]wFMCommunicate request_size=4 [17:04:32]MH_SAM_APDU [17:04:32]CAPDU: 80 0D 01 02 [17:04:32]Write to MH i2c: E2 08 00 9C 23 80 0D 01 02 00 00 00 00 38 [17:04:32]Write i2c OK [17:04:32]MH_I2C_Read... [17:04:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:04:32]Read from MH i2c: E2 [17:04:32]MH_I2C_Read... [17:04:32]Read from MH i2c: E2 03 00 [17:04:32]MH_I2C_Read... [17:04:32]Read from MH i2c: E2 03 00 9C 23 00 90 00 33 [17:04:32]RAPDU: 90 00 [17:04:32]wFMCommunicate OK [17:04:32]wFMCommunicate request_size=255 [17:04:32]MH_SAM_APDU [17:04:32]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 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 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 27 38 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 [17:04:32]Write to MH i2c: E2 02 01 9D 23 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 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 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 27 38 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 16 [17:04:32]Write i2c OK [17:04:32]MH_I2C_Read... [17:04:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:04:32]Read from MH i2c: E2 [17:04:32]MH_I2C_Read... [17:04:32]Read from MH i2c: E2 03 00 [17:04:32]MH_I2C_Read... [17:04:32]Read from MH i2c: E2 03 00 9D 23 00 90 00 34 [17:04:32]RAPDU: 90 00 [17:04:32]wFMCommunicate OK [17:04:32]wFMCommunicate request_size=30 [17:04:32]MH_SAM_APDU [17:04:32]CAPDU: 80 0D 02 02 19 30 39 36 35 33 37 32 10 04 04 00 56 91 00 00 35 04 06 00 B7 76 7A 19 61 95 [17:04:32]Write to MH i2c: E2 21 00 9E 23 80 0D 02 02 19 00 30 39 36 35 33 37 32 10 04 04 00 56 91 00 00 35 04 06 00 B7 76 7A 19 61 95 00 00 D1 [17:04:32]Write i2c OK [17:04:32]MH_I2C_Read... [17:04:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:04:32]Read from MH i2c: E2 [17:04:32]MH_I2C_Read... [17:04:32]Read from MH i2c: E2 03 00 [17:04:32]MH_I2C_Read... [17:04:32]Read from MH i2c: E2 03 00 9E 23 00 90 00 35 [17:04:32]RAPDU: 90 00 [17:04:32]wFMCommunicate OK [17:04:32]wFMCommunicate request_size=4 [17:04:32]MH_SAM_APDU [17:04:32]CAPDU: 80 0D 03 02 [17:04:32]Write to MH i2c: E2 08 00 9F 23 80 0D 03 02 00 00 00 00 3D [17:04:32]Write i2c OK [17:04:32]MH_I2C_Read... [17:04:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:04:32]Read from MH i2c: E2 [17:04:32]MH_I2C_Read... [17:04:32]Read from MH i2c: E2 0B 00 [17:04:32]MH_I2C_Read... [17:04:32]Read from MH i2c: E2 0B 00 9F 23 00 FF 57 9A 68 BE 0C 02 B8 90 00 1A [17:04:32]RAPDU: FF 57 9A 68 BE 0C 02 B8 90 00 [17:04:32]wFMCommunicate OK [17:04:32]SAM_PROTO_SignData done [17:04:32]FM_MakeSignedData done [17:04:32]CreateOFDProtocolMessage [17:04:32]wFMCommunicate request_size=4 [17:04:32]MH_SAM_APDU [17:04:32]CAPDU: 80 11 00 00 [17:04:32]Write to MH i2c: E2 08 00 A0 23 80 11 00 00 00 00 00 00 3D [17:04:32]Write i2c OK [17:04:32]MH_I2C_Read... [17:04:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:04:32]Read from MH i2c: E2 [17:04:32]MH_I2C_Read... [17:04:32]Read from MH i2c: E2 17 00 [17:04:32]MH_I2C_Read... [17:04:32]Read from MH i2c: E2 17 00 A0 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 90 [17:04:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [17:04:32]wFMCommunicate OK [17:04:32]CreateOFDProtocolMessage done [17:04:32]OFDSenderStorePacket 37206 [17:04:32]StoreOFDPacket docnum=37206 [17:04:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 23 01 00 00 2E 40 1B 01 03 30 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 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 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 27 38 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 56 91 00 00 35 04 06 00 B7 76 7A 19 61 95 FF 57 9A 68 BE 0C 02 B8 [17:04:32]CheckFolder [17:04:32]dirname=/storage/ofd_packets [17:04:32]CheckFolder done [17:04:32]ProducePacketName [17:04:32]name=ofd_packets/00037206 [17:04:32]NVStorageSaveData ofd_packets/00037206 [17:04:32]File name is /storage/ofd_packets/00037206 [17:04:32]Write 321 bytes [17:04:32]NVStorageSaveData done [17:04:32]OFDSenderStorePacket done [17:04:32]KKMCreateOFDPacket done [17:04:32]NVStorageSaveData kkm_last_timestamp [17:04:32]File name is /storage/kkm_last_timestamp [17:04:32]Write 4 bytes [17:04:32]NVStorageSaveData done [17:04:32]ExternCall_PrintAddStr [17:04:32]wPrintStart [17:04:32]Write to MH i2c: 01 00 00 A1 23 C4 [17:04:32]Write i2c OK [17:04:32]MH_I2C_Read... [17:04:32]Read from MH i2c: 01 [17:04:32]MH_I2C_Read... [17:04:32]Read from MH i2c: 01 07 00 [17:04:32]MH_I2C_Read... [17:04:32]Read from MH i2c: 01 07 00 A1 23 00 00 00 00 00 FF 0F D9 [17:04:32]RasterBufferAndPrint [17:04:32]line Счет N : (3)76685 [17:04:32]line ИÐÐ: 02508201610067 [17:04:32]line Контрольно-КаÑÑовый Чек [17:04:32]line ПРОДÐЖР[17:04:32]line Товар: 47802995 [17:04:32]line Сигареты Winston XS Silver [17:04:32]line 1.000 * 144.00 [17:04:32]line = 144.00 [17:04:32]line ÐДС 12% ÐСП 1% [17:04:32]line > о реализуемом товаре [17:04:32]line ИТОГО: 144.00 [17:04:32]line ÐСП 1% : 1.27 [17:04:32]line ÐДС 12% : 15.29 [17:04:32]line Ðаличными: 144.00 [17:04:32]line Безнал.: 0.00 [17:04:32]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [17:04:32]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [17:04:32]line СÐО: Общий режим [17:04:32]line Чек 54 20.10.2024 17:04 [17:04:32]line Смена: 461 ФФД: 1.0 [17:04:32]line ЗÐМ: 0300000235 [17:04:32]line РÐМ: 0000000000098149 [17:04:32]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [17:04:32]line ФМ: 0000000000965372 [17:04:32]line ФД: 37206 [17:04:32]line ФПД: 201719482507669 [17:04:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T170439&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37206&fm=201719482507669&tin=02508201610067®Number=0000000000098149&sum=14400 [17:04:32]line 0 [17:04:32]written 0, free lines is 4095 [17:04:32]OFD Sender: Processing packet 37206 [packets to send 25, broken 24] [17:04:32]ProducePacketName [17:04:32]name=ofd_packets/00037206 [17:04:32]OFD Sender: To server: ‡•öpG, [17:04:32]CommunicateWithHost lk.salyk.kg:30040 [17:04:32]ConnectInit lk.salyk.kg [17:04:32]Connected sock=10 [17:04:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 23 01 00 00 2E 40 1B 01 03 30 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 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 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 27 38 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 56 91 00 00 35 04 06 00 B7 76 7A 19 61 95 FF 57 9A 68 BE 0C 02 B8 [17:04:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 A7 9E 47 00 C7 50 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 56 91 00 00 F4 03 04 00 B8 E0 14 67 B6 04 01 00 00 86 42 0E 59 52 89 2D C9 [17:04:32]CommunicateWithHost err = 0 [17:04:32]CheckOFDResponse [17:04:32]1017 (14) - 77093643461234 [17:04:32]1041 (16) - 0000000000965372 [17:04:32]1040 (4) - 37206 [17:04:32]1012 (4) - 20.10.2024 10:51 [17:04:32]1206 (1) - 0 [17:04:32]OFD Sender: Remove packet 37206 [17:04:32]ProducePacketName [17:04:32]name=ofd_packets/00037206 [17:04:32]NVStorageDeleteData [17:04:32]Write to MH i2c: 01 00 00 C9 23 EC [17:04:32]Write i2c OK [17:04:32]MH_I2C_Read... [17:04:32]Read from MH i2c: 01 [17:04:32]MH_I2C_Read... [17:04:32]Read from MH i2c: 01 07 00 [17:04:32]MH_I2C_Read... [17:04:32]Read from MH i2c: 01 07 00 C9 23 00 00 00 00 00 09 0D 09 [17:04:32]RasterBufferAndPrint [17:04:32]line [17:04:32]line [17:04:32]line [17:04:32]line [17:04:32]line [17:04:32]written 0, free lines is 3346 [17:04:32]process_action close_receipt done [17:04:32]requested_data is exist [17:04:32]produce_requested_data [17:04:32]requested_item fm.sn is exist - process it [17:04:32]wFMCommunicate request_size=4 [17:04:32]MH_SAM_APDU [17:04:32]CAPDU: 80 11 00 00 [17:04:32]Write to MH i2c: E2 08 00 D0 23 80 11 00 00 00 00 00 00 6D [17:04:32]Write i2c OK [17:04:32]MH_I2C_Read... [17:04:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:04:33]Read from MH i2c: E2 [17:04:33]MH_I2C_Read... [17:04:33]Read from MH i2c: E2 17 00 [17:04:33]MH_I2C_Read... [17:04:33]Read from MH i2c: E2 17 00 D0 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 C0 [17:04:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [17:04:33]wFMCommunicate OK [17:04:33]requested_item fd.num is exist - process it [17:04:33]SAM_PROTO_GetFieldsCounters [17:04:33]wFMCommunicate request_size=4 [17:04:33]MH_SAM_APDU [17:04:33]CAPDU: 80 13 00 00 [17:04:33]Write to MH i2c: E2 08 00 D1 23 80 13 00 00 00 00 00 00 70 [17:04:33]Write i2c OK [17:04:33]MH_I2C_Read... [17:04:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:04:33]Read from MH i2c: E2 [17:04:33]MH_I2C_Read... [17:04:33]Read from MH i2c: E2 62 00 [17:04:33]MH_I2C_Read... [17:04:33]Read from MH i2c: E2 62 00 D1 23 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 56 91 00 00 0E 04 04 00 CD 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 [17:04: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 56 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:04:33]wFMCommunicate OK [17:04:33]SAM_PROTO_GetFieldsCounters done [17:04:33]requested_item shift.num is exist - process it [17:04:33]requested_item shift.opened is exist - process it [17:04:33]req_shift_opened [17:04:33]FM_GetShiftState [17:04:33]SAM_PROTO_GetShiftState [17:04:33]wFMCommunicate request_size=4 [17:04:33]MH_SAM_APDU [17:04:33]CAPDU: 80 13 01 00 [17:04:33]Write to MH i2c: E2 08 00 D2 23 80 13 01 00 00 00 00 00 72 [17:04:33]Write i2c OK [17:04:33]MH_I2C_Read... [17:04:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:04:33]Read from MH i2c: E2 [17:04:33]MH_I2C_Read... [17:04:33]Read from MH i2c: E2 0E 00 [17:04:33]MH_I2C_Read... [17:04:33]Read from MH i2c: E2 0E 00 D2 23 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 C7 [17:04:33]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [17:04:33]wFMCommunicate OK [17:04:33]SAM_PROTO_GetShiftState done [17:04:33]FM_GetShiftState done [17:04:33]req_shift_opened done [17:04:33]requested_item shift.open_date is exist - process it [17:04:33]req_shift_open_date [17:04:33]req_shift_open_date done [17:04:33]produce_requested_data done [17:04:33]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37206,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [17:04:33]process_action_free close_receipt [17:04:33]json_value_free [17:04:33]json_value_free done [17:04:33]process_json_proto returns [17:04:33]Send response to host [17:04:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37206,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [17:04:33]free response buf [17:04:33]execute_script done [17:04:33]execute_script returns [17:04:33]free content buf [17:04:33]Sock 7.Close socket [17:04:33]Sock 7.Thread stoped [17:04:33]OFD Sender: No OFD packet to send [17:04:38]OFD Sender: No OFD packet to send [17:04:43]OFD Sender: No OFD packet to send [17:04:48]OFD Sender: No OFD packet to send [17:04:53]OFD Sender: No OFD packet to send [17:04:58]OFD Sender: No OFD packet to send [17:05:03]OFD Sender: No OFD packet to send [17:05:08]OFD Sender: No OFD packet to send [17:05:13]OFD Sender: No OFD packet to send [17:05:18]OFD Sender: No OFD packet to send [17:05:23]OFD Sender: No OFD packet to send [17:05:28]OFD Sender: No OFD packet to send [17:05:33]OFD Sender: No OFD packet to send [17:05:38]OFD Sender: No OFD packet to send [17:05:43]OFD Sender: No OFD packet to send [17:05:48]OFD Sender: No OFD packet to send [17:05:53]OFD Sender: No OFD packet to send [17:05:58]OFD Sender: No OFD packet to send [17:06:03]OFD Sender: No OFD packet to send [17:06:08]OFD Sender: No OFD packet to send [17:06:13]OFD Sender: No OFD packet to send [17:06:18]OFD Sender: No OFD packet to send [17:06:23]OFD Sender: No OFD packet to send [17:06:28]OFD Sender: No OFD packet to send [17:06:33]OFD Sender: No OFD packet to send [17:06:38]OFD Sender: No OFD packet to send [17:06:43]OFD Sender: No OFD packet to send [17:06:48]OFD Sender: No OFD packet to send [17:06:53]OFD Sender: No OFD packet to send [17:06:58]OFD Sender: No OFD packet to send [17:07:03]OFD Sender: No OFD packet to send [17:07:08]OFD Sender: No OFD packet to send [17:07:13]OFD Sender: No OFD packet to send [17:07:18]OFD Sender: No OFD packet to send [17:07:23]OFD Sender: No OFD packet to send [17:07:28]OFD Sender: No OFD packet to send [17:07:33]OFD Sender: No OFD packet to send [17:07:38]OFD Sender: No OFD packet to send [17:07:43]OFD Sender: No OFD packet to send [17:07:48]OFD Sender: No OFD packet to send [17:07:53]OFD Sender: No OFD packet to send [17:07:58]OFD Sender: No OFD packet to send [17:08:03]OFD Sender: No OFD packet to send [17:08:08]OFD Sender: No OFD packet to send [17:08:13]OFD Sender: No OFD packet to send [17:08:18]OFD Sender: No OFD packet to send [17:08:23]OFD Sender: No OFD packet to send [17:08:28]OFD Sender: No OFD packet to send [17:08:33]OFD Sender: No OFD packet to send [17:08:38]OFD Sender: No OFD packet to send [17:08:43]OFD Sender: No OFD packet to send [17:08:48]OFD Sender: No OFD packet to send [17:08:53]OFD Sender: No OFD packet to send [17:08:58]OFD Sender: No OFD packet to send [17:09:03]OFD Sender: No OFD packet to send [17:09:08]OFD Sender: No OFD packet to send [17:09:13]OFD Sender: No OFD packet to send [17:09:18]OFD Sender: No OFD packet to send [17:09:23]OFD Sender: No OFD packet to send [17:09:28]OFD Sender: No OFD packet to send [17:09:33]OFD Sender: No OFD packet to send [17:09:38]OFD Sender: No OFD packet to send [17:09:43]OFD Sender: No OFD packet to send [17:09:48]OFD Sender: No OFD packet to send [17:09:53]OFD Sender: No OFD packet to send [17:09:58]OFD Sender: No OFD packet to send [17:10:03]OFD Sender: No OFD packet to send [17:10:08]OFD Sender: No OFD packet to send [17:10:13]OFD Sender: No OFD packet to send [17:10:18]OFD Sender: No OFD packet to send [17:10:23]OFD Sender: No OFD packet to send [17:10:28]OFD Sender: No OFD packet to send [17:10:33]OFD Sender: No OFD packet to send [17:10:38]OFD Sender: No OFD packet to send [17:10:43]OFD Sender: No OFD packet to send [17:10:48]OFD Sender: No OFD packet to send [17:10:53]OFD Sender: No OFD packet to send [17:10:58]OFD Sender: No OFD packet to send [17:11:03]OFD Sender: No OFD packet to send [17:11:08]OFD Sender: No OFD packet to send [17:11:13]OFD Sender: No OFD packet to send [17:11:18]OFD Sender: No OFD packet to send [17:11:23]OFD Sender: No OFD packet to send [17:11:28]OFD Sender: No OFD packet to send [17:11:33]OFD Sender: No OFD packet to send [17:11:38]OFD Sender: No OFD packet to send [17:11:43]OFD Sender: No OFD packet to send [17:11:48]OFD Sender: No OFD packet to send [17:11:53]OFD Sender: No OFD packet to send [17:11:58]OFD Sender: No OFD packet to send [17:12:03]OFD Sender: No OFD packet to send [17:12:08]OFD Sender: No OFD packet to send [17:12:13]OFD Sender: No OFD packet to send [17:12:18]OFD Sender: No OFD packet to send [17:12:23]OFD Sender: No OFD packet to send [17:12:28]OFD Sender: No OFD packet to send [17:12:33]OFD Sender: No OFD packet to send [17:12:38]OFD Sender: No OFD packet to send [17:12:43]OFD Sender: No OFD packet to send [17:12:48]OFD Sender: No OFD packet to send [17:12:53]OFD Sender: No OFD packet to send [17:12:58]OFD Sender: No OFD packet to send [17:13:03]OFD Sender: No OFD packet to send [17:13:08]OFD Sender: No OFD packet to send [17:13:13]OFD Sender: No OFD packet to send [17:13:18]OFD Sender: No OFD packet to send [17:13:23]OFD Sender: No OFD packet to send [17:13:28]OFD Sender: No OFD packet to send [17:13:33]OFD Sender: No OFD packet to send [17:13:38]OFD Sender: No OFD packet to send [17:13:43]OFD Sender: No OFD packet to send [17:13:48]OFD Sender: No OFD packet to send [17:13:53]OFD Sender: No OFD packet to send [17:13:58]OFD Sender: No OFD packet to send [17:14:03]OFD Sender: No OFD packet to send [17:14:08]OFD Sender: No OFD packet to send [17:14:13]OFD Sender: No OFD packet to send [17:14:18]OFD Sender: No OFD packet to send [17:14:23]OFD Sender: No OFD packet to send [17:14:28]OFD Sender: No OFD packet to send [17:14:33]OFD Sender: No OFD packet to send [17:14:38]OFD Sender: No OFD packet to send [17:14:43]OFD Sender: No OFD packet to send [17:14:48]OFD Sender: No OFD packet to send [17:14:53]OFD Sender: No OFD packet to send [17:14:58]OFD Sender: No OFD packet to send [17:15:03]OFD Sender: No OFD packet to send [17:15:08]OFD Sender: No OFD packet to send [17:15:13]OFD Sender: No OFD packet to send [17:15:18]OFD Sender: No OFD packet to send [17:15:23]OFD Sender: No OFD packet to send [17:15:28]OFD Sender: No OFD packet to send [17:15:33]OFD Sender: No OFD packet to send [17:15:38]OFD Sender: No OFD packet to send [17:15:43]OFD Sender: No OFD packet to send [17:15:48]OFD Sender: No OFD packet to send [17:15:53]OFD Sender: No OFD packet to send [17:15:58]OFD Sender: No OFD packet to send [17:16:03]OFD Sender: No OFD packet to send [17:16:08]OFD Sender: No OFD packet to send [17:16:13]OFD Sender: No OFD packet to send [17:16:19]OFD Sender: No OFD packet to send [17:16:24]OFD Sender: No OFD packet to send [17:16:29]OFD Sender: No OFD packet to send [17:16:34]OFD Sender: No OFD packet to send [17:16:39]OFD Sender: No OFD packet to send [17:16:44]OFD Sender: No OFD packet to send [17:16:49]OFD Sender: No OFD packet to send [17:16:54]OFD Sender: No OFD packet to send [17:16:59]OFD Sender: No OFD packet to send [17:17:04]OFD Sender: No OFD packet to send [17:17:09]OFD Sender: No OFD packet to send [17:17:14]OFD Sender: No OFD packet to send [17:17:19]OFD Sender: No OFD packet to send [17:17:24]OFD Sender: No OFD packet to send [17:17:29]OFD Sender: No OFD packet to send [17:17:34]OFD Sender: No OFD packet to send [17:17:39]OFD Sender: No OFD packet to send [17:17:44]OFD Sender: No OFD packet to send [17:17:49]OFD Sender: No OFD packet to send [17:17:54]OFD Sender: No OFD packet to send [17:17:59]OFD Sender: No OFD packet to send [17:18:04]OFD Sender: No OFD packet to send [17:18:09]OFD Sender: No OFD packet to send [17:18:14]OFD Sender: No OFD packet to send [17:18:19]OFD Sender: No OFD packet to send [17:18:24]OFD Sender: No OFD packet to send [17:18:29]OFD Sender: No OFD packet to send [17:18:34]OFD Sender: No OFD packet to send [17:18:39]OFD Sender: No OFD packet to send [17:18:44]OFD Sender: No OFD packet to send [17:18:49]OFD Sender: No OFD packet to send [17:18:54]OFD Sender: No OFD packet to send [17:18:59]OFD Sender: No OFD packet to send [17:19:04]OFD Sender: No OFD packet to send [17:19:09]OFD Sender: No OFD packet to send [17:19:14]OFD Sender: No OFD packet to send [17:19:19]OFD Sender: No OFD packet to send [17:19:24]OFD Sender: No OFD packet to send [17:19:29]OFD Sender: No OFD packet to send [17:19:34]OFD Sender: No OFD packet to send [17:19:39]OFD Sender: No OFD packet to send [17:19:44]OFD Sender: No OFD packet to send [17:19:49]OFD Sender: No OFD packet to send [17:19:54]OFD Sender: No OFD packet to send [17:19:59]OFD Sender: No OFD packet to send [17:20:04]OFD Sender: No OFD packet to send [17:20:09]OFD Sender: No OFD packet to send [17:20:14]OFD Sender: No OFD packet to send [17:20:19]OFD Sender: No OFD packet to send [17:20:24]OFD Sender: No OFD packet to send [17:20:29]OFD Sender: No OFD packet to send [17:20:34]OFD Sender: No OFD packet to send [17:20:39]OFD Sender: No OFD packet to send [17:20:44]OFD Sender: No OFD packet to send [17:20:49]OFD Sender: No OFD packet to send [17:20:54]OFD Sender: No OFD packet to send [17:20:59]OFD Sender: No OFD packet to send [17:21:04]OFD Sender: No OFD packet to send [17:21:09]OFD Sender: No OFD packet to send [17:21:14]OFD Sender: No OFD packet to send [17:21:19]OFD Sender: No OFD packet to send [17:21:24]OFD Sender: No OFD packet to send [17:21:29]OFD Sender: No OFD packet to send [17:21:34]OFD Sender: No OFD packet to send [17:21:39]OFD Sender: No OFD packet to send [17:21:44]OFD Sender: No OFD packet to send [17:21:49]OFD Sender: No OFD packet to send [17:21:54]OFD Sender: No OFD packet to send [17:21:59]OFD Sender: No OFD packet to send [17:22:04]OFD Sender: No OFD packet to send [17:22:09]OFD Sender: No OFD packet to send [17:22:14]OFD Sender: No OFD packet to send [17:22:19]OFD Sender: No OFD packet to send [17:22:24]OFD Sender: No OFD packet to send [17:22:29]OFD Sender: No OFD packet to send [17:22:34]OFD Sender: No OFD packet to send [17:22:39]OFD Sender: No OFD packet to send [17:22:44]OFD Sender: No OFD packet to send [17:22:49]OFD Sender: No OFD packet to send [17:22:54]OFD Sender: No OFD packet to send [17:22:59]OFD Sender: No OFD packet to send [17:23:04]OFD Sender: No OFD packet to send [17:23:09]OFD Sender: No OFD packet to send [17:23:14]OFD Sender: No OFD packet to send [17:23:19]OFD Sender: No OFD packet to send [17:23:24]OFD Sender: No OFD packet to send [17:23:29]OFD Sender: No OFD packet to send [17:23:34]OFD Sender: No OFD packet to send [17:23:39]OFD Sender: No OFD packet to send [17:23:44]OFD Sender: No OFD packet to send [17:23:49]OFD Sender: No OFD packet to send [17:23:54]OFD Sender: No OFD packet to send [17:23:59]OFD Sender: No OFD packet to send [17:24:04]OFD Sender: No OFD packet to send [17:24:09]OFD Sender: No OFD packet to send [17:24:14]OFD Sender: No OFD packet to send [17:24:19]OFD Sender: No OFD packet to send [17:24:24]OFD Sender: No OFD packet to send [17:24:29]OFD Sender: No OFD packet to send [17:24:34]OFD Sender: No OFD packet to send [17:24:39]OFD Sender: No OFD packet to send [17:24:44]OFD Sender: No OFD packet to send [17:24:49]OFD Sender: No OFD packet to send [17:24:54]OFD Sender: No OFD packet to send [17:24:59]OFD Sender: No OFD packet to send [17:25:04]OFD Sender: No OFD packet to send [17:25:09]OFD Sender: No OFD packet to send [17:25:14]OFD Sender: No OFD packet to send [17:25:19]OFD Sender: No OFD packet to send [17:25:24]OFD Sender: No OFD packet to send [17:25:29]OFD Sender: No OFD packet to send [17:25:34]OFD Sender: No OFD packet to send [17:25:39]OFD Sender: No OFD packet to send [17:25:44]OFD Sender: No OFD packet to send [17:25:49]OFD Sender: No OFD packet to send [17:25:54]OFD Sender: No OFD packet to send [17:25:59]OFD Sender: No OFD packet to send [17:26:04]OFD Sender: No OFD packet to send [17:26:09]OFD Sender: No OFD packet to send [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:54]OFD Sender: No OFD packet to send [17:30:59]OFD Sender: No OFD packet to send [17:31:04]OFD Sender: No OFD packet to send [17:31:09]OFD Sender: No OFD packet to send [17:31:14]OFD Sender: No OFD packet to send [17:31:19]OFD Sender: No OFD packet to send [17:31:24]OFD Sender: No OFD packet to send [17:31:29]OFD Sender: No OFD packet to send [17:31:34]OFD Sender: No OFD packet to send [17:31:39]OFD Sender: No OFD packet to send [17:31:44]OFD Sender: No OFD packet to send [17:31:49]OFD Sender: No OFD packet to send [17:31:54]OFD Sender: No OFD packet to send [17:31:59]OFD Sender: No OFD packet to send [17:32:04]OFD Sender: No OFD packet to send [17:32:09]OFD Sender: No OFD packet to send [17:32:14]OFD Sender: No OFD packet to send [17:32:19]OFD Sender: No OFD packet to send [17:32:24]OFD Sender: No OFD packet to send [17:32:29]OFD Sender: No OFD packet to send [17:32:34]OFD Sender: No OFD packet to send [17:32:39]OFD Sender: No OFD packet to send [17:32:44]OFD Sender: No OFD packet to send [17:32:49]OFD Sender: No OFD packet to send [17:32:54]OFD Sender: No OFD packet to send [17:32:59]OFD Sender: No OFD packet to send [17:33:04]OFD Sender: No OFD packet to send [17:33:09]OFD Sender: No OFD packet to send [17:33:14]OFD Sender: No OFD packet to send [17:33:19]OFD Sender: No OFD packet to send [17:33:24]OFD Sender: No OFD packet to send [17:33:29]OFD Sender: No OFD packet to send [17:33:34]OFD Sender: No OFD packet to send [17:33:39]OFD Sender: No OFD packet to send [17:33:44]OFD Sender: No OFD packet to send [17:33:49]OFD Sender: No OFD packet to send [17:33:54]OFD Sender: No OFD packet to send [17:33:59]OFD Sender: No OFD packet to send [17:34:04]OFD Sender: No OFD packet to send [17:34:09]OFD Sender: No OFD packet to send [17:34:14]OFD Sender: No OFD packet to send [17:34:19]OFD Sender: No OFD packet to send [17:34:24]OFD Sender: No OFD packet to send [17:34:29]OFD Sender: No OFD packet to send [17:34:34]OFD Sender: No OFD packet to send [17:34:39]OFD Sender: No OFD packet to send [17:34:44]OFD Sender: No OFD packet to send [17:34:49]OFD Sender: No OFD packet to send [17:34:54]OFD Sender: No OFD packet to send [17:34:59]OFD Sender: No OFD packet to send [17:35:04]OFD Sender: No OFD packet to send [17:35:09]OFD Sender: No OFD packet to send [17:35:14]OFD Sender: No OFD packet to send [17:35:19]OFD Sender: No OFD packet to send [17:35:24]OFD Sender: No OFD packet to send [17:35:29]OFD Sender: No OFD packet to send [17:35:34]OFD Sender: No OFD packet to send [17:35:39]OFD Sender: No OFD packet to send [17:35:44]OFD Sender: No OFD packet to send [17:35:49]OFD Sender: No OFD packet to send [17:35:54]OFD Sender: No OFD packet to send [17:35:59]OFD Sender: No OFD packet to send [17:36:04]OFD Sender: No OFD packet to send [17:36:09]OFD Sender: No OFD packet to send [17:36:15]OFD Sender: No OFD packet to send [17:36:20]OFD Sender: No OFD packet to send [17:36:22]accept exits with 9 [17:36:22]New connection [17:36:22]New thread 3066699108 created [17:36:22]Thread 3066555748 joined [17:36:22]Waiting for new connection... [17:36:22] Sock 9.Parse request [17:36:22]Sock 9.Check first char [17:36:22]Sock 9.First char is OK [17:36:22]request: POST /json_proto HTTP/1.0 [17:36:22]Method: POST [17:36:22]URL: /json_proto [17:36:22]Method is POST - this is cgi request [17:36:22]url: /json_proto [17:36:22]query_string will be loaded in cgi processing [17:36:22]execute_cgi json_proto POST (null) [17:36:22]execute_cgi path=json_proto method=POST [17:36:22]POST find Content-Length [17:36:22]Host: 172.17.53.68:8080 [17:36:22]Content-Length: 215 [17:36:22]Content-Type: application/json [17:36:22] [17:36:22]POST finish read [17:36:22]Found Content-Length = 215 [17:36: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:36:22]execute_script... [17:36: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:36:22]POST & json_proto [17:36:22]process_json_proto [17:36:22]json parsed OK: [17:36:22]protocol is kg_v1.0 [17:36:22]action value=get_value [17:36:22]process_action get_value [17:36:22]cmd_get_value [17:36:22]process_action get_value done [17:36:22]requested_data is exist [17:36:22]produce_requested_data [17:36:22]requested_item kkm.sn is exist - process it [17:36:22]requested_item kkm.ver is exist - process it [17:36:22]requested_item fm.sn is exist - process it [17:36:22]wFMCommunicate request_size=4 [17:36:22]MH_SAM_APDU [17:36:22]CAPDU: 80 11 00 00 [17:36:22]Write to MH i2c: E2 08 00 D3 23 80 11 00 00 00 00 00 00 70 [17:36:22]Write i2c OK [17:36:22]MH_I2C_Read... [17:36:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:36:23]Read from MH i2c: E2 [17:36:23]MH_I2C_Read... [17:36:23]Read from MH i2c: E2 17 00 [17:36:23]MH_I2C_Read... [17:36:23]Read from MH i2c: E2 17 00 D3 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 C3 [17:36:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [17:36:23]wFMCommunicate OK [17:36:23]requested_item fd.num is exist - process it [17:36:23]SAM_PROTO_GetFieldsCounters [17:36:23]wFMCommunicate request_size=4 [17:36:23]MH_SAM_APDU [17:36:23]CAPDU: 80 13 00 00 [17:36:23]Write to MH i2c: E2 08 00 D4 23 80 13 00 00 00 00 00 00 73 [17:36:23]Write i2c OK [17:36:23]MH_I2C_Read... [17:36:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:36:23]Read from MH i2c: E2 [17:36:23]MH_I2C_Read... [17:36:23]Read from MH i2c: E2 62 00 [17:36:23]MH_I2C_Read... [17:36:23]Read from MH i2c: E2 62 00 D4 23 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 56 91 00 00 0E 04 04 00 CD 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 [17:36:23]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 56 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:36:23]wFMCommunicate OK [17:36:23]SAM_PROTO_GetFieldsCounters done [17:36:23]requested_item shift.num is exist - process it [17:36:23]requested_item shift.opened is exist - process it [17:36:23]req_shift_opened [17:36:23]FM_GetShiftState [17:36:23]SAM_PROTO_GetShiftState [17:36:23]wFMCommunicate request_size=4 [17:36:23]MH_SAM_APDU [17:36:23]CAPDU: 80 13 01 00 [17:36:23]Write to MH i2c: E2 08 00 D5 23 80 13 01 00 00 00 00 00 75 [17:36:23]Write i2c OK [17:36:23]MH_I2C_Read... [17:36:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:36:23]Read from MH i2c: E2 [17:36:23]MH_I2C_Read... [17:36:23]Read from MH i2c: E2 0E 00 [17:36:23]MH_I2C_Read... [17:36:23]Read from MH i2c: E2 0E 00 D5 23 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 CA [17:36:23]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [17:36:23]wFMCommunicate OK [17:36:23]SAM_PROTO_GetShiftState done [17:36:23]FM_GetShiftState done [17:36:23]req_shift_opened done [17:36:23]requested_item shift.open_date is exist - process it [17:36:23]req_shift_open_date [17:36:23]req_shift_open_date done [17:36:23]produce_requested_data done [17:36:23]produce_requested_data return {"kkm.sn":"0300000235","kkm.ver":"001","fm.sn":"0000000000965372","fd.num":37206,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [17:36:23]process_action_free get_value [17:36:23]json_value_free [17:36:23]json_value_free done [17:36:23]process_json_proto returns [17:36:23]Send response to host [17:36:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000235","kkm.ver":"001","fm.sn":"0000000000965372","fd.num":37206,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [17:36:23]free response buf [17:36:23]execute_script done [17:36:23]execute_script returns [17:36:23]free content buf [17:36:23]Sock 9.Close socket [17:36:23]Sock 9.Thread stoped [17:36:23]accept exits with 7 [17:36:23]New connection [17:36:23]New thread 3066555748 created [17:36:23]Thread 3066699108 joined [17:36:23]Waiting for new connection... [17:36:23] Sock 7.Parse request [17:36:23]Sock 7.Check first char [17:36:23]Sock 7.First char is OK [17:36:23]request: POST /json_proto HTTP/1.0 [17:36:23]Method: POST [17:36:23]URL: /json_proto [17:36:23]Method is POST - this is cgi request [17:36:23]url: /json_proto [17:36:23]query_string will be loaded in cgi processing [17:36:23]execute_cgi json_proto POST (null) [17:36:23]execute_cgi path=json_proto method=POST [17:36:23]POST find Content-Length [17:36:23]Host: 172.17.53.68:8080 [17:36:23]Content-Length: 331 [17:36:23]Content-Type: application/json [17:36:23] [17:36:23]POST finish read [17:36:23]Found Content-Length = 331 [17:36: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:36:23]execute_script... [17:36: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:36:23]POST & json_proto [17:36:23]process_json_proto [17:36:23]json parsed OK: [17:36:23]protocol is kg_v1.0 [17:36:23]action value=get_value [17:36:23]process_action get_value [17:36:23]cmd_get_value [17:36:23]process_action get_value done [17:36:23]requested_data is exist [17:36:23]produce_requested_data [17:36:23]requested_item fm.sale.total is exist - process it [17:36:23]SAM_PROTO_GetFMData [17:36:23]wFMCommunicate request_size=4 [17:36:23]MH_SAM_APDU [17:36:23]CAPDU: 80 13 03 00 [17:36:23]Write to MH i2c: E2 08 00 D6 23 80 13 03 00 00 00 00 00 78 [17:36:23]Write i2c OK [17:36:23]MH_I2C_Read... [17:36:23]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [17:36:23]Read from MH i2c: E2 [17:36:23]MH_I2C_Read... [17:36:23]Read from MH i2c: E2 FD 00 [17:36:23]MH_I2C_Read... [17:36:23]Read from MH i2c: E2 FD 00 D6 23 00 C4 04 85 04 C0 04 6E 04 04 00 BC 8D 00 00 69 04 A0 00 6F 04 04 00 73 8C 00 00 B1 04 04 00 9E 0E 87 45 70 04 04 00 48 CA D7 3D 72 04 04 00 56 44 AF 07 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 2F A8 62 07 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 50 7F 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 4A [17:36:23]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 BC 8D 00 00 69 04 A0 00 6F 04 04 00 73 8C 00 00 B1 04 04 00 9E 0E 87 45 70 04 04 00 48 CA D7 3D 72 04 04 00 56 44 AF 07 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 2F A8 62 07 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 50 7F 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 [17:36:23]wFMCommunicate OK [17:36:23]wFMCommunicate request_size=4 [17:36:23]MH_SAM_APDU [17:36:23]CAPDU: 80 17 00 00 [17:36:23]Write to MH i2c: E2 08 00 D7 23 80 17 00 00 00 00 00 00 7A [17:36:23]Write i2c OK [17:36:23]MH_I2C_Read... [17:36:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:36:24]Read from MH i2c: E2 [17:36:24]MH_I2C_Read... [17:36:24]Read from MH i2c: E2 FD 00 [17:36:24]MH_I2C_Read... [17:36:24]Read from MH i2c: E2 FD 00 D7 23 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 92 [17:36:24]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [17:36:24]wFMCommunicate OK [17:36:24]wFMCommunicate request_size=4 [17:36:24]MH_SAM_APDU [17:36:24]CAPDU: 80 17 00 00 [17:36:24]Write to MH i2c: E2 08 00 D8 23 80 17 00 00 00 00 00 00 7B [17:36:24]Write i2c OK [17:36:24]MH_I2C_Read... [17:36:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:36:24]Read from MH i2c: E2 [17:36:24]MH_I2C_Read... [17:36:24]Read from MH i2c: E2 FD 00 [17:36:24]MH_I2C_Read... [17:36:24]Read from MH i2c: E2 FD 00 D8 23 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 90 [17:36:24]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [17:36:24]wFMCommunicate OK [17:36:24]wFMCommunicate request_size=4 [17:36:24]MH_SAM_APDU [17:36:24]CAPDU: 80 17 00 00 [17:36:24]Write to MH i2c: E2 08 00 D9 23 80 17 00 00 00 00 00 00 7C [17:36:24]Write i2c OK [17:36:24]MH_I2C_Read... [17:36:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:36:24]Read from MH i2c: E2 [17:36:24]MH_I2C_Read... [17:36:24]Read from MH i2c: E2 FD 00 [17:36:24]MH_I2C_Read... [17:36:24]Read from MH i2c: E2 FD 00 D9 23 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 F4 [17:36:24]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [17:36:24]wFMCommunicate OK [17:36:24]wFMCommunicate request_size=4 [17:36:24]MH_SAM_APDU [17:36:24]CAPDU: 80 17 00 00 [17:36:24]Write to MH i2c: E2 08 00 DA 23 80 17 00 00 00 00 00 00 7D [17:36:24]Write i2c OK [17:36:24]MH_I2C_Read... [17:36:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [17:36:24]Read from MH i2c: E2 [17:36:24]MH_I2C_Read... [17:36:24]Read from MH i2c: E2 E1 00 [17:36:24]MH_I2C_Read... [17:36:25]Read from MH i2c: E2 E1 00 DA 23 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 6B [17:36:25]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:36:25]wFMCommunicate OK [17:36:25]SAM_PROTO_GetFMData done [17:36:25]requested_item fm.sale_refund.total is exist - process it [17:36:25]requested_item fm.buy.total is exist - process it [17:36:25]requested_item shift.sale.total is exist - process it [17:36:25]SAM_PROTO_GetShiftData [17:36:25]wFMCommunicate request_size=4 [17:36:25]MH_SAM_APDU [17:36:25]CAPDU: 80 13 02 00 [17:36:25]Write to MH i2c: E2 08 00 DB 23 80 13 02 00 00 00 00 00 7C [17:36:25]Write i2c OK [17:36:25]MH_I2C_Read... [17:36:25]OFD Sender: No OFD packet to send [17:36:25]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [17:36:25]Read from MH i2c: E2 [17:36:25]MH_I2C_Read... [17:36:25]Read from MH i2c: E2 FD 00 [17:36:25]MH_I2C_Read... [17:36:25]Read from MH i2c: E2 FD 00 DB 23 00 AD 04 AA 04 A9 04 6E 04 04 00 36 00 00 00 69 04 9A 00 6F 04 04 00 36 00 00 00 B1 04 03 00 64 12 16 70 04 03 00 84 E3 15 72 04 02 00 E0 2E 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 17 58 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 FE 31 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 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 5E [17:36:25]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 36 00 00 00 69 04 9A 00 6F 04 04 00 36 00 00 00 B1 04 03 00 64 12 16 70 04 03 00 84 E3 15 72 04 02 00 E0 2E 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 17 58 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 FE 31 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 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 [17:36:25]wFMCommunicate OK [17:36:25]wFMCommunicate request_size=4 [17:36:25]MH_SAM_APDU [17:36:25]CAPDU: 80 17 00 00 [17:36:25]Write to MH i2c: E2 08 00 DC 23 80 17 00 00 00 00 00 00 7F [17:36:25]Write i2c OK [17:36:25]MH_I2C_Read... [17:36:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:36:25]Read from MH i2c: E2 [17:36:25]MH_I2C_Read... [17:36:25]Read from MH i2c: E2 FD 00 [17:36:25]MH_I2C_Read... [17:36:25]Read from MH i2c: E2 FD 00 DC 23 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 91 [17:36: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 [17:36:25]wFMCommunicate OK [17:36:25]wFMCommunicate request_size=4 [17:36:25]MH_SAM_APDU [17:36:25]CAPDU: 80 17 00 00 [17:36:25]Write to MH i2c: E2 08 00 DD 23 80 17 00 00 00 00 00 00 80 [17:36:25]Write i2c OK [17:36:25]MH_I2C_Read... [17:36:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:36:26]Read from MH i2c: E2 [17:36:26]MH_I2C_Read... [17:36:26]Read from MH i2c: E2 FD 00 [17:36:26]MH_I2C_Read... [17:36:26]Read from MH i2c: E2 FD 00 DD 23 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 44 [17:36:26]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 [17:36:26]wFMCommunicate OK [17:36:26]wFMCommunicate request_size=4 [17:36:26]MH_SAM_APDU [17:36:26]CAPDU: 80 17 00 00 [17:36:26]Write to MH i2c: E2 08 00 DE 23 80 17 00 00 00 00 00 00 81 [17:36:26]Write i2c OK [17:36:26]MH_I2C_Read... [17:36:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:36:26]Read from MH i2c: E2 [17:36:26]MH_I2C_Read... [17:36:26]Read from MH i2c: E2 FD 00 [17:36:26]MH_I2C_Read... [17:36:26]Read from MH i2c: E2 FD 00 DE 23 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 F6 [17:36:26]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 [17:36:26]wFMCommunicate OK [17:36:26]wFMCommunicate request_size=4 [17:36:26]MH_SAM_APDU [17:36:26]CAPDU: 80 17 00 00 [17:36:26]Write to MH i2c: E2 08 00 DF 23 80 17 00 00 00 00 00 00 82 [17:36:26]Write i2c OK [17:36:26]MH_I2C_Read... [17:36:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [17:36:26]Read from MH i2c: E2 [17:36:26]MH_I2C_Read... [17:36:26]Read from MH i2c: E2 CA 00 [17:36:26]MH_I2C_Read... [17:36:26]Read from MH i2c: E2 CA 00 DF 23 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 67 [17:36: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 [17:36:26]wFMCommunicate OK [17:36:26]SAM_PROTO_GetShiftData done [17:36:26]requested_item shift.sale.total_cash is exist - process it [17:36:26]requested_item shift.sale_refund.total is exist - process it [17:36:26]requested_item shift.sale_refund.total_cash is exist - process it [17:36:26]requested_item shift.buy.total is exist - process it [17:36:26]requested_item shift.buy.total_cash is exist - process it [17:36:26]produce_requested_data done [17:36:26]produce_requested_data return {"fm.sale.total":11664790.06,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":14465.00,"shift.sale.total_cash":14345.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:36:26]process_action_free get_value [17:36:26]json_value_free [17:36:26]json_value_free done [17:36:26]process_json_proto returns [17:36:26]Send response to host [17:36:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11664790.06,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":14465.00,"shift.sale.total_cash":14345.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:36:26]free response buf [17:36:26]execute_script done [17:36:26]execute_script returns [17:36:26]free content buf [17:36:26]Sock 7.Close socket [17:36:26]Sock 7.Thread stoped [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:45]OFD Sender: No OFD packet to send [17:36:50]OFD Sender: No OFD packet to send [17:36:55]OFD Sender: No OFD packet to send [17:37:00]OFD Sender: No OFD packet to send [17:37:05]OFD Sender: No OFD packet to send [17:37:10]OFD Sender: No OFD packet to send [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:40]OFD Sender: No OFD packet to send [17:38:45]OFD Sender: No OFD packet to send [17:38:50]OFD Sender: No OFD packet to send [17:38:55]OFD Sender: No OFD packet to send [17:39:00]OFD Sender: No OFD packet to send [17:39:05]OFD Sender: No OFD packet to send [17:39:10]OFD Sender: No OFD packet to send [17:39:15]OFD Sender: No OFD packet to send [17:39:20]OFD Sender: No OFD packet to send [17:39:25]OFD Sender: No OFD packet to send [17:39:30]OFD Sender: No OFD packet to send [17:39:35]OFD Sender: No OFD packet to send [17:39:40]OFD Sender: No OFD packet to send [17:39:45]OFD Sender: No OFD packet to send [17:39:50]OFD Sender: No OFD packet to send [17:39:55]OFD Sender: No OFD packet to send [17:40:00]OFD Sender: No OFD packet to send [17:40:05]OFD Sender: No OFD packet to send [17:40:10]OFD Sender: No OFD packet to send [17:40:15]OFD Sender: No OFD packet to send [17:40:20]OFD Sender: No OFD packet to send [17:40:25]OFD Sender: No OFD packet to send [17:40:30]OFD Sender: No OFD packet to send [17:40:35]OFD Sender: No OFD packet to send [17:40:40]OFD Sender: No OFD packet to send [17:40:45]OFD Sender: No OFD packet to send [17:40:50]OFD Sender: No OFD packet to send [17:40:55]OFD Sender: No OFD packet to send [17:41:00]OFD Sender: No OFD packet to send [17:41:05]OFD Sender: No OFD packet to send [17:41:10]OFD Sender: No OFD packet to send [17:41:15]OFD Sender: No OFD packet to send [17:41:20]OFD Sender: No OFD packet to send [17:41:25]OFD Sender: No OFD packet to send [17:41:30]OFD Sender: No OFD packet to send [17:41:35]OFD Sender: No OFD packet to send [17:41:40]OFD Sender: No OFD packet to send [17:41:45]OFD Sender: No OFD packet to send [17:41:50]OFD Sender: No OFD packet to send [17:41:55]OFD Sender: No OFD packet to send [17:42:00]OFD Sender: No OFD packet to send [17:42:05]OFD Sender: No OFD packet to send [17:42:10]OFD Sender: No OFD packet to send [17:42:15]OFD Sender: No OFD packet to send [17:42:20]OFD Sender: No OFD packet to send [17:42:25]OFD Sender: No OFD packet to send [17:42:30]OFD Sender: No OFD packet to send [17:42:35]OFD Sender: No OFD packet to send [17:42:40]OFD Sender: No OFD packet to send [17:42:45]OFD Sender: No OFD packet to send [17:42:50]OFD Sender: No OFD packet to send [17:42:55]OFD Sender: No OFD packet to send [17:43:00]OFD Sender: No OFD packet to send [17:43:05]OFD Sender: No OFD packet to send [17:43:10]OFD Sender: No OFD packet to send [17:43:15]OFD Sender: No OFD packet to send [17:43:20]OFD Sender: No OFD packet to send [17:43:25]OFD Sender: No OFD packet to send [17:43:30]OFD Sender: No OFD packet to send [17:43:35]OFD Sender: No OFD packet to send [17:43:40]OFD Sender: No OFD packet to send [17:43:45]OFD Sender: No OFD packet to send [17:43:50]OFD Sender: No OFD packet to send [17:43:55]OFD Sender: No OFD packet to send [17:44:00]OFD Sender: No OFD packet to send [17:44:05]OFD Sender: No OFD packet to send [17:44:10]OFD Sender: No OFD packet to send [17:44:15]OFD Sender: No OFD packet to send [17:44:20]OFD Sender: No OFD packet to send [17:44:25]OFD Sender: No OFD packet to send [17:44:30]OFD Sender: No OFD packet to send [17:44:35]OFD Sender: No OFD packet to send [17:44:40]OFD Sender: No OFD packet to send [17:44:45]OFD Sender: No OFD packet to send [17:44:50]OFD Sender: No OFD packet to send [17:44:55]OFD Sender: No OFD packet to send [17:45:00]OFD Sender: No OFD packet to send [17:45:05]OFD Sender: No OFD packet to send [17:45:10]OFD Sender: No OFD packet to send [17:45:15]OFD Sender: No OFD packet to send [17:45:20]OFD Sender: No OFD packet to send [17:45:25]OFD Sender: No OFD packet to send [17:45:30]OFD Sender: No OFD packet to send [17:45:35]OFD Sender: No OFD packet to send [17:45:40]OFD Sender: No OFD packet to send [17:45:45]OFD Sender: No OFD packet to send [17:45:50]OFD Sender: No OFD packet to send [17:45:55]OFD Sender: No OFD packet to send [17:46:00]OFD Sender: No OFD packet to send [17:46:05]OFD Sender: No OFD packet to send [17:46:10]OFD Sender: No OFD packet to send [17:46:15]OFD Sender: No OFD packet to send [17:46:20]OFD Sender: No OFD packet to send [17:46:25]OFD Sender: No OFD packet to send [17:46:30]OFD Sender: No OFD packet to send [17:46:35]OFD Sender: No OFD packet to send [17:46:40]OFD Sender: No OFD packet to send [17:46:45]OFD Sender: No OFD packet to send [17:46:50]OFD Sender: No OFD packet to send [17:46:55]OFD Sender: No OFD packet to send [17:47:00]OFD Sender: No OFD packet to send [17:47:05]OFD Sender: No OFD packet to send [17:47:10]OFD Sender: No OFD packet to send [17:47:15]OFD Sender: No OFD packet to send [17:47:20]OFD Sender: No OFD packet to send [17:47:25]OFD Sender: No OFD packet to send [17:47:30]OFD Sender: No OFD packet to send [17:47:35]OFD Sender: No OFD packet to send [17:47:40]OFD Sender: No OFD packet to send [17:47:45]OFD Sender: No OFD packet to send [17:47:50]OFD Sender: No OFD packet to send [17:47:55]OFD Sender: No OFD packet to send [17:48:00]OFD Sender: No OFD packet to send [17:48:05]OFD Sender: No OFD packet to send [17:48:10]OFD Sender: No OFD packet to send [17:48:15]OFD Sender: No OFD packet to send [17:48:20]OFD Sender: No OFD packet to send [17:48:25]OFD Sender: No OFD packet to send [17:48:30]OFD Sender: No OFD packet to send [17:48:35]OFD Sender: No OFD packet to send [17:48:40]OFD Sender: No OFD packet to send [17:48:45]OFD Sender: No OFD packet to send [17:48:50]OFD Sender: No OFD packet to send [17:48:55]OFD Sender: No OFD packet to send [17:49:00]OFD Sender: No OFD packet to send [17:49:05]OFD Sender: No OFD packet to send [17:49:10]OFD Sender: No OFD packet to send [17:49:15]OFD Sender: No OFD packet to send [17:49:20]OFD Sender: No OFD packet to send [17:49:25]OFD Sender: No OFD packet to send [17:49:30]OFD Sender: No OFD packet to send [17:49:35]OFD Sender: No OFD packet to send [17:49:40]OFD Sender: No OFD packet to send [17:49:45]OFD Sender: No OFD packet to send [17:49:50]OFD Sender: No OFD packet to send [17:49:55]OFD Sender: No OFD packet to send [17:50:00]OFD Sender: No OFD packet to send [17:50:05]OFD Sender: No OFD packet to send [17:50:10]OFD Sender: No OFD packet to send [17:50:15]OFD Sender: No OFD packet to send [17:50:20]OFD Sender: No OFD packet to send [17:50:25]OFD Sender: No OFD packet to send [17:50:30]OFD Sender: No OFD packet to send [17:50:35]OFD Sender: No OFD packet to send [17:50:40]OFD Sender: No OFD packet to send [17:50:45]OFD Sender: No OFD packet to send [17:50:50]OFD Sender: No OFD packet to send [17:50:55]OFD Sender: No OFD packet to send [17:51:00]OFD Sender: No OFD packet to send [17:51:05]OFD Sender: No OFD packet to send [17:51:10]OFD Sender: No OFD packet to send [17:51:15]OFD Sender: No OFD packet to send [17:51:20]OFD Sender: No OFD packet to send [17:51:25]OFD Sender: No OFD packet to send [17:51:30]OFD Sender: No OFD packet to send [17:51:35]OFD Sender: No OFD packet to send [17:51:40]OFD Sender: No OFD packet to send [17:51:45]OFD Sender: No OFD packet to send [17:51:50]OFD Sender: No OFD packet to send [17:51:55]OFD Sender: No OFD packet to send [17:52:00]OFD Sender: No OFD packet to send [17:52:05]OFD Sender: No OFD packet to send [17:52:10]OFD Sender: No OFD packet to send [17:52:15]OFD Sender: No OFD packet to send [17:52:20]OFD Sender: No OFD packet to send [17:52:25]OFD Sender: No OFD packet to send [17:52:30]OFD Sender: No OFD packet to send [17:52:35]OFD Sender: No OFD packet to send [17:52:40]OFD Sender: No OFD packet to send [17:52:45]OFD Sender: No OFD packet to send [17:52:50]OFD Sender: No OFD packet to send [17:52:55]OFD Sender: No OFD packet to send [17:53:00]OFD Sender: No OFD packet to send [17:53:05]OFD Sender: No OFD packet to send [17:53:10]OFD Sender: No OFD packet to send [17:53:15]OFD Sender: No OFD packet to send [17:53:20]OFD Sender: No OFD packet to send [17:53:25]OFD Sender: No OFD packet to send [17:53:30]OFD Sender: No OFD packet to send [17:53:35]OFD Sender: No OFD packet to send [17:53:40]OFD Sender: No OFD packet to send [17:53:45]OFD Sender: No OFD packet to send [17:53:50]OFD Sender: No OFD packet to send [17:53:55]OFD Sender: No OFD packet to send [17:54:00]OFD Sender: No OFD packet to send [17:54:05]OFD Sender: No OFD packet to send [17:54:10]OFD Sender: No OFD packet to send [17:54:15]OFD Sender: No OFD packet to send [17:54:20]OFD Sender: No OFD packet to send [17:54:25]OFD Sender: No OFD packet to send [17:54:30]OFD Sender: No OFD packet to send [17:54: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:36]OFD Sender: No OFD packet to send [17:57:41]OFD Sender: No OFD packet to send [17:57:46]OFD Sender: No OFD packet to send [17:57:51]OFD Sender: No OFD packet to send [17:57:56]OFD Sender: No OFD packet to send [17:58:01]OFD Sender: No OFD packet to send [17:58:06]OFD Sender: No OFD packet to send [17:58:11]OFD Sender: No OFD packet to send [17:58:16]OFD Sender: No OFD packet to send [17:58:21]OFD Sender: No OFD packet to send [17:58:26]OFD Sender: No OFD packet to send [17:58:31]OFD Sender: No OFD packet to send [17:58:36]OFD Sender: No OFD packet to send [17:58:41]OFD Sender: No OFD packet to send [17:58:46]OFD Sender: No OFD packet to send [17:58:51]OFD Sender: No OFD packet to send [17:58:56]OFD Sender: No OFD packet to send [17:59:01]OFD Sender: No OFD packet to send [17:59:06]OFD Sender: No OFD packet to send [17:59:11]OFD Sender: No OFD packet to send [17:59:16]OFD Sender: No OFD packet to send [17:59:21]OFD Sender: No OFD packet to send [17:59:26]OFD Sender: No OFD packet to send [17:59:31]OFD Sender: No OFD packet to send [17:59:36]OFD Sender: No OFD packet to send [17:59:41]OFD Sender: No OFD packet to send [17:59:46]OFD Sender: No OFD packet to send [17:59:51]OFD Sender: No OFD packet to send [17:59:56]OFD Sender: No OFD packet to send [18:00:01]OFD Sender: No OFD packet to send [18:00:06]OFD Sender: No OFD packet to send [18:00:11]OFD Sender: No OFD packet to send [18:00:16]OFD Sender: No OFD packet to send [18:00:21]OFD Sender: No OFD packet to send [18:00:26]OFD Sender: No OFD packet to send [18:00:31]OFD Sender: No OFD packet to send [18:00:36]OFD Sender: No OFD packet to send [18:00:41]OFD Sender: No OFD packet to send [18:00:46]OFD Sender: No OFD packet to send [18:00:51]OFD Sender: No OFD packet to send [18:00:56]OFD Sender: No OFD packet to send [18:01:01]OFD Sender: No OFD packet to send [18:01:06]OFD Sender: No OFD packet to send [18:01:11]OFD Sender: No OFD packet to send [18:01:16]OFD Sender: No OFD packet to send [18:01:21]OFD Sender: No OFD packet to send [18:01:26]OFD Sender: No OFD packet to send [18:01:31]OFD Sender: No OFD packet to send [18:01:36]OFD Sender: No OFD packet to send [18:01:41]OFD Sender: No OFD packet to send [18:01:46]OFD Sender: No OFD packet to send [18:01:51]OFD Sender: No OFD packet to send [18:01:56]OFD Sender: No OFD packet to send [18:02:01]OFD Sender: No OFD packet to send [18:02:06]OFD Sender: No OFD packet to send [18:02:11]OFD Sender: No OFD packet to send [18:02:16]OFD Sender: No OFD packet to send [18:02:21]OFD Sender: No OFD packet to send [18:02:26]OFD Sender: No OFD packet to send [18:02:31]OFD Sender: No OFD packet to send [18:02:36]OFD Sender: No OFD packet to send [18:02:41]OFD Sender: No OFD packet to send [18:02:46]OFD Sender: No OFD packet to send [18:02:51]OFD Sender: No OFD packet to send [18:02:56]OFD Sender: No OFD packet to send [18:03:01]OFD Sender: No OFD packet to send [18:03:06]OFD Sender: No OFD packet to send [18:03:11]OFD Sender: No OFD packet to send [18:03:16]OFD Sender: No OFD packet to send [18:03:21]OFD Sender: No OFD packet to send [18:03:26]OFD Sender: No OFD packet to send [18:03:31]OFD Sender: No OFD packet to send [18:03:36]OFD Sender: No OFD packet to send [18:03:41]OFD Sender: No OFD packet to send [18:03:46]OFD Sender: No OFD packet to send [18:03:51]OFD Sender: No OFD packet to send [18:03:56]OFD Sender: No OFD packet to send [18:04:01]OFD Sender: No OFD packet to send [18:04:06]OFD Sender: No OFD packet to send [18:04:11]OFD Sender: No OFD packet to send [18:04:16]OFD Sender: No OFD packet to send [18:04:21]OFD Sender: No OFD packet to send [18:04:26]OFD Sender: No OFD packet to send [18:04:31]OFD Sender: No OFD packet to send [18:04:36]OFD Sender: No OFD packet to send [18:04:41]OFD Sender: No OFD packet to send [18:04:46]OFD Sender: No OFD packet to send [18:04:51]OFD Sender: No OFD packet to send [18:04:56]OFD Sender: No OFD packet to send [18:05:01]OFD Sender: No OFD packet to send [18:05:06]OFD Sender: No OFD packet to send [18:05:11]OFD Sender: No OFD packet to send [18:05:16]OFD Sender: No OFD packet to send [18:05:21]OFD Sender: No OFD packet to send [18:05:26]OFD Sender: No OFD packet to send [18:05:31]OFD Sender: No OFD packet to send [18:05:36]OFD Sender: No OFD packet to send [18:05:41]OFD Sender: No OFD packet to send [18:05:46]OFD Sender: No OFD packet to send [18:05:51]OFD Sender: No OFD packet to send [18:05:56]OFD Sender: No OFD packet to send [18:06:01]OFD Sender: No OFD packet to send [18:06:06]OFD Sender: No OFD packet to send [18:06:11]OFD Sender: No OFD packet to send [18:06:16]OFD Sender: No OFD packet to send [18:06:21]OFD Sender: No OFD packet to send [18:06:26]OFD Sender: No OFD packet to send [18:06:31]OFD Sender: No OFD packet to send [18:06:36]OFD Sender: No OFD packet to send [18:06:41]OFD Sender: No OFD packet to send [18:06:46]OFD Sender: No OFD packet to send [18:06:51]OFD Sender: No OFD packet to send [18:06:56]OFD Sender: No OFD packet to send [18:07:01]OFD Sender: No OFD packet to send [18:07:06]OFD Sender: No OFD packet to send [18:07:11]OFD Sender: No OFD packet to send [18:07:16]OFD Sender: No OFD packet to send [18:07:21]OFD Sender: No OFD packet to send [18:07:26]OFD Sender: No OFD packet to send [18:07:31]OFD Sender: No OFD packet to send [18:07:36]OFD Sender: No OFD packet to send [18:07:41]OFD Sender: No OFD packet to send [18:07:46]OFD Sender: No OFD packet to send [18:07:51]OFD Sender: No OFD packet to send [18:07:56]OFD Sender: No OFD packet to send [18:08:01]OFD Sender: No OFD packet to send [18:08:06]OFD Sender: No OFD packet to send [18:08:11]OFD Sender: No OFD packet to send [18:08:16]OFD Sender: No OFD packet to send [18:08:21]OFD Sender: No OFD packet to send [18:08:26]OFD Sender: No OFD packet to send [18:08:31]OFD Sender: No OFD packet to send [18:08:36]OFD Sender: No OFD packet to send [18:08:41]OFD Sender: No OFD packet to send [18:08:46]OFD Sender: No OFD packet to send [18:08:51]OFD Sender: No OFD packet to send [18:08:56]OFD Sender: No OFD packet to send [18:09:01]OFD Sender: No OFD packet to send [18:09:06]OFD Sender: No OFD packet to send [18:09:11]OFD Sender: No OFD packet to send [18:09:16]OFD Sender: No OFD packet to send [18:09:21]OFD Sender: No OFD packet to send [18:09:26]OFD Sender: No OFD packet to send [18:09:31]OFD Sender: No OFD packet to send [18:09:36]OFD Sender: No OFD packet to send [18:09:41]OFD Sender: No OFD packet to send [18:09:46]OFD Sender: No OFD packet to send [18:09:51]OFD Sender: No OFD packet to send [18:09:56]OFD Sender: No OFD packet to send [18:10:01]OFD Sender: No OFD packet to send [18:10:06]OFD Sender: No OFD packet to send [18:10:11]OFD Sender: No OFD packet to send [18:10:16]OFD Sender: No OFD packet to send [18:10:21]OFD Sender: No OFD packet to send [18:10:26]OFD Sender: No OFD packet to send [18:10:31]OFD Sender: No OFD packet to send [18:10:36]OFD Sender: No OFD packet to send [18:10:41]OFD Sender: No OFD packet to send [18:10:46]OFD Sender: No OFD packet to send [18:10:51]OFD Sender: No OFD packet to send [18:10:56]OFD Sender: No OFD packet to send [18:11:01]OFD Sender: No OFD packet to send [18:11:06]OFD Sender: No OFD packet to send [18:11:11]OFD Sender: No OFD packet to send [18:11:16]OFD Sender: No OFD packet to send [18:11:21]OFD Sender: No OFD packet to send [18:11:26]OFD Sender: No OFD packet to send [18:11:31]OFD Sender: No OFD packet to send [18:11:36]OFD Sender: No OFD packet to send [18:11:41]OFD Sender: No OFD packet to send [18:11:46]OFD Sender: No OFD packet to send [18:11:51]OFD Sender: No OFD packet to send [18:11:56]OFD Sender: No OFD packet to send [18:12:01]OFD Sender: No OFD packet to send [18:12:06]OFD Sender: No OFD packet to send [18:12:11]OFD Sender: No OFD packet to send [18:12:16]OFD Sender: No OFD packet to send [18:12:21]OFD Sender: No OFD packet to send [18:12:26]OFD Sender: No OFD packet to send [18:12:31]OFD Sender: No OFD packet to send [18:12:36]OFD Sender: No OFD packet to send [18:12:41]OFD Sender: No OFD packet to send [18:12:46]OFD Sender: No OFD packet to send [18:12:51]OFD Sender: No OFD packet to send [18:12:56]OFD Sender: No OFD packet to send [18:13:01]OFD Sender: No OFD packet to send [18:13:06]OFD Sender: No OFD packet to send [18:13:11]OFD Sender: No OFD packet to send [18:13:16]OFD Sender: No OFD packet to send [18:13:21]OFD Sender: No OFD packet to send [18:13:26]OFD Sender: No OFD packet to send [18:13:31]OFD Sender: No OFD packet to send [18:13:36]OFD Sender: No OFD packet to send [18:13:41]OFD Sender: No OFD packet to send [18:13:46]OFD Sender: No OFD packet to send [18:13:51]OFD Sender: No OFD packet to send [18:13:56]OFD Sender: No OFD packet to send [18:14:01]OFD Sender: No OFD packet to send [18:14:06]OFD Sender: No OFD packet to send [18:14:11]OFD Sender: No OFD packet to send [18:14:16]OFD Sender: No OFD packet to send [18:14:21]OFD Sender: No OFD packet to send [18:14: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:07]OFD Sender: No OFD packet to send [18:19:12]OFD Sender: No OFD packet to send [18:19:17]OFD Sender: No OFD packet to send [18:19:22]OFD Sender: No OFD packet to send [18:19:27]OFD Sender: No OFD packet to send [18:19:32]OFD Sender: No OFD packet to send [18:19:37]OFD Sender: No OFD packet to send [18:19:42]OFD Sender: No OFD packet to send [18:19:47]OFD Sender: No OFD packet to send [18:19:52]OFD Sender: No OFD packet to send [18:19:57]OFD Sender: No OFD packet to send [18:20:02]OFD Sender: No OFD packet to send [18:20:07]OFD Sender: No OFD packet to send [18:20:12]OFD Sender: No OFD packet to send [18:20:17]OFD Sender: No OFD packet to send [18:20:22]OFD Sender: No OFD packet to send [18:20:27]OFD Sender: No OFD packet to send [18:20:32]OFD Sender: No OFD packet to send [18:20:37]OFD Sender: No OFD packet to send [18:20:42]OFD Sender: No OFD packet to send [18:20:47]OFD Sender: No OFD packet to send [18:20:52]OFD Sender: No OFD packet to send [18:20:57]OFD Sender: No OFD packet to send [18:21:02]OFD Sender: No OFD packet to send [18:21:07]OFD Sender: No OFD packet to send [18:21:12]OFD Sender: No OFD packet to send [18:21:17]OFD Sender: No OFD packet to send [18:21:22]OFD Sender: No OFD packet to send [18:21:27]OFD Sender: No OFD packet to send [18:21:32]OFD Sender: No OFD packet to send [18:21:37]OFD Sender: No OFD packet to send [18:21:42]OFD Sender: No OFD packet to send [18:21:47]OFD Sender: No OFD packet to send [18:21:52]OFD Sender: No OFD packet to send [18:21:57]OFD Sender: No OFD packet to send [18:22:02]OFD Sender: No OFD packet to send [18:22:07]OFD Sender: No OFD packet to send [18:22:12]OFD Sender: No OFD packet to send [18:22:17]OFD Sender: No OFD packet to send [18:22:22]OFD Sender: No OFD packet to send [18:22:27]OFD Sender: No OFD packet to send [18:22:32]OFD Sender: No OFD packet to send [18:22:37]OFD Sender: No OFD packet to send [18:22:42]OFD Sender: No OFD packet to send [18:22:47]OFD Sender: No OFD packet to send [18:22:52]OFD Sender: No OFD packet to send [18:22:57]OFD Sender: No OFD packet to send [18:23:02]OFD Sender: No OFD packet to send [18:23:07]OFD Sender: No OFD packet to send [18:23:12]OFD Sender: No OFD packet to send [18:23:17]OFD Sender: No OFD packet to send [18:23:22]OFD Sender: No OFD packet to send [18:23:27]OFD Sender: No OFD packet to send [18:23:32]OFD Sender: No OFD packet to send [18:23:37]OFD Sender: No OFD packet to send [18:23:42]OFD Sender: No OFD packet to send [18:23:47]OFD Sender: No OFD packet to send [18:23:52]OFD Sender: No OFD packet to send [18:23:57]OFD Sender: No OFD packet to send [18:24:02]OFD Sender: No OFD packet to send [18:24:07]OFD Sender: No OFD packet to send [18:24:12]OFD Sender: No OFD packet to send [18:24:17]OFD Sender: No OFD packet to send [18:24:22]OFD Sender: No OFD packet to send [18:24:27]OFD Sender: No OFD packet to send [18:24:32]OFD Sender: No OFD packet to send [18:24:37]OFD Sender: No OFD packet to send [18:24:42]OFD Sender: No OFD packet to send [18:24:47]OFD Sender: No OFD packet to send [18:24:52]OFD Sender: No OFD packet to send [18:24:57]OFD Sender: No OFD packet to send [18:25:02]OFD Sender: No OFD packet to send [18:25:07]OFD Sender: No OFD packet to send [18:25:12]OFD Sender: No OFD packet to send [18:25:17]OFD Sender: No OFD packet to send [18:25:22]OFD Sender: No OFD packet to send [18:25:27]OFD Sender: No OFD packet to send [18:25:32]OFD Sender: No OFD packet to send [18:25:37]OFD Sender: No OFD packet to send [18:25:42]OFD Sender: No OFD packet to send [18:25:47]OFD Sender: No OFD packet to send [18:25:52]OFD Sender: No OFD packet to send [18:25:57]OFD Sender: No OFD packet to send [18:26:02]OFD Sender: No OFD packet to send [18:26:07]OFD Sender: No OFD packet to send [18:26:12]OFD Sender: No OFD packet to send [18:26:17]OFD Sender: No OFD packet to send [18:26:22]OFD Sender: No OFD packet to send [18:26:27]OFD Sender: No OFD packet to send [18:26:32]OFD Sender: No OFD packet to send [18:26:37]OFD Sender: No OFD packet to send [18:26:42]OFD Sender: No OFD packet to send [18:26:47]OFD Sender: No OFD packet to send [18:26:52]OFD Sender: No OFD packet to send [18:26:57]OFD Sender: No OFD packet to send [18:27:02]OFD Sender: No OFD packet to send [18:27:07]OFD Sender: No OFD packet to send [18:27:12]OFD Sender: No OFD packet to send [18:27:17]OFD Sender: No OFD packet to send [18:27:22]OFD Sender: No OFD packet to send [18:27:27]OFD Sender: No OFD packet to send [18:27:32]OFD Sender: No OFD packet to send [18:27:37]OFD Sender: No OFD packet to send [18:27:42]OFD Sender: No OFD packet to send [18:27:47]OFD Sender: No OFD packet to send [18:27:52]OFD Sender: No OFD packet to send [18:27:57]OFD Sender: No OFD packet to send [18:28:02]OFD Sender: No OFD packet to send [18:28:07]OFD Sender: No OFD packet to send [18:28:12]OFD Sender: No OFD packet to send [18:28:17]OFD Sender: No OFD packet to send [18:28:22]OFD Sender: No OFD packet to send [18:28:27]OFD Sender: No OFD packet to send [18:28:32]OFD Sender: No OFD packet to send [18:28:37]OFD Sender: No OFD packet to send [18:28:42]OFD Sender: No OFD packet to send [18:28:47]OFD Sender: No OFD packet to send [18:28:52]OFD Sender: No OFD packet to send [18:28:57]OFD Sender: No OFD packet to send [18:29:02]OFD Sender: No OFD packet to send [18:29:07]OFD Sender: No OFD packet to send [18:29:12]OFD Sender: No OFD packet to send [18:29:17]OFD Sender: No OFD packet to send [18:29:22]OFD Sender: No OFD packet to send [18:29:27]OFD Sender: No OFD packet to send [18:29:32]OFD Sender: No OFD packet to send [18:29:37]OFD Sender: No OFD packet to send [18:29:42]OFD Sender: No OFD packet to send [18:29:47]OFD Sender: No OFD packet to send [18:29:52]OFD Sender: No OFD packet to send [18:29:57]OFD Sender: No OFD packet to send [18:30:02]OFD Sender: No OFD packet to send [18:30:07]OFD Sender: No OFD packet to send [18:30:12]OFD Sender: No OFD packet to send [18:30:17]OFD Sender: No OFD packet to send [18:30:22]OFD Sender: No OFD packet to send [18:30:27]OFD Sender: No OFD packet to send [18:30:32]OFD Sender: No OFD packet to send [18:30:37]OFD Sender: No OFD packet to send [18:30:42]OFD Sender: No OFD packet to send [18:30:47]OFD Sender: No OFD packet to send [18:30:52]OFD Sender: No OFD packet to send [18:30:57]OFD Sender: No OFD packet to send [18:31:02]OFD Sender: No OFD packet to send [18:31:07]OFD Sender: No OFD packet to send [18:31:12]OFD Sender: No OFD packet to send [18:31:17]OFD Sender: No OFD packet to send [18:31:22]OFD Sender: No OFD packet to send [18:31:27]OFD Sender: No OFD packet to send [18:31:32]OFD Sender: No OFD packet to send [18:31:37]OFD Sender: No OFD packet to send [18:31:42]OFD Sender: No OFD packet to send [18:31:47]OFD Sender: No OFD packet to send [18:31:52]OFD Sender: No OFD packet to send [18:31:57]OFD Sender: No OFD packet to send [18:32:02]OFD Sender: No OFD packet to send [18:32:07]OFD Sender: No OFD packet to send [18:32:12]OFD Sender: No OFD packet to send [18:32:17]OFD Sender: No OFD packet to send [18:32:22]OFD Sender: No OFD packet to send [18:32:27]OFD Sender: No OFD packet to send [18:32:32]OFD Sender: No OFD packet to send [18:32:37]OFD Sender: No OFD packet to send [18:32:42]OFD Sender: No OFD packet to send [18:32:47]OFD Sender: No OFD packet to send [18:32:52]OFD Sender: No OFD packet to send [18:32:57]OFD Sender: No OFD packet to send [18:33:02]OFD Sender: No OFD packet to send [18:33:07]OFD Sender: No OFD packet to send [18:33:12]OFD Sender: No OFD packet to send [18:33:17]OFD Sender: No OFD packet to send [18:33:22]OFD Sender: No OFD packet to send [18:33:27]OFD Sender: No OFD packet to send [18:33:32]OFD Sender: No OFD packet to send [18:33:37]OFD Sender: No OFD packet to send [18:33:42]OFD Sender: No OFD packet to send [18:33:47]OFD Sender: No OFD packet to send [18:33:52]OFD Sender: No OFD packet to send [18:33:57]OFD Sender: No OFD packet to send [18:34:02]OFD Sender: No OFD packet to send [18:34:07]OFD Sender: No OFD packet to send [18:34:08]accept exits with 9 [18:34:08]New connection [18:34:08]New thread 3066699108 created [18:34:08]Thread 3066555748 joined [18:34:08]Waiting for new connection... [18:34:08] Sock 9.Parse request [18:34:08]Sock 9.Check first char [18:34:08]Sock 9.First char is OK [18:34:08]request: POST /json_proto HTTP/1.0 [18:34:08]Method: POST [18:34:08]URL: /json_proto [18:34:08]Method is POST - this is cgi request [18:34:08]url: /json_proto [18:34:08]query_string will be loaded in cgi processing [18:34:08]execute_cgi json_proto POST (null) [18:34:08]execute_cgi path=json_proto method=POST [18:34:08]POST find Content-Length [18:34:08]Host: 172.17.53.68:8080 [18:34:08]Content-Length: 620 [18:34:08]Content-Type: application/json [18:34:08] [18:34:08]POST finish read [18:34:08]Found Content-Length = 620 [18:34:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76686", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:34:08]execute_script... [18:34: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)76686", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:34:08]POST & json_proto [18:34:08]process_json_proto [18:34:08]json parsed OK: [18:34:08]protocol is kg_v1.0 [18:34:08]action value=close_receipt [18:34:08]process_action close_receipt [18:34:08]cmd_close_receipt [18:34:08]MH_GetDate [18:34:08]Write to MH i2c: F0 00 00 E0 23 F2 [18:34:08]Write i2c OK [18:34:08]MH_I2C_Read... [18:34:08]Read from MH i2c: F0 [18:34:08]MH_I2C_Read... [18:34:08]Read from MH i2c: F0 09 00 [18:34:08]MH_I2C_Read... [18:34:08]Read from MH i2c: F0 09 00 E0 23 00 29 4D 15 67 C5 A4 76 66 32 [18:34:08]GetLastDocTimeStamp 1729443879 [18:34:08]current date 1729449257 [18:34:08]FM_GetShiftState [18:34:08]SAM_PROTO_GetShiftState [18:34:08]wFMCommunicate request_size=4 [18:34:08]MH_SAM_APDU [18:34:08]CAPDU: 80 13 01 00 [18:34:08]Write to MH i2c: E2 08 00 E1 23 80 13 01 00 00 00 00 00 81 [18:34:08]Write i2c OK [18:34:08]MH_I2C_Read... [18:34:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:34:08]Read from MH i2c: E2 [18:34:08]MH_I2C_Read... [18:34:08]Read from MH i2c: E2 0E 00 [18:34:08]MH_I2C_Read... [18:34:08]Read from MH i2c: E2 0E 00 E1 23 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 D6 [18:34:08]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [18:34:08]wFMCommunicate OK [18:34:08]SAM_PROTO_GetShiftState done [18:34:08]FM_GetShiftState done [18:34:08]opened in 1729383299 [18:34:08]opened+sec_in_day 1729469699 [18:34:08]quantity*price = 14400 [18:34:08]sum+1 = 14401 [18:34:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 ÐСП 1% : 1.27 ÐДС 12% : 15.29 Ðаличными: 144.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 55 20.10.2024 18:34 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37207 ФПД: 73217253741067 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T183417&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37207&fm=73217253741067&tin=02508201610067®Number=0000000000098149&sum=14400 0 [18:34:09]StoreToDocumentArchive [18:34:09]shift 461 fd 37207 [18:34:09]save to /storage/0461/doc_00037207 [18:34:09]save last doc name /storage/0461/doc_00037207 to /storage/kkm_last_doc_name [18:34:09]save OK [18:34:09]Clear old archive folders... [18:34:09]ProcessDocumentItem done err = 0, tmpTLVsize=273 [18:34:09]tlvbuf is 00A5A7B0 [18:34:09]SAM_PROTO_ClearQueue [18:34:09]wFMCommunicate request_size=4 [18:34:09]MH_SAM_APDU [18:34:09]CAPDU: 80 09 00 00 [18:34:09]Write to MH i2c: E2 08 00 EE 23 80 09 00 00 00 00 00 00 83 [18:34:09]Write i2c OK [18:34:09]MH_I2C_Read... [18:34:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:34:09]Read from MH i2c: E2 [18:34:09]MH_I2C_Read... [18:34:09]Read from MH i2c: E2 03 00 [18:34:09]MH_I2C_Read... [18:34:09]Read from MH i2c: E2 03 00 EE 23 00 90 00 85 [18:34:09]RAPDU: 90 00 [18:34:09]wFMCommunicate OK [18:34:09]SAM_PROTO_ClearQueue done [18:34:09]KKMCreateOFDPacket [18:34:09]OFDProtocolAddRootSTLVToBuf [18:34:09]FM_MakeSignedData [18:34:09]FM_MakeSignedData [18:34:09]SAM_PROTO_SignData [18:34:09]wFMCommunicate request_size=4 [18:34:09]MH_SAM_APDU [18:34:09]CAPDU: 80 0D 01 02 [18:34:09]Write to MH i2c: E2 08 00 EF 23 80 0D 01 02 00 00 00 00 8B [18:34:09]Write i2c OK [18:34:09]MH_I2C_Read... [18:34:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:34:09]Read from MH i2c: E2 [18:34:09]MH_I2C_Read... [18:34:09]Read from MH i2c: E2 03 00 [18:34:09]MH_I2C_Read... [18:34:09]Read from MH i2c: E2 03 00 EF 23 00 90 00 86 [18:34:09]RAPDU: 90 00 [18:34:09]wFMCommunicate OK [18:34:09]wFMCommunicate request_size=255 [18:34:09]MH_SAM_APDU [18:34:09]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 29 4D 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 [18:34:09]Write to MH i2c: E2 02 01 F0 23 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 29 4D 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 00 00 DE [18:34:09]Write i2c OK [18:34:09]MH_I2C_Read... [18:34:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:34:10]Read from MH i2c: E2 [18:34:10]MH_I2C_Read... [18:34:10]Read from MH i2c: E2 03 00 [18:34:10]MH_I2C_Read... [18:34:10]Read from MH i2c: E2 03 00 F0 23 00 90 00 87 [18:34:10]RAPDU: 90 00 [18:34:10]wFMCommunicate OK [18:34:10]wFMCommunicate request_size=32 [18:34:10]MH_SAM_APDU [18:34:10]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 33 37 32 10 04 04 00 57 91 00 00 35 04 06 00 42 97 38 66 92 0B [18:34:10]Write to MH i2c: E2 23 00 F1 23 80 0D 02 02 1B 00 30 30 30 39 36 35 33 37 32 10 04 04 00 57 91 00 00 35 04 06 00 42 97 38 66 92 0B 00 00 E7 [18:34:10]Write i2c OK [18:34:10]MH_I2C_Read... [18:34:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:34:10]Read from MH i2c: E2 [18:34:10]MH_I2C_Read... [18:34:10]Read from MH i2c: E2 03 00 [18:34:10]MH_I2C_Read... [18:34:10]Read from MH i2c: E2 03 00 F1 23 00 90 00 88 [18:34:10]RAPDU: 90 00 [18:34:10]wFMCommunicate OK [18:34:10]wFMCommunicate request_size=4 [18:34:10]MH_SAM_APDU [18:34:10]CAPDU: 80 0D 03 02 [18:34:10]Write to MH i2c: E2 08 00 F2 23 80 0D 03 02 00 00 00 00 90 [18:34:10]Write i2c OK [18:34:10]MH_I2C_Read... [18:34:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:34:10]Read from MH i2c: E2 [18:34:10]MH_I2C_Read... [18:34:10]Read from MH i2c: E2 0B 00 [18:34:10]MH_I2C_Read... [18:34:10]Read from MH i2c: E2 0B 00 F2 23 00 05 9B 57 64 3A 28 33 CC 90 00 4D [18:34:10]RAPDU: 05 9B 57 64 3A 28 33 CC 90 00 [18:34:10]wFMCommunicate OK [18:34:10]SAM_PROTO_SignData done [18:34:10]FM_MakeSignedData done [18:34:10]CreateOFDProtocolMessage [18:34:10]wFMCommunicate request_size=4 [18:34:10]MH_SAM_APDU [18:34:10]CAPDU: 80 11 00 00 [18:34:10]Write to MH i2c: E2 08 00 F3 23 80 11 00 00 00 00 00 00 90 [18:34:10]Write i2c OK [18:34:10]MH_I2C_Read... [18:34:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:34:10]Read from MH i2c: E2 [18:34:10]MH_I2C_Read... [18:34:10]Read from MH i2c: E2 17 00 [18:34:10]MH_I2C_Read... [18:34:10]Read from MH i2c: E2 17 00 F3 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 E3 [18:34:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [18:34:10]wFMCommunicate OK [18:34:10]CreateOFDProtocolMessage done [18:34:10]OFDSenderStorePacket 37207 [18:34:10]StoreOFDPacket docnum=37207 [18:34:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 25 01 00 00 28 DC 1D 01 CE 78 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 29 4D 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 57 91 00 00 35 04 06 00 42 97 38 66 92 0B 05 9B 57 64 3A 28 33 CC [18:34:10]CheckFolder [18:34:10]dirname=/storage/ofd_packets [18:34:10]CheckFolder done [18:34:10]ProducePacketName [18:34:10]name=ofd_packets/00037207 [18:34:10]NVStorageSaveData ofd_packets/00037207 [18:34:10]File name is /storage/ofd_packets/00037207 [18:34:10]Write 323 bytes [18:34:10]NVStorageSaveData done [18:34:10]OFDSenderStorePacket done [18:34:10]KKMCreateOFDPacket done [18:34:10]NVStorageSaveData kkm_last_timestamp [18:34:10]File name is /storage/kkm_last_timestamp [18:34:10]Write 4 bytes [18:34:10]NVStorageSaveData done [18:34:10]ExternCall_PrintAddStr [18:34:10]wPrintStart [18:34:10]Write to MH i2c: 01 00 00 F4 23 17 [18:34:10]Write i2c OK [18:34:10]MH_I2C_Read... [18:34:10]Read from MH i2c: 01 [18:34:10]MH_I2C_Read... [18:34:10]Read from MH i2c: 01 07 00 [18:34:10]MH_I2C_Read... [18:34:10]Read from MH i2c: 01 07 00 F4 23 00 00 00 00 00 FF 0F 2C [18:34:10]RasterBufferAndPrint [18:34:10]line Счет N : (3)76686 [18:34:10]line ИÐÐ: 02508201610067 [18:34:10]line Контрольно-КаÑÑовый Чек [18:34:10]line ПРОДÐЖР[18:34:10]line Товар: 48747059 [18:34:10]line Сигареты Winston Legend Blue [18:34:10]line 1.000 * 144.00 [18:34:10]line = 144.00 [18:34:10]line ÐДС 12% ÐСП 1% [18:34:10]line > о реализуемом товаре [18:34:10]line ИТОГО: 144.00 [18:34:10]line ÐСП 1% : 1.27 [18:34:10]line ÐДС 12% : 15.29 [18:34:10]line Ðаличными: 144.00 [18:34:10]line Безнал.: 0.00 [18:34:10]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [18:34:10]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [18:34:10]line СÐО: Общий режим [18:34:10]line Чек 55 20.10.2024 18:34 [18:34:10]line Смена: 461 ФФД: 1.0 [18:34:10]line ЗÐМ: 0300000235 [18:34:10]line РÐМ: 0000000000098149 [18:34:10]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [18:34:10]line ФМ: 0000000000965372 [18:34:10]line ФД: 37207 [18:34:10]line ФПД: 73217253741067 [18:34:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T183417&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37207&fm=73217253741067&tin=02508201610067®Number=0000000000098149&sum=14400 [18:34:10]line 0 [18:34:10]OFD Sender: Processing packet 37207 [packets to send 25, broken 24] [18:34:10]ProducePacketName [18:34:10]name=ofd_packets/00037207 [18:34:10]OFD Sender: To server: ‡•öpG, [18:34:10]CommunicateWithHost lk.salyk.kg:30040 [18:34:10]ConnectInit lk.salyk.kg [18:34:10]written 0, free lines is 4095 [18:34:10]Connected sock=10 [18:34: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 33 37 32 25 01 00 00 28 DC 1D 01 CE 78 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 29 4D 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 57 91 00 00 35 04 06 00 42 97 38 66 92 0B 05 9B 57 64 3A 28 33 CC [18:34:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 F0 C6 47 00 8A 22 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 57 91 00 00 F4 03 04 00 BB F5 14 67 B6 04 01 00 00 03 FA 00 8C 08 BF 91 21 [18:34:10]CommunicateWithHost err = 0 [18:34:10]CheckOFDResponse [18:34:10]1017 (14) - 77093643461234 [18:34:10]1041 (16) - 0000000000965372 [18:34:10]1040 (4) - 37207 [18:34:10]1012 (4) - 20.10.2024 12:21 [18:34:10]1206 (1) - 0 [18:34:10]OFD Sender: Remove packet 37207 [18:34:10]ProducePacketName [18:34:10]name=ofd_packets/00037207 [18:34:10]NVStorageDeleteData [18:34:11]Write to MH i2c: 01 00 00 1D 24 41 [18:34:11]Write i2c OK [18:34:11]MH_I2C_Read... [18:34:11]Read from MH i2c: 01 [18:34:11]MH_I2C_Read... [18:34:11]Read from MH i2c: 01 07 00 [18:34:11]MH_I2C_Read... [18:34:11]Read from MH i2c: 01 07 00 1D 24 00 00 00 00 00 D4 0C 28 [18:34:11]RasterBufferAndPrint [18:34:11]line [18:34:11]line [18:34:11]line [18:34:11]line [18:34:11]line [18:34:11]written 0, free lines is 3291 [18:34:11]process_action close_receipt done [18:34:11]requested_data is exist [18:34:11]produce_requested_data [18:34:11]requested_item fm.sn is exist - process it [18:34:11]wFMCommunicate request_size=4 [18:34:11]MH_SAM_APDU [18:34:11]CAPDU: 80 11 00 00 [18:34:11]Write to MH i2c: E2 08 00 24 24 80 11 00 00 00 00 00 00 C2 [18:34:11]Write i2c OK [18:34:11]MH_I2C_Read... [18:34:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:34:11]Read from MH i2c: E2 [18:34:11]MH_I2C_Read... [18:34:11]Read from MH i2c: E2 17 00 [18:34:11]MH_I2C_Read... [18:34:11]Read from MH i2c: E2 17 00 24 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 15 [18:34:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [18:34:11]wFMCommunicate OK [18:34:11]requested_item fd.num is exist - process it [18:34:11]SAM_PROTO_GetFieldsCounters [18:34:11]wFMCommunicate request_size=4 [18:34:11]MH_SAM_APDU [18:34:11]CAPDU: 80 13 00 00 [18:34:11]Write to MH i2c: E2 08 00 25 24 80 13 00 00 00 00 00 00 C5 [18:34:11]Write i2c OK [18:34:11]MH_I2C_Read... [18:34:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:34:11]Read from MH i2c: E2 [18:34:11]MH_I2C_Read... [18:34:11]Read from MH i2c: E2 62 00 [18:34:11]MH_I2C_Read... [18:34:11]Read from MH i2c: E2 62 00 25 24 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 57 91 00 00 0E 04 04 00 CD 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 47 [18:34: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 57 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:34:11]wFMCommunicate OK [18:34:11]SAM_PROTO_GetFieldsCounters done [18:34:11]requested_item shift.num is exist - process it [18:34:11]requested_item shift.opened is exist - process it [18:34:11]req_shift_opened [18:34:11]FM_GetShiftState [18:34:11]SAM_PROTO_GetShiftState [18:34:11]wFMCommunicate request_size=4 [18:34:11]MH_SAM_APDU [18:34:11]CAPDU: 80 13 01 00 [18:34:11]Write to MH i2c: E2 08 00 26 24 80 13 01 00 00 00 00 00 C7 [18:34:11]Write i2c OK [18:34:11]MH_I2C_Read... [18:34:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:34:11]Read from MH i2c: E2 [18:34:11]MH_I2C_Read... [18:34:11]Read from MH i2c: E2 0E 00 [18:34:11]MH_I2C_Read... [18:34:11]Read from MH i2c: E2 0E 00 26 24 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 1C [18:34:11]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [18:34:11]wFMCommunicate OK [18:34:11]SAM_PROTO_GetShiftState done [18:34:11]FM_GetShiftState done [18:34:11]req_shift_opened done [18:34:11]requested_item shift.open_date is exist - process it [18:34:11]req_shift_open_date [18:34:11]req_shift_open_date done [18:34:11]produce_requested_data done [18:34:11]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37207,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [18:34:11]process_action_free close_receipt [18:34:11]json_value_free [18:34:11]json_value_free done [18:34:11]process_json_proto returns [18:34:11]Send response to host [18:34:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37207,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [18:34:11]free response buf [18:34:11]execute_script done [18:34:11]execute_script returns [18:34:11]free content buf [18:34:11]Sock 9.Close socket [18:34:11]Sock 9.Thread stoped [18:34:11]OFD Sender: No OFD packet to send [18:34:16]OFD Sender: No OFD packet to send [18:34:21]OFD Sender: No OFD packet to send [18:34:26]OFD Sender: No OFD packet to send [18:34:31]OFD Sender: No OFD packet to send [18:34:36]OFD Sender: No OFD packet to send [18:34:41]OFD Sender: No OFD packet to send [18:34:46]OFD Sender: No OFD packet to send [18:34:51]OFD Sender: No OFD packet to send [18:34:56]OFD Sender: No OFD packet to send [18:35:01]OFD Sender: No OFD packet to send [18:35:06]OFD Sender: No OFD packet to send [18:35:11]OFD Sender: No OFD packet to send [18:35:16]OFD Sender: No OFD packet to send [18:35:21]OFD Sender: No OFD packet to send [18:35:26]OFD Sender: No OFD packet to send [18:35:31]OFD Sender: No OFD packet to send [18:35:36]OFD Sender: No OFD packet to send [18:35:41]OFD Sender: No OFD packet to send [18:35:46]OFD Sender: No OFD packet to send [18:35:51]OFD Sender: No OFD packet to send [18:35:56]OFD Sender: No OFD packet to send [18:36:01]OFD Sender: No OFD packet to send [18:36:06]OFD Sender: No OFD packet to send [18:36:11]OFD Sender: No OFD packet to send [18:36:16]OFD Sender: No OFD packet to send [18:36:21]OFD Sender: No OFD packet to send [18:36:26]OFD Sender: No OFD packet to send [18:36:31]OFD Sender: No OFD packet to send [18:36:36]OFD Sender: No OFD packet to send [18:36:41]OFD Sender: No OFD packet to send [18:36:46]OFD Sender: No OFD packet to send [18:36:51]OFD Sender: No OFD packet to send [18:36:56]OFD Sender: No OFD packet to send [18:37:01]OFD Sender: No OFD packet to send [18:37:06]OFD Sender: No OFD packet to send [18:37:11]OFD Sender: No OFD packet to send [18:37:16]OFD Sender: No OFD packet to send [18:37:21]OFD Sender: No OFD packet to send [18:37:26]OFD Sender: No OFD packet to send [18:37:31]OFD Sender: No OFD packet to send [18:37:36]OFD Sender: No OFD packet to send [18:37:41]OFD Sender: No OFD packet to send [18:37:46]OFD Sender: No OFD packet to send [18:37:51]OFD Sender: No OFD packet to send [18:37:56]OFD Sender: No OFD packet to send [18:38:01]OFD Sender: No OFD packet to send [18:38:06]OFD Sender: No OFD packet to send [18:38:11]OFD Sender: No OFD packet to send [18:38:16]OFD Sender: No OFD packet to send [18:38:21]OFD Sender: No OFD packet to send [18:38:26]OFD Sender: No OFD packet to send [18:38:31]OFD Sender: No OFD packet to send [18:38:36]OFD Sender: No OFD packet to send [18:38:41]OFD Sender: No OFD packet to send [18:38:46]OFD Sender: No OFD packet to send [18:38:51]OFD Sender: No OFD packet to send [18:38:56]OFD Sender: No OFD packet to send [18:39:01]OFD Sender: No OFD packet to send [18:39:06]OFD Sender: No OFD packet to send [18:39:11]OFD Sender: No OFD packet to send [18:39:16]OFD Sender: No OFD packet to send [18:39:21]OFD Sender: No OFD packet to send [18:39:26]OFD Sender: No OFD packet to send [18:39:31]OFD Sender: No OFD packet to send [18:39:36]OFD Sender: No OFD packet to send [18:39:41]OFD Sender: No OFD packet to send [18:39:46]OFD Sender: No OFD packet to send [18:39:51]OFD Sender: No OFD packet to send [18:39:56]OFD Sender: No OFD packet to send [18:40:01]OFD Sender: No OFD packet to send [18:40:06]OFD Sender: No OFD packet to send [18:40:11]OFD Sender: No OFD packet to send [18:40:16]OFD Sender: No OFD packet to send [18:40:21]OFD Sender: No OFD packet to send [18:40:26]OFD Sender: No OFD packet to send [18:40:31]OFD Sender: No OFD packet to send [18:40:36]OFD Sender: No OFD packet to send [18:40:41]OFD Sender: No OFD packet to send [18:40:46]OFD Sender: No OFD packet to send [18:40:51]OFD Sender: No OFD packet to send [18:40:56]OFD Sender: No OFD packet to send [18:41:01]OFD Sender: No OFD packet to send [18:41:06]OFD Sender: No OFD packet to send [18:41:11]OFD Sender: No OFD packet to send [18:41:16]OFD Sender: No OFD packet to send [18:41:21]OFD Sender: No OFD packet to send [18:41:26]OFD Sender: No OFD packet to send [18:41:31]OFD Sender: No OFD packet to send [18:41:36]OFD Sender: No OFD packet to send [18:41:41]OFD Sender: No OFD packet to send [18:41:46]OFD Sender: No OFD packet to send [18:41:51]OFD Sender: No OFD packet to send [18:41:56]OFD Sender: No OFD packet to send [18:42:01]OFD Sender: No OFD packet to send [18:42:06]OFD Sender: No OFD packet to send [18:42:11]OFD Sender: No OFD packet to send [18:42:16]OFD Sender: No OFD packet to send [18:42:21]OFD Sender: No OFD packet to send [18:42:26]OFD Sender: No OFD packet to send [18:42:31]OFD Sender: No OFD packet to send [18:42:36]OFD Sender: No OFD packet to send [18:42:41]OFD Sender: No OFD packet to send [18:42:46]OFD Sender: No OFD packet to send [18:42:51]OFD Sender: No OFD packet to send [18:42:56]OFD Sender: No OFD packet to send [18:43:01]OFD Sender: No OFD packet to send [18:43:06]OFD Sender: No OFD packet to send [18:43:11]OFD Sender: No OFD packet to send [18:43:16]OFD Sender: No OFD packet to send [18:43:21]OFD Sender: No OFD packet to send [18:43:26]OFD Sender: No OFD packet to send [18:43:31]OFD Sender: No OFD packet to send [18:43:36]OFD Sender: No OFD packet to send [18:43:41]OFD Sender: No OFD packet to send [18:43:46]OFD Sender: No OFD packet to send [18:43:51]OFD Sender: No OFD packet to send [18:43:56]OFD Sender: No OFD packet to send [18:44:01]OFD Sender: No OFD packet to send [18:44:06]OFD Sender: No OFD packet to send [18:44:11]OFD Sender: No OFD packet to send [18:44:16]OFD Sender: No OFD packet to send [18:44:21]OFD Sender: No OFD packet to send [18:44:26]OFD Sender: No OFD packet to send [18:44:31]OFD Sender: No OFD packet to send [18:44:36]OFD Sender: No OFD packet to send [18:44:41]OFD Sender: No OFD packet to send [18:44:46]OFD Sender: No OFD packet to send [18:44:51]OFD Sender: No OFD packet to send [18:44:56]OFD Sender: No OFD packet to send [18:45:01]OFD Sender: No OFD packet to send [18:45:06]OFD Sender: No OFD packet to send [18:45:11]OFD Sender: No OFD packet to send [18:45:16]OFD Sender: No OFD packet to send [18:45:21]OFD Sender: No OFD packet to send [18:45:26]OFD Sender: No OFD packet to send [18:45:31]OFD Sender: No OFD packet to send [18:45:36]OFD Sender: No OFD packet to send [18:45:41]OFD Sender: No OFD packet to send [18:45:46]OFD Sender: No OFD packet to send [18:45:51]OFD Sender: No OFD packet to send [18:45:56]OFD Sender: No OFD packet to send [18:46:01]OFD Sender: No OFD packet to send [18:46:06]OFD Sender: No OFD packet to send [18:46:11]OFD Sender: No OFD packet to send [18:46:16]OFD Sender: No OFD packet to send [18:46:22]OFD Sender: No OFD packet to send [18:46:27]OFD Sender: No OFD packet to send [18:46:32]OFD Sender: No OFD packet to send [18:46:37]OFD Sender: No OFD packet to send [18:46:42]OFD Sender: No OFD packet to send [18:46:47]OFD Sender: No OFD packet to send [18:46:52]OFD Sender: No OFD packet to send [18:46:57]OFD Sender: No OFD packet to send [18:47:02]OFD Sender: No OFD packet to send [18:47:07]OFD Sender: No OFD packet to send [18:47:12]OFD Sender: No OFD packet to send [18:47:17]OFD Sender: No OFD packet to send [18:47:22]OFD Sender: No OFD packet to send [18:47:27]OFD Sender: No OFD packet to send [18:47:32]OFD Sender: No OFD packet to send [18:47:37]OFD Sender: No OFD packet to send [18:47:42]OFD Sender: No OFD packet to send [18:47:47]OFD Sender: No OFD packet to send [18:47:52]OFD Sender: No OFD packet to send [18:47:57]OFD Sender: No OFD packet to send [18:48:02]OFD Sender: No OFD packet to send [18:48:07]OFD Sender: No OFD packet to send [18:48:12]OFD Sender: No OFD packet to send [18:48:17]OFD Sender: No OFD packet to send [18:48:22]OFD Sender: No OFD packet to send [18:48:27]OFD Sender: No OFD packet to send [18:48:32]OFD Sender: No OFD packet to send [18:48:37]OFD Sender: No OFD packet to send [18:48:42]OFD Sender: No OFD packet to send [18:48:47]OFD Sender: No OFD packet to send [18:48:52]OFD Sender: No OFD packet to send [18:48:57]OFD Sender: No OFD packet to send [18:49:02]OFD Sender: No OFD packet to send [18:49:07]OFD Sender: No OFD packet to send [18:49:12]OFD Sender: No OFD packet to send [18:49:17]OFD Sender: No OFD packet to send [18:49:22]OFD Sender: No OFD packet to send [18:49:27]OFD Sender: No OFD packet to send [18:49:32]OFD Sender: No OFD packet to send [18:49:37]OFD Sender: No OFD packet to send [18:49:42]OFD Sender: No OFD packet to send [18:49:47]OFD Sender: No OFD packet to send [18:49:52]OFD Sender: No OFD packet to send [18:49:57]OFD Sender: No OFD packet to send [18:50:02]OFD Sender: No OFD packet to send [18:50:07]OFD Sender: No OFD packet to send [18:50:12]OFD Sender: No OFD packet to send [18:50:17]OFD Sender: No OFD packet to send [18:50:22]OFD Sender: No OFD packet to send [18:50:27]OFD Sender: No OFD packet to send [18:50:32]OFD Sender: No OFD packet to send [18:50:37]OFD Sender: No OFD packet to send [18:50:42]OFD Sender: No OFD packet to send [18:50:47]OFD Sender: No OFD packet to send [18:50:52]OFD Sender: No OFD packet to send [18:50:57]OFD Sender: No OFD packet to send [18:51:02]OFD Sender: No OFD packet to send [18:51:07]OFD Sender: No OFD packet to send [18:51:12]OFD Sender: No OFD packet to send [18:51:17]OFD Sender: No OFD packet to send [18:51:22]OFD Sender: No OFD packet to send [18:51:27]OFD Sender: No OFD packet to send [18:51:32]OFD Sender: No OFD packet to send [18:51:37]OFD Sender: No OFD packet to send [18:51:42]OFD Sender: No OFD packet to send [18:51:47]OFD Sender: No OFD packet to send [18:51:52]OFD Sender: No OFD packet to send [18:51:57]OFD Sender: No OFD packet to send [18:52:02]OFD Sender: No OFD packet to send [18:52:07]OFD Sender: No OFD packet to send [18:52:12]OFD Sender: No OFD packet to send [18:52:17]OFD Sender: No OFD packet to send [18:52:22]OFD Sender: No OFD packet to send [18:52:27]OFD Sender: No OFD packet to send [18:52:32]OFD Sender: No OFD packet to send [18:52:37]OFD Sender: No OFD packet to send [18:52:42]OFD Sender: No OFD packet to send [18:52:47]OFD Sender: No OFD packet to send [18:52:52]OFD Sender: No OFD packet to send [18:52:57]OFD Sender: No OFD packet to send [18:53:02]OFD Sender: No OFD packet to send [18:53:07]OFD Sender: No OFD packet to send [18:53:12]OFD Sender: No OFD packet to send [18:53:17]OFD Sender: No OFD packet to send [18:53:22]OFD Sender: No OFD packet to send [18:53:27]OFD Sender: No OFD packet to send [18:53:32]OFD Sender: No OFD packet to send [18:53:37]OFD Sender: No OFD packet to send [18:53:42]OFD Sender: No OFD packet to send [18:53:47]OFD Sender: No OFD packet to send [18:53:52]OFD Sender: No OFD packet to send [18:53:57]OFD Sender: No OFD packet to send [18:54:02]OFD Sender: No OFD packet to send [18:54:07]OFD Sender: No OFD packet to send [18:54:12]OFD Sender: No OFD packet to send [18:54:17]OFD Sender: No OFD packet to send [18:54:22]OFD Sender: No OFD packet to send [18:54:27]OFD Sender: No OFD packet to send [18:54:32]OFD Sender: No OFD packet to send [18:54:37]OFD Sender: No OFD packet to send [18:54:42]OFD Sender: No OFD packet to send [18:54:47]OFD Sender: No OFD packet to send [18:54:52]OFD Sender: No OFD packet to send [18:54:57]OFD Sender: No OFD packet to send [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:22]OFD Sender: No OFD packet to send [18:56:27]OFD Sender: No OFD packet to send [18:56:32]OFD Sender: No OFD packet to send [18:56:37]OFD Sender: No OFD packet to send [18:56:42]OFD Sender: No OFD packet to send [18:56:47]OFD Sender: No OFD packet to send [18:56:52]OFD Sender: No OFD packet to send [18:56:57]OFD Sender: No OFD packet to send [18:57:02]OFD Sender: No OFD packet to send [18:57:07]OFD Sender: No OFD packet to send [18:57:12]OFD Sender: No OFD packet to send [18:57:17]OFD Sender: No OFD packet to send [18:57:22]OFD Sender: No OFD packet to send [18:57:27]OFD Sender: No OFD packet to send [18:57:32]OFD Sender: No OFD packet to send [18:57:37]OFD Sender: No OFD packet to send [18:57:42]OFD Sender: No OFD packet to send [18:57:47]OFD Sender: No OFD packet to send [18:57:52]OFD Sender: No OFD packet to send [18:57:57]OFD Sender: No OFD packet to send [18:58:02]OFD Sender: No OFD packet to send [18:58:07]OFD Sender: No OFD packet to send [18:58:12]OFD Sender: No OFD packet to send [18:58:17]OFD Sender: No OFD packet to send [18:58:22]OFD Sender: No OFD packet to send [18:58:27]OFD Sender: No OFD packet to send [18:58:32]OFD Sender: No OFD packet to send [18:58:37]OFD Sender: No OFD packet to send [18:58:42]OFD Sender: No OFD packet to send [18:58:47]OFD Sender: No OFD packet to send [18:58:52]OFD Sender: No OFD packet to send [18:58:57]OFD Sender: No OFD packet to send [18:59:02]OFD Sender: No OFD packet to send [18:59:07]OFD Sender: No OFD packet to send [18:59:12]OFD Sender: No OFD packet to send [18:59:17]OFD Sender: No OFD packet to send [18:59:22]OFD Sender: No OFD packet to send [18:59:27]OFD Sender: No OFD packet to send [18:59:32]OFD Sender: No OFD packet to send [18:59:37]OFD Sender: No OFD packet to send [18:59:42]OFD Sender: No OFD packet to send [18:59:47]OFD Sender: No OFD packet to send [18:59:52]OFD Sender: No OFD packet to send [18:59:57]OFD Sender: No OFD packet to send [19:00:02]OFD Sender: No OFD packet to send [19:00:07]OFD Sender: No OFD packet to send [19:00:12]OFD Sender: No OFD packet to send [19:00:17]OFD Sender: No OFD packet to send [19:00:22]OFD Sender: No OFD packet to send [19:00:27]OFD Sender: No OFD packet to send [19:00:32]OFD Sender: No OFD packet to send [19:00:37]OFD Sender: No OFD packet to send [19:00:42]OFD Sender: No OFD packet to send [19:00:47]OFD Sender: No OFD packet to send [19:00:52]OFD Sender: No OFD packet to send [19:00:57]OFD Sender: No OFD packet to send [19:01:02]OFD Sender: No OFD packet to send [19:01:07]OFD Sender: No OFD packet to send [19:01:12]OFD Sender: No OFD packet to send [19:01:17]OFD Sender: No OFD packet to send [19:01:22]OFD Sender: No OFD packet to send [19:01:27]OFD Sender: No OFD packet to send [19:01:32]OFD Sender: No OFD packet to send [19:01:37]OFD Sender: No OFD packet to send [19:01:42]OFD Sender: No OFD packet to send [19:01:47]OFD Sender: No OFD packet to send [19:01:52]OFD Sender: No OFD packet to send [19:01:57]OFD Sender: No OFD packet to send [19:02:02]OFD Sender: No OFD packet to send [19:02:07]OFD Sender: No OFD packet to send [19:02:12]OFD Sender: No OFD packet to send [19:02:17]OFD Sender: No OFD packet to send [19:02:22]OFD Sender: No OFD packet to send [19:02:27]OFD Sender: No OFD packet to send [19:02:32]OFD Sender: No OFD packet to send [19:02:37]OFD Sender: No OFD packet to send [19:02:42]OFD Sender: No OFD packet to send [19:02:47]OFD Sender: No OFD packet to send [19:02:52]OFD Sender: No OFD packet to send [19:02:57]OFD Sender: No OFD packet to send [19:03:02]OFD Sender: No OFD packet to send [19:03:07]OFD Sender: No OFD packet to send [19:03:12]OFD Sender: No OFD packet to send [19:03:17]OFD Sender: No OFD packet to send [19:03:22]OFD Sender: No OFD packet to send [19:03:27]OFD Sender: No OFD packet to send [19:03:32]OFD Sender: No OFD packet to send [19:03:37]OFD Sender: No OFD packet to send [19:03:42]OFD Sender: No OFD packet to send [19:03:47]OFD Sender: No OFD packet to send [19:03:52]OFD Sender: No OFD packet to send [19:03:57]OFD Sender: No OFD packet to send [19:04:02]OFD Sender: No OFD packet to send [19:04:07]OFD Sender: No OFD packet to send [19:04:12]OFD Sender: No OFD packet to send [19:04:17]OFD Sender: No OFD packet to send [19:04:22]OFD Sender: No OFD packet to send [19:04:27]OFD Sender: No OFD packet to send [19:04:32]OFD Sender: No OFD packet to send [19:04:37]OFD Sender: No OFD packet to send [19:04:42]OFD Sender: No OFD packet to send [19:04:47]OFD Sender: No OFD packet to send [19:04:52]OFD Sender: No OFD packet to send [19:04:57]OFD Sender: No OFD packet to send [19:05:02]OFD Sender: No OFD packet to send [19:05:07]OFD Sender: No OFD packet to send [19:05:12]OFD Sender: No OFD packet to send [19:05:17]OFD Sender: No OFD packet to send [19:05:22]OFD Sender: No OFD packet to send [19:05:27]OFD Sender: No OFD packet to send [19:05:32]OFD Sender: No OFD packet to send [19:05:37]OFD Sender: No OFD packet to send [19:05:42]OFD Sender: No OFD packet to send [19:05:47]OFD Sender: No OFD packet to send [19:05:52]OFD Sender: No OFD packet to send [19:05:57]OFD Sender: No OFD packet to send [19:06:02]OFD Sender: No OFD packet to send [19:06:07]OFD Sender: No OFD packet to send [19:06: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:13]OFD Sender: No OFD packet to send [19:11:18]OFD Sender: No OFD packet to send [19:11:23]OFD Sender: No OFD packet to send [19:11:28]OFD Sender: No OFD packet to send [19:11:33]OFD Sender: No OFD packet to send [19:11:38]OFD Sender: No OFD packet to send [19:11:43]OFD Sender: No OFD packet to send [19:11:48]OFD Sender: No OFD packet to send [19:11:53]OFD Sender: No OFD packet to send [19:11:58]OFD Sender: No OFD packet to send [19:12:03]OFD Sender: No OFD packet to send [19:12:08]OFD Sender: No OFD packet to send [19:12:13]OFD Sender: No OFD packet to send [19:12:18]OFD Sender: No OFD packet to send [19:12:23]OFD Sender: No OFD packet to send [19:12:28]OFD Sender: No OFD packet to send [19:12:33]OFD Sender: No OFD packet to send [19:12:38]OFD Sender: No OFD packet to send [19:12:43]OFD Sender: No OFD packet to send [19:12:48]OFD Sender: No OFD packet to send [19:12:53]OFD Sender: No OFD packet to send [19:12:58]OFD Sender: No OFD packet to send [19:13:03]OFD Sender: No OFD packet to send [19:13:08]OFD Sender: No OFD packet to send [19:13:13]OFD Sender: No OFD packet to send [19:13:18]OFD Sender: No OFD packet to send [19:13:23]OFD Sender: No OFD packet to send [19:13:28]OFD Sender: No OFD packet to send [19:13:33]OFD Sender: No OFD packet to send [19:13:34]accept exits with 7 [19:13:34]New connection [19:13:34]New thread 3066555748 created [19:13:34]Thread 3066699108 joined [19:13:34]Waiting for new connection... [19:13:34] Sock 7.Parse request [19:13:34]Sock 7.Check first char [19:13:34]Sock 7.First char is OK [19:13:34]request: POST /json_proto HTTP/1.0 [19:13:34]Method: POST [19:13:34]URL: /json_proto [19:13:34]Method is POST - this is cgi request [19:13:34]url: /json_proto [19:13:34]query_string will be loaded in cgi processing [19:13:34]execute_cgi json_proto POST (null) [19:13:34]execute_cgi path=json_proto method=POST [19:13:34]POST find Content-Length [19:13:34]Host: 172.17.53.68:8080 [19:13:34]Content-Length: 622 [19:13:34]Content-Type: application/json [19:13:34] [19:13:34]POST finish read [19:13:34]Found Content-Length = 622 [19:13:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76687", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:13:34]execute_script... [19:13:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76687", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:13:34]POST & json_proto [19:13:34]process_json_proto [19:13:34]json parsed OK: [19:13:34]protocol is kg_v1.0 [19:13:34]action value=close_receipt [19:13:34]process_action close_receipt [19:13:34]cmd_close_receipt [19:13:34]MH_GetDate [19:13:34]Write to MH i2c: F0 00 00 27 24 3A [19:13:34]Write i2c OK [19:13:34]MH_I2C_Read... [19:13:34]Read from MH i2c: F0 [19:13:34]MH_I2C_Read... [19:13:34]Read from MH i2c: F0 09 00 [19:13:34]MH_I2C_Read... [19:13:34]Read from MH i2c: F0 09 00 27 24 00 67 56 15 67 C5 A4 76 66 C1 [19:13:34]GetLastDocTimeStamp 1729449257 [19:13:34]current date 1729451623 [19:13:34]FM_GetShiftState [19:13:34]SAM_PROTO_GetShiftState [19:13:34]wFMCommunicate request_size=4 [19:13:34]MH_SAM_APDU [19:13:34]CAPDU: 80 13 01 00 [19:13:34]Write to MH i2c: E2 08 00 28 24 80 13 01 00 00 00 00 00 C9 [19:13:34]Write i2c OK [19:13:34]MH_I2C_Read... [19:13:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:13:34]Read from MH i2c: E2 [19:13:34]MH_I2C_Read... [19:13:34]Read from MH i2c: E2 0E 00 [19:13:34]MH_I2C_Read... [19:13:34]Read from MH i2c: E2 0E 00 28 24 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 1E [19:13:34]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [19:13:34]wFMCommunicate OK [19:13:34]SAM_PROTO_GetShiftState done [19:13:34]FM_GetShiftState done [19:13:34]opened in 1729383299 [19:13:34]opened+sec_in_day 1729469699 [19:13:34]quantity*price = 14400 [19:13:34]sum+1 = 14401 [19:13:34]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 ÐСП 1% : 1.27 ÐДС 12% : 15.29 Ðаличными: 144.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 56 20.10.2024 19:13 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37208 ФПД: 103093201917245 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T191343&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37208&fm=103093201917245&tin=02508201610067®Number=0000000000098149&sum=14400 0 [19:13:35]StoreToDocumentArchive [19:13:35]shift 461 fd 37208 [19:13:35]save to /storage/0461/doc_00037208 [19:13:35]save last doc name /storage/0461/doc_00037208 to /storage/kkm_last_doc_name [19:13:35]save OK [19:13:35]Clear old archive folders... [19:13:35]ProcessDocumentItem done err = 0, tmpTLVsize=275 [19:13:35]tlvbuf is 009E7520 [19:13:35]SAM_PROTO_ClearQueue [19:13:35]wFMCommunicate request_size=4 [19:13:35]MH_SAM_APDU [19:13:35]CAPDU: 80 09 00 00 [19:13:35]Write to MH i2c: E2 08 00 35 24 80 09 00 00 00 00 00 00 CB [19:13:35]Write i2c OK [19:13:35]MH_I2C_Read... [19:13:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:13:35]Read from MH i2c: E2 [19:13:35]MH_I2C_Read... [19:13:35]Read from MH i2c: E2 03 00 [19:13:35]MH_I2C_Read... [19:13:35]Read from MH i2c: E2 03 00 35 24 00 90 00 CD [19:13:35]RAPDU: 90 00 [19:13:35]wFMCommunicate OK [19:13:35]SAM_PROTO_ClearQueue done [19:13:35]KKMCreateOFDPacket [19:13:35]OFDProtocolAddRootSTLVToBuf [19:13:35]FM_MakeSignedData [19:13:35]FM_MakeSignedData [19:13:35]SAM_PROTO_SignData [19:13:35]wFMCommunicate request_size=4 [19:13:35]MH_SAM_APDU [19:13:35]CAPDU: 80 0D 01 02 [19:13:35]Write to MH i2c: E2 08 00 36 24 80 0D 01 02 00 00 00 00 D3 [19:13:35]Write i2c OK [19:13:35]MH_I2C_Read... [19:13:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:13:35]Read from MH i2c: E2 [19:13:35]MH_I2C_Read... [19:13:35]Read from MH i2c: E2 03 00 [19:13:35]MH_I2C_Read... [19:13:35]Read from MH i2c: E2 03 00 36 24 00 90 00 CE [19:13:35]RAPDU: 90 00 [19:13:35]wFMCommunicate OK [19:13:35]wFMCommunicate request_size=255 [19:13:35]MH_SAM_APDU [19:13:35]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 67 56 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 [19:13:35]Write to MH i2c: E2 02 01 37 24 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 67 56 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 00 00 1D [19:13:35]Write i2c OK [19:13:35]MH_I2C_Read... [19:13:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:13:35]Read from MH i2c: E2 [19:13:35]MH_I2C_Read... [19:13:35]Read from MH i2c: E2 03 00 [19:13:35]MH_I2C_Read... [19:13:35]Read from MH i2c: E2 03 00 37 24 00 90 00 CF [19:13:35]RAPDU: 90 00 [19:13:35]wFMCommunicate OK [19:13:35]wFMCommunicate request_size=34 [19:13:35]MH_SAM_APDU [19:13:35]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 58 91 00 00 35 04 06 00 5D C3 41 AD D5 3D [19:13:35]Write to MH i2c: E2 25 00 38 24 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 58 91 00 00 35 04 06 00 5D C3 41 AD D5 3D 00 00 A0 [19:13:35]Write i2c OK [19:13:35]MH_I2C_Read... [19:13:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:13:35]Read from MH i2c: E2 [19:13:35]MH_I2C_Read... [19:13:35]Read from MH i2c: E2 03 00 [19:13:35]MH_I2C_Read... [19:13:35]Read from MH i2c: E2 03 00 38 24 00 90 00 D0 [19:13:35]RAPDU: 90 00 [19:13:35]wFMCommunicate OK [19:13:35]wFMCommunicate request_size=4 [19:13:35]MH_SAM_APDU [19:13:35]CAPDU: 80 0D 03 02 [19:13:35]Write to MH i2c: E2 08 00 39 24 80 0D 03 02 00 00 00 00 D8 [19:13:35]Write i2c OK [19:13:35]MH_I2C_Read... [19:13:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:13:35]Read from MH i2c: E2 [19:13:35]MH_I2C_Read... [19:13:35]Read from MH i2c: E2 0B 00 [19:13:35]MH_I2C_Read... [19:13:35]Read from MH i2c: E2 0B 00 39 24 00 3A 2F 80 85 07 F1 A4 FA 90 00 DD [19:13:35]RAPDU: 3A 2F 80 85 07 F1 A4 FA 90 00 [19:13:35]wFMCommunicate OK [19:13:35]SAM_PROTO_SignData done [19:13:35]FM_MakeSignedData done [19:13:35]CreateOFDProtocolMessage [19:13:35]wFMCommunicate request_size=4 [19:13:35]MH_SAM_APDU [19:13:35]CAPDU: 80 11 00 00 [19:13:35]Write to MH i2c: E2 08 00 3A 24 80 11 00 00 00 00 00 00 D8 [19:13:35]Write i2c OK [19:13:35]MH_I2C_Read... [19:13:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:13:35]Read from MH i2c: E2 [19:13:35]MH_I2C_Read... [19:13:35]Read from MH i2c: E2 17 00 [19:13:35]MH_I2C_Read... [19:13:35]Read from MH i2c: E2 17 00 3A 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 2B [19:13:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:13:35]wFMCommunicate OK [19:13:35]CreateOFDProtocolMessage done [19:13:35]OFDSenderStorePacket 37208 [19:13:35]StoreOFDPacket docnum=37208 [19:13:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 27 01 00 00 CF 47 1F 01 FD 80 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 67 56 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 58 91 00 00 35 04 06 00 5D C3 41 AD D5 3D 3A 2F 80 85 07 F1 A4 FA [19:13:35]CheckFolder [19:13:35]dirname=/storage/ofd_packets [19:13:35]CheckFolder done [19:13:35]ProducePacketName [19:13:35]name=ofd_packets/00037208 [19:13:35]NVStorageSaveData ofd_packets/00037208 [19:13:35]File name is /storage/ofd_packets/00037208 [19:13:35]Write 325 bytes [19:13:35]NVStorageSaveData done [19:13:35]OFDSenderStorePacket done [19:13:35]KKMCreateOFDPacket done [19:13:35]NVStorageSaveData kkm_last_timestamp [19:13:35]File name is /storage/kkm_last_timestamp [19:13:35]Write 4 bytes [19:13:35]NVStorageSaveData done [19:13:35]ExternCall_PrintAddStr [19:13:35]wPrintStart [19:13:35]Write to MH i2c: 01 00 00 3B 24 5F [19:13:35]Write i2c OK [19:13:35]MH_I2C_Read... [19:13:35]Read from MH i2c: 01 [19:13:35]MH_I2C_Read... [19:13:35]Read from MH i2c: 01 07 00 [19:13:35]MH_I2C_Read... [19:13:35]Read from MH i2c: 01 07 00 3B 24 00 00 00 00 00 FF 0F 74 [19:13:35]RasterBufferAndPrint [19:13:35]line Счет N : (3)76687 [19:13:35]line ИÐÐ: 02508201610067 [19:13:35]line Контрольно-КаÑÑовый Чек [19:13:35]line ПРОДÐЖР[19:13:35]line Товар: 48743587 [19:13:35]line Сигареты Winston XStyle Silver [19:13:35]line 1.000 * 144.00 [19:13:35]line = 144.00 [19:13:35]line ÐДС 12% ÐСП 1% [19:13:35]line > о реализуемом товаре [19:13:35]line ИТОГО: 144.00 [19:13:35]line ÐСП 1% : 1.27 [19:13:35]line ÐДС 12% : 15.29 [19:13:35]line Ðаличными: 144.00 [19:13:35]line Безнал.: 0.00 [19:13:35]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [19:13:35]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [19:13:35]line СÐО: Общий режим [19:13:35]line Чек 56 20.10.2024 19:13 [19:13:35]line Смена: 461 ФФД: 1.0 [19:13:35]line ЗÐМ: 0300000235 [19:13:35]line РÐМ: 0000000000098149 [19:13:35]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [19:13:35]line ФМ: 0000000000965372 [19:13:35]line ФД: 37208 [19:13:35]line ФПД: 103093201917245 [19:13:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T191343&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37208&fm=103093201917245&tin=02508201610067®Number=0000000000098149&sum=14400 [19:13:36]line 0 [19:13:36]OFD Sender: Processing packet 37208 [packets to send 25, broken 24] [19:13:36]ProducePacketName [19:13:36]name=ofd_packets/00037208 [19:13:36]OFD Sender: To server: ‡•öpG, [19:13:36]CommunicateWithHost lk.salyk.kg:30040 [19:13:36]ConnectInit lk.salyk.kg [19:13:36]written 0, free lines is 4095 [19:13:36]Connected sock=9 [19:13:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 27 01 00 00 CF 47 1F 01 FD 80 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 67 56 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 58 91 00 00 35 04 06 00 5D C3 41 AD D5 3D 3A 2F 80 85 07 F1 A4 FA [19:13:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 10 37 47 00 B2 E9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 58 91 00 00 F4 03 04 00 F8 FE 14 67 B6 04 01 00 00 75 DC C7 01 4E 8F CA FB [19:13:36]CommunicateWithHost err = 0 [19:13:36]CheckOFDResponse [19:13:36]1017 (14) - 77093643461234 [19:13:36]1041 (16) - 0000000000965372 [19:13:36]1040 (4) - 37208 [19:13:36]1012 (4) - 20.10.2024 13:00 [19:13:36]1206 (1) - 0 [19:13:36]OFD Sender: Remove packet 37208 [19:13:36]ProducePacketName [19:13:36]name=ofd_packets/00037208 [19:13:36]NVStorageDeleteData [19:13:36]Write to MH i2c: 01 00 00 64 24 88 [19:13:36]Write i2c OK [19:13:36]MH_I2C_Read... [19:13:36]Read from MH i2c: 01 [19:13:36]MH_I2C_Read... [19:13:36]Read from MH i2c: 01 07 00 [19:13:36]MH_I2C_Read... [19:13:36]Read from MH i2c: 01 07 00 64 24 00 00 00 00 00 E0 0C 7B [19:13:36]RasterBufferAndPrint [19:13:36]line [19:13:36]line [19:13:36]line [19:13:36]line [19:13:36]line [19:13:36]written 0, free lines is 3302 [19:13:36]process_action close_receipt done [19:13:36]requested_data is exist [19:13:36]produce_requested_data [19:13:36]requested_item fm.sn is exist - process it [19:13:36]wFMCommunicate request_size=4 [19:13:36]MH_SAM_APDU [19:13:36]CAPDU: 80 11 00 00 [19:13:36]Write to MH i2c: E2 08 00 6B 24 80 11 00 00 00 00 00 00 09 [19:13:36]Write i2c OK [19:13:36]MH_I2C_Read... [19:13:36]Read from MH i2c: E2 [19:13:36]MH_I2C_Read... [19:13:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:13:36]Read from MH i2c: E2 17 00 [19:13:36]MH_I2C_Read... [19:13:36]Read from MH i2c: E2 17 00 6B 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 5C [19:13:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:13:36]wFMCommunicate OK [19:13:36]requested_item fd.num is exist - process it [19:13:36]SAM_PROTO_GetFieldsCounters [19:13:36]wFMCommunicate request_size=4 [19:13:36]MH_SAM_APDU [19:13:36]CAPDU: 80 13 00 00 [19:13:36]Write to MH i2c: E2 08 00 6C 24 80 13 00 00 00 00 00 00 0C [19:13:36]Write i2c OK [19:13:36]MH_I2C_Read... [19:13:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:13:36]Read from MH i2c: E2 [19:13:36]MH_I2C_Read... [19:13:36]Read from MH i2c: E2 62 00 [19:13:36]MH_I2C_Read... [19:13:36]Read from MH i2c: E2 62 00 6C 24 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 58 91 00 00 0E 04 04 00 CD 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 92 [19:13:36]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 58 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:13:36]wFMCommunicate OK [19:13:36]SAM_PROTO_GetFieldsCounters done [19:13:36]requested_item shift.num is exist - process it [19:13:36]requested_item shift.opened is exist - process it [19:13:36]req_shift_opened [19:13:36]FM_GetShiftState [19:13:36]SAM_PROTO_GetShiftState [19:13:36]wFMCommunicate request_size=4 [19:13:36]MH_SAM_APDU [19:13:36]CAPDU: 80 13 01 00 [19:13:36]Write to MH i2c: E2 08 00 6D 24 80 13 01 00 00 00 00 00 0E [19:13:36]Write i2c OK [19:13:36]MH_I2C_Read... [19:13:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:13:37]Read from MH i2c: E2 [19:13:37]MH_I2C_Read... [19:13:37]Read from MH i2c: E2 0E 00 [19:13:37]MH_I2C_Read... [19:13:37]Read from MH i2c: E2 0E 00 6D 24 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 63 [19:13:37]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [19:13:37]wFMCommunicate OK [19:13:37]SAM_PROTO_GetShiftState done [19:13:37]FM_GetShiftState done [19:13:37]req_shift_opened done [19:13:37]requested_item shift.open_date is exist - process it [19:13:37]req_shift_open_date [19:13:37]req_shift_open_date done [19:13:37]produce_requested_data done [19:13:37]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37208,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [19:13:37]process_action_free close_receipt [19:13:37]json_value_free [19:13:37]json_value_free done [19:13:37]process_json_proto returns [19:13:37]Send response to host [19:13:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37208,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [19:13:37]free response buf [19:13:37]execute_script done [19:13:37]execute_script returns [19:13:37]free content buf [19:13:37]Sock 7.Close socket [19:13:37]Sock 7.Thread stoped [19:13:37]OFD Sender: No OFD packet to send [19:13:42]OFD Sender: No OFD packet to send [19:13:47]OFD Sender: No OFD packet to send [19:13:52]OFD Sender: No OFD packet to send [19:13:57]OFD Sender: No OFD packet to send [19:14:02]OFD Sender: No OFD packet to send [19:14:07]OFD Sender: No OFD packet to send [19:14:12]OFD Sender: No OFD packet to send [19:14:17]OFD Sender: No OFD packet to send [19:14:22]OFD Sender: No OFD packet to send [19:14:27]OFD Sender: No OFD packet to send [19:14:32]OFD Sender: No OFD packet to send [19:14:37]OFD Sender: No OFD packet to send [19:14:42]OFD Sender: No OFD packet to send [19:14:47]OFD Sender: No OFD packet to send [19:14:52]OFD Sender: No OFD packet to send [19:14:57]OFD Sender: No OFD packet to send [19:15:02]OFD Sender: No OFD packet to send [19:15:07]OFD Sender: No OFD packet to send [19:15:12]OFD Sender: No OFD packet to send [19:15:17]OFD Sender: No OFD packet to send [19:15:22]OFD Sender: No OFD packet to send [19:15:27]OFD Sender: No OFD packet to send [19:15:32]OFD Sender: No OFD packet to send [19:15:37]OFD Sender: No OFD packet to send [19:15:42]OFD Sender: No OFD packet to send [19:15:47]OFD Sender: No OFD packet to send [19:15:52]OFD Sender: No OFD packet to send [19:15:57]OFD Sender: No OFD packet to send [19:16:02]OFD Sender: No OFD packet to send [19:16:07]OFD Sender: No OFD packet to send [19:16:12]OFD Sender: No OFD packet to send [19:16:17]OFD Sender: No OFD packet to send [19:16:22]OFD Sender: No OFD packet to send [19:16:27]OFD Sender: No OFD packet to send [19:16:32]OFD Sender: No OFD packet to send [19:16:37]OFD Sender: No OFD packet to send [19:16:42]OFD Sender: No OFD packet to send [19:16:47]OFD Sender: No OFD packet to send [19:16:52]OFD Sender: No OFD packet to send [19:16:57]OFD Sender: No OFD packet to send [19:17:02]OFD Sender: No OFD packet to send [19:17:07]OFD Sender: No OFD packet to send [19:17:12]OFD Sender: No OFD packet to send [19:17:17]OFD Sender: No OFD packet to send [19:17:22]OFD Sender: No OFD packet to send [19:17:27]OFD Sender: No OFD packet to send [19:17:32]OFD Sender: No OFD packet to send [19:17:37]OFD Sender: No OFD packet to send [19:17:42]OFD Sender: No OFD packet to send [19:17:47]OFD Sender: No OFD packet to send [19:17:52]OFD Sender: No OFD packet to send [19:17:57]OFD Sender: No OFD packet to send [19:18:02]OFD Sender: No OFD packet to send [19:18:07]OFD Sender: No OFD packet to send [19:18:12]OFD Sender: No OFD packet to send [19:18:17]OFD Sender: No OFD packet to send [19:18:22]OFD Sender: No OFD packet to send [19:18:27]OFD Sender: No OFD packet to send [19:18:32]OFD Sender: No OFD packet to send [19:18:37]OFD Sender: No OFD packet to send [19:18:42]OFD Sender: No OFD packet to send [19:18:47]OFD Sender: No OFD packet to send [19:18:52]OFD Sender: No OFD packet to send [19:18:57]OFD Sender: No OFD packet to send [19:19:02]OFD Sender: No OFD packet to send [19:19:07]OFD Sender: No OFD packet to send [19:19:12]OFD Sender: No OFD packet to send [19:19: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:43]OFD Sender: No OFD packet to send [19:29:48]OFD Sender: No OFD packet to send [19:29:53]OFD Sender: No OFD packet to send [19:29:58]OFD Sender: No OFD packet to send [19:30:03]OFD Sender: No OFD packet to send [19:30:08]OFD Sender: No OFD packet to send [19:30:13]OFD Sender: No OFD packet to send [19:30:18]OFD Sender: No OFD packet to send [19:30:23]OFD Sender: No OFD packet to send [19:30:28]OFD Sender: No OFD packet to send [19:30:33]OFD Sender: No OFD packet to send [19:30:38]OFD Sender: No OFD packet to send [19:30:43]OFD Sender: No OFD packet to send [19:30:48]OFD Sender: No OFD packet to send [19:30:53]OFD Sender: No OFD packet to send [19:30:58]OFD Sender: No OFD packet to send [19:31:03]OFD Sender: No OFD packet to send [19:31:08]OFD Sender: No OFD packet to send [19:31:13]OFD Sender: No OFD packet to send [19:31:18]OFD Sender: No OFD packet to send [19:31:23]OFD Sender: No OFD packet to send [19:31:28]OFD Sender: No OFD packet to send [19:31:33]OFD Sender: No OFD packet to send [19:31:38]OFD Sender: No OFD packet to send [19:31:43]OFD Sender: No OFD packet to send [19:31:48]OFD Sender: No OFD packet to send [19:31:53]OFD Sender: No OFD packet to send [19:31:58]OFD Sender: No OFD packet to send [19:32:03]OFD Sender: No OFD packet to send [19:32:08]OFD Sender: No OFD packet to send [19:32:13]OFD Sender: No OFD packet to send [19:32:18]OFD Sender: No OFD packet to send [19:32:23]OFD Sender: No OFD packet to send [19:32:28]OFD Sender: No OFD packet to send [19:32:33]OFD Sender: No OFD packet to send [19:32:38]OFD Sender: No OFD packet to send [19:32:43]OFD Sender: No OFD packet to send [19:32:48]OFD Sender: No OFD packet to send [19:32:53]OFD Sender: No OFD packet to send [19:32:58]OFD Sender: No OFD packet to send [19:33:03]OFD Sender: No OFD packet to send [19:33:08]OFD Sender: No OFD packet to send [19:33:13]OFD Sender: No OFD packet to send [19:33:18]OFD Sender: No OFD packet to send [19:33:23]OFD Sender: No OFD packet to send [19:33:28]OFD Sender: No OFD packet to send [19:33:33]OFD Sender: No OFD packet to send [19:33:38]OFD Sender: No OFD packet to send [19:33:43]OFD Sender: No OFD packet to send [19:33:48]OFD Sender: No OFD packet to send [19:33:53]OFD Sender: No OFD packet to send [19:33:58]OFD Sender: No OFD packet to send [19:34:03]OFD Sender: No OFD packet to send [19:34:08]OFD Sender: No OFD packet to send [19:34:13]OFD Sender: No OFD packet to send [19:34:18]OFD Sender: No OFD packet to send [19:34:23]OFD Sender: No OFD packet to send [19:34:28]OFD Sender: No OFD packet to send [19:34:33]OFD Sender: No OFD packet to send [19:34:38]OFD Sender: No OFD packet to send [19:34:43]OFD Sender: No OFD packet to send [19:34:48]OFD Sender: No OFD packet to send [19:34:53]OFD Sender: No OFD packet to send [19:34:58]OFD Sender: No OFD packet to send [19:35:03]OFD Sender: No OFD packet to send [19:35:08]OFD Sender: No OFD packet to send [19:35:13]OFD Sender: No OFD packet to send [19:35:18]OFD Sender: No OFD packet to send [19:35:23]OFD Sender: No OFD packet to send [19:35:28]OFD Sender: No OFD packet to send [19:35:33]OFD Sender: No OFD packet to send [19:35:38]OFD Sender: No OFD packet to send [19:35:43]OFD Sender: No OFD packet to send [19:35:48]OFD Sender: No OFD packet to send [19:35:53]OFD Sender: No OFD packet to send [19:35:58]OFD Sender: No OFD packet to send [19:36:03]OFD Sender: No OFD packet to send [19:36:08]OFD Sender: No OFD packet to send [19:36:13]OFD Sender: No OFD packet to send [19:36:18]OFD Sender: No OFD packet to send [19:36:23]OFD Sender: No OFD packet to send [19:36:28]OFD Sender: No OFD packet to send [19:36:33]OFD Sender: No OFD packet to send [19:36:38]OFD Sender: No OFD packet to send [19:36:43]OFD Sender: No OFD packet to send [19:36:48]OFD Sender: No OFD packet to send [19:36:53]OFD Sender: No OFD packet to send [19:36:58]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:08]OFD Sender: No OFD packet to send [19:46:13]OFD Sender: No OFD packet to send [19:46:18]OFD Sender: No OFD packet to send [19:46:23]OFD Sender: No OFD packet to send [19:46:28]OFD Sender: No OFD packet to send [19:46:33]OFD Sender: No OFD packet to send [19:46:38]OFD Sender: No OFD packet to send [19:46:43]OFD Sender: No OFD packet to send [19:46:48]OFD Sender: No OFD packet to send [19:46:53]OFD Sender: No OFD packet to send [19:46:58]OFD Sender: No OFD packet to send [19:47:03]OFD Sender: No OFD packet to send [19:47:08]OFD Sender: No OFD packet to send [19:47:13]OFD Sender: No OFD packet to send [19:47:18]OFD Sender: No OFD packet to send [19:47:23]OFD Sender: No OFD packet to send [19:47:28]OFD Sender: No OFD packet to send [19:47:33]OFD Sender: No OFD packet to send [19:47:38]OFD Sender: No OFD packet to send [19:47:43]OFD Sender: No OFD packet to send [19:47:48]OFD Sender: No OFD packet to send [19:47:53]OFD Sender: No OFD packet to send [19:47:58]OFD Sender: No OFD packet to send [19:48:03]OFD Sender: No OFD packet to send [19:48:08]OFD Sender: No OFD packet to send [19:48:13]OFD Sender: No OFD packet to send [19:48:18]OFD Sender: No OFD packet to send [19:48:23]OFD Sender: No OFD packet to send [19:48:28]OFD Sender: No OFD packet to send [19:48:33]OFD Sender: No OFD packet to send [19:48: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:50]accept exits with 10 [19:48:50]New connection [19:48:50]New thread 3066699108 created [19:48:50]Thread 3066555748 joined [19:48:50]Waiting for new connection... [19:48:50] Sock 10.Parse request [19:48:50]Sock 10.Check first char [19:48:50]Sock 10.First char is OK [19:48:50]request: POST /json_proto HTTP/1.0 [19:48:50]Method: POST [19:48:50]URL: /json_proto [19:48:50]Method is POST - this is cgi request [19:48:50]url: /json_proto [19:48:50]query_string will be loaded in cgi processing [19:48:50]execute_cgi json_proto POST (null) [19:48:50]execute_cgi path=json_proto method=POST [19:48:50]POST find Content-Length [19:48:50]Host: 172.17.53.68:8080 [19:48:50]Content-Length: 1574 [19:48:50]Content-Type: application/json [19:48:50] [19:48:50]POST finish read [19:48:50]Found Content-Length = 1574 [19:48:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76688", "tax_sys" : 0, "items" : [ { "code": "8901086040008", "name": "\u0416\u0438\u0434/\u0441\u0442 \u041F\u041D \u043B\u0435\u0442\u043D\u044F\u044F 4,5\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607010740733", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u0448\u0430\u0448\u043B\u044B\u043A 40\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607010740757", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u0441\u043C\u0435\u0442\u0430\u043D\u0430, \u043B\u0443\u043A 40\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002325113", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A PEPSI \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0441\u0442 0,25\u043B", "price" : 90.00, "quantity" : 2.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 440.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:48:50]execute_script... [19:48: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)76688", "tax_sys" : 0, "items" : [ { "code": "8901086040008", "name": "\u0416\u0438\u0434/\u0441\u0442 \u041F\u041D \u043B\u0435\u0442\u043D\u044F\u044F 4,5\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607010740733", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u0448\u0430\u0448\u043B\u044B\u043A 40\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607010740757", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u0441\u043C\u0435\u0442\u0430\u043D\u0430, \u043B\u0443\u043A 40\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002325113", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A PEPSI \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0441\u0442 0,25\u043B", "price" : 90.00, "quantity" : 2.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 440.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:48:50]POST & json_proto [19:48:50]process_json_proto [19:48:50]json parsed OK: [19:48:50]protocol is kg_v1.0 [19:48:50]action value=close_receipt [19:48:50]process_action close_receipt [19:48:50]cmd_close_receipt [19:48:50]MH_GetDate [19:48:50]Write to MH i2c: F0 00 00 6E 24 81 [19:48:50]Write i2c OK [19:48:50]MH_I2C_Read... [19:48:50]Read from MH i2c: F0 [19:48:51]MH_I2C_Read... [19:48:51]Read from MH i2c: F0 09 00 [19:48:51]MH_I2C_Read... [19:48:51]Read from MH i2c: F0 09 00 6E 24 00 AC 5E 15 67 C5 A4 76 66 55 [19:48:51]GetLastDocTimeStamp 1729451623 [19:48:51]current date 1729453740 [19:48:51]FM_GetShiftState [19:48:51]SAM_PROTO_GetShiftState [19:48:51]wFMCommunicate request_size=4 [19:48:51]MH_SAM_APDU [19:48:51]CAPDU: 80 13 01 00 [19:48:51]Write to MH i2c: E2 08 00 6F 24 80 13 01 00 00 00 00 00 10 [19:48:51]Write i2c OK [19:48:51]MH_I2C_Read... [19:48:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:48:51]Read from MH i2c: E2 [19:48:51]MH_I2C_Read... [19:48:51]Read from MH i2c: E2 0E 00 [19:48:51]MH_I2C_Read... [19:48:51]Read from MH i2c: E2 0E 00 6F 24 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 65 [19:48:51]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [19:48:51]wFMCommunicate OK [19:48:51]SAM_PROTO_GetShiftState done [19:48:51]FM_GetShiftState done [19:48:51]opened in 1729383299 [19:48:51]opened+sec_in_day 1729469699 [19:48:51]quantity*price = 17000 [19:48:51]sum+1 = 17001 [19:48:51]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607010740733 ЧипÑÑ‹ ЧипÑоны шашлык 40г 1.000 * 45.00 = 45.00 ÐДС 12% ÐСП 1% > о реализуемом товаре Товар: 4607010740757 ЧипÑÑ‹ ЧипÑоны Ñметана, лук 40г 1.000 * 45.00 = 45.00 ÐДС 12% ÐСП 1% > о реализуемом товаре Товар: 4870002325113 Ðапиток PEPSI газированный ÑÑ‚ 0,25л 2.000 * 90.00 = 180.00 ÐДС 12% ÐСП 1% > о реализуемом товаре ИТОГО: 440.00 ÐСП 1% : 3.89 ÐДС 12% : 46.72 Ðаличными: 440.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 57 20.10.2024 19:49 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37209 ФПД: 236566961957266 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T194900&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37209&fm=236566961957266&tin=02508201610067®Number=0000000000098149&sum=44000 0 [19:48:52]StoreToDocumentArchive [19:48:52]shift 461 fd 37209 [19:48:52]save to /storage/0461/doc_00037209 [19:48:52]save last doc name /storage/0461/doc_00037209 to /storage/kkm_last_doc_name [19:48:52]save OK [19:48:52]Clear old archive folders... [19:48:52]ProcessDocumentItem done err = 0, tmpTLVsize=646 [19:48:52]tlvbuf is 009D6710 [19:48:52]SAM_PROTO_ClearQueue [19:48:52]wFMCommunicate request_size=4 [19:48:52]MH_SAM_APDU [19:48:52]CAPDU: 80 09 00 00 [19:48:52]Write to MH i2c: E2 08 00 7C 24 80 09 00 00 00 00 00 00 12 [19:48:52]Write i2c OK [19:48:52]MH_I2C_Read... [19:48:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:48:52]Read from MH i2c: E2 [19:48:52]MH_I2C_Read... [19:48:52]Read from MH i2c: E2 03 00 [19:48:52]MH_I2C_Read... [19:48:52]Read from MH i2c: E2 03 00 7C 24 00 90 00 14 [19:48:52]RAPDU: 90 00 [19:48:52]wFMCommunicate OK [19:48:52]SAM_PROTO_ClearQueue done [19:48:52]KKMCreateOFDPacket [19:48:52]OFDProtocolAddRootSTLVToBuf [19:48:52]FM_MakeSignedData [19:48:52]FM_MakeSignedData [19:48:52]SAM_PROTO_SignData [19:48:52]wFMCommunicate request_size=4 [19:48:52]MH_SAM_APDU [19:48:52]CAPDU: 80 0D 01 02 [19:48:52]Write to MH i2c: E2 08 00 7D 24 80 0D 01 02 00 00 00 00 1A [19:48:52]Write i2c OK [19:48:52]MH_I2C_Read... [19:48:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:48:52]Read from MH i2c: E2 [19:48:52]MH_I2C_Read... [19:48:52]Read from MH i2c: E2 03 00 [19:48:52]MH_I2C_Read... [19:48:52]Read from MH i2c: E2 03 00 7D 24 00 90 00 15 [19:48:52]RAPDU: 90 00 [19:48:52]wFMCommunicate OK [19:48:52]wFMCommunicate request_size=255 [19:48:52]MH_SAM_APDU [19:48:52]CAPDU: 80 0D 02 02 FA 03 00 86 02 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 33 33 06 04 2B 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 [19:48:52]Write to MH i2c: E2 02 01 7E 24 80 0D 02 02 FA 00 03 00 86 02 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 33 33 06 04 2B 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 00 00 A2 [19:48:52]Write i2c OK [19:48:52]MH_I2C_Read... [19:48:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:48:52]Read from MH i2c: E2 [19:48:52]MH_I2C_Read... [19:48:52]Read from MH i2c: E2 03 00 [19:48:52]MH_I2C_Read... [19:48:52]Read from MH i2c: E2 03 00 7E 24 00 90 00 16 [19:48:52]RAPDU: 90 00 [19:48:52]wFMCommunicate OK [19:48:52]wFMCommunicate request_size=255 [19:48:52]MH_SAM_APDU [19:48:52]CAPDU: 80 0D 02 02 FA 35 37 06 04 35 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 2C 20 D0 BB D1 83 D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 31 31 33 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 45 50 53 49 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 D1 81 D1 82 20 30 2C 32 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 AB 00 00 00 00 EB 03 26 00 EF [19:48:52]Write to MH i2c: E2 02 01 7F 24 80 0D 02 02 FA 00 35 37 06 04 35 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 2C 20 D0 BB D1 83 D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 31 31 33 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 45 50 53 49 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 D1 81 D1 82 20 30 2C 32 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 AB 00 00 00 00 EB 03 26 00 EF 00 00 B8 [19:48:52]Write i2c OK [19:48:52]MH_I2C_Read... [19:48:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:48:52]Read from MH i2c: E2 [19:48:52]MH_I2C_Read... [19:48:52]Read from MH i2c: E2 03 00 [19:48:52]MH_I2C_Read... [19:48:52]Read from MH i2c: E2 03 00 7F 24 00 90 00 17 [19:48:52]RAPDU: 90 00 [19:48:52]wFMCommunicate OK [19:48:52]wFMCommunicate request_size=155 [19:48:52]MH_SAM_APDU [19:48:52]CAPDU: 80 0D 02 02 96 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 40 12 00 00 00 00 07 04 06 00 E0 AB 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 AC 5E 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 59 91 00 00 35 04 06 00 D7 28 09 BB A9 92 [19:48:52]Write to MH i2c: E2 9E 00 80 24 80 0D 02 02 96 00 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 40 12 00 00 00 00 07 04 06 00 E0 AB 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 AC 5E 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 59 91 00 00 35 04 06 00 D7 28 09 BB A9 92 00 00 62 [19:48:52]Write i2c OK [19:48:52]MH_I2C_Read... [19:48:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:48:53]Read from MH i2c: E2 [19:48:53]MH_I2C_Read... [19:48:53]Read from MH i2c: E2 03 00 [19:48:53]MH_I2C_Read... [19:48:53]Read from MH i2c: E2 03 00 80 24 00 90 00 18 [19:48:53]RAPDU: 90 00 [19:48:53]wFMCommunicate OK [19:48:53]wFMCommunicate request_size=4 [19:48:53]MH_SAM_APDU [19:48:53]CAPDU: 80 0D 03 02 [19:48:53]Write to MH i2c: E2 08 00 81 24 80 0D 03 02 00 00 00 00 20 [19:48:53]Write i2c OK [19:48:53]MH_I2C_Read... [19:48:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:48:53]Read from MH i2c: E2 [19:48:53]MH_I2C_Read... [19:48:53]Read from MH i2c: E2 0B 00 [19:48:53]MH_I2C_Read... [19:48:53]Read from MH i2c: E2 0B 00 81 24 00 79 CD CB EA DE 2F EC 04 90 00 19 [19:48:53]RAPDU: 79 CD CB EA DE 2F EC 04 90 00 [19:48:53]wFMCommunicate OK [19:48:53]SAM_PROTO_SignData done [19:48:53]FM_MakeSignedData done [19:48:53]CreateOFDProtocolMessage [19:48:53]wFMCommunicate request_size=4 [19:48:53]MH_SAM_APDU [19:48:53]CAPDU: 80 11 00 00 [19:48:53]Write to MH i2c: E2 08 00 82 24 80 11 00 00 00 00 00 00 20 [19:48:53]Write i2c OK [19:48:53]MH_I2C_Read... [19:48:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:48:53]Read from MH i2c: E2 [19:48:53]MH_I2C_Read... [19:48:53]Read from MH i2c: E2 17 00 [19:48:53]MH_I2C_Read... [19:48:53]Read from MH i2c: E2 17 00 82 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 73 [19:48:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:48:53]wFMCommunicate OK [19:48:53]CreateOFDProtocolMessage done [19:48:53]OFDSenderStorePacket 37209 [19:48:53]StoreOFDPacket docnum=37209 [19:48:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 9A 02 00 00 F9 D7 92 02 7A BC 5A 03 01 00 03 00 86 02 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 33 33 06 04 2B 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 35 37 06 04 35 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 2C 20 D0 BB D1 83 D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 31 31 33 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 45 50 53 49 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 D1 81 D1 82 20 30 2C 32 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 AB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 40 12 00 00 00 00 07 04 06 00 E0 AB 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 AC 5E 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 59 91 00 00 35 04 06 00 D7 28 09 BB A9 92 79 CD CB EA DE 2F EC 04 [19:48:53]CheckFolder [19:48:53]dirname=/storage/ofd_packets [19:48:53]CheckFolder done [19:48:53]ProducePacketName [19:48:53]name=ofd_packets/00037209 [19:48:53]NVStorageSaveData ofd_packets/00037209 [19:48:53]File name is /storage/ofd_packets/00037209 [19:48:53]Write 696 bytes [19:48:53]NVStorageSaveData done [19:48:53]OFDSenderStorePacket done [19:48:53]KKMCreateOFDPacket done [19:48:53]NVStorageSaveData kkm_last_timestamp [19:48:53]File name is /storage/kkm_last_timestamp [19:48:53]Write 4 bytes [19:48:53]NVStorageSaveData done [19:48:53]ExternCall_PrintAddStr [19:48:53]wPrintStart [19:48:53]Write to MH i2c: 01 00 00 83 24 A7 [19:48:53]Write i2c OK [19:48:53]MH_I2C_Read... [19:48:53]Read from MH i2c: 01 [19:48:53]MH_I2C_Read... [19:48:53]Read from MH i2c: 01 07 00 [19:48:53]MH_I2C_Read... [19:48:53]Read from MH i2c: 01 07 00 83 24 00 00 00 00 00 FF 0F BC [19:48:53]RasterBufferAndPrint [19:48:53]line Счет N : (3)76688 [19:48:53]line ИÐÐ: 02508201610067 [19:48:53]line Контрольно-КаÑÑовый Чек [19:48:53]line ПРОДÐЖР[19:48:53]line Товар: 8901086040008 [19:48:53]line Жид/ÑÑ‚ ПРлетнÑÑ 4,5л [19:48:53]line 1.000 * 170.00 [19:48:53]line = 170.00 [19:48:53]line ÐДС 12% ÐСП 1% [19:48:53]line > о реализуемом товаре [19:48:53]line Товар: 4607010740733 [19:48:53]line ЧипÑÑ‹ ЧипÑоны шашлык 40г [19:48:53]line 1.000 * 45.00 [19:48:53]line = 45.00 [19:48:53]line ÐДС 12% ÐСП 1% [19:48:53]line > о реализуемом товаре [19:48:53]line Товар: 4607010740757 [19:48:53]line ЧипÑÑ‹ ЧипÑоны Ñметана, лук 40г [19:48:53]line 1.000 * 45.00 [19:48:53]line = 45.00 [19:48:53]line ÐДС 12% ÐСП 1% [19:48:53]line > о реализуемом товаре [19:48:53]line Товар: 4870002325113 [19:48:53]line Ðапиток PEPSI газированный ÑÑ‚ 0,25л [19:48:53]line 2.000 * 90.00 [19:48:53]line = 180.00 [19:48:53]line ÐДС 12% ÐСП 1% [19:48:53]line > о реализуемом товаре [19:48:53]line ИТОГО: 440.00 [19:48:53]line ÐСП 1% : 3.89 [19:48:53]line ÐДС 12% : 46.72 [19:48:53]line Ðаличными: 440.00 [19:48:53]line Безнал.: 0.00 [19:48:53]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [19:48:53]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [19:48:53]line СÐО: Общий режим [19:48:53]line Чек 57 20.10.2024 19:49 [19:48:53]line Смена: 461 ФФД: 1.0 [19:48:53]line ЗÐМ: 0300000235 [19:48:53]line РÐМ: 0000000000098149 [19:48:53]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [19:48:53]line ФМ: 0000000000965372 [19:48:53]line ФД: 37209 [19:48:53]line ФПД: 236566961957266 [19:48:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T194900&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37209&fm=236566961957266&tin=02508201610067®Number=0000000000098149&sum=44000 [19:48:53]OFD Sender: Processing packet 37209 [packets to send 25, broken 24] [19:48:53]ProducePacketName [19:48:53]name=ofd_packets/00037209 [19:48:53]OFD Sender: To server: ‡•öpG, [19:48:53]CommunicateWithHost lk.salyk.kg:30040 [19:48:53]ConnectInit lk.salyk.kg [19:48:53]line 0 [19:48:53]written 0, free lines is 4095 [19:48:53]Connected sock=9 [19:48: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 33 37 32 9A 02 00 00 F9 D7 92 02 7A BC 5A 03 01 00 03 00 86 02 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 33 33 06 04 2B 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 35 37 06 04 35 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 2C 20 D0 BB D1 83 D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 31 31 33 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 45 50 53 49 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 D1 81 D1 82 20 30 2C 32 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 AB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 40 12 00 00 00 00 07 04 06 00 E0 AB 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 AC 5E 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 59 91 00 00 35 04 06 00 D7 28 09 BB A9 92 79 CD CB EA DE 2F EC 04 [19:48:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 E5 85 47 00 90 E0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 59 91 00 00 F4 03 04 00 3E 07 15 67 B6 04 01 00 00 A5 C0 47 59 B9 84 42 9B [19:48:53]CommunicateWithHost err = 0 [19:48:53]CheckOFDResponse [19:48:53]1017 (14) - 77093643461234 [19:48:53]1041 (16) - 0000000000965372 [19:48:53]1040 (4) - 37209 [19:48:53]1012 (4) - 20.10.2024 13:35 [19:48:53]1206 (1) - 0 [19:48:53]OFD Sender: Remove packet 37209 [19:48:53]ProducePacketName [19:48:53]name=ofd_packets/00037209 [19:48:53]NVStorageDeleteData [19:48:54]Write to MH i2c: 01 00 00 BF 24 E3 [19:48:54]Write i2c OK [19:48:54]MH_I2C_Read... [19:48:54]Read from MH i2c: 01 [19:48:54]MH_I2C_Read... [19:48:54]Read from MH i2c: 01 07 00 [19:48:54]MH_I2C_Read... [19:48:54]Read from MH i2c: 01 07 00 BF 24 00 00 00 00 00 DD 0B D2 [19:48:54]RasterBufferAndPrint [19:48:54]line [19:48:54]line [19:48:54]line [19:48:54]line [19:48:54]line [19:48:54]written 0, free lines is 3047 [19:48:54]process_action close_receipt done [19:48:54]requested_data is exist [19:48:54]produce_requested_data [19:48:54]requested_item fm.sn is exist - process it [19:48:54]wFMCommunicate request_size=4 [19:48:54]MH_SAM_APDU [19:48:54]CAPDU: 80 11 00 00 [19:48:54]Write to MH i2c: E2 08 00 C6 24 80 11 00 00 00 00 00 00 64 [19:48:54]Write i2c OK [19:48:54]MH_I2C_Read... [19:48:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:48:54]Read from MH i2c: E2 [19:48:54]MH_I2C_Read... [19:48:54]Read from MH i2c: E2 17 00 [19:48:54]MH_I2C_Read... [19:48:54]Read from MH i2c: E2 17 00 C6 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 B7 [19:48:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:48:54]wFMCommunicate OK [19:48:54]requested_item fd.num is exist - process it [19:48:54]SAM_PROTO_GetFieldsCounters [19:48:54]wFMCommunicate request_size=4 [19:48:54]MH_SAM_APDU [19:48:54]CAPDU: 80 13 00 00 [19:48:54]Write to MH i2c: E2 08 00 C7 24 80 13 00 00 00 00 00 00 67 [19:48:54]Write i2c OK [19:48:54]MH_I2C_Read... [19:48:54]OFD Sender: No OFD packet to send [19:48:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:48:54]Read from MH i2c: E2 [19:48:54]MH_I2C_Read... [19:48:54]Read from MH i2c: E2 62 00 [19:48:54]MH_I2C_Read... [19:48:54]Read from MH i2c: E2 62 00 C7 24 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 59 91 00 00 0E 04 04 00 CD 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 F1 [19:48: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 59 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:48:54]wFMCommunicate OK [19:48:54]SAM_PROTO_GetFieldsCounters done [19:48:54]requested_item shift.num is exist - process it [19:48:54]requested_item shift.opened is exist - process it [19:48:54]req_shift_opened [19:48:54]FM_GetShiftState [19:48:54]SAM_PROTO_GetShiftState [19:48:54]wFMCommunicate request_size=4 [19:48:54]MH_SAM_APDU [19:48:54]CAPDU: 80 13 01 00 [19:48:54]Write to MH i2c: E2 08 00 C8 24 80 13 01 00 00 00 00 00 69 [19:48:54]Write i2c OK [19:48:54]MH_I2C_Read... [19:48:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:48:54]Read from MH i2c: E2 [19:48:54]MH_I2C_Read... [19:48:54]Read from MH i2c: E2 0E 00 [19:48:54]MH_I2C_Read... [19:48:54]Read from MH i2c: E2 0E 00 C8 24 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 BE [19:48:54]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [19:48:54]wFMCommunicate OK [19:48:54]SAM_PROTO_GetShiftState done [19:48:54]FM_GetShiftState done [19:48:54]req_shift_opened done [19:48:54]requested_item shift.open_date is exist - process it [19:48:54]req_shift_open_date [19:48:54]req_shift_open_date done [19:48:54]produce_requested_data done [19:48:54]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37209,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [19:48:54]process_action_free close_receipt [19:48:54]json_value_free [19:48:54]json_value_free done [19:48:54]process_json_proto returns [19:48:54]Send response to host [19:48:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37209,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [19:48:54]free response buf [19:48:54]execute_script done [19:48:54]execute_script returns [19:48:54]free content buf [19:48:54]Sock 10.Close socket [19:48:54]Sock 10.Thread stoped [19:48:59]OFD Sender: No OFD packet to send [19:49:04]OFD Sender: No OFD packet to send [19:49:09]OFD Sender: No OFD packet to send [19:49:14]OFD Sender: No OFD packet to send [19:49:19]OFD Sender: No OFD packet to send [19:49:24]OFD Sender: No OFD packet to send [19:49:29]OFD Sender: No OFD packet to send [19:49:34]OFD Sender: No OFD packet to send [19:49:39]OFD Sender: No OFD packet to send [19:49:44]OFD Sender: No OFD packet to send [19:49:49]OFD Sender: No OFD packet to send [19:49:54]OFD Sender: No OFD packet to send [19:49:56]accept exits with 7 [19:49:56]New connection [19:49:56]New thread 3066555748 created [19:49:56]Thread 3066699108 joined [19:49:56]Waiting for new connection... [19:49:56] Sock 7.Parse request [19:49:56]Sock 7.Check first char [19:49:56]Sock 7.First char is OK [19:49:56]request: POST /json_proto HTTP/1.0 [19:49:56]Method: POST [19:49:56]URL: /json_proto [19:49:56]Method is POST - this is cgi request [19:49:56]url: /json_proto [19:49:56]query_string will be loaded in cgi processing [19:49:56]execute_cgi json_proto POST (null) [19:49:56]execute_cgi path=json_proto method=POST [19:49:56]POST find Content-Length [19:49:56]Host: 172.17.53.68:8080 [19:49:56]Content-Length: 677 [19:49:56]Content-Type: application/json [19:49:56] [19:49:56]POST finish read [19:49:56]Found Content-Length = 677 [19:49:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874791", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 2.990, "sum" : 200.03, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 200.00, "total" : 200.00, "payments": [ { "type": 0, "sum" : 200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:49:56]execute_script... [19:49:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874791", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 2.990, "sum" : 200.03, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 200.00, "total" : 200.00, "payments": [ { "type": 0, "sum" : 200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:49:56]POST & json_proto [19:49:56]process_json_proto [19:49:56]json parsed OK: [19:49:56]protocol is kg_v1.0 [19:49:56]action value=close_receipt [19:49:56]process_action close_receipt [19:49:56]cmd_close_receipt [19:49:56]MH_GetDate [19:49:56]Write to MH i2c: F0 00 00 C9 24 DC [19:49:56]Write i2c OK [19:49:56]MH_I2C_Read... [19:49:56]Read from MH i2c: F0 [19:49:56]MH_I2C_Read... [19:49:56]Read from MH i2c: F0 09 00 [19:49:56]MH_I2C_Read... [19:49:56]Read from MH i2c: F0 09 00 C9 24 00 EE 5E 15 67 C5 A4 76 66 F2 [19:49:56]GetLastDocTimeStamp 1729453740 [19:49:56]current date 1729453806 [19:49:56]FM_GetShiftState [19:49:56]SAM_PROTO_GetShiftState [19:49:56]wFMCommunicate request_size=4 [19:49:56]MH_SAM_APDU [19:49:56]CAPDU: 80 13 01 00 [19:49:56]Write to MH i2c: E2 08 00 CA 24 80 13 01 00 00 00 00 00 6B [19:49:56]Write i2c OK [19:49:56]MH_I2C_Read... [19:49:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:49:56]Read from MH i2c: E2 [19:49:56]MH_I2C_Read... [19:49:56]Read from MH i2c: E2 0E 00 [19:49:56]MH_I2C_Read... [19:49:56]Read from MH i2c: E2 0E 00 CA 24 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 C0 [19:49:56]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [19:49:56]wFMCommunicate OK [19:49:56]SAM_PROTO_GetShiftState done [19:49:56]FM_GetShiftState done [19:49:56]opened in 1729383299 [19:49:56]opened+sec_in_day 1729469699 [19:49:56]quantity*price = 20003 [19:49:56]sum+1 = 20004 [19:49:56]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.03 ИТОГО: 200.00 ВнеÑено: 200.00 СДÐЧÐ: 0.00 ÐСП 1% : 1.77 ÐДС 12% : 21.24 Ðаличными: 200.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 58 20.10.2024 19:50 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37210 ФПД: 168871186110422 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T195006&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37210&fm=168871186110422&tin=02508201610067®Number=0000000000098149&sum=20000 [19:49:58]StoreToDocumentArchive [19:49:58]shift 461 fd 37210 [19:49:58]save to /storage/0461/doc_00037210 [19:49:58]save last doc name /storage/0461/doc_00037210 to /storage/kkm_last_doc_name [19:49:58]save OK [19:49:58]Clear old archive folders... [19:49:58]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:49:58]tlvbuf is 00A1ED90 [19:49:58]SAM_PROTO_ClearQueue [19:49:58]wFMCommunicate request_size=4 [19:49:58]MH_SAM_APDU [19:49:58]CAPDU: 80 09 00 00 [19:49:58]Write to MH i2c: E2 08 00 D7 24 80 09 00 00 00 00 00 00 6D [19:49:58]Write i2c OK [19:49:58]MH_I2C_Read... [19:49:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:49:58]Read from MH i2c: E2 [19:49:58]MH_I2C_Read... [19:49:58]Read from MH i2c: E2 03 00 [19:49:58]MH_I2C_Read... [19:49:58]Read from MH i2c: E2 03 00 D7 24 00 90 00 6F [19:49:58]RAPDU: 90 00 [19:49:58]wFMCommunicate OK [19:49:58]SAM_PROTO_ClearQueue done [19:49:58]KKMCreateOFDPacket [19:49:58]OFDProtocolAddRootSTLVToBuf [19:49:58]FM_MakeSignedData [19:49:58]FM_MakeSignedData [19:49:58]SAM_PROTO_SignData [19:49:58]wFMCommunicate request_size=4 [19:49:58]MH_SAM_APDU [19:49:58]CAPDU: 80 0D 01 02 [19:49:58]Write to MH i2c: E2 08 00 D8 24 80 0D 01 02 00 00 00 00 75 [19:49:58]Write i2c OK [19:49:58]MH_I2C_Read... [19:49:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:49:58]Read from MH i2c: E2 [19:49:58]MH_I2C_Read... [19:49:58]Read from MH i2c: E2 03 00 [19:49:58]MH_I2C_Read... [19:49:58]Read from MH i2c: E2 03 00 D8 24 00 90 00 70 [19:49:58]RAPDU: 90 00 [19:49:58]wFMCommunicate OK [19:49:58]wFMCommunicate request_size=255 [19:49:58]MH_SAM_APDU [19:49:58]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AE 0B 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 23 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 EE 5E 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 5A 91 00 00 35 04 06 00 99 [19:49:58]Write to MH i2c: E2 02 01 D9 24 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AE 0B 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 23 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 EE 5E 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 5A 91 00 00 35 04 06 00 99 00 00 20 [19:49:58]Write i2c OK [19:49:58]MH_I2C_Read... [19:49:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:49:58]Read from MH i2c: E2 [19:49:58]MH_I2C_Read... [19:49:58]Read from MH i2c: E2 03 00 [19:49:58]MH_I2C_Read... [19:49:58]Read from MH i2c: E2 03 00 D9 24 00 90 00 71 [19:49:58]RAPDU: 90 00 [19:49:58]wFMCommunicate OK [19:49:58]wFMCommunicate request_size=10 [19:49:58]MH_SAM_APDU [19:49:58]CAPDU: 80 0D 02 02 05 96 63 0F 97 D6 [19:49:58]Write to MH i2c: E2 0D 00 DA 24 80 0D 02 02 05 00 96 63 0F 97 D6 00 00 F7 [19:49:58]Write i2c OK [19:49:58]MH_I2C_Read... [19:49:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:49:58]Read from MH i2c: E2 [19:49:58]MH_I2C_Read... [19:49:58]Read from MH i2c: E2 03 00 [19:49:58]MH_I2C_Read... [19:49:58]Read from MH i2c: E2 03 00 DA 24 00 90 00 72 [19:49:58]RAPDU: 90 00 [19:49:58]wFMCommunicate OK [19:49:58]wFMCommunicate request_size=4 [19:49:58]MH_SAM_APDU [19:49:58]CAPDU: 80 0D 03 02 [19:49:58]Write to MH i2c: E2 08 00 DB 24 80 0D 03 02 00 00 00 00 7A [19:49:58]Write i2c OK [19:49:58]MH_I2C_Read... [19:49:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:49:58]Read from MH i2c: E2 [19:49:58]MH_I2C_Read... [19:49:58]Read from MH i2c: E2 0B 00 [19:49:58]MH_I2C_Read... [19:49:58]Read from MH i2c: E2 0B 00 DB 24 00 B3 17 F1 DD CD 15 A5 3F 90 00 D9 [19:49:58]RAPDU: B3 17 F1 DD CD 15 A5 3F 90 00 [19:49:58]wFMCommunicate OK [19:49:58]SAM_PROTO_SignData done [19:49:58]FM_MakeSignedData done [19:49:58]CreateOFDProtocolMessage [19:49:58]wFMCommunicate request_size=4 [19:49:58]MH_SAM_APDU [19:49:58]CAPDU: 80 11 00 00 [19:49:58]Write to MH i2c: E2 08 00 DC 24 80 11 00 00 00 00 00 00 7A [19:49:58]Write i2c OK [19:49:58]MH_I2C_Read... [19:49:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:49:58]Read from MH i2c: E2 [19:49:58]MH_I2C_Read... [19:49:58]Read from MH i2c: E2 17 00 [19:49:58]MH_I2C_Read... [19:49:58]Read from MH i2c: E2 17 00 DC 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 CD [19:49:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:49:58]wFMCommunicate OK [19:49:58]CreateOFDProtocolMessage done [19:49:58]OFDSenderStorePacket 37210 [19:49:58]StoreOFDPacket docnum=37210 [19:49:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0F 01 00 00 55 11 07 01 CA 45 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AE 0B 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 23 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 EE 5E 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 5A 91 00 00 35 04 06 00 99 96 63 0F 97 D6 B3 17 F1 DD CD 15 A5 3F [19:49:58]CheckFolder [19:49:58]dirname=/storage/ofd_packets [19:49:58]CheckFolder done [19:49:58]ProducePacketName [19:49:58]name=ofd_packets/00037210 [19:49:58]NVStorageSaveData ofd_packets/00037210 [19:49:58]File name is /storage/ofd_packets/00037210 [19:49:58]Write 301 bytes [19:49:58]NVStorageSaveData done [19:49:58]OFDSenderStorePacket done [19:49:58]KKMCreateOFDPacket done [19:49:58]NVStorageSaveData kkm_last_timestamp [19:49:58]File name is /storage/kkm_last_timestamp [19:49:58]Write 4 bytes [19:49:58]NVStorageSaveData done [19:49:58]ExternCall_PrintAddStr [19:49:58]wPrintStart [19:49:58]Write to MH i2c: 01 00 00 DD 24 01 [19:49:58]Write i2c OK [19:49:58]MH_I2C_Read... [19:49:58]Read from MH i2c: 01 [19:49:58]MH_I2C_Read... [19:49:58]Read from MH i2c: 01 07 00 [19:49:58]MH_I2C_Read... [19:49:58]Read from MH i2c: 01 07 00 DD 24 00 00 00 00 00 FF 0F 16 [19:49:58]RasterBufferAndPrint [19:49:58]line Счет N : (1)874791 [19:49:58]line ИÐÐ: 02508201610067 [19:49:58]line Контрольно-КаÑÑовый Чек [19:49:58]line ПРОДÐЖР[19:49:58]line ТРК (МРК, ГÐК) : 12 [19:49:58]line Товар: 2710124130 [19:49:58]line Ðи-92-К-5 [19:49:58]line 2.990 * 66.90 [19:49:58]line = 200.03 [19:49:58]line ÐДС 12% ÐСП 1% [19:49:58]line > о реализуемом товаре [19:49:58]line ОКРУГЛЕÐИЕ: -0.03 [19:49:58]line ИТОГО: 200.00 [19:49:58]line ВнеÑено: 200.00 [19:49:58]line СДÐЧÐ: 0.00 [19:49:58]line ÐСП 1% : 1.77 [19:49:58]line ÐДС 12% : 21.24 [19:49:58]line Ðаличными: 200.00 [19:49:58]line Безнал.: 0.00 [19:49:58]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [19:49:58]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [19:49:58]line СÐО: Общий режим [19:49:58]line Чек 58 20.10.2024 19:50 [19:49:58]line Смена: 461 ФФД: 1.0 [19:49:58]line ЗÐМ: 0300000235 [19:49:58]line РÐМ: 0000000000098149 [19:49:58]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [19:49:58]line ФМ: 0000000000965372 [19:49:58]line ФД: 37210 [19:49:58]line ФПД: 168871186110422 [19:49:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T195006&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37210&fm=168871186110422&tin=02508201610067®Number=0000000000098149&sum=20000 [19:49:58]written 0, free lines is 4095 [19:49:58]OFD Sender: Processing packet 37210 [packets to send 25, broken 24] [19:49:58]ProducePacketName [19:49:58]name=ofd_packets/00037210 [19:49:58]OFD Sender: To server: ‡•öpG, [19:49:58]CommunicateWithHost lk.salyk.kg:30040 [19:49:58]ConnectInit lk.salyk.kg [19:49:58]Connected sock=10 [19:49:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0F 01 00 00 55 11 07 01 CA 45 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AE 0B 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 23 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 EE 5E 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 5A 91 00 00 35 04 06 00 99 96 63 0F 97 D6 B3 17 F1 DD CD 15 A5 3F [19:49:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 89 04 47 00 89 24 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 5A 91 00 00 F4 03 04 00 7F 07 15 67 B6 04 01 00 00 A8 81 E1 4C FE F6 03 F7 [19:49:58]CommunicateWithHost err = 0 [19:49:58]CheckOFDResponse [19:49:58]1017 (14) - 77093643461234 [19:49:58]1041 (16) - 0000000000965372 [19:49:58]1040 (4) - 37210 [19:49:58]1012 (4) - 20.10.2024 13:37 [19:49:58]1206 (1) - 0 [19:49:58]OFD Sender: Remove packet 37210 [19:49:58]ProducePacketName [19:49:58]name=ofd_packets/00037210 [19:49:58]NVStorageDeleteData [19:49:59]Write to MH i2c: 01 00 00 08 25 2D [19:49:59]Write i2c OK [19:49:59]MH_I2C_Read... [19:49:59]Read from MH i2c: 01 [19:49:59]MH_I2C_Read... [19:49:59]Read from MH i2c: 01 07 00 [19:49:59]MH_I2C_Read... [19:49:59]Read from MH i2c: 01 07 00 08 25 00 00 00 00 00 ED 0C 2D [19:49:59]RasterBufferAndPrint [19:49:59]line [19:49:59]line [19:49:59]line [19:49:59]line [19:49:59]line [19:49:59]written 0, free lines is 3315 [19:49:59]process_action close_receipt done [19:49:59]requested_data is exist [19:49:59]produce_requested_data [19:49:59]requested_item fm.sn is exist - process it [19:49:59]wFMCommunicate request_size=4 [19:49:59]MH_SAM_APDU [19:49:59]CAPDU: 80 11 00 00 [19:49:59]Write to MH i2c: E2 08 00 0F 25 80 11 00 00 00 00 00 00 AE [19:49:59]Write i2c OK [19:49:59]MH_I2C_Read... [19:49:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:49:59]Read from MH i2c: E2 [19:49:59]MH_I2C_Read... [19:49:59]Read from MH i2c: E2 17 00 [19:49:59]MH_I2C_Read... [19:49:59]Read from MH i2c: E2 17 00 0F 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 01 [19:49:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:49:59]wFMCommunicate OK [19:49:59]requested_item fd.num is exist - process it [19:49:59]SAM_PROTO_GetFieldsCounters [19:49:59]wFMCommunicate request_size=4 [19:49:59]MH_SAM_APDU [19:49:59]CAPDU: 80 13 00 00 [19:49:59]Write to MH i2c: E2 08 00 10 25 80 13 00 00 00 00 00 00 B1 [19:49:59]Write i2c OK [19:49:59]MH_I2C_Read... [19:49:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:49:59]Read from MH i2c: E2 [19:49:59]MH_I2C_Read... [19:49:59]Read from MH i2c: E2 62 00 [19:49:59]MH_I2C_Read... [19:49:59]Read from MH i2c: E2 62 00 10 25 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 5A 91 00 00 0E 04 04 00 CD 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 3F [19:49: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 5A 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:49:59]wFMCommunicate OK [19:49:59]SAM_PROTO_GetFieldsCounters done [19:49:59]requested_item shift.num is exist - process it [19:49:59]requested_item shift.opened is exist - process it [19:49:59]req_shift_opened [19:49:59]FM_GetShiftState [19:49:59]SAM_PROTO_GetShiftState [19:49:59]wFMCommunicate request_size=4 [19:49:59]MH_SAM_APDU [19:49:59]CAPDU: 80 13 01 00 [19:49:59]Write to MH i2c: E2 08 00 11 25 80 13 01 00 00 00 00 00 B3 [19:49:59]Write i2c OK [19:49:59]MH_I2C_Read... [19:49:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:49:59]Read from MH i2c: E2 [19:49:59]MH_I2C_Read... [19:49:59]Read from MH i2c: E2 0E 00 [19:49:59]MH_I2C_Read... [19:49:59]Read from MH i2c: E2 0E 00 11 25 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 08 [19:49:59]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [19:49:59]wFMCommunicate OK [19:49:59]SAM_PROTO_GetShiftState done [19:49:59]FM_GetShiftState done [19:49:59]req_shift_opened done [19:49:59]requested_item shift.open_date is exist - process it [19:49:59]req_shift_open_date [19:49:59]req_shift_open_date done [19:49:59]produce_requested_data done [19:49:59]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37210,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [19:49:59]process_action_free close_receipt [19:49:59]json_value_free [19:49:59]json_value_free done [19:49:59]process_json_proto returns [19:49:59]Send response to host [19:49:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37210,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [19:49:59]free response buf [19:49:59]execute_script done [19:49:59]execute_script returns [19:49:59]free content buf [19:49:59]Sock 7.Close socket [19:49:59]Sock 7.Thread stoped [19:49:59]OFD Sender: No OFD packet to send [19:50:04]OFD Sender: No OFD packet to send [19:50:09]OFD Sender: No OFD packet to send [19:50:14]OFD Sender: No OFD packet to send [19:50:19]OFD Sender: No OFD packet to send [19:50:24]OFD Sender: No OFD packet to send [19:50:29]OFD Sender: No OFD packet to send [19:50:31]accept exits with 9 [19:50:31]New connection [19:50:31]New thread 3066699108 created [19:50:31]Thread 3066555748 joined [19:50:31]Waiting for new connection... [19:50:31] Sock 9.Parse request [19:50:31]Sock 9.Check first char [19:50:31]Sock 9.First char is OK [19:50:31]request: POST /json_proto HTTP/1.0 [19:50:31]Method: POST [19:50:31]URL: /json_proto [19:50:31]Method is POST - this is cgi request [19:50:31]url: /json_proto [19:50:31]query_string will be loaded in cgi processing [19:50:31]execute_cgi json_proto POST (null) [19:50:31]execute_cgi path=json_proto method=POST [19:50:31]POST find Content-Length [19:50:31]Host: 172.17.53.68:8080 [19:50:31]Content-Length: 678 [19:50:31]Content-Type: application/json [19:50:31] [19:50:31]POST finish read [19:50:31]Found Content-Length = 678 [19:50:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874792", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 10.470, "sum" : 700.44, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 700.00, "total" : 700.00, "payments": [ { "type": 0, "sum" : 700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:50:31]execute_script... [19:50:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874792", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 10.470, "sum" : 700.44, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 700.00, "total" : 700.00, "payments": [ { "type": 0, "sum" : 700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:50:31]POST & json_proto [19:50:31]process_json_proto [19:50:31]json parsed OK: [19:50:31]protocol is kg_v1.0 [19:50:31]action value=close_receipt [19:50:31]process_action close_receipt [19:50:31]cmd_close_receipt [19:50:31]MH_GetDate [19:50:31]Write to MH i2c: F0 00 00 12 25 26 [19:50:32]Write i2c OK [19:50:32]MH_I2C_Read... [19:50:32]Read from MH i2c: F0 [19:50:32]MH_I2C_Read... [19:50:32]Read from MH i2c: F0 09 00 [19:50:32]MH_I2C_Read... [19:50:32]Read from MH i2c: F0 09 00 12 25 00 11 5F 15 67 C5 A4 76 66 60 [19:50:32]GetLastDocTimeStamp 1729453806 [19:50:32]current date 1729453841 [19:50:32]FM_GetShiftState [19:50:32]SAM_PROTO_GetShiftState [19:50:32]wFMCommunicate request_size=4 [19:50:32]MH_SAM_APDU [19:50:32]CAPDU: 80 13 01 00 [19:50:32]Write to MH i2c: E2 08 00 13 25 80 13 01 00 00 00 00 00 B5 [19:50:32]Write i2c OK [19:50:32]MH_I2C_Read... [19:50:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:50:32]Read from MH i2c: E2 [19:50:32]MH_I2C_Read... [19:50:32]Read from MH i2c: E2 0E 00 [19:50:32]MH_I2C_Read... [19:50:32]Read from MH i2c: E2 0E 00 13 25 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 0A [19:50:32]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [19:50:32]wFMCommunicate OK [19:50:32]SAM_PROTO_GetShiftState done [19:50:32]FM_GetShiftState done [19:50:32]opened in 1729383299 [19:50:32]opened+sec_in_day 1729469699 [19:50:32]quantity*price = 70044 [19:50:32]sum+1 = 70045 [19:50:32]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.44 ИТОГО: 700.00 ВнеÑено: 700.00 СДÐЧÐ: 0.00 ÐСП 1% : 6.20 ÐДС 12% : 74.38 Ðаличными: 700.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 59 20.10.2024 19:50 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37211 ФПД: 62362826368019 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T195041&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37211&fm=62362826368019&tin=02508201610067®Number=0000000000098149&sum=70000 [19:50:33]StoreToDocumentArchive [19:50:33]shift 461 fd 37211 [19:50:33]save to /storage/0461/doc_00037211 [19:50:33]save last doc name /storage/0461/doc_00037211 to /storage/kkm_last_doc_name [19:50:33]save OK [19:50:33]Clear old archive folders... [19:50:33]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:50:33]tlvbuf is 00A5A3C0 [19:50:33]SAM_PROTO_ClearQueue [19:50:33]wFMCommunicate request_size=4 [19:50:33]MH_SAM_APDU [19:50:33]CAPDU: 80 09 00 00 [19:50:33]Write to MH i2c: E2 08 00 20 25 80 09 00 00 00 00 00 00 B7 [19:50:33]Write i2c OK [19:50:33]MH_I2C_Read... [19:50:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:50:33]Read from MH i2c: E2 [19:50:33]MH_I2C_Read... [19:50:33]Read from MH i2c: E2 03 00 [19:50:33]MH_I2C_Read... [19:50:33]Read from MH i2c: E2 03 00 20 25 00 90 00 B9 [19:50:33]RAPDU: 90 00 [19:50:33]wFMCommunicate OK [19:50:33]SAM_PROTO_ClearQueue done [19:50:33]KKMCreateOFDPacket [19:50:33]OFDProtocolAddRootSTLVToBuf [19:50:33]FM_MakeSignedData [19:50:33]FM_MakeSignedData [19:50:33]SAM_PROTO_SignData [19:50:33]wFMCommunicate request_size=4 [19:50:33]MH_SAM_APDU [19:50:33]CAPDU: 80 0D 01 02 [19:50:33]Write to MH i2c: E2 08 00 21 25 80 0D 01 02 00 00 00 00 BF [19:50:33]Write i2c OK [19:50:33]MH_I2C_Read... [19:50:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:50:33]Read from MH i2c: E2 [19:50:33]MH_I2C_Read... [19:50:33]Read from MH i2c: E2 03 00 [19:50:33]MH_I2C_Read... [19:50:33]Read from MH i2c: E2 03 00 21 25 00 90 00 BA [19:50:33]RAPDU: 90 00 [19:50:33]wFMCommunicate OK [19:50:33]wFMCommunicate request_size=255 [19:50:33]MH_SAM_APDU [19:50:33]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 E6 28 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 9C 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 11 5F 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 5B 91 00 00 35 04 06 00 38 [19:50:33]Write to MH i2c: E2 02 01 22 25 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 E6 28 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 9C 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 11 5F 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 5B 91 00 00 35 04 06 00 38 00 00 7D [19:50:33]Write i2c OK [19:50:33]MH_I2C_Read... [19:50:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:50:33]Read from MH i2c: E2 [19:50:33]MH_I2C_Read... [19:50:33]Read from MH i2c: E2 03 00 [19:50:33]MH_I2C_Read... [19:50:33]Read from MH i2c: E2 03 00 22 25 00 90 00 BB [19:50:33]RAPDU: 90 00 [19:50:33]wFMCommunicate OK [19:50:33]wFMCommunicate request_size=10 [19:50:33]MH_SAM_APDU [19:50:33]CAPDU: 80 0D 02 02 05 B7 FA 1C E4 13 [19:50:33]Write to MH i2c: E2 0D 00 23 25 80 0D 02 02 05 00 B7 FA 1C E4 13 00 00 90 [19:50:33]Write i2c OK [19:50:33]MH_I2C_Read... [19:50:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:50:33]Read from MH i2c: E2 [19:50:33]MH_I2C_Read... [19:50:33]Read from MH i2c: E2 03 00 [19:50:33]MH_I2C_Read... [19:50:33]Read from MH i2c: E2 03 00 23 25 00 90 00 BC [19:50:33]RAPDU: 90 00 [19:50:33]wFMCommunicate OK [19:50:33]wFMCommunicate request_size=4 [19:50:33]MH_SAM_APDU [19:50:33]CAPDU: 80 0D 03 02 [19:50:33]Write to MH i2c: E2 08 00 24 25 80 0D 03 02 00 00 00 00 C4 [19:50:33]Write i2c OK [19:50:33]MH_I2C_Read... [19:50:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:50:33]Read from MH i2c: E2 [19:50:33]MH_I2C_Read... [19:50:33]Read from MH i2c: E2 0B 00 [19:50:33]MH_I2C_Read... [19:50:33]Read from MH i2c: E2 0B 00 24 25 00 20 68 2D 40 04 DE 24 FD 90 00 BD [19:50:33]RAPDU: 20 68 2D 40 04 DE 24 FD 90 00 [19:50:33]wFMCommunicate OK [19:50:33]SAM_PROTO_SignData done [19:50:33]FM_MakeSignedData done [19:50:33]CreateOFDProtocolMessage [19:50:33]wFMCommunicate request_size=4 [19:50:33]MH_SAM_APDU [19:50:33]CAPDU: 80 11 00 00 [19:50:33]Write to MH i2c: E2 08 00 25 25 80 11 00 00 00 00 00 00 C4 [19:50:33]Write i2c OK [19:50:33]MH_I2C_Read... [19:50:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:50:33]Read from MH i2c: E2 [19:50:33]MH_I2C_Read... [19:50:33]Read from MH i2c: E2 17 00 [19:50:33]MH_I2C_Read... [19:50:33]Read from MH i2c: E2 17 00 25 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 17 [19:50:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:50:33]wFMCommunicate OK [19:50:33]CreateOFDProtocolMessage done [19:50:33]OFDSenderStorePacket 37211 [19:50:33]StoreOFDPacket docnum=37211 [19:50:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0F 01 00 00 AD 0E 07 01 8A C5 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 E6 28 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 9C 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 11 5F 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 5B 91 00 00 35 04 06 00 38 B7 FA 1C E4 13 20 68 2D 40 04 DE 24 FD [19:50:33]CheckFolder [19:50:33]dirname=/storage/ofd_packets [19:50:33]CheckFolder done [19:50:33]ProducePacketName [19:50:33]name=ofd_packets/00037211 [19:50:33]NVStorageSaveData ofd_packets/00037211 [19:50:33]File name is /storage/ofd_packets/00037211 [19:50:33]Write 301 bytes [19:50:33]NVStorageSaveData done [19:50:33]OFDSenderStorePacket done [19:50:33]KKMCreateOFDPacket done [19:50:33]NVStorageSaveData kkm_last_timestamp [19:50:33]File name is /storage/kkm_last_timestamp [19:50:33]Write 4 bytes [19:50:33]NVStorageSaveData done [19:50:33]ExternCall_PrintAddStr [19:50:33]wPrintStart [19:50:33]Write to MH i2c: 01 00 00 26 25 4B [19:50:33]Write i2c OK [19:50:33]MH_I2C_Read... [19:50:33]Read from MH i2c: 01 [19:50:33]MH_I2C_Read... [19:50:33]Read from MH i2c: 01 07 00 [19:50:33]MH_I2C_Read... [19:50:33]Read from MH i2c: 01 07 00 26 25 00 00 00 00 00 FF 0F 60 [19:50:33]RasterBufferAndPrint [19:50:33]line Счет N : (1)874792 [19:50:33]line ИÐÐ: 02508201610067 [19:50:33]line Контрольно-КаÑÑовый Чек [19:50:33]line ПРОДÐЖР[19:50:33]line ТРК (МРК, ГÐК) : 32 [19:50:33]line Товар: 2710124130 [19:50:33]line Ðи-92-К-5 [19:50:33]line 10.470 * 66.90 [19:50:33]line = 700.44 [19:50:33]line ÐДС 12% ÐСП 1% [19:50:33]line > о реализуемом товаре [19:50:33]line ОКРУГЛЕÐИЕ: -0.44 [19:50:33]line ИТОГО: 700.00 [19:50:33]line ВнеÑено: 700.00 [19:50:33]line СДÐЧÐ: 0.00 [19:50:33]line ÐСП 1% : 6.20 [19:50:33]line ÐДС 12% : 74.38 [19:50:33]line Ðаличными: 700.00 [19:50:33]line Безнал.: 0.00 [19:50:33]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [19:50:33]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [19:50:33]line СÐО: Общий режим [19:50:33]line Чек 59 20.10.2024 19:50 [19:50:33]line Смена: 461 ФФД: 1.0 [19:50:33]line ЗÐМ: 0300000235 [19:50:33]line РÐМ: 0000000000098149 [19:50:33]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [19:50:33]line ФМ: 0000000000965372 [19:50:33]line ФД: 37211 [19:50:33]line ФПД: 62362826368019 [19:50:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T195041&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37211&fm=62362826368019&tin=02508201610067®Number=0000000000098149&sum=70000 [19:50:34]written 0, free lines is 4095 [19:50:34]OFD Sender: Processing packet 37211 [packets to send 25, broken 24] [19:50:34]ProducePacketName [19:50:34]name=ofd_packets/00037211 [19:50:34]OFD Sender: To server: ‡•öpG, [19:50:34]CommunicateWithHost lk.salyk.kg:30040 [19:50:34]ConnectInit lk.salyk.kg [19:50:34]Connected sock=10 [19:50:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0F 01 00 00 AD 0E 07 01 8A C5 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 E6 28 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 9C 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 11 5F 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 5B 91 00 00 35 04 06 00 38 B7 FA 1C E4 13 20 68 2D 40 04 DE 24 FD [19:50:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 ED 6A 47 00 99 8C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 5B 91 00 00 F4 03 04 00 A2 07 15 67 B6 04 01 00 00 48 30 23 B0 28 2B C2 33 [19:50:34]CommunicateWithHost err = 0 [19:50:34]CheckOFDResponse [19:50:34]1017 (14) - 77093643461234 [19:50:34]1041 (16) - 0000000000965372 [19:50:34]1040 (4) - 37211 [19:50:34]1012 (4) - 20.10.2024 13:37 [19:50:34]1206 (1) - 0 [19:50:34]OFD Sender: Remove packet 37211 [19:50:34]ProducePacketName [19:50:34]name=ofd_packets/00037211 [19:50:34]NVStorageDeleteData [19:50:34]Write to MH i2c: 01 00 00 51 25 76 [19:50:34]Write i2c OK [19:50:34]MH_I2C_Read... [19:50:34]Read from MH i2c: 01 [19:50:34]MH_I2C_Read... [19:50:34]Read from MH i2c: 01 07 00 [19:50:34]MH_I2C_Read... [19:50:34]Read from MH i2c: 01 07 00 51 25 00 00 00 00 00 DC 0C 65 [19:50:34]RasterBufferAndPrint [19:50:34]line [19:50:34]line [19:50:34]line [19:50:34]line [19:50:34]line [19:50:34]written 0, free lines is 3298 [19:50:34]process_action close_receipt done [19:50:34]requested_data is exist [19:50:34]produce_requested_data [19:50:34]requested_item fm.sn is exist - process it [19:50:34]wFMCommunicate request_size=4 [19:50:34]MH_SAM_APDU [19:50:34]CAPDU: 80 11 00 00 [19:50:34]Write to MH i2c: E2 08 00 58 25 80 11 00 00 00 00 00 00 F7 [19:50:34]Write i2c OK [19:50:34]MH_I2C_Read... [19:50:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:50:34]Read from MH i2c: E2 [19:50:34]MH_I2C_Read... [19:50:34]Read from MH i2c: E2 17 00 [19:50:34]MH_I2C_Read... [19:50:34]Read from MH i2c: E2 17 00 58 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 4A [19:50:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:50:34]wFMCommunicate OK [19:50:34]requested_item fd.num is exist - process it [19:50:34]SAM_PROTO_GetFieldsCounters [19:50:34]wFMCommunicate request_size=4 [19:50:34]MH_SAM_APDU [19:50:34]CAPDU: 80 13 00 00 [19:50:34]Write to MH i2c: E2 08 00 59 25 80 13 00 00 00 00 00 00 FA [19:50:34]Write i2c OK [19:50:34]MH_I2C_Read... [19:50:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:50:34]Read from MH i2c: E2 [19:50:34]MH_I2C_Read... [19:50:34]Read from MH i2c: E2 62 00 [19:50:34]MH_I2C_Read... [19:50:34]Read from MH i2c: E2 62 00 59 25 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 5B 91 00 00 0E 04 04 00 CD 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 8C [19:50:34]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 5B 91 00 00 0E 04 04 00 CD 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 [19:50:34]wFMCommunicate OK [19:50:34]SAM_PROTO_GetFieldsCounters done [19:50:34]requested_item shift.num is exist - process it [19:50:34]requested_item shift.opened is exist - process it [19:50:34]req_shift_opened [19:50:34]FM_GetShiftState [19:50:34]SAM_PROTO_GetShiftState [19:50:34]wFMCommunicate request_size=4 [19:50:34]MH_SAM_APDU [19:50:34]CAPDU: 80 13 01 00 [19:50:34]Write to MH i2c: E2 08 00 5A 25 80 13 01 00 00 00 00 00 FC [19:50:34]Write i2c OK [19:50:34]MH_I2C_Read... [19:50:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:50:34]Read from MH i2c: E2 [19:50:34]MH_I2C_Read... [19:50:34]Read from MH i2c: E2 0E 00 [19:50:34]MH_I2C_Read... [19:50:34]Read from MH i2c: E2 0E 00 5A 25 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 51 [19:50:34]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [19:50:34]wFMCommunicate OK [19:50:34]SAM_PROTO_GetShiftState done [19:50:34]FM_GetShiftState done [19:50:34]req_shift_opened done [19:50:34]requested_item shift.open_date is exist - process it [19:50:34]req_shift_open_date [19:50:34]req_shift_open_date done [19:50:34]produce_requested_data done [19:50:34]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37211,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [19:50:34]process_action_free close_receipt [19:50:34]json_value_free [19:50:34]json_value_free done [19:50:34]process_json_proto returns [19:50:34]Send response to host [19:50:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37211,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [19:50:34]free response buf [19:50:34]execute_script done [19:50:34]execute_script returns [19:50:34]free content buf [19:50:34]Sock 9.Close socket [19:50:34]Sock 9.Thread stoped [19:50:34]OFD Sender: No OFD packet to send [19:50:39]OFD Sender: No OFD packet to send [19:50:44]OFD Sender: No OFD packet to send [19:50:49]OFD Sender: No OFD packet to send [19:50:54]OFD Sender: No OFD packet to send [19:50:59]OFD Sender: No OFD packet to send [19:51:04]OFD Sender: No OFD packet to send [19:51:09]OFD Sender: No OFD packet to send [19:51:14]OFD Sender: No OFD packet to send [19:51:19]OFD Sender: No OFD packet to send [19:51:24]OFD Sender: No OFD packet to send [19:51:29]OFD Sender: No OFD packet to send [19:51:34]OFD Sender: No OFD packet to send [19:51:39]OFD Sender: No OFD packet to send [19:51:44]OFD Sender: No OFD packet to send [19:51:49]OFD Sender: No OFD packet to send [19:51:54]OFD Sender: No OFD packet to send [19:51:59]OFD Sender: No OFD packet to send [19:52:04]OFD Sender: No OFD packet to send [19:52:09]OFD Sender: No OFD packet to send [19:52:14]OFD Sender: No OFD packet to send [19:52:19]OFD Sender: No OFD packet to send [19:52:24]OFD Sender: No OFD packet to send [19:52:29]OFD Sender: No OFD packet to send [19:52:34]OFD Sender: No OFD packet to send [19:52:39]OFD Sender: No OFD packet to send [19:52:44]OFD Sender: No OFD packet to send [19:52:49]OFD Sender: No OFD packet to send [19:52:54]OFD Sender: No OFD packet to send [19:52:59]OFD Sender: No OFD packet to send [19:53:04]OFD Sender: No OFD packet to send [19:53:09]OFD Sender: No OFD packet to send [19:53:14]OFD Sender: No OFD packet to send [19:53:19]OFD Sender: No OFD packet to send [19:53:24]OFD Sender: No OFD packet to send [19:53:29]OFD Sender: No OFD packet to send [19:53:35]OFD Sender: No OFD packet to send [19:53:40]OFD Sender: No OFD packet to send [19:53:45]OFD Sender: No OFD packet to send [19:53:50]OFD Sender: No OFD packet to send [19:53:55]OFD Sender: No OFD packet to send [19:54:00]OFD Sender: No OFD packet to send [19:54:05]OFD Sender: No OFD packet to send [19:54:10]OFD Sender: No OFD packet to send [19:54:15]OFD Sender: No OFD packet to send [19:54:20]OFD Sender: No OFD packet to send [19:54:25]OFD Sender: No OFD packet to send [19:54:30]OFD Sender: No OFD packet to send [19:54:35]OFD Sender: No OFD packet to send [19:54:40]OFD Sender: No OFD packet to send [19:54:45]OFD Sender: No OFD packet to send [19:54:50]OFD Sender: No OFD packet to send [19:54:55]OFD Sender: No OFD packet to send [19:55:00]OFD Sender: No OFD packet to send [19:55:05]OFD Sender: No OFD packet to send [19:55:10]OFD Sender: No OFD packet to send [19:55:15]OFD Sender: No OFD packet to send [19:55:20]OFD Sender: No OFD packet to send [19:55:25]OFD Sender: No OFD packet to send [19:55:30]OFD Sender: No OFD packet to send [19:55:35]OFD Sender: No OFD packet to send [19:55:40]OFD Sender: No OFD packet to send [19:55:45]OFD Sender: No OFD packet to send [19:55:50]OFD Sender: No OFD packet to send [19:55:55]OFD Sender: No OFD packet to send [19:56:00]OFD Sender: No OFD packet to send [19:56:05]OFD Sender: No OFD packet to send [19:56:10]OFD Sender: No OFD packet to send [19:56:15]OFD Sender: No OFD packet to send [19:56:20]OFD Sender: No OFD packet to send [19:56:25]OFD Sender: No OFD packet to send [19:56:30]OFD Sender: No OFD packet to send [19:56:35]OFD Sender: No OFD packet to send [19:56:40]OFD Sender: No OFD packet to send [19:56:45]OFD Sender: No OFD packet to send [19:56:50]OFD Sender: No OFD packet to send [19:56:55]OFD Sender: No OFD packet to send [19:57:00]OFD Sender: No OFD packet to send [19:57:05]OFD Sender: No OFD packet to send [19:57:10]OFD Sender: No OFD packet to send [19:57:15]OFD Sender: No OFD packet to send [19:57:20]OFD Sender: No OFD packet to send [19:57:25]OFD Sender: No OFD packet to send [19:57:30]OFD Sender: No OFD packet to send [19:57:35]OFD Sender: No OFD packet to send [19:57:40]OFD Sender: No OFD packet to send [19:57:45]OFD Sender: No OFD packet to send [19:57:50]OFD Sender: No OFD packet to send [19:57:55]OFD Sender: No OFD packet to send [19:58:00]OFD Sender: No OFD packet to send [19:58:05]OFD Sender: No OFD packet to send [19:58:10]OFD Sender: No OFD packet to send [19:58:15]OFD Sender: No OFD packet to send [19:58:20]OFD Sender: No OFD packet to send [19:58:25]OFD Sender: No OFD packet to send [19:58:30]OFD Sender: No OFD packet to send [19:58:35]OFD Sender: No OFD packet to send [19:58:40]OFD Sender: No OFD packet to send [19:58:45]OFD Sender: No OFD packet to send [19:58:50]OFD Sender: No OFD packet to send [19:58:55]OFD Sender: No OFD packet to send [19:59:00]OFD Sender: No OFD packet to send [19:59:05]OFD Sender: No OFD packet to send [19:59:10]OFD Sender: No OFD packet to send [19:59:15]OFD Sender: No OFD packet to send [19:59:20]OFD Sender: No OFD packet to send [19:59:25]OFD Sender: No OFD packet to send [19:59:30]OFD Sender: No OFD packet to send [19:59:35]OFD Sender: No OFD packet to send [19:59:40]OFD Sender: No OFD packet to send [19:59:45]OFD Sender: No OFD packet to send [19:59:50]accept exits with 7 [19:59:50]New connection [19:59:50]New thread 3066555748 created [19:59:50]Thread 3066699108 joined [19:59:50]Waiting for new connection... [19:59:50] Sock 7.Parse request [19:59:50]Sock 7.Check first char [19:59:50]Sock 7.First char is OK [19:59:50]request: POST /json_proto HTTP/1.0 [19:59:50]Method: POST [19:59:50]URL: /json_proto [19:59:50]Method is POST - this is cgi request [19:59:50]url: /json_proto [19:59:50]query_string will be loaded in cgi processing [19:59:50]execute_cgi json_proto POST (null) [19:59:50]execute_cgi path=json_proto method=POST [19:59:50]POST find Content-Length [19:59:50]Host: 172.17.53.68:8080 [19:59:50]Content-Length: 766 [19:59:50]Content-Type: application/json [19:59:50] [19:59:50]POST finish read [19:59:50]Found Content-Length = 766 [19:59:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874794", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.490, "sum" : 300.38, "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: Mbank", "payments": [ { "type": 1, "sum" : 300.38 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:59:50]execute_script... [19:59:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874794", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.490, "sum" : 300.38, "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: Mbank", "payments": [ { "type": 1, "sum" : 300.38 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:59:50]POST & json_proto [19:59:50]process_json_proto [19:59:50]json parsed OK: [19:59:50]protocol is kg_v1.0 [19:59:50]action value=close_receipt [19:59:50]process_action close_receipt [19:59:50]cmd_close_receipt [19:59:50]MH_GetDate [19:59:50]Write to MH i2c: F0 00 00 5B 25 6F [19:59:50]Write i2c OK [19:59:50]MH_I2C_Read... [19:59:50]Read from MH i2c: F0 [19:59:50]MH_I2C_Read... [19:59:50]Read from MH i2c: F0 09 00 [19:59:50]MH_I2C_Read... [19:59:50]Read from MH i2c: F0 09 00 5B 25 00 3F 61 15 67 C5 A4 76 66 D9 [19:59:50]GetLastDocTimeStamp 1729453841 [19:59:50]current date 1729454399 [19:59:50]FM_GetShiftState [19:59:50]SAM_PROTO_GetShiftState [19:59:50]wFMCommunicate request_size=4 [19:59:50]MH_SAM_APDU [19:59:50]CAPDU: 80 13 01 00 [19:59:50]Write to MH i2c: E2 08 00 5C 25 80 13 01 00 00 00 00 00 FE [19:59:50]Write i2c OK [19:59:50]MH_I2C_Read... [19:59:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:59:50]Read from MH i2c: E2 [19:59:50]MH_I2C_Read... [19:59:50]Read from MH i2c: E2 0E 00 [19:59:50]MH_I2C_Read... [19:59:50]Read from MH i2c: E2 0E 00 5C 25 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 53 [19:59:50]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [19:59:50]wFMCommunicate OK [19:59:50]SAM_PROTO_GetShiftState done [19:59:50]FM_GetShiftState done [19:59:50]opened in 1729383299 [19:59:50]opened+sec_in_day 1729469699 [19:59:50]quantity*price = 30038 [19:59:50]sum+1 = 30039 [19:59:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 300.38 ÐСП 1% : 2.66 ÐДС 12% : 31.90 Ðаличными: 0.00 Безнал.: 300.38 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 60 20.10.2024 19:59 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Mbank ФМ: 0000000000965372 ФД: 37212 ФПД: 155762104234160 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T195959&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37212&fm=155762104234160&tin=02508201610067®Number=0000000000098149&sum=30038 [19:59:51]StoreToDocumentArchive [19:59:51]shift 461 fd 37212 [19:59:51]save to /storage/0461/doc_00037212 [19:59:51]save last doc name /storage/0461/doc_00037212 to /storage/kkm_last_doc_name [19:59:51]save OK [19:59:51]Clear old archive folders... [19:59:51]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:59:51]tlvbuf is 009D6C10 [19:59:51]SAM_PROTO_ClearQueue [19:59:51]wFMCommunicate request_size=4 [19:59:51]MH_SAM_APDU [19:59:51]CAPDU: 80 09 00 00 [19:59:51]Write to MH i2c: E2 08 00 69 25 80 09 00 00 00 00 00 00 00 [19:59:51]Write i2c OK [19:59:51]MH_I2C_Read... [19:59:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:59:51]Read from MH i2c: E2 [19:59:51]MH_I2C_Read... [19:59:51]Read from MH i2c: E2 03 00 [19:59:51]MH_I2C_Read... [19:59:51]Read from MH i2c: E2 03 00 69 25 00 90 00 02 [19:59:51]RAPDU: 90 00 [19:59:51]wFMCommunicate OK [19:59:51]SAM_PROTO_ClearQueue done [19:59:51]KKMCreateOFDPacket [19:59:51]OFDProtocolAddRootSTLVToBuf [19:59:51]FM_MakeSignedData [19:59:51]FM_MakeSignedData [19:59:51]SAM_PROTO_SignData [19:59:51]wFMCommunicate request_size=4 [19:59:51]MH_SAM_APDU [19:59:51]CAPDU: 80 0D 01 02 [19:59:51]Write to MH i2c: E2 08 00 6A 25 80 0D 01 02 00 00 00 00 08 [19:59:51]Write i2c OK [19:59:51]MH_I2C_Read... [19:59:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:59:51]Read from MH i2c: E2 [19:59:51]MH_I2C_Read... [19:59:51]Read from MH i2c: E2 03 00 [19:59:51]MH_I2C_Read... [19:59:51]Read from MH i2c: E2 03 00 6A 25 00 90 00 03 [19:59:51]RAPDU: 90 00 [19:59:51]wFMCommunicate OK [19:59:51]wFMCommunicate request_size=255 [19:59:51]MH_SAM_APDU [19:59:51]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 56 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 56 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 3F 61 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 5C 91 00 00 35 04 06 00 8D [19:59:51]Write to MH i2c: E2 02 01 6B 25 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 56 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 56 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 3F 61 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 5C 91 00 00 35 04 06 00 8D 00 00 7D [19:59:51]Write i2c OK [19:59:51]MH_I2C_Read... [19:59:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:59:51]Read from MH i2c: E2 [19:59:51]MH_I2C_Read... [19:59:51]Read from MH i2c: E2 03 00 [19:59:51]MH_I2C_Read... [19:59:51]Read from MH i2c: E2 03 00 6B 25 00 90 00 04 [19:59:51]RAPDU: 90 00 [19:59:51]wFMCommunicate OK [19:59:51]wFMCommunicate request_size=10 [19:59:51]MH_SAM_APDU [19:59:51]CAPDU: 80 0D 02 02 05 AA 30 E4 70 B0 [19:59:51]Write to MH i2c: E2 0D 00 6C 25 80 0D 02 02 05 00 AA 30 E4 70 B0 00 00 F3 [19:59:51]Write i2c OK [19:59:51]MH_I2C_Read... [19:59:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:59:51]Read from MH i2c: E2 [19:59:51]MH_I2C_Read... [19:59:51]Read from MH i2c: E2 03 00 [19:59:51]MH_I2C_Read... [19:59:51]Read from MH i2c: E2 03 00 6C 25 00 90 00 05 [19:59:51]RAPDU: 90 00 [19:59:51]wFMCommunicate OK [19:59:51]wFMCommunicate request_size=4 [19:59:51]MH_SAM_APDU [19:59:51]CAPDU: 80 0D 03 02 [19:59:51]Write to MH i2c: E2 08 00 6D 25 80 0D 03 02 00 00 00 00 0D [19:59:51]Write i2c OK [19:59:51]MH_I2C_Read... [19:59:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:59:51]Read from MH i2c: E2 [19:59:51]MH_I2C_Read... [19:59:51]Read from MH i2c: E2 0B 00 [19:59:51]MH_I2C_Read... [19:59:51]Read from MH i2c: E2 0B 00 6D 25 00 6B 22 CC 01 8A D7 42 69 90 00 74 [19:59:51]RAPDU: 6B 22 CC 01 8A D7 42 69 90 00 [19:59:51]wFMCommunicate OK [19:59:51]SAM_PROTO_SignData done [19:59:51]FM_MakeSignedData done [19:59:51]CreateOFDProtocolMessage [19:59:51]wFMCommunicate request_size=4 [19:59:51]MH_SAM_APDU [19:59:51]CAPDU: 80 11 00 00 [19:59:51]Write to MH i2c: E2 08 00 6E 25 80 11 00 00 00 00 00 00 0D [19:59:51]Write i2c OK [19:59:51]MH_I2C_Read... [19:59:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:59:51]Read from MH i2c: E2 [19:59:51]MH_I2C_Read... [19:59:51]Read from MH i2c: E2 17 00 [19:59:51]MH_I2C_Read... [19:59:51]Read from MH i2c: E2 17 00 6E 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 60 [19:59:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:59:51]wFMCommunicate OK [19:59:51]CreateOFDProtocolMessage done [19:59:51]OFDSenderStorePacket 37212 [19:59:51]StoreOFDPacket docnum=37212 [19:59:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0F 01 00 00 FE A8 07 01 D8 86 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 56 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 56 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 3F 61 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 5C 91 00 00 35 04 06 00 8D AA 30 E4 70 B0 6B 22 CC 01 8A D7 42 69 [19:59:51]CheckFolder [19:59:51]dirname=/storage/ofd_packets [19:59:51]CheckFolder done [19:59:51]ProducePacketName [19:59:51]name=ofd_packets/00037212 [19:59:51]NVStorageSaveData ofd_packets/00037212 [19:59:51]File name is /storage/ofd_packets/00037212 [19:59:51]Write 301 bytes [19:59:51]NVStorageSaveData done [19:59:51]OFDSenderStorePacket done [19:59:51]KKMCreateOFDPacket done [19:59:51]NVStorageSaveData kkm_last_timestamp [19:59:51]File name is /storage/kkm_last_timestamp [19:59:51]Write 4 bytes [19:59:51]NVStorageSaveData done [19:59:51]ExternCall_PrintAddStr [19:59:51]wPrintStart [19:59:51]Write to MH i2c: 01 00 00 6F 25 94 [19:59:51]Write i2c OK [19:59:51]MH_I2C_Read... [19:59:51]Read from MH i2c: 01 [19:59:51]MH_I2C_Read... [19:59:51]Read from MH i2c: 01 07 00 [19:59:51]MH_I2C_Read... [19:59:51]Read from MH i2c: 01 07 00 6F 25 00 00 00 00 00 FF 0F A9 [19:59:51]RasterBufferAndPrint [19:59:51]line Счет N : (1)874794 [19:59:51]line ИÐÐ: 02508201610067 [19:59:51]line Контрольно-КаÑÑовый Чек [19:59:51]line ПРОДÐЖР[19:59:51]line ТРК (МРК, ГÐК) : 32 [19:59:51]line Товар: 2710124130 [19:59:51]line Ðи-92-К-5 [19:59:51]line 4.490 * 66.90 [19:59:51]line = 300.38 [19:59:51]line ÐДС 12% ÐСП 1% [19:59:51]line > о реализуемом товаре [19:59:51]line ИТОГО: 300.38 [19:59:51]line ÐСП 1% : 2.66 [19:59:51]line ÐДС 12% : 31.90 [19:59:51]line Ðаличными: 0.00 [19:59:51]line Безнал.: 300.38 [19:59:51]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [19:59:51]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [19:59:51]line СÐО: Общий режим [19:59:51]line Чек 60 20.10.2024 19:59 [19:59:51]line Смена: 461 ФФД: 1.0 [19:59:51]line ЗÐМ: 0300000235 [19:59:51]line РÐМ: 0000000000098149 [19:59:51]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [19:59:52]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Mbank [19:59:52]line ФМ: 0000000000965372 [19:59:52]line ФД: 37212 [19:59:52]line ФПД: 155762104234160 [19:59:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T195959&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37212&fm=155762104234160&tin=02508201610067®Number=0000000000098149&sum=30038 [19:59:52]OFD Sender: Processing packet 37212 [packets to send 25, broken 24] [19:59:52]ProducePacketName [19:59:52]name=ofd_packets/00037212 [19:59:52]OFD Sender: To server: ‡•öpG, [19:59:52]CommunicateWithHost lk.salyk.kg:30040 [19:59:52]ConnectInit lk.salyk.kg [19:59:52]written 0, free lines is 4095 [19:59:52]Connected sock=10 [19:59: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 33 37 32 0F 01 00 00 FE A8 07 01 D8 86 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 56 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 56 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 3F 61 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 5C 91 00 00 35 04 06 00 8D AA 30 E4 70 B0 6B 22 CC 01 8A D7 42 69 [19:59:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 34 4F 47 00 7A 53 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 5C 91 00 00 F4 03 04 00 D0 09 15 67 B6 04 01 00 00 98 D8 21 4F A2 59 B6 01 [19:59:52]CommunicateWithHost err = 0 [19:59:52]CheckOFDResponse [19:59:52]1017 (14) - 77093643461234 [19:59:52]1041 (16) - 0000000000965372 [19:59:52]1040 (4) - 37212 [19:59:52]1012 (4) - 20.10.2024 13:46 [19:59:52]1206 (1) - 0 [19:59:52]OFD Sender: Remove packet 37212 [19:59:52]ProducePacketName [19:59:52]name=ofd_packets/00037212 [19:59:52]NVStorageDeleteData [19:59:52]Write to MH i2c: 01 00 00 98 25 BD [19:59:52]Write i2c OK [19:59:52]MH_I2C_Read... [19:59:52]Read from MH i2c: 01 [19:59:52]MH_I2C_Read... [19:59:52]Read from MH i2c: 01 07 00 [19:59:52]MH_I2C_Read... [19:59:52]Read from MH i2c: 01 07 00 98 25 00 00 00 00 00 04 0D D5 [19:59:52]RasterBufferAndPrint [19:59:52]line [19:59:52]line [19:59:52]line [19:59:52]line [19:59:52]line [19:59:52]written 0, free lines is 3338 [19:59:52]process_action close_receipt done [19:59:52]requested_data is exist [19:59:52]produce_requested_data [19:59:52]requested_item fm.sn is exist - process it [19:59:52]wFMCommunicate request_size=4 [19:59:52]MH_SAM_APDU [19:59:52]CAPDU: 80 11 00 00 [19:59:52]Write to MH i2c: E2 08 00 9F 25 80 11 00 00 00 00 00 00 3E [19:59:52]Write i2c OK [19:59:52]MH_I2C_Read... [19:59:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:59:52]Read from MH i2c: E2 [19:59:52]MH_I2C_Read... [19:59:52]Read from MH i2c: E2 17 00 [19:59:52]MH_I2C_Read... [19:59:52]Read from MH i2c: E2 17 00 9F 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 91 [19:59:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:59:52]wFMCommunicate OK [19:59:52]requested_item fd.num is exist - process it [19:59:52]SAM_PROTO_GetFieldsCounters [19:59:52]wFMCommunicate request_size=4 [19:59:52]MH_SAM_APDU [19:59:52]CAPDU: 80 13 00 00 [19:59:52]Write to MH i2c: E2 08 00 A0 25 80 13 00 00 00 00 00 00 41 [19:59:52]Write i2c OK [19:59:52]MH_I2C_Read... [19:59:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:59:52]Read from MH i2c: E2 [19:59:52]MH_I2C_Read... [19:59:52]Read from MH i2c: E2 62 00 [19:59:52]MH_I2C_Read... [19:59:52]Read from MH i2c: E2 62 00 A0 25 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 5C 91 00 00 0E 04 04 00 CD 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 D7 [19:59: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 5C 91 00 00 0E 04 04 00 CD 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 [19:59:52]wFMCommunicate OK [19:59:52]SAM_PROTO_GetFieldsCounters done [19:59:52]requested_item shift.num is exist - process it [19:59:52]requested_item shift.opened is exist - process it [19:59:52]req_shift_opened [19:59:52]FM_GetShiftState [19:59:52]SAM_PROTO_GetShiftState [19:59:52]wFMCommunicate request_size=4 [19:59:52]MH_SAM_APDU [19:59:52]CAPDU: 80 13 01 00 [19:59:52]Write to MH i2c: E2 08 00 A1 25 80 13 01 00 00 00 00 00 43 [19:59:52]Write i2c OK [19:59:52]MH_I2C_Read... [19:59:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:59:52]Read from MH i2c: E2 [19:59:52]MH_I2C_Read... [19:59:52]Read from MH i2c: E2 0E 00 [19:59:52]MH_I2C_Read... [19:59:52]Read from MH i2c: E2 0E 00 A1 25 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 98 [19:59:52]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [19:59:52]wFMCommunicate OK [19:59:52]SAM_PROTO_GetShiftState done [19:59:52]FM_GetShiftState done [19:59:52]req_shift_opened done [19:59:52]requested_item shift.open_date is exist - process it [19:59:52]req_shift_open_date [19:59:52]req_shift_open_date done [19:59:52]produce_requested_data done [19:59:52]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37212,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [19:59:52]process_action_free close_receipt [19:59:52]json_value_free [19:59:52]json_value_free done [19:59:52]process_json_proto returns [19:59:52]Send response to host [19:59:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37212,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [19:59:52]free response buf [19:59:52]execute_script done [19:59:52]execute_script returns [19:59:52]free content buf [19:59:52]Sock 7.Close socket [19:59:52]Sock 7.Thread stoped [19:59:53]OFD Sender: No OFD packet to send [19:59:58]OFD Sender: No OFD packet to send [20:00:03]OFD Sender: No OFD packet to send [20:00:08]OFD Sender: No OFD packet to send [20:00:13]OFD Sender: No OFD packet to send [20:00:18]OFD Sender: No OFD packet to send [20:00:23]OFD Sender: No OFD packet to send [20:00:28]OFD Sender: No OFD packet to send [20:00:33]OFD Sender: No OFD packet to send [20:00:38]OFD Sender: No OFD packet to send [20:00:43]OFD Sender: No OFD packet to send [20:00:48]OFD Sender: No OFD packet to send [20:00:53]OFD Sender: No OFD packet to send [20:00:58]OFD Sender: No OFD packet to send [20:01:03]OFD Sender: No OFD packet to send [20:01:08]OFD Sender: No OFD packet to send [20:01:13]OFD Sender: No OFD packet to send [20:01:18]OFD Sender: No OFD packet to send [20:01:23]OFD Sender: No OFD packet to send [20:01:28]OFD Sender: No OFD packet to send [20:01:33]OFD Sender: No OFD packet to send [20:01:34]accept exits with 9 [20:01:34]New connection [20:01:34]New thread 3066699108 created [20:01:34]Thread 3066555748 joined [20:01:34]Waiting for new connection... [20:01:34] Sock 9.Parse request [20:01:34]Sock 9.Check first char [20:01:34]Sock 9.First char is OK [20:01:34]request: POST /json_proto HTTP/1.0 [20:01:34]Method: POST [20:01:34]URL: /json_proto [20:01:34]Method is POST - this is cgi request [20:01:34]url: /json_proto [20:01:34]query_string will be loaded in cgi processing [20:01:34]execute_cgi json_proto POST (null) [20:01:34]execute_cgi path=json_proto method=POST [20:01:34]POST find Content-Length [20:01:34]Host: 172.17.53.68:8080 [20:01:34]Content-Length: 677 [20:01:34]Content-Type: application/json [20:01:34] [20:01:34]POST finish read [20:01:34]Found Content-Length = 677 [20:01:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874795", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 2.990, "sum" : 200.03, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 200.00, "total" : 200.00, "payments": [ { "type": 0, "sum" : 200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:01:34]execute_script... [20:01:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874795", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 2.990, "sum" : 200.03, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 200.00, "total" : 200.00, "payments": [ { "type": 0, "sum" : 200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:01:34]POST & json_proto [20:01:34]process_json_proto [20:01:34]json parsed OK: [20:01:34]protocol is kg_v1.0 [20:01:34]action value=close_receipt [20:01:34]process_action close_receipt [20:01:34]cmd_close_receipt [20:01:34]MH_GetDate [20:01:34]Write to MH i2c: F0 00 00 A2 25 B6 [20:01:34]Write i2c OK [20:01:34]MH_I2C_Read... [20:01:34]Read from MH i2c: F0 [20:01:34]MH_I2C_Read... [20:01:34]Read from MH i2c: F0 09 00 [20:01:34]MH_I2C_Read... [20:01:34]Read from MH i2c: F0 09 00 A2 25 00 A7 61 15 67 C5 A4 76 66 88 [20:01:34]GetLastDocTimeStamp 1729454399 [20:01:34]current date 1729454503 [20:01:34]FM_GetShiftState [20:01:34]SAM_PROTO_GetShiftState [20:01:34]wFMCommunicate request_size=4 [20:01:34]MH_SAM_APDU [20:01:34]CAPDU: 80 13 01 00 [20:01:34]Write to MH i2c: E2 08 00 A3 25 80 13 01 00 00 00 00 00 45 [20:01:34]Write i2c OK [20:01:34]MH_I2C_Read... [20:01:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:01:34]Read from MH i2c: E2 [20:01:34]MH_I2C_Read... [20:01:34]Read from MH i2c: E2 0E 00 [20:01:34]MH_I2C_Read... [20:01:34]Read from MH i2c: E2 0E 00 A3 25 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 9A [20:01:34]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [20:01:34]wFMCommunicate OK [20:01:34]SAM_PROTO_GetShiftState done [20:01:34]FM_GetShiftState done [20:01:34]opened in 1729383299 [20:01:34]opened+sec_in_day 1729469699 [20:01:34]quantity*price = 20003 [20:01:34]sum+1 = 20004 [20:01:34]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.03 ИТОГО: 200.00 ВнеÑено: 200.00 СДÐЧÐ: 0.00 ÐСП 1% : 1.77 ÐДС 12% : 21.24 Ðаличными: 200.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 61 20.10.2024 20:01 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37213 ФПД: 254306260399697 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T200143&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37213&fm=254306260399697&tin=02508201610067®Number=0000000000098149&sum=20000 [20:01:35]StoreToDocumentArchive [20:01:35]shift 461 fd 37213 [20:01:35]save to /storage/0461/doc_00037213 [20:01:35]save last doc name /storage/0461/doc_00037213 to /storage/kkm_last_doc_name [20:01:35]save OK [20:01:35]Clear old archive folders... [20:01:35]ProcessDocumentItem done err = 0, tmpTLVsize=251 [20:01:35]tlvbuf is 00A18F50 [20:01:35]SAM_PROTO_ClearQueue [20:01:35]wFMCommunicate request_size=4 [20:01:35]MH_SAM_APDU [20:01:35]CAPDU: 80 09 00 00 [20:01:35]Write to MH i2c: E2 08 00 B0 25 80 09 00 00 00 00 00 00 47 [20:01:35]Write i2c OK [20:01:35]MH_I2C_Read... [20:01:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:01:35]Read from MH i2c: E2 [20:01:35]MH_I2C_Read... [20:01:35]Read from MH i2c: E2 03 00 [20:01:35]MH_I2C_Read... [20:01:35]Read from MH i2c: E2 03 00 B0 25 00 90 00 49 [20:01:35]RAPDU: 90 00 [20:01:35]wFMCommunicate OK [20:01:35]SAM_PROTO_ClearQueue done [20:01:35]KKMCreateOFDPacket [20:01:35]OFDProtocolAddRootSTLVToBuf [20:01:35]FM_MakeSignedData [20:01:35]FM_MakeSignedData [20:01:35]SAM_PROTO_SignData [20:01:35]wFMCommunicate request_size=4 [20:01:35]MH_SAM_APDU [20:01:35]CAPDU: 80 0D 01 02 [20:01:35]Write to MH i2c: E2 08 00 B1 25 80 0D 01 02 00 00 00 00 4F [20:01:35]Write i2c OK [20:01:35]MH_I2C_Read... [20:01:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:01:35]Read from MH i2c: E2 [20:01:35]MH_I2C_Read... [20:01:35]Read from MH i2c: E2 03 00 [20:01:35]MH_I2C_Read... [20:01:35]Read from MH i2c: E2 03 00 B1 25 00 90 00 4A [20:01:35]RAPDU: 90 00 [20:01:35]wFMCommunicate OK [20:01:35]wFMCommunicate request_size=255 [20:01:35]MH_SAM_APDU [20:01:35]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AE 0B 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 23 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 A7 61 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 5D 91 00 00 35 04 06 00 E7 [20:01:35]Write to MH i2c: E2 02 01 B2 25 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AE 0B 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 23 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 A7 61 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 5D 91 00 00 35 04 06 00 E7 00 00 0A [20:01:35]Write i2c OK [20:01:35]MH_I2C_Read... [20:01:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:01:35]Read from MH i2c: E2 [20:01:35]MH_I2C_Read... [20:01:35]Read from MH i2c: E2 03 00 [20:01:35]MH_I2C_Read... [20:01:35]Read from MH i2c: E2 03 00 B2 25 00 90 00 4B [20:01:35]RAPDU: 90 00 [20:01:35]wFMCommunicate OK [20:01:35]wFMCommunicate request_size=10 [20:01:35]MH_SAM_APDU [20:01:35]CAPDU: 80 0D 02 02 05 4A 4A 50 B6 51 [20:01:35]Write to MH i2c: E2 0D 00 B3 25 80 0D 02 02 05 00 4A 4A 50 B6 51 00 00 47 [20:01:35]Write i2c OK [20:01:35]MH_I2C_Read... [20:01:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:01:35]Read from MH i2c: E2 [20:01:35]MH_I2C_Read... [20:01:35]Read from MH i2c: E2 03 00 [20:01:35]MH_I2C_Read... [20:01:35]Read from MH i2c: E2 03 00 B3 25 00 90 00 4C [20:01:35]RAPDU: 90 00 [20:01:35]wFMCommunicate OK [20:01:35]wFMCommunicate request_size=4 [20:01:35]MH_SAM_APDU [20:01:35]CAPDU: 80 0D 03 02 [20:01:35]Write to MH i2c: E2 08 00 B4 25 80 0D 03 02 00 00 00 00 54 [20:01:35]Write i2c OK [20:01:35]MH_I2C_Read... [20:01:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:01:36]Read from MH i2c: E2 [20:01:36]MH_I2C_Read... [20:01:36]Read from MH i2c: E2 0B 00 [20:01:36]MH_I2C_Read... [20:01:36]Read from MH i2c: E2 0B 00 B4 25 00 AF A4 8F 3A 17 87 0B D7 90 00 F1 [20:01:36]RAPDU: AF A4 8F 3A 17 87 0B D7 90 00 [20:01:36]wFMCommunicate OK [20:01:36]SAM_PROTO_SignData done [20:01:36]FM_MakeSignedData done [20:01:36]CreateOFDProtocolMessage [20:01:36]wFMCommunicate request_size=4 [20:01:36]MH_SAM_APDU [20:01:36]CAPDU: 80 11 00 00 [20:01:36]Write to MH i2c: E2 08 00 B5 25 80 11 00 00 00 00 00 00 54 [20:01:36]Write i2c OK [20:01:36]MH_I2C_Read... [20:01:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:01:36]Read from MH i2c: E2 [20:01:36]MH_I2C_Read... [20:01:36]Read from MH i2c: E2 17 00 [20:01:36]MH_I2C_Read... [20:01:36]Read from MH i2c: E2 17 00 B5 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 A7 [20:01:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [20:01:36]wFMCommunicate OK [20:01:36]CreateOFDProtocolMessage done [20:01:36]OFDSenderStorePacket 37213 [20:01:36]StoreOFDPacket docnum=37213 [20:01:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0F 01 00 00 4E 35 07 01 CA 92 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AE 0B 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 23 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 A7 61 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 5D 91 00 00 35 04 06 00 E7 4A 4A 50 B6 51 AF A4 8F 3A 17 87 0B D7 [20:01:36]CheckFolder [20:01:36]dirname=/storage/ofd_packets [20:01:36]CheckFolder done [20:01:36]ProducePacketName [20:01:36]name=ofd_packets/00037213 [20:01:36]NVStorageSaveData ofd_packets/00037213 [20:01:36]File name is /storage/ofd_packets/00037213 [20:01:36]Write 301 bytes [20:01:36]NVStorageSaveData done [20:01:36]OFDSenderStorePacket done [20:01:36]KKMCreateOFDPacket done [20:01:36]NVStorageSaveData kkm_last_timestamp [20:01:36]File name is /storage/kkm_last_timestamp [20:01:36]Write 4 bytes [20:01:36]NVStorageSaveData done [20:01:36]ExternCall_PrintAddStr [20:01:36]wPrintStart [20:01:36]Write to MH i2c: 01 00 00 B6 25 DB [20:01:36]Write i2c OK [20:01:36]MH_I2C_Read... [20:01:36]Read from MH i2c: 01 [20:01:36]MH_I2C_Read... [20:01:36]Read from MH i2c: 01 07 00 [20:01:36]MH_I2C_Read... [20:01:36]Read from MH i2c: 01 07 00 B6 25 00 00 00 00 00 FF 0F F0 [20:01:36]RasterBufferAndPrint [20:01:36]line Счет N : (1)874795 [20:01:36]line ИÐÐ: 02508201610067 [20:01:36]line Контрольно-КаÑÑовый Чек [20:01:36]line ПРОДÐЖР[20:01:36]line ТРК (МРК, ГÐК) : 32 [20:01:36]line Товар: 2710124130 [20:01:36]line Ðи-92-К-5 [20:01:36]line 2.990 * 66.90 [20:01:36]line = 200.03 [20:01:36]line ÐДС 12% ÐСП 1% [20:01:36]line > о реализуемом товаре [20:01:36]line ОКРУГЛЕÐИЕ: -0.03 [20:01:36]line ИТОГО: 200.00 [20:01:36]line ВнеÑено: 200.00 [20:01:36]line СДÐЧÐ: 0.00 [20:01:36]line ÐСП 1% : 1.77 [20:01:36]line ÐДС 12% : 21.24 [20:01:36]line Ðаличными: 200.00 [20:01:36]line Безнал.: 0.00 [20:01:36]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [20:01:36]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [20:01:36]line СÐО: Общий режим [20:01:36]line Чек 61 20.10.2024 20:01 [20:01:36]line Смена: 461 ФФД: 1.0 [20:01:36]line ЗÐМ: 0300000235 [20:01:36]line РÐМ: 0000000000098149 [20:01:36]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [20:01:36]line ФМ: 0000000000965372 [20:01:36]line ФД: 37213 [20:01:36]line ФПД: 254306260399697 [20:01:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T200143&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37213&fm=254306260399697&tin=02508201610067®Number=0000000000098149&sum=20000 [20:01:36]written 0, free lines is 4095 [20:01:36]OFD Sender: Processing packet 37213 [packets to send 25, broken 24] [20:01:36]ProducePacketName [20:01:36]name=ofd_packets/00037213 [20:01:36]OFD Sender: To server: ‡•öpG, [20:01:36]CommunicateWithHost lk.salyk.kg:30040 [20:01:36]ConnectInit lk.salyk.kg [20:01:36]Write to MH i2c: 01 00 00 E1 25 06 [20:01:36]Write i2c OK [20:01:36]MH_I2C_Read... [20:01:36]Read from MH i2c: 01 [20:01:36]MH_I2C_Read... [20:01:36]Read from MH i2c: 01 07 00 [20:01:36]MH_I2C_Read... [20:01:36]Read from MH i2c: 01 07 00 E1 25 00 00 00 00 00 D8 0C F1 [20:01:36]RasterBufferAndPrint [20:01:36]line [20:01:36]line [20:01:36]line [20:01:36]line [20:01:36]line [20:01:36]written 0, free lines is 3296 [20:01:36]process_action close_receipt done [20:01:36]requested_data is exist [20:01:36]produce_requested_data [20:01:36]requested_item fm.sn is exist - process it [20:01:36]wFMCommunicate request_size=4 [20:01:36]MH_SAM_APDU [20:01:36]CAPDU: 80 11 00 00 [20:01:36]Write to MH i2c: E2 08 00 E8 25 80 11 00 00 00 00 00 00 87 [20:01:36]Write i2c OK [20:01:36]MH_I2C_Read... [20:01:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:01:36]Read from MH i2c: E2 [20:01:36]MH_I2C_Read... [20:01:36]Read from MH i2c: E2 17 00 [20:01:36]MH_I2C_Read... [20:01:36]Read from MH i2c: E2 17 00 E8 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 DA [20:01:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [20:01:36]wFMCommunicate OK [20:01:36]requested_item fd.num is exist - process it [20:01:36]SAM_PROTO_GetFieldsCounters [20:01:36]wFMCommunicate request_size=4 [20:01:36]MH_SAM_APDU [20:01:36]CAPDU: 80 13 00 00 [20:01:36]Write to MH i2c: E2 08 00 E9 25 80 13 00 00 00 00 00 00 8A [20:01:36]Write i2c OK [20:01:36]MH_I2C_Read... [20:01:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:01:37]Read from MH i2c: E2 [20:01:37]MH_I2C_Read... [20:01:37]Read from MH i2c: E2 62 00 [20:01:37]MH_I2C_Read... [20:01:37]Read from MH i2c: E2 62 00 E9 25 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 5D 91 00 00 0E 04 04 00 CD 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 24 [20:01: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 5D 91 00 00 0E 04 04 00 CD 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 [20:01:37]wFMCommunicate OK [20:01:37]SAM_PROTO_GetFieldsCounters done [20:01:37]requested_item shift.num is exist - process it [20:01:37]requested_item shift.opened is exist - process it [20:01:37]req_shift_opened [20:01:37]FM_GetShiftState [20:01:37]SAM_PROTO_GetShiftState [20:01:37]wFMCommunicate request_size=4 [20:01:37]MH_SAM_APDU [20:01:37]CAPDU: 80 13 01 00 [20:01:37]Write to MH i2c: E2 08 00 EA 25 80 13 01 00 00 00 00 00 8C [20:01:37]Write i2c OK [20:01:37]MH_I2C_Read... [20:01:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:01:37]Read from MH i2c: E2 [20:01:37]MH_I2C_Read... [20:01:37]Read from MH i2c: E2 0E 00 [20:01:37]MH_I2C_Read... [20:01:37]Read from MH i2c: E2 0E 00 EA 25 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 E1 [20:01:37]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [20:01:37]wFMCommunicate OK [20:01:37]SAM_PROTO_GetShiftState done [20:01:37]FM_GetShiftState done [20:01:37]req_shift_opened done [20:01:37]requested_item shift.open_date is exist - process it [20:01:37]req_shift_open_date [20:01:37]req_shift_open_date done [20:01:37]produce_requested_data done [20:01:37]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37213,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [20:01:37]process_action_free close_receipt [20:01:37]json_value_free [20:01:37]json_value_free done [20:01:37]process_json_proto returns [20:01:37]Send response to host [20:01:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37213,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [20:01:37]free response buf [20:01:37]execute_script done [20:01:37]execute_script returns [20:01:37]free content buf [20:01:37]Sock 9.Close socket [20:01:37]Sock 9.Thread stoped [20:02:49]accept exits with 7 [20:02:49]New connection [20:02:49]New thread 3066555748 created [20:02:49]Thread 3066699108 joined [20:02:49]Waiting for new connection... [20:02:49] Sock 7.Parse request [20:02:49]Sock 7.Check first char [20:02:49]Sock 7.First char is OK [20:02:49]request: POST /json_proto HTTP/1.0 [20:02:49]Method: POST [20:02:49]URL: /json_proto [20:02:49]Method is POST - this is cgi request [20:02:49]url: /json_proto [20:02:49]query_string will be loaded in cgi processing [20:02:49]execute_cgi json_proto POST (null) [20:02:49]execute_cgi path=json_proto method=POST [20:02:49]POST find Content-Length [20:02:49]Host: 172.17.53.68:8080 [20:02:49]Content-Length: 762 [20:02:49]Content-Type: application/json [20:02:49] [20:02:49]POST finish read [20:02:49]Found Content-Length = 762 [20:02:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874796", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 14.620, "sum" : 1000.01, "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: Mbank", "payments": [ { "type": 1, "sum" : 1000.01 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:02:49]execute_script... [20:02:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874796", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 14.620, "sum" : 1000.01, "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: Mbank", "payments": [ { "type": 1, "sum" : 1000.01 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:02:49]POST & json_proto [20:02:49]process_json_proto [20:02:49]json parsed OK: [20:02:49]protocol is kg_v1.0 [20:02:49]action value=close_receipt [20:02:49]process_action close_receipt [20:02:49]cmd_close_receipt [20:02:49]MH_GetDate [20:02:49]Write to MH i2c: F0 00 00 EB 25 FF [20:02:49]Write i2c OK [20:02:49]MH_I2C_Read... [20:02:49]Read from MH i2c: F0 [20:02:49]MH_I2C_Read... [20:02:49]Read from MH i2c: F0 09 00 [20:02:49]MH_I2C_Read... [20:02:49]Read from MH i2c: F0 09 00 EB 25 00 F2 61 15 67 C5 A4 76 66 1C [20:02:49]GetLastDocTimeStamp 1729454503 [20:02:49]current date 1729454578 [20:02:49]FM_GetShiftState [20:02:49]SAM_PROTO_GetShiftState [20:02:49]wFMCommunicate request_size=4 [20:02:49]MH_SAM_APDU [20:02:49]CAPDU: 80 13 01 00 [20:02:49]Write to MH i2c: E2 08 00 EC 25 80 13 01 00 00 00 00 00 8E [20:02:49]Write i2c OK [20:02:49]MH_I2C_Read... [20:02:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:02:49]Read from MH i2c: E2 [20:02:49]MH_I2C_Read... [20:02:49]Read from MH i2c: E2 0E 00 [20:02:49]MH_I2C_Read... [20:02:49]Read from MH i2c: E2 0E 00 EC 25 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 E3 [20:02:49]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [20:02:49]wFMCommunicate OK [20:02:49]SAM_PROTO_GetShiftState done [20:02:49]FM_GetShiftState done [20:02:49]opened in 1729383299 [20:02:49]opened+sec_in_day 1729469699 [20:02:49]quantity*price = 100000 [20:02:49]sum+1 = 100002 [20:02:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.01 ÐСП 1% : 8.85 ÐДС 12% : 106.20 Ðаличными: 0.00 Безнал.: 1000.01 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 62 20.10.2024 20:02 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Mbank ФМ: 0000000000965372 ФД: 37214 ФПД: 34150346551600 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T200258&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37214&fm=34150346551600&tin=02508201610067®Number=0000000000098149&sum=100001 [20:02:50]StoreToDocumentArchive [20:02:50]shift 461 fd 37214 [20:02:50]save to /storage/0461/doc_00037214 [20:02:50]save last doc name /storage/0461/doc_00037214 to /storage/kkm_last_doc_name [20:02:50]save OK [20:02:50]Clear old archive folders... [20:02:50]ProcessDocumentItem done err = 0, tmpTLVsize=252 [20:02:50]tlvbuf is 009D6A40 [20:02:50]SAM_PROTO_ClearQueue [20:02:50]wFMCommunicate request_size=4 [20:02:50]MH_SAM_APDU [20:02:50]CAPDU: 80 09 00 00 [20:02:50]Write to MH i2c: E2 08 00 F9 25 80 09 00 00 00 00 00 00 90 [20:02:50]Write i2c OK [20:02:50]MH_I2C_Read... [20:02:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:02:50]Read from MH i2c: E2 [20:02:50]MH_I2C_Read... [20:02:50]Read from MH i2c: E2 03 00 [20:02:50]MH_I2C_Read... [20:02:50]Read from MH i2c: E2 03 00 F9 25 00 90 00 92 [20:02:50]RAPDU: 90 00 [20:02:50]wFMCommunicate OK [20:02:50]SAM_PROTO_ClearQueue done [20:02:50]KKMCreateOFDPacket [20:02:50]OFDProtocolAddRootSTLVToBuf [20:02:50]FM_MakeSignedData [20:02:50]FM_MakeSignedData [20:02:50]SAM_PROTO_SignData [20:02:50]wFMCommunicate request_size=4 [20:02:50]MH_SAM_APDU [20:02:50]CAPDU: 80 0D 01 02 [20:02:50]Write to MH i2c: E2 08 00 FA 25 80 0D 01 02 00 00 00 00 98 [20:02:50]Write i2c OK [20:02:50]MH_I2C_Read... [20:02:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:02:50]Read from MH i2c: E2 [20:02:50]MH_I2C_Read... [20:02:50]Read from MH i2c: E2 03 00 [20:02:50]MH_I2C_Read... [20:02:50]Read from MH i2c: E2 03 00 FA 25 00 90 00 93 [20:02:50]RAPDU: 90 00 [20:02:50]wFMCommunicate OK [20:02:50]wFMCommunicate request_size=255 [20:02:50]MH_SAM_APDU [20:02:50]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 39 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 A1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 F2 61 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 5E 91 00 00 35 04 06 00 [20:02:50]Write to MH i2c: E2 02 01 FB 25 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 39 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 A1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 F2 61 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 5E 91 00 00 35 04 06 00 00 00 4B [20:02:50]Write i2c OK [20:02:50]MH_I2C_Read... [20:02:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:02:51]Read from MH i2c: E2 [20:02:51]MH_I2C_Read... [20:02:51]Read from MH i2c: E2 03 00 [20:02:51]MH_I2C_Read... [20:02:51]Read from MH i2c: E2 03 00 FB 25 00 90 00 94 [20:02:51]RAPDU: 90 00 [20:02:51]wFMCommunicate OK [20:02:51]wFMCommunicate request_size=11 [20:02:51]MH_SAM_APDU [20:02:51]CAPDU: 80 0D 02 02 06 1F 0F 3F 46 71 30 [20:02:51]Write to MH i2c: E2 0E 00 FC 25 80 0D 02 02 06 00 1F 0F 3F 46 71 30 00 00 FB [20:02:51]Write i2c OK [20:02:51]MH_I2C_Read... [20:02:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:02:51]Read from MH i2c: E2 [20:02:51]MH_I2C_Read... [20:02:51]Read from MH i2c: E2 03 00 [20:02:51]MH_I2C_Read... [20:02:51]Read from MH i2c: E2 03 00 FC 25 00 90 00 95 [20:02:51]RAPDU: 90 00 [20:02:51]wFMCommunicate OK [20:02:51]wFMCommunicate request_size=4 [20:02:51]MH_SAM_APDU [20:02:51]CAPDU: 80 0D 03 02 [20:02:51]Write to MH i2c: E2 08 00 FD 25 80 0D 03 02 00 00 00 00 9D [20:02:51]Write i2c OK [20:02:51]MH_I2C_Read... [20:02:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:02:51]Read from MH i2c: E2 [20:02:51]MH_I2C_Read... [20:02:51]Read from MH i2c: E2 0B 00 [20:02:51]MH_I2C_Read... [20:02:51]Read from MH i2c: E2 0B 00 FD 25 00 F4 AC B8 4A A7 E2 49 A9 90 00 BB [20:02:51]RAPDU: F4 AC B8 4A A7 E2 49 A9 90 00 [20:02:51]wFMCommunicate OK [20:02:51]SAM_PROTO_SignData done [20:02:51]FM_MakeSignedData done [20:02:51]CreateOFDProtocolMessage [20:02:51]wFMCommunicate request_size=4 [20:02:51]MH_SAM_APDU [20:02:51]CAPDU: 80 11 00 00 [20:02:51]Write to MH i2c: E2 08 00 FE 25 80 11 00 00 00 00 00 00 9D [20:02:51]Write i2c OK [20:02:51]MH_I2C_Read... [20:02:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:02:51]Read from MH i2c: E2 [20:02:51]MH_I2C_Read... [20:02:51]Read from MH i2c: E2 17 00 [20:02:51]MH_I2C_Read... [20:02:51]Read from MH i2c: E2 17 00 FE 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 F0 [20:02:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [20:02:51]wFMCommunicate OK [20:02:51]CreateOFDProtocolMessage done [20:02:51]OFDSenderStorePacket 37214 [20:02:51]StoreOFDPacket docnum=37214 [20:02:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 01 00 00 12 A7 08 01 18 FD 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 39 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 A1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 F2 61 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 5E 91 00 00 35 04 06 00 1F 0F 3F 46 71 30 F4 AC B8 4A A7 E2 49 A9 [20:02:51]CheckFolder [20:02:51]dirname=/storage/ofd_packets [20:02:51]CheckFolder done [20:02:51]ProducePacketName [20:02:51]name=ofd_packets/00037214 [20:02:51]NVStorageSaveData ofd_packets/00037214 [20:02:51]File name is /storage/ofd_packets/00037214 [20:02:51]Write 302 bytes [20:02:51]NVStorageSaveData done [20:02:51]OFDSenderStorePacket done [20:02:51]KKMCreateOFDPacket done [20:02:51]NVStorageSaveData kkm_last_timestamp [20:02:51]File name is /storage/kkm_last_timestamp [20:02:51]Write 4 bytes [20:02:51]NVStorageSaveData done [20:02:51]ExternCall_PrintAddStr [20:02:51]wPrintStart [20:02:51]Write to MH i2c: 01 00 00 FF 25 24 [20:02:51]Write i2c OK [20:02:51]MH_I2C_Read... [20:02:51]Read from MH i2c: 01 [20:02:51]MH_I2C_Read... [20:02:51]Read from MH i2c: 01 07 00 [20:02:51]MH_I2C_Read... [20:02:51]Read from MH i2c: 01 07 00 FF 25 00 00 00 00 00 FF 0F 39 [20:02:51]RasterBufferAndPrint [20:02:51]line Счет N : (1)874796 [20:02:51]line ИÐÐ: 02508201610067 [20:02:51]line Контрольно-КаÑÑовый Чек [20:02:51]line ПРОДÐЖР[20:02:51]line ТРК (МРК, ГÐК) : 43 [20:02:51]line Товар: 2710124130 [20:02:51]line Super 92-К-5 [20:02:51]line 14.620 * 68.40 [20:02:51]line = 1000.01 [20:02:51]line ÐДС 12% ÐСП 1% [20:02:51]line > о реализуемом товаре [20:02:51]line ИТОГО: 1000.01 [20:02:51]line ÐСП 1% : 8.85 [20:02:51]line ÐДС 12% : 106.20 [20:02:51]line Ðаличными: 0.00 [20:02:51]line Безнал.: 1000.01 [20:02:51]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [20:02:51]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [20:02:51]line СÐО: Общий режим [20:02:51]line Чек 62 20.10.2024 20:02 [20:02:51]line Смена: 461 ФФД: 1.0 [20:02:51]line ЗÐМ: 0300000235 [20:02:51]line РÐМ: 0000000000098149 [20:02:51]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [20:02:51]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Mbank [20:02:51]line ФМ: 0000000000965372 [20:02:51]line ФД: 37214 [20:02:51]line ФПД: 34150346551600 [20:02:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T200258&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37214&fm=34150346551600&tin=02508201610067®Number=0000000000098149&sum=100001 [20:02:51]written 0, free lines is 4095 [20:02:52]Write to MH i2c: 01 00 00 28 26 4E [20:02:52]Write i2c OK [20:02:52]MH_I2C_Read... [20:02:52]Read from MH i2c: 01 [20:02:52]MH_I2C_Read... [20:02:52]Read from MH i2c: 01 07 00 [20:02:52]MH_I2C_Read... [20:02:52]Read from MH i2c: 01 07 00 28 26 00 00 00 00 00 02 0D 64 [20:02:52]RasterBufferAndPrint [20:02:52]line [20:02:52]line [20:02:52]line [20:02:52]line [20:02:52]line [20:02:52]written 0, free lines is 3337 [20:02:52]process_action close_receipt done [20:02:52]requested_data is exist [20:02:52]produce_requested_data [20:02:52]requested_item fm.sn is exist - process it [20:02:52]wFMCommunicate request_size=4 [20:02:52]MH_SAM_APDU [20:02:52]CAPDU: 80 11 00 00 [20:02:52]Write to MH i2c: E2 08 00 2F 26 80 11 00 00 00 00 00 00 CF [20:02:52]Write i2c OK [20:02:52]MH_I2C_Read... [20:02:52]Read from MH i2c: E2 [20:02:52]MH_I2C_Read... [20:02:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:02:52]Read from MH i2c: E2 17 00 [20:02:52]MH_I2C_Read... [20:02:52]Read from MH i2c: E2 17 00 2F 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 22 [20:02:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [20:02:52]wFMCommunicate OK [20:02:52]requested_item fd.num is exist - process it [20:02:52]SAM_PROTO_GetFieldsCounters [20:02:52]wFMCommunicate request_size=4 [20:02:52]MH_SAM_APDU [20:02:52]CAPDU: 80 13 00 00 [20:02:52]Write to MH i2c: E2 08 00 30 26 80 13 00 00 00 00 00 00 D2 [20:02:52]Write i2c OK [20:02:52]MH_I2C_Read... [20:02:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:02:52]Read from MH i2c: E2 [20:02:52]MH_I2C_Read... [20:02:52]Read from MH i2c: E2 62 00 [20:02:52]MH_I2C_Read... [20:02:52]Read from MH i2c: E2 62 00 30 26 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 5E 91 00 00 0E 04 04 00 CD 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 70 [20:02: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 5E 91 00 00 0E 04 04 00 CD 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 [20:02:52]wFMCommunicate OK [20:02:52]SAM_PROTO_GetFieldsCounters done [20:02:52]requested_item shift.num is exist - process it [20:02:52]requested_item shift.opened is exist - process it [20:02:52]req_shift_opened [20:02:52]FM_GetShiftState [20:02:52]SAM_PROTO_GetShiftState [20:02:52]wFMCommunicate request_size=4 [20:02:52]MH_SAM_APDU [20:02:52]CAPDU: 80 13 01 00 [20:02:52]Write to MH i2c: E2 08 00 31 26 80 13 01 00 00 00 00 00 D4 [20:02:52]Write i2c OK [20:02:52]MH_I2C_Read... [20:02:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:02:52]Read from MH i2c: E2 [20:02:52]MH_I2C_Read... [20:02:52]Read from MH i2c: E2 0E 00 [20:02:52]MH_I2C_Read... [20:02:52]Read from MH i2c: E2 0E 00 31 26 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 29 [20:02:52]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [20:02:52]wFMCommunicate OK [20:02:52]SAM_PROTO_GetShiftState done [20:02:52]FM_GetShiftState done [20:02:52]req_shift_opened done [20:02:52]requested_item shift.open_date is exist - process it [20:02:52]req_shift_open_date [20:02:52]req_shift_open_date done [20:02:52]produce_requested_data done [20:02:52]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37214,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [20:02:52]process_action_free close_receipt [20:02:52]json_value_free [20:02:52]json_value_free done [20:02:52]process_json_proto returns [20:02:52]Send response to host [20:02:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37214,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [20:02:52]free response buf [20:02:52]execute_script done [20:02:52]execute_script returns [20:02:52]free content buf [20:02:52]Sock 7.Close socket [20:02:52]Sock 7.Thread stoped [20:02:55]accept exits with 9 [20:02:55]New connection [20:02:55]New thread 3066699108 created [20:02:55]Thread 3066555748 joined [20:02:55]Waiting for new connection... [20:02:55] Sock 9.Parse request [20:02:55]Sock 9.Check first char [20:02:55]Sock 9.First char is OK [20:02:55]request: POST /json_proto HTTP/1.0 [20:02:55]Method: POST [20:02:55]URL: /json_proto [20:02:55]Method is POST - this is cgi request [20:02:55]url: /json_proto [20:02:55]query_string will be loaded in cgi processing [20:02:55]execute_cgi json_proto POST (null) [20:02:55]execute_cgi path=json_proto method=POST [20:02:55]POST find Content-Length [20:02:55]Host: 172.17.53.68:8080 [20:02:55]Content-Length: 677 [20:02:55]Content-Type: application/json [20:02:55] [20:02:55]POST finish read [20:02:55]Found Content-Length = 677 [20:02:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874797", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.490, "sum" : 300.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:02:55]execute_script... [20:02:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874797", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.490, "sum" : 300.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:02:55]POST & json_proto [20:02:55]process_json_proto [20:02:55]json parsed OK: [20:02:55]protocol is kg_v1.0 [20:02:55]action value=close_receipt [20:02:55]process_action close_receipt [20:02:55]cmd_close_receipt [20:02:55]MH_GetDate [20:02:55]Write to MH i2c: F0 00 00 32 26 47 [20:02:55]Write i2c OK [20:02:55]MH_I2C_Read... [20:02:55]Read from MH i2c: F0 [20:02:55]MH_I2C_Read... [20:02:55]Read from MH i2c: F0 09 00 [20:02:55]MH_I2C_Read... [20:02:55]Read from MH i2c: F0 09 00 32 26 00 F8 61 15 67 C5 A4 76 66 6A [20:02:55]GetLastDocTimeStamp 1729454578 [20:02:55]current date 1729454584 [20:02:55]FM_GetShiftState [20:02:55]SAM_PROTO_GetShiftState [20:02:55]wFMCommunicate request_size=4 [20:02:55]MH_SAM_APDU [20:02:55]CAPDU: 80 13 01 00 [20:02:55]Write to MH i2c: E2 08 00 33 26 80 13 01 00 00 00 00 00 D6 [20:02:55]Write i2c OK [20:02:55]MH_I2C_Read... [20:02:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:02:55]Read from MH i2c: E2 [20:02:55]MH_I2C_Read... [20:02:55]Read from MH i2c: E2 0E 00 [20:02:55]MH_I2C_Read... [20:02:55]Read from MH i2c: E2 0E 00 33 26 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 2B [20:02:55]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [20:02:55]wFMCommunicate OK [20:02:55]SAM_PROTO_GetShiftState done [20:02:55]FM_GetShiftState done [20:02:55]opened in 1729383299 [20:02:55]opened+sec_in_day 1729469699 [20:02:55]quantity*price = 30038 [20:02:55]sum+1 = 30039 [20:02:55]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.38 ИТОГО: 300.00 ВнеÑено: 300.00 СДÐЧÐ: 0.00 ÐСП 1% : 2.66 ÐДС 12% : 31.90 Ðаличными: 300.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 63 20.10.2024 20:03 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37215 ФПД: 204025795021818 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T200304&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37215&fm=204025795021818&tin=02508201610067®Number=0000000000098149&sum=30000 [20:02:56]StoreToDocumentArchive [20:02:56]shift 461 fd 37215 [20:02:56]save to /storage/0461/doc_00037215 [20:02:56]save last doc name /storage/0461/doc_00037215 to /storage/kkm_last_doc_name [20:02:56]save OK [20:02:56]Clear old archive folders... [20:02:56]ProcessDocumentItem done err = 0, tmpTLVsize=251 [20:02:56]tlvbuf is 009CBBF0 [20:02:56]SAM_PROTO_ClearQueue [20:02:56]wFMCommunicate request_size=4 [20:02:56]MH_SAM_APDU [20:02:56]CAPDU: 80 09 00 00 [20:02:56]Write to MH i2c: E2 08 00 40 26 80 09 00 00 00 00 00 00 D8 [20:02:56]Write i2c OK [20:02:56]MH_I2C_Read... [20:02:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:02:56]Read from MH i2c: E2 [20:02:56]MH_I2C_Read... [20:02:56]Read from MH i2c: E2 03 00 [20:02:56]MH_I2C_Read... [20:02:56]Read from MH i2c: E2 03 00 40 26 00 90 00 DA [20:02:56]RAPDU: 90 00 [20:02:56]wFMCommunicate OK [20:02:56]SAM_PROTO_ClearQueue done [20:02:56]KKMCreateOFDPacket [20:02:56]OFDProtocolAddRootSTLVToBuf [20:02:56]FM_MakeSignedData [20:02:56]FM_MakeSignedData [20:02:56]SAM_PROTO_SignData [20:02:56]wFMCommunicate request_size=4 [20:02:56]MH_SAM_APDU [20:02:56]CAPDU: 80 0D 01 02 [20:02:56]Write to MH i2c: E2 08 00 41 26 80 0D 01 02 00 00 00 00 E0 [20:02:56]Write i2c OK [20:02:56]MH_I2C_Read... [20:02:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:02:56]Read from MH i2c: E2 [20:02:56]MH_I2C_Read... [20:02:56]Read from MH i2c: E2 03 00 [20:02:56]MH_I2C_Read... [20:02:56]Read from MH i2c: E2 03 00 41 26 00 90 00 DB [20:02:56]RAPDU: 90 00 [20:02:56]wFMCommunicate OK [20:02:56]wFMCommunicate request_size=255 [20:02:56]MH_SAM_APDU [20:02:56]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 F8 61 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 5F 91 00 00 35 04 06 00 B9 [20:02:56]Write to MH i2c: E2 02 01 42 26 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 F8 61 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 5F 91 00 00 35 04 06 00 B9 00 00 F4 [20:02:56]Write i2c OK [20:02:56]MH_I2C_Read... [20:02:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:02:56]Read from MH i2c: E2 [20:02:56]MH_I2C_Read... [20:02:56]Read from MH i2c: E2 03 00 [20:02:56]MH_I2C_Read... [20:02:56]Read from MH i2c: E2 03 00 42 26 00 90 00 DC [20:02:56]RAPDU: 90 00 [20:02:56]wFMCommunicate OK [20:02:56]wFMCommunicate request_size=10 [20:02:56]MH_SAM_APDU [20:02:56]CAPDU: 80 0D 02 02 05 8F 75 09 8B FA [20:02:56]Write to MH i2c: E2 0D 00 43 26 80 0D 02 02 05 00 8F 75 09 8B FA 00 00 7F [20:02:56]Write i2c OK [20:02:56]MH_I2C_Read... [20:02:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:02:56]Read from MH i2c: E2 [20:02:56]MH_I2C_Read... [20:02:56]Read from MH i2c: E2 03 00 [20:02:56]MH_I2C_Read... [20:02:56]Read from MH i2c: E2 03 00 43 26 00 90 00 DD [20:02:56]RAPDU: 90 00 [20:02:56]wFMCommunicate OK [20:02:56]wFMCommunicate request_size=4 [20:02:56]MH_SAM_APDU [20:02:56]CAPDU: 80 0D 03 02 [20:02:56]Write to MH i2c: E2 08 00 44 26 80 0D 03 02 00 00 00 00 E5 [20:02:56]Write i2c OK [20:02:56]MH_I2C_Read... [20:02:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:02:56]Read from MH i2c: E2 [20:02:56]MH_I2C_Read... [20:02:56]Read from MH i2c: E2 0B 00 [20:02:56]MH_I2C_Read... [20:02:56]Read from MH i2c: E2 0B 00 44 26 00 9C 9E 8F 17 21 A8 D1 2B 90 00 8B [20:02:56]RAPDU: 9C 9E 8F 17 21 A8 D1 2B 90 00 [20:02:56]wFMCommunicate OK [20:02:56]SAM_PROTO_SignData done [20:02:56]FM_MakeSignedData done [20:02:56]CreateOFDProtocolMessage [20:02:56]wFMCommunicate request_size=4 [20:02:56]MH_SAM_APDU [20:02:56]CAPDU: 80 11 00 00 [20:02:56]Write to MH i2c: E2 08 00 45 26 80 11 00 00 00 00 00 00 E5 [20:02:56]Write i2c OK [20:02:56]MH_I2C_Read... [20:02:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:02:56]Read from MH i2c: E2 [20:02:56]MH_I2C_Read... [20:02:56]Read from MH i2c: E2 17 00 [20:02:56]MH_I2C_Read... [20:02:56]Read from MH i2c: E2 17 00 45 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 38 [20:02:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [20:02:56]wFMCommunicate OK [20:02:56]CreateOFDProtocolMessage done [20:02:56]OFDSenderStorePacket 37215 [20:02:56]StoreOFDPacket docnum=37215 [20:02:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0F 01 00 00 24 50 07 01 88 BA 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 F8 61 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 5F 91 00 00 35 04 06 00 B9 8F 75 09 8B FA 9C 9E 8F 17 21 A8 D1 2B [20:02:56]CheckFolder [20:02:56]dirname=/storage/ofd_packets [20:02:56]CheckFolder done [20:02:56]ProducePacketName [20:02:56]name=ofd_packets/00037215 [20:02:56]NVStorageSaveData ofd_packets/00037215 [20:02:56]File name is /storage/ofd_packets/00037215 [20:02:56]Write 301 bytes [20:02:56]NVStorageSaveData done [20:02:56]OFDSenderStorePacket done [20:02:56]KKMCreateOFDPacket done [20:02:56]NVStorageSaveData kkm_last_timestamp [20:02:56]File name is /storage/kkm_last_timestamp [20:02:56]Write 4 bytes [20:02:56]NVStorageSaveData done [20:02:56]ExternCall_PrintAddStr [20:02:56]wPrintStart [20:02:56]Write to MH i2c: 01 00 00 46 26 6C [20:02:56]Write i2c OK [20:02:56]MH_I2C_Read... [20:02:56]Read from MH i2c: 01 [20:02:56]MH_I2C_Read... [20:02:56]Read from MH i2c: 01 07 00 [20:02:56]MH_I2C_Read... [20:02:56]Read from MH i2c: 01 07 00 46 26 00 00 00 00 00 FF 0F 81 [20:02:56]RasterBufferAndPrint [20:02:56]line Счет N : (1)874797 [20:02:56]line ИÐÐ: 02508201610067 [20:02:56]line Контрольно-КаÑÑовый Чек [20:02:56]line ПРОДÐЖР[20:02:56]line ТРК (МРК, ГÐК) : 32 [20:02:56]line Товар: 2710124130 [20:02:56]line Ðи-92-К-5 [20:02:57]line 4.490 * 66.90 [20:02:57]line = 300.38 [20:02:57]line ÐДС 12% ÐСП 1% [20:02:57]line > о реализуемом товаре [20:02:57]line ОКРУГЛЕÐИЕ: -0.38 [20:02:57]line ИТОГО: 300.00 [20:02:57]line ВнеÑено: 300.00 [20:02:57]line СДÐЧÐ: 0.00 [20:02:57]line ÐСП 1% : 2.66 [20:02:57]line ÐДС 12% : 31.90 [20:02:57]line Ðаличными: 300.00 [20:02:57]line Безнал.: 0.00 [20:02:57]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [20:02:57]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [20:02:57]line СÐО: Общий режим [20:02:57]line Чек 63 20.10.2024 20:03 [20:02:57]line Смена: 461 ФФД: 1.0 [20:02:57]line ЗÐМ: 0300000235 [20:02:57]line РÐМ: 0000000000098149 [20:02:57]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [20:02:57]line ФМ: 0000000000965372 [20:02:57]line ФД: 37215 [20:02:57]line ФПД: 204025795021818 [20:02:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T200304&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37215&fm=204025795021818&tin=02508201610067®Number=0000000000098149&sum=30000 [20:02:57]written 0, free lines is 4095 [20:02:57]Write to MH i2c: 01 00 00 71 26 97 [20:02:57]Write i2c OK [20:02:57]MH_I2C_Read... [20:02:57]Read from MH i2c: 01 [20:02:57]MH_I2C_Read... [20:02:57]Read from MH i2c: 01 07 00 [20:02:57]MH_I2C_Read... [20:02:57]Read from MH i2c: 01 07 00 71 26 00 00 00 00 00 E4 0C 8E [20:02:57]RasterBufferAndPrint [20:02:57]line [20:02:57]line [20:02:57]line [20:02:57]line [20:02:57]line [20:02:57]written 0, free lines is 3312 [20:02:57]process_action close_receipt done [20:02:57]requested_data is exist [20:02:57]produce_requested_data [20:02:57]requested_item fm.sn is exist - process it [20:02:57]wFMCommunicate request_size=4 [20:02:57]MH_SAM_APDU [20:02:57]CAPDU: 80 11 00 00 [20:02:57]Write to MH i2c: E2 08 00 78 26 80 11 00 00 00 00 00 00 18 [20:02:57]Write i2c OK [20:02:57]MH_I2C_Read... [20:02:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:02:57]Read from MH i2c: E2 [20:02:57]MH_I2C_Read... [20:02:57]Read from MH i2c: E2 17 00 [20:02:57]MH_I2C_Read... [20:02:57]Read from MH i2c: E2 17 00 78 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 6B [20:02:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [20:02:57]wFMCommunicate OK [20:02:57]requested_item fd.num is exist - process it [20:02:57]SAM_PROTO_GetFieldsCounters [20:02:57]wFMCommunicate request_size=4 [20:02:57]MH_SAM_APDU [20:02:57]CAPDU: 80 13 00 00 [20:02:57]Write to MH i2c: E2 08 00 79 26 80 13 00 00 00 00 00 00 1B [20:02:57]Write i2c OK [20:02:57]MH_I2C_Read... [20:02:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:02:57]Read from MH i2c: E2 [20:02:57]MH_I2C_Read... [20:02:57]Read from MH i2c: E2 62 00 [20:02:57]MH_I2C_Read... [20:02:57]Read from MH i2c: E2 62 00 79 26 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 5F 91 00 00 0E 04 04 00 CD 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 BD [20:02:57]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 5F 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:02:57]wFMCommunicate OK [20:02:57]SAM_PROTO_GetFieldsCounters done [20:02:57]requested_item shift.num is exist - process it [20:02:57]requested_item shift.opened is exist - process it [20:02:57]req_shift_opened [20:02:57]FM_GetShiftState [20:02:57]SAM_PROTO_GetShiftState [20:02:57]wFMCommunicate request_size=4 [20:02:57]MH_SAM_APDU [20:02:57]CAPDU: 80 13 01 00 [20:02:57]Write to MH i2c: E2 08 00 7A 26 80 13 01 00 00 00 00 00 1D [20:02:57]Write i2c OK [20:02:57]MH_I2C_Read... [20:02:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:02:57]Read from MH i2c: E2 [20:02:57]MH_I2C_Read... [20:02:57]Read from MH i2c: E2 0E 00 [20:02:57]MH_I2C_Read... [20:02:57]Read from MH i2c: E2 0E 00 7A 26 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 72 [20:02:57]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [20:02:57]wFMCommunicate OK [20:02:57]SAM_PROTO_GetShiftState done [20:02:57]FM_GetShiftState done [20:02:57]req_shift_opened done [20:02:57]requested_item shift.open_date is exist - process it [20:02:57]req_shift_open_date [20:02:57]req_shift_open_date done [20:02:57]produce_requested_data done [20:02:57]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37215,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [20:02:57]process_action_free close_receipt [20:02:57]json_value_free [20:02:57]json_value_free done [20:02:57]process_json_proto returns [20:02:57]Send response to host [20:02:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37215,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [20:02:57]free response buf [20:02:57]execute_script done [20:02:57]execute_script returns [20:02:57]free content buf [20:02:57]Sock 9.Close socket [20:02:57]Sock 9.Thread stoped [20:03:50]ConnectInit Can't connect to host [20:03:50]CommunicateWithHost connect error [20:03:50]CommunicateWithHost err = -1 [20:03:50]OFD Sender: Server communicate error [20:03:50]OFD Sender: Processing packet 37213 [packets to send 27, broken 24] [20:03:50]ProducePacketName [20:03:50]name=ofd_packets/00037213 [20:03:50]OFD Sender: To server: ‡•öpG, [20:03:50]CommunicateWithHost lk.salyk.kg:30040 [20:03:50]ConnectInit lk.salyk.kg [20:03:50]Connected sock=9 [20:03: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 33 37 32 0F 01 00 00 4E 35 07 01 CA 92 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AE 0B 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 23 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 A7 61 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 5D 91 00 00 35 04 06 00 E7 4A 4A 50 B6 51 AF A4 8F 3A 17 87 0B D7 [20:03:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 4C 45 47 00 FE AC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 5D 91 00 00 F4 03 04 00 BE 0A 15 67 B6 04 01 00 00 C6 18 68 78 B3 46 8F A8 [20:03:50]CommunicateWithHost err = 0 [20:03:50]CheckOFDResponse [20:03:50]1017 (14) - 77093643461234 [20:03:50]1041 (16) - 0000000000965372 [20:03:50]1040 (4) - 37213 [20:03:50]1012 (4) - 20.10.2024 13:50 [20:03:50]1206 (1) - 0 [20:03:50]OFD Sender: Remove packet 37213 [20:03:50]ProducePacketName [20:03:50]name=ofd_packets/00037213 [20:03:50]NVStorageDeleteData [20:03:51]OFD Sender: Processing packet 37214 [packets to send 26, broken 24] [20:03:51]ProducePacketName [20:03:51]name=ofd_packets/00037214 [20:03:51]OFD Sender: To server: ‡•öpG, [20:03:51]CommunicateWithHost lk.salyk.kg:30040 [20:03:51]ConnectInit lk.salyk.kg [20:03:51]Connected sock=9 [20:03: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 33 37 32 10 01 00 00 12 A7 08 01 18 FD 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 39 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 A1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 F2 61 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 5E 91 00 00 35 04 06 00 1F 0F 3F 46 71 30 F4 AC B8 4A A7 E2 49 A9 [20:03:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 32 B3 47 00 F5 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 33 37 32 10 04 04 00 5E 91 00 00 F4 03 04 00 BF 0A 15 67 B6 04 01 00 00 87 61 41 28 A4 B5 21 5D [20:03:51]CommunicateWithHost err = 0 [20:03:51]CheckOFDResponse [20:03:51]1017 (14) - 77093643461234 [20:03:51]1041 (16) - 0000000000965372 [20:03:51]1040 (4) - 37214 [20:03:51]1012 (4) - 20.10.2024 13:50 [20:03:51]1206 (1) - 0 [20:03:51]OFD Sender: Remove packet 37214 [20:03:51]ProducePacketName [20:03:51]name=ofd_packets/00037214 [20:03:51]NVStorageDeleteData [20:03:51]OFD Sender: Processing packet 37215 [packets to send 25, broken 24] [20:03:51]ProducePacketName [20:03:51]name=ofd_packets/00037215 [20:03:51]OFD Sender: To server: ‡•öpG, [20:03:51]CommunicateWithHost lk.salyk.kg:30040 [20:03:51]ConnectInit lk.salyk.kg [20:03:51]Connected sock=9 [20:03: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 33 37 32 0F 01 00 00 24 50 07 01 88 BA 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 F8 61 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 5F 91 00 00 35 04 06 00 B9 8F 75 09 8B FA 9C 9E 8F 17 21 A8 D1 2B [20:03:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 02 F1 47 00 9C 23 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 5F 91 00 00 F4 03 04 00 C0 0A 15 67 B6 04 01 00 00 28 4F C6 F8 A4 D0 F9 1E [20:03:52]CommunicateWithHost err = 0 [20:03:52]CheckOFDResponse [20:03:52]1017 (14) - 77093643461234 [20:03:52]1041 (16) - 0000000000965372 [20:03:52]1040 (4) - 37215 [20:03:52]1012 (4) - 20.10.2024 13:50 [20:03:52]1206 (1) - 0 [20:03:52]OFD Sender: Remove packet 37215 [20:03:52]ProducePacketName [20:03:52]name=ofd_packets/00037215 [20:03:52]NVStorageDeleteData [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:23]accept exits with 7 [20:06:23]New connection [20:06:23]New thread 3066555748 created [20:06:23]Thread 3066699108 joined [20:06:23]Waiting for new connection... [20:06:23] Sock 7.Parse request [20:06:23]Sock 7.Check first char [20:06:23]Sock 7.First char is OK [20:06:23]request: POST /json_proto HTTP/1.0 [20:06:23]Method: POST [20:06:23]URL: /json_proto [20:06:23]Method is POST - this is cgi request [20:06:23]url: /json_proto [20:06:23]query_string will be loaded in cgi processing [20:06:23]execute_cgi json_proto POST (null) [20:06:23]execute_cgi path=json_proto method=POST [20:06:23]POST find Content-Length [20:06:23]Host: 172.17.53.68:8080 [20:06:23]Content-Length: 677 [20:06:23]Content-Type: application/json [20:06:23] [20:06:23]POST finish read [20:06:23]Found Content-Length = 677 [20:06:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874798", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 5.020, "sum" : 335.84, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 350.00, "total" : 335.00, "payments": [ { "type": 0, "sum" : 335.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:06:23]execute_script... [20:06:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874798", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 5.020, "sum" : 335.84, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 350.00, "total" : 335.00, "payments": [ { "type": 0, "sum" : 335.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:06:23]POST & json_proto [20:06:23]process_json_proto [20:06:23]json parsed OK: [20:06:23]protocol is kg_v1.0 [20:06:23]action value=close_receipt [20:06:23]process_action close_receipt [20:06:23]cmd_close_receipt [20:06:23]MH_GetDate [20:06:23]Write to MH i2c: F0 00 00 7B 26 90 [20:06:23]Write i2c OK [20:06:23]MH_I2C_Read... [20:06:23]Read from MH i2c: F0 [20:06:23]MH_I2C_Read... [20:06:23]Read from MH i2c: F0 09 00 [20:06:23]MH_I2C_Read... [20:06:23]Read from MH i2c: F0 09 00 7B 26 00 C9 62 15 67 C5 A4 76 66 85 [20:06:23]GetLastDocTimeStamp 1729454584 [20:06:23]current date 1729454793 [20:06:23]FM_GetShiftState [20:06:23]SAM_PROTO_GetShiftState [20:06:23]wFMCommunicate request_size=4 [20:06:23]MH_SAM_APDU [20:06:23]CAPDU: 80 13 01 00 [20:06:23]Write to MH i2c: E2 08 00 7C 26 80 13 01 00 00 00 00 00 1F [20:06:23]Write i2c OK [20:06:23]MH_I2C_Read... [20:06:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:06:23]Read from MH i2c: E2 [20:06:23]MH_I2C_Read... [20:06:23]Read from MH i2c: E2 0E 00 [20:06:23]MH_I2C_Read... [20:06:23]Read from MH i2c: E2 0E 00 7C 26 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 74 [20:06:23]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [20:06:23]wFMCommunicate OK [20:06:23]SAM_PROTO_GetShiftState done [20:06:23]FM_GetShiftState done [20:06:23]opened in 1729383299 [20:06:23]opened+sec_in_day 1729469699 [20:06:23]quantity*price = 33583 [20:06:23]sum+1 = 33585 [20:06:23]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.84 ИТОГО: 335.00 ВнеÑено: 350.00 СДÐЧÐ: 15.00 ÐСП 1% : 2.97 ÐДС 12% : 35.66 Ðаличными: 335.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 64 20.10.2024 20:06 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37216 ФПД: 78391879380607 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T200633&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37216&fm=78391879380607&tin=02508201610067®Number=0000000000098149&sum=33500 [20:06:24]StoreToDocumentArchive [20:06:24]shift 461 fd 37216 [20:06:24]save to /storage/0461/doc_00037216 [20:06:24]save last doc name /storage/0461/doc_00037216 to /storage/kkm_last_doc_name [20:06:24]save OK [20:06:24]Clear old archive folders... [20:06:24]ProcessDocumentItem done err = 0, tmpTLVsize=251 [20:06:24]tlvbuf is 00A12910 [20:06:24]SAM_PROTO_ClearQueue [20:06:24]wFMCommunicate request_size=4 [20:06:24]MH_SAM_APDU [20:06:24]CAPDU: 80 09 00 00 [20:06:24]Write to MH i2c: E2 08 00 89 26 80 09 00 00 00 00 00 00 21 [20:06:24]Write i2c OK [20:06:24]MH_I2C_Read... [20:06:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:06:24]Read from MH i2c: E2 [20:06:24]MH_I2C_Read... [20:06:24]Read from MH i2c: E2 03 00 [20:06:24]MH_I2C_Read... [20:06:24]Read from MH i2c: E2 03 00 89 26 00 90 00 23 [20:06:24]RAPDU: 90 00 [20:06:24]wFMCommunicate OK [20:06:24]SAM_PROTO_ClearQueue done [20:06:24]KKMCreateOFDPacket [20:06:24]OFDProtocolAddRootSTLVToBuf [20:06:24]FM_MakeSignedData [20:06:24]FM_MakeSignedData [20:06:24]SAM_PROTO_SignData [20:06:24]wFMCommunicate request_size=4 [20:06:24]MH_SAM_APDU [20:06:24]CAPDU: 80 0D 01 02 [20:06:24]Write to MH i2c: E2 08 00 8A 26 80 0D 01 02 00 00 00 00 29 [20:06:24]Write i2c OK [20:06:24]MH_I2C_Read... [20:06:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:06:25]Read from MH i2c: E2 [20:06:25]MH_I2C_Read... [20:06:25]Read from MH i2c: E2 03 00 [20:06:25]MH_I2C_Read... [20:06:25]Read from MH i2c: E2 03 00 8A 26 00 90 00 24 [20:06:25]RAPDU: 90 00 [20:06:25]wFMCommunicate OK [20:06:25]wFMCommunicate request_size=255 [20:06:25]MH_SAM_APDU [20:06:25]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 9C 13 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 30 83 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 82 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 29 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EE 0D 00 00 00 00 07 04 06 00 DC 82 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 C9 62 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 60 91 00 00 35 04 06 00 47 [20:06:25]Write to MH i2c: E2 02 01 8B 26 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 9C 13 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 30 83 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 82 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 29 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EE 0D 00 00 00 00 07 04 06 00 DC 82 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 C9 62 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 60 91 00 00 35 04 06 00 47 00 00 A5 [20:06:25]Write i2c OK [20:06:25]MH_I2C_Read... [20:06:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:06:25]Read from MH i2c: E2 [20:06:25]MH_I2C_Read... [20:06:25]Read from MH i2c: E2 03 00 [20:06:25]MH_I2C_Read... [20:06:25]Read from MH i2c: E2 03 00 8B 26 00 90 00 25 [20:06:25]RAPDU: 90 00 [20:06:25]wFMCommunicate OK [20:06:25]wFMCommunicate request_size=10 [20:06:25]MH_SAM_APDU [20:06:25]CAPDU: 80 0D 02 02 05 4C 08 1F AE 7F [20:06:25]Write to MH i2c: E2 0D 00 8C 26 80 0D 02 02 05 00 4C 08 1F AE 7F 00 00 D6 [20:06:25]Write i2c OK [20:06:25]MH_I2C_Read... [20:06:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:06:25]Read from MH i2c: E2 [20:06:25]MH_I2C_Read... [20:06:25]Read from MH i2c: E2 03 00 [20:06:25]MH_I2C_Read... [20:06:25]Read from MH i2c: E2 03 00 8C 26 00 90 00 26 [20:06:25]RAPDU: 90 00 [20:06:25]wFMCommunicate OK [20:06:25]wFMCommunicate request_size=4 [20:06:25]MH_SAM_APDU [20:06:25]CAPDU: 80 0D 03 02 [20:06:25]Write to MH i2c: E2 08 00 8D 26 80 0D 03 02 00 00 00 00 2E [20:06:25]Write i2c OK [20:06:25]MH_I2C_Read... [20:06:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:06:25]Read from MH i2c: E2 [20:06:25]MH_I2C_Read... [20:06:25]Read from MH i2c: E2 0B 00 [20:06:25]MH_I2C_Read... [20:06:25]Read from MH i2c: E2 0B 00 8D 26 00 99 A0 A7 5E B2 CA 64 83 90 00 D0 [20:06:25]RAPDU: 99 A0 A7 5E B2 CA 64 83 90 00 [20:06:25]wFMCommunicate OK [20:06:25]SAM_PROTO_SignData done [20:06:25]FM_MakeSignedData done [20:06:25]CreateOFDProtocolMessage [20:06:25]wFMCommunicate request_size=4 [20:06:25]MH_SAM_APDU [20:06:25]CAPDU: 80 11 00 00 [20:06:25]Write to MH i2c: E2 08 00 8E 26 80 11 00 00 00 00 00 00 2E [20:06:25]Write i2c OK [20:06:25]MH_I2C_Read... [20:06:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:06:25]Read from MH i2c: E2 [20:06:25]MH_I2C_Read... [20:06:25]Read from MH i2c: E2 17 00 [20:06:25]MH_I2C_Read... [20:06:25]Read from MH i2c: E2 17 00 8E 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 81 [20:06:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [20:06:25]wFMCommunicate OK [20:06:25]CreateOFDProtocolMessage done [20:06:25]OFDSenderStorePacket 37216 [20:06:25]StoreOFDPacket docnum=37216 [20:06:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0F 01 00 00 C9 D1 07 01 BC D2 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 9C 13 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 30 83 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 82 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 29 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EE 0D 00 00 00 00 07 04 06 00 DC 82 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 C9 62 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 60 91 00 00 35 04 06 00 47 4C 08 1F AE 7F 99 A0 A7 5E B2 CA 64 83 [20:06:25]CheckFolder [20:06:25]dirname=/storage/ofd_packets [20:06:25]CheckFolder done [20:06:25]ProducePacketName [20:06:25]name=ofd_packets/00037216 [20:06:25]NVStorageSaveData ofd_packets/00037216 [20:06:25]File name is /storage/ofd_packets/00037216 [20:06:25]Write 301 bytes [20:06:25]NVStorageSaveData done [20:06:25]OFDSenderStorePacket done [20:06:25]KKMCreateOFDPacket done [20:06:25]NVStorageSaveData kkm_last_timestamp [20:06:25]File name is /storage/kkm_last_timestamp [20:06:25]Write 4 bytes [20:06:25]NVStorageSaveData done [20:06:25]ExternCall_PrintAddStr [20:06:25]wPrintStart [20:06:25]Write to MH i2c: 01 00 00 8F 26 B5 [20:06:25]Write i2c OK [20:06:25]MH_I2C_Read... [20:06:25]Read from MH i2c: 01 [20:06:25]MH_I2C_Read... [20:06:25]Read from MH i2c: 01 07 00 [20:06:25]MH_I2C_Read... [20:06:25]Read from MH i2c: 01 07 00 8F 26 00 00 00 00 00 FF 0F CA [20:06:25]RasterBufferAndPrint [20:06:25]line Счет N : (1)874798 [20:06:25]line ИÐÐ: 02508201610067 [20:06:25]line Контрольно-КаÑÑовый Чек [20:06:25]line ПРОДÐЖР[20:06:25]line ТРК (МРК, ГÐК) : 32 [20:06:25]line Товар: 2710124130 [20:06:25]line Ðи-92-К-5 [20:06:25]line 5.020 * 66.90 [20:06:25]line = 335.84 [20:06:25]line ÐДС 12% ÐСП 1% [20:06:25]line > о реализуемом товаре [20:06:25]line ОКРУГЛЕÐИЕ: -0.84 [20:06:25]line ИТОГО: 335.00 [20:06:25]line ВнеÑено: 350.00 [20:06:25]line СДÐЧÐ: 15.00 [20:06:25]line ÐСП 1% : 2.97 [20:06:25]line ÐДС 12% : 35.66 [20:06:25]line Ðаличными: 335.00 [20:06:25]line Безнал.: 0.00 [20:06:25]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [20:06:25]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [20:06:25]line СÐО: Общий режим [20:06:25]line Чек 64 20.10.2024 20:06 [20:06:25]line Смена: 461 ФФД: 1.0 [20:06:25]line ЗÐМ: 0300000235 [20:06:25]line РÐМ: 0000000000098149 [20:06:25]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [20:06:25]line ФМ: 0000000000965372 [20:06:25]line ФД: 37216 [20:06:25]line ФПД: 78391879380607 [20:06:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T200633&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37216&fm=78391879380607&tin=02508201610067®Number=0000000000098149&sum=33500 [20:06:25]written 0, free lines is 4095 [20:06:25]OFD Sender: Processing packet 37216 [packets to send 25, broken 24] [20:06:25]ProducePacketName [20:06:25]name=ofd_packets/00037216 [20:06:25]OFD Sender: To server: ‡•öpG, [20:06:25]CommunicateWithHost lk.salyk.kg:30040 [20:06:25]ConnectInit lk.salyk.kg [20:06:25]Connected sock=10 [20:06:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0F 01 00 00 C9 D1 07 01 BC D2 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 9C 13 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 30 83 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 82 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 29 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EE 0D 00 00 00 00 07 04 06 00 DC 82 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 C9 62 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 60 91 00 00 35 04 06 00 47 4C 08 1F AE 7F 99 A0 A7 5E B2 CA 64 83 [20:06:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 D1 E7 47 00 3E 18 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 60 91 00 00 F4 03 04 00 5A 0B 15 67 B6 04 01 00 00 4A 80 C9 47 53 16 CF AF [20:06:26]CommunicateWithHost err = 0 [20:06:26]CheckOFDResponse [20:06:26]1017 (14) - 77093643461234 [20:06:26]1041 (16) - 0000000000965372 [20:06:26]1040 (4) - 37216 [20:06:26]1012 (4) - 20.10.2024 13:53 [20:06:26]1206 (1) - 0 [20:06:26]OFD Sender: Remove packet 37216 [20:06:26]ProducePacketName [20:06:26]name=ofd_packets/00037216 [20:06:26]NVStorageDeleteData [20:06:26]Write to MH i2c: 01 00 00 BA 26 E0 [20:06:26]Write i2c OK [20:06:26]MH_I2C_Read... [20:06:26]Read from MH i2c: 01 [20:06:26]MH_I2C_Read... [20:06:26]Read from MH i2c: 01 07 00 [20:06:26]MH_I2C_Read... [20:06:26]Read from MH i2c: 01 07 00 BA 26 00 00 00 00 00 E0 0C D3 [20:06:26]RasterBufferAndPrint [20:06:26]line [20:06:26]line [20:06:26]line [20:06:26]line [20:06:26]line [20:06:26]written 0, free lines is 3305 [20:06:26]process_action close_receipt done [20:06:26]requested_data is exist [20:06:26]produce_requested_data [20:06:26]requested_item fm.sn is exist - process it [20:06:26]wFMCommunicate request_size=4 [20:06:26]MH_SAM_APDU [20:06:26]CAPDU: 80 11 00 00 [20:06:26]Write to MH i2c: E2 08 00 C1 26 80 11 00 00 00 00 00 00 61 [20:06:26]Write i2c OK [20:06:26]MH_I2C_Read... [20:06:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:06:26]Read from MH i2c: E2 [20:06:26]MH_I2C_Read... [20:06:26]Read from MH i2c: E2 17 00 [20:06:26]MH_I2C_Read... [20:06:26]Read from MH i2c: E2 17 00 C1 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 B4 [20:06:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [20:06:26]wFMCommunicate OK [20:06:26]requested_item fd.num is exist - process it [20:06:26]SAM_PROTO_GetFieldsCounters [20:06:26]wFMCommunicate request_size=4 [20:06:26]MH_SAM_APDU [20:06:26]CAPDU: 80 13 00 00 [20:06:26]Write to MH i2c: E2 08 00 C2 26 80 13 00 00 00 00 00 00 64 [20:06:26]Write i2c OK [20:06:26]MH_I2C_Read... [20:06:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:06:26]Read from MH i2c: E2 [20:06:26]MH_I2C_Read... [20:06:26]Read from MH i2c: E2 62 00 [20:06:26]MH_I2C_Read... [20:06:26]Read from MH i2c: E2 62 00 C2 26 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 60 91 00 00 0E 04 04 00 CD 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 0A [20:06:26]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 60 91 00 00 0E 04 04 00 CD 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 [20:06:26]wFMCommunicate OK [20:06:26]SAM_PROTO_GetFieldsCounters done [20:06:26]requested_item shift.num is exist - process it [20:06:26]requested_item shift.opened is exist - process it [20:06:26]req_shift_opened [20:06:26]FM_GetShiftState [20:06:26]SAM_PROTO_GetShiftState [20:06:26]wFMCommunicate request_size=4 [20:06:26]MH_SAM_APDU [20:06:26]CAPDU: 80 13 01 00 [20:06:26]Write to MH i2c: E2 08 00 C3 26 80 13 01 00 00 00 00 00 66 [20:06:26]Write i2c OK [20:06:26]MH_I2C_Read... [20:06:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:06:26]Read from MH i2c: E2 [20:06:26]MH_I2C_Read... [20:06:26]Read from MH i2c: E2 0E 00 [20:06:26]MH_I2C_Read... [20:06:26]Read from MH i2c: E2 0E 00 C3 26 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 BB [20:06:26]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [20:06:26]wFMCommunicate OK [20:06:26]SAM_PROTO_GetShiftState done [20:06:26]FM_GetShiftState done [20:06:26]req_shift_opened done [20:06:26]requested_item shift.open_date is exist - process it [20:06:26]req_shift_open_date [20:06:26]req_shift_open_date done [20:06:26]produce_requested_data done [20:06:26]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37216,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [20:06:26]process_action_free close_receipt [20:06:26]json_value_free [20:06:26]json_value_free done [20:06:26]process_json_proto returns [20:06:26]Send response to host [20:06:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37216,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [20:06:26]free response buf [20:06:26]execute_script done [20:06:26]execute_script returns [20:06:26]free content buf [20:06:26]Sock 7.Close socket [20:06:26]Sock 7.Thread stoped [20:06:26]OFD Sender: No OFD packet to send [20:06:26]accept exits with 9 [20:06:26]New connection [20:06:26]New thread 3066699108 created [20:06:26]Thread 3066555748 joined [20:06:26]Waiting for new connection... [20:06:26] Sock 9.Parse request [20:06:26]Sock 9.Check first char [20:06:26]Sock 9.First char is OK [20:06:26]request: POST /json_proto HTTP/1.0 [20:06:26]Method: POST [20:06:26]URL: /json_proto [20:06:26]Method is POST - this is cgi request [20:06:26]url: /json_proto [20:06:26]query_string will be loaded in cgi processing [20:06:26]execute_cgi json_proto POST (null) [20:06:26]execute_cgi path=json_proto method=POST [20:06:26]POST find Content-Length [20:06:26]Host: 172.17.53.68:8080 [20:06:26]Content-Length: 766 [20:06:26]Content-Type: application/json [20:06:26] [20:06:26]POST finish read [20:06:26]Found Content-Length = 766 [20:06:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874799", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 6.740, "sum" : 500.11, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 500.11 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:06:26]execute_script... [20:06:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874799", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 6.740, "sum" : 500.11, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 500.11 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:06:26]POST & json_proto [20:06:26]process_json_proto [20:06:26]json parsed OK: [20:06:26]protocol is kg_v1.0 [20:06:26]action value=close_receipt [20:06:26]process_action close_receipt [20:06:26]cmd_close_receipt [20:06:26]MH_GetDate [20:06:26]Write to MH i2c: F0 00 00 C4 26 D9 [20:06:26]Write i2c OK [20:06:26]MH_I2C_Read... [20:06:26]Read from MH i2c: F0 [20:06:26]MH_I2C_Read... [20:06:26]Read from MH i2c: F0 09 00 [20:06:26]MH_I2C_Read... [20:06:26]Read from MH i2c: F0 09 00 C4 26 00 CC 62 15 67 C5 A4 76 66 D1 [20:06:26]GetLastDocTimeStamp 1729454793 [20:06:26]current date 1729454796 [20:06:26]FM_GetShiftState [20:06:26]SAM_PROTO_GetShiftState [20:06:26]wFMCommunicate request_size=4 [20:06:26]MH_SAM_APDU [20:06:26]CAPDU: 80 13 01 00 [20:06:26]Write to MH i2c: E2 08 00 C5 26 80 13 01 00 00 00 00 00 68 [20:06:26]Write i2c OK [20:06:26]MH_I2C_Read... [20:06:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:06:26]Read from MH i2c: E2 [20:06:26]MH_I2C_Read... [20:06:26]Read from MH i2c: E2 0E 00 [20:06:26]MH_I2C_Read... [20:06:26]Read from MH i2c: E2 0E 00 C5 26 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 BD [20:06:26]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [20:06:26]wFMCommunicate OK [20:06:26]SAM_PROTO_GetShiftState done [20:06:26]FM_GetShiftState done [20:06:26]opened in 1729383299 [20:06:26]opened+sec_in_day 1729469699 [20:06:26]quantity*price = 50010 [20:06:26]sum+1 = 50012 [20:06:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 500.11 ÐСП 1% : 4.43 ÐДС 12% : 53.11 Ðаличными: 0.00 Безнал.: 500.11 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 65 20.10.2024 20:06 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Mbank ФМ: 0000000000965372 ФД: 37217 ФПД: 6201319581679 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T200636&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37217&fm=6201319581679&tin=02508201610067®Number=0000000000098149&sum=50011 [20:06:28]StoreToDocumentArchive [20:06:28]shift 461 fd 37217 [20:06:28]save to /storage/0461/doc_00037217 [20:06:28]save last doc name /storage/0461/doc_00037217 to /storage/kkm_last_doc_name [20:06:28]save OK [20:06:28]Clear old archive folders... [20:06:28]ProcessDocumentItem done err = 0, tmpTLVsize=251 [20:06:28]tlvbuf is 009EC5B0 [20:06:28]SAM_PROTO_ClearQueue [20:06:28]wFMCommunicate request_size=4 [20:06:28]MH_SAM_APDU [20:06:28]CAPDU: 80 09 00 00 [20:06:28]Write to MH i2c: E2 08 00 D2 26 80 09 00 00 00 00 00 00 6A [20:06:28]Write i2c OK [20:06:28]MH_I2C_Read... [20:06:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:06:28]Read from MH i2c: E2 [20:06:28]MH_I2C_Read... [20:06:28]Read from MH i2c: E2 03 00 [20:06:28]MH_I2C_Read... [20:06:28]Read from MH i2c: E2 03 00 D2 26 00 90 00 6C [20:06:28]RAPDU: 90 00 [20:06:28]wFMCommunicate OK [20:06:28]SAM_PROTO_ClearQueue done [20:06:28]KKMCreateOFDPacket [20:06:28]OFDProtocolAddRootSTLVToBuf [20:06:28]FM_MakeSignedData [20:06:28]FM_MakeSignedData [20:06:28]SAM_PROTO_SignData [20:06:28]wFMCommunicate request_size=4 [20:06:28]MH_SAM_APDU [20:06:28]CAPDU: 80 0D 01 02 [20:06:28]Write to MH i2c: E2 08 00 D3 26 80 0D 01 02 00 00 00 00 72 [20:06:28]Write i2c OK [20:06:28]MH_I2C_Read... [20:06:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:06:28]Read from MH i2c: E2 [20:06:28]MH_I2C_Read... [20:06:28]Read from MH i2c: E2 03 00 [20:06:28]MH_I2C_Read... [20:06:28]Read from MH i2c: E2 03 00 D3 26 00 90 00 6D [20:06:28]RAPDU: 90 00 [20:06:28]wFMCommunicate OK [20:06:28]wFMCommunicate request_size=255 [20:06:28]MH_SAM_APDU [20:06:28]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5B C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5B C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 CC 62 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 61 91 00 00 35 04 06 00 05 [20:06:28]Write to MH i2c: E2 02 01 D4 26 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5B C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5B C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 CC 62 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 61 91 00 00 35 04 06 00 05 00 00 A5 [20:06:28]Write i2c OK [20:06:28]MH_I2C_Read... [20:06:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:06:28]Read from MH i2c: E2 [20:06:28]MH_I2C_Read... [20:06:28]Read from MH i2c: E2 03 00 [20:06:28]MH_I2C_Read... [20:06:28]Read from MH i2c: E2 03 00 D4 26 00 90 00 6E [20:06:28]RAPDU: 90 00 [20:06:28]wFMCommunicate OK [20:06:28]wFMCommunicate request_size=10 [20:06:28]MH_SAM_APDU [20:06:28]CAPDU: 80 0D 02 02 05 A3 DB 73 67 EF [20:06:28]Write to MH i2c: E2 0D 00 D5 26 80 0D 02 02 05 00 A3 DB 73 67 EF 00 00 C6 [20:06:28]Write i2c OK [20:06:28]MH_I2C_Read... [20:06:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:06:28]Read from MH i2c: E2 [20:06:28]MH_I2C_Read... [20:06:28]Read from MH i2c: E2 03 00 [20:06:28]MH_I2C_Read... [20:06:28]Read from MH i2c: E2 03 00 D5 26 00 90 00 6F [20:06:28]RAPDU: 90 00 [20:06:28]wFMCommunicate OK [20:06:28]wFMCommunicate request_size=4 [20:06:28]MH_SAM_APDU [20:06:28]CAPDU: 80 0D 03 02 [20:06:28]Write to MH i2c: E2 08 00 D6 26 80 0D 03 02 00 00 00 00 77 [20:06:28]Write i2c OK [20:06:28]MH_I2C_Read... [20:06:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:06:28]Read from MH i2c: E2 [20:06:28]MH_I2C_Read... [20:06:28]Read from MH i2c: E2 0B 00 [20:06:28]MH_I2C_Read... [20:06:28]Read from MH i2c: E2 0B 00 D6 26 00 31 67 47 DB DD 5C 5D 08 90 00 D0 [20:06:28]RAPDU: 31 67 47 DB DD 5C 5D 08 90 00 [20:06:28]wFMCommunicate OK [20:06:28]SAM_PROTO_SignData done [20:06:28]FM_MakeSignedData done [20:06:28]CreateOFDProtocolMessage [20:06:28]wFMCommunicate request_size=4 [20:06:28]MH_SAM_APDU [20:06:28]CAPDU: 80 11 00 00 [20:06:28]Write to MH i2c: E2 08 00 D7 26 80 11 00 00 00 00 00 00 77 [20:06:28]Write i2c OK [20:06:28]MH_I2C_Read... [20:06:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:06:28]Read from MH i2c: E2 [20:06:28]MH_I2C_Read... [20:06:28]Read from MH i2c: E2 17 00 [20:06:28]MH_I2C_Read... [20:06:29]Read from MH i2c: E2 17 00 D7 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 CA [20:06:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [20:06:29]wFMCommunicate OK [20:06:29]CreateOFDProtocolMessage done [20:06:29]OFDSenderStorePacket 37217 [20:06:29]StoreOFDPacket docnum=37217 [20:06:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0F 01 00 00 48 99 07 01 9B D1 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5B C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5B C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 CC 62 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 61 91 00 00 35 04 06 00 05 A3 DB 73 67 EF 31 67 47 DB DD 5C 5D 08 [20:06:29]CheckFolder [20:06:29]dirname=/storage/ofd_packets [20:06:29]CheckFolder done [20:06:29]ProducePacketName [20:06:29]name=ofd_packets/00037217 [20:06:29]NVStorageSaveData ofd_packets/00037217 [20:06:29]File name is /storage/ofd_packets/00037217 [20:06:29]Write 301 bytes [20:06:29]NVStorageSaveData done [20:06:29]OFDSenderStorePacket done [20:06:29]KKMCreateOFDPacket done [20:06:29]NVStorageSaveData kkm_last_timestamp [20:06:29]File name is /storage/kkm_last_timestamp [20:06:29]Write 4 bytes [20:06:29]NVStorageSaveData done [20:06:29]ExternCall_PrintAddStr [20:06:29]wPrintStart [20:06:29]Write to MH i2c: 01 00 00 D8 26 FE [20:06:29]Write i2c OK [20:06:29]MH_I2C_Read... [20:06:29]Read from MH i2c: 01 [20:06:29]MH_I2C_Read... [20:06:29]Read from MH i2c: 01 07 00 [20:06:29]MH_I2C_Read... [20:06:29]Read from MH i2c: 01 07 00 D8 26 00 00 00 00 00 FF 0F 13 [20:06:29]RasterBufferAndPrint [20:06:29]line Счет N : (1)874799 [20:06:29]line ИÐÐ: 02508201610067 [20:06:29]line Контрольно-КаÑÑовый Чек [20:06:29]line ПРОДÐЖР[20:06:29]line ТРК (МРК, ГÐК) : 41 [20:06:29]line Товар: 2710124500 [20:06:29]line Ðи-95-К-5 [20:06:29]line 6.740 * 74.20 [20:06:29]line = 500.11 [20:06:29]line ÐДС 12% ÐСП 1% [20:06:29]line > о реализуемом товаре [20:06:29]line ИТОГО: 500.11 [20:06:29]line ÐСП 1% : 4.43 [20:06:29]line ÐДС 12% : 53.11 [20:06:29]line Ðаличными: 0.00 [20:06:29]line Безнал.: 500.11 [20:06:29]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [20:06:29]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [20:06:29]line СÐО: Общий режим [20:06:29]line Чек 65 20.10.2024 20:06 [20:06:29]line Смена: 461 ФФД: 1.0 [20:06:29]line ЗÐМ: 0300000235 [20:06:29]line РÐМ: 0000000000098149 [20:06:29]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [20:06:29]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Mbank [20:06:29]line ФМ: 0000000000965372 [20:06:29]line ФД: 37217 [20:06:29]line ФПД: 6201319581679 [20:06:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T200636&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37217&fm=6201319581679&tin=02508201610067®Number=0000000000098149&sum=50011 [20:06:29]OFD Sender: Processing packet 37217 [packets to send 25, broken 24] [20:06:29]ProducePacketName [20:06:29]name=ofd_packets/00037217 [20:06:29]OFD Sender: To server: ‡•öpG, [20:06:29]CommunicateWithHost lk.salyk.kg:30040 [20:06:29]ConnectInit lk.salyk.kg [20:06:29]written 0, free lines is 4095 [20:06:29]Connected sock=10 [20:06:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0F 01 00 00 48 99 07 01 9B D1 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5B C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5B C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 CC 62 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 61 91 00 00 35 04 06 00 05 A3 DB 73 67 EF 31 67 47 DB DD 5C 5D 08 [20:06:29]Write to MH i2c: 01 00 00 01 27 28 [20:06:29]Write i2c OK [20:06:29]MH_I2C_Read... [20:06:29]Read from MH i2c: 01 [20:06:29]MH_I2C_Read... [20:06:29]Read from MH i2c: 01 07 00 [20:06:29]MH_I2C_Read... [20:06:29]Read from MH i2c: 01 07 00 01 27 00 00 00 00 00 19 0D 55 [20:06:29]RasterBufferAndPrint [20:06:29]line [20:06:29]line [20:06:29]line [20:06:29]line [20:06:29]line [20:06:29]written 0, free lines is 3368 [20:06:29]process_action close_receipt done [20:06:29]requested_data is exist [20:06:29]produce_requested_data [20:06:29]requested_item fm.sn is exist - process it [20:06:29]wFMCommunicate request_size=4 [20:06:29]MH_SAM_APDU [20:06:29]CAPDU: 80 11 00 00 [20:06:29]Write to MH i2c: E2 08 00 08 27 80 11 00 00 00 00 00 00 A9 [20:06:29]Write i2c OK [20:06:29]MH_I2C_Read... [20:06:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 56 96 47 00 F6 1A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 61 91 00 00 F4 03 04 00 5E 0B 15 67 B6 04 01 00 00 13 62 C3 91 19 11 AF FB [20:06:29]CommunicateWithHost err = 0 [20:06:29]CheckOFDResponse [20:06:29]1017 (14) - 77093643461234 [20:06:29]1041 (16) - 0000000000965372 [20:06:29]1040 (4) - 37217 [20:06:29]1012 (4) - 20.10.2024 13:53 [20:06:29]1206 (1) - 0 [20:06:29]OFD Sender: Remove packet 37217 [20:06:29]ProducePacketName [20:06:29]name=ofd_packets/00037217 [20:06:29]NVStorageDeleteData [20:06:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:06:29]Read from MH i2c: E2 [20:06:29]MH_I2C_Read... [20:06:29]Read from MH i2c: E2 17 00 [20:06:29]MH_I2C_Read... [20:06:29]Read from MH i2c: E2 17 00 08 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 FC [20:06:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [20:06:29]wFMCommunicate OK [20:06:29]requested_item fd.num is exist - process it [20:06:29]SAM_PROTO_GetFieldsCounters [20:06:29]wFMCommunicate request_size=4 [20:06:29]MH_SAM_APDU [20:06:29]CAPDU: 80 13 00 00 [20:06:29]Write to MH i2c: E2 08 00 09 27 80 13 00 00 00 00 00 00 AC [20:06:29]Write i2c OK [20:06:29]MH_I2C_Read... [20:06:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:06:30]Read from MH i2c: E2 [20:06:30]MH_I2C_Read... [20:06:30]Read from MH i2c: E2 62 00 [20:06:30]MH_I2C_Read... [20:06:30]Read from MH i2c: E2 62 00 09 27 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 61 91 00 00 0E 04 04 00 CD 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 56 [20:06: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 61 91 00 00 0E 04 04 00 CD 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 [20:06:30]wFMCommunicate OK [20:06:30]SAM_PROTO_GetFieldsCounters done [20:06:30]requested_item shift.num is exist - process it [20:06:30]requested_item shift.opened is exist - process it [20:06:30]req_shift_opened [20:06:30]FM_GetShiftState [20:06:30]SAM_PROTO_GetShiftState [20:06:30]wFMCommunicate request_size=4 [20:06:30]MH_SAM_APDU [20:06:30]CAPDU: 80 13 01 00 [20:06:30]Write to MH i2c: E2 08 00 0A 27 80 13 01 00 00 00 00 00 AE [20:06:30]Write i2c OK [20:06:30]MH_I2C_Read... [20:06:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:06:30]Read from MH i2c: E2 [20:06:30]MH_I2C_Read... [20:06:30]Read from MH i2c: E2 0E 00 [20:06:30]MH_I2C_Read... [20:06:30]Read from MH i2c: E2 0E 00 0A 27 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 03 [20:06:30]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [20:06:30]wFMCommunicate OK [20:06:30]SAM_PROTO_GetShiftState done [20:06:30]FM_GetShiftState done [20:06:30]req_shift_opened done [20:06:30]requested_item shift.open_date is exist - process it [20:06:30]req_shift_open_date [20:06:30]req_shift_open_date done [20:06:30]produce_requested_data done [20:06:30]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37217,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [20:06:30]process_action_free close_receipt [20:06:30]json_value_free [20:06:30]json_value_free done [20:06:30]process_json_proto returns [20:06:30]Send response to host [20:06:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37217,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [20:06:30]free response buf [20:06:30]execute_script done [20:06:30]execute_script returns [20:06:30]free content buf [20:06:30]Sock 9.Close socket [20:06:30]Sock 9.Thread stoped [20:06:30]OFD Sender: No OFD packet to send [20:06:35]OFD Sender: No OFD packet to send [20:06:40]OFD Sender: No OFD packet to send [20:06:45]OFD Sender: No OFD packet to send [20:06:50]OFD Sender: No OFD packet to send [20:06:55]OFD Sender: No OFD packet to send [20:07:00]OFD Sender: No OFD packet to send [20:07:05]OFD Sender: No OFD packet to send [20:07:10]OFD Sender: No OFD packet to send [20:07:15]OFD Sender: No OFD packet to send [20:07:20]OFD Sender: No OFD packet to send [20:07:25]OFD Sender: No OFD packet to send [20:07:30]OFD Sender: No OFD packet to send [20:07:35]OFD Sender: No OFD packet to send [20:07:40]OFD Sender: No OFD packet to send [20:07:45]OFD Sender: No OFD packet to send [20:07:50]OFD Sender: No OFD packet to send [20:07:55]OFD Sender: No OFD packet to send [20:07:56]accept exits with 7 [20:07:56]New connection [20:07:56]New thread 3066555748 created [20:07:56]Thread 3066699108 joined [20:07:56]Waiting for new connection... [20:07:56] Sock 7.Parse request [20:07:56]Sock 7.Check first char [20:07:56]Sock 7.First char is OK [20:07:56]request: POST /json_proto HTTP/1.0 [20:07:56]Method: POST [20:07:56]URL: /json_proto [20:07:56]Method is POST - this is cgi request [20:07:56]url: /json_proto [20:07:56]query_string will be loaded in cgi processing [20:07:56]execute_cgi json_proto POST (null) [20:07:56]execute_cgi path=json_proto method=POST [20:07:56]POST find Content-Length [20:07:56]Host: 172.17.53.68:8080 [20:07:56]Content-Length: 620 [20:07:56]Content-Type: application/json [20:07:56] [20:07:56]POST finish read [20:07:56]Found Content-Length = 620 [20:07:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76689", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:07:56]execute_script... [20:07:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76689", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:07:56]POST & json_proto [20:07:56]process_json_proto [20:07:56]json parsed OK: [20:07:56]protocol is kg_v1.0 [20:07:56]action value=close_receipt [20:07:56]process_action close_receipt [20:07:56]cmd_close_receipt [20:07:56]MH_GetDate [20:07:56]Write to MH i2c: F0 00 00 0B 27 21 [20:07:56]Write i2c OK [20:07:56]MH_I2C_Read... [20:07:56]Read from MH i2c: F0 [20:07:56]MH_I2C_Read... [20:07:56]Read from MH i2c: F0 09 00 [20:07:56]MH_I2C_Read... [20:07:56]Read from MH i2c: F0 09 00 0B 27 00 26 63 15 67 C5 A4 76 66 74 [20:07:56]GetLastDocTimeStamp 1729454796 [20:07:56]current date 1729454886 [20:07:56]FM_GetShiftState [20:07:56]SAM_PROTO_GetShiftState [20:07:56]wFMCommunicate request_size=4 [20:07:56]MH_SAM_APDU [20:07:56]CAPDU: 80 13 01 00 [20:07:56]Write to MH i2c: E2 08 00 0C 27 80 13 01 00 00 00 00 00 B0 [20:07:56]Write i2c OK [20:07:56]MH_I2C_Read... [20:07:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:07:57]Read from MH i2c: E2 [20:07:57]MH_I2C_Read... [20:07:57]Read from MH i2c: E2 0E 00 [20:07:57]MH_I2C_Read... [20:07:57]Read from MH i2c: E2 0E 00 0C 27 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 05 [20:07:57]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [20:07:57]wFMCommunicate OK [20:07:57]SAM_PROTO_GetShiftState done [20:07:57]FM_GetShiftState done [20:07:57]opened in 1729383299 [20:07:57]opened+sec_in_day 1729469699 [20:07:57]quantity*price = 14400 [20:07:57]sum+1 = 14401 [20:07:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 ÐСП 1% : 1.27 ÐДС 12% : 15.29 Ðаличными: 144.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 66 20.10.2024 20:08 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37218 ФПД: 174905283672556 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T200806&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37218&fm=174905283672556&tin=02508201610067®Number=0000000000098149&sum=14400 0 [20:07:58]StoreToDocumentArchive [20:07:58]shift 461 fd 37218 [20:07:58]save to /storage/0461/doc_00037218 [20:07:58]save last doc name /storage/0461/doc_00037218 to /storage/kkm_last_doc_name [20:07:58]save OK [20:07:58]Clear old archive folders... [20:07:58]ProcessDocumentItem done err = 0, tmpTLVsize=273 [20:07:58]tlvbuf is 00998D90 [20:07:58]SAM_PROTO_ClearQueue [20:07:58]wFMCommunicate request_size=4 [20:07:58]MH_SAM_APDU [20:07:58]CAPDU: 80 09 00 00 [20:07:58]Write to MH i2c: E2 08 00 19 27 80 09 00 00 00 00 00 00 B2 [20:07:58]Write i2c OK [20:07:58]MH_I2C_Read... [20:07:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:07:58]Read from MH i2c: E2 [20:07:58]MH_I2C_Read... [20:07:58]Read from MH i2c: E2 03 00 [20:07:58]MH_I2C_Read... [20:07:58]Read from MH i2c: E2 03 00 19 27 00 90 00 B4 [20:07:58]RAPDU: 90 00 [20:07:58]wFMCommunicate OK [20:07:58]SAM_PROTO_ClearQueue done [20:07:58]KKMCreateOFDPacket [20:07:58]OFDProtocolAddRootSTLVToBuf [20:07:58]FM_MakeSignedData [20:07:58]FM_MakeSignedData [20:07:58]SAM_PROTO_SignData [20:07:58]wFMCommunicate request_size=4 [20:07:58]MH_SAM_APDU [20:07:58]CAPDU: 80 0D 01 02 [20:07:58]Write to MH i2c: E2 08 00 1A 27 80 0D 01 02 00 00 00 00 BA [20:07:58]Write i2c OK [20:07:58]MH_I2C_Read... [20:07:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:07:58]Read from MH i2c: E2 [20:07:58]MH_I2C_Read... [20:07:58]Read from MH i2c: E2 03 00 [20:07:58]MH_I2C_Read... [20:07:58]Read from MH i2c: E2 03 00 1A 27 00 90 00 B5 [20:07:58]RAPDU: 90 00 [20:07:58]wFMCommunicate OK [20:07:58]wFMCommunicate request_size=255 [20:07:58]MH_SAM_APDU [20:07:58]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 26 63 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 [20:07:58]Write to MH i2c: E2 02 01 1B 27 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 26 63 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 00 00 3F [20:07:58]Write i2c OK [20:07:58]MH_I2C_Read... [20:07:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:07:58]Read from MH i2c: E2 [20:07:58]MH_I2C_Read... [20:07:58]Read from MH i2c: E2 03 00 [20:07:58]MH_I2C_Read... [20:07:58]Read from MH i2c: E2 03 00 1B 27 00 90 00 B6 [20:07:58]RAPDU: 90 00 [20:07:58]wFMCommunicate OK [20:07:58]wFMCommunicate request_size=32 [20:07:58]MH_SAM_APDU [20:07:58]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 33 37 32 10 04 04 00 62 91 00 00 35 04 06 00 9F 13 4F 4D 79 EC [20:07:58]Write to MH i2c: E2 23 00 1C 27 80 0D 02 02 1B 00 30 30 30 39 36 35 33 37 32 10 04 04 00 62 91 00 00 35 04 06 00 9F 13 4F 4D 79 EC 00 00 C0 [20:07:58]Write i2c OK [20:07:58]MH_I2C_Read... [20:07:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:07:58]Read from MH i2c: E2 [20:07:58]MH_I2C_Read... [20:07:58]Read from MH i2c: E2 03 00 [20:07:58]MH_I2C_Read... [20:07:58]Read from MH i2c: E2 03 00 1C 27 00 90 00 B7 [20:07:58]RAPDU: 90 00 [20:07:58]wFMCommunicate OK [20:07:58]wFMCommunicate request_size=4 [20:07:58]MH_SAM_APDU [20:07:58]CAPDU: 80 0D 03 02 [20:07:58]Write to MH i2c: E2 08 00 1D 27 80 0D 03 02 00 00 00 00 BF [20:07:58]Write i2c OK [20:07:58]MH_I2C_Read... [20:07:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:07:58]Read from MH i2c: E2 [20:07:58]MH_I2C_Read... [20:07:58]Read from MH i2c: E2 0B 00 [20:07:58]MH_I2C_Read... [20:07:58]Read from MH i2c: E2 0B 00 1D 27 00 29 B0 99 A3 8D 4E 2F 78 90 00 57 [20:07:58]RAPDU: 29 B0 99 A3 8D 4E 2F 78 90 00 [20:07:58]wFMCommunicate OK [20:07:58]SAM_PROTO_SignData done [20:07:58]FM_MakeSignedData done [20:07:58]CreateOFDProtocolMessage [20:07:58]wFMCommunicate request_size=4 [20:07:58]MH_SAM_APDU [20:07:58]CAPDU: 80 11 00 00 [20:07:58]Write to MH i2c: E2 08 00 1E 27 80 11 00 00 00 00 00 00 BF [20:07:58]Write i2c OK [20:07:58]MH_I2C_Read... [20:07:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:07:58]Read from MH i2c: E2 [20:07:58]MH_I2C_Read... [20:07:58]Read from MH i2c: E2 17 00 [20:07:58]MH_I2C_Read... [20:07:58]Read from MH i2c: E2 17 00 1E 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 12 [20:07:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [20:07:58]wFMCommunicate OK [20:07:58]CreateOFDProtocolMessage done [20:07:58]OFDSenderStorePacket 37218 [20:07:58]StoreOFDPacket docnum=37218 [20:07:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 25 01 00 00 35 A2 1D 01 3E 02 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 26 63 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 62 91 00 00 35 04 06 00 9F 13 4F 4D 79 EC 29 B0 99 A3 8D 4E 2F 78 [20:07:58]CheckFolder [20:07:58]dirname=/storage/ofd_packets [20:07:58]CheckFolder done [20:07:58]ProducePacketName [20:07:58]name=ofd_packets/00037218 [20:07:58]NVStorageSaveData ofd_packets/00037218 [20:07:58]File name is /storage/ofd_packets/00037218 [20:07:58]Write 323 bytes [20:07:58]NVStorageSaveData done [20:07:58]OFDSenderStorePacket done [20:07:58]KKMCreateOFDPacket done [20:07:58]NVStorageSaveData kkm_last_timestamp [20:07:58]File name is /storage/kkm_last_timestamp [20:07:58]Write 4 bytes [20:07:58]NVStorageSaveData done [20:07:58]ExternCall_PrintAddStr [20:07:58]wPrintStart [20:07:58]Write to MH i2c: 01 00 00 1F 27 46 [20:07:58]Write i2c OK [20:07:58]MH_I2C_Read... [20:07:58]Read from MH i2c: 01 [20:07:58]MH_I2C_Read... [20:07:58]Read from MH i2c: 01 07 00 [20:07:58]MH_I2C_Read... [20:07:58]Read from MH i2c: 01 07 00 1F 27 00 00 00 00 00 FF 0F 5B [20:07:58]RasterBufferAndPrint [20:07:58]line Счет N : (3)76689 [20:07:58]line ИÐÐ: 02508201610067 [20:07:58]line Контрольно-КаÑÑовый Чек [20:07:58]line ПРОДÐЖР[20:07:58]line Товар: 48743570 [20:07:58]line Сигареты Winston XStyle Blue [20:07:58]line 1.000 * 144.00 [20:07:58]line = 144.00 [20:07:58]line ÐДС 12% ÐСП 1% [20:07:58]line > о реализуемом товаре [20:07:58]line ИТОГО: 144.00 [20:07:58]line ÐСП 1% : 1.27 [20:07:58]line ÐДС 12% : 15.29 [20:07:58]line Ðаличными: 144.00 [20:07:58]line Безнал.: 0.00 [20:07:58]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [20:07:58]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [20:07:58]line СÐО: Общий режим [20:07:58]line Чек 66 20.10.2024 20:08 [20:07:58]line Смена: 461 ФФД: 1.0 [20:07:58]line ЗÐМ: 0300000235 [20:07:58]line РÐМ: 0000000000098149 [20:07:58]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [20:07:58]line ФМ: 0000000000965372 [20:07:58]line ФД: 37218 [20:07:58]line ФПД: 174905283672556 [20:07:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T200806&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37218&fm=174905283672556&tin=02508201610067®Number=0000000000098149&sum=14400 [20:07:59]line 0 [20:07:59]OFD Sender: Processing packet 37218 [packets to send 25, broken 24] [20:07:59]ProducePacketName [20:07:59]name=ofd_packets/00037218 [20:07:59]OFD Sender: To server: ‡•öpG, [20:07:59]CommunicateWithHost lk.salyk.kg:30040 [20:07:59]ConnectInit lk.salyk.kg [20:07:59]written 0, free lines is 4095 [20:07:59]Connected sock=9 [20:07:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 25 01 00 00 35 A2 1D 01 3E 02 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 26 63 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 62 91 00 00 35 04 06 00 9F 13 4F 4D 79 EC 29 B0 99 A3 8D 4E 2F 78 [20:07:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 88 F0 47 00 3F 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 33 37 32 10 04 04 00 62 91 00 00 F4 03 04 00 B7 0B 15 67 B6 04 01 00 00 5C E6 17 A3 66 D9 09 7A [20:07:59]CommunicateWithHost err = 0 [20:07:59]CheckOFDResponse [20:07:59]1017 (14) - 77093643461234 [20:07:59]1041 (16) - 0000000000965372 [20:07:59]1040 (4) - 37218 [20:07:59]1012 (4) - 20.10.2024 13:55 [20:07:59]1206 (1) - 0 [20:07:59]OFD Sender: Remove packet 37218 [20:07:59]ProducePacketName [20:07:59]name=ofd_packets/00037218 [20:07:59]NVStorageDeleteData [20:07:59]Write to MH i2c: 01 00 00 47 27 6E [20:07:59]Write i2c OK [20:07:59]MH_I2C_Read... [20:07:59]Read from MH i2c: 01 [20:07:59]MH_I2C_Read... [20:07:59]Read from MH i2c: 01 07 00 [20:07:59]MH_I2C_Read... [20:07:59]Read from MH i2c: 01 07 00 47 27 00 00 00 00 00 F6 0C 77 [20:07:59]RasterBufferAndPrint [20:07:59]line [20:07:59]line [20:07:59]line [20:07:59]line [20:07:59]line [20:07:59]written 0, free lines is 3325 [20:07:59]process_action close_receipt done [20:07:59]requested_data is exist [20:07:59]produce_requested_data [20:07:59]requested_item fm.sn is exist - process it [20:07:59]wFMCommunicate request_size=4 [20:07:59]MH_SAM_APDU [20:07:59]CAPDU: 80 11 00 00 [20:07:59]Write to MH i2c: E2 08 00 4E 27 80 11 00 00 00 00 00 00 EF [20:07:59]Write i2c OK [20:07:59]MH_I2C_Read... [20:07:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:07:59]Read from MH i2c: E2 [20:07:59]MH_I2C_Read... [20:07:59]Read from MH i2c: E2 17 00 [20:07:59]MH_I2C_Read... [20:07:59]Read from MH i2c: E2 17 00 4E 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 42 [20:07:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [20:07:59]wFMCommunicate OK [20:07:59]requested_item fd.num is exist - process it [20:07:59]SAM_PROTO_GetFieldsCounters [20:07:59]wFMCommunicate request_size=4 [20:07:59]MH_SAM_APDU [20:07:59]CAPDU: 80 13 00 00 [20:07:59]Write to MH i2c: E2 08 00 4F 27 80 13 00 00 00 00 00 00 F2 [20:07:59]Write i2c OK [20:07:59]MH_I2C_Read... [20:07:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:07:59]Read from MH i2c: E2 [20:07:59]MH_I2C_Read... [20:07:59]Read from MH i2c: E2 62 00 [20:07:59]MH_I2C_Read... [20:07:59]Read from MH i2c: E2 62 00 4F 27 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 62 91 00 00 0E 04 04 00 CD 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 A0 [20:07: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 62 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:07:59]wFMCommunicate OK [20:07:59]SAM_PROTO_GetFieldsCounters done [20:07:59]requested_item shift.num is exist - process it [20:07:59]requested_item shift.opened is exist - process it [20:07:59]req_shift_opened [20:07:59]FM_GetShiftState [20:07:59]SAM_PROTO_GetShiftState [20:07:59]wFMCommunicate request_size=4 [20:07:59]MH_SAM_APDU [20:07:59]CAPDU: 80 13 01 00 [20:07:59]Write to MH i2c: E2 08 00 50 27 80 13 01 00 00 00 00 00 F4 [20:07:59]Write i2c OK [20:07:59]MH_I2C_Read... [20:07:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:07:59]Read from MH i2c: E2 [20:07:59]MH_I2C_Read... [20:07:59]Read from MH i2c: E2 0E 00 [20:07:59]MH_I2C_Read... [20:07:59]Read from MH i2c: E2 0E 00 50 27 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 49 [20:07:59]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [20:07:59]wFMCommunicate OK [20:07:59]SAM_PROTO_GetShiftState done [20:07:59]FM_GetShiftState done [20:07:59]req_shift_opened done [20:07:59]requested_item shift.open_date is exist - process it [20:07:59]req_shift_open_date [20:07:59]req_shift_open_date done [20:07:59]produce_requested_data done [20:07:59]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37218,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [20:07:59]process_action_free close_receipt [20:07:59]json_value_free [20:07:59]json_value_free done [20:07:59]process_json_proto returns [20:07:59]Send response to host [20:07:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37218,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [20:07:59]free response buf [20:07:59]execute_script done [20:07:59]execute_script returns [20:07:59]free content buf [20:07:59]Sock 7.Close socket [20:07:59]Sock 7.Thread stoped [20:07:59]OFD Sender: No OFD packet to send [20:08:04]OFD Sender: No OFD packet to send [20:08:09]OFD Sender: No OFD packet to send [20:08:14]OFD Sender: No OFD packet to send [20:08:19]OFD Sender: No OFD packet to send [20:08:24]OFD Sender: No OFD packet to send [20:08:29]OFD Sender: No OFD packet to send [20:08:34]OFD Sender: No OFD packet to send [20:08:39]OFD Sender: No OFD packet to send [20:08:44]OFD Sender: No OFD packet to send [20:08:49]OFD Sender: No OFD packet to send [20:08:54]OFD Sender: No OFD packet to send [20:08:59]OFD Sender: No OFD packet to send [20:09:04]OFD Sender: No OFD packet to send [20:09:09]OFD Sender: No OFD packet to send [20:09:14]OFD Sender: No OFD packet to send [20:09:19]OFD Sender: No OFD packet to send [20:09:24]OFD Sender: No OFD packet to send [20:09:29]OFD Sender: No OFD packet to send [20:09:34]OFD Sender: No OFD packet to send [20:09:39]OFD Sender: No OFD packet to send [20:09:45]OFD Sender: No OFD packet to send [20:09:50]OFD Sender: No OFD packet to send [20:09:55]OFD Sender: No OFD packet to send [20:10:00]OFD Sender: No OFD packet to send [20:10:05]OFD Sender: No OFD packet to send [20:10:10]OFD Sender: No OFD packet to send [20:10:15]OFD Sender: No OFD packet to send [20:10:20]OFD Sender: No OFD packet to send [20:10:25]OFD Sender: No OFD packet to send [20:10:30]OFD Sender: No OFD packet to send [20:10:35]OFD Sender: No OFD packet to send [20:10:40]OFD Sender: No OFD packet to send [20:10:45]OFD Sender: No OFD packet to send [20:10:50]OFD Sender: No OFD packet to send [20:10:55]OFD Sender: No OFD packet to send [20:11:00]OFD Sender: No OFD packet to send [20:11:05]OFD Sender: No OFD packet to send [20:11:10]OFD Sender: No OFD packet to send [20:11:15]OFD Sender: No OFD packet to send [20:11:20]OFD Sender: No OFD packet to send [20:11:25]OFD Sender: No OFD packet to send [20:11:30]OFD Sender: No OFD packet to send [20:11:35]OFD Sender: No OFD packet to send [20:11:40]OFD Sender: No OFD packet to send [20:11:45]OFD Sender: No OFD packet to send [20:11:50]OFD Sender: No OFD packet to send [20:11:55]OFD Sender: No OFD packet to send [20:12:00]OFD Sender: No OFD packet to send [20:12:05]OFD Sender: No OFD packet to send [20:12:10]OFD Sender: No OFD packet to send [20:12:15]OFD Sender: No OFD packet to send [20:12:20]OFD Sender: No OFD packet to send [20:12:25]OFD Sender: No OFD packet to send [20:12:30]OFD Sender: No OFD packet to send [20:12:35]OFD Sender: No OFD packet to send [20:12:40]OFD Sender: No OFD packet to send [20:12:45]OFD Sender: No OFD packet to send [20:12:50]OFD Sender: No OFD packet to send [20:12:55]OFD Sender: No OFD packet to send [20:13:00]OFD Sender: No OFD packet to send [20:13:05]OFD Sender: No OFD packet to send [20:13:10]OFD Sender: No OFD packet to send [20:13:15]OFD Sender: No OFD packet to send [20:13:20]OFD Sender: No OFD packet to send [20:13:25]OFD Sender: No OFD packet to send [20:13:30]OFD Sender: No OFD packet to send [20:13:35]OFD Sender: No OFD packet to send [20:13:40]OFD Sender: No OFD packet to send [20:13:45]OFD Sender: No OFD packet to send [20:13:50]OFD Sender: No OFD packet to send [20:13:55]OFD Sender: No OFD packet to send [20:14:00]OFD Sender: No OFD packet to send [20:14:05]OFD Sender: No OFD packet to send [20:14:10]OFD Sender: No OFD packet to send [20:14:15]OFD Sender: No OFD packet to send [20:14:20]OFD Sender: No OFD packet to send [20:14:25]OFD Sender: No OFD packet to send [20:14:30]OFD Sender: No OFD packet to send [20:14:35]OFD Sender: No OFD packet to send [20:14:40]OFD Sender: No OFD packet to send [20:14:45]OFD Sender: No OFD packet to send [20:14:50]OFD Sender: No OFD packet to send [20:14:55]OFD Sender: No OFD packet to send [20:15:00]OFD Sender: No OFD packet to send [20:15:05]OFD Sender: No OFD packet to send [20:15:10]OFD Sender: No OFD packet to send [20:15:15]OFD Sender: No OFD packet to send [20:15:20]OFD Sender: No OFD packet to send [20:15:25]OFD Sender: No OFD packet to send [20:15:30]OFD Sender: No OFD packet to send [20:15:35]OFD Sender: No OFD packet to send [20:15:40]OFD Sender: No OFD packet to send [20:15:45]OFD Sender: No OFD packet to send [20:15:50]OFD Sender: No OFD packet to send [20:15:55]OFD Sender: No OFD packet to send [20:16:00]OFD Sender: No OFD packet to send [20:16:05]OFD Sender: No OFD packet to send [20:16:10]OFD Sender: No OFD packet to send [20:16:15]OFD Sender: No OFD packet to send [20:16:20]OFD Sender: No OFD packet to send [20:16:25]OFD Sender: No OFD packet to send [20:16:30]OFD Sender: No OFD packet to send [20:16:35]OFD Sender: No OFD packet to send [20:16:40]OFD Sender: No OFD packet to send [20:16:45]OFD Sender: No OFD packet to send [20:16:50]OFD Sender: No OFD packet to send [20:16:55]OFD Sender: No OFD packet to send [20:17:00]OFD Sender: No OFD packet to send [20:17:05]OFD Sender: No OFD packet to send [20:17:10]OFD Sender: No OFD packet to send [20:17:15]OFD Sender: No OFD packet to send [20:17:20]OFD Sender: No OFD packet to send [20:17:25]OFD Sender: No OFD packet to send [20:17:30]OFD Sender: No OFD packet to send [20:17:35]OFD Sender: No OFD packet to send [20:17:40]OFD Sender: No OFD packet to send [20:17:45]OFD Sender: No OFD packet to send [20:17:50]OFD Sender: No OFD packet to send [20:17:55]OFD Sender: No OFD packet to send [20:18:00]OFD Sender: No OFD packet to send [20:18:05]OFD Sender: No OFD packet to send [20:18:10]OFD Sender: No OFD packet to send [20:18:15]OFD Sender: No OFD packet to send [20:18:20]OFD Sender: No OFD packet to send [20:18:25]OFD Sender: No OFD packet to send [20:18:30]OFD Sender: No OFD packet to send [20:18:35]OFD Sender: No OFD packet to send [20:18:40]OFD Sender: No OFD packet to send [20:18:45]OFD Sender: No OFD packet to send [20:18:50]OFD Sender: No OFD packet to send [20:18:55]OFD Sender: No OFD packet to send [20:19:00]OFD Sender: No OFD packet to send [20:19:05]OFD Sender: No OFD packet to send [20:19:10]OFD Sender: No OFD packet to send [20:19:15]OFD Sender: No OFD packet to send [20:19:20]OFD Sender: No OFD packet to send [20:19:25]OFD Sender: No OFD packet to send [20:19:30]OFD Sender: No OFD packet to send [20:19:35]OFD Sender: No OFD packet to send [20:19:40]OFD Sender: No OFD packet to send [20:19:45]OFD Sender: No OFD packet to send [20:19:50]OFD Sender: No OFD packet to send [20:19:55]OFD Sender: No OFD packet to send [20:20:00]OFD Sender: No OFD packet to send [20:20:05]OFD Sender: No OFD packet to send [20:20:10]OFD Sender: No OFD packet to send [20:20:15]OFD Sender: No OFD packet to send [20:20:20]OFD Sender: No OFD packet to send [20:20:25]OFD Sender: No OFD packet to send [20:20:30]OFD Sender: No OFD packet to send [20:20:35]OFD Sender: No OFD packet to send [20:20:40]OFD Sender: No OFD packet to send [20:20:45]OFD Sender: No OFD packet to send [20:20:50]OFD Sender: No OFD packet to send [20:20:55]OFD Sender: No OFD packet to send [20:21:00]OFD Sender: No OFD packet to send [20:21:05]OFD Sender: No OFD packet to send [20:21:10]OFD Sender: No OFD packet to send [20:21:15]OFD Sender: No OFD packet to send [20:21:20]OFD Sender: No OFD packet to send [20:21:25]OFD Sender: No OFD packet to send [20:21:30]OFD Sender: No OFD packet to send [20:21:35]OFD Sender: No OFD packet to send [20:21:40]OFD Sender: No OFD packet to send [20:21:45]OFD Sender: No OFD packet to send [20:21:50]OFD Sender: No OFD packet to send [20:21:55]OFD Sender: No OFD packet to send [20:22:00]OFD Sender: No OFD packet to send [20:22:05]OFD Sender: No OFD packet to send [20:22:10]OFD Sender: No OFD packet to send [20:22:15]OFD Sender: No OFD packet to send [20:22:20]OFD Sender: No OFD packet to send [20:22:25]OFD Sender: No OFD packet to send [20:22:30]OFD Sender: No OFD packet to send [20:22:35]OFD Sender: No OFD packet to send [20:22:40]OFD Sender: No OFD packet to send [20:22:45]OFD Sender: No OFD packet to send [20:22:50]OFD Sender: No OFD packet to send [20:22:55]OFD Sender: No OFD packet to send [20:23:00]OFD Sender: No OFD packet to send [20:23:05]OFD Sender: No OFD packet to send [20:23:10]OFD Sender: No OFD packet to send [20:23:15]OFD Sender: No OFD packet to send [20:23:20]OFD Sender: No OFD packet to send [20:23:25]OFD Sender: No OFD packet to send [20:23:30]OFD Sender: No OFD packet to send [20:23:35]OFD Sender: No OFD packet to send [20:23:40]OFD Sender: No OFD packet to send [20:23:45]OFD Sender: No OFD packet to send [20:23:50]OFD Sender: No OFD packet to send [20:23:55]OFD Sender: No OFD packet to send [20:24:00]OFD Sender: No OFD packet to send [20:24:05]OFD Sender: No OFD packet to send [20:24:10]OFD Sender: No OFD packet to send [20:24:15]OFD Sender: No OFD packet to send [20:24:20]OFD Sender: No OFD packet to send [20:24:25]OFD Sender: No OFD packet to send [20:24:30]OFD Sender: No OFD packet to send [20:24:35]OFD Sender: No OFD packet to send [20:24:40]OFD Sender: No OFD packet to send [20:24:45]OFD Sender: No OFD packet to send [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:01]OFD Sender: No OFD packet to send [20:30:06]OFD Sender: No OFD packet to send [20:30:11]OFD Sender: No OFD packet to send [20:30:16]OFD Sender: No OFD packet to send [20:30:21]OFD Sender: No OFD packet to send [20:30:26]OFD Sender: No OFD packet to send [20:30:31]OFD Sender: No OFD packet to send [20:30:36]OFD Sender: No OFD packet to send [20:30:41]OFD Sender: No OFD packet to send [20:30:46]OFD Sender: No OFD packet to send [20:30:51]OFD Sender: No OFD packet to send [20:30:56]OFD Sender: No OFD packet to send [20:31:01]OFD Sender: No OFD packet to send [20:31:06]OFD Sender: No OFD packet to send [20:31:11]OFD Sender: No OFD packet to send [20:31:16]OFD Sender: No OFD packet to send [20:31:21]OFD Sender: No OFD packet to send [20:31:26]OFD Sender: No OFD packet to send [20:31:31]OFD Sender: No OFD packet to send [20:31:36]OFD Sender: No OFD packet to send [20:31:41]OFD Sender: No OFD packet to send [20:31:46]OFD Sender: No OFD packet to send [20:31:51]OFD Sender: No OFD packet to send [20:31:56]OFD Sender: No OFD packet to send [20:32:01]OFD Sender: No OFD packet to send [20:32:06]OFD Sender: No OFD packet to send [20:32:11]OFD Sender: No OFD packet to send [20:32:16]OFD Sender: No OFD packet to send [20:32:21]OFD Sender: No OFD packet to send [20:32:26]OFD Sender: No OFD packet to send [20:32:31]OFD Sender: No OFD packet to send [20:32:36]OFD Sender: No OFD packet to send [20:32:41]OFD Sender: No OFD packet to send [20:32:46]OFD Sender: No OFD packet to send [20:32:51]OFD Sender: No OFD packet to send [20:32:56]OFD Sender: No OFD packet to send [20:33:01]OFD Sender: No OFD packet to send [20:33:06]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]accept exits with 10 [20:33:36]New connection [20:33:36]New thread 3066699108 created [20:33:36]Thread 3066555748 joined [20:33:36]Waiting for new connection... [20:33:36] Sock 10.Parse request [20:33:36]Sock 10.Check first char [20:33:36]Sock 10.First char is OK [20:33:36]request: POST /json_proto HTTP/1.0 [20:33:36]Method: POST [20:33:36]URL: /json_proto [20:33:36]Method is POST - this is cgi request [20:33:36]url: /json_proto [20:33:36]query_string will be loaded in cgi processing [20:33:36]execute_cgi json_proto POST (null) [20:33:36]execute_cgi path=json_proto method=POST [20:33:36]POST find Content-Length [20:33:36]Host: 172.17.53.68:8080 [20:33:36]Content-Length: 759 [20:33:36]Content-Type: application/json [20:33:36] [20:33:36]POST finish read [20:33:36]Found Content-Length = 759 [20:33:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874816", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 7.310, "sum" : 500.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: Mbank", "payments": [ { "type": 1, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:33:36]execute_script... [20:33:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874816", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 7.310, "sum" : 500.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: Mbank", "payments": [ { "type": 1, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:33:36]POST & json_proto [20:33:36]process_json_proto [20:33:36]json parsed OK: [20:33:36]protocol is kg_v1.0 [20:33:36]action value=close_receipt [20:33:36]process_action close_receipt [20:33:36]cmd_close_receipt [20:33:36]MH_GetDate [20:33:36]Write to MH i2c: F0 00 00 51 27 67 [20:33:36]Write i2c OK [20:33:36]MH_I2C_Read... [20:33:36]Read from MH i2c: F0 [20:33:36]MH_I2C_Read... [20:33:36]Read from MH i2c: F0 09 00 [20:33:36]MH_I2C_Read... [20:33:36]Read from MH i2c: F0 09 00 51 27 00 29 69 15 67 C5 A4 76 66 C3 [20:33:36]GetLastDocTimeStamp 1729454886 [20:33:36]current date 1729456425 [20:33:36]FM_GetShiftState [20:33:36]SAM_PROTO_GetShiftState [20:33:36]wFMCommunicate request_size=4 [20:33:36]MH_SAM_APDU [20:33:36]CAPDU: 80 13 01 00 [20:33:36]Write to MH i2c: E2 08 00 52 27 80 13 01 00 00 00 00 00 F6 [20:33:36]Write i2c OK [20:33:36]MH_I2C_Read... [20:33:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:33:36]Read from MH i2c: E2 [20:33:36]MH_I2C_Read... [20:33:36]Read from MH i2c: E2 0E 00 [20:33:36]MH_I2C_Read... [20:33:36]Read from MH i2c: E2 0E 00 52 27 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 4B [20:33:36]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [20:33:36]wFMCommunicate OK [20:33:36]SAM_PROTO_GetShiftState done [20:33:36]FM_GetShiftState done [20:33:36]opened in 1729383299 [20:33:36]opened+sec_in_day 1729469699 [20:33:36]quantity*price = 50000 [20:33:36]sum+1 = 50001 [20:33:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 500.00 ÐСП 1% : 4.42 ÐДС 12% : 53.10 Ðаличными: 0.00 Безнал.: 500.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 67 20.10.2024 20:33 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Mbank ФМ: 0000000000965372 ФД: 37219 ФПД: 70276937958117 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T203345&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37219&fm=70276937958117&tin=02508201610067®Number=0000000000098149&sum=50000 [20:33:37]StoreToDocumentArchive [20:33:37]shift 461 fd 37219 [20:33:37]save to /storage/0461/doc_00037219 [20:33:37]save last doc name /storage/0461/doc_00037219 to /storage/kkm_last_doc_name [20:33:37]save OK [20:33:37]Clear old archive folders... [20:33:37]ProcessDocumentItem done err = 0, tmpTLVsize=252 [20:33:37]tlvbuf is 00A316A0 [20:33:37]SAM_PROTO_ClearQueue [20:33:37]wFMCommunicate request_size=4 [20:33:37]MH_SAM_APDU [20:33:37]CAPDU: 80 09 00 00 [20:33:37]Write to MH i2c: E2 08 00 5F 27 80 09 00 00 00 00 00 00 F8 [20:33:37]Write i2c OK [20:33:37]MH_I2C_Read... [20:33:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:33:37]Read from MH i2c: E2 [20:33:37]MH_I2C_Read... [20:33:37]Read from MH i2c: E2 03 00 [20:33:37]MH_I2C_Read... [20:33:37]Read from MH i2c: E2 03 00 5F 27 00 90 00 FA [20:33:37]RAPDU: 90 00 [20:33:37]wFMCommunicate OK [20:33:37]SAM_PROTO_ClearQueue done [20:33:37]KKMCreateOFDPacket [20:33:37]OFDProtocolAddRootSTLVToBuf [20:33:37]FM_MakeSignedData [20:33:37]FM_MakeSignedData [20:33:37]SAM_PROTO_SignData [20:33:37]wFMCommunicate request_size=4 [20:33:37]MH_SAM_APDU [20:33:37]CAPDU: 80 0D 01 02 [20:33:37]Write to MH i2c: E2 08 00 60 27 80 0D 01 02 00 00 00 00 00 [20:33:37]Write i2c OK [20:33:37]MH_I2C_Read... [20:33:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:33:37]Read from MH i2c: E2 [20:33:37]MH_I2C_Read... [20:33:37]Read from MH i2c: E2 03 00 [20:33:37]MH_I2C_Read... [20:33:37]Read from MH i2c: E2 03 00 60 27 00 90 00 FB [20:33:37]RAPDU: 90 00 [20:33:37]wFMCommunicate OK [20:33:37]wFMCommunicate request_size=255 [20:33:37]MH_SAM_APDU [20:33:37]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 29 69 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 63 91 00 00 35 04 06 00 [20:33:37]Write to MH i2c: E2 02 01 61 27 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 29 69 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 63 91 00 00 35 04 06 00 00 00 82 [20:33:37]Write i2c OK [20:33:37]MH_I2C_Read... [20:33:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:33:37]Read from MH i2c: E2 [20:33:37]MH_I2C_Read... [20:33:37]Read from MH i2c: E2 03 00 [20:33:37]MH_I2C_Read... [20:33:37]Read from MH i2c: E2 03 00 61 27 00 90 00 FC [20:33:37]RAPDU: 90 00 [20:33:37]wFMCommunicate OK [20:33:37]wFMCommunicate request_size=11 [20:33:37]MH_SAM_APDU [20:33:37]CAPDU: 80 0D 02 02 06 3F EA 9F EC 42 E5 [20:33:37]Write to MH i2c: E2 0E 00 62 27 80 0D 02 02 06 00 3F EA 9F EC 42 E5 00 00 EA [20:33:37]Write i2c OK [20:33:37]MH_I2C_Read... [20:33:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:33:37]Read from MH i2c: E2 [20:33:37]MH_I2C_Read... [20:33:37]Read from MH i2c: E2 03 00 [20:33:37]MH_I2C_Read... [20:33:37]Read from MH i2c: E2 03 00 62 27 00 90 00 FD [20:33:37]RAPDU: 90 00 [20:33:37]wFMCommunicate OK [20:33:37]wFMCommunicate request_size=4 [20:33:37]MH_SAM_APDU [20:33:37]CAPDU: 80 0D 03 02 [20:33:37]Write to MH i2c: E2 08 00 63 27 80 0D 03 02 00 00 00 00 05 [20:33:37]Write i2c OK [20:33:37]MH_I2C_Read... [20:33:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:33:37]Read from MH i2c: E2 [20:33:37]MH_I2C_Read... [20:33:37]Read from MH i2c: E2 0B 00 [20:33:37]MH_I2C_Read... [20:33:37]Read from MH i2c: E2 0B 00 63 27 00 62 12 E7 BC 24 67 2D F8 90 00 CD [20:33:37]RAPDU: 62 12 E7 BC 24 67 2D F8 90 00 [20:33:37]wFMCommunicate OK [20:33:37]SAM_PROTO_SignData done [20:33:37]FM_MakeSignedData done [20:33:37]CreateOFDProtocolMessage [20:33:37]wFMCommunicate request_size=4 [20:33:37]MH_SAM_APDU [20:33:37]CAPDU: 80 11 00 00 [20:33:37]Write to MH i2c: E2 08 00 64 27 80 11 00 00 00 00 00 00 05 [20:33:37]Write i2c OK [20:33:37]MH_I2C_Read... [20:33:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:33:37]Read from MH i2c: E2 [20:33:37]MH_I2C_Read... [20:33:37]Read from MH i2c: E2 17 00 [20:33:37]MH_I2C_Read... [20:33:37]Read from MH i2c: E2 17 00 64 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 58 [20:33:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [20:33:37]wFMCommunicate OK [20:33:37]CreateOFDProtocolMessage done [20:33:37]OFDSenderStorePacket 37219 [20:33:37]StoreOFDPacket docnum=37219 [20:33:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 01 00 00 80 55 08 01 6A 27 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 29 69 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 63 91 00 00 35 04 06 00 3F EA 9F EC 42 E5 62 12 E7 BC 24 67 2D F8 [20:33:37]CheckFolder [20:33:37]dirname=/storage/ofd_packets [20:33:37]CheckFolder done [20:33:37]ProducePacketName [20:33:37]name=ofd_packets/00037219 [20:33:37]NVStorageSaveData ofd_packets/00037219 [20:33:37]File name is /storage/ofd_packets/00037219 [20:33:37]Write 302 bytes [20:33:37]NVStorageSaveData done [20:33:37]OFDSenderStorePacket done [20:33:37]KKMCreateOFDPacket done [20:33:37]NVStorageSaveData kkm_last_timestamp [20:33:37]File name is /storage/kkm_last_timestamp [20:33:37]Write 4 bytes [20:33:37]NVStorageSaveData done [20:33:37]ExternCall_PrintAddStr [20:33:37]wPrintStart [20:33:37]Write to MH i2c: 01 00 00 65 27 8C [20:33:37]OFD Sender: Processing packet 37219 [packets to send 25, broken 24] [20:33:37]ProducePacketName [20:33:37]name=ofd_packets/00037219 [20:33:37]OFD Sender: To server: ‡•öpG, [20:33:37]CommunicateWithHost lk.salyk.kg:30040 [20:33:37]ConnectInit lk.salyk.kg [20:33:37]Write i2c OK [20:33:37]MH_I2C_Read... [20:33:37]Read from MH i2c: 01 [20:33:37]MH_I2C_Read... [20:33:37]Read from MH i2c: 01 07 00 [20:33:37]MH_I2C_Read... [20:33:37]Read from MH i2c: 01 07 00 65 27 00 00 00 00 00 FF 0F A1 [20:33:37]RasterBufferAndPrint [20:33:37]line Счет N : (1)874816 [20:33:37]line ИÐÐ: 02508201610067 [20:33:37]line Контрольно-КаÑÑовый Чек [20:33:37]line ПРОДÐЖР[20:33:37]line ТРК (МРК, ГÐК) : 43 [20:33:37]line Товар: 2710124130 [20:33:37]line Super 92-К-5 [20:33:37]line 7.310 * 68.40 [20:33:37]line = 500.00 [20:33:37]line ÐДС 12% ÐСП 1% [20:33:37]line > о реализуемом товаре [20:33:37]line ИТОГО: 500.00 [20:33:37]line ÐСП 1% : 4.42 [20:33:37]line ÐДС 12% : 53.10 [20:33:37]line Ðаличными: 0.00 [20:33:37]line Безнал.: 500.00 [20:33:37]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [20:33:37]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [20:33:37]line СÐО: Общий режим [20:33:37]line Чек 67 20.10.2024 20:33 [20:33:37]line Смена: 461 ФФД: 1.0 [20:33:37]line ЗÐМ: 0300000235 [20:33:37]line РÐМ: 0000000000098149 [20:33:37]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [20:33:37]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Mbank [20:33:37]line ФМ: 0000000000965372 [20:33:37]line ФД: 37219 [20:33:37]line ФПД: 70276937958117 [20:33:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T203345&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37219&fm=70276937958117&tin=02508201610067®Number=0000000000098149&sum=50000 [20:33:38]Connected sock=9 [20:33: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 33 37 32 10 01 00 00 80 55 08 01 6A 27 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 29 69 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 63 91 00 00 35 04 06 00 3F EA 9F EC 42 E5 62 12 E7 BC 24 67 2D F8 [20:33:38]written 0, free lines is 4095 [20:33:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 17 4B 47 00 5D 51 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 63 91 00 00 F4 03 04 00 BA 11 15 67 B6 04 01 00 00 96 3B 86 73 47 A0 C2 50 [20:33:38]CommunicateWithHost err = 0 [20:33:38]CheckOFDResponse [20:33:38]1017 (14) - 77093643461234 [20:33:38]1041 (16) - 0000000000965372 [20:33:38]1040 (4) - 37219 [20:33:38]1012 (4) - 20.10.2024 14:20 [20:33:38]1206 (1) - 0 [20:33:38]OFD Sender: Remove packet 37219 [20:33:38]ProducePacketName [20:33:38]name=ofd_packets/00037219 [20:33:38]NVStorageDeleteData [20:33:38]Write to MH i2c: 01 00 00 8E 27 B5 [20:33:38]Write i2c OK [20:33:38]MH_I2C_Read... [20:33:38]Read from MH i2c: 01 [20:33:38]MH_I2C_Read... [20:33:38]Read from MH i2c: 01 07 00 [20:33:38]MH_I2C_Read... [20:33:38]Read from MH i2c: 01 07 00 8E 27 00 00 00 00 00 03 0D CC [20:33:38]RasterBufferAndPrint [20:33:38]line [20:33:38]line [20:33:38]line [20:33:38]line [20:33:38]line [20:33:38]written 0, free lines is 3337 [20:33:38]process_action close_receipt done [20:33:38]requested_data is exist [20:33:38]produce_requested_data [20:33:38]requested_item fm.sn is exist - process it [20:33:38]wFMCommunicate request_size=4 [20:33:38]MH_SAM_APDU [20:33:38]CAPDU: 80 11 00 00 [20:33:38]Write to MH i2c: E2 08 00 95 27 80 11 00 00 00 00 00 00 36 [20:33:38]Write i2c OK [20:33:38]MH_I2C_Read... [20:33:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:33:38]Read from MH i2c: E2 [20:33:38]MH_I2C_Read... [20:33:38]Read from MH i2c: E2 17 00 [20:33:38]MH_I2C_Read... [20:33:38]Read from MH i2c: E2 17 00 95 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 89 [20:33:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [20:33:38]wFMCommunicate OK [20:33:38]requested_item fd.num is exist - process it [20:33:38]SAM_PROTO_GetFieldsCounters [20:33:38]wFMCommunicate request_size=4 [20:33:38]MH_SAM_APDU [20:33:38]CAPDU: 80 13 00 00 [20:33:38]Write to MH i2c: E2 08 00 96 27 80 13 00 00 00 00 00 00 39 [20:33:38]Write i2c OK [20:33:38]MH_I2C_Read... [20:33:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:33:38]Read from MH i2c: E2 [20:33:38]MH_I2C_Read... [20:33:38]Read from MH i2c: E2 62 00 [20:33:38]MH_I2C_Read... [20:33:38]Read from MH i2c: E2 62 00 96 27 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 63 91 00 00 0E 04 04 00 CD 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 EB [20:33: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 63 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:33:38]wFMCommunicate OK [20:33:38]SAM_PROTO_GetFieldsCounters done [20:33:38]requested_item shift.num is exist - process it [20:33:38]requested_item shift.opened is exist - process it [20:33:38]req_shift_opened [20:33:38]FM_GetShiftState [20:33:38]SAM_PROTO_GetShiftState [20:33:38]wFMCommunicate request_size=4 [20:33:38]MH_SAM_APDU [20:33:38]CAPDU: 80 13 01 00 [20:33:38]Write to MH i2c: E2 08 00 97 27 80 13 01 00 00 00 00 00 3B [20:33:38]Write i2c OK [20:33:38]MH_I2C_Read... [20:33:38]OFD Sender: No OFD packet to send [20:33:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:33:38]Read from MH i2c: E2 [20:33:38]MH_I2C_Read... [20:33:38]Read from MH i2c: E2 0E 00 [20:33:38]MH_I2C_Read... [20:33:38]Read from MH i2c: E2 0E 00 97 27 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 90 [20:33:38]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [20:33:38]wFMCommunicate OK [20:33:38]SAM_PROTO_GetShiftState done [20:33:38]FM_GetShiftState done [20:33:38]req_shift_opened done [20:33:38]requested_item shift.open_date is exist - process it [20:33:38]req_shift_open_date [20:33:38]req_shift_open_date done [20:33:38]produce_requested_data done [20:33:38]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37219,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [20:33:38]process_action_free close_receipt [20:33:38]json_value_free [20:33:38]json_value_free done [20:33:38]process_json_proto returns [20:33:38]Send response to host [20:33:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37219,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [20:33:38]free response buf [20:33:38]execute_script done [20:33:38]execute_script returns [20:33:38]free content buf [20:33:38]Sock 10.Close socket [20:33:38]Sock 10.Thread stoped [20:33:43]OFD Sender: No OFD packet to send [20:33:48]OFD Sender: No OFD packet to send [20:33:53]OFD Sender: No OFD packet to send [20:33:58]OFD Sender: No OFD packet to send [20:34:03]OFD Sender: No OFD packet to send [20:34:08]accept exits with 7 [20:34:08]New connection [20:34:08]New thread 3066555748 created [20:34:08]Thread 3066699108 joined [20:34:08]Waiting for new connection... [20:34:08] Sock 7.Parse request [20:34:08]Sock 7.Check first char [20:34:08]Sock 7.First char is OK [20:34:08]request: POST /json_proto HTTP/1.0 [20:34:08]Method: POST [20:34:08]URL: /json_proto [20:34:08]Method is POST - this is cgi request [20:34:08]url: /json_proto [20:34:08]query_string will be loaded in cgi processing [20:34:08]execute_cgi json_proto POST (null) [20:34:08]execute_cgi path=json_proto method=POST [20:34:08]POST find Content-Length [20:34:08]Host: 172.17.53.68:8080 [20:34:08]Content-Length: 769 [20:34:08]Content-Type: application/json [20:34:08] [20:34:08]POST finish read [20:34:08]Found Content-Length = 769 [20:34:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874817", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 14.950, "sum" : 1000.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 1000.16 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:34:08]execute_script... [20:34:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874817", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 14.950, "sum" : 1000.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 1000.16 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:34:08]POST & json_proto [20:34:08]process_json_proto [20:34:08]json parsed OK: [20:34:08]protocol is kg_v1.0 [20:34:08]action value=close_receipt [20:34:08]process_action close_receipt [20:34:08]cmd_close_receipt [20:34:08]MH_GetDate [20:34:08]Write to MH i2c: F0 00 00 98 27 AE [20:34:08]Write i2c OK [20:34:08]MH_I2C_Read... [20:34:08]Read from MH i2c: F0 [20:34:08]MH_I2C_Read... [20:34:08]Read from MH i2c: F0 09 00 [20:34:08]MH_I2C_Read... [20:34:08]Read from MH i2c: F0 09 00 98 27 00 4A 69 15 67 C5 A4 76 66 2B [20:34:08]GetLastDocTimeStamp 1729456425 [20:34:08]current date 1729456458 [20:34:08]FM_GetShiftState [20:34:08]SAM_PROTO_GetShiftState [20:34:08]wFMCommunicate request_size=4 [20:34:08]MH_SAM_APDU [20:34:08]CAPDU: 80 13 01 00 [20:34:08]Write to MH i2c: E2 08 00 99 27 80 13 01 00 00 00 00 00 3D [20:34:08]Write i2c OK [20:34:08]MH_I2C_Read... [20:34:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:34:08]Read from MH i2c: E2 [20:34:08]MH_I2C_Read... [20:34:08]Read from MH i2c: E2 0E 00 [20:34:08]MH_I2C_Read... [20:34:08]Read from MH i2c: E2 0E 00 99 27 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 92 [20:34:08]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [20:34:08]wFMCommunicate OK [20:34:08]SAM_PROTO_GetShiftState done [20:34:08]FM_GetShiftState done [20:34:08]opened in 1729383299 [20:34:08]opened+sec_in_day 1729469699 [20:34:08]quantity*price = 100015 [20:34:08]sum+1 = 100017 [20:34:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.16 ÐСП 1% : 8.85 ÐДС 12% : 106.21 Ðаличными: 0.00 Безнал.: 1000.16 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 68 20.10.2024 20:34 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Mbank ФМ: 0000000000965372 ФД: 37220 ФПД: 274438017586890 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T203418&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37220&fm=274438017586890&tin=02508201610067®Number=0000000000098149&sum=100016 [20:34:09]StoreToDocumentArchive [20:34:09]shift 461 fd 37220 [20:34:09]save to /storage/0461/doc_00037220 [20:34:09]save last doc name /storage/0461/doc_00037220 to /storage/kkm_last_doc_name [20:34:09]save OK [20:34:09]Clear old archive folders... [20:34:09]ProcessDocumentItem done err = 0, tmpTLVsize=251 [20:34:09]tlvbuf is 00972A60 [20:34:09]SAM_PROTO_ClearQueue [20:34:09]wFMCommunicate request_size=4 [20:34:09]MH_SAM_APDU [20:34:09]CAPDU: 80 09 00 00 [20:34:09]Write to MH i2c: E2 08 00 A6 27 80 09 00 00 00 00 00 00 3F [20:34:09]Write i2c OK [20:34:09]MH_I2C_Read... [20:34:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:34:09]Read from MH i2c: E2 [20:34:09]MH_I2C_Read... [20:34:09]Read from MH i2c: E2 03 00 [20:34:09]MH_I2C_Read... [20:34:09]Read from MH i2c: E2 03 00 A6 27 00 90 00 41 [20:34:09]RAPDU: 90 00 [20:34:09]wFMCommunicate OK [20:34:09]SAM_PROTO_ClearQueue done [20:34:09]KKMCreateOFDPacket [20:34:09]OFDProtocolAddRootSTLVToBuf [20:34:09]FM_MakeSignedData [20:34:09]FM_MakeSignedData [20:34:09]SAM_PROTO_SignData [20:34:09]wFMCommunicate request_size=4 [20:34:09]MH_SAM_APDU [20:34:09]CAPDU: 80 0D 01 02 [20:34:09]Write to MH i2c: E2 08 00 A7 27 80 0D 01 02 00 00 00 00 47 [20:34:09]Write i2c OK [20:34:09]MH_I2C_Read... [20:34:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:34:09]Read from MH i2c: E2 [20:34:09]MH_I2C_Read... [20:34:09]Read from MH i2c: E2 03 00 [20:34:09]MH_I2C_Read... [20:34:09]Read from MH i2c: E2 03 00 A7 27 00 90 00 42 [20:34:09]RAPDU: 90 00 [20:34:09]wFMCommunicate OK [20:34:09]wFMCommunicate request_size=255 [20:34:09]MH_SAM_APDU [20:34:09]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 4A 69 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 64 91 00 00 35 04 06 00 F9 [20:34:09]Write to MH i2c: E2 02 01 A8 27 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 4A 69 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 64 91 00 00 35 04 06 00 F9 00 00 25 [20:34:09]Write i2c OK [20:34:09]MH_I2C_Read... [20:34:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:34:10]Read from MH i2c: E2 [20:34:10]MH_I2C_Read... [20:34:10]Read from MH i2c: E2 03 00 [20:34:10]MH_I2C_Read... [20:34:10]Read from MH i2c: E2 03 00 A8 27 00 90 00 43 [20:34:10]RAPDU: 90 00 [20:34:10]wFMCommunicate OK [20:34:10]wFMCommunicate request_size=10 [20:34:10]MH_SAM_APDU [20:34:10]CAPDU: 80 0D 02 02 05 99 94 8D 16 CA [20:34:10]Write to MH i2c: E2 0D 00 A9 27 80 0D 02 02 05 00 99 94 8D 16 CA 00 00 EE [20:34:10]Write i2c OK [20:34:10]MH_I2C_Read... [20:34:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:34:10]Read from MH i2c: E2 [20:34:10]MH_I2C_Read... [20:34:10]Read from MH i2c: E2 03 00 [20:34:10]MH_I2C_Read... [20:34:10]Read from MH i2c: E2 03 00 A9 27 00 90 00 44 [20:34:10]RAPDU: 90 00 [20:34:10]wFMCommunicate OK [20:34:10]wFMCommunicate request_size=4 [20:34:10]MH_SAM_APDU [20:34:10]CAPDU: 80 0D 03 02 [20:34:10]Write to MH i2c: E2 08 00 AA 27 80 0D 03 02 00 00 00 00 4C [20:34:10]Write i2c OK [20:34:10]MH_I2C_Read... [20:34:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:34:10]Read from MH i2c: E2 [20:34:10]MH_I2C_Read... [20:34:10]Read from MH i2c: E2 0B 00 [20:34:10]MH_I2C_Read... [20:34:10]Read from MH i2c: E2 0B 00 AA 27 00 C0 DE 96 46 17 F7 39 A3 90 00 B1 [20:34:10]RAPDU: C0 DE 96 46 17 F7 39 A3 90 00 [20:34:10]wFMCommunicate OK [20:34:10]SAM_PROTO_SignData done [20:34:10]FM_MakeSignedData done [20:34:10]CreateOFDProtocolMessage [20:34:10]wFMCommunicate request_size=4 [20:34:10]MH_SAM_APDU [20:34:10]CAPDU: 80 11 00 00 [20:34:10]Write to MH i2c: E2 08 00 AB 27 80 11 00 00 00 00 00 00 4C [20:34:10]Write i2c OK [20:34:10]MH_I2C_Read... [20:34:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:34:10]Read from MH i2c: E2 [20:34:10]MH_I2C_Read... [20:34:10]Read from MH i2c: E2 17 00 [20:34:10]MH_I2C_Read... [20:34:10]Read from MH i2c: E2 17 00 AB 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 9F [20:34:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [20:34:10]wFMCommunicate OK [20:34:10]CreateOFDProtocolMessage done [20:34:10]OFDSenderStorePacket 37220 [20:34:10]StoreOFDPacket docnum=37220 [20:34:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0F 01 00 00 49 9B 07 01 BF 25 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 4A 69 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 64 91 00 00 35 04 06 00 F9 99 94 8D 16 CA C0 DE 96 46 17 F7 39 A3 [20:34:10]CheckFolder [20:34:10]dirname=/storage/ofd_packets [20:34:10]CheckFolder done [20:34:10]ProducePacketName [20:34:10]name=ofd_packets/00037220 [20:34:10]NVStorageSaveData ofd_packets/00037220 [20:34:10]File name is /storage/ofd_packets/00037220 [20:34:10]Write 301 bytes [20:34:10]NVStorageSaveData done [20:34:10]OFDSenderStorePacket done [20:34:10]KKMCreateOFDPacket done [20:34:10]NVStorageSaveData kkm_last_timestamp [20:34:10]File name is /storage/kkm_last_timestamp [20:34:10]Write 4 bytes [20:34:10]NVStorageSaveData done [20:34:10]ExternCall_PrintAddStr [20:34:10]wPrintStart [20:34:10]Write to MH i2c: 01 00 00 AC 27 D3 [20:34:10]Write i2c OK [20:34:10]MH_I2C_Read... [20:34:10]Read from MH i2c: 01 [20:34:10]MH_I2C_Read... [20:34:10]Read from MH i2c: 01 07 00 [20:34:10]MH_I2C_Read... [20:34:10]Read from MH i2c: 01 07 00 AC 27 00 00 00 00 00 FF 0F E8 [20:34:10]RasterBufferAndPrint [20:34:10]line Счет N : (1)874817 [20:34:10]line ИÐÐ: 02508201610067 [20:34:10]line Контрольно-КаÑÑовый Чек [20:34:10]line ПРОДÐЖР[20:34:10]line ТРК (МРК, ГÐК) : 32 [20:34:10]line Товар: 2710124130 [20:34:10]line Ðи-92-К-5 [20:34:10]line 14.950 * 66.90 [20:34:10]line = 1000.16 [20:34:10]line ÐДС 12% ÐСП 1% [20:34:10]line > о реализуемом товаре [20:34:10]line ИТОГО: 1000.16 [20:34:10]line ÐСП 1% : 8.85 [20:34:10]line ÐДС 12% : 106.21 [20:34:10]line Ðаличными: 0.00 [20:34:10]line Безнал.: 1000.16 [20:34:10]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [20:34:10]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [20:34:10]line СÐО: Общий режим [20:34:10]line Чек 68 20.10.2024 20:34 [20:34:10]line Смена: 461 ФФД: 1.0 [20:34:10]line ЗÐМ: 0300000235 [20:34:10]line РÐМ: 0000000000098149 [20:34:10]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [20:34:10]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Mbank [20:34:10]line ФМ: 0000000000965372 [20:34:10]line ФД: 37220 [20:34:10]line ФПД: 274438017586890 [20:34:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T203418&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37220&fm=274438017586890&tin=02508201610067®Number=0000000000098149&sum=100016 [20:34:10]OFD Sender: Processing packet 37220 [packets to send 25, broken 24] [20:34:10]ProducePacketName [20:34:10]name=ofd_packets/00037220 [20:34:10]OFD Sender: To server: ‡•öpG, [20:34:10]CommunicateWithHost lk.salyk.kg:30040 [20:34:10]ConnectInit lk.salyk.kg [20:34:10]written 0, free lines is 4095 [20:34:10]Connected sock=10 [20:34: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 33 37 32 0F 01 00 00 49 9B 07 01 BF 25 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 4A 69 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 64 91 00 00 35 04 06 00 F9 99 94 8D 16 CA C0 DE 96 46 17 F7 39 A3 [20:34:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 2C 73 47 00 A2 8D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 64 91 00 00 F4 03 04 00 DB 11 15 67 B6 04 01 00 00 C4 8C 62 ED 56 A3 AC 6A [20:34:11]CommunicateWithHost err = 0 [20:34:11]CheckOFDResponse [20:34:11]1017 (14) - 77093643461234 [20:34:11]1041 (16) - 0000000000965372 [20:34:11]1040 (4) - 37220 [20:34:11]1012 (4) - 20.10.2024 14:21 [20:34:11]1206 (1) - 0 [20:34:11]OFD Sender: Remove packet 37220 [20:34:11]ProducePacketName [20:34:11]name=ofd_packets/00037220 [20:34:11]NVStorageDeleteData [20:34:11]Write to MH i2c: 01 00 00 D5 27 FC [20:34:11]Write i2c OK [20:34:11]MH_I2C_Read... [20:34:11]Read from MH i2c: 01 [20:34:11]MH_I2C_Read... [20:34:11]Read from MH i2c: 01 07 00 [20:34:11]MH_I2C_Read... [20:34:11]Read from MH i2c: 01 07 00 D5 27 00 00 00 00 00 11 0D 21 [20:34:11]RasterBufferAndPrint [20:34:11]line [20:34:11]line [20:34:11]line [20:34:11]line [20:34:11]line [20:34:11]written 0, free lines is 3351 [20:34:11]process_action close_receipt done [20:34:11]requested_data is exist [20:34:11]produce_requested_data [20:34:11]requested_item fm.sn is exist - process it [20:34:11]wFMCommunicate request_size=4 [20:34:11]MH_SAM_APDU [20:34:11]CAPDU: 80 11 00 00 [20:34:11]Write to MH i2c: E2 08 00 DC 27 80 11 00 00 00 00 00 00 7D [20:34:11]Write i2c OK [20:34:11]MH_I2C_Read... [20:34:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:34:11]Read from MH i2c: E2 [20:34:11]MH_I2C_Read... [20:34:11]Read from MH i2c: E2 17 00 [20:34:11]MH_I2C_Read... [20:34:11]Read from MH i2c: E2 17 00 DC 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 D0 [20:34:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [20:34:11]wFMCommunicate OK [20:34:11]requested_item fd.num is exist - process it [20:34:11]SAM_PROTO_GetFieldsCounters [20:34:11]wFMCommunicate request_size=4 [20:34:11]MH_SAM_APDU [20:34:11]CAPDU: 80 13 00 00 [20:34:11]Write to MH i2c: E2 08 00 DD 27 80 13 00 00 00 00 00 00 80 [20:34:11]Write i2c OK [20:34:11]MH_I2C_Read... [20:34:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:34:11]Read from MH i2c: E2 [20:34:11]MH_I2C_Read... [20:34:11]Read from MH i2c: E2 62 00 [20:34:11]MH_I2C_Read... [20:34:11]Read from MH i2c: E2 62 00 DD 27 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 64 91 00 00 0E 04 04 00 CD 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 36 [20:34: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 64 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:34:11]wFMCommunicate OK [20:34:11]SAM_PROTO_GetFieldsCounters done [20:34:11]requested_item shift.num is exist - process it [20:34:11]requested_item shift.opened is exist - process it [20:34:11]req_shift_opened [20:34:11]FM_GetShiftState [20:34:11]SAM_PROTO_GetShiftState [20:34:11]wFMCommunicate request_size=4 [20:34:11]MH_SAM_APDU [20:34:11]CAPDU: 80 13 01 00 [20:34:11]Write to MH i2c: E2 08 00 DE 27 80 13 01 00 00 00 00 00 82 [20:34:11]Write i2c OK [20:34:11]MH_I2C_Read... [20:34:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:34:11]Read from MH i2c: E2 [20:34:11]MH_I2C_Read... [20:34:11]Read from MH i2c: E2 0E 00 [20:34:11]MH_I2C_Read... [20:34:11]Read from MH i2c: E2 0E 00 DE 27 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 D7 [20:34:11]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [20:34:11]wFMCommunicate OK [20:34:11]SAM_PROTO_GetShiftState done [20:34:11]FM_GetShiftState done [20:34:11]req_shift_opened done [20:34:11]requested_item shift.open_date is exist - process it [20:34:11]req_shift_open_date [20:34:11]req_shift_open_date done [20:34:11]produce_requested_data done [20:34:11]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37220,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [20:34:11]process_action_free close_receipt [20:34:11]json_value_free [20:34:11]json_value_free done [20:34:11]process_json_proto returns [20:34:11]Send response to host [20:34:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37220,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [20:34:11]free response buf [20:34:11]execute_script done [20:34:11]execute_script returns [20:34:11]free content buf [20:34:11]Sock 7.Close socket [20:34:11]Sock 7.Thread stoped [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:42]OFD Sender: No OFD packet to send [20:43:47]OFD Sender: No OFD packet to send [20:43:52]OFD Sender: No OFD packet to send [20:43:57]OFD Sender: No OFD packet to send [20:44:02]OFD Sender: No OFD packet to send [20:44:07]OFD Sender: No OFD packet to send [20:44:12]OFD Sender: No OFD packet to send [20:44:17]OFD Sender: No OFD packet to send [20:44:22]OFD Sender: No OFD packet to send [20:44:27]OFD Sender: No OFD packet to send [20:44:32]OFD Sender: No OFD packet to send [20:44:37]OFD Sender: No OFD packet to send [20:44:42]OFD Sender: No OFD packet to send [20:44:47]OFD Sender: No OFD packet to send [20:44:52]OFD Sender: No OFD packet to send [20:44:57]OFD Sender: No OFD packet to send [20:45:02]OFD Sender: No OFD packet to send [20:45:07]OFD Sender: No OFD packet to send [20:45:12]OFD Sender: No OFD packet to send [20:45:17]OFD Sender: No OFD packet to send [20:45:22]OFD Sender: No OFD packet to send [20:45:27]OFD Sender: No OFD packet to send [20:45:32]OFD Sender: No OFD packet to send [20:45:37]OFD Sender: No OFD packet to send [20:45:42]OFD Sender: No OFD packet to send [20:45:47]OFD Sender: No OFD packet to send [20:45:52]OFD Sender: No OFD packet to send [20:45:57]OFD Sender: No OFD packet to send [20:46:02]OFD Sender: No OFD packet to send [20:46:07]OFD Sender: No OFD packet to send [20:46:12]OFD Sender: No OFD packet to send [20:46:17]OFD Sender: No OFD packet to send [20:46:22]OFD Sender: No OFD packet to send [20:46:27]OFD Sender: No OFD packet to send [20:46:32]OFD Sender: No OFD packet to send [20:46:37]OFD Sender: No OFD packet to send [20:46:42]OFD Sender: No OFD packet to send [20:46:47]OFD Sender: No OFD packet to send [20:46:52]OFD Sender: No OFD packet to send [20:46:57]OFD Sender: No OFD packet to send [20:47:02]OFD Sender: No OFD packet to send [20:47:07]OFD Sender: No OFD packet to send [20:47:12]OFD Sender: No OFD packet to send [20:47:17]OFD Sender: No OFD packet to send [20:47:22]OFD Sender: No OFD packet to send [20:47:27]OFD Sender: No OFD packet to send [20:47:32]OFD Sender: No OFD packet to send [20:47:37]OFD Sender: No OFD packet to send [20:47:42]OFD Sender: No OFD packet to send [20:47:47]OFD Sender: No OFD packet to send [20:47:52]OFD Sender: No OFD packet to send [20:47:57]OFD Sender: No OFD packet to send [20:48:02]OFD Sender: No OFD packet to send [20:48:07]OFD Sender: No OFD packet to send [20:48:12]OFD Sender: No OFD packet to send [20:48:17]OFD Sender: No OFD packet to send [20:48:22]OFD Sender: No OFD packet to send [20:48:27]OFD Sender: No OFD packet to send [20:48:32]OFD Sender: No OFD packet to send [20:48:37]OFD Sender: No OFD packet to send [20:48:42]OFD Sender: No OFD packet to send [20:48:47]OFD Sender: No OFD packet to send [20:48:52]OFD Sender: No OFD packet to send [20:48:57]OFD Sender: No OFD packet to send [20:49:02]OFD Sender: No OFD packet to send [20:49:07]OFD Sender: No OFD packet to send [20:49:12]OFD Sender: No OFD packet to send [20:49:17]OFD Sender: No OFD packet to send [20:49:22]OFD Sender: No OFD packet to send [20:49:27]OFD Sender: No OFD packet to send [20:49:32]OFD Sender: No OFD packet to send [20:49:37]OFD Sender: No OFD packet to send [20:49:42]OFD Sender: No OFD packet to send [20:49:47]OFD Sender: No OFD packet to send [20:49:52]OFD Sender: No OFD packet to send [20:49:57]OFD Sender: No OFD packet to send [20:50:02]OFD Sender: No OFD packet to send [20:50:07]OFD Sender: No OFD packet to send [20:50:09]accept exits with 9 [20:50:09]New connection [20:50:09]New thread 3066699108 created [20:50:09]Thread 3066555748 joined [20:50:09]Waiting for new connection... [20:50:09] Sock 9.Parse request [20:50:09]Sock 9.Check first char [20:50:09]Sock 9.First char is OK [20:50:09]request: POST /json_proto HTTP/1.0 [20:50:09]Method: POST [20:50:09]URL: /json_proto [20:50:09]Method is POST - this is cgi request [20:50:09]url: /json_proto [20:50:09]query_string will be loaded in cgi processing [20:50:09]execute_cgi json_proto POST (null) [20:50:09]execute_cgi path=json_proto method=POST [20:50:09]POST find Content-Length [20:50:09]Host: 172.17.53.68:8080 [20:50:09]Content-Length: 622 [20:50:09]Content-Type: application/json [20:50:09] [20:50:09]POST finish read [20:50:09]Found Content-Length = 622 [20:50:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76690", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 288.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:50:09]execute_script... [20:50: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)76690", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 288.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:50:09]POST & json_proto [20:50:09]process_json_proto [20:50:09]json parsed OK: [20:50:09]protocol is kg_v1.0 [20:50:09]action value=close_receipt [20:50:09]process_action close_receipt [20:50:09]cmd_close_receipt [20:50:09]MH_GetDate [20:50:09]Write to MH i2c: F0 00 00 DF 27 F5 [20:50:09]Write i2c OK [20:50:09]MH_I2C_Read... [20:50:09]Read from MH i2c: F0 [20:50:09]MH_I2C_Read... [20:50:09]Read from MH i2c: F0 09 00 [20:50:09]MH_I2C_Read... [20:50:09]Read from MH i2c: F0 09 00 DF 27 00 0B 6D 15 67 C5 A4 76 66 37 [20:50:09]GetLastDocTimeStamp 1729456458 [20:50:09]current date 1729457419 [20:50:09]FM_GetShiftState [20:50:09]SAM_PROTO_GetShiftState [20:50:09]wFMCommunicate request_size=4 [20:50:09]MH_SAM_APDU [20:50:09]CAPDU: 80 13 01 00 [20:50:09]Write to MH i2c: E2 08 00 E0 27 80 13 01 00 00 00 00 00 84 [20:50:09]Write i2c OK [20:50:09]MH_I2C_Read... [20:50:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:50:09]Read from MH i2c: E2 [20:50:09]MH_I2C_Read... [20:50:09]Read from MH i2c: E2 0E 00 [20:50:09]MH_I2C_Read... [20:50:09]Read from MH i2c: E2 0E 00 E0 27 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 D9 [20:50:09]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [20:50:09]wFMCommunicate OK [20:50:09]SAM_PROTO_GetShiftState done [20:50:09]FM_GetShiftState done [20:50:09]opened in 1729383299 [20:50:09]opened+sec_in_day 1729469699 [20:50:09]quantity*price = 28800 [20:50:09]sum+1 = 28801 [20:50:09]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 288.00 ÐСП 1% : 2.55 ÐДС 12% : 30.58 Ðаличными: 288.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 69 20.10.2024 20:50 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37221 ФПД: 31203861589002 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T205019&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37221&fm=31203861589002&tin=02508201610067®Number=0000000000098149&sum=28800 0 [20:50:10]StoreToDocumentArchive [20:50:10]shift 461 fd 37221 [20:50:10]save to /storage/0461/doc_00037221 [20:50:10]save last doc name /storage/0461/doc_00037221 to /storage/kkm_last_doc_name [20:50:10]save OK [20:50:10]Clear old archive folders... [20:50:10]ProcessDocumentItem done err = 0, tmpTLVsize=275 [20:50:10]tlvbuf is 0097F300 [20:50:10]SAM_PROTO_ClearQueue [20:50:10]wFMCommunicate request_size=4 [20:50:10]MH_SAM_APDU [20:50:10]CAPDU: 80 09 00 00 [20:50:10]Write to MH i2c: E2 08 00 ED 27 80 09 00 00 00 00 00 00 86 [20:50:10]Write i2c OK [20:50:10]MH_I2C_Read... [20:50:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:50:10]Read from MH i2c: E2 [20:50:10]MH_I2C_Read... [20:50:10]Read from MH i2c: E2 03 00 [20:50:10]MH_I2C_Read... [20:50:10]Read from MH i2c: E2 03 00 ED 27 00 90 00 88 [20:50:10]RAPDU: 90 00 [20:50:10]wFMCommunicate OK [20:50:10]SAM_PROTO_ClearQueue done [20:50:10]KKMCreateOFDPacket [20:50:10]OFDProtocolAddRootSTLVToBuf [20:50:10]FM_MakeSignedData [20:50:10]FM_MakeSignedData [20:50:10]SAM_PROTO_SignData [20:50:10]wFMCommunicate request_size=4 [20:50:10]MH_SAM_APDU [20:50:10]CAPDU: 80 0D 01 02 [20:50:10]Write to MH i2c: E2 08 00 EE 27 80 0D 01 02 00 00 00 00 8E [20:50:10]Write i2c OK [20:50:10]MH_I2C_Read... [20:50:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:50:11]Read from MH i2c: E2 [20:50:11]MH_I2C_Read... [20:50:11]Read from MH i2c: E2 03 00 [20:50:11]MH_I2C_Read... [20:50:11]Read from MH i2c: E2 03 00 EE 27 00 90 00 89 [20:50:11]RAPDU: 90 00 [20:50:11]wFMCommunicate OK [20:50:11]wFMCommunicate request_size=255 [20:50:11]MH_SAM_APDU [20:50:11]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 0B 6D 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 [20:50:11]Write to MH i2c: E2 02 01 EF 27 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 0B 6D 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 00 00 73 [20:50:11]Write i2c OK [20:50:11]MH_I2C_Read... [20:50:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:50:11]Read from MH i2c: E2 [20:50:11]MH_I2C_Read... [20:50:11]Read from MH i2c: E2 03 00 [20:50:11]MH_I2C_Read... [20:50:11]Read from MH i2c: E2 03 00 EF 27 00 90 00 8A [20:50:11]RAPDU: 90 00 [20:50:11]wFMCommunicate OK [20:50:11]wFMCommunicate request_size=34 [20:50:11]MH_SAM_APDU [20:50:11]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 65 91 00 00 35 04 06 00 1C 61 37 15 EC 0A [20:50:11]Write to MH i2c: E2 25 00 F0 27 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 65 91 00 00 35 04 06 00 1C 61 37 15 EC 0A 00 00 07 [20:50:11]Write i2c OK [20:50:11]MH_I2C_Read... [20:50:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:50:11]Read from MH i2c: E2 [20:50:11]MH_I2C_Read... [20:50:11]Read from MH i2c: E2 03 00 [20:50:11]MH_I2C_Read... [20:50:11]Read from MH i2c: E2 03 00 F0 27 00 90 00 8B [20:50:11]RAPDU: 90 00 [20:50:11]wFMCommunicate OK [20:50:11]wFMCommunicate request_size=4 [20:50:11]MH_SAM_APDU [20:50:11]CAPDU: 80 0D 03 02 [20:50:11]Write to MH i2c: E2 08 00 F1 27 80 0D 03 02 00 00 00 00 93 [20:50:11]Write i2c OK [20:50:11]MH_I2C_Read... [20:50:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:50:11]Read from MH i2c: E2 [20:50:11]MH_I2C_Read... [20:50:11]Read from MH i2c: E2 0B 00 [20:50:11]MH_I2C_Read... [20:50:11]Read from MH i2c: E2 0B 00 F1 27 00 C1 C2 0B C9 BE 95 66 C1 90 00 65 [20:50:11]RAPDU: C1 C2 0B C9 BE 95 66 C1 90 00 [20:50:11]wFMCommunicate OK [20:50:11]SAM_PROTO_SignData done [20:50:11]FM_MakeSignedData done [20:50:11]CreateOFDProtocolMessage [20:50:11]wFMCommunicate request_size=4 [20:50:11]MH_SAM_APDU [20:50:11]CAPDU: 80 11 00 00 [20:50:11]Write to MH i2c: E2 08 00 F2 27 80 11 00 00 00 00 00 00 93 [20:50:11]Write i2c OK [20:50:11]MH_I2C_Read... [20:50:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:50:11]Read from MH i2c: E2 [20:50:11]MH_I2C_Read... [20:50:11]Read from MH i2c: E2 17 00 [20:50:11]MH_I2C_Read... [20:50:11]Read from MH i2c: E2 17 00 F2 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 E6 [20:50:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [20:50:11]wFMCommunicate OK [20:50:11]CreateOFDProtocolMessage done [20:50:11]OFDSenderStorePacket 37221 [20:50:11]StoreOFDPacket docnum=37221 [20:50:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 27 01 00 00 C3 9F 1F 01 36 8D 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 0B 6D 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 65 91 00 00 35 04 06 00 1C 61 37 15 EC 0A C1 C2 0B C9 BE 95 66 C1 [20:50:11]CheckFolder [20:50:11]dirname=/storage/ofd_packets [20:50:11]CheckFolder done [20:50:11]ProducePacketName [20:50:11]name=ofd_packets/00037221 [20:50:11]NVStorageSaveData ofd_packets/00037221 [20:50:11]File name is /storage/ofd_packets/00037221 [20:50:11]Write 325 bytes [20:50:11]NVStorageSaveData done [20:50:11]OFDSenderStorePacket done [20:50:11]KKMCreateOFDPacket done [20:50:11]NVStorageSaveData kkm_last_timestamp [20:50:11]File name is /storage/kkm_last_timestamp [20:50:11]Write 4 bytes [20:50:11]NVStorageSaveData done [20:50:11]ExternCall_PrintAddStr [20:50:11]wPrintStart [20:50:11]Write to MH i2c: 01 00 00 F3 27 1A [20:50:11]Write i2c OK [20:50:11]MH_I2C_Read... [20:50:11]Read from MH i2c: 01 [20:50:11]MH_I2C_Read... [20:50:11]Read from MH i2c: 01 07 00 [20:50:11]MH_I2C_Read... [20:50:11]Read from MH i2c: 01 07 00 F3 27 00 00 00 00 00 FF 0F 2F [20:50:11]RasterBufferAndPrint [20:50:11]line Счет N : (3)76690 [20:50:11]line ИÐÐ: 02508201610067 [20:50:11]line Контрольно-КаÑÑовый Чек [20:50:11]line ПРОДÐЖР[20:50:11]line Товар: 48743587 [20:50:11]line Сигареты Winston XStyle Silver [20:50:11]line 2.000 * 144.00 [20:50:11]line = 288.00 [20:50:11]line ÐДС 12% ÐСП 1% [20:50:11]line > о реализуемом товаре [20:50:11]line ИТОГО: 288.00 [20:50:11]line ÐСП 1% : 2.55 [20:50:11]line ÐДС 12% : 30.58 [20:50:11]line Ðаличными: 288.00 [20:50:11]line Безнал.: 0.00 [20:50:11]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [20:50:11]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [20:50:11]line СÐО: Общий режим [20:50:11]line Чек 69 20.10.2024 20:50 [20:50:11]line Смена: 461 ФФД: 1.0 [20:50:11]line ЗÐМ: 0300000235 [20:50:11]line РÐМ: 0000000000098149 [20:50:11]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [20:50:11]line ФМ: 0000000000965372 [20:50:11]line ФД: 37221 [20:50:11]line ФПД: 31203861589002 [20:50:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T205019&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37221&fm=31203861589002&tin=02508201610067®Number=0000000000098149&sum=28800 [20:50:11]line 0 [20:50:11]OFD Sender: Processing packet 37221 [packets to send 25, broken 24] [20:50:11]ProducePacketName [20:50:11]name=ofd_packets/00037221 [20:50:11]OFD Sender: To server: ‡•öpG, [20:50:11]CommunicateWithHost lk.salyk.kg:30040 [20:50:11]ConnectInit lk.salyk.kg [20:50:11]written 0, free lines is 4095 [20:50:11]Connected sock=10 [20:50: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 33 37 32 27 01 00 00 C3 9F 1F 01 36 8D 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 0B 6D 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 65 91 00 00 35 04 06 00 1C 61 37 15 EC 0A C1 C2 0B C9 BE 95 66 C1 [20:50:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 D4 50 47 00 25 3F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 65 91 00 00 F4 03 04 00 9C 15 15 67 B6 04 01 00 00 EB 6A F2 85 B4 38 DE 0F [20:50:12]CommunicateWithHost err = 0 [20:50:12]CheckOFDResponse [20:50:12]1017 (14) - 77093643461234 [20:50:12]1041 (16) - 0000000000965372 [20:50:12]1040 (4) - 37221 [20:50:12]1012 (4) - 20.10.2024 14:37 [20:50:12]1206 (1) - 0 [20:50:12]OFD Sender: Remove packet 37221 [20:50:12]ProducePacketName [20:50:12]name=ofd_packets/00037221 [20:50:12]NVStorageDeleteData [20:50:12]Write to MH i2c: 01 00 00 1C 28 44 [20:50:12]Write i2c OK [20:50:12]MH_I2C_Read... [20:50:12]Read from MH i2c: 01 [20:50:12]MH_I2C_Read... [20:50:12]Read from MH i2c: 01 07 00 [20:50:12]MH_I2C_Read... [20:50:12]Read from MH i2c: 01 07 00 1C 28 00 00 00 00 00 F3 0C 4A [20:50:12]RasterBufferAndPrint [20:50:12]line [20:50:12]line [20:50:12]line [20:50:12]line [20:50:12]line [20:50:12]written 0, free lines is 3322 [20:50:12]process_action close_receipt done [20:50:12]requested_data is exist [20:50:12]produce_requested_data [20:50:12]requested_item fm.sn is exist - process it [20:50:12]wFMCommunicate request_size=4 [20:50:12]MH_SAM_APDU [20:50:12]CAPDU: 80 11 00 00 [20:50:12]Write to MH i2c: E2 08 00 23 28 80 11 00 00 00 00 00 00 C5 [20:50:12]Write i2c OK [20:50:12]MH_I2C_Read... [20:50:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:50:12]Read from MH i2c: E2 [20:50:12]MH_I2C_Read... [20:50:12]Read from MH i2c: E2 17 00 [20:50:12]MH_I2C_Read... [20:50:12]Read from MH i2c: E2 17 00 23 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 18 [20:50:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [20:50:12]wFMCommunicate OK [20:50:12]requested_item fd.num is exist - process it [20:50:12]SAM_PROTO_GetFieldsCounters [20:50:12]wFMCommunicate request_size=4 [20:50:12]MH_SAM_APDU [20:50:12]CAPDU: 80 13 00 00 [20:50:12]Write to MH i2c: E2 08 00 24 28 80 13 00 00 00 00 00 00 C8 [20:50:12]Write i2c OK [20:50:12]MH_I2C_Read... [20:50:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:50:12]Read from MH i2c: E2 [20:50:12]MH_I2C_Read... [20:50:12]Read from MH i2c: E2 62 00 [20:50:12]MH_I2C_Read... [20:50:12]Read from MH i2c: E2 62 00 24 28 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 65 91 00 00 0E 04 04 00 CD 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 82 [20:50: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 65 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:50:12]wFMCommunicate OK [20:50:12]SAM_PROTO_GetFieldsCounters done [20:50:12]requested_item shift.num is exist - process it [20:50:12]requested_item shift.opened is exist - process it [20:50:12]req_shift_opened [20:50:12]FM_GetShiftState [20:50:12]SAM_PROTO_GetShiftState [20:50:12]wFMCommunicate request_size=4 [20:50:12]MH_SAM_APDU [20:50:12]CAPDU: 80 13 01 00 [20:50:12]Write to MH i2c: E2 08 00 25 28 80 13 01 00 00 00 00 00 CA [20:50:12]Write i2c OK [20:50:12]MH_I2C_Read... [20:50:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:50:12]Read from MH i2c: E2 [20:50:12]MH_I2C_Read... [20:50:12]Read from MH i2c: E2 0E 00 [20:50:12]MH_I2C_Read... [20:50:12]Read from MH i2c: E2 0E 00 25 28 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 1F [20:50:12]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [20:50:12]wFMCommunicate OK [20:50:12]SAM_PROTO_GetShiftState done [20:50:12]FM_GetShiftState done [20:50:12]req_shift_opened done [20:50:12]requested_item shift.open_date is exist - process it [20:50:12]req_shift_open_date [20:50:12]req_shift_open_date done [20:50:12]produce_requested_data done [20:50:12]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37221,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [20:50:12]process_action_free close_receipt [20:50:12]json_value_free [20:50:12]json_value_free done [20:50:12]process_json_proto returns [20:50:12]Send response to host [20:50:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37221,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [20:50:12]free response buf [20:50:12]execute_script done [20:50:12]execute_script returns [20:50:12]free content buf [20:50:12]Sock 9.Close socket [20:50:12]Sock 9.Thread stoped [20:50:12]OFD Sender: No OFD packet to send [20:50:17]OFD Sender: No OFD packet to send [20:50:22]OFD Sender: No OFD packet to send [20:50:27]OFD Sender: No OFD packet to send [20:50:32]OFD Sender: No OFD packet to send [20:50:37]OFD Sender: No OFD packet to send [20:50:42]OFD Sender: No OFD packet to send [20:50:47]OFD Sender: No OFD packet to send [20:50:52]OFD Sender: No OFD packet to send [20:50:57]OFD Sender: No OFD packet to send [20:51:02]OFD Sender: No OFD packet to send [20:51:07]OFD Sender: No OFD packet to send [20:51:12]OFD Sender: No OFD packet to send [20:51:17]OFD Sender: No OFD packet to send [20:51:22]OFD Sender: No OFD packet to send [20:51:27]OFD Sender: No OFD packet to send [20:51:32]OFD Sender: No OFD packet to send [20:51:37]OFD Sender: No OFD packet to send [20:51:42]OFD Sender: No OFD packet to send [20:51:47]OFD Sender: No OFD packet to send [20:51:52]OFD Sender: No OFD packet to send [20:51:57]OFD Sender: No OFD packet to send [20:52:02]OFD Sender: No OFD packet to send [20:52:07]OFD Sender: No OFD packet to send [20:52:12]OFD Sender: No OFD packet to send [20:52:17]OFD Sender: No OFD packet to send [20:52:22]OFD Sender: No OFD packet to send [20:52:27]OFD Sender: No OFD packet to send [20:52:32]OFD Sender: No OFD packet to send [20:52:37]OFD Sender: No OFD packet to send [20:52:42]OFD Sender: No OFD packet to send [20:52:47]OFD Sender: No OFD packet to send [20:52:52]OFD Sender: No OFD packet to send [20:52:57]OFD Sender: No OFD packet to send [20:53:02]OFD Sender: No OFD packet to send [20:53:07]OFD Sender: No OFD packet to send [20:53:12]OFD Sender: No OFD packet to send [20:53:17]OFD Sender: No OFD packet to send [20:53:22]OFD Sender: No OFD packet to send [20:53:27]OFD Sender: No OFD packet to send [20:53:32]OFD Sender: No OFD packet to send [20:53:37]OFD Sender: No OFD packet to send [20:53:42]OFD Sender: No OFD packet to send [20:53:47]OFD Sender: No OFD packet to send [20:53:52]OFD Sender: No OFD packet to send [20:53:57]OFD Sender: No OFD packet to send [20:54:02]OFD Sender: No OFD packet to send [20:54:07]OFD Sender: No OFD packet to send [20:54:12]OFD Sender: No OFD packet to send [20:54:17]OFD Sender: No OFD packet to send [20:54:22]OFD Sender: No OFD packet to send [20:54:27]OFD Sender: No OFD packet to send [20:54:32]OFD Sender: No OFD packet to send [20:54:37]OFD Sender: No OFD packet to send [20:54:42]OFD Sender: No OFD packet to send [20:54:47]OFD Sender: No OFD packet to send [20:54:52]OFD Sender: No OFD packet to send [20:54:57]OFD Sender: No OFD packet to send [20:55:02]OFD Sender: No OFD packet to send [20:55:07]OFD Sender: No OFD packet to send [20:55:12]OFD Sender: No OFD packet to send [20:55:17]OFD Sender: No OFD packet to send [20:55:22]OFD Sender: No OFD packet to send [20:55:27]OFD Sender: No OFD packet to send [20:55:32]OFD Sender: No OFD packet to send [20:55:37]OFD Sender: No OFD packet to send [20:55:42]OFD Sender: No OFD packet to send [20:55:47]OFD Sender: No OFD packet to send [20:55:52]OFD Sender: No OFD packet to send [20:55:57]OFD Sender: No OFD packet to send [20:56:02]OFD Sender: No OFD packet to send [20:56:07]OFD Sender: No OFD packet to send [20:56:12]OFD Sender: No OFD packet to send [20:56:17]OFD Sender: No OFD packet to send [20:56:22]OFD Sender: No OFD packet to send [20:56:27]OFD Sender: No OFD packet to send [20:56:32]OFD Sender: No OFD packet to send [20:56:37]OFD Sender: No OFD packet to send [20:56:42]OFD Sender: No OFD packet to send [20:56:47]OFD Sender: No OFD packet to send [20:56:52]OFD Sender: No OFD packet to send [20:56:57]OFD Sender: No OFD packet to send [20:57:02]OFD Sender: No OFD packet to send [20:57:07]OFD Sender: No OFD packet to send [20:57:12]OFD Sender: No OFD packet to send [20:57:17]OFD Sender: No OFD packet to send [20:57:22]OFD Sender: No OFD packet to send [20:57:27]OFD Sender: No OFD packet to send [20:57:32]OFD Sender: No OFD packet to send [20:57:37]OFD Sender: No OFD packet to send [20:57:42]OFD Sender: No OFD packet to send [20:57:47]OFD Sender: No OFD packet to send [20:57:52]OFD Sender: No OFD packet to send [20:57:57]OFD Sender: No OFD packet to send [20:58:02]OFD Sender: No OFD packet to send [20:58:07]OFD Sender: No OFD packet to send [20:58:12]OFD Sender: No OFD packet to send [20:58:17]OFD Sender: No OFD packet to send [20:58:22]OFD Sender: No OFD packet to send [20:58:27]accept exits with 7 [20:58:27]New connection [20:58:27]New thread 3066555748 created [20:58:27]Thread 3066699108 joined [20:58:27]Waiting for new connection... [20:58:27] Sock 7.Parse request [20:58:27]Sock 7.Check first char [20:58:27]Sock 7.First char is OK [20:58:27]request: POST /json_proto HTTP/1.0 [20:58:27]Method: POST [20:58:27]URL: /json_proto [20:58:27]Method is POST - this is cgi request [20:58:27]url: /json_proto [20:58:27]query_string will be loaded in cgi processing [20:58:27]execute_cgi json_proto POST (null) [20:58:27]execute_cgi path=json_proto method=POST [20:58:27]POST find Content-Length [20:58:27]Host: 172.17.53.68:8080 [20:58:27]Content-Length: 622 [20:58:27]Content-Type: application/json [20:58:27] [20:58:27]POST finish read [20:58:27]Found Content-Length = 622 [20:58:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76691", "tax_sys" : 0, "items" : [ { "code": "48741415", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Super Slims Violet", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:58:27]execute_script... [20:58:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76691", "tax_sys" : 0, "items" : [ { "code": "48741415", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Super Slims Violet", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:58:27]POST & json_proto [20:58:27]process_json_proto [20:58:27]json parsed OK: [20:58:27]protocol is kg_v1.0 [20:58:27]action value=close_receipt [20:58:27]process_action close_receipt [20:58:27]cmd_close_receipt [20:58:27]MH_GetDate [20:58:27]Write to MH i2c: F0 00 00 26 28 3D [20:58:27]Write i2c OK [20:58:27]MH_I2C_Read... [20:58:27]Read from MH i2c: F0 [20:58:27]MH_I2C_Read... [20:58:27]Read from MH i2c: F0 09 00 [20:58:27]MH_I2C_Read... [20:58:27]Read from MH i2c: F0 09 00 26 28 00 FD 6E 15 67 C5 A4 76 66 72 [20:58:27]GetLastDocTimeStamp 1729457419 [20:58:27]current date 1729457917 [20:58:27]FM_GetShiftState [20:58:27]SAM_PROTO_GetShiftState [20:58:27]wFMCommunicate request_size=4 [20:58:27]MH_SAM_APDU [20:58:27]CAPDU: 80 13 01 00 [20:58:27]Write to MH i2c: E2 08 00 27 28 80 13 01 00 00 00 00 00 CC [20:58:27]Write i2c OK [20:58:27]MH_I2C_Read... [20:58:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:58:27]Read from MH i2c: E2 [20:58:27]MH_I2C_Read... [20:58:27]Read from MH i2c: E2 0E 00 [20:58:27]MH_I2C_Read... [20:58:27]Read from MH i2c: E2 0E 00 27 28 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 21 [20:58:27]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [20:58:27]wFMCommunicate OK [20:58:27]SAM_PROTO_GetShiftState done [20:58:27]FM_GetShiftState done [20:58:27]opened in 1729383299 [20:58:27]opened+sec_in_day 1729469699 [20:58:27]quantity*price = 13400 [20:58:27]sum+1 = 13401 [20:58:27]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 134.00 ÐСП 1% : 1.19 ÐДС 12% : 14.23 Ðаличными: 134.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 70 20.10.2024 20:58 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37222 ФПД: 224038823574919 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T205837&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37222&fm=224038823574919&tin=02508201610067®Number=0000000000098149&sum=13400 0 [20:58:28]StoreToDocumentArchive [20:58:28]shift 461 fd 37222 [20:58:28]save to /storage/0461/doc_00037222 [20:58:28]save last doc name /storage/0461/doc_00037222 to /storage/kkm_last_doc_name [20:58:28]save OK [20:58:28]Clear old archive folders... [20:58:28]ProcessDocumentItem done err = 0, tmpTLVsize=275 [20:58:28]tlvbuf is 00A31BC0 [20:58:28]SAM_PROTO_ClearQueue [20:58:28]wFMCommunicate request_size=4 [20:58:28]MH_SAM_APDU [20:58:28]CAPDU: 80 09 00 00 [20:58:28]Write to MH i2c: E2 08 00 34 28 80 09 00 00 00 00 00 00 CE [20:58:28]Write i2c OK [20:58:28]MH_I2C_Read... [20:58:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:58:29]Read from MH i2c: E2 [20:58:29]MH_I2C_Read... [20:58:29]Read from MH i2c: E2 03 00 [20:58:29]MH_I2C_Read... [20:58:29]Read from MH i2c: E2 03 00 34 28 00 90 00 D0 [20:58:29]RAPDU: 90 00 [20:58:29]wFMCommunicate OK [20:58:29]SAM_PROTO_ClearQueue done [20:58:29]KKMCreateOFDPacket [20:58:29]OFDProtocolAddRootSTLVToBuf [20:58:29]FM_MakeSignedData [20:58:29]FM_MakeSignedData [20:58:29]SAM_PROTO_SignData [20:58:29]wFMCommunicate request_size=4 [20:58:29]MH_SAM_APDU [20:58:29]CAPDU: 80 0D 01 02 [20:58:29]Write to MH i2c: E2 08 00 35 28 80 0D 01 02 00 00 00 00 D6 [20:58:29]Write i2c OK [20:58:29]MH_I2C_Read... [20:58:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:58:29]Read from MH i2c: E2 [20:58:29]MH_I2C_Read... [20:58:29]Read from MH i2c: E2 03 00 [20:58:29]MH_I2C_Read... [20:58:29]Read from MH i2c: E2 03 00 35 28 00 90 00 D1 [20:58:29]RAPDU: 90 00 [20:58:29]wFMCommunicate OK [20:58:29]wFMCommunicate request_size=255 [20:58:29]MH_SAM_APDU [20:58:29]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 31 34 31 35 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 56 69 6F 6C 65 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 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 8F 05 00 00 00 00 07 04 06 00 58 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 46 00 00 00 F4 03 04 00 FD 6E 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 [20:58:29]Write to MH i2c: E2 02 01 36 28 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 31 34 31 35 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 56 69 6F 6C 65 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 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 8F 05 00 00 00 00 07 04 06 00 58 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 46 00 00 00 F4 03 04 00 FD 6E 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 00 00 18 [20:58:29]Write i2c OK [20:58:29]MH_I2C_Read... [20:58:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:58:29]Read from MH i2c: E2 [20:58:29]MH_I2C_Read... [20:58:29]Read from MH i2c: E2 03 00 [20:58:29]MH_I2C_Read... [20:58:29]Read from MH i2c: E2 03 00 36 28 00 90 00 D2 [20:58:29]RAPDU: 90 00 [20:58:29]wFMCommunicate OK [20:58:29]wFMCommunicate request_size=34 [20:58:29]MH_SAM_APDU [20:58:29]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 66 91 00 00 35 04 06 00 CB C3 1A 7E BD 87 [20:58:29]Write to MH i2c: E2 25 00 37 28 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 66 91 00 00 35 04 06 00 CB C3 1A 7E BD 87 00 00 FB [20:58:29]Write i2c OK [20:58:29]MH_I2C_Read... [20:58:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:58:29]Read from MH i2c: E2 [20:58:29]MH_I2C_Read... [20:58:29]Read from MH i2c: E2 03 00 [20:58:29]MH_I2C_Read... [20:58:29]Read from MH i2c: E2 03 00 37 28 00 90 00 D3 [20:58:29]RAPDU: 90 00 [20:58:29]wFMCommunicate OK [20:58:29]wFMCommunicate request_size=4 [20:58:29]MH_SAM_APDU [20:58:29]CAPDU: 80 0D 03 02 [20:58:29]Write to MH i2c: E2 08 00 38 28 80 0D 03 02 00 00 00 00 DB [20:58:29]Write i2c OK [20:58:29]MH_I2C_Read... [20:58:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:58:29]Read from MH i2c: E2 [20:58:29]MH_I2C_Read... [20:58:29]Read from MH i2c: E2 0B 00 [20:58:29]MH_I2C_Read... [20:58:29]Read from MH i2c: E2 0B 00 38 28 00 D7 89 CF 39 20 92 9D 62 90 00 F5 [20:58:29]RAPDU: D7 89 CF 39 20 92 9D 62 90 00 [20:58:29]wFMCommunicate OK [20:58:29]SAM_PROTO_SignData done [20:58:29]FM_MakeSignedData done [20:58:29]CreateOFDProtocolMessage [20:58:29]wFMCommunicate request_size=4 [20:58:29]MH_SAM_APDU [20:58:29]CAPDU: 80 11 00 00 [20:58:29]Write to MH i2c: E2 08 00 39 28 80 11 00 00 00 00 00 00 DB [20:58:29]Write i2c OK [20:58:29]MH_I2C_Read... [20:58:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:58:29]Read from MH i2c: E2 [20:58:29]MH_I2C_Read... [20:58:29]Read from MH i2c: E2 17 00 [20:58:29]MH_I2C_Read... [20:58:29]Read from MH i2c: E2 17 00 39 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 2E [20:58:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [20:58:29]wFMCommunicate OK [20:58:29]CreateOFDProtocolMessage done [20:58:29]OFDSenderStorePacket 37222 [20:58:29]StoreOFDPacket docnum=37222 [20:58:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 27 01 00 00 A1 E6 1F 01 FF 0D 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 31 34 31 35 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 56 69 6F 6C 65 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 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 8F 05 00 00 00 00 07 04 06 00 58 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 46 00 00 00 F4 03 04 00 FD 6E 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 66 91 00 00 35 04 06 00 CB C3 1A 7E BD 87 D7 89 CF 39 20 92 9D 62 [20:58:29]CheckFolder [20:58:29]dirname=/storage/ofd_packets [20:58:29]CheckFolder done [20:58:29]ProducePacketName [20:58:29]name=ofd_packets/00037222 [20:58:29]NVStorageSaveData ofd_packets/00037222 [20:58:29]File name is /storage/ofd_packets/00037222 [20:58:29]Write 325 bytes [20:58:29]NVStorageSaveData done [20:58:29]OFDSenderStorePacket done [20:58:29]KKMCreateOFDPacket done [20:58:29]NVStorageSaveData kkm_last_timestamp [20:58:29]File name is /storage/kkm_last_timestamp [20:58:29]Write 4 bytes [20:58:29]NVStorageSaveData done [20:58:29]ExternCall_PrintAddStr [20:58:29]wPrintStart [20:58:29]Write to MH i2c: 01 00 00 3A 28 62 [20:58:29]Write i2c OK [20:58:29]MH_I2C_Read... [20:58:29]Read from MH i2c: 01 [20:58:29]MH_I2C_Read... [20:58:29]Read from MH i2c: 01 07 00 [20:58:29]MH_I2C_Read... [20:58:29]Read from MH i2c: 01 07 00 3A 28 00 00 00 00 00 FF 0F 77 [20:58:29]RasterBufferAndPrint [20:58:29]line Счет N : (3)76691 [20:58:29]line ИÐÐ: 02508201610067 [20:58:29]line Контрольно-КаÑÑовый Чек [20:58:29]line ПРОДÐЖР[20:58:29]line Товар: 48741415 [20:58:29]line Сигареты LD Super Slims Violet [20:58:29]line 1.000 * 134.00 [20:58:29]line = 134.00 [20:58:29]line ÐДС 12% ÐСП 1% [20:58:29]line > о реализуемом товаре [20:58:29]line ИТОГО: 134.00 [20:58:29]line ÐСП 1% : 1.19 [20:58:29]line ÐДС 12% : 14.23 [20:58:29]line Ðаличными: 134.00 [20:58:29]line Безнал.: 0.00 [20:58:29]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [20:58:29]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [20:58:29]line СÐО: Общий режим [20:58:29]line Чек 70 20.10.2024 20:58 [20:58:29]line Смена: 461 ФФД: 1.0 [20:58:29]line ЗÐМ: 0300000235 [20:58:29]line РÐМ: 0000000000098149 [20:58:29]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [20:58:29]line ФМ: 0000000000965372 [20:58:29]line ФД: 37222 [20:58:29]line ФПД: 224038823574919 [20:58:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T205837&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37222&fm=224038823574919&tin=02508201610067®Number=0000000000098149&sum=13400 [20:58:29]line 0 [20:58:29]OFD Sender: Processing packet 37222 [packets to send 25, broken 24] [20:58:29]ProducePacketName [20:58:29]name=ofd_packets/00037222 [20:58:29]OFD Sender: To server: ‡•öpG, [20:58:29]CommunicateWithHost lk.salyk.kg:30040 [20:58:29]ConnectInit lk.salyk.kg [20:58:29]written 0, free lines is 4095 [20:58:29]Connected sock=10 [20:58:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 27 01 00 00 A1 E6 1F 01 FF 0D 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 31 34 31 35 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 56 69 6F 6C 65 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 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 8F 05 00 00 00 00 07 04 06 00 58 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 46 00 00 00 F4 03 04 00 FD 6E 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 66 91 00 00 35 04 06 00 CB C3 1A 7E BD 87 D7 89 CF 39 20 92 9D 62 [20:58:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 C0 84 47 00 E3 74 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 66 91 00 00 F4 03 04 00 8E 17 15 67 B6 04 01 00 00 C3 AA E4 3C 40 75 DA F2 [20:58:30]CommunicateWithHost err = 0 [20:58:30]CheckOFDResponse [20:58:30]1017 (14) - 77093643461234 [20:58:30]1041 (16) - 0000000000965372 [20:58:30]1040 (4) - 37222 [20:58:30]1012 (4) - 20.10.2024 14:45 [20:58:30]1206 (1) - 0 [20:58:30]OFD Sender: Remove packet 37222 [20:58:30]ProducePacketName [20:58:30]name=ofd_packets/00037222 [20:58:30]NVStorageDeleteData [20:58:30]Write to MH i2c: 01 00 00 63 28 8B [20:58:30]Write i2c OK [20:58:30]MH_I2C_Read... [20:58:30]Read from MH i2c: 01 [20:58:30]MH_I2C_Read... [20:58:30]Read from MH i2c: 01 07 00 [20:58:30]MH_I2C_Read... [20:58:30]Read from MH i2c: 01 07 00 63 28 00 00 00 00 00 E3 0C 81 [20:58:30]RasterBufferAndPrint [20:58:30]line [20:58:30]line [20:58:30]line [20:58:30]line [20:58:30]line [20:58:30]written 0, free lines is 3308 [20:58:30]process_action close_receipt done [20:58:30]requested_data is exist [20:58:30]produce_requested_data [20:58:30]requested_item fm.sn is exist - process it [20:58:30]wFMCommunicate request_size=4 [20:58:30]MH_SAM_APDU [20:58:30]CAPDU: 80 11 00 00 [20:58:30]Write to MH i2c: E2 08 00 6A 28 80 11 00 00 00 00 00 00 0C [20:58:30]Write i2c OK [20:58:30]MH_I2C_Read... [20:58:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:58:30]Read from MH i2c: E2 [20:58:30]MH_I2C_Read... [20:58:30]Read from MH i2c: E2 17 00 [20:58:30]MH_I2C_Read... [20:58:30]Read from MH i2c: E2 17 00 6A 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 5F [20:58:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [20:58:30]wFMCommunicate OK [20:58:30]requested_item fd.num is exist - process it [20:58:30]SAM_PROTO_GetFieldsCounters [20:58:30]wFMCommunicate request_size=4 [20:58:30]MH_SAM_APDU [20:58:30]CAPDU: 80 13 00 00 [20:58:30]Write to MH i2c: E2 08 00 6B 28 80 13 00 00 00 00 00 00 0F [20:58:30]Write i2c OK [20:58:30]MH_I2C_Read... [20:58:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:58:30]Read from MH i2c: E2 [20:58:30]MH_I2C_Read... [20:58:30]Read from MH i2c: E2 62 00 [20:58:30]MH_I2C_Read... [20:58:30]Read from MH i2c: E2 62 00 6B 28 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 66 91 00 00 0E 04 04 00 CD 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 CD [20:58: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 66 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:58:30]wFMCommunicate OK [20:58:30]SAM_PROTO_GetFieldsCounters done [20:58:30]requested_item shift.num is exist - process it [20:58:30]requested_item shift.opened is exist - process it [20:58:30]req_shift_opened [20:58:30]FM_GetShiftState [20:58:30]SAM_PROTO_GetShiftState [20:58:30]wFMCommunicate request_size=4 [20:58:30]MH_SAM_APDU [20:58:30]CAPDU: 80 13 01 00 [20:58:30]Write to MH i2c: E2 08 00 6C 28 80 13 01 00 00 00 00 00 11 [20:58:30]Write i2c OK [20:58:30]MH_I2C_Read... [20:58:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:58:30]Read from MH i2c: E2 [20:58:30]MH_I2C_Read... [20:58:30]Read from MH i2c: E2 0E 00 [20:58:30]MH_I2C_Read... [20:58:30]Read from MH i2c: E2 0E 00 6C 28 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 66 [20:58:30]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [20:58:30]wFMCommunicate OK [20:58:30]SAM_PROTO_GetShiftState done [20:58:30]FM_GetShiftState done [20:58:30]req_shift_opened done [20:58:30]requested_item shift.open_date is exist - process it [20:58:30]req_shift_open_date [20:58:30]req_shift_open_date done [20:58:30]produce_requested_data done [20:58:30]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37222,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [20:58:30]process_action_free close_receipt [20:58:30]json_value_free [20:58:30]json_value_free done [20:58:30]process_json_proto returns [20:58:30]Send response to host [20:58:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37222,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [20:58:30]free response buf [20:58:30]execute_script done [20:58:30]execute_script returns [20:58:30]free content buf [20:58:30]Sock 7.Close socket [20:58:30]Sock 7.Thread stoped [20:58:30]OFD Sender: No OFD packet to send [20:58:35]OFD Sender: No OFD packet to send [20:58:40]OFD Sender: No OFD packet to send [20:58:45]OFD Sender: No OFD packet to send [20:58:50]OFD Sender: No OFD packet to send [20:58:55]OFD Sender: No OFD packet to send [20:59:00]OFD Sender: No OFD packet to send [20:59:05]OFD Sender: No OFD packet to send [20:59:10]OFD Sender: No OFD packet to send [20:59:15]OFD Sender: No OFD packet to send [20:59:20]OFD Sender: No OFD packet to send [20:59:25]OFD Sender: No OFD packet to send [20:59:30]OFD Sender: No OFD packet to send [20:59:35]OFD Sender: No OFD packet to send [20:59:40]OFD Sender: No OFD packet to send [20:59:45]OFD Sender: No OFD packet to send [20:59:50]OFD Sender: No OFD packet to send [20:59:55]OFD Sender: No OFD packet to send [21:00:00]OFD Sender: No OFD packet to send [21:00:05]OFD Sender: No OFD packet to send [21:00:10]OFD Sender: No OFD packet to send [21:00:15]OFD Sender: No OFD packet to send [21:00:20]OFD Sender: No OFD packet to send [21:00:25]OFD Sender: No OFD packet to send [21:00:30]OFD Sender: No OFD packet to send [21:00:35]OFD Sender: No OFD packet to send [21:00:40]OFD Sender: No OFD packet to send [21:00:45]OFD Sender: No OFD packet to send [21:00:50]OFD Sender: No OFD packet to send [21:00:55]OFD Sender: No OFD packet to send [21:01:00]OFD Sender: No OFD packet to send [21:01:05]OFD Sender: No OFD packet to send [21:01:10]OFD Sender: No OFD packet to send [21:01:15]OFD Sender: No OFD packet to send [21:01:20]OFD Sender: No OFD packet to send [21:01:25]OFD Sender: No OFD packet to send [21:01:30]OFD Sender: No OFD packet to send [21:01:35]OFD Sender: No OFD packet to send [21:01:40]OFD Sender: No OFD packet to send [21:01:45]OFD Sender: No OFD packet to send [21:01:50]OFD Sender: No OFD packet to send [21:01:55]OFD Sender: No OFD packet to send [21:02:00]OFD Sender: No OFD packet to send [21:02:05]OFD Sender: No OFD packet to send [21:02:10]OFD Sender: No OFD packet to send [21:02:15]OFD Sender: No OFD packet to send [21:02:20]OFD Sender: No OFD packet to send [21:02:25]OFD Sender: No OFD packet to send [21:02:30]OFD Sender: No OFD packet to send [21:02:35]OFD Sender: No OFD packet to send [21:02:40]OFD Sender: No OFD packet to send [21:02:45]OFD Sender: No OFD packet to send [21:02:50]OFD Sender: No OFD packet to send [21:02:55]OFD Sender: No OFD packet to send [21:03:00]OFD Sender: No OFD packet to send [21:03:05]OFD Sender: No OFD packet to send [21:03:10]OFD Sender: No OFD packet to send [21:03:15]OFD Sender: No OFD packet to send [21:03:20]OFD Sender: No OFD packet to send [21:03:25]OFD Sender: No OFD packet to send [21:03:30]OFD Sender: No OFD packet to send [21:03:35]OFD Sender: No OFD packet to send [21:03:40]OFD Sender: No OFD packet to send [21:03:45]OFD Sender: No OFD packet to send [21:03:50]OFD Sender: No OFD packet to send [21:03:55]OFD Sender: No OFD packet to send [21:04:00]OFD Sender: No OFD packet to send [21:04:05]OFD Sender: No OFD packet to send [21:04:10]OFD Sender: No OFD packet to send [21:04:15]OFD Sender: No OFD packet to send [21:04:20]OFD Sender: No OFD packet to send [21:04:25]OFD Sender: No OFD packet to send [21:04:30]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]OFD Sender: No OFD packet to send [21:09:06]OFD Sender: No OFD packet to send [21:09:11]OFD Sender: No OFD packet to send [21:09:16]OFD Sender: No OFD packet to send [21:09:21]OFD Sender: No OFD packet to send [21:09:26]OFD Sender: No OFD packet to send [21:09:31]OFD Sender: No OFD packet to send [21:09:36]OFD Sender: No OFD packet to send [21:09:41]OFD Sender: No OFD packet to send [21:09:46]OFD Sender: No OFD packet to send [21:09:51]OFD Sender: No OFD packet to send [21:09:56]OFD Sender: No OFD packet to send [21:10:01]OFD Sender: No OFD packet to send [21:10:06]OFD Sender: No OFD packet to send [21:10:11]OFD Sender: No OFD packet to send [21:10:16]OFD Sender: No OFD packet to send [21:10:21]OFD Sender: No OFD packet to send [21:10:26]OFD Sender: No OFD packet to send [21:10:31]OFD Sender: No OFD packet to send [21:10:36]OFD Sender: No OFD packet to send [21:10:41]OFD Sender: No OFD packet to send [21:10:46]OFD Sender: No OFD packet to send [21:10:51]OFD Sender: No OFD packet to send [21:10:56]OFD Sender: No OFD packet to send [21:11:01]OFD Sender: No OFD packet to send [21:11:06]OFD Sender: No OFD packet to send [21:11:11]OFD Sender: No OFD packet to send [21:11:16]OFD Sender: No OFD packet to send [21:11:21]OFD Sender: No OFD packet to send [21:11:26]OFD Sender: No OFD packet to send [21:11:31]OFD Sender: No OFD packet to send [21:11:36]OFD Sender: No OFD packet to send [21:11:41]OFD Sender: No OFD packet to send [21:11:46]OFD Sender: No OFD packet to send [21:11:51]OFD Sender: No OFD packet to send [21:11:56]OFD Sender: No OFD packet to send [21:12:01]OFD Sender: No OFD packet to send [21:12:06]OFD Sender: No OFD packet to send [21:12:11]OFD Sender: No OFD packet to send [21:12:16]OFD Sender: No OFD packet to send [21:12:21]OFD Sender: No OFD packet to send [21:12:26]OFD Sender: No OFD packet to send [21:12:31]OFD Sender: No OFD packet to send [21:12:36]OFD Sender: No OFD packet to send [21:12:41]OFD Sender: No OFD packet to send [21:12:46]OFD Sender: No OFD packet to send [21:12:48]accept exits with 9 [21:12:48]New connection [21:12:48]New thread 3066699108 created [21:12:48]Thread 3066555748 joined [21:12:48]Waiting for new connection... [21:12:48] Sock 9.Parse request [21:12:48]Sock 9.Check first char [21:12:48]Sock 9.First char is OK [21:12:48]request: POST /json_proto HTTP/1.0 [21:12:48]Method: POST [21:12:48]URL: /json_proto [21:12:48]Method is POST - this is cgi request [21:12:48]url: /json_proto [21:12:48]query_string will be loaded in cgi processing [21:12:48]execute_cgi json_proto POST (null) [21:12:48]execute_cgi path=json_proto method=POST [21:12:48]POST find Content-Length [21:12:48]Host: 172.17.53.68:8080 [21:12:48]Content-Length: 620 [21:12:48]Content-Type: application/json [21:12:48] [21:12:48]POST finish read [21:12:48]Found Content-Length = 620 [21:12:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76692", "tax_sys" : 0, "items" : [ { "code": "48744119", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Xstyle Dual", "price" : 149.00, "quantity" : 1.000, "sum" : 149.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 149.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:12:48]execute_script... [21:12: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)76692", "tax_sys" : 0, "items" : [ { "code": "48744119", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Xstyle Dual", "price" : 149.00, "quantity" : 1.000, "sum" : 149.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 149.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:12:48]POST & json_proto [21:12:48]process_json_proto [21:12:48]json parsed OK: [21:12:48]protocol is kg_v1.0 [21:12:48]action value=close_receipt [21:12:48]process_action close_receipt [21:12:48]cmd_close_receipt [21:12:48]MH_GetDate [21:12:48]Write to MH i2c: F0 00 00 6D 28 84 [21:12:48]Write i2c OK [21:12:48]MH_I2C_Read... [21:12:48]Read from MH i2c: F0 [21:12:48]MH_I2C_Read... [21:12:48]Read from MH i2c: F0 09 00 [21:12:48]MH_I2C_Read... [21:12:48]Read from MH i2c: F0 09 00 6D 28 00 5A 72 15 67 C5 A4 76 66 1A [21:12:48]GetLastDocTimeStamp 1729457917 [21:12:48]current date 1729458778 [21:12:48]FM_GetShiftState [21:12:48]SAM_PROTO_GetShiftState [21:12:48]wFMCommunicate request_size=4 [21:12:48]MH_SAM_APDU [21:12:48]CAPDU: 80 13 01 00 [21:12:48]Write to MH i2c: E2 08 00 6E 28 80 13 01 00 00 00 00 00 13 [21:12:48]Write i2c OK [21:12:48]MH_I2C_Read... [21:12:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:12:48]Read from MH i2c: E2 [21:12:48]MH_I2C_Read... [21:12:48]Read from MH i2c: E2 0E 00 [21:12:48]MH_I2C_Read... [21:12:48]Read from MH i2c: E2 0E 00 6E 28 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 68 [21:12:48]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [21:12:48]wFMCommunicate OK [21:12:48]SAM_PROTO_GetShiftState done [21:12:48]FM_GetShiftState done [21:12:48]opened in 1729383299 [21:12:48]opened+sec_in_day 1729469699 [21:12:48]quantity*price = 14900 [21:12:48]sum+1 = 14901 [21:12:48]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 149.00 ÐСП 1% : 1.32 ÐДС 12% : 15.82 Ðаличными: 149.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 71 20.10.2024 21:12 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37223 ФПД: 133500753135208 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T211258&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37223&fm=133500753135208&tin=02508201610067®Number=0000000000098149&sum=14900 0 [21:12:49]StoreToDocumentArchive [21:12:49]shift 461 fd 37223 [21:12:49]save to /storage/0461/doc_00037223 [21:12:49]save last doc name /storage/0461/doc_00037223 to /storage/kkm_last_doc_name [21:12:49]save OK [21:12:49]Clear old archive folders... [21:12:49]ProcessDocumentItem done err = 0, tmpTLVsize=273 [21:12:49]tlvbuf is 00A5A6C0 [21:12:49]SAM_PROTO_ClearQueue [21:12:49]wFMCommunicate request_size=4 [21:12:49]MH_SAM_APDU [21:12:49]CAPDU: 80 09 00 00 [21:12:49]Write to MH i2c: E2 08 00 7B 28 80 09 00 00 00 00 00 00 15 [21:12:49]Write i2c OK [21:12:49]MH_I2C_Read... [21:12:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:12:49]Read from MH i2c: E2 [21:12:49]MH_I2C_Read... [21:12:49]Read from MH i2c: E2 03 00 [21:12:49]MH_I2C_Read... [21:12:49]Read from MH i2c: E2 03 00 7B 28 00 90 00 17 [21:12:49]RAPDU: 90 00 [21:12:49]wFMCommunicate OK [21:12:49]SAM_PROTO_ClearQueue done [21:12:49]KKMCreateOFDPacket [21:12:49]OFDProtocolAddRootSTLVToBuf [21:12:49]FM_MakeSignedData [21:12:49]FM_MakeSignedData [21:12:49]SAM_PROTO_SignData [21:12:49]wFMCommunicate request_size=4 [21:12:49]MH_SAM_APDU [21:12:49]CAPDU: 80 0D 01 02 [21:12:49]Write to MH i2c: E2 08 00 7C 28 80 0D 01 02 00 00 00 00 1D [21:12:49]Write i2c OK [21:12:49]MH_I2C_Read... [21:12:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:12:50]Read from MH i2c: E2 [21:12:50]MH_I2C_Read... [21:12:50]Read from MH i2c: E2 03 00 [21:12:50]MH_I2C_Read... [21:12:50]Read from MH i2c: E2 03 00 7C 28 00 90 00 18 [21:12:50]RAPDU: 90 00 [21:12:50]wFMCommunicate OK [21:12:50]wFMCommunicate request_size=255 [21:12:50]MH_SAM_APDU [21:12:50]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 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 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 5A 72 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 [21:12:50]Write to MH i2c: E2 02 01 7D 28 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 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 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 5A 72 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 00 00 1B [21:12:50]Write i2c OK [21:12:50]MH_I2C_Read... [21:12:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:12:50]Read from MH i2c: E2 [21:12:50]MH_I2C_Read... [21:12:50]Read from MH i2c: E2 03 00 [21:12:50]MH_I2C_Read... [21:12:50]Read from MH i2c: E2 03 00 7D 28 00 90 00 19 [21:12:50]RAPDU: 90 00 [21:12:50]wFMCommunicate OK [21:12:50]wFMCommunicate request_size=32 [21:12:50]MH_SAM_APDU [21:12:50]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 33 37 32 10 04 04 00 67 91 00 00 35 04 06 00 79 6B 10 F7 C6 68 [21:12:50]Write to MH i2c: E2 23 00 7E 28 80 0D 02 02 1B 00 30 30 30 39 36 35 33 37 32 10 04 04 00 67 91 00 00 35 04 06 00 79 6B 10 F7 C6 68 00 00 8E [21:12:50]Write i2c OK [21:12:50]MH_I2C_Read... [21:12:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:12:50]Read from MH i2c: E2 [21:12:50]MH_I2C_Read... [21:12:50]Read from MH i2c: E2 03 00 [21:12:50]MH_I2C_Read... [21:12:50]Read from MH i2c: E2 03 00 7E 28 00 90 00 1A [21:12:50]RAPDU: 90 00 [21:12:50]wFMCommunicate OK [21:12:50]wFMCommunicate request_size=4 [21:12:50]MH_SAM_APDU [21:12:50]CAPDU: 80 0D 03 02 [21:12:50]Write to MH i2c: E2 08 00 7F 28 80 0D 03 02 00 00 00 00 22 [21:12:50]Write i2c OK [21:12:50]MH_I2C_Read... [21:12:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:12:50]Read from MH i2c: E2 [21:12:50]MH_I2C_Read... [21:12:50]Read from MH i2c: E2 0B 00 [21:12:50]MH_I2C_Read... [21:12:50]Read from MH i2c: E2 0B 00 7F 28 00 0D 97 08 66 C2 D1 40 D3 90 00 DB [21:12:50]RAPDU: 0D 97 08 66 C2 D1 40 D3 90 00 [21:12:50]wFMCommunicate OK [21:12:50]SAM_PROTO_SignData done [21:12:50]FM_MakeSignedData done [21:12:50]CreateOFDProtocolMessage [21:12:50]wFMCommunicate request_size=4 [21:12:50]MH_SAM_APDU [21:12:50]CAPDU: 80 11 00 00 [21:12:50]Write to MH i2c: E2 08 00 80 28 80 11 00 00 00 00 00 00 22 [21:12:50]Write i2c OK [21:12:50]MH_I2C_Read... [21:12:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:12:50]Read from MH i2c: E2 [21:12:50]MH_I2C_Read... [21:12:50]Read from MH i2c: E2 17 00 [21:12:50]MH_I2C_Read... [21:12:50]Read from MH i2c: E2 17 00 80 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 75 [21:12:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [21:12:50]wFMCommunicate OK [21:12:50]CreateOFDProtocolMessage done [21:12:50]OFDSenderStorePacket 37223 [21:12:50]StoreOFDPacket docnum=37223 [21:12:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 25 01 00 00 82 8A 1D 01 75 37 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 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 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 5A 72 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 67 91 00 00 35 04 06 00 79 6B 10 F7 C6 68 0D 97 08 66 C2 D1 40 D3 [21:12:50]CheckFolder [21:12:50]dirname=/storage/ofd_packets [21:12:50]CheckFolder done [21:12:50]ProducePacketName [21:12:50]name=ofd_packets/00037223 [21:12:50]NVStorageSaveData ofd_packets/00037223 [21:12:50]File name is /storage/ofd_packets/00037223 [21:12:50]Write 323 bytes [21:12:50]NVStorageSaveData done [21:12:50]OFDSenderStorePacket done [21:12:50]KKMCreateOFDPacket done [21:12:50]NVStorageSaveData kkm_last_timestamp [21:12:50]File name is /storage/kkm_last_timestamp [21:12:50]Write 4 bytes [21:12:50]NVStorageSaveData done [21:12:50]ExternCall_PrintAddStr [21:12:50]wPrintStart [21:12:50]Write to MH i2c: 01 00 00 81 28 A9 [21:12:50]Write i2c OK [21:12:50]MH_I2C_Read... [21:12:50]Read from MH i2c: 01 [21:12:50]MH_I2C_Read... [21:12:50]Read from MH i2c: 01 07 00 [21:12:50]MH_I2C_Read... [21:12:50]Read from MH i2c: 01 07 00 81 28 00 00 00 00 00 FF 0F BE [21:12:50]RasterBufferAndPrint [21:12:50]line Счет N : (3)76692 [21:12:50]line ИÐÐ: 02508201610067 [21:12:50]line Контрольно-КаÑÑовый Чек [21:12:50]line ПРОДÐЖР[21:12:50]line Товар: 48744119 [21:12:50]line Сигареты Winston Xstyle Dual [21:12:50]line 1.000 * 149.00 [21:12:50]line = 149.00 [21:12:50]line ÐДС 12% ÐСП 1% [21:12:50]line > о реализуемом товаре [21:12:50]line ИТОГО: 149.00 [21:12:50]line ÐСП 1% : 1.32 [21:12:50]line ÐДС 12% : 15.82 [21:12:50]line Ðаличными: 149.00 [21:12:50]line Безнал.: 0.00 [21:12:50]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [21:12:50]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [21:12:50]line СÐО: Общий режим [21:12:50]line Чек 71 20.10.2024 21:12 [21:12:50]line Смена: 461 ФФД: 1.0 [21:12:50]line ЗÐМ: 0300000235 [21:12:50]line РÐМ: 0000000000098149 [21:12:50]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [21:12:50]line ФМ: 0000000000965372 [21:12:50]line ФД: 37223 [21:12:50]line ФПД: 133500753135208 [21:12:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T211258&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37223&fm=133500753135208&tin=02508201610067®Number=0000000000098149&sum=14900 [21:12:50]line 0 [21:12:50]OFD Sender: Processing packet 37223 [packets to send 25, broken 24] [21:12:50]ProducePacketName [21:12:50]name=ofd_packets/00037223 [21:12:50]OFD Sender: To server: ‡•öpG, [21:12:50]CommunicateWithHost lk.salyk.kg:30040 [21:12:50]ConnectInit lk.salyk.kg [21:12:50]written 0, free lines is 4095 [21:12:50]Connected sock=10 [21:12: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 33 37 32 25 01 00 00 82 8A 1D 01 75 37 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 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 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 5A 72 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 67 91 00 00 35 04 06 00 79 6B 10 F7 C6 68 0D 97 08 66 C2 D1 40 D3 [21:12:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 56 E1 47 00 D4 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 33 37 32 10 04 04 00 67 91 00 00 F4 03 04 00 EB 1A 15 67 B6 04 01 00 00 4A 04 69 DE 24 F8 C9 6C [21:12:51]CommunicateWithHost err = 0 [21:12:51]CheckOFDResponse [21:12:51]1017 (14) - 77093643461234 [21:12:51]1041 (16) - 0000000000965372 [21:12:51]1040 (4) - 37223 [21:12:51]1012 (4) - 20.10.2024 14:59 [21:12:51]1206 (1) - 0 [21:12:51]OFD Sender: Remove packet 37223 [21:12:51]ProducePacketName [21:12:51]name=ofd_packets/00037223 [21:12:51]NVStorageDeleteData [21:12:51]Write to MH i2c: 01 00 00 A9 28 D1 [21:12:51]Write i2c OK [21:12:51]MH_I2C_Read... [21:12:51]Read from MH i2c: 01 [21:12:51]MH_I2C_Read... [21:12:51]Read from MH i2c: 01 07 00 [21:12:51]MH_I2C_Read... [21:12:51]Read from MH i2c: 01 07 00 A9 28 00 00 00 00 00 05 0D EA [21:12:51]RasterBufferAndPrint [21:12:51]line [21:12:51]line [21:12:51]line [21:12:51]line [21:12:51]line [21:12:51]written 0, free lines is 3340 [21:12:51]process_action close_receipt done [21:12:51]requested_data is exist [21:12:51]produce_requested_data [21:12:51]requested_item fm.sn is exist - process it [21:12:51]wFMCommunicate request_size=4 [21:12:51]MH_SAM_APDU [21:12:51]CAPDU: 80 11 00 00 [21:12:51]Write to MH i2c: E2 08 00 B0 28 80 11 00 00 00 00 00 00 52 [21:12:51]Write i2c OK [21:12:51]MH_I2C_Read... [21:12:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:12:51]Read from MH i2c: E2 [21:12:51]MH_I2C_Read... [21:12:51]Read from MH i2c: E2 17 00 [21:12:51]MH_I2C_Read... [21:12:51]Read from MH i2c: E2 17 00 B0 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 A5 [21:12:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [21:12:51]wFMCommunicate OK [21:12:51]requested_item fd.num is exist - process it [21:12:51]SAM_PROTO_GetFieldsCounters [21:12:51]wFMCommunicate request_size=4 [21:12:51]MH_SAM_APDU [21:12:51]CAPDU: 80 13 00 00 [21:12:51]Write to MH i2c: E2 08 00 B1 28 80 13 00 00 00 00 00 00 55 [21:12:51]Write i2c OK [21:12:51]MH_I2C_Read... [21:12:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:12:51]Read from MH i2c: E2 [21:12:51]MH_I2C_Read... [21:12:51]Read from MH i2c: E2 62 00 [21:12:51]MH_I2C_Read... [21:12:51]Read from MH i2c: E2 62 00 B1 28 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 67 91 00 00 0E 04 04 00 CD 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 17 [21:12: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 67 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:12:51]wFMCommunicate OK [21:12:51]SAM_PROTO_GetFieldsCounters done [21:12:51]requested_item shift.num is exist - process it [21:12:51]requested_item shift.opened is exist - process it [21:12:51]req_shift_opened [21:12:51]FM_GetShiftState [21:12:51]SAM_PROTO_GetShiftState [21:12:51]wFMCommunicate request_size=4 [21:12:51]MH_SAM_APDU [21:12:51]CAPDU: 80 13 01 00 [21:12:51]Write to MH i2c: E2 08 00 B2 28 80 13 01 00 00 00 00 00 57 [21:12:51]Write i2c OK [21:12:51]MH_I2C_Read... [21:12:51]Read from MH i2c: E2 [21:12:51]MH_I2C_Read... [21:12:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:12:51]Read from MH i2c: E2 0E 00 [21:12:51]MH_I2C_Read... [21:12:51]Read from MH i2c: E2 0E 00 B2 28 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 AC [21:12:51]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [21:12:51]wFMCommunicate OK [21:12:51]SAM_PROTO_GetShiftState done [21:12:51]FM_GetShiftState done [21:12:51]req_shift_opened done [21:12:51]requested_item shift.open_date is exist - process it [21:12:51]req_shift_open_date [21:12:51]req_shift_open_date done [21:12:51]produce_requested_data done [21:12:51]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37223,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [21:12:51]process_action_free close_receipt [21:12:51]json_value_free [21:12:51]json_value_free done [21:12:51]process_json_proto returns [21:12:51]Send response to host [21:12:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37223,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [21:12:51]free response buf [21:12:51]execute_script done [21:12:51]execute_script returns [21:12:51]free content buf [21:12:51]Sock 9.Close socket [21:12:51]Sock 9.Thread stoped [21:12:51]OFD Sender: No OFD packet to send [21:12:56]OFD Sender: No OFD packet to send [21:13:01]OFD Sender: No OFD packet to send [21:13:06]OFD Sender: No OFD packet to send [21:13:11]OFD Sender: No OFD packet to send [21:13:16]OFD Sender: No OFD packet to send [21:13:21]OFD Sender: No OFD packet to send [21:13:26]OFD Sender: No OFD packet to send [21:13:31]OFD Sender: No OFD packet to send [21:13:36]OFD Sender: No OFD packet to send [21:13:41]OFD Sender: No OFD packet to send [21:13:46]OFD Sender: No OFD packet to send [21:13:51]OFD Sender: No OFD packet to send [21:13:56]OFD Sender: No OFD packet to send [21:14:01]OFD Sender: No OFD packet to send [21:14:06]OFD Sender: No OFD packet to send [21:14:11]OFD Sender: No OFD packet to send [21:14:16]OFD Sender: No OFD packet to send [21:14:21]OFD Sender: No OFD packet to send [21:14:26]OFD Sender: No OFD packet to send [21:14:31]OFD Sender: No OFD packet to send [21:14:36]OFD Sender: No OFD packet to send [21:14:39]accept exits with 7 [21:14:39]New connection [21:14:39]New thread 3066555748 created [21:14:39] Sock 7.Parse request [21:14:39]Sock 7.Check first char [21:14:39]Thread 3066699108 joined [21:14:39]Sock 7.First char is OK [21:14:39]Waiting for new connection... [21:14:39]request: POST /json_proto HTTP/1.0 [21:14:39]Method: POST [21:14:39]URL: /json_proto [21:14:39]Method is POST - this is cgi request [21:14:39]url: /json_proto [21:14:39]query_string will be loaded in cgi processing [21:14:39]execute_cgi json_proto POST (null) [21:14:39]execute_cgi path=json_proto method=POST [21:14:39]POST find Content-Length [21:14:39]Host: 172.17.53.68:8080 [21:14:39]Content-Length: 625 [21:14:39]Content-Type: application/json [21:14:39] [21:14:39]POST finish read [21:14:39]Found Content-Length = 625 [21:14:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76693", "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" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:14:39]execute_script... [21:14:39]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76693", "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" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:14:39]POST & json_proto [21:14:39]process_json_proto [21:14:39]json parsed OK: [21:14:39]protocol is kg_v1.0 [21:14:39]action value=close_receipt [21:14:39]process_action close_receipt [21:14:39]cmd_close_receipt [21:14:39]MH_GetDate [21:14:39]Write to MH i2c: F0 00 00 B3 28 CA [21:14:39]Write i2c OK [21:14:39]MH_I2C_Read... [21:14:39]Read from MH i2c: F0 [21:14:39]MH_I2C_Read... [21:14:39]Read from MH i2c: F0 09 00 [21:14:39]MH_I2C_Read... [21:14:39]Read from MH i2c: F0 09 00 B3 28 00 C9 72 15 67 C5 A4 76 66 CF [21:14:39]GetLastDocTimeStamp 1729458778 [21:14:39]current date 1729458889 [21:14:39]FM_GetShiftState [21:14:39]SAM_PROTO_GetShiftState [21:14:39]wFMCommunicate request_size=4 [21:14:39]MH_SAM_APDU [21:14:39]CAPDU: 80 13 01 00 [21:14:39]Write to MH i2c: E2 08 00 B4 28 80 13 01 00 00 00 00 00 59 [21:14:39]Write i2c OK [21:14:39]MH_I2C_Read... [21:14:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:14:39]Read from MH i2c: E2 [21:14:39]MH_I2C_Read... [21:14:39]Read from MH i2c: E2 0E 00 [21:14:39]MH_I2C_Read... [21:14:39]Read from MH i2c: E2 0E 00 B4 28 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 AE [21:14:39]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [21:14:39]wFMCommunicate OK [21:14:39]SAM_PROTO_GetShiftState done [21:14:39]FM_GetShiftState done [21:14:39]opened in 1729383299 [21:14:39]opened+sec_in_day 1729469699 [21:14:39]quantity*price = 1000 [21:14:39]sum+1 = 1001 [21:14:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10.00 ÐСП 1% : 0.09 ÐДС 12% : 1.06 Ðаличными: 10.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 72 20.10.2024 21:14 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37224 ФПД: 25720624387079 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T211449&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37224&fm=25720624387079&tin=02508201610067®Number=0000000000098149&sum=1000 0 [21:14:40]StoreToDocumentArchive [21:14:40]shift 461 fd 37224 [21:14:40]save to /storage/0461/doc_00037224 [21:14:40]save last doc name /storage/0461/doc_00037224 to /storage/kkm_last_doc_name [21:14:40]save OK [21:14:40]Clear old archive folders... [21:14:40]ProcessDocumentItem done err = 0, tmpTLVsize=273 [21:14:40]tlvbuf is 00A6BDE0 [21:14:40]SAM_PROTO_ClearQueue [21:14:40]wFMCommunicate request_size=4 [21:14:40]MH_SAM_APDU [21:14:40]CAPDU: 80 09 00 00 [21:14:40]Write to MH i2c: E2 08 00 C1 28 80 09 00 00 00 00 00 00 5B [21:14:40]Write i2c OK [21:14:40]MH_I2C_Read... [21:14:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:14:40]Read from MH i2c: E2 [21:14:40]MH_I2C_Read... [21:14:40]Read from MH i2c: E2 03 00 [21:14:40]MH_I2C_Read... [21:14:40]Read from MH i2c: E2 03 00 C1 28 00 90 00 5D [21:14:40]RAPDU: 90 00 [21:14:40]wFMCommunicate OK [21:14:40]SAM_PROTO_ClearQueue done [21:14:40]KKMCreateOFDPacket [21:14:40]OFDProtocolAddRootSTLVToBuf [21:14:40]FM_MakeSignedData [21:14:40]FM_MakeSignedData [21:14:40]SAM_PROTO_SignData [21:14:40]wFMCommunicate request_size=4 [21:14:40]MH_SAM_APDU [21:14:40]CAPDU: 80 0D 01 02 [21:14:40]Write to MH i2c: E2 08 00 C2 28 80 0D 01 02 00 00 00 00 63 [21:14:40]Write i2c OK [21:14:40]MH_I2C_Read... [21:14:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:14:40]Read from MH i2c: E2 [21:14:40]MH_I2C_Read... [21:14:40]Read from MH i2c: E2 03 00 [21:14:40]MH_I2C_Read... [21:14:40]Read from MH i2c: E2 03 00 C2 28 00 90 00 5E [21:14:40]RAPDU: 90 00 [21:14:40]wFMCommunicate OK [21:14:40]wFMCommunicate request_size=255 [21:14:40]MH_SAM_APDU [21:14:40]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 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 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 C9 72 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 [21:14:40]Write to MH i2c: E2 02 01 C3 28 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 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 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 C9 72 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 00 00 75 [21:14:40]Write i2c OK [21:14:40]MH_I2C_Read... [21:14:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:14:41]Read from MH i2c: E2 [21:14:41]MH_I2C_Read... [21:14:41]Read from MH i2c: E2 03 00 [21:14:41]MH_I2C_Read... [21:14:41]Read from MH i2c: E2 03 00 C3 28 00 90 00 5F [21:14:41]RAPDU: 90 00 [21:14:41]wFMCommunicate OK [21:14:41]wFMCommunicate request_size=32 [21:14:41]MH_SAM_APDU [21:14:41]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 33 37 32 10 04 04 00 68 91 00 00 35 04 06 00 17 64 8C AE 14 07 [21:14:41]Write to MH i2c: E2 23 00 C4 28 80 0D 02 02 1B 00 30 30 30 39 36 35 33 37 32 10 04 04 00 68 91 00 00 35 04 06 00 17 64 8C AE 14 07 00 00 8C [21:14:41]Write i2c OK [21:14:41]MH_I2C_Read... [21:14:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:14:41]Read from MH i2c: E2 [21:14:41]MH_I2C_Read... [21:14:41]Read from MH i2c: E2 03 00 [21:14:41]MH_I2C_Read... [21:14:41]Read from MH i2c: E2 03 00 C4 28 00 90 00 60 [21:14:41]RAPDU: 90 00 [21:14:41]wFMCommunicate OK [21:14:41]wFMCommunicate request_size=4 [21:14:41]MH_SAM_APDU [21:14:41]CAPDU: 80 0D 03 02 [21:14:41]Write to MH i2c: E2 08 00 C5 28 80 0D 03 02 00 00 00 00 68 [21:14:41]Write i2c OK [21:14:41]MH_I2C_Read... [21:14:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:14:41]Read from MH i2c: E2 [21:14:41]MH_I2C_Read... [21:14:41]Read from MH i2c: E2 0B 00 [21:14:41]MH_I2C_Read... [21:14:41]Read from MH i2c: E2 0B 00 C5 28 00 11 DB 13 2C C5 B9 16 CA 90 00 F2 [21:14:41]RAPDU: 11 DB 13 2C C5 B9 16 CA 90 00 [21:14:41]wFMCommunicate OK [21:14:41]SAM_PROTO_SignData done [21:14:41]FM_MakeSignedData done [21:14:41]CreateOFDProtocolMessage [21:14:41]wFMCommunicate request_size=4 [21:14:41]MH_SAM_APDU [21:14:41]CAPDU: 80 11 00 00 [21:14:41]Write to MH i2c: E2 08 00 C6 28 80 11 00 00 00 00 00 00 68 [21:14:41]Write i2c OK [21:14:41]MH_I2C_Read... [21:14:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:14:41]Read from MH i2c: E2 [21:14:41]MH_I2C_Read... [21:14:41]Read from MH i2c: E2 17 00 [21:14:41]MH_I2C_Read... [21:14:41]Read from MH i2c: E2 17 00 C6 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 BB [21:14:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [21:14:41]wFMCommunicate OK [21:14:41]CreateOFDProtocolMessage done [21:14:41]OFDSenderStorePacket 37224 [21:14:41]StoreOFDPacket docnum=37224 [21:14:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 25 01 00 00 1D 61 1D 01 2D 5D 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 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 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 C9 72 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 68 91 00 00 35 04 06 00 17 64 8C AE 14 07 11 DB 13 2C C5 B9 16 CA [21:14:41]CheckFolder [21:14:41]dirname=/storage/ofd_packets [21:14:41]CheckFolder done [21:14:41]ProducePacketName [21:14:41]name=ofd_packets/00037224 [21:14:41]NVStorageSaveData ofd_packets/00037224 [21:14:41]File name is /storage/ofd_packets/00037224 [21:14:41]Write 323 bytes [21:14:41]NVStorageSaveData done [21:14:41]OFDSenderStorePacket done [21:14:41]KKMCreateOFDPacket done [21:14:41]NVStorageSaveData kkm_last_timestamp [21:14:41]File name is /storage/kkm_last_timestamp [21:14:41]Write 4 bytes [21:14:41]NVStorageSaveData done [21:14:41]ExternCall_PrintAddStr [21:14:41]wPrintStart [21:14:41]Write to MH i2c: 01 00 00 C7 28 EF [21:14:41]Write i2c OK [21:14:41]MH_I2C_Read... [21:14:41]Read from MH i2c: 01 [21:14:41]MH_I2C_Read... [21:14:41]Read from MH i2c: 01 07 00 [21:14:41]MH_I2C_Read... [21:14:41]Read from MH i2c: 01 07 00 C7 28 00 00 00 00 00 FF 0F 04 [21:14:41]RasterBufferAndPrint [21:14:41]line Счет N : (3)76693 [21:14:41]line ИÐÐ: 02508201610067 [21:14:41]line Контрольно-КаÑÑовый Чек [21:14:41]line ПРОДÐЖР[21:14:41]line Товар: 46226624 [21:14:41]line Mentos ПВ Клубника 6*100*2 [21:14:41]line 1.000 * 10.00 [21:14:41]line = 10.00 [21:14:41]line ÐДС 12% ÐСП 1% [21:14:41]line > о реализуемом товаре [21:14:41]line ИТОГО: 10.00 [21:14:41]line ÐСП 1% : 0.09 [21:14:41]line ÐДС 12% : 1.06 [21:14:41]line Ðаличными: 10.00 [21:14:41]line Безнал.: 0.00 [21:14:41]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [21:14:41]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [21:14:41]line СÐО: Общий режим [21:14:41]line Чек 72 20.10.2024 21:14 [21:14:41]line Смена: 461 ФФД: 1.0 [21:14:41]line ЗÐМ: 0300000235 [21:14:41]line РÐМ: 0000000000098149 [21:14:41]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [21:14:41]line ФМ: 0000000000965372 [21:14:41]line ФД: 37224 [21:14:41]line ФПД: 25720624387079 [21:14:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T211449&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37224&fm=25720624387079&tin=02508201610067®Number=0000000000098149&sum=1000 [21:14:41]line 0 [21:14:41]written 0, free lines is 4095 [21:14:41]OFD Sender: Processing packet 37224 [packets to send 25, broken 24] [21:14:41]ProducePacketName [21:14:41]name=ofd_packets/00037224 [21:14:41]OFD Sender: To server: ‡•öpG, [21:14:41]CommunicateWithHost lk.salyk.kg:30040 [21:14:41]ConnectInit lk.salyk.kg [21:14:41]Connected sock=10 [21:14:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 25 01 00 00 1D 61 1D 01 2D 5D 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 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 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 C9 72 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 68 91 00 00 35 04 06 00 17 64 8C AE 14 07 11 DB 13 2C C5 B9 16 CA [21:14:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 5F A6 47 00 82 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 33 37 32 10 04 04 00 68 91 00 00 F4 03 04 00 5A 1B 15 67 B6 04 01 00 00 8C D6 17 C7 FF E4 40 A4 [21:14:41]CommunicateWithHost err = 0 [21:14:41]CheckOFDResponse [21:14:41]1017 (14) - 77093643461234 [21:14:41]1041 (16) - 0000000000965372 [21:14:41]1040 (4) - 37224 [21:14:41]1012 (4) - 20.10.2024 15:01 [21:14:41]1206 (1) - 0 [21:14:41]OFD Sender: Remove packet 37224 [21:14:41]ProducePacketName [21:14:41]name=ofd_packets/00037224 [21:14:41]NVStorageDeleteData [21:14:41]Write to MH i2c: 01 00 00 EF 28 17 [21:14:41]Write i2c OK [21:14:41]MH_I2C_Read... [21:14:41]Read from MH i2c: 01 [21:14:41]MH_I2C_Read... [21:14:41]Read from MH i2c: 01 07 00 [21:14:41]MH_I2C_Read... [21:14:41]Read from MH i2c: 01 07 00 EF 28 00 00 00 00 00 0B 0D 36 [21:14:41]RasterBufferAndPrint [21:14:41]line [21:14:41]line [21:14:41]line [21:14:41]line [21:14:41]line [21:14:41]written 0, free lines is 3348 [21:14:41]process_action close_receipt done [21:14:41]requested_data is exist [21:14:41]produce_requested_data [21:14:41]requested_item fm.sn is exist - process it [21:14:41]wFMCommunicate request_size=4 [21:14:41]MH_SAM_APDU [21:14:41]CAPDU: 80 11 00 00 [21:14:41]Write to MH i2c: E2 08 00 F6 28 80 11 00 00 00 00 00 00 98 [21:14:41]Write i2c OK [21:14:41]MH_I2C_Read... [21:14:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:14:41]Read from MH i2c: E2 [21:14:41]MH_I2C_Read... [21:14:41]Read from MH i2c: E2 17 00 [21:14:41]MH_I2C_Read... [21:14:41]Read from MH i2c: E2 17 00 F6 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 EB [21:14:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [21:14:41]wFMCommunicate OK [21:14:41]requested_item fd.num is exist - process it [21:14:41]SAM_PROTO_GetFieldsCounters [21:14:41]wFMCommunicate request_size=4 [21:14:41]MH_SAM_APDU [21:14:41]CAPDU: 80 13 00 00 [21:14:41]Write to MH i2c: E2 08 00 F7 28 80 13 00 00 00 00 00 00 9B [21:14:41]Write i2c OK [21:14:41]MH_I2C_Read... [21:14:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:14:41]Read from MH i2c: E2 [21:14:41]MH_I2C_Read... [21:14:41]Read from MH i2c: E2 62 00 [21:14:41]MH_I2C_Read... [21:14:41]Read from MH i2c: E2 62 00 F7 28 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 68 91 00 00 0E 04 04 00 CD 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 61 [21:14:41]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 68 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:14:41]wFMCommunicate OK [21:14:41]SAM_PROTO_GetFieldsCounters done [21:14:41]requested_item shift.num is exist - process it [21:14:41]requested_item shift.opened is exist - process it [21:14:41]req_shift_opened [21:14:41]FM_GetShiftState [21:14:41]SAM_PROTO_GetShiftState [21:14:41]wFMCommunicate request_size=4 [21:14:41]MH_SAM_APDU [21:14:41]CAPDU: 80 13 01 00 [21:14:41]Write to MH i2c: E2 08 00 F8 28 80 13 01 00 00 00 00 00 9D [21:14:41]Write i2c OK [21:14:41]MH_I2C_Read... [21:14:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:14:42]Read from MH i2c: E2 [21:14:42]MH_I2C_Read... [21:14:42]Read from MH i2c: E2 0E 00 [21:14:42]MH_I2C_Read... [21:14:42]Read from MH i2c: E2 0E 00 F8 28 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 F2 [21:14:42]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [21:14:42]wFMCommunicate OK [21:14:42]SAM_PROTO_GetShiftState done [21:14:42]FM_GetShiftState done [21:14:42]req_shift_opened done [21:14:42]requested_item shift.open_date is exist - process it [21:14:42]req_shift_open_date [21:14:42]req_shift_open_date done [21:14:42]produce_requested_data done [21:14:42]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37224,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [21:14:42]process_action_free close_receipt [21:14:42]json_value_free [21:14:42]json_value_free done [21:14:42]process_json_proto returns [21:14:42]Send response to host [21:14:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37224,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [21:14:42]free response buf [21:14:42]execute_script done [21:14:42]execute_script returns [21:14:42]free content buf [21:14:42]Sock 7.Close socket [21:14:42]Sock 7.Thread stoped [21:14:42]OFD Sender: No OFD packet to send [21:14:47]OFD Sender: No OFD packet to send [21:14:52]OFD Sender: No OFD packet to send [21:14:57]OFD Sender: No OFD packet to send [21:15:02]OFD Sender: No OFD packet to send [21:15:07]OFD Sender: No OFD packet to send [21:15:12]OFD Sender: No OFD packet to send [21:15:17]OFD Sender: No OFD packet to send [21:15:22]OFD Sender: No OFD packet to send [21:15:27]OFD Sender: No OFD packet to send [21:15:32]OFD Sender: No OFD packet to send [21:15:37]OFD Sender: No OFD packet to send [21:15:42]OFD Sender: No OFD packet to send [21:15:47]OFD Sender: No OFD packet to send [21:15:52]OFD Sender: No OFD packet to send [21:15:57]OFD Sender: No OFD packet to send [21:16:02]OFD Sender: No OFD packet to send [21:16:07]OFD Sender: No OFD packet to send [21:16:12]OFD Sender: No OFD packet to send [21:16:17]OFD Sender: No OFD packet to send [21:16:22]OFD Sender: No OFD packet to send [21:16:27]OFD Sender: No OFD packet to send [21:16:32]OFD Sender: No OFD packet to send [21:16:37]OFD Sender: No OFD packet to send [21:16:42]OFD Sender: No OFD packet to send [21:16:47]OFD Sender: No OFD packet to send [21:16:52]OFD Sender: No OFD packet to send [21:16:57]OFD Sender: No OFD packet to send [21:17:02]OFD Sender: No OFD packet to send [21:17:07]OFD Sender: No OFD packet to send [21:17:12]OFD Sender: No OFD packet to send [21:17:17]OFD Sender: No OFD packet to send [21:17:22]OFD Sender: No OFD packet to send [21:17:27]OFD Sender: No OFD packet to send [21:17:32]OFD Sender: No OFD packet to send [21:17:37]OFD Sender: No OFD packet to send [21:17:42]OFD Sender: No OFD packet to send [21:17:47]OFD Sender: No OFD packet to send [21:17:52]OFD Sender: No OFD packet to send [21:17:57]OFD Sender: No OFD packet to send [21:18:02]OFD Sender: No OFD packet to send [21:18:07]OFD Sender: No OFD packet to send [21:18:12]OFD Sender: No OFD packet to send [21:18:17]OFD Sender: No OFD packet to send [21:18:22]OFD Sender: No OFD packet to send [21:18:27]OFD Sender: No OFD packet to send [21:18:32]OFD Sender: No OFD packet to send [21:18:37]OFD Sender: No OFD packet to send [21:18:42]OFD Sender: No OFD packet to send [21:18:47]OFD Sender: No OFD packet to send [21:18:52]OFD Sender: No OFD packet to send [21:18:57]OFD Sender: No OFD packet to send [21:19:02]OFD Sender: No OFD packet to send [21:19:07]OFD Sender: No OFD packet to send [21:19:12]OFD Sender: No OFD packet to send [21:19:17]OFD Sender: No OFD packet to send [21:19:22]OFD Sender: No OFD packet to send [21:19:27]OFD Sender: No OFD packet to send [21:19:32]OFD Sender: No OFD packet to send [21:19:37]OFD Sender: No OFD packet to send [21:19:42]OFD Sender: No OFD packet to send [21:19:47]OFD Sender: No OFD packet to send [21:19:52]OFD Sender: No OFD packet to send [21:19:57]OFD Sender: No OFD packet to send [21:20:02]OFD Sender: No OFD packet to send [21:20:07]OFD Sender: No OFD packet to send [21:20:12]OFD Sender: No OFD packet to send [21:20:17]OFD Sender: No OFD packet to send [21:20:22]OFD Sender: No OFD packet to send [21:20:27]OFD Sender: No OFD packet to send [21:20:32]OFD Sender: No OFD packet to send [21:20:37]OFD Sender: No OFD packet to send [21:20:42]OFD Sender: No OFD packet to send [21:20:47]OFD Sender: No OFD packet to send [21:20:52]OFD Sender: No OFD packet to send [21:20:57]OFD Sender: No OFD packet to send [21:21:02]OFD Sender: No OFD packet to send [21:21:07]OFD Sender: No OFD packet to send [21:21:12]OFD Sender: No OFD packet to send [21:21:17]OFD Sender: No OFD packet to send [21:21:22]OFD Sender: No OFD packet to send [21:21:27]OFD Sender: No OFD packet to send [21:21:32]OFD Sender: No OFD packet to send [21:21:37]OFD Sender: No OFD packet to send [21:21:42]OFD Sender: No OFD packet to send [21:21:47]OFD Sender: No OFD packet to send [21:21:52]OFD Sender: No OFD packet to send [21:21:57]OFD Sender: No OFD packet to send [21:22:02]OFD Sender: No OFD packet to send [21:22:07]OFD Sender: No OFD packet to send [21:22:12]OFD Sender: No OFD packet to send [21:22:17]OFD Sender: No OFD packet to send [21:22:22]OFD Sender: No OFD packet to send [21:22:27]OFD Sender: No OFD packet to send [21:22:32]OFD Sender: No OFD packet to send [21:22:37]OFD Sender: No OFD packet to send [21:22:42]OFD Sender: No OFD packet to send [21:22:47]OFD Sender: No OFD packet to send [21:22:52]OFD Sender: No OFD packet to send [21:22:57]OFD Sender: No OFD packet to send [21:23:02]OFD Sender: No OFD packet to send [21:23:07]OFD Sender: No OFD packet to send [21:23:12]OFD Sender: No OFD packet to send [21:23:17]OFD Sender: No OFD packet to send [21:23:22]OFD Sender: No OFD packet to send [21:23:27]OFD Sender: No OFD packet to send [21:23:32]OFD Sender: No OFD packet to send [21:23:37]OFD Sender: No OFD packet to send [21:23:42]OFD Sender: No OFD packet to send [21:23:47]OFD Sender: No OFD packet to send [21:23:52]OFD Sender: No OFD packet to send [21:23:57]OFD Sender: No OFD packet to send [21:24:02]OFD Sender: No OFD packet to send [21:24:07]OFD Sender: No OFD packet to send [21:24:12]OFD Sender: No OFD packet to send [21:24:17]OFD Sender: No OFD packet to send [21:24:22]OFD Sender: No OFD packet to send [21:24:27]OFD Sender: No OFD packet to send [21:24:32]OFD Sender: No OFD packet to send [21:24:37]OFD Sender: No OFD packet to send [21:24:42]OFD Sender: No OFD packet to send [21:24:47]OFD Sender: No OFD packet to send [21:24:52]OFD Sender: No OFD packet to send [21:24:57]OFD Sender: No OFD packet to send [21:25:02]OFD Sender: No OFD packet to send [21:25:07]OFD Sender: No OFD packet to send [21:25:12]OFD Sender: No OFD packet to send [21:25:17]OFD Sender: No OFD packet to send [21:25:22]OFD Sender: No OFD packet to send [21:25:27]OFD Sender: No OFD packet to send [21:25:32]OFD Sender: No OFD packet to send [21:25:37]OFD Sender: No OFD packet to send [21:25:42]OFD Sender: No OFD packet to send [21:25:47]OFD Sender: No OFD packet to send [21:25:52]OFD Sender: No OFD packet to send [21:25:57]OFD Sender: No OFD packet to send [21:26:02]OFD Sender: No OFD packet to send [21:26:07]OFD Sender: No OFD packet to send [21:26:12]OFD Sender: No OFD packet to send [21:26:17]OFD Sender: No OFD packet to send [21:26:22]OFD Sender: No OFD packet to send [21:26:27]OFD Sender: No OFD packet to send [21:26:32]OFD Sender: No OFD packet to send [21:26:37]OFD Sender: No OFD packet to send [21:26:42]OFD Sender: No OFD packet to send [21:26:47]OFD Sender: No OFD packet to send [21:26:52]OFD Sender: No OFD packet to send [21:26:57]OFD Sender: No OFD packet to send [21:27:02]OFD Sender: No OFD packet to send [21:27:07]OFD Sender: No OFD packet to send [21:27:12]OFD Sender: No OFD packet to send [21:27:17]OFD Sender: No OFD packet to send [21:27:22]OFD Sender: No OFD packet to send [21:27:27]OFD Sender: No OFD packet to send [21:27:32]OFD Sender: No OFD packet to send [21:27:37]OFD Sender: No OFD packet to send [21:27:42]OFD Sender: No OFD packet to send [21:27:47]OFD Sender: No OFD packet to send [21:27:52]OFD Sender: No OFD packet to send [21:27:57]OFD Sender: No OFD packet to send [21:28:02]OFD Sender: No OFD packet to send [21:28:07]OFD Sender: No OFD packet to send [21:28:12]OFD Sender: No OFD packet to send [21:28:17]OFD Sender: No OFD packet to send [21:28:22]OFD Sender: No OFD packet to send [21:28:27]OFD Sender: No OFD packet to send [21:28:32]OFD Sender: No OFD packet to send [21:28:37]OFD Sender: No OFD packet to send [21:28:42]OFD Sender: No OFD packet to send [21:28:47]OFD Sender: No OFD packet to send [21:28:52]OFD Sender: No OFD packet to send [21:28:57]OFD Sender: No OFD packet to send [21:29:02]OFD Sender: No OFD packet to send [21:29:07]OFD Sender: No OFD packet to send [21:29:12]OFD Sender: No OFD packet to send [21:29:17]OFD Sender: No OFD packet to send [21:29:22]OFD Sender: No OFD packet to send [21:29:27]OFD Sender: No OFD packet to send [21:29:32]OFD Sender: No OFD packet to send [21:29:37]OFD Sender: No OFD packet to send [21:29:42]OFD Sender: No OFD packet to send [21:29:47]OFD Sender: No OFD packet to send [21:29:52]OFD Sender: No OFD packet to send [21:29:57]OFD Sender: No OFD packet to send [21:30:02]OFD Sender: No OFD packet to send [21:30:07]OFD Sender: No OFD packet to send [21:30:12]OFD Sender: No OFD packet to send [21:30:17]OFD Sender: No OFD packet to send [21:30:22]OFD Sender: No OFD packet to send [21:30:27]OFD Sender: No OFD packet to send [21:30:32]OFD Sender: No OFD packet to send [21:30:37]OFD Sender: No OFD packet to send [21:30:42]OFD Sender: No OFD packet to send [21:30:47]OFD Sender: No OFD packet to send [21:30:52]OFD Sender: No OFD packet to send [21:30:57]OFD Sender: No OFD packet to send [21:31:02]OFD Sender: No OFD packet to send [21:31:07]OFD Sender: No OFD packet to send [21:31:12]OFD Sender: No OFD packet to send [21:31:17]OFD Sender: No OFD packet to send [21:31:22]OFD Sender: No OFD packet to send [21:31:27]OFD Sender: No OFD packet to send [21:31:32]OFD Sender: No OFD packet to send [21:31:37]OFD Sender: No OFD packet to send [21:31:42]OFD Sender: No OFD packet to send [21:31:47]OFD Sender: No OFD packet to send [21:31:52]OFD Sender: No OFD packet to send [21:31:57]OFD Sender: No OFD packet to send [21:32:02]OFD Sender: No OFD packet to send [21:32:07]OFD Sender: No OFD packet to send [21:32:12]OFD Sender: No OFD packet to send [21:32:18]OFD Sender: No OFD packet to send [21:32:23]OFD Sender: No OFD packet to send [21:32:28]OFD Sender: No OFD packet to send [21:32:33]OFD Sender: No OFD packet to send [21:32:38]OFD Sender: No OFD packet to send [21:32:43]OFD Sender: No OFD packet to send [21:32:48]OFD Sender: No OFD packet to send [21:32:53]OFD Sender: No OFD packet to send [21:32:58]OFD Sender: No OFD packet to send [21:33:03]OFD Sender: No OFD packet to send [21:33:08]OFD Sender: No OFD packet to send [21:33:13]OFD Sender: No OFD packet to send [21:33:18]OFD Sender: No OFD packet to send [21:33:23]OFD Sender: No OFD packet to send [21:33:28]OFD Sender: No OFD packet to send [21:33:33]OFD Sender: No OFD packet to send [21:33:38]OFD Sender: No OFD packet to send [21:33:43]OFD Sender: No OFD packet to send [21:33:48]OFD Sender: No OFD packet to send [21:33:53]OFD Sender: No OFD packet to send [21:33:58]OFD Sender: No OFD packet to send [21:34:03]OFD Sender: No OFD packet to send [21:34:08]OFD Sender: No OFD packet to send [21:34:13]OFD Sender: No OFD packet to send [21:34:18]OFD Sender: No OFD packet to send [21:34:23]OFD Sender: No OFD packet to send [21:34:28]OFD Sender: No OFD packet to send [21:34:33]OFD Sender: No OFD packet to send [21:34:38]OFD Sender: No OFD packet to send [21:34:43]OFD Sender: No OFD packet to send [21:34:48]OFD Sender: No OFD packet to send [21:34:53]OFD Sender: No OFD packet to send [21:34:58]OFD Sender: No OFD packet to send [21:35:03]OFD Sender: No OFD packet to send [21:35:08]OFD Sender: No OFD packet to send [21:35:13]OFD Sender: No OFD packet to send [21:35:18]OFD Sender: No OFD packet to send [21:35:23]OFD Sender: No OFD packet to send [21:35:28]OFD Sender: No OFD packet to send [21:35:33]OFD Sender: No OFD packet to send [21:35:38]OFD Sender: No OFD packet to send [21:35:43]OFD Sender: No OFD packet to send [21:35:48]OFD Sender: No OFD packet to send [21:35:53]OFD Sender: No OFD packet to send [21:35:58]OFD Sender: No OFD packet to send [21:36:03]OFD Sender: No OFD packet to send [21:36:08]OFD Sender: No OFD packet to send [21:36:13]OFD Sender: No OFD packet to send [21:36:18]OFD Sender: No OFD packet to send [21:36:23]OFD Sender: No OFD packet to send [21:36:28]OFD Sender: No OFD packet to send [21:36:33]OFD Sender: No OFD packet to send [21:36:38]OFD Sender: No OFD packet to send [21:36:43]OFD Sender: No OFD packet to send [21:36:48]OFD Sender: No OFD packet to send [21:36:53]OFD Sender: No OFD packet to send [21:36:58]OFD Sender: No OFD packet to send [21:37:03]OFD Sender: No OFD packet to send [21:37:08]OFD Sender: No OFD packet to send [21:37:13]OFD Sender: No OFD packet to send [21:37:18]OFD Sender: No OFD packet to send [21:37:23]OFD Sender: No OFD packet to send [21:37:28]OFD Sender: No OFD packet to send [21:37:33]OFD Sender: No OFD packet to send [21:37:38]OFD Sender: No OFD packet to send [21:37:43]OFD Sender: No OFD packet to send [21:37:48]OFD Sender: No OFD packet to send [21:37:53]OFD Sender: No OFD packet to send [21:37:58]OFD Sender: No OFD packet to send [21:38:03]OFD Sender: No OFD packet to send [21:38:08]OFD Sender: No OFD packet to send [21:38:13]OFD Sender: No OFD packet to send [21:38:18]OFD Sender: No OFD packet to send [21:38:23]OFD Sender: No OFD packet to send [21:38:28]OFD Sender: No OFD packet to send [21:38:33]OFD Sender: No OFD packet to send [21:38:38]OFD Sender: No OFD packet to send [21:38:43]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:03]OFD Sender: No OFD packet to send [21:43:08]OFD Sender: No OFD packet to send [21:43:13]OFD Sender: No OFD packet to send [21:43:18]OFD Sender: No OFD packet to send [21:43:23]OFD Sender: No OFD packet to send [21:43:28]OFD Sender: No OFD packet to send [21:43:33]OFD Sender: No OFD packet to send [21:43:38]OFD Sender: No OFD packet to send [21:43:43]OFD Sender: No OFD packet to send [21:43:48]OFD Sender: No OFD packet to send [21:43:53]OFD Sender: No OFD packet to send [21:43:58]OFD Sender: No OFD packet to send [21:44:03]OFD Sender: No OFD packet to send [21:44:08]OFD Sender: No OFD packet to send [21:44:13]OFD Sender: No OFD packet to send [21:44:18]OFD Sender: No OFD packet to send [21:44:21]accept exits with 9 [21:44:21]New connection [21:44:21]New thread 3066699108 created [21:44:21]Thread 3066555748 joined [21:44:21]Waiting for new connection... [21:44:21] Sock 9.Parse request [21:44:21]Sock 9.Check first char [21:44:21]Sock 9.First char is OK [21:44:21]request: POST /json_proto HTTP/1.0 [21:44:21]Method: POST [21:44:21]URL: /json_proto [21:44:21]Method is POST - this is cgi request [21:44:21]url: /json_proto [21:44:21]query_string will be loaded in cgi processing [21:44:21]execute_cgi json_proto POST (null) [21:44:21]execute_cgi path=json_proto method=POST [21:44:21]POST find Content-Length [21:44:21]Host: 172.17.53.68:8080 [21:44:21]Content-Length: 616 [21:44:21]Content-Type: application/json [21:44:21] [21:44:21]POST finish read [21:44:21]Found Content-Length = 616 [21:44:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76694", "tax_sys" : 0, "items" : [ { "code": "47803008", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:44:21]execute_script... [21:44: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)76694", "tax_sys" : 0, "items" : [ { "code": "47803008", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:44:21]POST & json_proto [21:44:21]process_json_proto [21:44:21]json parsed OK: [21:44:21]protocol is kg_v1.0 [21:44:21]action value=close_receipt [21:44:21]process_action close_receipt [21:44:21]cmd_close_receipt [21:44:21]MH_GetDate [21:44:21]Write to MH i2c: F0 00 00 F9 28 10 [21:44:21]Write i2c OK [21:44:21]MH_I2C_Read... [21:44:21]Read from MH i2c: F0 [21:44:21]MH_I2C_Read... [21:44:21]Read from MH i2c: F0 09 00 [21:44:21]MH_I2C_Read... [21:44:21]Read from MH i2c: F0 09 00 F9 28 00 BF 79 15 67 C5 A4 76 66 12 [21:44:21]GetLastDocTimeStamp 1729458889 [21:44:21]current date 1729460671 [21:44:21]FM_GetShiftState [21:44:21]SAM_PROTO_GetShiftState [21:44:21]wFMCommunicate request_size=4 [21:44:21]MH_SAM_APDU [21:44:21]CAPDU: 80 13 01 00 [21:44:21]Write to MH i2c: E2 08 00 FA 28 80 13 01 00 00 00 00 00 9F [21:44:21]Write i2c OK [21:44:21]MH_I2C_Read... [21:44:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:44:21]Read from MH i2c: E2 [21:44:21]MH_I2C_Read... [21:44:21]Read from MH i2c: E2 0E 00 [21:44:21]MH_I2C_Read... [21:44:21]Read from MH i2c: E2 0E 00 FA 28 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 F4 [21:44:21]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [21:44:21]wFMCommunicate OK [21:44:21]SAM_PROTO_GetShiftState done [21:44:21]FM_GetShiftState done [21:44:21]opened in 1729383299 [21:44:21]opened+sec_in_day 1729469699 [21:44:21]quantity*price = 14400 [21:44:21]sum+1 = 14401 [21:44:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 ÐСП 1% : 1.27 ÐДС 12% : 15.29 Ðаличными: 144.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 73 20.10.2024 21:44 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37225 ФПД: 240334141775371 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T214431&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37225&fm=240334141775371&tin=02508201610067®Number=0000000000098149&sum=14400 0 [21:44:22]StoreToDocumentArchive [21:44:22]shift 461 fd 37225 [21:44:22]save to /storage/0461/doc_00037225 [21:44:22]save last doc name /storage/0461/doc_00037225 to /storage/kkm_last_doc_name [21:44:22]save OK [21:44:22]Clear old archive folders... [21:44:22]ProcessDocumentItem done err = 0, tmpTLVsize=269 [21:44:22]tlvbuf is 009932B0 [21:44:22]SAM_PROTO_ClearQueue [21:44:22]wFMCommunicate request_size=4 [21:44:22]MH_SAM_APDU [21:44:22]CAPDU: 80 09 00 00 [21:44:22]Write to MH i2c: E2 08 00 07 29 80 09 00 00 00 00 00 00 A2 [21:44:22]Write i2c OK [21:44:22]MH_I2C_Read... [21:44:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:44:22]Read from MH i2c: E2 [21:44:22]MH_I2C_Read... [21:44:22]Read from MH i2c: E2 03 00 [21:44:22]MH_I2C_Read... [21:44:22]Read from MH i2c: E2 03 00 07 29 00 90 00 A4 [21:44:22]RAPDU: 90 00 [21:44:22]wFMCommunicate OK [21:44:22]SAM_PROTO_ClearQueue done [21:44:22]KKMCreateOFDPacket [21:44:22]OFDProtocolAddRootSTLVToBuf [21:44:22]FM_MakeSignedData [21:44:22]FM_MakeSignedData [21:44:22]SAM_PROTO_SignData [21:44:22]wFMCommunicate request_size=4 [21:44:22]MH_SAM_APDU [21:44:22]CAPDU: 80 0D 01 02 [21:44:22]Write to MH i2c: E2 08 00 08 29 80 0D 01 02 00 00 00 00 AA [21:44:22]Write i2c OK [21:44:22]MH_I2C_Read... [21:44:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:44:22]Read from MH i2c: E2 [21:44:22]MH_I2C_Read... [21:44:22]Read from MH i2c: E2 03 00 [21:44:22]MH_I2C_Read... [21:44:22]Read from MH i2c: E2 03 00 08 29 00 90 00 A5 [21:44:22]RAPDU: 90 00 [21:44:22]wFMCommunicate OK [21:44:22]wFMCommunicate request_size=255 [21:44:22]MH_SAM_APDU [21:44:22]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 08 00 34 37 38 30 33 30 30 38 06 04 20 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 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 BF 79 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 [21:44:22]Write to MH i2c: E2 02 01 09 29 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 08 00 34 37 38 30 33 30 30 38 06 04 20 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 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 BF 79 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 00 00 DC [21:44:22]Write i2c OK [21:44:22]MH_I2C_Read... [21:44:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:44:23]Read from MH i2c: E2 [21:44:23]MH_I2C_Read... [21:44:23]Read from MH i2c: E2 03 00 [21:44:23]MH_I2C_Read... [21:44:23]Read from MH i2c: E2 03 00 09 29 00 90 00 A6 [21:44:23]RAPDU: 90 00 [21:44:23]wFMCommunicate OK [21:44:23]wFMCommunicate request_size=28 [21:44:23]MH_SAM_APDU [21:44:23]CAPDU: 80 0D 02 02 17 36 35 33 37 32 10 04 04 00 69 91 00 00 35 04 06 00 DA 95 27 25 DE 0B [21:44:23]Write to MH i2c: E2 1F 00 0A 29 80 0D 02 02 17 00 36 35 33 37 32 10 04 04 00 69 91 00 00 35 04 06 00 DA 95 27 25 DE 0B 00 00 D7 [21:44:23]Write i2c OK [21:44:23]MH_I2C_Read... [21:44:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:44:23]Read from MH i2c: E2 [21:44:23]MH_I2C_Read... [21:44:23]Read from MH i2c: E2 03 00 [21:44:23]MH_I2C_Read... [21:44:23]Read from MH i2c: E2 03 00 0A 29 00 90 00 A7 [21:44:23]RAPDU: 90 00 [21:44:23]wFMCommunicate OK [21:44:23]wFMCommunicate request_size=4 [21:44:23]MH_SAM_APDU [21:44:23]CAPDU: 80 0D 03 02 [21:44:23]Write to MH i2c: E2 08 00 0B 29 80 0D 03 02 00 00 00 00 AF [21:44:23]Write i2c OK [21:44:23]MH_I2C_Read... [21:44:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:44:23]Read from MH i2c: E2 [21:44:23]MH_I2C_Read... [21:44:23]Read from MH i2c: E2 0B 00 [21:44:23]MH_I2C_Read... [21:44:23]Read from MH i2c: E2 0B 00 0B 29 00 0A D1 32 FC D9 07 05 FF 90 00 9D [21:44:23]RAPDU: 0A D1 32 FC D9 07 05 FF 90 00 [21:44:23]wFMCommunicate OK [21:44:23]SAM_PROTO_SignData done [21:44:23]FM_MakeSignedData done [21:44:23]CreateOFDProtocolMessage [21:44:23]wFMCommunicate request_size=4 [21:44:23]MH_SAM_APDU [21:44:23]CAPDU: 80 11 00 00 [21:44:23]Write to MH i2c: E2 08 00 0C 29 80 11 00 00 00 00 00 00 AF [21:44:23]Write i2c OK [21:44:23]MH_I2C_Read... [21:44:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:44:23]Read from MH i2c: E2 [21:44:23]MH_I2C_Read... [21:44:23]Read from MH i2c: E2 17 00 [21:44:23]MH_I2C_Read... [21:44:23]Read from MH i2c: E2 17 00 0C 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 02 [21:44:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [21:44:23]wFMCommunicate OK [21:44:23]CreateOFDProtocolMessage done [21:44:23]OFDSenderStorePacket 37225 [21:44:23]StoreOFDPacket docnum=37225 [21:44:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 21 01 00 00 E0 5E 19 01 D6 39 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 08 00 34 37 38 30 33 30 30 38 06 04 20 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 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 BF 79 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 69 91 00 00 35 04 06 00 DA 95 27 25 DE 0B 0A D1 32 FC D9 07 05 FF [21:44:23]CheckFolder [21:44:23]dirname=/storage/ofd_packets [21:44:23]CheckFolder done [21:44:23]ProducePacketName [21:44:23]name=ofd_packets/00037225 [21:44:23]NVStorageSaveData ofd_packets/00037225 [21:44:23]File name is /storage/ofd_packets/00037225 [21:44:23]Write 319 bytes [21:44:23]NVStorageSaveData done [21:44:23]OFDSenderStorePacket done [21:44:23]KKMCreateOFDPacket done [21:44:23]NVStorageSaveData kkm_last_timestamp [21:44:23]File name is /storage/kkm_last_timestamp [21:44:23]Write 4 bytes [21:44:23]NVStorageSaveData done [21:44:23]ExternCall_PrintAddStr [21:44:23]wPrintStart [21:44:23]Write to MH i2c: 01 00 00 0D 29 36 [21:44:23]Write i2c OK [21:44:23]MH_I2C_Read... [21:44:23]Read from MH i2c: 01 [21:44:23]MH_I2C_Read... [21:44:23]Read from MH i2c: 01 07 00 [21:44:23]MH_I2C_Read... [21:44:23]Read from MH i2c: 01 07 00 0D 29 00 00 00 00 00 FF 0F 4B [21:44:23]RasterBufferAndPrint [21:44:23]line Счет N : (3)76694 [21:44:23]line ИÐÐ: 02508201610067 [21:44:23]line Контрольно-КаÑÑовый Чек [21:44:23]line ПРОДÐЖР[21:44:23]line Товар: 47803008 [21:44:23]line Сигареты Winston XS Blue [21:44:23]line 1.000 * 144.00 [21:44:23]line = 144.00 [21:44:23]line ÐДС 12% ÐСП 1% [21:44:23]line > о реализуемом товаре [21:44:23]line ИТОГО: 144.00 [21:44:23]line ÐСП 1% : 1.27 [21:44:23]line ÐДС 12% : 15.29 [21:44:23]line Ðаличными: 144.00 [21:44:23]line Безнал.: 0.00 [21:44:23]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [21:44:23]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [21:44:23]line СÐО: Общий режим [21:44:23]line Чек 73 20.10.2024 21:44 [21:44:23]line Смена: 461 ФФД: 1.0 [21:44:23]line ЗÐМ: 0300000235 [21:44:23]line РÐМ: 0000000000098149 [21:44:23]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [21:44:23]line ФМ: 0000000000965372 [21:44:23]line ФД: 37225 [21:44:23]line ФПД: 240334141775371 [21:44:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T214431&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37225&fm=240334141775371&tin=02508201610067®Number=0000000000098149&sum=14400 [21:44:23]line 0 [21:44:23]OFD Sender: Processing packet 37225 [packets to send 25, broken 24] [21:44:23]ProducePacketName [21:44:23]name=ofd_packets/00037225 [21:44:23]OFD Sender: To server: ‡•öpG, [21:44:23]CommunicateWithHost lk.salyk.kg:30040 [21:44:23]ConnectInit lk.salyk.kg [21:44:23]written 0, free lines is 4095 [21:44:23]Connected sock=10 [21:44: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 33 37 32 21 01 00 00 E0 5E 19 01 D6 39 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 08 00 34 37 38 30 33 30 30 38 06 04 20 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 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 BF 79 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 69 91 00 00 35 04 06 00 DA 95 27 25 DE 0B 0A D1 32 FC D9 07 05 FF [21:44:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 FF 22 47 00 08 61 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 69 91 00 00 F4 03 04 00 50 22 15 67 B6 04 01 00 00 78 1A 55 33 8A 4B 51 39 [21:44:23]CommunicateWithHost err = 0 [21:44:23]CheckOFDResponse [21:44:23]1017 (14) - 77093643461234 [21:44:23]1041 (16) - 0000000000965372 [21:44:23]1040 (4) - 37225 [21:44:23]1012 (4) - 20.10.2024 15:31 [21:44:23]1206 (1) - 0 [21:44:23]OFD Sender: Remove packet 37225 [21:44:23]ProducePacketName [21:44:23]name=ofd_packets/00037225 [21:44:23]NVStorageDeleteData [21:44:23]Write to MH i2c: 01 00 00 35 29 5E [21:44:23]Write i2c OK [21:44:23]MH_I2C_Read... [21:44:23]Read from MH i2c: 01 [21:44:23]MH_I2C_Read... [21:44:23]Read from MH i2c: 01 07 00 [21:44:23]MH_I2C_Read... [21:44:23]Read from MH i2c: 01 07 00 35 29 00 00 00 00 00 0B 0D 7D [21:44:23]RasterBufferAndPrint [21:44:23]line [21:44:23]line [21:44:23]line [21:44:23]line [21:44:23]line [21:44:23]written 0, free lines is 3345 [21:44:23]process_action close_receipt done [21:44:23]requested_data is exist [21:44:23]produce_requested_data [21:44:23]requested_item fm.sn is exist - process it [21:44:23]wFMCommunicate request_size=4 [21:44:23]MH_SAM_APDU [21:44:23]CAPDU: 80 11 00 00 [21:44:23]Write to MH i2c: E2 08 00 3C 29 80 11 00 00 00 00 00 00 DF [21:44:23]Write i2c OK [21:44:23]MH_I2C_Read... [21:44:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:44:23]Read from MH i2c: E2 [21:44:23]MH_I2C_Read... [21:44:23]Read from MH i2c: E2 17 00 [21:44:23]MH_I2C_Read... [21:44:23]Read from MH i2c: E2 17 00 3C 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 32 [21:44:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [21:44:23]wFMCommunicate OK [21:44:23]requested_item fd.num is exist - process it [21:44:23]SAM_PROTO_GetFieldsCounters [21:44:23]wFMCommunicate request_size=4 [21:44:23]MH_SAM_APDU [21:44:23]CAPDU: 80 13 00 00 [21:44:23]Write to MH i2c: E2 08 00 3D 29 80 13 00 00 00 00 00 00 E2 [21:44:23]Write i2c OK [21:44:23]MH_I2C_Read... [21:44:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:44:24]Read from MH i2c: E2 [21:44:24]MH_I2C_Read... [21:44:24]Read from MH i2c: E2 62 00 [21:44:24]MH_I2C_Read... [21:44:24]Read from MH i2c: E2 62 00 3D 29 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 69 91 00 00 0E 04 04 00 CD 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 AC [21:44: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 69 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:44:24]wFMCommunicate OK [21:44:24]SAM_PROTO_GetFieldsCounters done [21:44:24]requested_item shift.num is exist - process it [21:44:24]requested_item shift.opened is exist - process it [21:44:24]req_shift_opened [21:44:24]FM_GetShiftState [21:44:24]SAM_PROTO_GetShiftState [21:44:24]wFMCommunicate request_size=4 [21:44:24]MH_SAM_APDU [21:44:24]CAPDU: 80 13 01 00 [21:44:24]Write to MH i2c: E2 08 00 3E 29 80 13 01 00 00 00 00 00 E4 [21:44:24]Write i2c OK [21:44:24]MH_I2C_Read... [21:44:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:44:24]Read from MH i2c: E2 [21:44:24]MH_I2C_Read... [21:44:24]Read from MH i2c: E2 0E 00 [21:44:24]MH_I2C_Read... [21:44:24]Read from MH i2c: E2 0E 00 3E 29 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 39 [21:44:24]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [21:44:24]wFMCommunicate OK [21:44:24]SAM_PROTO_GetShiftState done [21:44:24]FM_GetShiftState done [21:44:24]req_shift_opened done [21:44:24]requested_item shift.open_date is exist - process it [21:44:24]req_shift_open_date [21:44:24]req_shift_open_date done [21:44:24]produce_requested_data done [21:44:24]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37225,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [21:44:24]process_action_free close_receipt [21:44:24]json_value_free [21:44:24]json_value_free done [21:44:24]process_json_proto returns [21:44:24]Send response to host [21:44:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37225,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [21:44:24]free response buf [21:44:24]execute_script done [21:44:24]execute_script returns [21:44:24]free content buf [21:44:24]Sock 9.Close socket [21:44:24]Sock 9.Thread stoped [21:44:24]OFD Sender: No OFD packet to send [21:44:29]OFD Sender: No OFD packet to send [21:44:34]OFD Sender: No OFD packet to send [21:44:39]OFD Sender: No OFD packet to send [21:44:44]OFD Sender: No OFD packet to send [21:44:49]OFD Sender: No OFD packet to send [21:44:54]OFD Sender: No OFD packet to send [21:44:59]OFD Sender: No OFD packet to send [21:45:04]OFD Sender: No OFD packet to send [21:45:09]OFD Sender: No OFD packet to send [21:45:14]OFD Sender: No OFD packet to send [21:45:19]OFD Sender: No OFD packet to send [21:45:24]OFD Sender: No OFD packet to send [21:45:29]OFD Sender: No OFD packet to send [21:45:34]OFD Sender: No OFD packet to send [21:45:39]OFD Sender: No OFD packet to send [21:45:44]OFD Sender: No OFD packet to send [21:45:49]OFD Sender: No OFD packet to send [21:45:54]OFD Sender: No OFD packet to send [21:45:59]OFD Sender: No OFD packet to send [21:46:04]OFD Sender: No OFD packet to send [21:46:09]OFD Sender: No OFD packet to send [21:46:14]OFD Sender: No OFD packet to send [21:46:19]OFD Sender: No OFD packet to send [21:46:24]OFD Sender: No OFD packet to send [21:46:29]OFD Sender: No OFD packet to send [21:46:34]OFD Sender: No OFD packet to send [21:46:39]OFD Sender: No OFD packet to send [21:46:44]OFD Sender: No OFD packet to send [21:46:49]OFD Sender: No OFD packet to send [21:46:54]OFD Sender: No OFD packet to send [21:46:59]OFD Sender: No OFD packet to send [21:47:04]OFD Sender: No OFD packet to send [21:47:09]OFD Sender: No OFD packet to send [21:47:14]OFD Sender: No OFD packet to send [21:47:19]OFD Sender: No OFD packet to send [21:47:24]OFD Sender: No OFD packet to send [21:47:29]OFD Sender: No OFD packet to send [21:47:34]OFD Sender: No OFD packet to send [21:47:39]OFD Sender: No OFD packet to send [21:47:44]OFD Sender: No OFD packet to send [21:47:49]OFD Sender: No OFD packet to send [21:47:54]OFD Sender: No OFD packet to send [21:47:59]OFD Sender: No OFD packet to send [21:48:04]OFD Sender: No OFD packet to send [21:48:09]OFD Sender: No OFD packet to send [21:48:14]OFD Sender: No OFD packet to send [21:48:19]OFD Sender: No OFD packet to send [21:48:24]OFD Sender: No OFD packet to send [21:48:29]OFD Sender: No OFD packet to send [21:48:34]OFD Sender: No OFD packet to send [21:48:39]OFD Sender: No OFD packet to send [21:48:44]OFD Sender: No OFD packet to send [21:48:49]OFD Sender: No OFD packet to send [21:48:54]OFD Sender: No OFD packet to send [21:48:59]OFD Sender: No OFD packet to send [21:49:04]OFD Sender: No OFD packet to send [21:49:09]OFD Sender: No OFD packet to send [21:49:14]OFD Sender: No OFD packet to send [21:49:19]OFD Sender: No OFD packet to send [21:49:24]OFD Sender: No OFD packet to send [21:49:29]OFD Sender: No OFD packet to send [21:49:34]OFD Sender: No OFD packet to send [21:49:39]OFD Sender: No OFD packet to send [21:49:44]OFD Sender: No OFD packet to send [21:49:49]OFD Sender: No OFD packet to send [21:49:54]OFD Sender: No OFD packet to send [21:49:59]OFD Sender: No OFD packet to send [21:50:04]OFD Sender: No OFD packet to send [21:50:09]OFD Sender: No OFD packet to send [21:50:14]OFD Sender: No OFD packet to send [21:50:19]OFD Sender: No OFD packet to send [21:50:24]OFD Sender: No OFD packet to send [21:50:29]OFD Sender: No OFD packet to send [21:50:34]OFD Sender: No OFD packet to send [21:50:39]OFD Sender: No OFD packet to send [21:50:44]OFD Sender: No OFD packet to send [21:50:49]OFD Sender: No OFD packet to send [21:50:54]OFD Sender: No OFD packet to send [21:50:59]OFD Sender: No OFD packet to send [21:51:04]OFD Sender: No OFD packet to send [21:51:09]OFD Sender: No OFD packet to send [21:51:14]OFD Sender: No OFD packet to send [21:51:19]OFD Sender: No OFD packet to send [21:51:24]OFD Sender: No OFD packet to send [21:51:29]OFD Sender: No OFD packet to send [21:51:34]OFD Sender: No OFD packet to send [21:51:39]OFD Sender: No OFD packet to send [21:51:44]OFD Sender: No OFD packet to send [21:51:49]OFD Sender: No OFD packet to send [21:51:54]OFD Sender: No OFD packet to send [21:51:59]OFD Sender: No OFD packet to send [21:52:04]OFD Sender: No OFD packet to send [21:52:09]OFD Sender: No OFD packet to send [21:52:14]OFD Sender: No OFD packet to send [21:52:19]OFD Sender: No OFD packet to send [21:52:24]OFD Sender: No OFD packet to send [21:52:29]OFD Sender: No OFD packet to send [21:52:34]OFD Sender: No OFD packet to send [21:52:39]OFD Sender: No OFD packet to send [21:52:44]OFD Sender: No OFD packet to send [21:52:49]OFD Sender: No OFD packet to send [21:52:54]OFD Sender: No OFD packet to send [21:52:59]OFD Sender: No OFD packet to send [21:53:04]OFD Sender: No OFD packet to send [21:53:09]OFD Sender: No OFD packet to send [21:53:14]OFD Sender: No OFD packet to send [21:53:19]OFD Sender: No OFD packet to send [21:53:24]OFD Sender: No OFD packet to send [21:53:29]OFD Sender: No OFD packet to send [21:53:34]OFD Sender: No OFD packet to send [21:53:39]OFD Sender: No OFD packet to send [21:53:44]OFD Sender: No OFD packet to send [21:53:49]OFD Sender: No OFD packet to send [21:53:54]OFD Sender: No OFD packet to send [21:53:59]OFD Sender: No OFD packet to send [21:54:04]OFD Sender: No OFD packet to send [21:54:09]OFD Sender: No OFD packet to send [21:54:14]OFD Sender: No OFD packet to send [21:54:19]OFD Sender: No OFD packet to send [21:54:24]OFD Sender: No OFD packet to send [21:54:29]OFD Sender: No OFD packet to send [21:54:34]OFD Sender: No OFD packet to send [21:54:39]OFD Sender: No OFD packet to send [21:54:44]OFD Sender: No OFD packet to send [21:54:49]OFD Sender: No OFD packet to send [21:54:54]OFD Sender: No OFD packet to send [21:54:59]OFD Sender: No OFD packet to send [21:55:04]OFD Sender: No OFD packet to send [21:55:09]OFD Sender: No OFD packet to send [21:55:14]OFD Sender: No OFD packet to send [21:55:19]OFD Sender: No OFD packet to send [21:55:24]OFD Sender: No OFD packet to send [21:55:29]OFD Sender: No OFD packet to send [21:55:34]OFD Sender: No OFD packet to send [21:55:39]OFD Sender: No OFD packet to send [21:55:44]OFD Sender: No OFD packet to send [21:55:49]OFD Sender: No OFD packet to send [21:55:54]OFD Sender: No OFD packet to send [21:55:59]OFD Sender: No OFD packet to send [21:56:04]OFD Sender: No OFD packet to send [21:56:09]OFD Sender: No OFD packet to send [21:56:14]OFD Sender: No OFD packet to send [21:56:19]OFD Sender: No OFD packet to send [21:56:24]OFD Sender: No OFD packet to send [21:56:29]OFD Sender: No OFD packet to send [21:56:34]OFD Sender: No OFD packet to send [21:56:39]OFD Sender: No OFD packet to send [21:56:44]OFD Sender: No OFD packet to send [21:56:49]OFD Sender: No OFD packet to send [21:56:54]OFD Sender: No OFD packet to send [21:56:59]OFD Sender: No OFD packet to send [21:57:04]OFD Sender: No OFD packet to send [21:57:09]OFD Sender: No OFD packet to send [21:57:14]OFD Sender: No OFD packet to send [21:57:19]OFD Sender: No OFD packet to send [21:57:24]OFD Sender: No OFD packet to send [21:57:29]OFD Sender: No OFD packet to send [21:57:34]OFD Sender: No OFD packet to send [21:57:39]OFD Sender: No OFD packet to send [21:57:44]OFD Sender: No OFD packet to send [21:57:49]OFD Sender: No OFD packet to send [21:57:54]OFD Sender: No OFD packet to send [21:57:59]OFD Sender: No OFD packet to send [21:58:04]OFD Sender: No OFD packet to send [21:58:09]OFD Sender: No OFD packet to send [21:58:14]OFD Sender: No OFD packet to send [21:58:19]OFD Sender: No OFD packet to send [21:58:24]OFD Sender: No OFD packet to send [21:58:29]OFD Sender: No OFD packet to send [21:58:34]OFD Sender: No OFD packet to send [21:58:39]OFD Sender: No OFD packet to send [21:58:44]OFD Sender: No OFD packet to send [21:58:49]OFD Sender: No OFD packet to send [21:58:54]OFD Sender: No OFD packet to send [21:59:00]OFD Sender: No OFD packet to send [21:59:05]OFD Sender: No OFD packet to send [21:59:10]OFD Sender: No OFD packet to send [21:59:15]OFD Sender: No OFD packet to send [21:59:20]OFD Sender: No OFD packet to send [21:59:25]OFD Sender: No OFD packet to send [21:59:30]OFD Sender: No OFD packet to send [21:59:35]OFD Sender: No OFD packet to send [21:59:40]OFD Sender: No OFD packet to send [21:59:45]OFD Sender: No OFD packet to send [21:59:50]OFD Sender: No OFD packet to send [21:59:55]OFD Sender: No OFD packet to send [22:00:00]OFD Sender: No OFD packet to send [22:00:05]OFD Sender: No OFD packet to send [22:00:10]OFD Sender: No OFD packet to send [22:00:15]OFD Sender: No OFD packet to send [22:00:20]OFD Sender: No OFD packet to send [22:00:25]OFD Sender: No OFD packet to send [22:00:30]OFD Sender: No OFD packet to send [22:00:35]OFD Sender: No OFD packet to send [22:00:40]OFD Sender: No OFD packet to send [22:00:45]OFD Sender: No OFD packet to send [22:00:50]OFD Sender: No OFD packet to send [22:00:55]OFD Sender: No OFD packet to send [22:01:00]OFD Sender: No OFD packet to send [22:01:05]OFD Sender: No OFD packet to send [22:01:10]OFD Sender: No OFD packet to send [22:01:15]OFD Sender: No OFD packet to send [22:01:20]OFD Sender: No OFD packet to send [22:01:25]OFD Sender: No OFD packet to send [22:01:30]OFD Sender: No OFD packet to send [22:01:35]OFD Sender: No OFD packet to send [22:01:40]OFD Sender: No OFD packet to send [22:01:45]OFD Sender: No OFD packet to send [22:01:50]OFD Sender: No OFD packet to send [22:01:55]OFD Sender: No OFD packet to send [22:02:00]OFD Sender: No OFD packet to send [22:02:05]OFD Sender: No OFD packet to send [22:02:10]OFD Sender: No OFD packet to send [22:02:15]OFD Sender: No OFD packet to send [22:02:20]OFD Sender: No OFD packet to send [22:02:25]OFD Sender: No OFD packet to send [22:02:30]OFD Sender: No OFD packet to send [22:02:35]OFD Sender: No OFD packet to send [22:02:40]OFD Sender: No OFD packet to send [22:02:45]OFD Sender: No OFD packet to send [22:02:50]OFD Sender: No OFD packet to send [22:02:55]OFD Sender: No OFD packet to send [22:03:00]OFD Sender: No OFD packet to send [22:03:05]OFD Sender: No OFD packet to send [22:03:10]OFD Sender: No OFD packet to send [22:03:15]OFD Sender: No OFD packet to send [22:03:20]OFD Sender: No OFD packet to send [22:03:25]OFD Sender: No OFD packet to send [22:03:30]OFD Sender: No OFD packet to send [22:03:35]OFD Sender: No OFD packet to send [22:03:40]OFD Sender: No OFD packet to send [22:03:45]OFD Sender: No OFD packet to send [22:03:50]OFD Sender: No OFD packet to send [22:03:55]OFD Sender: No OFD packet to send [22:04:00]OFD Sender: No OFD packet to send [22:04:05]OFD Sender: No OFD packet to send [22:04:10]OFD Sender: No OFD packet to send [22:04:15]OFD Sender: No OFD packet to send [22:04:20]OFD Sender: No OFD packet to send [22:04:25]OFD Sender: No OFD packet to send [22:04:30]OFD Sender: No OFD packet to send [22:04:35]OFD Sender: No OFD packet to send [22:04:40]OFD Sender: No OFD packet to send [22:04:45]OFD Sender: No OFD packet to send [22:04:50]OFD Sender: No OFD packet to send [22:04:55]OFD Sender: No OFD packet to send [22:05:00]OFD Sender: No OFD packet to send [22:05:05]OFD Sender: No OFD packet to send [22:05:10]OFD Sender: No OFD packet to send [22:05:15]OFD Sender: No OFD packet to send [22:05:20]OFD Sender: No OFD packet to send [22:05:25]OFD Sender: No OFD packet to send [22:05:30]OFD Sender: No OFD packet to send [22:05:35]OFD Sender: No OFD packet to send [22:05:40]OFD Sender: No OFD packet to send [22:05:45]OFD Sender: No OFD packet to send [22:05:50]OFD Sender: No OFD packet to send [22:05:55]OFD Sender: No OFD packet to send [22:06:00]OFD Sender: No OFD packet to send [22:06:05]OFD Sender: No OFD packet to send [22:06:10]OFD Sender: No OFD packet to send [22:06:15]OFD Sender: No OFD packet to send [22:06:19]accept exits with 7 [22:06:19]New connection [22:06:19]New thread 3066555748 created [22:06:19]Thread 3066699108 joined [22:06:19]Waiting for new connection... [22:06:19] Sock 7.Parse request [22:06:19]Sock 7.Check first char [22:06:19]Sock 7.First char is OK [22:06:19]request: POST /json_proto HTTP/1.0 [22:06:19]Method: POST [22:06:19]URL: /json_proto [22:06:19]Method is POST - this is cgi request [22:06:19]url: /json_proto [22:06:19]query_string will be loaded in cgi processing [22:06:19]execute_cgi json_proto POST (null) [22:06:19]execute_cgi path=json_proto method=POST [22:06:19]POST find Content-Length [22:06:19]Host: 172.17.53.68:8080 [22:06:19]Content-Length: 641 [22:06:19]Content-Type: application/json [22:06:19] [22:06:19]POST finish read [22:06:19]Found Content-Length = 641 [22:06:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76695", "tax_sys" : 0, "items" : [ { "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 59.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:06:19]execute_script... [22:06:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76695", "tax_sys" : 0, "items" : [ { "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 59.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:06:19]POST & json_proto [22:06:19]process_json_proto [22:06:19]json parsed OK: [22:06:19]protocol is kg_v1.0 [22:06:19]action value=close_receipt [22:06:19]process_action close_receipt [22:06:19]cmd_close_receipt [22:06:19]MH_GetDate [22:06:19]Write to MH i2c: F0 00 00 3F 29 57 [22:06:19]Write i2c OK [22:06:19]MH_I2C_Read... [22:06:19]Read from MH i2c: F0 [22:06:19]MH_I2C_Read... [22:06:19]Read from MH i2c: F0 09 00 [22:06:19]MH_I2C_Read... [22:06:19]Read from MH i2c: F0 09 00 3F 29 00 E5 7E 15 67 C5 A4 76 66 84 [22:06:19]GetLastDocTimeStamp 1729460671 [22:06:19]current date 1729461989 [22:06:19]FM_GetShiftState [22:06:19]SAM_PROTO_GetShiftState [22:06:19]wFMCommunicate request_size=4 [22:06:19]MH_SAM_APDU [22:06:19]CAPDU: 80 13 01 00 [22:06:19]Write to MH i2c: E2 08 00 40 29 80 13 01 00 00 00 00 00 E6 [22:06:19]Write i2c OK [22:06:19]MH_I2C_Read... [22:06:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:06:19]Read from MH i2c: E2 [22:06:19]MH_I2C_Read... [22:06:19]Read from MH i2c: E2 0E 00 [22:06:19]MH_I2C_Read... [22:06:19]Read from MH i2c: E2 0E 00 40 29 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 3B [22:06:19]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [22:06:19]wFMCommunicate OK [22:06:19]SAM_PROTO_GetShiftState done [22:06:19]FM_GetShiftState done [22:06:19]opened in 1729383299 [22:06:19]opened+sec_in_day 1729469699 [22:06:19]quantity*price = 5900 [22:06:19]sum+1 = 5901 [22:06:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 59.00 ÐСП 1% : 0.52 ÐДС 12% : 6.26 Ðаличными: 59.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 74 20.10.2024 22:06 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37226 ФПД: 271321821139563 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T220629&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37226&fm=271321821139563&tin=02508201610067®Number=0000000000098149&sum=5900 0 [22:06:20]StoreToDocumentArchive [22:06:20]shift 461 fd 37226 [22:06:20]save to /storage/0461/doc_00037226 [22:06:20]save last doc name /storage/0461/doc_00037226 to /storage/kkm_last_doc_name [22:06:20]save OK [22:06:20]Clear old archive folders... [22:06:20]ProcessDocumentItem done err = 0, tmpTLVsize=281 [22:06:20]tlvbuf is 009D68D0 [22:06:20]SAM_PROTO_ClearQueue [22:06:20]wFMCommunicate request_size=4 [22:06:20]MH_SAM_APDU [22:06:20]CAPDU: 80 09 00 00 [22:06:20]Write to MH i2c: E2 08 00 4D 29 80 09 00 00 00 00 00 00 E8 [22:06:20]Write i2c OK [22:06:20]MH_I2C_Read... [22:06:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:06:20]Read from MH i2c: E2 [22:06:20]MH_I2C_Read... [22:06:20]Read from MH i2c: E2 03 00 [22:06:20]MH_I2C_Read... [22:06:20]Read from MH i2c: E2 03 00 4D 29 00 90 00 EA [22:06:20]RAPDU: 90 00 [22:06:20]wFMCommunicate OK [22:06:20]SAM_PROTO_ClearQueue done [22:06:20]KKMCreateOFDPacket [22:06:20]OFDProtocolAddRootSTLVToBuf [22:06:20]FM_MakeSignedData [22:06:20]FM_MakeSignedData [22:06:20]SAM_PROTO_SignData [22:06:20]wFMCommunicate request_size=4 [22:06:20]MH_SAM_APDU [22:06:20]CAPDU: 80 0D 01 02 [22:06:20]Write to MH i2c: E2 08 00 4E 29 80 0D 01 02 00 00 00 00 F0 [22:06:20]Write i2c OK [22:06:20]MH_I2C_Read... [22:06:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:06:20]Read from MH i2c: E2 [22:06:20]MH_I2C_Read... [22:06:20]Read from MH i2c: E2 03 00 [22:06:20]MH_I2C_Read... [22:06:20]Read from MH i2c: E2 03 00 4E 29 00 90 00 EB [22:06:20]RAPDU: 90 00 [22:06:20]wFMCommunicate OK [22:06:20]wFMCommunicate request_size=255 [22:06:20]MH_SAM_APDU [22:06:20]CAPDU: 80 0D 02 02 FA 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 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 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 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 4A 00 00 00 F4 03 04 00 E5 7E 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 [22:06:20]Write to MH i2c: E2 02 01 4F 29 80 0D 02 02 FA 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 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 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 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 4A 00 00 00 F4 03 04 00 E5 7E 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 00 7A [22:06:20]Write i2c OK [22:06:20]MH_I2C_Read... [22:06:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:06:20]Read from MH i2c: E2 [22:06:20]MH_I2C_Read... [22:06:20]Read from MH i2c: E2 03 00 [22:06:20]MH_I2C_Read... [22:06:20]Read from MH i2c: E2 03 00 4F 29 00 90 00 EC [22:06:20]RAPDU: 90 00 [22:06:20]wFMCommunicate OK [22:06:20]wFMCommunicate request_size=40 [22:06:20]MH_SAM_APDU [22:06:20]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 6A 91 00 00 35 04 06 00 F6 C4 08 C4 D2 6B [22:06:20]Write to MH i2c: E2 2B 00 50 29 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 6A 91 00 00 35 04 06 00 F6 C4 08 C4 D2 6B 00 00 6E [22:06:20]Write i2c OK [22:06:20]MH_I2C_Read... [22:06:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:06:21]Read from MH i2c: E2 [22:06:21]MH_I2C_Read... [22:06:21]Read from MH i2c: E2 03 00 [22:06:21]MH_I2C_Read... [22:06:21]Read from MH i2c: E2 03 00 50 29 00 90 00 ED [22:06:21]RAPDU: 90 00 [22:06:21]wFMCommunicate OK [22:06:21]wFMCommunicate request_size=4 [22:06:21]MH_SAM_APDU [22:06:21]CAPDU: 80 0D 03 02 [22:06:21]Write to MH i2c: E2 08 00 51 29 80 0D 03 02 00 00 00 00 F5 [22:06:21]Write i2c OK [22:06:21]MH_I2C_Read... [22:06:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:06:21]Read from MH i2c: E2 [22:06:21]MH_I2C_Read... [22:06:21]Read from MH i2c: E2 0B 00 [22:06:21]MH_I2C_Read... [22:06:21]Read from MH i2c: E2 0B 00 51 29 00 D1 5D F1 3E 71 84 21 0C 90 00 75 [22:06:21]RAPDU: D1 5D F1 3E 71 84 21 0C 90 00 [22:06:21]wFMCommunicate OK [22:06:21]SAM_PROTO_SignData done [22:06:21]FM_MakeSignedData done [22:06:21]CreateOFDProtocolMessage [22:06:21]wFMCommunicate request_size=4 [22:06:21]MH_SAM_APDU [22:06:21]CAPDU: 80 11 00 00 [22:06:21]Write to MH i2c: E2 08 00 52 29 80 11 00 00 00 00 00 00 F5 [22:06:21]Write i2c OK [22:06:21]MH_I2C_Read... [22:06:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:06:21]Read from MH i2c: E2 [22:06:21]MH_I2C_Read... [22:06:21]Read from MH i2c: E2 17 00 [22:06:21]MH_I2C_Read... [22:06:21]Read from MH i2c: E2 17 00 52 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 48 [22:06:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [22:06:21]wFMCommunicate OK [22:06:21]CreateOFDProtocolMessage done [22:06:21]OFDSenderStorePacket 37226 [22:06:21]StoreOFDPacket docnum=37226 [22:06:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 2D 01 00 00 8B 22 25 01 66 69 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 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 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 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 4A 00 00 00 F4 03 04 00 E5 7E 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 6A 91 00 00 35 04 06 00 F6 C4 08 C4 D2 6B D1 5D F1 3E 71 84 21 0C [22:06:21]CheckFolder [22:06:21]dirname=/storage/ofd_packets [22:06:21]CheckFolder done [22:06:21]ProducePacketName [22:06:21]name=ofd_packets/00037226 [22:06:21]NVStorageSaveData ofd_packets/00037226 [22:06:21]File name is /storage/ofd_packets/00037226 [22:06:21]Write 331 bytes [22:06:21]NVStorageSaveData done [22:06:21]OFDSenderStorePacket done [22:06:21]KKMCreateOFDPacket done [22:06:21]NVStorageSaveData kkm_last_timestamp [22:06:21]File name is /storage/kkm_last_timestamp [22:06:21]Write 4 bytes [22:06:21]NVStorageSaveData done [22:06:21]ExternCall_PrintAddStr [22:06:21]wPrintStart [22:06:21]Write to MH i2c: 01 00 00 53 29 7C [22:06:21]Write i2c OK [22:06:21]MH_I2C_Read... [22:06:21]Read from MH i2c: 01 [22:06:21]MH_I2C_Read... [22:06:21]Read from MH i2c: 01 07 00 [22:06:21]MH_I2C_Read... [22:06:21]Read from MH i2c: 01 07 00 53 29 00 00 00 00 00 FF 0F 91 [22:06:21]RasterBufferAndPrint [22:06:21]line Счет N : (3)76695 [22:06:21]line ИÐÐ: 02508201610067 [22:06:21]line Контрольно-КаÑÑовый Чек [22:06:21]line ПРОДÐЖР[22:06:21]line Товар: 4607065001445 [22:06:21]line Шок батончик Snickers 50,5г [22:06:21]line 1.000 * 59.00 [22:06:21]line = 59.00 [22:06:21]line ÐДС 12% ÐСП 1% [22:06:21]line > о реализуемом товаре [22:06:21]line ИТОГО: 59.00 [22:06:21]line ÐСП 1% : 0.52 [22:06:21]line ÐДС 12% : 6.26 [22:06:21]line Ðаличными: 59.00 [22:06:21]line Безнал.: 0.00 [22:06:21]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [22:06:21]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [22:06:21]line СÐО: Общий режим [22:06:21]line Чек 74 20.10.2024 22:06 [22:06:21]line Смена: 461 ФФД: 1.0 [22:06:21]line ЗÐМ: 0300000235 [22:06:21]line РÐМ: 0000000000098149 [22:06:21]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [22:06:21]line ФМ: 0000000000965372 [22:06:21]line ФД: 37226 [22:06:21]line ФПД: 271321821139563 [22:06:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T220629&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37226&fm=271321821139563&tin=02508201610067®Number=0000000000098149&sum=5900 [22:06:21]line 0 [22:06:21]OFD Sender: Processing packet 37226 [packets to send 25, broken 24] [22:06:21]ProducePacketName [22:06:21]name=ofd_packets/00037226 [22:06:21]OFD Sender: To server: ‡•öpG, [22:06:21]CommunicateWithHost lk.salyk.kg:30040 [22:06:21]ConnectInit lk.salyk.kg [22:06:21]written 0, free lines is 4095 [22:06:21]Connected sock=10 [22:06:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 2D 01 00 00 8B 22 25 01 66 69 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 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 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 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 4A 00 00 00 F4 03 04 00 E5 7E 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 6A 91 00 00 35 04 06 00 F6 C4 08 C4 D2 6B D1 5D F1 3E 71 84 21 0C [22:06:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 3F 21 47 00 87 13 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 6A 91 00 00 F4 03 04 00 76 27 15 67 B6 04 01 00 00 9B 5C 7F FA 70 96 C2 67 [22:06:21]CommunicateWithHost err = 0 [22:06:21]CheckOFDResponse [22:06:21]1017 (14) - 77093643461234 [22:06:21]1041 (16) - 0000000000965372 [22:06:21]1040 (4) - 37226 [22:06:21]1012 (4) - 20.10.2024 15:53 [22:06:21]1206 (1) - 0 [22:06:21]OFD Sender: Remove packet 37226 [22:06:21]ProducePacketName [22:06:21]name=ofd_packets/00037226 [22:06:21]NVStorageDeleteData [22:06:21]Write to MH i2c: 01 00 00 7B 29 A4 [22:06:21]Write i2c OK [22:06:21]MH_I2C_Read... [22:06:21]Read from MH i2c: 01 [22:06:21]MH_I2C_Read... [22:06:21]Read from MH i2c: 01 07 00 [22:06:21]MH_I2C_Read... [22:06:21]Read from MH i2c: 01 07 00 7B 29 00 00 00 00 00 26 0D DE [22:06:21]RasterBufferAndPrint [22:06:21]line [22:06:21]line [22:06:21]line [22:06:21]line [22:06:21]line [22:06:21]written 0, free lines is 3374 [22:06:21]process_action close_receipt done [22:06:21]requested_data is exist [22:06:21]produce_requested_data [22:06:21]requested_item fm.sn is exist - process it [22:06:21]wFMCommunicate request_size=4 [22:06:21]MH_SAM_APDU [22:06:21]CAPDU: 80 11 00 00 [22:06:21]Write to MH i2c: E2 08 00 82 29 80 11 00 00 00 00 00 00 25 [22:06:21]Write i2c OK [22:06:21]MH_I2C_Read... [22:06:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:06:22]Read from MH i2c: E2 [22:06:22]MH_I2C_Read... [22:06:22]Read from MH i2c: E2 17 00 [22:06:22]MH_I2C_Read... [22:06:22]Read from MH i2c: E2 17 00 82 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 78 [22:06:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [22:06:22]wFMCommunicate OK [22:06:22]requested_item fd.num is exist - process it [22:06:22]SAM_PROTO_GetFieldsCounters [22:06:22]wFMCommunicate request_size=4 [22:06:22]MH_SAM_APDU [22:06:22]CAPDU: 80 13 00 00 [22:06:22]Write to MH i2c: E2 08 00 83 29 80 13 00 00 00 00 00 00 28 [22:06:22]Write i2c OK [22:06:22]MH_I2C_Read... [22:06:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:06:22]Read from MH i2c: E2 [22:06:22]MH_I2C_Read... [22:06:22]Read from MH i2c: E2 62 00 [22:06:22]MH_I2C_Read... [22:06:22]Read from MH i2c: E2 62 00 83 29 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 6A 91 00 00 0E 04 04 00 CD 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 F6 [22:06: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 6A 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 4A 00 00 00 5E 04 04 00 4A 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:06:22]wFMCommunicate OK [22:06:22]SAM_PROTO_GetFieldsCounters done [22:06:22]requested_item shift.num is exist - process it [22:06:22]requested_item shift.opened is exist - process it [22:06:22]req_shift_opened [22:06:22]FM_GetShiftState [22:06:22]SAM_PROTO_GetShiftState [22:06:22]wFMCommunicate request_size=4 [22:06:22]MH_SAM_APDU [22:06:22]CAPDU: 80 13 01 00 [22:06:22]Write to MH i2c: E2 08 00 84 29 80 13 01 00 00 00 00 00 2A [22:06:22]Write i2c OK [22:06:22]MH_I2C_Read... [22:06:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:06:22]Read from MH i2c: E2 [22:06:22]MH_I2C_Read... [22:06:22]Read from MH i2c: E2 0E 00 [22:06:22]MH_I2C_Read... [22:06:22]Read from MH i2c: E2 0E 00 84 29 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 7F [22:06:22]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [22:06:22]wFMCommunicate OK [22:06:22]SAM_PROTO_GetShiftState done [22:06:22]FM_GetShiftState done [22:06:22]req_shift_opened done [22:06:22]requested_item shift.open_date is exist - process it [22:06:22]req_shift_open_date [22:06:22]req_shift_open_date done [22:06:22]produce_requested_data done [22:06:22]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37226,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [22:06:22]process_action_free close_receipt [22:06:22]json_value_free [22:06:22]json_value_free done [22:06:22]process_json_proto returns [22:06:22]Send response to host [22:06:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37226,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [22:06:22]free response buf [22:06:22]execute_script done [22:06:22]execute_script returns [22:06:22]free content buf [22:06:22]Sock 7.Close socket [22:06:22]Sock 7.Thread stoped [22:06:22]OFD Sender: No OFD packet to send [22:06:27]OFD Sender: No OFD packet to send [22:06:32]OFD Sender: No OFD packet to send [22:06:37]OFD Sender: No OFD packet to send [22:06:42]OFD Sender: No OFD packet to send [22:06:47]OFD Sender: No OFD packet to send [22:06:52]OFD Sender: No OFD packet to send [22:06:57]OFD Sender: No OFD packet to send [22:07:02]OFD Sender: No OFD packet to send [22:07:07]OFD Sender: No OFD packet to send [22:07:12]OFD Sender: No OFD packet to send [22:07:17]OFD Sender: No OFD packet to send [22:07:22]OFD Sender: No OFD packet to send [22:07:27]OFD Sender: No OFD packet to send [22:07:32]OFD Sender: No OFD packet to send [22:07:37]OFD Sender: No OFD packet to send [22:07:42]OFD Sender: No OFD packet to send [22:07:47]OFD Sender: No OFD packet to send [22:07:52]OFD Sender: No OFD packet to send [22:07:57]OFD Sender: No OFD packet to send [22:08:02]OFD Sender: No OFD packet to send [22:08:07]OFD Sender: No OFD packet to send [22:08:12]OFD Sender: No OFD packet to send [22:08:17]OFD Sender: No OFD packet to send [22:08:22]OFD Sender: No OFD packet to send [22:08:27]OFD Sender: No OFD packet to send [22:08:32]OFD Sender: No OFD packet to send [22:08:37]OFD Sender: No OFD packet to send [22:08:42]OFD Sender: No OFD packet to send [22:08:47]OFD Sender: No OFD packet to send [22:08:52]OFD Sender: No OFD packet to send [22:08:57]OFD Sender: No OFD packet to send [22:09:02]OFD Sender: No OFD packet to send [22:09:07]OFD Sender: No OFD packet to send [22:09:12]OFD Sender: No OFD packet to send [22:09:17]OFD Sender: No OFD packet to send [22:09:22]OFD Sender: No OFD packet to send [22:09:27]OFD Sender: No OFD packet to send [22:09:32]OFD Sender: No OFD packet to send [22:09:37]OFD Sender: No OFD packet to send [22:09:42]OFD Sender: No OFD packet to send [22:09:47]OFD Sender: No OFD packet to send [22:09:52]OFD Sender: No OFD packet to send [22:09:57]OFD Sender: No OFD packet to send [22:10:02]OFD Sender: No OFD packet to send [22:10:07]OFD Sender: No OFD packet to send [22:10:12]OFD Sender: No OFD packet to send [22:10:17]OFD Sender: No OFD packet to send [22:10:22]OFD Sender: No OFD packet to send [22:10:27]OFD Sender: No OFD packet to send [22:10:32]OFD Sender: No OFD packet to send [22:10:37]OFD Sender: No OFD packet to send [22:10:42]OFD Sender: No OFD packet to send [22:10:47]OFD Sender: No OFD packet to send [22:10:52]OFD Sender: No OFD packet to send [22:10:57]OFD Sender: No OFD packet to send [22:11:02]OFD Sender: No OFD packet to send [22:11:07]OFD Sender: No OFD packet to send [22:11:12]OFD Sender: No OFD packet to send [22:11:17]OFD Sender: No OFD packet to send [22:11:22]OFD Sender: No OFD packet to send [22:11:27]OFD Sender: No OFD packet to send [22:11:32]OFD Sender: No OFD packet to send [22:11:37]OFD Sender: No OFD packet to send [22:11:42]OFD Sender: No OFD packet to send [22:11:47]OFD Sender: No OFD packet to send [22:11:52]OFD Sender: No OFD packet to send [22:11:57]OFD Sender: No OFD packet to send [22:12:02]OFD Sender: No OFD packet to send [22:12:07]OFD Sender: No OFD packet to send [22:12:12]OFD Sender: No OFD packet to send [22:12:17]OFD Sender: No OFD packet to send [22:12:22]OFD Sender: No OFD packet to send [22:12:27]OFD Sender: No OFD packet to send [22:12:32]OFD Sender: No OFD packet to send [22:12:37]OFD Sender: No OFD packet to send [22:12:42]OFD Sender: No OFD packet to send [22:12:47]OFD Sender: No OFD packet to send [22:12:52]OFD Sender: No OFD packet to send [22:12:57]OFD Sender: No OFD packet to send [22:13:02]OFD Sender: No OFD packet to send [22:13:07]OFD Sender: No OFD packet to send [22:13:12]OFD Sender: No OFD packet to send [22:13:17]OFD Sender: No OFD packet to send [22:13:22]OFD Sender: No OFD packet to send [22:13:27]OFD Sender: No OFD packet to send [22:13:32]OFD Sender: No OFD packet to send [22:13:37]OFD Sender: No OFD packet to send [22:13:42]OFD Sender: No OFD packet to send [22:13:47]OFD Sender: No OFD packet to send [22:13:52]OFD Sender: No OFD packet to send [22:13:57]OFD Sender: No OFD packet to send [22:14:02]OFD Sender: No OFD packet to send [22:14:07]OFD Sender: No OFD packet to send [22:14:12]OFD Sender: No OFD packet to send [22:14:17]OFD Sender: No OFD packet to send [22:14:22]OFD Sender: No OFD packet to send [22:14:27]OFD Sender: No OFD packet to send [22:14:32]OFD Sender: No OFD packet to send [22:14:37]OFD Sender: No OFD packet to send [22:14:42]OFD Sender: No OFD packet to send [22:14:47]OFD Sender: No OFD packet to send [22:14:52]OFD Sender: No OFD packet to send [22:14:57]OFD Sender: No OFD packet to send [22:15:02]OFD Sender: No OFD packet to send [22:15:07]OFD Sender: No OFD packet to send [22:15:12]OFD Sender: No OFD packet to send [22:15:17]OFD Sender: No OFD packet to send [22:15:22]OFD Sender: No OFD packet to send [22:15:27]OFD Sender: No OFD packet to send [22:15:32]OFD Sender: No OFD packet to send [22:15:37]OFD Sender: No OFD packet to send [22:15:42]OFD Sender: No OFD packet to send [22:15:47]OFD Sender: No OFD packet to send [22:15:52]OFD Sender: No OFD packet to send [22:15:57]OFD Sender: No OFD packet to send [22:16:02]OFD Sender: No OFD packet to send [22:16:07]OFD Sender: No OFD packet to send [22:16:12]OFD Sender: No OFD packet to send [22:16:17]OFD Sender: No OFD packet to send [22:16:22]OFD Sender: No OFD packet to send [22:16:27]OFD Sender: No OFD packet to send [22:16:32]OFD Sender: No OFD packet to send [22:16:37]OFD Sender: No OFD packet to send [22:16:42]OFD Sender: No OFD packet to send [22:16:47]OFD Sender: No OFD packet to send [22:16:52]OFD Sender: No OFD packet to send [22:16:57]OFD Sender: No OFD packet to send [22:17:02]OFD Sender: No OFD packet to send [22:17:07]OFD Sender: No OFD packet to send [22:17:12]OFD Sender: No OFD packet to send [22:17:17]OFD Sender: No OFD packet to send [22:17:22]OFD Sender: No OFD packet to send [22:17:27]OFD Sender: No OFD packet to send [22:17:32]OFD Sender: No OFD packet to send [22:17:37]OFD Sender: No OFD packet to send [22:17:42]OFD Sender: No OFD packet to send [22:17:47]OFD Sender: No OFD packet to send [22:17:52]OFD Sender: No OFD packet to send [22:17:57]OFD Sender: No OFD packet to send [22:18:02]OFD Sender: No OFD packet to send [22:18:07]OFD Sender: No OFD packet to send [22:18:12]OFD Sender: No OFD packet to send [22:18:17]OFD Sender: No OFD packet to send [22:18:22]OFD Sender: No OFD packet to send [22:18:27]OFD Sender: No OFD packet to send [22:18:32]OFD Sender: No OFD packet to send [22:18:37]OFD Sender: No OFD packet to send [22:18:42]OFD Sender: No OFD packet to send [22:18:47]OFD Sender: No OFD packet to send [22:18:52]OFD Sender: No OFD packet to send [22:18:57]OFD Sender: No OFD packet to send [22:19:02]OFD Sender: No OFD packet to send [22:19:07]OFD Sender: No OFD packet to send [22:19:12]OFD Sender: No OFD packet to send [22:19:17]OFD Sender: No OFD packet to send [22:19:22]OFD Sender: No OFD packet to send [22:19:27]OFD Sender: No OFD packet to send [22:19:32]OFD Sender: No OFD packet to send [22:19:37]OFD Sender: No OFD packet to send [22:19:42]OFD Sender: No OFD packet to send [22:19:47]OFD Sender: No OFD packet to send [22:19:53]OFD Sender: No OFD packet to send [22:19:58]OFD Sender: No OFD packet to send [22:20:03]OFD Sender: No OFD packet to send [22:20:08]OFD Sender: No OFD packet to send [22:20:13]OFD Sender: No OFD packet to send [22:20:18]OFD Sender: No OFD packet to send [22:20:23]OFD Sender: No OFD packet to send [22:20:28]OFD Sender: No OFD packet to send [22:20:33]OFD Sender: No OFD packet to send [22:20:38]OFD Sender: No OFD packet to send [22:20:43]OFD Sender: No OFD packet to send [22:20:48]OFD Sender: No OFD packet to send [22:20:53]OFD Sender: No OFD packet to send [22:20:58]OFD Sender: No OFD packet to send [22:21:03]OFD Sender: No OFD packet to send [22:21:08]OFD Sender: No OFD packet to send [22:21:13]OFD Sender: No OFD packet to send [22:21:18]OFD Sender: No OFD packet to send [22:21:23]OFD Sender: No OFD packet to send [22:21:28]OFD Sender: No OFD packet to send [22:21:33]OFD Sender: No OFD packet to send [22:21:38]OFD Sender: No OFD packet to send [22:21:43]OFD Sender: No OFD packet to send [22:21:48]OFD Sender: No OFD packet to send [22:21:53]OFD Sender: No OFD packet to send [22:21:58]OFD Sender: No OFD packet to send [22:22:03]OFD Sender: No OFD packet to send [22:22:08]OFD Sender: No OFD packet to send [22:22:13]OFD Sender: No OFD packet to send [22:22:18]OFD Sender: No OFD packet to send [22:22:23]OFD Sender: No OFD packet to send [22:22:28]OFD Sender: No OFD packet to send [22:22:33]OFD Sender: No OFD packet to send [22:22:38]OFD Sender: No OFD packet to send [22:22:43]OFD Sender: No OFD packet to send [22:22:48]OFD Sender: No OFD packet to send [22:22:53]OFD Sender: No OFD packet to send [22:22:58]OFD Sender: No OFD packet to send [22:23:03]OFD Sender: No OFD packet to send [22:23:08]OFD Sender: No OFD packet to send [22:23:13]OFD Sender: No OFD packet to send [22:23:18]OFD Sender: No OFD packet to send [22:23:23]OFD Sender: No OFD packet to send [22:23:28]OFD Sender: No OFD packet to send [22:23:33]OFD Sender: No OFD packet to send [22:23:38]OFD Sender: No OFD packet to send [22:23:43]OFD Sender: No OFD packet to send [22:23:48]OFD Sender: No OFD packet to send [22:23:53]OFD Sender: No OFD packet to send [22:23:58]OFD Sender: No OFD packet to send [22:24:03]OFD Sender: No OFD packet to send [22:24:08]OFD Sender: No OFD packet to send [22:24:13]OFD Sender: No OFD packet to send [22:24:18]OFD Sender: No OFD packet to send [22:24:23]OFD Sender: No OFD packet to send [22:24:28]OFD Sender: No OFD packet to send [22:24:33]OFD Sender: No OFD packet to send [22:24:38]OFD Sender: No OFD packet to send [22:24:43]OFD Sender: No OFD packet to send [22:24:44]accept exits with 9 [22:24:44]New connection [22:24:44]New thread 3066699108 created [22:24:44]Thread 3066555748 joined [22:24:44]Waiting for new connection... [22:24:44] Sock 9.Parse request [22:24:44]Sock 9.Check first char [22:24:44]Sock 9.First char is OK [22:24:44]request: POST /json_proto HTTP/1.0 [22:24:44]Method: POST [22:24:44]URL: /json_proto [22:24:44]Method is POST - this is cgi request [22:24:44]url: /json_proto [22:24:44]query_string will be loaded in cgi processing [22:24:44]execute_cgi json_proto POST (null) [22:24:44]execute_cgi path=json_proto method=POST [22:24:44]POST find Content-Length [22:24:44]Host: 172.17.53.68:8080 [22:24:44]Content-Length: 628 [22:24:44]Content-Type: application/json [22:24:44] [22:24:44]POST finish read [22:24:44]Found Content-Length = 628 [22:24:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76696", "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" ] } } [22:24:44]execute_script... [22:24: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)76696", "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" ] } } [22:24:44]POST & json_proto [22:24:44]process_json_proto [22:24:44]json parsed OK: [22:24:44]protocol is kg_v1.0 [22:24:44]action value=close_receipt [22:24:44]process_action close_receipt [22:24:44]cmd_close_receipt [22:24:44]MH_GetDate [22:24:44]Write to MH i2c: F0 00 00 85 29 9D [22:24:44]Write i2c OK [22:24:44]MH_I2C_Read... [22:24:44]Read from MH i2c: F0 [22:24:44]MH_I2C_Read... [22:24:44]Read from MH i2c: F0 09 00 [22:24:44]MH_I2C_Read... [22:24:44]Read from MH i2c: F0 09 00 85 29 00 36 83 15 67 C5 A4 76 66 20 [22:24:44]GetLastDocTimeStamp 1729461989 [22:24:44]current date 1729463094 [22:24:44]FM_GetShiftState [22:24:44]SAM_PROTO_GetShiftState [22:24:44]wFMCommunicate request_size=4 [22:24:44]MH_SAM_APDU [22:24:44]CAPDU: 80 13 01 00 [22:24:44]Write to MH i2c: E2 08 00 86 29 80 13 01 00 00 00 00 00 2C [22:24:44]Write i2c OK [22:24:44]MH_I2C_Read... [22:24:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:24:44]Read from MH i2c: E2 [22:24:44]MH_I2C_Read... [22:24:44]Read from MH i2c: E2 0E 00 [22:24:44]MH_I2C_Read... [22:24:44]Read from MH i2c: E2 0E 00 86 29 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 81 [22:24:44]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [22:24:44]wFMCommunicate OK [22:24:44]SAM_PROTO_GetShiftState done [22:24:44]FM_GetShiftState done [22:24:44]opened in 1729383299 [22:24:44]opened+sec_in_day 1729469699 [22:24:44]quantity*price = 4900 [22:24:44]sum+1 = 4901 [22:24:44]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 49.00 ÐСП 1% : 0.43 ÐДС 12% : 5.20 Ðаличными: 49.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 75 20.10.2024 22:24 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37227 ФПД: 169029588016977 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T222454&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37227&fm=169029588016977&tin=02508201610067®Number=0000000000098149&sum=4900 0 [22:24:45]StoreToDocumentArchive [22:24:45]shift 461 fd 37227 [22:24:45]save to /storage/0461/doc_00037227 [22:24:45]save last doc name /storage/0461/doc_00037227 to /storage/kkm_last_doc_name [22:24:45]save OK [22:24:45]Clear old archive folders... [22:24:45]ProcessDocumentItem done err = 0, tmpTLVsize=272 [22:24:45]tlvbuf is 009F5D90 [22:24:45]SAM_PROTO_ClearQueue [22:24:45]wFMCommunicate request_size=4 [22:24:45]MH_SAM_APDU [22:24:45]CAPDU: 80 09 00 00 [22:24:45]Write to MH i2c: E2 08 00 93 29 80 09 00 00 00 00 00 00 2E [22:24:45]Write i2c OK [22:24:45]MH_I2C_Read... [22:24:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:24:45]Read from MH i2c: E2 [22:24:45]MH_I2C_Read... [22:24:45]Read from MH i2c: E2 03 00 [22:24:45]MH_I2C_Read... [22:24:45]Read from MH i2c: E2 03 00 93 29 00 90 00 30 [22:24:45]RAPDU: 90 00 [22:24:45]wFMCommunicate OK [22:24:45]SAM_PROTO_ClearQueue done [22:24:45]KKMCreateOFDPacket [22:24:45]OFDProtocolAddRootSTLVToBuf [22:24:45]FM_MakeSignedData [22:24:45]FM_MakeSignedData [22:24:45]SAM_PROTO_SignData [22:24:45]wFMCommunicate request_size=4 [22:24:45]MH_SAM_APDU [22:24:45]CAPDU: 80 0D 01 02 [22:24:45]Write to MH i2c: E2 08 00 94 29 80 0D 01 02 00 00 00 00 36 [22:24:45]Write i2c OK [22:24:45]MH_I2C_Read... [22:24:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:24:45]Read from MH i2c: E2 [22:24:45]MH_I2C_Read... [22:24:45]Read from MH i2c: E2 03 00 [22:24:45]MH_I2C_Read... [22:24:45]Read from MH i2c: E2 03 00 94 29 00 90 00 31 [22:24:45]RAPDU: 90 00 [22:24:45]wFMCommunicate OK [22:24:45]wFMCommunicate request_size=255 [22:24:45]MH_SAM_APDU [22:24:45]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 4B 00 00 00 F4 03 04 00 36 83 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 [22:24:45]Write to MH i2c: E2 02 01 95 29 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 4B 00 00 00 F4 03 04 00 36 83 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 00 00 EA [22:24:45]Write i2c OK [22:24:45]MH_I2C_Read... [22:24:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:24:45]Read from MH i2c: E2 [22:24:45]MH_I2C_Read... [22:24:45]Read from MH i2c: E2 03 00 [22:24:45]MH_I2C_Read... [22:24:45]Read from MH i2c: E2 03 00 95 29 00 90 00 32 [22:24:45]RAPDU: 90 00 [22:24:45]wFMCommunicate OK [22:24:45]wFMCommunicate request_size=31 [22:24:45]MH_SAM_APDU [22:24:45]CAPDU: 80 0D 02 02 1A 30 30 39 36 35 33 37 32 10 04 04 00 6B 91 00 00 35 04 06 00 99 BB 44 8C DF 51 [22:24:45]Write to MH i2c: E2 22 00 96 29 80 0D 02 02 1A 00 30 30 39 36 35 33 37 32 10 04 04 00 6B 91 00 00 35 04 06 00 99 BB 44 8C DF 51 00 00 B4 [22:24:45]Write i2c OK [22:24:45]MH_I2C_Read... [22:24:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:24:45]Read from MH i2c: E2 [22:24:45]MH_I2C_Read... [22:24:45]Read from MH i2c: E2 03 00 [22:24:45]MH_I2C_Read... [22:24:45]Read from MH i2c: E2 03 00 96 29 00 90 00 33 [22:24:45]RAPDU: 90 00 [22:24:45]wFMCommunicate OK [22:24:45]wFMCommunicate request_size=4 [22:24:45]MH_SAM_APDU [22:24:45]CAPDU: 80 0D 03 02 [22:24:45]Write to MH i2c: E2 08 00 97 29 80 0D 03 02 00 00 00 00 3B [22:24:45]Write i2c OK [22:24:45]MH_I2C_Read... [22:24:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:24:46]Read from MH i2c: E2 [22:24:46]MH_I2C_Read... [22:24:46]Read from MH i2c: E2 0B 00 [22:24:46]MH_I2C_Read... [22:24:46]Read from MH i2c: E2 0B 00 97 29 00 DF 40 7B 90 B8 18 CF 00 90 00 05 [22:24:46]RAPDU: DF 40 7B 90 B8 18 CF 00 90 00 [22:24:46]wFMCommunicate OK [22:24:46]SAM_PROTO_SignData done [22:24:46]FM_MakeSignedData done [22:24:46]CreateOFDProtocolMessage [22:24:46]wFMCommunicate request_size=4 [22:24:46]MH_SAM_APDU [22:24:46]CAPDU: 80 11 00 00 [22:24:46]Write to MH i2c: E2 08 00 98 29 80 11 00 00 00 00 00 00 3B [22:24:46]Write i2c OK [22:24:46]MH_I2C_Read... [22:24:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:24:46]Read from MH i2c: E2 [22:24:46]MH_I2C_Read... [22:24:46]Read from MH i2c: E2 17 00 [22:24:46]MH_I2C_Read... [22:24:46]Read from MH i2c: E2 17 00 98 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 8E [22:24:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [22:24:46]wFMCommunicate OK [22:24:46]CreateOFDProtocolMessage done [22:24:46]OFDSenderStorePacket 37227 [22:24:46]StoreOFDPacket docnum=37227 [22:24:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 24 01 00 00 3D A4 1C 01 4F DA 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 4B 00 00 00 F4 03 04 00 36 83 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 6B 91 00 00 35 04 06 00 99 BB 44 8C DF 51 DF 40 7B 90 B8 18 CF 00 [22:24:46]CheckFolder [22:24:46]dirname=/storage/ofd_packets [22:24:46]CheckFolder done [22:24:46]ProducePacketName [22:24:46]name=ofd_packets/00037227 [22:24:46]NVStorageSaveData ofd_packets/00037227 [22:24:46]File name is /storage/ofd_packets/00037227 [22:24:46]Write 322 bytes [22:24:46]NVStorageSaveData done [22:24:46]OFDSenderStorePacket done [22:24:46]KKMCreateOFDPacket done [22:24:46]NVStorageSaveData kkm_last_timestamp [22:24:46]File name is /storage/kkm_last_timestamp [22:24:46]Write 4 bytes [22:24:46]NVStorageSaveData done [22:24:46]ExternCall_PrintAddStr [22:24:46]wPrintStart [22:24:46]Write to MH i2c: 01 00 00 99 29 C2 [22:24:46]Write i2c OK [22:24:46]MH_I2C_Read... [22:24:46]Read from MH i2c: 01 [22:24:46]MH_I2C_Read... [22:24:46]Read from MH i2c: 01 07 00 [22:24:46]MH_I2C_Read... [22:24:46]Read from MH i2c: 01 07 00 99 29 00 00 00 00 00 FF 0F D7 [22:24:46]RasterBufferAndPrint [22:24:46]line Счет N : (3)76696 [22:24:46]line ИÐÐ: 02508201610067 [22:24:46]line Контрольно-КаÑÑовый Чек [22:24:46]line ПРОДÐЖР[22:24:46]line Товар: 80942726 [22:24:46]line Р/ж mentos мÑта ролл 16г [22:24:46]line 1.000 * 49.00 [22:24:46]line = 49.00 [22:24:46]line ÐДС 12% ÐСП 1% [22:24:46]line > о реализуемом товаре [22:24:46]line ИТОГО: 49.00 [22:24:46]line ÐСП 1% : 0.43 [22:24:46]line ÐДС 12% : 5.20 [22:24:46]line Ðаличными: 49.00 [22:24:46]line Безнал.: 0.00 [22:24:46]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [22:24:46]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [22:24:46]line СÐО: Общий режим [22:24:46]line Чек 75 20.10.2024 22:24 [22:24:46]line Смена: 461 ФФД: 1.0 [22:24:46]line ЗÐМ: 0300000235 [22:24:46]line РÐМ: 0000000000098149 [22:24:46]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [22:24:46]line ФМ: 0000000000965372 [22:24:46]line ФД: 37227 [22:24:46]line ФПД: 169029588016977 [22:24:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T222454&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37227&fm=169029588016977&tin=02508201610067®Number=0000000000098149&sum=4900 [22:24:46]line 0 [22:24:46]OFD Sender: Processing packet 37227 [packets to send 25, broken 24] [22:24:46]ProducePacketName [22:24:46]name=ofd_packets/00037227 [22:24:46]OFD Sender: To server: ‡•öpG, [22:24:46]CommunicateWithHost lk.salyk.kg:30040 [22:24:46]ConnectInit lk.salyk.kg [22:24:46]written 0, free lines is 4095 [22:24:46]Connected sock=10 [22:24: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 33 37 32 24 01 00 00 3D A4 1C 01 4F DA 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 4B 00 00 00 F4 03 04 00 36 83 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 6B 91 00 00 35 04 06 00 99 BB 44 8C DF 51 DF 40 7B 90 B8 18 CF 00 [22:24:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 CF F9 47 00 24 FD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 6B 91 00 00 F4 03 04 00 C7 2B 15 67 B6 04 01 00 00 1E 1F 62 78 21 06 3F CA [22:24:46]CommunicateWithHost err = 0 [22:24:46]CheckOFDResponse [22:24:46]1017 (14) - 77093643461234 [22:24:46]1041 (16) - 0000000000965372 [22:24:46]1040 (4) - 37227 [22:24:46]1012 (4) - 20.10.2024 16:11 [22:24:46]1206 (1) - 0 [22:24:46]OFD Sender: Remove packet 37227 [22:24:46]ProducePacketName [22:24:46]name=ofd_packets/00037227 [22:24:46]NVStorageDeleteData [22:24:46]Write to MH i2c: 01 00 00 C1 29 EA [22:24:46]Write i2c OK [22:24:46]MH_I2C_Read... [22:24:46]Read from MH i2c: 01 [22:24:46]MH_I2C_Read... [22:24:46]Read from MH i2c: 01 07 00 [22:24:46]MH_I2C_Read... [22:24:46]Read from MH i2c: 01 07 00 C1 29 00 00 00 00 00 01 0D FF [22:24:46]RasterBufferAndPrint [22:24:46]line [22:24:46]line [22:24:46]line [22:24:46]line [22:24:46]line [22:24:46]written 0, free lines is 3335 [22:24:46]process_action close_receipt done [22:24:46]requested_data is exist [22:24:46]produce_requested_data [22:24:46]requested_item fm.sn is exist - process it [22:24:46]wFMCommunicate request_size=4 [22:24:46]MH_SAM_APDU [22:24:46]CAPDU: 80 11 00 00 [22:24:46]Write to MH i2c: E2 08 00 C8 29 80 11 00 00 00 00 00 00 6B [22:24:46]Write i2c OK [22:24:46]MH_I2C_Read... [22:24:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:24:46]Read from MH i2c: E2 [22:24:46]MH_I2C_Read... [22:24:46]Read from MH i2c: E2 17 00 [22:24:46]MH_I2C_Read... [22:24:46]Read from MH i2c: E2 17 00 C8 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 BE [22:24:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [22:24:46]wFMCommunicate OK [22:24:46]requested_item fd.num is exist - process it [22:24:46]SAM_PROTO_GetFieldsCounters [22:24:46]wFMCommunicate request_size=4 [22:24:46]MH_SAM_APDU [22:24:46]CAPDU: 80 13 00 00 [22:24:46]Write to MH i2c: E2 08 00 C9 29 80 13 00 00 00 00 00 00 6E [22:24:46]Write i2c OK [22:24:46]MH_I2C_Read... [22:24:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:24:47]Read from MH i2c: E2 [22:24:47]MH_I2C_Read... [22:24:47]Read from MH i2c: E2 62 00 [22:24:47]MH_I2C_Read... [22:24:47]Read from MH i2c: E2 62 00 C9 29 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 6B 91 00 00 0E 04 04 00 CD 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 40 [22:24: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 6B 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 4B 00 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4C 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:24:47]wFMCommunicate OK [22:24:47]SAM_PROTO_GetFieldsCounters done [22:24:47]requested_item shift.num is exist - process it [22:24:47]requested_item shift.opened is exist - process it [22:24:47]req_shift_opened [22:24:47]FM_GetShiftState [22:24:47]SAM_PROTO_GetShiftState [22:24:47]wFMCommunicate request_size=4 [22:24:47]MH_SAM_APDU [22:24:47]CAPDU: 80 13 01 00 [22:24:47]Write to MH i2c: E2 08 00 CA 29 80 13 01 00 00 00 00 00 70 [22:24:47]Write i2c OK [22:24:47]MH_I2C_Read... [22:24:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:24:47]Read from MH i2c: E2 [22:24:47]MH_I2C_Read... [22:24:47]Read from MH i2c: E2 0E 00 [22:24:47]MH_I2C_Read... [22:24:47]Read from MH i2c: E2 0E 00 CA 29 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 C5 [22:24:47]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [22:24:47]wFMCommunicate OK [22:24:47]SAM_PROTO_GetShiftState done [22:24:47]FM_GetShiftState done [22:24:47]req_shift_opened done [22:24:47]requested_item shift.open_date is exist - process it [22:24:47]req_shift_open_date [22:24:47]req_shift_open_date done [22:24:47]produce_requested_data done [22:24:47]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37227,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [22:24:47]process_action_free close_receipt [22:24:47]json_value_free [22:24:47]json_value_free done [22:24:47]process_json_proto returns [22:24:47]Send response to host [22:24:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37227,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [22:24:47]free response buf [22:24:47]execute_script done [22:24:47]execute_script returns [22:24:47]free content buf [22:24:47]Sock 9.Close socket [22:24:47]Sock 9.Thread stoped [22:24:47]OFD Sender: No OFD packet to send [22:24:52]OFD Sender: No OFD packet to send [22:24:57]OFD Sender: No OFD packet to send [22:25:02]OFD Sender: No OFD packet to send [22:25:07]OFD Sender: No OFD packet to send [22:25:12]OFD Sender: No OFD packet to send [22:25:17]OFD Sender: No OFD packet to send [22:25:22]OFD Sender: No OFD packet to send [22:25:27]OFD Sender: No OFD packet to send [22:25:32]OFD Sender: No OFD packet to send [22:25:37]OFD Sender: No OFD packet to send [22:25:42]OFD Sender: No OFD packet to send [22:25:47]OFD Sender: No OFD packet to send [22:25:52]OFD Sender: No OFD packet to send [22:25:57]OFD Sender: No OFD packet to send [22:26:02]OFD Sender: No OFD packet to send [22:26:07]OFD Sender: No OFD packet to send [22:26:12]OFD Sender: No OFD packet to send [22:26:17]OFD Sender: No OFD packet to send [22:26:22]OFD Sender: No OFD packet to send [22:26:27]OFD Sender: No OFD packet to send [22:26:32]OFD Sender: No OFD packet to send [22:26:37]OFD Sender: No OFD packet to send [22:26:42]OFD Sender: No OFD packet to send [22:26:47]OFD Sender: No OFD packet to send [22:26:52]OFD Sender: No OFD packet to send [22:26:57]OFD Sender: No OFD packet to send [22:27:02]OFD Sender: No OFD packet to send [22:27:07]OFD Sender: No OFD packet to send [22:27:12]OFD Sender: No OFD packet to send [22:27:17]OFD Sender: No OFD packet to send [22:27:22]OFD Sender: No OFD packet to send [22:27:27]OFD Sender: No OFD packet to send [22:27:32]OFD Sender: No OFD packet to send [22:27:37]OFD Sender: No OFD packet to send [22:27:42]OFD Sender: No OFD packet to send [22:27:47]OFD Sender: No OFD packet to send [22:27:52]OFD Sender: No OFD packet to send [22:27:57]OFD Sender: No OFD packet to send [22:28:02]OFD Sender: No OFD packet to send [22:28:07]OFD Sender: No OFD packet to send [22:28:12]OFD Sender: No OFD packet to send [22:28:17]OFD Sender: No OFD packet to send [22:28:22]OFD Sender: No OFD packet to send [22:28:27]OFD Sender: No OFD packet to send [22:28:32]OFD Sender: No OFD packet to send [22:28:37]OFD Sender: No OFD packet to send [22:28:42]OFD Sender: No OFD packet to send [22:28:47]OFD Sender: No OFD packet to send [22:28:52]OFD Sender: No OFD packet to send [22:28:57]OFD Sender: No OFD packet to send [22:29:02]OFD Sender: No OFD packet to send [22:29:07]OFD Sender: No OFD packet to send [22:29:12]OFD Sender: No OFD packet to send [22:29:17]OFD Sender: No OFD packet to send [22:29:22]OFD Sender: No OFD packet to send [22:29:27]OFD Sender: No OFD packet to send [22:29:32]OFD Sender: No OFD packet to send [22:29:37]OFD Sender: No OFD packet to send [22:29:42]OFD Sender: No OFD packet to send [22:29:47]OFD Sender: No OFD packet to send [22:29:52]OFD Sender: No OFD packet to send [22:29:57]OFD Sender: No OFD packet to send [22:30:02]OFD Sender: No OFD packet to send [22:30:07]OFD Sender: No OFD packet to send [22:30:12]OFD Sender: No OFD packet to send [22:30:17]OFD Sender: No OFD packet to send [22:30:22]OFD Sender: No OFD packet to send [22:30:27]OFD Sender: No OFD packet to send [22:30:32]OFD Sender: No OFD packet to send [22:30:37]OFD Sender: No OFD packet to send [22:30:42]OFD Sender: No OFD packet to send [22:30:47]OFD Sender: No OFD packet to send [22:30:52]OFD Sender: No OFD packet to send [22:30:57]OFD Sender: No OFD packet to send [22:31:02]OFD Sender: No OFD packet to send [22:31:07]OFD Sender: No OFD packet to send [22:31:12]OFD Sender: No OFD packet to send [22:31:17]OFD Sender: No OFD packet to send [22:31:22]OFD Sender: No OFD packet to send [22:31:27]OFD Sender: No OFD packet to send [22:31:32]OFD Sender: No OFD packet to send [22:31:37]OFD Sender: No OFD packet to send [22:31:42]OFD Sender: No OFD packet to send [22:31:47]OFD Sender: No OFD packet to send [22:31:52]OFD Sender: No OFD packet to send [22:31:57]OFD Sender: No OFD packet to send [22:32:02]OFD Sender: No OFD packet to send [22:32:07]OFD Sender: No OFD packet to send [22:32:12]OFD Sender: No OFD packet to send [22:32:17]OFD Sender: No OFD packet to send [22:32:22]OFD Sender: No OFD packet to send [22:32:27]OFD Sender: No OFD packet to send [22:32:32]OFD Sender: No OFD packet to send [22:32:37]OFD Sender: No OFD packet to send [22:32:42]OFD Sender: No OFD packet to send [22:32:47]OFD Sender: No OFD packet to send [22:32:52]OFD Sender: No OFD packet to send [22:32:57]OFD Sender: No OFD packet to send [22:33:02]OFD Sender: No OFD packet to send [22:33:07]OFD Sender: No OFD packet to send [22:33:12]OFD Sender: No OFD packet to send [22:33:17]OFD Sender: No OFD packet to send [22:33:22]OFD Sender: No OFD packet to send [22:33:27]OFD Sender: No OFD packet to send [22:33:32]OFD Sender: No OFD packet to send [22:33:37]OFD Sender: No OFD packet to send [22:33:42]OFD Sender: No OFD packet to send [22:33:47]OFD Sender: No OFD packet to send [22:33:52]OFD Sender: No OFD packet to send [22:33:57]OFD Sender: No OFD packet to send [22:34:02]OFD Sender: No OFD packet to send [22:34:07]OFD Sender: No OFD packet to send [22:34:12]OFD Sender: No OFD packet to send [22:34:17]OFD Sender: No OFD packet to send [22:34:22]OFD Sender: No OFD packet to send [22:34:27]OFD Sender: No OFD packet to send [22:34:32]OFD Sender: No OFD packet to send [22:34:37]OFD Sender: No OFD packet to send [22:34:42]OFD Sender: No OFD packet to send [22:34:47]OFD Sender: No OFD packet to send [22:34:52]OFD Sender: No OFD packet to send [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:32]OFD Sender: No OFD packet to send [22:35:37]OFD Sender: No OFD packet to send [22:35:42]OFD Sender: No OFD packet to send [22:35:47]OFD Sender: No OFD packet to send [22:35:52]OFD Sender: No OFD packet to send [22:35:57]OFD Sender: No OFD packet to send [22:36:02]OFD Sender: No OFD packet to send [22:36:07]OFD Sender: No OFD packet to send [22:36:12]OFD Sender: No OFD packet to send [22:36:17]OFD Sender: No OFD packet to send [22:36:22]OFD Sender: No OFD packet to send [22:36:27]OFD Sender: No OFD packet to send [22:36:32]OFD Sender: No OFD packet to send [22:36:37]OFD Sender: No OFD packet to send [22:36:42]OFD Sender: No OFD packet to send [22:36:47]OFD Sender: No OFD packet to send [22:36:52]OFD Sender: No OFD packet to send [22:36:57]OFD Sender: No OFD packet to send [22:37:02]OFD Sender: No OFD packet to send [22:37:07]OFD Sender: No OFD packet to send [22:37:12]OFD Sender: No OFD packet to send [22:37:17]OFD Sender: No OFD packet to send [22:37:22]OFD Sender: No OFD packet to send [22:37:27]OFD Sender: No OFD packet to send [22:37:32]OFD Sender: No OFD packet to send [22:37:37]OFD Sender: No OFD packet to send [22:37:42]OFD Sender: No OFD packet to send [22:37:47]OFD Sender: No OFD packet to send [22:37:52]OFD Sender: No OFD packet to send [22:37:57]OFD Sender: No OFD packet to send [22:38:02]OFD Sender: No OFD packet to send [22:38:07]OFD Sender: No OFD packet to send [22:38:12]OFD Sender: No OFD packet to send [22:38:17]OFD Sender: No OFD packet to send [22:38:22]OFD Sender: No OFD packet to send [22:38:27]OFD Sender: No OFD packet to send [22:38:32]OFD Sender: No OFD packet to send [22:38:37]OFD Sender: No OFD packet to send [22:38:42]OFD Sender: No OFD packet to send [22:38:47]OFD Sender: No OFD packet to send [22:38:52]OFD Sender: No OFD packet to send [22:38:57]OFD Sender: No OFD packet to send [22:39:02]OFD Sender: No OFD packet to send [22:39:07]OFD Sender: No OFD packet to send [22:39:12]OFD Sender: No OFD packet to send [22:39:17]OFD Sender: No OFD packet to send [22:39:22]OFD Sender: No OFD packet to send [22:39:27]OFD Sender: No OFD packet to send [22:39:32]OFD Sender: No OFD packet to send [22:39:37]OFD Sender: No OFD packet to send [22:39:42]OFD Sender: No OFD packet to send [22:39:47]OFD Sender: No OFD packet to send [22:39:52]OFD Sender: No OFD packet to send [22:39:57]OFD Sender: No OFD packet to send [22:40:02]OFD Sender: No OFD packet to send [22:40:07]OFD Sender: No OFD packet to send [22:40:12]OFD Sender: No OFD packet to send [22:40:17]OFD Sender: No OFD packet to send [22:40:22]OFD Sender: No OFD packet to send [22:40:27]OFD Sender: No OFD packet to send [22:40:32]OFD Sender: No OFD packet to send [22:40:37]OFD Sender: No OFD packet to send [22:40:42]OFD Sender: No OFD packet to send [22:40:47]OFD Sender: No OFD packet to send [22:40:52]OFD Sender: No OFD packet to send [22:40:57]OFD Sender: No OFD packet to send [22:41:02]OFD Sender: No OFD packet to send [22:41: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:24]accept exits with 7 [22:42:24]New connection [22:42:24]New thread 3066555748 created [22:42:24]Thread 3066699108 joined [22:42:24]Waiting for new connection... [22:42:24] Sock 7.Parse request [22:42:24]Sock 7.Check first char [22:42:24]Sock 7.First char is OK [22:42:24]request: POST /json_proto HTTP/1.0 [22:42:24]Method: POST [22:42:24]URL: /json_proto [22:42:24]Method is POST - this is cgi request [22:42:24]url: /json_proto [22:42:24]query_string will be loaded in cgi processing [22:42:24]execute_cgi json_proto POST (null) [22:42:24]execute_cgi path=json_proto method=POST [22:42:24]POST find Content-Length [22:42:24]Host: 172.17.53.68:8080 [22:42:24]Content-Length: 625 [22:42:24]Content-Type: application/json [22:42:24] [22:42:24]POST finish read [22:42:24]Found Content-Length = 625 [22:42:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76697", "tax_sys" : 0, "items" : [ { "code": "48743389", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B BOND STREET compact blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:42:24]execute_script... [22:42: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)76697", "tax_sys" : 0, "items" : [ { "code": "48743389", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B BOND STREET compact blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:42:24]POST & json_proto [22:42:24]process_json_proto [22:42:24]json parsed OK: [22:42:24]protocol is kg_v1.0 [22:42:24]action value=close_receipt [22:42:24]process_action close_receipt [22:42:24]cmd_close_receipt [22:42:24]MH_GetDate [22:42:24]Write to MH i2c: F0 00 00 CB 29 E3 [22:42:24]Write i2c OK [22:42:24]MH_I2C_Read... [22:42:24]Read from MH i2c: F0 [22:42:24]MH_I2C_Read... [22:42:24]Read from MH i2c: F0 09 00 [22:42:24]MH_I2C_Read... [22:42:24]Read from MH i2c: F0 09 00 CB 29 00 5A 87 15 67 C5 A4 76 66 8E [22:42:24]GetLastDocTimeStamp 1729463094 [22:42:24]current date 1729464154 [22:42:24]FM_GetShiftState [22:42:24]SAM_PROTO_GetShiftState [22:42:24]wFMCommunicate request_size=4 [22:42:24]MH_SAM_APDU [22:42:24]CAPDU: 80 13 01 00 [22:42:24]Write to MH i2c: E2 08 00 CC 29 80 13 01 00 00 00 00 00 72 [22:42:24]Write i2c OK [22:42:24]MH_I2C_Read... [22:42:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:42:24]Read from MH i2c: E2 [22:42:24]MH_I2C_Read... [22:42:24]Read from MH i2c: E2 0E 00 [22:42:24]MH_I2C_Read... [22:42:24]Read from MH i2c: E2 0E 00 CC 29 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 C7 [22:42:24]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [22:42:24]wFMCommunicate OK [22:42:24]SAM_PROTO_GetShiftState done [22:42:24]FM_GetShiftState done [22:42:24]opened in 1729383299 [22:42:24]opened+sec_in_day 1729469699 [22:42:24]quantity*price = 13400 [22:42:24]sum+1 = 13401 [22:42:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 134.00 ÐСП 1% : 1.19 ÐДС 12% : 14.23 Ðаличными: 134.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 76 20.10.2024 22:42 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37228 ФПД: 156843323494908 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T224234&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37228&fm=156843323494908&tin=02508201610067®Number=0000000000098149&sum=13400 0 [22:42:25]StoreToDocumentArchive [22:42:25]shift 461 fd 37228 [22:42:25]save to /storage/0461/doc_00037228 [22:42:25]save last doc name /storage/0461/doc_00037228 to /storage/kkm_last_doc_name [22:42:25]save OK [22:42:25]Clear old archive folders... [22:42:25]ProcessDocumentItem done err = 0, tmpTLVsize=278 [22:42:25]tlvbuf is B6F17070 [22:42:25]SAM_PROTO_ClearQueue [22:42:25]wFMCommunicate request_size=4 [22:42:25]MH_SAM_APDU [22:42:25]CAPDU: 80 09 00 00 [22:42:25]Write to MH i2c: E2 08 00 D9 29 80 09 00 00 00 00 00 00 74 [22:42:25]Write i2c OK [22:42:25]MH_I2C_Read... [22:42:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:42:25]Read from MH i2c: E2 [22:42:25]MH_I2C_Read... [22:42:25]Read from MH i2c: E2 03 00 [22:42:25]MH_I2C_Read... [22:42:25]Read from MH i2c: E2 03 00 D9 29 00 90 00 76 [22:42:25]RAPDU: 90 00 [22:42:25]wFMCommunicate OK [22:42:25]SAM_PROTO_ClearQueue done [22:42:25]KKMCreateOFDPacket [22:42:25]OFDProtocolAddRootSTLVToBuf [22:42:25]FM_MakeSignedData [22:42:25]FM_MakeSignedData [22:42:25]SAM_PROTO_SignData [22:42:25]wFMCommunicate request_size=4 [22:42:25]MH_SAM_APDU [22:42:25]CAPDU: 80 0D 01 02 [22:42:25]Write to MH i2c: E2 08 00 DA 29 80 0D 01 02 00 00 00 00 7C [22:42:25]Write i2c OK [22:42:25]MH_I2C_Read... [22:42:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:42:25]Read from MH i2c: E2 [22:42:25]MH_I2C_Read... [22:42:25]Read from MH i2c: E2 03 00 [22:42:25]MH_I2C_Read... [22:42:25]Read from MH i2c: E2 03 00 DA 29 00 90 00 77 [22:42:25]RAPDU: 90 00 [22:42:25]wFMCommunicate OK [22:42:25]wFMCommunicate request_size=255 [22:42:25]MH_SAM_APDU [22:42:25]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 33 33 38 39 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 4F 4E 44 20 53 54 52 45 45 54 20 63 6F 6D 70 61 63 74 20 62 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 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 8F 05 00 00 00 00 07 04 06 00 58 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 4C 00 00 00 F4 03 04 00 5A 87 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 [22:42:25]Write to MH i2c: E2 02 01 DB 29 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 33 33 38 39 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 4F 4E 44 20 53 54 52 45 45 54 20 63 6F 6D 70 61 63 74 20 62 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 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 8F 05 00 00 00 00 07 04 06 00 58 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 4C 00 00 00 F4 03 04 00 5A 87 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 00 00 2E [22:42:25]Write i2c OK [22:42:25]MH_I2C_Read... [22:42:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:42:25]Read from MH i2c: E2 [22:42:25]MH_I2C_Read... [22:42:25]Read from MH i2c: E2 03 00 [22:42:25]MH_I2C_Read... [22:42:25]Read from MH i2c: E2 03 00 DB 29 00 90 00 78 [22:42:25]RAPDU: 90 00 [22:42:25]wFMCommunicate OK [22:42:25]wFMCommunicate request_size=37 [22:42:25]MH_SAM_APDU [22:42:25]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 6C 91 00 00 35 04 06 00 8E A5 EE 95 11 FC [22:42:25]Write to MH i2c: E2 28 00 DC 29 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 6C 91 00 00 35 04 06 00 8E A5 EE 95 11 FC 00 00 96 [22:42:25]Write i2c OK [22:42:25]MH_I2C_Read... [22:42:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:42:25]Read from MH i2c: E2 [22:42:25]MH_I2C_Read... [22:42:25]Read from MH i2c: E2 03 00 [22:42:25]MH_I2C_Read... [22:42:25]Read from MH i2c: E2 03 00 DC 29 00 90 00 79 [22:42:25]RAPDU: 90 00 [22:42:25]wFMCommunicate OK [22:42:25]wFMCommunicate request_size=4 [22:42:25]MH_SAM_APDU [22:42:25]CAPDU: 80 0D 03 02 [22:42:25]Write to MH i2c: E2 08 00 DD 29 80 0D 03 02 00 00 00 00 81 [22:42:25]Write i2c OK [22:42:25]MH_I2C_Read... [22:42:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:42:26]Read from MH i2c: E2 [22:42:26]MH_I2C_Read... [22:42:26]Read from MH i2c: E2 0B 00 [22:42:26]MH_I2C_Read... [22:42:26]Read from MH i2c: E2 0B 00 DD 29 00 23 9A 94 2E 95 CF C1 12 90 00 38 [22:42:26]RAPDU: 23 9A 94 2E 95 CF C1 12 90 00 [22:42:26]wFMCommunicate OK [22:42:26]SAM_PROTO_SignData done [22:42:26]FM_MakeSignedData done [22:42:26]CreateOFDProtocolMessage [22:42:26]wFMCommunicate request_size=4 [22:42:26]MH_SAM_APDU [22:42:26]CAPDU: 80 11 00 00 [22:42:26]Write to MH i2c: E2 08 00 DE 29 80 11 00 00 00 00 00 00 81 [22:42:26]Write i2c OK [22:42:26]MH_I2C_Read... [22:42:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:42:26]Read from MH i2c: E2 [22:42:26]MH_I2C_Read... [22:42:26]Read from MH i2c: E2 17 00 [22:42:26]MH_I2C_Read... [22:42:26]Read from MH i2c: E2 17 00 DE 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 D4 [22:42:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [22:42:26]wFMCommunicate OK [22:42:26]CreateOFDProtocolMessage done [22:42:26]OFDSenderStorePacket 37228 [22:42:26]StoreOFDPacket docnum=37228 [22:42:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 2A 01 00 00 CC C7 22 01 56 80 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 33 33 38 39 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 4F 4E 44 20 53 54 52 45 45 54 20 63 6F 6D 70 61 63 74 20 62 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 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 8F 05 00 00 00 00 07 04 06 00 58 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 4C 00 00 00 F4 03 04 00 5A 87 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 6C 91 00 00 35 04 06 00 8E A5 EE 95 11 FC 23 9A 94 2E 95 CF C1 12 [22:42:26]CheckFolder [22:42:26]dirname=/storage/ofd_packets [22:42:26]CheckFolder done [22:42:26]ProducePacketName [22:42:26]name=ofd_packets/00037228 [22:42:26]NVStorageSaveData ofd_packets/00037228 [22:42:26]File name is /storage/ofd_packets/00037228 [22:42:26]Write 328 bytes [22:42:26]NVStorageSaveData done [22:42:26]OFDSenderStorePacket done [22:42:26]KKMCreateOFDPacket done [22:42:26]NVStorageSaveData kkm_last_timestamp [22:42:26]File name is /storage/kkm_last_timestamp [22:42:26]Write 4 bytes [22:42:26]NVStorageSaveData done [22:42:26]ExternCall_PrintAddStr [22:42:26]wPrintStart [22:42:26]Write to MH i2c: 01 00 00 DF 29 08 [22:42:26]Write i2c OK [22:42:26]MH_I2C_Read... [22:42:26]Read from MH i2c: 01 [22:42:26]MH_I2C_Read... [22:42:26]Read from MH i2c: 01 07 00 [22:42:26]MH_I2C_Read... [22:42:26]Read from MH i2c: 01 07 00 DF 29 00 00 00 00 00 FF 0F 1D [22:42:26]RasterBufferAndPrint [22:42:26]line Счет N : (3)76697 [22:42:26]line ИÐÐ: 02508201610067 [22:42:26]line Контрольно-КаÑÑовый Чек [22:42:26]line ПРОДÐЖР[22:42:26]line Товар: 48743389 [22:42:26]line Сигареты BOND STREET compact blue [22:42:26]line 1.000 * 134.00 [22:42:26]line = 134.00 [22:42:26]line ÐДС 12% ÐСП 1% [22:42:26]line > о реализуемом товаре [22:42:26]line ИТОГО: 134.00 [22:42:26]line ÐСП 1% : 1.19 [22:42:26]line ÐДС 12% : 14.23 [22:42:26]line Ðаличными: 134.00 [22:42:26]line Безнал.: 0.00 [22:42:26]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [22:42:26]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [22:42:26]line СÐО: Общий режим [22:42:26]line Чек 76 20.10.2024 22:42 [22:42:26]line Смена: 461 ФФД: 1.0 [22:42:26]line ЗÐМ: 0300000235 [22:42:26]line РÐМ: 0000000000098149 [22:42:26]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [22:42:26]line ФМ: 0000000000965372 [22:42:26]line ФД: 37228 [22:42:26]line ФПД: 156843323494908 [22:42:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T224234&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37228&fm=156843323494908&tin=02508201610067®Number=0000000000098149&sum=13400 [22:42:26]line 0 [22:42:26]OFD Sender: Processing packet 37228 [packets to send 25, broken 24] [22:42:26]ProducePacketName [22:42:26]name=ofd_packets/00037228 [22:42:26]OFD Sender: To server: ‡•öpG, [22:42:26]CommunicateWithHost lk.salyk.kg:30040 [22:42:26]ConnectInit lk.salyk.kg [22:42:26]written 0, free lines is 4095 [22:42:26]Connected sock=10 [22:42: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 33 37 32 2A 01 00 00 CC C7 22 01 56 80 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 33 33 38 39 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 4F 4E 44 20 53 54 52 45 45 54 20 63 6F 6D 70 61 63 74 20 62 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 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 8F 05 00 00 00 00 07 04 06 00 58 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 4C 00 00 00 F4 03 04 00 5A 87 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 6C 91 00 00 35 04 06 00 8E A5 EE 95 11 FC 23 9A 94 2E 95 CF C1 12 [22:42:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 2D 90 47 00 8B 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 33 37 32 10 04 04 00 6C 91 00 00 F4 03 04 00 EB 2F 15 67 B6 04 01 00 00 0A 00 41 E0 EF B1 91 2A [22:42:26]CommunicateWithHost err = 0 [22:42:26]CheckOFDResponse [22:42:26]1017 (14) - 77093643461234 [22:42:26]1041 (16) - 0000000000965372 [22:42:26]1040 (4) - 37228 [22:42:26]1012 (4) - 20.10.2024 16:29 [22:42:26]1206 (1) - 0 [22:42:26]OFD Sender: Remove packet 37228 [22:42:26]ProducePacketName [22:42:26]name=ofd_packets/00037228 [22:42:26]NVStorageDeleteData [22:42:26]Write to MH i2c: 01 00 00 08 2A 32 [22:42:26]Write i2c OK [22:42:26]MH_I2C_Read... [22:42:26]Read from MH i2c: 01 [22:42:26]MH_I2C_Read... [22:42:26]Read from MH i2c: 01 07 00 [22:42:26]MH_I2C_Read... [22:42:26]Read from MH i2c: 01 07 00 08 2A 00 00 00 00 00 EB 0C 30 [22:42:26]RasterBufferAndPrint [22:42:26]line [22:42:26]line [22:42:26]line [22:42:26]line [22:42:26]line [22:42:26]written 0, free lines is 3313 [22:42:26]process_action close_receipt done [22:42:26]requested_data is exist [22:42:26]produce_requested_data [22:42:26]requested_item fm.sn is exist - process it [22:42:26]wFMCommunicate request_size=4 [22:42:26]MH_SAM_APDU [22:42:26]CAPDU: 80 11 00 00 [22:42:26]Write to MH i2c: E2 08 00 0F 2A 80 11 00 00 00 00 00 00 B3 [22:42:26]Write i2c OK [22:42:26]MH_I2C_Read... [22:42:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:42:26]Read from MH i2c: E2 [22:42:26]MH_I2C_Read... [22:42:26]Read from MH i2c: E2 17 00 [22:42:26]MH_I2C_Read... [22:42:26]Read from MH i2c: E2 17 00 0F 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 06 [22:42:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [22:42:26]wFMCommunicate OK [22:42:26]requested_item fd.num is exist - process it [22:42:26]SAM_PROTO_GetFieldsCounters [22:42:26]wFMCommunicate request_size=4 [22:42:26]MH_SAM_APDU [22:42:26]CAPDU: 80 13 00 00 [22:42:26]Write to MH i2c: E2 08 00 10 2A 80 13 00 00 00 00 00 00 B6 [22:42:26]Write i2c OK [22:42:26]MH_I2C_Read... [22:42:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:42:27]Read from MH i2c: E2 [22:42:27]MH_I2C_Read... [22:42:27]Read from MH i2c: E2 62 00 [22:42:27]MH_I2C_Read... [22:42:27]Read from MH i2c: E2 62 00 10 2A 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 6C 91 00 00 0E 04 04 00 CD 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 8C [22:42: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 6C 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 4C 00 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4D 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:42:27]wFMCommunicate OK [22:42:27]SAM_PROTO_GetFieldsCounters done [22:42:27]requested_item shift.num is exist - process it [22:42:27]requested_item shift.opened is exist - process it [22:42:27]req_shift_opened [22:42:27]FM_GetShiftState [22:42:27]SAM_PROTO_GetShiftState [22:42:27]wFMCommunicate request_size=4 [22:42:27]MH_SAM_APDU [22:42:27]CAPDU: 80 13 01 00 [22:42:27]Write to MH i2c: E2 08 00 11 2A 80 13 01 00 00 00 00 00 B8 [22:42:27]Write i2c OK [22:42:27]MH_I2C_Read... [22:42:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:42:27]Read from MH i2c: E2 [22:42:27]MH_I2C_Read... [22:42:27]Read from MH i2c: E2 0E 00 [22:42:27]MH_I2C_Read... [22:42:27]Read from MH i2c: E2 0E 00 11 2A 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 0D [22:42:27]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [22:42:27]wFMCommunicate OK [22:42:27]SAM_PROTO_GetShiftState done [22:42:27]FM_GetShiftState done [22:42:27]req_shift_opened done [22:42:27]requested_item shift.open_date is exist - process it [22:42:27]req_shift_open_date [22:42:27]req_shift_open_date done [22:42:27]produce_requested_data done [22:42:27]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37228,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [22:42:27]process_action_free close_receipt [22:42:27]json_value_free [22:42:27]json_value_free done [22:42:27]process_json_proto returns [22:42:27]Send response to host [22:42:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37228,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [22:42:27]free response buf [22:42:27]execute_script done [22:42:27]execute_script returns [22:42:27]free content buf [22:42:27]Sock 7.Close socket [22:42:27]Sock 7.Thread stoped [22:42:27]OFD Sender: No OFD packet to send [22:42:32]OFD Sender: No OFD packet to send [22:42:37]OFD Sender: No OFD packet to send [22:42:41]accept exits with 9 [22:42:41]New connection [22:42:41]New thread 3066699108 created [22:42:41]Thread 3066555748 joined [22:42:41]Waiting for new connection... [22:42:41] Sock 9.Parse request [22:42:41]Sock 9.Check first char [22:42:41]Sock 9.First char is OK [22:42:41]request: POST /json_proto HTTP/1.0 [22:42:41]Method: POST [22:42:41]URL: /json_proto [22:42:41]Method is POST - this is cgi request [22:42:41]url: /json_proto [22:42:41]query_string will be loaded in cgi processing [22:42:41]execute_cgi json_proto POST (null) [22:42:41]execute_cgi path=json_proto method=POST [22:42:41]POST find Content-Length [22:42:41]Host: 172.17.53.68:8080 [22:42:41]Content-Length: 631 [22:42:41]Content-Type: application/json [22:42:41] [22:42:41]POST finish read [22:42:41]Found Content-Length = 631 [22:42:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76698", "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" ] } } [22:42:41]execute_script... [22:42:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76698", "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" ] } } [22:42:41]POST & json_proto [22:42:41]process_json_proto [22:42:41]json parsed OK: [22:42:41]protocol is kg_v1.0 [22:42:41]action value=close_receipt [22:42:41]process_action close_receipt [22:42:41]cmd_close_receipt [22:42:41]MH_GetDate [22:42:41]Write to MH i2c: F0 00 00 12 2A 2B [22:42:41]Write i2c OK [22:42:41]MH_I2C_Read... [22:42:41]Read from MH i2c: F0 [22:42:41]MH_I2C_Read... [22:42:41]Read from MH i2c: F0 09 00 [22:42:41]MH_I2C_Read... [22:42:41]Read from MH i2c: F0 09 00 12 2A 00 6B 87 15 67 C5 A4 76 66 E7 [22:42:41]GetLastDocTimeStamp 1729464154 [22:42:41]current date 1729464171 [22:42:41]FM_GetShiftState [22:42:41]SAM_PROTO_GetShiftState [22:42:41]wFMCommunicate request_size=4 [22:42:41]MH_SAM_APDU [22:42:41]CAPDU: 80 13 01 00 [22:42:41]Write to MH i2c: E2 08 00 13 2A 80 13 01 00 00 00 00 00 BA [22:42:41]Write i2c OK [22:42:41]MH_I2C_Read... [22:42:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:42:41]Read from MH i2c: E2 [22:42:41]MH_I2C_Read... [22:42:41]Read from MH i2c: E2 0E 00 [22:42:41]MH_I2C_Read... [22:42:41]Read from MH i2c: E2 0E 00 13 2A 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 0F [22:42:41]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [22:42:41]wFMCommunicate OK [22:42:41]SAM_PROTO_GetShiftState done [22:42:41]FM_GetShiftState done [22:42:41]opened in 1729383299 [22:42:41]opened+sec_in_day 1729469699 [22:42:41]quantity*price = 4000 [22:42:41]sum+1 = 4001 [22:42:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 ÐСП 1% : 0.35 ÐДС 12% : 4.25 Ðаличными: 40.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 77 20.10.2024 22:42 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37229 ФПД: 195223534411035 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T224251&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37229&fm=195223534411035&tin=02508201610067®Number=0000000000098149&sum=4000 0 [22:42:42]StoreToDocumentArchive [22:42:42]shift 461 fd 37229 [22:42:42]save to /storage/0461/doc_00037229 [22:42:42]save last doc name /storage/0461/doc_00037229 to /storage/kkm_last_doc_name [22:42:42]save OK [22:42:42]Clear old archive folders... [22:42:42]ProcessDocumentItem done err = 0, tmpTLVsize=271 [22:42:42]tlvbuf is 00972C30 [22:42:42]SAM_PROTO_ClearQueue [22:42:42]wFMCommunicate request_size=4 [22:42:42]MH_SAM_APDU [22:42:42]CAPDU: 80 09 00 00 [22:42:42]Write to MH i2c: E2 08 00 20 2A 80 09 00 00 00 00 00 00 BC [22:42:42]Write i2c OK [22:42:42]MH_I2C_Read... [22:42:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:42:42]Read from MH i2c: E2 [22:42:42]MH_I2C_Read... [22:42:42]Read from MH i2c: E2 03 00 [22:42:42]MH_I2C_Read... [22:42:42]Read from MH i2c: E2 03 00 20 2A 00 90 00 BE [22:42:42]RAPDU: 90 00 [22:42:42]wFMCommunicate OK [22:42:42]SAM_PROTO_ClearQueue done [22:42:42]KKMCreateOFDPacket [22:42:42]OFDProtocolAddRootSTLVToBuf [22:42:42]FM_MakeSignedData [22:42:42]FM_MakeSignedData [22:42:42]SAM_PROTO_SignData [22:42:42]wFMCommunicate request_size=4 [22:42:42]MH_SAM_APDU [22:42:42]CAPDU: 80 0D 01 02 [22:42:42]Write to MH i2c: E2 08 00 21 2A 80 0D 01 02 00 00 00 00 C4 [22:42:42]Write i2c OK [22:42:42]MH_I2C_Read... [22:42:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:42:42]Read from MH i2c: E2 [22:42:42]MH_I2C_Read... [22:42:42]Read from MH i2c: E2 03 00 [22:42:42]MH_I2C_Read... [22:42:42]Read from MH i2c: E2 03 00 21 2A 00 90 00 BF [22:42:42]RAPDU: 90 00 [22:42:42]wFMCommunicate OK [22:42:42]wFMCommunicate request_size=255 [22:42:42]MH_SAM_APDU [22:42:42]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 4D 00 00 00 F4 03 04 00 6B 87 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 [22:42:42]Write to MH i2c: E2 02 01 22 2A 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 4D 00 00 00 F4 03 04 00 6B 87 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 38 [22:42:42]Write i2c OK [22:42:42]MH_I2C_Read... [22:42:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:42:42]Read from MH i2c: E2 [22:42:42]MH_I2C_Read... [22:42:42]Read from MH i2c: E2 03 00 [22:42:42]MH_I2C_Read... [22:42:42]Read from MH i2c: E2 03 00 22 2A 00 90 00 C0 [22:42:42]RAPDU: 90 00 [22:42:42]wFMCommunicate OK [22:42:42]wFMCommunicate request_size=30 [22:42:42]MH_SAM_APDU [22:42:42]CAPDU: 80 0D 02 02 19 30 39 36 35 33 37 32 10 04 04 00 6D 91 00 00 35 04 06 00 B1 8E 05 6B 9D 1B [22:42:42]Write to MH i2c: E2 21 00 23 2A 80 0D 02 02 19 00 30 39 36 35 33 37 32 10 04 04 00 6D 91 00 00 35 04 06 00 B1 8E 05 6B 9D 1B 00 00 25 [22:42:42]Write i2c OK [22:42:42]MH_I2C_Read... [22:42:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:42:42]Read from MH i2c: E2 [22:42:42]MH_I2C_Read... [22:42:42]Read from MH i2c: E2 03 00 [22:42:42]MH_I2C_Read... [22:42:42]Read from MH i2c: E2 03 00 23 2A 00 90 00 C1 [22:42:42]RAPDU: 90 00 [22:42:42]wFMCommunicate OK [22:42:42]wFMCommunicate request_size=4 [22:42:42]MH_SAM_APDU [22:42:42]CAPDU: 80 0D 03 02 [22:42:42]Write to MH i2c: E2 08 00 24 2A 80 0D 03 02 00 00 00 00 C9 [22:42:42]Write i2c OK [22:42:42]MH_I2C_Read... [22:42:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:42:43]Read from MH i2c: E2 [22:42:43]MH_I2C_Read... [22:42:43]Read from MH i2c: E2 0B 00 [22:42:43]MH_I2C_Read... [22:42:43]Read from MH i2c: E2 0B 00 24 2A 00 FE 3E D4 F7 74 8F 7E 22 90 00 74 [22:42:43]RAPDU: FE 3E D4 F7 74 8F 7E 22 90 00 [22:42:43]wFMCommunicate OK [22:42:43]SAM_PROTO_SignData done [22:42:43]FM_MakeSignedData done [22:42:43]CreateOFDProtocolMessage [22:42:43]wFMCommunicate request_size=4 [22:42:43]MH_SAM_APDU [22:42:43]CAPDU: 80 11 00 00 [22:42:43]Write to MH i2c: E2 08 00 25 2A 80 11 00 00 00 00 00 00 C9 [22:42:43]Write i2c OK [22:42:43]MH_I2C_Read... [22:42:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:42:43]Read from MH i2c: E2 [22:42:43]MH_I2C_Read... [22:42:43]Read from MH i2c: E2 17 00 [22:42:43]MH_I2C_Read... [22:42:43]Read from MH i2c: E2 17 00 25 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 1C [22:42:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [22:42:43]wFMCommunicate OK [22:42:43]CreateOFDProtocolMessage done [22:42:43]OFDSenderStorePacket 37229 [22:42:43]StoreOFDPacket docnum=37229 [22:42:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 23 01 00 00 F5 3D 1B 01 19 1F 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 4D 00 00 00 F4 03 04 00 6B 87 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 6D 91 00 00 35 04 06 00 B1 8E 05 6B 9D 1B FE 3E D4 F7 74 8F 7E 22 [22:42:43]CheckFolder [22:42:43]dirname=/storage/ofd_packets [22:42:43]CheckFolder done [22:42:43]ProducePacketName [22:42:43]name=ofd_packets/00037229 [22:42:43]NVStorageSaveData ofd_packets/00037229 [22:42:43]File name is /storage/ofd_packets/00037229 [22:42:43]Write 321 bytes [22:42:43]NVStorageSaveData done [22:42:43]OFDSenderStorePacket done [22:42:43]KKMCreateOFDPacket done [22:42:43]NVStorageSaveData kkm_last_timestamp [22:42:43]File name is /storage/kkm_last_timestamp [22:42:43]Write 4 bytes [22:42:43]NVStorageSaveData done [22:42:43]ExternCall_PrintAddStr [22:42:43]wPrintStart [22:42:43]Write to MH i2c: 01 00 00 26 2A 50 [22:42:43]Write i2c OK [22:42:43]MH_I2C_Read... [22:42:43]Read from MH i2c: 01 [22:42:43]MH_I2C_Read... [22:42:43]Read from MH i2c: 01 07 00 [22:42:43]MH_I2C_Read... [22:42:43]Read from MH i2c: 01 07 00 26 2A 00 00 00 00 00 FF 0F 65 [22:42:43]RasterBufferAndPrint [22:42:43]line Счет N : (3)76698 [22:42:43]line ИÐÐ: 02508201610067 [22:42:43]line Контрольно-КаÑÑовый Чек [22:42:43]line ПРОДÐЖР[22:42:43]line Товар: 4700000160211 [22:42:43]line Вода Легенда 0,5л [22:42:43]line 1.000 * 40.00 [22:42:43]line = 40.00 [22:42:43]line ÐДС 12% ÐСП 1% [22:42:43]line > о реализуемом товаре [22:42:43]line ИТОГО: 40.00 [22:42:43]line ÐСП 1% : 0.35 [22:42:43]line ÐДС 12% : 4.25 [22:42:43]line Ðаличными: 40.00 [22:42:43]line Безнал.: 0.00 [22:42:43]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [22:42:43]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [22:42:43]line СÐО: Общий режим [22:42:43]line Чек 77 20.10.2024 22:42 [22:42:43]line Смена: 461 ФФД: 1.0 [22:42:43]line ЗÐМ: 0300000235 [22:42:43]OFD Sender: Processing packet 37229 [packets to send 25, broken 24] [22:42:43]ProducePacketName [22:42:43]name=ofd_packets/00037229 [22:42:43]OFD Sender: To server: ‡•öpG, [22:42:43]CommunicateWithHost lk.salyk.kg:30040 [22:42:43]ConnectInit lk.salyk.kg [22:42:43]line РÐМ: 0000000000098149 [22:42:43]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [22:42:43]line ФМ: 0000000000965372 [22:42:43]line ФД: 37229 [22:42:43]line ФПД: 195223534411035 [22:42:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T224251&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37229&fm=195223534411035&tin=02508201610067®Number=0000000000098149&sum=4000 [22:42:43]Connected sock=11 [22:42: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 33 37 32 23 01 00 00 F5 3D 1B 01 19 1F 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 4D 00 00 00 F4 03 04 00 6B 87 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 6D 91 00 00 35 04 06 00 B1 8E 05 6B 9D 1B FE 3E D4 F7 74 8F 7E 22 [22:42:43]line 0 [22:42:43]written 0, free lines is 4095 [22:42:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 44 82 47 00 8E DD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 6D 91 00 00 F4 03 04 00 FC 2F 15 67 B6 04 01 00 00 71 79 53 A3 A8 13 C7 57 [22:42:43]CommunicateWithHost err = 0 [22:42:43]CheckOFDResponse [22:42:43]1017 (14) - 77093643461234 [22:42:43]1041 (16) - 0000000000965372 [22:42:43]1040 (4) - 37229 [22:42:43]1012 (4) - 20.10.2024 16:29 [22:42:43]1206 (1) - 0 [22:42:43]OFD Sender: Remove packet 37229 [22:42:43]ProducePacketName [22:42:43]name=ofd_packets/00037229 [22:42:43]NVStorageDeleteData [22:42:43]Write to MH i2c: 01 00 00 4E 2A 78 [22:42:43]Write i2c OK [22:42:43]MH_I2C_Read... [22:42:43]Read from MH i2c: 01 [22:42:43]MH_I2C_Read... [22:42:43]Read from MH i2c: 01 07 00 [22:42:43]MH_I2C_Read... [22:42:43]Read from MH i2c: 01 07 00 4E 2A 00 00 00 00 00 03 0D 8F [22:42:43]RasterBufferAndPrint [22:42:43]line [22:42:43]line [22:42:43]line [22:42:43]line [22:42:43]line [22:42:43]written 0, free lines is 3337 [22:42:43]process_action close_receipt done [22:42:43]requested_data is exist [22:42:43]produce_requested_data [22:42:43]requested_item fm.sn is exist - process it [22:42:43]wFMCommunicate request_size=4 [22:42:43]MH_SAM_APDU [22:42:43]CAPDU: 80 11 00 00 [22:42:43]Write to MH i2c: E2 08 00 55 2A 80 11 00 00 00 00 00 00 F9 [22:42:43]Write i2c OK [22:42:43]MH_I2C_Read... [22:42:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:42:43]Read from MH i2c: E2 [22:42:43]MH_I2C_Read... [22:42:43]Read from MH i2c: E2 17 00 [22:42:43]MH_I2C_Read... [22:42:43]Read from MH i2c: E2 17 00 55 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 4C [22:42:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [22:42:43]wFMCommunicate OK [22:42:43]requested_item fd.num is exist - process it [22:42:43]SAM_PROTO_GetFieldsCounters [22:42:43]wFMCommunicate request_size=4 [22:42:43]MH_SAM_APDU [22:42:43]CAPDU: 80 13 00 00 [22:42:43]Write to MH i2c: E2 08 00 56 2A 80 13 00 00 00 00 00 00 FC [22:42:43]Write i2c OK [22:42:43]MH_I2C_Read... [22:42:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:42:44]Read from MH i2c: E2 [22:42:44]MH_I2C_Read... [22:42:44]Read from MH i2c: E2 62 00 [22:42:44]MH_I2C_Read... [22:42:44]Read from MH i2c: E2 62 00 56 2A 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 6D 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 4D 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 D6 [22:42: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 6D 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 4D 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:42:44]wFMCommunicate OK [22:42:44]SAM_PROTO_GetFieldsCounters done [22:42:44]requested_item shift.num is exist - process it [22:42:44]requested_item shift.opened is exist - process it [22:42:44]req_shift_opened [22:42:44]FM_GetShiftState [22:42:44]SAM_PROTO_GetShiftState [22:42:44]wFMCommunicate request_size=4 [22:42:44]MH_SAM_APDU [22:42:44]CAPDU: 80 13 01 00 [22:42:44]Write to MH i2c: E2 08 00 57 2A 80 13 01 00 00 00 00 00 FE [22:42:44]Write i2c OK [22:42:44]MH_I2C_Read... [22:42:44]OFD Sender: No OFD packet to send [22:42:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:42:44]Read from MH i2c: E2 [22:42:44]MH_I2C_Read... [22:42:44]Read from MH i2c: E2 0E 00 [22:42:44]MH_I2C_Read... [22:42:44]Read from MH i2c: E2 0E 00 57 2A 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 53 [22:42:44]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [22:42:44]wFMCommunicate OK [22:42:44]SAM_PROTO_GetShiftState done [22:42:44]FM_GetShiftState done [22:42:44]req_shift_opened done [22:42:44]requested_item shift.open_date is exist - process it [22:42:44]req_shift_open_date [22:42:44]req_shift_open_date done [22:42:44]produce_requested_data done [22:42:44]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37229,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [22:42:44]process_action_free close_receipt [22:42:44]json_value_free [22:42:44]json_value_free done [22:42:44]process_json_proto returns [22:42:44]Send response to host [22:42:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37229,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [22:42:44]free response buf [22:42:44]execute_script done [22:42:44]execute_script returns [22:42:44]free content buf [22:42:44]Sock 9.Close socket [22:42:44]Sock 9.Thread stoped [22:42:49]OFD Sender: No OFD packet to send [22:42:54]OFD Sender: No OFD packet to send [22:42:59]OFD Sender: No OFD packet to send [22:43:04]OFD Sender: No OFD packet to send [22:43:09]OFD Sender: No OFD packet to send [22:43:14]OFD Sender: No OFD packet to send [22:43:19]OFD Sender: No OFD packet to send [22:43:24]OFD Sender: No OFD packet to send [22:43:29]OFD Sender: No OFD packet to send [22:43:34]OFD Sender: No OFD packet to send [22:43:39]OFD Sender: No OFD packet to send [22:43:44]OFD Sender: No OFD packet to send [22:43:49]OFD Sender: No OFD packet to send [22:43:54]OFD Sender: No OFD packet to send [22:43:59]OFD Sender: No OFD packet to send [22:44:04]OFD Sender: No OFD packet to send [22:44:09]OFD Sender: No OFD packet to send [22:44:14]OFD Sender: No OFD packet to send [22:44:19]OFD Sender: No OFD packet to send [22:44:24]OFD Sender: No OFD packet to send [22:44:29]OFD Sender: No OFD packet to send [22:44:34]OFD Sender: No OFD packet to send [22:44:39]OFD Sender: No OFD packet to send [22:44:44]OFD Sender: No OFD packet to send [22:44:49]OFD Sender: No OFD packet to send [22:44:54]OFD Sender: No OFD packet to send [22:44:59]OFD Sender: No OFD packet to send [22:45:04]OFD Sender: No OFD packet to send [22:45:09]OFD Sender: No OFD packet to send [22:45:14]OFD Sender: No OFD packet to send [22:45:19]OFD Sender: No OFD packet to send [22:45:24]OFD Sender: No OFD packet to send [22:45:29]OFD Sender: No OFD packet to send [22:45:34]OFD Sender: No OFD packet to send [22:45:39]OFD Sender: No OFD packet to send [22:45:44]OFD Sender: No OFD packet to send [22:45:49]OFD Sender: No OFD packet to send [22:45:54]OFD Sender: No OFD packet to send [22:45:59]OFD Sender: No OFD packet to send [22:46:04]OFD Sender: No OFD packet to send [22:46:09]OFD Sender: No OFD packet to send [22:46:10]accept exits with 7 [22:46:10]New connection [22:46:10]New thread 3066555748 created [22:46:10]Thread 3066699108 joined [22:46:10]Waiting for new connection... [22:46:10] Sock 7.Parse request [22:46:10]Sock 7.Check first char [22:46:10]Sock 7.First char is OK [22:46:10]request: POST /json_proto HTTP/1.0 [22:46:10]Method: POST [22:46:10]URL: /json_proto [22:46:10]Method is POST - this is cgi request [22:46:10]url: /json_proto [22:46:10]query_string will be loaded in cgi processing [22:46:10]execute_cgi json_proto POST (null) [22:46:10]execute_cgi path=json_proto method=POST [22:46:10]POST find Content-Length [22:46:10]Host: 172.17.53.68:8080 [22:46:10]Content-Length: 1720 [22:46:10]Content-Type: application/json [22:46:10] [22:46:10]POST finish read [22:46:10]Found Content-Length = 1720 [22:46:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76699", "tax_sys" : 0, "items" : [ { "code": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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": "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 }]} ,{ "code": "745240075943", "name": "\u0410\u0432\u0442\u043E\u043F\u0430\u0440\u0444\u044E\u043C 5 HOME SPORT", "price" : 300.00, "quantity" : 1.000, "sum" : 300.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 594.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:46:10]execute_script... [22:46: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)76699", "tax_sys" : 0, "items" : [ { "code": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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": "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 }]} ,{ "code": "745240075943", "name": "\u0410\u0432\u0442\u043E\u043F\u0430\u0440\u0444\u044E\u043C 5 HOME SPORT", "price" : 300.00, "quantity" : 1.000, "sum" : 300.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 594.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:46:10]POST & json_proto [22:46:10]process_json_proto [22:46:10]json parsed OK: [22:46:10]protocol is kg_v1.0 [22:46:10]action value=close_receipt [22:46:10]process_action close_receipt [22:46:10]cmd_close_receipt [22:46:10]MH_GetDate [22:46:10]Write to MH i2c: F0 00 00 58 2A 71 [22:46:10]Write i2c OK [22:46:10]MH_I2C_Read... [22:46:10]Read from MH i2c: F0 [22:46:10]MH_I2C_Read... [22:46:10]Read from MH i2c: F0 09 00 [22:46:10]MH_I2C_Read... [22:46:10]Read from MH i2c: F0 09 00 58 2A 00 3C 88 15 67 C5 A4 76 66 FF [22:46:10]GetLastDocTimeStamp 1729464171 [22:46:10]current date 1729464380 [22:46:10]FM_GetShiftState [22:46:10]SAM_PROTO_GetShiftState [22:46:10]wFMCommunicate request_size=4 [22:46:10]MH_SAM_APDU [22:46:10]CAPDU: 80 13 01 00 [22:46:10]Write to MH i2c: E2 08 00 59 2A 80 13 01 00 00 00 00 00 00 [22:46:10]Write i2c OK [22:46:10]MH_I2C_Read... [22:46:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:46:10]Read from MH i2c: E2 [22:46:10]MH_I2C_Read... [22:46:10]Read from MH i2c: E2 0E 00 [22:46:10]MH_I2C_Read... [22:46:10]Read from MH i2c: E2 0E 00 59 2A 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 55 [22:46:10]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [22:46:10]wFMCommunicate OK [22:46:10]SAM_PROTO_GetShiftState done [22:46:10]FM_GetShiftState done [22:46:10]opened in 1729383299 [22:46:10]opened+sec_in_day 1729469699 [22:46:10]quantity*price = 9000 [22:46:10]sum+1 = 9001 [22:46:10]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160204 Вода Легенда 1,5л 1.000 * 60.00 = 60.00 ÐДС 12% ÐСП 1% > о реализуемом товаре Товар: 4700000480050 Ðапиток Nitro Energy Ñн green ж/б 0,45л 1.000 * 95.00 = 95.00 ÐДС 12% ÐСП 1% > о реализуемом товаре Товар: 80942726 Р/ж mentos мÑта ролл 16г 1.000 * 49.00 = 49.00 ÐДС 12% ÐСП 1% > о реализуемом товаре Товар: 745240075943 Ðвтопарфюм 5 HOME SPORT 1.000 * 300.00 = 300.00 ÐДС 12% ÐСП 1% > о реализуемом товаре ИТОГО: 594.00 ÐСП 1% : 5.25 ÐДС 12% : 63.08 Ðаличными: 594.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 78 20.10.2024 22:46 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37230 ФПД: 169911592777825 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T224620&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37230&fm=169911592777825&tin=02508201610067®Number=0000000000098149&sum=59400 0 [22:46:11]StoreToDocumentArchive [22:46:11]shift 461 fd 37230 [22:46:11]save to /storage/0461/doc_00037230 [22:46:11]save last doc name /storage/0461/doc_00037230 to /storage/kkm_last_doc_name [22:46:11]save OK [22:46:11]Clear old archive folders... [22:46:11]ProcessDocumentItem done err = 0, tmpTLVsize=729 [22:46:11]tlvbuf is 00A120B0 [22:46:11]SAM_PROTO_ClearQueue [22:46:11]wFMCommunicate request_size=4 [22:46:11]MH_SAM_APDU [22:46:11]CAPDU: 80 09 00 00 [22:46:11]Write to MH i2c: E2 08 00 66 2A 80 09 00 00 00 00 00 00 02 [22:46:11]Write i2c OK [22:46:11]MH_I2C_Read... [22:46:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:46:11]Read from MH i2c: E2 [22:46:11]MH_I2C_Read... [22:46:11]Read from MH i2c: E2 03 00 [22:46:11]MH_I2C_Read... [22:46:11]Read from MH i2c: E2 03 00 66 2A 00 90 00 04 [22:46:11]RAPDU: 90 00 [22:46:11]wFMCommunicate OK [22:46:11]SAM_PROTO_ClearQueue done [22:46:11]KKMCreateOFDPacket [22:46:11]OFDProtocolAddRootSTLVToBuf [22:46:11]FM_MakeSignedData [22:46:11]FM_MakeSignedData [22:46:11]SAM_PROTO_SignData [22:46:11]wFMCommunicate request_size=4 [22:46:11]MH_SAM_APDU [22:46:11]CAPDU: 80 0D 01 02 [22:46:11]Write to MH i2c: E2 08 00 67 2A 80 0D 01 02 00 00 00 00 0A [22:46:11]Write i2c OK [22:46:11]MH_I2C_Read... [22:46:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:46:11]Read from MH i2c: E2 [22:46:11]MH_I2C_Read... [22:46:11]Read from MH i2c: E2 03 00 [22:46:11]MH_I2C_Read... [22:46:11]Read from MH i2c: E2 03 00 67 2A 00 90 00 05 [22:46:11]RAPDU: 90 00 [22:46:11]wFMCommunicate OK [22:46:11]wFMCommunicate request_size=255 [22:46:11]MH_SAM_APDU [22:46:11]CAPDU: 80 0D 02 02 FA 03 00 D9 02 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 [22:46:11]Write to MH i2c: E2 02 01 68 2A 80 0D 02 02 FA 00 03 00 D9 02 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 00 00 F3 [22:46:11]Write i2c OK [22:46:11]MH_I2C_Read... [22:46:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:46:11]Read from MH i2c: E2 [22:46:11]MH_I2C_Read... [22:46:11]Read from MH i2c: E2 03 00 [22:46:11]MH_I2C_Read... [22:46:11]Read from MH i2c: E2 03 00 68 2A 00 90 00 06 [22:46:11]RAPDU: 90 00 [22:46:11]wFMCommunicate OK [22:46:11]wFMCommunicate request_size=255 [22:46:11]MH_SAM_APDU [22:46:11]CAPDU: 80 0D 02 02 FA 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 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 23 04 64 00 8A 04 0C 00 37 34 35 32 34 30 30 37 35 39 34 33 06 04 21 00 D0 90 D0 B2 D1 82 D0 BE D0 BF D0 B0 [22:46:12]Write to MH i2c: E2 02 01 69 2A 80 0D 02 02 FA 00 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 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 23 04 64 00 8A 04 0C 00 37 34 35 32 34 30 30 37 35 39 34 33 06 04 21 00 D0 90 D0 B2 D1 82 D0 BE D0 BF D0 B0 00 00 BA [22:46:12]Write i2c OK [22:46:12]MH_I2C_Read... [22:46:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:46:12]Read from MH i2c: E2 [22:46:12]MH_I2C_Read... [22:46:12]Read from MH i2c: E2 03 00 [22:46:12]MH_I2C_Read... [22:46:12]Read from MH i2c: E2 03 00 69 2A 00 90 00 07 [22:46:12]RAPDU: 90 00 [22:46:12]wFMCommunicate OK [22:46:12]wFMCommunicate request_size=238 [22:46:12]MH_SAM_APDU [22:46:12]CAPDU: 80 0D 02 02 E9 D1 80 D1 84 D1 8E D0 BC 20 35 20 48 4F 4D 45 20 53 50 4F 52 54 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 75 00 00 00 00 13 04 06 00 30 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 E8 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A4 18 00 00 00 00 07 04 06 00 08 E8 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 3C 88 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 6E 91 00 00 35 04 06 00 9A 88 A0 21 78 61 [22:46:12]Write to MH i2c: E2 F1 00 6A 2A 80 0D 02 02 E9 00 D1 80 D1 84 D1 8E D0 BC 20 35 20 48 4F 4D 45 20 53 50 4F 52 54 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 75 00 00 00 00 13 04 06 00 30 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 E8 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A4 18 00 00 00 00 07 04 06 00 08 E8 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 3C 88 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 6E 91 00 00 35 04 06 00 9A 88 A0 21 78 61 00 00 25 [22:46:12]Write i2c OK [22:46:12]MH_I2C_Read... [22:46:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:46:12]Read from MH i2c: E2 [22:46:12]MH_I2C_Read... [22:46:12]Read from MH i2c: E2 03 00 [22:46:12]MH_I2C_Read... [22:46:12]Read from MH i2c: E2 03 00 6A 2A 00 90 00 08 [22:46:12]RAPDU: 90 00 [22:46:12]wFMCommunicate OK [22:46:12]wFMCommunicate request_size=4 [22:46:12]MH_SAM_APDU [22:46:12]CAPDU: 80 0D 03 02 [22:46:12]Write to MH i2c: E2 08 00 6B 2A 80 0D 03 02 00 00 00 00 10 [22:46:12]Write i2c OK [22:46:12]MH_I2C_Read... [22:46:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:46:12]Read from MH i2c: E2 [22:46:12]MH_I2C_Read... [22:46:12]Read from MH i2c: E2 0B 00 [22:46:12]MH_I2C_Read... [22:46:12]Read from MH i2c: E2 0B 00 6B 2A 00 49 F8 43 A0 58 C4 6F 56 90 00 16 [22:46:12]RAPDU: 49 F8 43 A0 58 C4 6F 56 90 00 [22:46:12]wFMCommunicate OK [22:46:12]SAM_PROTO_SignData done [22:46:12]FM_MakeSignedData done [22:46:12]CreateOFDProtocolMessage [22:46:12]wFMCommunicate request_size=4 [22:46:12]MH_SAM_APDU [22:46:12]CAPDU: 80 11 00 00 [22:46:12]Write to MH i2c: E2 08 00 6C 2A 80 11 00 00 00 00 00 00 10 [22:46:12]Write i2c OK [22:46:12]MH_I2C_Read... [22:46:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:46:12]Read from MH i2c: E2 [22:46:12]MH_I2C_Read... [22:46:12]Read from MH i2c: E2 17 00 [22:46:12]MH_I2C_Read... [22:46:12]Read from MH i2c: E2 17 00 6C 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 63 [22:46:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [22:46:12]wFMCommunicate OK [22:46:12]CreateOFDProtocolMessage done [22:46:12]OFDSenderStorePacket 37230 [22:46:12]StoreOFDPacket docnum=37230 [22:46:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 ED 02 00 00 98 CB E5 02 FB B1 5A 03 01 00 03 00 D9 02 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 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 23 04 64 00 8A 04 0C 00 37 34 35 32 34 30 30 37 35 39 34 33 06 04 21 00 D0 90 D0 B2 D1 82 D0 BE D0 BF D0 B0 D1 80 D1 84 D1 8E D0 BC 20 35 20 48 4F 4D 45 20 53 50 4F 52 54 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 75 00 00 00 00 13 04 06 00 30 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 E8 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A4 18 00 00 00 00 07 04 06 00 08 E8 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 3C 88 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 6E 91 00 00 35 04 06 00 9A 88 A0 21 78 61 49 F8 43 A0 58 C4 6F 56 [22:46:12]CheckFolder [22:46:12]dirname=/storage/ofd_packets [22:46:12]CheckFolder done [22:46:12]ProducePacketName [22:46:12]name=ofd_packets/00037230 [22:46:12]NVStorageSaveData ofd_packets/00037230 [22:46:12]File name is /storage/ofd_packets/00037230 [22:46:12]Write 779 bytes [22:46:12]NVStorageSaveData done [22:46:12]OFDSenderStorePacket done [22:46:12]KKMCreateOFDPacket done [22:46:12]NVStorageSaveData kkm_last_timestamp [22:46:12]File name is /storage/kkm_last_timestamp [22:46:12]Write 4 bytes [22:46:12]NVStorageSaveData done [22:46:12]ExternCall_PrintAddStr [22:46:12]wPrintStart [22:46:12]Write to MH i2c: 01 00 00 6D 2A 97 [22:46:12]Write i2c OK [22:46:12]MH_I2C_Read... [22:46:12]Read from MH i2c: 01 [22:46:12]MH_I2C_Read... [22:46:12]Read from MH i2c: 01 07 00 [22:46:12]MH_I2C_Read... [22:46:12]Read from MH i2c: 01 07 00 6D 2A 00 00 00 00 00 FF 0F AC [22:46:12]RasterBufferAndPrint [22:46:12]line Счет N : (3)76699 [22:46:12]line ИÐÐ: 02508201610067 [22:46:12]line Контрольно-КаÑÑовый Чек [22:46:12]line ПРОДÐЖР[22:46:12]line Товар: 4660085515163 [22:46:12]line Шок Батончик Ð¡Ð½Ð¸ÐºÐµÑ€Ñ Ñупер 95/80г [22:46:12]line 1.000 * 90.00 [22:46:12]line = 90.00 [22:46:12]line ÐДС 12% ÐСП 1% [22:46:12]line > о реализуемом товаре [22:46:12]line Товар: 4700000160204 [22:46:12]line Вода Легенда 1,5л [22:46:12]line 1.000 * 60.00 [22:46:12]line = 60.00 [22:46:12]line ÐДС 12% ÐСП 1% [22:46:12]line > о реализуемом товаре [22:46:12]line Товар: 4700000480050 [22:46:12]line Ðапиток Nitro Energy Ñн green ж/б 0,45л [22:46:12]line 1.000 * 95.00 [22:46:12]line = 95.00 [22:46:12]line ÐДС 12% ÐСП 1% [22:46:12]line > о реализуемом товаре [22:46:12]line Товар: 80942726 [22:46:12]line Р/ж mentos мÑта ролл 16г [22:46:12]line 1.000 * 49.00 [22:46:12]line = 49.00 [22:46:12]line ÐДС 12% ÐСП 1% [22:46:12]line > о реализуемом товаре [22:46:12]line Товар: 745240075943 [22:46:12]line Ðвтопарфюм 5 HOME SPORT [22:46:12]line 1.000 * 300.00 [22:46:12]line = 300.00 [22:46:12]line ÐДС 12% ÐСП 1% [22:46:12]line > о реализуемом товаре [22:46:12]line ИТОГО: 594.00 [22:46:12]line ÐСП 1% : 5.25 [22:46:12]line ÐДС 12% : 63.08 [22:46:12]line Ðаличными: 594.00 [22:46:12]line Безнал.: 0.00 [22:46:12]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [22:46:12]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [22:46:12]line СÐО: Общий режим [22:46:12]line Чек 78 20.10.2024 22:46 [22:46:12]line Смена: 461 ФФД: 1.0 [22:46:12]line ЗÐМ: 0300000235 [22:46:12]line РÐМ: 0000000000098149 [22:46:12]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [22:46:12]line ФМ: 0000000000965372 [22:46:12]line ФД: 37230 [22:46:12]line ФПД: 169911592777825 [22:46:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T224620&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37230&fm=169911592777825&tin=02508201610067®Number=0000000000098149&sum=59400 [22:46:12]line 0 [22:46:12]written 0, free lines is 4095 [22:46:13]OFD Sender: Processing packet 37230 [packets to send 25, broken 24] [22:46:13]ProducePacketName [22:46:13]name=ofd_packets/00037230 [22:46:13]OFD Sender: To server: ‡•öpG, [22:46:13]CommunicateWithHost lk.salyk.kg:30040 [22:46:13]ConnectInit lk.salyk.kg [22:46:13]Connected sock=10 [22:46: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 33 37 32 ED 02 00 00 98 CB E5 02 FB B1 5A 03 01 00 03 00 D9 02 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 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 23 04 64 00 8A 04 0C 00 37 34 35 32 34 30 30 37 35 39 34 33 06 04 21 00 D0 90 D0 B2 D1 82 D0 BE D0 BF D0 B0 D1 80 D1 84 D1 8E D0 BC 20 35 20 48 4F 4D 45 20 53 50 4F 52 54 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 75 00 00 00 00 13 04 06 00 30 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 E8 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A4 18 00 00 00 00 07 04 06 00 08 E8 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 3C 88 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 6E 91 00 00 35 04 06 00 9A 88 A0 21 78 61 49 F8 43 A0 58 C4 6F 56 [22:46:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 B0 E0 47 00 1D 0D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 6E 91 00 00 F4 03 04 00 CD 30 15 67 B6 04 01 00 00 68 A0 A1 C7 C0 FD 13 BC [22:46:13]CommunicateWithHost err = 0 [22:46:13]CheckOFDResponse [22:46:13]1017 (14) - 77093643461234 [22:46:13]1041 (16) - 0000000000965372 [22:46:13]1040 (4) - 37230 [22:46:13]1012 (4) - 20.10.2024 16:33 [22:46:13]1206 (1) - 0 [22:46:13]OFD Sender: Remove packet 37230 [22:46:13]ProducePacketName [22:46:13]name=ofd_packets/00037230 [22:46:13]NVStorageDeleteData [22:46:13]Write to MH i2c: 01 00 00 AF 2A D9 [22:46:13]Write i2c OK [22:46:13]MH_I2C_Read... [22:46:13]Read from MH i2c: 01 [22:46:13]MH_I2C_Read... [22:46:13]Read from MH i2c: 01 07 00 [22:46:13]MH_I2C_Read... [22:46:13]Read from MH i2c: 01 07 00 AF 2A 00 00 00 00 00 9A 0B 85 [22:46:13]RasterBufferAndPrint [22:46:13]line [22:46:13]line [22:46:13]line [22:46:13]line [22:46:13]line [22:46:13]written 0, free lines is 2979 [22:46:13]process_action close_receipt done [22:46:13]requested_data is exist [22:46:13]produce_requested_data [22:46:13]requested_item fm.sn is exist - process it [22:46:13]wFMCommunicate request_size=4 [22:46:13]MH_SAM_APDU [22:46:13]CAPDU: 80 11 00 00 [22:46:13]Write to MH i2c: E2 08 00 B6 2A 80 11 00 00 00 00 00 00 5A [22:46:13]Write i2c OK [22:46:13]MH_I2C_Read... [22:46:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:46:13]Read from MH i2c: E2 [22:46:13]MH_I2C_Read... [22:46:13]Read from MH i2c: E2 17 00 [22:46:13]MH_I2C_Read... [22:46:13]Read from MH i2c: E2 17 00 B6 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 AD [22:46:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [22:46:13]wFMCommunicate OK [22:46:13]requested_item fd.num is exist - process it [22:46:13]SAM_PROTO_GetFieldsCounters [22:46:13]wFMCommunicate request_size=4 [22:46:13]MH_SAM_APDU [22:46:13]CAPDU: 80 13 00 00 [22:46:13]Write to MH i2c: E2 08 00 B7 2A 80 13 00 00 00 00 00 00 5D [22:46:13]Write i2c OK [22:46:13]MH_I2C_Read... [22:46:13]OFD Sender: No OFD packet to send [22:46:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:46:13]Read from MH i2c: E2 [22:46:13]MH_I2C_Read... [22:46:13]Read from MH i2c: E2 62 00 [22:46:13]MH_I2C_Read... [22:46:13]Read from MH i2c: E2 62 00 B7 2A 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 6E 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 3B [22:46:13]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 6E 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:46:13]wFMCommunicate OK [22:46:13]SAM_PROTO_GetFieldsCounters done [22:46:13]requested_item shift.num is exist - process it [22:46:13]requested_item shift.opened is exist - process it [22:46:13]req_shift_opened [22:46:13]FM_GetShiftState [22:46:13]SAM_PROTO_GetShiftState [22:46:13]wFMCommunicate request_size=4 [22:46:13]MH_SAM_APDU [22:46:13]CAPDU: 80 13 01 00 [22:46:13]Write to MH i2c: E2 08 00 B8 2A 80 13 01 00 00 00 00 00 5F [22:46:13]Write i2c OK [22:46:13]MH_I2C_Read... [22:46:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:46:13]Read from MH i2c: E2 [22:46:13]MH_I2C_Read... [22:46:13]Read from MH i2c: E2 0E 00 [22:46:13]MH_I2C_Read... [22:46:13]Read from MH i2c: E2 0E 00 B8 2A 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 B4 [22:46:13]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [22:46:13]wFMCommunicate OK [22:46:13]SAM_PROTO_GetShiftState done [22:46:14]FM_GetShiftState done [22:46:14]req_shift_opened done [22:46:14]requested_item shift.open_date is exist - process it [22:46:14]req_shift_open_date [22:46:14]req_shift_open_date done [22:46:14]produce_requested_data done [22:46:14]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37230,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [22:46:14]process_action_free close_receipt [22:46:14]json_value_free [22:46:14]json_value_free done [22:46:14]process_json_proto returns [22:46:14]Send response to host [22:46:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37230,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [22:46:14]free response buf [22:46:14]execute_script done [22:46:14]execute_script returns [22:46:14]free content buf [22:46:14]Sock 7.Close socket [22:46:14]Sock 7.Thread stoped [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:54]OFD Sender: No OFD packet to send [22:48:59]OFD Sender: No OFD packet to send [22:49:04]OFD Sender: No OFD packet to send [22:49:09]OFD Sender: No OFD packet to send [22:49:14]OFD Sender: No OFD packet to send [22:49:19]OFD Sender: No OFD packet to send [22:49:24]OFD Sender: No OFD packet to send [22:49:29]OFD Sender: No OFD packet to send [22:49:34]OFD Sender: No OFD packet to send [22:49:39]OFD Sender: No OFD packet to send [22:49:44]OFD Sender: No OFD packet to send [22:49:49]OFD Sender: No OFD packet to send [22:49:54]OFD Sender: No OFD packet to send [22:49:59]OFD Sender: No OFD packet to send [22:50:04]OFD Sender: No OFD packet to send [22:50:09]OFD Sender: No OFD packet to send [22:50:14]OFD Sender: No OFD packet to send [22:50:19]OFD Sender: No OFD packet to send [22:50:24]OFD Sender: No OFD packet to send [22:50:29]OFD Sender: No OFD packet to send [22:50:34]OFD Sender: No OFD packet to send [22:50:39]OFD Sender: No OFD packet to send [22:50:44]OFD Sender: No OFD packet to send [22:50:49]OFD Sender: No OFD packet to send [22:50:54]OFD Sender: No OFD packet to send [22:50:59]OFD Sender: No OFD packet to send [22:51:04]OFD Sender: No OFD packet to send [22:51:09]OFD Sender: No OFD packet to send [22:51:14]OFD Sender: No OFD packet to send [22:51:19]OFD Sender: No OFD packet to send [22:51:24]OFD Sender: No OFD packet to send [22:51:29]OFD Sender: No OFD packet to send [22:51:34]OFD Sender: No OFD packet to send [22:51:39]OFD Sender: No OFD packet to send [22:51:44]OFD Sender: No OFD packet to send [22:51:49]OFD Sender: No OFD packet to send [22:51: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:18]accept exits with 9 [22:57:18]New connection [22:57:18]New thread 3066699108 created [22:57:18]Thread 3066555748 joined [22:57:18]Waiting for new connection... [22:57:18] Sock 9.Parse request [22:57:18]Sock 9.Check first char [22:57:18]Sock 9.First char is OK [22:57:18]request: POST /json_proto HTTP/1.0 [22:57:18]Method: POST [22:57:18]URL: /json_proto [22:57:18]Method is POST - this is cgi request [22:57:18]url: /json_proto [22:57:18]query_string will be loaded in cgi processing [22:57:18]execute_cgi json_proto POST (null) [22:57:18]execute_cgi path=json_proto method=POST [22:57:18]POST find Content-Length [22:57:18]Host: 172.17.53.68:8080 [22:57:18]Content-Length: 727 [22:57:18]Content-Type: application/json [22:57:18] [22:57:18]POST finish read [22:57:18]Found Content-Length = 727 [22:57:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76700", "tax_sys" : 0, "items" : [ { "code": "4700000160792", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 (\u043A\u0440\u0443\u0433\u043B\u044B\u0439)", "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:57:18]execute_script... [22:57: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)76700", "tax_sys" : 0, "items" : [ { "code": "4700000160792", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 (\u043A\u0440\u0443\u0433\u043B\u044B\u0439)", "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:57:18]POST & json_proto [22:57:18]process_json_proto [22:57:18]json parsed OK: [22:57:18]protocol is kg_v1.0 [22:57:18]action value=close_receipt [22:57:18]process_action close_receipt [22:57:18]cmd_close_receipt [22:57:18]MH_GetDate [22:57:18]Write to MH i2c: F0 00 00 B9 2A D2 [22:57:18]Write i2c OK [22:57:18]MH_I2C_Read... [22:57:18]Read from MH i2c: F0 [22:57:18]MH_I2C_Read... [22:57:18]Read from MH i2c: F0 09 00 [22:57:18]MH_I2C_Read... [22:57:18]Read from MH i2c: F0 09 00 B9 2A 00 D8 8A 15 67 C5 A4 76 66 FE [22:57:18]GetLastDocTimeStamp 1729464380 [22:57:18]current date 1729465048 [22:57:18]FM_GetShiftState [22:57:18]SAM_PROTO_GetShiftState [22:57:18]wFMCommunicate request_size=4 [22:57:18]MH_SAM_APDU [22:57:18]CAPDU: 80 13 01 00 [22:57:18]Write to MH i2c: E2 08 00 BA 2A 80 13 01 00 00 00 00 00 61 [22:57:18]Write i2c OK [22:57:18]MH_I2C_Read... [22:57:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:57:18]Read from MH i2c: E2 [22:57:18]MH_I2C_Read... [22:57:18]Read from MH i2c: E2 0E 00 [22:57:18]MH_I2C_Read... [22:57:18]Read from MH i2c: E2 0E 00 BA 2A 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 B6 [22:57:18]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [22:57:18]wFMCommunicate OK [22:57:18]SAM_PROTO_GetShiftState done [22:57:18]FM_GetShiftState done [22:57:18]opened in 1729383299 [22:57:18]opened+sec_in_day 1729469699 [22:57:18]quantity*price = 6000 [22:57:18]sum+1 = 6001 [22:57:18]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 ÐСП 1% : 0.53 ÐДС 12% : 6.37 Ðаличными: 60.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 79 20.10.2024 22:57 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37231 ФПД: 12704552872784 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T225728&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37231&fm=12704552872784&tin=02508201610067®Number=0000000000098149&sum=6000 0 [22:57:19]StoreToDocumentArchive [22:57:19]shift 461 fd 37231 [22:57:19]save to /storage/0461/doc_00037231 [22:57:19]save last doc name /storage/0461/doc_00037231 to /storage/kkm_last_doc_name [22:57:19]save OK [22:57:19]Clear old archive folders... [22:57:19]ProcessDocumentItem done err = 0, tmpTLVsize=303 [22:57:19]tlvbuf is 009D0800 [22:57:19]SAM_PROTO_ClearQueue [22:57:19]wFMCommunicate request_size=4 [22:57:19]MH_SAM_APDU [22:57:19]CAPDU: 80 09 00 00 [22:57:19]Write to MH i2c: E2 08 00 C7 2A 80 09 00 00 00 00 00 00 63 [22:57:19]Write i2c OK [22:57:19]MH_I2C_Read... [22:57:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:57:19]OFD Sender: No OFD packet to send [22:57:19]Read from MH i2c: E2 [22:57:19]MH_I2C_Read... [22:57:19]Read from MH i2c: E2 03 00 [22:57:19]MH_I2C_Read... [22:57:19]Read from MH i2c: E2 03 00 C7 2A 00 90 00 65 [22:57:19]RAPDU: 90 00 [22:57:19]wFMCommunicate OK [22:57:19]SAM_PROTO_ClearQueue done [22:57:19]KKMCreateOFDPacket [22:57:19]OFDProtocolAddRootSTLVToBuf [22:57:19]FM_MakeSignedData [22:57:19]FM_MakeSignedData [22:57:19]SAM_PROTO_SignData [22:57:19]wFMCommunicate request_size=4 [22:57:19]MH_SAM_APDU [22:57:19]CAPDU: 80 0D 01 02 [22:57:19]Write to MH i2c: E2 08 00 C8 2A 80 0D 01 02 00 00 00 00 6B [22:57:19]Write i2c OK [22:57:19]MH_I2C_Read... [22:57:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:57:19]Read from MH i2c: E2 [22:57:19]MH_I2C_Read... [22:57:19]Read from MH i2c: E2 03 00 [22:57:19]MH_I2C_Read... [22:57:19]Read from MH i2c: E2 03 00 C8 2A 00 90 00 66 [22:57:19]RAPDU: 90 00 [22:57:19]wFMCommunicate OK [22:57:19]wFMCommunicate request_size=255 [22:57:19]MH_SAM_APDU [22:57:19]CAPDU: 80 0D 02 02 FA 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 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 4F 00 00 00 F4 03 04 00 D8 8A 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D [22:57:19]Write to MH i2c: E2 02 01 C9 2A 80 0D 02 02 FA 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 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 4F 00 00 00 F4 03 04 00 D8 8A 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 00 00 46 [22:57:19]Write i2c OK [22:57:19]MH_I2C_Read... [22:57:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:57:19]Read from MH i2c: E2 [22:57:19]MH_I2C_Read... [22:57:19]Read from MH i2c: E2 03 00 [22:57:19]MH_I2C_Read... [22:57:19]Read from MH i2c: E2 03 00 C9 2A 00 90 00 67 [22:57:19]RAPDU: 90 00 [22:57:19]wFMCommunicate OK [22:57:19]wFMCommunicate request_size=62 [22:57:19]MH_SAM_APDU [22:57:19]CAPDU: 80 0D 02 02 39 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 6F 91 00 00 35 04 06 00 0B 8E 02 5C 6B 50 [22:57:19]Write to MH i2c: E2 41 00 CA 2A 80 0D 02 02 39 00 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 6F 91 00 00 35 04 06 00 0B 8E 02 5C 6B 50 00 00 61 [22:57:19]Write i2c OK [22:57:19]MH_I2C_Read... [22:57:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:57:19]Read from MH i2c: E2 [22:57:19]MH_I2C_Read... [22:57:19]Read from MH i2c: E2 03 00 [22:57:19]MH_I2C_Read... [22:57:19]Read from MH i2c: E2 03 00 CA 2A 00 90 00 68 [22:57:19]RAPDU: 90 00 [22:57:19]wFMCommunicate OK [22:57:19]wFMCommunicate request_size=4 [22:57:19]MH_SAM_APDU [22:57:19]CAPDU: 80 0D 03 02 [22:57:19]Write to MH i2c: E2 08 00 CB 2A 80 0D 03 02 00 00 00 00 70 [22:57:19]Write i2c OK [22:57:19]MH_I2C_Read... [22:57:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:57:19]Read from MH i2c: E2 [22:57:19]MH_I2C_Read... [22:57:19]Read from MH i2c: E2 0B 00 [22:57:19]MH_I2C_Read... [22:57:19]Read from MH i2c: E2 0B 00 CB 2A 00 D1 9D 5A 8A 56 38 A0 D9 90 00 CA [22:57:19]RAPDU: D1 9D 5A 8A 56 38 A0 D9 90 00 [22:57:19]wFMCommunicate OK [22:57:19]SAM_PROTO_SignData done [22:57:19]FM_MakeSignedData done [22:57:19]CreateOFDProtocolMessage [22:57:19]wFMCommunicate request_size=4 [22:57:19]MH_SAM_APDU [22:57:19]CAPDU: 80 11 00 00 [22:57:19]Write to MH i2c: E2 08 00 CC 2A 80 11 00 00 00 00 00 00 70 [22:57:19]Write i2c OK [22:57:19]MH_I2C_Read... [22:57:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:57:19]Read from MH i2c: E2 [22:57:19]MH_I2C_Read... [22:57:19]Read from MH i2c: E2 17 00 [22:57:19]MH_I2C_Read... [22:57:19]Read from MH i2c: E2 17 00 CC 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 C3 [22:57:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [22:57:19]wFMCommunicate OK [22:57:19]CreateOFDProtocolMessage done [22:57:19]OFDSenderStorePacket 37231 [22:57:19]StoreOFDPacket docnum=37231 [22:57:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 43 01 00 00 DA 30 3B 01 09 C0 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 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 4F 00 00 00 F4 03 04 00 D8 8A 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 6F 91 00 00 35 04 06 00 0B 8E 02 5C 6B 50 D1 9D 5A 8A 56 38 A0 D9 [22:57:19]CheckFolder [22:57:19]dirname=/storage/ofd_packets [22:57:19]CheckFolder done [22:57:19]ProducePacketName [22:57:19]name=ofd_packets/00037231 [22:57:19]NVStorageSaveData ofd_packets/00037231 [22:57:19]File name is /storage/ofd_packets/00037231 [22:57:19]Write 353 bytes [22:57:19]NVStorageSaveData done [22:57:19]OFDSenderStorePacket done [22:57:19]KKMCreateOFDPacket done [22:57:19]NVStorageSaveData kkm_last_timestamp [22:57:19]File name is /storage/kkm_last_timestamp [22:57:19]Write 4 bytes [22:57:19]NVStorageSaveData done [22:57:19]ExternCall_PrintAddStr [22:57:19]wPrintStart [22:57:19]Write to MH i2c: 01 00 00 CD 2A F7 [22:57:19]Write i2c OK [22:57:19]MH_I2C_Read... [22:57:19]Read from MH i2c: 01 [22:57:19]MH_I2C_Read... [22:57:19]Read from MH i2c: 01 07 00 [22:57:19]MH_I2C_Read... [22:57:19]Read from MH i2c: 01 07 00 CD 2A 00 00 00 00 00 FF 0F 0C [22:57:19]RasterBufferAndPrint [22:57:19]line Счет N : (3)76700 [22:57:19]line ИÐÐ: 02508201610067 [22:57:19]line Контрольно-КаÑÑовый Чек [22:57:19]line ПРОДÐЖР[22:57:19]line Товар: 4700000160792 [22:57:19]line Снек Курут клаÑÑичеÑкий (круглый) [22:57:19]line 1.000 * 60.00 [22:57:19]line = 60.00 [22:57:19]line ÐДС 12% ÐСП 1% [22:57:19]line > о реализуемом товаре [22:57:19]line ИТОГО: 60.00 [22:57:19]line ÐСП 1% : 0.53 [22:57:19]line ÐДС 12% : 6.37 [22:57:19]line Ðаличными: 60.00 [22:57:19]line Безнал.: 0.00 [22:57:19]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [22:57:19]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [22:57:19]line СÐО: Общий режим [22:57:19]line Чек 79 20.10.2024 22:57 [22:57:19]line Смена: 461 ФФД: 1.0 [22:57:19]line ЗÐМ: 0300000235 [22:57:19]line РÐМ: 0000000000098149 [22:57:19]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [22:57:19]line ФМ: 0000000000965372 [22:57:19]line ФД: 37231 [22:57:19]line ФПД: 12704552872784 [22:57:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T225728&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37231&fm=12704552872784&tin=02508201610067®Number=0000000000098149&sum=6000 [22:57:20]line 0 [22:57:20]OFD Sender: Processing packet 37231 [packets to send 25, broken 24] [22:57:20]ProducePacketName [22:57:20]name=ofd_packets/00037231 [22:57:20]OFD Sender: To server: ‡•öpG, [22:57:20]CommunicateWithHost lk.salyk.kg:30040 [22:57:20]ConnectInit lk.salyk.kg [22:57:20]written 0, free lines is 4095 [22:57:20]Connected sock=10 [22:57: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 33 37 32 43 01 00 00 DA 30 3B 01 09 C0 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 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 4F 00 00 00 F4 03 04 00 D8 8A 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 6F 91 00 00 35 04 06 00 0B 8E 02 5C 6B 50 D1 9D 5A 8A 56 38 A0 D9 [22:57:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 6F B7 47 00 CE D3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 6F 91 00 00 F4 03 04 00 69 33 15 67 B6 04 01 00 00 A1 DA 24 AD A8 C4 EB 53 [22:57:20]CommunicateWithHost err = 0 [22:57:20]CheckOFDResponse [22:57:20]1017 (14) - 77093643461234 [22:57:20]1041 (16) - 0000000000965372 [22:57:20]1040 (4) - 37231 [22:57:20]1012 (4) - 20.10.2024 16:44 [22:57:20]1206 (1) - 0 [22:57:20]OFD Sender: Remove packet 37231 [22:57:20]ProducePacketName [22:57:20]name=ofd_packets/00037231 [22:57:20]NVStorageDeleteData [22:57:20]Write to MH i2c: 01 00 00 F6 2A 20 [22:57:20]Write i2c OK [22:57:20]MH_I2C_Read... [22:57:20]Read from MH i2c: 01 [22:57:20]MH_I2C_Read... [22:57:20]Read from MH i2c: 01 07 00 [22:57:20]MH_I2C_Read... [22:57:20]Read from MH i2c: 01 07 00 F6 2A 00 00 00 00 00 05 0D 39 [22:57:20]RasterBufferAndPrint [22:57:20]line [22:57:20]line [22:57:20]line [22:57:20]line [22:57:20]line [22:57:20]written 0, free lines is 3340 [22:57:20]process_action close_receipt done [22:57:20]requested_data is exist [22:57:20]produce_requested_data [22:57:20]requested_item fm.sn is exist - process it [22:57:20]wFMCommunicate request_size=4 [22:57:20]MH_SAM_APDU [22:57:20]CAPDU: 80 11 00 00 [22:57:20]Write to MH i2c: E2 08 00 FD 2A 80 11 00 00 00 00 00 00 A1 [22:57:20]Write i2c OK [22:57:20]MH_I2C_Read... [22:57:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:57:20]Read from MH i2c: E2 [22:57:20]MH_I2C_Read... [22:57:20]Read from MH i2c: E2 17 00 [22:57:20]MH_I2C_Read... [22:57:20]Read from MH i2c: E2 17 00 FD 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 F4 [22:57:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [22:57:20]wFMCommunicate OK [22:57:20]requested_item fd.num is exist - process it [22:57:20]SAM_PROTO_GetFieldsCounters [22:57:20]wFMCommunicate request_size=4 [22:57:20]MH_SAM_APDU [22:57:20]CAPDU: 80 13 00 00 [22:57:20]Write to MH i2c: E2 08 00 FE 2A 80 13 00 00 00 00 00 00 A4 [22:57:20]Write i2c OK [22:57:20]MH_I2C_Read... [22:57:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:57:20]Read from MH i2c: E2 [22:57:20]MH_I2C_Read... [22:57:20]Read from MH i2c: E2 62 00 [22:57:20]MH_I2C_Read... [22:57:20]Read from MH i2c: E2 62 00 FE 2A 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 6F 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 86 [22:57:20]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 6F 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:57:20]wFMCommunicate OK [22:57:20]SAM_PROTO_GetFieldsCounters done [22:57:20]requested_item shift.num is exist - process it [22:57:20]requested_item shift.opened is exist - process it [22:57:20]req_shift_opened [22:57:20]FM_GetShiftState [22:57:20]SAM_PROTO_GetShiftState [22:57:20]wFMCommunicate request_size=4 [22:57:20]MH_SAM_APDU [22:57:20]CAPDU: 80 13 01 00 [22:57:20]Write to MH i2c: E2 08 00 FF 2A 80 13 01 00 00 00 00 00 A6 [22:57:20]Write i2c OK [22:57:20]MH_I2C_Read... [22:57:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:57:21]Read from MH i2c: E2 [22:57:21]MH_I2C_Read... [22:57:21]Read from MH i2c: E2 0E 00 [22:57:21]MH_I2C_Read... [22:57:21]Read from MH i2c: E2 0E 00 FF 2A 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 FB [22:57:21]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [22:57:21]wFMCommunicate OK [22:57:21]SAM_PROTO_GetShiftState done [22:57:21]FM_GetShiftState done [22:57:21]req_shift_opened done [22:57:21]requested_item shift.open_date is exist - process it [22:57:21]req_shift_open_date [22:57:21]req_shift_open_date done [22:57:21]produce_requested_data done [22:57:21]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37231,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [22:57:21]process_action_free close_receipt [22:57:21]json_value_free [22:57:21]json_value_free done [22:57:21]process_json_proto returns [22:57:21]Send response to host [22:57:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37231,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [22:57:21]free response buf [22:57:21]execute_script done [22:57:21]execute_script returns [22:57:21]free content buf [22:57:21]Sock 9.Close socket [22:57:21]Sock 9.Thread stoped [22:57:21]OFD Sender: No OFD packet to send [22:57:26]OFD Sender: No OFD packet to send [22:57:31]OFD Sender: No OFD packet to send [22:57:36]OFD Sender: No OFD packet to send [22:57:41]OFD Sender: No OFD packet to send [22:57:46]OFD Sender: No OFD packet to send [22:57:51]OFD Sender: No OFD packet to send [22:57:56]OFD Sender: No OFD packet to send [22:58:01]OFD Sender: No OFD packet to send [22:58:06]OFD Sender: No OFD packet to send [22:58:11]OFD Sender: No OFD packet to send [22:58:16]OFD Sender: No OFD packet to send [22:58:21]OFD Sender: No OFD packet to send [22:58:26]OFD Sender: No OFD packet to send [22:58:31]OFD Sender: No OFD packet to send [22:58:36]OFD Sender: No OFD packet to send [22:58:41]OFD Sender: No OFD packet to send [22:58:46]OFD Sender: No OFD packet to send [22:58:51]OFD Sender: No OFD packet to send [22:58:56]OFD Sender: No OFD packet to send [22:59:01]OFD Sender: No OFD packet to send [22:59:06]OFD Sender: No OFD packet to send [22:59:11]OFD Sender: No OFD packet to send [22:59:16]OFD Sender: No OFD packet to send [22:59:21]OFD Sender: No OFD packet to send [22:59:26]OFD Sender: No OFD packet to send [22:59:31]OFD Sender: No OFD packet to send [22:59:36]OFD Sender: No OFD packet to send [22:59:41]OFD Sender: No OFD packet to send [22:59:46]OFD Sender: No OFD packet to send [22:59:51]OFD Sender: No OFD packet to send [22:59:56]OFD Sender: No OFD packet to send [23:00:01]OFD Sender: No OFD packet to send [23:00:06]OFD Sender: No OFD packet to send [23:00:11]OFD Sender: No OFD packet to send [23:00:16]OFD Sender: No OFD packet to send [23:00:21]OFD Sender: No OFD packet to send [23:00:26]OFD Sender: No OFD packet to send [23:00:31]OFD Sender: No OFD packet to send [23:00:36]OFD Sender: No OFD packet to send [23:00:41]OFD Sender: No OFD packet to send [23:00:46]OFD Sender: No OFD packet to send [23:00:51]OFD Sender: No OFD packet to send [23:00:56]OFD Sender: No OFD packet to send [23:01:01]OFD Sender: No OFD packet to send [23:01:06]OFD Sender: No OFD packet to send [23:01:11]OFD Sender: No OFD packet to send [23:01:16]OFD Sender: No OFD packet to send [23:01:21]OFD Sender: No OFD packet to send [23:01:26]OFD Sender: No OFD packet to send [23:01:31]OFD Sender: No OFD packet to send [23:01:36]OFD Sender: No OFD packet to send [23:01:41]OFD Sender: No OFD packet to send [23:01:46]OFD Sender: No OFD packet to send [23:01:51]OFD Sender: No OFD packet to send [23:01:56]OFD Sender: No OFD packet to send [23:02:01]OFD Sender: No OFD packet to send [23:02:06]OFD Sender: No OFD packet to send [23:02:11]OFD Sender: No OFD packet to send [23:02:16]OFD Sender: No OFD packet to send [23:02:21]OFD Sender: No OFD packet to send [23:02:26]OFD Sender: No OFD packet to send [23:02:31]OFD Sender: No OFD packet to send [23:02:36]OFD Sender: No OFD packet to send [23:02:41]OFD Sender: No OFD packet to send [23:02:46]OFD Sender: No OFD packet to send [23:02:51]OFD Sender: No OFD packet to send [23:02:56]OFD Sender: No OFD packet to send [23:03:01]OFD Sender: No OFD packet to send [23:03:06]OFD Sender: No OFD packet to send [23:03:11]OFD Sender: No OFD packet to send [23:03:16]OFD Sender: No OFD packet to send [23:03:21]OFD Sender: No OFD packet to send [23:03:26]OFD Sender: No OFD packet to send [23:03:31]OFD Sender: No OFD packet to send [23:03:36]OFD Sender: No OFD packet to send [23:03:41]OFD Sender: No OFD packet to send [23:03:46]OFD Sender: No OFD packet to send [23:03:51]OFD Sender: No OFD packet to send [23:03:56]OFD Sender: No OFD packet to send [23:04:01]OFD Sender: No OFD packet to send [23:04:06]OFD Sender: No OFD packet to send [23:04:11]OFD Sender: No OFD packet to send [23:04:16]OFD Sender: No OFD packet to send [23:04:21]OFD Sender: No OFD packet to send [23:04:26]OFD Sender: No OFD packet to send [23:04:31]OFD Sender: No OFD packet to send [23:04:36]OFD Sender: No OFD packet to send [23:04:41]OFD Sender: No OFD packet to send [23:04:46]OFD Sender: No OFD packet to send [23:04:51]OFD Sender: No OFD packet to send [23:04:56]OFD Sender: No OFD packet to send [23:05:01]OFD Sender: No OFD packet to send [23:05:06]OFD Sender: No OFD packet to send [23:05:11]OFD Sender: No OFD packet to send [23:05:16]OFD Sender: No OFD packet to send [23:05:21]OFD Sender: No OFD packet to send [23:05:26]OFD Sender: No OFD packet to send [23:05:31]OFD Sender: No OFD packet to send [23:05:36]OFD Sender: No OFD packet to send [23:05:41]OFD Sender: No OFD packet to send [23:05:46]OFD Sender: No OFD packet to send [23:05:51]OFD Sender: No OFD packet to send [23:05:56]OFD Sender: No OFD packet to send [23:06:01]OFD Sender: No OFD packet to send [23:06:06]OFD Sender: No OFD packet to send [23:06:11]OFD Sender: No OFD packet to send [23:06:16]OFD Sender: No OFD packet to send [23:06:21]OFD Sender: No OFD packet to send [23:06:26]OFD Sender: No OFD packet to send [23:06:31]OFD Sender: No OFD packet to send [23:06:36]OFD Sender: No OFD packet to send [23:06:41]OFD Sender: No OFD packet to send [23:06:46]OFD Sender: No OFD packet to send [23:06:51]OFD Sender: No OFD packet to send [23:06:56]OFD Sender: No OFD packet to send [23:07:01]OFD Sender: No OFD packet to send [23:07:06]OFD Sender: No OFD packet to send [23:07:11]OFD Sender: No OFD packet to send [23:07:16]OFD Sender: No OFD packet to send [23:07:21]OFD Sender: No OFD packet to send [23:07:26]OFD Sender: No OFD packet to send [23:07:31]OFD Sender: No OFD packet to send [23:07:36]OFD Sender: No OFD packet to send [23:07:41]OFD Sender: No OFD packet to send [23:07:46]OFD Sender: No OFD packet to send [23:07:51]OFD Sender: No OFD packet to send [23:07:56]OFD Sender: No OFD packet to send [23:08:01]OFD Sender: No OFD packet to send [23:08:06]OFD Sender: No OFD packet to send [23:08:11]OFD Sender: No OFD packet to send [23:08:16]OFD Sender: No OFD packet to send [23:08:21]OFD Sender: No OFD packet to send [23:08:26]OFD Sender: No OFD packet to send [23:08:31]OFD Sender: No OFD packet to send [23:08:36]OFD Sender: No OFD packet to send [23:08:41]OFD Sender: No OFD packet to send [23:08:46]OFD Sender: No OFD packet to send [23:08:51]OFD Sender: No OFD packet to send [23:08:56]OFD Sender: No OFD packet to send [23:09:01]OFD Sender: No OFD packet to send [23:09:06]OFD Sender: No OFD packet to send [23:09:11]OFD Sender: No OFD packet to send [23:09:16]OFD Sender: No OFD packet to send [23:09:21]OFD Sender: No OFD packet to send [23:09:26]OFD Sender: No OFD packet to send [23:09:31]OFD Sender: No OFD packet to send [23:09:36]OFD Sender: No OFD packet to send [23:09:41]OFD Sender: No OFD packet to send [23:09:46]OFD Sender: No OFD packet to send [23:09:51]OFD Sender: No OFD packet to send [23:09:56]OFD Sender: No OFD packet to send [23:10:01]OFD Sender: No OFD packet to send [23:10:06]OFD Sender: No OFD packet to send [23:10:11]OFD Sender: No OFD packet to send [23:10:16]OFD Sender: No OFD packet to send [23:10:21]OFD Sender: No OFD packet to send [23:10:26]OFD Sender: No OFD packet to send [23:10:31]OFD Sender: No OFD packet to send [23:10:36]OFD Sender: No OFD packet to send [23:10:41]OFD Sender: No OFD packet to send [23:10:46]OFD Sender: No OFD packet to send [23:10:51]OFD Sender: No OFD packet to send [23:10:56]OFD Sender: No OFD packet to send [23:11:01]OFD Sender: No OFD packet to send [23:11:06]OFD Sender: No OFD packet to send [23:11:11]OFD Sender: No OFD packet to send [23:11:16]OFD Sender: No OFD packet to send [23:11:21]OFD Sender: No OFD packet to send [23:11:26]OFD Sender: No OFD packet to send [23:11:31]OFD Sender: No OFD packet to send [23:11:36]OFD Sender: No OFD packet to send [23:11:41]OFD Sender: No OFD packet to send [23:11:46]OFD Sender: No OFD packet to send [23:11:51]OFD Sender: No OFD packet to send [23:11:56]OFD Sender: No OFD packet to send [23:12:01]OFD Sender: No OFD packet to send [23:12:06]OFD Sender: No OFD packet to send [23:12:11]OFD Sender: No OFD packet to send [23:12:16]OFD Sender: No OFD packet to send [23:12:21]OFD Sender: No OFD packet to send [23:12:26]OFD Sender: No OFD packet to send [23:12:31]OFD Sender: No OFD packet to send [23:12:36]OFD Sender: No OFD packet to send [23:12:41]OFD Sender: No OFD packet to send [23:12:46]OFD Sender: No OFD packet to send [23:12:51]OFD Sender: No OFD packet to send [23:12:56]OFD Sender: No OFD packet to send [23:13:01]OFD Sender: No OFD packet to send [23:13:06]OFD Sender: No OFD packet to send [23:13:11]OFD Sender: No OFD packet to send [23:13:16]OFD Sender: No OFD packet to send [23:13:21]OFD Sender: No OFD packet to send [23:13:26]OFD Sender: No OFD packet to send [23:13:31]OFD Sender: No OFD packet to send [23:13:36]OFD Sender: No OFD packet to send [23:13:41]OFD Sender: No OFD packet to send [23:13:46]OFD Sender: No OFD packet to send [23:13:51]OFD Sender: No OFD packet to send [23:13:56]OFD Sender: No OFD packet to send [23:14:01]OFD Sender: No OFD packet to send [23:14:06]OFD Sender: No OFD packet to send [23:14:11]OFD Sender: No OFD packet to send [23:14:16]OFD Sender: No OFD packet to send [23:14:21]OFD Sender: No OFD packet to send [23:14:26]OFD Sender: No OFD packet to send [23:14:31]OFD Sender: No OFD packet to send [23:14:36]OFD Sender: No OFD packet to send [23:14:41]OFD Sender: No OFD packet to send [23:14:46]OFD Sender: No OFD packet to send [23:14:52]OFD Sender: No OFD packet to send [23:14:57]OFD Sender: No OFD packet to send [23:15:02]OFD Sender: No OFD packet to send [23:15:07]OFD Sender: No OFD packet to send [23:15:12]OFD Sender: No OFD packet to send [23:15:17]OFD Sender: No OFD packet to send [23:15:22]OFD Sender: No OFD packet to send [23:15:27]OFD Sender: No OFD packet to send [23:15:32]OFD Sender: No OFD packet to send [23:15:37]OFD Sender: No OFD packet to send [23:15:42]OFD Sender: No OFD packet to send [23:15:47]OFD Sender: No OFD packet to send [23:15:52]OFD Sender: No OFD packet to send [23:15:57]OFD Sender: No OFD packet to send [23:16:02]OFD Sender: No OFD packet to send [23:16:07]OFD Sender: No OFD packet to send [23:16:12]OFD Sender: No OFD packet to send [23:16:17]OFD Sender: No OFD packet to send [23:16:22]OFD Sender: No OFD packet to send [23:16:27]OFD Sender: No OFD packet to send [23:16:32]OFD Sender: No OFD packet to send [23:16:37]OFD Sender: No OFD packet to send [23:16:42]OFD Sender: No OFD packet to send [23:16:47]OFD Sender: No OFD packet to send [23:16:52]OFD Sender: No OFD packet to send [23:16:57]OFD Sender: No OFD packet to send [23:17:02]OFD Sender: No OFD packet to send [23:17:07]OFD Sender: No OFD packet to send [23:17:12]OFD Sender: No OFD packet to send [23:17:17]OFD Sender: No OFD packet to send [23:17:22]OFD Sender: No OFD packet to send [23:17:27]OFD Sender: No OFD packet to send [23:17:32]OFD Sender: No OFD packet to send [23:17:37]OFD Sender: No OFD packet to send [23:17:42]OFD Sender: No OFD packet to send [23:17:47]OFD Sender: No OFD packet to send [23:17:52]OFD Sender: No OFD packet to send [23:17:57]OFD Sender: No OFD packet to send [23:18:02]OFD Sender: No OFD packet to send [23:18:07]OFD Sender: No OFD packet to send [23:18:12]OFD Sender: No OFD packet to send [23:18:17]OFD Sender: No OFD packet to send [23:18:22]OFD Sender: No OFD packet to send [23:18:27]OFD Sender: No OFD packet to send [23:18:32]OFD Sender: No OFD packet to send [23:18:37]OFD Sender: No OFD packet to send [23:18:42]OFD Sender: No OFD packet to send [23:18:47]OFD Sender: No OFD packet to send [23:18:52]OFD Sender: No OFD packet to send [23:18:57]OFD Sender: No OFD packet to send [23:19:02]OFD Sender: No OFD packet to send [23:19:07]OFD Sender: No OFD packet to send [23:19:12]OFD Sender: No OFD packet to send [23:19:17]OFD Sender: No OFD packet to send [23:19:22]OFD Sender: No OFD packet to send [23:19:27]OFD Sender: No OFD packet to send [23:19:32]OFD Sender: No OFD packet to send [23:19:37]OFD Sender: No OFD packet to send [23:19:42]OFD Sender: No OFD packet to send [23:19:47]OFD Sender: No OFD packet to send [23:19:52]OFD Sender: No OFD packet to send [23:19:57]OFD Sender: No OFD packet to send [23:20:02]OFD Sender: No OFD packet to send [23:20:07]OFD Sender: No OFD packet to send [23:20:12]OFD Sender: No OFD packet to send [23:20:17]OFD Sender: No OFD packet to send [23:20:22]OFD Sender: No OFD packet to send [23:20:27]OFD Sender: No OFD packet to send [23:20:32]OFD Sender: No OFD packet to send [23:20:37]OFD Sender: No OFD packet to send [23:20:42]OFD Sender: No OFD packet to send [23:20:47]OFD Sender: No OFD packet to send [23:20:52]OFD Sender: No OFD packet to send [23:20:57]OFD Sender: No OFD packet to send [23:21:02]OFD Sender: No OFD packet to send [23:21:07]OFD Sender: No OFD packet to send [23:21:12]OFD Sender: No OFD packet to send [23:21:17]OFD Sender: No OFD packet to send [23:21:22]OFD Sender: No OFD packet to send [23:21:27]OFD Sender: No OFD packet to send [23:21:32]OFD Sender: No OFD packet to send [23:21:37]OFD Sender: No OFD packet to send [23:21:42]OFD Sender: No OFD packet to send [23:21:47]OFD Sender: No OFD packet to send [23:21:52]OFD Sender: No OFD packet to send [23:21:57]OFD Sender: No OFD packet to send [23:22:02]OFD Sender: No OFD packet to send [23:22:07]OFD Sender: No OFD packet to send [23:22:12]OFD Sender: No OFD packet to send [23:22:17]OFD Sender: No OFD packet to send [23:22:22]OFD Sender: No OFD packet to send [23:22:27]OFD Sender: No OFD packet to send [23:22:32]OFD Sender: No OFD packet to send [23:22:37]OFD Sender: No OFD packet to send [23:22:42]OFD Sender: No OFD packet to send [23:22:47]OFD Sender: No OFD packet to send [23:22:52]OFD Sender: No OFD packet to send [23:22:57]OFD Sender: No OFD packet to send [23:23:02]OFD Sender: No OFD packet to send [23:23:07]OFD Sender: No OFD packet to send [23:23:12]OFD Sender: No OFD packet to send [23:23:17]OFD Sender: No OFD packet to send [23:23:22]OFD Sender: No OFD packet to send [23:23:27]OFD Sender: No OFD packet to send [23:23:32]OFD Sender: No OFD packet to send [23:23:37]OFD Sender: No OFD packet to send [23:23:42]OFD Sender: No OFD packet to send [23:23:47]OFD Sender: No OFD packet to send [23:23:52]OFD Sender: No OFD packet to send [23:23:57]OFD Sender: No OFD packet to send [23:24:02]OFD Sender: No OFD packet to send [23:24:07]OFD Sender: No OFD packet to send [23:24:12]OFD Sender: No OFD packet to send [23:24:17]OFD Sender: No OFD packet to send [23:24:22]OFD Sender: No OFD packet to send [23:24:27]OFD Sender: No OFD packet to send [23:24:32]OFD Sender: No OFD packet to send [23:24:37]OFD Sender: No OFD packet to send [23:24:42]OFD Sender: No OFD packet to send [23:24:47]OFD Sender: No OFD packet to send [23:24:52]OFD Sender: No OFD packet to send [23:24:57]OFD Sender: No OFD packet to send [23:24:59]int [23:24:59]Write to MH i2c: 01 00 00 00 2B 2B [23:24:59]*** FLAG_PRN_PAP1 set [23:24:59]Write i2c OK [23:24:59]MH_I2C_Read... [23:24:59]Read from MH i2c: 01 [23:24:59]MH_I2C_Read... [23:24:59]Read from MH i2c: 01 07 00 [23:24:59]MH_I2C_Read... [23:24:59]Read from MH i2c: 01 07 00 00 2B 00 01 00 00 00 FF 0F 41 [23:24:59]state=0 [23:24:59]No paper [23:24:59]int [23:24:59]Write to MH i2c: 01 00 00 01 2B 2C [23:24:59]*** FLAG_PRN_PAP2 set [23:24:59]Write i2c OK [23:24:59]MH_I2C_Read... [23:24:59]Read from MH i2c: 01 [23:24:59]MH_I2C_Read... [23:24:59]Read from MH i2c: 01 07 00 [23:24:59]MH_I2C_Read... [23:24:59]Read from MH i2c: 01 07 00 01 2B 00 03 00 00 00 FF 0F 44 [23:24:59]state=0 [23:24:59]No paper [23:24:59]Cover opened [23:25:02]OFD Sender: No OFD packet to send [23:25:02]int [23:25:02]Write to MH i2c: 01 00 00 02 2B 2D [23:25:02]*** FLAG_PRN_PAP1 reset [23:25:02]*** FLAG_PRN_PAP2 reset [23:25:02]Write i2c OK [23:25:02]MH_I2C_Read... [23:25:02]Read from MH i2c: 01 [23:25:02]MH_I2C_Read... [23:25:02]Read from MH i2c: 01 07 00 [23:25:02]MH_I2C_Read... [23:25:02]Read from MH i2c: 01 07 00 02 2B 00 00 00 00 00 FF 0F 42 [23:25:02]state=3 [23:25:02]Cover closed [23:25:04]int [23:25:04]Write to MH i2c: 01 00 00 03 2B 2E [23:25:04]*** FLAG_PRN_KEY set [23:25:04]Write i2c OK [23:25:04]MH_I2C_Read... [23:25:04]Read from MH i2c: 01 [23:25:04]MH_I2C_Read... [23:25:04]Read from MH i2c: 01 07 00 [23:25:04]MH_I2C_Read... [23:25:04]Read from MH i2c: 01 07 00 03 2B 00 08 00 00 00 FF 0F 4B [23:25:04]state=0 [23:25:04]Key pressed [23:25:04]Feed [23:25:04]Write to MH i2c: D8 00 00 04 2B 06 [23:25:04]Write i2c OK [23:25:04]MH_I2C_Read... [23:25:04]Read from MH i2c: D8 [23:25:04]MH_I2C_Read... [23:25:04]Read from MH i2c: D8 01 00 [23:25:04]MH_I2C_Read... [23:25:04]Read from MH i2c: D8 01 00 04 2B 00 07 [23:25:04]int [23:25:04]Write to MH i2c: 01 00 00 05 2B 30 [23:25:04]Write i2c OK [23:25:04]MH_I2C_Read... [23:25:04]Read from MH i2c: 01 [23:25:04]MH_I2C_Read... [23:25:04]Read from MH i2c: 01 07 00 [23:25:04]MH_I2C_Read... [23:25:04]Read from MH i2c: 01 07 00 05 2B 00 48 00 00 00 3D 00 BC [23:25:04]state=2 [23:25:04]Key pressed [23:25:04]int [23:25:04]Write to MH i2c: 01 00 00 06 2B 31 [23:25:04]*** FLAG_PRN_KEY reset [23:25:04]Write i2c OK [23:25:04]MH_I2C_Read... [23:25:04]Read from MH i2c: 01 [23:25:04]MH_I2C_Read... [23:25:04]Read from MH i2c: 01 07 00 [23:25:04]MH_I2C_Read... [23:25:04]Read from MH i2c: 01 07 00 06 2B 00 00 00 00 00 F7 0F 3E [23:25:04]state=2 [23:25:04]Stop feed [23:25:07]OFD Sender: No OFD packet to send [23:25:12]OFD Sender: No OFD packet to send [23:25:17]OFD Sender: No OFD packet to send [23:25:22]OFD Sender: No OFD packet to send [23:25:27]OFD Sender: No OFD packet to send [23:25:32]OFD Sender: No OFD packet to send [23:25:37]OFD Sender: No OFD packet to send [23:25:42]OFD Sender: No OFD packet to send [23:25:47]OFD Sender: No OFD packet to send [23:25:52]OFD Sender: No OFD packet to send [23:25:57]OFD Sender: No OFD packet to send [23:26:02]OFD Sender: No OFD packet to send [23:26:07]OFD Sender: No OFD packet to send [23:26:12]OFD Sender: No OFD packet to send [23:26:17]OFD Sender: No OFD packet to send [23:26:22]OFD Sender: No OFD packet to send [23:26:27]OFD Sender: No OFD packet to send [23:26:32]OFD Sender: No OFD packet to send [23:26:37]OFD Sender: No OFD packet to send [23:26:42]OFD Sender: No OFD packet to send [23:26:47]OFD Sender: No OFD packet to send [23:26:52]OFD Sender: No OFD packet to send [23:26:57]OFD Sender: No OFD packet to send [23:27:02]OFD Sender: No OFD packet to send [23:27:07]OFD Sender: No OFD packet to send [23:27:12]OFD Sender: No OFD packet to send [23:27:17]OFD Sender: No OFD packet to send [23:27:22]OFD Sender: No OFD packet to send [23:27:27]OFD Sender: No OFD packet to send [23:27:32]OFD Sender: No OFD packet to send [23:27:37]OFD Sender: No OFD packet to send [23:27:42]OFD Sender: No OFD packet to send [23:27:47]OFD Sender: No OFD packet to send [23:27:52]OFD Sender: No OFD packet to send [23:27:57]OFD Sender: No OFD packet to send [23:28:02]OFD Sender: No OFD packet to send [23:28:07]OFD Sender: No OFD packet to send [23:28:12]OFD Sender: No OFD packet to send [23:28:17]OFD Sender: No OFD packet to send [23:28:22]OFD Sender: No OFD packet to send [23:28:27]OFD Sender: No OFD packet to send [23:28:32]OFD Sender: No OFD packet to send [23:28:37]OFD Sender: No OFD packet to send [23:28:42]OFD Sender: No OFD packet to send [23:28:47]OFD Sender: No OFD packet to send [23:28:52]OFD Sender: No OFD packet to send [23:28:57]OFD Sender: No OFD packet to send [23:29:02]OFD Sender: No OFD packet to send [23:29:07]OFD Sender: No OFD packet to send [23:29:12]OFD Sender: No OFD packet to send [23:29:17]OFD Sender: No OFD packet to send [23:29:22]OFD Sender: No OFD packet to send [23:29:27]OFD Sender: No OFD packet to send [23:29:32]OFD Sender: No OFD packet to send [23:29:37]OFD Sender: No OFD packet to send [23:29:42]OFD Sender: No OFD packet to send [23:29:47]OFD Sender: No OFD packet to send [23:29:52]OFD Sender: No OFD packet to send [23:29:57]OFD Sender: No OFD packet to send [23:30:02]OFD Sender: No OFD packet to send [23:30:07]OFD Sender: No OFD packet to send [23:30:12]OFD Sender: No OFD packet to send [23:30:17]OFD Sender: No OFD packet to send [23:30:22]OFD Sender: No OFD packet to send [23:30:27]OFD Sender: No OFD packet to send [23:30:32]OFD Sender: No OFD packet to send [23:30:37]OFD Sender: No OFD packet to send [23:30:42]OFD Sender: No OFD packet to send [23:30:47]OFD Sender: No OFD packet to send [23:30:52]OFD Sender: No OFD packet to send [23:30:57]OFD Sender: No OFD packet to send [23:31:02]OFD Sender: No OFD packet to send [23:31:07]OFD Sender: No OFD packet to send [23:31:12]OFD Sender: No OFD packet to send [23:31:17]OFD Sender: No OFD packet to send [23:31:20]accept exits with 7 [23:31:20]New connection [23:31:20]New thread 3066555748 created [23:31:20]Thread 3066699108 joined [23:31:20]Waiting for new connection... [23:31:20] Sock 7.Parse request [23:31:20]Sock 7.Check first char [23:31:20]Sock 7.First char is OK [23:31:20]request: POST /json_proto HTTP/1.0 [23:31:20]Method: POST [23:31:20]URL: /json_proto [23:31:20]Method is POST - this is cgi request [23:31:20]url: /json_proto [23:31:20]query_string will be loaded in cgi processing [23:31:20]execute_cgi json_proto POST (null) [23:31:20]execute_cgi path=json_proto method=POST [23:31:20]POST find Content-Length [23:31:20]Host: 172.17.53.68:8080 [23:31:20]Content-Length: 1155 [23:31:20]Content-Type: application/json [23:31:20] [23:31:20]POST finish read [23:31:20]Found Content-Length = 1155 [23:31:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76701", "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" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000039450010", "name": "\u0427\u0430\u0439 \u0437\u0435\u043B\u0435\u043D\u044B\u0439 200 \u043C\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 313.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:31:20]execute_script... [23:31: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)76701", "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" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000039450010", "name": "\u0427\u0430\u0439 \u0437\u0435\u043B\u0435\u043D\u044B\u0439 200 \u043C\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 313.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:31:20]POST & json_proto [23:31:20]process_json_proto [23:31:20]json parsed OK: [23:31:20]protocol is kg_v1.0 [23:31:20]action value=close_receipt [23:31:20]process_action close_receipt [23:31:20]cmd_close_receipt [23:31:20]MH_GetDate [23:31:20]Write to MH i2c: F0 00 00 07 2B 21 [23:31:20]Write i2c OK [23:31:20]MH_I2C_Read... [23:31:20]Read from MH i2c: F0 [23:31:20]MH_I2C_Read... [23:31:20]Read from MH i2c: F0 09 00 [23:31:20]MH_I2C_Read... [23:31:20]Read from MH i2c: F0 09 00 07 2B 00 D2 92 15 67 C5 A4 76 66 4F [23:31:20]GetLastDocTimeStamp 1729465048 [23:31:20]current date 1729467090 [23:31:20]FM_GetShiftState [23:31:20]SAM_PROTO_GetShiftState [23:31:20]wFMCommunicate request_size=4 [23:31:20]MH_SAM_APDU [23:31:20]CAPDU: 80 13 01 00 [23:31:20]Write to MH i2c: E2 08 00 08 2B 80 13 01 00 00 00 00 00 B0 [23:31:20]Write i2c OK [23:31:20]MH_I2C_Read... [23:31:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:31:20]Read from MH i2c: E2 [23:31:20]MH_I2C_Read... [23:31:20]Read from MH i2c: E2 0E 00 [23:31:20]MH_I2C_Read... [23:31:20]Read from MH i2c: E2 0E 00 08 2B 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 05 [23:31:20]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [23:31:20]wFMCommunicate OK [23:31:20]SAM_PROTO_GetShiftState done [23:31:20]FM_GetShiftState done [23:31:20]opened in 1729383299 [23:31:20]opened+sec_in_day 1729469699 [23:31:20]quantity*price = 11900 [23:31:20]sum+1 = 11901 [23:31:20]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000039450010 Чай зеленый 200 мл 1.000 * 40.00 = 40.00 ÐДС 12% ÐСП 1% > о реализуемом товаре Товар: 46230614 Сигареты Richmond Red Edition 1.000 * 154.00 = 154.00 ÐДС 12% ÐСП 1% > о реализуемом товаре ИТОГО: 313.00 ÐСП 1% : 2.76 ÐДС 12% : 33.24 Ðаличными: 313.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 СÐО: Общий режим Чек 80 20.10.2024 23:31 Смена: 461 ФФД: 1.0 ЗÐМ: 0300000235 РÐМ: 0000000000098149 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000965372 ФД: 37232 ФПД: 24055516528083 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T233130&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37232&fm=24055516528083&tin=02508201610067®Number=0000000000098149&sum=31300 0 [23:31:21]StoreToDocumentArchive [23:31:21]shift 461 fd 37232 [23:31:21]save to /storage/0461/doc_00037232 [23:31:21]save last doc name /storage/0461/doc_00037232 to /storage/kkm_last_doc_name [23:31:21]save OK [23:31:21]Clear old archive folders... [23:31:21]ProcessDocumentItem done err = 0, tmpTLVsize=502 [23:31:21]tlvbuf is 009D0C20 [23:31:21]SAM_PROTO_ClearQueue [23:31:21]wFMCommunicate request_size=4 [23:31:21]MH_SAM_APDU [23:31:21]CAPDU: 80 09 00 00 [23:31:21]Write to MH i2c: E2 08 00 15 2B 80 09 00 00 00 00 00 00 B2 [23:31:21]Write i2c OK [23:31:21]MH_I2C_Read... [23:31:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:31:21]Read from MH i2c: E2 [23:31:21]MH_I2C_Read... [23:31:21]Read from MH i2c: E2 03 00 [23:31:21]MH_I2C_Read... [23:31:21]Read from MH i2c: E2 03 00 15 2B 00 90 00 B4 [23:31:21]RAPDU: 90 00 [23:31:21]wFMCommunicate OK [23:31:21]SAM_PROTO_ClearQueue done [23:31:21]KKMCreateOFDPacket [23:31:21]OFDProtocolAddRootSTLVToBuf [23:31:21]FM_MakeSignedData [23:31:21]FM_MakeSignedData [23:31:21]SAM_PROTO_SignData [23:31:21]wFMCommunicate request_size=4 [23:31:21]MH_SAM_APDU [23:31:21]CAPDU: 80 0D 01 02 [23:31:21]Write to MH i2c: E2 08 00 16 2B 80 0D 01 02 00 00 00 00 BA [23:31:21]Write i2c OK [23:31:21]MH_I2C_Read... [23:31:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:31:21]Read from MH i2c: E2 [23:31:21]MH_I2C_Read... [23:31:21]Read from MH i2c: E2 03 00 [23:31:21]MH_I2C_Read... [23:31:21]Read from MH i2c: E2 03 00 16 2B 00 90 00 B5 [23:31:21]RAPDU: 90 00 [23:31:21]wFMCommunicate OK [23:31:21]wFMCommunicate request_size=255 [23:31:21]MH_SAM_APDU [23:31:21]CAPDU: 80 0D 02 02 FA 03 00 F6 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 7C 2E 00 00 00 00 13 04 06 00 7C 2E 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 32 30 30 30 30 33 39 34 35 30 30 31 30 06 04 1E 00 D0 A7 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 [23:31:21]Write to MH i2c: E2 02 01 17 2B 80 0D 02 02 FA 00 03 00 F6 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 7C 2E 00 00 00 00 13 04 06 00 7C 2E 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 32 30 30 30 30 33 39 34 35 30 30 31 30 06 04 1E 00 D0 A7 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 00 00 14 [23:31:22]Write i2c OK [23:31:22]MH_I2C_Read... [23:31:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:31:22]Read from MH i2c: E2 [23:31:22]MH_I2C_Read... [23:31:22]Read from MH i2c: E2 03 00 [23:31:22]MH_I2C_Read... [23:31:22]Read from MH i2c: E2 03 00 17 2B 00 90 00 B6 [23:31:22]RAPDU: 90 00 [23:31:22]wFMCommunicate OK [23:31:22]wFMCommunicate request_size=255 [23:31:22]MH_SAM_APDU [23:31:22]CAPDU: 80 0D 02 02 FA 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 7A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 14 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 0C 00 00 00 00 07 04 06 00 44 7A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 D2 92 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 70 91 00 00 35 04 06 00 [23:31:22]Write to MH i2c: E2 02 01 18 2B 80 0D 02 02 FA 00 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 7A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 14 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 0C 00 00 00 00 07 04 06 00 44 7A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 D2 92 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 70 91 00 00 35 04 06 00 00 00 2A [23:31:22]Write i2c OK [23:31:22]MH_I2C_Read... [23:31:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:31:22]Read from MH i2c: E2 [23:31:22]MH_I2C_Read... [23:31:22]Read from MH i2c: E2 03 00 [23:31:22]MH_I2C_Read... [23:31:22]Read from MH i2c: E2 03 00 18 2B 00 90 00 B7 [23:31:22]RAPDU: 90 00 [23:31:22]wFMCommunicate OK [23:31:22]wFMCommunicate request_size=11 [23:31:22]MH_SAM_APDU [23:31:22]CAPDU: 80 0D 02 02 06 15 E0 DC 84 7D D3 [23:31:22]Write to MH i2c: E2 0E 00 19 2B 80 0D 02 02 06 00 15 E0 DC 84 7D D3 00 00 6F [23:31:22]Write i2c OK [23:31:22]MH_I2C_Read... [23:31:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:31:22]Read from MH i2c: E2 [23:31:22]MH_I2C_Read... [23:31:22]Read from MH i2c: E2 03 00 [23:31:22]MH_I2C_Read... [23:31:22]Read from MH i2c: E2 03 00 19 2B 00 90 00 B8 [23:31:22]RAPDU: 90 00 [23:31:22]wFMCommunicate OK [23:31:22]wFMCommunicate request_size=4 [23:31:22]MH_SAM_APDU [23:31:22]CAPDU: 80 0D 03 02 [23:31:22]Write to MH i2c: E2 08 00 1A 2B 80 0D 03 02 00 00 00 00 C0 [23:31:22]Write i2c OK [23:31:22]MH_I2C_Read... [23:31:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:31:22]Read from MH i2c: E2 [23:31:22]MH_I2C_Read... [23:31:22]Read from MH i2c: E2 0B 00 [23:31:22]MH_I2C_Read... [23:31:22]Read from MH i2c: E2 0B 00 1A 2B 00 6F C7 46 E2 D5 83 75 46 90 00 32 [23:31:22]RAPDU: 6F C7 46 E2 D5 83 75 46 90 00 [23:31:22]wFMCommunicate OK [23:31:22]SAM_PROTO_SignData done [23:31:22]FM_MakeSignedData done [23:31:22]CreateOFDProtocolMessage [23:31:22]wFMCommunicate request_size=4 [23:31:22]MH_SAM_APDU [23:31:22]CAPDU: 80 11 00 00 [23:31:22]Write to MH i2c: E2 08 00 1B 2B 80 11 00 00 00 00 00 00 C0 [23:31:22]Write i2c OK [23:31:22]MH_I2C_Read... [23:31:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:31:22]Read from MH i2c: E2 [23:31:22]MH_I2C_Read... [23:31:22]Read from MH i2c: E2 17 00 [23:31:22]MH_I2C_Read... [23:31:22]Read from MH i2c: E2 17 00 1B 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 13 [23:31:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [23:31:22]wFMCommunicate OK [23:31:22]CreateOFDProtocolMessage done [23:31:22]OFDSenderStorePacket 37232 [23:31:22]StoreOFDPacket docnum=37232 [23:31:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0A 02 00 00 7F 45 02 02 43 D4 5A 03 01 00 03 00 F6 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 7C 2E 00 00 00 00 13 04 06 00 7C 2E 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 32 30 30 30 30 33 39 34 35 30 30 31 30 06 04 1E 00 D0 A7 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 7A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 14 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 0C 00 00 00 00 07 04 06 00 44 7A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 D2 92 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 70 91 00 00 35 04 06 00 15 E0 DC 84 7D D3 6F C7 46 E2 D5 83 75 46 [23:31:22]CheckFolder [23:31:22]dirname=/storage/ofd_packets [23:31:22]CheckFolder done [23:31:22]ProducePacketName [23:31:22]name=ofd_packets/00037232 [23:31:22]NVStorageSaveData ofd_packets/00037232 [23:31:22]File name is /storage/ofd_packets/00037232 [23:31:22]Write 552 bytes [23:31:22]NVStorageSaveData done [23:31:22]OFDSenderStorePacket done [23:31:22]KKMCreateOFDPacket done [23:31:22]NVStorageSaveData kkm_last_timestamp [23:31:22]File name is /storage/kkm_last_timestamp [23:31:22]Write 4 bytes [23:31:22]NVStorageSaveData done [23:31:22]ExternCall_PrintAddStr [23:31:22]wPrintStart [23:31:22]Write to MH i2c: 01 00 00 1C 2B 47 [23:31:22]Write i2c OK [23:31:22]MH_I2C_Read... [23:31:22]Read from MH i2c: 01 [23:31:22]MH_I2C_Read... [23:31:22]Read from MH i2c: 01 07 00 [23:31:22]MH_I2C_Read... [23:31:22]Read from MH i2c: 01 07 00 1C 2B 00 00 00 00 00 FF 0F 5C [23:31:22]RasterBufferAndPrint [23:31:22]line Счет N : (3)76701 [23:31:22]line ИÐÐ: 02508201610067 [23:31:22]line Контрольно-КаÑÑовый Чек [23:31:22]line ПРОДÐЖР[23:31:22]line Товар: 4870002329951 [23:31:22]line Ðапиток Lipton IceTea 1л зел чай Regular [23:31:22]line 1.000 * 119.00 [23:31:22]line = 119.00 [23:31:22]line ÐДС 12% ÐСП 1% [23:31:22]line > о реализуемом товаре [23:31:22]line Товар: 2000039450010 [23:31:22]line Чай зеленый 200 мл [23:31:22]line 1.000 * 40.00 [23:31:22]line = 40.00 [23:31:22]line ÐДС 12% ÐСП 1% [23:31:22]line > о реализуемом товаре [23:31:22]line Товар: 46230614 [23:31:22]line Сигареты Richmond Red Edition [23:31:22]line 1.000 * 154.00 [23:31:22]line = 154.00 [23:31:22]line ÐДС 12% ÐСП 1% [23:31:22]line > о реализуемом товаре [23:31:22]line ИТОГО: 313.00 [23:31:22]line ÐСП 1% : 2.76 [23:31:22]line ÐДС 12% : 33.24 [23:31:22]line Ðаличными: 313.00 [23:31:22]line Безнал.: 0.00 [23:31:22]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [23:31:22]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [23:31:22]line СÐО: Общий режим [23:31:22]line Чек 80 20.10.2024 23:31 [23:31:22]line Смена: 461 ФФД: 1.0 [23:31:22]line ЗÐМ: 0300000235 [23:31:22]line РÐМ: 0000000000098149 [23:31:22]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [23:31:22]line ФМ: 0000000000965372 [23:31:22]line ФД: 37232 [23:31:22]line ФПД: 24055516528083 [23:31:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T233130&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37232&fm=24055516528083&tin=02508201610067®Number=0000000000098149&sum=31300 [23:31:22]line 0 [23:31:22]written 0, free lines is 4095 [23:31:22]OFD Sender: Processing packet 37232 [packets to send 25, broken 24] [23:31:22]ProducePacketName [23:31:22]name=ofd_packets/00037232 [23:31:22]OFD Sender: To server: ‡•öpG, [23:31:22]CommunicateWithHost lk.salyk.kg:30040 [23:31:22]ConnectInit lk.salyk.kg [23:31:22]Connected sock=10 [23:31: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 33 37 32 0A 02 00 00 7F 45 02 02 43 D4 5A 03 01 00 03 00 F6 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 7C 2E 00 00 00 00 13 04 06 00 7C 2E 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 32 30 30 30 30 33 39 34 35 30 30 31 30 06 04 1E 00 D0 A7 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 7A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 14 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 0C 00 00 00 00 07 04 06 00 44 7A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 D2 92 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 70 91 00 00 35 04 06 00 15 E0 DC 84 7D D3 6F C7 46 E2 D5 83 75 46 [23:31:23]Write to MH i2c: 01 00 00 52 2B 7D [23:31:23]Write i2c OK [23:31:23]MH_I2C_Read... [23:31:23]Read from MH i2c: 01 [23:31:23]MH_I2C_Read... [23:31:23]Read from MH i2c: 01 07 00 [23:31:23]MH_I2C_Read... [23:31:23]Read from MH i2c: 01 07 00 52 2B 00 00 00 00 00 25 0C B5 [23:31:23]RasterBufferAndPrint [23:31:23]line [23:31:23]line [23:31:23]line [23:31:23]line [23:31:23]line [23:31:23]written 0, free lines is 3114 [23:31:23]process_action close_receipt done [23:31:23]requested_data is exist [23:31:23]produce_requested_data [23:31:23]requested_item fm.sn is exist - process it [23:31:23]wFMCommunicate request_size=4 [23:31:23]MH_SAM_APDU [23:31:23]CAPDU: 80 11 00 00 [23:31:23]Write to MH i2c: E2 08 00 59 2B 80 11 00 00 00 00 00 00 FE [23:31:23]Write i2c OK [23:31:23]MH_I2C_Read... [23:31:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 A7 D5 47 00 B1 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 33 37 32 10 04 04 00 70 91 00 00 F4 03 04 00 64 3B 15 67 B6 04 01 00 00 A3 F2 42 B9 34 F8 F9 94 [23:31:23]CommunicateWithHost err = 0 [23:31:23]CheckOFDResponse [23:31:23]1017 (14) - 77093643461234 [23:31:23]1041 (16) - 0000000000965372 [23:31:23]1040 (4) - 37232 [23:31:23]1012 (4) - 20.10.2024 17:18 [23:31:23]1206 (1) - 0 [23:31:23]OFD Sender: Remove packet 37232 [23:31:23]ProducePacketName [23:31:23]name=ofd_packets/00037232 [23:31:23]NVStorageDeleteData [23:31:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:31:23]Read from MH i2c: E2 [23:31:23]MH_I2C_Read... [23:31:23]Read from MH i2c: E2 17 00 [23:31:23]MH_I2C_Read... [23:31:23]Read from MH i2c: E2 17 00 59 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 51 [23:31:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [23:31:23]wFMCommunicate OK [23:31:23]requested_item fd.num is exist - process it [23:31:23]SAM_PROTO_GetFieldsCounters [23:31:23]wFMCommunicate request_size=4 [23:31:23]MH_SAM_APDU [23:31:23]CAPDU: 80 13 00 00 [23:31:23]Write to MH i2c: E2 08 00 5A 2B 80 13 00 00 00 00 00 00 01 [23:31:23]Write i2c OK [23:31:23]MH_I2C_Read... [23:31:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:31:23]Read from MH i2c: E2 [23:31:23]MH_I2C_Read... [23:31:23]Read from MH i2c: E2 62 00 [23:31:23]MH_I2C_Read... [23:31:23]Read from MH i2c: E2 62 00 5A 2B 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 70 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 E7 [23:31:23]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 70 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:31:23]wFMCommunicate OK [23:31:23]SAM_PROTO_GetFieldsCounters done [23:31:23]requested_item shift.num is exist - process it [23:31:23]requested_item shift.opened is exist - process it [23:31:23]req_shift_opened [23:31:23]FM_GetShiftState [23:31:23]SAM_PROTO_GetShiftState [23:31:23]wFMCommunicate request_size=4 [23:31:23]MH_SAM_APDU [23:31:23]CAPDU: 80 13 01 00 [23:31:23]Write to MH i2c: E2 08 00 5B 2B 80 13 01 00 00 00 00 00 03 [23:31:23]Write i2c OK [23:31:23]MH_I2C_Read... [23:31:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:31:23]Read from MH i2c: E2 [23:31:23]MH_I2C_Read... [23:31:23]Read from MH i2c: E2 0E 00 [23:31:23]MH_I2C_Read... [23:31:23]Read from MH i2c: E2 0E 00 5B 2B 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 58 [23:31:23]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [23:31:23]wFMCommunicate OK [23:31:23]SAM_PROTO_GetShiftState done [23:31:23]FM_GetShiftState done [23:31:23]req_shift_opened done [23:31:23]requested_item shift.open_date is exist - process it [23:31:23]req_shift_open_date [23:31:23]req_shift_open_date done [23:31:23]produce_requested_data done [23:31:23]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37232,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [23:31:23]process_action_free close_receipt [23:31:23]json_value_free [23:31:23]json_value_free done [23:31:23]process_json_proto returns [23:31:23]Send response to host [23:31:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37232,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [23:31:23]free response buf [23:31:23]execute_script done [23:31:23]execute_script returns [23:31:23]free content buf [23:31:23]Sock 7.Close socket [23:31:23]Sock 7.Thread stoped [23:31:23]OFD Sender: No OFD packet to send [23:31:28]OFD Sender: No OFD packet to send [23:31:33]OFD Sender: No OFD packet to send [23:31:38]OFD Sender: No OFD packet to send [23:31:43]OFD Sender: No OFD packet to send [23:31:48]OFD Sender: No OFD packet to send [23:31:53]OFD Sender: No OFD packet to send [23:31:58]OFD Sender: No OFD packet to send [23:32:03]OFD Sender: No OFD packet to send [23:32:09]OFD Sender: No OFD packet to send [23:32:14]OFD Sender: No OFD packet to send [23:32:19]OFD Sender: No OFD packet to send [23:32:24]OFD Sender: No OFD packet to send [23:32:29]OFD Sender: No OFD packet to send [23:32:34]OFD Sender: No OFD packet to send [23:32:39]OFD Sender: No OFD packet to send [23:32:44]OFD Sender: No OFD packet to send [23:32:49]OFD Sender: No OFD packet to send [23:32:54]OFD Sender: No OFD packet to send [23:32:59]OFD Sender: No OFD packet to send [23:33:04]OFD Sender: No OFD packet to send [23:33:09]OFD Sender: No OFD packet to send [23:33:14]OFD Sender: No OFD packet to send [23:33:19]OFD Sender: No OFD packet to send [23:33:24]OFD Sender: No OFD packet to send [23:33:29]OFD Sender: No OFD packet to send [23:33:34]OFD Sender: No OFD packet to send [23:33:39]OFD Sender: No OFD packet to send [23:33:44]OFD Sender: No OFD packet to send [23:33:49]OFD Sender: No OFD packet to send [23:33:54]OFD Sender: No OFD packet to send [23:33:59]OFD Sender: No OFD packet to send [23:34:04]OFD Sender: No OFD packet to send [23:34:09]OFD Sender: No OFD packet to send [23:34:14]OFD Sender: No OFD packet to send [23:34:19]OFD Sender: No OFD packet to send [23:34:24]OFD Sender: No OFD packet to send [23:34:29]OFD Sender: No OFD packet to send [23:34:34]OFD Sender: No OFD packet to send [23:34:39]OFD Sender: No OFD packet to send [23:34:44]OFD Sender: No OFD packet to send [23:34:49]OFD Sender: No OFD packet to send [23:34:54]OFD Sender: No OFD packet to send [23:34:59]OFD Sender: No OFD packet to send [23:35:04]OFD Sender: No OFD packet to send [23:35:09]OFD Sender: No OFD packet to send [23:35:14]OFD Sender: No OFD packet to send [23:35:19]OFD Sender: No OFD packet to send [23:35:24]OFD Sender: No OFD packet to send [23:35:29]OFD Sender: No OFD packet to send [23:35:34]OFD Sender: No OFD packet to send [23:35:39]OFD Sender: No OFD packet to send [23:35:44]OFD Sender: No OFD packet to send [23:35:49]OFD Sender: No OFD packet to send [23:35:54]OFD Sender: No OFD packet to send [23:35:59]OFD Sender: No OFD packet to send [23:36:04]OFD Sender: No OFD packet to send [23:36:09]OFD Sender: No OFD packet to send [23:36:14]OFD Sender: No OFD packet to send [23:36:19]OFD Sender: No OFD packet to send [23:36:24]OFD Sender: No OFD packet to send [23:36:29]OFD Sender: No OFD packet to send [23:36:34]OFD Sender: No OFD packet to send [23:36:39]OFD Sender: No OFD packet to send [23:36:44]OFD Sender: No OFD packet to send [23:36:49]OFD Sender: No OFD packet to send [23:36:54]OFD Sender: No OFD packet to send [23:36:59]OFD Sender: No OFD packet to send [23:37:04]OFD Sender: No OFD packet to send [23:37:09]OFD Sender: No OFD packet to send [23:37:14]OFD Sender: No OFD packet to send [23:37:19]OFD Sender: No OFD packet to send [23:37:24]OFD Sender: No OFD packet to send [23:37:29]OFD Sender: No OFD packet to send [23:37:34]OFD Sender: No OFD packet to send [23:37:39]OFD Sender: No OFD packet to send [23:37:44]OFD Sender: No OFD packet to send [23:37:49]OFD Sender: No OFD packet to send [23:37:54]OFD Sender: No OFD packet to send [23:37:59]OFD Sender: No OFD packet to send [23:38:04]OFD Sender: No OFD packet to send [23:38:09]OFD Sender: No OFD packet to send [23:38:14]OFD Sender: No OFD packet to send [23:38:19]OFD Sender: No OFD packet to send [23:38:24]OFD Sender: No OFD packet to send [23:38:29]OFD Sender: No OFD packet to send [23:38:34]OFD Sender: No OFD packet to send [23:38:39]OFD Sender: No OFD packet to send [23:38:44]OFD Sender: No OFD packet to send [23:38:49]OFD Sender: No OFD packet to send [23:38:54]OFD Sender: No OFD packet to send [23:38:59]OFD Sender: No OFD packet to send [23:39:04]OFD Sender: No OFD packet to send [23:39:09]OFD Sender: No OFD packet to send [23:39:14]OFD Sender: No OFD packet to send [23:39:19]OFD Sender: No OFD packet to send [23:39:24]OFD Sender: No OFD packet to send [23:39:29]OFD Sender: No OFD packet to send [23:39:34]OFD Sender: No OFD packet to send [23:39:39]OFD Sender: No OFD packet to send [23:39:44]OFD Sender: No OFD packet to send [23:39:49]OFD Sender: No OFD packet to send [23:39:54]OFD Sender: No OFD packet to send [23:39:59]OFD Sender: No OFD packet to send [23:40:04]OFD Sender: No OFD packet to send [23:40:09]OFD Sender: No OFD packet to send [23:40:14]OFD Sender: No OFD packet to send [23:40:19]OFD Sender: No OFD packet to send [23:40:24]OFD Sender: No OFD packet to send [23:40:29]OFD Sender: No OFD packet to send [23:40:34]OFD Sender: No OFD packet to send [23:40:39]OFD Sender: No OFD packet to send [23:40:44]OFD Sender: No OFD packet to send [23:40:49]OFD Sender: No OFD packet to send [23:40:54]OFD Sender: No OFD packet to send [23:40:59]OFD Sender: No OFD packet to send [23:41:04]OFD Sender: No OFD packet to send [23:41:09]OFD Sender: No OFD packet to send [23:41:14]OFD Sender: No OFD packet to send [23:41:19]OFD Sender: No OFD packet to send [23:41:24]OFD Sender: No OFD packet to send [23:41:29]OFD Sender: No OFD packet to send [23:41:34]OFD Sender: No OFD packet to send [23:41:39]OFD Sender: No OFD packet to send [23:41:44]OFD Sender: No OFD packet to send [23:41:49]OFD Sender: No OFD packet to send [23:41:54]OFD Sender: No OFD packet to send [23:41:59]OFD Sender: No OFD packet to send [23:42:04]OFD Sender: No OFD packet to send [23:42:09]OFD Sender: No OFD packet to send [23:42:14]OFD Sender: No OFD packet to send [23:42:19]OFD Sender: No OFD packet to send [23:42:24]OFD Sender: No OFD packet to send [23:42:29]OFD Sender: No OFD packet to send [23:42:34]OFD Sender: No OFD packet to send [23:42:39]OFD Sender: No OFD packet to send [23:42:44]OFD Sender: No OFD packet to send [23:42:49]OFD Sender: No OFD packet to send [23:42:54]OFD Sender: No OFD packet to send [23:42:59]OFD Sender: No OFD packet to send [23:43:04]OFD Sender: No OFD packet to send [23:43:09]OFD Sender: No OFD packet to send [23:43:14]OFD Sender: No OFD packet to send [23:43:19]OFD Sender: No OFD packet to send [23:43:24]OFD Sender: No OFD packet to send [23:43:29]OFD Sender: No OFD packet to send [23:43:34]OFD Sender: No OFD packet to send [23:43:39]OFD Sender: No OFD packet to send [23:43:44]OFD Sender: No OFD packet to send [23:43:49]OFD Sender: No OFD packet to send [23:43:54]OFD Sender: No OFD packet to send [23:43:59]OFD Sender: No OFD packet to send [23:44:04]OFD Sender: No OFD packet to send [23:44:09]OFD Sender: No OFD packet to send [23:44:14]OFD Sender: No OFD packet to send [23:44:19]OFD Sender: No OFD packet to send [23:44:24]OFD Sender: No OFD packet to send [23:44:29]OFD Sender: No OFD packet to send [23:44:34]OFD Sender: No OFD packet to send [23:44:39]OFD Sender: No OFD packet to send [23:44:44]OFD Sender: No OFD packet to send [23:44:49]OFD Sender: No OFD packet to send [23:44:54]OFD Sender: No OFD packet to send [23:44:59]OFD Sender: No OFD packet to send [23:45:04]OFD Sender: No OFD packet to send [23:45:09]OFD Sender: No OFD packet to send [23:45:14]OFD Sender: No OFD packet to send [23:45:19]OFD Sender: No OFD packet to send [23:45:24]OFD Sender: No OFD packet to send [23:45:29]OFD Sender: No OFD packet to send [23:45:34]OFD Sender: No OFD packet to send [23:45:39]OFD Sender: No OFD packet to send [23:45:44]OFD Sender: No OFD packet to send [23:45:49]OFD Sender: No OFD packet to send [23:45:54]OFD Sender: No OFD packet to send [23:45:59]OFD Sender: No OFD packet to send [23:46:04]OFD Sender: No OFD packet to send [23:46:09]OFD Sender: No OFD packet to send [23:46:14]OFD Sender: No OFD packet to send [23:46:19]OFD Sender: No OFD packet to send [23:46:24]OFD Sender: No OFD packet to send [23:46:29]OFD Sender: No OFD packet to send [23:46:34]OFD Sender: No OFD packet to send [23:46:39]OFD Sender: No OFD packet to send [23:46:44]OFD Sender: No OFD packet to send [23:46:49]OFD Sender: No OFD packet to send [23:46:54]OFD Sender: No OFD packet to send [23:46:59]OFD Sender: No OFD packet to send [23:47:04]OFD Sender: No OFD packet to send [23:47:09]OFD Sender: No OFD packet to send [23:47:14]OFD Sender: No OFD packet to send [23:47:19]OFD Sender: No OFD packet to send [23:47:24]OFD Sender: No OFD packet to send [23:47:29]OFD Sender: No OFD packet to send [23:47:34]OFD Sender: No OFD packet to send [23:47:39]OFD Sender: No OFD packet to send [23:47:44]OFD Sender: No OFD packet to send [23:47:49]OFD Sender: No OFD packet to send [23:47:54]OFD Sender: No OFD packet to send [23:47:59]OFD Sender: No OFD packet to send [23:48:04]OFD Sender: No OFD packet to send [23:48:09]OFD Sender: No OFD packet to send [23:48:14]OFD Sender: No OFD packet to send [23:48:19]OFD Sender: No OFD packet to send [23:48:24]OFD Sender: No OFD packet to send [23:48:29]OFD Sender: No OFD packet to send [23:48:34]OFD Sender: No OFD packet to send [23:48:39]OFD Sender: No OFD packet to send [23:48:44]OFD Sender: No OFD packet to send [23:48:49]OFD Sender: No OFD packet to send [23:48:54]OFD Sender: No OFD packet to send [23:48:59]OFD Sender: No OFD packet to send [23:49:04]OFD Sender: No OFD packet to send [23:49:09]OFD Sender: No OFD packet to send [23:49:14]OFD Sender: No OFD packet to send [23:49:19]OFD Sender: No OFD packet to send [23:49:24]OFD Sender: No OFD packet to send [23:49:29]OFD Sender: No OFD packet to send [23:49:34]OFD Sender: No OFD packet to send [23:49:39]OFD Sender: No OFD packet to send [23:49:44]OFD Sender: No OFD packet to send [23:49:49]OFD Sender: No OFD packet to send [23:49:54]OFD Sender: No OFD packet to send [23:49:59]OFD Sender: No OFD packet to send [23:50:04]OFD Sender: No OFD packet to send [23:50:09]OFD Sender: No OFD packet to send [23:50:14]OFD Sender: No OFD packet to send [23:50:19]OFD Sender: No OFD packet to send [23:50:24]OFD Sender: No OFD packet to send [23:50:29]OFD Sender: No OFD packet to send [23:50:34]OFD Sender: No OFD packet to send [23:50:39]OFD Sender: No OFD packet to send [23:50:44]OFD Sender: No OFD packet to send [23:50:49]OFD Sender: No OFD packet to send [23:50:54]OFD Sender: No OFD packet to send [23:50:59]OFD Sender: No OFD packet to send [23:51:04]OFD Sender: No OFD packet to send [23:51:09]OFD Sender: No OFD packet to send [23:51:14]OFD Sender: No OFD packet to send [23:51:19]OFD Sender: No OFD packet to send [23:51:24]OFD Sender: No OFD packet to send [23:51:29]OFD Sender: No OFD packet to send [23:51:34]OFD Sender: No OFD packet to send [23:51:39]OFD Sender: No OFD packet to send [23:51:44]OFD Sender: No OFD packet to send [23:51:49]OFD Sender: No OFD packet to send [23:51:54]OFD Sender: No OFD packet to send [23:51:59]OFD Sender: No OFD packet to send [23:52:05]OFD Sender: No OFD packet to send [23:52:10]OFD Sender: No OFD packet to send [23:52:15]OFD Sender: No OFD packet to send [23:52:20]OFD Sender: No OFD packet to send [23:52:25]OFD Sender: No OFD packet to send [23:52:30]OFD Sender: No OFD packet to send [23:52:35]OFD Sender: No OFD packet to send [23:52:40]OFD Sender: No OFD packet to send [23:52:45]OFD Sender: No OFD packet to send [23:52:50]OFD Sender: No OFD packet to send [23:52:55]OFD Sender: No OFD packet to send [23:53:00]OFD Sender: No OFD packet to send [23:53:05]OFD Sender: No OFD packet to send [23:53:10]OFD Sender: No OFD packet to send [23:53:15]OFD Sender: No OFD packet to send [23:53:20]OFD Sender: No OFD packet to send [23:53:25]OFD Sender: No OFD packet to send [23:53:30]OFD Sender: No OFD packet to send [23:53:35]OFD Sender: No OFD packet to send [23:53:40]OFD Sender: No OFD packet to send [23:53:45]OFD Sender: No OFD packet to send [23:53:50]OFD Sender: No OFD packet to send [23:53:55]OFD Sender: No OFD packet to send [23:54:00]OFD Sender: No OFD packet to send [23:54:05]OFD Sender: No OFD packet to send [23:54:07]int [23:54:07]Write to MH i2c: 01 00 00 5C 2B 87 [23:54:07]*** FLAG_PRN_KEY set [23:54:07]Write i2c OK [23:54:07]MH_I2C_Read... [23:54:07]Read from MH i2c: 01 [23:54:07]MH_I2C_Read... [23:54:07]Read from MH i2c: 01 07 00 [23:54:07]MH_I2C_Read... [23:54:07]Read from MH i2c: 01 07 00 5C 2B 00 08 00 00 00 FF 0F A4 [23:54:07]state=0 [23:54:07]Key pressed [23:54:07]Feed [23:54:07]Write to MH i2c: D8 00 00 5D 2B 5F [23:54:07]Write i2c OK [23:54:07]MH_I2C_Read... [23:54:07]Read from MH i2c: D8 [23:54:07]MH_I2C_Read... [23:54:07]Read from MH i2c: D8 01 00 [23:54:07]MH_I2C_Read... [23:54:07]Read from MH i2c: D8 01 00 5D 2B 00 60 [23:54:07]int [23:54:07]Write to MH i2c: 01 00 00 5E 2B 89 [23:54:07]Write i2c OK [23:54:07]MH_I2C_Read... [23:54:07]Read from MH i2c: 01 [23:54:07]MH_I2C_Read... [23:54:07]Read from MH i2c: 01 07 00 [23:54:07]MH_I2C_Read... [23:54:07]Read from MH i2c: 01 07 00 5E 2B 00 48 00 00 00 3D 00 15 [23:54:07]state=2 [23:54:07]Key pressed [23:54:07]int [23:54:07]Write to MH i2c: 01 00 00 5F 2B 8A [23:54:07]*** FLAG_PRN_KEY reset [23:54:07]Write i2c OK [23:54:07]MH_I2C_Read... [23:54:07]Read from MH i2c: 01 [23:54:07]MH_I2C_Read... [23:54:07]Read from MH i2c: 01 07 00 [23:54:07]MH_I2C_Read... [23:54:07]Read from MH i2c: 01 07 00 5F 2B 00 00 00 00 00 F7 0F 97 [23:54:07]state=2 [23:54:07]Stop feed [23:54:10]OFD Sender: No OFD packet to send [23:54:15]OFD Sender: No OFD packet to send [23:54:20]OFD Sender: No OFD packet to send [23:54:20]accept exits with 9 [23:54:20]New connection [23:54:20]New thread 3066699108 created [23:54:20]Thread 3066555748 joined [23:54:20]Waiting for new connection... [23:54:20] Sock 9.Parse request [23:54:20]Sock 9.Check first char [23:54:20]Sock 9.First char is OK [23:54:20]request: POST /json_proto HTTP/1.0 [23:54:20]Method: POST [23:54:20]URL: /json_proto [23:54:20]Method is POST - this is cgi request [23:54:20]url: /json_proto [23:54:20]query_string will be loaded in cgi processing [23:54:20]execute_cgi json_proto POST (null) [23:54:20]execute_cgi path=json_proto method=POST [23:54:20]POST find Content-Length [23:54:20]Host: 172.17.53.68:8080 [23:54:20]Content-Length: 215 [23:54:20]Content-Type: application/json [23:54:20] [23:54:20]POST finish read [23:54:20]Found Content-Length = 215 [23:54:20]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:54:20]execute_script... [23:54:20]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:54:20]POST & json_proto [23:54:20]process_json_proto [23:54:20]json parsed OK: [23:54:20]protocol is kg_v1.0 [23:54:20]action value=get_value [23:54:20]process_action get_value [23:54:20]cmd_get_value [23:54:20]process_action get_value done [23:54:20]requested_data is exist [23:54:20]produce_requested_data [23:54:20]requested_item kkm.sn is exist - process it [23:54:20]requested_item kkm.ver is exist - process it [23:54:20]requested_item fm.sn is exist - process it [23:54:20]wFMCommunicate request_size=4 [23:54:20]MH_SAM_APDU [23:54:20]CAPDU: 80 11 00 00 [23:54:20]Write to MH i2c: E2 08 00 60 2B 80 11 00 00 00 00 00 00 05 [23:54:20]Write i2c OK [23:54:20]MH_I2C_Read... [23:54:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:54:20]Read from MH i2c: E2 [23:54:20]MH_I2C_Read... [23:54:20]Read from MH i2c: E2 17 00 [23:54:20]MH_I2C_Read... [23:54:20]Read from MH i2c: E2 17 00 60 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 58 [23:54:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [23:54:20]wFMCommunicate OK [23:54:20]requested_item fd.num is exist - process it [23:54:20]SAM_PROTO_GetFieldsCounters [23:54:20]wFMCommunicate request_size=4 [23:54:20]MH_SAM_APDU [23:54:20]CAPDU: 80 13 00 00 [23:54:20]Write to MH i2c: E2 08 00 61 2B 80 13 00 00 00 00 00 00 08 [23:54:20]Write i2c OK [23:54:20]MH_I2C_Read... [23:54:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:54:20]Read from MH i2c: E2 [23:54:20]MH_I2C_Read... [23:54:20]Read from MH i2c: E2 62 00 [23:54:20]MH_I2C_Read... [23:54:20]Read from MH i2c: E2 62 00 61 2B 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 70 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 EE [23:54:20]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 70 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:54:20]wFMCommunicate OK [23:54:20]SAM_PROTO_GetFieldsCounters done [23:54:20]requested_item shift.num is exist - process it [23:54:20]requested_item shift.opened is exist - process it [23:54:20]req_shift_opened [23:54:20]FM_GetShiftState [23:54:20]SAM_PROTO_GetShiftState [23:54:20]wFMCommunicate request_size=4 [23:54:20]MH_SAM_APDU [23:54:20]CAPDU: 80 13 01 00 [23:54:20]Write to MH i2c: E2 08 00 62 2B 80 13 01 00 00 00 00 00 0A [23:54:20]Write i2c OK [23:54:20]MH_I2C_Read... [23:54:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:54:20]Read from MH i2c: E2 [23:54:20]MH_I2C_Read... [23:54:20]Read from MH i2c: E2 0E 00 [23:54:20]MH_I2C_Read... [23:54:20]Read from MH i2c: E2 0E 00 62 2B 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 5F [23:54:20]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [23:54:20]wFMCommunicate OK [23:54:20]SAM_PROTO_GetShiftState done [23:54:20]FM_GetShiftState done [23:54:20]req_shift_opened done [23:54:20]requested_item shift.open_date is exist - process it [23:54:20]req_shift_open_date [23:54:20]req_shift_open_date done [23:54:20]produce_requested_data done [23:54:20]produce_requested_data return {"kkm.sn":"0300000235","kkm.ver":"001","fm.sn":"0000000000965372","fd.num":37232,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [23:54:20]process_action_free get_value [23:54:20]json_value_free [23:54:20]json_value_free done [23:54:20]process_json_proto returns [23:54:20]Send response to host [23:54:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000235","kkm.ver":"001","fm.sn":"0000000000965372","fd.num":37232,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [23:54:20]free response buf [23:54:20]execute_script done [23:54:20]execute_script returns [23:54:20]free content buf [23:54:20]Sock 9.Close socket [23:54:20]Sock 9.Thread stoped [23:54:20]accept exits with 7 [23:54:20]New connection [23:54:20]New thread 3066555748 created [23:54:20]Thread 3066699108 joined [23:54:20]Waiting for new connection... [23:54:20] Sock 7.Parse request [23:54:20]Sock 7.Check first char [23:54:20]Sock 7.First char is OK [23:54:20]request: POST /json_proto HTTP/1.0 [23:54:20]Method: POST [23:54:20]URL: /json_proto [23:54:20]Method is POST - this is cgi request [23:54:20]url: /json_proto [23:54:20]query_string will be loaded in cgi processing [23:54:20]execute_cgi json_proto POST (null) [23:54:20]execute_cgi path=json_proto method=POST [23:54:20]POST find Content-Length [23:54:20]Host: 172.17.53.68:8080 [23:54:20]Content-Length: 331 [23:54:20]Content-Type: application/json [23:54:20] [23:54:20]POST finish read [23:54:20]Found Content-Length = 331 [23:54:20]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:54:20]execute_script... [23:54:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:54:21]POST & json_proto [23:54:21]process_json_proto [23:54:21]json parsed OK: [23:54:21]protocol is kg_v1.0 [23:54:21]action value=get_value [23:54:21]process_action get_value [23:54:21]cmd_get_value [23:54:21]process_action get_value done [23:54:21]requested_data is exist [23:54:21]produce_requested_data [23:54:21]requested_item fm.sale.total is exist - process it [23:54:21]SAM_PROTO_GetFMData [23:54:21]wFMCommunicate request_size=4 [23:54:21]MH_SAM_APDU [23:54:21]CAPDU: 80 13 03 00 [23:54:21]Write to MH i2c: E2 08 00 63 2B 80 13 03 00 00 00 00 00 0D [23:54:21]Write i2c OK [23:54:21]MH_I2C_Read... [23:54:21]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:54:21]Read from MH i2c: E2 [23:54:21]MH_I2C_Read... [23:54:21]Read from MH i2c: E2 FD 00 [23:54:21]MH_I2C_Read... [23:54:21]Read from MH i2c: E2 FD 00 63 2B 00 C4 04 85 04 C0 04 6E 04 04 00 D6 8D 00 00 69 04 A0 00 6F 04 04 00 8D 8C 00 00 B1 04 04 00 64 15 93 45 70 04 04 00 BC C7 DE 3D 72 04 04 00 A8 4D B4 07 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 31 EF 63 07 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 8D 9A 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 66 [23:54:21]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 D6 8D 00 00 69 04 A0 00 6F 04 04 00 8D 8C 00 00 B1 04 04 00 64 15 93 45 70 04 04 00 BC C7 DE 3D 72 04 04 00 A8 4D B4 07 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 31 EF 63 07 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 8D 9A 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 [23:54:21]wFMCommunicate OK [23:54:21]wFMCommunicate request_size=4 [23:54:21]MH_SAM_APDU [23:54:21]CAPDU: 80 17 00 00 [23:54:21]Write to MH i2c: E2 08 00 64 2B 80 17 00 00 00 00 00 00 0F [23:54:21]Write i2c OK [23:54:21]MH_I2C_Read... [23:54:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:21]Read from MH i2c: E2 [23:54:21]MH_I2C_Read... [23:54:21]Read from MH i2c: E2 FD 00 [23:54:21]MH_I2C_Read... [23:54:21]Read from MH i2c: E2 FD 00 64 2B 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 27 [23:54:21]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [23:54:21]wFMCommunicate OK [23:54:21]wFMCommunicate request_size=4 [23:54:21]MH_SAM_APDU [23:54:21]CAPDU: 80 17 00 00 [23:54:21]Write to MH i2c: E2 08 00 65 2B 80 17 00 00 00 00 00 00 10 [23:54:21]Write i2c OK [23:54:21]MH_I2C_Read... [23:54:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:22]Read from MH i2c: E2 [23:54:22]MH_I2C_Read... [23:54:22]Read from MH i2c: E2 FD 00 [23:54:22]MH_I2C_Read... [23:54:22]Read from MH i2c: E2 FD 00 65 2B 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 25 [23:54:22]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [23:54:22]wFMCommunicate OK [23:54:22]wFMCommunicate request_size=4 [23:54:22]MH_SAM_APDU [23:54:22]CAPDU: 80 17 00 00 [23:54:22]Write to MH i2c: E2 08 00 66 2B 80 17 00 00 00 00 00 00 11 [23:54:22]Write i2c OK [23:54:22]MH_I2C_Read... [23:54:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:22]Read from MH i2c: E2 [23:54:22]MH_I2C_Read... [23:54:22]Read from MH i2c: E2 FD 00 [23:54:22]MH_I2C_Read... [23:54:22]Read from MH i2c: E2 FD 00 66 2B 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 89 [23:54:22]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [23:54:22]wFMCommunicate OK [23:54:22]wFMCommunicate request_size=4 [23:54:22]MH_SAM_APDU [23:54:22]CAPDU: 80 17 00 00 [23:54:22]Write to MH i2c: E2 08 00 67 2B 80 17 00 00 00 00 00 00 12 [23:54:22]Write i2c OK [23:54:22]MH_I2C_Read... [23:54:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:54:22]Read from MH i2c: E2 [23:54:22]MH_I2C_Read... [23:54:22]Read from MH i2c: E2 E1 00 [23:54:22]MH_I2C_Read... [23:54:22]Read from MH i2c: E2 E1 00 67 2B 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 00 [23:54:22]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:54:22]wFMCommunicate OK [23:54:22]SAM_PROTO_GetFMData done [23:54:22]requested_item fm.sale_refund.total is exist - process it [23:54:22]requested_item fm.buy.total is exist - process it [23:54:22]requested_item shift.sale.total is exist - process it [23:54:22]SAM_PROTO_GetShiftData [23:54:22]wFMCommunicate request_size=4 [23:54:22]MH_SAM_APDU [23:54:22]CAPDU: 80 13 02 00 [23:54:22]Write to MH i2c: E2 08 00 68 2B 80 13 02 00 00 00 00 00 11 [23:54:22]Write i2c OK [23:54:22]MH_I2C_Read... [23:54:22]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:54:22]Read from MH i2c: E2 [23:54:22]MH_I2C_Read... [23:54:22]Read from MH i2c: E2 FD 00 [23:54:22]MH_I2C_Read... [23:54:22]Read from MH i2c: E2 FD 00 68 2B 00 AE 04 AA 04 AA 04 6E 04 04 00 50 00 00 00 69 04 9B 00 6F 04 04 00 50 00 00 00 B1 04 03 00 2A 19 22 70 04 03 00 F8 E0 1C 72 04 03 00 32 38 05 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 19 9F 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 3B 4D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 7D [23:54:23]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 50 00 00 00 69 04 9B 00 6F 04 04 00 50 00 00 00 B1 04 03 00 2A 19 22 70 04 03 00 F8 E0 1C 72 04 03 00 32 38 05 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 19 9F 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 3B 4D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:54:23]wFMCommunicate OK [23:54:23]wFMCommunicate request_size=4 [23:54:23]MH_SAM_APDU [23:54:23]CAPDU: 80 17 00 00 [23:54:23]Write to MH i2c: E2 08 00 69 2B 80 17 00 00 00 00 00 00 14 [23:54:23]Write i2c OK [23:54:23]MH_I2C_Read... [23:54:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:23]Read from MH i2c: E2 [23:54:23]MH_I2C_Read... [23:54:23]Read from MH i2c: E2 FD 00 [23:54:23]MH_I2C_Read... [23:54:23]Read from MH i2c: E2 FD 00 69 2B 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 36 [23:54:23]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 [23:54:23]wFMCommunicate OK [23:54:23]wFMCommunicate request_size=4 [23:54:23]MH_SAM_APDU [23:54:23]CAPDU: 80 17 00 00 [23:54:23]Write to MH i2c: E2 08 00 6A 2B 80 17 00 00 00 00 00 00 15 [23:54:23]Write i2c OK [23:54:23]MH_I2C_Read... [23:54:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:23]Read from MH i2c: E2 [23:54:23]MH_I2C_Read... [23:54:23]Read from MH i2c: E2 FD 00 [23:54:23]MH_I2C_Read... [23:54:23]Read from MH i2c: E2 FD 00 6A 2B 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 CC [23:54:23]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 [23:54:23]wFMCommunicate OK [23:54:23]wFMCommunicate request_size=4 [23:54:23]MH_SAM_APDU [23:54:23]CAPDU: 80 17 00 00 [23:54:23]Write to MH i2c: E2 08 00 6B 2B 80 17 00 00 00 00 00 00 16 [23:54:23]Write i2c OK [23:54:23]MH_I2C_Read... [23:54:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:23]Read from MH i2c: E2 [23:54:23]MH_I2C_Read... [23:54:23]Read from MH i2c: E2 FD 00 [23:54:23]MH_I2C_Read... [23:54:23]Read from MH i2c: E2 FD 00 6B 2B 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 88 [23:54:23]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 [23:54:23]wFMCommunicate OK [23:54:23]wFMCommunicate request_size=4 [23:54:23]MH_SAM_APDU [23:54:23]CAPDU: 80 17 00 00 [23:54:23]Write to MH i2c: E2 08 00 6C 2B 80 17 00 00 00 00 00 00 17 [23:54:23]Write i2c OK [23:54:23]MH_I2C_Read... [23:54:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:54:24]Read from MH i2c: E2 [23:54:24]MH_I2C_Read... [23:54:24]Read from MH i2c: E2 CB 00 [23:54:24]MH_I2C_Read... [23:54:24]Read from MH i2c: E2 CB 00 6C 2B 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 00 [23:54:24]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 [23:54:24]wFMCommunicate OK [23:54:24]SAM_PROTO_GetShiftData done [23:54:24]requested_item shift.sale.total_cash is exist - process it [23:54:24]requested_item shift.sale_refund.total is exist - process it [23:54:24]requested_item shift.sale_refund.total_cash is exist - process it [23:54:24]requested_item shift.buy.total is exist - process it [23:54:24]requested_item shift.buy.total_cash is exist - process it [23:54:24]produce_requested_data done [23:54:24]produce_requested_data return {"fm.sale.total":11672671.72,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":22346.66,"shift.sale.total_cash":18926.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} [23:54:24]process_action_free get_value [23:54:24]json_value_free [23:54:24]json_value_free done [23:54:24]process_json_proto returns [23:54:24]Send response to host [23:54:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11672671.72,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":22346.66,"shift.sale.total_cash":18926.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}}} [23:54:24]free response buf [23:54:24]execute_script done [23:54:24]execute_script returns [23:54:24]free content buf [23:54:24]Sock 7.Close socket [23:54:24]Sock 7.Thread stoped [23:54:24]accept exits with 9 [23:54:24]New connection [23:54:24]New thread 3066699108 created [23:54:24]Thread 3066555748 joined [23:54:24]Waiting for new connection... [23:54:24] Sock 9.Parse request [23:54:24]Sock 9.Check first char [23:54:24]Sock 9.First char is OK [23:54:24]request: POST /json_proto HTTP/1.0 [23:54:24]Method: POST [23:54:24]URL: /json_proto [23:54:24]Method is POST - this is cgi request [23:54:24]url: /json_proto [23:54:24]query_string will be loaded in cgi processing [23:54:24]execute_cgi json_proto POST (null) [23:54:24]execute_cgi path=json_proto method=POST [23:54:24]POST find Content-Length [23:54:24]Host: 172.17.53.68:8080 [23:54:24]Content-Length: 331 [23:54:24]Content-Type: application/json [23:54:24] [23:54:24]POST finish read [23:54:24]Found Content-Length = 331 [23:54:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:54:24]execute_script... [23:54:24]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:54:24]POST & json_proto [23:54:24]process_json_proto [23:54:24]json parsed OK: [23:54:24]protocol is kg_v1.0 [23:54:24]action value=get_value [23:54:24]process_action get_value [23:54:24]cmd_get_value [23:54:24]process_action get_value done [23:54:24]requested_data is exist [23:54:24]produce_requested_data [23:54:24]requested_item fm.sale.total is exist - process it [23:54:24]SAM_PROTO_GetFMData [23:54:24]wFMCommunicate request_size=4 [23:54:24]MH_SAM_APDU [23:54:24]CAPDU: 80 13 03 00 [23:54:24]Write to MH i2c: E2 08 00 6D 2B 80 13 03 00 00 00 00 00 17 [23:54:24]Write i2c OK [23:54:24]MH_I2C_Read... [23:54:24]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:54:24]Read from MH i2c: E2 [23:54:24]MH_I2C_Read... [23:54:24]Read from MH i2c: E2 FD 00 [23:54:24]MH_I2C_Read... [23:54:24]Read from MH i2c: E2 FD 00 6D 2B 00 C4 04 85 04 C0 04 6E 04 04 00 D6 8D 00 00 69 04 A0 00 6F 04 04 00 8D 8C 00 00 B1 04 04 00 64 15 93 45 70 04 04 00 BC C7 DE 3D 72 04 04 00 A8 4D B4 07 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 31 EF 63 07 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 8D 9A 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 70 [23:54:24]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 D6 8D 00 00 69 04 A0 00 6F 04 04 00 8D 8C 00 00 B1 04 04 00 64 15 93 45 70 04 04 00 BC C7 DE 3D 72 04 04 00 A8 4D B4 07 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 31 EF 63 07 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 8D 9A 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 [23:54:24]wFMCommunicate OK [23:54:24]wFMCommunicate request_size=4 [23:54:24]MH_SAM_APDU [23:54:24]CAPDU: 80 17 00 00 [23:54:24]Write to MH i2c: E2 08 00 6E 2B 80 17 00 00 00 00 00 00 19 [23:54:24]Write i2c OK [23:54:24]MH_I2C_Read... [23:54:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:25]Read from MH i2c: E2 [23:54:25]MH_I2C_Read... [23:54:25]Read from MH i2c: E2 FD 00 [23:54:25]MH_I2C_Read... [23:54:25]Read from MH i2c: E2 FD 00 6E 2B 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 31 [23:54:25]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [23:54:25]wFMCommunicate OK [23:54:25]wFMCommunicate request_size=4 [23:54:25]MH_SAM_APDU [23:54:25]CAPDU: 80 17 00 00 [23:54:25]Write to MH i2c: E2 08 00 6F 2B 80 17 00 00 00 00 00 00 1A [23:54:25]Write i2c OK [23:54:25]MH_I2C_Read... [23:54:25]OFD Sender: No OFD packet to send [23:54:25]Read from MH i2c: E2 [23:54:25]MH_I2C_Read... [23:54:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:25]Read from MH i2c: E2 FD 00 [23:54:25]MH_I2C_Read... [23:54:25]Read from MH i2c: E2 FD 00 6F 2B 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 2F [23:54:25]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [23:54:25]wFMCommunicate OK [23:54:25]wFMCommunicate request_size=4 [23:54:25]MH_SAM_APDU [23:54:25]CAPDU: 80 17 00 00 [23:54:25]Write to MH i2c: E2 08 00 70 2B 80 17 00 00 00 00 00 00 1B [23:54:25]Write i2c OK [23:54:25]MH_I2C_Read... [23:54:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:25]Read from MH i2c: E2 [23:54:25]MH_I2C_Read... [23:54:25]Read from MH i2c: E2 FD 00 [23:54:25]MH_I2C_Read... [23:54:25]Read from MH i2c: E2 FD 00 70 2B 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 93 [23:54:25]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [23:54:25]wFMCommunicate OK [23:54:25]wFMCommunicate request_size=4 [23:54:25]MH_SAM_APDU [23:54:25]CAPDU: 80 17 00 00 [23:54:25]Write to MH i2c: E2 08 00 71 2B 80 17 00 00 00 00 00 00 1C [23:54:25]Write i2c OK [23:54:25]MH_I2C_Read... [23:54:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:54:26]Read from MH i2c: E2 [23:54:26]MH_I2C_Read... [23:54:26]Read from MH i2c: E2 E1 00 [23:54:26]MH_I2C_Read... [23:54:26]Read from MH i2c: E2 E1 00 71 2B 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 0A [23:54:26]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:54:26]wFMCommunicate OK [23:54:26]SAM_PROTO_GetFMData done [23:54:26]requested_item fm.sale_refund.total is exist - process it [23:54:26]requested_item fm.buy.total is exist - process it [23:54:26]requested_item shift.sale.total is exist - process it [23:54:26]SAM_PROTO_GetShiftData [23:54:26]wFMCommunicate request_size=4 [23:54:26]MH_SAM_APDU [23:54:26]CAPDU: 80 13 02 00 [23:54:26]Write to MH i2c: E2 08 00 72 2B 80 13 02 00 00 00 00 00 1B [23:54:26]Write i2c OK [23:54:26]MH_I2C_Read... [23:54:26]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:54:26]Read from MH i2c: E2 [23:54:26]MH_I2C_Read... [23:54:26]Read from MH i2c: E2 FD 00 [23:54:26]MH_I2C_Read... [23:54:26]Read from MH i2c: E2 FD 00 72 2B 00 AE 04 AA 04 AA 04 6E 04 04 00 50 00 00 00 69 04 9B 00 6F 04 04 00 50 00 00 00 B1 04 03 00 2A 19 22 70 04 03 00 F8 E0 1C 72 04 03 00 32 38 05 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 19 9F 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 3B 4D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 87 [23:54:26]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 50 00 00 00 69 04 9B 00 6F 04 04 00 50 00 00 00 B1 04 03 00 2A 19 22 70 04 03 00 F8 E0 1C 72 04 03 00 32 38 05 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 19 9F 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 3B 4D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:54:26]wFMCommunicate OK [23:54:26]wFMCommunicate request_size=4 [23:54:26]MH_SAM_APDU [23:54:26]CAPDU: 80 17 00 00 [23:54:26]Write to MH i2c: E2 08 00 73 2B 80 17 00 00 00 00 00 00 1E [23:54:26]Write i2c OK [23:54:26]MH_I2C_Read... [23:54:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:27]Read from MH i2c: E2 [23:54:27]MH_I2C_Read... [23:54:27]Read from MH i2c: E2 FD 00 [23:54:27]MH_I2C_Read... [23:54:27]Read from MH i2c: E2 FD 00 73 2B 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 40 [23:54:27]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:54:27]wFMCommunicate OK [23:54:27]wFMCommunicate request_size=4 [23:54:27]MH_SAM_APDU [23:54:27]CAPDU: 80 17 00 00 [23:54:27]Write to MH i2c: E2 08 00 74 2B 80 17 00 00 00 00 00 00 1F [23:54:27]Write i2c OK [23:54:27]MH_I2C_Read... [23:54:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:27]Read from MH i2c: E2 [23:54:27]MH_I2C_Read... [23:54:27]Read from MH i2c: E2 FD 00 [23:54:27]MH_I2C_Read... [23:54:27]Read from MH i2c: E2 FD 00 74 2B 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 D6 [23:54:27]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:54:27]wFMCommunicate OK [23:54:27]wFMCommunicate request_size=4 [23:54:27]MH_SAM_APDU [23:54:27]CAPDU: 80 17 00 00 [23:54:27]Write to MH i2c: E2 08 00 75 2B 80 17 00 00 00 00 00 00 20 [23:54:27]Write i2c OK [23:54:27]MH_I2C_Read... [23:54:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:27]Read from MH i2c: E2 [23:54:27]MH_I2C_Read... [23:54:27]Read from MH i2c: E2 FD 00 [23:54:27]MH_I2C_Read... [23:54:27]Read from MH i2c: E2 FD 00 75 2B 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 92 [23:54:28]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 [23:54:28]wFMCommunicate OK [23:54:28]wFMCommunicate request_size=4 [23:54:28]MH_SAM_APDU [23:54:28]CAPDU: 80 17 00 00 [23:54:28]Write to MH i2c: E2 08 00 76 2B 80 17 00 00 00 00 00 00 21 [23:54:28]Write i2c OK [23:54:28]MH_I2C_Read... [23:54:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:54:28]Read from MH i2c: E2 [23:54:28]MH_I2C_Read... [23:54:28]Read from MH i2c: E2 CB 00 [23:54:28]MH_I2C_Read... [23:54:28]Read from MH i2c: E2 CB 00 76 2B 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 0A [23:54:28]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:54:28]wFMCommunicate OK [23:54:28]SAM_PROTO_GetShiftData done [23:54:28]requested_item shift.sale.total_cash is exist - process it [23:54:28]requested_item shift.sale_refund.total is exist - process it [23:54:28]requested_item shift.sale_refund.total_cash is exist - process it [23:54:28]requested_item shift.buy.total is exist - process it [23:54:28]requested_item shift.buy.total_cash is exist - process it [23:54:28]produce_requested_data done [23:54:28]produce_requested_data return {"fm.sale.total":11672671.72,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":22346.66,"shift.sale.total_cash":18926.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} [23:54:28]process_action_free get_value [23:54:28]json_value_free [23:54:28]json_value_free done [23:54:28]process_json_proto returns [23:54:28]Send response to host [23:54:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11672671.72,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":22346.66,"shift.sale.total_cash":18926.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}}} [23:54:28]free response buf [23:54:28]execute_script done [23:54:28]execute_script returns [23:54:28]free content buf [23:54:28]Sock 9.Close socket [23:54:28]Sock 9.Thread stoped [23:54:28]accept exits with 7 [23:54:28]New connection [23:54:28]New thread 3066555748 created [23:54:28]Thread 3066699108 joined [23:54:28]Waiting for new connection... [23:54:28] Sock 7.Parse request [23:54:28]Sock 7.Check first char [23:54:28]Sock 7.First char is OK [23:54:28]request: POST /json_proto HTTP/1.0 [23:54:28]Method: POST [23:54:28]URL: /json_proto [23:54:28]Method is POST - this is cgi request [23:54:28]url: /json_proto [23:54:28]query_string will be loaded in cgi processing [23:54:28]execute_cgi json_proto POST (null) [23:54:28]execute_cgi path=json_proto method=POST [23:54:28]POST find Content-Length [23:54:28]Host: 172.17.53.68:8080 [23:54:28]Content-Length: 263 [23:54:28]Content-Type: application/json [23:54:28] [23:54:28]POST finish read [23:54:28]Found Content-Length = 263 [23:54:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0421\u0430\u043C\u0430\u0433\u0430\u043D\u043E\u0432 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:54:28]execute_script... [23:54:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0421\u0430\u043C\u0430\u0433\u0430\u043D\u043E\u0432 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:54:28]POST & json_proto [23:54:28]process_json_proto [23:54:28]json parsed OK: [23:54:28]protocol is kg_v1.0 [23:54:28]action value=x_report [23:54:28]process_action x_report [23:54:28]cmd_x_report [23:54:28]MH_GetDate [23:54:28]Write to MH i2c: F0 00 00 77 2B 91 [23:54:28]Write i2c OK [23:54:28]MH_I2C_Read... [23:54:28]Read from MH i2c: F0 [23:54:28]MH_I2C_Read... [23:54:28]Read from MH i2c: F0 09 00 [23:54:28]MH_I2C_Read... [23:54:28]Read from MH i2c: F0 09 00 77 2B 00 3E 98 15 67 C5 A4 76 66 31 [23:54:28]GetLastDocTimeStamp 1729467090 [23:54:28]current date 1729468478 [23:54:28]FM_GetShiftState [23:54:28]SAM_PROTO_GetShiftState [23:54:28]wFMCommunicate request_size=4 [23:54:28]MH_SAM_APDU [23:54:28]CAPDU: 80 13 01 00 [23:54:28]Write to MH i2c: E2 08 00 78 2B 80 13 01 00 00 00 00 00 20 [23:54:28]Write i2c OK [23:54:28]MH_I2C_Read... [23:54:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:54:28]Read from MH i2c: E2 [23:54:28]MH_I2C_Read... [23:54:28]Read from MH i2c: E2 0E 00 [23:54:28]MH_I2C_Read... [23:54:28]Read from MH i2c: E2 0E 00 78 2B 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 75 [23:54:28]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [23:54:28]wFMCommunicate OK [23:54:28]SAM_PROTO_GetShiftState done [23:54:28]FM_GetShiftState done [23:54:28]KKMCreateXReportDocument [23:54:28]Load OK [23:54:28]Malloc new data [23:54:28]MH_GetDate [23:54:28]Write to MH i2c: F0 00 00 79 2B 93 [23:54:28]Write i2c OK [23:54:28]MH_I2C_Read... [23:54:28]Read from MH i2c: F0 [23:54:28]MH_I2C_Read... [23:54:28]Read from MH i2c: F0 09 00 [23:54:28]MH_I2C_Read... [23:54:28]Read from MH i2c: F0 09 00 79 2B 00 3F 98 15 67 C5 A4 76 66 34 [23:54:28]Malloc new data [23:54:28]Malloc new data [23:54:28]wFMCommunicate request_size=4 [23:54:28]MH_SAM_APDU [23:54:28]CAPDU: 80 11 00 00 [23:54:28]Write to MH i2c: E2 08 00 7A 2B 80 11 00 00 00 00 00 00 1F [23:54:28]Write i2c OK [23:54:28]MH_I2C_Read... [23:54:28]Read from MH i2c: E2 [23:54:28]MH_I2C_Read... [23:54:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:54:28]Read from MH i2c: E2 17 00 [23:54:28]MH_I2C_Read... [23:54:28]Read from MH i2c: E2 17 00 7A 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 72 [23:54:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [23:54:28]wFMCommunicate OK [23:54:28]SAM_PROTO_GetFieldsCounters [23:54:28]wFMCommunicate request_size=4 [23:54:28]MH_SAM_APDU [23:54:28]CAPDU: 80 13 00 00 [23:54:28]Write to MH i2c: E2 08 00 7B 2B 80 13 00 00 00 00 00 00 22 [23:54:28]Write i2c OK [23:54:28]MH_I2C_Read... [23:54:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:54:28]Read from MH i2c: E2 [23:54:28]MH_I2C_Read... [23:54:28]Read from MH i2c: E2 62 00 [23:54:28]MH_I2C_Read... [23:54:28]Read from MH i2c: E2 62 00 7B 2B 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 70 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 08 [23:54: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 70 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:54:29]wFMCommunicate OK [23:54:29]SAM_PROTO_GetFieldsCounters done [23:54:29]Malloc new data [23:54:29]Malloc new data [23:54:29]Malloc new data [23:54:29]KKMCreateXReportDocument OK [23:54:29]KKMSetXReportData OK [23:54:29]KKMPrepareXReportFMData [23:54:29]SAM_PROTO_GetShiftData [23:54:29]wFMCommunicate request_size=4 [23:54:29]MH_SAM_APDU [23:54:29]CAPDU: 80 13 02 00 [23:54:29]Write to MH i2c: E2 08 00 7C 2B 80 13 02 00 00 00 00 00 25 [23:54:29]Write i2c OK [23:54:29]MH_I2C_Read... [23:54:29]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:54:29]Read from MH i2c: E2 [23:54:29]MH_I2C_Read... [23:54:29]Read from MH i2c: E2 FD 00 [23:54:29]MH_I2C_Read... [23:54:29]Read from MH i2c: E2 FD 00 7C 2B 00 AE 04 AA 04 AA 04 6E 04 04 00 50 00 00 00 69 04 9B 00 6F 04 04 00 50 00 00 00 B1 04 03 00 2A 19 22 70 04 03 00 F8 E0 1C 72 04 03 00 32 38 05 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 19 9F 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 3B 4D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 91 [23:54:29]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 50 00 00 00 69 04 9B 00 6F 04 04 00 50 00 00 00 B1 04 03 00 2A 19 22 70 04 03 00 F8 E0 1C 72 04 03 00 32 38 05 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 19 9F 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 3B 4D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:54:29]wFMCommunicate OK [23:54:29]wFMCommunicate request_size=4 [23:54:29]MH_SAM_APDU [23:54:29]CAPDU: 80 17 00 00 [23:54:29]Write to MH i2c: E2 08 00 7D 2B 80 17 00 00 00 00 00 00 28 [23:54:29]Write i2c OK [23:54:29]MH_I2C_Read... [23:54:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:29]Read from MH i2c: E2 [23:54:29]MH_I2C_Read... [23:54:29]Read from MH i2c: E2 FD 00 [23:54:29]MH_I2C_Read... [23:54:29]Read from MH i2c: E2 FD 00 7D 2B 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 4A [23:54:29]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 [23:54:30]wFMCommunicate OK [23:54:30]wFMCommunicate request_size=4 [23:54:30]MH_SAM_APDU [23:54:30]CAPDU: 80 17 00 00 [23:54:30]Write to MH i2c: E2 08 00 7E 2B 80 17 00 00 00 00 00 00 29 [23:54:30]Write i2c OK [23:54:30]MH_I2C_Read... [23:54:30]OFD Sender: No OFD packet to send [23:54:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:30]Read from MH i2c: E2 [23:54:30]MH_I2C_Read... [23:54:30]Read from MH i2c: E2 FD 00 [23:54:30]MH_I2C_Read... [23:54:30]Read from MH i2c: E2 FD 00 7E 2B 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 E0 [23:54:30]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 [23:54:30]wFMCommunicate OK [23:54:30]wFMCommunicate request_size=4 [23:54:30]MH_SAM_APDU [23:54:30]CAPDU: 80 17 00 00 [23:54:30]Write to MH i2c: E2 08 00 7F 2B 80 17 00 00 00 00 00 00 2A [23:54:30]Write i2c OK [23:54:30]MH_I2C_Read... [23:54:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:30]Read from MH i2c: E2 [23:54:30]MH_I2C_Read... [23:54:30]Read from MH i2c: E2 FD 00 [23:54:30]MH_I2C_Read... [23:54:30]Read from MH i2c: E2 FD 00 7F 2B 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 9C [23:54:30]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 [23:54:30]wFMCommunicate OK [23:54:30]wFMCommunicate request_size=4 [23:54:30]MH_SAM_APDU [23:54:30]CAPDU: 80 17 00 00 [23:54:30]Write to MH i2c: E2 08 00 80 2B 80 17 00 00 00 00 00 00 2B [23:54:30]Write i2c OK [23:54:30]MH_I2C_Read... [23:54:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:54:31]Read from MH i2c: E2 [23:54:31]MH_I2C_Read... [23:54:31]Read from MH i2c: E2 CB 00 [23:54:31]MH_I2C_Read... [23:54:31]Read from MH i2c: E2 CB 00 80 2B 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 14 [23:54:31]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 [23:54:31]wFMCommunicate OK [23:54:31]SAM_PROTO_GetShiftData done [23:54:31]1194 (1194) - Ñчетчики итогов Ñмены [23:54:31] 1134 (4) - 80 - количеÑтво чеков Ñо вÑеми признаками раÑчетов [23:54:31] 1129 (155) - Ñчетчики операций «приход» [23:54:31] 1135 (4) - 80 - количеÑтво чеков по признаку раÑчетов [23:54:31] 1201 (3) - 22346.66 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [23:54:31] 1136 (3) - 18926.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [23:54:31] 1138 (3) - 3420.66 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [23:54:31] 1024 (122) - Ñуммы налогов [23:54:31] 1006 (9) - Ñуммы ÐДС [23:54:31] 1010 (1) - 0% - код Ñтавки ÐДС [23:54:31] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [23:54:31] 1006 (12) - Ñуммы ÐДС [23:54:31] 1010 (1) - 12% - код Ñтавки ÐДС [23:54:31] 1011 (3) - 2373.37 - Ñумма ÐДС по Ñтавке [23:54:31] 1007 (9) - Ñуммы ÐСП [23:54:31] 1014 (1) - 0% - код Ñтавки ÐСП [23:54:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:54:31] 1007 (11) - Ñуммы ÐСП [23:54:31] 1014 (1) - 1% - код Ñтавки ÐСП [23:54:31] 1015 (2) - 197.71 - Ñумма ÐСП по Ñтавке [23:54:31] 1007 (9) - Ñуммы ÐСП [23:54:31] 1014 (1) - 2% - код Ñтавки ÐСП [23:54:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:54:31] 1007 (9) - Ñуммы ÐСП [23:54:31] 1014 (1) - 3% - код Ñтавки ÐСП [23:54:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:54:31] 1007 (9) - Ñуммы ÐСП [23:54:31] 1014 (1) - 5% - код Ñтавки ÐСП [23:54:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:54:31] 1007 (9) - Ñуммы ÐСП [23:54:31] 1014 (1) - 0,50% - код Ñтавки ÐСП [23:54:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:54:31] 1007 (9) - Ñуммы ÐСП [23:54:31] 1014 (1) - 1,50% - код Ñтавки ÐСП [23:54:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:54:31] 1130 (141) - Ñчетчики операций «возврат прихода» [23:54:31] 1135 (4) - 0 - количеÑтво чеков по признаку раÑчетов [23:54:31] 1201 (0) - 0.00 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [23:54:31] 1136 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [23:54:31] 1138 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [23:54:31] 1024 (117) - Ñуммы налогов [23:54:31] 1006 (9) - Ñуммы ÐДС [23:54:31] 1010 (1) - 0% - код Ñтавки ÐДС [23:54:31] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [23:54:31] 1006 (9) - Ñуммы ÐДС [23:54:31] 1010 (1) - 12% - код Ñтавки ÐДС [23:54:31] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [23:54:31] 1007 (9) - Ñуммы ÐСП [23:54:31] 1014 (1) - 0% - код Ñтавки ÐСП [23:54:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:54:31] 1007 (9) - Ñуммы ÐСП [23:54:31] 1014 (1) - 1% - код Ñтавки ÐСП [23:54:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:54:31] 1007 (9) - Ñуммы ÐСП [23:54:31] 1014 (1) - 2% - код Ñтавки ÐСП [23:54:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:54:31] 1007 (9) - Ñуммы ÐСП [23:54:31] 1014 (1) - 3% - код Ñтавки ÐСП [23:54:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:54:31] 1007 (9) - Ñуммы ÐСП [23:54:31] 1014 (1) - 5% - код Ñтавки ÐСП [23:54:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:54:31] 1007 (9) - Ñуммы ÐСП [23:54:31] 1014 (1) - 0,50% - код Ñтавки ÐСП [23:54:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:54:31] 1007 (9) - Ñуммы ÐСП [23:54:31] 1014 (1) - 1,50% - код Ñтавки ÐСП [23:54:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:54:31] 1131 (141) - Ñчетчики операций «раÑход» [23:54:31] 1135 (4) - 0 - количеÑтво чеков по признаку раÑчетов [23:54:31] 1201 (0) - 0.00 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [23:54:31] 1136 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [23:54:31] 1138 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [23:54:31] 1024 (117) - Ñуммы налогов [23:54:31] 1006 (9) - Ñуммы ÐДС [23:54:31] 1010 (1) - 0% - код Ñтавки ÐДС [23:54:31] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [23:54:31] 1006 (9) - Ñуммы ÐДС [23:54:31] 1010 (1) - 12% - код Ñтавки ÐДС [23:54:31] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [23:54:31] 1007 (9) - Ñуммы ÐСП [23:54:31] 1014 (1) - 0% - код Ñтавки ÐСП [23:54:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:54:31] 1007 (9) - Ñуммы ÐСП [23:54:31] 1014 (1) - 1% - код Ñтавки ÐСП [23:54:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:54:31] 1007 (9) - Ñуммы ÐСП [23:54:31] 1014 (1) - 2% - код Ñтавки ÐСП [23:54:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:54:31] 1007 (9) - Ñуммы ÐСП [23:54:31] 1014 (1) - 3% - код Ñтавки ÐСП [23:54:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:54:31] 1007 (9) - Ñуммы ÐСП [23:54:31] 1014 (1) - 5% - код Ñтавки ÐСП [23:54:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:54:31] 1007 (9) - Ñуммы ÐСП [23:54:31] 1014 (1) - 0,50% - код Ñтавки ÐСП [23:54:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:54:31] 1007 (9) - Ñуммы ÐСП [23:54:31] 1014 (1) - 1,50% - код Ñтавки ÐСП [23:54:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:54:31] 1132 (141) - Ñчетчики операций «возврат раÑхода» [23:54:31] 1135 (4) - 0 - количеÑтво чеков по признаку раÑчетов [23:54:31] 1201 (0) - 0.00 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [23:54:31] 1136 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [23:54:31] 1138 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [23:54:31] 1024 (117) - Ñуммы налогов [23:54:31] 1006 (9) - Ñуммы ÐДС [23:54:31] 1010 (1) - 0% - код Ñтавки ÐДС [23:54:31] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [23:54:31] 1006 (9) - Ñуммы ÐДС [23:54:31] 1010 (1) - 12% - код Ñтавки ÐДС [23:54:31] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [23:54:31] 1007 (9) - Ñуммы ÐСП [23:54:31] 1014 (1) - 0% - код Ñтавки ÐСП [23:54:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:54:31] 1007 (9) - Ñуммы ÐСП [23:54:31] 1014 (1) - 1% - код Ñтавки ÐСП [23:54:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:54:31] 1007 (9) - Ñуммы ÐСП [23:54:31] 1014 (1) - 2% - код Ñтавки ÐСП [23:54:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:54:31] 1007 (9) - Ñуммы ÐСП [23:54:31] 1014 (1) - 3% - код Ñтавки ÐСП [23:54:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:54:31] 1007 (9) - Ñуммы ÐСП [23:54:31] 1014 (1) - 5% - код Ñтавки ÐСП [23:54:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:54:31] 1007 (9) - Ñуммы ÐСП [23:54:31] 1014 (1) - 0,50% - код Ñтавки ÐСП [23:54:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:54:31] 1007 (9) - Ñуммы ÐСП [23:54:31] 1014 (1) - 1,50% - код Ñтавки ÐСП [23:54:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:54:31] 1133 (588) - - Ñчетчики коррекции - не иÑпользуютÑÑ [23:54:31]SetTLVBufToDocument [23:54:31]Processing tag 1194 (04AA) [23:54:31]Load OK [23:54:31]SetTLVBufToDocument [23:54:31]Processing tag 1134 (046E) [23:54:31]Malloc new data [23:54:31]Processing tag 1129 (0469) [23:54:31]Load OK [23:54:31]SetTLVBufToDocument [23:54:31]Processing tag 1135 (046F) [23:54:31]Malloc new data [23:54:31]Processing tag 1201 (04B1) [23:54:31]Malloc new data [23:54:31]Processing tag 1136 (0470) [23:54:31]Malloc new data [23:54:31]Processing tag 1138 (0472) [23:54:31]Malloc new data [23:54:31]Processing tag 1024 (0400) [23:54:31]Load OK [23:54:31]SetTLVBufToDocument [23:54:31]Processing tag 1006 (03EE) [23:54:31]Load OK [23:54:31]SetTLVBufToDocument [23:54:31]Processing tag 1010 (03F2) [23:54:32]Malloc new data [23:54:32]Processing tag 1011 (03F3) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1006 (03EE) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1010 (03F2) [23:54:32]Malloc new data [23:54:32]Processing tag 1011 (03F3) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1007 (03EF) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1014 (03F6) [23:54:32]Malloc new data [23:54:32]Processing tag 1015 (03F7) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1007 (03EF) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1014 (03F6) [23:54:32]Malloc new data [23:54:32]Processing tag 1015 (03F7) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1007 (03EF) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1014 (03F6) [23:54:32]Malloc new data [23:54:32]Processing tag 1015 (03F7) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1007 (03EF) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1014 (03F6) [23:54:32]Malloc new data [23:54:32]Processing tag 1015 (03F7) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1007 (03EF) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1014 (03F6) [23:54:32]Malloc new data [23:54:32]Processing tag 1015 (03F7) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1007 (03EF) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1014 (03F6) [23:54:32]Malloc new data [23:54:32]Processing tag 1015 (03F7) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1007 (03EF) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1014 (03F6) [23:54:32]Malloc new data [23:54:32]Processing tag 1015 (03F7) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]SetTLVBufToDocument err=0 [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1130 (046A) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1135 (046F) [23:54:32]Malloc new data [23:54:32]Processing tag 1201 (04B1) [23:54:32]Malloc new data [23:54:32]Processing tag 1136 (0470) [23:54:32]Malloc new data [23:54:32]Processing tag 1138 (0472) [23:54:32]Malloc new data [23:54:32]Processing tag 1024 (0400) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1006 (03EE) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1010 (03F2) [23:54:32]Malloc new data [23:54:32]Processing tag 1011 (03F3) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1006 (03EE) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1010 (03F2) [23:54:32]Malloc new data [23:54:32]Processing tag 1011 (03F3) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1007 (03EF) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1014 (03F6) [23:54:32]Malloc new data [23:54:32]Processing tag 1015 (03F7) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1007 (03EF) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1014 (03F6) [23:54:32]Malloc new data [23:54:32]Processing tag 1015 (03F7) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1007 (03EF) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1014 (03F6) [23:54:32]Malloc new data [23:54:32]Processing tag 1015 (03F7) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1007 (03EF) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1014 (03F6) [23:54:32]Malloc new data [23:54:32]Processing tag 1015 (03F7) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1007 (03EF) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1014 (03F6) [23:54:32]Malloc new data [23:54:32]Processing tag 1015 (03F7) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1007 (03EF) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1014 (03F6) [23:54:32]Malloc new data [23:54:32]Processing tag 1015 (03F7) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1007 (03EF) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1014 (03F6) [23:54:32]Malloc new data [23:54:32]Processing tag 1015 (03F7) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]SetTLVBufToDocument err=0 [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1131 (046B) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1135 (046F) [23:54:32]Malloc new data [23:54:32]Processing tag 1201 (04B1) [23:54:32]Malloc new data [23:54:32]Processing tag 1136 (0470) [23:54:32]Malloc new data [23:54:32]Processing tag 1138 (0472) [23:54:32]Malloc new data [23:54:32]Processing tag 1024 (0400) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1006 (03EE) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1010 (03F2) [23:54:32]Malloc new data [23:54:32]Processing tag 1011 (03F3) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1006 (03EE) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1010 (03F2) [23:54:32]Malloc new data [23:54:32]Processing tag 1011 (03F3) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1007 (03EF) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1014 (03F6) [23:54:32]Malloc new data [23:54:32]Processing tag 1015 (03F7) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1007 (03EF) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1014 (03F6) [23:54:32]Malloc new data [23:54:32]Processing tag 1015 (03F7) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1007 (03EF) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1014 (03F6) [23:54:32]Malloc new data [23:54:32]Processing tag 1015 (03F7) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1007 (03EF) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1014 (03F6) [23:54:32]Malloc new data [23:54:32]Processing tag 1015 (03F7) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1007 (03EF) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1014 (03F6) [23:54:32]Malloc new data [23:54:32]Processing tag 1015 (03F7) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1007 (03EF) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1014 (03F6) [23:54:32]Malloc new data [23:54:32]Processing tag 1015 (03F7) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1007 (03EF) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1014 (03F6) [23:54:32]Malloc new data [23:54:32]Processing tag 1015 (03F7) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]SetTLVBufToDocument err=0 [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1132 (046C) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1135 (046F) [23:54:32]Malloc new data [23:54:32]Processing tag 1201 (04B1) [23:54:32]Malloc new data [23:54:32]Processing tag 1136 (0470) [23:54:32]Malloc new data [23:54:32]Processing tag 1138 (0472) [23:54:32]Malloc new data [23:54:32]Processing tag 1024 (0400) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1006 (03EE) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1010 (03F2) [23:54:32]Malloc new data [23:54:32]Processing tag 1011 (03F3) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1006 (03EE) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1010 (03F2) [23:54:32]Malloc new data [23:54:32]Processing tag 1011 (03F3) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1007 (03EF) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1014 (03F6) [23:54:32]Malloc new data [23:54:32]Processing tag 1015 (03F7) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1007 (03EF) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1014 (03F6) [23:54:32]Malloc new data [23:54:32]Processing tag 1015 (03F7) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1007 (03EF) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1014 (03F6) [23:54:32]Malloc new data [23:54:32]Processing tag 1015 (03F7) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1007 (03EF) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1014 (03F6) [23:54:32]Malloc new data [23:54:32]Processing tag 1015 (03F7) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1007 (03EF) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1014 (03F6) [23:54:32]Malloc new data [23:54:32]Processing tag 1015 (03F7) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1007 (03EF) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1014 (03F6) [23:54:32]Malloc new data [23:54:32]Processing tag 1015 (03F7) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1007 (03EF) [23:54:32]Load OK [23:54:32]SetTLVBufToDocument [23:54:32]Processing tag 1014 (03F6) [23:54:32]Malloc new data [23:54:32]Processing tag 1015 (03F7) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]SetTLVBufToDocument err=0 [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Processing tag 1133 (046D) [23:54:32]Malloc new data [23:54:32]SetTLVBufToDocument err=0 [23:54:32]SetTLVBufToDocument err=0 [23:54:32]Malloc new data [23:54:32]SAM_PROTO_GetFMData [23:54:32]wFMCommunicate request_size=4 [23:54:32]MH_SAM_APDU [23:54:32]CAPDU: 80 13 03 00 [23:54:32]Write to MH i2c: E2 08 00 81 2B 80 13 03 00 00 00 00 00 2B [23:54:32]Write i2c OK [23:54:32]MH_I2C_Read... [23:54:32]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:54:32]Read from MH i2c: E2 [23:54:32]MH_I2C_Read... [23:54:32]Read from MH i2c: E2 FD 00 [23:54:33]MH_I2C_Read... [23:54:33]Read from MH i2c: E2 FD 00 81 2B 00 C4 04 85 04 C0 04 6E 04 04 00 D6 8D 00 00 69 04 A0 00 6F 04 04 00 8D 8C 00 00 B1 04 04 00 64 15 93 45 70 04 04 00 BC C7 DE 3D 72 04 04 00 A8 4D B4 07 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 31 EF 63 07 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 8D 9A 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 84 [23:54:33]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 D6 8D 00 00 69 04 A0 00 6F 04 04 00 8D 8C 00 00 B1 04 04 00 64 15 93 45 70 04 04 00 BC C7 DE 3D 72 04 04 00 A8 4D B4 07 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 31 EF 63 07 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 8D 9A 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 [23:54:33]wFMCommunicate OK [23:54:33]wFMCommunicate request_size=4 [23:54:33]MH_SAM_APDU [23:54:33]CAPDU: 80 17 00 00 [23:54:33]Write to MH i2c: E2 08 00 82 2B 80 17 00 00 00 00 00 00 2D [23:54:33]Write i2c OK [23:54:33]MH_I2C_Read... [23:54:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:33]Read from MH i2c: E2 [23:54:33]MH_I2C_Read... [23:54:33]Read from MH i2c: E2 FD 00 [23:54:33]MH_I2C_Read... [23:54:33]Read from MH i2c: E2 FD 00 82 2B 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 45 [23:54:33]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [23:54:33]wFMCommunicate OK [23:54:33]wFMCommunicate request_size=4 [23:54:33]MH_SAM_APDU [23:54:33]CAPDU: 80 17 00 00 [23:54:33]Write to MH i2c: E2 08 00 83 2B 80 17 00 00 00 00 00 00 2E [23:54:33]Write i2c OK [23:54:33]MH_I2C_Read... [23:54:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:34]Read from MH i2c: E2 [23:54:34]MH_I2C_Read... [23:54:34]Read from MH i2c: E2 FD 00 [23:54:34]MH_I2C_Read... [23:54:34]Read from MH i2c: E2 FD 00 83 2B 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 43 [23:54:34]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [23:54:34]wFMCommunicate OK [23:54:34]wFMCommunicate request_size=4 [23:54:34]MH_SAM_APDU [23:54:34]CAPDU: 80 17 00 00 [23:54:34]Write to MH i2c: E2 08 00 84 2B 80 17 00 00 00 00 00 00 2F [23:54:34]Write i2c OK [23:54:34]MH_I2C_Read... [23:54:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:34]Read from MH i2c: E2 [23:54:34]MH_I2C_Read... [23:54:34]Read from MH i2c: E2 FD 00 [23:54:34]MH_I2C_Read... [23:54:34]Read from MH i2c: E2 FD 00 84 2B 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 A7 [23:54:34]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [23:54:34]wFMCommunicate OK [23:54:34]wFMCommunicate request_size=4 [23:54:34]MH_SAM_APDU [23:54:34]CAPDU: 80 17 00 00 [23:54:34]Write to MH i2c: E2 08 00 85 2B 80 17 00 00 00 00 00 00 30 [23:54:34]Write i2c OK [23:54:34]MH_I2C_Read... [23:54:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:54:35]Read from MH i2c: E2 [23:54:35]MH_I2C_Read... [23:54:35]Read from MH i2c: E2 E1 00 [23:54:35]MH_I2C_Read... [23:54:35]Read from MH i2c: E2 E1 00 85 2B 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 1E [23:54:35]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 OFD Sender: No OFD packet to send [23:54:35]03 00 00 EF 03 09 00 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:54:35]wFMCommunicate OK [23:54:35]SAM_PROTO_GetFMData done [23:54:35]FM_GetFMData:85 04 C0 04 6E 04 04 00 D6 8D 00 00 69 04 A0 00 6F 04 04 00 8D 8C 00 00 B1 04 04 00 64 15 93 45 70 04 04 00 BC C7 DE 3D 72 04 04 00 A8 4D B4 07 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 31 EF 63 07 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 8D 9A 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E 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 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:54:36]oper:6F 04 04 00 8D 8C 00 00 B1 04 04 00 64 15 93 45 70 04 04 00 BC C7 DE 3D 72 04 04 00 A8 4D B4 07 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 31 EF 63 07 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 8D 9A 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:54:36]total:64 15 93 45 [23:54:36]Malloc new data [23:54:36]oper:6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E 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 7C E3 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 [23:54:36]total:64 5B B7 01 [23:54:36]Malloc new data [23:54:36]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 [23:54:36]total: [23:54:36]Malloc new data [23:54:36]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 [23:54:36]total: [23:54:36]Malloc new data [23:54:36]KKMPrepareXReportFMData err=0 [23:54:36]Ð¥ отчет ИÐÐ: 02508201610067 КаÑÑир: Самаганов Ð. 20.10.2024 23:54 Смена: 266 РÐМ: 0000000000098149 ЗÐМ: 0300000235 СÐО: Общий режим Ð’Ñего чеков: 80 ИТОГИ ПРИХОД Чеков: 80 Общий итог: 22346.66 Итого наличными: 18926.00 Итого безнал.: 3420.66 ÐДС 0% : 0.00 ÐДС 12% : 2373.37 ÐСП 0% : 0.00 ÐСП 1,50% : 0.00 ÐСП 0,50% : 0.00 ÐСП 5% : 0.00 ÐСП 3% : 0.00 ÐСП 2% : 0.00 ÐСП 1% : 197.71 ИТОГИ ВОЗВРÐТ ПРИХОДРЧеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 ÐДС 0% : 0.00 ÐДС 12% : 0.00 ÐСП 0% : 0.00 ÐСП 1,50% : 0.00 ÐСП 0,50% : 0.00 ÐСП 5% : 0.00 ÐСП 3% : 0.00 ÐСП 2% : 0.00 ÐСП 1% : 0.00 ИТОГИ РÐСХОД Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 ÐДС 0% : 0.00 ÐДС 12% : 0.00 ÐСП 0% : 0.00 ÐСП 1,50% : 0.00 ÐСП 0,50% : 0.00 ÐСП 5% : 0.00 ÐСП 3% : 0.00 ÐСП 2% : 0.00 ÐСП 1% : 0.00 ИТОГИ ВОЗВРÐТ РÐСХОДРЧеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 ÐДС 0% : 0.00 ÐДС 12% : 0.00 ÐСП 0% : 0.00 ÐСП 1,50% : 0.00 ÐСП 0,50% : 0.00 ÐСП 5% : 0.00 ÐСП 3% : 0.00 ÐСП 2% : 0.00 ÐСП 1% : 0.00 Сумма внеÑений: 0.00 Сумма выплат: 0.00 Ðал. в каÑÑе: 18926.00 ÐС Приход: 11672671.72 ÐС Возвр.Прихода: 287937.00 ÐС РаÑход: 0.00 ÐС Возвр.РаÑхода: 0.00 ФМ: 0000000000965372 [23:54:36]StoreToDocumentArchive [23:54:36]MH_GetDate [23:54:36]Write to MH i2c: F0 00 00 86 2B A0 [23:54:36]Write i2c OK [23:54:36]MH_I2C_Read... [23:54:36]Read from MH i2c: F0 [23:54:36]MH_I2C_Read... [23:54:36]Read from MH i2c: F0 09 00 [23:54:36]MH_I2C_Read... [23:54:36]Read from MH i2c: F0 09 00 86 2B 00 46 98 15 67 C5 A4 76 66 48 [23:54:36]shift 266 fd 1729468486 [23:54:36]Create dir for shift 0266 [23:54:36]save to /storage/0266/doc_1729468486 [23:54:36]save last doc name /storage/0266/doc_1729468486 to /storage/kkm_last_doc_name [23:54:36]save OK [23:54:36]Clear old archive folders... [23:54:36]NVStorageSaveData kkm_last_timestamp [23:54:36]File name is /storage/kkm_last_timestamp [23:54:36]Write 4 bytes [23:54:36]NVStorageSaveData done [23:54:36]ExternCall_PrintAddStr [23:54:36]wPrintStart [23:54:36]Write to MH i2c: 01 00 00 87 2B B2 [23:54:36]Write i2c OK [23:54:36]MH_I2C_Read... [23:54:36]Read from MH i2c: 01 [23:54:36]MH_I2C_Read... [23:54:36]Read from MH i2c: 01 07 00 [23:54:36]MH_I2C_Read... [23:54:36]Read from MH i2c: 01 07 00 87 2B 00 00 00 00 00 FF 0F C7 [23:54:36]RasterBufferAndPrint [23:54:36]line Ð¥ отчет [23:54:36]line ИÐÐ: 02508201610067 [23:54:36]line КаÑÑир: Самаганов Ð. [23:54:36]line 20.10.2024 23:54 [23:54:36]line Смена: 266 [23:54:36]line РÐМ: 0000000000098149 [23:54:36]line ЗÐМ: 0300000235 [23:54:36]line СÐО: Общий режим [23:54:36]line Ð’Ñего чеков: 80 [23:54:36]line ИТОГИ ПРИХОД [23:54:36]line Чеков: 80 [23:54:36]line Общий итог: 22346.66 [23:54:36]line Итого наличными: 18926.00 [23:54:36]line Итого безнал.: 3420.66 [23:54:36]line ÐДС 0% : 0.00 [23:54:36]line ÐДС 12% : 2373.37 [23:54:36]line ÐСП 0% : 0.00 [23:54:36]line ÐСП 1,50% : 0.00 [23:54:36]line ÐСП 0,50% : 0.00 [23:54:36]line ÐСП 5% : 0.00 [23:54:36]line ÐСП 3% : 0.00 [23:54:36]line ÐСП 2% : 0.00 [23:54:36]line ÐСП 1% : 197.71 [23:54:36]line ИТОГИ ВОЗВРÐТ ПРИХОДР[23:54:36]line Чеков: 0 [23:54:36]line Общий итог: 0.00 [23:54:36]line Итого наличными: 0.00 [23:54:36]line Итого безнал.: 0.00 [23:54:36]line ÐДС 0% : 0.00 [23:54:36]line ÐДС 12% : 0.00 [23:54:36]line ÐСП 0% : 0.00 [23:54:36]line ÐСП 1,50% : 0.00 [23:54:36]line ÐСП 0,50% : 0.00 [23:54:36]line ÐСП 5% : 0.00 [23:54:36]line ÐСП 3% : 0.00 [23:54:36]line ÐСП 2% : 0.00 [23:54:36]line ÐСП 1% : 0.00 [23:54:36]line ИТОГИ РÐСХОД [23:54:36]line Чеков: 0 [23:54:36]line Общий итог: 0.00 [23:54:36]line Итого наличными: 0.00 [23:54:36]line Итого безнал.: 0.00 [23:54:36]line ÐДС 0% : 0.00 [23:54:36]line ÐДС 12% : 0.00 [23:54:36]line ÐСП 0% : 0.00 [23:54:36]line ÐСП 1,50% : 0.00 [23:54:36]line ÐСП 0,50% : 0.00 [23:54:36]line ÐСП 5% : 0.00 [23:54:36]line ÐСП 3% : 0.00 [23:54:36]line ÐСП 2% : 0.00 [23:54:36]line ÐСП 1% : 0.00 [23:54:36]line ИТОГИ ВОЗВРÐТ РÐСХОДР[23:54:36]line Чеков: 0 [23:54:36]line Общий итог: 0.00 [23:54:36]line Итого наличными: 0.00 [23:54:36]line Итого безнал.: 0.00 [23:54:36]line ÐДС 0% : 0.00 [23:54:36]line ÐДС 12% : 0.00 [23:54:36]line ÐСП 0% : 0.00 [23:54:36]line ÐСП 1,50% : 0.00 [23:54:36]line ÐСП 0,50% : 0.00 [23:54:36]line ÐСП 5% : 0.00 [23:54:36]line ÐСП 3% : 0.00 [23:54:36]line ÐСП 2% : 0.00 [23:54:36]line ÐСП 1% : 0.00 [23:54:36]line Сумма внеÑений: 0.00 [23:54:36]line Сумма выплат: 0.00 [23:54:36]line Ðал. в каÑÑе: 18926.00 [23:54:36]line ÐС Приход: 11672671.72 [23:54:36]line ÐС Возвр.Прихода: 287937.00 [23:54:36]line ÐС РаÑход: 0.00 [23:54:36]line ÐС Возвр.РаÑхода: 0.00 [23:54:36]line ФМ: 0000000000965372 [23:54:36]written 0, free lines is 4095 [23:54:37]Write to MH i2c: 01 00 00 D2 2B FD [23:54:37]Write i2c OK [23:54:37]MH_I2C_Read... [23:54:37]Read from MH i2c: 01 [23:54:37]MH_I2C_Read... [23:54:37]Read from MH i2c: 01 07 00 [23:54:37]MH_I2C_Read... [23:54:37]Read from MH i2c: 01 07 00 D2 2B 00 00 00 00 00 BE 0A CC [23:54:37]RasterBufferAndPrint [23:54:37]line [23:54:37]line [23:54:37]line [23:54:37]line [23:54:37]line [23:54:37]written 0, free lines is 2789 [23:54:37]process_action x_report done [23:54:37]requested_data is exist [23:54:37]produce_requested_data [23:54:37]requested_item fd.num is exist - process it [23:54:37]SAM_PROTO_GetFieldsCounters [23:54:37]wFMCommunicate request_size=4 [23:54:37]MH_SAM_APDU [23:54:37]CAPDU: 80 13 00 00 [23:54:37]Write to MH i2c: E2 08 00 D9 2B 80 13 00 00 00 00 00 00 80 [23:54:37]Write i2c OK [23:54:37]MH_I2C_Read... [23:54:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:54:37]Read from MH i2c: E2 [23:54:37]MH_I2C_Read... [23:54:37]Read from MH i2c: E2 62 00 [23:54:37]MH_I2C_Read... [23:54:37]Read from MH i2c: E2 62 00 D9 2B 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 70 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 66 [23:54: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 70 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:54:37]wFMCommunicate OK [23:54:37]SAM_PROTO_GetFieldsCounters done [23:54:37]requested_item shift.num is exist - process it [23:54:37]requested_item shift.opened is exist - process it [23:54:37]req_shift_opened [23:54:37]FM_GetShiftState [23:54:37]SAM_PROTO_GetShiftState [23:54:37]wFMCommunicate request_size=4 [23:54:37]MH_SAM_APDU [23:54:37]CAPDU: 80 13 01 00 [23:54:37]Write to MH i2c: E2 08 00 DA 2B 80 13 01 00 00 00 00 00 82 [23:54:37]Write i2c OK [23:54:37]MH_I2C_Read... [23:54:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:54:37]Read from MH i2c: E2 [23:54:37]MH_I2C_Read... [23:54:37]Read from MH i2c: E2 0E 00 [23:54:37]MH_I2C_Read... [23:54:37]Read from MH i2c: E2 0E 00 DA 2B 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 D7 [23:54:37]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [23:54:37]wFMCommunicate OK [23:54:37]SAM_PROTO_GetShiftState done [23:54:37]FM_GetShiftState done [23:54:37]req_shift_opened done [23:54:37]requested_item shift.open_date is exist - process it [23:54:37]req_shift_open_date [23:54:37]req_shift_open_date done [23:54:37]produce_requested_data done [23:54:37]produce_requested_data return {"fd.num":37232,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [23:54:37]process_action_free x_report [23:54:37]json_value_free [23:54:37]json_value_free done [23:54:37]process_json_proto returns [23:54:37]Send response to host [23:54:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":37232,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [23:54:37]free response buf [23:54:37]execute_script done [23:54:37]execute_script returns [23:54:37]free content buf [23:54:37]Sock 7.Close socket [23:54:37]Sock 7.Thread stoped [23:54:40]OFD Sender: No OFD packet to send [23:54:45]OFD Sender: No OFD packet to send [23:54:50]OFD Sender: No OFD packet to send [23:54:55]OFD Sender: No OFD packet to send [23:55:00]OFD Sender: No OFD packet to send [23:55:05]OFD Sender: No OFD packet to send [23:55:10]OFD Sender: No OFD packet to send [23:55:11]accept exits with 9 [23:55:11]New connection [23:55:11]New thread 3066699108 created [23:55:11]Thread 3066555748 joined [23:55:11]Waiting for new connection... [23:55:11] Sock 9.Parse request [23:55:11]Sock 9.Check first char [23:55:11]Sock 9.First char is OK [23:55:11]request: POST /json_proto HTTP/1.0 [23:55:11]Method: POST [23:55:11]URL: /json_proto [23:55:11]Method is POST - this is cgi request [23:55:11]url: /json_proto [23:55:11]query_string will be loaded in cgi processing [23:55:11]execute_cgi json_proto POST (null) [23:55:11]execute_cgi path=json_proto method=POST [23:55:11]POST find Content-Length [23:55:11]Host: 172.17.53.68:8080 [23:55:11]Content-Length: 215 [23:55:11]Content-Type: application/json [23:55:11] [23:55:11]POST finish read [23:55:11]Found Content-Length = 215 [23:55:11]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:55:11]execute_script... [23:55:11]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:55:11]POST & json_proto [23:55:11]process_json_proto [23:55:11]json parsed OK: [23:55:11]protocol is kg_v1.0 [23:55:11]action value=get_value [23:55:11]process_action get_value [23:55:11]cmd_get_value [23:55:11]process_action get_value done [23:55:11]requested_data is exist [23:55:11]produce_requested_data [23:55:11]requested_item kkm.sn is exist - process it [23:55:11]requested_item kkm.ver is exist - process it [23:55:11]requested_item fm.sn is exist - process it [23:55:11]wFMCommunicate request_size=4 [23:55:11]MH_SAM_APDU [23:55:11]CAPDU: 80 11 00 00 [23:55:11]Write to MH i2c: E2 08 00 DB 2B 80 11 00 00 00 00 00 00 80 [23:55:11]Write i2c OK [23:55:11]MH_I2C_Read... [23:55:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:55:11]Read from MH i2c: E2 [23:55:11]MH_I2C_Read... [23:55:11]Read from MH i2c: E2 17 00 [23:55:11]MH_I2C_Read... [23:55:11]Read from MH i2c: E2 17 00 DB 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 D3 [23:55:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [23:55:11]wFMCommunicate OK [23:55:11]requested_item fd.num is exist - process it [23:55:11]SAM_PROTO_GetFieldsCounters [23:55:11]wFMCommunicate request_size=4 [23:55:11]MH_SAM_APDU [23:55:11]CAPDU: 80 13 00 00 [23:55:11]Write to MH i2c: E2 08 00 DC 2B 80 13 00 00 00 00 00 00 83 [23:55:11]Write i2c OK [23:55:11]MH_I2C_Read... [23:55:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:55:11]Read from MH i2c: E2 [23:55:11]MH_I2C_Read... [23:55:11]Read from MH i2c: E2 62 00 [23:55:11]MH_I2C_Read... [23:55:11]Read from MH i2c: E2 62 00 DC 2B 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 70 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 69 [23:55: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 70 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:55:11]wFMCommunicate OK [23:55:11]SAM_PROTO_GetFieldsCounters done [23:55:11]requested_item shift.num is exist - process it [23:55:11]requested_item shift.opened is exist - process it [23:55:11]req_shift_opened [23:55:11]FM_GetShiftState [23:55:11]SAM_PROTO_GetShiftState [23:55:11]wFMCommunicate request_size=4 [23:55:11]MH_SAM_APDU [23:55:11]CAPDU: 80 13 01 00 [23:55:11]Write to MH i2c: E2 08 00 DD 2B 80 13 01 00 00 00 00 00 85 [23:55:11]Write i2c OK [23:55:11]MH_I2C_Read... [23:55:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:55:11]Read from MH i2c: E2 [23:55:11]MH_I2C_Read... [23:55:11]Read from MH i2c: E2 0E 00 [23:55:11]MH_I2C_Read... [23:55:11]Read from MH i2c: E2 0E 00 DD 2B 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 DA [23:55:11]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [23:55:11]wFMCommunicate OK [23:55:11]SAM_PROTO_GetShiftState done [23:55:11]FM_GetShiftState done [23:55:11]req_shift_opened done [23:55:11]requested_item shift.open_date is exist - process it [23:55:11]req_shift_open_date [23:55:11]req_shift_open_date done [23:55:11]produce_requested_data done [23:55:11]produce_requested_data return {"kkm.sn":"0300000235","kkm.ver":"001","fm.sn":"0000000000965372","fd.num":37232,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [23:55:11]process_action_free get_value [23:55:11]json_value_free [23:55:11]json_value_free done [23:55:11]process_json_proto returns [23:55:11]Send response to host [23:55:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000235","kkm.ver":"001","fm.sn":"0000000000965372","fd.num":37232,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [23:55:11]free response buf [23:55:11]execute_script done [23:55:11]execute_script returns [23:55:11]free content buf [23:55:11]Sock 9.Close socket [23:55:11]Sock 9.Thread stoped [23:55:11]accept exits with 7 [23:55:11]New connection [23:55:11]New thread 3066555748 created [23:55:11]Thread 3066699108 joined [23:55:11]Waiting for new connection... [23:55:11] Sock 7.Parse request [23:55:11]Sock 7.Check first char [23:55:11]Sock 7.First char is OK [23:55:11]request: POST /json_proto HTTP/1.0 [23:55:11]Method: POST [23:55:11]URL: /json_proto [23:55:11]Method is POST - this is cgi request [23:55:11]url: /json_proto [23:55:11]query_string will be loaded in cgi processing [23:55:11]execute_cgi json_proto POST (null) [23:55:11]execute_cgi path=json_proto method=POST [23:55:11]POST find Content-Length [23:55:11]Host: 172.17.53.68:8080 [23:55:11]Content-Length: 331 [23:55:11]Content-Type: application/json [23:55:11] [23:55:11]POST finish read [23:55:11]Found Content-Length = 331 [23:55:11]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:55:11]execute_script... [23:55:11]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:55:11]POST & json_proto [23:55:11]process_json_proto [23:55:11]json parsed OK: [23:55:11]protocol is kg_v1.0 [23:55:11]action value=get_value [23:55:11]process_action get_value [23:55:11]cmd_get_value [23:55:11]process_action get_value done [23:55:11]requested_data is exist [23:55:11]produce_requested_data [23:55:11]requested_item fm.sale.total is exist - process it [23:55:11]SAM_PROTO_GetFMData [23:55:11]wFMCommunicate request_size=4 [23:55:11]MH_SAM_APDU [23:55:11]CAPDU: 80 13 03 00 [23:55:11]Write to MH i2c: E2 08 00 DE 2B 80 13 03 00 00 00 00 00 88 [23:55:11]Write i2c OK [23:55:11]MH_I2C_Read... [23:55:11]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:55:11]Read from MH i2c: E2 [23:55:11]MH_I2C_Read... [23:55:11]Read from MH i2c: E2 FD 00 [23:55:11]MH_I2C_Read... [23:55:11]Read from MH i2c: E2 FD 00 DE 2B 00 C4 04 85 04 C0 04 6E 04 04 00 D6 8D 00 00 69 04 A0 00 6F 04 04 00 8D 8C 00 00 B1 04 04 00 64 15 93 45 70 04 04 00 BC C7 DE 3D 72 04 04 00 A8 4D B4 07 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 31 EF 63 07 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 8D 9A 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 E1 [23:55:11]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 D6 8D 00 00 69 04 A0 00 6F 04 04 00 8D 8C 00 00 B1 04 04 00 64 15 93 45 70 04 04 00 BC C7 DE 3D 72 04 04 00 A8 4D B4 07 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 31 EF 63 07 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 8D 9A 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 [23:55:11]wFMCommunicate OK [23:55:11]wFMCommunicate request_size=4 [23:55:11]MH_SAM_APDU [23:55:11]CAPDU: 80 17 00 00 [23:55:11]Write to MH i2c: E2 08 00 DF 2B 80 17 00 00 00 00 00 00 8A [23:55:11]Write i2c OK [23:55:11]MH_I2C_Read... [23:55:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:12]Read from MH i2c: E2 [23:55:12]MH_I2C_Read... [23:55:12]Read from MH i2c: E2 FD 00 [23:55:12]MH_I2C_Read... [23:55:12]Read from MH i2c: E2 FD 00 DF 2B 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 A2 [23:55:12]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [23:55:12]wFMCommunicate OK [23:55:12]wFMCommunicate request_size=4 [23:55:12]MH_SAM_APDU [23:55:12]CAPDU: 80 17 00 00 [23:55:12]Write to MH i2c: E2 08 00 E0 2B 80 17 00 00 00 00 00 00 8B [23:55:12]Write i2c OK [23:55:12]MH_I2C_Read... [23:55:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:12]Read from MH i2c: E2 [23:55:12]MH_I2C_Read... [23:55:12]Read from MH i2c: E2 FD 00 [23:55:12]MH_I2C_Read... [23:55:12]Read from MH i2c: E2 FD 00 E0 2B 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 A0 [23:55:12]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [23:55:12]wFMCommunicate OK [23:55:12]wFMCommunicate request_size=4 [23:55:12]MH_SAM_APDU [23:55:12]CAPDU: 80 17 00 00 [23:55:12]Write to MH i2c: E2 08 00 E1 2B 80 17 00 00 00 00 00 00 8C [23:55:12]Write i2c OK [23:55:12]MH_I2C_Read... [23:55:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:12]Read from MH i2c: E2 [23:55:12]MH_I2C_Read... [23:55:12]Read from MH i2c: E2 FD 00 [23:55:12]MH_I2C_Read... [23:55:12]Read from MH i2c: E2 FD 00 E1 2B 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 04 [23:55:12]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [23:55:12]wFMCommunicate OK [23:55:12]wFMCommunicate request_size=4 [23:55:12]MH_SAM_APDU [23:55:12]CAPDU: 80 17 00 00 [23:55:12]Write to MH i2c: E2 08 00 E2 2B 80 17 00 00 00 00 00 00 8D [23:55:12]Write i2c OK [23:55:12]MH_I2C_Read... [23:55:12]Read from MH i2c: E2 [23:55:12]MH_I2C_Read... [23:55:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:55:12]Read from MH i2c: E2 E1 00 [23:55:12]MH_I2C_Read... [23:55:12]Read from MH i2c: E2 E1 00 E2 2B 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 7B [23:55:12]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:55:13]wFMCommunicate OK [23:55:13]SAM_PROTO_GetFMData done [23:55:13]requested_item fm.sale_refund.total is exist - process it [23:55:13]requested_item fm.buy.total is exist - process it [23:55:13]requested_item shift.sale.total is exist - process it [23:55:13]SAM_PROTO_GetShiftData [23:55:13]wFMCommunicate request_size=4 [23:55:13]MH_SAM_APDU [23:55:13]CAPDU: 80 13 02 00 [23:55:13]Write to MH i2c: E2 08 00 E3 2B 80 13 02 00 00 00 00 00 8C [23:55:13]Write i2c OK [23:55:13]MH_I2C_Read... [23:55:13]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:55:13]Read from MH i2c: E2 [23:55:13]MH_I2C_Read... [23:55:13]Read from MH i2c: E2 FD 00 [23:55:13]MH_I2C_Read... [23:55:13]Read from MH i2c: E2 FD 00 E3 2B 00 AE 04 AA 04 AA 04 6E 04 04 00 50 00 00 00 69 04 9B 00 6F 04 04 00 50 00 00 00 B1 04 03 00 2A 19 22 70 04 03 00 F8 E0 1C 72 04 03 00 32 38 05 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 19 9F 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 3B 4D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 F8 [23:55:13]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 50 00 00 00 69 04 9B 00 6F 04 04 00 50 00 00 00 B1 04 03 00 2A 19 22 70 04 03 00 F8 E0 1C 72 04 03 00 32 38 05 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 19 9F 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 3B 4D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:55:13]wFMCommunicate OK [23:55:13]wFMCommunicate request_size=4 [23:55:13]MH_SAM_APDU [23:55:13]CAPDU: 80 17 00 00 [23:55:13]Write to MH i2c: E2 08 00 E4 2B 80 17 00 00 00 00 00 00 8F [23:55:13]Write i2c OK [23:55:13]MH_I2C_Read... [23:55:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:13]Read from MH i2c: E2 [23:55:13]MH_I2C_Read... [23:55:13]Read from MH i2c: E2 FD 00 [23:55:13]MH_I2C_Read... [23:55:13]Read from MH i2c: E2 FD 00 E4 2B 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 B1 [23:55:13]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:55:13]wFMCommunicate OK [23:55:13]wFMCommunicate request_size=4 [23:55:13]MH_SAM_APDU [23:55:13]CAPDU: 80 17 00 00 [23:55:13]Write to MH i2c: E2 08 00 E5 2B 80 17 00 00 00 00 00 00 90 [23:55:13]Write i2c OK [23:55:13]MH_I2C_Read... [23:55:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:14]Read from MH i2c: E2 [23:55:14]MH_I2C_Read... [23:55:14]Read from MH i2c: E2 FD 00 [23:55:14]MH_I2C_Read... [23:55:14]Read from MH i2c: E2 FD 00 E5 2B 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 47 [23:55:14]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 [23:55:14]wFMCommunicate OK [23:55:14]wFMCommunicate request_size=4 [23:55:14]MH_SAM_APDU [23:55:14]CAPDU: 80 17 00 00 [23:55:14]Write to MH i2c: E2 08 00 E6 2B 80 17 00 00 00 00 00 00 91 [23:55:14]Write i2c OK [23:55:14]MH_I2C_Read... [23:55:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:14]Read from MH i2c: E2 [23:55:14]MH_I2C_Read... [23:55:14]Read from MH i2c: E2 FD 00 [23:55:14]MH_I2C_Read... [23:55:14]Read from MH i2c: E2 FD 00 E6 2B 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 03 [23:55:14]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 [23:55:14]wFMCommunicate OK [23:55:14]wFMCommunicate request_size=4 [23:55:14]MH_SAM_APDU [23:55:14]CAPDU: 80 17 00 00 [23:55:14]Write to MH i2c: E2 08 00 E7 2B 80 17 00 00 00 00 00 00 92 [23:55:14]Write i2c OK [23:55:14]MH_I2C_Read... [23:55:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:55:14]Read from MH i2c: E2 [23:55:14]MH_I2C_Read... [23:55:14]Read from MH i2c: E2 CB 00 [23:55:14]MH_I2C_Read... [23:55:14]Read from MH i2c: E2 CB 00 E7 2B 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 7B [23:55:14]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:55:14]wFMCommunicate OK [23:55:14]SAM_PROTO_GetShiftData done [23:55:14]requested_item shift.sale.total_cash is exist - process it [23:55:14]requested_item shift.sale_refund.total is exist - process it [23:55:14]requested_item shift.sale_refund.total_cash is exist - process it [23:55:14]requested_item shift.buy.total is exist - process it [23:55:14]requested_item shift.buy.total_cash is exist - process it [23:55:14]produce_requested_data done [23:55:14]produce_requested_data return {"fm.sale.total":11672671.72,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":22346.66,"shift.sale.total_cash":18926.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} [23:55:14]process_action_free get_value [23:55:14]json_value_free [23:55:14]json_value_free done [23:55:14]process_json_proto returns [23:55:14]Send response to host [23:55:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11672671.72,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":22346.66,"shift.sale.total_cash":18926.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}}} [23:55:15]free response buf [23:55:15]execute_script done [23:55:15]execute_script returns [23:55:15]free content buf [23:55:15]Sock 7.Close socket [23:55:15]Sock 7.Thread stoped [23:55:15]accept exits with 9 [23:55:15]New connection [23:55:15]New thread 3066699108 created [23:55:15]Thread 3066555748 joined [23:55:15]Waiting for new connection... [23:55:15] Sock 9.Parse request [23:55:15]Sock 9.Check first char [23:55:15]Sock 9.First char is OK [23:55:15]request: POST /json_proto HTTP/1.0 [23:55:15]Method: POST [23:55:15]URL: /json_proto [23:55:15]Method is POST - this is cgi request [23:55:15]url: /json_proto [23:55:15]query_string will be loaded in cgi processing [23:55:15]execute_cgi json_proto POST (null) [23:55:15]execute_cgi path=json_proto method=POST [23:55:15]POST find Content-Length [23:55:15]Host: 172.17.53.68:8080 [23:55:15]Content-Length: 331 [23:55:15]Content-Type: application/json [23:55:15] [23:55:15]POST finish read [23:55:15]Found Content-Length = 331 [23:55:15]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:55:15]execute_script... [23:55:15]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:55:15]POST & json_proto [23:55:15]process_json_proto [23:55:15]json parsed OK: [23:55:15]protocol is kg_v1.0 [23:55:15]action value=get_value [23:55:15]process_action get_value [23:55:15]cmd_get_value [23:55:15]process_action get_value done [23:55:15]requested_data is exist [23:55:15]produce_requested_data [23:55:15]requested_item fm.sale.total is exist - process it [23:55:15]SAM_PROTO_GetFMData [23:55:15]wFMCommunicate request_size=4 [23:55:15]MH_SAM_APDU [23:55:15]CAPDU: 80 13 03 00 [23:55:15]Write to MH i2c: E2 08 00 E8 2B 80 13 03 00 00 00 00 00 92 [23:55:15]Write i2c OK [23:55:15]MH_I2C_Read... [23:55:15]OFD Sender: No OFD packet to send [23:55:15]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:55:15]Read from MH i2c: E2 [23:55:15]MH_I2C_Read... [23:55:15]Read from MH i2c: E2 FD 00 [23:55:15]MH_I2C_Read... [23:55:15]Read from MH i2c: E2 FD 00 E8 2B 00 C4 04 85 04 C0 04 6E 04 04 00 D6 8D 00 00 69 04 A0 00 6F 04 04 00 8D 8C 00 00 B1 04 04 00 64 15 93 45 70 04 04 00 BC C7 DE 3D 72 04 04 00 A8 4D B4 07 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 31 EF 63 07 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 8D 9A 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 EB [23:55:15]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 D6 8D 00 00 69 04 A0 00 6F 04 04 00 8D 8C 00 00 B1 04 04 00 64 15 93 45 70 04 04 00 BC C7 DE 3D 72 04 04 00 A8 4D B4 07 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 31 EF 63 07 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 8D 9A 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 [23:55:15]wFMCommunicate OK [23:55:15]wFMCommunicate request_size=4 [23:55:15]MH_SAM_APDU [23:55:15]CAPDU: 80 17 00 00 [23:55:15]Write to MH i2c: E2 08 00 E9 2B 80 17 00 00 00 00 00 00 94 [23:55:15]Write i2c OK [23:55:15]MH_I2C_Read... [23:55:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:15]Read from MH i2c: E2 [23:55:15]MH_I2C_Read... [23:55:15]Read from MH i2c: E2 FD 00 [23:55:15]MH_I2C_Read... [23:55:15]Read from MH i2c: E2 FD 00 E9 2B 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 AC [23:55:16]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [23:55:16]wFMCommunicate OK [23:55:16]wFMCommunicate request_size=4 [23:55:16]MH_SAM_APDU [23:55:16]CAPDU: 80 17 00 00 [23:55:16]Write to MH i2c: E2 08 00 EA 2B 80 17 00 00 00 00 00 00 95 [23:55:16]Write i2c OK [23:55:16]MH_I2C_Read... [23:55:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:16]Read from MH i2c: E2 [23:55:16]MH_I2C_Read... [23:55:16]Read from MH i2c: E2 FD 00 [23:55:16]MH_I2C_Read... [23:55:16]Read from MH i2c: E2 FD 00 EA 2B 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 AA [23:55:16]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [23:55:16]wFMCommunicate OK [23:55:16]wFMCommunicate request_size=4 [23:55:16]MH_SAM_APDU [23:55:16]CAPDU: 80 17 00 00 [23:55:16]Write to MH i2c: E2 08 00 EB 2B 80 17 00 00 00 00 00 00 96 [23:55:16]Write i2c OK [23:55:16]MH_I2C_Read... [23:55:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:16]Read from MH i2c: E2 [23:55:16]MH_I2C_Read... [23:55:16]Read from MH i2c: E2 FD 00 [23:55:16]MH_I2C_Read... [23:55:16]Read from MH i2c: E2 FD 00 EB 2B 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 0E [23:55:16]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [23:55:17]wFMCommunicate OK [23:55:17]wFMCommunicate request_size=4 [23:55:17]MH_SAM_APDU [23:55:17]CAPDU: 80 17 00 00 [23:55:17]Write to MH i2c: E2 08 00 EC 2B 80 17 00 00 00 00 00 00 97 [23:55:17]Write i2c OK [23:55:17]MH_I2C_Read... [23:55:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:55:17]Read from MH i2c: E2 [23:55:17]MH_I2C_Read... [23:55:17]Read from MH i2c: E2 E1 00 [23:55:17]MH_I2C_Read... [23:55:17]Read from MH i2c: E2 E1 00 EC 2B 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [23:55:17]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:55:17]wFMCommunicate OK [23:55:17]SAM_PROTO_GetFMData done [23:55:17]requested_item fm.sale_refund.total is exist - process it [23:55:17]requested_item fm.buy.total is exist - process it [23:55:17]requested_item shift.sale.total is exist - process it [23:55:17]SAM_PROTO_GetShiftData [23:55:17]wFMCommunicate request_size=4 [23:55:17]MH_SAM_APDU [23:55:17]CAPDU: 80 13 02 00 [23:55:17]Write to MH i2c: E2 08 00 ED 2B 80 13 02 00 00 00 00 00 96 [23:55:17]Write i2c OK [23:55:17]MH_I2C_Read... [23:55:17]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:55:17]Read from MH i2c: E2 [23:55:17]MH_I2C_Read... [23:55:17]Read from MH i2c: E2 FD 00 [23:55:17]MH_I2C_Read... [23:55:17]Read from MH i2c: E2 FD 00 ED 2B 00 AE 04 AA 04 AA 04 6E 04 04 00 50 00 00 00 69 04 9B 00 6F 04 04 00 50 00 00 00 B1 04 03 00 2A 19 22 70 04 03 00 F8 E0 1C 72 04 03 00 32 38 05 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 19 9F 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 3B 4D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 02 [23:55:18]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 50 00 00 00 69 04 9B 00 6F 04 04 00 50 00 00 00 B1 04 03 00 2A 19 22 70 04 03 00 F8 E0 1C 72 04 03 00 32 38 05 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 19 9F 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 3B 4D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:55:18]wFMCommunicate OK [23:55:18]wFMCommunicate request_size=4 [23:55:18]MH_SAM_APDU [23:55:18]CAPDU: 80 17 00 00 [23:55:18]Write to MH i2c: E2 08 00 EE 2B 80 17 00 00 00 00 00 00 99 [23:55:18]Write i2c OK [23:55:18]MH_I2C_Read... [23:55:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:18]Read from MH i2c: E2 [23:55:18]MH_I2C_Read... [23:55:18]Read from MH i2c: E2 FD 00 [23:55:18]MH_I2C_Read... [23:55:18]Read from MH i2c: E2 FD 00 EE 2B 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 [23:55:18]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 [23:55:18]wFMCommunicate OK [23:55:18]wFMCommunicate request_size=4 [23:55:18]MH_SAM_APDU [23:55:18]CAPDU: 80 17 00 00 [23:55:18]Write to MH i2c: E2 08 00 EF 2B 80 17 00 00 00 00 00 00 9A [23:55:18]Write i2c OK [23:55:18]MH_I2C_Read... [23:55:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:18]Read from MH i2c: E2 [23:55:18]MH_I2C_Read... [23:55:18]Read from MH i2c: E2 FD 00 [23:55:18]MH_I2C_Read... [23:55:18]Read from MH i2c: E2 FD 00 EF 2B 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 [23:55:18]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:55:19]wFMCommunicate OK [23:55:19]wFMCommunicate request_size=4 [23:55:19]MH_SAM_APDU [23:55:19]CAPDU: 80 17 00 00 [23:55:19]Write to MH i2c: E2 08 00 F0 2B 80 17 00 00 00 00 00 00 9B [23:55:19]Write i2c OK [23:55:19]MH_I2C_Read... [23:55:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:19]Read from MH i2c: E2 [23:55:19]MH_I2C_Read... [23:55:19]Read from MH i2c: E2 FD 00 [23:55:19]MH_I2C_Read... [23:55:19]Read from MH i2c: E2 FD 00 F0 2B 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 [23:55:19]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 [23:55:19]wFMCommunicate OK [23:55:19]wFMCommunicate request_size=4 [23:55:19]MH_SAM_APDU [23:55:19]CAPDU: 80 17 00 00 [23:55:19]Write to MH i2c: E2 08 00 F1 2B 80 17 00 00 00 00 00 00 9C [23:55:19]Write i2c OK [23:55:19]MH_I2C_Read... [23:55:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:55:19]Read from MH i2c: E2 [23:55:19]MH_I2C_Read... [23:55:19]Read from MH i2c: E2 CB 00 [23:55:19]MH_I2C_Read... [23:55:19]Read from MH i2c: E2 CB 00 F1 2B 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 [23:55:19]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:55:19]wFMCommunicate OK [23:55:19]SAM_PROTO_GetShiftData done [23:55:19]requested_item shift.sale.total_cash is exist - process it [23:55:19]requested_item shift.sale_refund.total is exist - process it [23:55:19]requested_item shift.sale_refund.total_cash is exist - process it [23:55:19]requested_item shift.buy.total is exist - process it [23:55:19]requested_item shift.buy.total_cash is exist - process it [23:55:19]produce_requested_data done [23:55:19]produce_requested_data return {"fm.sale.total":11672671.72,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":22346.66,"shift.sale.total_cash":18926.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} [23:55:19]process_action_free get_value [23:55:19]json_value_free [23:55:19]json_value_free done [23:55:19]process_json_proto returns [23:55:19]Send response to host [23:55:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11672671.72,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":22346.66,"shift.sale.total_cash":18926.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}}} [23:55:19]free response buf [23:55:19]execute_script done [23:55:19]execute_script returns [23:55:19]free content buf [23:55:19]Sock 9.Close socket [23:55:19]Sock 9.Thread stoped [23:55:20]accept exits with 7 [23:55:20]New connection [23:55:20]New thread 3066555748 created [23:55:20]Thread 3066699108 joined [23:55:20]Waiting for new connection... [23:55:20] Sock 7.Parse request [23:55:20]Sock 7.Check first char [23:55:20]Sock 7.First char is OK [23:55:20]request: POST /json_proto HTTP/1.0 [23:55:20]Method: POST [23:55:20]URL: /json_proto [23:55:20]Method is POST - this is cgi request [23:55:20]url: /json_proto [23:55:20]query_string will be loaded in cgi processing [23:55:20]execute_cgi json_proto POST (null) [23:55:20]execute_cgi path=json_proto method=POST [23:55:20]POST find Content-Length [23:55:20]Host: 172.17.53.68:8080 [23:55:20]Content-Length: 266 [23:55:20]Content-Type: application/json [23:55:20] [23:55:20]POST finish read [23:55:20]Found Content-Length = 266 [23:55:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0421\u0430\u043C\u0430\u0433\u0430\u043D\u043E\u0432 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:55:20]execute_script... [23:55:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0421\u0430\u043C\u0430\u0433\u0430\u043D\u043E\u0432 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:55:20]POST & json_proto [23:55:20]process_json_proto [23:55:20]json parsed OK: [23:55:20]protocol is kg_v1.0 [23:55:20]action value=close_shift [23:55:20]process_action close_shift [23:55:20]cmd_close_shift [23:55:20]MH_GetDate [23:55:20]Write to MH i2c: F0 00 00 F2 2B 0C [23:55:20]Write i2c OK [23:55:20]MH_I2C_Read... [23:55:20]Read from MH i2c: F0 [23:55:20]MH_I2C_Read... [23:55:20]Read from MH i2c: F0 09 00 [23:55:20]MH_I2C_Read... [23:55:20]Read from MH i2c: F0 09 00 F2 2B 00 72 98 15 67 C5 A4 76 66 E0 [23:55:20]GetLastDocTimeStamp 1729468479 [23:55:20]current date 1729468530 [23:55:20]FM_GetShiftState [23:55:20]SAM_PROTO_GetShiftState [23:55:20]wFMCommunicate request_size=4 [23:55:20]MH_SAM_APDU [23:55:20]CAPDU: 80 13 01 00 [23:55:20]Write to MH i2c: E2 08 00 F3 2B 80 13 01 00 00 00 00 00 9B [23:55:20]Write i2c OK [23:55:20]MH_I2C_Read... [23:55:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:55:20]Read from MH i2c: E2 [23:55:20]MH_I2C_Read... [23:55:20]Read from MH i2c: E2 0E 00 [23:55:20]MH_I2C_Read... [23:55:20]Read from MH i2c: E2 0E 00 F3 2B 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 F0 [23:55:20]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [23:55:20]wFMCommunicate OK [23:55:20]SAM_PROTO_GetShiftState done [23:55:20]FM_GetShiftState done [23:55:20]KKMCreateCloseShiftDocument [23:55:20]Load OK [23:55:20]Malloc new data [23:55:20]MH_GetDate [23:55:20]Write to MH i2c: F0 00 00 F4 2B 0E [23:55:20]Write i2c OK [23:55:20]MH_I2C_Read... [23:55:20]Read from MH i2c: F0 [23:55:20]MH_I2C_Read... [23:55:20]Read from MH i2c: F0 09 00 [23:55:20]MH_I2C_Read... [23:55:20]Read from MH i2c: F0 09 00 F4 2B 00 72 98 15 67 C5 A4 76 66 E2 [23:55:20]Malloc new data [23:55:20]Malloc new data [23:55:20]Malloc new data [23:55:20]Malloc new data [23:55:20]KKMCreateCloseShiftDocument OK [23:55:20]KKMSetCloseShiftData OK [23:55:20]ProcessDocumentItem done err = 0, tmpTLVsize=73 [23:55:20]tlvbuf is 00B12690 [23:55:20]KKMLoadAndSignCloseShiftData [23:55:20]SAM_PROTO_ProcessDocument [23:55:20]wFMCommunicate request_size=9 [23:55:20]MH_SAM_APDU [23:55:20]CAPDU: 80 15 01 00 04 05 00 49 00 [23:55:20]Write to MH i2c: E2 0C 00 F5 2B 80 15 01 00 04 00 05 00 49 00 00 00 F5 [23:55:20]Write i2c OK [23:55:20]MH_I2C_Read... [23:55:20]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [23:55:20]Read from MH i2c: E2 [23:55:20]MH_I2C_Read... [23:55:20]Read from MH i2c: E2 03 00 [23:55:20]MH_I2C_Read... [23:55:20]Read from MH i2c: E2 03 00 F5 2B 00 90 00 94 [23:55:20]RAPDU: 90 00 [23:55:20]wFMCommunicate OK [23:55:20]wFMCommunicate request_size=23 [23:55:20]MH_SAM_APDU [23:55:20]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [23:55:20]Write to MH i2c: E2 1A 00 F6 2B 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 96 [23:55:20]Write i2c OK [23:55:20]MH_I2C_Read... [23:55:20]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:55:20]Read from MH i2c: E2 [23:55:20]MH_I2C_Read... [23:55:20]Read from MH i2c: E2 03 00 [23:55:20]MH_I2C_Read... [23:55:20]Read from MH i2c: E2 03 00 F6 2B 00 90 00 95 [23:55:20]RAPDU: 90 00 [23:55:20]wFMCommunicate OK [23:55:20]wFMCommunicate request_size=32 [23:55:20]MH_SAM_APDU [23:55:20]CAPDU: 80 15 02 00 1B FD 03 17 00 D0 A1 D0 B0 D0 BC D0 B0 D0 B3 D0 B0 D0 BD D0 BE D0 B2 20 D0 90 2E 20 [23:55:20]Write to MH i2c: E2 23 00 F7 2B 80 15 02 00 1B 00 FD 03 17 00 D0 A1 D0 B0 D0 BC D0 B0 D0 B3 D0 B0 D0 BD D0 BE D0 B2 20 D0 90 2E 20 00 00 5A [23:55:20]Write i2c OK [23:55:20]MH_I2C_Read... [23:55:20]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:55:20]Read from MH i2c: E2 [23:55:20]MH_I2C_Read... [23:55:20]Read from MH i2c: E2 03 00 [23:55:20]MH_I2C_Read... [23:55:20]Read from MH i2c: E2 03 00 F7 2B 00 90 00 96 [23:55:20]RAPDU: 90 00 [23:55:20]wFMCommunicate OK [23:55:20]wFMCommunicate request_size=13 [23:55:20]MH_SAM_APDU [23:55:20]CAPDU: 80 15 02 00 08 F4 03 04 00 72 98 15 67 [23:55:20]Write to MH i2c: E2 10 00 F8 2B 80 15 02 00 08 00 F4 03 04 00 72 98 15 67 00 00 34 [23:55:20]Write i2c OK [23:55:20]MH_I2C_Read... [23:55:20]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:55:20]Read from MH i2c: E2 [23:55:20]MH_I2C_Read... [23:55:20]Read from MH i2c: E2 03 00 [23:55:20]MH_I2C_Read... [23:55:20]Read from MH i2c: E2 03 00 F8 2B 00 90 00 97 [23:55:20]RAPDU: 90 00 [23:55:20]wFMCommunicate OK [23:55:20]wFMCommunicate request_size=25 [23:55:20]MH_SAM_APDU [23:55:20]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 [23:55:20]Write to MH i2c: E2 1C 00 F9 2B 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 00 00 0C [23:55:20]OFD Sender: No OFD packet to send [23:55:20]Write i2c OK [23:55:20]MH_I2C_Read... [23:55:20]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:55:20]Read from MH i2c: E2 [23:55:20]MH_I2C_Read... [23:55:20]Read from MH i2c: E2 03 00 [23:55:20]MH_I2C_Read... [23:55:20]Read from MH i2c: E2 03 00 F9 2B 00 90 00 98 [23:55:20]RAPDU: 90 00 [23:55:20]wFMCommunicate OK [23:55:20]wFMCommunicate request_size=4 [23:55:20]MH_SAM_APDU [23:55:20]CAPDU: 80 15 03 00 [23:55:20]Write to MH i2c: E2 08 00 FA 2B 80 15 03 00 00 00 00 00 A6 [23:55:20]Write i2c OK [23:55:20]MH_I2C_Read... [23:55:21]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [23:55:21]Read from MH i2c: E2 [23:55:21]MH_I2C_Read... [23:55:21]Read from MH i2c: E2 FD 00 [23:55:21]MH_I2C_Read... [23:55:21]Read from MH i2c: E2 FD 00 FA 2B 00 F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 71 91 00 00 0E 04 04 00 CD 01 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 52 00 00 00 AA 04 AA 04 6E 04 04 00 50 00 00 00 69 04 9B 00 6F 04 04 00 50 00 00 00 B1 04 03 00 2A 19 22 70 04 03 00 F8 E0 1C 72 04 03 00 32 38 05 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 19 9F 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 3B 4D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 23 [23:55:21]RAPDU: F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 71 91 00 00 0E 04 04 00 CD 01 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 52 00 00 00 AA 04 AA 04 6E 04 04 00 50 00 00 00 69 04 9B 00 6F 04 04 00 50 00 00 00 B1 04 03 00 2A 19 22 70 04 03 00 F8 E0 1C 72 04 03 00 32 38 05 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 19 9F 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 3B 4D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [23:55:21]wFMCommunicate OK [23:55:21]SAM_PROTO_ProcessDocument answer len = 1265 [23:55:21]SAM_PROTO_ProcessDocument remain to read = 1017 [23:55:21]wFMCommunicate request_size=4 [23:55:21]MH_SAM_APDU [23:55:21]CAPDU: 80 17 00 00 [23:55:21]Write to MH i2c: E2 08 00 FB 2B 80 17 00 00 00 00 00 00 A6 [23:55:21]Write i2c OK [23:55:21]MH_I2C_Read... [23:55:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:21]Read from MH i2c: E2 [23:55:21]MH_I2C_Read... [23:55:21]Read from MH i2c: E2 FD 00 [23:55:21]MH_I2C_Read... [23:55:21]Read from MH i2c: E2 FD 00 FB 2B 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 EF [23:55:21]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 [23:55:21]wFMCommunicate OK [23:55:21]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:55:21]SAM_PROTO_ProcessDocument remain to read = 767 [23:55:21]wFMCommunicate request_size=4 [23:55:21]MH_SAM_APDU [23:55:21]CAPDU: 80 17 00 00 [23:55:21]Write to MH i2c: E2 08 00 FC 2B 80 17 00 00 00 00 00 00 A7 [23:55:21]Write i2c OK [23:55:22]MH_I2C_Read... [23:55:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:22]Read from MH i2c: E2 [23:55:22]MH_I2C_Read... [23:55:22]Read from MH i2c: E2 FD 00 [23:55:22]MH_I2C_Read... [23:55:22]Read from MH i2c: E2 FD 00 FC 2B 00 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 09 [23:55:22]RAPDU: 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [23:55:22]wFMCommunicate OK [23:55:22]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:55:22]SAM_PROTO_ProcessDocument remain to read = 517 [23:55:22]wFMCommunicate request_size=4 [23:55:22]MH_SAM_APDU [23:55:22]CAPDU: 80 17 00 00 [23:55:22]Write to MH i2c: E2 08 00 FD 2B 80 17 00 00 00 00 00 00 A8 [23:55:22]Write i2c OK [23:55:22]MH_I2C_Read... [23:55:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:22]Read from MH i2c: E2 [23:55:22]MH_I2C_Read... [23:55:22]Read from MH i2c: E2 FD 00 [23:55:22]MH_I2C_Read... [23:55:22]Read from MH i2c: E2 FD 00 FD 2B 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 32 [23:55:22]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 [23:55:23]wFMCommunicate OK [23:55:23]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:55:23]SAM_PROTO_ProcessDocument remain to read = 267 [23:55:23]wFMCommunicate request_size=4 [23:55:23]MH_SAM_APDU [23:55:23]CAPDU: 80 17 00 00 [23:55:23]Write to MH i2c: E2 08 00 FE 2B 80 17 00 00 00 00 00 00 A9 [23:55:23]Write i2c OK [23:55:23]MH_I2C_Read... [23:55:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:23]Read from MH i2c: E2 [23:55:23]MH_I2C_Read... [23:55:23]Read from MH i2c: E2 FD 00 [23:55:23]MH_I2C_Read... [23:55:23]Read from MH i2c: E2 FD 00 FE 2B 00 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 71 [23:55:23]RAPDU: 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 [23:55:23]wFMCommunicate OK [23:55:23]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:55:23]SAM_PROTO_ProcessDocument remain to read = 17 [23:55:23]wFMCommunicate request_size=4 [23:55:23]MH_SAM_APDU [23:55:23]CAPDU: 80 17 00 00 [23:55:23]Write to MH i2c: E2 08 00 FF 2B 80 17 00 00 00 00 00 00 AA [23:55:23]Write i2c OK [23:55:23]MH_I2C_Read... [23:55:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 17! [23:55:23]Read from MH i2c: E2 [23:55:23]MH_I2C_Read... [23:55:23]Read from MH i2c: E2 14 00 [23:55:23]MH_I2C_Read... [23:55:23]Read from MH i2c: E2 14 00 FF 2B 00 01 00 06 F7 03 00 00 35 04 06 00 EA 14 85 0C DC 1F 90 00 79 [23:55:23]RAPDU: 01 00 06 F7 03 00 00 35 04 06 00 EA 14 85 0C DC 1F 90 00 [23:55:23]wFMCommunicate OK [23:55:23]SAM_PROTO_ProcessDocument received (without SW) 17 bytes [23:55:23]SAM_PROTO_ProcessDocument done [23:55:23]1209 (1) - 1.0 - номер верÑии ФФД [23:55:23]1041 (16) - 0000000000965372 - номер ФМ [23:55:23]1040 (4) - 37233 - номер ФД [23:55:23]1038 (4) - 461 - номер Ñмены [23:55:23]1118 (4) - 80 - количеÑтво каÑÑовых чеков за Ñмену [23:55:23]1111 (4) - 82 - общее количеÑтво ФД за Ñмену [23:55:23]1194 (1194) - Ñчетчики итогов Ñмены [23:55:23] 1134 (4) - 80 - количеÑтво чеков Ñо вÑеми признаками раÑчетов [23:55:23] 1129 (155) - Ñчетчики операций «приход» [23:55:23] 1135 (4) - 80 - количеÑтво чеков по признаку раÑчетов [23:55:23] 1201 (3) - 22346.66 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [23:55:23] 1136 (3) - 18926.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [23:55:23] 1138 (3) - 3420.66 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [23:55:23] 1024 (122) - Ñуммы налогов [23:55:23] 1006 (9) - Ñуммы ÐДС [23:55:23] 1010 (1) - 0% - код Ñтавки ÐДС [23:55:23] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [23:55:23] 1006 (12) - Ñуммы ÐДС [23:55:23] 1010 (1) - 12% - код Ñтавки ÐДС [23:55:23] 1011 (3) - 2373.37 - Ñумма ÐДС по Ñтавке [23:55:23] 1007 (9) - Ñуммы ÐСП [23:55:23] 1014 (1) - 0% - код Ñтавки ÐСП [23:55:23] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:55:23] 1007 (11) - Ñуммы ÐСП [23:55:23] 1014 (1) - 1% - код Ñтавки ÐСП [23:55:23] 1015 (2) - 197.71 - Ñумма ÐСП по Ñтавке [23:55:23] 1007 (9) - Ñуммы ÐСП [23:55:23] 1014 (1) - 2% - код Ñтавки ÐСП [23:55:23] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:55:23] 1007 (9) - Ñуммы ÐСП [23:55:23] 1014 (1) - 3% - код Ñтавки ÐСП [23:55:23] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:55:23] 1007 (9) - Ñуммы ÐСП [23:55:23] 1014 (1) - 5% - код Ñтавки ÐСП [23:55:23] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:55:23] 1007 (9) - Ñуммы ÐСП [23:55:23] 1014 (1) - 0,50% - код Ñтавки ÐСП [23:55:23] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:55:23] 1007 (9) - Ñуммы ÐСП [23:55:23] 1014 (1) - 1,50% - код Ñтавки ÐСП [23:55:23] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:55:23] 1130 (141) - Ñчетчики операций «возврат прихода» [23:55:23] 1135 (4) - 0 - количеÑтво чеков по признаку раÑчетов [23:55:23] 1201 (0) - 0.00 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [23:55:23] 1136 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [23:55:23] 1138 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [23:55:23] 1024 (117) - Ñуммы налогов [23:55:23] 1006 (9) - Ñуммы ÐДС [23:55:23] 1010 (1) - 0% - код Ñтавки ÐДС [23:55:23] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [23:55:23] 1006 (9) - Ñуммы ÐДС [23:55:23] 1010 (1) - 12% - код Ñтавки ÐДС [23:55:23] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [23:55:23] 1007 (9) - Ñуммы ÐСП [23:55:23] 1014 (1) - 0% - код Ñтавки ÐСП [23:55:23] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:55:23] 1007 (9) - Ñуммы ÐСП [23:55:23] 1014 (1) - 1% - код Ñтавки ÐСП [23:55:23] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:55:23] 1007 (9) - Ñуммы ÐСП [23:55:23] 1014 (1) - 2% - код Ñтавки ÐСП [23:55:23] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:55:23] 1007 (9) - Ñуммы ÐСП [23:55:23] 1014 (1) - 3% - код Ñтавки ÐСП [23:55:23] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:55:23] 1007 (9) - Ñуммы ÐСП [23:55:23] 1014 (1) - 5% - код Ñтавки ÐСП [23:55:23] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:55:23] 1007 (9) - Ñуммы ÐСП [23:55:23] 1014 (1) - 0,50% - код Ñтавки ÐСП [23:55:23] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:55:23] 1007 (9) - Ñуммы ÐСП [23:55:23] 1014 (1) - 1,50% - код Ñтавки ÐСП [23:55:23] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:55:23] 1131 (141) - Ñчетчики операций «раÑход» [23:55:23] 1135 (4) - 0 - количеÑтво чеков по признаку раÑчетов [23:55:23] 1201 (0) - 0.00 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [23:55:23] 1136 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [23:55:23] 1138 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [23:55:23] 1024 (117) - Ñуммы налогов [23:55:23] 1006 (9) - Ñуммы ÐДС [23:55:23] 1010 (1) - 0% - код Ñтавки ÐДС [23:55:23] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [23:55:23] 1006 (9) - Ñуммы ÐДС [23:55:23] 1010 (1) - 12% - код Ñтавки ÐДС [23:55:23] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [23:55:23] 1007 (9) - Ñуммы ÐСП [23:55:23] 1014 (1) - 0% - код Ñтавки ÐСП [23:55:23] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:55:23] 1007 (9) - Ñуммы ÐСП [23:55:23] 1014 (1) - 1% - код Ñтавки ÐСП [23:55:23] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:55:23] 1007 (9) - Ñуммы ÐСП [23:55:23] 1014 (1) - 2% - код Ñтавки ÐСП [23:55:23] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:55:23] 1007 (9) - Ñуммы ÐСП [23:55:23] 1014 (1) - 3% - код Ñтавки ÐСП [23:55:23] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:55:23] 1007 (9) - Ñуммы ÐСП [23:55:23] 1014 (1) - 5% - код Ñтавки ÐСП [23:55:23] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:55:23] 1007 (9) - Ñуммы ÐСП [23:55:23] 1014 (1) - 0,50% - код Ñтавки ÐСП [23:55:23] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:55:23] 1007 (9) - Ñуммы ÐСП [23:55:23] 1014 (1) - 1,50% - код Ñтавки ÐСП [23:55:24] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:55:24] 1132 (141) - Ñчетчики операций «возврат раÑхода» [23:55:24] 1135 (4) - 0 - количеÑтво чеков по признаку раÑчетов [23:55:24] 1201 (0) - 0.00 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [23:55:24] 1136 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [23:55:24] 1138 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [23:55:24] 1024 (117) - Ñуммы налогов [23:55:24] 1006 (9) - Ñуммы ÐДС [23:55:24] 1010 (1) - 0% - код Ñтавки ÐДС [23:55:24] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [23:55:24] 1006 (9) - Ñуммы ÐДС [23:55:24] 1010 (1) - 12% - код Ñтавки ÐДС [23:55:24] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [23:55:24] 1007 (9) - Ñуммы ÐСП [23:55:24] 1014 (1) - 0% - код Ñтавки ÐСП [23:55:24] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:55:24] 1007 (9) - Ñуммы ÐСП [23:55:24] 1014 (1) - 1% - код Ñтавки ÐСП [23:55:24] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:55:24] 1007 (9) - Ñуммы ÐСП [23:55:24] 1014 (1) - 2% - код Ñтавки ÐСП [23:55:24] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:55:24] 1007 (9) - Ñуммы ÐСП [23:55:24] 1014 (1) - 3% - код Ñтавки ÐСП [23:55:24] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:55:24] 1007 (9) - Ñуммы ÐСП [23:55:24] 1014 (1) - 5% - код Ñтавки ÐСП [23:55:24] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:55:24] 1007 (9) - Ñуммы ÐСП [23:55:24] 1014 (1) - 0,50% - код Ñтавки ÐСП [23:55:24] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:55:24] 1007 (9) - Ñуммы ÐСП [23:55:24] 1014 (1) - 1,50% - код Ñтавки ÐСП [23:55:24] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:55:24] 1133 (588) - - Ñчетчики коррекции - не иÑпользуютÑÑ [23:55:24]1077 (6) - 257373852458015 - ФПД [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1209 (04B9) [23:55:24]Malloc new data [23:55:24]Processing tag 1041 (0411) [23:55:24]Processing tag 1040 (0410) [23:55:24]Malloc new data [23:55:24]Processing tag 1038 (040E) [23:55:24]Malloc new data [23:55:24]Processing tag 1118 (045E) [23:55:24]Malloc new data [23:55:24]Processing tag 1111 (0457) [23:55:24]Malloc new data [23:55:24]Processing tag 1194 (04AA) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1134 (046E) [23:55:24]Malloc new data [23:55:24]Processing tag 1129 (0469) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1135 (046F) [23:55:24]Malloc new data [23:55:24]Processing tag 1201 (04B1) [23:55:24]Malloc new data [23:55:24]Processing tag 1136 (0470) [23:55:24]Malloc new data [23:55:24]Processing tag 1138 (0472) [23:55:24]Malloc new data [23:55:24]Processing tag 1024 (0400) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1006 (03EE) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1010 (03F2) [23:55:24]Malloc new data [23:55:24]Processing tag 1011 (03F3) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:24]Processing tag 1006 (03EE) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1010 (03F2) [23:55:24]Malloc new data [23:55:24]Processing tag 1011 (03F3) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:24]Processing tag 1007 (03EF) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1014 (03F6) [23:55:24]Malloc new data [23:55:24]Processing tag 1015 (03F7) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:24]Processing tag 1007 (03EF) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1014 (03F6) [23:55:24]Malloc new data [23:55:24]Processing tag 1015 (03F7) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:24]Processing tag 1007 (03EF) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1014 (03F6) [23:55:24]Malloc new data [23:55:24]Processing tag 1015 (03F7) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:24]Processing tag 1007 (03EF) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1014 (03F6) [23:55:24]Malloc new data [23:55:24]Processing tag 1015 (03F7) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:24]Processing tag 1007 (03EF) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1014 (03F6) [23:55:24]Malloc new data [23:55:24]Processing tag 1015 (03F7) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:24]Processing tag 1007 (03EF) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1014 (03F6) [23:55:24]Malloc new data [23:55:24]Processing tag 1015 (03F7) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:24]Processing tag 1007 (03EF) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1014 (03F6) [23:55:24]Malloc new data [23:55:24]Processing tag 1015 (03F7) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:24]SetTLVBufToDocument err=0 [23:55:24]SetTLVBufToDocument err=0 [23:55:24]Processing tag 1130 (046A) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1135 (046F) [23:55:24]Malloc new data [23:55:24]Processing tag 1201 (04B1) [23:55:24]Malloc new data [23:55:24]Processing tag 1136 (0470) [23:55:24]Malloc new data [23:55:24]Processing tag 1138 (0472) [23:55:24]Malloc new data [23:55:24]Processing tag 1024 (0400) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1006 (03EE) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1010 (03F2) [23:55:24]Malloc new data [23:55:24]Processing tag 1011 (03F3) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:24]Processing tag 1006 (03EE) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1010 (03F2) [23:55:24]Malloc new data [23:55:24]Processing tag 1011 (03F3) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:24]Processing tag 1007 (03EF) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1014 (03F6) [23:55:24]Malloc new data [23:55:24]Processing tag 1015 (03F7) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:24]Processing tag 1007 (03EF) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1014 (03F6) [23:55:24]Malloc new data [23:55:24]Processing tag 1015 (03F7) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:24]Processing tag 1007 (03EF) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1014 (03F6) [23:55:24]Malloc new data [23:55:24]Processing tag 1015 (03F7) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:24]Processing tag 1007 (03EF) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1014 (03F6) [23:55:24]Malloc new data [23:55:24]Processing tag 1015 (03F7) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:24]Processing tag 1007 (03EF) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1014 (03F6) [23:55:24]Malloc new data [23:55:24]Processing tag 1015 (03F7) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:24]Processing tag 1007 (03EF) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1014 (03F6) [23:55:24]Malloc new data [23:55:24]Processing tag 1015 (03F7) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:24]Processing tag 1007 (03EF) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1014 (03F6) [23:55:24]Malloc new data [23:55:24]Processing tag 1015 (03F7) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:24]SetTLVBufToDocument err=0 [23:55:24]SetTLVBufToDocument err=0 [23:55:24]Processing tag 1131 (046B) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1135 (046F) [23:55:24]Malloc new data [23:55:24]Processing tag 1201 (04B1) [23:55:24]Malloc new data [23:55:24]Processing tag 1136 (0470) [23:55:24]Malloc new data [23:55:24]Processing tag 1138 (0472) [23:55:24]Malloc new data [23:55:24]Processing tag 1024 (0400) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1006 (03EE) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1010 (03F2) [23:55:24]Malloc new data [23:55:24]Processing tag 1011 (03F3) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:24]Processing tag 1006 (03EE) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1010 (03F2) [23:55:24]Malloc new data [23:55:24]Processing tag 1011 (03F3) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:24]Processing tag 1007 (03EF) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1014 (03F6) [23:55:24]Malloc new data [23:55:24]Processing tag 1015 (03F7) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:24]Processing tag 1007 (03EF) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1014 (03F6) [23:55:24]Malloc new data [23:55:24]Processing tag 1015 (03F7) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:24]Processing tag 1007 (03EF) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1014 (03F6) [23:55:24]Malloc new data [23:55:24]Processing tag 1015 (03F7) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:24]Processing tag 1007 (03EF) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1014 (03F6) [23:55:24]Malloc new data [23:55:24]Processing tag 1015 (03F7) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:24]Processing tag 1007 (03EF) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1014 (03F6) [23:55:24]Malloc new data [23:55:24]Processing tag 1015 (03F7) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:24]Processing tag 1007 (03EF) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1014 (03F6) [23:55:24]Malloc new data [23:55:24]Processing tag 1015 (03F7) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:24]Processing tag 1007 (03EF) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1014 (03F6) [23:55:24]Malloc new data [23:55:24]Processing tag 1015 (03F7) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:24]SetTLVBufToDocument err=0 [23:55:24]SetTLVBufToDocument err=0 [23:55:24]Processing tag 1132 (046C) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1135 (046F) [23:55:24]Malloc new data [23:55:24]Processing tag 1201 (04B1) [23:55:24]Malloc new data [23:55:24]Processing tag 1136 (0470) [23:55:24]Malloc new data [23:55:24]Processing tag 1138 (0472) [23:55:24]Malloc new data [23:55:24]Processing tag 1024 (0400) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1006 (03EE) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1010 (03F2) [23:55:24]Malloc new data [23:55:24]Processing tag 1011 (03F3) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:24]Processing tag 1006 (03EE) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1010 (03F2) [23:55:24]Malloc new data [23:55:24]Processing tag 1011 (03F3) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:24]Processing tag 1007 (03EF) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1014 (03F6) [23:55:24]Malloc new data [23:55:24]Processing tag 1015 (03F7) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:24]Processing tag 1007 (03EF) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1014 (03F6) [23:55:24]Malloc new data [23:55:24]Processing tag 1015 (03F7) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:24]Processing tag 1007 (03EF) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1014 (03F6) [23:55:24]Malloc new data [23:55:24]Processing tag 1015 (03F7) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:24]Processing tag 1007 (03EF) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1014 (03F6) [23:55:24]Malloc new data [23:55:24]Processing tag 1015 (03F7) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:24]Processing tag 1007 (03EF) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1014 (03F6) [23:55:24]Malloc new data [23:55:24]Processing tag 1015 (03F7) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:24]Processing tag 1007 (03EF) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1014 (03F6) [23:55:24]Malloc new data [23:55:24]Processing tag 1015 (03F7) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:24]Processing tag 1007 (03EF) [23:55:24]Load OK [23:55:24]SetTLVBufToDocument [23:55:24]Processing tag 1014 (03F6) [23:55:24]Malloc new data [23:55:24]Processing tag 1015 (03F7) [23:55:24]Malloc new data [23:55:24]SetTLVBufToDocument err=0 [23:55:25]SetTLVBufToDocument err=0 [23:55:25]SetTLVBufToDocument err=0 [23:55:25]Processing tag 1133 (046D) [23:55:25]Malloc new data [23:55:25]SetTLVBufToDocument err=0 [23:55:25]Processing tag 1077 (0435) [23:55:25]Malloc new data [23:55:25]SetTLVBufToDocument err=0 [23:55:25]Malloc new data [23:55:25]SAM_PROTO_GetFMData [23:55:25]wFMCommunicate request_size=4 [23:55:25]MH_SAM_APDU [23:55:25]CAPDU: 80 13 03 00 [23:55:25]Write to MH i2c: E2 08 00 00 2C 80 13 03 00 00 00 00 00 AB [23:55:25]Write i2c OK [23:55:25]MH_I2C_Read... [23:55:25]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:55:25]Read from MH i2c: E2 [23:55:25]MH_I2C_Read... [23:55:25]Read from MH i2c: E2 FD 00 [23:55:25]MH_I2C_Read... [23:55:25]Read from MH i2c: E2 FD 00 00 2C 00 C4 04 85 04 C0 04 6E 04 04 00 D6 8D 00 00 69 04 A0 00 6F 04 04 00 8D 8C 00 00 B1 04 04 00 64 15 93 45 70 04 04 00 BC C7 DE 3D 72 04 04 00 A8 4D B4 07 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 31 EF 63 07 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 8D 9A 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 04 [23:55:25]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 D6 8D 00 00 69 04 A0 00 6F 04 04 00 8D 8C 00 00 OFD Sender: No OFD packet to send [23:55:25]B1 04 04 00 64 15 93 45 70 04 04 00 BC C7 DE 3D 72 04 04 00 A8 4D B4 07 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 31 EF 63 07 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 8D 9A 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 [23:55:25]wFMCommunicate OK [23:55:25]wFMCommunicate request_size=4 [23:55:25]MH_SAM_APDU [23:55:25]CAPDU: 80 17 00 00 [23:55:25]Write to MH i2c: E2 08 00 01 2C 80 17 00 00 00 00 00 00 AD [23:55:25]Write i2c OK [23:55:25]MH_I2C_Read... [23:55:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:26]Read from MH i2c: E2 [23:55:26]MH_I2C_Read... [23:55:26]Read from MH i2c: E2 FD 00 [23:55:26]MH_I2C_Read... [23:55:26]Read from MH i2c: E2 FD 00 01 2C 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 C5 [23:55:26]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [23:55:26]wFMCommunicate OK [23:55:26]wFMCommunicate request_size=4 [23:55:26]MH_SAM_APDU [23:55:26]CAPDU: 80 17 00 00 [23:55:26]Write to MH i2c: E2 08 00 02 2C 80 17 00 00 00 00 00 00 AE [23:55:26]Write i2c OK [23:55:26]MH_I2C_Read... [23:55:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:26]Read from MH i2c: E2 [23:55:26]MH_I2C_Read... [23:55:26]Read from MH i2c: E2 FD 00 [23:55:26]MH_I2C_Read... [23:55:26]Read from MH i2c: E2 FD 00 02 2C 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 C3 [23:55:26]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [23:55:27]wFMCommunicate OK [23:55:27]wFMCommunicate request_size=4 [23:55:27]MH_SAM_APDU [23:55:27]CAPDU: 80 17 00 00 [23:55:27]Write to MH i2c: E2 08 00 03 2C 80 17 00 00 00 00 00 00 AF [23:55:27]Write i2c OK [23:55:27]MH_I2C_Read... [23:55:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:27]Read from MH i2c: E2 [23:55:27]MH_I2C_Read... [23:55:27]Read from MH i2c: E2 FD 00 [23:55:27]MH_I2C_Read... [23:55:27]Read from MH i2c: E2 FD 00 03 2C 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 27 [23:55:27]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [23:55:27]wFMCommunicate OK [23:55:27]wFMCommunicate request_size=4 [23:55:27]MH_SAM_APDU [23:55:27]CAPDU: 80 17 00 00 [23:55:27]Write to MH i2c: E2 08 00 04 2C 80 17 00 00 00 00 00 00 B0 [23:55:27]Write i2c OK [23:55:27]MH_I2C_Read... [23:55:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:55:27]Read from MH i2c: E2 [23:55:27]MH_I2C_Read... [23:55:27]Read from MH i2c: E2 E1 00 [23:55:27]MH_I2C_Read... [23:55:27]Read from MH i2c: E2 E1 00 04 2C 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 9E [23:55:28]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:55:28]wFMCommunicate OK [23:55:28]SAM_PROTO_GetFMData done [23:55:28]Malloc new data [23:55:28]Malloc new data [23:55:28]Malloc new data [23:55:28]Malloc new data [23:55:28]KKMLoadAndSignCloseShiftData err=0 [23:55:28]Отчет о закрытии Ñмены ФФД: 1.0 ИÐÐ: 02508201610067 КаÑÑир: Самаганов Ð. 20.10.2024 23:55 Смена: 461 РÐМ: 0000000000098149 ЗÐМ: 0300000235 СÐО: Общий режим Чеков за Ñмену: 80 ФД за Ñмену: 82 Ð’Ñего чеков: 80 ИТОГИ ПРИХОД Чеков: 80 Общий итог: 22346.66 Итого наличными: 18926.00 Итого безнал.: 3420.66 ÐДС 0% : 0.00 ÐДС 12% : 2373.37 ÐСП 0% : 0.00 ÐСП 1,50% : 0.00 ÐСП 0,50% : 0.00 ÐСП 5% : 0.00 ÐСП 3% : 0.00 ÐСП 2% : 0.00 ÐСП 1% : 197.71 ИТОГИ ВОЗВРÐТ ПРИХОДРЧеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 ÐДС 0% : 0.00 ÐДС 12% : 0.00 ÐСП 0% : 0.00 ÐСП 1,50% : 0.00 ÐСП 0,50% : 0.00 ÐСП 5% : 0.00 ÐСП 3% : 0.00 ÐСП 2% : 0.00 ÐСП 1% : 0.00 ИТОГИ РÐСХОД Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 ÐДС 0% : 0.00 ÐДС 12% : 0.00 ÐСП 0% : 0.00 ÐСП 1,50% : 0.00 ÐСП 0,50% : 0.00 ÐСП 5% : 0.00 ÐСП 3% : 0.00 ÐСП 2% : 0.00 ÐСП 1% : 0.00 ИТОГИ ВОЗВРÐТ РÐСХОДРЧеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 ÐДС 0% : 0.00 ÐДС 12% : 0.00 ÐСП 0% : 0.00 ÐСП 1,50% : 0.00 ÐСП 0,50% : 0.00 ÐСП 5% : 0.00 ÐСП 3% : 0.00 ÐСП 2% : 0.00 ÐСП 1% : 0.00 Сумма внеÑений: 0.00 Сумма выплат: 0.00 Ðал. в каÑÑе: 18926.00 ÐС Приход: 11672671.72 ÐС Возвр.Прихода: 287937.00 ÐС РаÑход: 0.00 ÐС Возвр.РаÑхода: 0.00 ФД: 37233 ФМ: 0000000000965372 ФПД: 257373852458015 [23:55:28]StoreToDocumentArchive [23:55:28]shift 461 fd 37233 [23:55:28]save to /storage/0461/doc_00037233 [23:55:28]save last doc name /storage/0461/doc_00037233 to /storage/kkm_last_doc_name [23:55:28]save OK [23:55:28]Clear old archive folders... [23:55:28]Remove dir /storage/0266 [23:55:28]opendir ok [23:55:28]file . [23:55:28]file .. [23:55:28]file doc_1729468486 [23:55:28]remove file /storage/0266/doc_1729468486 [23:55:28]remove dir /storage/0266 [23:55:28]NVStorageSaveData kkm_registers [23:55:28]File name is /storage/kkm_registers [23:55:28]Write 24 bytes [23:55:28]NVStorageSaveData done [23:55:28]NVStorageSaveData kkm_registers [23:55:28]File name is /storage/kkm_registers [23:55:28]Write 24 bytes [23:55:28]NVStorageSaveData done [23:55:28]ProcessDocumentItem done err = 0, tmpTLVsize=1381 [23:55:28]tlvbuf is 00B04CE0 [23:55:28]SAM_PROTO_ClearQueue [23:55:28]wFMCommunicate request_size=4 [23:55:28]MH_SAM_APDU [23:55:28]CAPDU: 80 09 00 00 [23:55:28]Write to MH i2c: E2 08 00 05 2C 80 09 00 00 00 00 00 00 A3 [23:55:28]Write i2c OK [23:55:28]MH_I2C_Read... [23:55:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:55:28]Read from MH i2c: E2 [23:55:28]MH_I2C_Read... [23:55:28]Read from MH i2c: E2 03 00 [23:55:28]MH_I2C_Read... [23:55:28]Read from MH i2c: E2 03 00 05 2C 00 90 00 A5 [23:55:28]RAPDU: 90 00 [23:55:28]wFMCommunicate OK [23:55:28]SAM_PROTO_ClearQueue done [23:55:28]KKMCreateOFDPacket [23:55:28]OFDProtocolAddRootSTLVToBuf [23:55:28]FM_MakeSignedData [23:55:28]FM_MakeSignedData [23:55:28]SAM_PROTO_SignData [23:55:28]wFMCommunicate request_size=4 [23:55:28]MH_SAM_APDU [23:55:28]CAPDU: 80 0D 01 02 [23:55:28]Write to MH i2c: E2 08 00 06 2C 80 0D 01 02 00 00 00 00 AB [23:55:28]Write i2c OK [23:55:28]MH_I2C_Read... [23:55:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:55:28]Read from MH i2c: E2 [23:55:28]MH_I2C_Read... [23:55:28]Read from MH i2c: E2 03 00 [23:55:28]MH_I2C_Read... [23:55:28]Read from MH i2c: E2 03 00 06 2C 00 90 00 A6 [23:55:28]RAPDU: 90 00 [23:55:28]wFMCommunicate OK [23:55:28]wFMCommunicate request_size=255 [23:55:28]MH_SAM_APDU [23:55:28]CAPDU: 80 0D 02 02 FA 05 00 65 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 17 00 D0 A1 D0 B0 D0 BC D0 B0 D0 B3 D0 B0 D0 BD D0 BE D0 B2 20 D0 90 2E 20 F4 03 04 00 72 98 15 67 0E 04 04 00 CD 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 5E 04 04 00 50 00 00 00 57 04 04 00 52 00 00 00 AA 04 D5 04 6E 04 04 00 50 00 00 00 69 04 A2 00 6F 04 04 00 50 00 00 00 B1 04 03 00 2A 19 22 70 04 03 00 F8 E0 1C 72 04 03 00 32 38 05 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 19 9F 03 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 [23:55:28]Write to MH i2c: E2 02 01 07 2C 80 0D 02 02 FA 00 05 00 65 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 17 00 D0 A1 D0 B0 D0 BC D0 B0 D0 B3 D0 B0 D0 BD D0 BE D0 B2 20 D0 90 2E 20 F4 03 04 00 72 98 15 67 0E 04 04 00 CD 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 5E 04 04 00 50 00 00 00 57 04 04 00 52 00 00 00 AA 04 D5 04 6E 04 04 00 50 00 00 00 69 04 A2 00 6F 04 04 00 50 00 00 00 B1 04 03 00 2A 19 22 70 04 03 00 F8 E0 1C 72 04 03 00 32 38 05 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 19 9F 03 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 00 00 A3 [23:55:28]Write i2c OK [23:55:28]MH_I2C_Read... [23:55:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:55:29]Read from MH i2c: E2 [23:55:29]MH_I2C_Read... [23:55:29]Read from MH i2c: E2 03 00 [23:55:29]MH_I2C_Read... [23:55:29]Read from MH i2c: E2 03 00 07 2C 00 90 00 A7 [23:55:29]RAPDU: 90 00 [23:55:29]wFMCommunicate OK [23:55:29]wFMCommunicate request_size=255 [23:55:29]MH_SAM_APDU [23:55:29]CAPDU: 80 0D 02 02 FA 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 3B 4D 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 [23:55:29]Write to MH i2c: E2 02 01 08 2C 80 0D 02 02 FA 00 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 3B 4D 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 00 00 A0 [23:55:29]Write i2c OK [23:55:29]MH_I2C_Read... [23:55:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:55:29]Read from MH i2c: E2 [23:55:29]MH_I2C_Read... [23:55:29]Read from MH i2c: E2 03 00 [23:55:29]MH_I2C_Read... [23:55:29]Read from MH i2c: E2 03 00 08 2C 00 90 00 A8 [23:55:29]RAPDU: 90 00 [23:55:29]wFMCommunicate OK [23:55:29]wFMCommunicate request_size=255 [23:55:29]MH_SAM_APDU [23:55:29]CAPDU: 80 0D 02 02 FA 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 [23:55:29]Write to MH i2c: E2 02 01 09 2C 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 01 00 00 76 [23:55:30]Write i2c OK [23:55:30]MH_I2C_Read... [23:55:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:55:30]Read from MH i2c: E2 [23:55:30]MH_I2C_Read... [23:55:30]Read from MH i2c: E2 03 00 [23:55:30]MH_I2C_Read... [23:55:30]Read from MH i2c: E2 03 00 09 2C 00 90 00 A9 [23:55:30]RAPDU: 90 00 [23:55:30]wFMCommunicate OK [23:55:30]wFMCommunicate request_size=255 [23:55:30]MH_SAM_APDU [23:55:30]CAPDU: 80 0D 02 02 FA 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 [23:55:30]Write to MH i2c: E2 02 01 0A 2C 80 0D 02 02 FA 00 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 00 74 [23:55:30]Write i2c OK [23:55:30]MH_I2C_Read... [23:55:30]OFD Sender: No OFD packet to send [23:55:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:55:30]Read from MH i2c: E2 [23:55:30]MH_I2C_Read... [23:55:30]Read from MH i2c: E2 03 00 [23:55:30]MH_I2C_Read... [23:55:31]Read from MH i2c: E2 03 00 0A 2C 00 90 00 AA [23:55:31]RAPDU: 90 00 [23:55:31]wFMCommunicate OK [23:55:31]wFMCommunicate request_size=255 [23:55:31]MH_SAM_APDU [23:55:31]CAPDU: 80 0D 02 02 FA 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 [23:55:31]Write to MH i2c: E2 02 01 0B 2C 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 01 00 00 3C [23:55:31]Write i2c OK [23:55:31]MH_I2C_Read... [23:55:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:55:31]Read from MH i2c: E2 [23:55:31]MH_I2C_Read... [23:55:31]Read from MH i2c: E2 03 00 [23:55:31]MH_I2C_Read... [23:55:31]Read from MH i2c: E2 03 00 0B 2C 00 90 00 AB [23:55:31]RAPDU: 90 00 [23:55:31]wFMCommunicate OK [23:55:31]wFMCommunicate request_size=140 [23:55:31]MH_SAM_APDU [23:55:31]CAPDU: 80 0D 02 02 87 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 71 91 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 35 04 06 00 EA 14 85 0C DC 1F [23:55:31]Write to MH i2c: E2 8F 00 0C 2C 80 0D 02 02 87 00 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 71 91 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 35 04 06 00 EA 14 85 0C DC 1F 00 00 7D [23:55:31]Write i2c OK [23:55:31]MH_I2C_Read... [23:55:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:55:32]Read from MH i2c: E2 [23:55:32]MH_I2C_Read... [23:55:32]Read from MH i2c: E2 03 00 [23:55:32]MH_I2C_Read... [23:55:32]Read from MH i2c: E2 03 00 0C 2C 00 90 00 AC [23:55:32]RAPDU: 90 00 [23:55:32]wFMCommunicate OK [23:55:32]wFMCommunicate request_size=4 [23:55:32]MH_SAM_APDU [23:55:32]CAPDU: 80 0D 03 02 [23:55:32]Write to MH i2c: E2 08 00 0D 2C 80 0D 03 02 00 00 00 00 B4 [23:55:32]Write i2c OK [23:55:32]MH_I2C_Read... [23:55:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:55:32]Read from MH i2c: E2 [23:55:32]MH_I2C_Read... [23:55:32]Read from MH i2c: E2 0B 00 [23:55:32]MH_I2C_Read... [23:55:32]Read from MH i2c: E2 0B 00 0D 2C 00 1F C7 37 3E B4 AC 17 D9 90 00 60 [23:55:32]RAPDU: 1F C7 37 3E B4 AC 17 D9 90 00 [23:55:32]wFMCommunicate OK [23:55:32]SAM_PROTO_SignData done [23:55:32]FM_MakeSignedData done [23:55:32]CreateOFDProtocolMessage [23:55:32]wFMCommunicate request_size=4 [23:55:32]MH_SAM_APDU [23:55:32]CAPDU: 80 11 00 00 [23:55:32]Write to MH i2c: E2 08 00 0E 2C 80 11 00 00 00 00 00 00 B4 [23:55:32]Write i2c OK [23:55:32]MH_I2C_Read... [23:55:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:55:32]Read from MH i2c: E2 [23:55:32]MH_I2C_Read... [23:55:32]Read from MH i2c: E2 17 00 [23:55:32]MH_I2C_Read... [23:55:32]Read from MH i2c: E2 17 00 0E 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 07 [23:55:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [23:55:32]wFMCommunicate OK [23:55:32]CreateOFDProtocolMessage done [23:55:32]OFDSenderStorePacket 37233 [23:55:32]StoreOFDPacket docnum=37233 [23:55:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 79 05 00 00 E2 82 71 05 5D 1E 5A 05 01 00 05 00 65 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 17 00 D0 A1 D0 B0 D0 BC D0 B0 D0 B3 D0 B0 D0 BD D0 BE D0 B2 20 D0 90 2E 20 F4 03 04 00 72 98 15 67 0E 04 04 00 CD 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 5E 04 04 00 50 00 00 00 57 04 04 00 52 00 00 00 AA 04 D5 04 6E 04 04 00 50 00 00 00 69 04 A2 00 6F 04 04 00 50 00 00 00 B1 04 03 00 2A 19 22 70 04 03 00 F8 E0 1C 72 04 03 00 32 38 05 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 19 9F 03 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 3B 4D 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 71 91 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 35 04 06 00 EA 14 85 0C DC 1F 1F C7 37 3E B4 AC 17 D9 [23:55:32]CheckFolder [23:55:32]dirname=/storage/ofd_packets [23:55:32]CheckFolder done [23:55:32]ProducePacketName [23:55:32]name=ofd_packets/00037233 [23:55:32]NVStorageSaveData ofd_packets/00037233 [23:55:32]File name is /storage/ofd_packets/00037233 [23:55:32]Write 1431 bytes [23:55:32]NVStorageSaveData done [23:55:32]OFDSenderStorePacket done [23:55:32]KKMCreateOFDPacket done [23:55:32]NVStorageSaveData kkm_last_timestamp [23:55:32]File name is /storage/kkm_last_timestamp [23:55:32]Write 4 bytes [23:55:32]NVStorageSaveData done [23:55:32]ExternCall_PrintAddStr [23:55:32]wPrintStart [23:55:32]Write to MH i2c: 01 00 00 0F 2C 3B [23:55:32]Write i2c OK [23:55:32]MH_I2C_Read... [23:55:32]Read from MH i2c: 01 [23:55:32]MH_I2C_Read... [23:55:32]Read from MH i2c: 01 07 00 [23:55:32]MH_I2C_Read... [23:55:32]Read from MH i2c: 01 07 00 0F 2C 00 00 00 00 00 FF 0F 50 [23:55:32]RasterBufferAndPrint [23:55:32]line Отчет о закрытии Ñмены [23:55:32]line ФФД: 1.0 [23:55:32]line ИÐÐ: 02508201610067 [23:55:32]line КаÑÑир: Самаганов Ð. [23:55:32]line 20.10.2024 23:55 [23:55:32]line Смена: 461 [23:55:32]line РÐМ: 0000000000098149 [23:55:32]line ЗÐМ: 0300000235 [23:55:32]line СÐО: Общий режим [23:55:32]line Чеков за Ñмену: 80 [23:55:32]line ФД за Ñмену: 82 [23:55:32]line Ð’Ñего чеков: 80 [23:55:32]line ИТОГИ ПРИХОД [23:55:32]line Чеков: 80 [23:55:32]line Общий итог: 22346.66 [23:55:32]line Итого наличными: 18926.00 [23:55:32]line Итого безнал.: 3420.66 [23:55:32]line ÐДС 0% : 0.00 [23:55:32]line ÐДС 12% : 2373.37 [23:55:32]line ÐСП 0% : 0.00 [23:55:32]line ÐСП 1,50% : 0.00 [23:55:32]line ÐСП 0,50% : 0.00 [23:55:32]line ÐСП 5% : 0.00 [23:55:32]line ÐСП 3% : 0.00 [23:55:32]line ÐСП 2% : 0.00 [23:55:32]line ÐСП 1% : 197.71 [23:55:32]line ИТОГИ ВОЗВРÐТ ПРИХОДР[23:55:32]line Чеков: 0 [23:55:32]line Общий итог: 0.00 [23:55:32]line Итого наличными: 0.00 [23:55:32]line Итого безнал.: 0.00 [23:55:32]line ÐДС 0% : 0.00 [23:55:32]line ÐДС 12% : 0.00 [23:55:32]line ÐСП 0% : 0.00 [23:55:32]line ÐСП 1,50% : 0.00 [23:55:32]line ÐСП 0,50% : 0.00 [23:55:32]line ÐСП 5% : 0.00 [23:55:32]line ÐСП 3% : 0.00 [23:55:32]line ÐСП 2% : 0.00 [23:55:32]line ÐСП 1% : 0.00 [23:55:32]line ИТОГИ РÐСХОД [23:55:32]line Чеков: 0 [23:55:32]line Общий итог: 0.00 [23:55:32]line Итого наличными: 0.00 [23:55:32]line Итого безнал.: 0.00 [23:55:32]line ÐДС 0% : 0.00 [23:55:32]line ÐДС 12% : 0.00 [23:55:32]line ÐСП 0% : 0.00 [23:55:32]line ÐСП 1,50% : 0.00 [23:55:32]line ÐСП 0,50% : 0.00 [23:55:32]line ÐСП 5% : 0.00 [23:55:32]line ÐСП 3% : 0.00 [23:55:32]line ÐСП 2% : 0.00 [23:55:32]line ÐСП 1% : 0.00 [23:55:32]line ИТОГИ ВОЗВРÐТ РÐСХОДР[23:55:32]line Чеков: 0 [23:55:32]line Общий итог: 0.00 [23:55:32]line Итого наличными: 0.00 [23:55:32]line Итого безнал.: 0.00 [23:55:32]line ÐДС 0% : 0.00 [23:55:32]line ÐДС 12% : 0.00 [23:55:32]line ÐСП 0% : 0.00 [23:55:32]line ÐСП 1,50% : 0.00 [23:55:32]line ÐСП 0,50% : 0.00 [23:55:32]line ÐСП 5% : 0.00 [23:55:32]OFD Sender: Processing packet 37233 [packets to send 25, broken 24] [23:55:32]ProducePacketName [23:55:32]name=ofd_packets/00037233 [23:55:32]OFD Sender: To server: ‡•öpG, [23:55:32]CommunicateWithHost lk.salyk.kg:30040 [23:55:32]ConnectInit lk.salyk.kg [23:55:32]line ÐСП 3% : 0.00 [23:55:32]line ÐСП 2% : 0.00 [23:55:32]line ÐСП 1% : 0.00 [23:55:32]line Сумма внеÑений: 0.00 [23:55:32]line Сумма выплат: 0.00 [23:55:32]line Ðал. в каÑÑе: 18926.00 [23:55:32]line ÐС Приход: 11672671.72 [23:55:32]line ÐС Возвр.Прихода: 287937.00 [23:55:32]line ÐС РаÑход: 0.00 [23:55:32]line ÐС Возвр.РаÑхода: 0.00 [23:55:32]line ФД: 37233 [23:55:32]line ФМ: 0000000000965372 [23:55:32]line ФПД: 257373852458015 [23:55:32]written 0, free lines is 4095 [23:55:32]Connected sock=11 [23:55:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 79 05 00 00 E2 82 71 05 5D 1E 5A 05 01 00 05 00 65 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 17 00 D0 A1 D0 B0 D0 BC D0 B0 D0 B3 D0 B0 D0 BD D0 BE D0 B2 20 D0 90 2E 20 F4 03 04 00 72 98 15 67 0E 04 04 00 CD 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 5E 04 04 00 50 00 00 00 57 04 04 00 52 00 00 00 AA 04 D5 04 6E 04 04 00 50 00 00 00 69 04 A2 00 6F 04 04 00 50 00 00 00 B1 04 03 00 2A 19 22 70 04 03 00 F8 E0 1C 72 04 03 00 32 38 05 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 19 9F 03 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 3B 4D 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 Write to MH i2c: 04 01 00 00 00 00 70 5F 04 2C 00 8B 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 [23:55:33]01 00 Write i2c OK [23:55:33]00 MH_I2C_Read... [23:55:33]F3 Read from MH i2c: 03 01 00 [23:55:33]00 MH_I2C_Read... [23:55:33]EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF Read from MH i2c: 03 01 09 07 00 00 F6 [23:55:33]03 MH_I2C_Read... [23:55:33]01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 Read from MH i2c: 03 01 00 07 00 00 EF 5F 03 2C 09 00 00 00 F6 00 03 00 01 00 00 6C 02 0B F7 09 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 [23:55:33]EF RasterBufferAndPrint [23:55:33]03 line [23:55:33]09 line [23:55:33]00 line [23:55:33]F6 line [23:55:33]03 line [23:55:33]01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 written 0, free lines is 3067 [23:55:33]05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 process_action close_shift done [23:55:33]F7 requested_data is exist [23:55:33]03 produce_requested_data [23:55:33]00 requested_item fd.num is exist - process it [23:55:33]00 SAM_PROTO_GetFieldsCounters [23:55:33]D0 wFMCommunicate request_size=4 [23:55:33]04 MH_SAM_APDU [23:55:33]8D CAPDU: 00 80 6F 13 04 00 04 00 00 [23:55:33]00 Write to MH i2c: 00 E2 00 08 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 00 66 2C 80 13 00 00 00 00 00 00 0E [23:55:34]EF 03 Write i2c OK [23:55:34]09 MH_I2C_Read... [23:55:34]00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 Read from MH i2c: F6 E2 03 [23:55:34]01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 MH_I2C_Read... [23:55:34]00 Read from MH i2c: 02 E2 F7 62 03 00 00 EF 03 09 00 00 [23:55:34]F6 MH_I2C_Read... [23:55:34]03 01 00 Read from MH i2c: 03 E2 F7 62 03 00 00 EF 03 00 09 66 00 2C F6 00 03 5D 01 00 04 F7 03 00 00 B9 00 04 EF 01 03 00 09 00 F6 03 01 01 00 11 05 04 F7 10 03 00 00 00 EF 03 30 09 30 00 30 F6 30 03 30 01 30 30 *** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:55:34]30 00 30 06 30 F7 39 03 36 00 35 00 33 10 37 04 04 00 71 91 00 00 11 04 10 00 30 30 30 32 30 0D 30 04 30 10 30 00 30 30 30 30 30 39 36 35 33 37 32 35 04 06 00 EA 14 85 0C 30 DC 30 1F 30 1F 30 C7 30 37 30 3E 30 B4 30 AC 30 17 39 D9 38 [23:55:34]31 34 39 10 04 04 00 71 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 F6 [23:55:34]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 71 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:55:34]wFMCommunicate OK [23:55:34]SAM_PROTO_GetFieldsCounters done [23:55:34]requested_item shift.num is exist - process it [23:55:34]requested_item shift.opened is exist - process it [23:55:34]req_shift_opened [23:55:34]FM_GetShiftState [23:55:34]SAM_PROTO_GetShiftState [23:55:34]wFMCommunicate request_size=4 [23:55:34]MH_SAM_APDU [23:55:34]CAPDU: 80 13 01 00 [23:55:34]Write to MH i2c: E2 08 00 67 2C 80 13 01 00 00 00 00 00 10 [23:55:34]Write i2c OK [23:55:34]MH_I2C_Read... [23:55:34]Received data: 87 95 F6 70 47 *** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:55:34]2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 Read from MH i2c: 37 E2 32 [23:55:34]4F MH_I2C_Read... [23:55:34]00 00 00 6B Read from MH i2c: B0 E2 47 0E 00 00 [23:55:34]D9 MH_I2C_Read... [23:55:34]2A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 Read from MH i2c: 33 E2 36 0E 34 00 33 67 34 2C 36 00 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 09 30 00 30 00 30 00 39 00 36 00 35 00 33 37 32 10 04 04 00 71 91 00 00 F4 03 04 00 00 0F 00 41 00 15 00 67 90 B6 00 04 1B 01 [23:55:34]00 RAPDU: 00 09 47 00 0B 00 61 00 8D 00 36 36 00 21 00 7C 00 [23:55:34]00 CommunicateWithHost err = 0 [23:55:34]00 CheckOFDResponse [23:55:34]00 1017 (14) - 77093643461234 [23:55:34]90 1041 (16) - 0000000000965372 [23:55:34]00 1040 (4) - 37233 [23:55:34] [23:55:34]1012 (4) - 20.10.2024 17:42 [23:55:34]wFMCommunicate OK [23:55:34]1206 (1) - 0 [23:55:34]SAM_PROTO_GetShiftState done [23:55:34]OFD Sender: Remove packet 37233 [23:55:34]ProducePacketName [23:55:34]FM_GetShiftState done [23:55:34]name=ofd_packets/00037233 [23:55:34]req_shift_opened done [23:55:34]NVStorageDeleteData [23:55:34]requested_item shift.open_date is exist - process it [23:55:34]req_shift_open_date [23:55:34]FM_GetShiftState [23:55:34]SAM_PROTO_GetShiftState [23:55:34]wFMCommunicate request_size=4 [23:55:34]MH_SAM_APDU [23:55:34]CAPDU: 80 13 01 00 [23:55:34]Write to MH i2c: E2 08 00 68 2C 80 13 01 00 00 00 00 00 11 [23:55:34]Write i2c OK [23:55:34]MH_I2C_Read... [23:55:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:55:34]Read from MH i2c: E2 [23:55:34]MH_I2C_Read... [23:55:34]Read from MH i2c: E2 0E 00 [23:55:34]MH_I2C_Read... [23:55:34]Read from MH i2c: E2 0E 00 68 2C 00 09 00 00 00 00 00 00 00 00 00 00 90 00 1C [23:55:34]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [23:55:34]wFMCommunicate OK [23:55:34]SAM_PROTO_GetShiftState done [23:55:34]FM_GetShiftState done [23:55:34]req_shift_open_date done [23:55:34]produce_requested_data done [23:55:34]produce_requested_data return {"fd.num":37233,"shift.num":461,"shift.opened":0,"shift.open_date":0} [23:55:34]process_action_free close_shift [23:55:34]json_value_free [23:55:34]json_value_free done [23:55:34]process_json_proto returns [23:55:34]Send response to host [23:55:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":37233,"shift.num":461,"shift.opened":0,"shift.open_date":0}}} [23:55:34]free response buf [23:55:34]execute_script done [23:55:34]execute_script returns [23:55:34]free content buf [23:55:34]Sock 7.Close socket [23:55:35]Sock 7.Thread stoped [23:55:35]OFD Sender: No OFD packet to send [23:55:40]OFD Sender: No OFD packet to send [23:55:45]OFD Sender: No OFD packet to send [23:55:50]OFD Sender: No OFD packet to send [23:55:55]OFD Sender: No OFD packet to send [23:56:00]OFD Sender: No OFD packet to send [23:56:02]int [23:56:02]Write to MH i2c: 01 00 00 69 2C 95 [23:56:02]*** FLAG_PRN_KEY set [23:56:02]Write i2c OK [23:56:02]MH_I2C_Read... [23:56:02]Read from MH i2c: 01 [23:56:02]MH_I2C_Read... [23:56:02]Read from MH i2c: 01 07 00 [23:56:02]MH_I2C_Read... [23:56:02]Read from MH i2c: 01 07 00 69 2C 00 08 00 00 00 FF 0F B2 [23:56:02]state=0 [23:56:02]Key pressed [23:56:02]Feed [23:56:02]Write to MH i2c: D8 00 00 6A 2C 6D [23:56:02]Write i2c OK [23:56:02]MH_I2C_Read... [23:56:02]Read from MH i2c: D8 [23:56:02]MH_I2C_Read... [23:56:02]Read from MH i2c: D8 01 00 [23:56:02]MH_I2C_Read... [23:56:02]Read from MH i2c: D8 01 00 6A 2C 00 6E [23:56:02]int line is 0 - check status [23:56:02]Write to MH i2c: 01 00 00 6B 2C 97 [23:56:02]Write i2c OK [23:56:02]MH_I2C_Read... [23:56:02]Read from MH i2c: 01 [23:56:02]MH_I2C_Read... [23:56:02]Read from MH i2c: 01 07 00 [23:56:02]MH_I2C_Read... [23:56:02]Read from MH i2c: 01 07 00 6B 2C 00 48 00 00 00 3D 00 23 [23:56:02]state=2 [23:56:02]Key pressed [23:56:02]int [23:56:02]Write to MH i2c: 01 00 00 6C 2C 98 [23:56:02]Write i2c OK [23:56:02]MH_I2C_Read... [23:56:02]Read from MH i2c: 01 [23:56:02]MH_I2C_Read... [23:56:02]Read from MH i2c: 01 07 00 [23:56:02]MH_I2C_Read... [23:56:02]Read from MH i2c: 01 07 00 6C 2C 00 48 00 00 00 3C 00 23 [23:56:02]state=2 [23:56:02]Key pressed [23:56:02]int [23:56:02]Write to MH i2c: 01 00 00 6D 2C 99 [23:56:02]*** FLAG_PRN_KEY reset [23:56:02]Write i2c OK [23:56:02]MH_I2C_Read... [23:56:02]Read from MH i2c: 01 [23:56:02]MH_I2C_Read... [23:56:02]Read from MH i2c: 01 07 00 [23:56:02]MH_I2C_Read... [23:56:02]Read from MH i2c: 01 07 00 6D 2C 00 00 00 00 00 FF 0F AE [23:56:02]state=2 [23:56:02]Stop feed [23:56:05]OFD Sender: No OFD packet to send [23:56:10]OFD Sender: No OFD packet to send [23:56:15]OFD Sender: No OFD packet to send [23:56:20]OFD Sender: No OFD packet to send [23:56:25]OFD Sender: No OFD packet to send [23:56:30]OFD Sender: No OFD packet to send [23:56:35]OFD Sender: No OFD packet to send [23:56:40]OFD Sender: No OFD packet to send [23:56:45]OFD Sender: No OFD packet to send [23:56:50]OFD Sender: No OFD packet to send [23:56:55]OFD Sender: No OFD packet to send [23:57:00]OFD Sender: No OFD packet to send [23:57:05]OFD Sender: No OFD packet to send [23:57:10]OFD Sender: No OFD packet to send [23:57:15]OFD Sender: No OFD packet to send [23:57:20]OFD Sender: No OFD packet to send [23:57:25]OFD Sender: No OFD packet to send [23:57:30]OFD Sender: No OFD packet to send [23:57:35]OFD Sender: No OFD packet to send [23:57:40]OFD Sender: No OFD packet to send [23:57:45]OFD Sender: No OFD packet to send [23:57:50]OFD Sender: No OFD packet to send [23:57:55]OFD Sender: No OFD packet to send [23:58:00]OFD Sender: No OFD packet to send [23:58:05]OFD Sender: No OFD packet to send [23:58:10]OFD Sender: No OFD packet to send [23:58:15]OFD Sender: No OFD packet to send [23:58:20]OFD Sender: No OFD packet to send [23:58:25]OFD Sender: No OFD packet to send [23:58:30]OFD Sender: No OFD packet to send [23:58:35]OFD Sender: No OFD packet to send [23:58:40]OFD Sender: No OFD packet to send [23:58:45]OFD Sender: No OFD packet to send [23:58:50]OFD Sender: No OFD packet to send [23:58:55]OFD Sender: No OFD packet to send [23:59:00]OFD Sender: No OFD packet to send [23:59:05]OFD Sender: No OFD packet to send [23:59:10]OFD Sender: No OFD packet to send [23:59:15]OFD Sender: No OFD packet to send [23:59:20]OFD Sender: No OFD packet to send [23:59:25]OFD Sender: No OFD packet to send [23:59:30]OFD Sender: No OFD packet to send [23:59:35]OFD Sender: No OFD packet to send [23:59:40]OFD Sender: No OFD packet to send [23:59:45]OFD Sender: No OFD packet to send [23:59:50]OFD Sender: No OFD packet to send [23:59:55]OFD Sender: No OFD packet to send [00:00:00]OFD Sender: No OFD packet to send [00:00:05]OFD Sender: No OFD packet to send [00:00:10]OFD Sender: No OFD packet to send [00:00:15]OFD Sender: No OFD packet to send [00:00:20]OFD Sender: No OFD packet to send [00:00:25]OFD Sender: No OFD packet to send [00:00:30]OFD Sender: No OFD packet to send [00:00:35]OFD Sender: No OFD packet to send [00:00:40]OFD Sender: No OFD packet to send [00:00:45]OFD Sender: No OFD packet to send [00:00:50]OFD Sender: No OFD packet to send [00:00:55]OFD Sender: No OFD packet to send [00:01:00]OFD Sender: No OFD packet to send [00:01:05]OFD Sender: No OFD packet to send [00:01:10]OFD Sender: No OFD packet to send [00:01:15]OFD Sender: No OFD packet to send [00:01:20]OFD Sender: No OFD packet to send [00:01:25]OFD Sender: No OFD packet to send [00:01:30]OFD Sender: No OFD packet to send [00:01:35]OFD Sender: No OFD packet to send [00:01:40]OFD Sender: No OFD packet to send [00:01:45]OFD Sender: No OFD packet to send [00:01:50]OFD Sender: No OFD packet to send [00:01:55]OFD Sender: No OFD packet to send [00:02:00]OFD Sender: No OFD packet to send [00:02:05]OFD Sender: No OFD packet to send [00:02:10]OFD Sender: No OFD packet to send [00:02:15]OFD Sender: No OFD packet to send [00:02:20]OFD Sender: No OFD packet to send [00:02:25]OFD Sender: No OFD packet to send [00:02:30]OFD Sender: No OFD packet to send [00:02:35]OFD Sender: No OFD packet to send [00:02:40]OFD Sender: No OFD packet to send [00:02:45]OFD Sender: No OFD packet to send [00:02:50]OFD Sender: No OFD packet to send [00:02:55]OFD Sender: No OFD packet to send [00:03:00]OFD Sender: No OFD packet to send [00:03:05]OFD Sender: No OFD packet to send [00:03:10]OFD Sender: No OFD packet to send [00:03:15]OFD Sender: No OFD packet to send [00:03:20]OFD Sender: No OFD packet to send [00:03:25]OFD Sender: No OFD packet to send [00:03:30]OFD Sender: No OFD packet to send [00:03:35]OFD Sender: No OFD packet to send [00:03:40]OFD Sender: No OFD packet to send [00:03:45]OFD Sender: No OFD packet to send [00:03:50]OFD Sender: No OFD packet to send [00:03:55]OFD Sender: No OFD packet to send [00:04:00]OFD Sender: No OFD packet to send [00:04:05]OFD Sender: No OFD packet to send [00:04:10]OFD Sender: No OFD packet to send [00:04:15]OFD Sender: No OFD packet to send [00:04:20]OFD Sender: No OFD packet to send [00:04:25]OFD Sender: No OFD packet to send [00:04:30]OFD Sender: No OFD packet to send [00:04:35]OFD Sender: No OFD packet to send [00:04:40]OFD Sender: No OFD packet to send [00:04:45]OFD Sender: No OFD packet to send [00:04:50]OFD Sender: No OFD packet to send [00:04:55]OFD Sender: No OFD packet to send [00:05:00]OFD Sender: No OFD packet to send [00:05:05]OFD Sender: No OFD packet to send [00:05:10]OFD Sender: No OFD packet to send [00:05:15]OFD Sender: No OFD packet to send [00:05:20]OFD Sender: No OFD packet to send [00:05:25]OFD Sender: No OFD packet to send [00:05:30]OFD Sender: No OFD packet to send [00:05:35]OFD Sender: No OFD packet to send [00:05:40]OFD Sender: No OFD packet to send [00:05:45]OFD Sender: No OFD packet to send [00:05:50]OFD Sender: No OFD packet to send [00:05:55]OFD Sender: No OFD packet to send [00:06:00]OFD Sender: No OFD packet to send [00:06:05]OFD Sender: No OFD packet to send [00:06:10]OFD Sender: No OFD packet to send [00:06:15]OFD Sender: No OFD packet to send [00:06:20]OFD Sender: No OFD packet to send [00:06:25]OFD Sender: No OFD packet to send [00:06:30]OFD Sender: No OFD packet to send [00:06:35]OFD Sender: No OFD packet to send [00:06:40]OFD Sender: No OFD packet to send [00:06:45]OFD Sender: No OFD packet to send [00:06:50]OFD Sender: No OFD packet to send [00:06:55]OFD Sender: No OFD packet to send [00:07:00]OFD Sender: No OFD packet to send [00:07:05]OFD Sender: No OFD packet to send [00:07:10]OFD Sender: No OFD packet to send [00:07:15]OFD Sender: No OFD packet to send [00:07:20]OFD Sender: No OFD packet to send [00:07:25]OFD Sender: No OFD packet to send [00:07:30]OFD Sender: No OFD packet to send [00:07:35]OFD Sender: No OFD packet to send [00:07:40]OFD Sender: No OFD packet to send [00:07:45]OFD Sender: No OFD packet to send [00:07:50]OFD Sender: No OFD packet to send [00:07:56]OFD Sender: No OFD packet to send [00:08:01]OFD Sender: No OFD packet to send [00:08:06]OFD Sender: No OFD packet to send [00:08:11]OFD Sender: No OFD packet to send [00:08:16]OFD Sender: No OFD packet to send [00:08:21]OFD Sender: No OFD packet to send [00:08:26]OFD Sender: No OFD packet to send [00:08:31]OFD Sender: No OFD packet to send [00:08:36]OFD Sender: No OFD packet to send [00:08:41]OFD Sender: No OFD packet to send [00:08:46]OFD Sender: No OFD packet to send [00:08:51]OFD Sender: No OFD packet to send [00:08:56]OFD Sender: No OFD packet to send [00:09:01]OFD Sender: No OFD packet to send [00:09:06]OFD Sender: No OFD packet to send [00:09:11]OFD Sender: No OFD packet to send [00:09:16]OFD Sender: No OFD packet to send [00:09:19]accept exits with 9 [00:09:19]New connection [00:09:19]New thread 3066699108 created [00:09:19]Thread 3066555748 joined [00:09:19]Waiting for new connection... [00:09:19] Sock 9.Parse request [00:09:19]Sock 9.Check first char [00:09:19]Sock 9.First char is OK [00:09:19]request: POST /json_proto HTTP/1.0 [00:09:19]Method: POST [00:09:19]URL: /json_proto [00:09:19]Method is POST - this is cgi request [00:09:19]url: /json_proto [00:09:19]query_string will be loaded in cgi processing [00:09:19]execute_cgi json_proto POST (null) [00:09:19]execute_cgi path=json_proto method=POST [00:09:19]POST find Content-Length [00:09:19]Host: 172.17.53.68:8080 [00:09:19]Content-Length: 215 [00:09:19]Content-Type: application/json [00:09:19] [00:09:19]POST finish read [00:09:19]Found Content-Length = 215 [00:09: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" ] } } [00:09:19]execute_script... [00:09: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" ] } } [00:09:19]POST & json_proto [00:09:19]process_json_proto [00:09:19]json parsed OK: [00:09:19]protocol is kg_v1.0 [00:09:19]action value=get_value [00:09:19]process_action get_value [00:09:19]cmd_get_value [00:09:19]process_action get_value done [00:09:19]requested_data is exist [00:09:19]produce_requested_data [00:09:19]requested_item kkm.sn is exist - process it [00:09:19]requested_item kkm.ver is exist - process it [00:09:19]requested_item fm.sn is exist - process it [00:09:19]wFMCommunicate request_size=4 [00:09:19]MH_SAM_APDU [00:09:19]CAPDU: 80 11 00 00 [00:09:19]Write to MH i2c: E2 08 00 6E 2C 80 11 00 00 00 00 00 00 14 [00:09:19]Write i2c OK [00:09:19]MH_I2C_Read... [00:09:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:09:19]Read from MH i2c: E2 [00:09:19]MH_I2C_Read... [00:09:19]Read from MH i2c: E2 17 00 [00:09:19]MH_I2C_Read... [00:09:19]Read from MH i2c: E2 17 00 6E 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 67 [00:09:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [00:09:19]wFMCommunicate OK [00:09:19]requested_item fd.num is exist - process it [00:09:19]SAM_PROTO_GetFieldsCounters [00:09:19]wFMCommunicate request_size=4 [00:09:19]MH_SAM_APDU [00:09:19]CAPDU: 80 13 00 00 [00:09:19]Write to MH i2c: E2 08 00 6F 2C 80 13 00 00 00 00 00 00 17 [00:09:19]Write i2c OK [00:09:19]MH_I2C_Read... [00:09:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:09:19]Read from MH i2c: E2 [00:09:19]MH_I2C_Read... [00:09:19]Read from MH i2c: E2 62 00 [00:09:19]MH_I2C_Read... [00:09:19]Read from MH i2c: E2 62 00 6F 2C 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 71 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 FF [00:09: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 71 91 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:09:19]wFMCommunicate OK [00:09:19]SAM_PROTO_GetFieldsCounters done [00:09:19]requested_item shift.num is exist - process it [00:09:19]requested_item shift.opened is exist - process it [00:09:19]req_shift_opened [00:09:19]FM_GetShiftState [00:09:19]SAM_PROTO_GetShiftState [00:09:19]wFMCommunicate request_size=4 [00:09:19]MH_SAM_APDU [00:09:19]CAPDU: 80 13 01 00 [00:09:19]Write to MH i2c: E2 08 00 70 2C 80 13 01 00 00 00 00 00 19 [00:09:19]Write i2c OK [00:09:19]MH_I2C_Read... [00:09:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:09:20]Read from MH i2c: E2 [00:09:20]MH_I2C_Read... [00:09:20]Read from MH i2c: E2 0E 00 [00:09:20]MH_I2C_Read... [00:09:20]Read from MH i2c: E2 0E 00 70 2C 00 09 00 00 00 00 00 00 00 00 00 00 90 00 24 [00:09:20]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:09:20]wFMCommunicate OK [00:09:20]SAM_PROTO_GetShiftState done [00:09:20]FM_GetShiftState done [00:09:20]req_shift_opened done [00:09:20]requested_item shift.open_date is exist - process it [00:09:20]req_shift_open_date [00:09:20]FM_GetShiftState [00:09:20]SAM_PROTO_GetShiftState [00:09:20]wFMCommunicate request_size=4 [00:09:20]MH_SAM_APDU [00:09:20]CAPDU: 80 13 01 00 [00:09:20]Write to MH i2c: E2 08 00 71 2C 80 13 01 00 00 00 00 00 1A [00:09:20]Write i2c OK [00:09:20]MH_I2C_Read... [00:09:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:09:20]Read from MH i2c: E2 [00:09:20]MH_I2C_Read... [00:09:20]Read from MH i2c: E2 0E 00 [00:09:20]MH_I2C_Read... [00:09:20]Read from MH i2c: E2 0E 00 71 2C 00 09 00 00 00 00 00 00 00 00 00 00 90 00 25 [00:09:20]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:09:20]wFMCommunicate OK [00:09:20]SAM_PROTO_GetShiftState done [00:09:20]FM_GetShiftState done [00:09:20]req_shift_open_date done [00:09:20]produce_requested_data done [00:09:20]produce_requested_data return {"kkm.sn":"0300000235","kkm.ver":"001","fm.sn":"0000000000965372","fd.num":37233,"shift.num":461,"shift.opened":0,"shift.open_date":0} [00:09:20]process_action_free get_value [00:09:20]json_value_free [00:09:20]json_value_free done [00:09:20]process_json_proto returns [00:09:20]Send response to host [00:09:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000235","kkm.ver":"001","fm.sn":"0000000000965372","fd.num":37233,"shift.num":461,"shift.opened":0,"shift.open_date":0}}} [00:09:20]free response buf [00:09:20]execute_script done [00:09:20]execute_script returns [00:09:20]free content buf [00:09:20]Sock 9.Close socket [00:09:20]Sock 9.Thread stoped [00:09:20]accept exits with 7 [00:09:20]New connection [00:09:20]New thread 3066555748 created [00:09:20]Thread 3066699108 joined [00:09:20]Waiting for new connection... [00:09:20] Sock 7.Parse request [00:09:20]Sock 7.Check first char [00:09:20]Sock 7.First char is OK [00:09:20]request: POST /json_proto HTTP/1.0 [00:09:20]Method: POST [00:09:20]URL: /json_proto [00:09:20]Method is POST - this is cgi request [00:09:20]url: /json_proto [00:09:20]query_string will be loaded in cgi processing [00:09:20]execute_cgi json_proto POST (null) [00:09:20]execute_cgi path=json_proto method=POST [00:09:20]POST find Content-Length [00:09:20]Host: 172.17.53.68:8080 [00:09:20]Content-Length: 331 [00:09:20]Content-Type: application/json [00:09:20] [00:09:20]POST finish read [00:09:20]Found Content-Length = 331 [00:09:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:09:20]execute_script... [00:09:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:09:20]POST & json_proto [00:09:20]process_json_proto [00:09:20]json parsed OK: [00:09:20]protocol is kg_v1.0 [00:09:20]action value=get_value [00:09:20]process_action get_value [00:09:20]cmd_get_value [00:09:20]process_action get_value done [00:09:20]requested_data is exist [00:09:20]produce_requested_data [00:09:20]requested_item fm.sale.total is exist - process it [00:09:20]SAM_PROTO_GetFMData [00:09:20]wFMCommunicate request_size=4 [00:09:20]MH_SAM_APDU [00:09:20]CAPDU: 80 13 03 00 [00:09:20]Write to MH i2c: E2 08 00 72 2C 80 13 03 00 00 00 00 00 1D [00:09:20]Write i2c OK [00:09:20]MH_I2C_Read... [00:09:20]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:09:20]Read from MH i2c: E2 [00:09:20]MH_I2C_Read... [00:09:20]Read from MH i2c: E2 FD 00 [00:09:20]MH_I2C_Read... [00:09:20]Read from MH i2c: E2 FD 00 72 2C 00 C4 04 85 04 C0 04 6E 04 04 00 D6 8D 00 00 69 04 A0 00 6F 04 04 00 8D 8C 00 00 B1 04 04 00 64 15 93 45 70 04 04 00 BC C7 DE 3D 72 04 04 00 A8 4D B4 07 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 31 EF 63 07 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 8D 9A 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 76 [00:09:20]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 D6 8D 00 00 69 04 A0 00 6F 04 04 00 8D 8C 00 00 B1 04 04 00 64 15 93 45 70 04 04 00 BC C7 DE 3D 72 04 04 00 A8 4D B4 07 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 31 EF 63 07 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 8D 9A 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 [00:09:20]wFMCommunicate OK [00:09:20]wFMCommunicate request_size=4 [00:09:20]MH_SAM_APDU [00:09:20]CAPDU: 80 17 00 00 [00:09:20]Write to MH i2c: E2 08 00 73 2C 80 17 00 00 00 00 00 00 1F [00:09:20]Write i2c OK [00:09:20]MH_I2C_Read... [00:09:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:21]OFD Sender: No OFD packet to send [00:09:21]Read from MH i2c: E2 [00:09:21]MH_I2C_Read... [00:09:21]Read from MH i2c: E2 FD 00 [00:09:21]MH_I2C_Read... [00:09:21]Read from MH i2c: E2 FD 00 73 2C 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 37 [00:09:21]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:09:21]wFMCommunicate OK [00:09:21]wFMCommunicate request_size=4 [00:09:21]MH_SAM_APDU [00:09:21]CAPDU: 80 17 00 00 [00:09:21]Write to MH i2c: E2 08 00 74 2C 80 17 00 00 00 00 00 00 20 [00:09:21]Write i2c OK [00:09:21]MH_I2C_Read... [00:09:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:21]Read from MH i2c: E2 [00:09:21]MH_I2C_Read... [00:09:21]Read from MH i2c: E2 FD 00 [00:09:21]MH_I2C_Read... [00:09:21]Read from MH i2c: E2 FD 00 74 2C 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 35 [00:09:21]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [00:09:21]wFMCommunicate OK [00:09:21]wFMCommunicate request_size=4 [00:09:21]MH_SAM_APDU [00:09:21]CAPDU: 80 17 00 00 [00:09:21]Write to MH i2c: E2 08 00 75 2C 80 17 00 00 00 00 00 00 21 [00:09:21]Write i2c OK [00:09:21]MH_I2C_Read... [00:09:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:21]Read from MH i2c: E2 [00:09:21]MH_I2C_Read... [00:09:21]Read from MH i2c: E2 FD 00 [00:09:21]MH_I2C_Read... [00:09:21]Read from MH i2c: E2 FD 00 75 2C 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 99 [00:09:21]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:09:21]wFMCommunicate OK [00:09:21]wFMCommunicate request_size=4 [00:09:21]MH_SAM_APDU [00:09:21]CAPDU: 80 17 00 00 [00:09:21]Write to MH i2c: E2 08 00 76 2C 80 17 00 00 00 00 00 00 22 [00:09:21]Write i2c OK [00:09:21]MH_I2C_Read... [00:09:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:09:21]Read from MH i2c: E2 [00:09:21]MH_I2C_Read... [00:09:21]Read from MH i2c: E2 E1 00 [00:09:21]MH_I2C_Read... [00:09:21]Read from MH i2c: E2 E1 00 76 2C 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 10 [00:09:21]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:09:21]wFMCommunicate OK [00:09:21]SAM_PROTO_GetFMData done [00:09:21]requested_item fm.sale_refund.total is exist - process it [00:09:21]requested_item fm.buy.total is exist - process it [00:09:21]requested_item shift.sale.total is exist - process it [00:09:21]SAM_PROTO_GetShiftData [00:09:21]wFMCommunicate request_size=4 [00:09:21]MH_SAM_APDU [00:09:21]CAPDU: 80 13 02 00 [00:09:21]Write to MH i2c: E2 08 00 77 2C 80 13 02 00 00 00 00 00 21 [00:09:21]Write i2c OK [00:09:21]MH_I2C_Read... [00:09:22]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:09:22]Read from MH i2c: E2 [00:09:22]MH_I2C_Read... [00:09:22]Read from MH i2c: E2 FD 00 [00:09:22]MH_I2C_Read... [00:09:22]Read from MH i2c: E2 FD 00 77 2C 00 AE 04 AA 04 AA 04 6E 04 04 00 50 00 00 00 69 04 9B 00 6F 04 04 00 50 00 00 00 B1 04 03 00 2A 19 22 70 04 03 00 F8 E0 1C 72 04 03 00 32 38 05 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 19 9F 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 3B 4D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 8D [00:09:22]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 50 00 00 00 69 04 9B 00 6F 04 04 00 50 00 00 00 B1 04 03 00 2A 19 22 70 04 03 00 F8 E0 1C 72 04 03 00 32 38 05 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 19 9F 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 3B 4D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:09:22]wFMCommunicate OK [00:09:22]wFMCommunicate request_size=4 [00:09:22]MH_SAM_APDU [00:09:22]CAPDU: 80 17 00 00 [00:09:22]Write to MH i2c: E2 08 00 78 2C 80 17 00 00 00 00 00 00 24 [00:09:22]Write i2c OK [00:09:22]MH_I2C_Read... [00:09:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:22]Read from MH i2c: E2 [00:09:22]MH_I2C_Read... [00:09:22]Read from MH i2c: E2 FD 00 [00:09:22]MH_I2C_Read... [00:09:22]Read from MH i2c: E2 FD 00 78 2C 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 46 [00:09:22]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:09:22]wFMCommunicate OK [00:09:22]wFMCommunicate request_size=4 [00:09:22]MH_SAM_APDU [00:09:22]CAPDU: 80 17 00 00 [00:09:22]Write to MH i2c: E2 08 00 79 2C 80 17 00 00 00 00 00 00 25 [00:09:22]Write i2c OK [00:09:22]MH_I2C_Read... [00:09:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:22]Read from MH i2c: E2 [00:09:22]MH_I2C_Read... [00:09:22]Read from MH i2c: E2 FD 00 [00:09:22]MH_I2C_Read... [00:09:22]Read from MH i2c: E2 FD 00 79 2C 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 DC [00:09:22]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:09:22]wFMCommunicate OK [00:09:22]wFMCommunicate request_size=4 [00:09:22]MH_SAM_APDU [00:09:22]CAPDU: 80 17 00 00 [00:09:22]Write to MH i2c: E2 08 00 7A 2C 80 17 00 00 00 00 00 00 26 [00:09:22]Write i2c OK [00:09:22]MH_I2C_Read... [00:09:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:23]Read from MH i2c: E2 [00:09:23]MH_I2C_Read... [00:09:23]Read from MH i2c: E2 FD 00 [00:09:23]MH_I2C_Read... [00:09:23]Read from MH i2c: E2 FD 00 7A 2C 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 98 [00:09:23]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:09:23]wFMCommunicate OK [00:09:23]wFMCommunicate request_size=4 [00:09:23]MH_SAM_APDU [00:09:23]CAPDU: 80 17 00 00 [00:09:23]Write to MH i2c: E2 08 00 7B 2C 80 17 00 00 00 00 00 00 27 [00:09:23]Write i2c OK [00:09:23]MH_I2C_Read... [00:09:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:09:23]Read from MH i2c: E2 [00:09:23]MH_I2C_Read... [00:09:23]Read from MH i2c: E2 CB 00 [00:09:23]MH_I2C_Read... [00:09:23]Read from MH i2c: E2 CB 00 7B 2C 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 10 [00:09:23]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:09:23]wFMCommunicate OK [00:09:23]SAM_PROTO_GetShiftData done [00:09:23]requested_item shift.sale.total_cash is exist - process it [00:09:23]requested_item shift.sale_refund.total is exist - process it [00:09:23]requested_item shift.sale_refund.total_cash is exist - process it [00:09:23]requested_item shift.buy.total is exist - process it [00:09:23]requested_item shift.buy.total_cash is exist - process it [00:09:23]produce_requested_data done [00:09:23]produce_requested_data return {"fm.sale.total":11672671.72,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":22346.66,"shift.sale.total_cash":18926.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:09:23]process_action_free get_value [00:09:23]json_value_free [00:09:23]json_value_free done [00:09:23]process_json_proto returns [00:09:23]Send response to host [00:09:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11672671.72,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":22346.66,"shift.sale.total_cash":18926.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:09:23]free response buf [00:09:23]execute_script done [00:09:23]execute_script returns [00:09:23]free content buf [00:09:23]Sock 7.Close socket [00:09:23]Sock 7.Thread stoped [00:09:23]accept exits with 9 [00:09:23]New connection [00:09:23]New thread 3066699108 created [00:09:23]Thread 3066555748 joined [00:09:23]Waiting for new connection... [00:09:23] Sock 9.Parse request [00:09:23]Sock 9.Check first char [00:09:23]Sock 9.First char is OK [00:09:23]request: POST /json_proto HTTP/1.0 [00:09:23]Method: POST [00:09:23]URL: /json_proto [00:09:23]Method is POST - this is cgi request [00:09:23]url: /json_proto [00:09:23]query_string will be loaded in cgi processing [00:09:23]execute_cgi json_proto POST (null) [00:09:23]execute_cgi path=json_proto method=POST [00:09:23]POST find Content-Length [00:09:23]Host: 172.17.53.68:8080 [00:09:23]Content-Length: 265 [00:09:23]Content-Type: application/json [00:09:23] [00:09:23]POST finish read [00:09:23]Found Content-Length = 265 [00:09:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0421\u0430\u043C\u0438\u0434\u0438\u043D\u043E\u0432 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:09:23]execute_script... [00:09:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0421\u0430\u043C\u0438\u0434\u0438\u043D\u043E\u0432 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:09:23]POST & json_proto [00:09:23]process_json_proto [00:09:23]json parsed OK: [00:09:23]protocol is kg_v1.0 [00:09:23]action value=open_shift [00:09:23]process_action open_shift [00:09:23]cmd_open_shift [00:09:23]MH_GetDate [00:09:23]Write to MH i2c: F0 00 00 7C 2C 97 [00:09:23]Write i2c OK [00:09:23]MH_I2C_Read... [00:09:23]Read from MH i2c: F0 [00:09:23]MH_I2C_Read... [00:09:23]Read from MH i2c: F0 09 00 [00:09:23]MH_I2C_Read... [00:09:23]Read from MH i2c: F0 09 00 7C 2C 00 BE 9B 15 67 C5 A4 76 66 BA [00:09:23]GetLastDocTimeStamp 1729468530 [00:09:23]current date 1729469374 [00:09:23]FM_GetShiftState [00:09:23]SAM_PROTO_GetShiftState [00:09:23]wFMCommunicate request_size=4 [00:09:23]MH_SAM_APDU [00:09:23]CAPDU: 80 13 01 00 [00:09:23]Write to MH i2c: E2 08 00 7D 2C 80 13 01 00 00 00 00 00 26 [00:09:23]Write i2c OK [00:09:23]MH_I2C_Read... [00:09:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:09:23]Read from MH i2c: E2 [00:09:23]MH_I2C_Read... [00:09:23]Read from MH i2c: E2 0E 00 [00:09:23]MH_I2C_Read... [00:09:23]Read from MH i2c: E2 0E 00 7D 2C 00 09 00 00 00 00 00 00 00 00 00 00 90 00 31 [00:09:23]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:09:23]wFMCommunicate OK [00:09:23]SAM_PROTO_GetShiftState done [00:09:23]FM_GetShiftState done [00:09:23]KKMCreateOpenShiftDocument [00:09:23]Load OK [00:09:23]Malloc new data [00:09:23]MH_GetDate [00:09:23]Write to MH i2c: F0 00 00 7E 2C 99 [00:09:23]Write i2c OK [00:09:23]MH_I2C_Read... [00:09:23]Read from MH i2c: F0 [00:09:23]MH_I2C_Read... [00:09:23]Read from MH i2c: F0 09 00 [00:09:23]MH_I2C_Read... [00:09:23]Read from MH i2c: F0 09 00 7E 2C 00 BE 9B 15 67 C5 A4 76 66 BC [00:09:23]Malloc new data [00:09:23]KKMCreateOpenShiftDocument OK [00:09:23]KKMSetOpenShiftData OK [00:09:23]ProcessDocumentItem done err = 0, tmpTLVsize=198 [00:09:23]tlvbuf is 0098ED30 [00:09:23]KKMLoadAndSignOpenShiftData [00:09:23]SAM_PROTO_ProcessDocument [00:09:23]wFMCommunicate request_size=9 [00:09:23]MH_SAM_APDU [00:09:23]CAPDU: 80 15 01 00 04 02 00 C6 00 [00:09:23]Write to MH i2c: E2 0C 00 7F 2C 80 15 01 00 04 00 02 00 C6 00 00 00 FA [00:09:23]Write i2c OK [00:09:23]MH_I2C_Read... [00:09:23]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:09:23]Read from MH i2c: E2 [00:09:23]MH_I2C_Read... [00:09:23]Read from MH i2c: E2 03 00 [00:09:23]MH_I2C_Read... [00:09:23]Read from MH i2c: E2 03 00 7F 2C 00 90 00 1F [00:09:23]RAPDU: 90 00 [00:09:23]wFMCommunicate OK [00:09:23]wFMCommunicate request_size=23 [00:09:23]MH_SAM_APDU [00:09:23]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [00:09:23]Write to MH i2c: E2 1A 00 80 2C 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 21 [00:09:23]Write i2c OK [00:09:23]MH_I2C_Read... [00:09:23]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:09:23]Read from MH i2c: E2 [00:09:23]MH_I2C_Read... [00:09:23]Read from MH i2c: E2 03 00 [00:09:23]MH_I2C_Read... [00:09:23]Read from MH i2c: E2 03 00 80 2C 00 90 00 20 [00:09:23]RAPDU: 90 00 [00:09:23]wFMCommunicate OK [00:09:23]wFMCommunicate request_size=32 [00:09:23]MH_SAM_APDU [00:09:23]CAPDU: 80 15 02 00 1B FD 03 17 00 D0 A1 D0 B0 D0 BC D0 B8 D0 B4 D0 B8 D0 BD D0 BE D0 B2 20 D0 90 2E 20 [00:09:23]Write to MH i2c: E2 23 00 81 2C 80 15 02 00 1B 00 FD 03 17 00 D0 A1 D0 B0 D0 BC D0 B8 D0 B4 D0 B8 D0 BD D0 BE D0 B2 20 D0 90 2E 20 00 00 F6 [00:09:23]Write i2c OK [00:09:23]MH_I2C_Read... [00:09:23]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:09:23]Read from MH i2c: E2 [00:09:23]MH_I2C_Read... [00:09:23]Read from MH i2c: E2 03 00 [00:09:23]MH_I2C_Read... [00:09:23]Read from MH i2c: E2 03 00 81 2C 00 90 00 21 [00:09:23]RAPDU: 90 00 [00:09:23]wFMCommunicate OK [00:09:23]wFMCommunicate request_size=84 [00:09:23]MH_SAM_APDU [00:09:23]CAPDU: 80 15 02 00 4F F1 03 4B 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D1 80 D0 BF D1 8B 2C 20 D1 83 D0 BB 2E 20 D0 90 D1 82 D1 82 D0 BE D0 BA D1 83 D1 80 D0 BE D0 B2 D0 B0 20 32 32 30 2C 20 34 31 2E 30 30 33 36 31 35 2C 37 33 2E 30 32 37 38 36 34 [00:09:23]Write to MH i2c: E2 57 00 82 2C 80 15 02 00 4F 00 F1 03 4B 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D1 80 D0 BF D1 8B 2C 20 D1 83 D0 BB 2E 20 D0 90 D1 82 D1 82 D0 BE D0 BA D1 83 D1 80 D0 BE D0 B2 D0 B0 20 32 32 30 2C 20 34 31 2E 30 30 33 36 31 35 2C 37 33 2E 30 32 37 38 36 34 00 00 CB [00:09:23]Write i2c OK [00:09:23]MH_I2C_Read... [00:09:24]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:09:24]Read from MH i2c: E2 [00:09:24]MH_I2C_Read... [00:09:24]Read from MH i2c: E2 03 00 [00:09:24]MH_I2C_Read... [00:09:24]Read from MH i2c: E2 03 00 82 2C 00 90 00 22 [00:09:24]RAPDU: 90 00 [00:09:24]wFMCommunicate OK [00:09:24]wFMCommunicate request_size=51 [00:09:24]MH_SAM_APDU [00:09:24]CAPDU: 80 15 02 00 2E A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 35 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:09:24]Write to MH i2c: E2 36 00 83 2C 80 15 02 00 2E 00 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 35 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 DD [00:09:24]Write i2c OK [00:09:24]MH_I2C_Read... [00:09:24]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:09:24]Read from MH i2c: E2 [00:09:24]MH_I2C_Read... [00:09:24]Read from MH i2c: E2 03 00 [00:09:24]MH_I2C_Read... [00:09:24]Read from MH i2c: E2 03 00 83 2C 00 90 00 23 [00:09:24]RAPDU: 90 00 [00:09:24]wFMCommunicate OK [00:09:24]wFMCommunicate request_size=13 [00:09:24]MH_SAM_APDU [00:09:24]CAPDU: 80 15 02 00 08 F4 03 04 00 BE 9B 15 67 [00:09:24]Write to MH i2c: E2 10 00 84 2C 80 15 02 00 08 00 F4 03 04 00 BE 9B 15 67 00 00 10 [00:09:24]Write i2c OK [00:09:24]MH_I2C_Read... [00:09:24]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:09:24]Read from MH i2c: E2 [00:09:24]MH_I2C_Read... [00:09:24]Read from MH i2c: E2 03 00 [00:09:24]MH_I2C_Read... [00:09:24]Read from MH i2c: E2 03 00 84 2C 00 90 00 24 [00:09:24]RAPDU: 90 00 [00:09:24]wFMCommunicate OK [00:09:24]wFMCommunicate request_size=25 [00:09:24]MH_SAM_APDU [00:09:24]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 [00:09:24]Write to MH i2c: E2 1C 00 85 2C 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 00 00 99 [00:09:24]Write i2c OK [00:09:24]MH_I2C_Read... [00:09:24]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:09:24]Read from MH i2c: E2 [00:09:24]MH_I2C_Read... [00:09:24]Read from MH i2c: E2 03 00 [00:09:24]MH_I2C_Read... [00:09:24]Read from MH i2c: E2 03 00 85 2C 00 90 00 25 [00:09:24]RAPDU: 90 00 [00:09:24]wFMCommunicate OK [00:09:24]wFMCommunicate request_size=4 [00:09:24]MH_SAM_APDU [00:09:24]CAPDU: 80 15 03 00 [00:09:24]Write to MH i2c: E2 08 00 86 2C 80 15 03 00 00 00 00 00 33 [00:09:24]Write i2c OK [00:09:24]MH_I2C_Read... [00:09:24]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:09:24]Read from MH i2c: E2 [00:09:24]MH_I2C_Read... [00:09:24]Read from MH i2c: E2 38 00 [00:09:24]MH_I2C_Read... [00:09:24]Read from MH i2c: E2 38 00 86 2C 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 33 37 32 10 04 04 00 72 91 00 00 0E 04 04 00 CE 01 00 00 35 04 06 00 52 50 9F D1 B3 E1 90 00 77 [00:09:24]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 33 37 32 10 04 04 00 72 91 00 00 0E 04 04 00 CE 01 00 00 35 04 06 00 52 50 9F D1 B3 E1 90 00 [00:09:24]wFMCommunicate OK [00:09:24]SAM_PROTO_ProcessDocument answer len = 51 [00:09:24]SAM_PROTO_ProcessDocument done [00:09:24]SetTLVBufToDocument [00:09:24]Processing tag 1209 (04B9) [00:09:24]Malloc new data [00:09:24]Processing tag 1041 (0411) [00:09:24]Processing tag 1040 (0410) [00:09:24]Malloc new data [00:09:24]Processing tag 1038 (040E) [00:09:24]Malloc new data [00:09:24]Processing tag 1077 (0435) [00:09:24]Malloc new data [00:09:24]SetTLVBufToDocument err=0 [00:09:24]KKMLoadAndSignOpenShiftData store KKM data [00:09:24]KKMLoadAndSignOpenShiftData err=0 [00:09:24]Отчет об открытии Ñмены ФФД: 1.0 ИÐÐ: 02508201610067 КаÑÑир: Самидинов Ð. ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 МеÑто: ÐЗС â„– 165 "Партнер Ðефть" 21.10.2024 00:09 Смена: 462 РÐМ: 0000000000098149 ЗÐМ: 0300000235 ФД: 37234 ФМ: 0000000000965372 ФПД: 90506232181729 [00:09:24]StoreToDocumentArchive [00:09:24]shift 462 fd 37234 [00:09:24]Create dir for shift 0462 [00:09:24]save to /storage/0462/doc_00037234 [00:09:24]save last doc name /storage/0462/doc_00037234 to /storage/kkm_last_doc_name [00:09:24]save OK [00:09:24]Clear old archive folders... [00:09:24]Remove dir /storage/0461 [00:09:24]opendir ok [00:09:24]file . [00:09:24]file .. [00:09:24]file doc_00037152 [00:09:24]remove file /storage/0461/doc_00037152 [00:09:24]file doc_00037153 [00:09:24]remove file /storage/0461/doc_00037153 [00:09:24]file doc_00037154 [00:09:24]remove file /storage/0461/doc_00037154 [00:09:24]file doc_00037155 [00:09:24]remove file /storage/0461/doc_00037155 [00:09:24]file doc_00037156 [00:09:24]remove file /storage/0461/doc_00037156 [00:09:24]file doc_00037157 [00:09:24]remove file /storage/0461/doc_00037157 [00:09:24]file doc_00037158 [00:09:24]remove file /storage/0461/doc_00037158 [00:09:24]file doc_00037159 [00:09:24]remove file /storage/0461/doc_00037159 [00:09:24]file doc_00037160 [00:09:24]remove file /storage/0461/doc_00037160 [00:09:24]file doc_00037161 [00:09:24]remove file /storage/0461/doc_00037161 [00:09:24]file doc_00037162 [00:09:24]remove file /storage/0461/doc_00037162 [00:09:24]file doc_00037163 [00:09:24]remove file /storage/0461/doc_00037163 [00:09:24]file doc_00037164 [00:09:24]remove file /storage/0461/doc_00037164 [00:09:24]file doc_00037165 [00:09:24]remove file /storage/0461/doc_00037165 [00:09:24]file doc_00037166 [00:09:24]remove file /storage/0461/doc_00037166 [00:09:24]file doc_00037167 [00:09:24]remove file /storage/0461/doc_00037167 [00:09:24]file doc_00037168 [00:09:24]remove file /storage/0461/doc_00037168 [00:09:24]file doc_00037169 [00:09:24]remove file /storage/0461/doc_00037169 [00:09:24]file doc_00037170 [00:09:24]remove file /storage/0461/doc_00037170 [00:09:24]file doc_00037171 [00:09:24]remove file /storage/0461/doc_00037171 [00:09:24]file doc_00037172 [00:09:24]remove file /storage/0461/doc_00037172 [00:09:24]file doc_00037173 [00:09:24]remove file /storage/0461/doc_00037173 [00:09:24]file doc_00037174 [00:09:24]remove file /storage/0461/doc_00037174 [00:09:24]file doc_00037175 [00:09:24]remove file /storage/0461/doc_00037175 [00:09:24]file doc_00037176 [00:09:24]remove file /storage/0461/doc_00037176 [00:09:24]file doc_00037177 [00:09:24]remove file /storage/0461/doc_00037177 [00:09:24]file doc_00037178 [00:09:24]remove file /storage/0461/doc_00037178 [00:09:24]file doc_00037179 [00:09:24]remove file /storage/0461/doc_00037179 [00:09:24]file doc_00037180 [00:09:24]remove file /storage/0461/doc_00037180 [00:09:24]file doc_00037181 [00:09:24]remove file /storage/0461/doc_00037181 [00:09:24]file doc_00037182 [00:09:24]remove file /storage/0461/doc_00037182 [00:09:24]file doc_00037183 [00:09:24]remove file /storage/0461/doc_00037183 [00:09:24]file doc_00037184 [00:09:24]remove file /storage/0461/doc_00037184 [00:09:24]file doc_00037185 [00:09:24]remove file /storage/0461/doc_00037185 [00:09:24]file doc_00037186 [00:09:24]remove file /storage/0461/doc_00037186 [00:09:24]file doc_00037187 [00:09:24]remove file /storage/0461/doc_00037187 [00:09:24]file doc_00037188 [00:09:24]remove file /storage/0461/doc_00037188 [00:09:24]file doc_00037189 [00:09:24]remove file /storage/0461/doc_00037189 [00:09:24]file doc_00037190 [00:09:24]remove file /storage/0461/doc_00037190 [00:09:24]file doc_00037191 [00:09:24]remove file /storage/0461/doc_00037191 [00:09:24]file doc_00037192 [00:09:24]remove file /storage/0461/doc_00037192 [00:09:24]file doc_00037193 [00:09:24]remove file /storage/0461/doc_00037193 [00:09:24]file doc_00037194 [00:09:24]remove file /storage/0461/doc_00037194 [00:09:24]file doc_00037195 [00:09:24]remove file /storage/0461/doc_00037195 [00:09:24]file doc_00037196 [00:09:24]remove file /storage/0461/doc_00037196 [00:09:24]file doc_00037197 [00:09:24]remove file /storage/0461/doc_00037197 [00:09:24]file doc_00037198 [00:09:24]remove file /storage/0461/doc_00037198 [00:09:24]file doc_00037199 [00:09:24]remove file /storage/0461/doc_00037199 [00:09:24]file doc_00037200 [00:09:24]remove file /storage/0461/doc_00037200 [00:09:24]file doc_00037201 [00:09:24]remove file /storage/0461/doc_00037201 [00:09:24]file doc_00037202 [00:09:24]remove file /storage/0461/doc_00037202 [00:09:24]file doc_00037203 [00:09:24]remove file /storage/0461/doc_00037203 [00:09:24]file doc_00037204 [00:09:24]remove file /storage/0461/doc_00037204 [00:09:24]file doc_00037205 [00:09:24]remove file /storage/0461/doc_00037205 [00:09:24]file doc_00037206 [00:09:24]remove file /storage/0461/doc_00037206 [00:09:24]file doc_00037207 [00:09:24]remove file /storage/0461/doc_00037207 [00:09:24]file doc_00037208 [00:09:24]remove file /storage/0461/doc_00037208 [00:09:24]file doc_00037209 [00:09:24]remove file /storage/0461/doc_00037209 [00:09:24]file doc_00037210 [00:09:24]remove file /storage/0461/doc_00037210 [00:09:24]file doc_00037211 [00:09:24]remove file /storage/0461/doc_00037211 [00:09:24]file doc_00037212 [00:09:24]remove file /storage/0461/doc_00037212 [00:09:24]file doc_00037213 [00:09:24]remove file /storage/0461/doc_00037213 [00:09:24]file doc_00037214 [00:09:24]remove file /storage/0461/doc_00037214 [00:09:24]file doc_00037215 [00:09:24]remove file /storage/0461/doc_00037215 [00:09:24]file doc_00037216 [00:09:24]remove file /storage/0461/doc_00037216 [00:09:24]file doc_00037217 [00:09:24]remove file /storage/0461/doc_00037217 [00:09:24]file doc_00037218 [00:09:24]remove file /storage/0461/doc_00037218 [00:09:24]file doc_00037219 [00:09:24]remove file /storage/0461/doc_00037219 [00:09:24]file doc_00037220 [00:09:24]remove file /storage/0461/doc_00037220 [00:09:24]file doc_00037221 [00:09:24]remove file /storage/0461/doc_00037221 [00:09:24]file doc_00037222 [00:09:24]remove file /storage/0461/doc_00037222 [00:09:24]file doc_00037223 [00:09:24]remove file /storage/0461/doc_00037223 [00:09:25]file doc_00037224 [00:09:25]remove file /storage/0461/doc_00037224 [00:09:25]file doc_00037225 [00:09:25]remove file /storage/0461/doc_00037225 [00:09:25]file doc_00037226 [00:09:25]remove file /storage/0461/doc_00037226 [00:09:25]file doc_00037227 [00:09:25]remove file /storage/0461/doc_00037227 [00:09:25]file doc_00037228 [00:09:25]remove file /storage/0461/doc_00037228 [00:09:25]file doc_00037229 [00:09:25]remove file /storage/0461/doc_00037229 [00:09:25]file doc_00037230 [00:09:25]remove file /storage/0461/doc_00037230 [00:09:25]file doc_00037231 [00:09:25]remove file /storage/0461/doc_00037231 [00:09:25]file doc_00037232 [00:09:25]remove file /storage/0461/doc_00037232 [00:09:25]file doc_00037233 [00:09:25]remove file /storage/0461/doc_00037233 [00:09:25]remove dir /storage/0461 [00:09:25]ProcessDocumentItem done err = 0, tmpTLVsize=249 [00:09:25]tlvbuf is 00A8D230 [00:09:25]SAM_PROTO_ClearQueue [00:09:25]wFMCommunicate request_size=4 [00:09:25]MH_SAM_APDU [00:09:25]CAPDU: 80 09 00 00 [00:09:25]Write to MH i2c: E2 08 00 87 2C 80 09 00 00 00 00 00 00 25 [00:09:25]Write i2c OK [00:09:25]MH_I2C_Read... [00:09:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:09:25]Read from MH i2c: E2 [00:09:25]MH_I2C_Read... [00:09:25]Read from MH i2c: E2 03 00 [00:09:25]MH_I2C_Read... [00:09:25]Read from MH i2c: E2 03 00 87 2C 00 90 00 27 [00:09:25]RAPDU: 90 00 [00:09:25]wFMCommunicate OK [00:09:25]SAM_PROTO_ClearQueue done [00:09:25]KKMCreateOFDPacket [00:09:25]OFDProtocolAddRootSTLVToBuf [00:09:25]FM_MakeSignedData [00:09:25]FM_MakeSignedData [00:09:25]SAM_PROTO_SignData [00:09:25]wFMCommunicate request_size=4 [00:09:25]MH_SAM_APDU [00:09:25]CAPDU: 80 0D 01 02 [00:09:25]Write to MH i2c: E2 08 00 88 2C 80 0D 01 02 00 00 00 00 2D [00:09:25]Write i2c OK [00:09:25]MH_I2C_Read... [00:09:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:09:25]Read from MH i2c: E2 [00:09:25]MH_I2C_Read... [00:09:25]Read from MH i2c: E2 03 00 [00:09:25]MH_I2C_Read... [00:09:25]Read from MH i2c: E2 03 00 88 2C 00 90 00 28 [00:09:25]RAPDU: 90 00 [00:09:25]wFMCommunicate OK [00:09:25]wFMCommunicate request_size=255 [00:09:25]MH_SAM_APDU [00:09:25]CAPDU: 80 0D 02 02 FA 02 00 F9 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 17 00 D0 A1 D0 B0 D0 BC D0 B8 D0 B4 D0 B8 D0 BD D0 BE D0 B2 20 D0 90 2E 20 F1 03 4B 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D1 80 D0 BF D1 8B 2C 20 D1 83 D0 BB 2E 20 D0 90 D1 82 D1 82 D0 BE D0 BA D1 83 D1 80 D0 BE D0 B2 D0 B0 20 32 32 30 2C 20 34 31 2E 30 30 33 36 31 35 2C 37 33 2E 30 32 37 38 36 34 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 35 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 BE 9B 15 67 0E 04 04 00 CE 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 72 91 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 35 04 06 00 52 50 9F [00:09:25]Write to MH i2c: E2 02 01 89 2C 80 0D 02 02 FA 00 02 00 F9 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 17 00 D0 A1 D0 B0 D0 BC D0 B8 D0 B4 D0 B8 D0 BD D0 BE D0 B2 20 D0 90 2E 20 F1 03 4B 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D1 80 D0 BF D1 8B 2C 20 D1 83 D0 BB 2E 20 D0 90 D1 82 D1 82 D0 BE D0 BA D1 83 D1 80 D0 BE D0 B2 D0 B0 20 32 32 30 2C 20 34 31 2E 30 30 33 36 31 35 2C 37 33 2E 30 32 37 38 36 34 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 35 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 BE 9B 15 67 0E 04 04 00 CE 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 72 91 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 35 04 06 00 52 50 9F 00 00 68 [00:09:25]Write i2c OK [00:09:25]MH_I2C_Read... [00:09:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:09:25]Read from MH i2c: E2 [00:09:25]MH_I2C_Read... [00:09:25]Read from MH i2c: E2 03 00 [00:09:25]MH_I2C_Read... [00:09:25]Read from MH i2c: E2 03 00 89 2C 00 90 00 29 [00:09:25]RAPDU: 90 00 [00:09:25]wFMCommunicate OK [00:09:25]wFMCommunicate request_size=8 [00:09:25]MH_SAM_APDU [00:09:25]CAPDU: 80 0D 02 02 03 D1 B3 E1 [00:09:25]Write to MH i2c: E2 0B 00 8A 2C 80 0D 02 02 03 00 D1 B3 E1 00 00 9B [00:09:25]Write i2c OK [00:09:25]MH_I2C_Read... [00:09:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:09:25]Read from MH i2c: E2 [00:09:25]MH_I2C_Read... [00:09:25]Read from MH i2c: E2 03 00 [00:09:25]MH_I2C_Read... [00:09:25]Read from MH i2c: E2 03 00 8A 2C 00 90 00 2A [00:09:25]RAPDU: 90 00 [00:09:25]wFMCommunicate OK [00:09:25]wFMCommunicate request_size=4 [00:09:25]MH_SAM_APDU [00:09:25]CAPDU: 80 0D 03 02 [00:09:25]Write to MH i2c: E2 08 00 8B 2C 80 0D 03 02 00 00 00 00 32 [00:09:25]Write i2c OK [00:09:25]MH_I2C_Read... [00:09:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:09:25]Read from MH i2c: E2 [00:09:25]MH_I2C_Read... [00:09:25]Read from MH i2c: E2 0B 00 [00:09:25]MH_I2C_Read... [00:09:25]Read from MH i2c: E2 0B 00 8B 2C 00 21 49 8D B6 E9 D6 41 C8 90 00 A8 [00:09:25]RAPDU: 21 49 8D B6 E9 D6 41 C8 90 00 [00:09:25]wFMCommunicate OK [00:09:25]SAM_PROTO_SignData done [00:09:25]FM_MakeSignedData done [00:09:25]CreateOFDProtocolMessage [00:09:25]wFMCommunicate request_size=4 [00:09:25]MH_SAM_APDU [00:09:25]CAPDU: 80 11 00 00 [00:09:25]Write to MH i2c: E2 08 00 8C 2C 80 11 00 00 00 00 00 00 32 [00:09:25]Write i2c OK [00:09:25]MH_I2C_Read... [00:09:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:09:25]Read from MH i2c: E2 [00:09:25]MH_I2C_Read... [00:09:25]Read from MH i2c: E2 17 00 [00:09:25]MH_I2C_Read... [00:09:25]Read from MH i2c: E2 17 00 8C 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 85 [00:09:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [00:09:25]wFMCommunicate OK [00:09:25]CreateOFDProtocolMessage done [00:09:25]OFDSenderStorePacket 37234 [00:09:25]StoreOFDPacket docnum=37234 [00:09:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0D 01 00 00 92 F3 05 01 CC B0 5A 02 01 00 02 00 F9 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 17 00 D0 A1 D0 B0 D0 BC D0 B8 D0 B4 D0 B8 D0 BD D0 BE D0 B2 20 D0 90 2E 20 F1 03 4B 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D1 80 D0 BF D1 8B 2C 20 D1 83 D0 BB 2E 20 D0 90 D1 82 D1 82 D0 BE D0 BA D1 83 D1 80 D0 BE D0 B2 D0 B0 20 32 32 30 2C 20 34 31 2E 30 30 33 36 31 35 2C 37 33 2E 30 32 37 38 36 34 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 35 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 BE 9B 15 67 0E 04 04 00 CE 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 72 91 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 35 04 06 00 52 50 9F D1 B3 E1 21 49 8D B6 E9 D6 41 C8 [00:09:25]CheckFolder [00:09:25]dirname=/storage/ofd_packets [00:09:25]CheckFolder done [00:09:25]ProducePacketName [00:09:25]name=ofd_packets/00037234 [00:09:25]NVStorageSaveData ofd_packets/00037234 [00:09:25]File name is /storage/ofd_packets/00037234 [00:09:25]Write 299 bytes [00:09:25]NVStorageSaveData done [00:09:25]OFDSenderStorePacket done [00:09:25]KKMCreateOFDPacket done [00:09:25]NVStorageSaveData kkm_last_timestamp [00:09:25]File name is /storage/kkm_last_timestamp [00:09:25]Write 4 bytes [00:09:25]NVStorageSaveData done [00:09:25]ExternCall_PrintAddStr [00:09:25]wPrintStart [00:09:25]Write to MH i2c: 01 00 00 8D 2C B9 [00:09:25]Write i2c OK [00:09:25]MH_I2C_Read... [00:09:25]Read from MH i2c: 01 [00:09:25]MH_I2C_Read... [00:09:25]Read from MH i2c: 01 07 00 [00:09:25]MH_I2C_Read... [00:09:25]Read from MH i2c: 01 07 00 8D 2C 00 00 00 00 00 FF 0F CE [00:09:25]RasterBufferAndPrint [00:09:25]line Отчет об открытии Ñмены [00:09:25]line ФФД: 1.0 [00:09:25]line ИÐÐ: 02508201610067 [00:09:25]line КаÑÑир: Самидинов Ð. [00:09:25]line ÐдреÑ: 720001, Ñ. Барпы, ул. Ðттокурова 220, 41.003615,73.027864 [00:09:25]line МеÑто: ÐЗС â„– 165 "Партнер Ðефть" [00:09:25]line 21.10.2024 00:09 [00:09:25]line Смена: 462 [00:09:25]line РÐМ: 0000000000098149 [00:09:25]line ЗÐМ: 0300000235 [00:09:25]line ФД: 37234 [00:09:25]line ФМ: 0000000000965372 [00:09:25]line ФПД: 90506232181729 [00:09:25]written 0, free lines is 4095 [00:09:25]OFD Sender: Processing packet 37234 [packets to send 25, broken 24] [00:09:25]ProducePacketName [00:09:25]name=ofd_packets/00037234 [00:09:25]OFD Sender: To server: ‡•öpG, [00:09:25]CommunicateWithHost lk.salyk.kg:30040 [00:09:25]ConnectInit lk.salyk.kg [00:09:25]Connected sock=10 [00:09:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0D 01 00 00 92 F3 05 01 CC B0 5A 02 01 00 02 00 F9 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 17 00 D0 A1 D0 B0 D0 BC D0 B8 D0 B4 D0 B8 D0 BD D0 BE D0 B2 20 D0 90 2E 20 F1 03 4B 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D1 80 D0 BF D1 8B 2C 20 D1 83 D0 BB 2E 20 D0 90 D1 82 D1 82 D0 BE D0 BA D1 83 D1 80 D0 BE D0 B2 D0 B0 20 32 32 30 2C 20 34 31 2E 30 30 33 36 31 35 2C 37 33 2E 30 32 37 38 36 34 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 35 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 BE 9B 15 67 0E 04 04 00 CE 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 72 91 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 35 04 06 00 52 50 9F D1 B3 E1 21 49 8D B6 E9 D6 41 C8 [00:09:25]Write to MH i2c: 01 00 00 9F 2C CB [00:09:25]Write i2c OK [00:09:25]MH_I2C_Read... [00:09:25]Read from MH i2c: 01 [00:09:25]MH_I2C_Read... [00:09:25]Read from MH i2c: 01 07 00 [00:09:25]MH_I2C_Read... [00:09:25]Read from MH i2c: 01 07 00 9F 2C 00 00 00 00 00 5E 0E 3E [00:09:25]RasterBufferAndPrint [00:09:25]line [00:09:25]line [00:09:25]line [00:09:25]line [00:09:25]line [00:09:25]written 0, free lines is 3693 [00:09:26]process_action open_shift done [00:09:26]requested_data is exist [00:09:26]produce_requested_data [00:09:26]requested_item fd.num is exist - process it [00:09:26]SAM_PROTO_GetFieldsCounters [00:09:26]wFMCommunicate request_size=4 [00:09:26]MH_SAM_APDU [00:09:26]CAPDU: 80 13 00 00 [00:09:26]Write to MH i2c: E2 08 00 A6 2C 80 13 00 00 00 00 00 00 4E [00:09:26]Write i2c OK [00:09:26]MH_I2C_Read... [00:09:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 D9 92 47 00 E3 99 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 72 91 00 00 F4 03 Read from MH i2c: 04 E2 00 [00:09:26]4E MH_I2C_Read... [00:09:26]44 Read from MH i2c: 15 E2 67 62 B6 00 04 [00:09:26]01 MH_I2C_Read... [00:09:26]00 00 Read from MH i2c: 03 E2 C4 62 2C 00 69 A6 B9 62 19 32 [00:09:26]CommunicateWithHost err = 0 [00:09:26]CheckOFDResponse [00:09:26]1017 (14) - 77093643461234 [00:09:26]1041 (16) - 0000000000965372 [00:09:26]2C 1040 (4) - 37234 [00:09:26]00 1012 (4) - 20.10.2024 17:56 [00:09:26]5D 1206 (1) - 0 [00:09:26]00 OFD Sender: Remove packet 37234 [00:09:26]B9 ProducePacketName [00:09:26]04 name=ofd_packets/00037234 [00:09:26]01 NVStorageDeleteData [00:09:26]00 *** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:09:26]01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 72 91 00 00 0E 04 04 00 CE 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 47 [00:09:26]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 72 91 00 00 0E 04 04 00 CE 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:09:26]wFMCommunicate OK [00:09:26]SAM_PROTO_GetFieldsCounters done [00:09:26]requested_item shift.num is exist - process it [00:09:26]requested_item shift.opened is exist - process it [00:09:26]req_shift_opened [00:09:26]FM_GetShiftState [00:09:26]SAM_PROTO_GetShiftState [00:09:26]wFMCommunicate request_size=4 [00:09:26]MH_SAM_APDU [00:09:26]CAPDU: 80 13 01 00 [00:09:26]Write to MH i2c: E2 08 00 A7 2C 80 13 01 00 00 00 00 00 50 [00:09:26]Write i2c OK [00:09:26]MH_I2C_Read... [00:09:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:09:26]Read from MH i2c: E2 [00:09:26]MH_I2C_Read... [00:09:26]Read from MH i2c: E2 0E 00 [00:09:26]MH_I2C_Read... [00:09:26]Read from MH i2c: E2 0E 00 A7 2C 00 09 00 01 BE 9B 15 67 00 00 00 00 90 00 31 [00:09:26]RAPDU: 09 00 01 BE 9B 15 67 00 00 00 00 90 00 [00:09:26]wFMCommunicate OK [00:09:26]SAM_PROTO_GetShiftState done [00:09:26]FM_GetShiftState done [00:09:26]req_shift_opened done [00:09:26]requested_item shift.open_date is exist - process it [00:09:26]req_shift_open_date [00:09:26]req_shift_open_date done [00:09:26]produce_requested_data done [00:09:26]produce_requested_data return {"fd.num":37234,"shift.num":462,"shift.opened":1,"shift.open_date":1729469374} [00:09:26]process_action_free open_shift [00:09:26]json_value_free [00:09:26]json_value_free done [00:09:26]process_json_proto returns [00:09:26]Send response to host [00:09:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":37234,"shift.num":462,"shift.opened":1,"shift.open_date":1729469374}}} [00:09:26]free response buf [00:09:26]execute_script done [00:09:26]execute_script returns [00:09:26]free content buf [00:09:26]Sock 9.Close socket [00:09:26]Sock 9.Thread stoped [00:09:26]accept exits with 7 [00:09:26]New connection [00:09:26]New thread 3066555748 created [00:09:26]Thread 3066699108 joined [00:09:26]Waiting for new connection... [00:09:26] Sock 7.Parse request [00:09:26]Sock 7.Check first char [00:09:26]Sock 7.First char is OK [00:09:26]request: POST /json_proto HTTP/1.0 [00:09:26]Method: POST [00:09:26]URL: /json_proto [00:09:26]Method is POST - this is cgi request [00:09:26]url: /json_proto [00:09:26]query_string will be loaded in cgi processing [00:09:26]execute_cgi json_proto POST (null) [00:09:26]execute_cgi path=json_proto method=POST [00:09:26]POST find Content-Length [00:09:26]Host: 172.17.53.68:8080 [00:09:26]Content-Length: 331 [00:09:26]Content-Type: application/json [00:09:26] [00:09:26]POST finish read [00:09:26]Found Content-Length = 331 [00:09:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:09:26]execute_script... [00:09:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:09:26]POST & json_proto [00:09:26]process_json_proto [00:09:26]json parsed OK: [00:09:26]protocol is kg_v1.0 [00:09:26]action value=get_value [00:09:26]process_action get_value [00:09:26]cmd_get_value [00:09:26]process_action get_value done [00:09:26]requested_data is exist [00:09:26]produce_requested_data [00:09:26]requested_item fm.sale.total is exist - process it [00:09:26]SAM_PROTO_GetFMData [00:09:26]wFMCommunicate request_size=4 [00:09:26]MH_SAM_APDU [00:09:26]CAPDU: 80 13 03 00 [00:09:26]Write to MH i2c: E2 08 00 A8 2C 80 13 03 00 00 00 00 00 53 [00:09:26]Write i2c OK [00:09:26]MH_I2C_Read... [00:09:26]OFD Sender: No OFD packet to send [00:09:26]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:09:26]Read from MH i2c: E2 [00:09:26]MH_I2C_Read... [00:09:26]Read from MH i2c: E2 FD 00 [00:09:26]MH_I2C_Read... [00:09:26]Read from MH i2c: E2 FD 00 A8 2C 00 C4 04 85 04 C0 04 6E 04 04 00 D6 8D 00 00 69 04 A0 00 6F 04 04 00 8D 8C 00 00 B1 04 04 00 64 15 93 45 70 04 04 00 BC C7 DE 3D 72 04 04 00 A8 4D B4 07 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 31 EF 63 07 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 8D 9A 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 AC [00:09:26]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 D6 8D 00 00 69 04 A0 00 6F 04 04 00 8D 8C 00 00 B1 04 04 00 64 15 93 45 70 04 04 00 BC C7 DE 3D 72 04 04 00 A8 4D B4 07 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 31 EF 63 07 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 8D 9A 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 [00:09:26]wFMCommunicate OK [00:09:26]wFMCommunicate request_size=4 [00:09:26]MH_SAM_APDU [00:09:26]CAPDU: 80 17 00 00 [00:09:26]Write to MH i2c: E2 08 00 A9 2C 80 17 00 00 00 00 00 00 55 [00:09:26]Write i2c OK [00:09:26]MH_I2C_Read... [00:09:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:27]Read from MH i2c: E2 [00:09:27]MH_I2C_Read... [00:09:27]Read from MH i2c: E2 FD 00 [00:09:27]MH_I2C_Read... [00:09:27]Read from MH i2c: E2 FD 00 A9 2C 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 6D [00:09:27]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:09:27]wFMCommunicate OK [00:09:27]wFMCommunicate request_size=4 [00:09:27]MH_SAM_APDU [00:09:27]CAPDU: 80 17 00 00 [00:09:27]Write to MH i2c: E2 08 00 AA 2C 80 17 00 00 00 00 00 00 56 [00:09:27]Write i2c OK [00:09:27]MH_I2C_Read... [00:09:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:27]Read from MH i2c: E2 [00:09:27]MH_I2C_Read... [00:09:27]Read from MH i2c: E2 FD 00 [00:09:27]MH_I2C_Read... [00:09:27]Read from MH i2c: E2 FD 00 AA 2C 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 6B [00:09:27]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [00:09:27]wFMCommunicate OK [00:09:27]wFMCommunicate request_size=4 [00:09:27]MH_SAM_APDU [00:09:27]CAPDU: 80 17 00 00 [00:09:27]Write to MH i2c: E2 08 00 AB 2C 80 17 00 00 00 00 00 00 57 [00:09:27]Write i2c OK [00:09:27]MH_I2C_Read... [00:09:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:27]Read from MH i2c: E2 [00:09:27]MH_I2C_Read... [00:09:27]Read from MH i2c: E2 FD 00 [00:09:27]MH_I2C_Read... [00:09:27]Read from MH i2c: E2 FD 00 AB 2C 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 CF [00:09:28]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:09:28]wFMCommunicate OK [00:09:28]wFMCommunicate request_size=4 [00:09:28]MH_SAM_APDU [00:09:28]CAPDU: 80 17 00 00 [00:09:28]Write to MH i2c: E2 08 00 AC 2C 80 17 00 00 00 00 00 00 58 [00:09:28]Write i2c OK [00:09:28]MH_I2C_Read... [00:09:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:09:28]Read from MH i2c: E2 [00:09:28]MH_I2C_Read... [00:09:28]Read from MH i2c: E2 E1 00 [00:09:28]MH_I2C_Read... [00:09:28]Read from MH i2c: E2 E1 00 AC 2C 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 46 [00:09:28]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:09:28]wFMCommunicate OK [00:09:28]SAM_PROTO_GetFMData done [00:09:28]requested_item fm.sale_refund.total is exist - process it [00:09:28]requested_item fm.buy.total is exist - process it [00:09:28]requested_item shift.sale.total is exist - process it [00:09:28]SAM_PROTO_GetShiftData [00:09:28]wFMCommunicate request_size=4 [00:09:28]MH_SAM_APDU [00:09:28]CAPDU: 80 13 02 00 [00:09:28]Write to MH i2c: E2 08 00 AD 2C 80 13 02 00 00 00 00 00 57 [00:09:28]Write i2c OK [00:09:28]MH_I2C_Read... [00:09:28]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:09:28]Read from MH i2c: E2 [00:09:28]MH_I2C_Read... [00:09:28]Read from MH i2c: E2 FD 00 [00:09:28]MH_I2C_Read... [00:09:28]Read from MH i2c: E2 FD 00 AD 2C 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 CA [00:09:29]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:09:29]wFMCommunicate OK [00:09:29]wFMCommunicate request_size=4 [00:09:29]MH_SAM_APDU [00:09:29]CAPDU: 80 17 00 00 [00:09:29]Write to MH i2c: E2 08 00 AE 2C 80 17 00 00 00 00 00 00 5A [00:09:29]Write i2c OK [00:09:29]MH_I2C_Read... [00:09:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:29]Read from MH i2c: E2 [00:09:29]MH_I2C_Read... [00:09:29]Read from MH i2c: E2 FD 00 [00:09:29]MH_I2C_Read... [00:09:29]Read from MH i2c: E2 FD 00 AE 2C 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 62 [00:09:29]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:09:29]wFMCommunicate OK [00:09:29]wFMCommunicate request_size=4 [00:09:29]MH_SAM_APDU [00:09:29]CAPDU: 80 17 00 00 [00:09:29]Write to MH i2c: E2 08 00 AF 2C 80 17 00 00 00 00 00 00 5B [00:09:29]Write i2c OK [00:09:29]MH_I2C_Read... [00:09:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:29]Read from MH i2c: E2 [00:09:29]MH_I2C_Read... [00:09:29]Read from MH i2c: E2 FD 00 [00:09:29]MH_I2C_Read... [00:09:29]Read from MH i2c: E2 FD 00 AF 2C 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 2D [00:09:30]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:09:30]wFMCommunicate OK [00:09:30]wFMCommunicate request_size=4 [00:09:30]MH_SAM_APDU [00:09:30]CAPDU: 80 17 00 00 [00:09:30]Write to MH i2c: E2 08 00 B0 2C 80 17 00 00 00 00 00 00 5C [00:09:30]Write i2c OK [00:09:30]MH_I2C_Read... [00:09:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:30]Read from MH i2c: E2 [00:09:30]MH_I2C_Read... [00:09:30]Read from MH i2c: E2 FD 00 [00:09:30]MH_I2C_Read... [00:09:30]Read from MH i2c: E2 FD 00 B0 2C 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 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 CE [00:09:30]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:09:30]wFMCommunicate OK [00:09:30]wFMCommunicate request_size=4 [00:09:30]MH_SAM_APDU [00:09:30]CAPDU: 80 17 00 00 [00:09:30]Write to MH i2c: E2 08 00 B1 2C 80 17 00 00 00 00 00 00 5D [00:09:30]Write i2c OK [00:09:30]MH_I2C_Read... [00:09:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:09:30]Read from MH i2c: E2 [00:09:30]MH_I2C_Read... [00:09:30]Read from MH i2c: E2 BD 00 [00:09:30]MH_I2C_Read... [00:09:30]Read from MH i2c: E2 BD 00 B1 2C 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 43 [00:09:30]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:09:30]wFMCommunicate OK [00:09:30]SAM_PROTO_GetShiftData done [00:09:30]requested_item shift.sale.total_cash is exist - process it [00:09:30]requested_item shift.sale_refund.total is exist - process it [00:09:30]requested_item shift.sale_refund.total_cash is exist - process it [00:09:30]requested_item shift.buy.total is exist - process it [00:09:30]requested_item shift.buy.total_cash is exist - process it [00:09:30]produce_requested_data done [00:09:30]produce_requested_data return {"fm.sale.total":11672671.72,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:09:30]process_action_free get_value [00:09:30]json_value_free [00:09:30]json_value_free done [00:09:30]process_json_proto returns [00:09:30]Send response to host [00:09:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11672671.72,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:09:30]free response buf [00:09:30]execute_script done [00:09:30]execute_script returns [00:09:30]free content buf [00:09:30]Sock 7.Close socket [00:09:30]Sock 7.Thread stoped [00:09:31]OFD Sender: No OFD packet to send [00:09:36]OFD Sender: No OFD packet to send [00:09:41]OFD Sender: No OFD packet to send [00:09:46]OFD Sender: No OFD packet to send [00:09:51]OFD Sender: No OFD packet to send [00:09:56]OFD Sender: No OFD packet to send [00:10:01]OFD Sender: No OFD packet to send [00:10:06]OFD Sender: No OFD packet to send [00:10:11]OFD Sender: No OFD packet to send [00:10:16]OFD Sender: No OFD packet to send [00:10:21]OFD Sender: No OFD packet to send [00:10:26]OFD Sender: No OFD packet to send [00:10:31]OFD Sender: No OFD packet to send [00:10:36]OFD Sender: No OFD packet to send [00:10:41]OFD Sender: No OFD packet to send [00:10:46]OFD Sender: No OFD packet to send [00:10:51]OFD Sender: No OFD packet to send [00:10:56]OFD Sender: No OFD packet to send [00:11:01]OFD Sender: No OFD packet to send [00:11:06]OFD Sender: No OFD packet to send [00:11:11]OFD Sender: No OFD packet to send [00:11:16]OFD Sender: No OFD packet to send [00:11:21]OFD Sender: No OFD packet to send [00:11:26]OFD Sender: No OFD packet to send [00:11:31]OFD Sender: No OFD packet to send [00:11:36]OFD Sender: No OFD packet to send [00:11:41]OFD Sender: No OFD packet to send [00:11:46]OFD Sender: No OFD packet to send [00:11:51]OFD Sender: No OFD packet to send [00:11:56]OFD Sender: No OFD packet to send [00:12:01]OFD Sender: No OFD packet to send [00:12:06]OFD Sender: No OFD packet to send [00:12:11]OFD Sender: No OFD packet to send [00:12:16]OFD Sender: No OFD packet to send [00:12:21]OFD Sender: No OFD packet to send [00:12:26]OFD Sender: No OFD packet to send [00:12:31]OFD Sender: No OFD packet to send [00:12:36]OFD Sender: No OFD packet to send [00:12:41]OFD Sender: No OFD packet to send [00:12:46]OFD Sender: No OFD packet to send [00:12:51]OFD Sender: No OFD packet to send [00:12:56]OFD Sender: No OFD packet to send [00:13:02]OFD Sender: No OFD packet to send [00:13:07]OFD Sender: No OFD packet to send [00:13:12]OFD Sender: No OFD packet to send [00:13:17]OFD Sender: No OFD packet to send [00:13:22]OFD Sender: No OFD packet to send [00:13:27]OFD Sender: No OFD packet to send [00:13:32]OFD Sender: No OFD packet to send [00:13:37]OFD Sender: No OFD packet to send [00:13:42]OFD Sender: No OFD packet to send [00:13:47]OFD Sender: No OFD packet to send [00:13:52]OFD Sender: No OFD packet to send [00:13:56]int [00:13:56]Write to MH i2c: 01 00 00 B2 2C DE [00:13:56]*** FLAG_PRN_PAP1 set [00:13:56]Write i2c OK [00:13:56]MH_I2C_Read... [00:13:56]Read from MH i2c: 01 [00:13:56]MH_I2C_Read... [00:13:56]Read from MH i2c: 01 07 00 [00:13:56]MH_I2C_Read... [00:13:56]Read from MH i2c: 01 07 00 B2 2C 00 01 00 00 00 FF 0F F4 [00:13:56]state=0 [00:13:56]No paper [00:13:56]int [00:13:56]Write to MH i2c: 01 00 00 B3 2C DF [00:13:56]*** FLAG_PRN_PAP2 set [00:13:56]Write i2c OK [00:13:56]MH_I2C_Read... [00:13:56]Read from MH i2c: 01 [00:13:56]MH_I2C_Read... [00:13:56]Read from MH i2c: 01 07 00 [00:13:56]MH_I2C_Read... [00:13:56]Read from MH i2c: 01 07 00 B3 2C 00 03 00 00 00 FF 0F F7 [00:13:56]state=0 [00:13:56]No paper [00:13:56]Cover opened [00:13:57]OFD Sender: No OFD packet to send [00:14:01]Write to MH i2c: 01 00 00 B4 2C E0 [00:14:01]Write i2c OK [00:14:01]MH_I2C_Read... [00:14:01]Read from MH i2c: 01 [00:14:01]MH_I2C_Read... [00:14:01]Read from MH i2c: 01 07 00 [00:14:01]MH_I2C_Read... [00:14:01]Read from MH i2c: 01 07 00 B4 2C 00 03 00 00 00 FF 0F F8 [00:14:01]state=3 [00:14:01]No paper [00:14:01]Cover opened [00:14:02]OFD Sender: No OFD packet to send [00:14:06]Write to MH i2c: 01 00 00 B5 2C E1 [00:14:06]Write i2c OK [00:14:06]MH_I2C_Read... [00:14:06]Read from MH i2c: 01 [00:14:06]MH_I2C_Read... [00:14:06]Read from MH i2c: 01 07 00 [00:14:06]MH_I2C_Read... [00:14:06]Read from MH i2c: 01 07 00 B5 2C 00 03 00 00 00 FF 0F F9 [00:14:06]state=3 [00:14:06]No paper [00:14:06]Cover opened [00:14:07]OFD Sender: No OFD packet to send [00:14:11]Write to MH i2c: 01 00 00 B6 2C E2 [00:14:11]Write i2c OK [00:14:11]MH_I2C_Read... [00:14:11]Read from MH i2c: 01 [00:14:11]MH_I2C_Read... [00:14:11]Read from MH i2c: 01 07 00 [00:14:11]MH_I2C_Read... [00:14:11]Read from MH i2c: 01 07 00 B6 2C 00 03 00 00 00 FF 0F FA [00:14:11]state=3 [00:14:11]No paper [00:14:11]Cover opened [00:14:12]OFD Sender: No OFD packet to send [00:14:16]Write to MH i2c: 01 00 00 B7 2C E3 [00:14:16]Write i2c OK [00:14:16]MH_I2C_Read... [00:14:16]Read from MH i2c: 01 [00:14:16]MH_I2C_Read... [00:14:16]Read from MH i2c: 01 07 00 [00:14:16]MH_I2C_Read... [00:14:16]Read from MH i2c: 01 07 00 B7 2C 00 03 00 00 00 FF 0F FB [00:14:16]state=3 [00:14:16]No paper [00:14:16]Cover opened [00:14:17]OFD Sender: No OFD packet to send [00:14:21]Write to MH i2c: 01 00 00 B8 2C E4 [00:14:21]Write i2c OK [00:14:21]MH_I2C_Read... [00:14:21]Read from MH i2c: 01 [00:14:21]MH_I2C_Read... [00:14:21]Read from MH i2c: 01 07 00 [00:14:21]MH_I2C_Read... [00:14:21]Read from MH i2c: 01 07 00 B8 2C 00 03 00 00 00 FF 0F FC [00:14:21]state=3 [00:14:21]No paper [00:14:21]Cover opened [00:14:22]OFD Sender: No OFD packet to send [00:14:26]Write to MH i2c: 01 00 00 B9 2C E5 [00:14:26]Write i2c OK [00:14:26]MH_I2C_Read... [00:14:26]Read from MH i2c: 01 [00:14:26]MH_I2C_Read... [00:14:26]Read from MH i2c: 01 07 00 [00:14:26]MH_I2C_Read... [00:14:26]Read from MH i2c: 01 07 00 B9 2C 00 03 00 00 00 FF 0F FD [00:14:26]state=3 [00:14:26]No paper [00:14:26]Cover opened [00:14:27]OFD Sender: No OFD packet to send [00:14:31]Write to MH i2c: 01 00 00 BA 2C E6 [00:14:31]Write i2c OK [00:14:31]MH_I2C_Read... [00:14:31]Read from MH i2c: 01 [00:14:31]MH_I2C_Read... [00:14:31]Read from MH i2c: 01 07 00 [00:14:31]MH_I2C_Read... [00:14:31]Read from MH i2c: 01 07 00 BA 2C 00 03 00 00 00 FF 0F FE [00:14:31]state=3 [00:14:31]No paper [00:14:31]Cover opened [00:14:32]OFD Sender: No OFD packet to send [00:14:36]Write to MH i2c: 01 00 00 BB 2C E7 [00:14:36]Write i2c OK [00:14:36]MH_I2C_Read... [00:14:36]Read from MH i2c: 01 [00:14:36]MH_I2C_Read... [00:14:36]Read from MH i2c: 01 07 00 [00:14:36]MH_I2C_Read... [00:14:36]Read from MH i2c: 01 07 00 BB 2C 00 03 00 00 00 FF 0F FF [00:14:36]state=3 [00:14:36]No paper [00:14:36]Cover opened [00:14:37]OFD Sender: No OFD packet to send [00:14:39]int [00:14:39]Write to MH i2c: 01 00 00 BC 2C E8 [00:14:39]*** FLAG_PRN_PAP1 reset [00:14:39]*** FLAG_PRN_PAP2 reset [00:14:39]Write i2c OK [00:14:39]MH_I2C_Read... [00:14:39]Read from MH i2c: 01 [00:14:39]MH_I2C_Read... [00:14:39]Read from MH i2c: 01 07 00 [00:14:39]MH_I2C_Read... [00:14:39]Read from MH i2c: 01 07 00 BC 2C 00 00 00 00 00 FF 0F FD [00:14:39]state=3 [00:14:39]Cover closed [00:14:42]OFD Sender: No OFD packet to send [00:14:47]OFD Sender: No OFD packet to send [00:14:52]OFD Sender: No OFD packet to send [00:14:57]OFD Sender: No OFD packet to send [00:15:02]OFD Sender: No OFD packet to send [00:15:07]OFD Sender: No OFD packet to send [00:15:12]OFD Sender: No OFD packet to send [00:15:17]OFD Sender: No OFD packet to send [00:15:22]OFD Sender: No OFD packet to send [00:15:27]OFD Sender: No OFD packet to send [00:15:32]OFD Sender: No OFD packet to send [00:15:37]OFD Sender: No OFD packet to send [00:15:42]OFD Sender: No OFD packet to send [00:15:47]OFD Sender: No OFD packet to send [00:15:52]OFD Sender: No OFD packet to send [00:15:57]OFD Sender: No OFD packet to send [00:16:02]OFD Sender: No OFD packet to send [00:16:07]OFD Sender: No OFD packet to send [00:16:12]OFD Sender: No OFD packet to send [00:16:17]OFD Sender: No OFD packet to send [00:16:22]OFD Sender: No OFD packet to send [00:16:27]OFD Sender: No OFD packet to send [00:16:32]OFD Sender: No OFD packet to send [00:16:37]OFD Sender: No OFD packet to send [00:16:42]OFD Sender: No OFD packet to send [00:16:47]OFD Sender: No OFD packet to send [00:16:52]OFD Sender: No OFD packet to send [00:16:57]OFD Sender: No OFD packet to send [00:17:02]OFD Sender: No OFD packet to send [00:17:07]OFD Sender: No OFD packet to send [00:17:12]OFD Sender: No OFD packet to send [00:17:17]OFD Sender: No OFD packet to send [00:17:22]OFD Sender: No OFD packet to send [00:17:27]OFD Sender: No OFD packet to send [00:17:32]OFD Sender: No OFD packet to send [00:17:37]OFD Sender: No OFD packet to send [00:17:42]OFD Sender: No OFD packet to send [00:17:47]OFD Sender: No OFD packet to send [00:17:52]OFD Sender: No OFD packet to send [00:17:57]OFD Sender: No OFD packet to send [00:18:02]OFD Sender: No OFD packet to send [00:18:07]OFD Sender: No OFD packet to send [00:18:12]OFD Sender: No OFD packet to send [00:18:17]OFD Sender: No OFD packet to send [00:18:22]OFD Sender: No OFD packet to send [00:18:27]OFD Sender: No OFD packet to send [00:18:32]OFD Sender: No OFD packet to send [00:18:37]OFD Sender: No OFD packet to send [00:18:42]OFD Sender: No OFD packet to send [00:18:47]OFD Sender: No OFD packet to send [00:18:52]OFD Sender: No OFD packet to send [00:18:57]OFD Sender: No OFD packet to send [00:19:02]OFD Sender: No OFD packet to send [00:19:07]OFD Sender: No OFD packet to send [00:19:12]OFD Sender: No OFD packet to send [00:19:17]OFD Sender: No OFD packet to send [00:19:22]OFD Sender: No OFD packet to send [00:19:27]OFD Sender: No OFD packet to send [00:19:32]OFD Sender: No OFD packet to send [00:19:37]OFD Sender: No OFD packet to send [00:19:42]OFD Sender: No OFD packet to send [00:19:47]OFD Sender: No OFD packet to send [00:19:52]OFD Sender: No OFD packet to send [00:19:57]OFD Sender: No OFD packet to send [00:20:02]OFD Sender: No OFD packet to send [00:20:07]OFD Sender: No OFD packet to send [00:20:12]OFD Sender: No OFD packet to send [00:20:17]OFD Sender: No OFD packet to send [00:20:22]OFD Sender: No OFD packet to send [00:20:27]OFD Sender: No OFD packet to send [00:20:32]OFD Sender: No OFD packet to send [00:20:37]OFD Sender: No OFD packet to send [00:20:42]OFD Sender: No OFD packet to send [00:20:47]OFD Sender: No OFD packet to send [00:20:52]OFD Sender: No OFD packet to send [00:20:57]OFD Sender: No OFD packet to send [00:21:02]OFD Sender: No OFD packet to send [00:21:07]OFD Sender: No OFD packet to send [00:21:12]OFD Sender: No OFD packet to send [00:21:17]OFD Sender: No OFD packet to send [00:21:22]OFD Sender: No OFD packet to send [00:21:27]OFD Sender: No OFD packet to send [00:21:32]OFD Sender: No OFD packet to send [00:21:37]OFD Sender: No OFD packet to send [00:21:42]OFD Sender: No OFD packet to send [00:21:47]OFD Sender: No OFD packet to send [00:21:52]OFD Sender: No OFD packet to send [00:21:57]OFD Sender: No OFD packet to send [00:22:02]OFD Sender: No OFD packet to send [00:22:07]OFD Sender: No OFD packet to send [00:22:12]OFD Sender: No OFD packet to send [00:22:17]OFD Sender: No OFD packet to send [00:22:22]OFD Sender: No OFD packet to send [00:22:27]OFD Sender: No OFD packet to send [00:22:32]OFD Sender: No OFD packet to send [00:22:37]OFD Sender: No OFD packet to send [00:22:42]OFD Sender: No OFD packet to send [00:22:47]OFD Sender: No OFD packet to send [00:22:52]OFD Sender: No OFD packet to send [00:22:57]OFD Sender: No OFD packet to send [00:23:02]OFD Sender: No OFD packet to send [00:23:07]OFD Sender: No OFD packet to send [00:23:12]OFD Sender: No OFD packet to send [00:23:17]OFD Sender: No OFD packet to send [00:23:22]OFD Sender: No OFD packet to send [00:23:27]OFD Sender: No OFD packet to send [00:23:32]OFD Sender: No OFD packet to send [00:23:37]OFD Sender: No OFD packet to send [00:23:42]OFD Sender: No OFD packet to send [00:23:47]OFD Sender: No OFD packet to send [00:23:52]OFD Sender: No OFD packet to send [00:23:57]OFD Sender: No OFD packet to send [00:24:02]OFD Sender: No OFD packet to send [00:24:07]OFD Sender: No OFD packet to send [00:24:12]OFD Sender: No OFD packet to send [00:24:17]OFD Sender: No OFD packet to send [00:24:22]OFD Sender: No OFD packet to send [00:24:27]OFD Sender: No OFD packet to send [00:24:32]OFD Sender: No OFD packet to send [00:24:37]OFD Sender: No OFD packet to send [00:24:42]OFD Sender: No OFD packet to send [00:24:47]OFD Sender: No OFD packet to send [00:24:52]OFD Sender: No OFD packet to send [00:24:57]OFD Sender: No OFD packet to send [00:25:02]OFD Sender: No OFD packet to send [00:25:07]OFD Sender: No OFD packet to send [00:25:12]OFD Sender: No OFD packet to send [00:25:17]OFD Sender: No OFD packet to send [00:25:22]OFD Sender: No OFD packet to send [00:25:27]OFD Sender: No OFD packet to send [00:25:32]OFD Sender: No OFD packet to send [00:25:37]OFD Sender: No OFD packet to send [00:25:42]OFD Sender: No OFD packet to send [00:25:47]OFD Sender: No OFD packet to send [00:25:52]OFD Sender: No OFD packet to send [00:25:57]OFD Sender: No OFD packet to send [00:26:02]OFD Sender: No OFD packet to send [00:26:07]OFD Sender: No OFD packet to send [00:26:12]OFD Sender: No OFD packet to send [00:26:17]OFD Sender: No OFD packet to send [00:26:22]OFD Sender: No OFD packet to send [00:26:27]OFD Sender: No OFD packet to send [00:26:32]OFD Sender: No OFD packet to send [00:26:37]OFD Sender: No OFD packet to send [00:26:42]OFD Sender: No OFD packet to send [00:26:47]OFD Sender: No OFD packet to send [00:26:52]OFD Sender: No OFD packet to send [00:26:57]OFD Sender: No OFD packet to send [00:27:02]OFD Sender: No OFD packet to send [00:27:07]OFD Sender: No OFD packet to send [00:27:12]OFD Sender: No OFD packet to send [00:27:17]OFD Sender: No OFD packet to send [00:27:22]OFD Sender: No OFD packet to send [00:27:27]OFD Sender: No OFD packet to send [00:27:32]OFD Sender: No OFD packet to send [00:27:37]OFD Sender: No OFD packet to send [00:27:42]OFD Sender: No OFD packet to send [00:27:47]OFD Sender: No OFD packet to send [00:27:52]OFD Sender: No OFD packet to send [00:27:57]OFD Sender: No OFD packet to send [00:28:02]OFD Sender: No OFD packet to send [00:28:07]OFD Sender: No OFD packet to send [00:28:12]OFD Sender: No OFD packet to send [00:28:17]OFD Sender: No OFD packet to send [00:28:22]OFD Sender: No OFD packet to send [00:28:27]OFD Sender: No OFD packet to send [00:28:32]OFD Sender: No OFD packet to send [00:28:37]OFD Sender: No OFD packet to send [00:28:42]OFD Sender: No OFD packet to send [00:28:47]OFD Sender: No OFD packet to send [00:28:52]OFD Sender: No OFD packet to send [00:28:57]OFD Sender: No OFD packet to send [00:29:02]OFD Sender: No OFD packet to send [00:29:07]OFD Sender: No OFD packet to send [00:29:12]OFD Sender: No OFD packet to send [00:29:17]OFD Sender: No OFD packet to send [00:29:22]OFD Sender: No OFD packet to send [00:29:27]OFD Sender: No OFD packet to send [00:29:32]OFD Sender: No OFD packet to send [00:29:37]OFD Sender: No OFD packet to send [00:29:42]OFD Sender: No OFD packet to send [00:29:47]OFD Sender: No OFD packet to send [00:29:52]OFD Sender: No OFD packet to send [00:29:57]OFD Sender: No OFD packet to send [00:30:02]OFD Sender: No OFD packet to send [00:30:07]OFD Sender: No OFD packet to send [00:30:12]OFD Sender: No OFD packet to send [00:30:17]OFD Sender: No OFD packet to send [00:30:22]OFD Sender: No OFD packet to send [00:30:27]OFD Sender: No OFD packet to send [00:30:32]OFD Sender: No OFD packet to send [00:30:37]OFD Sender: No OFD packet to send [00:30:42]OFD Sender: No OFD packet to send [00:30:47]OFD Sender: No OFD packet to send [00:30:52]OFD Sender: No OFD packet to send [00:30:57]OFD Sender: No OFD packet to send [00:31:02]OFD Sender: No OFD packet to send [00:31:07]OFD Sender: No OFD packet to send [00:31:12]OFD Sender: No OFD packet to send [00:31:17]OFD Sender: No OFD packet to send [00:31:22]OFD Sender: No OFD packet to send [00:31:27]OFD Sender: No OFD packet to send [00:31:32]OFD Sender: No OFD packet to send [00:31:37]OFD Sender: No OFD packet to send [00:31:42]OFD Sender: No OFD packet to send [00:31:47]OFD Sender: No OFD packet to send [00:31:52]OFD Sender: No OFD packet to send [00:31:57]OFD Sender: No OFD packet to send [00:32:02]OFD Sender: No OFD packet to send [00:32:07]OFD Sender: No OFD packet to send [00:32:12]OFD Sender: No OFD packet to send [00:32:17]OFD Sender: No OFD packet to send [00:32:22]OFD Sender: No OFD packet to send [00:32:27]OFD Sender: No OFD packet to send [00:32:32]OFD Sender: No OFD packet to send [00:32:38]OFD Sender: No OFD packet to send [00:32:43]OFD Sender: No OFD packet to send [00:32:48]OFD Sender: No OFD packet to send [00:32:53]OFD Sender: No OFD packet to send [00:32:58]OFD Sender: No OFD packet to send [00:33:03]OFD Sender: No OFD packet to send [00:33:08]OFD Sender: No OFD packet to send [00:33:13]OFD Sender: No OFD packet to send [00:33:18]OFD Sender: No OFD packet to send [00:33:23]OFD Sender: No OFD packet to send [00:33:28]OFD Sender: No OFD packet to send [00:33:33]OFD Sender: No OFD packet to send [00:33:38]OFD Sender: No OFD packet to send [00:33:43]OFD Sender: No OFD packet to send [00:33:48]OFD Sender: No OFD packet to send [00:33:53]OFD Sender: No OFD packet to send [00:33:58]OFD Sender: No OFD packet to send [00:34:03]OFD Sender: No OFD packet to send [00:34:08]OFD Sender: No OFD packet to send [00:34:13]OFD Sender: No OFD packet to send [00:34:18]OFD Sender: No OFD packet to send [00:34:23]OFD Sender: No OFD packet to send [00:34:28]OFD Sender: No OFD packet to send [00:34:33]OFD Sender: No OFD packet to send [00:34:38]OFD Sender: No OFD packet to send [00:34:43]OFD Sender: No OFD packet to send [00:34:48]OFD Sender: No OFD packet to send [00:34:53]OFD Sender: No OFD packet to send [00:34:58]OFD Sender: No OFD packet to send [00:35:03]OFD Sender: No OFD packet to send [00:35:08]OFD Sender: No OFD packet to send [00:35:13]OFD Sender: No OFD packet to send [00:35:18]OFD Sender: No OFD packet to send [00:35:23]OFD Sender: No OFD packet to send [00:35:28]OFD Sender: No OFD packet to send [00:35:33]OFD Sender: No OFD packet to send [00:35:38]OFD Sender: No OFD packet to send [00:35:43]OFD Sender: No OFD packet to send [00:35:48]OFD Sender: No OFD packet to send [00:35:53]OFD Sender: No OFD packet to send [00:35:58]OFD Sender: No OFD packet to send [00:36:03]OFD Sender: No OFD packet to send [00:36:08]OFD Sender: No OFD packet to send [00:36:13]OFD Sender: No OFD packet to send [00:36:18]OFD Sender: No OFD packet to send [00:36:23]OFD Sender: No OFD packet to send [00:36:28]OFD Sender: No OFD packet to send [00:36:33]OFD Sender: No OFD packet to send [00:36:38]OFD Sender: No OFD packet to send [00:36:43]OFD Sender: No OFD packet to send [00:36:48]OFD Sender: No OFD packet to send [00:36:53]OFD Sender: No OFD packet to send [00:36:58]OFD Sender: No OFD packet to send [00:37:03]OFD Sender: No OFD packet to send [00:37:08]OFD Sender: No OFD packet to send [00:37:13]OFD Sender: No OFD packet to send [00:37:18]OFD Sender: No OFD packet to send [00:37:23]OFD Sender: No OFD packet to send [00:37:28]OFD Sender: No OFD packet to send [00:37:33]OFD Sender: No OFD packet to send [00:37:38]OFD Sender: No OFD packet to send [00:37:43]OFD Sender: No OFD packet to send [00:37:48]OFD Sender: No OFD packet to send [00:37:53]OFD Sender: No OFD packet to send [00:37:58]OFD Sender: No OFD packet to send [00:38:03]OFD Sender: No OFD packet to send [00:38:08]OFD Sender: No OFD packet to send [00:38:13]OFD Sender: No OFD packet to send [00:38:18]OFD Sender: No OFD packet to send [00:38:23]OFD Sender: No OFD packet to send [00:38:28]OFD Sender: No OFD packet to send [00:38:33]OFD Sender: No OFD packet to send [00:38:38]OFD Sender: No OFD packet to send [00:38:43]OFD Sender: No OFD packet to send [00:38:48]OFD Sender: No OFD packet to send [00:38:53]OFD Sender: No OFD packet to send [00:38:58]OFD Sender: No OFD packet to send [00:39:03]OFD Sender: No OFD packet to send [00:39:08]OFD Sender: No OFD packet to send [00:39:13]OFD Sender: No OFD packet to send [00:39:18]OFD Sender: No OFD packet to send [00:39:23]OFD Sender: No OFD packet to send [00:39:28]OFD Sender: No OFD packet to send [00:39:33]OFD Sender: No OFD packet to send [00:39:38]OFD Sender: No OFD packet to send [00:39:43]OFD Sender: No OFD packet to send [00:39:48]OFD Sender: No OFD packet to send [00:39:53]OFD Sender: No OFD packet to send [00:39:58]OFD Sender: No OFD packet to send [00:40:03]OFD Sender: No OFD packet to send [00:40:08]OFD Sender: No OFD packet to send [00:40:13]OFD Sender: No OFD packet to send [00:40:18]OFD Sender: No OFD packet to send [00:40:23]OFD Sender: No OFD packet to send [00:40:28]OFD Sender: No OFD packet to send [00:40:33]OFD Sender: No OFD packet to send [00:40:38]OFD Sender: No OFD packet to send [00:40:43]OFD Sender: No OFD packet to send [00:40:48]OFD Sender: No OFD packet to send [00:40:53]OFD Sender: No OFD packet to send [00:40:58]OFD Sender: No OFD packet to send [00:41:03]OFD Sender: No OFD packet to send [00:41:08]OFD Sender: No OFD packet to send [00:41:13]OFD Sender: No OFD packet to send [00:41:18]OFD Sender: No OFD packet to send [00:41:23]OFD Sender: No OFD packet to send [00:41:28]OFD Sender: No OFD packet to send [00:41:33]OFD Sender: No OFD packet to send [00:41:38]OFD Sender: No OFD packet to send [00:41:43]OFD Sender: No OFD packet to send [00:41:48]OFD Sender: No OFD packet to send [00:41:53]OFD Sender: No OFD packet to send [00:41:58]OFD Sender: No OFD packet to send [00:42:03]OFD Sender: No OFD packet to send [00:42:08]OFD Sender: No OFD packet to send [00:42:13]OFD Sender: No OFD packet to send [00:42:18]OFD Sender: No OFD packet to send [00:42:23]OFD Sender: No OFD packet to send [00:42:28]OFD Sender: No OFD packet to send [00:42:33]OFD Sender: No OFD packet to send [00:42:38]OFD Sender: No OFD packet to send [00:42:43]OFD Sender: No OFD packet to send [00:42:48]OFD Sender: No OFD packet to send [00:42:53]OFD Sender: No OFD packet to send [00:42:58]OFD Sender: No OFD packet to send [00:43:03]OFD Sender: No OFD packet to send [00:43:08]OFD Sender: No OFD packet to send [00:43:13]OFD Sender: No OFD packet to send [00:43:18]OFD Sender: No OFD packet to send [00:43:23]OFD Sender: No OFD packet to send [00:43:28]OFD Sender: No OFD packet to send [00:43:33]OFD Sender: No OFD packet to send [00:43:38]OFD Sender: No OFD packet to send [00:43:43]OFD Sender: No OFD packet to send [00:43:48]OFD Sender: No OFD packet to send [00:43:53]OFD Sender: No OFD packet to send [00:43:58]OFD Sender: No OFD packet to send [00:44:03]OFD Sender: No OFD packet to send [00:44:08]OFD Sender: No OFD packet to send [00:44:13]OFD Sender: No OFD packet to send [00:44:18]OFD Sender: No OFD packet to send [00:44:23]OFD Sender: No OFD packet to send [00:44:28]OFD Sender: No OFD packet to send [00:44:33]OFD Sender: No OFD packet to send [00:44:38]OFD Sender: No OFD packet to send [00:44:43]OFD Sender: No OFD packet to send [00:44:48]OFD Sender: No OFD packet to send [00:44:53]OFD Sender: No OFD packet to send [00:44:58]OFD Sender: No OFD packet to send [00:45:03]OFD Sender: No OFD packet to send [00:45:08]OFD Sender: No OFD packet to send [00:45:13]OFD Sender: No OFD packet to send [00:45:18]OFD Sender: No OFD packet to send [00:45:23]OFD Sender: No OFD packet to send [00:45:28]OFD Sender: No OFD packet to send [00:45:33]OFD Sender: No OFD packet to send [00:45:38]OFD Sender: No OFD packet to send [00:45:43]OFD Sender: No OFD packet to send [00:45:48]OFD Sender: No OFD packet to send [00:45:53]OFD Sender: No OFD packet to send [00:45:58]OFD Sender: No OFD packet to send [00:46:03]OFD Sender: No OFD packet to send [00:46:08]OFD Sender: No OFD packet to send [00:46:13]OFD Sender: No OFD packet to send [00:46:18]OFD Sender: No OFD packet to send [00:46:23]OFD Sender: No OFD packet to send [00:46:28]OFD Sender: No OFD packet to send [00:46:33]OFD Sender: No OFD packet to send [00:46:38]OFD Sender: No OFD packet to send [00:46:43]OFD Sender: No OFD packet to send [00:46:48]OFD Sender: No OFD packet to send [00:46:53]OFD Sender: No OFD packet to send [00:46:58]OFD Sender: No OFD packet to send [00:47:03]OFD Sender: No OFD packet to send [00:47:08]OFD Sender: No OFD packet to send [00:47:13]OFD Sender: No OFD packet to send [00:47:18]OFD Sender: No OFD packet to send [00:47:23]OFD Sender: No OFD packet to send [00:47:28]OFD Sender: No OFD packet to send [00:47:33]OFD Sender: No OFD packet to send [00:47:38]OFD Sender: No OFD packet to send [00:47:43]OFD Sender: No OFD packet to send [00:47:48]OFD Sender: No OFD packet to send [00:47:53]OFD Sender: No OFD packet to send [00:47:58]OFD Sender: No OFD packet to send [00:48:03]OFD Sender: No OFD packet to send [00:48:08]OFD Sender: No OFD packet to send [00:48:13]OFD Sender: No OFD packet to send [00:48:18]OFD Sender: No OFD packet to send [00:48:23]OFD Sender: No OFD packet to send [00:48:28]OFD Sender: No OFD packet to send [00:48:33]OFD Sender: No OFD packet to send [00:48:38]OFD Sender: No OFD packet to send [00:48:43]OFD Sender: No OFD packet to send [00:48:48]OFD Sender: No OFD packet to send [00:48:53]OFD Sender: No OFD packet to send [00:48:58]OFD Sender: No OFD packet to send [00:49:03]OFD Sender: No OFD packet to send [00:49:08]OFD Sender: No OFD packet to send [00:49:13]OFD Sender: No OFD packet to send [00:49:18]OFD Sender: No OFD packet to send [00:49:23]OFD Sender: No OFD packet to send [00:49:28]OFD Sender: No OFD packet to send [00:49:33]OFD Sender: No OFD packet to send [00:49:38]OFD Sender: No OFD packet to send [00:49:43]OFD Sender: No OFD packet to send [00:49:48]OFD Sender: No OFD packet to send [00:49:53]OFD Sender: No OFD packet to send [00:49:58]OFD Sender: No OFD packet to send [00:50:03]OFD Sender: No OFD packet to send [00:50:08]OFD Sender: No OFD packet to send [00:50:13]OFD Sender: No OFD packet to send [00:50:18]OFD Sender: No OFD packet to send [00:50:23]OFD Sender: No OFD packet to send [00:50:28]OFD Sender: No OFD packet to send [00:50:33]OFD Sender: No OFD packet to send [00:50:38]OFD Sender: No OFD packet to send [00:50:43]OFD Sender: No OFD packet to send [00:50:48]OFD Sender: No OFD packet to send [00:50:53]OFD Sender: No OFD packet to send [00:50:58]OFD Sender: No OFD packet to send [00:51:03]OFD Sender: No OFD packet to send [00:51:08]OFD Sender: No OFD packet to send [00:51:13]OFD Sender: No OFD packet to send [00:51:18]OFD Sender: No OFD packet to send [00:51:23]OFD Sender: No OFD packet to send [00:51:28]OFD Sender: No OFD packet to send [00:51:33]OFD Sender: No OFD packet to send [00:51:38]OFD Sender: No OFD packet to send [00:51:43]OFD Sender: No OFD packet to send [00:51:48]OFD Sender: No OFD packet to send [00:51:53]OFD Sender: No OFD packet to send [00:51:58]OFD Sender: No OFD packet to send [00:52:03]OFD Sender: No OFD packet to send [00:52:08]OFD Sender: No OFD packet to send [00:52:13]OFD Sender: No OFD packet to send [00:52:18]OFD Sender: No OFD packet to send [00:52:23]OFD Sender: No OFD packet to send [00:52:29]OFD Sender: No OFD packet to send [00:52:34]OFD Sender: No OFD packet to send [00:52:39]OFD Sender: No OFD packet to send [00:52:44]OFD Sender: No OFD packet to send [00:52:49]OFD Sender: No OFD packet to send [00:52:54]OFD Sender: No OFD packet to send [00:52:59]OFD Sender: No OFD packet to send [00:53:04]OFD Sender: No OFD packet to send [00:53:09]OFD Sender: No OFD packet to send [00:53:14]OFD Sender: No OFD packet to send [00:53:19]OFD Sender: No OFD packet to send [00:53:24]OFD Sender: No OFD packet to send [00:53:29]OFD Sender: No OFD packet to send [00:53:34]OFD Sender: No OFD packet to send [00:53:39]OFD Sender: No OFD packet to send [00:53:44]OFD Sender: No OFD packet to send [00:53:49]OFD Sender: No OFD packet to send [00:53:54]OFD Sender: No OFD packet to send [00:53:59]OFD Sender: No OFD packet to send [00:54:04]OFD Sender: No OFD packet to send [00:54:09]OFD Sender: No OFD packet to send [00:54:14]OFD Sender: No OFD packet to send [00:54:19]OFD Sender: No OFD packet to send [00:54:24]OFD Sender: No OFD packet to send [00:54:29]OFD Sender: No OFD packet to send [00:54:34]OFD Sender: No OFD packet to send [00:54:39]OFD Sender: No OFD packet to send [00:54:44]OFD Sender: No OFD packet to send [00:54:49]OFD Sender: No OFD packet to send [00:54:54]OFD Sender: No OFD packet to send [00:54:59]OFD Sender: No OFD packet to send [00:55:04]OFD Sender: No OFD packet to send [00:55:09]OFD Sender: No OFD packet to send [00:55:14]OFD Sender: No OFD packet to send [00:55:19]OFD Sender: No OFD packet to send [00:55:24]OFD Sender: No OFD packet to send [00:55:29]OFD Sender: No OFD packet to send [00:55:34]OFD Sender: No OFD packet to send [00:55:39]OFD Sender: No OFD packet to send [00:55:44]OFD Sender: No OFD packet to send [00:55:49]OFD Sender: No OFD packet to send [00:55:54]OFD Sender: No OFD packet to send [00:55:59]OFD Sender: No OFD packet to send [00:56:04]OFD Sender: No OFD packet to send [00:56:09]OFD Sender: No OFD packet to send [00:56:14]OFD Sender: No OFD packet to send [00:56:19]OFD Sender: No OFD packet to send [00:56:24]OFD Sender: No OFD packet to send [00:56:29]OFD Sender: No OFD packet to send [00:56:34]OFD Sender: No OFD packet to send [00:56:39]OFD Sender: No OFD packet to send [00:56:44]OFD Sender: No OFD packet to send [00:56:49]OFD Sender: No OFD packet to send [00:56:54]OFD Sender: No OFD packet to send [00:56:59]OFD Sender: No OFD packet to send [00:57:04]OFD Sender: No OFD packet to send [00:57:09]OFD Sender: No OFD packet to send [00:57:14]OFD Sender: No OFD packet to send [00:57:19]OFD Sender: No OFD packet to send [00:57:24]OFD Sender: No OFD packet to send [00:57:29]OFD Sender: No OFD packet to send [00:57:34]OFD Sender: No OFD packet to send [00:57:39]OFD Sender: No OFD packet to send [00:57:44]OFD Sender: No OFD packet to send [00:57:49]OFD Sender: No OFD packet to send [00:57:54]OFD Sender: No OFD packet to send [00:57:59]OFD Sender: No OFD packet to send [00:58:04]OFD Sender: No OFD packet to send [00:58:09]OFD Sender: No OFD packet to send [00:58:14]OFD Sender: No OFD packet to send [00:58:19]OFD Sender: No OFD packet to send [00:58:24]OFD Sender: No OFD packet to send [00:58:29]OFD Sender: No OFD packet to send [00:58:34]OFD Sender: No OFD packet to send [00:58:39]OFD Sender: No OFD packet to send [00:58:44]OFD Sender: No OFD packet to send [00:58:49]OFD Sender: No OFD packet to send [00:58:54]OFD Sender: No OFD packet to send [00:58:59]OFD Sender: No OFD packet to send [00:59:04]OFD Sender: No OFD packet to send [00:59:09]OFD Sender: No OFD packet to send [00:59:14]OFD Sender: No OFD packet to send [00:59:19]OFD Sender: No OFD packet to send [00:59:24]OFD Sender: No OFD packet to send [00:59:29]OFD Sender: No OFD packet to send [00:59:34]OFD Sender: No OFD packet to send [00:59:39]OFD Sender: No OFD packet to send [00:59:44]OFD Sender: No OFD packet to send [00:59:49]OFD Sender: No OFD packet to send [00:59:54]OFD Sender: No OFD packet to send [00:59:59]OFD Sender: No OFD packet to send [01:00:04]OFD Sender: No OFD packet to send [01:00:09]OFD Sender: No OFD packet to send [01:00:14]OFD Sender: No OFD packet to send [01:00:19]OFD Sender: No OFD packet to send [01:00:24]OFD Sender: No OFD packet to send [01:00:29]OFD Sender: No OFD packet to send [01:00:34]OFD Sender: No OFD packet to send [01:00:39]OFD Sender: No OFD packet to send [01:00:44]OFD Sender: No OFD packet to send [01:00:49]OFD Sender: No OFD packet to send [01:00:54]OFD Sender: No OFD packet to send [01:00:59]OFD Sender: No OFD packet to send [01:01:04]OFD Sender: No OFD packet to send [01:01:09]OFD Sender: No OFD packet to send [01:01:14]OFD Sender: No OFD packet to send [01:01:19]OFD Sender: No OFD packet to send [01:01:24]OFD Sender: No OFD packet to send [01:01:29]OFD Sender: No OFD packet to send [01:01:34]OFD Sender: No OFD packet to send [01:01:39]OFD Sender: No OFD packet to send [01:01:44]OFD Sender: No OFD packet to send [01:01:49]OFD Sender: No OFD packet to send [01:01:54]OFD Sender: No OFD packet to send [01:01:59]OFD Sender: No OFD packet to send [01:02:04]OFD Sender: No OFD packet to send [01:02:09]OFD Sender: No OFD packet to send [01:02:14]OFD Sender: No OFD packet to send [01:02:19]OFD Sender: No OFD packet to send [01:02:24]OFD Sender: No OFD packet to send [01:02:29]OFD Sender: No OFD packet to send [01:02:34]OFD Sender: No OFD packet to send [01:02:39]OFD Sender: No OFD packet to send [01:02:44]OFD Sender: No OFD packet to send [01:02:49]OFD Sender: No OFD packet to send [01:02:54]OFD Sender: No OFD packet to send [01:02:59]OFD Sender: No OFD packet to send [01:03:04]OFD Sender: No OFD packet to send [01:03:09]OFD Sender: No OFD packet to send [01:03:14]OFD Sender: No OFD packet to send [01:03:19]OFD Sender: No OFD packet to send [01:03:24]OFD Sender: No OFD packet to send [01:03:29]OFD Sender: No OFD packet to send [01:03:34]OFD Sender: No OFD packet to send [01:03:39]OFD Sender: No OFD packet to send [01:03:44]OFD Sender: No OFD packet to send [01:03:49]OFD Sender: No OFD packet to send [01:03:54]OFD Sender: No OFD packet to send [01:03:59]OFD Sender: No OFD packet to send [01:04:04]OFD Sender: No OFD packet to send [01:04:09]OFD Sender: No OFD packet to send [01:04:14]OFD Sender: No OFD packet to send [01:04:19]OFD Sender: No OFD packet to send [01:04:24]OFD Sender: No OFD packet to send [01:04:29]OFD Sender: No OFD packet to send [01:04:34]OFD Sender: No OFD packet to send [01:04:39]OFD Sender: No OFD packet to send [01:04:44]OFD Sender: No OFD packet to send [01:04:49]OFD Sender: No OFD packet to send [01:04:54]OFD Sender: No OFD packet to send [01:04:59]OFD Sender: No OFD packet to send [01:05:04]OFD Sender: No OFD packet to send [01:05:09]OFD Sender: No OFD packet to send [01:05:14]OFD Sender: No OFD packet to send [01:05:19]OFD Sender: No OFD packet to send [01:05:24]OFD Sender: No OFD packet to send [01:05:29]OFD Sender: No OFD packet to send [01:05:34]OFD Sender: No OFD packet to send [01:05:39]OFD Sender: No OFD packet to send [01:05:44]OFD Sender: No OFD packet to send [01:05:49]OFD Sender: No OFD packet to send [01:05:54]OFD Sender: No OFD packet to send [01:05:59]OFD Sender: No OFD packet to send [01:06:04]OFD Sender: No OFD packet to send [01:06:09]OFD Sender: No OFD packet to send [01:06:14]OFD Sender: No OFD packet to send [01:06:19]OFD Sender: No OFD packet to send [01:06:24]OFD Sender: No OFD packet to send [01:06:29]OFD Sender: No OFD packet to send [01:06:34]OFD Sender: No OFD packet to send [01:06:39]OFD Sender: No OFD packet to send [01:06:44]OFD Sender: No OFD packet to send [01:06:49]OFD Sender: No OFD packet to send [01:06:54]OFD Sender: No OFD packet to send [01:06:59]OFD Sender: No OFD packet to send [01:07:04]OFD Sender: No OFD packet to send [01:07:09]OFD Sender: No OFD packet to send [01:07:14]OFD Sender: No OFD packet to send [01:07:19]OFD Sender: No OFD packet to send [01:07:24]OFD Sender: No OFD packet to send [01:07:29]OFD Sender: No OFD packet to send [01:07:34]OFD Sender: No OFD packet to send [01:07:39]OFD Sender: No OFD packet to send [01:07:44]OFD Sender: No OFD packet to send [01:07:49]OFD Sender: No OFD packet to send [01:07:54]OFD Sender: No OFD packet to send [01:07:59]OFD Sender: No OFD packet to send [01:08:04]OFD Sender: No OFD packet to send [01:08:09]OFD Sender: No OFD packet to send [01:08:14]OFD Sender: No OFD packet to send [01:08:19]OFD Sender: No OFD packet to send [01:08:24]OFD Sender: No OFD packet to send [01:08:29]OFD Sender: No OFD packet to send [01:08:34]OFD Sender: No OFD packet to send [01:08:39]OFD Sender: No OFD packet to send [01:08:44]OFD Sender: No OFD packet to send [01:08:49]OFD Sender: No OFD packet to send [01:08:54]OFD Sender: No OFD packet to send [01:08:59]OFD Sender: No OFD packet to send [01:09:04]OFD Sender: No OFD packet to send [01:09:09]OFD Sender: No OFD packet to send [01:09:14]OFD Sender: No OFD packet to send [01:09:19]OFD Sender: No OFD packet to send [01:09:24]OFD Sender: No OFD packet to send [01:09:29]OFD Sender: No OFD packet to send [01:09:34]OFD Sender: No OFD packet to send [01:09:39]OFD Sender: No OFD packet to send [01:09:44]OFD Sender: No OFD packet to send [01:09:49]OFD Sender: No OFD packet to send [01:09:54]OFD Sender: No OFD packet to send [01:09:59]OFD Sender: No OFD packet to send [01:10:04]OFD Sender: No OFD packet to send [01:10:09]OFD Sender: No OFD packet to send [01:10:14]OFD Sender: No OFD packet to send [01:10:19]OFD Sender: No OFD packet to send [01:10:24]OFD Sender: No OFD packet to send [01:10:29]OFD Sender: No OFD packet to send [01:10:34]OFD Sender: No OFD packet to send [01:10:39]OFD Sender: No OFD packet to send [01:10:44]OFD Sender: No OFD packet to send [01:10:49]OFD Sender: No OFD packet to send [01:10:54]OFD Sender: No OFD packet to send [01:10:59]OFD Sender: No OFD packet to send [01:11:04]OFD Sender: No OFD packet to send [01:11:09]OFD Sender: No OFD packet to send [01:11:14]OFD Sender: No OFD packet to send [01:11:19]OFD Sender: No OFD packet to send [01:11:24]OFD Sender: No OFD packet to send [01:11:29]OFD Sender: No OFD packet to send [01:11:34]OFD Sender: No OFD packet to send [01:11:39]OFD Sender: No OFD packet to send [01:11:44]OFD Sender: No OFD packet to send [01:11:49]OFD Sender: No OFD packet to send [01:11:54]OFD Sender: No OFD packet to send [01:11:59]OFD Sender: No OFD packet to send [01:12:04]OFD Sender: No OFD packet to send [01:12:09]OFD Sender: No OFD packet to send [01:12:14]OFD Sender: No OFD packet to send [01:12:19]OFD Sender: No OFD packet to send [01:12:25]OFD Sender: No OFD packet to send [01:12:30]OFD Sender: No OFD packet to send [01:12:35]OFD Sender: No OFD packet to send [01:12:40]OFD Sender: No OFD packet to send [01:12:45]OFD Sender: No OFD packet to send [01:12:50]OFD Sender: No OFD packet to send [01:12:55]OFD Sender: No OFD packet to send [01:13:00]OFD Sender: No OFD packet to send [01:13:05]OFD Sender: No OFD packet to send [01:13:10]OFD Sender: No OFD packet to send [01:13:15]OFD Sender: No OFD packet to send [01:13:20]OFD Sender: No OFD packet to send [01:13:25]OFD Sender: No OFD packet to send [01:13:30]OFD Sender: No OFD packet to send [01:13:35]OFD Sender: No OFD packet to send [01:13:40]OFD Sender: No OFD packet to send [01:13:45]OFD Sender: No OFD packet to send [01:13:50]OFD Sender: No OFD packet to send [01:13:55]OFD Sender: No OFD packet to send [01:14:00]OFD Sender: No OFD packet to send [01:14:05]OFD Sender: No OFD packet to send [01:14:10]OFD Sender: No OFD packet to send [01:14:15]OFD Sender: No OFD packet to send [01:14:20]OFD Sender: No OFD packet to send [01:14:25]OFD Sender: No OFD packet to send [01:14:30]OFD Sender: No OFD packet to send [01:14:35]OFD Sender: No OFD packet to send [01:14:40]OFD Sender: No OFD packet to send [01:14:45]OFD Sender: No OFD packet to send [01:14:50]OFD Sender: No OFD packet to send [01:14:55]OFD Sender: No OFD packet to send [01:15:00]OFD Sender: No OFD packet to send [01:15:05]OFD Sender: No OFD packet to send [01:15:10]OFD Sender: No OFD packet to send [01:15:15]OFD Sender: No OFD packet to send [01:15:20]OFD Sender: No OFD packet to send [01:15:25]OFD Sender: No OFD packet to send [01:15:30]OFD Sender: No OFD packet to send [01:15:35]OFD Sender: No OFD packet to send [01:15:40]OFD Sender: No OFD packet to send [01:15:45]OFD Sender: No OFD packet to send [01:15:50]OFD Sender: No OFD packet to send [01:15:55]OFD Sender: No OFD packet to send [01:16:00]OFD Sender: No OFD packet to send [01:16:05]OFD Sender: No OFD packet to send [01:16:10]OFD Sender: No OFD packet to send [01:16:15]OFD Sender: No OFD packet to send [01:16:20]OFD Sender: No OFD packet to send [01:16:25]OFD Sender: No OFD packet to send [01:16:30]OFD Sender: No OFD packet to send [01:16:35]OFD Sender: No OFD packet to send [01:16:40]OFD Sender: No OFD packet to send [01:16:45]OFD Sender: No OFD packet to send [01:16:50]OFD Sender: No OFD packet to send [01:16:55]OFD Sender: No OFD packet to send [01:17:00]OFD Sender: No OFD packet to send [01:17:05]OFD Sender: No OFD packet to send [01:17:10]OFD Sender: No OFD packet to send [01:17:15]OFD Sender: No OFD packet to send [01:17:20]OFD Sender: No OFD packet to send [01:17:25]OFD Sender: No OFD packet to send [01:17:30]OFD Sender: No OFD packet to send [01:17:35]OFD Sender: No OFD packet to send [01:17:40]OFD Sender: No OFD packet to send [01:17:45]OFD Sender: No OFD packet to send [01:17:50]OFD Sender: No OFD packet to send [01:17:55]OFD Sender: No OFD packet to send [01:18:00]OFD Sender: No OFD packet to send [01:18:05]OFD Sender: No OFD packet to send [01:18:10]OFD Sender: No OFD packet to send [01:18:15]OFD Sender: No OFD packet to send [01:18:20]OFD Sender: No OFD packet to send [01:18:25]OFD Sender: No OFD packet to send [01:18:30]OFD Sender: No OFD packet to send [01:18:35]OFD Sender: No OFD packet to send [01:18:40]OFD Sender: No OFD packet to send [01:18:45]OFD Sender: No OFD packet to send [01:18:50]OFD Sender: No OFD packet to send [01:18:55]OFD Sender: No OFD packet to send [01:19:00]OFD Sender: No OFD packet to send [01:19:05]OFD Sender: No OFD packet to send [01:19:10]OFD Sender: No OFD packet to send [01:19:15]OFD Sender: No OFD packet to send [01:19:20]OFD Sender: No OFD packet to send [01:19:25]OFD Sender: No OFD packet to send [01:19:30]OFD Sender: No OFD packet to send [01:19:35]OFD Sender: No OFD packet to send [01:19:40]OFD Sender: No OFD packet to send [01:19:45]OFD Sender: No OFD packet to send [01:19:50]OFD Sender: No OFD packet to send [01:19:55]OFD Sender: No OFD packet to send [01:20:00]OFD Sender: No OFD packet to send [01:20:05]OFD Sender: No OFD packet to send [01:20:10]OFD Sender: No OFD packet to send [01:20:15]OFD Sender: No OFD packet to send [01:20:20]OFD Sender: No OFD packet to send [01:20:25]OFD Sender: No OFD packet to send [01:20:30]OFD Sender: No OFD packet to send [01:20:35]OFD Sender: No OFD packet to send [01:20:40]OFD Sender: No OFD packet to send [01:20:45]OFD Sender: No OFD packet to send [01:20:50]OFD Sender: No OFD packet to send [01:20:55]OFD Sender: No OFD packet to send [01:21:00]OFD Sender: No OFD packet to send [01:21:05]OFD Sender: No OFD packet to send [01:21:10]OFD Sender: No OFD packet to send [01:21:15]OFD Sender: No OFD packet to send [01:21:20]OFD Sender: No OFD packet to send [01:21:25]OFD Sender: No OFD packet to send [01:21:30]OFD Sender: No OFD packet to send [01:21:35]OFD Sender: No OFD packet to send [01:21:40]OFD Sender: No OFD packet to send [01:21:45]OFD Sender: No OFD packet to send [01:21:50]OFD Sender: No OFD packet to send [01:21:55]OFD Sender: No OFD packet to send [01:22:00]OFD Sender: No OFD packet to send [01:22:05]OFD Sender: No OFD packet to send [01:22:10]OFD Sender: No OFD packet to send [01:22:15]OFD Sender: No OFD packet to send [01:22:20]OFD Sender: No OFD packet to send [01:22:25]OFD Sender: No OFD packet to send [01:22:30]OFD Sender: No OFD packet to send [01:22:35]OFD Sender: No OFD packet to send [01:22:40]OFD Sender: No OFD packet to send [01:22:45]OFD Sender: No OFD packet to send [01:22:50]OFD Sender: No OFD packet to send [01:22:55]OFD Sender: No OFD packet to send [01:23:00]OFD Sender: No OFD packet to send [01:23:05]OFD Sender: No OFD packet to send [01:23:10]OFD Sender: No OFD packet to send [01:23:15]OFD Sender: No OFD packet to send [01:23:20]OFD Sender: No OFD packet to send [01:23:25]OFD Sender: No OFD packet to send [01:23:30]OFD Sender: No OFD packet to send [01:23:35]OFD Sender: No OFD packet to send [01:23:40]OFD Sender: No OFD packet to send [01:23:45]OFD Sender: No OFD packet to send [01:23:50]OFD Sender: No OFD packet to send [01:23:55]OFD Sender: No OFD packet to send [01:24:00]OFD Sender: No OFD packet to send [01:24:05]OFD Sender: No OFD packet to send [01:24:10]OFD Sender: No OFD packet to send [01:24:15]OFD Sender: No OFD packet to send [01:24:20]OFD Sender: No OFD packet to send [01:24:25]OFD Sender: No OFD packet to send [01:24:30]OFD Sender: No OFD packet to send [01:24:35]OFD Sender: No OFD packet to send [01:24:40]OFD Sender: No OFD packet to send [01:24:45]OFD Sender: No OFD packet to send [01:24:50]OFD Sender: No OFD packet to send [01:24:55]OFD Sender: No OFD packet to send [01:25:00]OFD Sender: No OFD packet to send [01:25:05]OFD Sender: No OFD packet to send [01:25:10]OFD Sender: No OFD packet to send [01:25:15]OFD Sender: No OFD packet to send [01:25:20]OFD Sender: No OFD packet to send [01:25:25]OFD Sender: No OFD packet to send [01:25:30]OFD Sender: No OFD packet to send [01:25:35]OFD Sender: No OFD packet to send [01:25:40]OFD Sender: No OFD packet to send [01:25:45]OFD Sender: No OFD packet to send [01:25:50]OFD Sender: No OFD packet to send [01:25:55]OFD Sender: No OFD packet to send [01:26:00]OFD Sender: No OFD packet to send [01:26:05]OFD Sender: No OFD packet to send [01:26:10]OFD Sender: No OFD packet to send [01:26:15]OFD Sender: No OFD packet to send [01:26:20]OFD Sender: No OFD packet to send [01:26:25]OFD Sender: No OFD packet to send [01:26:30]OFD Sender: No OFD packet to send [01:26:35]OFD Sender: No OFD packet to send [01:26:40]OFD Sender: No OFD packet to send [01:26:45]OFD Sender: No OFD packet to send [01:26:50]OFD Sender: No OFD packet to send [01:26:55]OFD Sender: No OFD packet to send [01:27:00]OFD Sender: No OFD packet to send [01:27:05]OFD Sender: No OFD packet to send [01:27:10]OFD Sender: No OFD packet to send [01:27:15]OFD Sender: No OFD packet to send [01:27:20]OFD Sender: No OFD packet to send [01:27:25]OFD Sender: No OFD packet to send [01:27:30]OFD Sender: No OFD packet to send [01:27:35]OFD Sender: No OFD packet to send [01:27:40]OFD Sender: No OFD packet to send [01:27:45]OFD Sender: No OFD packet to send [01:27:50]OFD Sender: No OFD packet to send [01:27:55]OFD Sender: No OFD packet to send [01:28:00]OFD Sender: No OFD packet to send [01:28:05]OFD Sender: No OFD packet to send [01:28:10]OFD Sender: No OFD packet to send [01:28:15]OFD Sender: No OFD packet to send [01:28:20]OFD Sender: No OFD packet to send [01:28:25]OFD Sender: No OFD packet to send [01:28:30]OFD Sender: No OFD packet to send [01:28:35]OFD Sender: No OFD packet to send [01:28:40]OFD Sender: No OFD packet to send [01:28:45]OFD Sender: No OFD packet to send [01:28:50]OFD Sender: No OFD packet to send [01:28:55]OFD Sender: No OFD packet to send [01:29:00]OFD Sender: No OFD packet to send [01:29:05]OFD Sender: No OFD packet to send [01:29:10]OFD Sender: No OFD packet to send [01:29:15]OFD Sender: No OFD packet to send [01:29:20]OFD Sender: No OFD packet to send [01:29:25]OFD Sender: No OFD packet to send [01:29:30]OFD Sender: No OFD packet to send [01:29:35]OFD Sender: No OFD packet to send [01:29:40]OFD Sender: No OFD packet to send [01:29:45]OFD Sender: No OFD packet to send [01:29:50]OFD Sender: No OFD packet to send [01:29:55]OFD Sender: No OFD packet to send [01:30:00]OFD Sender: No OFD packet to send [01:30:05]OFD Sender: No OFD packet to send [01:30:10]OFD Sender: No OFD packet to send [01:30:15]OFD Sender: No OFD packet to send [01:30:20]OFD Sender: No OFD packet to send [01:30:25]OFD Sender: No OFD packet to send [01:30:30]OFD Sender: No OFD packet to send [01:30:35]OFD Sender: No OFD packet to send [01:30:40]OFD Sender: No OFD packet to send [01:30:45]OFD Sender: No OFD packet to send [01:30:50]OFD Sender: No OFD packet to send [01:30:55]OFD Sender: No OFD packet to send [01:31:00]OFD Sender: No OFD packet to send [01:31:05]OFD Sender: No OFD packet to send [01:31:10]OFD Sender: No OFD packet to send [01:31:15]OFD Sender: No OFD packet to send [01:31:20]OFD Sender: No OFD packet to send [01:31:25]OFD Sender: No OFD packet to send [01:31:30]OFD Sender: No OFD packet to send [01:31:35]OFD Sender: No OFD packet to send [01:31:40]OFD Sender: No OFD packet to send [01:31:45]OFD Sender: No OFD packet to send [01:31:50]OFD Sender: No OFD packet to send [01:31:55]OFD Sender: No OFD packet to send [01:32:00]OFD Sender: No OFD packet to send [01:32:05]OFD Sender: No OFD packet to send [01:32:10]OFD Sender: No OFD packet to send [01:32:15]OFD Sender: No OFD packet to send [01:32:21]OFD Sender: No OFD packet to send [01:32:26]OFD Sender: No OFD packet to send [01:32:31]OFD Sender: No OFD packet to send [01:32:36]OFD Sender: No OFD packet to send [01:32:41]OFD Sender: No OFD packet to send [01:32:46]OFD Sender: No OFD packet to send [01:32:51]OFD Sender: No OFD packet to send [01:32:56]OFD Sender: No OFD packet to send [01:33:01]OFD Sender: No OFD packet to send [01:33:06]OFD Sender: No OFD packet to send [01:33:11]OFD Sender: No OFD packet to send [01:33:16]OFD Sender: No OFD packet to send [01:33:21]OFD Sender: No OFD packet to send [01:33:26]OFD Sender: No OFD packet to send [01:33:31]OFD Sender: No OFD packet to send [01:33:36]OFD Sender: No OFD packet to send [01:33:41]OFD Sender: No OFD packet to send [01:33:46]OFD Sender: No OFD packet to send [01:33:51]OFD Sender: No OFD packet to send [01:33:56]OFD Sender: No OFD packet to send [01:34:01]OFD Sender: No OFD packet to send [01:34:06]OFD Sender: No OFD packet to send [01:34:11]OFD Sender: No OFD packet to send [01:34:16]OFD Sender: No OFD packet to send [01:34:21]OFD Sender: No OFD packet to send [01:34:26]OFD Sender: No OFD packet to send [01:34:31]OFD Sender: No OFD packet to send [01:34:36]OFD Sender: No OFD packet to send [01:34:41]OFD Sender: No OFD packet to send [01:34:46]OFD Sender: No OFD packet to send [01:34:51]OFD Sender: No OFD packet to send [01:34:56]OFD Sender: No OFD packet to send [01:35:01]OFD Sender: No OFD packet to send [01:35:06]OFD Sender: No OFD packet to send [01:35:11]OFD Sender: No OFD packet to send [01:35:16]OFD Sender: No OFD packet to send [01:35:21]OFD Sender: No OFD packet to send [01:35:26]OFD Sender: No OFD packet to send [01:35:31]OFD Sender: No OFD packet to send [01:35:36]OFD Sender: No OFD packet to send [01:35:41]OFD Sender: No OFD packet to send [01:35:46]OFD Sender: No OFD packet to send [01:35:51]OFD Sender: No OFD packet to send [01:35:56]OFD Sender: No OFD packet to send [01:36:01]OFD Sender: No OFD packet to send [01:36:06]OFD Sender: No OFD packet to send [01:36:11]OFD Sender: No OFD packet to send [01:36:16]OFD Sender: No OFD packet to send [01:36:21]OFD Sender: No OFD packet to send [01:36:26]OFD Sender: No OFD packet to send [01:36:31]OFD Sender: No OFD packet to send [01:36:36]OFD Sender: No OFD packet to send [01:36:41]OFD Sender: No OFD packet to send [01:36:46]OFD Sender: No OFD packet to send [01:36:51]OFD Sender: No OFD packet to send [01:36:56]OFD Sender: No OFD packet to send [01:37:01]OFD Sender: No OFD packet to send [01:37:06]OFD Sender: No OFD packet to send [01:37:11]OFD Sender: No OFD packet to send [01:37:16]OFD Sender: No OFD packet to send [01:37:21]OFD Sender: No OFD packet to send [01:37:26]OFD Sender: No OFD packet to send [01:37:31]OFD Sender: No OFD packet to send [01:37:36]OFD Sender: No OFD packet to send [01:37:41]OFD Sender: No OFD packet to send [01:37:46]OFD Sender: No OFD packet to send [01:37:51]OFD Sender: No OFD packet to send [01:37:56]OFD Sender: No OFD packet to send [01:38:01]OFD Sender: No OFD packet to send [01:38:06]OFD Sender: No OFD packet to send [01:38:11]OFD Sender: No OFD packet to send [01:38:16]OFD Sender: No OFD packet to send [01:38:21]OFD Sender: No OFD packet to send [01:38:26]OFD Sender: No OFD packet to send [01:38:31]OFD Sender: No OFD packet to send [01:38:36]OFD Sender: No OFD packet to send [01:38:41]OFD Sender: No OFD packet to send [01:38:46]OFD Sender: No OFD packet to send [01:38:51]OFD Sender: No OFD packet to send [01:38:56]OFD Sender: No OFD packet to send [01:39:01]OFD Sender: No OFD packet to send [01:39:06]OFD Sender: No OFD packet to send [01:39:11]OFD Sender: No OFD packet to send [01:39:16]OFD Sender: No OFD packet to send [01:39:21]OFD Sender: No OFD packet to send [01:39:26]OFD Sender: No OFD packet to send [01:39:31]OFD Sender: No OFD packet to send [01:39:36]OFD Sender: No OFD packet to send [01:39:41]OFD Sender: No OFD packet to send [01:39:46]OFD Sender: No OFD packet to send [01:39:51]OFD Sender: No OFD packet to send [01:39:56]OFD Sender: No OFD packet to send [01:40:01]OFD Sender: No OFD packet to send [01:40:06]OFD Sender: No OFD packet to send [01:40:11]OFD Sender: No OFD packet to send [01:40:16]OFD Sender: No OFD packet to send [01:40:21]OFD Sender: No OFD packet to send [01:40:26]OFD Sender: No OFD packet to send [01:40:31]OFD Sender: No OFD packet to send [01:40:36]OFD Sender: No OFD packet to send [01:40:41]OFD Sender: No OFD packet to send [01:40:46]OFD Sender: No OFD packet to send [01:40:51]OFD Sender: No OFD packet to send [01:40:56]OFD Sender: No OFD packet to send [01:41:01]OFD Sender: No OFD packet to send [01:41:06]OFD Sender: No OFD packet to send [01:41:11]OFD Sender: No OFD packet to send [01:41:16]OFD Sender: No OFD packet to send [01:41:21]OFD Sender: No OFD packet to send [01:41:26]OFD Sender: No OFD packet to send [01:41:31]OFD Sender: No OFD packet to send [01:41:36]OFD Sender: No OFD packet to send [01:41:41]OFD Sender: No OFD packet to send [01:41:46]OFD Sender: No OFD packet to send [01:41:51]OFD Sender: No OFD packet to send [01:41:56]OFD Sender: No OFD packet to send [01:42:01]OFD Sender: No OFD packet to send [01:42:06]OFD Sender: No OFD packet to send [01:42:11]OFD Sender: No OFD packet to send [01:42:16]OFD Sender: No OFD packet to send [01:42:21]OFD Sender: No OFD packet to send [01:42:26]OFD Sender: No OFD packet to send [01:42:31]OFD Sender: No OFD packet to send [01:42:36]OFD Sender: No OFD packet to send [01:42:41]OFD Sender: No OFD packet to send [01:42:46]OFD Sender: No OFD packet to send [01:42:51]OFD Sender: No OFD packet to send [01:42:56]OFD Sender: No OFD packet to send [01:43:01]OFD Sender: No OFD packet to send [01:43:06]OFD Sender: No OFD packet to send [01:43:11]OFD Sender: No OFD packet to send [01:43:16]OFD Sender: No OFD packet to send [01:43:21]OFD Sender: No OFD packet to send [01:43:26]OFD Sender: No OFD packet to send [01:43:31]OFD Sender: No OFD packet to send [01:43:36]OFD Sender: No OFD packet to send [01:43:41]OFD Sender: No OFD packet to send [01:43:46]OFD Sender: No OFD packet to send [01:43:51]OFD Sender: No OFD packet to send [01:43:56]OFD Sender: No OFD packet to send [01:44:01]OFD Sender: No OFD packet to send [01:44:06]OFD Sender: No OFD packet to send [01:44:11]OFD Sender: No OFD packet to send [01:44:16]OFD Sender: No OFD packet to send [01:44:21]OFD Sender: No OFD packet to send [01:44:26]OFD Sender: No OFD packet to send [01:44:31]OFD Sender: No OFD packet to send [01:44:36]OFD Sender: No OFD packet to send [01:44:41]OFD Sender: No OFD packet to send [01:44:46]OFD Sender: No OFD packet to send [01:44:51]OFD Sender: No OFD packet to send [01:44:56]OFD Sender: No OFD packet to send [01:45:01]OFD Sender: No OFD packet to send [01:45:06]OFD Sender: No OFD packet to send [01:45:11]OFD Sender: No OFD packet to send [01:45:16]OFD Sender: No OFD packet to send [01:45:21]OFD Sender: No OFD packet to send [01:45:26]OFD Sender: No OFD packet to send [01:45:31]OFD Sender: No OFD packet to send [01:45:36]OFD Sender: No OFD packet to send [01:45:41]OFD Sender: No OFD packet to send [01:45:46]OFD Sender: No OFD packet to send [01:45:51]OFD Sender: No OFD packet to send [01:45:56]OFD Sender: No OFD packet to send [01:46:01]OFD Sender: No OFD packet to send [01:46:06]OFD Sender: No OFD packet to send [01:46:11]OFD Sender: No OFD packet to send [01:46:16]OFD Sender: No OFD packet to send [01:46:21]OFD Sender: No OFD packet to send [01:46:26]OFD Sender: No OFD packet to send [01:46:31]OFD Sender: No OFD packet to send [01:46:36]OFD Sender: No OFD packet to send [01:46:41]OFD Sender: No OFD packet to send [01:46:46]OFD Sender: No OFD packet to send [01:46:51]OFD Sender: No OFD packet to send [01:46:56]OFD Sender: No OFD packet to send [01:47:01]OFD Sender: No OFD packet to send [01:47:06]OFD Sender: No OFD packet to send [01:47:11]OFD Sender: No OFD packet to send [01:47:16]OFD Sender: No OFD packet to send [01:47:21]OFD Sender: No OFD packet to send [01:47:26]OFD Sender: No OFD packet to send [01:47:31]OFD Sender: No OFD packet to send [01:47:36]OFD Sender: No OFD packet to send [01:47:41]OFD Sender: No OFD packet to send [01:47:46]OFD Sender: No OFD packet to send [01:47:51]OFD Sender: No OFD packet to send [01:47:56]OFD Sender: No OFD packet to send [01:48:01]OFD Sender: No OFD packet to send [01:48:06]OFD Sender: No OFD packet to send [01:48:11]OFD Sender: No OFD packet to send [01:48:16]OFD Sender: No OFD packet to send [01:48:21]OFD Sender: No OFD packet to send [01:48:26]OFD Sender: No OFD packet to send [01:48:31]OFD Sender: No OFD packet to send [01:48:36]OFD Sender: No OFD packet to send [01:48:41]OFD Sender: No OFD packet to send [01:48:46]OFD Sender: No OFD packet to send [01:48:51]OFD Sender: No OFD packet to send [01:48:56]OFD Sender: No OFD packet to send [01:49:01]OFD Sender: No OFD packet to send [01:49:06]OFD Sender: No OFD packet to send [01:49:11]OFD Sender: No OFD packet to send [01:49:16]OFD Sender: No OFD packet to send [01:49:21]OFD Sender: No OFD packet to send [01:49:26]OFD Sender: No OFD packet to send [01:49:31]OFD Sender: No OFD packet to send [01:49:36]OFD Sender: No OFD packet to send [01:49:41]OFD Sender: No OFD packet to send [01:49:46]OFD Sender: No OFD packet to send [01:49:51]OFD Sender: No OFD packet to send [01:49:56]OFD Sender: No OFD packet to send [01:50:01]OFD Sender: No OFD packet to send [01:50:06]OFD Sender: No OFD packet to send [01:50:11]OFD Sender: No OFD packet to send [01:50:16]OFD Sender: No OFD packet to send [01:50:21]OFD Sender: No OFD packet to send [01:50:26]OFD Sender: No OFD packet to send [01:50:31]OFD Sender: No OFD packet to send [01:50:36]OFD Sender: No OFD packet to send [01:50:41]OFD Sender: No OFD packet to send [01:50:46]OFD Sender: No OFD packet to send [01:50:51]OFD Sender: No OFD packet to send [01:50:56]OFD Sender: No OFD packet to send [01:51:01]OFD Sender: No OFD packet to send [01:51:06]OFD Sender: No OFD packet to send [01:51:11]OFD Sender: No OFD packet to send [01:51:16]OFD Sender: No OFD packet to send [01:51:21]OFD Sender: No OFD packet to send [01:51:26]OFD Sender: No OFD packet to send [01:51:31]OFD Sender: No OFD packet to send [01:51:36]OFD Sender: No OFD packet to send [01:51:41]OFD Sender: No OFD packet to send [01:51:46]OFD Sender: No OFD packet to send [01:51:51]OFD Sender: No OFD packet to send [01:51:56]OFD Sender: No OFD packet to send [01:52:01]OFD Sender: No OFD packet to send [01:52:07]OFD Sender: No OFD packet to send [01:52:12]OFD Sender: No OFD packet to send [01:52:17]OFD Sender: No OFD packet to send [01:52:22]OFD Sender: No OFD packet to send [01:52:27]OFD Sender: No OFD packet to send [01:52:32]OFD Sender: No OFD packet to send [01:52:37]OFD Sender: No OFD packet to send [01:52:42]OFD Sender: No OFD packet to send [01:52:47]OFD Sender: No OFD packet to send [01:52:52]OFD Sender: No OFD packet to send [01:52:57]OFD Sender: No OFD packet to send [01:53:02]OFD Sender: No OFD packet to send [01:53:07]OFD Sender: No OFD packet to send [01:53:12]OFD Sender: No OFD packet to send [01:53:17]OFD Sender: No OFD packet to send [01:53:22]OFD Sender: No OFD packet to send [01:53:27]OFD Sender: No OFD packet to send [01:53:32]OFD Sender: No OFD packet to send [01:53:37]OFD Sender: No OFD packet to send [01:53:42]OFD Sender: No OFD packet to send [01:53:47]OFD Sender: No OFD packet to send [01:53:52]OFD Sender: No OFD packet to send [01:53:57]OFD Sender: No OFD packet to send [01:54:02]OFD Sender: No OFD packet to send [01:54:07]OFD Sender: No OFD packet to send [01:54:12]OFD Sender: No OFD packet to send [01:54:17]OFD Sender: No OFD packet to send [01:54:22]OFD Sender: No OFD packet to send [01:54:27]OFD Sender: No OFD packet to send [01:54:32]OFD Sender: No OFD packet to send [01:54:37]OFD Sender: No OFD packet to send [01:54:42]OFD Sender: No OFD packet to send [01:54:47]OFD Sender: No OFD packet to send [01:54:52]OFD Sender: No OFD packet to send [01:54:57]OFD Sender: No OFD packet to send [01:55:02]OFD Sender: No OFD packet to send [01:55:07]OFD Sender: No OFD packet to send [01:55:12]OFD Sender: No OFD packet to send [01:55:17]OFD Sender: No OFD packet to send [01:55:22]OFD Sender: No OFD packet to send [01:55:27]OFD Sender: No OFD packet to send [01:55:32]OFD Sender: No OFD packet to send [01:55:37]OFD Sender: No OFD packet to send [01:55:42]OFD Sender: No OFD packet to send [01:55:47]OFD Sender: No OFD packet to send [01:55:52]OFD Sender: No OFD packet to send [01:55:57]OFD Sender: No OFD packet to send [01:56:02]OFD Sender: No OFD packet to send [01:56:07]OFD Sender: No OFD packet to send [01:56:12]OFD Sender: No OFD packet to send [01:56:17]OFD Sender: No OFD packet to send [01:56:22]OFD Sender: No OFD packet to send [01:56:27]OFD Sender: No OFD packet to send [01:56:32]OFD Sender: No OFD packet to send [01:56:37]OFD Sender: No OFD packet to send [01:56:42]OFD Sender: No OFD packet to send [01:56:47]OFD Sender: No OFD packet to send [01:56:52]OFD Sender: No OFD packet to send [01:56:57]OFD Sender: No OFD packet to send [01:57:02]OFD Sender: No OFD packet to send [01:57:07]OFD Sender: No OFD packet to send [01:57:12]OFD Sender: No OFD packet to send [01:57:17]OFD Sender: No OFD packet to send [01:57:22]OFD Sender: No OFD packet to send [01:57:27]OFD Sender: No OFD packet to send [01:57:32]OFD Sender: No OFD packet to send [01:57:37]OFD Sender: No OFD packet to send [01:57:42]OFD Sender: No OFD packet to send [01:57:47]OFD Sender: No OFD packet to send [01:57:52]OFD Sender: No OFD packet to send [01:57:57]OFD Sender: No OFD packet to send [01:58:02]OFD Sender: No OFD packet to send [01:58:07]OFD Sender: No OFD packet to send [01:58:12]OFD Sender: No OFD packet to send [01:58:17]OFD Sender: No OFD packet to send [01:58:22]OFD Sender: No OFD packet to send [01:58:27]OFD Sender: No OFD packet to send [01:58:32]OFD Sender: No OFD packet to send [01:58:37]OFD Sender: No OFD packet to send [01:58:42]OFD Sender: No OFD packet to send [01:58:47]OFD Sender: No OFD packet to send [01:58:52]OFD Sender: No OFD packet to send [01:58:57]OFD Sender: No OFD packet to send [01:59:02]OFD Sender: No OFD packet to send [01:59:07]OFD Sender: No OFD packet to send [01:59:12]OFD Sender: No OFD packet to send [01:59:17]OFD Sender: No OFD packet to send [01:59:22]OFD Sender: No OFD packet to send [01:59:27]OFD Sender: No OFD packet to send [01:59:32]OFD Sender: No OFD packet to send [01:59:37]OFD Sender: No OFD packet to send [01:59:42]OFD Sender: No OFD packet to send [01:59:47]OFD Sender: No OFD packet to send [01:59:52]OFD Sender: No OFD packet to send [01:59:57]OFD Sender: No OFD packet to send [02:00:02]OFD Sender: No OFD packet to send [02:00:07]OFD Sender: No OFD packet to send [02:00:12]OFD Sender: No OFD packet to send [02:00:17]OFD Sender: No OFD packet to send [02:00:22]OFD Sender: No OFD packet to send [02:00:27]OFD Sender: No OFD packet to send [02:00:32]OFD Sender: No OFD packet to send [02:00:37]OFD Sender: No OFD packet to send [02:00:42]OFD Sender: No OFD packet to send [02:00:47]OFD Sender: No OFD packet to send [02:00:52]OFD Sender: No OFD packet to send [02:00:57]OFD Sender: No OFD packet to send [02:01:02]OFD Sender: No OFD packet to send [02:01:07]OFD Sender: No OFD packet to send [02:01:12]OFD Sender: No OFD packet to send [02:01:17]OFD Sender: No OFD packet to send [02:01:22]OFD Sender: No OFD packet to send [02:01:27]OFD Sender: No OFD packet to send [02:01:32]OFD Sender: No OFD packet to send [02:01:37]OFD Sender: No OFD packet to send [02:01:42]OFD Sender: No OFD packet to send [02:01:47]OFD Sender: No OFD packet to send [02:01:52]OFD Sender: No OFD packet to send [02:01:57]OFD Sender: No OFD packet to send [02:02:02]OFD Sender: No OFD packet to send [02:02:07]OFD Sender: No OFD packet to send [02:02:12]OFD Sender: No OFD packet to send [02:02:17]OFD Sender: No OFD packet to send [02:02:22]OFD Sender: No OFD packet to send [02:02:27]OFD Sender: No OFD packet to send [02:02:32]OFD Sender: No OFD packet to send [02:02:37]OFD Sender: No OFD packet to send [02:02:42]OFD Sender: No OFD packet to send [02:02:47]OFD Sender: No OFD packet to send [02:02:52]OFD Sender: No OFD packet to send [02:02:57]OFD Sender: No OFD packet to send [02:03:02]OFD Sender: No OFD packet to send [02:03:07]OFD Sender: No OFD packet to send [02:03:12]OFD Sender: No OFD packet to send [02:03:17]OFD Sender: No OFD packet to send [02:03:22]OFD Sender: No OFD packet to send [02:03:27]OFD Sender: No OFD packet to send [02:03:32]OFD Sender: No OFD packet to send [02:03:37]OFD Sender: No OFD packet to send [02:03:42]OFD Sender: No OFD packet to send [02:03:47]OFD Sender: No OFD packet to send [02:03:52]OFD Sender: No OFD packet to send [02:03:57]OFD Sender: No OFD packet to send [02:04:02]OFD Sender: No OFD packet to send [02:04:07]OFD Sender: No OFD packet to send [02:04:12]OFD Sender: No OFD packet to send [02:04:17]OFD Sender: No OFD packet to send [02:04:22]OFD Sender: No OFD packet to send [02:04:27]OFD Sender: No OFD packet to send [02:04:32]OFD Sender: No OFD packet to send [02:04:37]OFD Sender: No OFD packet to send [02:04:42]OFD Sender: No OFD packet to send [02:04:47]OFD Sender: No OFD packet to send [02:04:52]OFD Sender: No OFD packet to send [02:04:57]OFD Sender: No OFD packet to send [02:05:02]OFD Sender: No OFD packet to send [02:05:07]OFD Sender: No OFD packet to send [02:05:12]OFD Sender: No OFD packet to send [02:05:17]OFD Sender: No OFD packet to send [02:05:22]OFD Sender: No OFD packet to send [02:05:27]OFD Sender: No OFD packet to send [02:05:32]OFD Sender: No OFD packet to send [02:05:37]OFD Sender: No OFD packet to send [02:05:42]OFD Sender: No OFD packet to send [02:05:47]OFD Sender: No OFD packet to send [02:05:52]OFD Sender: No OFD packet to send [02:05:57]OFD Sender: No OFD packet to send [02:06:02]OFD Sender: No OFD packet to send [02:06:07]OFD Sender: No OFD packet to send [02:06:12]OFD Sender: No OFD packet to send [02:06:17]OFD Sender: No OFD packet to send [02:06:22]OFD Sender: No OFD packet to send [02:06:27]OFD Sender: No OFD packet to send [02:06:32]OFD Sender: No OFD packet to send [02:06:37]OFD Sender: No OFD packet to send [02:06:42]OFD Sender: No OFD packet to send [02:06:47]OFD Sender: No OFD packet to send [02:06:52]OFD Sender: No OFD packet to send [02:06:57]OFD Sender: No OFD packet to send [02:07:02]OFD Sender: No OFD packet to send [02:07:07]OFD Sender: No OFD packet to send [02:07:12]OFD Sender: No OFD packet to send [02:07:17]OFD Sender: No OFD packet to send [02:07:22]OFD Sender: No OFD packet to send [02:07:27]OFD Sender: No OFD packet to send [02:07:32]OFD Sender: No OFD packet to send [02:07:37]OFD Sender: No OFD packet to send [02:07:42]OFD Sender: No OFD packet to send [02:07:47]OFD Sender: No OFD packet to send [02:07:52]OFD Sender: No OFD packet to send [02:07:57]OFD Sender: No OFD packet to send [02:08:02]OFD Sender: No OFD packet to send [02:08:07]OFD Sender: No OFD packet to send [02:08:12]OFD Sender: No OFD packet to send [02:08:17]OFD Sender: No OFD packet to send [02:08:22]OFD Sender: No OFD packet to send [02:08:27]OFD Sender: No OFD packet to send [02:08:32]OFD Sender: No OFD packet to send [02:08:37]OFD Sender: No OFD packet to send [02:08:42]OFD Sender: No OFD packet to send [02:08:47]OFD Sender: No OFD packet to send [02:08:52]OFD Sender: No OFD packet to send [02:08:57]OFD Sender: No OFD packet to send [02:09:02]OFD Sender: No OFD packet to send [02:09:07]OFD Sender: No OFD packet to send [02:09:12]OFD Sender: No OFD packet to send [02:09:17]OFD Sender: No OFD packet to send [02:09:22]OFD Sender: No OFD packet to send [02:09:27]OFD Sender: No OFD packet to send [02:09:32]OFD Sender: No OFD packet to send [02:09:37]OFD Sender: No OFD packet to send [02:09:42]OFD Sender: No OFD packet to send [02:09:47]OFD Sender: No OFD packet to send [02:09:52]OFD Sender: No OFD packet to send [02:09:57]OFD Sender: No OFD packet to send [02:10:02]OFD Sender: No OFD packet to send [02:10:07]OFD Sender: No OFD packet to send [02:10:12]OFD Sender: No OFD packet to send [02:10:17]OFD Sender: No OFD packet to send [02:10:22]OFD Sender: No OFD packet to send [02:10:27]OFD Sender: No OFD packet to send [02:10:32]OFD Sender: No OFD packet to send [02:10:37]OFD Sender: No OFD packet to send [02:10:42]OFD Sender: No OFD packet to send [02:10:47]OFD Sender: No OFD packet to send [02:10:52]OFD Sender: No OFD packet to send [02:10:57]OFD Sender: No OFD packet to send [02:11:02]OFD Sender: No OFD packet to send [02:11:07]OFD Sender: No OFD packet to send [02:11:12]OFD Sender: No OFD packet to send [02:11:17]OFD Sender: No OFD packet to send [02:11:22]OFD Sender: No OFD packet to send [02:11:27]OFD Sender: No OFD packet to send [02:11:32]OFD Sender: No OFD packet to send [02:11:37]OFD Sender: No OFD packet to send [02:11:42]OFD Sender: No OFD packet to send [02:11:47]OFD Sender: No OFD packet to send [02:11:52]OFD Sender: No OFD packet to send [02:11:58]OFD Sender: No OFD packet to send [02:12:03]OFD Sender: No OFD packet to send [02:12:08]OFD Sender: No OFD packet to send [02:12:13]OFD Sender: No OFD packet to send [02:12:18]OFD Sender: No OFD packet to send [02:12:23]OFD Sender: No OFD packet to send [02:12:28]OFD Sender: No OFD packet to send [02:12:33]OFD Sender: No OFD packet to send [02:12:38]OFD Sender: No OFD packet to send [02:12:43]OFD Sender: No OFD packet to send [02:12:48]OFD Sender: No OFD packet to send [02:12:53]OFD Sender: No OFD packet to send [02:12:58]OFD Sender: No OFD packet to send [02:13:03]OFD Sender: No OFD packet to send [02:13:08]OFD Sender: No OFD packet to send [02:13:13]OFD Sender: No OFD packet to send [02:13:18]OFD Sender: No OFD packet to send [02:13:23]OFD Sender: No OFD packet to send [02:13:28]OFD Sender: No OFD packet to send [02:13:33]OFD Sender: No OFD packet to send [02:13:38]OFD Sender: No OFD packet to send [02:13:43]OFD Sender: No OFD packet to send [02:13:48]OFD Sender: No OFD packet to send [02:13:53]OFD Sender: No OFD packet to send [02:13:58]OFD Sender: No OFD packet to send [02:14:03]OFD Sender: No OFD packet to send [02:14:08]OFD Sender: No OFD packet to send [02:14:13]OFD Sender: No OFD packet to send [02:14:18]OFD Sender: No OFD packet to send [02:14:23]OFD Sender: No OFD packet to send [02:14:28]OFD Sender: No OFD packet to send [02:14:33]OFD Sender: No OFD packet to send [02:14:38]OFD Sender: No OFD packet to send [02:14:43]OFD Sender: No OFD packet to send [02:14:48]OFD Sender: No OFD packet to send [02:14:53]OFD Sender: No OFD packet to send [02:14:58]OFD Sender: No OFD packet to send [02:15:03]OFD Sender: No OFD packet to send [02:15:08]OFD Sender: No OFD packet to send [02:15:13]OFD Sender: No OFD packet to send [02:15:18]OFD Sender: No OFD packet to send [02:15:23]OFD Sender: No OFD packet to send [02:15:28]OFD Sender: No OFD packet to send [02:15:33]OFD Sender: No OFD packet to send [02:15:38]OFD Sender: No OFD packet to send [02:15:43]OFD Sender: No OFD packet to send [02:15:48]OFD Sender: No OFD packet to send [02:15:53]OFD Sender: No OFD packet to send [02:15:58]OFD Sender: No OFD packet to send [02:16:03]OFD Sender: No OFD packet to send [02:16:08]OFD Sender: No OFD packet to send [02:16:13]OFD Sender: No OFD packet to send [02:16:18]OFD Sender: No OFD packet to send [02:16:23]OFD Sender: No OFD packet to send [02:16:28]OFD Sender: No OFD packet to send [02:16:33]OFD Sender: No OFD packet to send [02:16:38]OFD Sender: No OFD packet to send [02:16:43]OFD Sender: No OFD packet to send [02:16:48]OFD Sender: No OFD packet to send [02:16:53]OFD Sender: No OFD packet to send [02:16:58]OFD Sender: No OFD packet to send [02:17:03]OFD Sender: No OFD packet to send [02:17:08]OFD Sender: No OFD packet to send [02:17:13]OFD Sender: No OFD packet to send [02:17:18]OFD Sender: No OFD packet to send [02:17:23]OFD Sender: No OFD packet to send [02:17:28]OFD Sender: No OFD packet to send [02:17:33]OFD Sender: No OFD packet to send [02:17:38]OFD Sender: No OFD packet to send [02:17:43]OFD Sender: No OFD packet to send [02:17:48]OFD Sender: No OFD packet to send [02:17:53]OFD Sender: No OFD packet to send [02:17:58]OFD Sender: No OFD packet to send [02:18:03]OFD Sender: No OFD packet to send [02:18:08]OFD Sender: No OFD packet to send [02:18:13]OFD Sender: No OFD packet to send [02:18:18]OFD Sender: No OFD packet to send [02:18:23]OFD Sender: No OFD packet to send [02:18:28]OFD Sender: No OFD packet to send [02:18:33]OFD Sender: No OFD packet to send [02:18:38]OFD Sender: No OFD packet to send [02:18:43]OFD Sender: No OFD packet to send [02:18:48]OFD Sender: No OFD packet to send [02:18:53]OFD Sender: No OFD packet to send [02:18:58]OFD Sender: No OFD packet to send [02:19:03]OFD Sender: No OFD packet to send [02:19:08]OFD Sender: No OFD packet to send [02:19:13]OFD Sender: No OFD packet to send [02:19:18]OFD Sender: No OFD packet to send [02:19:23]OFD Sender: No OFD packet to send [02:19:28]OFD Sender: No OFD packet to send [02:19:33]OFD Sender: No OFD packet to send [02:19:38]OFD Sender: No OFD packet to send [02:19:43]OFD Sender: No OFD packet to send [02:19:48]OFD Sender: No OFD packet to send [02:19:53]OFD Sender: No OFD packet to send [02:19:58]OFD Sender: No OFD packet to send [02:20:03]OFD Sender: No OFD packet to send [02:20:08]OFD Sender: No OFD packet to send [02:20:13]OFD Sender: No OFD packet to send [02:20:18]OFD Sender: No OFD packet to send [02:20:23]OFD Sender: No OFD packet to send [02:20:28]OFD Sender: No OFD packet to send [02:20:33]OFD Sender: No OFD packet to send [02:20:38]OFD Sender: No OFD packet to send [02:20:43]OFD Sender: No OFD packet to send [02:20:48]OFD Sender: No OFD packet to send [02:20:53]OFD Sender: No OFD packet to send [02:20:58]OFD Sender: No OFD packet to send [02:21:03]OFD Sender: No OFD packet to send [02:21:08]OFD Sender: No OFD packet to send [02:21:13]OFD Sender: No OFD packet to send [02:21:18]OFD Sender: No OFD packet to send [02:21:23]OFD Sender: No OFD packet to send [02:21:28]OFD Sender: No OFD packet to send [02:21:33]OFD Sender: No OFD packet to send [02:21:38]OFD Sender: No OFD packet to send [02:21:43]OFD Sender: No OFD packet to send [02:21:48]OFD Sender: No OFD packet to send [02:21:53]OFD Sender: No OFD packet to send [02:21:58]OFD Sender: No OFD packet to send [02:22:03]OFD Sender: No OFD packet to send [02:22:08]OFD Sender: No OFD packet to send [02:22:13]OFD Sender: No OFD packet to send [02:22:18]OFD Sender: No OFD packet to send [02:22:23]OFD Sender: No OFD packet to send [02:22:28]OFD Sender: No OFD packet to send [02:22:33]OFD Sender: No OFD packet to send [02:22:38]OFD Sender: No OFD packet to send [02:22:43]OFD Sender: No OFD packet to send [02:22:48]OFD Sender: No OFD packet to send [02:22:53]OFD Sender: No OFD packet to send [02:22:58]OFD Sender: No OFD packet to send [02:23:03]OFD Sender: No OFD packet to send [02:23:08]OFD Sender: No OFD packet to send [02:23:13]OFD Sender: No OFD packet to send [02:23:18]OFD Sender: No OFD packet to send [02:23:23]OFD Sender: No OFD packet to send [02:23:28]OFD Sender: No OFD packet to send [02:23:33]OFD Sender: No OFD packet to send [02:23:38]OFD Sender: No OFD packet to send [02:23:43]OFD Sender: No OFD packet to send [02:23:48]OFD Sender: No OFD packet to send [02:23:53]OFD Sender: No OFD packet to send [02:23:58]OFD Sender: No OFD packet to send [02:24:03]OFD Sender: No OFD packet to send [02:24:08]OFD Sender: No OFD packet to send [02:24:13]OFD Sender: No OFD packet to send [02:24:18]OFD Sender: No OFD packet to send [02:24:23]OFD Sender: No OFD packet to send [02:24:28]OFD Sender: No OFD packet to send [02:24:33]OFD Sender: No OFD packet to send [02:24:38]OFD Sender: No OFD packet to send [02:24:43]OFD Sender: No OFD packet to send [02:24:48]OFD Sender: No OFD packet to send [02:24:53]OFD Sender: No OFD packet to send [02:24:58]OFD Sender: No OFD packet to send [02:25:03]OFD Sender: No OFD packet to send [02:25:08]OFD Sender: No OFD packet to send [02:25:13]OFD Sender: No OFD packet to send [02:25:18]OFD Sender: No OFD packet to send [02:25:23]OFD Sender: No OFD packet to send [02:25:28]OFD Sender: No OFD packet to send [02:25:33]OFD Sender: No OFD packet to send [02:25:38]OFD Sender: No OFD packet to send [02:25:43]OFD Sender: No OFD packet to send [02:25:48]OFD Sender: No OFD packet to send [02:25:53]OFD Sender: No OFD packet to send [02:25:58]OFD Sender: No OFD packet to send [02:26:03]OFD Sender: No OFD packet to send [02:26:08]OFD Sender: No OFD packet to send [02:26:13]OFD Sender: No OFD packet to send [02:26:18]OFD Sender: No OFD packet to send [02:26:23]OFD Sender: No OFD packet to send [02:26:28]OFD Sender: No OFD packet to send [02:26:33]OFD Sender: No OFD packet to send [02:26:38]OFD Sender: No OFD packet to send [02:26:43]OFD Sender: No OFD packet to send [02:26:48]OFD Sender: No OFD packet to send [02:26:53]OFD Sender: No OFD packet to send [02:26:58]OFD Sender: No OFD packet to send [02:27:03]OFD Sender: No OFD packet to send [02:27:08]OFD Sender: No OFD packet to send [02:27:13]OFD Sender: No OFD packet to send [02:27:18]OFD Sender: No OFD packet to send [02:27:23]OFD Sender: No OFD packet to send [02:27:28]OFD Sender: No OFD packet to send [02:27:33]OFD Sender: No OFD packet to send [02:27:38]OFD Sender: No OFD packet to send [02:27:43]OFD Sender: No OFD packet to send [02:27:48]OFD Sender: No OFD packet to send [02:27:53]OFD Sender: No OFD packet to send [02:27:58]OFD Sender: No OFD packet to send [02:28:03]OFD Sender: No OFD packet to send [02:28:08]OFD Sender: No OFD packet to send [02:28:13]OFD Sender: No OFD packet to send [02:28:18]OFD Sender: No OFD packet to send [02:28:23]OFD Sender: No OFD packet to send [02:28:28]OFD Sender: No OFD packet to send [02:28:33]OFD Sender: No OFD packet to send [02:28:38]OFD Sender: No OFD packet to send [02:28:43]OFD Sender: No OFD packet to send [02:28:48]OFD Sender: No OFD packet to send [02:28:53]OFD Sender: No OFD packet to send [02:28:58]OFD Sender: No OFD packet to send [02:29:03]OFD Sender: No OFD packet to send [02:29:08]OFD Sender: No OFD packet to send [02:29:13]OFD Sender: No OFD packet to send [02:29:18]OFD Sender: No OFD packet to send [02:29:23]OFD Sender: No OFD packet to send [02:29:28]OFD Sender: No OFD packet to send [02:29:33]OFD Sender: No OFD packet to send [02:29:38]OFD Sender: No OFD packet to send [02:29:43]OFD Sender: No OFD packet to send [02:29:48]OFD Sender: No OFD packet to send [02:29:53]OFD Sender: No OFD packet to send [02:29:58]OFD Sender: No OFD packet to send [02:30:03]OFD Sender: No OFD packet to send [02:30:08]OFD Sender: No OFD packet to send [02:30:13]OFD Sender: No OFD packet to send [02:30:18]OFD Sender: No OFD packet to send [02:30:23]OFD Sender: No OFD packet to send [02:30:28]OFD Sender: No OFD packet to send [02:30:33]OFD Sender: No OFD packet to send [02:30:38]OFD Sender: No OFD packet to send [02:30:43]OFD Sender: No OFD packet to send [02:30:48]OFD Sender: No OFD packet to send [02:30:53]OFD Sender: No OFD packet to send [02:30:58]OFD Sender: No OFD packet to send [02:31:03]OFD Sender: No OFD packet to send [02:31:08]OFD Sender: No OFD packet to send [02:31:13]OFD Sender: No OFD packet to send [02:31:18]OFD Sender: No OFD packet to send [02:31:23]OFD Sender: No OFD packet to send [02:31:28]OFD Sender: No OFD packet to send [02:31:33]OFD Sender: No OFD packet to send [02:31:38]OFD Sender: No OFD packet to send [02:31:43]OFD Sender: No OFD packet to send [02:31:48]OFD Sender: No OFD packet to send [02:31:54]OFD Sender: No OFD packet to send [02:31:59]OFD Sender: No OFD packet to send [02:32:04]OFD Sender: No OFD packet to send [02:32:09]OFD Sender: No OFD packet to send [02:32:14]OFD Sender: No OFD packet to send [02:32:19]OFD Sender: No OFD packet to send [02:32:24]OFD Sender: No OFD packet to send [02:32:29]OFD Sender: No OFD packet to send [02:32:34]OFD Sender: No OFD packet to send [02:32:39]OFD Sender: No OFD packet to send [02:32:44]OFD Sender: No OFD packet to send [02:32:49]OFD Sender: No OFD packet to send [02:32:54]OFD Sender: No OFD packet to send [02:32:59]OFD Sender: No OFD packet to send [02:33:04]OFD Sender: No OFD packet to send [02:33:09]OFD Sender: No OFD packet to send [02:33:14]OFD Sender: No OFD packet to send [02:33:19]OFD Sender: No OFD packet to send [02:33:24]OFD Sender: No OFD packet to send [02:33:29]OFD Sender: No OFD packet to send [02:33:34]OFD Sender: No OFD packet to send [02:33:39]OFD Sender: No OFD packet to send [02:33:44]OFD Sender: No OFD packet to send [02:33:49]OFD Sender: No OFD packet to send [02:33:54]OFD Sender: No OFD packet to send [02:33:59]OFD Sender: No OFD packet to send [02:34:04]OFD Sender: No OFD packet to send [02:34:09]OFD Sender: No OFD packet to send [02:34:14]OFD Sender: No OFD packet to send [02:34:19]OFD Sender: No OFD packet to send [02:34:24]OFD Sender: No OFD packet to send [02:34:29]OFD Sender: No OFD packet to send [02:34:34]OFD Sender: No OFD packet to send [02:34:39]OFD Sender: No OFD packet to send [02:34:44]OFD Sender: No OFD packet to send [02:34:49]OFD Sender: No OFD packet to send [02:34:54]OFD Sender: No OFD packet to send [02:34:59]OFD Sender: No OFD packet to send [02:35:04]OFD Sender: No OFD packet to send [02:35:09]OFD Sender: No OFD packet to send [02:35:14]OFD Sender: No OFD packet to send [02:35:19]OFD Sender: No OFD packet to send [02:35:24]OFD Sender: No OFD packet to send [02:35:29]OFD Sender: No OFD packet to send [02:35:34]OFD Sender: No OFD packet to send [02:35:39]OFD Sender: No OFD packet to send [02:35:44]OFD Sender: No OFD packet to send [02:35:49]OFD Sender: No OFD packet to send [02:35:54]OFD Sender: No OFD packet to send [02:35:59]OFD Sender: No OFD packet to send [02:36:04]OFD Sender: No OFD packet to send [02:36:09]OFD Sender: No OFD packet to send [02:36:14]OFD Sender: No OFD packet to send [02:36:19]OFD Sender: No OFD packet to send [02:36:24]OFD Sender: No OFD packet to send [02:36:29]OFD Sender: No OFD packet to send [02:36:34]OFD Sender: No OFD packet to send [02:36:39]OFD Sender: No OFD packet to send [02:36:44]OFD Sender: No OFD packet to send [02:36:49]OFD Sender: No OFD packet to send [02:36:54]OFD Sender: No OFD packet to send [02:36:59]OFD Sender: No OFD packet to send [02:37:04]OFD Sender: No OFD packet to send [02:37:09]OFD Sender: No OFD packet to send [02:37:14]OFD Sender: No OFD packet to send [02:37:19]OFD Sender: No OFD packet to send [02:37:24]OFD Sender: No OFD packet to send [02:37:29]OFD Sender: No OFD packet to send [02:37:34]OFD Sender: No OFD packet to send [02:37:39]OFD Sender: No OFD packet to send [02:37:44]OFD Sender: No OFD packet to send [02:37:49]OFD Sender: No OFD packet to send [02:37:54]OFD Sender: No OFD packet to send [02:37:59]OFD Sender: No OFD packet to send [02:38:04]OFD Sender: No OFD packet to send [02:38:09]OFD Sender: No OFD packet to send [02:38:14]OFD Sender: No OFD packet to send [02:38:19]OFD Sender: No OFD packet to send [02:38:24]OFD Sender: No OFD packet to send [02:38:29]OFD Sender: No OFD packet to send [02:38:34]OFD Sender: No OFD packet to send [02:38:39]OFD Sender: No OFD packet to send [02:38:44]OFD Sender: No OFD packet to send [02:38:49]OFD Sender: No OFD packet to send [02:38:54]OFD Sender: No OFD packet to send [02:38:59]OFD Sender: No OFD packet to send [02:39:04]OFD Sender: No OFD packet to send [02:39:09]OFD Sender: No OFD packet to send [02:39:14]OFD Sender: No OFD packet to send [02:39:19]OFD Sender: No OFD packet to send [02:39:24]OFD Sender: No OFD packet to send [02:39:29]OFD Sender: No OFD packet to send [02:39:34]OFD Sender: No OFD packet to send [02:39:39]OFD Sender: No OFD packet to send [02:39:44]OFD Sender: No OFD packet to send [02:39:49]OFD Sender: No OFD packet to send [02:39:54]OFD Sender: No OFD packet to send [02:39:59]OFD Sender: No OFD packet to send [02:40:04]OFD Sender: No OFD packet to send [02:40:09]OFD Sender: No OFD packet to send [02:40:14]OFD Sender: No OFD packet to send [02:40:19]OFD Sender: No OFD packet to send [02:40:24]OFD Sender: No OFD packet to send [02:40:29]OFD Sender: No OFD packet to send [02:40:34]OFD Sender: No OFD packet to send [02:40:39]OFD Sender: No OFD packet to send [02:40:44]OFD Sender: No OFD packet to send [02:40:49]OFD Sender: No OFD packet to send [02:40:54]OFD Sender: No OFD packet to send [02:40:59]OFD Sender: No OFD packet to send [02:41:04]OFD Sender: No OFD packet to send [02:41:09]OFD Sender: No OFD packet to send [02:41:14]OFD Sender: No OFD packet to send [02:41:19]OFD Sender: No OFD packet to send [02:41:24]OFD Sender: No OFD packet to send [02:41:29]OFD Sender: No OFD packet to send [02:41:34]OFD Sender: No OFD packet to send [02:41:39]OFD Sender: No OFD packet to send [02:41:44]OFD Sender: No OFD packet to send [02:41:49]OFD Sender: No OFD packet to send [02:41:54]OFD Sender: No OFD packet to send [02:41:59]OFD Sender: No OFD packet to send [02:42:04]OFD Sender: No OFD packet to send [02:42:09]OFD Sender: No OFD packet to send [02:42:14]OFD Sender: No OFD packet to send [02:42:19]OFD Sender: No OFD packet to send [02:42:24]OFD Sender: No OFD packet to send [02:42:29]OFD Sender: No OFD packet to send [02:42:34]OFD Sender: No OFD packet to send [02:42:39]OFD Sender: No OFD packet to send [02:42:44]OFD Sender: No OFD packet to send [02:42:49]OFD Sender: No OFD packet to send [02:42:54]OFD Sender: No OFD packet to send [02:42:59]OFD Sender: No OFD packet to send [02:43:04]OFD Sender: No OFD packet to send [02:43:09]OFD Sender: No OFD packet to send [02:43:14]OFD Sender: No OFD packet to send [02:43:19]OFD Sender: No OFD packet to send [02:43:24]OFD Sender: No OFD packet to send [02:43:29]OFD Sender: No OFD packet to send [02:43:34]OFD Sender: No OFD packet to send [02:43:39]OFD Sender: No OFD packet to send [02:43:44]OFD Sender: No OFD packet to send [02:43:49]OFD Sender: No OFD packet to send [02:43:54]OFD Sender: No OFD packet to send [02:43:59]OFD Sender: No OFD packet to send [02:44:04]OFD Sender: No OFD packet to send [02:44:09]OFD Sender: No OFD packet to send [02:44:14]OFD Sender: No OFD packet to send [02:44:19]OFD Sender: No OFD packet to send [02:44:24]OFD Sender: No OFD packet to send [02:44:29]OFD Sender: No OFD packet to send [02:44:34]OFD Sender: No OFD packet to send [02:44:39]OFD Sender: No OFD packet to send [02:44:44]OFD Sender: No OFD packet to send [02:44:49]OFD Sender: No OFD packet to send [02:44:54]OFD Sender: No OFD packet to send [02:44:59]OFD Sender: No OFD packet to send [02:45:04]OFD Sender: No OFD packet to send [02:45:09]OFD Sender: No OFD packet to send [02:45:14]OFD Sender: No OFD packet to send [02:45:19]OFD Sender: No OFD packet to send [02:45:24]OFD Sender: No OFD packet to send [02:45:29]OFD Sender: No OFD packet to send [02:45:34]OFD Sender: No OFD packet to send [02:45:39]OFD Sender: No OFD packet to send [02:45:44]OFD Sender: No OFD packet to send [02:45:49]OFD Sender: No OFD packet to send [02:45:54]OFD Sender: No OFD packet to send [02:45:59]OFD Sender: No OFD packet to send [02:46:04]OFD Sender: No OFD packet to send [02:46:09]OFD Sender: No OFD packet to send [02:46:14]OFD Sender: No OFD packet to send [02:46:19]OFD Sender: No OFD packet to send [02:46:24]OFD Sender: No OFD packet to send [02:46:29]OFD Sender: No OFD packet to send [02:46:34]OFD Sender: No OFD packet to send [02:46:39]OFD Sender: No OFD packet to send [02:46:44]OFD Sender: No OFD packet to send [02:46:49]OFD Sender: No OFD packet to send [02:46:54]OFD Sender: No OFD packet to send [02:46:59]OFD Sender: No OFD packet to send [02:47:04]OFD Sender: No OFD packet to send [02:47:09]OFD Sender: No OFD packet to send [02:47:14]OFD Sender: No OFD packet to send [02:47:19]OFD Sender: No OFD packet to send [02:47:24]OFD Sender: No OFD packet to send [02:47:29]OFD Sender: No OFD packet to send [02:47:34]OFD Sender: No OFD packet to send [02:47:39]OFD Sender: No OFD packet to send [02:47:44]OFD Sender: No OFD packet to send [02:47:49]OFD Sender: No OFD packet to send [02:47:54]OFD Sender: No OFD packet to send [02:47:59]OFD Sender: No OFD packet to send [02:48:04]OFD Sender: No OFD packet to send [02:48:09]OFD Sender: No OFD packet to send [02:48:14]OFD Sender: No OFD packet to send [02:48:19]OFD Sender: No OFD packet to send [02:48:24]OFD Sender: No OFD packet to send [02:48:29]OFD Sender: No OFD packet to send [02:48:34]OFD Sender: No OFD packet to send [02:48:39]OFD Sender: No OFD packet to send [02:48:44]OFD Sender: No OFD packet to send [02:48:49]OFD Sender: No OFD packet to send [02:48:54]OFD Sender: No OFD packet to send [02:48:59]OFD Sender: No OFD packet to send [02:49:04]OFD Sender: No OFD packet to send [02:49:09]OFD Sender: No OFD packet to send [02:49:14]OFD Sender: No OFD packet to send [02:49:19]OFD Sender: No OFD packet to send [02:49:24]OFD Sender: No OFD packet to send [02:49:29]OFD Sender: No OFD packet to send [02:49:34]OFD Sender: No OFD packet to send [02:49:39]OFD Sender: No OFD packet to send [02:49:44]OFD Sender: No OFD packet to send [02:49:49]OFD Sender: No OFD packet to send [02:49:54]OFD Sender: No OFD packet to send [02:49:59]OFD Sender: No OFD packet to send [02:50:04]OFD Sender: No OFD packet to send [02:50:09]OFD Sender: No OFD packet to send [02:50:14]OFD Sender: No OFD packet to send [02:50:19]OFD Sender: No OFD packet to send [02:50:24]OFD Sender: No OFD packet to send [02:50:29]OFD Sender: No OFD packet to send [02:50:34]OFD Sender: No OFD packet to send [02:50:39]OFD Sender: No OFD packet to send [02:50:44]OFD Sender: No OFD packet to send [02:50:49]OFD Sender: No OFD packet to send [02:50:54]OFD Sender: No OFD packet to send [02:50:59]OFD Sender: No OFD packet to send [02:51:04]OFD Sender: No OFD packet to send [02:51:09]OFD Sender: No OFD packet to send [02:51:14]OFD Sender: No OFD packet to send [02:51:19]OFD Sender: No OFD packet to send [02:51:24]OFD Sender: No OFD packet to send [02:51:29]OFD Sender: No OFD packet to send [02:51:34]OFD Sender: No OFD packet to send [02:51:39]OFD Sender: No OFD packet to send [02:51:44]OFD Sender: No OFD packet to send [02:51:50]OFD Sender: No OFD packet to send [02:51:55]OFD Sender: No OFD packet to send [02:52:00]OFD Sender: No OFD packet to send [02:52:05]OFD Sender: No OFD packet to send [02:52:10]OFD Sender: No OFD packet to send [02:52:15]OFD Sender: No OFD packet to send [02:52:20]OFD Sender: No OFD packet to send [02:52:25]OFD Sender: No OFD packet to send [02:52:30]OFD Sender: No OFD packet to send [02:52:35]OFD Sender: No OFD packet to send [02:52:40]OFD Sender: No OFD packet to send [02:52:45]OFD Sender: No OFD packet to send [02:52:50]OFD Sender: No OFD packet to send [02:52:55]OFD Sender: No OFD packet to send [02:53:00]OFD Sender: No OFD packet to send [02:53:05]OFD Sender: No OFD packet to send [02:53:10]OFD Sender: No OFD packet to send [02:53:15]OFD Sender: No OFD packet to send [02:53:20]OFD Sender: No OFD packet to send [02:53:25]OFD Sender: No OFD packet to send [02:53:30]OFD Sender: No OFD packet to send [02:53:35]OFD Sender: No OFD packet to send [02:53:40]OFD Sender: No OFD packet to send [02:53:45]OFD Sender: No OFD packet to send [02:53:50]OFD Sender: No OFD packet to send [02:53:55]OFD Sender: No OFD packet to send [02:54:00]OFD Sender: No OFD packet to send [02:54:05]OFD Sender: No OFD packet to send [02:54:10]OFD Sender: No OFD packet to send [02:54:15]OFD Sender: No OFD packet to send [02:54:20]OFD Sender: No OFD packet to send [02:54:25]OFD Sender: No OFD packet to send [02:54:30]OFD Sender: No OFD packet to send [02:54:35]OFD Sender: No OFD packet to send [02:54:40]OFD Sender: No OFD packet to send [02:54:45]OFD Sender: No OFD packet to send [02:54:50]OFD Sender: No OFD packet to send [02:54:55]OFD Sender: No OFD packet to send [02:55:00]OFD Sender: No OFD packet to send [02:55:05]OFD Sender: No OFD packet to send [02:55:10]OFD Sender: No OFD packet to send [02:55:15]OFD Sender: No OFD packet to send [02:55:20]OFD Sender: No OFD packet to send [02:55:25]OFD Sender: No OFD packet to send [02:55:30]OFD Sender: No OFD packet to send [02:55:35]OFD Sender: No OFD packet to send [02:55:40]OFD Sender: No OFD packet to send [02:55:45]OFD Sender: No OFD packet to send [02:55:50]OFD Sender: No OFD packet to send [02:55:55]OFD Sender: No OFD packet to send [02:56:00]OFD Sender: No OFD packet to send [02:56:05]OFD Sender: No OFD packet to send [02:56:10]OFD Sender: No OFD packet to send [02:56:15]OFD Sender: No OFD packet to send [02:56:20]OFD Sender: No OFD packet to send [02:56:25]OFD Sender: No OFD packet to send [02:56:30]OFD Sender: No OFD packet to send [02:56:35]OFD Sender: No OFD packet to send [02:56:40]OFD Sender: No OFD packet to send [02:56:45]OFD Sender: No OFD packet to send [02:56:50]OFD Sender: No OFD packet to send [02:56:55]OFD Sender: No OFD packet to send [02:57:00]OFD Sender: No OFD packet to send [02:57:05]OFD Sender: No OFD packet to send [02:57:10]OFD Sender: No OFD packet to send [02:57:15]OFD Sender: No OFD packet to send [02:57:20]OFD Sender: No OFD packet to send [02:57:25]OFD Sender: No OFD packet to send [02:57:30]OFD Sender: No OFD packet to send [02:57:35]OFD Sender: No OFD packet to send [02:57:40]OFD Sender: No OFD packet to send [02:57:45]OFD Sender: No OFD packet to send [02:57:50]OFD Sender: No OFD packet to send [02:57:55]OFD Sender: No OFD packet to send [02:58:00]OFD Sender: No OFD packet to send [02:58:05]OFD Sender: No OFD packet to send [02:58:10]OFD Sender: No OFD packet to send [02:58:15]OFD Sender: No OFD packet to send [02:58:20]OFD Sender: No OFD packet to send [02:58:25]OFD Sender: No OFD packet to send [02:58:30]OFD Sender: No OFD packet to send [02:58:35]OFD Sender: No OFD packet to send [02:58:40]OFD Sender: No OFD packet to send [02:58:45]OFD Sender: No OFD packet to send [02:58:50]OFD Sender: No OFD packet to send [02:58:55]OFD Sender: No OFD packet to send [02:59:00]OFD Sender: No OFD packet to send [02:59:05]OFD Sender: No OFD packet to send [02:59:10]OFD Sender: No OFD packet to send [02:59:15]OFD Sender: No OFD packet to send [02:59:20]OFD Sender: No OFD packet to send [02:59:25]OFD Sender: No OFD packet to send [02:59:30]OFD Sender: No OFD packet to send [02:59:35]OFD Sender: No OFD packet to send [02:59:40]OFD Sender: No OFD packet to send [02:59:45]OFD Sender: No OFD packet to send [02:59:50]OFD Sender: No OFD packet to send [02:59:55]OFD Sender: No OFD packet to send [03:00:00]OFD Sender: No OFD packet to send [03:00:05]OFD Sender: No OFD packet to send [03:00:10]OFD Sender: No OFD packet to send [03:00:15]OFD Sender: No OFD packet to send [03:00:20]OFD Sender: No OFD packet to send [03:00:25]OFD Sender: No OFD packet to send [03:00:30]OFD Sender: No OFD packet to send [03:00:35]OFD Sender: No OFD packet to send [03:00:40]OFD Sender: No OFD packet to send [03:00:45]OFD Sender: No OFD packet to send [03:00:50]OFD Sender: No OFD packet to send [03:00:55]OFD Sender: No OFD packet to send [03:01:00]OFD Sender: No OFD packet to send [03:01:05]OFD Sender: No OFD packet to send [03:01:10]OFD Sender: No OFD packet to send [03:01:15]OFD Sender: No OFD packet to send [03:01:20]OFD Sender: No OFD packet to send [03:01:25]OFD Sender: No OFD packet to send [03:01:30]OFD Sender: No OFD packet to send [03:01:35]OFD Sender: No OFD packet to send [03:01:40]OFD Sender: No OFD packet to send [03:01:45]OFD Sender: No OFD packet to send [03:01:50]OFD Sender: No OFD packet to send [03:01:55]OFD Sender: No OFD packet to send [03:02:00]OFD Sender: No OFD packet to send [03:02:05]OFD Sender: No OFD packet to send [03:02:10]OFD Sender: No OFD packet to send [03:02:15]OFD Sender: No OFD packet to send [03:02:20]OFD Sender: No OFD packet to send [03:02:25]OFD Sender: No OFD packet to send [03:02:30]OFD Sender: No OFD packet to send [03:02:35]OFD Sender: No OFD packet to send [03:02:40]OFD Sender: No OFD packet to send [03:02:45]OFD Sender: No OFD packet to send [03:02:50]OFD Sender: No OFD packet to send [03:02:55]OFD Sender: No OFD packet to send [03:03:00]OFD Sender: No OFD packet to send [03:03:05]OFD Sender: No OFD packet to send [03:03:10]OFD Sender: No OFD packet to send [03:03:15]OFD Sender: No OFD packet to send [03:03:20]OFD Sender: No OFD packet to send [03:03:25]OFD Sender: No OFD packet to send [03:03:30]OFD Sender: No OFD packet to send [03:03:35]OFD Sender: No OFD packet to send [03:03:40]OFD Sender: No OFD packet to send [03:03:45]OFD Sender: No OFD packet to send [03:03:50]OFD Sender: No OFD packet to send [03:03:55]OFD Sender: No OFD packet to send [03:04:00]OFD Sender: No OFD packet to send [03:04:05]OFD Sender: No OFD packet to send [03:04:10]OFD Sender: No OFD packet to send [03:04:15]OFD Sender: No OFD packet to send [03:04:20]OFD Sender: No OFD packet to send [03:04:25]OFD Sender: No OFD packet to send [03:04:30]OFD Sender: No OFD packet to send [03:04:35]OFD Sender: No OFD packet to send [03:04:40]OFD Sender: No OFD packet to send [03:04:45]OFD Sender: No OFD packet to send [03:04:50]OFD Sender: No OFD packet to send [03:04:55]OFD Sender: No OFD packet to send [03:05:00]OFD Sender: No OFD packet to send [03:05:05]OFD Sender: No OFD packet to send [03:05:10]OFD Sender: No OFD packet to send [03:05:15]OFD Sender: No OFD packet to send [03:05:20]OFD Sender: No OFD packet to send [03:05:25]OFD Sender: No OFD packet to send [03:05:30]OFD Sender: No OFD packet to send [03:05:35]OFD Sender: No OFD packet to send [03:05:40]OFD Sender: No OFD packet to send [03:05:45]OFD Sender: No OFD packet to send [03:05:50]OFD Sender: No OFD packet to send [03:05:55]OFD Sender: No OFD packet to send [03:06:00]OFD Sender: No OFD packet to send [03:06:05]OFD Sender: No OFD packet to send [03:06:10]OFD Sender: No OFD packet to send [03:06:15]OFD Sender: No OFD packet to send [03:06:20]OFD Sender: No OFD packet to send [03:06:25]OFD Sender: No OFD packet to send [03:06:30]OFD Sender: No OFD packet to send [03:06:35]OFD Sender: No OFD packet to send [03:06:40]OFD Sender: No OFD packet to send [03:06:45]OFD Sender: No OFD packet to send [03:06:50]OFD Sender: No OFD packet to send [03:06:55]OFD Sender: No OFD packet to send [03:07:00]OFD Sender: No OFD packet to send [03:07:05]OFD Sender: No OFD packet to send [03:07:10]OFD Sender: No OFD packet to send [03:07:15]OFD Sender: No OFD packet to send [03:07:20]OFD Sender: No OFD packet to send [03:07:25]OFD Sender: No OFD packet to send [03:07:30]OFD Sender: No OFD packet to send [03:07:35]OFD Sender: No OFD packet to send [03:07:40]OFD Sender: No OFD packet to send [03:07:45]OFD Sender: No OFD packet to send [03:07:50]OFD Sender: No OFD packet to send [03:07:55]OFD Sender: No OFD packet to send [03:08:00]OFD Sender: No OFD packet to send [03:08:05]OFD Sender: No OFD packet to send [03:08:10]OFD Sender: No OFD packet to send [03:08:15]OFD Sender: No OFD packet to send [03:08:20]OFD Sender: No OFD packet to send [03:08:25]OFD Sender: No OFD packet to send [03:08:30]OFD Sender: No OFD packet to send [03:08:35]OFD Sender: No OFD packet to send [03:08:40]OFD Sender: No OFD packet to send [03:08:45]OFD Sender: No OFD packet to send [03:08:50]OFD Sender: No OFD packet to send [03:08:55]OFD Sender: No OFD packet to send [03:09:00]OFD Sender: No OFD packet to send [03:09:05]OFD Sender: No OFD packet to send [03:09:10]OFD Sender: No OFD packet to send [03:09:15]OFD Sender: No OFD packet to send [03:09:20]OFD Sender: No OFD packet to send [03:09:25]OFD Sender: No OFD packet to send [03:09:30]OFD Sender: No OFD packet to send [03:09:35]OFD Sender: No OFD packet to send [03:09:40]OFD Sender: No OFD packet to send [03:09:45]OFD Sender: No OFD packet to send [03:09:50]OFD Sender: No OFD packet to send [03:09:55]OFD Sender: No OFD packet to send [03:10:00]OFD Sender: No OFD packet to send [03:10:05]OFD Sender: No OFD packet to send [03:10:10]OFD Sender: No OFD packet to send [03:10:15]OFD Sender: No OFD packet to send [03:10:20]OFD Sender: No OFD packet to send [03:10:25]OFD Sender: No OFD packet to send [03:10:30]OFD Sender: No OFD packet to send [03:10:35]OFD Sender: No OFD packet to send [03:10:40]OFD Sender: No OFD packet to send [03:10:45]OFD Sender: No OFD packet to send [03:10:50]OFD Sender: No OFD packet to send [03:10:55]OFD Sender: No OFD packet to send [03:11:00]OFD Sender: No OFD packet to send [03:11:05]OFD Sender: No OFD packet to send [03:11:10]OFD Sender: No OFD packet to send [03:11:15]OFD Sender: No OFD packet to send [03:11:20]OFD Sender: No OFD packet to send [03:11:25]OFD Sender: No OFD packet to send [03:11:30]OFD Sender: No OFD packet to send [03:11:35]OFD Sender: No OFD packet to send [03:11:41]OFD Sender: No OFD packet to send [03:11:46]OFD Sender: No OFD packet to send [03:11:51]OFD Sender: No OFD packet to send [03:11:56]OFD Sender: No OFD packet to send [03:12:01]OFD Sender: No OFD packet to send [03:12:06]OFD Sender: No OFD packet to send [03:12:11]OFD Sender: No OFD packet to send [03:12:16]OFD Sender: No OFD packet to send [03:12:21]OFD Sender: No OFD packet to send [03:12:26]OFD Sender: No OFD packet to send [03:12:31]OFD Sender: No OFD packet to send [03:12:36]OFD Sender: No OFD packet to send [03:12:41]OFD Sender: No OFD packet to send [03:12:46]OFD Sender: No OFD packet to send [03:12:51]OFD Sender: No OFD packet to send